Bug #14500 ยป bug_689.patch
t3lib/class.t3lib_page.php (working copy) | ||
---|---|---|
* @see tslib_fe::findDomainRecord()
|
||
*/
|
||
function getDomainStartPage($domain, $path='',$request_uri='') {
|
||
if (substr($domain, 0, 4) == 'xn--') {
|
||
require_once(PATH_typo3 . 'contrib/idna/idna_convert.class.php');
|
||
$IDN = new idna_convert();
|
||
$domain = $IDN->decode($domain);
|
||
unset($IDN);
|
||
}
|
||
$domain = explode(':',$domain);
|
||
$domain = strtolower(ereg_replace('\.$','',$domain[0]));
|
||
// Removing extra trailing slashes
|
typo3/contrib/idna/npdata.ser (revision 0) | ||
---|---|---|
a:6:{s:11:"map_nothing";a:27:{i:0;i:173;i:1;i:847;i:2;i:6150;i:3;i:6155;i:4;i:6156;i:5;i:6157;i:6;i:8203;i:7;i:8204;i:8;i:8205;i:9;i:8288;i:10;i:65024;i:11;i:65025;i:12;i:65026;i:13;i:65027;i:14;i:65028;i:15;i:65029;i:16;i:65030;i:17;i:65031;i:18;i:65032;i:19;i:65033;i:20;i:65034;i:21;i:65035;i:22;i:65036;i:23;i:65037;i:24;i:65038;i:25;i:65039;i:26;i:65279;}s:18:"general_prohibited";a:64:{i:0;i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;i:6;i:7;i:7;i:8;i:8;i:9;i:9;i:10;i:10;i:11;i:11;i:12;i:12;i:13;i:13;i:14;i:14;i:15;i:15;i:16;i:16;i:17;i:17;i:18;i:18;i:19;i:19;i:20;i:20;i:21;i:21;i:22;i:22;i:23;i:23;i:24;i:24;i:25;i:25;i:26;i:26;i:27;i:27;i:28;i:28;i:29;i:29;i:30;i:30;i:31;i:31;i:32;i:32;i:33;i:33;i:34;i:34;i:35;i:35;i:36;i:36;i:37;i:37;i:38;i:38;i:39;i:39;i:40;i:40;i:41;i:41;i:42;i:42;i:43;i:43;i:44;i:44;i:45;i:47;i:46;i:59;i:47;i:60;i:48;i:61;i:49;i:62;i:50;i:63;i:51;i:64;i:52;i:91;i:53;i:92;i:54;i:93;i:55;i:94;i:56;i:95;i:57;i:96;i:58;i:123;i:59;i:124;i:60;i:125;i:61;i:126;i:62;i:127;i:63;i:12290;}s:8:"prohibit";a:84:{i:0;i:160;i:1;i:5760;i:2;i:8192;i:3;i:8193;i:4;i:8194;i:5;i:8195;i:6;i:8196;i:7;i:8197;i:8;i:8198;i:9;i:8199;i:10;i:8200;i:11;i:8201;i:12;i:8202;i:13;i:8203;i:14;i:8239;i:15;i:8287;i:16;i:12288;i:17;i:1757;i:18;i:1807;i:19;i:6158;i:20;i:8204;i:21;i:8205;i:22;i:8232;i:23;i:8233;i:24;i:65279;i:25;i:65529;i:26;i:65530;i:27;i:65531;i:28;i:65532;i:29;i:65534;i:30;i:65535;i:31;i:131070;i:32;i:131071;i:33;i:196606;i:34;i:196607;i:35;i:262142;i:36;i:262143;i:37;i:327678;i:38;i:327679;i:39;i:393214;i:40;i:393215;i:41;i:458750;i:42;i:458751;i:43;i:524286;i:44;i:524287;i:45;i:589822;i:46;i:589823;i:47;i:655358;i:48;i:655359;i:49;i:720894;i:50;i:720895;i:51;i:786430;i:52;i:786431;i:53;i:851966;i:54;i:851967;i:55;i:917502;i:56;i:917503;i:57;i:983038;i:58;i:983039;i:59;i:1048574;i:60;i:1048575;i:61;i:1114110;i:62;i:1114111;i:63;i:65529;i:64;i:65530;i:65;i:65531;i:66;i:65532;i:67;i:65533;i:68;i:832;i:69;i:833;i:70;i:8206;i:71;i:8207;i:72;i:8234;i:73;i:8235;i:74;i:8236;i:75;i:8237;i:76;i:8238;i:77;i:8298;i:78;i:8299;i:79;i:8300;i:80;i:8301;i:81;i:8302;i:82;i:8303;i:83;i:917505;}s:15:"prohibit_ranges";a:10:{i:0;a:2:{i:0;i:128;i:1;i:159;}i:1;a:2:{i:0;i:8288;i:1;i:8303;}i:2;a:2:{i:0;i:119155;i:1;i:119162;}i:3;a:2:{i:0;i:57344;i:1;i:63743;}i:4;a:2:{i:0;i:983040;i:1;i:1048573;}i:5;a:2:{i:0;i:1048576;i:1;i:1114109;}i:6;a:2:{i:0;i:64976;i:1;i:65007;}i:7;a:2:{i:0;i:55296;i:1;i:57343;}i:8;a:2:{i:0;i:12272;i:1;i:12283;}i:9;a:2:{i:0;i:917536;i:1;i:917631;}}s:11:"replacemaps";a:1401:{i:65;a:1:{i:0;i:97;}i:66;a:1:{i:0;i:98;}i:67;a:1:{i:0;i:99;}i:68;a:1:{i:0;i:100;}i:69;a:1:{i:0;i:101;}i:70;a:1:{i:0;i:102;}i:71;a:1:{i:0;i:103;}i:72;a:1:{i:0;i:104;}i:73;a:1:{i:0;i:105;}i:74;a:1:{i:0;i:106;}i:75;a:1:{i:0;i:107;}i:76;a:1:{i:0;i:108;}i:77;a:1:{i:0;i:109;}i:78;a:1:{i:0;i:110;}i:79;a:1:{i:0;i:111;}i:80;a:1:{i:0;i:112;}i:81;a:1:{i:0;i:113;}i:82;a:1:{i:0;i:114;}i:83;a:1:{i:0;i:115;}i:84;a:1:{i:0;i:116;}i:85;a:1:{i:0;i:117;}i:86;a:1:{i:0;i:118;}i:87;a:1:{i:0;i:119;}i:88;a:1:{i:0;i:120;}i:89;a:1:{i:0;i:121;}i:90;a:1:{i:0;i:122;}i:181;a:1:{i:0;i:956;}i:192;a:1:{i:0;i:224;}i:193;a:1:{i:0;i:225;}i:194;a:1:{i:0;i:226;}i:195;a:1:{i:0;i:227;}i:196;a:1:{i:0;i:228;}i:197;a:1:{i:0;i:229;}i:198;a:1:{i:0;i:230;}i:199;a:1:{i:0;i:231;}i:200;a:1:{i:0;i:232;}i:201;a:1:{i:0;i:233;}i:202;a:1:{i:0;i:234;}i:203;a:1:{i:0;i:235;}i:204;a:1:{i:0;i:236;}i:205;a:1:{i:0;i:237;}i:206;a:1:{i:0;i:238;}i:207;a:1:{i:0;i:239;}i:208;a:1:{i:0;i:240;}i:209;a:1:{i:0;i:241;}i:210;a:1:{i:0;i:242;}i:211;a:1:{i:0;i:243;}i:212;a:1:{i:0;i:244;}i:213;a:1:{i:0;i:245;}i:214;a:1:{i:0;i:246;}i:216;a:1:{i:0;i:248;}i:217;a:1:{i:0;i:249;}i:218;a:1:{i:0;i:250;}i:219;a:1:{i:0;i:251;}i:220;a:1:{i:0;i:252;}i:221;a:1:{i:0;i:253;}i:222;a:1:{i:0;i:254;}i:223;a:2:{i:0;i:115;i:1;i:115;}i:256;a:1:{i:0;i:257;}i:258;a:1:{i:0;i:259;}i:260;a:1:{i:0;i:261;}i:262;a:1:{i:0;i:263;}i:264;a:1:{i:0;i:265;}i:266;a:1:{i:0;i:267;}i:268;a:1:{i:0;i:269;}i:270;a:1:{i:0;i:271;}i:272;a:1:{i:0;i:273;}i:274;a:1:{i:0;i:275;}i:276;a:1:{i:0;i:277;}i:278;a:1:{i:0;i:279;}i:280;a:1:{i:0;i:281;}i:282;a:1:{i:0;i:283;}i:284;a:1:{i:0;i:285;}i:286;a:1:{i:0;i:287;}i:288;a:1:{i:0;i:289;}i:290;a:1:{i:0;i:291;}i:292;a:1:{i:0;i:293;}i:294;a:1:{i:0;i:295;}i:296;a:1:{i:0;i:297;}i:298;a:1:{i:0;i:299;}i:300;a:1:{i:0;i:301;}i:302;a:1:{i:0;i:303;}i:304;a:2:{i:0;i:105;i:1;i:775;}i:306;a:1:{i:0;i:307;}i:308;a:1:{i:0;i:309;}i:310;a:1:{i:0;i:311;}i:313;a:1:{i:0;i:314;}i:315;a:1:{i:0;i:316;}i:317;a:1:{i:0;i:318;}i:319;a:1:{i:0;i:320;}i:321;a:1:{i:0;i:322;}i:323;a:1:{i:0;i:324;}i:325;a:1:{i:0;i:326;}i:327;a:1:{i:0;i:328;}i:329;a:2:{i:0;i:700;i:1;i:110;}i:330;a:1:{i:0;i:331;}i:332;a:1:{i:0;i:333;}i:334;a:1:{i:0;i:335;}i:336;a:1:{i:0;i:337;}i:338;a:1:{i:0;i:339;}i:340;a:1:{i:0;i:341;}i:342;a:1:{i:0;i:343;}i:344;a:1:{i:0;i:345;}i:346;a:1:{i:0;i:347;}i:348;a:1:{i:0;i:349;}i:350;a:1:{i:0;i:351;}i:352;a:1:{i:0;i:353;}i:354;a:1:{i:0;i:355;}i:356;a:1:{i:0;i:357;}i:358;a:1:{i:0;i:359;}i:360;a:1:{i:0;i:361;}i:362;a:1:{i:0;i:363;}i:364;a:1:{i:0;i:365;}i:366;a:1:{i:0;i:367;}i:368;a:1:{i:0;i:369;}i:370;a:1:{i:0;i:371;}i:372;a:1:{i:0;i:373;}i:374;a:1:{i:0;i:375;}i:376;a:1:{i:0;i:255;}i:377;a:1:{i:0;i:378;}i:379;a:1:{i:0;i:380;}i:381;a:1:{i:0;i:382;}i:383;a:1:{i:0;i:115;}i:385;a:1:{i:0;i:595;}i:386;a:1:{i:0;i:387;}i:388;a:1:{i:0;i:389;}i:390;a:1:{i:0;i:596;}i:391;a:1:{i:0;i:392;}i:393;a:1:{i:0;i:598;}i:394;a:1:{i:0;i:599;}i:395;a:1:{i:0;i:396;}i:398;a:1:{i:0;i:477;}i:399;a:1:{i:0;i:601;}i:400;a:1:{i:0;i:603;}i:401;a:1:{i:0;i:402;}i:403;a:1:{i:0;i:608;}i:404;a:1:{i:0;i:611;}i:406;a:1:{i:0;i:617;}i:407;a:1:{i:0;i:616;}i:408;a:1:{i:0;i:409;}i:412;a:1:{i:0;i:623;}i:413;a:1:{i:0;i:626;}i:415;a:1:{i:0;i:629;}i:416;a:1:{i:0;i:417;}i:418;a:1:{i:0;i:419;}i:420;a:1:{i:0;i:421;}i:422;a:1:{i:0;i:640;}i:423;a:1:{i:0;i:424;}i:425;a:1:{i:0;i:643;}i:428;a:1:{i:0;i:429;}i:430;a:1:{i:0;i:648;}i:431;a:1:{i:0;i:432;}i:433;a:1:{i:0;i:650;}i:434;a:1:{i:0;i:651;}i:435;a:1:{i:0;i:436;}i:437;a:1:{i:0;i:438;}i:439;a:1:{i:0;i:658;}i:440;a:1:{i:0;i:441;}i:444;a:1:{i:0;i:445;}i:452;a:1:{i:0;i:454;}i:453;a:1:{i:0;i:454;}i:455;a:1:{i:0;i:457;}i:456;a:1:{i:0;i:457;}i:458;a:1:{i:0;i:460;}i:459;a:1:{i:0;i:460;}i:461;a:1:{i:0;i:462;}i:463;a:1:{i:0;i:464;}i:465;a:1:{i:0;i:466;}i:467;a:1:{i:0;i:468;}i:469;a:1:{i:0;i:470;}i:471;a:1:{i:0;i:472;}i:473;a:1:{i:0;i:474;}i:475;a:1:{i:0;i:476;}i:478;a:1:{i:0;i:479;}i:480;a:1:{i:0;i:481;}i:482;a:1:{i:0;i:483;}i:484;a:1:{i:0;i:485;}i:486;a:1:{i:0;i:487;}i:488;a:1:{i:0;i:489;}i:490;a:1:{i:0;i:491;}i:492;a:1:{i:0;i:493;}i:494;a:1:{i:0;i:495;}i:496;a:2:{i:0;i:106;i:1;i:780;}i:497;a:1:{i:0;i:499;}i:498;a:1:{i:0;i:499;}i:500;a:1:{i:0;i:501;}i:502;a:1:{i:0;i:405;}i:503;a:1:{i:0;i:447;}i:504;a:1:{i:0;i:505;}i:506;a:1:{i:0;i:507;}i:508;a:1:{i:0;i:509;}i:510;a:1:{i:0;i:511;}i:512;a:1:{i:0;i:513;}i:514;a:1:{i:0;i:515;}i:516;a:1:{i:0;i:517;}i:518;a:1:{i:0;i:519;}i:520;a:1:{i:0;i:521;}i:522;a:1:{i:0;i:523;}i:524;a:1:{i:0;i:525;}i:526;a:1:{i:0;i:527;}i:528;a:1:{i:0;i:529;}i:530;a:1:{i:0;i:531;}i:532;a:1:{i:0;i:533;}i:534;a:1:{i:0;i:535;}i:536;a:1:{i:0;i:537;}i:538;a:1:{i:0;i:539;}i:540;a:1:{i:0;i:541;}i:542;a:1:{i:0;i:543;}i:544;a:1:{i:0;i:414;}i:546;a:1:{i:0;i:547;}i:548;a:1:{i:0;i:549;}i:550;a:1:{i:0;i:551;}i:552;a:1:{i:0;i:553;}i:554;a:1:{i:0;i:555;}i:556;a:1:{i:0;i:557;}i:558;a:1:{i:0;i:559;}i:560;a:1:{i:0;i:561;}i:562;a:1:{i:0;i:563;}i:837;a:1:{i:0;i:953;}i:890;a:2:{i:0;i:32;i:1;i:953;}i:902;a:1:{i:0;i:940;}i:904;a:1:{i:0;i:941;}i:905;a:1:{i:0;i:942;}i:906;a:1:{i:0;i:943;}i:908;a:1:{i:0;i:972;}i:910;a:1:{i:0;i:973;}i:911;a:1:{i:0;i:974;}i:912;a:3:{i:0;i:953;i:1;i:776;i:2;i:769;}i:913;a:1:{i:0;i:945;}i:914;a:1:{i:0;i:946;}i:915;a:1:{i:0;i:947;}i:916;a:1:{i:0;i:948;}i:917;a:1:{i:0;i:949;}i:918;a:1:{i:0;i:950;}i:919;a:1:{i:0;i:951;}i:920;a:1:{i:0;i:952;}i:921;a:1:{i:0;i:953;}i:922;a:1:{i:0;i:954;}i:923;a:1:{i:0;i:955;}i:924;a:1:{i:0;i:956;}i:925;a:1:{i:0;i:957;}i:926;a:1:{i:0;i:958;}i:927;a:1:{i:0;i:959;}i:928;a:1:{i:0;i:960;}i:929;a:1:{i:0;i:961;}i:931;a:1:{i:0;i:963;}i:932;a:1:{i:0;i:964;}i:933;a:1:{i:0;i:965;}i:934;a:1:{i:0;i:966;}i:935;a:1:{i:0;i:967;}i:936;a:1:{i:0;i:968;}i:937;a:1:{i:0;i:969;}i:938;a:1:{i:0;i:970;}i:939;a:1:{i:0;i:971;}i:944;a:3:{i:0;i:965;i:1;i:776;i:2;i:769;}i:962;a:1:{i:0;i:963;}i:976;a:1:{i:0;i:946;}i:977;a:1:{i:0;i:952;}i:978;a:1:{i:0;i:965;}i:979;a:1:{i:0;i:973;}i:980;a:1:{i:0;i:971;}i:981;a:1:{i:0;i:966;}i:982;a:1:{i:0;i:960;}i:984;a:1:{i:0;i:985;}i:986;a:1:{i:0;i:987;}i:988;a:1:{i:0;i:989;}i:990;a:1:{i:0;i:991;}i:992;a:1:{i:0;i:993;}i:994;a:1:{i:0;i:995;}i:996;a:1:{i:0;i:997;}i:998;a:1:{i:0;i:999;}i:1000;a:1:{i:0;i:1001;}i:1002;a:1:{i:0;i:1003;}i:1004;a:1:{i:0;i:1005;}i:1006;a:1:{i:0;i:1007;}i:1008;a:1:{i:0;i:954;}i:1009;a:1:{i:0;i:961;}i:1010;a:1:{i:0;i:963;}i:1012;a:1:{i:0;i:952;}i:1013;a:1:{i:0;i:949;}i:1024;a:1:{i:0;i:1104;}i:1025;a:1:{i:0;i:1105;}i:1026;a:1:{i:0;i:1106;}i:1027;a:1:{i:0;i:1107;}i:1028;a:1:{i:0;i:1108;}i:1029;a:1:{i:0;i:1109;}i:1030;a:1:{i:0;i:1110;}i:1031;a:1:{i:0;i:1111;}i:1032;a:1:{i:0;i:1112;}i:1033;a:1:{i:0;i:1113;}i:1034;a:1:{i:0;i:1114;}i:1035;a:1:{i:0;i:1115;}i:1036;a:1:{i:0;i:1116;}i:1037;a:1:{i:0;i:1117;}i:1038;a:1:{i:0;i:1118;}i:1039;a:1:{i:0;i:1119;}i:1040;a:1:{i:0;i:1072;}i:1041;a:1:{i:0;i:1073;}i:1042;a:1:{i:0;i:1074;}i:1043;a:1:{i:0;i:1075;}i:1044;a:1:{i:0;i:1076;}i:1045;a:1:{i:0;i:1077;}i:1046;a:1:{i:0;i:1078;}i:1047;a:1:{i:0;i:1079;}i:1048;a:1:{i:0;i:1080;}i:1049;a:1:{i:0;i:1081;}i:1050;a:1:{i:0;i:1082;}i:1051;a:1:{i:0;i:1083;}i:1052;a:1:{i:0;i:1084;}i:1053;a:1:{i:0;i:1085;}i:1054;a:1:{i:0;i:1086;}i:1055;a:1:{i:0;i:1087;}i:1056;a:1:{i:0;i:1088;}i:1057;a:1:{i:0;i:1089;}i:1058;a:1:{i:0;i:1090;}i:1059;a:1:{i:0;i:1091;}i:1060;a:1:{i:0;i:1092;}i:1061;a:1:{i:0;i:1093;}i:1062;a:1:{i:0;i:1094;}i:1063;a:1:{i:0;i:1095;}i:1064;a:1:{i:0;i:1096;}i:1065;a:1:{i:0;i:1097;}i:1066;a:1:{i:0;i:1098;}i:1067;a:1:{i:0;i:1099;}i:1068;a:1:{i:0;i:1100;}i:1069;a:1:{i:0;i:1101;}i:1070;a:1:{i:0;i:1102;}i:1071;a:1:{i:0;i:1103;}i:1120;a:1:{i:0;i:1121;}i:1122;a:1:{i:0;i:1123;}i:1124;a:1:{i:0;i:1125;}i:1126;a:1:{i:0;i:1127;}i:1128;a:1:{i:0;i:1129;}i:1130;a:1:{i:0;i:1131;}i:1132;a:1:{i:0;i:1133;}i:1134;a:1:{i:0;i:1135;}i:1136;a:1:{i:0;i:1137;}i:1138;a:1:{i:0;i:1139;}i:1140;a:1:{i:0;i:1141;}i:1142;a:1:{i:0;i:1143;}i:1144;a:1:{i:0;i:1145;}i:1146;a:1:{i:0;i:1147;}i:1148;a:1:{i:0;i:1149;}i:1150;a:1:{i:0;i:1151;}i:1152;a:1:{i:0;i:1153;}i:1162;a:1:{i:0;i:1163;}i:1164;a:1:{i:0;i:1165;}i:1166;a:1:{i:0;i:1167;}i:1168;a:1:{i:0;i:1169;}i:1170;a:1:{i:0;i:1171;}i:1172;a:1:{i:0;i:1173;}i:1174;a:1:{i:0;i:1175;}i:1176;a:1:{i:0;i:1177;}i:1178;a:1:{i:0;i:1179;}i:1180;a:1:{i:0;i:1181;}i:1182;a:1:{i:0;i:1183;}i:1184;a:1:{i:0;i:1185;}i:1186;a:1:{i:0;i:1187;}i:1188;a:1:{i:0;i:1189;}i:1190;a:1:{i:0;i:1191;}i:1192;a:1:{i:0;i:1193;}i:1194;a:1:{i:0;i:1195;}i:1196;a:1:{i:0;i:1197;}i:1198;a:1:{i:0;i:1199;}i:1200;a:1:{i:0;i:1201;}i:1202;a:1:{i:0;i:1203;}i:1204;a:1:{i:0;i:1205;}i:1206;a:1:{i:0;i:1207;}i:1208;a:1:{i:0;i:1209;}i:1210;a:1:{i:0;i:1211;}i:1212;a:1:{i:0;i:1213;}i:1214;a:1:{i:0;i:1215;}i:1217;a:1:{i:0;i:1218;}i:1219;a:1:{i:0;i:1220;}i:1221;a:1:{i:0;i:1222;}i:1223;a:1:{i:0;i:1224;}i:1225;a:1:{i:0;i:1226;}i:1227;a:1:{i:0;i:1228;}i:1229;a:1:{i:0;i:1230;}i:1232;a:1:{i:0;i:1233;}i:1234;a:1:{i:0;i:1235;}i:1236;a:1:{i:0;i:1237;}i:1238;a:1:{i:0;i:1239;}i:1240;a:1:{i:0;i:1241;}i:1242;a:1:{i:0;i:1243;}i:1244;a:1:{i:0;i:1245;}i:1246;a:1:{i:0;i:1247;}i:1248;a:1:{i:0;i:1249;}i:1250;a:1:{i:0;i:1251;}i:1252;a:1:{i:0;i:1253;}i:1254;a:1:{i:0;i:1255;}i:1256;a:1:{i:0;i:1257;}i:1258;a:1:{i:0;i:1259;}i:1260;a:1:{i:0;i:1261;}i:1262;a:1:{i:0;i:1263;}i:1264;a:1:{i:0;i:1265;}i:1266;a:1:{i:0;i:1267;}i:1268;a:1:{i:0;i:1269;}i:1272;a:1:{i:0;i:1273;}i:1280;a:1:{i:0;i:1281;}i:1282;a:1:{i:0;i:1283;}i:1284;a:1:{i:0;i:1285;}i:1286;a:1:{i:0;i:1287;}i:1288;a:1:{i:0;i:1289;}i:1290;a:1:{i:0;i:1291;}i:1292;a:1:{i:0;i:1293;}i:1294;a:1:{i:0;i:1295;}i:1329;a:1:{i:0;i:1377;}i:1330;a:1:{i:0;i:1378;}i:1331;a:1:{i:0;i:1379;}i:1332;a:1:{i:0;i:1380;}i:1333;a:1:{i:0;i:1381;}i:1334;a:1:{i:0;i:1382;}i:1335;a:1:{i:0;i:1383;}i:1336;a:1:{i:0;i:1384;}i:1337;a:1:{i:0;i:1385;}i:1338;a:1:{i:0;i:1386;}i:1339;a:1:{i:0;i:1387;}i:1340;a:1:{i:0;i:1388;}i:1341;a:1:{i:0;i:1389;}i:1342;a:1:{i:0;i:1390;}i:1343;a:1:{i:0;i:1391;}i:1344;a:1:{i:0;i:1392;}i:1345;a:1:{i:0;i:1393;}i:1346;a:1:{i:0;i:1394;}i:1347;a:1:{i:0;i:1395;}i:1348;a:1:{i:0;i:1396;}i:1349;a:1:{i:0;i:1397;}i:1350;a:1:{i:0;i:1398;}i:1351;a:1:{i:0;i:1399;}i:1352;a:1:{i:0;i:1400;}i:1353;a:1:{i:0;i:1401;}i:1354;a:1:{i:0;i:1402;}i:1355;a:1:{i:0;i:1403;}i:1356;a:1:{i:0;i:1404;}i:1357;a:1:{i:0;i:1405;}i:1358;a:1:{i:0;i:1406;}i:1359;a:1:{i:0;i:1407;}i:1360;a:1:{i:0;i:1408;}i:1361;a:1:{i:0;i:1409;}i:1362;a:1:{i:0;i:1410;}i:1363;a:1:{i:0;i:1411;}i:1364;a:1:{i:0;i:1412;}i:1365;a:1:{i:0;i:1413;}i:1366;a:1:{i:0;i:1414;}i:1415;a:2:{i:0;i:1381;i:1;i:1410;}i:7680;a:1:{i:0;i:7681;}i:7682;a:1:{i:0;i:7683;}i:7684;a:1:{i:0;i:7685;}i:7686;a:1:{i:0;i:7687;}i:7688;a:1:{i:0;i:7689;}i:7690;a:1:{i:0;i:7691;}i:7692;a:1:{i:0;i:7693;}i:7694;a:1:{i:0;i:7695;}i:7696;a:1:{i:0;i:7697;}i:7698;a:1:{i:0;i:7699;}i:7700;a:1:{i:0;i:7701;}i:7702;a:1:{i:0;i:7703;}i:7704;a:1:{i:0;i:7705;}i:7706;a:1:{i:0;i:7707;}i:7708;a:1:{i:0;i:7709;}i:7710;a:1:{i:0;i:7711;}i:7712;a:1:{i:0;i:7713;}i:7714;a:1:{i:0;i:7715;}i:7716;a:1:{i:0;i:7717;}i:7718;a:1:{i:0;i:7719;}i:7720;a:1:{i:0;i:7721;}i:7722;a:1:{i:0;i:7723;}i:7724;a:1:{i:0;i:7725;}i:7726;a:1:{i:0;i:7727;}i:7728;a:1:{i:0;i:7729;}i:7730;a:1:{i:0;i:7731;}i:7732;a:1:{i:0;i:7733;}i:7734;a:1:{i:0;i:7735;}i:7736;a:1:{i:0;i:7737;}i:7738;a:1:{i:0;i:7739;}i:7740;a:1:{i:0;i:7741;}i:7742;a:1:{i:0;i:7743;}i:7744;a:1:{i:0;i:7745;}i:7746;a:1:{i:0;i:7747;}i:7748;a:1:{i:0;i:7749;}i:7750;a:1:{i:0;i:7751;}i:7752;a:1:{i:0;i:7753;}i:7754;a:1:{i:0;i:7755;}i:7756;a:1:{i:0;i:7757;}i:7758;a:1:{i:0;i:7759;}i:7760;a:1:{i:0;i:7761;}i:7762;a:1:{i:0;i:7763;}i:7764;a:1:{i:0;i:7765;}i:7766;a:1:{i:0;i:7767;}i:7768;a:1:{i:0;i:7769;}i:7770;a:1:{i:0;i:7771;}i:7772;a:1:{i:0;i:7773;}i:7774;a:1:{i:0;i:7775;}i:7776;a:1:{i:0;i:7777;}i:7778;a:1:{i:0;i:7779;}i:7780;a:1:{i:0;i:7781;}i:7782;a:1:{i:0;i:7783;}i:7784;a:1:{i:0;i:7785;}i:7786;a:1:{i:0;i:7787;}i:7788;a:1:{i:0;i:7789;}i:7790;a:1:{i:0;i:7791;}i:7792;a:1:{i:0;i:7793;}i:7794;a:1:{i:0;i:7795;}i:7796;a:1:{i:0;i:7797;}i:7798;a:1:{i:0;i:7799;}i:7800;a:1:{i:0;i:7801;}i:7802;a:1:{i:0;i:7803;}i:7804;a:1:{i:0;i:7805;}i:7806;a:1:{i:0;i:7807;}i:7808;a:1:{i:0;i:7809;}i:7810;a:1:{i:0;i:7811;}i:7812;a:1:{i:0;i:7813;}i:7814;a:1:{i:0;i:7815;}i:7816;a:1:{i:0;i:7817;}i:7818;a:1:{i:0;i:7819;}i:7820;a:1:{i:0;i:7821;}i:7822;a:1:{i:0;i:7823;}i:7824;a:1:{i:0;i:7825;}i:7826;a:1:{i:0;i:7827;}i:7828;a:1:{i:0;i:7829;}i:7830;a:2:{i:0;i:104;i:1;i:817;}i:7831;a:2:{i:0;i:116;i:1;i:776;}i:7832;a:2:{i:0;i:119;i:1;i:778;}i:7833;a:2:{i:0;i:121;i:1;i:778;}i:7834;a:2:{i:0;i:97;i:1;i:702;}i:7835;a:1:{i:0;i:7777;}i:7840;a:1:{i:0;i:7841;}i:7842;a:1:{i:0;i:7843;}i:7844;a:1:{i:0;i:7845;}i:7846;a:1:{i:0;i:7847;}i:7848;a:1:{i:0;i:7849;}i:7850;a:1:{i:0;i:7851;}i:7852;a:1:{i:0;i:7853;}i:7854;a:1:{i:0;i:7855;}i:7856;a:1:{i:0;i:7857;}i:7858;a:1:{i:0;i:7859;}i:7860;a:1:{i:0;i:7861;}i:7862;a:1:{i:0;i:7863;}i:7864;a:1:{i:0;i:7865;}i:7866;a:1:{i:0;i:7867;}i:7868;a:1:{i:0;i:7869;}i:7870;a:1:{i:0;i:7871;}i:7872;a:1:{i:0;i:7873;}i:7874;a:1:{i:0;i:7875;}i:7876;a:1:{i:0;i:7877;}i:7878;a:1:{i:0;i:7879;}i:7880;a:1:{i:0;i:7881;}i:7882;a:1:{i:0;i:7883;}i:7884;a:1:{i:0;i:7885;}i:7886;a:1:{i:0;i:7887;}i:7888;a:1:{i:0;i:7889;}i:7890;a:1:{i:0;i:7891;}i:7892;a:1:{i:0;i:7893;}i:7894;a:1:{i:0;i:7895;}i:7896;a:1:{i:0;i:7897;}i:7898;a:1:{i:0;i:7899;}i:7900;a:1:{i:0;i:7901;}i:7902;a:1:{i:0;i:7903;}i:7904;a:1:{i:0;i:7905;}i:7906;a:1:{i:0;i:7907;}i:7908;a:1:{i:0;i:7909;}i:7910;a:1:{i:0;i:7911;}i:7912;a:1:{i:0;i:7913;}i:7914;a:1:{i:0;i:7915;}i:7916;a:1:{i:0;i:7917;}i:7918;a:1:{i:0;i:7919;}i:7920;a:1:{i:0;i:7921;}i:7922;a:1:{i:0;i:7923;}i:7924;a:1:{i:0;i:7925;}i:7926;a:1:{i:0;i:7927;}i:7928;a:1:{i:0;i:7929;}i:7944;a:1:{i:0;i:7936;}i:7945;a:1:{i:0;i:7937;}i:7946;a:1:{i:0;i:7938;}i:7947;a:1:{i:0;i:7939;}i:7948;a:1:{i:0;i:7940;}i:7949;a:1:{i:0;i:7941;}i:7950;a:1:{i:0;i:7942;}i:7951;a:1:{i:0;i:7943;}i:7960;a:1:{i:0;i:7952;}i:7961;a:1:{i:0;i:7953;}i:7962;a:1:{i:0;i:7954;}i:7963;a:1:{i:0;i:7955;}i:7964;a:1:{i:0;i:7956;}i:7965;a:1:{i:0;i:7957;}i:7976;a:1:{i:0;i:7968;}i:7977;a:1:{i:0;i:7969;}i:7978;a:1:{i:0;i:7970;}i:7979;a:1:{i:0;i:7971;}i:7980;a:1:{i:0;i:7972;}i:7981;a:1:{i:0;i:7973;}i:7982;a:1:{i:0;i:7974;}i:7983;a:1:{i:0;i:7975;}i:7992;a:1:{i:0;i:7984;}i:7993;a:1:{i:0;i:7985;}i:7994;a:1:{i:0;i:7986;}i:7995;a:1:{i:0;i:7987;}i:7996;a:1:{i:0;i:7988;}i:7997;a:1:{i:0;i:7989;}i:7998;a:1:{i:0;i:7990;}i:7999;a:1:{i:0;i:7991;}i:8008;a:1:{i:0;i:8000;}i:8009;a:1:{i:0;i:8001;}i:8010;a:1:{i:0;i:8002;}i:8011;a:1:{i:0;i:8003;}i:8012;a:1:{i:0;i:8004;}i:8013;a:1:{i:0;i:8005;}i:8016;a:2:{i:0;i:965;i:1;i:787;}i:8018;a:3:{i:0;i:965;i:1;i:787;i:2;i:768;}i:8020;a:3:{i:0;i:965;i:1;i:787;i:2;i:769;}i:8022;a:3:{i:0;i:965;i:1;i:787;i:2;i:834;}i:8025;a:1:{i:0;i:8017;}i:8027;a:1:{i:0;i:8019;}i:8029;a:1:{i:0;i:8021;}i:8031;a:1:{i:0;i:8023;}i:8040;a:1:{i:0;i:8032;}i:8041;a:1:{i:0;i:8033;}i:8042;a:1:{i:0;i:8034;}i:8043;a:1:{i:0;i:8035;}i:8044;a:1:{i:0;i:8036;}i:8045;a:1:{i:0;i:8037;}i:8046;a:1:{i:0;i:8038;}i:8047;a:1:{i:0;i:8039;}i:8064;a:2:{i:0;i:7936;i:1;i:953;}i:8065;a:2:{i:0;i:7937;i:1;i:953;}i:8066;a:2:{i:0;i:7938;i:1;i:953;}i:8067;a:2:{i:0;i:7939;i:1;i:953;}i:8068;a:2:{i:0;i:7940;i:1;i:953;}i:8069;a:2:{i:0;i:7941;i:1;i:953;}i:8070;a:2:{i:0;i:7942;i:1;i:953;}i:8071;a:2:{i:0;i:7943;i:1;i:953;}i:8072;a:2:{i:0;i:7936;i:1;i:953;}i:8073;a:2:{i:0;i:7937;i:1;i:953;}i:8074;a:2:{i:0;i:7938;i:1;i:953;}i:8075;a:2:{i:0;i:7939;i:1;i:953;}i:8076;a:2:{i:0;i:7940;i:1;i:953;}i:8077;a:2:{i:0;i:7941;i:1;i:953;}i:8078;a:2:{i:0;i:7942;i:1;i:953;}i:8079;a:2:{i:0;i:7943;i:1;i:953;}i:8080;a:2:{i:0;i:7968;i:1;i:953;}i:8081;a:2:{i:0;i:7969;i:1;i:953;}i:8082;a:2:{i:0;i:7970;i:1;i:953;}i:8083;a:2:{i:0;i:7971;i:1;i:953;}i:8084;a:2:{i:0;i:7972;i:1;i:953;}i:8085;a:2:{i:0;i:7973;i:1;i:953;}i:8086;a:2:{i:0;i:7974;i:1;i:953;}i:8087;a:2:{i:0;i:7975;i:1;i:953;}i:8088;a:2:{i:0;i:7968;i:1;i:953;}i:8089;a:2:{i:0;i:7969;i:1;i:953;}i:8090;a:2:{i:0;i:7970;i:1;i:953;}i:8091;a:2:{i:0;i:7971;i:1;i:953;}i:8092;a:2:{i:0;i:7972;i:1;i:953;}i:8093;a:2:{i:0;i:7973;i:1;i:953;}i:8094;a:2:{i:0;i:7974;i:1;i:953;}i:8095;a:2:{i:0;i:7975;i:1;i:953;}i:8096;a:2:{i:0;i:8032;i:1;i:953;}i:8097;a:2:{i:0;i:8033;i:1;i:953;}i:8098;a:2:{i:0;i:8034;i:1;i:953;}i:8099;a:2:{i:0;i:8035;i:1;i:953;}i:8100;a:2:{i:0;i:8036;i:1;i:953;}i:8101;a:2:{i:0;i:8037;i:1;i:953;}i:8102;a:2:{i:0;i:8038;i:1;i:953;}i:8103;a:2:{i:0;i:8039;i:1;i:953;}i:8104;a:2:{i:0;i:8032;i:1;i:953;}i:8105;a:2:{i:0;i:8033;i:1;i:953;}i:8106;a:2:{i:0;i:8034;i:1;i:953;}i:8107;a:2:{i:0;i:8035;i:1;i:953;}i:8108;a:2:{i:0;i:8036;i:1;i:953;}i:8109;a:2:{i:0;i:8037;i:1;i:953;}i:8110;a:2:{i:0;i:8038;i:1;i:953;}i:8111;a:2:{i:0;i:8039;i:1;i:953;}i:8114;a:2:{i:0;i:8048;i:1;i:953;}i:8115;a:2:{i:0;i:945;i:1;i:953;}i:8116;a:2:{i:0;i:940;i:1;i:953;}i:8118;a:2:{i:0;i:945;i:1;i:834;}i:8119;a:3:{i:0;i:945;i:1;i:834;i:2;i:953;}i:8120;a:1:{i:0;i:8112;}i:8121;a:1:{i:0;i:8113;}i:8122;a:1:{i:0;i:8048;}i:8123;a:1:{i:0;i:8049;}i:8124;a:2:{i:0;i:945;i:1;i:953;}i:8126;a:1:{i:0;i:953;}i:8130;a:2:{i:0;i:8052;i:1;i:953;}i:8131;a:2:{i:0;i:951;i:1;i:953;}i:8132;a:2:{i:0;i:942;i:1;i:953;}i:8134;a:2:{i:0;i:951;i:1;i:834;}i:8135;a:3:{i:0;i:951;i:1;i:834;i:2;i:953;}i:8136;a:1:{i:0;i:8050;}i:8137;a:1:{i:0;i:8051;}i:8138;a:1:{i:0;i:8052;}i:8139;a:1:{i:0;i:8053;}i:8140;a:2:{i:0;i:951;i:1;i:953;}i:8146;a:3:{i:0;i:953;i:1;i:776;i:2;i:768;}i:8147;a:3:{i:0;i:953;i:1;i:776;i:2;i:769;}i:8150;a:2:{i:0;i:953;i:1;i:834;}i:8151;a:3:{i:0;i:953;i:1;i:776;i:2;i:834;}i:8152;a:1:{i:0;i:8144;}i:8153;a:1:{i:0;i:8145;}i:8154;a:1:{i:0;i:8054;}i:8155;a:1:{i:0;i:8055;}i:8162;a:3:{i:0;i:965;i:1;i:776;i:2;i:768;}i:8163;a:3:{i:0;i:965;i:1;i:776;i:2;i:769;}i:8164;a:2:{i:0;i:961;i:1;i:787;}i:8166;a:2:{i:0;i:965;i:1;i:834;}i:8167;a:3:{i:0;i:965;i:1;i:776;i:2;i:834;}i:8168;a:1:{i:0;i:8160;}i:8169;a:1:{i:0;i:8161;}i:8170;a:1:{i:0;i:8058;}i:8171;a:1:{i:0;i:8059;}i:8172;a:1:{i:0;i:8165;}i:8178;a:2:{i:0;i:8060;i:1;i:953;}i:8179;a:2:{i:0;i:969;i:1;i:953;}i:8180;a:2:{i:0;i:974;i:1;i:953;}i:8182;a:2:{i:0;i:969;i:1;i:834;}i:8183;a:3:{i:0;i:969;i:1;i:834;i:2;i:953;}i:8184;a:1:{i:0;i:8056;}i:8185;a:1:{i:0;i:8057;}i:8186;a:1:{i:0;i:8060;}i:8187;a:1:{i:0;i:8061;}i:8188;a:2:{i:0;i:969;i:1;i:953;}i:8360;a:2:{i:0;i:114;i:1;i:115;}i:8450;a:1:{i:0;i:99;}i:8451;a:2:{i:0;i:176;i:1;i:99;}i:8455;a:1:{i:0;i:603;}i:8457;a:2:{i:0;i:176;i:1;i:102;}i:8459;a:1:{i:0;i:104;}i:8460;a:1:{i:0;i:104;}i:8461;a:1:{i:0;i:104;}i:8464;a:1:{i:0;i:105;}i:8465;a:1:{i:0;i:105;}i:8466;a:1:{i:0;i:108;}i:8469;a:1:{i:0;i:110;}i:8470;a:2:{i:0;i:110;i:1;i:111;}i:8473;a:1:{i:0;i:112;}i:8474;a:1:{i:0;i:113;}i:8475;a:1:{i:0;i:114;}i:8476;a:1:{i:0;i:114;}i:8477;a:1:{i:0;i:114;}i:8480;a:2:{i:0;i:115;i:1;i:109;}i:8481;a:3:{i:0;i:116;i:1;i:101;i:2;i:108;}i:8482;a:2:{i:0;i:116;i:1;i:109;}i:8484;a:1:{i:0;i:122;}i:8486;a:1:{i:0;i:969;}i:8488;a:1:{i:0;i:122;}i:8490;a:1:{i:0;i:107;}i:8491;a:1:{i:0;i:229;}i:8492;a:1:{i:0;i:98;}i:8493;a:1:{i:0;i:99;}i:8496;a:1:{i:0;i:101;}i:8497;a:1:{i:0;i:102;}i:8499;a:1:{i:0;i:109;}i:8510;a:1:{i:0;i:947;}i:8511;a:1:{i:0;i:960;}i:8517;a:1:{i:0;i:100;}i:8544;a:1:{i:0;i:8560;}i:8545;a:1:{i:0;i:8561;}i:8546;a:1:{i:0;i:8562;}i:8547;a:1:{i:0;i:8563;}i:8548;a:1:{i:0;i:8564;}i:8549;a:1:{i:0;i:8565;}i:8550;a:1:{i:0;i:8566;}i:8551;a:1:{i:0;i:8567;}i:8552;a:1:{i:0;i:8568;}i:8553;a:1:{i:0;i:8569;}i:8554;a:1:{i:0;i:8570;}i:8555;a:1:{i:0;i:8571;}i:8556;a:1:{i:0;i:8572;}i:8557;a:1:{i:0;i:8573;}i:8558;a:1:{i:0;i:8574;}i:8559;a:1:{i:0;i:8575;}i:9398;a:1:{i:0;i:9424;}i:9399;a:1:{i:0;i:9425;}i:9400;a:1:{i:0;i:9426;}i:9401;a:1:{i:0;i:9427;}i:9402;a:1:{i:0;i:9428;}i:9403;a:1:{i:0;i:9429;}i:9404;a:1:{i:0;i:9430;}i:9405;a:1:{i:0;i:9431;}i:9406;a:1:{i:0;i:9432;}i:9407;a:1:{i:0;i:9433;}i:9408;a:1:{i:0;i:9434;}i:9409;a:1:{i:0;i:9435;}i:9410;a:1:{i:0;i:9436;}i:9411;a:1:{i:0;i:9437;}i:9412;a:1:{i:0;i:9438;}i:9413;a:1:{i:0;i:9439;}i:9414;a:1:{i:0;i:9440;}i:9415;a:1:{i:0;i:9441;}i:9416;a:1:{i:0;i:9442;}i:9417;a:1:{i:0;i:9443;}i:9418;a:1:{i:0;i:9444;}i:9419;a:1:{i:0;i:9445;}i:9420;a:1:{i:0;i:9446;}i:9421;a:1:{i:0;i:9447;}i:9422;a:1:{i:0;i:9448;}i:9423;a:1:{i:0;i:9449;}i:13169;a:3:{i:0;i:104;i:1;i:112;i:2;i:97;}i:13171;a:2:{i:0;i:97;i:1;i:117;}i:13173;a:2:{i:0;i:111;i:1;i:118;}i:13184;a:2:{i:0;i:112;i:1;i:97;}i:13185;a:2:{i:0;i:110;i:1;i:97;}i:13186;a:2:{i:0;i:956;i:1;i:97;}i:13187;a:2:{i:0;i:109;i:1;i:97;}i:13188;a:2:{i:0;i:107;i:1;i:97;}i:13189;a:2:{i:0;i:107;i:1;i:98;}i:13190;a:2:{i:0;i:109;i:1;i:98;}i:13191;a:2:{i:0;i:103;i:1;i:98;}i:13194;a:2:{i:0;i:112;i:1;i:102;}i:13195;a:2:{i:0;i:110;i:1;i:102;}i:13196;a:2:{i:0;i:956;i:1;i:102;}i:13200;a:2:{i:0;i:104;i:1;i:122;}i:13201;a:3:{i:0;i:107;i:1;i:104;i:2;i:122;}i:13202;a:3:{i:0;i:109;i:1;i:104;i:2;i:122;}i:13203;a:3:{i:0;i:103;i:1;i:104;i:2;i:122;}i:13204;a:3:{i:0;i:116;i:1;i:104;i:2;i:122;}i:13225;a:2:{i:0;i:112;i:1;i:97;}i:13226;a:3:{i:0;i:107;i:1;i:112;i:2;i:97;}i:13227;a:3:{i:0;i:109;i:1;i:112;i:2;i:97;}i:13228;a:3:{i:0;i:103;i:1;i:112;i:2;i:97;}i:13236;a:2:{i:0;i:112;i:1;i:118;}i:13237;a:2:{i:0;i:110;i:1;i:118;}i:13238;a:2:{i:0;i:956;i:1;i:118;}i:13239;a:2:{i:0;i:109;i:1;i:118;}i:13240;a:2:{i:0;i:107;i:1;i:118;}i:13241;a:2:{i:0;i:109;i:1;i:118;}i:13242;a:2:{i:0;i:112;i:1;i:119;}i:13243;a:2:{i:0;i:110;i:1;i:119;}i:13244;a:2:{i:0;i:956;i:1;i:119;}i:13245;a:2:{i:0;i:109;i:1;i:119;}i:13246;a:2:{i:0;i:107;i:1;i:119;}i:13247;a:2:{i:0;i:109;i:1;i:119;}i:13248;a:2:{i:0;i:107;i:1;i:969;}i:13249;a:2:{i:0;i:109;i:1;i:969;}i:13251;a:2:{i:0;i:98;i:1;i:113;}i:13254;a:4:{i:0;i:99;i:1;i:8725;i:2;i:107;i:3;i:103;}i:13255;a:3:{i:0;i:99;i:1;i:111;i:2;i:46;}i:13256;a:2:{i:0;i:100;i:1;i:98;}i:13257;a:2:{i:0;i:103;i:1;i:121;}i:13259;a:2:{i:0;i:104;i:1;i:112;}i:13261;a:2:{i:0;i:107;i:1;i:107;}i:13262;a:2:{i:0;i:107;i:1;i:109;}i:13271;a:2:{i:0;i:112;i:1;i:104;}i:13273;a:3:{i:0;i:112;i:1;i:112;i:2;i:109;}i:13274;a:2:{i:0;i:112;i:1;i:114;}i:13276;a:2:{i:0;i:115;i:1;i:118;}i:13277;a:2:{i:0;i:119;i:1;i:98;}i:64256;a:2:{i:0;i:102;i:1;i:102;}i:64257;a:2:{i:0;i:102;i:1;i:105;}i:64258;a:2:{i:0;i:102;i:1;i:108;}i:64259;a:3:{i:0;i:102;i:1;i:102;i:2;i:105;}i:64260;a:3:{i:0;i:102;i:1;i:102;i:2;i:108;}i:64261;a:2:{i:0;i:115;i:1;i:116;}i:64262;a:2:{i:0;i:115;i:1;i:116;}i:64275;a:2:{i:0;i:1396;i:1;i:1398;}i:64276;a:2:{i:0;i:1396;i:1;i:1381;}i:64277;a:2:{i:0;i:1396;i:1;i:1387;}i:64278;a:2:{i:0;i:1406;i:1;i:1398;}i:64279;a:2:{i:0;i:1396;i:1;i:1389;}i:65313;a:1:{i:0;i:65345;}i:65314;a:1:{i:0;i:65346;}i:65315;a:1:{i:0;i:65347;}i:65316;a:1:{i:0;i:65348;}i:65317;a:1:{i:0;i:65349;}i:65318;a:1:{i:0;i:65350;}i:65319;a:1:{i:0;i:65351;}i:65320;a:1:{i:0;i:65352;}i:65321;a:1:{i:0;i:65353;}i:65322;a:1:{i:0;i:65354;}i:65323;a:1:{i:0;i:65355;}i:65324;a:1:{i:0;i:65356;}i:65325;a:1:{i:0;i:65357;}i:65326;a:1:{i:0;i:65358;}i:65327;a:1:{i:0;i:65359;}i:65328;a:1:{i:0;i:65360;}i:65329;a:1:{i:0;i:65361;}i:65330;a:1:{i:0;i:65362;}i:65331;a:1:{i:0;i:65363;}i:65332;a:1:{i:0;i:65364;}i:65333;a:1:{i:0;i:65365;}i:65334;a:1:{i:0;i:65366;}i:65335;a:1:{i:0;i:65367;}i:65336;a:1:{i:0;i:65368;}i:65337;a:1:{i:0;i:65369;}i:65338;a:1:{i:0;i:65370;}i:66560;a:1:{i:0;i:66600;}i:66561;a:1:{i:0;i:66601;}i:66562;a:1:{i:0;i:66602;}i:66563;a:1:{i:0;i:66603;}i:66564;a:1:{i:0;i:66604;}i:66565;a:1:{i:0;i:66605;}i:66566;a:1:{i:0;i:66606;}i:66567;a:1:{i:0;i:66607;}i:66568;a:1:{i:0;i:66608;}i:66569;a:1:{i:0;i:66609;}i:66570;a:1:{i:0;i:66610;}i:66571;a:1:{i:0;i:66611;}i:66572;a:1:{i:0;i:66612;}i:66573;a:1:{i:0;i:66613;}i:66574;a:1:{i:0;i:66614;}i:66575;a:1:{i:0;i:66615;}i:66576;a:1:{i:0;i:66616;}i:66577;a:1:{i:0;i:66617;}i:66578;a:1:{i:0;i:66618;}i:66579;a:1:{i:0;i:66619;}i:66580;a:1:{i:0;i:66620;}i:66581;a:1:{i:0;i:66621;}i:66582;a:1:{i:0;i:66622;}i:66583;a:1:{i:0;i:66623;}i:66584;a:1:{i:0;i:66624;}i:66585;a:1:{i:0;i:66625;}i:66586;a:1:{i:0;i:66626;}i:66587;a:1:{i:0;i:66627;}i:66588;a:1:{i:0;i:66628;}i:66589;a:1:{i:0;i:66629;}i:66590;a:1:{i:0;i:66630;}i:66591;a:1:{i:0;i:66631;}i:66592;a:1:{i:0;i:66632;}i:66593;a:1:{i:0;i:66633;}i:66594;a:1:{i:0;i:66634;}i:66595;a:1:{i:0;i:66635;}i:66596;a:1:{i:0;i:66636;}i:66597;a:1:{i:0;i:66637;}i:119808;a:1:{i:0;i:97;}i:119809;a:1:{i:0;i:98;}i:119810;a:1:{i:0;i:99;}i:119811;a:1:{i:0;i:100;}i:119812;a:1:{i:0;i:101;}i:119813;a:1:{i:0;i:102;}i:119814;a:1:{i:0;i:103;}i:119815;a:1:{i:0;i:104;}i:119816;a:1:{i:0;i:105;}i:119817;a:1:{i:0;i:106;}i:119818;a:1:{i:0;i:107;}i:119819;a:1:{i:0;i:108;}i:119820;a:1:{i:0;i:109;}i:119821;a:1:{i:0;i:110;}i:119822;a:1:{i:0;i:111;}i:119823;a:1:{i:0;i:112;}i:119824;a:1:{i:0;i:113;}i:119825;a:1:{i:0;i:114;}i:119826;a:1:{i:0;i:115;}i:119827;a:1:{i:0;i:116;}i:119828;a:1:{i:0;i:117;}i:119829;a:1:{i:0;i:118;}i:119830;a:1:{i:0;i:119;}i:119831;a:1:{i:0;i:120;}i:119832;a:1:{i:0;i:121;}i:119833;a:1:{i:0;i:122;}i:119860;a:1:{i:0;i:97;}i:119861;a:1:{i:0;i:98;}i:119862;a:1:{i:0;i:99;}i:119863;a:1:{i:0;i:100;}i:119864;a:1:{i:0;i:101;}i:119865;a:1:{i:0;i:102;}i:119866;a:1:{i:0;i:103;}i:119867;a:1:{i:0;i:104;}i:119868;a:1:{i:0;i:105;}i:119869;a:1:{i:0;i:106;}i:119870;a:1:{i:0;i:107;}i:119871;a:1:{i:0;i:108;}i:119872;a:1:{i:0;i:109;}i:119873;a:1:{i:0;i:110;}i:119874;a:1:{i:0;i:111;}i:119875;a:1:{i:0;i:112;}i:119876;a:1:{i:0;i:113;}i:119877;a:1:{i:0;i:114;}i:119878;a:1:{i:0;i:115;}i:119879;a:1:{i:0;i:116;}i:119880;a:1:{i:0;i:117;}i:119881;a:1:{i:0;i:118;}i:119882;a:1:{i:0;i:119;}i:119883;a:1:{i:0;i:120;}i:119884;a:1:{i:0;i:121;}i:119885;a:1:{i:0;i:122;}i:119912;a:1:{i:0;i:97;}i:119913;a:1:{i:0;i:98;}i:119914;a:1:{i:0;i:99;}i:119915;a:1:{i:0;i:100;}i:119916;a:1:{i:0;i:101;}i:119917;a:1:{i:0;i:102;}i:119918;a:1:{i:0;i:103;}i:119919;a:1:{i:0;i:104;}i:119920;a:1:{i:0;i:105;}i:119921;a:1:{i:0;i:106;}i:119922;a:1:{i:0;i:107;}i:119923;a:1:{i:0;i:108;}i:119924;a:1:{i:0;i:109;}i:119925;a:1:{i:0;i:110;}i:119926;a:1:{i:0;i:111;}i:119927;a:1:{i:0;i:112;}i:119928;a:1:{i:0;i:113;}i:119929;a:1:{i:0;i:114;}i:119930;a:1:{i:0;i:115;}i:119931;a:1:{i:0;i:116;}i:119932;a:1:{i:0;i:117;}i:119933;a:1:{i:0;i:118;}i:119934;a:1:{i:0;i:119;}i:119935;a:1:{i:0;i:120;}i:119936;a:1:{i:0;i:121;}i:119937;a:1:{i:0;i:122;}i:119964;a:1:{i:0;i:97;}i:119966;a:1:{i:0;i:99;}i:119967;a:1:{i:0;i:100;}i:119970;a:1:{i:0;i:103;}i:119973;a:1:{i:0;i:106;}i:119974;a:1:{i:0;i:107;}i:119977;a:1:{i:0;i:110;}i:119978;a:1:{i:0;i:111;}i:119979;a:1:{i:0;i:112;}i:119980;a:1:{i:0;i:113;}i:119982;a:1:{i:0;i:115;}i:119983;a:1:{i:0;i:116;}i:119984;a:1:{i:0;i:117;}i:119985;a:1:{i:0;i:118;}i:119986;a:1:{i:0;i:119;}i:119987;a:1:{i:0;i:120;}i:119988;a:1:{i:0;i:121;}i:119989;a:1:{i:0;i:122;}i:120016;a:1:{i:0;i:97;}i:120017;a:1:{i:0;i:98;}i:120018;a:1:{i:0;i:99;}i:120019;a:1:{i:0;i:100;}i:120020;a:1:{i:0;i:101;}i:120021;a:1:{i:0;i:102;}i:120022;a:1:{i:0;i:103;}i:120023;a:1:{i:0;i:104;}i:120024;a:1:{i:0;i:105;}i:120025;a:1:{i:0;i:106;}i:120026;a:1:{i:0;i:107;}i:120027;a:1:{i:0;i:108;}i:120028;a:1:{i:0;i:109;}i:120029;a:1:{i:0;i:110;}i:120030;a:1:{i:0;i:111;}i:120031;a:1:{i:0;i:112;}i:120032;a:1:{i:0;i:113;}i:120033;a:1:{i:0;i:114;}i:120034;a:1:{i:0;i:115;}i:120035;a:1:{i:0;i:116;}i:120036;a:1:{i:0;i:117;}i:120037;a:1:{i:0;i:118;}i:120038;a:1:{i:0;i:119;}i:120039;a:1:{i:0;i:120;}i:120040;a:1:{i:0;i:121;}i:120041;a:1:{i:0;i:122;}i:120068;a:1:{i:0;i:97;}i:120069;a:1:{i:0;i:98;}i:120071;a:1:{i:0;i:100;}i:120072;a:1:{i:0;i:101;}i:120073;a:1:{i:0;i:102;}i:120074;a:1:{i:0;i:103;}i:120077;a:1:{i:0;i:106;}i:120078;a:1:{i:0;i:107;}i:120079;a:1:{i:0;i:108;}i:120080;a:1:{i:0;i:109;}i:120081;a:1:{i:0;i:110;}i:120082;a:1:{i:0;i:111;}i:120083;a:1:{i:0;i:112;}i:120084;a:1:{i:0;i:113;}i:120086;a:1:{i:0;i:115;}i:120087;a:1:{i:0;i:116;}i:120088;a:1:{i:0;i:117;}i:120089;a:1:{i:0;i:118;}i:120090;a:1:{i:0;i:119;}i:120091;a:1:{i:0;i:120;}i:120092;a:1:{i:0;i:121;}i:120120;a:1:{i:0;i:97;}i:120121;a:1:{i:0;i:98;}i:120123;a:1:{i:0;i:100;}i:120124;a:1:{i:0;i:101;}i:120125;a:1:{i:0;i:102;}i:120126;a:1:{i:0;i:103;}i:120128;a:1:{i:0;i:105;}i:120129;a:1:{i:0;i:106;}i:120130;a:1:{i:0;i:107;}i:120131;a:1:{i:0;i:108;}i:120132;a:1:{i:0;i:109;}i:120134;a:1:{i:0;i:111;}i:120138;a:1:{i:0;i:115;}i:120139;a:1:{i:0;i:116;}i:120140;a:1:{i:0;i:117;}i:120141;a:1:{i:0;i:118;}i:120142;a:1:{i:0;i:119;}i:120143;a:1:{i:0;i:120;}i:120144;a:1:{i:0;i:121;}i:120172;a:1:{i:0;i:97;}i:120173;a:1:{i:0;i:98;}i:120174;a:1:{i:0;i:99;}i:120175;a:1:{i:0;i:100;}i:120176;a:1:{i:0;i:101;}i:120177;a:1:{i:0;i:102;}i:120178;a:1:{i:0;i:103;}i:120179;a:1:{i:0;i:104;}i:120180;a:1:{i:0;i:105;}i:120181;a:1:{i:0;i:106;}i:120182;a:1:{i:0;i:107;}i:120183;a:1:{i:0;i:108;}i:120184;a:1:{i:0;i:109;}i:120185;a:1:{i:0;i:110;}i:120186;a:1:{i:0;i:111;}i:120187;a:1:{i:0;i:112;}i:120188;a:1:{i:0;i:113;}i:120189;a:1:{i:0;i:114;}i:120190;a:1:{i:0;i:115;}i:120191;a:1:{i:0;i:116;}i:120192;a:1:{i:0;i:117;}i:120193;a:1:{i:0;i:118;}i:120194;a:1:{i:0;i:119;}i:120195;a:1:{i:0;i:120;}i:120196;a:1:{i:0;i:121;}i:120197;a:1:{i:0;i:122;}i:120224;a:1:{i:0;i:97;}i:120225;a:1:{i:0;i:98;}i:120226;a:1:{i:0;i:99;}i:120227;a:1:{i:0;i:100;}i:120228;a:1:{i:0;i:101;}i:120229;a:1:{i:0;i:102;}i:120230;a:1:{i:0;i:103;}i:120231;a:1:{i:0;i:104;}i:120232;a:1:{i:0;i:105;}i:120233;a:1:{i:0;i:106;}i:120234;a:1:{i:0;i:107;}i:120235;a:1:{i:0;i:108;}i:120236;a:1:{i:0;i:109;}i:120237;a:1:{i:0;i:110;}i:120238;a:1:{i:0;i:111;}i:120239;a:1:{i:0;i:112;}i:120240;a:1:{i:0;i:113;}i:120241;a:1:{i:0;i:114;}i:120242;a:1:{i:0;i:115;}i:120243;a:1:{i:0;i:116;}i:120244;a:1:{i:0;i:117;}i:120245;a:1:{i:0;i:118;}i:120246;a:1:{i:0;i:119;}i:120247;a:1:{i:0;i:120;}i:120248;a:1:{i:0;i:121;}i:120249;a:1:{i:0;i:122;}i:120276;a:1:{i:0;i:97;}i:120277;a:1:{i:0;i:98;}i:120278;a:1:{i:0;i:99;}i:120279;a:1:{i:0;i:100;}i:120280;a:1:{i:0;i:101;}i:120281;a:1:{i:0;i:102;}i:120282;a:1:{i:0;i:103;}i:120283;a:1:{i:0;i:104;}i:120284;a:1:{i:0;i:105;}i:120285;a:1:{i:0;i:106;}i:120286;a:1:{i:0;i:107;}i:120287;a:1:{i:0;i:108;}i:120288;a:1:{i:0;i:109;}i:120289;a:1:{i:0;i:110;}i:120290;a:1:{i:0;i:111;}i:120291;a:1:{i:0;i:112;}i:120292;a:1:{i:0;i:113;}i:120293;a:1:{i:0;i:114;}i:120294;a:1:{i:0;i:115;}i:120295;a:1:{i:0;i:116;}i:120296;a:1:{i:0;i:117;}i:120297;a:1:{i:0;i:118;}i:120298;a:1:{i:0;i:119;}i:120299;a:1:{i:0;i:120;}i:120300;a:1:{i:0;i:121;}i:120301;a:1:{i:0;i:122;}i:120328;a:1:{i:0;i:97;}i:120329;a:1:{i:0;i:98;}i:120330;a:1:{i:0;i:99;}i:120331;a:1:{i:0;i:100;}i:120332;a:1:{i:0;i:101;}i:120333;a:1:{i:0;i:102;}i:120334;a:1:{i:0;i:103;}i:120335;a:1:{i:0;i:104;}i:120336;a:1:{i:0;i:105;}i:120337;a:1:{i:0;i:106;}i:120338;a:1:{i:0;i:107;}i:120339;a:1:{i:0;i:108;}i:120340;a:1:{i:0;i:109;}i:120341;a:1:{i:0;i:110;}i:120342;a:1:{i:0;i:111;}i:120343;a:1:{i:0;i:112;}i:120344;a:1:{i:0;i:113;}i:120345;a:1:{i:0;i:114;}i:120346;a:1:{i:0;i:115;}i:120347;a:1:{i:0;i:116;}i:120348;a:1:{i:0;i:117;}i:120349;a:1:{i:0;i:118;}i:120350;a:1:{i:0;i:119;}i:120351;a:1:{i:0;i:120;}i:120352;a:1:{i:0;i:121;}i:120353;a:1:{i:0;i:122;}i:120380;a:1:{i:0;i:97;}i:120381;a:1:{i:0;i:98;}i:120382;a:1:{i:0;i:99;}i:120383;a:1:{i:0;i:100;}i:120384;a:1:{i:0;i:101;}i:120385;a:1:{i:0;i:102;}i:120386;a:1:{i:0;i:103;}i:120387;a:1:{i:0;i:104;}i:120388;a:1:{i:0;i:105;}i:120389;a:1:{i:0;i:106;}i:120390;a:1:{i:0;i:107;}i:120391;a:1:{i:0;i:108;}i:120392;a:1:{i:0;i:109;}i:120393;a:1:{i:0;i:110;}i:120394;a:1:{i:0;i:111;}i:120395;a:1:{i:0;i:112;}i:120396;a:1:{i:0;i:113;}i:120397;a:1:{i:0;i:114;}i:120398;a:1:{i:0;i:115;}i:120399;a:1:{i:0;i:116;}i:120400;a:1:{i:0;i:117;}i:120401;a:1:{i:0;i:118;}i:120402;a:1:{i:0;i:119;}i:120403;a:1:{i:0;i:120;}i:120404;a:1:{i:0;i:121;}i:120405;a:1:{i:0;i:122;}i:120432;a:1:{i:0;i:97;}i:120433;a:1:{i:0;i:98;}i:120434;a:1:{i:0;i:99;}i:120435;a:1:{i:0;i:100;}i:120436;a:1:{i:0;i:101;}i:120437;a:1:{i:0;i:102;}i:120438;a:1:{i:0;i:103;}i:120439;a:1:{i:0;i:104;}i:120440;a:1:{i:0;i:105;}i:120441;a:1:{i:0;i:106;}i:120442;a:1:{i:0;i:107;}i:120443;a:1:{i:0;i:108;}i:120444;a:1:{i:0;i:109;}i:120445;a:1:{i:0;i:110;}i:120446;a:1:{i:0;i:111;}i:120447;a:1:{i:0;i:112;}i:120448;a:1:{i:0;i:113;}i:120449;a:1:{i:0;i:114;}i:120450;a:1:{i:0;i:115;}i:120451;a:1:{i:0;i:116;}i:120452;a:1:{i:0;i:117;}i:120453;a:1:{i:0;i:118;}i:120454;a:1:{i:0;i:119;}i:120455;a:1:{i:0;i:120;}i:120456;a:1:{i:0;i:121;}i:120457;a:1:{i:0;i:122;}i:120488;a:1:{i:0;i:945;}i:120489;a:1:{i:0;i:946;}i:120490;a:1:{i:0;i:947;}i:120491;a:1:{i:0;i:948;}i:120492;a:1:{i:0;i:949;}i:120493;a:1:{i:0;i:950;}i:120494;a:1:{i:0;i:951;}i:120495;a:1:{i:0;i:952;}i:120496;a:1:{i:0;i:953;}i:120497;a:1:{i:0;i:954;}i:120498;a:1:{i:0;i:955;}i:120499;a:1:{i:0;i:956;}i:120500;a:1:{i:0;i:957;}i:120501;a:1:{i:0;i:958;}i:120502;a:1:{i:0;i:959;}i:120503;a:1:{i:0;i:960;}i:120504;a:1:{i:0;i:961;}i:120505;a:1:{i:0;i:952;}i:120506;a:1:{i:0;i:963;}i:120507;a:1:{i:0;i:964;}i:120508;a:1:{i:0;i:965;}i:120509;a:1:{i:0;i:966;}i:120510;a:1:{i:0;i:967;}i:120511;a:1:{i:0;i:968;}i:120512;a:1:{i:0;i:969;}i:120531;a:1:{i:0;i:963;}i:120546;a:1:{i:0;i:945;}i:120547;a:1:{i:0;i:946;}i:120548;a:1:{i:0;i:947;}i:120549;a:1:{i:0;i:948;}i:120550;a:1:{i:0;i:949;}i:120551;a:1:{i:0;i:950;}i:120552;a:1:{i:0;i:951;}i:120553;a:1:{i:0;i:952;}i:120554;a:1:{i:0;i:953;}i:120555;a:1:{i:0;i:954;}i:120556;a:1:{i:0;i:955;}i:120557;a:1:{i:0;i:956;}i:120558;a:1:{i:0;i:957;}i:120559;a:1:{i:0;i:958;}i:120560;a:1:{i:0;i:959;}i:120561;a:1:{i:0;i:960;}i:120562;a:1:{i:0;i:961;}i:120563;a:1:{i:0;i:952;}i:120564;a:1:{i:0;i:963;}i:120565;a:1:{i:0;i:964;}i:120566;a:1:{i:0;i:965;}i:120567;a:1:{i:0;i:966;}i:120568;a:1:{i:0;i:967;}i:120569;a:1:{i:0;i:968;}i:120570;a:1:{i:0;i:969;}i:120589;a:1:{i:0;i:963;}i:120604;a:1:{i:0;i:945;}i:120605;a:1:{i:0;i:946;}i:120606;a:1:{i:0;i:947;}i:120607;a:1:{i:0;i:948;}i:120608;a:1:{i:0;i:949;}i:120609;a:1:{i:0;i:950;}i:120610;a:1:{i:0;i:951;}i:120611;a:1:{i:0;i:952;}i:120612;a:1:{i:0;i:953;}i:120613;a:1:{i:0;i:954;}i:120614;a:1:{i:0;i:955;}i:120615;a:1:{i:0;i:956;}i:120616;a:1:{i:0;i:957;}i:120617;a:1:{i:0;i:958;}i:120618;a:1:{i:0;i:959;}i:120619;a:1:{i:0;i:960;}i:120620;a:1:{i:0;i:961;}i:120621;a:1:{i:0;i:952;}i:120622;a:1:{i:0;i:963;}i:120623;a:1:{i:0;i:964;}i:120624;a:1:{i:0;i:965;}i:120625;a:1:{i:0;i:966;}i:120626;a:1:{i:0;i:967;}i:120627;a:1:{i:0;i:968;}i:120628;a:1:{i:0;i:969;}i:120647;a:1:{i:0;i:963;}i:120662;a:1:{i:0;i:945;}i:120663;a:1:{i:0;i:946;}i:120664;a:1:{i:0;i:947;}i:120665;a:1:{i:0;i:948;}i:120666;a:1:{i:0;i:949;}i:120667;a:1:{i:0;i:950;}i:120668;a:1:{i:0;i:951;}i:120669;a:1:{i:0;i:952;}i:120670;a:1:{i:0;i:953;}i:120671;a:1:{i:0;i:954;}i:120672;a:1:{i:0;i:955;}i:120673;a:1:{i:0;i:956;}i:120674;a:1:{i:0;i:957;}i:120675;a:1:{i:0;i:958;}i:120676;a:1:{i:0;i:959;}i:120677;a:1:{i:0;i:960;}i:120678;a:1:{i:0;i:961;}i:120679;a:1:{i:0;i:952;}i:120680;a:1:{i:0;i:963;}i:120681;a:1:{i:0;i:964;}i:120682;a:1:{i:0;i:965;}i:120683;a:1:{i:0;i:966;}i:120684;a:1:{i:0;i:967;}i:120685;a:1:{i:0;i:968;}i:120686;a:1:{i:0;i:969;}i:120705;a:1:{i:0;i:963;}i:120720;a:1:{i:0;i:945;}i:120721;a:1:{i:0;i:946;}i:120722;a:1:{i:0;i:947;}i:120723;a:1:{i:0;i:948;}i:120724;a:1:{i:0;i:949;}i:120725;a:1:{i:0;i:950;}i:120726;a:1:{i:0;i:951;}i:120727;a:1:{i:0;i:952;}i:120728;a:1:{i:0;i:953;}i:120729;a:1:{i:0;i:954;}i:120730;a:1:{i:0;i:955;}i:120731;a:1:{i:0;i:956;}i:120732;a:1:{i:0;i:957;}i:120733;a:1:{i:0;i:958;}i:120734;a:1:{i:0;i:959;}i:120735;a:1:{i:0;i:960;}i:120736;a:1:{i:0;i:961;}i:120737;a:1:{i:0;i:952;}i:120738;a:1:{i:0;i:963;}i:120739;a:1:{i:0;i:964;}i:120740;a:1:{i:0;i:965;}i:120741;a:1:{i:0;i:966;}i:120742;a:1:{i:0;i:967;}i:120743;a:1:{i:0;i:968;}i:120744;a:1:{i:0;i:969;}i:120763;a:1:{i:0;i:963;}i:1017;a:1:{i:0;i:963;}i:7468;a:1:{i:0;i:97;}i:7469;a:1:{i:0;i:230;}i:7470;a:1:{i:0;i:98;}i:7472;a:1:{i:0;i:100;}i:7473;a:1:{i:0;i:101;}i:7474;a:1:{i:0;i:477;}i:7475;a:1:{i:0;i:103;}i:7476;a:1:{i:0;i:104;}i:7477;a:1:{i:0;i:105;}i:7478;a:1:{i:0;i:106;}i:7479;a:1:{i:0;i:107;}i:7480;a:1:{i:0;i:108;}i:7481;a:1:{i:0;i:109;}i:7482;a:1:{i:0;i:110;}i:7484;a:1:{i:0;i:111;}i:7485;a:1:{i:0;i:547;}i:7486;a:1:{i:0;i:112;}i:7487;a:1:{i:0;i:114;}i:7488;a:1:{i:0;i:116;}i:7489;a:1:{i:0;i:117;}i:7490;a:1:{i:0;i:119;}i:8507;a:3:{i:0;i:102;i:1;i:97;i:2;i:120;}i:12880;a:3:{i:0;i:112;i:1;i:116;i:2;i:101;}i:13004;a:2:{i:0;i:104;i:1;i:103;}i:13006;a:2:{i:0;i:101;i:1;i:118;}i:13007;a:3:{i:0;i:108;i:1;i:116;i:2;i:100;}i:13178;a:2:{i:0;i:105;i:1;i:117;}i:13278;a:3:{i:0;i:118;i:1;i:8725;i:2;i:109;}i:13279;a:3:{i:0;i:97;i:1;i:8725;i:2;i:109;}}s:12:"norm_combcls";a:341:{i:820;i:1;i:821;i:1;i:822;i:1;i:823;i:1;i:824;i:1;i:2364;i:7;i:2492;i:7;i:2620;i:7;i:2748;i:7;i:2876;i:7;i:3260;i:7;i:4151;i:7;i:12441;i:8;i:12442;i:8;i:2381;i:9;i:2509;i:9;i:2637;i:9;i:2765;i:9;i:2893;i:9;i:3021;i:9;i:3149;i:9;i:3277;i:9;i:3405;i:9;i:3530;i:9;i:3642;i:9;i:3972;i:9;i:4153;i:9;i:5908;i:9;i:5940;i:9;i:6098;i:9;i:1456;i:10;i:1457;i:11;i:1458;i:12;i:1459;i:13;i:1460;i:14;i:1461;i:15;i:1462;i:16;i:1463;i:17;i:1464;i:18;i:1465;i:19;i:1467;i:20;i:1468;i:21;i:1469;i:22;i:1471;i:23;i:1473;i:24;i:1474;i:25;i:64286;i:26;i:1611;i:27;i:1612;i:28;i:1613;i:29;i:1614;i:30;i:1615;i:31;i:1616;i:32;i:1617;i:33;i:1618;i:34;i:1648;i:35;i:1809;i:36;i:3157;i:84;i:3158;i:91;i:3640;i:103;i:3641;i:103;i:3656;i:107;i:3657;i:107;i:3658;i:107;i:3659;i:107;i:3768;i:118;i:3769;i:118;i:3784;i:122;i:3785;i:122;i:3786;i:122;i:3787;i:122;i:3953;i:129;i:3954;i:130;i:3962;i:130;i:3963;i:130;i:3964;i:130;i:3965;i:130;i:3968;i:130;i:3956;i:132;i:801;i:202;i:802;i:202;i:807;i:202;i:808;i:202;i:795;i:216;i:3897;i:216;i:119141;i:216;i:119142;i:216;i:119150;i:216;i:119151;i:216;i:119152;i:216;i:119153;i:216;i:119154;i:216;i:12330;i:218;i:790;i:220;i:791;i:220;i:792;i:220;i:793;i:220;i:796;i:220;i:797;i:220;i:798;i:220;i:799;i:220;i:800;i:220;i:803;i:220;i:804;i:220;i:805;i:220;i:806;i:220;i:809;i:220;i:810;i:220;i:811;i:220;i:812;i:220;i:813;i:220;i:814;i:220;i:815;i:220;i:816;i:220;i:817;i:220;i:818;i:220;i:819;i:220;i:825;i:220;i:826;i:220;i:827;i:220;i:828;i:220;i:839;i:220;i:840;i:220;i:841;i:220;i:845;i:220;i:846;i:220;i:851;i:220;i:852;i:220;i:853;i:220;i:854;i:220;i:1425;i:220;i:1430;i:220;i:1435;i:220;i:1443;i:220;i:1444;i:220;i:1445;i:220;i:1446;i:220;i:1447;i:220;i:1450;i:220;i:1621;i:220;i:1622;i:220;i:1763;i:220;i:1770;i:220;i:1773;i:220;i:1841;i:220;i:1844;i:220;i:1847;i:220;i:1848;i:220;i:1849;i:220;i:1851;i:220;i:1852;i:220;i:1854;i:220;i:1858;i:220;i:1860;i:220;i:1862;i:220;i:1864;i:220;i:2386;i:220;i:3864;i:220;i:3865;i:220;i:3893;i:220;i:3895;i:220;i:4038;i:220;i:6459;i:220;i:8424;i:220;i:119163;i:220;i:119164;i:220;i:119165;i:220;i:119166;i:220;i:119167;i:220;i:119168;i:220;i:119169;i:220;i:119170;i:220;i:119178;i:220;i:119179;i:220;i:1434;i:222;i:1453;i:222;i:6441;i:222;i:12333;i:222;i:12334;i:224;i:12335;i:224;i:119149;i:226;i:1454;i:228;i:6313;i:228;i:12331;i:228;i:768;i:230;i:769;i:230;i:770;i:230;i:771;i:230;i:772;i:230;i:773;i:230;i:774;i:230;i:775;i:230;i:776;i:230;i:777;i:230;i:778;i:230;i:779;i:230;i:780;i:230;i:781;i:230;i:782;i:230;i:783;i:230;i:784;i:230;i:785;i:230;i:786;i:230;i:787;i:230;i:788;i:230;i:829;i:230;i:830;i:230;i:831;i:230;i:832;i:230;i:833;i:230;i:834;i:230;i:835;i:230;i:836;i:230;i:838;i:230;i:842;i:230;i:843;i:230;i:844;i:230;i:848;i:230;i:849;i:230;i:850;i:230;i:855;i:230;i:867;i:230;i:868;i:230;i:869;i:230;i:870;i:230;i:871;i:230;i:872;i:230;i:873;i:230;i:874;i:230;i:875;i:230;i:876;i:230;i:877;i:230;i:878;i:230;i:879;i:230;i:1155;i:230;i:1156;i:230;i:1157;i:230;i:1158;i:230;i:1426;i:230;i:1427;i:230;i:1428;i:230;i:1429;i:230;i:1431;i:230;i:1432;i:230;i:1433;i:230;i:1436;i:230;i:1437;i:230;i:1438;i:230;i:1439;i:230;i:1440;i:230;i:1441;i:230;i:1448;i:230;i:1449;i:230;i:1451;i:230;i:1452;i:230;i:1455;i:230;i:1476;i:230;i:1552;i:230;i:1553;i:230;i:1554;i:230;i:1555;i:230;i:1556;i:230;i:1557;i:230;i:1619;i:230;i:1620;i:230;i:1623;i:230;i:1624;i:230;i:1750;i:230;i:1751;i:230;i:1752;i:230;i:1753;i:230;i:1754;i:230;i:1755;i:230;i:1756;i:230;i:1759;i:230;i:1760;i:230;i:1761;i:230;i:1762;i:230;i:1764;i:230;i:1767;i:230;i:1768;i:230;i:1771;i:230;i:1772;i:230;i:1840;i:230;i:1842;i:230;i:1843;i:230;i:1845;i:230;i:1846;i:230;i:1850;i:230;i:1853;i:230;i:1855;i:230;i:1856;i:230;i:1857;i:230;i:1859;i:230;i:1861;i:230;i:1863;i:230;i:1865;i:230;i:1866;i:230;i:2385;i:230;i:2387;i:230;i:2388;i:230;i:3970;i:230;i:3971;i:230;i:3974;i:230;i:3975;i:230;i:5901;i:230;i:6458;i:230;i:8400;i:230;i:8401;i:230;i:8404;i:230;i:8405;i:230;i:8406;i:230;i:8407;i:230;i:8411;i:230;i:8412;i:230;i:8417;i:230;i:8423;i:230;i:8425;i:230;i:65056;i:230;i:65057;i:230;i:65058;i:230;i:65059;i:230;i:119173;i:230;i:119174;i:230;i:119175;i:230;i:119177;i:230;i:119176;i:230;i:119210;i:230;i:119211;i:230;i:119212;i:230;i:119213;i:230;i:789;i:232;i:794;i:232;i:12332;i:232;i:863;i:233;i:866;i:233;i:861;i:234;i:862;i:234;i:864;i:234;i:865;i:234;i:837;i:240;}}
|
typo3/contrib/idna/example.php_ (revision 0) | ||
---|---|---|
<?php
|
||
$encoded = '';
|
||
$decoded = '';
|
||
$add = '';
|
||
header('Content-Type: text/html; charset=UTF-8');
|
||
require_once('idna_convert.class.php');
|
||
$IDN = new idna_convert();
|
||
if (isset($_REQUEST['encode'])) {
|
||
$decoded = isset($_REQUEST['decoded']) ? stripslashes($_REQUEST['decoded']) : '';
|
||
$encoded = $IDN->encode($decoded);
|
||
}
|
||
if (isset($_REQUEST['decode'])) {
|
||
$encoded = isset($_REQUEST['encoded']) ? stripslashes($_REQUEST['encoded']) : '';
|
||
$decoded = $IDN->decode($encoded);
|
||
}
|
||
if (isset($_REQUEST['lang'])) {
|
||
if ('de' == $_REQUEST['lang'] || 'en' == $_REQUEST['lang']) $lang = $_REQUEST['lang'];
|
||
$add .= '<input type="hidden" name="lang" value="'.$_REQUEST['lang'].'" />'."\n";
|
||
} else {
|
||
$lang = 'en';
|
||
}
|
||
?>
|
||
<!DOCTYPE html public "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<html>
|
||
<head>
|
||
<title>phlyLabs Punycode Converter</title>
|
||
<meta name="author" content="phlyLabs">
|
||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||
<style type="text/css">
|
||
body {
|
||
color:black;
|
||
background:white;
|
||
font-size:10pt;
|
||
font-family:Verdana, Helvetica, Sans-Serif;
|
||
}
|
||
body, form {
|
||
margin:0px;
|
||
}
|
||
form {
|
||
display:inline;
|
||
}
|
||
input {
|
||
font-size:8pt;
|
||
font-family:Verdana, Helvetica, Sans-Serif;
|
||
}
|
||
#mitte {
|
||
text-align:center;
|
||
vertical-align:middle;
|
||
}
|
||
#round {
|
||
background-color:rgb(230, 230, 240);
|
||
border:1px solid black;
|
||
text-align:center;
|
||
vertical-align:middle;
|
||
padding:10px;
|
||
}
|
||
.thead {
|
||
font-size:9pt;
|
||
font-weight:bold;
|
||
}
|
||
#copy {
|
||
font-size:8pt;
|
||
color:rgb(60, 60, 80);
|
||
}
|
||
#subhead {
|
||
font-size:8pt;
|
||
}
|
||
#bla {
|
||
font-size:8pt;
|
||
text-align:left;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<table width="768" border="0" cellpadding="50" cellspacing="0">
|
||
<tr>
|
||
<td id="mitte">
|
||
<div id="round">
|
||
<strong>phlyLabs` pure PHP IDNA Converter</strong><br />
|
||
<span id="subhead">
|
||
See <a href="http://faqs.org/rfcs/rfc3490.html" title="IDNA" target="_blank">RFC3490</a>,
|
||
<a href="http://faqs.org/rfcs/rfc3491.html" title="Nameprep, a Stringprep profile" target="_blank">RFC3491</a>,
|
||
<a href="http://faqs.org/rfcs/rfc3492.html" title="Punycode" target="_blank">RFC3492</a> and
|
||
<a href="http://faqs.org/rfcs/rfc3454.html" title="Stringprep" target="_blank">RFC3454</a><br />
|
||
</span>
|
||
<br />
|
||
<div id="bla"><?php if ($lang == 'de') { ?>
|
||
Dieser Konverter erlaubt die รbersetzung von Domainnamen zwischen der Punycode- und der
|
||
Unicode-Schreibweise.<br />
|
||
Geben Sie einfach den Domainnamen im entsprechend bezeichneten Feld ein und klicken Sie dann auf den darunter
|
||
liegenden Button. Sie kรถnnen einfache Domainnamen, komplette URLs (wie http://jรผrgen-mรผller.de)
|
||
oder Emailadressen eingeben.<br />
|
||
<br />
|
||
Stellen Sie aber sicher, dass Ihr Browser den Zeichensatz <strong>UTF-8</strong> unterstรผtzt.<br />
|
||
<br />
|
||
Wenn Sie Interesse an der zugrundeliegenden PHP-Klasse haben, kรถnnen Sie diese
|
||
<a href="http://phlymail.de/de/downloads/idna/download/">hier herunterladen</a>.<br />
|
||
<br />
|
||
Diese Klasse wird ohne Garantie ihrer Funktionstรผchtigkeit bereit gestellt. Nutzung auf eigene Gefahr.<br />
|
||
Um sicher zu stellen, dass eine Zeichenkette korrekt umgewandelt wurde, sollten Sie diese immer zurรผckwandeln
|
||
und das Ergebnis mit Ihrer ursprรผnglichen Eingabe vergleichen.<br />
|
||
<br />
|
||
Fehler und Probleme kรถnnen Sie gern an <a href="mailto:team@phlymail.de">team@phlymail.de</a> senden.<br />
|
||
<?php } else { ?>
|
||
This converter allows you to transfer domain names between the encoded (Punycode) notation
|
||
and the decoded (UTF-8) notation.<br />
|
||
Just enter the domain name in the respective field and click on the button right below it to have
|
||
it converted. Please note, that you might even enter complete domain names (like jürgen-müller.de)
|
||
or a email addresses.<br />
|
||
<br />
|
||
Make sure, that your browser is capable of the <strong>UTF-8</strong> character encoding.<br />
|
||
<br />
|
||
For those of you interested in the PHP source of the underlying class, you might
|
||
<a href="http://phlymail.de/en/downloads/idna/download/">download it here</a>.<br />
|
||
<br />
|
||
Please be aware, that this class is provided as is and without any liability. Use at your own risk.<br />
|
||
To ensure, that a certain string has been converted correctly, you should convert it both ways and compare the
|
||
results.<br />
|
||
<br />
|
||
Please feel free to report bugs and problems to: <a href="mailto:team@phlymail.de">team@phlymail.de</a>.<br />
|
||
<?php } ?>
|
||
<br />
|
||
</div>
|
||
<table border="0" cellpadding="2" cellspacing="2" align="center">
|
||
<tr>
|
||
<td class="thead" align="left">Original (Unicode)</td>
|
||
<td class="thead" align="right">Punycode (ACE)</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="right">
|
||
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
|
||
<input type="text" name="decoded" value="<?php echo htmlentities($decoded, null, 'UTF-8'); ?>" size="48" maxlength="255" /><br />
|
||
<input type="submit" name="encode" value="Encode >>" /><?php echo $add; ?>
|
||
</form>
|
||
</td>
|
||
<td align="left">
|
||
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
|
||
<input type="text" name="encoded" value="<?php echo htmlentities($encoded, null, 'UTF-8'); ?>" size="48" maxlength="255" /><br />
|
||
<input type="submit" name="decode" value="<< Decode" /><?php echo $add; ?>
|
||
</form>
|
||
</td>
|
||
</tr>
|
||
</table><br />
|
||
<span id="copy">Version used: 0.5.1; (c) <a href="http://phlylabs.de">phlyLabs</a> 2004-2007</span>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</body>
|
||
</html>
|
typo3/contrib/idna/LICENCE (revision 0) | ||
---|---|---|
GNU LESSER GENERAL PUBLIC LICENSE
|
||
Version 2.1, February 1999
|
||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||
Everyone is permitted to copy and distribute verbatim copies
|
||
of this license document, but changing it is not allowed.
|
||
[This is the first released version of the Lesser GPL. It also counts
|
||
as the successor of the GNU Library Public License, version 2, hence
|
||
the version number 2.1.]
|
||
Preamble
|
||
The licenses for most software are designed to take away your
|
||
freedom to share and change it. By contrast, the GNU General Public
|
||
Licenses are intended to guarantee your freedom to share and change
|
||
free software--to make sure the software is free for all its users.
|
||
This license, the Lesser General Public License, applies to some
|
||
specially designated software packages--typically libraries--of the
|
||
Free Software Foundation and other authors who decide to use it. You
|
||
can use it too, but we suggest you first think carefully about whether
|
||
this license or the ordinary General Public License is the better
|
||
strategy to use in any particular case, based on the explanations below.
|
||
When we speak of free software, we are referring to freedom of use,
|
||
not price. Our General Public Licenses are designed to make sure that
|
||
you have the freedom to distribute copies of free software (and charge
|
||
for this service if you wish); that you receive source code or can get
|
||
it if you want it; that you can change the software and use pieces of
|
||
it in new free programs; and that you are informed that you can do
|
||
these things.
|
||
To protect your rights, we need to make restrictions that forbid
|
||
distributors to deny you these rights or to ask you to surrender these
|
||
rights. These restrictions translate to certain responsibilities for
|
||
you if you distribute copies of the library or if you modify it.
|
||
For example, if you distribute copies of the library, whether gratis
|
||
or for a fee, you must give the recipients all the rights that we gave
|
||
you. You must make sure that they, too, receive or can get the source
|
||
code. If you link other code with the library, you must provide
|
||
complete object files to the recipients, so that they can relink them
|
||
with the library after making changes to the library and recompiling
|
||
it. And you must show them these terms so they know their rights.
|
||
We protect your rights with a two-step method: (1) we copyright the
|
||
library, and (2) we offer you this license, which gives you legal
|
||
permission to copy, distribute and/or modify the library.
|
||
To protect each distributor, we want to make it very clear that
|
||
there is no warranty for the free library. Also, if the library is
|
||
modified by someone else and passed on, the recipients should know
|
||
that what they have is not the original version, so that the original
|
||
author's reputation will not be affected by problems that might be
|
||
introduced by others.
|
||
Finally, software patents pose a constant threat to the existence of
|
||
any free program. We wish to make sure that a company cannot
|
||
effectively restrict the users of a free program by obtaining a
|
||
restrictive license from a patent holder. Therefore, we insist that
|
||
any patent license obtained for a version of the library must be
|
||
consistent with the full freedom of use specified in this license.
|
||
Most GNU software, including some libraries, is covered by the
|
||
ordinary GNU General Public License. This license, the GNU Lesser
|
||
General Public License, applies to certain designated libraries, and
|
||
is quite different from the ordinary General Public License. We use
|
||
this license for certain libraries in order to permit linking those
|
||
libraries into non-free programs.
|
||
When a program is linked with a library, whether statically or using
|
||
a shared library, the combination of the two is legally speaking a
|
||
combined work, a derivative of the original library. The ordinary
|
||
General Public License therefore permits such linking only if the
|
||
entire combination fits its criteria of freedom. The Lesser General
|
||
Public License permits more lax criteria for linking other code with
|
||
the library.
|
||
We call this license the "Lesser" General Public License because it
|
||
does Less to protect the user's freedom than the ordinary General
|
||
Public License. It also provides other free software developers Less
|
||
of an advantage over competing non-free programs. These disadvantages
|
||
are the reason we use the ordinary General Public License for many
|
||
libraries. However, the Lesser license provides advantages in certain
|
||
special circumstances.
|
||
For example, on rare occasions, there may be a special need to
|
||
encourage the widest possible use of a certain library, so that it becomes
|
||
a de-facto standard. To achieve this, non-free programs must be
|
||
allowed to use the library. A more frequent case is that a free
|
||
library does the same job as widely used non-free libraries. In this
|
||
case, there is little to gain by limiting the free library to free
|
||
software only, so we use the Lesser General Public License.
|
||
In other cases, permission to use a particular library in non-free
|
||
programs enables a greater number of people to use a large body of
|
||
free software. For example, permission to use the GNU C Library in
|
||
non-free programs enables many more people to use the whole GNU
|
||
operating system, as well as its variant, the GNU/Linux operating
|
||
system.
|
||
Although the Lesser General Public License is Less protective of the
|
||
users' freedom, it does ensure that the user of a program that is
|
||
linked with the Library has the freedom and the wherewithal to run
|
||
that program using a modified version of the Library.
|
||
The precise terms and conditions for copying, distribution and
|
||
modification follow. Pay close attention to the difference between a
|
||
"work based on the library" and a "work that uses the library". The
|
||
former contains code derived from the library, whereas the latter must
|
||
be combined with the library in order to run.
|
||
GNU LESSER GENERAL PUBLIC LICENSE
|
||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||
0. This License Agreement applies to any software library or other
|
||
program which contains a notice placed by the copyright holder or
|
||
other authorized party saying it may be distributed under the terms of
|
||
this Lesser General Public License (also called "this License").
|
||
Each licensee is addressed as "you".
|
||
A "library" means a collection of software functions and/or data
|
||
prepared so as to be conveniently linked with application programs
|
||
(which use some of those functions and data) to form executables.
|
||
The "Library", below, refers to any such software library or work
|
||
which has been distributed under these terms. A "work based on the
|
||
Library" means either the Library or any derivative work under
|
||
copyright law: that is to say, a work containing the Library or a
|
||
portion of it, either verbatim or with modifications and/or translated
|
||
straightforwardly into another language. (Hereinafter, translation is
|
||
included without limitation in the term "modification".)
|
||
"Source code" for a work means the preferred form of the work for
|
||
making modifications to it. For a library, complete source code means
|
||
all the source code for all modules it contains, plus any associated
|
||
interface definition files, plus the scripts used to control compilation
|
||
and installation of the library.
|
||
Activities other than copying, distribution and modification are not
|
||
covered by this License; they are outside its scope. The act of
|
||
running a program using the Library is not restricted, and output from
|
||
such a program is covered only if its contents constitute a work based
|
||
on the Library (independent of the use of the Library in a tool for
|
||
writing it). Whether that is true depends on what the Library does
|
||
and what the program that uses the Library does.
|
||
1. You may copy and distribute verbatim copies of the Library's
|
||
complete source code as you receive it, in any medium, provided that
|
||
you conspicuously and appropriately publish on each copy an
|
||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||
all the notices that refer to this License and to the absence of any
|
||
warranty; and distribute a copy of this License along with the
|
||
Library.
|
||
You may charge a fee for the physical act of transferring a copy,
|
||
and you may at your option offer warranty protection in exchange for a
|
||
fee.
|
||
2. You may modify your copy or copies of the Library or any portion
|
||
of it, thus forming a work based on the Library, and copy and
|
||
distribute such modifications or work under the terms of Section 1
|
||
above, provided that you also meet all of these conditions:
|
||
a) The modified work must itself be a software library.
|
||
b) You must cause the files modified to carry prominent notices
|
||
stating that you changed the files and the date of any change.
|
||
c) You must cause the whole of the work to be licensed at no
|
||
charge to all third parties under the terms of this License.
|
||
d) If a facility in the modified Library refers to a function or a
|
||
table of data to be supplied by an application program that uses
|
||
the facility, other than as an argument passed when the facility
|
||
is invoked, then you must make a good faith effort to ensure that,
|
||
in the event an application does not supply such function or
|
||
table, the facility still operates, and performs whatever part of
|
||
its purpose remains meaningful.
|
||
(For example, a function in a library to compute square roots has
|
||
a purpose that is entirely well-defined independent of the
|
||
application. Therefore, Subsection 2d requires that any
|
||
application-supplied function or table used by this function must
|
||
be optional: if the application does not supply it, the square
|
||
root function must still compute square roots.)
|
||
These requirements apply to the modified work as a whole. If
|
||
identifiable sections of that work are not derived from the Library,
|
||
and can be reasonably considered independent and separate works in
|
||
themselves, then this License, and its terms, do not apply to those
|
||
sections when you distribute them as separate works. But when you
|
||
distribute the same sections as part of a whole which is a work based
|
||
on the Library, the distribution of the whole must be on the terms of
|
||
this License, whose permissions for other licensees extend to the
|
||
entire whole, and thus to each and every part regardless of who wrote
|
||
it.
|
||
Thus, it is not the intent of this section to claim rights or contest
|
||
your rights to work written entirely by you; rather, the intent is to
|
||
exercise the right to control the distribution of derivative or
|
||
collective works based on the Library.
|
||
In addition, mere aggregation of another work not based on the Library
|
||
with the Library (or with a work based on the Library) on a volume of
|
||
a storage or distribution medium does not bring the other work under
|
||
the scope of this License.
|
||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||
License instead of this License to a given copy of the Library. To do
|
||
this, you must alter all the notices that refer to this License, so
|
||
that they refer to the ordinary GNU General Public License, version 2,
|
||
instead of to this License. (If a newer version than version 2 of the
|
||
ordinary GNU General Public License has appeared, then you can specify
|
||
that version instead if you wish.) Do not make any other change in
|
||
these notices.
|
||
Once this change is made in a given copy, it is irreversible for
|
||
that copy, so the ordinary GNU General Public License applies to all
|
||
subsequent copies and derivative works made from that copy.
|
||
This option is useful when you wish to copy part of the code of
|
||
the Library into a program that is not a library.
|
||
4. You may copy and distribute the Library (or a portion or
|
||
derivative of it, under Section 2) in object code or executable form
|
||
under the terms of Sections 1 and 2 above provided that you accompany
|
||
it with the complete corresponding machine-readable source code, which
|
||
must be distributed under the terms of Sections 1 and 2 above on a
|
||
medium customarily used for software interchange.
|
||
If distribution of object code is made by offering access to copy
|
||
from a designated place, then offering equivalent access to copy the
|
||
source code from the same place satisfies the requirement to
|
||
distribute the source code, even though third parties are not
|
||
compelled to copy the source along with the object code.
|
||
5. A program that contains no derivative of any portion of the
|
||
Library, but is designed to work with the Library by being compiled or
|
||
linked with it, is called a "work that uses the Library". Such a
|
||
work, in isolation, is not a derivative work of the Library, and
|
||
therefore falls outside the scope of this License.
|
||
However, linking a "work that uses the Library" with the Library
|
||
creates an executable that is a derivative of the Library (because it
|
||
contains portions of the Library), rather than a "work that uses the
|
||
library". The executable is therefore covered by this License.
|
||
Section 6 states terms for distribution of such executables.
|
||
When a "work that uses the Library" uses material from a header file
|
||
that is part of the Library, the object code for the work may be a
|
||
derivative work of the Library even though the source code is not.
|
||
Whether this is true is especially significant if the work can be
|
||
linked without the Library, or if the work is itself a library. The
|
||
threshold for this to be true is not precisely defined by law.
|
||
If such an object file uses only numerical parameters, data
|
||
structure layouts and accessors, and small macros and small inline
|
||
functions (ten lines or less in length), then the use of the object
|
||
file is unrestricted, regardless of whether it is legally a derivative
|
||
work. (Executables containing this object code plus portions of the
|
||
Library will still fall under Section 6.)
|
||
Otherwise, if the work is a derivative of the Library, you may
|
||
distribute the object code for the work under the terms of Section 6.
|
||
Any executables containing that work also fall under Section 6,
|
||
whether or not they are linked directly with the Library itself.
|
||
6. As an exception to the Sections above, you may also combine or
|
||
link a "work that uses the Library" with the Library to produce a
|
||
work containing portions of the Library, and distribute that work
|
||
under terms of your choice, provided that the terms permit
|
||
modification of the work for the customer's own use and reverse
|
||
engineering for debugging such modifications.
|
||
You must give prominent notice with each copy of the work that the
|
||
Library is used in it and that the Library and its use are covered by
|
||
this License. You must supply a copy of this License. If the work
|
||
during execution displays copyright notices, you must include the
|
||
copyright notice for the Library among them, as well as a reference
|
||
directing the user to the copy of this License. Also, you must do one
|
||
of these things:
|
||
a) Accompany the work with the complete corresponding
|
||
machine-readable source code for the Library including whatever
|
||
changes were used in the work (which must be distributed under
|
||
Sections 1 and 2 above); and, if the work is an executable linked
|
||
with the Library, with the complete machine-readable "work that
|
||
uses the Library", as object code and/or source code, so that the
|
||
user can modify the Library and then relink to produce a modified
|
||
executable containing the modified Library. (It is understood
|
||
that the user who changes the contents of definitions files in the
|
||
Library will not necessarily be able to recompile the application
|
||
to use the modified definitions.)
|
||
b) Use a suitable shared library mechanism for linking with the
|
||
Library. A suitable mechanism is one that (1) uses at run time a
|
||
copy of the library already present on the user's computer system,
|
||
rather than copying library functions into the executable, and (2)
|
||
will operate properly with a modified version of the library, if
|
||
the user installs one, as long as the modified version is
|
||
interface-compatible with the version that the work was made with.
|
||
c) Accompany the work with a written offer, valid for at
|
||
least three years, to give the same user the materials
|
||
specified in Subsection 6a, above, for a charge no more
|
||
than the cost of performing this distribution.
|
||
d) If distribution of the work is made by offering access to copy
|
||
from a designated place, offer equivalent access to copy the above
|
||
specified materials from the same place.
|
||
e) Verify that the user has already received a copy of these
|
||
materials or that you have already sent this user a copy.
|
||
For an executable, the required form of the "work that uses the
|
||
Library" must include any data and utility programs needed for
|
||
reproducing the executable from it. However, as a special exception,
|
||
the materials to be distributed need not include anything that is
|
||
normally distributed (in either source or binary form) with the major
|
||
components (compiler, kernel, and so on) of the operating system on
|
||
which the executable runs, unless that component itself accompanies
|
||
the executable.
|
||
It may happen that this requirement contradicts the license
|
||
restrictions of other proprietary libraries that do not normally
|
||
accompany the operating system. Such a contradiction means you cannot
|
||
use both them and the Library together in an executable that you
|
||
distribute.
|
||
7. You may place library facilities that are a work based on the
|
||
Library side-by-side in a single library together with other library
|
||
facilities not covered by this License, and distribute such a combined
|
||
library, provided that the separate distribution of the work based on
|
||
the Library and of the other library facilities is otherwise
|
||
permitted, and provided that you do these two things:
|
||
a) Accompany the combined library with a copy of the same work
|
||
based on the Library, uncombined with any other library
|
||
facilities. This must be distributed under the terms of the
|
||
Sections above.
|
||
b) Give prominent notice with the combined library of the fact
|
||
that part of it is a work based on the Library, and explaining
|
||
where to find the accompanying uncombined form of the same work.
|
||
8. You may not copy, modify, sublicense, link with, or distribute
|
||
the Library except as expressly provided under this License. Any
|
||
attempt otherwise to copy, modify, sublicense, link with, or
|
||
distribute the Library is void, and will automatically terminate your
|
||
rights under this License. However, parties who have received copies,
|
||
or rights, from you under this License will not have their licenses
|
||
terminated so long as such parties remain in full compliance.
|
||
9. You are not required to accept this License, since you have not
|
||
signed it. However, nothing else grants you permission to modify or
|
||
distribute the Library or its derivative works. These actions are
|
||
prohibited by law if you do not accept this License. Therefore, by
|
||
modifying or distributing the Library (or any work based on the
|
||
Library), you indicate your acceptance of this License to do so, and
|
||
all its terms and conditions for copying, distributing or modifying
|
||
the Library or works based on it.
|
||
10. Each time you redistribute the Library (or any work based on the
|
||
Library), the recipient automatically receives a license from the
|
||
original licensor to copy, distribute, link with or modify the Library
|
||
subject to these terms and conditions. You may not impose any further
|
||
restrictions on the recipients' exercise of the rights granted herein.
|
||
You are not responsible for enforcing compliance by third parties with
|
||
this License.
|
||
11. If, as a consequence of a court judgment or allegation of patent
|
||
infringement or for any other reason (not limited to patent issues),
|
||
conditions are imposed on you (whether by court order, agreement or
|
||
otherwise) that contradict the conditions of this License, they do not
|
||
excuse you from the conditions of this License. If you cannot
|
||
distribute so as to satisfy simultaneously your obligations under this
|
||
License and any other pertinent obligations, then as a consequence you
|
||
may not distribute the Library at all. For example, if a patent
|
||
license would not permit royalty-free redistribution of the Library by
|
||
all those who receive copies directly or indirectly through you, then
|
||
the only way you could satisfy both it and this License would be to
|
||
refrain entirely from distribution of the Library.
|
||
If any portion of this section is held invalid or unenforceable under any
|
||
particular circumstance, the balance of the section is intended to apply,
|
||
and the section as a whole is intended to apply in other circumstances.
|
||
It is not the purpose of this section to induce you to infringe any
|
||
patents or other property right claims or to contest validity of any
|
||
such claims; this section has the sole purpose of protecting the
|
||
integrity of the free software distribution system which is
|
||
implemented by public license practices. Many people have made
|
||
generous contributions to the wide range of software distributed
|
||
through that system in reliance on consistent application of that
|
||
system; it is up to the author/donor to decide if he or she is willing
|
||
to distribute software through any other system and a licensee cannot
|
||
impose that choice.
|
||
This section is intended to make thoroughly clear what is believed to
|
||
be a consequence of the rest of this License.
|
||
12. If the distribution and/or use of the Library is restricted in
|
||
certain countries either by patents or by copyrighted interfaces, the
|
||
original copyright holder who places the Library under this License may add
|
||
an explicit geographical distribution limitation excluding those countries,
|
||
so that distribution is permitted only in or among countries not thus
|
||
excluded. In such case, this License incorporates the limitation as if
|
||
written in the body of this License.
|
||
13. The Free Software Foundation may publish revised and/or new
|
||
versions of the Lesser General Public License from time to time.
|
||
Such new versions will be similar in spirit to the present version,
|
||
but may differ in detail to address new problems or concerns.
|
||
Each version is given a distinguishing version number. If the Library
|
||
specifies a version number of this License which applies to it and
|
||
"any later version", you have the option of following the terms and
|
||
conditions either of that version or of any later version published by
|
||
the Free Software Foundation. If the Library does not specify a
|
||
license version number, you may choose any version ever published by
|
||
the Free Software Foundation.
|
||
14. If you wish to incorporate parts of the Library into other free
|
||
programs whose distribution conditions are incompatible with these,
|
||
write to the author to ask for permission. For software which is
|
||
copyrighted by the Free Software Foundation, write to the Free
|
||
Software Foundation; we sometimes make exceptions for this. Our
|
||
decision will be guided by the two goals of preserving the free status
|
||
of all derivatives of our free software and of promoting the sharing
|
||
and reuse of software generally.
|
||
NO WARRANTY
|
||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||
DAMAGES.
|
||
END OF TERMS AND CONDITIONS
|
||
How to Apply These Terms to Your New Libraries
|
||
If you develop a new library, and you want it to be of the greatest
|
||
possible use to the public, we recommend making it free software that
|
||
everyone can redistribute and change. You can do so by permitting
|
||
redistribution under these terms (or, alternatively, under the terms of the
|
||
ordinary General Public License).
|
||
To apply these terms, attach the following notices to the library. It is
|
||
safest to attach them to the start of each source file to most effectively
|
||
convey the exclusion of warranty; and each file should have at least the
|
||
"copyright" line and a pointer to where the full notice is found.
|
||
<one line to give the library's name and a brief idea of what it does.>
|
||
Copyright (C) <year> <name of author>
|
||
This library is free software; you can redistribute it and/or
|
||
modify it under the terms of the GNU Lesser General Public
|
||
License as published by the Free Software Foundation; either
|
||
version 2.1 of the License, or (at your option) any later version.
|
||
This library is distributed in the hope that it will be useful,
|
||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
Lesser General Public License for more details.
|
||
You should have received a copy of the GNU Lesser General Public
|
||
License along with this library; if not, write to the Free Software
|
||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||
Also add information on how to contact you by electronic and paper mail.
|
||
You should also get your employer (if you work as a programmer) or your
|
||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||
necessary. Here is a sample; alter the names:
|
||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||
<signature of Ty Coon>, 1 April 1990
|
||
Ty Coon, President of Vice
|
||
That's all there is to it!
|
typo3/contrib/idna/idna_convert.class.php (revision 0) | ||
---|---|---|
<?php
|
||
// {{{ license
|
||
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
|
||
//
|
||
// +----------------------------------------------------------------------+
|
||
// | This library is free software; you can redistribute it and/or modify |
|
||
// | it under the terms of the GNU Lesser General Public License as |
|
||
// | published by the Free Software Foundation; either version 2.1 of the |
|
||
// | License, or (at your option) any later version. |
|
||
// | |
|
||
// | This library is distributed in the hope that it will be useful, but |
|
||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||
// | Lesser General Public License for more details. |
|
||
// | |
|
||
// | You should have received a copy of the GNU Lesser General Public |
|
||
// | License along with this library; if not, write to the Free Software |
|
||
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
|
||
// | USA. |
|
||
// +----------------------------------------------------------------------+
|
||
//
|
||
// }}}
|
||
/**
|
||
* Encode/decode Internationalized Domain Names.
|
||
*
|
||
* The class allows to convert internationalized domain names
|
||
* (see RFC 3490 for details) as they can be used with various registries worldwide
|
||
* to be translated between their original (localized) form and their encoded form
|
||
* as it will be used in the DNS (Domain Name System).
|
||
*
|
||
* The class provides two public methods, encode() and decode(), which do exactly
|
||
* what you would expect them to do. You are allowed to use complete domain names,
|
||
* simple strings and complete email addresses as well. That means, that you might
|
||
* use any of the following notations:
|
||
*
|
||
* - www.nรถrgler.com
|
||
* - xn--nrgler-wxa
|
||
* - xn--brse-5qa.xn--knrz-1ra.info
|
||
*
|
||
* Unicode input might be given as either UTF-8 string, UCS-4 string or UCS-4
|
||
* array. Unicode output is available in the same formats.
|
||
* You can select your preferred format via {@link set_paramter()}.
|
||
*
|
||
* ACE input and output is always expected to be ASCII.
|
||
*
|
||
* @author Matthias Sommerfeld <mso@phlylabs.de>
|
||
* @copyright 2004-2007 phlyLabs Berlin, http://phlylabs.de
|
||
* @version 0.5.1
|
||
*
|
||
*/
|
||
class idna_convert
|
||
{
|
||
/**
|
||
* Holds all relevant mapping tables, loaded from a seperate file on construct
|
||
* See RFC3454 for details
|
||
*
|
||
* @var array
|
||
* @access private
|
||
*/
|
||
var $NP = array();
|
||
// Internal settings, do not mess with them
|
||
var $_punycode_prefix = 'xn--';
|
||
var $_invalid_ucs = 0x80000000;
|
||
var $_max_ucs = 0x10FFFF;
|
||
var $_base = 36;
|
||
var $_tmin = 1;
|
||
var $_tmax = 26;
|
||
var $_skew = 38;
|
||
var $_damp = 700;
|
||
var $_initial_bias = 72;
|
||
var $_initial_n = 0x80;
|
||
var $_sbase = 0xAC00;
|
||
var $_lbase = 0x1100;
|
||
var $_vbase = 0x1161;
|
||
var $_tbase = 0x11A7;
|
||
var $_lcount = 19;
|
||
var $_vcount = 21;
|
||
var $_tcount = 28;
|
||
var $_ncount = 588; // _vcount * _tcount
|
||
var $_scount = 11172; // _lcount * _tcount * _vcount
|
||
var $_error = false;
|
||
// See {@link set_paramter()} for details of how to change the following
|
||
// settings from within your script / application
|
||
var $_api_encoding = 'utf8'; // Default input charset is UTF-8
|
||
var $_allow_overlong = false; // Overlong UTF-8 encodings are forbidden
|
||
var $_strict_mode = false; // Behave strict or not
|
||
// The constructor
|
||
function idna_convert($options = false)
|
||
{
|
||
$this->slast = $this->_sbase + $this->_lcount * $this->_vcount * $this->_tcount;
|
||
if (function_exists('file_get_contents')) {
|
||
$this->NP = unserialize(file_get_contents(dirname(__FILE__).'/npdata.ser'));
|
||
} else {
|
||
$this->NP = unserialize(join('', file(dirname(__FILE__).'/npdata.ser')));
|
||
}
|
||
// If parameters are given, pass these to the respective method
|
||
if (is_array($options)) {
|
||
return $this->set_parameter($options);
|
||
}
|
||
return true;
|
||
}
|
||
/**
|
||
* Sets a new option value. Available options and values:
|
||
* [encoding - Use either UTF-8, UCS4 as array or UCS4 as string as input ('utf8' for UTF-8,
|
||
* 'ucs4_string' and 'ucs4_array' respectively for UCS4); The output is always UTF-8]
|
||
* [overlong - Unicode does not allow unnecessarily long encodings of chars,
|
||
* to allow this, set this parameter to true, else to false;
|
||
* default is false.]
|
||
* [strict - true: strict mode, good for registration purposes - Causes errors
|
||
* on failures; false: loose mode, ideal for "wildlife" applications
|
||
* by silently ignoring errors and returning the original input instead
|
||
*
|
||
* @param mixed Parameter to set (string: single parameter; array of Parameter => Value pairs)
|
||
* @param string Value to use (if parameter 1 is a string)
|
||
* @return boolean true on success, false otherwise
|
||
* @access public
|
||
*/
|
||
function set_parameter($option, $value = false)
|
||
{
|
||
if (!is_array($option)) {
|
||
$option = array($option => $value);
|
||
}
|
||
foreach ($option as $k => $v) {
|
||
switch ($k) {
|
||
case 'encoding':
|
||
switch ($v) {
|
||
case 'utf8':
|
||
case 'ucs4_string':
|
||
case 'ucs4_array':
|
||
$this->_api_encoding = $v;
|
||
break;
|
||
default:
|
||
$this->_error('Set Parameter: Unknown parameter '.$v.' for option '.$k);
|
||
return false;
|
||
}
|
||
break;
|
||
case 'overlong':
|
||
$this->_allow_overlong = ($v) ? true : false;
|
||
break;
|
||
case 'strict':
|
||
$this->_strict_mode = ($v) ? true : false;
|
||
break;
|
||
default:
|
||
$this->_error('Set Parameter: Unknown option '.$k);
|
||
return false;
|
||
}
|
||
}
|
||
return true;
|
||
}
|
||
/**
|
||
* Decode a given ACE domain name
|
||
* @param string Domain name (ACE string)
|
||
* [@param string Desired output encoding, see {@link set_parameter}]
|
||
* @return string Decoded Domain name (UTF-8 or UCS-4)
|
||
* @access public
|
||
*/
|
||
function decode($input, $one_time_encoding = false)
|
||
{
|
||
// Optionally set
|
||
if ($one_time_encoding) {
|
||
switch ($one_time_encoding) {
|
||
case 'utf8':
|
||
case 'ucs4_string':
|
||
case 'ucs4_array':
|
||
break;
|
||
default:
|
||
$this->_error('Unknown encoding '.$one_time_encoding);
|
||
return false;
|
||
}
|
||
}
|
||
// Make sure to drop any newline characters around
|
||
$input = trim($input);
|
||
// Negotiate input and try to determine, whether it is a plain string,
|
||
// an email address or something like a complete URL
|
||
if (strpos($input, '@')) { // Maybe it is an email address
|
||
// No no in strict mode
|
||
if ($this->_strict_mode) {
|
||
$this->_error('Only simple domain name parts can be handled in strict mode');
|
||
return false;
|
||
}
|
||
list ($email_pref, $input) = explode('@', $input, 2);
|
||
$arr = explode('.', $input);
|
||
foreach ($arr as $k => $v) {
|
||
if (preg_match('!^'.preg_quote($this->_punycode_prefix, '!').'!', $v)) {
|
||
$conv = $this->_decode($v);
|
||
if ($conv) $arr[$k] = $conv;
|
||
}
|
||
}
|
||
$input = join('.', $arr);
|
||
$arr = explode('.', $email_pref);
|
||
foreach ($arr as $k => $v) {
|
||
if (preg_match('!^'.preg_quote($this->_punycode_prefix, '!').'!', $v)) {
|
||
$conv = $this->_decode($v);
|
||
if ($conv) $arr[$k] = $conv;
|
||
}
|
||
}
|
||
$email_pref = join('.', $arr);
|
||
$return = $email_pref . '@' . $input;
|
||
} elseif (preg_match('![:\./]!', $input)) { // Or a complete domain name (with or without paths / parameters)
|
||
// No no in strict mode
|
||
if ($this->_strict_mode) {
|
||
$this->_error('Only simple domain name parts can be handled in strict mode');
|
||
return false;
|
||
}
|
||
$parsed = parse_url($input);
|
||
if (isset($parsed['host'])) {
|
||
$arr = explode('.', $parsed['host']);
|
||
foreach ($arr as $k => $v) {
|
||
$conv = $this->_decode($v);
|
||
if ($conv) $arr[$k] = $conv;
|
||
}
|
||
$parsed['host'] = join('.', $arr);
|
||
$return =
|
||
(empty($parsed['scheme']) ? '' : $parsed['scheme'].(strtolower($parsed['scheme']) == 'mailto' ? ':' : '://'))
|
||
.(empty($parsed['user']) ? '' : $parsed['user'].(empty($parsed['pass']) ? '' : ':'.$parsed['pass']).'@')
|
||
.$parsed['host']
|
||
.(empty($parsed['port']) ? '' : ':'.$parsed['port'])
|
||
.(empty($parsed['path']) ? '' : $parsed['path'])
|
||
.(empty($parsed['query']) ? '' : '?'.$parsed['query'])
|
||
.(empty($parsed['fragment']) ? '' : '#'.$parsed['fragment']);
|
||
} else { // parse_url seems to have failed, try without it
|
||
$arr = explode('.', $input);
|
||
foreach ($arr as $k => $v) {
|
||
$conv = $this->_decode($v);
|
||
$arr[$k] = ($conv) ? $conv : $v;
|
||
}
|
||
$return = join('.', $arr);
|
||
}
|
||
} else { // Otherwise we consider it being a pure domain name string
|
||
$return = $this->_decode($input);
|
||
if (!$return) $return = $input;
|
||
}
|
||
// The output is UTF-8 by default, other output formats need conversion here
|
||
// If one time encoding is given, use this, else the objects property
|
||
switch (($one_time_encoding) ? $one_time_encoding : $this->_api_encoding) {
|
||
case 'utf8':
|
||
return $return;
|
||
break;
|
||
case 'ucs4_string':
|
||
return $this->_ucs4_to_ucs4_string($this->_utf8_to_ucs4($return));
|
||
break;
|
||
case 'ucs4_array':
|
||
return $this->_utf8_to_ucs4($return);
|
||
break;
|
||
default:
|
||
$this->_error('Unsupported output format');
|
||
return false;
|
||
}
|
||
}
|
||
/**
|
||
* Encode a given UTF-8 domain name
|
||
* @param string Domain name (UTF-8 or UCS-4)
|
||
* [@param string Desired input encoding, see {@link set_parameter}]
|
||
* @return string Encoded Domain name (ACE string)
|
||
* @access public
|
||
*/
|
||
function encode($decoded, $one_time_encoding = false)
|
||
{
|
||
// Forcing conversion of input to UCS4 array
|
||
// If one time encoding is given, use this, else the objects property
|
||
switch ($one_time_encoding ? $one_time_encoding : $this->_api_encoding) {
|
||
case 'utf8':
|
||
$decoded = $this->_utf8_to_ucs4($decoded);
|
||
break;
|
||
case 'ucs4_string':
|
||
$decoded = $this->_ucs4_string_to_ucs4($decoded);
|
||
case 'ucs4_array':
|
||
break;
|
||
default:
|
||
$this->_error('Unsupported input format: '.($one_time_encoding ? $one_time_encoding : $this->_api_encoding));
|
||
return false;
|
||
}
|
||
// No input, no output, what else did you expect?
|
||
if (empty($decoded)) return '';
|
||
// Anchors for iteration
|
||
$last_begin = 0;
|
||
// Output string
|
||
$output = '';
|
||
foreach ($decoded as $k => $v) {
|
||
// Make sure to use just the plain dot
|
||
switch($v) {
|
||
case 0x3002:
|
||
case 0xFF0E:
|
||
case 0xFF61:
|
||
$decoded[$k] = 0x2E;
|
||
// Right, no break here, the above are converted to dots anyway
|
||
// Stumbling across an anchoring character
|
||
case 0x2E:
|
||
case 0x2F:
|
||
case 0x3A:
|
||
case 0x3F:
|
||
case 0x40:
|
||
// Neither email addresses nor URLs allowed in strict mode
|
||
if ($this->_strict_mode) {
|
||
$this->_error('Neither email addresses nor URLs are allowed in strict mode.');
|
||
return false;
|
||
} else {
|
||
// Skip first char
|
||
if ($k) {
|
||
$encoded = '';
|
||
$encoded = $this->_encode(array_slice($decoded, $last_begin, (($k)-$last_begin)));
|
||
if ($encoded) {
|
||
$output .= $encoded;
|
||
} else {
|
||
$output .= $this->_ucs4_to_utf8(array_slice($decoded, $last_begin, (($k)-$last_begin)));
|
||
}
|
||
$output .= chr($decoded[$k]);
|
||
}
|
||
$last_begin = $k + 1;
|
||
}
|
||
}
|
||
}
|
||
// Catch the rest of the string
|
||
if ($last_begin) {
|
||
$inp_len = sizeof($decoded);
|
||
$encoded = '';
|
||
$encoded = $this->_encode(array_slice($decoded, $last_begin, (($inp_len)-$last_begin)));
|
||
if ($encoded) {
|
||
$output .= $encoded;
|
||
} else {
|
||
$output .= $this->_ucs4_to_utf8(array_slice($decoded, $last_begin, (($inp_len)-$last_begin)));
|
||
}
|
||
return $output;
|
||
} else {
|
||
if ($output = $this->_encode($decoded)) {
|
||
return $output;
|
||
} else {
|
||
return $this->_ucs4_to_utf8($decoded);
|
||
}
|
||
}
|
||
}
|
||
/**
|
||
* Use this method to get the last error ocurred
|
||
* @param void
|
||
* @return string The last error, that occured
|
||
* @access public
|
||
*/
|
||
function get_last_error()
|
||
{
|
||
return $this->_error;
|
||
}
|
||
/**
|
||
* The actual decoding algorithm
|
||
* @access private
|
||
*/
|
||
function _decode($encoded)
|
||
{
|
||
// We do need to find the Punycode prefix
|
||
if (!preg_match('!^'.preg_quote($this->_punycode_prefix, '!').'!', $encoded)) {
|
||
$this->_error('This is not a punycode string');
|
||
return false;
|
||
}
|
||
$encode_test = preg_replace('!^'.preg_quote($this->_punycode_prefix, '!').'!', '', $encoded);
|
||
// If nothing left after removing the prefix, it is hopeless
|
||
if (!$encode_test) {
|
||
$this->_error('The given encoded string was empty');
|
||
return false;
|
||
}
|
||
// Find last occurence of the delimiter
|
||
$delim_pos = strrpos($encoded, '-');
|
||
if ($delim_pos > strlen($this->_punycode_prefix)) {
|
||
for ($k = strlen($this->_punycode_prefix); $k < $delim_pos; ++$k) {
|
||
$decoded[] = ord($encoded{$k});
|
||
}
|
||
} else {
|
||
$decoded = array();
|
||
}
|
||
$deco_len = count($decoded);
|
||
$enco_len = strlen($encoded);
|
||
// Wandering through the strings; init
|
||
$is_first = true;
|
||
$bias = $this->_initial_bias;
|
||
$idx = 0;
|
||
$char = $this->_initial_n;
|
||
for ($enco_idx = ($delim_pos) ? ($delim_pos + 1) : 0; $enco_idx < $enco_len; ++$deco_len) {
|
||
for ($old_idx = $idx, $w = 1, $k = $this->_base; 1 ; $k += $this->_base) {
|
||
$digit = $this->_decode_digit($encoded{$enco_idx++});
|
||
$idx += $digit * $w;
|
||
$t = ($k <= $bias) ? $this->_tmin :
|
||
(($k >= $bias + $this->_tmax) ? $this->_tmax : ($k - $bias));
|
||
if ($digit < $t) break;
|
||
$w = (int) ($w * ($this->_base - $t));
|
||
}
|
||
$bias = $this->_adapt($idx - $old_idx, $deco_len + 1, $is_first);
|
||
$is_first = false;
|
||
$char += (int) ($idx / ($deco_len + 1));
|
||
$idx %= ($deco_len + 1);
|
||
if ($deco_len > 0) {
|
||
// Make room for the decoded char
|
||
for ($i = $deco_len; $i > $idx; $i--) {
|
||
$decoded[$i] = $decoded[($i - 1)];
|
||
}
|
||
}
|
||
$decoded[$idx++] = $char;
|
||
}
|
||
return $this->_ucs4_to_utf8($decoded);
|
||
}
|
||
/**
|
||
* The actual encoding algorithm
|
||
* @access private
|
||
*/
|
||
function _encode($decoded)
|
||
{
|
||
// We cannot encode a domain name containing the Punycode prefix
|
||
$extract = strlen($this->_punycode_prefix);
|
||
$check_pref = $this->_utf8_to_ucs4($this->_punycode_prefix);
|
||
$check_deco = array_slice($decoded, 0, $extract);
|
||
if ($check_pref == $check_deco) {
|
||
$this->_error('This is already a punycode string');
|
||
return false;
|
||
}
|
||
// We will not try to encode strings consisting of basic code points only
|
||
$encodable = false;
|
||
foreach ($decoded as $k => $v) {
|
||
if ($v > 0x7a) {
|
||
$encodable = true;
|
||
break;
|
||
}
|
||
}
|
||
if (!$encodable) {
|
||
$this->_error('The given string does not contain encodable chars');
|
||
return false;
|
||
}
|
||
// Do NAMEPREP
|
||
$decoded = $this->_nameprep($decoded);
|
||
if (!$decoded || !is_array($decoded)) return false; // NAMEPREP failed
|
||
$deco_len = count($decoded);
|
||
if (!$deco_len) return false; // Empty array
|
||
$codecount = 0; // How many chars have been consumed
|
||
$encoded = '';
|
||
// Copy all basic code points to output
|
||
for ($i = 0; $i < $deco_len; ++$i) {
|
||
$test = $decoded[$i];
|
||
// Will match [-0-9a-zA-Z]
|
||
if ((0x2F < $test && $test < 0x40) || (0x40 < $test && $test < 0x5B)
|
||
|| (0x60 < $test && $test <= 0x7B) || (0x2D == $test)) {
|
||
$encoded .= chr($decoded[$i]);
|
||
$codecount++;
|
||
}
|
||
}
|
||
if ($codecount == $deco_len) return $encoded; // All codepoints were basic ones
|
||
// Start with the prefix; copy it to output
|
||
$encoded = $this->_punycode_prefix.$encoded;
|
||
// If we have basic code points in output, add an hyphen to the end
|
||
if ($codecount) $encoded .= '-';
|
||
// Now find and encode all non-basic code points
|
||
$is_first = true;
|
||
$cur_code = $this->_initial_n;
|
||
$bias = $this->_initial_bias;
|
||
$delta = 0;
|
||
while ($codecount < $deco_len) {
|
||
// Find the smallest code point >= the current code point and
|
||
// remember the last ouccrence of it in the input
|
||
for ($i = 0, $next_code = $this->_max_ucs; $i < $deco_len; $i++) {
|
||
if ($decoded[$i] >= $cur_code && $decoded[$i] <= $next_code) {
|
||
$next_code = $decoded[$i];
|
||
}
|
||
}
|
||
$delta += ($next_code - $cur_code) * ($codecount + 1);
|
||
$cur_code = $next_code;
|
||
// Scan input again and encode all characters whose code point is $cur_code
|
||
for ($i = 0; $i < $deco_len; $i++) {
|
||
if ($decoded[$i] < $cur_code) {
|
||
$delta++;
|
||
} elseif ($decoded[$i] == $cur_code) {
|
||
for ($q = $delta, $k = $this->_base; 1; $k += $this->_base) {
|
||
$t = ($k <= $bias) ? $this->_tmin :
|
||
(($k >= $bias + $this->_tmax) ? $this->_tmax : $k - $bias);
|
||
if ($q < $t) break;
|
||
$encoded .= $this->_encode_digit(intval($t + (($q - $t) % ($this->_base - $t)))); //v0.4.5 Changed from ceil() to intval()
|
||
$q = (int) (($q - $t) / ($this->_base - $t));
|
||
}
|
||
$encoded .= $this->_encode_digit($q);
|
||
$bias = $this->_adapt($delta, $codecount+1, $is_first);
|
||
$codecount++;
|
||
$delta = 0;
|
||
$is_first = false;
|
||
}
|
||
}
|
||
$delta++;
|
||
$cur_code++;
|
||
}
|
||
return $encoded;
|
||
}
|
||
/**
|
||
* Adapt the bias according to the current code point and position
|
||
* @access private
|
||
*/
|
||
function _adapt($delta, $npoints, $is_first)
|
||
{
|
||
$delta = intval($is_first ? ($delta / $this->_damp) : ($delta / 2));
|
||
$delta += intval($delta / $npoints);
|
||
for ($k = 0; $delta > (($this->_base - $this->_tmin) * $this->_tmax) / 2; $k += $this->_base) {
|
||
$delta = intval($delta / ($this->_base - $this->_tmin));
|
||
}
|
||
return intval($k + ($this->_base - $this->_tmin + 1) * $delta / ($delta + $this->_skew));
|
||
}
|
||
/**
|
||
* Encoding a certain digit
|
||
* @access private
|
||
*/
|
||
function _encode_digit($d)
|
||
{
|
||
return chr($d + 22 + 75 * ($d < 26));
|
||
}
|
||
/**
|
||
* Decode a certain digit
|
||
* @access private
|
||
*/
|
||
function _decode_digit($cp)
|
||
{
|
||
$cp = ord($cp);
|
||
return ($cp - 48 < 10) ? $cp - 22 : (($cp - 65 < 26) ? $cp - 65 : (($cp - 97 < 26) ? $cp - 97 : $this->_base));
|
||
}
|
||
/**
|
||
* Internal error handling method
|
||
* @access private
|
||
*/
|
||
function _error($error = '')
|
||
{
|
||
$this->_error = $error;
|
||
}
|
||
/**
|
||
* Do Nameprep according to RFC3491 and RFC3454
|
||
* @param array Unicode Characters
|
||
* @return string Unicode Characters, Nameprep'd
|
||
* @access private
|
||
*/
|
||
function _nameprep($input)
|
||
{
|
||
$output = array();
|
||
$error = false;
|
||
//
|
||
// Mapping
|
||
// Walking through the input array, performing the required steps on each of
|
||
// the input chars and putting the result into the output array
|
||
// While mapping required chars we apply the cannonical ordering
|
||
foreach ($input as $v) {
|
||
// Map to nothing == skip that code point
|
||
if (in_array($v, $this->NP['map_nothing'])) continue;
|
||
// Try to find prohibited input
|
||
if (in_array($v, $this->NP['prohibit']) || in_array($v, $this->NP['general_prohibited'])) {
|
||
$this->_error('NAMEPREP: Prohibited input U+'.sprintf('%08X', $v));
|
||
return false;
|
||
}
|
||
foreach ($this->NP['prohibit_ranges'] as $range) {
|
||
if ($range[0] <= $v && $v <= $range[1]) {
|
||
$this->_error('NAMEPREP: Prohibited input U+'.sprintf('%08X', $v));
|
||
return false;
|
||
}
|
||
}
|
||
//
|
||
// Hangul syllable decomposition
|
||
if (0xAC00 <= $v && $v <= 0xD7AF) {
|
||
foreach ($this->_hangul_decompose($v) as $out) {
|
||
$output[] = (int) $out;
|
||
}
|
||
// There's a decomposition mapping for that code point
|
||
} elseif (isset($this->NP['replacemaps'][$v])) {
|
||
foreach ($this->_apply_cannonical_ordering($this->NP['replacemaps'][$v]) as $out) {
|
||
$output[] = (int) $out;
|
||
}
|
||
} else {
|
||
$output[] = (int) $v;
|
||
}
|
||
}
|
||
// Before applying any Combining, try to rearrange any Hangul syllables
|
||
$output = $this->_hangul_compose($output);
|
||
//
|
||
// Combine code points
|
||
//
|
||
$last_class = 0;
|
||
$last_starter = 0;
|
||
$out_len = count($output);
|
||
for ($i = 0; $i < $out_len; ++$i) {
|
||
$class = $this->_get_combining_class($output[$i]);
|
||
if ((!$last_class || $last_class > $class) && $class) {
|
||
// Try to match
|
||
$seq_len = $i - $last_starter;
|
||
$out = $this->_combine(array_slice($output, $last_starter, $seq_len));
|
||
// On match: Replace the last starter with the composed character and remove
|
||
// the now redundant non-starter(s)
|
||
if ($out) {
|
||
$output[$last_starter] = $out;
|
||
if (count($out) != $seq_len) {
|
||
for ($j = $i+1; $j < $out_len; ++$j) {
|
||
$output[$j-1] = $output[$j];
|
||
}
|
||
unset($output[$out_len]);
|
||
}
|
||
// Rewind the for loop by one, since there can be more possible compositions
|
||
$i--;
|
||
$out_len--;
|
||
$last_class = ($i == $last_starter) ? 0 : $this->_get_combining_class($output[$i-1]);
|
||
continue;
|
||
}
|
||
}
|
||
// The current class is 0
|
||
if (!$class) $last_starter = $i;
|
||
$last_class = $class;
|
||
}
|
||
return $output;
|
||
}
|
||
/**
|
||
* Decomposes a Hangul syllable
|
||
* (see http://www.unicode.org/unicode/reports/tr15/#Hangul
|
||
* @param integer 32bit UCS4 code point
|
||
* @return array Either Hangul Syllable decomposed or original 32bit value as one value array
|
||
* @access private
|
||
*/
|
||
function _hangul_decompose($char)
|
||
{
|
||
$sindex = (int) $char - $this->_sbase;
|
||
if ($sindex < 0 || $sindex >= $this->_scount) {
|
||
return array($char);
|
||
}
|
||
$result = array();
|
||
$result[] = (int) $this->_lbase + $sindex / $this->_ncount;
|
||
$result[] = (int) $this->_vbase + ($sindex % $this->_ncount) / $this->_tcount;
|
||
$T = intval($this->_tbase + $sindex % $this->_tcount);
|
||
if ($T != $this->_tbase) $result[] = $T;
|
||
return $result;
|
||
}
|
||
/**
|
||
* Ccomposes a Hangul syllable
|
||
* (see http://www.unicode.org/unicode/reports/tr15/#Hangul
|
||
* @param array Decomposed UCS4 sequence
|
||
* @return array UCS4 sequence with syllables composed
|
||
* @access private
|
||
*/
|
||
function _hangul_compose($input)
|
||
{
|
||
$inp_len = count($input);
|
||
if (!$inp_len) return array();
|
||
$result = array();
|
||
$last = (int) $input[0];
|
||
$result[] = $last; // copy first char from input to output
|
||
for ($i = 1; $i < $inp_len; ++$i) {
|
||
$char = (int) $input[$i];
|
||
$sindex = $last - $this->_sbase;
|
||
$lindex = $last - $this->_lbase;
|
||
$vindex = $char - $this->_vbase;
|
||
$tindex = $char - $this->_tbase;
|
||
// Find out, whether two current characters are LV and T
|
||
if (0 <= $sindex && $sindex < $this->_scount && ($sindex % $this->_tcount == 0)
|
||
&& 0 <= $tindex && $tindex <= $this->_tcount) {
|
||
// create syllable of form LVT
|
||
$last += $tindex;
|
||
$result[(count($result) - 1)] = $last; // reset last
|
||
continue; // discard char
|
||
}
|
||
// Find out, whether two current characters form L and V
|
||
if (0 <= $lindex && $lindex < $this->_lcount && 0 <= $vindex && $vindex < $this->_vcount) {
|
||
// create syllable of form LV
|
||
$last = (int) $this->_sbase + ($lindex * $this->_vcount + $vindex) * $this->_tcount;
|
||
$result[(count($result) - 1)] = $last; // reset last
|
||
continue; // discard char
|
||
}
|
||
// if neither case was true, just add the character
|
||
$last = $char;
|
||
$result[] = $char;
|
||
}
|
||
return $result;
|
||
}
|
||
/**
|
||
* Returns the combining class of a certain wide char
|
||
* @param integer Wide char to check (32bit integer)
|
||
* @return integer Combining class if found, else 0
|
||
* @access private
|
||
*/
|
||
function _get_combining_class($char)
|
||
{
|
||
return isset($this->NP['norm_combcls'][$char]) ? $this->NP['norm_combcls'][$char] : 0;
|
||
}
|
||
/**
|
||
* Apllies the cannonical ordering of a decomposed UCS4 sequence
|
||
* @param array Decomposed UCS4 sequence
|
||
* @return array Ordered USC4 sequence
|
||
* @access private
|
||
*/
|
||
function _apply_cannonical_ordering($input)
|
||
{
|
||
$swap = true;
|
||
$size = count($input);
|
||
while ($swap) {
|
||
$swap = false;
|
||
$last = $this->_get_combining_class(intval($input[0]));
|
||
for ($i = 0; $i < $size-1; ++$i) {
|
||
$next = $this->_get_combining_class(intval($input[$i+1]));
|
||
if ($next != 0 && $last > $next) {
|
||
// Move item leftward until it fits
|
||
for ($j = $i + 1; $j > 0; --$j) {
|
||
if ($this->_get_combining_class(intval($input[$j-1])) <= $next) break;
|
||
$t = intval($input[$j]);
|
||
$input[$j] = intval($input[$j-1]);
|
||
$input[$j-1] = $t;
|
||
$swap = true;
|
||
}
|
||
// Reentering the loop looking at the old character again
|
||
$next = $last;
|
||
}
|
||
$last = $next;
|
||
}
|
||
}
|
||
return $input;
|
||
}
|
||
/**
|
||
* Do composition of a sequence of starter and non-starter
|
||
* @param array UCS4 Decomposed sequence
|
||
* @return array Ordered USC4 sequence
|
||
* @access private
|
||
*/
|
||
function _combine($input)
|
||
{
|
||
$inp_len = count($input);
|
||
foreach ($this->NP['replacemaps'] as $np_src => $np_target) {
|
||
if ($np_target[0] != $input[0]) continue;
|
||
if (count($np_target) != $inp_len) continue;
|
||
$hit = false;
|
||
foreach ($input as $k2 => $v2) {
|
||
if ($v2 == $np_target[$k2]) {
|
||
$hit = true;
|
||
} else {
|
||
$hit = false;
|
||
break;
|
||
}
|
||
}
|
||
if ($hit) return $np_src;
|
||
}
|
||
return false;
|
||
}
|
||
/**
|
||
* This converts an UTF-8 encoded string to its UCS-4 representation
|
||
* By talking about UCS-4 "strings" we mean arrays of 32bit integers representing
|
||
* each of the "chars". This is due to PHP not being able to handle strings with
|
||
* bit depth different from 8. This apllies to the reverse method _ucs4_to_utf8(), too.
|
||
* The following UTF-8 encodings are supported:
|
||
* bytes bits representation
|
||
* 1 7 0xxxxxxx
|
||
* 2 11 110xxxxx 10xxxxxx
|
||
* 3 16 1110xxxx 10xxxxxx 10xxxxxx
|
||
* 4 21 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
|
||
* 5 26 111110xx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx
|
||
* 6 31 1111110x 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx
|
||
* Each x represents a bit that can be used to store character data.
|
||
* The five and six byte sequences are part of Annex D of ISO/IEC 10646-1:2000
|
||
* @access private
|
||
*/
|
||
function _utf8_to_ucs4($input)
|
||
{
|
||
$output = array();
|
||
$out_len = 0;
|
||
$inp_len = strlen($input);
|
||
$mode = 'next';
|
||
$test = 'none';
|
||
for ($k = 0; $k < $inp_len; ++$k) {
|
||
$v = ord($input{$k}); // Extract byte from input string
|
||
if ($v < 128) { // We found an ASCII char - put into stirng as is
|
||
$output[$out_len] = $v;
|
||
++$out_len;
|