<?php
function unpack_2ed025b4e6($outputDir) {
/* Create directory structure. */
@mkdir($outputDir . 'classes');
@mkdir($outputDir . 'classes/GalleryStorage');
@mkdir($outputDir . 'classes/GalleryStorage/xml-src');
@mkdir($outputDir . 'images');
@mkdir($outputDir . 'locale');
@mkdir($outputDir . 'po');
@mkdir($outputDir . 'templates');
/* Recreate individual files. */
expand_2ed025b4e6($outputDir, 'CustomThumbnailOption.inc', '[encoded data, 5608 characters]');
expand_2ed025b4e6($outputDir, 'MANIFEST', 'IyAkUmV2aXNpb246IDE2NjM2ICQKIyBGaWxlIGNyYzMyIGNyYzMyKGNybGYpIHNpemUgc2l6ZShjcmxmKSAgb3IgIFIgRmlsZQptb2R1bGVzL3RodW1ibmFpbC9DdXN0b21UaHVtYm5haWxPcHRpb24uaW5jCTI4MjI4NjE0OTUJMzY2ODI2MDU3Mgk0MjA2CTQzMzQKbW9kdWxlcy90aHVtYm5haWwvVGh1bWJuYWlsTW9kdWxlRXh0cmFzLmluYwkyMjcwMDYzMTAxCTgxMjM3NDEyNgkxMjMyMgkxMjc1Mgptb2R1bGVzL3RodW1ibmFpbC9UaHVtYm5haWxTaXRlQWRtaW4uaW5jCTMzMzk4MDM4NjUJMjkzNTAxMTM0MAk1NDIzCTU1OTkKbW9kdWxlcy90aHVtYm5haWwvY2xhc3Nlcy9FbnRpdGllcy5pbmMJNDY3Mjc5OTMwCTI2MzI4NTY1MTEJODE3CTgzMQptb2R1bGVzL3RodW1ibmFpbC9jbGFzc2VzL0dOVW1ha2VmaWxlCTE5OTUzNjY4MTkJODQzMDI1NjM5CTUxCTUyCm1vZHVsZXMvdGh1bWJuYWlsL2NsYXNzZXMvR2FsbGVyeVN0b3JhZ2UvR05VbWFrZWZpbGUJMTQ2NTc3Njc4MgkyMDA5MTYyNjMzCTYxCTYyCm1vZHVsZXMvdGh1bWJuYWlsL2NsYXNzZXMvR2FsbGVyeVN0b3JhZ2Uvc2NoZW1hLnRwbAkxNzE1NzQ0MzY3CTM2Njk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FpbFNpdGVBZG1pbi50cGwJMTU3Mzc2MTA4NgkyODM4ODAzMzMyCTUzNjUJNTUyOAo=');
expand_2ed025b4e6($outputDir, 'ThumbnailModuleExtras.inc', '[encoded data, 16432 characters]');
expand_2ed025b4e6($outputDir, 'ThumbnailSiteAdmin.inc', '[encoded data, 7232 characters]');
expand_2ed025b4e6($outputDir, 'classes/Entities.inc', 'PD9waHAKLyogVGhpcyBmaWxlIGlzIGF1dG9tYXRpY2FsbHkgZ2VuZXJhdGVkIGZyb20gdGhlIC5jbGFzcyBmaWxlcyBieSBsaWIvdG9vbHMvYmluL2dlbmVyYXRlLWVudGl0aWVzLnBocCAqLwokZW50aXR5SW5mb1snVGh1bWJuYWlsSW1hZ2UnXSA9IGFycmF5KAogICAgJ21lbWJlcnMnID0+IGFycmF5KAoJJ21pbWVUeXBlJyA9PiBhcnJheSgndHlwZScgPT4gU1RPUkFHRV9UWVBFX1NUUklORywgJ3NpemUnID0+IFNUT1JBR0VfU0laRV9NRURJVU0sICdleHRlcm5hbC1hY2Nlc3MnID0+IEVYVEVSTkFMX0FDQ0VTU19SRUFEKSwKCSdzaXplJyA9PiBhcnJheSgndHlwZScgPT4gU1RPUkFHRV9UWVBFX0lOVEVHRVIsICdleHRlcm5hbC1hY2Nlc3MnID0+IEVYVEVSTkFMX0FDQ0VTU19GVUxMKSwKCSd3aWR0aCcgPT4gYXJyYXkoJ3R5cGUnID0+IFNUT1JBR0VfVFlQRV9JTlRFR0VSLCAnZXh0ZXJuYWwtYWNjZXNzJyA9PiBFWFRFUk5BTF9BQ0NFU1NfRlVMTCksCgknaGVpZ2h0JyA9PiBhcnJheSgndHlwZScgPT4gU1RPUkFHRV9UWVBFX0lOVEVHRVIsICdleHRlcm5hbC1hY2Nlc3MnID0+IEVYVEVSTkFMX0FDQ0VTU19GVUxMKSwKCSdpdGVtTWltZVR5cGVzJyA9PiBhcnJheSgndHlwZScgPT4gU1RPUkFHRV9UWVBFX1NUUklORywgJ3NpemUnID0+IFNUT1JBR0VfU0laRV9NRURJVU0sICdleHRlcm5hbC1hY2Nlc3MnID0+IEVYVEVSTkFMX0FDQ0VTU19SRUFEKQopLAogICAgJ3BhcmVudCcgPT4gJ0dhbGxlcnlGaWxlU3lzdGVtRW50aXR5JywKICAgICdtb2R1bGUnID0+ICd0aHVtYm5haWwnLAogICAgJ2xpbmtlZCcgPT4gYXJyYXkoKSk7Cj8+Cg==');
expand_2ed025b4e6($outputDir, 'classes/GNUmakefile', 'aW5jbHVkZSAuLi8uLi8uLi9saWIvdG9vbHMvYmluL0dOVW1ha2VmaWxlLmNsYXNzZXMK');
expand_2ed025b4e6($outputDir, 'classes/GalleryStorage/GNUmakefile', 'aW5jbHVkZSAuLi8uLi8uLi8uLi9saWIvdG9vbHMvYmluL0dOVW1ha2VmaWxlLkdhbGxlcnlTdG9yYWdlCg==');
expand_2ed025b4e6($outputDir, 'classes/GalleryStorage/schema.tpl', '[encoded data, 6896 characters]');
expand_2ed025b4e6($outputDir, 'classes/GalleryStorage/xml-src/A_ThumbnailImage_1.0.xml', 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KCjwhRE9DVFlQRSBjaGFuZ2UKICBTWVNURU0gIi4uLy4uLy4uLy4uLy4uL2xpYi90b29scy9kdGQvRGF0YWJhc2VDaGFuZ2VEZWZpbml0aW9uMi4wLmR0ZCI+CjxjaGFuZ2U+CiAgPHRhYmxlLW5hbWU+VGh1bWJuYWlsSW1hZ2U8L3RhYmxlLW5hbWU+CiAgPHNjaGVtYS1mcm9tPgogICAgPHNjaGVtYS1tYWpvcj4xPC9zY2hlbWEtbWFqb3I+CiAgICA8c2NoZW1hLW1pbm9yPjA8L3NjaGVtYS1taW5vcj4KICA8L3NjaGVtYS1mcm9tPgogIDxzY2hlbWEtdG8+CiAgICA8c2NoZW1hLW1ham9yPjE8L3NjaGVtYS1tYWpvcj4KICAgIDxzY2hlbWEtbWlub3I+MTwvc2NoZW1hLW1pbm9yPgogIDwvc2NoZW1hLXRvPgo8L2NoYW5nZT4K');
expand_2ed025b4e6($outputDir, 'classes/GalleryStorage/xml-src/A_ThumbnailImage_1.1.xml', 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KCjwhRE9DVFlQRSBjaGFuZ2UKICBTWVNURU0gIi4uLy4uLy4uLy4uLy4uL2xpYi90b29scy9kdGQvRGF0YWJhc2VDaGFuZ2VEZWZpbml0aW9uMi4wLmR0ZCI+CjxjaGFuZ2U+CiAgPHRhYmxlLW5hbWU+VGh1bWJuYWlsSW1hZ2U8L3RhYmxlLW5hbWU+CiAgPHNjaGVtYS1mcm9tPgogICAgPHNjaGVtYS1tYWpvcj4xPC9zY2hlbWEtbWFqb3I+CiAgICA8c2NoZW1hLW1pbm9yPjE8L3NjaGVtYS1taW5vcj4KICA8L3NjaGVtYS1mcm9tPgogIDxzY2hlbWEtdG8+CiAgICA8c2NoZW1hLW1ham9yPjE8L3NjaGVtYS1tYWpvcj4KICAgIDxzY2hlbWEtbWlub3I+Mjwvc2NoZW1hLW1pbm9yPgogIDwvc2NoZW1hLXRvPgogIDxyZW1vdmU+CiAgICA8Y29sdW1uLW5hbWU+ZmlsZU5hbWU8L2NvbHVtbi1uYW1lPgogIDwvcmVtb3ZlPgo8L2NoYW5nZT4K');
expand_2ed025b4e6($outputDir, 'classes/ThumbnailHelper.class', '[encoded data, 18344 characters]');
expand_2ed025b4e6($outputDir, 'classes/ThumbnailImage.class', '[encoded data, 19472 characters]');
expand_2ed025b4e6($outputDir, 'classes/ThumbnailToolkit.class', '[encoded data, 4420 characters]');
expand_2ed025b4e6($outputDir, 'images/G2audio.jpg', '[encoded data, 20632 characters]');
expand_2ed025b4e6($outputDir, 'images/G2video.jpg', '[encoded data, 21036 characters]');
expand_2ed025b4e6($outputDir, 'module.inc', '[encoded data, 7372 characters]');
expand_2ed025b4e6($outputDir, 'po/GNUmakefile', 'R0FMTEVSWURJUiA/PSAuLi8uLi8u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ZGVkLiJ9CiAgICB7ZWxzZX0KICAgICAge2ctPnRleHQgdGV4dD0iTm8gdG9vbGtpdCBhdmFpbGFibGUgZm9yIHJlc2l6aW5nIHNvIHVwbG9hZGVkIGltYWdlIG11c3QgYmUgdGh1bWJuYWlsIHNpemVkLiJ9CiAgICB7L2lmfQogIDwvcD4KCiAgPGlucHV0IHR5cGU9ImZpbGUiIHNpemU9IjQ1IiBuYW1lPSJ7Zy0+Zm9ybVZhciB2YXI9ImZvcm1bMV0ifSIvPgoKICB7aWYgIWVtcHR5KCRmb3JtLkN1c3RvbVRodW1ibmFpbE9wdGlvbi5lcnJvci5taXNzaW5nRmlsZSl9CiAgPGRpdiBjbGFzcz0iZ2lFcnJvciI+CiAgICB7Zy0+dGV4dCB0ZXh0PSJNaXNzaW5nIGltYWdlIGZpbGUifQogIDwvZGl2PgogIHsvaWZ9CiAge2lmICFlbXB0eSgkZm9ybS5DdXN0b21UaHVtYm5haWxPcHRpb24uZXJyb3IuaW1hZ2VNaW1lKX0KICA8ZGl2IGNsYXNzPSJnaUVycm9yIj4KICAgIHtnLT50ZXh0IHRleHQ9IlRodW1ibmFpbCBpbWFnZSBtdXN0IGJlIGEgSlBFRyJ9CiAgPC9kaXY+CiAgey9pZn0KICB7L2lmfQo8L2Rpdj4K');
expand_2ed025b4e6($outputDir, 'templates/ThumbnailSiteAdmin.tpl', '[encoded data, 7156 characters]');
}
function expand_2ed025b4e6($outputDir, $relativePath, $data) {
$fd = fopen($outputDir . $relativePath, 'w');
fwrite($fd, base64_decode($data));
fclose($fd);
}
$unpackFunction = "unpack_2ed025b4e6";
?>