"]},
96 | ["blocking"]
97 | );
98 |
99 | chrome.contextMenus.onClicked.addListener(function(info, tab) {
100 | if (info.menuItemId === "options") {
101 | chrome.tabs.create({'url': OPTIONS_PAGE});
102 | return false;
103 | }
104 | var channels = JSON.parse(localStorage.cfg_channels);
105 | var matched = $.grep(channels, function(e){ return e.url == info.menuItemId; });
106 | if (matched.length === 0) {
107 | return false;
108 | }
109 | var channel = matched[0];
110 | var parser = document.createElement('a');
111 | parser.href = addProtocol(info.selectionText);
112 | if (parser.hostname.indexOf('.') === -1) {
113 | return false;
114 | }
115 | var indicator = md5(parser.hostname);
116 | var properties = {method: "POST",
117 | body: JSON.stringify({'email': channel.username,
118 | 'api_key': channel.api_key,
119 | 'indicators': [indicator]}),
120 | headers: {"Content-Type": "application/json"}};
121 | var promises = [fetch(channel.url + 'admin/add-indicators', properties)];
122 | Promise
123 | .all(promises)
124 | .then(function(response) {
125 | var blobs = [];
126 | for (var i=0; i < response.length; i++) {
127 | blobs.push(response[i].json());
128 | }
129 | return Promise.all(blobs);
130 | })
131 | .then(function(blobs) {
132 | if (localStorage.cfg_notifications === 'true') {
133 | var msg = chrome.i18n.getMessage("dbgAddIndicator",
134 | [1]);
135 | chrome.notifications.create('info', {
136 | type: 'basic',
137 | iconUrl: ICON_LARGE,
138 | title: chrome.i18n.getMessage("notifyIndicatorSyncTitle"),
139 | message: msg
140 | }, function(notificationId) {
141 | msg = chrome.i18n.getMessage("dbgNotificationCreated");
142 | if (localStorage.cfg_debug === 'true') { console.log(msg); }
143 | });
144 | }
145 | var msg = chrome.i18n.getMessage("dbgProcessedEvents");
146 | if (localStorage.cfg_debug === 'true') { console.log(msg); }
147 | chrome.alarms.create("databaseUpdate",
148 | {delayInMinutes: 0.1, periodInMinutes: 1.0});
149 | // _gaq.push(['_trackEvent', 'extension', 'context_submission']);
150 | })
151 | .catch(function(error) {
152 | var message = chrome.i18n.getMessage("notifyRequestError",
153 | ["URL", error.message]);
154 | chrome.notifications.create('alert', {
155 | type: 'basic',
156 | iconUrl: ICON_LARGE,
157 | title: chrome.i18n.getMessage("notifyRequestErrorTitle"),
158 | message: message
159 | }, function(notificationId) {
160 | msg = chrome.i18n.getMessage("dbgNotificationCreated");
161 | if (localStorage.cfg_debug === 'true') { console.log(msg); }
162 | });
163 | // _gaq.push(['_trackEvent', 'extension', 'context_submission_failure']);
164 | });
165 | });
166 |
167 | chrome.runtime.onInstalled.addListener(loadContextMenus);
168 | chrome.runtime.onStartup.addListener(loadContextMenus);
169 |
--------------------------------------------------------------------------------
/extension/_locales/es/messages.json:
--------------------------------------------------------------------------------
1 | {
2 | "appName": {
3 | "message": "Bloqueo",
4 | "description": "Name of the extension as displayed in settings"
5 | },
6 | "appDesc": {
7 | "message": "Bloquear el accesso a sitios web maliciosos desde el navegador.",
8 | "description": "Description of the extension as displayed in settings"
9 | },
10 | "dbgNoServer": {
11 | "message": "No se ha especificado la URL del servidor",
12 | "description": "Debug message to show when no server URL is defined"
13 | },
14 | "dbgSavedItems": {
15 | "message": "$count$ elementos almacenados localmente.",
16 | "description": "Debug message outlining how many indicators were wrote to local storage",
17 | "placeholders": {
18 | "count": {
19 | "content": "$1",
20 | "example": "1"
21 | }
22 | }
23 | },
24 | "dbgAddIndicator": {
25 | "message": "$count$ Se enviaron indicadores a la nube.",
26 | "description": "Debug message outlining how many indicators were sent to the cloud",
27 | "placeholders": {
28 | "count": {
29 | "content": "$1",
30 | "example": "1"
31 | }
32 | }
33 | },
34 | "dbgProcessedEvents": {
35 | "message": "Los eventos han sido procesados y limpiados localmente.",
36 | "description": "Debug message after processing local event alerts"
37 | },
38 | "dbgNotificationCreated": {
39 | "message": "Notificación creada.",
40 | "description": "Debug message after creating a notification"
41 | },
42 | "dbgEnabed": {
43 | "message": "Bloqueo activado.",
44 | "description": "Debug message shown when extension is enabled"
45 | },
46 | "dbgDisabled": {
47 | "message": "Bloqueo desactivado.",
48 | "description": "Debug message shown when extension is disabled"
49 | },
50 | "dbgBlockBypass": {
51 | "message": "Petición de desvío.",
52 | "description": "Debug message when a user requests to bypass blocking"
53 | },
54 | "dbgRawRequest": {
55 | "message": "Petición sin procesar: $request$.",
56 | "description": "Debug message showing the raw request that was flagged as malicious",
57 | "placeholders": {
58 | "request": {
59 | "content": "$1"
60 | }
61 | }
62 | },
63 | "optionsOn" : {
64 | "message": "on",
65 | "description": "Value to display when a specific option is enabled"
66 | },
67 | "optionsOff" : {
68 | "message": "off",
69 | "description": "Value to display when a specific option is disabled"
70 | },
71 | "optionsServerUrl": {
72 | "message": "URL del servidor",
73 | "description": "Label for the server URL option input"
74 | },
75 | "optionsShowNotifications": {
76 | "message": "Notificaciones en pantalla",
77 | "description": "Label for the notifications option"
78 | },
79 | "optionsAnalystAssist": {
80 | "message": "Ayuda al analista",
81 | "description": "Label for the analyst assist option"
82 | },
83 | "optionsDebugMode": {
84 | "message": "Modo de depuración",
85 | "description": "Label for the debug mode option"
86 | },
87 | "optionsConfigSaved": {
88 | "message": "¡Su configuración ha sido guardada correctamente!",
89 | "description": "Message to show when the configuration is saved"
90 | },
91 | "optionsSaveConfig": {
92 | "message": "Guardar",
93 | "description": "Label to save the options configuration"
94 | },
95 | "optionsServerUrlTooltip": {
96 | "message": "URL del servidor para procesar indicadores de actividad sospechosa o maliciosa",
97 | "description": "Tooltip data that shows up next to the option label"
98 | },
99 | "optionsShowNotificationsTooltip": {
100 | "message": "Mostrar alertas cuando un evento malicioso es detectado",
101 | "description": "Tooltip data that shows up next to the option label"
102 | },
103 | "optionsAnalystAssistTooltip": {
104 | "message": "Enviar eventos maliciosos directamente a un analista para identificar más detalles del ataque",
105 | "description": "Tooltip data that shows up next to the option label"
106 | },
107 | "optionsDebugModeTooltip": {
108 | "message": "Ejecutar el plugin con toda la salida hacia la consola",
109 | "description": "Tooltip data that shows up next to the option label"
110 | },
111 | "notifyIndicatorSyncTitle": {
112 | "message": "Se actualizó la base de datos de indicadores!",
113 | "description": "Title of the notification window when the database updates."
114 | },
115 | "notifyRequestError": {
116 | "message": "La petición a $url$ ha devuelto el estado $status$",
117 | "description": "Message to display inside of the notification when a request for data fails",
118 | "placeholders": {
119 | "url": {
120 | "content": "$1"
121 | },
122 | "status": {
123 | "content": "$2"
124 | }
125 | }
126 | },
127 | "notifyRequestErrorTitle": {
128 | "message": "¡Fallo actualizando indicador!",
129 | "description": "Title of the notification window when a request for data fails"
130 | },
131 | "notifyAlertTitle": {
132 | "message": "¡Tráfico malicioso bloqueado!",
133 | "description": "Title of the notification window when a malicious event is detected"
134 | },
135 | "notifyAlertMessage": {
136 | "message": "$hostname$ ha efectuado una petición $method$ de tipo $type$.",
137 | "description": "Message to display inside of the notification when a malicious event is detected",
138 | "placeholders": {
139 | "hostname": {
140 | "content": "$1"
141 | },
142 | "method": {
143 | "content": "$2"
144 | },
145 | "type": {
146 | "content": "$3"
147 | }
148 | }
149 | },
150 | "notifyStatusAlertTitle": {
151 | "message": "Estado cambiado!",
152 | "description": "Title of the notification window when Blockade is turned on or off"
153 | },
154 | "warningProceedMessage": {
155 | "message": "Asumo el riesgo, dame acceso temporal",
156 | "description": "Hyperlink label displayed that allows a user to access a malicious resource"
157 | },
158 | "warningLeaveMessage": {
159 | "message": "¡Sácame de aquí!",
160 | "description": "Hyperlink label displayed to take a user away from the malicious resource"
161 | },
162 | "warningAlertTitle": {
163 | "message": "¡Sitio sospechoso reportado!",
164 | "description": "Main label to display to the user when they visit a malicious resource"
165 | },
166 | "warningAlertMessage": {
167 | "message": "El bloqueo ha identificado $url$ como sospechosa. Este sitio web puede estar engañando a los usuarios para realizar una acción peligrosa, como instalar software o revelar información personal (por ejemplo contraseñas, números de teléfono o tarjetas de crédito). Examina los detalles.",
168 | "description": "Detailed message shown to the user when they visit a malicious resource",
169 | "placeholders": {
170 | "url": {
171 | "content": "$1"
172 | }
173 | }
174 | }
175 | }
176 |
--------------------------------------------------------------------------------
/extension/_locales/fr/messages.json:
--------------------------------------------------------------------------------
1 | {
2 | "appName": {
3 | "message": "Blockade",
4 | "description": "Name of the extension as displayed in settings"
5 | },
6 | "appDesc": {
7 | "message": "Bloquer l'accès des mauvais sites par le browser.",
8 | "description": "Description of the extension as displayed in settings"
9 | },
10 | "dbgNoServer": {
11 | "message": "Pas de URL de serveur défini",
12 | "description": "Debug message to show when no server URL is defined"
13 | },
14 | "dbgSavedItems": {
15 | "message": "$count$ objets sauvegardés dans le stockage local.",
16 | "description": "Debug message outlining how many indicators were wrote to local storage",
17 | "placeholders": {
18 | "count": {
19 | "content": "$1",
20 | "example": "1"
21 | }
22 | }
23 | },
24 | "dbgAddIndicator": {
25 | "message": "$count$ Des indicateurs ont été envoyés au nuage.",
26 | "description": "Debug message outlining how many indicators were sent to the cloud",
27 | "placeholders": {
28 | "count": {
29 | "content": "$1",
30 | "example": "1"
31 | }
32 | }
33 | },
34 | "dbgProcessedEvents": {
35 | "message": "événements traité et effacé localement.",
36 | "description": "Debug message after processing local event alerts"
37 | },
38 | "dbgNotificationCreated": {
39 | "message": "Notification crée.",
40 | "description": "Debug message after creating a notification"
41 | },
42 | "dbgEnabed": {
43 | "message": "Blocage activé.",
44 | "description": "Debug message shown when extension is enabled"
45 | },
46 | "dbgDisabled": {
47 | "message": "Blocage désactivé.",
48 | "description": "Debug message shown when extension is disabled"
49 | },
50 | "dbgBlockBypass": {
51 | "message": "Détour demandé.",
52 | "description": "Debug message when a user requests to bypass blocking"
53 | },
54 | "dbgRawRequest": {
55 | "message": "Demande d’origine: $request$.",
56 | "description": "Debug message showing the raw request that was flagged as malicious",
57 | "placeholders": {
58 | "request": {
59 | "content": "$1"
60 | }
61 | }
62 | },
63 | "optionsOn": {
64 | "message": "allumé",
65 | "description": "Value to display when a specific option is enabled"
66 | },
67 | "optionsOff": {
68 | "message": "éteint",
69 | "description": "Value to display when a specific option is disabled"
70 | },
71 | "optionsServerUrl": {
72 | "message": "URL du serveur",
73 | "description": "Label for the server URL option input"
74 | },
75 | "optionsShowNotifications": {
76 | "message": "Apparition de notifications",
77 | "description": "Label for the notifications option"
78 | },
79 | "optionsAnalystAssist": {
80 | "message": "Assistance pour analyste",
81 | "description": "Label for the analyst assist option"
82 | },
83 | "optionsDebugMode": {
84 | "message": "Mode Debug",
85 | "description": "Label for the debug mode option"
86 | },
87 | "optionsConfigSaved": {
88 | "message": "Votre configuration a été enregistrée correctement!",
89 | "description": "Message to show when the configuration is saved"
90 | },
91 | "optionsSaveConfig": {
92 | "message": "enregistrer",
93 | "description": "Label to save the options configuration"
94 | },
95 | "optionsServerUrlTooltip": {
96 | "message": " URL du serveur qui va traiter les indicateurs pour activitées soupçonneuses ou mauvaises",
97 | "description": "Tooltip data that shows up next to the option label"
98 | },
99 | "optionsShowNotificationsTooltip": {
100 | "message": "Montrer les notifications quand un mauvais événement est détecté",
101 | "description": "Tooltip data that shows up next to the option label"
102 | },
103 | "optionsAnalystAssistTooltip": {
104 | "message": "Envoyer des mauvais événements directement aux analystes qui pourront identifier plus de détails à propos de l'attaque",
105 | "description": "Tooltip data that shows up next to the option label"
106 | },
107 | "optionsDebugModeTooltip": {
108 | "message": "Utiliser le plugin avec tous les détails montrés dans la console",
109 | "description": "Tooltip data that shows up next to the option label"
110 | },
111 | "notifyIndicatorSyncTitle": {
112 | "message": "L'indicateur de base de données a été actualisé!",
113 | "description": "Title of the notification window when the database updates."
114 | },
115 | "notifyRequestError": {
116 | "message": "$url$ a retourné $status$ statut par demande.",
117 | "description": "Message to display inside of the notification when a request for data fails",
118 | "placeholders": {
119 | "url": {
120 | "content": "$1"
121 | },
122 | "status": {
123 | "content": "$2"
124 | }
125 | }
126 | },
127 | "notifyRequestErrorTitle": {
128 | "message": "L’indicateur n'a pas pu être actualisé!",
129 | "description": "Title of the notification window when a request for data fails"
130 | },
131 | "notifyAlertTitle": {
132 | "message": "Mauvais trafic a été bloqué!",
133 | "description": "Title of the notification window when a malicious event is detected"
134 | },
135 | "notifyAlertMessage": {
136 | "message": "$hostname$ a essayé de charger par une demande de $method$ en utilisant un $type$ objet.",
137 | "description": "Message to display inside of the notification when a malicious event is detected",
138 | "placeholders": {
139 | "hostname": {
140 | "content": "$1"
141 | },
142 | "method": {
143 | "content": "$2"
144 | },
145 | "type": {
146 | "content": "$3"
147 | }
148 | }
149 | },
150 | "notifyStatusAlertTitle": {
151 | "message": "Statut modifié!",
152 | "description": "Title of the notification window when Blockade is turned on or off"
153 | },
154 | "warningProceedMessage": {
155 | "message": "J’accepte le risque de donner accès temporairement.",
156 | "description": "Hyperlink label displayed that allows a user to access a malicious resource"
157 | },
158 | "warningLeaveMessage": {
159 | "message": "Me faire sortir!",
160 | "description": "Hyperlink label displayed to take a user away from the malicious resource"
161 | },
162 | "warningAlertTitle": {
163 | "message": "Site soupçonneux signalé!",
164 | "description": "Main label to display to the user when they visit a malicious resource"
165 | },
166 | "warningAlertMessage": {
167 | "message": "Blocage a rapporté $url$ en tant que soupçonneux. Ce site va peut-être faire quelque chose de dangereux comme installer un software ou révéler des informations personnelles (par exemple, mot de passe, numéro de téléphone, ou de cartes de credit). . View the raw details.",
168 | "description": "Detailed message shown to the user when they visit a malicious resource",
169 | "placeholders": {
170 | "url": {
171 | "content": "$1"
172 | }
173 | }
174 | }
175 | }
--------------------------------------------------------------------------------
/extension/_locales/de/messages.json:
--------------------------------------------------------------------------------
1 | {
2 | "appName": {
3 | "message": "Blockade",
4 | "description": "Name of the extension as displayed in settings"
5 | },
6 | "appDesc": {
7 | "message": "Blockiert den Zugriff auf bösartige Webseiten im Browser.",
8 | "description": "Description of the extension as displayed in settings"
9 | },
10 | "dbgNoServer": {
11 | "message": "Keine Server URL definiert",
12 | "description": "Debug message to show when no server URL is defined"
13 | },
14 | "dbgSavedItems": {
15 | "message": "$count$ Objekte in den lokalen Speicher geschrieben.",
16 | "description": "Debug message outlining how many indicators were wrote to local storage",
17 | "placeholders": {
18 | "count": {
19 | "content": "$1",
20 | "example": "1"
21 | }
22 | }
23 | },
24 | "dbgAddIndicator": {
25 | "message": "$count$ Indikatoren wurden an die Wolke geschickt.",
26 | "description": "Debug message outlining how many indicators were sent to the cloud",
27 | "placeholders": {
28 | "count": {
29 | "content": "$1",
30 | "example": "1"
31 | }
32 | }
33 | },
34 | "dbgProcessedEvents": {
35 | "message": "Ereignisse wurden verarbeitet und lokal gelöscht.",
36 | "description": "Debug message after processing local event alerts"
37 | },
38 | "dbgNotificationCreated": {
39 | "message": "Benachrichtigung erstellt.",
40 | "description": "Debug message after creating a notification"
41 | },
42 | "dbgEnabed": {
43 | "message": "Blockade aktiviert.",
44 | "description": "Debug message shown when extension is enabled"
45 | },
46 | "dbgDisabled": {
47 | "message": "Blockade deaktiviert.",
48 | "description": "Debug message shown when extension is disabled"
49 | },
50 | "dbgBlockBypass": {
51 | "message": "Erwünschter Zugriff.",
52 | "description": "Debug message when a user requests to bypass blocking"
53 | },
54 | "dbgRawRequest": {
55 | "message": "Ungefilterte Anfragen: $request$.",
56 | "description": "Debug message showing the raw request that was flagged as malicious",
57 | "placeholders": {
58 | "request": {
59 | "content": "$1"
60 | }
61 | }
62 | },
63 | "optionsOn": {
64 | "message": "AN",
65 | "description": "Value to display when a specific option is enabled"
66 | },
67 | "optionsOff": {
68 | "message": "AUS",
69 | "description": "Value to display when a specific option is disabled"
70 | },
71 | "optionsServerUrl": {
72 | "message": "Server URL",
73 | "description": "Label for the server URL option input"
74 | },
75 | "optionsShowNotifications": {
76 | "message": "Pop-up Mitteilung",
77 | "description": "Label for the notifications option"
78 | },
79 | "optionsAnalystAssist": {
80 | "message": "Analyst Unterstützung",
81 | "description": "Label for the analyst assist option"
82 | },
83 | "optionsDebugMode": {
84 | "message": "Fehlerbehebungsmodus",
85 | "description": "Label for the debug mode option"
86 | },
87 | "optionsConfigSaved": {
88 | "message": "Deine Einstellungen wurden erfolgreich gespeichert!",
89 | "description": "Message to show when the configuration is saved"
90 | },
91 | "optionsSaveConfig": {
92 | "message": "Speichern",
93 | "description": "Label to save the options configuration"
94 | },
95 | "optionsServerUrlTooltip": {
96 | "message": "Server URL, welche nach Indikatoren für verdächtige oder bösartige Aktivitäten prüft.",
97 | "description": "Tooltip data that shows up next to the option label"
98 | },
99 | "optionsShowNotificationsTooltip": {
100 | "message": "Zeige Desktop Benachrichtigungen, wenn ein bösartiges Ereignis entdeckt wurde.",
101 | "description": "Tooltip data that shows up next to the option label"
102 | },
103 | "optionsAnalystAssistTooltip": {
104 | "message": "Schicke bösartiges Ereignis direkt an einen Analyst, der mehr Details über den Angriff identifizieren wird.",
105 | "description": "Tooltip data that shows up next to the option label"
106 | },
107 | "optionsDebugModeTooltip": {
108 | "message": "Lässt das Plugin mit allen Datenausgaben angeschaltet in einer Konsole laufen.",
109 | "description": "Tooltip data that shows up next to the option label"
110 | },
111 | "notifyIndicatorSyncTitle": {
112 | "message": "Indikatorendatenbank aktualisiert!",
113 | "description": "Title of the notification window when the database updates."
114 | },
115 | "notifyRequestError": {
116 | "message": "$url$ zeigt bei Anfrage einen $status$ Status.",
117 | "description": "Message to display inside of the notification when a request for data fails",
118 | "placeholders": {
119 | "url": {
120 | "content": "$1"
121 | },
122 | "status": {
123 | "content": "$2"
124 | }
125 | }
126 | },
127 | "notifyRequestErrorTitle": {
128 | "message": "Fehler bei Indikatorenaktualisierung!",
129 | "description": "Title of the notification window when a request for data fails"
130 | },
131 | "notifyAlertTitle": {
132 | "message": "Bösartiger Datenverkehr geblockt!",
133 | "description": "Title of the notification window when a malicious event is detected"
134 | },
135 | "notifyAlertMessage": {
136 | "message": "$hostname$ versuchte mittels $method$ Anfrage zu laden, mit Hilfe eines $type$ Elements.",
137 | "description": "Message to display inside of the notification when a malicious event is detected",
138 | "placeholders": {
139 | "hostname": {
140 | "content": "$1"
141 | },
142 | "method": {
143 | "content": "$2"
144 | },
145 | "type": {
146 | "content": "$3"
147 | }
148 | }
149 | },
150 | "notifyStatusAlertTitle": {
151 | "message": "Status geändert!",
152 | "description": "Title of the notification window when Blockade is turned on or off"
153 | },
154 | "warningProceedMessage": {
155 | "message": "Ich akzeptiere das Risiko, lass much temporär auf die Resource zugreifen",
156 | "description": "Hyperlink label displayed that allows a user to access a malicious resource"
157 | },
158 | "warningLeaveMessage": {
159 | "message": "Lieber nicht!",
160 | "description": "Hyperlink label displayed to take a user away from the malicious resource"
161 | },
162 | "warningAlertTitle": {
163 | "message": "Verdächtige Webseite gemeldet!",
164 | "description": "Main label to display to the user when they visit a malicious resource"
165 | },
166 | "warningAlertMessage": {
167 | "message": "Blockadde hat die < b > $url$ < /b> als verdächtig gemeldet. Dies Webseite könnte versuchen dich zu etwas gefährlichen zu überreden, wie das Installieren von Software oder dem Preisgeben von persönlichen Informationen (z.B. Passwörter, Telefonnummern oder Kreditkartennummern. Schau dir die ungefilterten Details an.",
168 | "description": "Detailed message shown to the user when they visit a malicious resource",
169 | "placeholders": {
170 | "url": {
171 | "content": "$1"
172 | }
173 | }
174 | }
175 | }
176 |
--------------------------------------------------------------------------------
/extension/_locales/jp/messages.json:
--------------------------------------------------------------------------------
1 | {
2 | "appName": {
3 | "message": "Blockade",
4 | "description": "Name of the extension as displayed in settings"
5 | },
6 | "appDesc": {
7 | "message": "悪意のあるウェブサイトへのアクセスをブロック",
8 | "description": "Description of the extension as displayed in settings"
9 | },
10 | "dbgNoServer": {
11 | "message": "サーバーのURLが定義されていません。",
12 | "description": "Debug message to show when no server URL is defined"
13 | },
14 | "dbgSavedItems": {
15 | "message": "$count$個のアイテムをローカルストレージに保存しました。",
16 | "description": "Debug message outlining how many indicators were wrote to local storage",
17 | "placeholders": {
18 | "count": {
19 | "content": "$1",
20 | "example": "1"
21 | }
22 | }
23 | },
24 | "dbgAddIndicator": {
25 | "message": "$count$個の識別子がクラウドに送信されました。",
26 | "description": "Debug message outlining how many indicators were sent to the cloud",
27 | "placeholders": {
28 | "count": {
29 | "content": "$1",
30 | "example": "1"
31 | }
32 | }
33 | },
34 | "dbgProcessedEvents": {
35 | "message": "イベントはローカルで処理、クリアされました。",
36 | "description": "Debug message after processing local event alerts"
37 | },
38 | "dbgNotificationCreated": {
39 | "message": "通知が作成されました。",
40 | "description": "Debug message after creating a notification"
41 | },
42 | "dbgEnabed": {
43 | "message": "Blockadeは有効です。",
44 | "description": "Debug message shown when extension is enabled"
45 | },
46 | "dbgDisabled": {
47 | "message": "Blockadeは無効です。",
48 | "description": "Debug message shown when extension is disabled"
49 | },
50 | "dbgBlockBypass": {
51 | "message": "Requested bypass.",
52 | "description": "Debug message when a user requests to bypass blocking"
53 | },
54 | "dbgRawRequest": {
55 | "message": "Raw request: $request$.",
56 | "description": "Debug message showing the raw request that was flagged as malicious",
57 | "placeholders": {
58 | "request": {
59 | "content": "$1"
60 | }
61 | }
62 | },
63 | "optionsOn" : {
64 | "message": "on",
65 | "description": "Value to display when a specific option is enabled"
66 | },
67 | "optionsOff" : {
68 | "message": "off",
69 | "description": "Value to display when a specific option is disabled"
70 | },
71 | "optionsServerUrl": {
72 | "message": "Server URL",
73 | "description": "Label for the server URL option input"
74 | },
75 | "optionsShowNotifications": {
76 | "message": "Pop-up Notifications",
77 | "description": "Label for the notifications option"
78 | },
79 | "optionsAnalystAssist": {
80 | "message": "Analyst Assist",
81 | "description": "Label for the analyst assist option"
82 | },
83 | "optionsDebugMode": {
84 | "message": "Debug Mode",
85 | "description": "Label for the debug mode option"
86 | },
87 | "optionsConfigSaved": {
88 | "message": "Your configuration was saved successfully!",
89 | "description": "Message to show when the configuration is saved"
90 | },
91 | "optionsSaveConfig": {
92 | "message": "Save",
93 | "description": "Label to save the options configuration"
94 | },
95 | "optionsServerUrlTooltip": {
96 | "message": "Sever URL that will process indicators for suspicious or malicious activity",
97 | "description": "Tooltip data that shows up next to the option label"
98 | },
99 | "optionsShowNotificationsTooltip": {
100 | "message": "Show desktop notifications when a malicious event is detected",
101 | "description": "Tooltip data that shows up next to the option label"
102 | },
103 | "optionsAnalystAssistTooltip": {
104 | "message": "Send malicious events directly to analysts who will identify more details about the attack",
105 | "description": "Tooltip data that shows up next to the option label"
106 | },
107 | "optionsDebugModeTooltip": {
108 | "message": "Run the plugin with all output turned on inside of the console",
109 | "description": "Tooltip data that shows up next to the option label"
110 | },
111 | "notifyIndicatorSyncTitle": {
112 | "message": "Indicator database updated!",
113 | "description": "Title of the notification window when the database updates."
114 | },
115 | "notifyRequestError": {
116 | "message": "$url$ returned a $status$ status on request.",
117 | "description": "Message to display inside of the notification when a request for data fails",
118 | "placeholders": {
119 | "url": {
120 | "content": "$1"
121 | },
122 | "status": {
123 | "content": "$2"
124 | }
125 | }
126 | },
127 | "notifyRequestErrorTitle": {
128 | "message": "Indicator updated failure!",
129 | "description": "Title of the notification window when a request for data fails"
130 | },
131 | "notifyAlertTitle": {
132 | "message": "Malicious traffic blocked!",
133 | "description": "Title of the notification window when a malicious event is detected"
134 | },
135 | "notifyAlertMessage": {
136 | "message": "$hostname$ tried to load via a $method$ request using an $type$ element.",
137 | "description": "Message to display inside of the notification when a malicious event is detected",
138 | "placeholders": {
139 | "hostname": {
140 | "content": "$1"
141 | },
142 | "method": {
143 | "content": "$2"
144 | },
145 | "type": {
146 | "content": "$3"
147 | }
148 | }
149 | },
150 | "notifyStatusAlertTitle": {
151 | "message": "Status changed!",
152 | "description": "Title of the notification window when Blockade is turned on or off"
153 | },
154 | "warningProceedMessage": {
155 | "message": "I am willing to accept the risk, temporarily allow access.",
156 | "description": "Hyperlink label displayed that allows a user to access a malicious resource"
157 | },
158 | "warningLeaveMessage": {
159 | "message": "Take me away!",
160 | "description": "Hyperlink label displayed to take a user away from the malicious resource"
161 | },
162 | "warningAlertTitle": {
163 | "message": "Suspicious site reported!",
164 | "description": "Main label to display to the user when they visit a malicious resource"
165 | },
166 | "warningAlertMessage": {
167 | "message": "Blockade has reported $url$ as suspicious. This website may try to trick you into doing something dangerous like installing software or revealing personal information (for example, passwords, phone numbers, or credit cards). View the raw details.",
168 | "description": "Detailed message shown to the user when they visit a malicious resource",
169 | "placeholders": {
170 | "url": {
171 | "content": "$1"
172 | }
173 | }
174 | },
175 | "setupTitle": {
176 | "message": "Congratulations, you did it!",
177 | "description": "Title to show on the setup page"
178 | },
179 | "setupCore": {
180 | "message": "Blockade requires no user interaction to operate and automatically updates as you browse the Internet. If Blockade detects a suspicious page, it will block it and notify you.",
181 | "description": "Setup message letting the user know what to expect"
182 | },
183 | "setupQ1": {
184 | "message": "That's it?",
185 | "description": "Second setup message for more information"
186 | },
187 | "setupA1": {
188 | "message": "Totally! Going forward, you can find additional configuration settings on the options page. If you ever need to disable Blockade, just click the icon on the top-right corner! Still have questions? You can learn more about Blockade here.",
189 | "description": "Secondary message explaining where to get more information about the extension"
190 | },
191 | "setupSyncing": {
192 | "message": "Syncing database with cloud node...",
193 | "description": "Message to display when getting indicators"
194 | },
195 | "demoTitle": {
196 | "message": "This is a demo!",
197 | "description": "Title of the demo page"
198 | },
199 | "demoP1": {
200 | "message": "If Blockade is configured properly, you should have seen a pop-up notification in the top-right corner. Messages inside of these notifications give you more information about what was blocked.
",
201 | "description": "Message to show within the demo page, paragraph one."
202 | },
203 | "demoP2": {
204 | "message": "For this demo page, we blocked the above image from loading. If you are able to see this image, then something went wrong. Consider reinstalling Blockade or file an issue here.
",
205 | "description": "Message to show within the demo page, paragraph two."
206 | }
207 | }
208 |
--------------------------------------------------------------------------------
/extension/_locales/en/messages.json:
--------------------------------------------------------------------------------
1 | {
2 | "appName": {
3 | "message": "Blockade",
4 | "description": "Name of the extension as displayed in settings"
5 | },
6 | "appDesc": {
7 | "message": "Block malicious websites from being accessed in the browser.",
8 | "description": "Description of the extension as displayed in settings"
9 | },
10 | "dbgNoServer": {
11 | "message": "No server URL defined",
12 | "description": "Debug message to show when no server URL is defined"
13 | },
14 | "dbgSavedItems": {
15 | "message": "$count$ items saved to local storage.",
16 | "description": "Debug message outlining how many indicators were wrote to local storage",
17 | "placeholders": {
18 | "count": {
19 | "content": "$1",
20 | "example": "1"
21 | }
22 | }
23 | },
24 | "dbgAddIndicator": {
25 | "message": "$count$ indicator(s) were sent to the cloud.",
26 | "description": "Debug message outlining how many indicators were sent to the cloud",
27 | "placeholders": {
28 | "count": {
29 | "content": "$1",
30 | "example": "1"
31 | }
32 | }
33 | },
34 | "dbgProcessedEvents": {
35 | "message": "Events were processed and cleared locally.",
36 | "description": "Debug message after processing local event alerts"
37 | },
38 | "dbgNotificationCreated": {
39 | "message": "Notification created.",
40 | "description": "Debug message after creating a notification"
41 | },
42 | "dbgEnabed": {
43 | "message": "Blockade enabled.",
44 | "description": "Debug message shown when extension is enabled"
45 | },
46 | "dbgDisabled": {
47 | "message": "Blockade disabled.",
48 | "description": "Debug message shown when extension is disabled"
49 | },
50 | "dbgBlockBypass": {
51 | "message": "Requested bypass.",
52 | "description": "Debug message when a user requests to bypass blocking"
53 | },
54 | "dbgRawRequest": {
55 | "message": "Raw request: $request$.",
56 | "description": "Debug message showing the raw request that was flagged as malicious",
57 | "placeholders": {
58 | "request": {
59 | "content": "$1"
60 | }
61 | }
62 | },
63 | "optionsOn" : {
64 | "message": "on",
65 | "description": "Value to display when a specific option is enabled"
66 | },
67 | "optionsOff" : {
68 | "message": "off",
69 | "description": "Value to display when a specific option is disabled"
70 | },
71 | "optionsServerUrl": {
72 | "message": "Server URL",
73 | "description": "Label for the server URL option input"
74 | },
75 | "optionsShowNotifications": {
76 | "message": "Pop-up Notifications",
77 | "description": "Label for the notifications option"
78 | },
79 | "optionsAnalystAssist": {
80 | "message": "Analyst Assist",
81 | "description": "Label for the analyst assist option"
82 | },
83 | "optionsDebugMode": {
84 | "message": "Debug Mode",
85 | "description": "Label for the debug mode option"
86 | },
87 | "optionsConfigSaved": {
88 | "message": "Your configuration was saved successfully!",
89 | "description": "Message to show when the configuration is saved"
90 | },
91 | "optionsSaveConfig": {
92 | "message": "Save",
93 | "description": "Label to save the options configuration"
94 | },
95 | "optionsServerUrlTooltip": {
96 | "message": "Sever URL that will process indicators for suspicious or malicious activity",
97 | "description": "Tooltip data that shows up next to the option label"
98 | },
99 | "optionsShowNotificationsTooltip": {
100 | "message": "Show desktop notifications when a malicious event is detected",
101 | "description": "Tooltip data that shows up next to the option label"
102 | },
103 | "optionsAnalystAssistTooltip": {
104 | "message": "Send malicious events directly to analysts who will identify more details about the attack",
105 | "description": "Tooltip data that shows up next to the option label"
106 | },
107 | "optionsDebugModeTooltip": {
108 | "message": "Run the plugin with all output turned on inside of the console",
109 | "description": "Tooltip data that shows up next to the option label"
110 | },
111 | "notifyIndicatorSyncTitle": {
112 | "message": "Indicator database updated!",
113 | "description": "Title of the notification window when the database updates."
114 | },
115 | "notifyRequestError": {
116 | "message": "$url$ returned a $status$ status on request.",
117 | "description": "Message to display inside of the notification when a request for data fails",
118 | "placeholders": {
119 | "url": {
120 | "content": "$1"
121 | },
122 | "status": {
123 | "content": "$2"
124 | }
125 | }
126 | },
127 | "notifyRequestErrorTitle": {
128 | "message": "Indicator updated failure!",
129 | "description": "Title of the notification window when a request for data fails"
130 | },
131 | "notifyAlertTitle": {
132 | "message": "Malicious traffic blocked!",
133 | "description": "Title of the notification window when a malicious event is detected"
134 | },
135 | "notifyAlertMessage": {
136 | "message": "$hostname$ tried to load via a $method$ request using an $type$ element.",
137 | "description": "Message to display inside of the notification when a malicious event is detected",
138 | "placeholders": {
139 | "hostname": {
140 | "content": "$1"
141 | },
142 | "method": {
143 | "content": "$2"
144 | },
145 | "type": {
146 | "content": "$3"
147 | }
148 | }
149 | },
150 | "notifyStatusAlertTitle": {
151 | "message": "Status changed!",
152 | "description": "Title of the notification window when Blockade is turned on or off"
153 | },
154 | "warningProceedMessage": {
155 | "message": "I am willing to accept the risk, temporarily allow access.",
156 | "description": "Hyperlink label displayed that allows a user to access a malicious resource"
157 | },
158 | "warningLeaveMessage": {
159 | "message": "Take me away!",
160 | "description": "Hyperlink label displayed to take a user away from the malicious resource"
161 | },
162 | "warningAlertTitle": {
163 | "message": "Suspicious site reported!",
164 | "description": "Main label to display to the user when they visit a malicious resource"
165 | },
166 | "warningAlertMessage": {
167 | "message": "Blockade has reported $url$ as suspicious. This website may try to trick you into doing something dangerous like installing software or revealing personal information (for example, passwords, phone numbers, or credit cards). View the raw details.",
168 | "description": "Detailed message shown to the user when they visit a malicious resource",
169 | "placeholders": {
170 | "url": {
171 | "content": "$1"
172 | }
173 | }
174 | },
175 | "setupTitle": {
176 | "message": "Congratulations, you did it!",
177 | "description": "Title to show on the setup page"
178 | },
179 | "setupCore": {
180 | "message": "Blockade requires no user interaction to operate and automatically updates as you browse the Internet. If Blockade detects a suspicious page, it will block it and notify you.",
181 | "description": "Setup message letting the user know what to expect"
182 | },
183 | "setupQ1": {
184 | "message": "That's it?",
185 | "description": "Second setup message for more information"
186 | },
187 | "setupA1": {
188 | "message": "Totally! Going forward, you can find additional configuration settings on the options page. If you ever need to disable Blockade, just click the icon on the top-right corner! Still have questions? You can learn more about Blockade here.",
189 | "description": "Secondary message explaining where to get more information about the extension"
190 | },
191 | "setupSyncing": {
192 | "message": "Syncing database with cloud node...",
193 | "description": "Message to display when getting indicators"
194 | },
195 | "demoTitle": {
196 | "message": "This is a demo!",
197 | "description": "Title of the demo page"
198 | },
199 | "demoP1": {
200 | "message": "If Blockade is configured properly, you should have seen a pop-up notification in the top-right corner. Messages inside of these notifications give you more information about what was blocked.
",
201 | "description": "Message to show within the demo page, paragraph one."
202 | },
203 | "demoP2": {
204 | "message": "For this demo page, we blocked the above image from loading. If you are able to see this image, then something went wrong. Consider reinstalling Blockade or file an issue here.
",
205 | "description": "Message to show within the demo page, paragraph two."
206 | }
207 | }
208 |
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 2, June 1991
3 |
4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 | Everyone is permitted to copy and distribute verbatim copies
7 | of this license document, but changing it is not allowed.
8 |
9 | Preamble
10 |
11 | The licenses for most software are designed to take away your
12 | freedom to share and change it. By contrast, the GNU General Public
13 | License is intended to guarantee your freedom to share and change free
14 | software--to make sure the software is free for all its users. This
15 | General Public License applies to most of the Free Software
16 | Foundation's software and to any other program whose authors commit to
17 | using it. (Some other Free Software Foundation software is covered by
18 | the GNU Lesser General Public License instead.) You can apply it to
19 | your programs, too.
20 |
21 | When we speak of free software, we are referring to freedom, not
22 | price. Our General Public Licenses are designed to make sure that you
23 | have the freedom to distribute copies of free software (and charge for
24 | this service if you wish), that you receive source code or can get it
25 | if you want it, that you can change the software or use pieces of it
26 | in new free programs; and that you know you can do these things.
27 |
28 | To protect your rights, we need to make restrictions that forbid
29 | anyone to deny you these rights or to ask you to surrender the rights.
30 | These restrictions translate to certain responsibilities for you if you
31 | distribute copies of the software, or if you modify it.
32 |
33 | For example, if you distribute copies of such a program, whether
34 | gratis or for a fee, you must give the recipients all the rights that
35 | you have. You must make sure that they, too, receive or can get the
36 | source code. And you must show them these terms so they know their
37 | rights.
38 |
39 | We protect your rights with two steps: (1) copyright the software, and
40 | (2) offer you this license which gives you legal permission to copy,
41 | distribute and/or modify the software.
42 |
43 | Also, for each author's protection and ours, we want to make certain
44 | that everyone understands that there is no warranty for this free
45 | software. If the software is modified by someone else and passed on, we
46 | want its recipients to know that what they have is not the original, so
47 | that any problems introduced by others will not reflect on the original
48 | authors' reputations.
49 |
50 | Finally, any free program is threatened constantly by software
51 | patents. We wish to avoid the danger that redistributors of a free
52 | program will individually obtain patent licenses, in effect making the
53 | program proprietary. To prevent this, we have made it clear that any
54 | patent must be licensed for everyone's free use or not licensed at all.
55 |
56 | The precise terms and conditions for copying, distribution and
57 | modification follow.
58 |
59 | GNU GENERAL PUBLIC LICENSE
60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61 |
62 | 0. This License applies to any program or other work which contains
63 | a notice placed by the copyright holder saying it may be distributed
64 | under the terms of this General Public License. The "Program", below,
65 | refers to any such program or work, and a "work based on the Program"
66 | means either the Program or any derivative work under copyright law:
67 | that is to say, a work containing the Program or a portion of it,
68 | either verbatim or with modifications and/or translated into another
69 | language. (Hereinafter, translation is included without limitation in
70 | the term "modification".) Each licensee is addressed as "you".
71 |
72 | Activities other than copying, distribution and modification are not
73 | covered by this License; they are outside its scope. The act of
74 | running the Program is not restricted, and the output from the Program
75 | is covered only if its contents constitute a work based on the
76 | Program (independent of having been made by running the Program).
77 | Whether that is true depends on what the Program does.
78 |
79 | 1. You may copy and distribute verbatim copies of the Program's
80 | source code as you receive it, in any medium, provided that you
81 | conspicuously and appropriately publish on each copy an appropriate
82 | copyright notice and disclaimer of warranty; keep intact all the
83 | notices that refer to this License and to the absence of any warranty;
84 | and give any other recipients of the Program a copy of this License
85 | along with the Program.
86 |
87 | You may charge a fee for the physical act of transferring a copy, and
88 | you may at your option offer warranty protection in exchange for a fee.
89 |
90 | 2. You may modify your copy or copies of the Program or any portion
91 | of it, thus forming a work based on the Program, and copy and
92 | distribute such modifications or work under the terms of Section 1
93 | above, provided that you also meet all of these conditions:
94 |
95 | a) You must cause the modified files to carry prominent notices
96 | stating that you changed the files and the date of any change.
97 |
98 | b) You must cause any work that you distribute or publish, that in
99 | whole or in part contains or is derived from the Program or any
100 | part thereof, to be licensed as a whole at no charge to all third
101 | parties under the terms of this License.
102 |
103 | c) If the modified program normally reads commands interactively
104 | when run, you must cause it, when started running for such
105 | interactive use in the most ordinary way, to print or display an
106 | announcement including an appropriate copyright notice and a
107 | notice that there is no warranty (or else, saying that you provide
108 | a warranty) and that users may redistribute the program under
109 | these conditions, and telling the user how to view a copy of this
110 | License. (Exception: if the Program itself is interactive but
111 | does not normally print such an announcement, your work based on
112 | the Program is not required to print an announcement.)
113 |
114 | These requirements apply to the modified work as a whole. If
115 | identifiable sections of that work are not derived from the Program,
116 | and can be reasonably considered independent and separate works in
117 | themselves, then this License, and its terms, do not apply to those
118 | sections when you distribute them as separate works. But when you
119 | distribute the same sections as part of a whole which is a work based
120 | on the Program, the distribution of the whole must be on the terms of
121 | this License, whose permissions for other licensees extend to the
122 | entire whole, and thus to each and every part regardless of who wrote it.
123 |
124 | Thus, it is not the intent of this section to claim rights or contest
125 | your rights to work written entirely by you; rather, the intent is to
126 | exercise the right to control the distribution of derivative or
127 | collective works based on the Program.
128 |
129 | In addition, mere aggregation of another work not based on the Program
130 | with the Program (or with a work based on the Program) on a volume of
131 | a storage or distribution medium does not bring the other work under
132 | the scope of this License.
133 |
134 | 3. You may copy and distribute the Program (or a work based on it,
135 | under Section 2) in object code or executable form under the terms of
136 | Sections 1 and 2 above provided that you also do one of the following:
137 |
138 | a) Accompany it with the complete corresponding machine-readable
139 | source code, which must be distributed under the terms of Sections
140 | 1 and 2 above on a medium customarily used for software interchange; or,
141 |
142 | b) Accompany it with a written offer, valid for at least three
143 | years, to give any third party, for a charge no more than your
144 | cost of physically performing source distribution, a complete
145 | machine-readable copy of the corresponding source code, to be
146 | distributed under the terms of Sections 1 and 2 above on a medium
147 | customarily used for software interchange; or,
148 |
149 | c) Accompany it with the information you received as to the offer
150 | to distribute corresponding source code. (This alternative is
151 | allowed only for noncommercial distribution and only if you
152 | received the program in object code or executable form with such
153 | an offer, in accord with Subsection b above.)
154 |
155 | The source code for a work means the preferred form of the work for
156 | making modifications to it. For an executable work, complete source
157 | code means all the source code for all modules it contains, plus any
158 | associated interface definition files, plus the scripts used to
159 | control compilation and installation of the executable. However, as a
160 | special exception, the source code distributed need not include
161 | anything that is normally distributed (in either source or binary
162 | form) with the major components (compiler, kernel, and so on) of the
163 | operating system on which the executable runs, unless that component
164 | itself accompanies the executable.
165 |
166 | If distribution of executable or object code is made by offering
167 | access to copy from a designated place, then offering equivalent
168 | access to copy the source code from the same place counts as
169 | distribution of the source code, even though third parties are not
170 | compelled to copy the source along with the object code.
171 |
172 | 4. You may not copy, modify, sublicense, or distribute the Program
173 | except as expressly provided under this License. Any attempt
174 | otherwise to copy, modify, sublicense or distribute the Program is
175 | void, and will automatically terminate your rights under this License.
176 | However, parties who have received copies, or rights, from you under
177 | this License will not have their licenses terminated so long as such
178 | parties remain in full compliance.
179 |
180 | 5. You are not required to accept this License, since you have not
181 | signed it. However, nothing else grants you permission to modify or
182 | distribute the Program or its derivative works. These actions are
183 | prohibited by law if you do not accept this License. Therefore, by
184 | modifying or distributing the Program (or any work based on the
185 | Program), you indicate your acceptance of this License to do so, and
186 | all its terms and conditions for copying, distributing or modifying
187 | the Program or works based on it.
188 |
189 | 6. Each time you redistribute the Program (or any work based on the
190 | Program), the recipient automatically receives a license from the
191 | original licensor to copy, distribute or modify the Program subject to
192 | these terms and conditions. You may not impose any further
193 | restrictions on the recipients' exercise of the rights granted herein.
194 | You are not responsible for enforcing compliance by third parties to
195 | this License.
196 |
197 | 7. If, as a consequence of a court judgment or allegation of patent
198 | infringement or for any other reason (not limited to patent issues),
199 | conditions are imposed on you (whether by court order, agreement or
200 | otherwise) that contradict the conditions of this License, they do not
201 | excuse you from the conditions of this License. If you cannot
202 | distribute so as to satisfy simultaneously your obligations under this
203 | License and any other pertinent obligations, then as a consequence you
204 | may not distribute the Program at all. For example, if a patent
205 | license would not permit royalty-free redistribution of the Program by
206 | all those who receive copies directly or indirectly through you, then
207 | the only way you could satisfy both it and this License would be to
208 | refrain entirely from distribution of the Program.
209 |
210 | If any portion of this section is held invalid or unenforceable under
211 | any particular circumstance, the balance of the section is intended to
212 | apply and the section as a whole is intended to apply in other
213 | circumstances.
214 |
215 | It is not the purpose of this section to induce you to infringe any
216 | patents or other property right claims or to contest validity of any
217 | such claims; this section has the sole purpose of protecting the
218 | integrity of the free software distribution system, which is
219 | implemented by public license practices. Many people have made
220 | generous contributions to the wide range of software distributed
221 | through that system in reliance on consistent application of that
222 | system; it is up to the author/donor to decide if he or she is willing
223 | to distribute software through any other system and a licensee cannot
224 | impose that choice.
225 |
226 | This section is intended to make thoroughly clear what is believed to
227 | be a consequence of the rest of this License.
228 |
229 | 8. If the distribution and/or use of the Program is restricted in
230 | certain countries either by patents or by copyrighted interfaces, the
231 | original copyright holder who places the Program under this License
232 | may add an explicit geographical distribution limitation excluding
233 | those countries, so that distribution is permitted only in or among
234 | countries not thus excluded. In such case, this License incorporates
235 | the limitation as if written in the body of this License.
236 |
237 | 9. The Free Software Foundation may publish revised and/or new versions
238 | of the General Public License from time to time. Such new versions will
239 | be similar in spirit to the present version, but may differ in detail to
240 | address new problems or concerns.
241 |
242 | Each version is given a distinguishing version number. If the Program
243 | specifies a version number of this License which applies to it and "any
244 | later version", you have the option of following the terms and conditions
245 | either of that version or of any later version published by the Free
246 | Software Foundation. If the Program does not specify a version number of
247 | this License, you may choose any version ever published by the Free Software
248 | Foundation.
249 |
250 | 10. If you wish to incorporate parts of the Program into other free
251 | programs whose distribution conditions are different, write to the author
252 | to ask for permission. For software which is copyrighted by the Free
253 | Software Foundation, write to the Free Software Foundation; we sometimes
254 | make exceptions for this. Our decision will be guided by the two goals
255 | of preserving the free status of all derivatives of our free software and
256 | of promoting the sharing and reuse of software generally.
257 |
258 | NO WARRANTY
259 |
260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268 | REPAIR OR CORRECTION.
269 |
270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278 | POSSIBILITY OF SUCH DAMAGES.
279 |
280 | END OF TERMS AND CONDITIONS
281 |
282 | How to Apply These Terms to Your New Programs
283 |
284 | If you develop a new program, and you want it to be of the greatest
285 | possible use to the public, the best way to achieve this is to make it
286 | free software which everyone can redistribute and change under these terms.
287 |
288 | To do so, attach the following notices to the program. It is safest
289 | to attach them to the start of each source file to most effectively
290 | convey the exclusion of warranty; and each file should have at least
291 | the "copyright" line and a pointer to where the full notice is found.
292 |
293 |
294 | Copyright (C)
295 |
296 | This program is free software; you can redistribute it and/or modify
297 | it under the terms of the GNU General Public License as published by
298 | the Free Software Foundation; either version 2 of the License, or
299 | (at your option) any later version.
300 |
301 | This program is distributed in the hope that it will be useful,
302 | but WITHOUT ANY WARRANTY; without even the implied warranty of
303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 | GNU General Public License for more details.
305 |
306 | You should have received a copy of the GNU General Public License along
307 | with this program; if not, write to the Free Software Foundation, Inc.,
308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309 |
310 | Also add information on how to contact you by electronic and paper mail.
311 |
312 | If the program is interactive, make it output a short notice like this
313 | when it starts in an interactive mode:
314 |
315 | Gnomovision version 69, Copyright (C) year name of author
316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 | This is free software, and you are welcome to redistribute it
318 | under certain conditions; type `show c' for details.
319 |
320 | The hypothetical commands `show w' and `show c' should show the appropriate
321 | parts of the General Public License. Of course, the commands you use may
322 | be called something other than `show w' and `show c'; they could even be
323 | mouse-clicks or menu items--whatever suits your program.
324 |
325 | You should also get your employer (if you work as a programmer) or your
326 | school, if any, to sign a "copyright disclaimer" for the program, if
327 | necessary. Here is a sample; alter the names:
328 |
329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 | `Gnomovision' (which makes passes at compilers) written by James Hacker.
331 |
332 | , 1 April 1989
333 | Ty Coon, President of Vice
334 |
335 | This General Public License does not permit incorporating your program into
336 | proprietary programs. If your program is a subroutine library, you may
337 | consider it more useful to permit linking proprietary applications with the
338 | library. If this is what you want to do, use the GNU Lesser General
339 | Public License instead of this License.
--------------------------------------------------------------------------------
/extension/resources/external/lzma-worker.min.js:
--------------------------------------------------------------------------------
1 | var e=function(){"use strict";function r(e,r){postMessage({action:xt,cbn:r,result:e})}function t(e){var r=[];return r[e-1]=void 0,r}function o(e,r){return i(e[0]+r[0],e[1]+r[1])}function n(e,r){return u(~~Math.max(Math.min(e[1]/Ot,2147483647),-2147483648)&~~Math.max(Math.min(r[1]/Ot,2147483647),-2147483648),c(e)&c(r))}function s(e,r){var t,o;return e[0]==r[0]&&e[1]==r[1]?0:(t=0>e[1],o=0>r[1],t&&!o?-1:!t&&o?1:h(e,r)[1]<0?-1:1)}function i(e,r){var t,o;for(r%=0x10000000000000000,e%=0x10000000000000000,t=r%Ot,o=Math.floor(e/Ot)*Ot,r=r-t+o,e=e-o+t;0>e;)e+=Ot,r-=Ot;for(;e>4294967295;)e-=Ot,r+=Ot;for(r%=0x10000000000000000;r>0x7fffffff00000000;)r-=0x10000000000000000;for(;-0x8000000000000000>r;)r+=0x10000000000000000;return[e,r]}function _(e,r){return e[0]==r[0]&&e[1]==r[1]}function a(e){return e>=0?[e,0]:[e+Ot,-Ot]}function c(e){return e[0]>=2147483648?~~Math.max(Math.min(e[0]-Ot,2147483647),-2147483648):~~Math.max(Math.min(e[0],2147483647),-2147483648)}function u(e,r){var t,o;return t=e*Ot,o=r,0>r&&(o+=Ot),[o,t]}function f(e){return 30>=e?1<e[1])throw Error("Neg");return s=f(r),o=e[1]*s%0x10000000000000000,n=e[0]*s,t=n-n%Ot,o+=t,n-=t,o>=0x8000000000000000&&(o-=0x10000000000000000),[n,o]}function d(e,r){var t;return r&=63,t=f(r),i(Math.floor(e[0]/t),e[1]/t)}function p(e,r){var t;return r&=63,t=d(e,r),0>e[1]&&(t=o(t,m([2,0],63-r))),t}function h(e,r){return i(e[0]-r[0],e[1]-r[1])}function P(e,r){return e.Mc=r,e.Lc=0,e.Yb=r.length,e}function l(e){return e.Lc>=e.Yb?-1:255&e.Mc[e.Lc++]}function v(e,r,t,o){return e.Lc>=e.Yb?-1:(o=Math.min(o,e.Yb-e.Lc),M(e.Mc,e.Lc,r,t,o),e.Lc+=o,o)}function B(e){return e.Mc=t(32),e.Yb=0,e}function S(e){var r=e.Mc;return r.length=e.Yb,r}function g(e,r){e.Mc[e.Yb++]=r<<24>>24}function k(e,r,t,o){M(r,t,e.Mc,e.Yb,o),e.Yb+=o}function R(e,r,t,o,n){var s;for(s=r;t>s;++s)o[n++]=e.charCodeAt(s)}function M(e,r,t,o,n){for(var s=0;n>s;++s)t[o+s]=e[r+s]}function D(e,r){Ar(r,1<a;a+=8)g(o,255&c(d(n,a)));r.yb=(_.W=0,_.oc=t,_.pc=0,Mr(_),_.d.Ab=o,Fr(_),wr(_),br(_),_.$.rb=_.n+1-2,Qr(_.$,1<<_.Y),_.i.rb=_.n+1-2,Qr(_.i,1<<_.Y),void(_.g=Gt),X({},_))}function w(e,r,t){return e.Nb=B({}),b(e,P({},r),e.Nb,a(r.length),t),e}function E(e,r,t){var o,n,s,i,_="",c=[];for(n=0;5>n;++n){if(s=l(r),-1==s)throw Error("truncated input");c[n]=s<<24>>24}if(o=ir({}),!ar(o,c))throw Error("corrupted input");for(n=0;64>n;n+=8){if(s=l(r),-1==s)throw Error("truncated input");s=s.toString(16),1==s.length&&(s="0"+s),_=s+""+_}/^0+$|^f+$/i.test(_)?e.Tb=At:(i=parseInt(_,16),e.Tb=i>4294967295?At:a(i)),e.yb=nr(o,r,t,e.Tb)}function L(e,r){return e.Nb=B({}),E(e,P({},r),e.Nb),e}function y(e,r,o,n){var s;e.Bc=r,e._b=o,s=r+o+n,(null==e.c||e.Kb!=s)&&(e.c=null,e.Kb=s,e.c=t(e.Kb)),e.H=e.Kb-o}function C(e,r){return e.c[e.f+e.o+r]}function z(e,r,t,o){var n,s;for(e.T&&e.o+r+o>e.h&&(o=e.h-(e.o+r)),++t,s=e.f+e.o+r,n=0;o>n&&e.c[s+n]==e.c[s+n-t];++n);return n}function F(e){return e.h-e.o}function I(e){var r,t,o;for(o=e.f+e.o-e.Bc,o>0&&--o,t=e.f+e.h-o,r=0;t>r;++r)e.c[r]=e.c[o+r];e.f-=o}function x(e){var r;++e.o,e.o>e.zb&&(r=e.f+e.o,r>e.H&&I(e),N(e))}function N(e){var r,t,o;if(!e.T)for(;;){if(o=-e.f+e.Kb-e.h,!o)return;if(r=v(e.cc,e.c,e.f+e.h,o),-1==r)return e.zb=e.h,t=e.f+e.zb,t>e.H&&(e.zb=e.H-e.f),void(e.T=1);e.h+=r,e.h>=e.o+e._b&&(e.zb=e.h-e._b)}}function O(e,r){e.f+=r,e.zb-=r,e.o-=r,e.h-=r}function A(e,r,o,n,s){var i,_,a;1073741567>r&&(e.Fc=16+(n>>1),a=~~((r+o+n+s)/2)+256,y(e,r+o,n+s,a),e.ob=n,i=r+1,e.p!=i&&(e.L=t(2*(e.p=i))),_=65536,e.qb&&(_=r-1,_|=_>>1,_|=_>>2,_|=_>>4,_|=_>>8,_>>=1,_|=65535,_>16777216&&(_>>=1),e.Ec=_,++_,_+=e.R),_!=e.rc&&(e.ub=t(e.rc=_)))}function H(e,r){var t,o,n,s,i,_,a,c,u,f,m,d,p,h,P,l,v,B,S,g,k;if(e.h>=e.o+e.ob)h=e.ob;else if(h=e.h-e.o,e.xb>h)return W(e),0;for(v=0,P=e.o>e.p?e.o-e.p:0,o=e.f+e.o,l=1,c=0,u=0,e.qb?(k=Tt[255&e.c[o]]^255&e.c[o+1],c=1023&k,k^=(255&e.c[o+2])<<8,u=65535&k,f=(k^Tt[255&e.c[o+3]]<<5)&e.Ec):f=255&e.c[o]^(255&e.c[o+1])<<8,n=e.ub[e.R+f]||0,e.qb&&(s=e.ub[c]||0,i=e.ub[1024+u]||0,e.ub[c]=e.o,e.ub[1024+u]=e.o,s>P&&e.c[e.f+s]==e.c[o]&&(r[v++]=l=2,r[v++]=e.o-s-1),i>P&&e.c[e.f+i]==e.c[o]&&(i==s&&(v-=2),r[v++]=l=3,r[v++]=e.o-i-1,s=i),0!=v&&s==n&&(v-=2,l=1)),e.ub[e.R+f]=e.o,S=(e.k<<1)+1,g=e.k<<1,d=p=e.w,0!=e.w&&n>P&&e.c[e.f+n+e.w]!=e.c[o+e.w]&&(r[v++]=l=e.w,r[v++]=e.o-n-1),t=e.Fc;;){if(P>=n||0==t--){e.L[S]=e.L[g]=0;break}if(a=e.o-n,_=(e.k>=a?e.k-a:e.k-a+e.p)<<1,B=e.f+n,m=p>d?d:p,e.c[B+m]==e.c[o+m]){for(;++m!=h&&e.c[B+m]==e.c[o+m];);if(m>l&&(r[v++]=l=m,r[v++]=a-1,m==h)){e.L[g]=e.L[_],e.L[S]=e.L[_+1];break}}(255&e.c[o+m])>(255&e.c[B+m])?(e.L[g]=n,g=_+1,n=e.L[g],p=m):(e.L[S]=n,S=_,n=e.L[S],d=m)}return W(e),v}function G(e){e.f=0,e.o=0,e.h=0,e.T=0,N(e),e.k=0,O(e,-1)}function W(e){var r;++e.k>=e.p&&(e.k=0),x(e),1073741823==e.o&&(r=e.o-e.p,T(e.L,2*e.p,r),T(e.ub,e.rc,r),O(e,r))}function T(e,r,t){var o,n;for(o=0;r>o;++o)n=e[o]||0,t>=n?n=0:n-=t,e[o]=n}function Z(e,r){e.qb=r>2,e.qb?(e.w=0,e.xb=4,e.R=66560):(e.w=2,e.xb=3,e.R=0)}function Y(e,r){var t,o,n,s,i,_,a,c,u,f,m,d,p,h,P,l,v;do{if(e.h>=e.o+e.ob)d=e.ob;else if(d=e.h-e.o,e.xb>d){W(e);continue}for(p=e.o>e.p?e.o-e.p:0,o=e.f+e.o,e.qb?(v=Tt[255&e.c[o]]^255&e.c[o+1],_=1023&v,e.ub[_]=e.o,v^=(255&e.c[o+2])<<8,a=65535&v,e.ub[1024+a]=e.o,c=(v^Tt[255&e.c[o+3]]<<5)&e.Ec):c=255&e.c[o]^(255&e.c[o+1])<<8,n=e.ub[e.R+c],e.ub[e.R+c]=e.o,P=(e.k<<1)+1,l=e.k<<1,f=m=e.w,t=e.Fc;;){if(p>=n||0==t--){e.L[P]=e.L[l]=0;break}if(i=e.o-n,s=(e.k>=i?e.k-i:e.k-i+e.p)<<1,h=e.f+n,u=m>f?f:m,e.c[h+u]==e.c[o+u]){for(;++u!=d&&e.c[h+u]==e.c[o+u];);if(u==d){e.L[l]=e.L[s],e.L[P]=e.L[s+1];break}}(255&e.c[o+u])>(255&e.c[h+u])?(e.L[l]=n,l=s+1,n=e.L[l],m=u):(e.L[P]=n,P=s,n=e.L[P],f=u)}W(e)}while(0!=--r)}function V(e,r,t){var o=e.o-r-1;for(0>o&&(o+=e.M);0!=t;--t)o>=e.M&&(o=0),e.Lb[e.o++]=e.Lb[o++],e.o>=e.M&&$(e)}function j(e,r){(null==e.Lb||e.M!=r)&&(e.Lb=t(r)),e.M=r,e.o=0,e.h=0}function $(e){var r=e.o-e.h;r&&(k(e.cc,e.Lb,e.h,r),e.o>=e.M&&(e.o=0),e.h=e.o)}function K(e,r){var t=e.o-r-1;return 0>t&&(t+=e.M),e.Lb[t]}function q(e,r){e.Lb[e.o++]=r,e.o>=e.M&&$(e)}function J(e){$(e),e.cc=null}function Q(e){return e-=2,4>e?e:3}function U(e){return 4>e?0:10>e?e-3:e-6}function X(e,r){return e.cb=r,e.Z=null,e.zc=1,e}function er(e,r){return e.Z=r,e.cb=null,e.zc=1,e}function rr(e){if(!e.zc)throw Error("bad state");return e.cb?or(e):tr(e),e.zc}function tr(e){var r=sr(e.Z);if(-1==r)throw Error("corrupted input");e.Pb=At,e.Pc=e.Z.g,(r||s(e.Z.Nc,Gt)>=0&&s(e.Z.g,e.Z.Nc)>=0)&&($(e.Z.B),J(e.Z.B),e.Z.e.Ab=null,e.zc=0)}function or(e){Rr(e.cb,e.cb.Xb,e.cb.uc,e.cb.Kc),e.Pb=e.cb.Xb[0],e.cb.Kc[0]&&(Or(e.cb),e.zc=0)}function nr(e,r,t,o){return e.e.Ab=r,J(e.B),e.B.cc=t,_r(e),e.U=0,e.ib=0,e.Jc=0,e.Ic=0,e.Qc=0,e.Nc=o,e.g=Gt,e.jc=0,er({},e)}function sr(e){var r,t,n,i,_,u;if(u=c(e.g)&e.Dc,vt(e.e,e.Gb,(e.U<<4)+u)){if(vt(e.e,e.Zb,e.U))n=0,vt(e.e,e.Cb,e.U)?(vt(e.e,e.Db,e.U)?(vt(e.e,e.Eb,e.U)?(t=e.Qc,e.Qc=e.Ic):t=e.Ic,e.Ic=e.Jc):t=e.Jc,e.Jc=e.ib,e.ib=t):vt(e.e,e.pb,(e.U<<4)+u)||(e.U=7>e.U?9:11,n=1),n||(n=mr(e.sb,e.e,u)+2,e.U=7>e.U?8:11);else if(e.Qc=e.Ic,e.Ic=e.Jc,e.Jc=e.ib,n=2+mr(e.Rb,e.e,u),e.U=7>e.U?7:10,_=at(e.kb[Q(n)],e.e),_>=4){if(i=(_>>1)-1,e.ib=(2|1&_)<_)e.ib+=ut(e.kc,e.ib-_-1,e.e,i);else if(e.ib+=Bt(e.e,i-4)<<4,e.ib+=ct(e.Fb,e.e),0>e.ib)return-1==e.ib?1:-1}else e.ib=_;if(s(a(e.ib),e.g)>=0||e.ib>=e.nb)return-1;V(e.B,e.ib,n),e.g=o(e.g,a(n)),e.jc=K(e.B,0)}else r=Pr(e.gb,c(e.g),e.jc),e.jc=7>e.U?vr(r,e.e):Br(r,e.e,K(e.B,e.ib)),q(e.B,e.jc),e.U=U(e.U),e.g=o(e.g,Wt);return 0}function ir(e){e.B={},e.e={},e.Gb=t(192),e.Zb=t(12),e.Cb=t(12),e.Db=t(12),e.Eb=t(12),e.pb=t(192),e.kb=t(4),e.kc=t(114),e.Fb=_t({},4),e.Rb=dr({}),e.sb=dr({}),e.gb={};for(var r=0;4>r;++r)e.kb[r]=_t({},6);return e}function _r(e){e.B.h=0,e.B.o=0,gt(e.Gb),gt(e.pb),gt(e.Zb),gt(e.Cb),gt(e.Db),gt(e.Eb),gt(e.kc),lr(e.gb);for(var r=0;4>r;++r)gt(e.kb[r].G);pr(e.Rb),pr(e.sb),gt(e.Fb.G),St(e.e)}function ar(e,r){var t,o,n,s,i,_,a;if(5>r.length)return 0;for(a=255&r[0],n=a%9,_=~~(a/9),s=_%5,i=~~(_/5),t=0,o=0;4>o;++o)t+=(255&r[1+o])<<8*o;return t>99999999||!ur(e,n,s,i)?0:cr(e,t)}function cr(e,r){return 0>r?0:(e.Ob!=r&&(e.Ob=r,e.nb=Math.max(e.Ob,1),j(e.B,Math.max(e.nb,4096))),1)}function ur(e,r,t,o){if(r>8||t>4||o>4)return 0;hr(e.gb,t,r);var n=1<e.O;++e.O)e.ec[e.O]=_t({},3),e.hc[e.O]=_t({},3)}function mr(e,r,t){if(!vt(r,e.wc,0))return at(e.ec[t],r);var o=8;return o+=vt(r,e.wc,1)?8+at(e.tc,r):at(e.hc[t],r)}function dr(e){return e.wc=t(2),e.ec=t(16),e.hc=t(16),e.tc=_t({},8),e.O=0,e}function pr(e){gt(e.wc);for(var r=0;e.O>r;++r)gt(e.ec[r].G),gt(e.hc[r].G);gt(e.tc.G)}function hr(e,r,o){var n,s;if(null==e.V||e.u!=o||e.I!=r)for(e.I=r,e.qc=(1<n;++n)e.V[n]=Sr({})}function Pr(e,r,t){return e.V[((r&e.qc)<>>8-e.u)]}function lr(e){var r,t;for(t=1<r;++r)gt(e.V[r].Ib)}function vr(e,r){var t=1;do t=t<<1|vt(r,e.Ib,t);while(256>t);return t<<24>>24}function Br(e,r,t){var o,n,s=1;do if(n=t>>7&1,t<<=1,o=vt(r,e.Ib,(1+n<<8)+s),s=s<<1|o,n!=o){for(;256>s;)s=s<<1|vt(r,e.Ib,s);break}while(256>s);return s<<24>>24}function Sr(e){return e.Ib=t(768),e}function gr(e,r){var t,o,n,s;e.jb=r,n=e.a[r].r,o=e.a[r].j;do e.a[r].t&&(st(e.a[n]),e.a[n].r=n-1,e.a[r].Ac&&(e.a[n-1].t=0,e.a[n-1].r=e.a[r].r2,e.a[n-1].j=e.a[r].j2)),s=n,t=o,o=e.a[s].j,n=e.a[s].r,e.a[s].j=t,e.a[s].r=r,r=s;while(r>0);return e.mb=e.a[0].j,e.q=e.a[0].r}function kr(e){e.l=0,e.J=0;for(var r=0;4>r;++r)e.v[r]=0}function Rr(e,r,t,n){var i,u,f,m,d,p,P,l,v,B,S,g,k,R,M;if(r[0]=Gt,t[0]=Gt,n[0]=1,e.oc&&(e.b.cc=e.oc,G(e.b),e.W=1,e.oc=null),!e.pc){if(e.pc=1,R=e.g,_(e.g,Gt)){if(!F(e.b))return void Er(e,c(e.g));xr(e),k=c(e.g)&e.y,kt(e.d,e.C,(e.l<<4)+k,0),e.l=U(e.l),f=C(e.b,-e.s),rt(Xr(e.A,c(e.g),e.J),e.d,f),e.J=f,--e.s,e.g=o(e.g,Wt)}if(!F(e.b))return void Er(e,c(e.g));for(;;){if(P=Lr(e,c(e.g)),B=e.mb,k=c(e.g)&e.y,u=(e.l<<4)+k,1==P&&-1==B)kt(e.d,e.C,u,0),f=C(e.b,-e.s),M=Xr(e.A,c(e.g),e.J),7>e.l?rt(M,e.d,f):(v=C(e.b,-e.v[0]-1-e.s),tt(M,e.d,v,f)),e.J=f,e.l=U(e.l);else{if(kt(e.d,e.C,u,1),4>B){if(kt(e.d,e.bb,e.l,1),B?(kt(e.d,e.hb,e.l,1),1==B?kt(e.d,e.Ub,e.l,0):(kt(e.d,e.Ub,e.l,1),kt(e.d,e.vc,e.l,B-2))):(kt(e.d,e.hb,e.l,0),1==P?kt(e.d,e._,u,0):kt(e.d,e._,u,1)),1==P?e.l=7>e.l?9:11:(Kr(e.i,e.d,P-2,k),e.l=7>e.l?8:11),m=e.v[B],0!=B){for(p=B;p>=1;--p)e.v[p]=e.v[p-1];e.v[0]=m}}else{for(kt(e.d,e.bb,e.l,0),e.l=7>e.l?7:10,Kr(e.$,e.d,P-2,k),B-=4,g=Tr(B),l=Q(P),mt(e.K[l],e.d,g),g>=4&&(d=(g>>1)-1,i=(2|1&g)<g?Pt(e.Sb,i-g-1,e.d,d,S):(Rt(e.d,S>>4,d-4),pt(e.S,e.d,15&S),++e.Qb)),m=B,p=3;p>=1;--p)e.v[p]=e.v[p-1];e.v[0]=m,++e.Mb}e.J=C(e.b,P-1-e.s)}if(e.s-=P,e.g=o(e.g,a(P)),!e.s){if(e.Mb>=128&&wr(e),e.Qb>=16&&br(e),r[0]=e.g,t[0]=Mt(e.d),!F(e.b))return void Er(e,c(e.g));if(s(h(e.g,R),[4096,0])>=0)return e.pc=0,void(n[0]=0)}}}}function Mr(e){var r,t;e.b||(r={},t=4,e.X||(t=2),Z(r,t),e.b=r),Ur(e.A,e.eb,e.fb),(e.ab!=e.wb||e.Hb!=e.n)&&(A(e.b,e.ab,4096,e.n,274),e.wb=e.ab,e.Hb=e.n)}function Dr(e){var r;for(e.v=t(4),e.a=[],e.d={},e.C=t(192),e.bb=t(12),e.hb=t(12),e.Ub=t(12),e.vc=t(12),e._=t(192),e.K=[],e.Sb=t(114),e.S=ft({},4),e.$=qr({}),e.i=qr({}),e.A={},e.m=[],e.P=[],e.lb=[],e.nc=t(16),e.x=t(4),e.Q=t(4),e.Xb=[Gt],e.uc=[Gt],e.Kc=[0],e.fc=t(5),e.yc=t(128),e.vb=0,e.X=1,e.D=0,e.Hb=-1,e.mb=0,r=0;4096>r;++r)e.a[r]={};for(r=0;4>r;++r)e.K[r]=ft({},6);return e}function br(e){for(var r=0;16>r;++r)e.nc[r]=ht(e.S,r);e.Qb=0}function wr(e){var r,t,o,n,s,i,_,a;for(n=4;128>n;++n)i=Tr(n),o=(i>>1)-1,r=(2|1&i)<s;++s){for(t=e.K[s],_=s<<6,i=0;e.$b>i;++i)e.P[_+i]=dt(t,i);for(i=14;e.$b>i;++i)e.P[_+i]+=(i>>1)-1-4<<6;for(a=128*s,n=0;4>n;++n)e.lb[a+n]=e.P[_+n];for(;128>n;++n)e.lb[a+n]=e.P[_+Tr(n)]+e.yc[n]}e.Mb=0}function Er(e,r){Nr(e),Wr(e,r&e.y);for(var t=0;5>t;++t)bt(e.d)}function Lr(e,r){var t,o,n,s,i,_,a,c,u,f,m,d,p,h,P,l,v,B,S,g,k,R,M,D,b,w,E,L,y,I,x,N,O,A,H,G,W,T,Z,Y,V,j,$,K,q,J,Q,X,er,rr;if(e.jb!=e.q)return p=e.a[e.q].r-e.q,e.mb=e.a[e.q].j,e.q=e.a[e.q].r,p;if(e.q=e.jb=0,e.N?(d=e.vb,e.N=0):d=xr(e),E=e.D,b=F(e.b)+1,2>b)return e.mb=-1,1;for(b>273&&(b=273),Y=0,u=0;4>u;++u)e.x[u]=e.v[u],e.Q[u]=z(e.b,-1,e.x[u],273),e.Q[u]>e.Q[Y]&&(Y=u);if(e.Q[Y]>=e.n)return e.mb=Y,p=e.Q[Y],Ir(e,p-1),p;if(d>=e.n)return e.mb=e.m[E-1]+4,Ir(e,d-1),d;if(a=C(e.b,-1),v=C(e.b,-e.v[0]-1-1),2>d&&a!=v&&2>e.Q[Y])return e.mb=-1,1;if(e.a[0].Hc=e.l,A=r&e.y,e.a[1].z=Yt[e.C[(e.l<<4)+A]>>>2]+nt(Xr(e.A,r,e.J),e.l>=7,v,a),st(e.a[1]),B=Yt[2048-e.C[(e.l<<4)+A]>>>2],Z=B+Yt[2048-e.bb[e.l]>>>2],v==a&&(V=Z+zr(e,e.l,A),e.a[1].z>V&&(e.a[1].z=V,it(e.a[1]))),m=d>=e.Q[Y]?d:e.Q[Y],2>m)return e.mb=e.a[1].j,1;e.a[1].r=0,e.a[0].bc=e.x[0],e.a[0].ac=e.x[1],e.a[0].dc=e.x[2],e.a[0].lc=e.x[3],f=m;do e.a[f--].z=268435455;while(f>=2);for(u=0;4>u;++u)if(T=e.Q[u],!(2>T)){G=Z+Cr(e,u,e.l,A);do s=G+Jr(e.i,T-2,A),x=e.a[T],x.z>s&&(x.z=s,x.r=0,x.j=u,x.t=0);while(--T>=2)}if(D=B+Yt[e.bb[e.l]>>>2],f=e.Q[0]>=2?e.Q[0]+1:2,d>=f){for(L=0;f>e.m[L];)L+=2;for(;c=e.m[L+1],s=D+yr(e,c,f,A),x=e.a[f],x.z>s&&(x.z=s,x.r=0,x.j=c+4,x.t=0),f!=e.m[L]||(L+=2,L!=E);++f);}for(t=0;;){if(++t,t==m)return gr(e,t);if(S=xr(e),E=e.D,S>=e.n)return e.vb=S,e.N=1,gr(e,t);if(++r,O=e.a[t].r,e.a[t].t?(--O,e.a[t].Ac?($=e.a[e.a[t].r2].Hc,$=4>e.a[t].j2?7>$?8:11:7>$?7:10):$=e.a[O].Hc,$=U($)):$=e.a[O].Hc,O==t-1?$=e.a[t].j?U($):7>$?9:11:(e.a[t].t&&e.a[t].Ac?(O=e.a[t].r2,N=e.a[t].j2,$=7>$?8:11):(N=e.a[t].j,$=4>N?7>$?8:11:7>$?7:10),I=e.a[O],4>N?N?1==N?(e.x[0]=I.ac,e.x[1]=I.bc,e.x[2]=I.dc,e.x[3]=I.lc):2==N?(e.x[0]=I.dc,e.x[1]=I.bc,e.x[2]=I.ac,e.x[3]=I.lc):(e.x[0]=I.lc,e.x[1]=I.bc,e.x[2]=I.ac,e.x[3]=I.dc):(e.x[0]=I.bc,e.x[1]=I.ac,e.x[2]=I.dc,e.x[3]=I.lc):(e.x[0]=N-4,e.x[1]=I.bc,e.x[2]=I.ac,e.x[3]=I.dc)),e.a[t].Hc=$,e.a[t].bc=e.x[0],e.a[t].ac=e.x[1],e.a[t].dc=e.x[2],e.a[t].lc=e.x[3],_=e.a[t].z,a=C(e.b,-1),v=C(e.b,-e.x[0]-1-1),A=r&e.y,o=_+Yt[e.C[($<<4)+A]>>>2]+nt(Xr(e.A,r,C(e.b,-2)),$>=7,v,a),R=e.a[t+1],g=0,R.z>o&&(R.z=o,R.r=t,R.j=-1,R.t=0,g=1),B=_+Yt[2048-e.C[($<<4)+A]>>>2],Z=B+Yt[2048-e.bb[$]>>>2],v!=a||t>R.r&&!R.j||(V=Z+(Yt[e.hb[$]>>>2]+Yt[e._[($<<4)+A]>>>2]),R.z>=V&&(R.z=V,R.r=t,R.j=0,R.t=0,g=1)),w=F(e.b)+1,w=w>4095-t?4095-t:w,b=w,!(2>b)){if(b>e.n&&(b=e.n),!g&&v!=a&&(q=Math.min(w-1,e.n),P=z(e.b,0,e.x[0],q),P>=2)){for(K=U($),H=r+1&e.y,M=o+Yt[2048-e.C[(K<<4)+H]>>>2]+Yt[2048-e.bb[K]>>>2],y=t+1+P;y>m;)e.a[++m].z=268435455;s=M+(J=Jr(e.i,P-2,H),J+Cr(e,0,K,H)),x=e.a[y],x.z>s&&(x.z=s,x.r=t+1,x.j=0,x.t=1,x.Ac=0)}for(j=2,W=0;4>W;++W)if(h=z(e.b,-1,e.x[W],b),!(2>h)){l=h;do{for(;t+h>m;)e.a[++m].z=268435455;s=Z+(Q=Jr(e.i,h-2,A),Q+Cr(e,W,$,A)),x=e.a[t+h],x.z>s&&(x.z=s,x.r=t,x.j=W,x.t=0)}while(--h>=2);if(h=l,W||(j=h+1),w>h&&(q=Math.min(w-1-h,e.n),P=z(e.b,h,e.x[W],q),P>=2)){for(K=7>$?8:11,H=r+h&e.y,n=Z+(X=Jr(e.i,h-2,A),X+Cr(e,W,$,A))+Yt[e.C[(K<<4)+H]>>>2]+nt(Xr(e.A,r+h,C(e.b,h-1-1)),1,C(e.b,h-1-(e.x[W]+1)),C(e.b,h-1)),K=U(K),H=r+h+1&e.y,k=n+Yt[2048-e.C[(K<<4)+H]>>>2],M=k+Yt[2048-e.bb[K]>>>2],y=h+1+P;t+y>m;)e.a[++m].z=268435455;s=M+(er=Jr(e.i,P-2,H),er+Cr(e,0,K,H)),x=e.a[t+y],x.z>s&&(x.z=s,x.r=t+h+1,x.j=0,x.t=1,x.Ac=1,x.r2=t,x.j2=W)}}if(S>b){for(S=b,E=0;S>e.m[E];E+=2);e.m[E]=S,E+=2}if(S>=j){for(D=B+Yt[e.bb[$]>>>2];t+S>m;)e.a[++m].z=268435455;for(L=0;j>e.m[L];)L+=2;for(h=j;;++h)if(i=e.m[L+1],s=D+yr(e,i,h,A),x=e.a[t+h],x.z>s&&(x.z=s,x.r=t,x.j=i+4,x.t=0),h==e.m[L]){if(w>h&&(q=Math.min(w-1-h,e.n),P=z(e.b,h,i,q),P>=2)){for(K=7>$?7:10,H=r+h&e.y,n=s+Yt[e.C[(K<<4)+H]>>>2]+nt(Xr(e.A,r+h,C(e.b,h-1-1)),1,C(e.b,h-(i+1)-1),C(e.b,h-1)),K=U(K),H=r+h+1&e.y,k=n+Yt[2048-e.C[(K<<4)+H]>>>2],M=k+Yt[2048-e.bb[K]>>>2],y=h+1+P;t+y>m;)e.a[++m].z=268435455;s=M+(rr=Jr(e.i,P-2,H),rr+Cr(e,0,K,H)),x=e.a[t+y],x.z>s&&(x.z=s,x.r=t+h+1,x.j=0,x.t=1,x.Ac=1,x.r2=t,x.j2=i+4)}if(L+=2,L==E)break}}}}}function yr(e,r,t,o){var n,s=Q(t);return n=128>r?e.lb[128*s+r]:e.P[(s<<6)+Zr(r)]+e.nc[15&r],n+Jr(e.$,t-2,o)}function Cr(e,r,t,o){var n;return r?(n=Yt[2048-e.hb[t]>>>2],1==r?n+=Yt[e.Ub[t]>>>2]:(n+=Yt[2048-e.Ub[t]>>>2],n+=wt(e.vc[t],r-2))):(n=Yt[e.hb[t]>>>2],n+=Yt[2048-e._[(t<<4)+o]>>>2]),n}function zr(e,r,t){return Yt[e.hb[r]>>>2]+Yt[e._[(r<<4)+t]>>>2]}function Fr(e){kr(e),Dt(e.d),gt(e.C),gt(e._),gt(e.bb),gt(e.hb),gt(e.Ub),gt(e.vc),gt(e.Sb),et(e.A);for(var r=0;4>r;++r)gt(e.K[r].G);jr(e.$,1<0&&(Y(e.b,r),e.s+=r)}function xr(e){var r=0;return e.D=H(e.b,e.m),e.D>0&&(r=e.m[e.D-2],r==e.n&&(r+=z(e.b,r-1,e.m[e.D-1],273-r))),++e.s,r}function Nr(e){e.b&&e.W&&(e.b.cc=null,e.W=0)}function Or(e){Nr(e),e.d.Ab=null}function Ar(e,r){e.ab=r;for(var t=0;r>1<>24;for(var t=0;4>t;++t)e.fc[1+t]=e.ab>>8*t<<24>>24;k(r,e.fc,0,5)}function Wr(e,r){if(e.Gc){kt(e.d,e.C,(e.l<<4)+r,1),kt(e.d,e.bb,e.l,0),e.l=7>e.l?7:10,Kr(e.$,e.d,0,r);var t=Q(2);mt(e.K[t],e.d,63),Rt(e.d,67108863,26),pt(e.S,e.d,15)}}function Tr(e){return 2048>e?Zt[e]:2097152>e?Zt[e>>10]+20:Zt[e>>20]+40}function Zr(e){return 131072>e?Zt[e>>6]+12:134217728>e?Zt[e>>16]+32:Zt[e>>26]+52}function Yr(e,r,t,o){8>t?(kt(r,e.db,0,0),mt(e.Vb[o],r,t)):(t-=8,kt(r,e.db,0,1),8>t?(kt(r,e.db,1,0),mt(e.Wb[o],r,t)):(kt(r,e.db,1,1),mt(e.ic,r,t-8)))}function Vr(e){e.db=t(2),e.Vb=t(16),e.Wb=t(16),e.ic=ft({},8);for(var r=0;16>r;++r)e.Vb[r]=ft({},3),e.Wb[r]=ft({},3);return e}function jr(e,r){gt(e.db);for(var t=0;r>t;++t)gt(e.Vb[t].G),gt(e.Wb[t].G);gt(e.ic.G)}function $r(e,r,t,o,n){var s,i,_,a,c;for(s=Yt[e.db[0]>>>2],i=Yt[2048-e.db[0]>>>2],_=i+Yt[e.db[1]>>>2],a=i+Yt[2048-e.db[1]>>>2],c=0,c=0;8>c;++c){if(c>=t)return;o[n+c]=s+dt(e.Vb[r],c)}for(;16>c;++c){if(c>=t)return;o[n+c]=_+dt(e.Wb[r],c-8)}for(;t>c;++c)o[n+c]=a+dt(e.ic,c-8-8)}function Kr(e,r,t,o){Yr(e,r,t,o),0==--e.sc[o]&&($r(e,o,e.rb,e.Cc,272*o),e.sc[o]=e.rb)}function qr(e){return Vr(e),e.Cc=[],e.sc=[],e}function Jr(e,r,t){return e.Cc[272*t+r]}function Qr(e,r){for(var t=0;r>t;++t)$r(e,t,e.rb,e.Cc,272*t),e.sc[t]=e.rb}function Ur(e,r,o){var n,s;if(null==e.V||e.u!=o||e.I!=r)for(e.I=r,e.qc=(1<n;++n)e.V[n]=ot({})}function Xr(e,r,t){return e.V[((r&e.qc)<>>8-e.u)]}function et(e){var r,t=1<r;++r)gt(e.V[r].tb)}function rt(e,r,t){var o,n,s=1;for(n=7;n>=0;--n)o=t>>n&1,kt(r,e.tb,s,o),s=s<<1|o}function tt(e,r,t,o){var n,s,i,_,a=1,c=1;for(s=7;s>=0;--s)n=o>>s&1,_=c,a&&(i=t>>s&1,_+=1+i<<8,a=i==n),kt(r,e.tb,_,n),c=c<<1|n}function ot(e){return e.tb=t(768),e}function nt(e,r,t,o){var n,s,i=1,_=7,a=0;if(r)for(;_>=0;--_)if(s=t>>_&1,n=o>>_&1,a+=wt(e.tb[(1+s<<8)+i],n),i=i<<1|n,s!=n){--_;break}for(;_>=0;--_)n=o>>_&1,a+=wt(e.tb[i],n),i=i<<1|n;return a}function st(e){e.j=-1,e.t=0}function it(e){e.j=0,e.t=0}function _t(e,r){return e.F=r,e.G=t(1<o;++o)t=vt(r,e.G,n),n<<=1,n+=t,s|=t<s;++s)n=vt(t,e,r+i),i<<=1,i+=n,_|=n<>>n&1,kt(r,e.G,s,o),s=s<<1|o}function dt(e,r){var t,o,n=1,s=0;for(o=e.F;0!=o;)--o,t=r>>>o&1,s+=wt(e.G[n],t),n=(n<<1)+t;return s}function pt(e,r,t){var o,n,s=1;for(n=0;e.F>n;++n)o=1&t,kt(r,e.G,s,o),s=s<<1|o,t>>=1}function ht(e,r){var t,o,n=1,s=0;for(o=e.F;0!=o;--o)t=1&r,r>>>=1,s+=wt(e.G[n],t),n=n<<1|t;return s}function Pt(e,r,t,o,n){var s,i,_=1;for(i=0;o>i;++i)s=1&n,kt(t,e,r+_,s),_=_<<1|s,n>>=1}function lt(e,r,t,o){var n,s,i=1,_=0;for(s=t;0!=s;--s)n=1&o,o>>>=1,_+=Yt[(2047&(e[r+i]-n^-n))>>>2],i=i<<1|n;return _}function vt(e,r,t){var o,n=r[t];return o=(e.E>>>11)*n,(-2147483648^o)>(-2147483648^e.Bb)?(e.E=o,r[t]=n+(2048-n>>>5)<<16>>16,-16777216&e.E||(e.Bb=e.Bb<<8|l(e.Ab),e.E<<=8),0):(e.E-=o,e.Bb-=o,r[t]=n-(n>>>5)<<16>>16,-16777216&e.E||(e.Bb=e.Bb<<8|l(e.Ab),e.E<<=8),1)}function Bt(e,r){var t,o,n=0;for(t=r;0!=t;--t)e.E>>>=1,o=e.Bb-e.E>>>31,e.Bb-=e.E&o-1,n=n<<1|1-o,-16777216&e.E||(e.Bb=e.Bb<<8|l(e.Ab),e.E<<=8);return n}function St(e){e.Bb=0,e.E=-1;for(var r=0;5>r;++r)e.Bb=e.Bb<<8|l(e.Ab)}function gt(e){for(var r=e.length-1;r>=0;--r)e[r]=1024}function kt(e,r,t,s){var i,_=r[t];i=(e.E>>>11)*_,s?(e.xc=o(e.xc,n(a(i),[4294967295,0])),e.E-=i,r[t]=_-(_>>>5)<<16>>16):(e.E=i,r[t]=_+(2048-_>>>5)<<16>>16),-16777216&e.E||(e.E<<=8,bt(e))}function Rt(e,r,t){for(var n=t-1;n>=0;--n)e.E>>>=1,1==(r>>>n&1)&&(e.xc=o(e.xc,a(e.E))),-16777216&e.E||(e.E<<=8,bt(e))}function Mt(e){return o(o(a(e.Jb),e.mc),[4,0])}function Dt(e){e.mc=Gt,e.xc=Gt,e.E=-1,e.Jb=1,e.Oc=0}function bt(e){var r,t=c(p(e.xc,32));if(0!=t||s(e.xc,[4278190080,0])<0){e.mc=o(e.mc,a(e.Jb)),r=e.Oc;do g(e.Ab,r+t),r=255;while(0!=--e.Jb);e.Oc=c(e.xc)>>>24}++e.Jb,e.xc=m(n(e.xc,[16777215,0]),8)}function wt(e,r){return Yt[(2047&(e-r^-r))>>>2]}function Et(e){for(var r,t,o,n=0,s=0,i=e.length,_=[],a=[];i>n;++n,++s){if(r=255&e[n],128&r)if(192==(224&r)){if(n+1>=i)return e;if(t=255&e[++n],128!=(192&t))return e;a[s]=(31&r)<<6|63&t}else{if(224!=(240&r))return e;
2 | if(n+2>=i)return e;if(t=255&e[++n],128!=(192&t))return e;if(o=255&e[++n],128!=(192&o))return e;a[s]=(15&r)<<12|(63&t)<<6|63&o}else{if(!r)return e;a[s]=r}16383==s&&(_.push(String.fromCharCode.apply(String,a)),s=-1)}return s>0&&(a.length=s,_.push(String.fromCharCode.apply(String,a))),_.join("")}function Lt(e){var r,t,o,n=[],s=0,i=e.length;if("object"==typeof e)return e;for(R(e,0,i,n,0),o=0;i>o;++o)r=n[o],r>=1&&127>=r?++s:s+=!r||r>=128&&2047>=r?2:3;for(t=[],s=0,o=0;i>o;++o)r=n[o],r>=1&&127>=r?t[s++]=r<<24>>24:!r||r>=128&&2047>=r?(t[s++]=(192|r>>6&31)<<24>>24,t[s++]=(128|63&r)<<24>>24):(t[s++]=(224|r>>12&15)<<24>>24,t[s++]=(128|r>>6&63)<<24>>24,t[s++]=(128|63&r)<<24>>24);return t}function yt(e){return e[1]+e[0]}function Ct(e,t,o,n){function s(){try{for(var e,r=(new Date).getTime();rr(a.c.yb);)if(i=yt(a.c.yb.Pb)/yt(a.c.Tb),(new Date).getTime()-r>200)return n(i),Nt(s,0),0;n(1),e=S(a.c.Nb),Nt(o.bind(null,e),0)}catch(t){o(null,t)}}var i,_,a={},c=void 0===o&&void 0===n;if("function"!=typeof o&&(_=o,o=n=0),n=n||function(e){return void 0!==_?r(e,_):void 0},o=o||function(e,r){return void 0!==_?postMessage({action:Ft,cbn:_,result:e,error:r}):void 0},c){for(a.c=w({},Lt(e),Vt(t));rr(a.c.yb););return S(a.c.Nb)}try{a.c=w({},Lt(e),Vt(t)),n(0)}catch(u){return o(null,u)}Nt(s,0)}function zt(e,t,o){function n(){try{for(var e,r=0,i=(new Date).getTime();rr(c.d.yb);)if(++r%1e3==0&&(new Date).getTime()-i>200)return _&&(s=yt(c.d.yb.Z.g)/a,o(s)),Nt(n,0),0;o(1),e=Et(S(c.d.Nb)),Nt(t.bind(null,e),0)}catch(u){t(null,u)}}var s,i,_,a,c={},u=void 0===t&&void 0===o;if("function"!=typeof t&&(i=t,t=o=0),o=o||function(e){return void 0!==i?r(_?e:-1,i):void 0},t=t||function(e,r){return void 0!==i?postMessage({action:It,cbn:i,result:e,error:r}):void 0},u){for(c.d=L({},e);rr(c.d.yb););return Et(S(c.d.Nb))}try{c.d=L({},e),a=yt(c.d.Tb),_=a>-1,o(0)}catch(f){return t(null,f)}Nt(n,0)}var Ft=1,It=2,xt=3,Nt="function"==typeof setImmediate?setImmediate:setTimeout,Ot=4294967296,At=[4294967295,-Ot],Ht=[0,-0x8000000000000000],Gt=[0,0],Wt=[1,0],Tt=function(){var e,r,t,o=[];for(e=0;256>e;++e){for(t=e,r=0;8>r;++r)0!=(1&t)?t=t>>>1^-306674912:t>>>=1;o[e]=t}return o}(),Zt=function(){var e,r,t,o=2,n=[0,1];for(t=2;22>t;++t)for(r=1<<(t>>1)-1,e=0;r>e;++e,++o)n[o]=t<<24>>24;return n}(),Yt=function(){var e,r,t,o,n=[];for(r=8;r>=0;--r)for(o=1<<9-r-1,e=1<<9-r,t=o;e>t;++t)n[t]=(r<<6)+(e-t<<6>>>9-r-1);return n}(),Vt=function(){var e=[{s:16,f:64,m:0},{s:20,f:64,m:0},{s:19,f:64,m:1},{s:20,f:64,m:1},{s:21,f:128,m:1},{s:22,f:128,m:1},{s:23,f:128,m:1},{s:24,f:255,m:1},{s:25,f:255,m:1}];return function(r){return e[r-1]||e[6]}}();return"undefined"==typeof onmessage||"undefined"!=typeof window&&void 0!==window.document||!function(){onmessage=function(r){r&&r.gc&&(r.gc.action==It?e.decompress(r.gc.gc,r.gc.cbn):r.gc.action==Ft&&e.compress(r.gc.gc,r.gc.Rc,r.gc.cbn))}}(),{compress:Ct,decompress:zt}}();this.LZMA=this.LZMA_WORKER=e;
--------------------------------------------------------------------------------