PageSourceSearch

https://tng.vn/userfiles/files/ebook-ky-yeu-45-nam/mobile/javascript/config.js

js tng.vn collected 2026-10-03 21:39:06 UTC 17,625 bytes, 181 lines download raw bytes

1	var aliasConfig = {
2appName : ["", "", ""],
3totalPageCount : [],
4largePageWidth : [],
5largePageHeight : [],
6normalPath : [],
7largePath : [],
8thumbPath : [],
9
10ToolBarsSettings:[],
11TitleBar:[],
12appLogoIcon:["appLogoIcon"],
13appLogoLinkURL:["appLogoLinkURL"],
14bookTitle : [],
15bookDescription : [],
16ButtonsBar : [],
17ShareButton : [],
18ShareButtonVisible : ["socialShareButtonVisible"],
19ThumbnailsButton : [],
20ThumbnailsButtonVisible : ["enableThumbnail"],
21ZoomButton : [],
22ZoomButtonVisible : ["enableZoomIn"],
23FlashDisplaySettings : [],
24MainBgConfig : [],
25bgBeginColor : ["bgBeginColor"],
26bgEndColor : ["bgEndColor"],
27bgMRotation : ["bgMRotation"],
28backGroundImgURL : ["mainbgImgUrl","innerMainbgImgUrl"],
29pageBackgroundColor : ["pageBackgroundColor"],
30flipshortcutbutton : [],
31BookMargins : [],
32topMargin : [],
33bottomMargin : [],
34leftMargin : [],
35rightMargin : [],
36HTMLControlSettings : [],
37linkconfig : [],
38LinkDownColor : ["linkOverColor"],
39LinkAlpha : ["linkOverColorAlpha"],
40OpenWindow : ["linkOpenedWindow"],
41searchColor : [],
42searchAlpha : [],
43SearchButtonVisible : ["searchButtonVisible"],
44
45productName : [],
46homePage : [],
47enableAutoPlay : ["autoPlayAutoStart"],
48autoPlayDuration : ["autoPlayDuration"],
49autoPlayLoopCount : ["autoPlayLoopCount"],
50BookMarkButtonVisible : [],
51googleAnalyticsID : ["googleAnalyticsID"],
52OriginPageIndex : [],	
53HardPageEnable : ["isHardCover"],	
54UIBaseURL : [],	
55RightToLeft: ["isRightToLeft"],	
56
57LeftShadowWidth : ["leftPageShadowWidth"],	
58LeftShadowAlpha : ["pageShadowAlpha"],
59RightShadowWidth : ["rightPageShadowWidth"],
60RightShadowAlpha : ["pageShadowAlpha"],
61ShortcutButtonHeight : [],	
62ShortcutButtonWidth : [],
63AutoPlayButtonVisible : ["enableAutoPlay"],	
64DownloadButtonVisible : ["enableDownload"],	
65DownloadURL : ["downloadURL"],
66HomeButtonVisible :["homeButtonVisible"],
67HomeURL:['btnHomeURL'],
68BackgroundSoundURL:['bacgroundSoundURL'],
69//TableOfContentButtonVisible:["BookMarkButtonVisible"],
70PrintButtonVisible:["enablePrint"],
71toolbarColor:["mainColor","barColor"],
72loadingBackground:["mainColor","barColor"],
73BackgroundSoundButtonVisible:["enableFlipSound"],
74FlipSound:["enableFlipSound"],
75MiniStyle:["userSmallMode"],
76retainBookCenter:["moveFlipBookToCenter"],
77totalPagesCaption:["totalPageNumberCaptionStr"],
78pageNumberCaption:["pageIndexCaptionStrs"]
79};
80var aliasLanguage={
81frmPrintbtn:["frmPrintCaption"],
82frmPrintall : ["frmPrintPrintAll"],
83frmPrintcurrent : ["frmPrintPrintCurrentPage"],
84frmPrintRange : ["frmPrintPrintRange"],
85frmPrintexample : ["frmPrintExampleCaption"],
86btnLanguage:["btnSwicthLanguage"],
87btnTableOfContent:["btnBookMark"]
88}
89;
90	var bookConfig = {
91	appName:'flippdf',
92	totalPageCount : 0,
93	largePageWidth : 1080,
94	largePageHeight : 1440,
95	normalPath : "files/page/",
96	largePath : "files/large/",
97	thumbPath : "files/thumb/",
98	
99	ToolBarsSettings:"",
100	TitleBar:"",
101	appLogoLinkURL:"",
102	bookTitle:"FLIPBUILDER",
103	bookDescription:"",
104	ButtonsBar:"",
105	ShareButton:"",
106	
107	ThumbnailsButton:"",
108	ThumbnailsButtonVisible:"Show",
109	ZoomButton:"",
110	ZoomButtonVisible:"Yes",
111	FlashDisplaySettings:"",
112	MainBgConfig:"",
113	bgBeginColor:"#cccccc",
114	bgEndColor:"#eeeeee",
115	bgMRotation:45,
116	pageBackgroundColor:"#FFFFFF",
117	flipshortcutbutton:"Show",
118	BookMargins:"",
119	topMargin:10,
120	bottomMargin:10,
121	leftMargin:10,
122	rightMargin:10,
123	HTMLControlSettings:"",
124	linkconfig:"",
125	LinkDownColor:"#808080",
126	LinkAlpha:0.5,
127	OpenWindow:"_Blank",
128
129	BookMarkButtonVisible:'true',
130	productName : 'Demo created by Flip PDF',
131	homePage : 'http://www.flipbuilder.com/',
132	isFlipPdf : "true",
133	TableOfContentButtonVisible:"true",
134	searchTextJS:'javascript/search_config.js',
135	searchPositionJS:undefined
136};
137	
138	
139	;bookConfig.BookTemplateName="metro";bookConfig.loadingCaptionColor="#DDDDDD";bookConfig.loadingBackground="#323232";bookConfig.appLogoIcon="files/mobile-ext/appLogoIcon.png";bookConfig.appLogoLinkURL="https://tng.vn/trang-chu";bookConfig.appLogoOpenWindow="Blank";bookConfig.logoHeight="40";bookConfig.logoPadding="0";bookConfig.logoTop="0";bookConfig.toolbarColor="#FFFFFF";bookConfig.iconColor="#000080";bookConfig.pageNumColor="#000000";bookConfig.iconFontColor="#FFFFFF";bookConfig.toolbarAlwaysShow="No";bookConfig.InstructionsButtonVisible="Show";bookConfig.showInstructionOnStart="No";bookConfig.QRCode="Hide";bookConfig.HomeButtonVisible="Hide";bookConfig.HomeURL="%first page%";bookConfig.enablePageBack="Show";bookConfig.ShareButtonVisible="Show";shareObj = [];bookConfig.EmailButtonVisible="Show";bookConfig.btnShareWithEmailBody="{link}";bookConfig.ThumbnailsButtonVisible="Show";bookConfig.thumbnailColor="#333333";bookConfig.thumbnailAlpha="70";bookConfig.BookMarkButtonVisible="Hide";bookConfig.TableOfContentButtonVisible="Show";bookConfig.bookmarkBackground="#000000";bookConfig.bookmarkFontColor="#cccccc";bookConfig.SearchButtonVisible="Show";bookConfig.leastSearchChar="3";bookConfig.searchKeywordFontColor="#FFB000";bookConfig.searchHightlightColor="#ffff00";bookConfig.SelectTextButtonVisible="Show";bookConfig.PrintButtonVisible="Show";bookConfig.BackgroundSoundButtonVisible="Show";bookConfig.FlipSound="Yes";bookConfig.BackgroundSoundLoop="-1";bookConfig.AutoPlayButtonVisible="Show";bookConfig.autoPlayAutoStart="No";bookConfig.autoPlayDuration="9";bookConfig.autoPlayLoopCount="1";bookConfig.ZoomButtonVisible="Show";bookConfig.minZoomWidth="700";bookConfig.minZoomHeight="518";bookConfig.mouseWheelFlip="Yes";bookConfig.DownloadButtonVisible="Hide";bookConfig.PhoneButtonVisible="Hide";bookConfig.AnnotationButtonVisible="Hide";bookConfig.FullscreenButtonVisible="Show";bookConfig.bgBeginColor="#E2E2E2";bookConfig.bgEndColor="#E2E2E2";bookConfig.bgMRotation="90";bookConfig.backGroundImgURL="files/mobile-ext/backGroundImgURL.jpg";bookConfig.backgroundPosition="stretch";bookConfig.backgroundOpacity="100";bookConfig.LeftShadowWidth="90";bookConfig.LeftShadowAlpha="0.6";bookConfig.RightShadowWidth="55";bookConfig.RightShadowAlpha="0.6";bookConfig.ShowTopLeftShadow="Yes";bookConfig.HardPageEnable="No";bookConfig.hardCoverBorderWidth="8";bookConfig.borderColor="#572F0D";bookConfig.outerCoverBorder="Yes";bookConfig.cornerRound="8";bookConfig.leftMarginOnMobile="0";bookConfig.topMarginOnMobile="0";bookConfig.rightMarginOnMobile="0";bookConfig.bottomMarginOnMobile="0";
139bookConfig.pageBackgroundColor="#E8E8E8";bookConfig.flipshortcutbutton="Show";bookConfig.BindingType="side";bookConfig.RightToLeft="No";bookConfig.flippingTime="0.6";bookConfig.retainBookCenter="Yes";bookConfig.FlipStyle="Flip";bookConfig.autoDoublePage="Yes";bookConfig.isTheBookOpen="No";bookConfig.thicknessWidthType="Thinner";bookConfig.thicknessColor="#ffffff";bookConfig.showThicknessOnMobile="no";bookConfig.topMargin="10";bookConfig.bottomMargin="10";bookConfig.leftMargin="10";bookConfig.rightMargin="10";bookConfig.maxWidthToSmallMode="400";bookConfig.maxHeightToSmallMode="300";bookConfig.leftRightPnlShowOption="None";bookConfig.highDefinitionConversion="yes";bookConfig.LargeLogoPosition="top-left";bookConfig.LargeLogoTarget="Blank";bookConfig.isFixLogoSize="No";bookConfig.logoFixWidth="0";bookConfig.logoFixHeight="0";bookConfig.updateURLForPage="No";bookConfig.LinkDownColor="#800080";bookConfig.LinkAlpha="0.2";bookConfig.OpenWindow="Blank";bookConfig.showLinkHint="No";bookConfig.MidBgColor="#438500";bookConfig.searchFontColor="#FFFDDD";bookConfig.totalPageCount=48;bookConfig.largePageWidth=1800;bookConfig.largePageHeight=1800;;bookConfig.securityType="1";bookConfig.bookTitle="20241115_TNG_Ky yeu 45 nam_up web";bookConfig.bookmarkCR="86157398a135d3f4a8ab0dedd0e40d0dcdd9a381";bookConfig.productName="Flip PDF Professional";bookConfig.homePage="http://www.flipbuilder.com";bookConfig.searchPositionJS="mobile/javascript/text_position[1].js";bookConfig.searchTextJS="mobile/javascript/search_config.js";bookConfig.normalPath="files/mobile/";bookConfig.largePath="files/mobile/";bookConfig.thumbPath="files/thumb/";bookConfig.userListPath="files/extfiles/users.js";bookConfig.UIBaseURL='mobile/';var language = [{ language : "English",btnFirstPage:"First",btnNextPage:"Next Page",btnLastPage:"Last",btnPrePage:"Previous Page",btnDownload:"Download",btnPrint:"Print",btnSearch:"Search",btnClearSearch:"Clear",frmSearchPrompt:"Clear",btnBookMark:"Table of content",btnHelp:"Help",btnHome:"Home",btnFullScreen:"Enable FullScreen",btnDisableFullScreen:"Disable FullScreen",btnSoundOn:"Sound On",btnSoundOff:"Sound Off",btnShareEmail:"Share",btnSocialShare:"Social Share",btnZoomIn:"Zoom In",btnZoomOut:"Zoom Out",btnDragToMove:"Move by mouse drag",btnAutoFlip:"Auto Flip",btnStopAutoFlip:"Stop Auto Flip",btnGoToHome:"Return Home",frmHelpCaption:"Help",frmHelpTip1:"Double click to zoom in or out",frmHelpTip2:"Drag the page corner to view",frmPrintCaption:"Print",frmPrintBtnCaption:"Print",frmPrintPrintAll:"Print All Pages",frmPrintPrintCurrentPage:"Print Current Page",frmPrintPrintRange:"Print Range",frmPrintExampleCaption:"Example: 2,5,8-26",frmPrintPreparePage:"Preparing Page:",frmPrintPrintFailed:"Print Failed:",pnlSearchInputInvalid:"(Minimal request length is 3 symbols)",loginCaption:"Login",loginInvalidPassword:"Not a valid password!",loginPasswordLabel:"Password:",loginBtnLogin:"Login",loginBtnCancel:"Cancel",btnThumb:"Thumbnails",lblPages:"Pages:",lblPagesFound:"Pages:",lblPageIndex:"Page",btnAbout:"About",frnAboutCaption:"About & Contact",btnSinglePage:"Single Page",btnDoublePage:"Double Page",btnSwicthLanguage:"Switch Language",tipChangeLanguage:"Please select a language below...",btnMoreOptionsLeft:"More Options",btnMoreOptionsRight:"More Options",btnFit:"Fit Window",smallModeCaption:"Click to view in fullscreen",btnAddAnnotation:"Add Annotations",btnAnnotation:"Annotations",FlipPageEditor_SaveAndExit:"Save and Exit",FlipPageEditor_Exit:"Exit",DrawToolWindow_Redo:"Redo",DrawToolWindow_Undo:"Undo",DrawToolWindow_Clear:"Clear",DrawToolWindow_Brush:"Brush",DrawToolWindow_Width:"Width",DrawToolWindow_Alpha:"Alpha",DrawToolWindow_Color:"Color",DrawToolWindow_Eraser:"Eraser",DrawToolWindow_Rectangular:"Rectangular",DrawToolWindow_Ellipse:"Ellipse",TStuff_BorderWidth:"Border Width",TStuff_BorderAlph:"Border Alpha",TStuff_BorderColor:"Border Color",DrawToolWindow_TextNote:"Text Note",AnnotMark:"Book Mark",lastpagebtnHelp:"Last page",firstpagebtnHelp:"First page",homebtnHelp:"Return to home page",aboubtnHelp:"About",screenbtnHelp:"Open this application in full-screen mode",helpbtnHelp:"Show help",searchbtnHelp:"Search from pages",pagesbtnHelp:"Take a look at the thumbnail of this brochure",bookmarkbtnHelp:"Open Bookmark",AnnotmarkbtnHelp:"Open Table of content",printbtnHelp:"Print the brochure",soundbtnHelp:"Turn on or off the sound",sharebtnHelp:"Send Email to",socialSharebtnHelp:"Social Share",zoominbtnHelp:"Zoom in",downloadbtnHelp:"Downdlaod this brochure",pagemodlebtnHelp:"Switch Single and double page mode",languagebtnHelp:"Switch Lauguage",annotationbtnHelp:"Add Annotation",addbookmarkbtnHelp:"Add Bookmark",removebookmarkbtnHelp:"Remove BookMark",updatebookmarkbtnHelp:"Update Bookmark",btnShoppingCart:"Shopping Cart",Help_ShoppingCartbtn:"Shopping Cart",Help_btnNextPage:"Next page",Help_btnPrePage:"Previous page",Help_btnAutoFlip:"Auto filp",Help_StopAutoFlip:"Stop atuo filp",btnaddbookmark:"Add",btndeletebookmark:"Delete",btnupdatebookmark:"Update",frmyourbookmarks:"Your bookmarks",frmitems:"items",DownloadFullPublication:"Full Publication",DownloadCurrentPage:"Current Page",DownloadAttachedFiles:"Attached Files",lblLink:"Link",btnCopy:"Copy Button",infCopyToClipboard:"Your browser does not support clipboard. ",restorePage:"Would you like to restore previous session",tmpl_Backgou
139ndsoundon:"Background Sound On",tmpl_Backgoundsoundoff:"Background Sound Off",tmpl_Flipsoundon:"Flip Sound On",tmpl_Flipsoundoff:"Flip Sound Off",Help_PageIndex:"The current page number",tmpl_PrintPageRanges:"PAGE RANGES",tmpl_PrintPreview:"PREVIEW",btnSelection:"Select Text",loginNameLabel:"Name:",btnGotoPage:"Go",btnSettings:"Setting",soundSettingTitle:"Sound Setting",closeFlipSound:"Close Flip Sound",closeBackgroundSound:"Close Backgorund Sound",frmShareCaption:"Share",frmShareLinkLabel:"Link:",frmShareBtnCopy:"Copy",frmShareItemsGroupCaption:"Social Share",TAnnoActionPropertyStuff_GotoPage:"Go to page",btnPageBack:"Backward",btnPageForward:"Forward",SelectTextCopy:"Copy Selected Text",selectCopyButton:"Copy",TStuffCart_TypeCart:"Shopping Cart",TStuffCart_DetailedQuantity:"Quantity",TStuffCart_DetailedPrice:"Price",ShappingCart_Close:"Close",ShappingCart_CheckOut:"Checkout",ShappingCart_Item:"Item",ShappingCart_Total:"Total",ShappingCart_AddCart:"Add to cart",ShappingCart_InStock:"In Stock",TStuffCart_DetailedCost:"Shipping cost",TStuffCart_DetailedTime:"Delivery time",TStuffCart_DetailedDay:"day(s)",ShappingCart_NotStock:"Not enough in stock",btnCrop:"Crop",btnDragButton:"Drag",btnFlipBook:"Flip Book",btnSlideMode:"Slide Mode",btnSinglePageMode:"Single Page Mode",btnVertical:"Vertical Mode",btnHotizontal:"Horizontal Mode",btnClose:"Close",btnDoublePage:"Double Page",btnBookStatus:"Book View",checkBoxInsert:"Insert Current Page",lblLast:"This is the last page.",lblFirst:"This is the first page.",lblFullscreen:"Click to view in fullscreen",lblName:"Name",lblPassword:"Password",lblLogin:"Login",lblCancel:"Cancel",lblNoName:"User name can not be empty.",lblNoPassword:"Password can not be empty.",lblNoCorrectLogin:"Please enter the correct user name and password.",btnVideo:"Video Gallery",btnSlideShow:"Slide Show",pnlSearchInputInvalid:"(Minimal request length is 3 symbols)",btnDragToMove:"Move by mouse drag",btnPositionToMove:"Move by mouse position",lblHelp1:"Drag the page corner to view",lblHelp2:"Double click to zoom in, out",lblCopy:"Copy",lblAddToPage:"add to page",lblPage:"Page",lblTitle:"Title",lblEdit:"Edit",lblDelete:"Delete",lblRemoveAll:"Remove All",tltCursor:"cursor",tltAddHighlight:"add highlight",tltAddTexts:"add texts",tltAddShapes:"add shapes",tltAddNotes:"add notes",tltAddImageFile:"add image file",tltAddSignature:"add signature",tltAddLine:"add line",tltAddArrow:"add arrow",tltAddRect:"add rect",tltAddEllipse:"add ellipse",lblDoubleClickToZoomIn:"Double click to zoom in.",frmShareCaption:"Share",frmShareLabel:"Share",frmShareInfo:"You can easily share this publication to social networks.Just cilck the appropriate button below.",frminsertLabel:"Insert to Site",frminsertInfo:"Use the code below to embed this publication to your website.",btnQRCode:"Click to scan QR code",btnRotateLeft:"Rotate Left",btnRotateRight:"Rotate Right",lblSelectMode:"Select view mode please.",frmDownloadPreview:"Preview",frmHowToUse:"How To Use",lblHelpPage1:"Move your finger to flip the book page.",lblHelpPage2:"Zoom in by using gesture or double click on the page.",lblHelpPage3:"Click on the logo to reach the official website of the company.",lblHelpPage4:"Add bookmarks, use search function and auto flip the book.",lblHelpPage5:"Switch horizontal and vertical view on mobile devices.",TTActionQuiz_PlayAgain:"Do you wanna play it again",TTActionQuiz_Ration:"Your ratio is",frmTelephone:"Telephone list",btnDialing:"Dialing",lblSelectMessage:"Please copy the the text content in the text box",btnSelectText:"Select Text",btnNote:"Annotation",btnPhoneNumber:"Telephone",btnWeCharShare:"WeChat Share",frmBookMark:"Bookmark",btnFullscreen:"Fullscreen",btnExitFullscreen:"Exit Fullscreen",btnMore:"More",frmPrintall:"Print All Pages",frmPrintcurrent:"Print Current Page",frmPrintRange:"Print Range",frmPrintexample:"Example: 2,3,5-10",frmPrintbtn:"Print",frmaboutcaption:"Contact",frmaboutcontactinformation:"Contact Information",frmaboutADDRESS:"Address",frmaboutEMAIL:"Email",frmaboutWEBSITE:"Website",frmaboutMOBILE:"Mobile",frmaboutAUTHOR:"Author",frmaboutDESCRIPTION:"Description",frmSearch:"Search",frmToc:"Table Of Contents",btnTableOfContent:"Table Of Contents",lblDescription:"Title",frmLinkLabel:"Link",infNotSupportHtml5:"Your browser does not support HTML5.",frmQrcodeCaption:"Scan the bottom two-dimensional co
139de to view with mobile phone."}];;function orgt(s){ return binl2hex(core_hx(str2binl(s), s.length * chrsz));};; var pageEditor = {"setting":{"annoPlaying":"true","shoppingCartHTML":"false","shoppingCartOptinon":{"type":"PayPal","paypal":"","method":"POST","sandbox":"false","address":"","theme":"","body":"Hi xxx<br/>   I\'m going to buy below product(s):<br/>    ${shopping}<br/>Full Name","showPrice":"true","showTime":"true"}}, "pageAnnos":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]]}; bookConfig.isFlipPdf=false;
140	bookConfig.hideMiniFullscreen=true;
141	if(language&&language.length>0&&language[0]&&language[0].language){
142		bookConfig.language=language[0].language;
143	}
144	
145try{
146	for(var i=0;pageEditor!=undefined&&i<pageEditor.length;i++){
147		if(pageEditor[i].length==0){
148			continue;
149		}
150		for(var j=0;j<pageEditor[i].length;j++){
151			var anno=pageEditor[i][j];
152			if(anno==undefined)continue;
153			if(anno.overAlpha==undefined){
154				anno.overAlpha=bookConfig.LinkAlpha;
155			}
156			if(anno.outAlpha==undefined){
157				anno.outAlpha=0;
158			}
159			if(anno.downAlpha==undefined){
160				anno.downAlpha=bookConfig.LinkAlpha;
161			}
162			if(anno.overColor==undefined){
163				anno.overColor=bookConfig.LinkDownColor;
164			}
165			if(anno.downColor==undefined){
166				anno.downColor=bookConfig.LinkDownColor;
167			}
168			if(anno.outColor==undefined){
169				anno.outColor=bookConfig.LinkDownColor;
170			}
171			if(anno.annotype=='com.mobiano.flipbook.pageeditor.TAnnoLink'){
172				anno.alpha=bookConfig.LinkAlpha;
173			}
174		}
175	}
176}catch(e){
177}
178try{
179	$.browser.device = 2;
180}catch(ee){
181}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.