Commit 306fedd0 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch...

Merge branch '512-suchergebnisse-sollen-in-einer-box-zwischengespeichert-werden-konnen' into 'development'

Erste Version der neuen Speicherbox

Closes #512

See merge request !896
parents 429110ea 6fc18c2f
......@@ -51,7 +51,6 @@ class Searcher implements ShouldQueue
$this->counter = 0; // Counts the number of answered jobs
$time = microtime(true);
while(true){
Log:info("Durchlauf");
// Update the expire
Redis::expire($this->name, 5);
Redis::expire($this->name . ".stats", 5);
......
......@@ -22,7 +22,7 @@ elixir(function (mix) {
| scriptStartPage.js
| settings.js
*/
mix.scripts(['lib/jquery.js', 'lib/bootstrap.js', 'lib/lightslider.js', 'lib/masonry.js', 'lib/imagesloaded.js', 'lib/openpgp.min.js', 'lib/iframeResizer.min.js'], 'public/js/lib.js')
mix.scripts(['lib/jquery.js', 'lib/bootstrap.js', 'lib/lightslider.js', 'lib/masonry.js', 'lib/imagesloaded.js', 'lib/openpgp.min.js', 'lib/iframeResizer.min.js', 'lib/md5.js'], 'public/js/lib.js')
mix.scripts(['lib/jquery.js', 'lib/iframeResizer.contentWindow.min.js'], 'public/js/quicktips.js')
mix.version(['css/themes/default.css', 'js/lib.js', 'js/quicktips.js'])
mix.less('metager/beitritt.less', 'public/css/beitritt.css')
......
{"version":3,"sources":["beitritt.less","beitritt.css"],"names":[],"mappings":"AAAA;EACI;IACI,uBAAA;IACA,YAAA;IACA,aAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,0BAAA;GCCL;EDCC;IACI,0BAAA;GCCL;EDCC;;IACI,uBAAA;IACA,wBAAA;IACA,2BAAA;IACA,UAAA;GCEL;EDAC;IACI,uBAAA;IACA,wBAAA;IACA,8BAAA;GCEL;EDAC;IACI,iBAAA;GCEL;EDAC;IACI,iBAAA;GCEL;EDAC;IACI,yBAAA;IACA,0BAAA;GCEL;EACD,6DAA6D;EDA3D;IACI,sBAAA;IACA,2BAAA;IACA,0BAAA;IACA,8BAAA;IACA,yBAAA;IACA,uBAAA;IACA,wBAAA;IACA,2BAAA;IACA,4BAAA;GCEL;EDAC;ICEA,qBAAqB;IDAjB,8BAAA;GCEL;EDAC;ICEA,6BAA6B;IDAzB,8BAAA;GCEL;EDAC;ICEA,yBAAyB;IDArB,8BAAA;GCEL;EDAC;ICEA,2BAA2B;IDAvB,8BAAA;GCEL;EDAC;IACI,0BAAA;GCEL;CACF","file":"beitritt.css","sourcesContent":["@media print {\n .container {\n width: auto !important;\n margin: 0px;\n padding: 0px;\n }\n hr {\n display: none !important;\n }\n #spendenaufruf {\n display: none !important;\n }\n header {\n display: none !important;\n }\n footer {\n display: none !important;\n }\n .wrapper {\n padding-top: 0 !important;\n }\n * {\n font-size: 12px!important;\n }\n input[type=text], input[type=email] {\n margin: 0px !important;\n padding: 0px !important;\n height: initial !important;\n border: 0;\n }\n .beitritt-form-group {\n margin: 0px !important;\n padding: 0px !important;\n margin-bottom: 0px !important;\n }\n .sign {\n margin-top: 10px;\n }\n .donation-amount-input {\n padding-top: 5px;\n }\n h1 {\n margin-top: 0 !important;\n padding-top: 0 !important;\n }\n /* Skalierung für Firefox, absolut für die anderen Browser */\n input[type=radio] {\n transform: scale(0.5);\n -moz-transform: scale(0.5);\n -ms-transform: scale(0.5);\n -webkit-transform: scale(0.5);\n -o-transform: scale(0.5);\n width: 20px !important;\n height: 20px !important;\n margin-top: 0px !important;\n padding-top: 0px !important;\n }\n input::-webkit-input-placeholder {\n /* WebKit browsers */\n color: transparent !important;\n }\n input:-moz-placeholder {\n /* Mozilla Firefox 4 to 18 */\n color: transparent !important;\n }\n input::-moz-placeholder {\n /* Mozilla Firefox 19+ */\n color: transparent !important;\n }\n input:-ms-input-placeholder {\n /* Internet Explorer 10+ */\n color: transparent !important;\n }\n .pagebreak {\n page-break-before: always;\n }\n}","@media print {\n .container {\n width: auto !important;\n margin: 0px;\n padding: 0px;\n }\n hr {\n display: none !important;\n }\n #spendenaufruf {\n display: none !important;\n }\n header {\n display: none !important;\n }\n footer {\n display: none !important;\n }\n .wrapper {\n padding-top: 0 !important;\n }\n * {\n font-size: 12px!important;\n }\n input[type=text],\n input[type=email] {\n margin: 0px !important;\n padding: 0px !important;\n height: initial !important;\n border: 0;\n }\n .beitritt-form-group {\n margin: 0px !important;\n padding: 0px !important;\n margin-bottom: 0px !important;\n }\n .sign {\n margin-top: 10px;\n }\n .donation-amount-input {\n padding-top: 5px;\n }\n h1 {\n margin-top: 0 !important;\n padding-top: 0 !important;\n }\n /* Skalierung für Firefox, absolut für die anderen Browser */\n input[type=radio] {\n transform: scale(0.5);\n -moz-transform: scale(0.5);\n -ms-transform: scale(0.5);\n -webkit-transform: scale(0.5);\n -o-transform: scale(0.5);\n width: 20px !important;\n height: 20px !important;\n margin-top: 0px !important;\n padding-top: 0px !important;\n }\n input::-webkit-input-placeholder {\n /* WebKit browsers */\n color: transparent !important;\n }\n input:-moz-placeholder {\n /* Mozilla Firefox 4 to 18 */\n color: transparent !important;\n }\n input::-moz-placeholder {\n /* Mozilla Firefox 19+ */\n color: transparent !important;\n }\n input:-ms-input-placeholder {\n /* Internet Explorer 10+ */\n color: transparent !important;\n }\n .pagebreak {\n page-break-before: always;\n }\n}\n"]}
\ No newline at end of file
{"version":3,"sources":["beitritt.less","beitritt.css"],"names":[],"mappings":"AAAA;EACI;IACI,uBAAA;IACA,YAAA;IACA,aAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,0BAAA;GCCL;EDCC;IACI,0BAAA;GCCL;EDCC;;IACI,uBAAA;IACA,wBAAA;IACA,2BAAA;IACA,UAAA;GCEL;EDAC;IACI,uBAAA;IACA,wBAAA;IACA,8BAAA;GCEL;EDAC;IACI,iBAAA;GCEL;EDAC;IACI,iBAAA;GCEL;EDAC;IACI,yBAAA;IACA,0BAAA;GCEL;EACD,6DAA6D;EDA3D;IACI,sBAAA;IACA,2BAAA;IACA,0BAAA;IACA,8BAAA;IACA,yBAAA;IACA,uBAAA;IACA,wBAAA;IACA,2BAAA;IACA,4BAAA;GCEL;EDAC;ICEA,qBAAqB;IDAjB,8BAAA;GCEL;EDAC;ICEA,6BAA6B;IDAzB,8BAAA;GCEL;EDAC;ICEA,yBAAyB;IDArB,8BAAA;GCEL;EDAC;ICEA,2BAA2B;IDAvB,8BAAA;GCEL;EDAC;IACI,0BAAA;GCEL;CACF","file":"beitritt.css","sourcesContent":["@media print {\r\n .container {\r\n width: auto !important;\r\n margin: 0px;\r\n padding: 0px;\r\n }\r\n hr {\r\n display: none !important;\r\n }\r\n #spendenaufruf {\r\n display: none !important;\r\n }\r\n header {\r\n display: none !important;\r\n }\r\n footer {\r\n display: none !important;\r\n }\r\n .wrapper {\r\n padding-top: 0 !important;\r\n }\r\n * {\r\n font-size: 12px!important;\r\n }\r\n input[type=text], input[type=email] {\r\n margin: 0px !important;\r\n padding: 0px !important;\r\n height: initial !important;\r\n border: 0;\r\n }\r\n .beitritt-form-group {\r\n margin: 0px !important;\r\n padding: 0px !important;\r\n margin-bottom: 0px !important;\r\n }\r\n .sign {\r\n margin-top: 10px;\r\n }\r\n .donation-amount-input {\r\n padding-top: 5px;\r\n }\r\n h1 {\r\n margin-top: 0 !important;\r\n padding-top: 0 !important;\r\n }\r\n /* Skalierung für Firefox, absolut für die anderen Browser */\r\n input[type=radio] {\r\n transform: scale(0.5);\r\n -moz-transform: scale(0.5);\r\n -ms-transform: scale(0.5);\r\n -webkit-transform: scale(0.5);\r\n -o-transform: scale(0.5);\r\n width: 20px !important;\r\n height: 20px !important;\r\n margin-top: 0px !important;\r\n padding-top: 0px !important;\r\n }\r\n input::-webkit-input-placeholder {\r\n /* WebKit browsers */\r\n color: transparent !important;\r\n }\r\n input:-moz-placeholder {\r\n /* Mozilla Firefox 4 to 18 */\r\n color: transparent !important;\r\n }\r\n input::-moz-placeholder {\r\n /* Mozilla Firefox 19+ */\r\n color: transparent !important;\r\n }\r\n input:-ms-input-placeholder {\r\n /* Internet Explorer 10+ */\r\n color: transparent !important;\r\n }\r\n .pagebreak {\r\n page-break-before: always;\r\n }\r\n}","@media print {\n .container {\n width: auto !important;\n margin: 0px;\n padding: 0px;\n }\n hr {\n display: none !important;\n }\n #spendenaufruf {\n display: none !important;\n }\n header {\n display: none !important;\n }\n footer {\n display: none !important;\n }\n .wrapper {\n padding-top: 0 !important;\n }\n * {\n font-size: 12px!important;\n }\n input[type=text],\n input[type=email] {\n margin: 0px !important;\n padding: 0px !important;\n height: initial !important;\n border: 0;\n }\n .beitritt-form-group {\n margin: 0px !important;\n padding: 0px !important;\n margin-bottom: 0px !important;\n }\n .sign {\n margin-top: 10px;\n }\n .donation-amount-input {\n padding-top: 5px;\n }\n h1 {\n margin-top: 0 !important;\n padding-top: 0 !important;\n }\n /* Skalierung für Firefox, absolut für die anderen Browser */\n input[type=radio] {\n transform: scale(0.5);\n -moz-transform: scale(0.5);\n -ms-transform: scale(0.5);\n -webkit-transform: scale(0.5);\n -o-transform: scale(0.5);\n width: 20px !important;\n height: 20px !important;\n margin-top: 0px !important;\n padding-top: 0px !important;\n }\n input::-webkit-input-placeholder {\n /* WebKit browsers */\n color: transparent !important;\n }\n input:-moz-placeholder {\n /* Mozilla Firefox 4 to 18 */\n color: transparent !important;\n }\n input::-moz-placeholder {\n /* Mozilla Firefox 19+ */\n color: transparent !important;\n }\n input:-ms-input-placeholder {\n /* Internet Explorer 10+ */\n color: transparent !important;\n }\n .pagebreak {\n page-break-before: always;\n }\n}\n"]}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5,6 +5,7 @@ $(document).ready(function () {
var custom = $('#foki > li.active').hasClass('custom-focus-tab-selector');
getDocumentReadyForUse(focus, custom);
botProtection();
new Results(); // Adds the saved Results if they are present
});
function activateJSOnlyContent () {
......@@ -65,6 +66,8 @@ function pluginInfo () {
}
}
function theme () {
if (localStorage) {
var theme = localStorage.getItem('theme');
......@@ -513,3 +516,229 @@ function initialLoadContent (fokus) {
getDocumentReadyForUse(fokus);
});
}
/*
* This object gathers all stored Result Objects and can Update the Interface to show them.
*/
function Results(option){
if(!localStorage) return;
this.prefix = "result_";
this.results = [];
this.updateResults(option);
this.updateInterface();
}
Results.prototype.updateResults = function(option){
// Iterate over all Keys in the LocalStorage
for(var i = 0; i < localStorage.length; i++){
if(localStorage.key(i).indexOf(this.prefix) === 0){
var key = localStorage.key(i);
key = key.substr(this.prefix.length);
var tmpResult = new Result(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, key);
tmpResult.setIndex(i);
if(option !== undefined && option === "remove"){
localStorage.removeItem(key);
}else{
this.results.push(tmpResult);
}
}
}
}
Results.prototype.updateInterface = function(){
if($("#savedFokiTabSelector").length === 0){
var savedFoki = $('\
<li id="savedFokiTabSelector" data-loaded="1" class="tab-selector" role="presentation">\
<a aria-controls="savedFoki" href="#savedFoki" role="tab" data-toggle="tab">\
<span class="glyphicon glyphicon-floppy-disk"></span> gespeicherte Ergebnisse\
</a>\
</li>\
');
$("#foki").append(savedFoki);
}
if($("#savedFoki").length === 0){
// Now append the Tab Panel
var tabPanel = $('\
<div role="tabpanel" class="tab-pane" id="savedFoki">\
</div>\
');
$("#main-content-tabs").append(tabPanel);
}else{
$("#savedFoki").html("");
var tabPanel = $("#savedFoki");
}
if(this.results.length > 0) this.addToContainer(tabPanel);
}
Results.prototype.addToContainer = function(container){
$.each(this.results, function(index, result){
$(container).append(result.toHtml());
});
var options = $('\
<div class="saver-options row">\
<input class="form-control" type="text" placeholder="Filtern">\
<button class="btn btn-danger btn-md"><span class="glyphicon glyphicon-trash"></span> Alle Ergebnisse aus dem Speicher entfernen</button>\
</div>\
');
$(container).prepend(options);
$(options).find("button").click(function(){
new Results("remove");
});
$(options).find("input").keyup(function(){
var search = $(this).val();
$("#savedFoki > div.result").each(function(index, value){
var html = $(this).html();
if(html.indexOf(search) === -1){
$(value).addClass("hidden");
}else{
$(value).removeClass("hidden");
}
});
});
}
function resultSaver(index) {
var title = $(".result[data-count=" + index + "] a.title").html();
var link = $(".result[data-count=" + index + "] a.title").attr("href");
var anzeigeLink = $(".result[data-count=" + index + "] div.link-link > a").html();
var gefVon = $(".result[data-count=" + index + "] span.hoster").html();
var hoster = $(".result[data-count=" + index + "] a.title").attr("data-hoster");
var anonym = $(".result[data-count=" + index + "] a.proxy").attr("href");
var description = $(".result[data-count=" + index + "] div.description").html();
var color = $(".result[data-count=" + index + "] div.number").css("color");
new Result(title, link, anzeigeLink, gefVon, hoster, anonym, description, color, undefined);
new Results();
}
function Result(title, link, anzeigeLink, gefVon, hoster, anonym, description, color, hash){
this.prefix = "result_"; // Präfix for the localStorage so we can find all Items
if(hash !== null && hash !== undefined){
this.hash = hash;
this.load();
}else{
this.hash = MD5(title + link + anzeigeLink + gefVon + hoster + anonym + description);
this.title = title;
this.link = link;
this.anzeigeLink = anzeigeLink;
this.gefVon = gefVon;
this.hoster = hoster;
this.anonym = anonym;
this.description = description;
this.color = color;
this.save();
}
}
Result.prototype.load = function(){
if(localStorage){
var result = localStorage.getItem(this. prefix + this.hash);
if(result === null) return false;
result = b64DecodeUnicode(result);
result = JSON.parse(result);
this.title = result.title;
this.link = result.link;
this.anzeigeLink = result.anzeigeLink;
this.gefVon = result.gefVon;
this.hoster = result.hoster;
this.anonym = result.anonym;
this.description = result.description;
this.color = result.color;
return true;
}else{
return false;
}
}
Result.prototype.save = function(){
/*
* This function will save the data of this Result to the LocalStorage
*/
if(localStorage){
var result = {
title: this.title,
link: this.link,
anzeigeLink: this.anzeigeLink,
gefVon: this.gefVon,
hoster: this.hoster,
anonym: this.anonym,
description: this.description,
color: this.color,
};
result = JSON.stringify(result);
result = b64EncodeUnicode(result);
localStorage.setItem(this.prefix + this.hash, result);
return true;
}else{
return false;
}
}
function b64EncodeUnicode(str) {
return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function(match, p1) {
return String.fromCharCode('0x' + p1);
}));
}
function b64DecodeUnicode(str) {
return decodeURIComponent(Array.prototype.map.call(atob(str), function(c) {
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
}).join(''));
}
Result.prototype.setIndex = function(index){
this.index = index;
}
Result.prototype.remove = function(){
localStorage.removeItem(this.prefix + this.hash);
new Results();
}
Result.prototype.toHtml = function(){
var result = $('\
<div class="result row">\
<div class="col-sm-1 glyphicon glyphicon-trash remover" title="Ergebnis aus dem Speicher löschen">\
</div>\
<div class="resultInformation col-xs-12 col-sm-11">\
<div class="col-xs-10 col-sm-11" style="padding:0; ">\
<p class="title">\
<a class="title" href="' + this.link + '" target="_blank" data-hoster="' + this.hoster + '" data-count="1" rel="noopener">\
' + this.title + '\
</a>\
</p>\
<div class="link">\
<div>\
<div class="link-link">\
<a href="' + this.link + '" target="_blank" data-hoster="' + this.hoster + '" data-count="' + this.index + '" rel="noopener">\
' + this.anzeigeLink + '\
</a>\
</div>\
</div>\
<span class="hoster">\
' + this.gefVon + '\
</span>\
<a class="proxy" onmouseover="$(this).popover(\'show\');" onmouseout="$(this).popover(\'hide\');" data-toggle="popover" data-placement="auto right" data-container="body" data-content="Der Link wird anonymisiert geöffnet. Ihre Daten werden nicht zum Zielserver übertragen. Möglicherweise funktionieren manche Webseiten nicht wie gewohnt." href="' + this.proxy + '" target="_blank" rel="noopener" data-original-title="" title="">\
<img src="/img/proxyicon.png" alt="">\
anonym öffnen\
</a>\
</div>\
</div>\
<div class="description">' + this.description + '</div>\
</div>\
</div>');
$(result).find(".remover").click({caller: this}, function(event){
event.data.caller.remove();
});
return result;
}
{
"js/editLanguage.js": "js/editLanguage-70b5475eac.js",
"js/kontakt.js": "js/kontakt-04d1236ae0.js",
"js/scriptResultPage.js": "js/scriptResultPage-03ed615a1e.js",
"js/scriptStartPage.js": "js/scriptStartPage-11a18cf6ce.js",
"js/settings.js": "js/settings-079df50ae4.js",
"js/widgets.js": "js/widgets-783b8fadc2.js"
"js/editLanguage.js": "js/editLanguage-86f3614c41.js",
"js/kontakt.js": "js/kontakt-31431155fb.js",
"js/scriptResultPage.js": "js/scriptResultPage-a3d93e9366.js",
"js/scriptStartPage.js": "js/scriptStartPage-26e1d79535.js",
"js/settings.js": "js/settings-e700ee9828.js",
"js/widgets.js": "js/widgets-858904fda2.js"
}
\ No newline at end of file
{"version":3,"sources":["beitritt.less","beitritt.css"],"names":[],"mappings":"AAAA;EACI;IACI,uBAAA;IACA,YAAA;IACA,aAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,0BAAA;GCCL;EDCC;IACI,0BAAA;GCCL;EDCC;;IACI,uBAAA;IACA,wBAAA;IACA,2BAAA;IACA,UAAA;GCEL;EDAC;IACI,uBAAA;IACA,wBAAA;IACA,8BAAA;GCEL;EDAC;IACI,iBAAA;GCEL;EDAC;IACI,iBAAA;GCEL;EDAC;IACI,yBAAA;IACA,0BAAA;GCEL;EACD,6DAA6D;EDA3D;IACI,sBAAA;IACA,2BAAA;IACA,0BAAA;IACA,8BAAA;IACA,yBAAA;IACA,uBAAA;IACA,wBAAA;IACA,2BAAA;IACA,4BAAA;GCEL;EDAC;ICEA,qBAAqB;IDAjB,8BAAA;GCEL;EDAC;ICEA,6BAA6B;IDAzB,8BAAA;GCEL;EDAC;ICEA,yBAAyB;IDArB,8BAAA;GCEL;EDAC;ICEA,2BAA2B;IDAvB,8BAAA;GCEL;EDAC;IACI,0BAAA;GCEL;CACF","file":"beitritt.css","sourcesContent":["@media print {\n .container {\n width: auto !important;\n margin: 0px;\n padding: 0px;\n }\n hr {\n display: none !important;\n }\n #spendenaufruf {\n display: none !important;\n }\n header {\n display: none !important;\n }\n footer {\n display: none !important;\n }\n .wrapper {\n padding-top: 0 !important;\n }\n * {\n font-size: 12px!important;\n }\n input[type=text], input[type=email] {\n margin: 0px !important;\n padding: 0px !important;\n height: initial !important;\n border: 0;\n }\n .beitritt-form-group {\n margin: 0px !important;\n padding: 0px !important;\n margin-bottom: 0px !important;\n }\n .sign {\n margin-top: 10px;\n }\n .donation-amount-input {\n padding-top: 5px;\n }\n h1 {\n margin-top: 0 !important;\n padding-top: 0 !important;\n }\n /* Skalierung für Firefox, absolut für die anderen Browser */\n input[type=radio] {\n transform: scale(0.5);\n -moz-transform: scale(0.5);\n -ms-transform: scale(0.5);\n -webkit-transform: scale(0.5);\n -o-transform: scale(0.5);\n width: 20px !important;\n height: 20px !important;\n margin-top: 0px !important;\n padding-top: 0px !important;\n }\n input::-webkit-input-placeholder {\n /* WebKit browsers */\n color: transparent !important;\n }\n input:-moz-placeholder {\n /* Mozilla Firefox 4 to 18 */\n color: transparent !important;\n }\n input::-moz-placeholder {\n /* Mozilla Firefox 19+ */\n color: transparent !important;\n }\n input:-ms-input-placeholder {\n /* Internet Explorer 10+ */\n color: transparent !important;\n }\n .pagebreak {\n page-break-before: always;\n }\n}","@media print {\n .container {\n width: auto !important;\n margin: 0px;\n padding: 0px;\n }\n hr {\n display: none !important;\n }\n #spendenaufruf {\n display: none !important;\n }\n header {\n display: none !important;\n }\n footer {\n display: none !important;\n }\n .wrapper {\n padding-top: 0 !important;\n }\n * {\n font-size: 12px!important;\n }\n input[type=text],\n input[type=email] {\n margin: 0px !important;\n padding: 0px !important;\n height: initial !important;\n border: 0;\n }\n .beitritt-form-group {\n margin: 0px !important;\n padding: 0px !important;\n margin-bottom: 0px !important;\n }\n .sign {\n margin-top: 10px;\n }\n .donation-amount-input {\n padding-top: 5px;\n }\n h1 {\n margin-top: 0 !important;\n padding-top: 0 !important;\n }\n /* Skalierung für Firefox, absolut für die anderen Browser */\n input[type=radio] {\n transform: scale(0.5);\n -moz-transform: scale(0.5);\n -ms-transform: scale(0.5);\n -webkit-transform: scale(0.5);\n -o-transform: scale(0.5);\n width: 20px !important;\n height: 20px !important;\n margin-top: 0px !important;\n padding-top: 0px !important;\n }\n input::-webkit-input-placeholder {\n /* WebKit browsers */\n color: transparent !important;\n }\n input:-moz-placeholder {\n /* Mozilla Firefox 4 to 18 */\n color: transparent !important;\n }\n input::-moz-placeholder {\n /* Mozilla Firefox 19+ */\n color: transparent !important;\n }\n input:-ms-input-placeholder {\n /* Internet Explorer 10+ */\n color: transparent !important;\n }\n .pagebreak {\n page-break-before: always;\n }\n}\n"]}
\ No newline at end of file
{"version":3,"sources":["beitritt.less","beitritt.css"],"names":[],"mappings":"AAAA;EACI;IACI,uBAAA;IACA,YAAA;IACA,aAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,0BAAA;GCCL;EDCC;IACI,0BAAA;GCCL;EDCC;;IACI,uBAAA;IACA,wBAAA;IACA,2BAAA;IACA,UAAA;GCEL;EDAC;IACI,uBAAA;IACA,wBAAA;IACA,8BAAA;GCEL;EDAC;IACI,iBAAA;GCEL;EDAC;IACI,iBAAA;GCEL;EDAC;IACI,yBAAA;IACA,0BAAA;GCEL;EACD,6DAA6D;EDA3D;IACI,sBAAA;IACA,2BAAA;IACA,0BAAA;IACA,8BAAA;IACA,yBAAA;IACA,uBAAA;IACA,wBAAA;IACA,2BAAA;IACA,4BAAA;GCEL;EDAC;ICEA,qBAAqB;IDAjB,8BAAA;GCEL;EDAC;ICEA,6BAA6B;IDAzB,8BAAA;GCEL;EDAC;ICEA,yBAAyB;IDArB,8BAAA;GCEL;EDAC;ICEA,2BAA2B;IDAvB,8BAAA;GCEL;EDAC;IACI,0BAAA;GCEL;CACF","file":"beitritt.css","sourcesContent":["@media print {\r\n .container {\r\n width: auto !important;\r\n margin: 0px;\r\n padding: 0px;\r\n }\r\n hr {\r\n display: none !important;\r\n }\r\n #spendenaufruf {\r\n display: none !important;\r\n }\r\n header {\r\n display: none !important;\r\n }\r\n footer {\r\n display: none !important;\r\n }\r\n .wrapper {\r\n padding-top: 0 !important;\r\n }\r\n * {\r\n font-size: 12px!important;\r\n }\r\n input[type=text], input[type=email] {\r\n margin: 0px !important;\r\n padding: 0px !important;\r\n height: initial !important;\r\n border: 0;\r\n }\r\n .beitritt-form-group {\r\n margin: 0px !important;\r\n padding: 0px !important;\r\n margin-bottom: 0px !important;\r\n }\r\n .sign {\r\n margin-top: 10px;\r\n }\r\n .donation-amount-input {\r\n padding-top: 5px;\r\n }\r\n h1 {\r\n margin-top: 0 !important;\r\n padding-top: 0 !important;\r\n }\r\n /* Skalierung für Firefox, absolut für die anderen Browser */\r\n input[type=radio] {\r\n transform: scale(0.5);\r\n -moz-transform: scale(0.5);\r\n -ms-transform: scale(0.5);\r\n -webkit-transform: scale(0.5);\r\n -o-transform: scale(0.5);\r\n width: 20px !important;\r\n height: 20px !important;\r\n margin-top: 0px !important;\r\n padding-top: 0px !important;\r\n }\r\n input::-webkit-input-placeholder {\r\n /* WebKit browsers */\r\n color: transparent !important;\r\n }\r\n input:-moz-placeholder {\r\n /* Mozilla Firefox 4 to 18 */\r\n color: transparent !important;\r\n }\r\n input::-moz-placeholder {\r\n /* Mozilla Firefox 19+ */\r\n color: transparent !important;\r\n }\r\n input:-ms-input-placeholder {\r\n /* Internet Explorer 10+ */\r\n color: transparent !important;\r\n }\r\n .pagebreak {\r\n page-break-before: always;\r\n }\r\n}","@media print {\n .container {\n width: auto !important;\n margin: 0px;\n padding: 0px;\n }\n hr {\n display: none !important;\n }\n #spendenaufruf {\n display: none !important;\n }\n header {\n display: none !important;\n }\n footer {\n display: none !important;\n }\n .wrapper {\n padding-top: 0 !important;\n }\n * {\n font-size: 12px!important;\n }\n input[type=text],\n input[type=email] {\n margin: 0px !important;\n padding: 0px !important;\n height: initial !important;\n border: 0;\n }\n .beitritt-form-group {\n margin: 0px !important;\n padding: 0px !important;\n margin-bottom: 0px !important;\n }\n .sign {\n margin-top: 10px;\n }\n .donation-amount-input {\n padding-top: 5px;\n }\n h1 {\n margin-top: 0 !important;\n padding-top: 0 !important;\n }\n /* Skalierung für Firefox, absolut für die anderen Browser */\n input[type=radio] {\n transform: scale(0.5);\n -moz-transform: scale(0.5);\n -ms-transform: scale(0.5);\n -webkit-transform: scale(0.5);\n -o-transform: scale(0.5);\n width: 20px !important;\n height: 20px !important;\n margin-top: 0px !important;\n padding-top: 0px !important;\n }\n input::-webkit-input-placeholder {\n /* WebKit browsers */\n color: transparent !important;\n }\n input:-moz-placeholder {\n /* Mozilla Firefox 4 to 18 */\n color: transparent !important;\n }\n input::-moz-placeholder {\n /* Mozilla Firefox 19+ */\n color: transparent !important;\n }\n input:-ms-input-placeholder {\n /* Internet Explorer 10+ */\n color: transparent !important;\n }\n .pagebreak {\n page-break-before: always;\n }\n}\n"]}
\ No newline at end of file
......@@ -1118,7 +1118,6 @@ img {
background-color: #fafafa;
border: 1px solid #ddd;
border-radius: 4px;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
display: inline-block;
max-width: 100%;
......@@ -2539,7 +2538,6 @@ output {
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
......@@ -3433,7 +3431,6 @@ input[type="button"].btn-block {
}
.fade {
opacity: 0;
-webkit-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
}
.fade.in {
......@@ -3455,11 +3452,8 @@ tbody.collapse.in {
position: relative;
height: 0;
overflow: hidden;
-webkit-transition-property: height, visibility;
transition-property: height, visibility;
-webkit-transition-duration: 0.35s;
transition-duration: 0.35s;
-webkit-transition-timing-function: ease;
transition-timing-function: ease;
}
.caret {
......@@ -4960,7 +4954,6 @@ a.badge:focus {
background-color: #fafafa;
border: 1px solid #ddd;
border-radius: 4px;
-webkit-transition: border 0.2s ease-in-out;
transition: border 0.2s ease-in-out;
}
.thumbnail > img,
......@@ -5086,12 +5079,10 @@ a.thumbnail.active {
text-align: center;
background-color: #337ab7;
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
-webkit-transition: width 0.6s ease;
transition: width 0.6s ease;
}
.progress-striped .progress-bar,
.progress-bar-striped {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-size: 40px 40px;
}
......@@ -5104,28 +5095,24 @@ a.thumbnail.active {
background-color: #5cb85c;
}
.progress-striped .progress-bar-success {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.progress-bar-info {
background-color: #FB0;
}
.progress-striped .progress-bar-info {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.progress-bar-warning {
background-color: #f0ad4e;
}
.progress-striped .progress-bar-warning {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.progress-bar-danger {
background-color: #d9534f;
}
.progress-striped .progress-bar-danger {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}
.media {
......@@ -5814,7 +5801,6 @@ button.close {
.modal.fade .modal-dialog {
-webkit-transform: translate(0, -25%);
transform: translate(0, -25%);
-webkit-transition: -webkit-transform 0.3s ease-out;
transition: -webkit-transform 0.3s ease-out;
transition: transform 0.3s ease-out;
transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
......@@ -6168,7 +6154,6 @@ button.close {
.carousel-inner > .item {
display: none;
position: relative;
-webkit-transition: 0.6s ease-in-out left;
transition: 0.6s ease-in-out left;
}
.carousel-inner > .item > img,
......@@ -6177,7 +6162,6 @@ button.close {
}
@media all and (transform-3d), (-webkit-transform-3d) {
.carousel-inner > .item {
-webkit-transition: -webkit-transform 0.6s ease-in-out;
transition: -webkit-transform 0.6s ease-in-out;
transition: transform 0.6s ease-in-out;
transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
......@@ -6251,7 +6235,6 @@ button.close {
background-color: rgba(0, 0, 0, 0);
}
.carousel-control.left {
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
......@@ -6259,7 +6242,6 @@ button.close {
.carousel-control.right {
left: auto;
right: 0;
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
......@@ -6827,7 +6809,6 @@ ul.metager-dropdown-menu {
background-clip: padding-box;
max-height: 0px;
overflow: hidden;
-webkit-transition: max-height 1s ease;
transition: max-height 1s ease;
}
ul.metager-dropdown-menu > li > a {
......@@ -6886,7 +6867,6 @@ ul.metager-dropdown-menu:hover,
width: 100%;
max-height: 40px;
overflow: hidden;
-webkit-transition: max-height 1s ease;
transition: max-height 1s ease;
}
#metager-static-nav-list:target {
......@@ -7523,6 +7503,15 @@ a:hover {
margin-top: 4px;
}
/* Hier der Style für die einzelnen Ergebnisboxen */
.saver-options {
display: -webkit-box;
display: flex;
padding-bottom: 15px;
}
.saver-options > input {
min-width: 35%;
max-width: 80%;
}
.result {
margin-bottom: 10px;
width: 100%;
......@@ -7535,6 +7524,17 @@ a:hover {
.result > .resultInformation {
border-radius: 5px;
}
.result > .resultInformation > .save {
position: absolute;
top: 0;
right: 10px;
cursor: pointer;
}
.result > .remover {
cursor: pointer;
text-align: right;
color: #777;
}
.result .title {
color: black;
text-decoration: none;
......
This diff is collapsed.
......@@ -3497,4 +3497,204 @@ return(65535&d)<<16|65535&c},C=function(a,b,c,d){var e=(65535&a)+(65535&b)+(6553
!function(a){"use strict";function b(b,c,d){"addEventListener"in a?b.addEventListener(c,d,!1):"attachEvent"in a&&b.attachEvent("on"+c,d)}function c(b,c,d){"removeEventListener"in a?b.removeEventListener(c,d,!1):"detachEvent"in a&&b.detachEvent("on"+c,d)}function d(){var b,c=["moz","webkit","o","ms"];for(b=0;b<c.length&&!N;b+=1)N=a[c[b]+"RequestAnimationFrame"];N||h("setup","RequestAnimationFrame not supported")}function e(b){var c="Host page: "+b;return a.top!==a.self&&(c=a.parentIFrame&&a.parentIFrame.getId?a.parentIFrame.getId()+": "+b:"Nested host page: "+b),c}function f(a){return K+"["+e(a)+"]"}function g(a){return P[a]?P[a].log:G}function h(a,b){k("log",a,b,g(a))}function i(a,b){k("info",a,b,g(a))}function j(a,b){k("warn",a,b,!0)}function k(b,c,d,e){!0===e&&"object"==typeof a.console&&console[b](f(c),d)}function l(d){function e(){function a(){s(V),p(W)}g("Height"),g("Width"),t(a,V,"init")}function f(){var a=U.substr(L).split(":");return{iframe:P[a[0]].iframe,id:a[0],height:a[1],width:a[2],type:a[3]}}function g(a){var b=Number(P[W]["max"+a]),c=Number(P[W]["min"+a]),d=a.toLowerCase(),e=Number(V[d]);h(W,"Checking "+d+" is in range "+c+"-"+b),c>e&&(e=c,h(W,"Set "+d+" to min value")),e>b&&(e=b,h(W,"Set "+d+" to max value")),V[d]=""+e}function k(){function a(){function a(){var a=0,d=!1;for(h(W,"Checking connection is from allowed list of origins: "+c);a<c.length;a++)if(c[a]===b){d=!0;break}return d}function d(){var a=P[W].remoteHost;return h(W,"Checking connection is from: "+a),b===a}return c.constructor===Array?a():d()}var b=d.origin,c=P[W].checkOrigin;if(c&&""+b!="null"&&!a())throw new Error("Unexpected message received from: "+b+" for "+V.iframe.id+". Message was: "+d.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}function l(){return K===(""+U).substr(0,L)&&U.substr(L).split(":")[0]in P}function w(){var a=V.type in{"true":1,"false":1,undefined:1};return a&&h(W,"Ignoring init message from meta parent page"),a}function y(a){return U.substr(U.indexOf(":")+J+a)}function z(a){h(W,"MessageCallback passed: {iframe: "+V.iframe.id+", message: "+a+"}"),N("messageCallback",{iframe:V.iframe,message:JSON.parse(a)}),h(W,"--")}function A(){var b=document.body.getBoundingClientRect(),c=V.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:c.height,iframeWidth:c.width,clientHeight:Math.max(document.documentElement.clientHeight,a.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,a.innerWidth||0),offsetTop:parseInt(c.top-b.top,10),offsetLeft:parseInt(c.left-b.left,10),scrollTop:a.pageYOffset,scrollLeft:a.pageXOffset})}function B(a,b){function c(){u("Send Page Info","pageInfo:"+A(),a,b)}x(c,32)}function C(){function d(b,c){function d(){P[g]?B(P[g].iframe,g):e()}["scroll","resize"].forEach(function(e){h(g,b+e+" listener for sendPageInfo"),c(a,e,d)})}function e(){d("Remove ",c)}function f(){d("Add ",b)}var g=W;f(),P[g].stopPageInfo=e}function D(){P[W]&&P[W].stopPageInfo&&(P[W].stopPageInfo(),delete P[W].stopPageInfo)}function E(){var a=!0;return null===V.iframe&&(j(W,"IFrame ("+V.id+") not found"),a=!1),a}function F(a){var b=a.getBoundingClientRect();return o(W),{x:Math.floor(Number(b.left)+Number(M.x)),y:Math.floor(Number(b.top)+Number(M.y))}}function G(b){function c(){M=g,H(),h(W,"--")}function d(){return{x:Number(V.width)+f.x,y:Number(V.height)+f.y}}function e(){a.parentIFrame?a.parentIFrame["scrollTo"+(b?"Offset":"")](g.x,g.y):j(W,"Unable to scroll to requested position, window.parentIFrame not found")}var f=b?F(V.iframe):{x:0,y:0},g=d();h(W,"Reposition requested from iFrame (offset x:"+f.x+" y:"+f.y+")"),a.top!==a.self?e():c()}function H(){!1!==N("scrollCallback",M)?p(W):q()}function I(b){function c(){var a=F(g);h(W,"Moving to in page link (#"+e+") at x: "+a.x+" y: "+a.y),M={x:a.x,y:a.y},H(),h(W,"--")}function d(){a.parentIFrame?a.parentIFrame.moveToAnchor(e):h(W,"In page link #"+e+" not found and window.parentIFrame not found")}var e=b.split("#")[1]||"",f=decodeURIComponent(e),g=document.getElementById(f)||document.getElementsByName(f)[0];g?c():a.top!==a.self?d():h(W,"In page link #"+e+" not found")}function N(a,b){return m(W,a,b)}function O(){switch(P[W].firstRun&&T(),V.type){case"close":n(V.iframe);break;case"message":z(y(6));break;case"scrollTo":G(!1);break;case"scrollToOffset":G(!0);break;case"pageInfo":B(P[W].iframe,W),C();break;case"pageInfoStop":D();break;case"inPageLink":I(y(9));break;case"reset":r(V);break;case"init":e(),N("initCallback",V.iframe),N("resizedCallback",V);break;default:e(),N("resizedCallback",V)}}function Q(a){var b=!0;return P[a]||(b=!1,j(V.type+" No settings for "+a+". Message was: "+U)),b}function S(){for(var a in P)u("iFrame requested init",v(a),document.getElementById(a),a)}function T(){P[W].firstRun=!1}var U=d.data,V={},W=null;"[iFrameResizerChild]Ready"===U?S():l()?(V=f(),W=R=V.id,!w()&&Q(W)&&(h(W,"Received: "+U),E()&&k()&&O())):i(W,"Ignored: "+U)}function m(a,b,c){var d=null,e=null;if(P[a]){if(d=P[a][b],"function"!=typeof d)throw new TypeError(b+" on iFrame["+a+"] is not a function");e=d(c)}return e}function n(a){var b=a.id;h(b,"Removing iFrame: "+b),a.parentNode.removeChild(a),m(b,"closedCallback",b),h(b,"--"),delete P[b]}function o(b){null===M&&(M={x:void 0!==a.pageXOffset?a.pageXOffset:document.documentElement.scrollLeft,y:void 0!==a.pageYOffset?a.pageYOffset:document.documentElement.scrollTop},h(b,"Get page position: "+M.x+","+M.y))}function p(b){null!==M&&(a.scrollTo(M.x,M.y),h(b,"Set page position: "+M.x+","+M.y),q())}function q(){M=null}function r(a){function b(){s(a),u("reset","reset",a.iframe,a.id)}h(a.id,"Size reset requested by "+("init"===a.type?"host page":"iFrame")),o(a.id),t(b,a,"reset")}function s(a){function b(b){a.iframe.style[b]=a[b]+"px",h(a.id,"IFrame ("+e+") "+b+" set to "+a[b]+"px")}function c(b){H||"0"!==a[b]||(H=!0,h(e,"Hidden iFrame detected, creating visibility listener"),y())}function d(a){b(a),c(a)}var e=a.iframe.id;P[e]&&(P[e].sizeHeight&&d("height"),P[e].sizeWidth&&d("width"))}function t(a,b,c){c!==b.type&&N?(h(b.id,"Requesting animation frame"),N(a)):a()}function u(a,b,c,d){function e(){var e=P[d].targetOrigin;h(d,"["+a+"] Sending msg to iframe["+d+"] ("+b+") targetOrigin: "+e),c.contentWindow.postMessage(K+b,e)}function f(){i(d,"["+a+"] IFrame("+d+") not found"),P[d]&&delete P[d]}function g(){c&&"contentWindow"in c&&null!==c.contentWindow?e():f()}d=d||c.id,P[d]&&g()}function v(a){return a+":"+P[a].bodyMarginV1+":"+P[a].sizeWidth+":"+P[a].log+":"+P[a].interval+":"+P[a].enablePublicMethods+":"+P[a].autoResize+":"+P[a].bodyMargin+":"+P[a].heightCalculationMethod+":"+P[a].bodyBackground+":"+P[a].bodyPadding+":"+P[a].tolerance+":"+P[a].inPageLinks+":"+P[a].resizeFrom+":"+P[a].widthCalculationMethod}function w(a,c){function d(){function b(b){1/0!==P[w][b]&&0!==P[w][b]&&(a.style[b]=P[w][b]+"px",h(w,"Set "+b+" = "+P[w][b]+"px"))}function c(a){if(P[w]["min"+a]>P[w]["max"+a])throw new Error("Value for min"+a+" can not be greater than max"+a)}c("Height"),c("Width"),b("maxHeight"),b("minHeight"),b("maxWidth"),b("minWidth")}function e(){var a=c&&c.id||S.id+F++;return null!==document.getElementById(a)&&(a+=F++),a}function f(b){return R=b,""===b&&(a.id=b=e(),G=(c||{}).log,R=b,h(b,"Added missing iframe ID: "+b+" ("+a.src+")")),b}function g(){h(w,"IFrame scrolling "+(P[w].scrolling?"enabled":"disabled")+" for "+w),a.style.overflow=!1===P[w].scrolling?"hidden":"auto",a.scrolling=!1===P[w].scrolling?"no":"yes"}function i(){("number"==typeof P[w].bodyMargin||"0"===P[w].bodyMargin)&&(P[w].bodyMarginV1=P[w].bodyMargin,P[w].bodyMargin=""+P[w].bodyMargin+"px")}function k(){var b=P[w].firstRun,c=P[w].heightCalculationMethod in O;!b&&c&&r({iframe:a,height:0,width:0,type:"init"})}function l(){Function.prototype.bind&&(P[w].iframe.iFrameResizer={close:n.bind(null,P[w].iframe),resize:u.bind(null,"Window resize","resize",P[w].iframe),moveToAnchor:function(a){u("Move to anchor","moveToAnchor:"+a,P[w].iframe,w)},sendMessage:function(a){a=JSON.stringify(a),u("Send Message","message:"+a,P[w].iframe,w)}})}function m(c){function d(){u("iFrame.onload",c,a),k()}b(a,"load",d),u("init",c,a)}function o(a){if("object"!=typeof a)throw new TypeError("Options is not an object")}function p(a){for(var b in S)S.hasOwnProperty(b)&&(P[w][b]=a.hasOwnProperty(b)?a[b]:S[b])}function q(a){return""===a||"file://"===a?"*":a}function s(b){b=b||{},P[w]={firstRun:!0,iframe:a,remoteHost:a.src.split("/").slice(0,3).join("/")},o(b),p(b),P[w].targetOrigin=!0===P[w].checkOrigin?q(P[w].remoteHost):"*"}function t(){return w in P&&"iFrameResizer"in a}var w=f(a.id);t()?j(w,"Ignored iFrame, already setup."):(s(c),g(),d(),i(),m(v(w)),l())}function x(a,b){null===Q&&(Q=setTimeout(function(){Q=null,a()},b))}function y(){function b(){function a(a){function b(b){return"0px"===P[a].iframe.style[b]}function c(a){return null!==a.offsetParent}c(P[a].iframe)&&(b("height")||b("width"))&&u("Visibility change","resize",P[a].iframe,a)}for(var b in P)a(b)}function c(a){h("window","Mutation observed: "+a[0].target+" "+a[0].type),x(b,16)}function d(){var a=document.querySelector("body"),b={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0},d=new e(c);d.observe(a,b)}var e=a.MutationObserver||a.WebKitMutationObserver;e&&d()}function z(a){function b(){B("Window "+a,"resize")}h("window","Trigger event: "+a),x(b,16)}function A(){function a(){B("Tab Visable","resize")}"hidden"!==document.visibilityState&&(h("document","Trigger event: Visiblity change"),x(a,16))}function B(a,b){function c(a){return"parent"===P[a].resizeFrom&&P[a].autoResize&&!P[a].firstRun}for(var d in P)c(d)&&u(a,b,document.getElementById(d),d)}function C(){b(a,"message",l),b(a,"resize",function(){z("resize")}),b(document,"visibilitychange",A),b(document,"-webkit-visibilitychange",A),b(a,"focusin",function(){z("focus")}),b(a,"focus",function(){z("focus")})}function D(){function a(a,c){function d(){if(!c.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==c.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+c.tagName+">")}c&&(d(),w(c,a),b.push(c))}var b;return d(),C(),function(c,d){switch(b=[],typeof d){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(d||"iframe"),a.bind(void 0,c));break;case"object":a(c,d);break;default:throw new TypeError("Unexpected data type ("+typeof d+")")}return b}}function E(a){a.fn?a.fn.iFrameResize=function(a){function b(b,c){w(c,a)}return this.filter("iframe").each(b).end()}:i("","Unable to bind to jQuery, it is not fully loaded.")}var F=0,G=!1,H=!1,I="message",J=I.length,K="[iFrameSizer]",L=K.length,M=null,N=a.requestAnimationFrame,O={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},P={},Q=null,R="Host Page",S={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){j("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}};a.jQuery&&E(jQuery),"function"==typeof define&&define.amd?define([],D):"object"==typeof module&&"object"==typeof module.exports?module.exports=D():a.iFrameResize=a.iFrameResize||D()}(window||{});
//# sourceMappingURL=iframeResizer.map
var MD5 = function (string) {
function RotateLeft(lValue, iShiftBits) {
return (lValue<<iShiftBits) | (lValue>>>(32-iShiftBits));
}
function AddUnsigned(lX,lY) {
var lX4,lY4,lX8,lY8,lResult;
lX8 = (lX & 0x80000000);
lY8 = (lY & 0x80000000);
lX4 = (lX & 0x40000000);
lY4 = (lY & 0x40000000);
lResult = (lX & 0x3FFFFFFF)+(lY & 0x3FFFFFFF);
if (lX4 & lY4) {
return (lResult ^ 0x80000000 ^ lX8 ^ lY8);
}
if (lX4 | lY4) {
if (lResult & 0x40000000) {
return (lResult ^ 0xC0000000 ^ lX8 ^ lY8);
} else {
return (lResult ^ 0x40000000 ^ lX8 ^ lY8);
}
} else {
return (lResult ^ lX8 ^ lY8);
}
}
function F(x,y,z) { return (x & y) | ((~x) & z); }
function G(x,y,z) { return (x & z) | (y & (~z)); }
function H(x,y,z) { return (x ^ y ^ z); }
function I(x,y,z) { return (y ^ (x | (~z))); }
function FF(a,b,c,d,x,s,ac) {
a = AddUnsigned(a, AddUnsigned(AddUnsigned(F(b, c, d), x), ac));
return AddUnsigned(RotateLeft(a, s), b);
};
function GG(a,b,c,d,x,s,ac) {
a = AddUnsigned(a, AddUnsigned(AddUnsigned(G(b, c, d), x), ac));
return AddUnsigned(RotateLeft(a, s), b);
};
function HH(a,b,c,d,x,s,ac) {
a = AddUnsigned(a, AddUnsigned(AddUnsigned(H(b, c, d), x), ac));
return AddUnsigned(RotateLeft(a, s), b);
};
function II(a,b,c,d,x,s,ac) {
a = AddUnsigned(a, AddUnsigned(AddUnsigned(I(b, c, d), x), ac));
return AddUnsigned(RotateLeft(a, s), b);
};
function ConvertToWordArray(string) {
var lWordCount;
var lMessageLength = string.length;
var lNumberOfWords_temp1=lMessageLength + 8;
var lNumberOfWords_temp2=(lNumberOfWords_temp1-(lNumberOfWords_temp1 % 64))/64;
var lNumberOfWords = (lNumberOfWords_temp2+1)*16;
var lWordArray=Array(lNumberOfWords-1);
var lBytePosition = 0;
var lByteCount = 0;
while ( lByteCount < lMessageLength ) {
lWordCount = (lByteCount-(lByteCount % 4))/4;
lBytePosition = (lByteCount % 4)*8;
lWordArray[lWordCount] = (lWordArray[lWordCount] | (string.charCodeAt(lByteCount)<<lBytePosition));
lByteCount++;
}
lWordCount = (lByteCount-(lByteCount % 4))/4;
lBytePosition = (lByteCount % 4)*8;
lWordArray[lWordCount] = lWordArray[lWordCount] | (0x80<<lBytePosition);
lWordArray[lNumberOfWords-2] = lMessageLength<<3;
lWordArray[lNumberOfWords-1] = lMessageLength>>>29;
return lWordArray;
};
function WordToHex(lValue) {
var WordToHexValue="",WordToHexValue_temp="",lByte,lCount;
for (lCount = 0;lCount<=3;lCount++) {
lByte = (lValue>>>(lCount*8)) & 255;
WordToHexValue_temp = "0" + lByte.toString(16);
WordToHexValue = WordToHexValue + WordToHexValue_temp.substr(WordToHexValue_temp.length-2,2);
}
return WordToHexValue;
};
function Utf8Encode(string) {
string = string.replace(/\r\n/g,"\n");
var utftext = "";
for (var n = 0; n < string.length; n++) {
var c = string.charCodeAt(n);
if (c < 128) {
utftext += String.fromCharCode(c);
}
else if((c > 127) && (c < 2048)) {
utftext += String.fromCharCode((c >> 6) | 192);
utftext += String.fromCharCode((c & 63) | 128);
}
else {