===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
ikiwiki-3.20200202.3/CHANGELOG-1304-    comment.
ikiwiki-3.20200202.3/CHANGELOG:1305:  * teximg: Use `\[` and `\]` instead of not recommended `$$`. (Paul Menzel)
ikiwiki-3.20200202.3/CHANGELOG-1306-    Closes: #596084
##############################################
ikiwiki-3.20200202.3/IkiWiki.pm-1962-		if (-e "$config{wikistatedir}/index") {
ikiwiki-3.20200202.3/IkiWiki.pm:1963:			system("ikiwiki-transition", "indexdb", $config{srcdir});
ikiwiki-3.20200202.3/IkiWiki.pm-1964-			open ($in, "<", "$config{wikistatedir}/indexdb") || return;
##############################################
ikiwiki-3.20200202.3/IkiWiki/CGI.pm-342-		if (pagespec_match("", $b,
ikiwiki-3.20200202.3/IkiWiki/CGI.pm:343:			ip => $session->remote_addr(),
ikiwiki-3.20200202.3/IkiWiki/CGI.pm-344-			name => defined $name ? $name : "")
ikiwiki-3.20200202.3/IkiWiki/CGI.pm-345-		   || pagespec_match("", $b,
ikiwiki-3.20200202.3/IkiWiki/CGI.pm:346:		   	ip => cloak($session->remote_addr()),
ikiwiki-3.20200202.3/IkiWiki/CGI.pm-347-			name => defined $cloak ? $cloak : "")) {
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/attachment.pm-62-			user => $session->param("name"),
ikiwiki-3.20200202.3/IkiWiki/Plugin/attachment.pm:63:			ip => $session->remote_addr(),
ikiwiki-3.20200202.3/IkiWiki/Plugin/attachment.pm-64-		);
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/blogspam.pm-78-		(defined $user ? (user => $user) : ()),
ikiwiki-3.20200202.3/IkiWiki/Plugin/blogspam.pm:79:		(defined $session->remote_addr() ? (ip => $session->remote_addr()) : ()),
ikiwiki-3.20200202.3/IkiWiki/Plugin/blogspam.pm-80-		location => $params{page});
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/blogspam.pm-103-	my %req=(
ikiwiki-3.20200202.3/IkiWiki/Plugin/blogspam.pm:104:		ip => $session->remote_addr(),
ikiwiki-3.20200202.3/IkiWiki/Plugin/blogspam.pm-105-		comment => encode_utf8(defined $params{diff} ? $params{diff} : $params{content}),
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/bzr.pm-132-	my $user=$session->param("name");
ikiwiki-3.20200202.3/IkiWiki/Plugin/bzr.pm:133:	my $ipaddr=$session->remote_addr();
ikiwiki-3.20200202.3/IkiWiki/Plugin/bzr.pm-134-
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/bzr.pm-207-	my $parent = IkiWiki::dirname($dest);
ikiwiki-3.20200202.3/IkiWiki/Plugin/bzr.pm:208:	if (system("bzr", "add", "--quiet", "$config{srcdir}/$parent") != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/bzr.pm-209-		warn("bzr add $parent failed\n");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/comments.pm-481-	if (!(defined $session->param('name') || defined $session->param('nickname')) &&
ikiwiki-3.20200202.3/IkiWiki/Plugin/comments.pm:482:		defined $session->remote_addr()) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/comments.pm:483:		$content .= " ip=\"".IkiWiki::cloak($session->remote_addr())."\"\n";
ikiwiki-3.20200202.3/IkiWiki/Plugin/comments.pm-484-	}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm-246-
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm:247:	if (system("mv", "$src", "$dest") != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm-248-		warn("filesystem rename failed\n");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm-274-	my ($tmphandle, $tmpfile) = tempfile();
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm:275:	system("env TZ=UTC cvsps -q --cvs-direct -z 30 -x >$tmpfile");
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm-276-	if ($? == -1) {
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm-395-	# diff output is unavoidably preceded by the cvsps PatchSet entry
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm:396:	my @cvsps = `env TZ=UTC cvsps -q --cvs-direct -z 30 -g -s $rev`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm-397-	my $blank_lines_seen = 0;
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm-461-		}
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm:462:		elsif (defined $params{session}->remote_addr()) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm-463-			return "web commit from ".
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm:464:				IkiWiki::cloak($params{session}->remote_addr()).
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm-465-				(length $params{message} ? ": $params{message}" : "");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm-476-
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm:477:	my $info=`cvs status $file`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/cvs.pm-478-	my ($ret)=$info=~/^\s*$field:\s*(\S+)/m;
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-39-	if (! $child) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm:40:		exec('darcs', 'changes', '--repodir', $repodir, '--xml-output', $file) or
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-41-			error("failed to run 'darcs changes'");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-61-	if (! $child) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm:62:		exec('darcs', 'query', 'manifest', '--repodir', $repodir) or
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-63-			error("failed to run 'darcs query manifest'");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-129-sub rcs_update () {
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm:130:	silentsystem('darcs', "pull", "--repodir", $config{srcdir}, "-qa")
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-131-}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-151-		}
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm:152:		elsif (defined $params{session}->remote_addr()) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm:153:			return IkiWiki::cloak($params{session}->remote_addr()).'@web';
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-154-		}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-184-		# TODO: 'yes | ...' needed?  Doesn't seem so.
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm:185:		silentsystem('darcs', "revert", "--repodir", $config{srcdir}, "--all") == 0 ||
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-186-			error("'darcs revert' failed");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-233-	# Push the changes to the main repository.
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm:234:	silentsystem('darcs', 'push', '--quiet', '--repodir', $config{srcdir}, '--all') == 0 ||
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-235-		error("'darcs push' failed");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-241-		# TODO: 'yes | ...' needed?  Doesn't seem so.
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm:242:		silentsystem('darcs', "revert", "--repodir", $config{srcdir}, "--all") == 0 || 
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-243-			warn("'darcs revert' failed");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-264-	# Push the changes to the main repository.
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm:265:	silentsystem('darcs', 'push', '--quiet', '--repodir', $config{srcdir}, '--all') == 0 ||
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-266-		error("'darcs push' failed");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-291-
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm:292:	system('darcs', 'mv', '--repodir', $config{srcdir}, $a, $b) == 0 ||
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-293-		error("'darcs mv' failed");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-382-	my $repodir=$config{srcdir};
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm:383:	foreach my $line (`darcs diff --repodir  $repodir --match 'hash $rev'`) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/darcs.pm-384-		if (@lines || $line=~/^diff/) {
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/git.pm-654-		}
ikiwiki-3.20200202.3/IkiWiki/Plugin/git.pm:655:		elsif (defined $params{session}->remote_addr()) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/git.pm:656:			$u=$params{session}->remote_addr();
ikiwiki-3.20200202.3/IkiWiki/Plugin/git.pm-657-		}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/hnb.pm-42-
ikiwiki-3.20200202.3/IkiWiki/Plugin/hnb.pm:43:	system("hnb '$tmpin' 'go root' 'export_html $tmpout' > /dev/null");
ikiwiki-3.20200202.3/IkiWiki/Plugin/hnb.pm-44-	unlink $tmpin;
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/lockedit.pm-40-		    user => $session->param("name"),
ikiwiki-3.20200202.3/IkiWiki/Plugin/lockedit.pm:41:		    ip => $session->remote_addr(),
ikiwiki-3.20200202.3/IkiWiki/Plugin/lockedit.pm-42-	    )) {
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/mercurial.pm-187-		}
ikiwiki-3.20200202.3/IkiWiki/Plugin/mercurial.pm:188:		elsif (defined $params{session}->remote_addr()) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/mercurial.pm:189:			$user = IkiWiki::cloak($params{session}->remote_addr());
ikiwiki-3.20200202.3/IkiWiki/Plugin/mercurial.pm-190-		}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/moderatedcomments.pm-54-			(defined $user ? (user => $user) : ()),
ikiwiki-3.20200202.3/IkiWiki/Plugin/moderatedcomments.pm:55:			(defined $session->remote_addr() ? (ip => $session->remote_addr()) : ()),
ikiwiki-3.20200202.3/IkiWiki/Plugin/moderatedcomments.pm-56-	)) {
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-125-sub get_rev () {
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm:126:	my $sha1 = `mtn --root=$config{mtnrootdir} automate get_base_revision_id`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-127-
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-291-
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm:292:	if (system("mtn", "--root=$config{mtnrootdir}", "update", "--quiet") != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-293-		debug("monotone update failed");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-314-		}
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm:315:		elsif (defined $params{session}->remote_addr()) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm:316:			return "Web IP: " . IkiWiki::cloak($params{session}->remote_addr());
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-317-		}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-372-			# if we made it to here then the file has been committed... revert the local copy
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm:373:			if (system("mtn", "--root=$config{mtnrootdir}", "revert", $params{file}) != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-374-				debug("Unable to revert $params{file} after merge on conflicted commit!");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-384-			if (defined($config{mtnsync}) && $config{mtnsync}) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm:385:				if (system("mtn", "--root=$config{mtnrootdir}", "push", "--quiet", "--ticker=none", "--key", $config{mtnkey}) != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-386-					debug("monotone push failed");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-635-	if (! $child) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm:636:		exec("mtn", "diff", "--root=$config{mtnrootdir}", "-r", "p:".$sha1, "-r", $sha1) || error("mtn diff $sha1 failed to run");
ikiwiki-3.20200202.3/IkiWiki/Plugin/monotone.pm-637-	}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/passwordauth.pm-367-					wikiname => $config{wikiname},
ikiwiki-3.20200202.3/IkiWiki/Plugin/passwordauth.pm:368:					remote_addr => $session->remote_addr(),
ikiwiki-3.20200202.3/IkiWiki/Plugin/passwordauth.pm-369-				);
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/po.pm-948-		if (-e $pofile) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/po.pm:949:			if (! (system("msgmerge", "--previous", "-q", "-U", "--backup=none", $pofile, $potfile) == 0)) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/po.pm-950-				print STDERR ("po(refreshpofiles) ". sprintf(gettext("failed to update %s"), $pofile));
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/po.pm-1194-
ikiwiki-3.20200202.3/IkiWiki/Plugin/po.pm:1195:	my $res = (system("msgfmt", "--check", $infile, "-o", "/dev/null") == 0);
ikiwiki-3.20200202.3/IkiWiki/Plugin/po.pm-1196-
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/polygen.pm-54-	if (defined $symbol) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/polygen.pm:55:		$res = `polygen -S $symbol $options $grmfile 2>/dev/null`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/polygen.pm-56-	}
ikiwiki-3.20200202.3/IkiWiki/Plugin/polygen.pm-57-	else {
ikiwiki-3.20200202.3/IkiWiki/Plugin/polygen.pm:58:		$res = `polygen $options $grmfile 2>/dev/null`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/polygen.pm-59-	}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/search.pm-190-		if ($config{google_search}) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/search.pm:191:			print $cgi->redirect("https://www.google.com/search?sitesearch=$config{url}&q=".$cgi->param('P'));
ikiwiki-3.20200202.3/IkiWiki/Plugin/search.pm-192-			exit 0;
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/search.pm-201-				noimageinline => 1, linktext => "Help");
ikiwiki-3.20200202.3/IkiWiki/Plugin/search.pm:202:			exec($config{omega_cgi}) || error("$config{omega_cgi} failed: $!");
ikiwiki-3.20200202.3/IkiWiki/Plugin/search.pm-203-		}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/search.pm-284-	if (-d $config{wikistatedir}."/xapian") {
ikiwiki-3.20200202.3/IkiWiki/Plugin/search.pm:285:		system("rm", "-rf", $config{wikistatedir}."/xapian");
ikiwiki-3.20200202.3/IkiWiki/Plugin/search.pm-286-	}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/sparkline.pm-37-	$php=qq{<?php
ikiwiki-3.20200202.3/IkiWiki/Plugin/sparkline.pm:38:		require_once('sparkline/Sparkline_$style.php');
ikiwiki-3.20200202.3/IkiWiki/Plugin/sparkline.pm-39-		\$sparkline = new Sparkline_$style();
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-119-
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm:120:	my $info=`LANG=C svn info $file`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-121-	my ($ret)=$info=~/^$field: (.*)$/m;
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-125-sub rcs_update () {
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm:126:	if (system("svn", "update", "--quiet", $config{srcdir}) != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-127-		warn("svn update failed\n");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-152-		}
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm:153:		elsif (defined $params{session}->remote_addr()) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-154-			return "web commit from ".
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm:155:				IkiWiki::cloak($params{session}->remote_addr()).
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-156-				(length $params{message} ? ": $params{message}" : "");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-185-		my $conflict=readfile("$config{srcdir}/$params{file}");
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm:186:		if (system("svn", "revert", "--quiet", "$config{srcdir}/$params{file}") != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-187-			warn("svn revert failed\n");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-213-
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm:214:	if (system("svn", "add", "--parents", "--quiet", "$config{srcdir}/$file") != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-215-		warn("svn add failed\n");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-222-
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm:223:	if (system("svn", "rm", "--force", "--quiet", "$config{srcdir}/$file") != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-224-		warn("svn rm failed\n");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-261-	my $svn_url=svn_info("URL", $config{srcdir});
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm:262:	my $xml = XMLin(scalar `svn $svn_limit --xml -v log '$svn_url'`,
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-263-		ForceArray => [ 'logentry', 'path' ],
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-322-	my $maxlines=shift;
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm:323:	return `svnlook diff $config{svnrepo} -r$rev --no-diff-deleted`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-324-}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-341-	if (! $child) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm:342:		exec("svn", "log", "$config{srcdir}/$file") || error("svn log failed to run");
ikiwiki-3.20200202.3/IkiWiki/Plugin/svn.pm-343-	}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/teximg.pm-154-	    writefile("$digest.tex", $tmp, $tex) &&
ikiwiki-3.20200202.3/IkiWiki/Plugin/teximg.pm:155:	    system("cd $tmp; shell_escape=f openout_any=p openin_any=p latex --interaction=nonstopmode $digest.tex < /dev/null > /dev/null") == 0 &&
ikiwiki-3.20200202.3/IkiWiki/Plugin/teximg.pm-156-	    # ensure destination directory exists
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/teximg.pm-158-	    (($config{teximg_dvipng} &&
ikiwiki-3.20200202.3/IkiWiki/Plugin/teximg.pm:159:	    	system("dvipng -D 120 -bg Transparent -T tight -o $config{destdir}/$imagedir/$digest.png $tmp/$digest.dvi > $tmp/$digest.log") == 0
ikiwiki-3.20200202.3/IkiWiki/Plugin/teximg.pm-160-	    ) || (!$config{teximg_dvipng} &&
ikiwiki-3.20200202.3/IkiWiki/Plugin/teximg.pm:161:	    	system("dvips -E $tmp/$digest.dvi -o $tmp/$digest.ps 2> $tmp/$digest.log") == 0 &&
ikiwiki-3.20200202.3/IkiWiki/Plugin/teximg.pm:162:	    	system("convert -density 120  -trim -transparent \"#FFFFFF\" $tmp/$digest.ps $config{destdir}/$imagedir/$digest.png > $tmp/$digest.log") == 0
ikiwiki-3.20200202.3/IkiWiki/Plugin/teximg.pm-163-	    ))) {
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-84-	if (-d "$config{srcdir}/{arch}") {
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm:85:		if (quiet_system("tla", "replay", "-d", $config{srcdir}) != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-86-			warn("tla replay failed\n");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-96-		# editing begins.
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm:97:		my $rev=`tla tree-id $config{srcdir}`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-98-		return defined $rev ? $rev : "";
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-113-		}
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm:114:		elsif (defined $params{session}->remote_addr()) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-115-			$message="web commit from ".
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm:116:				IkiWiki::cloak($params{session}->remote_addr()).
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-117-				(length $message ? ": $message" : "");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-124-		my ($oldrev)=$rcstoken=~/^([A-Za-z0-9@\/._-]+)$/; # untaint
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm:125:		my $rev=`tla tree-id $config{srcdir}`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-126-		if (defined $rev && defined $oldrev && $rev ne $oldrev) {
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-138-			my $conflict=readfile("$config{srcdir}/$file");
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm:139:			if (system("tla", "undo", "-n", "--quiet", "-d", "$config{srcdir}") != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-140-				warn("tla undo failed\n");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-159-	if (-d "$config{srcdir}/{arch}") {
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm:160:		if (quiet_system("tla", "add", "$config{srcdir}/$file") != 0) {
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-161-			warn("tla add failed\n");
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-188-
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm:189:	my $logs = `tla logs -d $config{srcdir}`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-190-	my @changesets = reverse split(/\n/, $logs);
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-252-	my $rev=shift;
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm:253:	my $logs = `tla logs -d $config{srcdir}`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-254-	my @changesets = reverse split(/\n/, $logs);
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-261-	my $revminusone = $changesets[$i+1];
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm:262:	return `tla diff -d $config{srcdir} $revminusone`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-263-}
##############################################
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-271-
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm:272:	my $logs = `tla logs -d $config{srcdir}`;
ikiwiki-3.20200202.3/IkiWiki/Plugin/tla.pm-273-	my @changesets = reverse split(/\n/, $logs);
##############################################
ikiwiki-3.20200202.3/IkiWiki/Setup/Automator.pm-104-		# posts will not have old creation dates on this new wiki.
ikiwiki-3.20200202.3/IkiWiki/Setup/Automator.pm:105:		system("cp -R $IkiWiki::installdir/share/ikiwiki/examples/$config{example}/* $config{srcdir}");
ikiwiki-3.20200202.3/IkiWiki/Setup/Automator.pm-106-		delete $config{example};
##############################################
ikiwiki-3.20200202.3/IkiWiki/Setup/Automator.pm-148-	mkpath($config{destdir}) || die "mkdir $config{destdir}: $!";
ikiwiki-3.20200202.3/IkiWiki/Setup/Automator.pm:149:	if (system("ikiwiki", "--refresh", "--setup", $config{dumpsetup}) != 0) {
ikiwiki-3.20200202.3/IkiWiki/Setup/Automator.pm-150-		die "ikiwiki --refresh --setup $config{dumpsetup} failed";
##############################################
ikiwiki-3.20200202.3/IkiWiki/Setup/Automator.pm-187-	# Add wrappers, make live.
ikiwiki-3.20200202.3/IkiWiki/Setup/Automator.pm:188:	if (system("ikiwiki", "--wrappers", "--setup", $config{dumpsetup}) != 0) {
ikiwiki-3.20200202.3/IkiWiki/Setup/Automator.pm-189-		die "ikiwiki --wrappers --setup $config{dumpsetup} failed";
##############################################
ikiwiki-3.20200202.3/IkiWiki/Wrapper.pm-301-	push @cc, split(' ', possibly_foolish_untaint($ENV{CFLAGS})) if exists $ENV{CFLAGS};
ikiwiki-3.20200202.3/IkiWiki/Wrapper.pm:302:	if (system(@cc, "$wrapper.c", "-o", "$wrapper.new") != 0) {
ikiwiki-3.20200202.3/IkiWiki/Wrapper.pm-303-		#translators: The parameter is a C filename.
##############################################
ikiwiki-3.20200202.3/doc/bugs/404_when_cancel_create_page.mdwn-27-
ikiwiki-3.20200202.3/doc/bugs/404_when_cancel_create_page.mdwn:28:> I think you mean to use `$newfile`? I've applied a modieid version
ikiwiki-3.20200202.3/doc/bugs/404_when_cancel_create_page.mdwn-29-> that also deal with creating a new page with no defined $from location.
##############################################
ikiwiki-3.20200202.3/doc/bugs/Anon_edit_caused_lock_out_on_entire_site_.mdwn-59->
ikiwiki-3.20200202.3/doc/bugs/Anon_edit_caused_lock_out_on_entire_site_.mdwn:60:> Specifically, I wonder whether `$cgi->remote_user()` might be returning the
ikiwiki-3.20200202.3/doc/bugs/Anon_edit_caused_lock_out_on_entire_site_.mdwn-61-> empty string. Looking at the code, we expect it to be either a non-empty
##############################################
ikiwiki-3.20200202.3/doc/bugs/CGI_wrapper_doesn__39__t_store_PERL5LIB_environment_variable.mdwn-69-> That makes sense, as long as nothing else is going to read
ikiwiki-3.20200202.3/doc/bugs/CGI_wrapper_doesn__39__t_store_PERL5LIB_environment_variable.mdwn:70:> `$config{ENV}` for purposes other than copying it into the actual
ikiwiki-3.20200202.3/doc/bugs/CGI_wrapper_doesn__39__t_store_PERL5LIB_environment_variable.mdwn-71-> environment. --[[smcv]]
##############################################
ikiwiki-3.20200202.3/doc/bugs/Can__39__t_create_root_page.mdwn-24-> patch that should fix this issue ; I proceeded the only way I could
ikiwiki-3.20200202.3/doc/bugs/Can__39__t_create_root_page.mdwn:25:> find to prevent side-effects : the only place where I use `$origpage`
ikiwiki-3.20200202.3/doc/bugs/Can__39__t_create_root_page.mdwn:26:> is a match, so no function at all is fed with a `$page` with 
ikiwiki-3.20200202.3/doc/bugs/Can__39__t_create_root_page.mdwn-27-> leading slash :
##############################################
ikiwiki-3.20200202.3/doc/bugs/Colons___8216__:__8217___should_not_be_allowed_in_image_filenames.mdwn:1:`IkiWiki::Plugin::img` appends `[$pagenumber]` to the filename to deal with multipage documents such as PDFs.
ikiwiki-3.20200202.3/doc/bugs/Colons___8216__:__8217___should_not_be_allowed_in_image_filenames.mdwn-2-However, `Image::Magick` doesn't seem to like page selection for filenames containing a colon.  This is also the case for imagemagick binaries:
##############################################
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-15-
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn:16:>> Thanks, Joey. With your help I was able to figure out what was wrong. It's a fun little bug (or feature): the title of my wiki had string `$this` in title and that's what was causing the omega binary to choke. My wiki's title was inserted without escaping into the query template used by omega. Omega treated `$this` in the title as a function name and threw an exception because no such function was defined. To avoid this behavior, I used an html entity in the title, so `$this` became `&#36;this`. I don't think that the wiki title should be inserted into the template without escaping - it can produce an error that's not trivial to debug. If users want to modify the html in the title, they should be editing respective templates, not typing html in the wiki title input. What do you think? --[[dkobozev]]
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-17-
##############################################
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-24-
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn:25:>>>> I tried it with both omega 1.0.13 and omega 1.0.18 and the issue is present in both. If I view the contents of {$srcdir}/.ikiwiki/xapian/templates/query, I can see that the wiki title is inserted verbatim and there are calls to `$setmap`, `$set` and `$def` etc in the template. --[[dkobozev]]
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-26-
##############################################
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-30-
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn:31:>>>>>> Correct me if I'm wrong: ikiwiki generates an Omega template from its own templates, such as searchquery.tmpl and puts it into {$srcdir}/.ikiwiki/xapian/templates/query. Omega has its own template syntax, where function names are prefixed with dollar signs (`$`). So, when I call my wiki `$foobar`, ikiwiki generates an Omega template that looks like this snippet:
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-32-
##############################################
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-51-
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn:52:>>>>>> So `$foobar` clashes with Omega's template tags. Does this help?
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-53-
##############################################
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-60->>>>>>>> Rather than escaping `$` as an HTML entity, it would be more natural
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn:61:>>>>>>>> to escape it as `$$` (since you are escaping it for Omega, not for
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-62->>>>>>>> the web browser.
##############################################
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-65->>>>>>>> OmegaScript command, you should also escape `{`, `}` and `,` as
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn:66:>>>>>>>> `$(`, `$)` and `$.`.  It's only necessary to do so inside the
ikiwiki-3.20200202.3/doc/bugs/Exception:_Unknown_function___96__this__39___.mdwn-67->>>>>>>> parameters of a command, but it will work and be easier to escape
##############################################
ikiwiki-3.20200202.3/doc/bugs/Filenames_with_colons_cause_problems_for_Windows_users.mdwn-74-> `wiki_file_chars => "-[:alnum:]+/._",`
ikiwiki-3.20200202.3/doc/bugs/Filenames_with_colons_cause_problems_for_Windows_users.mdwn:75:> `wiki_file_regex => '[-[:alnum:]+_]$',`
##############################################
ikiwiki-3.20200202.3/doc/bugs/No_link_for_blog_items_when_filename_contains_a_colon.mdwn-5-[[madduck]]: I traced this down to `htmlscrubber`. If disabled, it works. If
ikiwiki-3.20200202.3/doc/bugs/No_link_for_blog_items_when_filename_contains_a_colon.mdwn:6:enabled, then `$safe_url_regexp` determines the URL unsafe because of the
ikiwiki-3.20200202.3/doc/bugs/No_link_for_blog_items_when_filename_contains_a_colon.mdwn-7-colon and hence removes the `src` attribute.
##############################################
ikiwiki-3.20200202.3/doc/bugs/No_link_for_blog_items_when_filename_contains_a_colon.mdwn-19-In any case, `htmlscrubber` should get a new regexp, courtesy of dato:
ikiwiki-3.20200202.3/doc/bugs/No_link_for_blog_items_when_filename_contains_a_colon.mdwn:20:`[^:]+($|\/)`. I have tested and verified this.
ikiwiki-3.20200202.3/doc/bugs/No_link_for_blog_items_when_filename_contains_a_colon.mdwn-21-
##############################################
ikiwiki-3.20200202.3/doc/bugs/Perl_scripts_depend_on___47__usr__47__bin__47__perl.mdwn-5-At any rate, even if it is decided that ikiwiki should be fixed, then it is probably better to use
ikiwiki-3.20200202.3/doc/bugs/Perl_scripts_depend_on___47__usr__47__bin__47__perl.mdwn:6:`$installbin/perl` from `-MConfig` and not the `env` hack.
##############################################
ikiwiki-3.20200202.3/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn-134->>>>>>>>>>> BTW, where should I store my `ikiwiki.setup` file? It must be placed
ikiwiki-3.20200202.3/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn:135:>>>>>>>>>>> under `$srcdir/.ikiwiki/` directory or it doesn't matter?
ikiwiki-3.20200202.3/doc/bugs/Problem_with_editing_page_after_first_SVN_commit.mdwn-136->>>>>>>>>>> Does `ikiwiki.cgi` wrapper know where the `ikiwiki.setup` file
##############################################
ikiwiki-3.20200202.3/doc/bugs/Renaming_a_file_via_the_web_is_failing_when_using_subversion.mdwn-21-                            }
ikiwiki-3.20200202.3/doc/bugs/Renaming_a_file_via_the_web_is_failing_when_using_subversion.mdwn:22:                            if (system("svn", "add", "--quiet", "$config{srcdir}/$parent") != 0) {
ikiwiki-3.20200202.3/doc/bugs/Renaming_a_file_via_the_web_is_failing_when_using_subversion.mdwn-23-                                    warn("svn add $parent failed\n");
##############################################
ikiwiki-3.20200202.3/doc/bugs/Use_install__40__1__41___instead_of_cp__40__1__41___for_installing_files.mdwn-14-    +		install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
ikiwiki-3.20200202.3/doc/bugs/Use_install__40__1__41___instead_of_cp__40__1__41___for_installing_files.mdwn:15:    +		for file in `find -L $$dir -maxdepth 1 -type f`; do \
ikiwiki-3.20200202.3/doc/bugs/Use_install__40__1__41___instead_of_cp__40__1__41___for_installing_files.mdwn-16-    +			install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
##############################################
ikiwiki-3.20200202.3/doc/bugs/Warns_about_use_of_uninitialized_value_if_prefix__95__directives_is_on_and_a_directive_does_not_contain_a_space.mdwn:1:In `IkiWiki::preprocess`, the last capturing group in the regex used to parse directives in prefix_directives mode is of the form `(\s+...)?\]\]`, which will not be matched if the directive is something without arguments or whitespace, like `\[[!orphans]]`. As a result, its value is undef instead of being an empty string, causing a warning when it is used in the anonymous sub `$handle`. A trivial fix is to treat it as "" if it is undef.
ikiwiki-3.20200202.3/doc/bugs/Warns_about_use_of_uninitialized_value_if_prefix__95__directives_is_on_and_a_directive_does_not_contain_a_space.mdwn-2-
##############################################
ikiwiki-3.20200202.3/doc/bugs/__96__wiki__95__file__95__chars__96___setting_not_propagated_to_CGI_wrapper.mdwn-26-> running ikiwiki -refresh -wrappers my.setup, and looking at strings:
ikiwiki-3.20200202.3/doc/bugs/__96__wiki__95__file__95__chars__96___setting_not_propagated_to_CGI_wrapper.mdwn:27:> `'wiki_file_regexp' => qr/(?-xism:(^[moocow]+$))/`
ikiwiki-3.20200202.3/doc/bugs/__96__wiki__95__file__95__chars__96___setting_not_propagated_to_CGI_wrapper.mdwn-28-> So, this appears to have been user error. [[done]] --[[Joey]]
##############################################
ikiwiki-3.20200202.3/doc/bugs/attachment_upload_does_not_work_for_windows_clients.mdwn-33-
ikiwiki-3.20200202.3/doc/bugs/attachment_upload_does_not_work_for_windows_clients.mdwn:34:Should probably be `$file=~s!.*[/\\]+!!` :-)
##############################################
ikiwiki-3.20200202.3/doc/bugs/barfs_on_recentchange_entry_for_a_change_removing_an_invalid_pagespec.mdwn-25-> I can't reproduce this problem. When I try, the generated
ikiwiki-3.20200202.3/doc/bugs/barfs_on_recentchange_entry_for_a_change_removing_an_invalid_pagespec.mdwn:26:> `recentchanges/change_$sha1._change` file has the diff properly escaped,
ikiwiki-3.20200202.3/doc/bugs/barfs_on_recentchange_entry_for_a_change_removing_an_invalid_pagespec.mdwn-27-> so that the map is not expanded at all.
##############################################
ikiwiki-3.20200202.3/doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn-5-
ikiwiki-3.20200202.3/doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn:6:`                        when       => time - str2time($info->{"timestamp"}),`
ikiwiki-3.20200202.3/doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn-7-
##############################################
ikiwiki-3.20200202.3/doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn-9-
ikiwiki-3.20200202.3/doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn:10:`                        when       => str2time($info->{"timestamp"}),`
ikiwiki-3.20200202.3/doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn-11-
##############################################
ikiwiki-3.20200202.3/doc/bugs/comments_not_searchable.mdwn-14-However, the search postscan hook tells xapian the page url,
ikiwiki-3.20200202.3/doc/bugs/comments_not_searchable.mdwn:15:and uses `urlto($page)` to do it. And that won't work for
ikiwiki-3.20200202.3/doc/bugs/comments_not_searchable.mdwn-16-an internal page. Guess it could be modified to tell xapian the
##############################################
ikiwiki-3.20200202.3/doc/bugs/cutpaste.pm:_missing_filter_call.mdwn-45-> > *[[plugins/contrib/getfield]]* plugin.  This one needs to run *before*
ikiwiki-3.20200202.3/doc/bugs/cutpaste.pm:_missing_filter_call.mdwn:46:> > `preprocess`ing, for its `{{$page#field}}` syntax is (a) meant to be usable
ikiwiki-3.20200202.3/doc/bugs/cutpaste.pm:_missing_filter_call.mdwn-47-> > inside ikiwiki directives, and (b) the field values are meant to still be
##############################################
ikiwiki-3.20200202.3/doc/bugs/depends_simple_mixup.mdwn-67-
ikiwiki-3.20200202.3/doc/bugs/depends_simple_mixup.mdwn:68:Well, notice that the influence of `pagespec_match($page, "link(done)")`
ikiwiki-3.20200202.3/doc/bugs/depends_simple_mixup.mdwn-69-is $page. Iff the match succeeds.
ikiwiki-3.20200202.3/doc/bugs/depends_simple_mixup.mdwn-70-
ikiwiki-3.20200202.3/doc/bugs/depends_simple_mixup.mdwn:71:Also, the influence of `pagespec_match($page, "!link(done)")` is
ikiwiki-3.20200202.3/doc/bugs/depends_simple_mixup.mdwn-72-$page. Iff the (overall) match succeeds.
##############################################
ikiwiki-3.20200202.3/doc/bugs/double_shebang_replacement___47__usr__47__bin__47__perl5.185.18.mdwn-40-[[Done]], but this word-boundary construct didn't work on at least
ikiwiki-3.20200202.3/doc/bugs/double_shebang_replacement___47__usr__47__bin__47__perl5.185.18.mdwn:41:one of my systems, so now we're using `$(PERL)` to do the job
ikiwiki-3.20200202.3/doc/bugs/double_shebang_replacement___47__usr__47__bin__47__perl5.185.18.mdwn-42-portably. --[[schmonz]]
##############################################
ikiwiki-3.20200202.3/doc/bugs/dumpsetup_does_not_save_wikistatedir.mdwn-9->
ikiwiki-3.20200202.3/doc/bugs/dumpsetup_does_not_save_wikistatedir.mdwn:10:> `wikistatedir` is always `$config{srcdir}/.ikiwiki` unless you are doing something
ikiwiki-3.20200202.3/doc/bugs/dumpsetup_does_not_save_wikistatedir.mdwn-11-> incredibly strange.
##############################################
ikiwiki-3.20200202.3/doc/bugs/editing_gitbranch_template_is_really_slow.mdwn-51-> so `plugins/trail` did not have the
ikiwiki-3.20200202.3/doc/bugs/editing_gitbranch_template_is_really_slow.mdwn:52:> `{ "plugins/goodstuff" => $DEPEND_LINKS }` dependency that it should.
ikiwiki-3.20200202.3/doc/bugs/editing_gitbranch_template_is_really_slow.mdwn-53->
##############################################
ikiwiki-3.20200202.3/doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn-8-introducing a special case for `enabled()` in Render.pm, either a
ikiwiki-3.20200202.3/doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn:9:new dependency type `"enabled(smileys)" => $DEPENDS_ENABLED`
ikiwiki-3.20200202.3/doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn:10:or a special case that treats `"enabled(smileys)" => $DEPENDS_PRESENCE`
ikiwiki-3.20200202.3/doc/bugs/enabling_or_disabling_plugin_x_does_not_rebuild_pages_that_use_enabled__40__x__41__.mdwn-11-differently. --[[smcv]]
##############################################
ikiwiki-3.20200202.3/doc/bugs/find:_invalid_predicate___96__-L__39__.mdwn-15-                install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
ikiwiki-3.20200202.3/doc/bugs/find:_invalid_predicate___96__-L__39__.mdwn:16:    -           for file in `find -L $$dir -maxdepth 1 -type f`; do \
ikiwiki-3.20200202.3/doc/bugs/find:_invalid_predicate___96__-L__39__.mdwn:17:    +           for file in `find $$dir -follow -maxdepth 1 -type f`; do \
ikiwiki-3.20200202.3/doc/bugs/find:_invalid_predicate___96__-L__39__.mdwn-18-                        install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
##############################################
ikiwiki-3.20200202.3/doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn-63-> Looks as though you might be able to get a Python-style backtrace for this
ikiwiki-3.20200202.3/doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn:64:> by setting `$Carp::Verbose = 1`.
ikiwiki-3.20200202.3/doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn-65->
##############################################
ikiwiki-3.20200202.3/doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn-123-> [[Looks good to me|users/smcv/ready]] although I'm not sure how valuable
ikiwiki-3.20200202.3/doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn:124:> the `$] < 5.02 || ` test is - I'd be tempted to just call `is_utf8`. --[[smcv]]
ikiwiki-3.20200202.3/doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn-125-
##############################################
ikiwiki-3.20200202.3/doc/bugs/htmlscrubber_undoes_email_obfuscation_by_Text::Markdown.mdwn-9-Currently it seems it doesn't set `attr_encoded` for good reason: so attributes can be sanitized easily,
ikiwiki-3.20200202.3/doc/bugs/htmlscrubber_undoes_email_obfuscation_by_Text::Markdown.mdwn:10:e.g. as in htmlscrubber with `$safe_url_regexp`.
ikiwiki-3.20200202.3/doc/bugs/htmlscrubber_undoes_email_obfuscation_by_Text::Markdown.mdwn-11-This apparently can't be configured either.
##############################################
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn-6-
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn:7:> > It doesn't - it needs to be set. The line with `%ENV=();` clears the environment, thus no `$PATH` is set. --[[HenrikBrixAndersen]]
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn-8-
##############################################
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn-27-    +		$ENV{PATH}="/usr/bin:/usr/local/bin";
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn:28:     		exec("ikiwiki", "-setup", $setup, @ARGV);
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_fails_to_drop_privileges_and_execute_ikiwiki.mdwn-29-     		die "failed to run ikiwiki: $!";
##############################################
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn-12-     	$users{$user}=1;
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn:13:    -	my $ret=system("su", $user, "-s", "/bin/sh", "-c", "--", "$0 --nonglobal @ARGV");
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn:14:    +	my $ret=system("su", "-m", $user, "-c", "/bin/sh -c -- '$0 --nonglobal @ARGV'");
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn-15-     	if ($ret != 0) {
##############################################
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn-95->>
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn:96:>>       system('su', ..., '--', '-c', 'exec "$0" "$@"', $0, @ARGV);
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn-97->>
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn-98->>   using the fact that arguments to a Bourne/POSIX shell after `-c`
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn:99:>>   are set as `$0`, `$1`, ... in the shell. But the second design flaw
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn-100->>   makes this unreliable.
##############################################
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn-143->>>>
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn:144:>>>>     my $ret=system("sudo", "-n", "-s", "-u", $user, "/bin/sh", "-c", "--", "$0", "--nonglobal", @ARGV);
ikiwiki-3.20200202.3/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn-145->>>> 
##############################################
ikiwiki-3.20200202.3/doc/bugs/ikiwiki_explodes_when_git_rewrites_history.mdwn-4-
ikiwiki-3.20200202.3/doc/bugs/ikiwiki_explodes_when_git_rewrites_history.mdwn:5:The problem is that ikiwiki keeps track of the last commit it saw in `$srcdir/.ikiwiki/indexdb`. Then it uses this to infer which files changed. If history changed, this will fail with a fairly dramatic:
ikiwiki-3.20200202.3/doc/bugs/ikiwiki_explodes_when_git_rewrites_history.mdwn-6-
##############################################
ikiwiki-3.20200202.3/doc/bugs/ikiwiki_ignores_PATH_environment.mdwn-4-
ikiwiki-3.20200202.3/doc/bugs/ikiwiki_ignores_PATH_environment.mdwn:5:This makes it a little hard to specify which specific binaries should be used, especially if there is more than one of them available (see c.f. <http://trac.macports.org/ticket/26333> where the MacPorts-supplied, up-to-date subversion should be used and not an arcane one from the base distro / OS). Is there a specific reason why ikiwiki wipes out `$PATH` like this or could that line be improved to
ikiwiki-3.20200202.3/doc/bugs/ikiwiki_ignores_PATH_environment.mdwn-6-
##############################################
ikiwiki-3.20200202.3/doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn-29->>>
ikiwiki-3.20200202.3/doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn:30:>>> * `$imgdatalink = "data:image/".$im->Get("magick").";base64,".encode_base64($blob[0]);`:
ikiwiki-3.20200202.3/doc/bugs/image_rescaling_distorts_with_small_pictures.mdwn-31->>>   is the ImageMagick file type always valid as the second part of
##############################################
ikiwiki-3.20200202.3/doc/bugs/img_plugin_renders___60__img__62___tag_without_src_attribute_post-2.20.mdwn-7-
ikiwiki-3.20200202.3/doc/bugs/img_plugin_renders___60__img__62___tag_without_src_attribute_post-2.20.mdwn:8:I've done some research and found that `$imgtag` seems properly created in `img.pm`:`preprocess`. Thus, something must be changing it later. Disabling all plugins and leaving only `img` enabled does not fix the problem.
ikiwiki-3.20200202.3/doc/bugs/img_plugin_renders___60__img__62___tag_without_src_attribute_post-2.20.mdwn-9-
ikiwiki-3.20200202.3/doc/bugs/img_plugin_renders___60__img__62___tag_without_src_attribute_post-2.20.mdwn:10:I added `print STDERR "$imgtag\n";` to `img.pm` after the `my $imgtag='<img src="'.$imgurl.`... statement. This is what happens:
ikiwiki-3.20200202.3/doc/bugs/img_plugin_renders___60__img__62___tag_without_src_attribute_post-2.20.mdwn-11-
##############################################
ikiwiki-3.20200202.3/doc/bugs/img_test_failure_on_nix.mdwn-27->>
ikiwiki-3.20200202.3/doc/bugs/img_test_failure_on_nix.mdwn:28:>> If the result is `$VAR1 = [ undef ]`, then we can easily make the test skip that bit if PDFs don't work.
ikiwiki-3.20200202.3/doc/bugs/img_test_failure_on_nix.mdwn-29->> --[[smcv]]
##############################################
ikiwiki-3.20200202.3/doc/bugs/inline_raw_broken_on_unknown_pagetype.mdwn-11-
ikiwiki-3.20200202.3/doc/bugs/inline_raw_broken_on_unknown_pagetype.mdwn:12:Looking at the inline plugin's code, it is clear that `$template` is
ikiwiki-3.20200202.3/doc/bugs/inline_raw_broken_on_unknown_pagetype.mdwn:13:undef in such a situation. Defining `$template` just before line 346,
ikiwiki-3.20200202.3/doc/bugs/inline_raw_broken_on_unknown_pagetype.mdwn-14-in case it's not defined, removes the error message, but nothing
##############################################
ikiwiki-3.20200202.3/doc/bugs/local.css_overwritten_by_ikiwiki_--setup.mdwn-23-> This is [[working as intended|done]]. IkiWiki is a wiki compiler: everything
ikiwiki-3.20200202.3/doc/bugs/local.css_overwritten_by_ikiwiki_--setup.mdwn:24:> in its `$destdir`, in your case `~/public_html/MYWIKI`, is intended to be
ikiwiki-3.20200202.3/doc/bugs/local.css_overwritten_by_ikiwiki_--setup.mdwn:25:> under its control. Please create `local.css` in the `$srcdir`
ikiwiki-3.20200202.3/doc/bugs/local.css_overwritten_by_ikiwiki_--setup.mdwn-26-> (probably `~/MYWIKI`) and commit it to the VCS, or enable the
ikiwiki-3.20200202.3/doc/bugs/local.css_overwritten_by_ikiwiki_--setup.mdwn-27-> [[plugins/attachment]] plugin and "attach" it to the top-level `index` page.
ikiwiki-3.20200202.3/doc/bugs/local.css_overwritten_by_ikiwiki_--setup.mdwn:28:> IkiWiki will copy it into the `$destdir` whenever it changes. --[[smcv]]
##############################################
ikiwiki-3.20200202.3/doc/bugs/login_problem.mdwn-36-> 
ikiwiki-3.20200202.3/doc/bugs/login_problem.mdwn:37:> I suppose that emailauth could look at `$ENV{HTTPS}` same as
ikiwiki-3.20200202.3/doc/bugs/login_problem.mdwn-38-> printheader() does, to detect this case, and rewrite the cgiurl as a
##############################################
ikiwiki-3.20200202.3/doc/bugs/methodResponse_in_add__95__plugins.mdwn-12-
ikiwiki-3.20200202.3/doc/bugs/methodResponse_in_add__95__plugins.mdwn:13:**problem analysis:** `strings ikiwiki.cgi` tells that the stored WRAPPED\_OPTIONS contain the string "&lt;/methodResponse&gt;\n" where i'd expect "rst" in `config{add_plugins}`. this seems to originate in the use of `$_` in the plugin loading function.
ikiwiki-3.20200202.3/doc/bugs/methodResponse_in_add__95__plugins.mdwn-14-
##############################################
ikiwiki-3.20200202.3/doc/bugs/methodResponse_in_add__95__plugins.mdwn-16-
ikiwiki-3.20200202.3/doc/bugs/methodResponse_in_add__95__plugins.mdwn:17:> Perl's `$_` handling is the worst wart on it, or possibly any language.
ikiwiki-3.20200202.3/doc/bugs/methodResponse_in_add__95__plugins.mdwn-18-> Here it's an alias to the actual value in the array, and when deep
ikiwiki-3.20200202.3/doc/bugs/methodResponse_in_add__95__plugins.mdwn:19:> in the external plugin load code something resets `$_` to a different
ikiwiki-3.20200202.3/doc/bugs/methodResponse_in_add__95__plugins.mdwn-20-> value, the alias remains and it changes the value at a distance.
##############################################
ikiwiki-3.20200202.3/doc/bugs/multiple_pages_with_same_name.mdwn-4-
ikiwiki-3.20200202.3/doc/bugs/multiple_pages_with_same_name.mdwn:5:I tested it briefly with `test.java` and `test.mdwn` just to see what would happen.  Things got quite strange.  The source-highlighting plugin was called (probably for the java file), but then when it calls `pagetype($pagesources{$page})` to figure out the file type, that function returns `mdwn`, which confuses things somewhat.
ikiwiki-3.20200202.3/doc/bugs/multiple_pages_with_same_name.mdwn-6-
##############################################
ikiwiki-3.20200202.3/doc/bugs/multiple_pages_with_same_name.mdwn-16-
ikiwiki-3.20200202.3/doc/bugs/multiple_pages_with_same_name.mdwn:17:> Ok, this turned out not to be a hard change.  [[patch]] is below.  With this patch you can tell IkiWiki not to drop the suffix when you register a hook: `hook(type => "htmlize", id => $lang, call => \&htmlize, leavesuffix => 1);`
ikiwiki-3.20200202.3/doc/bugs/multiple_pages_with_same_name.mdwn-18-
##############################################
ikiwiki-3.20200202.3/doc/bugs/newfile-test.mdwn-6-
ikiwiki-3.20200202.3/doc/bugs/newfile-test.mdwn:7:Assume the script is called like this `http://example.com/ikiwiki.cgi?page=discussion&from=some-page&do=create`. The `if (exists $pagesources{$page}) {` test determines whether there's a file called `$config{srcdir}/discussion`. Most installs won't have a `$config{srcdir}/discussion` page, so this test will fail causing the else clause to be executed. In this case, the else clause results in `$file` being set to `discussion.mdwn`. Thus, on typical installs `value => ! -e "$config{srcdir}/$file",` always succeeds, which results in the expected behaviour, albeit for the wrong reasons. Similarly, the ` $form->field(name => "rcsinfo", value => rcs_prepedit($file)` line is also meaningless because `$file` isn't what we think it is.
ikiwiki-3.20200202.3/doc/bugs/newfile-test.mdwn-8-
##############################################
ikiwiki-3.20200202.3/doc/bugs/nonexistent_pages_in_inline_pagenames_do_not_add_a_dependency.mdwn-15-  so if the `inline` is on `a/b/c` and the missing page is `m`,
ikiwiki-3.20200202.3/doc/bugs/nonexistent_pages_in_inline_pagenames_do_not_add_a_dependency.mdwn:16:  add a `$depends_simple` `$DEPEND_PRESENCE` dependency on `a/b/c/m`,
ikiwiki-3.20200202.3/doc/bugs/nonexistent_pages_in_inline_pagenames_do_not_add_a_dependency.mdwn:17:  `a/b/m`, `a/m`, `m` and (if configured) `$config{userdir}/m`
ikiwiki-3.20200202.3/doc/bugs/nonexistent_pages_in_inline_pagenames_do_not_add_a_dependency.mdwn-18-
##############################################
ikiwiki-3.20200202.3/doc/bugs/openid_login_fails_wirth_Could_not_determine_ID_provider_from_URL.mdwn-6-
ikiwiki-3.20200202.3/doc/bugs/openid_login_fails_wirth_Could_not_determine_ID_provider_from_URL.mdwn:7:> > No, it isn't. I still get: `no_identity_server: Could not determine ID provider from URL.` from the latest ikiwiki in jessie (3.20140831), with liblwpx-paranoidagent-perl 1.10-3. Debugging tells me it's still related to the `500 Can't verify SSL peers without knowing which Certificate Authorities to trust` error, so probably because `Mozilla::CA` is not packaged ([[!debbug 702124]]). I still had to apply the patch to disable SSL verification at the end of this file. However, setting `$ENV{PERL_LWP_SSL_CA_PATH} = '/etc/ssl/certs';` seems to work now, so the following dumb patch works:
ikiwiki-3.20200202.3/doc/bugs/openid_login_fails_wirth_Could_not_determine_ID_provider_from_URL.mdwn-8-> > 
##############################################
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn-22->
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn:23:> You mean `$layers`. `[]` is a scalar value (a reference to an array);
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn-24-> `@something` is an array.
##############################################
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn-38->>> This seems to be at least partially a feature request for \[[!osm]]:
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn:39:>>> "allow individual \[[!osm]] maps to override `$config{osm_layers}`.
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn-40->>> Items in `%config` can be a reference to an array, so that's fine.
##############################################
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn-60->> 
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn:61:>> Maybe the best would be to use `$config{osm_layers};` as a default? --[[anarcat]]
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn-62-
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn-63-> It's difficult to compare without knowing what the values would look like.
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn:64:> What would be valid values? The documentation for `$config{osm_layers}`
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn-65-> says "in a syntax acceptable for OpenLayers.Layer.OSM.url parameter" so
##############################################
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn-94->
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn:95:> Shouldn't the default if no `$params{layers}` are given be this, rather
ikiwiki-3.20200202.3/doc/bugs/osm_plugin_error_TypeError:_mapProjection_is_null.mdwn-96-> than a hard-coded `['OSM']`?
##############################################
ikiwiki-3.20200202.3/doc/bugs/pagemtime_in_refresh_mode.mdwn-9-From a quick look, the code in `IkiWiki/Render.pm:find_new_files` is
ikiwiki-3.20200202.3/doc/bugs/pagemtime_in_refresh_mode.mdwn:10:relevant: `if (! $pagemtime{$page}) { [...]`.
ikiwiki-3.20200202.3/doc/bugs/pagemtime_in_refresh_mode.mdwn-11-
##############################################
ikiwiki-3.20200202.3/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn-164-  1) It needs the full page name, not basename.
ikiwiki-3.20200202.3/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn:165:  2) `titlepage(pagetitle($page))` reversability.
ikiwiki-3.20200202.3/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn-166-  
##############################################
ikiwiki-3.20200202.3/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn-180-  "foo_bar" -- that would be changed to "foo bar".
ikiwiki-3.20200202.3/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn:181:* parentlinks is changed to use `nicepagetitle(bestlink($page, $path))`.
ikiwiki-3.20200202.3/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn-182-  Won't `bestlink` return "" if the parent page in question does not exist?
##############################################
ikiwiki-3.20200202.3/doc/bugs/po:_might_not_add_translated_versions_of_all_underlays.mdwn-4-As far as I can see, this will result in it not adding translated versions
ikiwiki-3.20200202.3/doc/bugs/po:_might_not_add_translated_versions_of_all_underlays.mdwn:5:of underlays added by a plugin that comes after it in `$config{add_plugins}`;
ikiwiki-3.20200202.3/doc/bugs/po:_might_not_add_translated_versions_of_all_underlays.mdwn-6-for instance, if you have `add_plugins => qw(po smiley)`, you'll probably
##############################################
ikiwiki-3.20200202.3/doc/bugs/po:_plugin_should_not_override_the_title_on_the_homepage.mdwn-28-> seem to be stored anywhere, and when accessing it later using
ikiwiki-3.20200202.3/doc/bugs/po:_plugin_should_not_override_the_title_on_the_homepage.mdwn:29:> `$template->param('title_overridden')` it is always undef.
ikiwiki-3.20200202.3/doc/bugs/po:_plugin_should_not_override_the_title_on_the_homepage.mdwn-30-> Adding `<TMPL_IF TMPL_VAR TITLE_OVERRIDDEN></TMPL_IF>` in
##############################################
ikiwiki-3.20200202.3/doc/bugs/postsparkline_and_calendar_archive_do_not_respect_meta_directives.mdwn-27-> The plugins don't get to choose whether they ignore meta(date);
ikiwiki-3.20200202.3/doc/bugs/postsparkline_and_calendar_archive_do_not_respect_meta_directives.mdwn:28:> the effect of a meta(date) directive in `$page` is to set `$pagectime{$page}`
ikiwiki-3.20200202.3/doc/bugs/postsparkline_and_calendar_archive_do_not_respect_meta_directives.mdwn-29-> during scanning (overriding whatever was found in the filesystem), and
##############################################
ikiwiki-3.20200202.3/doc/bugs/preview_base_url_should_be_absolute.mdwn-13-> Perhaps the CGI could form its `<base>` URL by using
ikiwiki-3.20200202.3/doc/bugs/preview_base_url_should_be_absolute.mdwn:14:> `URI->new_abs(urlto(...), $cgi->url)` instead?
ikiwiki-3.20200202.3/doc/bugs/preview_base_url_should_be_absolute.mdwn-15->
##############################################
ikiwiki-3.20200202.3/doc/bugs/preview_base_url_should_be_absolute.mdwn-26->> edited. --[[Joey]]
ikiwiki-3.20200202.3/doc/bugs/preview_base_url_should_be_absolute.mdwn:27:>>> (The right rune seems to be: `URI->new_abs(urlto($params{page}), $cgi->url))` --[[Joey]] 
ikiwiki-3.20200202.3/doc/bugs/preview_base_url_should_be_absolute.mdwn-28-
##############################################
ikiwiki-3.20200202.3/doc/bugs/preview_base_url_should_be_absolute.mdwn-42-nearly every use of it I can find actually needs to be absolute. 
ikiwiki-3.20200202.3/doc/bugs/preview_base_url_should_be_absolute.mdwn:43:the numerous `redirect($q, baseurl(undef))` all need to be absolute
ikiwiki-3.20200202.3/doc/bugs/preview_base_url_should_be_absolute.mdwn-44-according to `CGI` documentation.
##############################################
ikiwiki-3.20200202.3/doc/bugs/rcs_revert_can_bypass_authorization_if_affected_files_were_renamed.mdwn:1:1. We have a `$srcdir/writable/page.mdwn` source file in Git.
ikiwiki-3.20200202.3/doc/bugs/rcs_revert_can_bypass_authorization_if_affected_files_were_renamed.mdwn-2-2. ikiwiki is configured to allow edits via the CGI in `writable/*`,
ikiwiki-3.20200202.3/doc/bugs/rcs_revert_can_bypass_authorization_if_affected_files_were_renamed.mdwn-3-   but nowhere else.
ikiwiki-3.20200202.3/doc/bugs/rcs_revert_can_bypass_authorization_if_affected_files_were_renamed.mdwn:4:2. Modify `$srcdir/writable/page.mdwn`, commit ⇒ commit `$id`.
ikiwiki-3.20200202.3/doc/bugs/rcs_revert_can_bypass_authorization_if_affected_files_were_renamed.mdwn:5:3. `git mv $srcdir/writable/page.mdwn $srcdir/read-only/page.mdwn`
ikiwiki-3.20200202.3/doc/bugs/rcs_revert_can_bypass_authorization_if_affected_files_were_renamed.mdwn-6-
ikiwiki-3.20200202.3/doc/bugs/rcs_revert_can_bypass_authorization_if_affected_files_were_renamed.mdwn:7:⇒ The web interface allows reverting commit `$id` (presumably because
ikiwiki-3.20200202.3/doc/bugs/rcs_revert_can_bypass_authorization_if_affected_files_were_renamed.mdwn:8:it changes files only in `$srcdir/writable`). This operation
ikiwiki-3.20200202.3/doc/bugs/rcs_revert_can_bypass_authorization_if_affected_files_were_renamed.mdwn:9:effectively modifies `$srcdir/read-only/page.mdwn`, which feels wrong.
ikiwiki-3.20200202.3/doc/bugs/rcs_revert_can_bypass_authorization_if_affected_files_were_renamed.mdwn-10-My guess is that `check_canchange` does not take into account that Git
##############################################
ikiwiki-3.20200202.3/doc/bugs/recentchanges_feed_links.mdwn-9-in `recentchanges.pm` that it explicitly registers an `htmlize` hook for the
ikiwiki-3.20200202.3/doc/bugs/recentchanges_feed_links.mdwn:10:`_change` type, but something isn't happening. I also see `return if $type=~/^_/;` in
ikiwiki-3.20200202.3/doc/bugs/recentchanges_feed_links.mdwn-11-`render()` in `Render.pm` so I guess the upshot is I'm not sure how this is
##############################################
ikiwiki-3.20200202.3/doc/bugs/recentchanges_feed_links.mdwn-62->>>>> My advice would be: first, fix the bug as reported, by
ikiwiki-3.20200202.3/doc/bugs/recentchanges_feed_links.mdwn:63:>>>>> using `\[[!meta permalink="http://blah/blah/blah#change-$rev"]]` (starting
ikiwiki-3.20200202.3/doc/bugs/recentchanges_feed_links.mdwn-64->>>>> anchor names with a number isn't syntactically valid, if I remember
##############################################
ikiwiki-3.20200202.3/doc/bugs/removal_of_transient_pages.mdwn-32-
ikiwiki-3.20200202.3/doc/bugs/removal_of_transient_pages.mdwn:33:Here's a branch. It special-cases the `$transientdir`, but in such a way
ikiwiki-3.20200202.3/doc/bugs/removal_of_transient_pages.mdwn-34-that the special case could easily be extended to other locations where
##############################################
ikiwiki-3.20200202.3/doc/bugs/removal_of_transient_pages.mdwn-38-parent directories at the point where you'd expect it to (for instance,
ikiwiki-3.20200202.3/doc/bugs/removal_of_transient_pages.mdwn:39:previously it would remove the `$transientdir` itself, if it turns out
ikiwiki-3.20200202.3/doc/bugs/removal_of_transient_pages.mdwn-40-to be empty), and updates callers.
##############################################
ikiwiki-3.20200202.3/doc/bugs/removal_of_transient_pages.mdwn-59-> I think required 2-argument would be better, but have not checked
ikiwiki-3.20200202.3/doc/bugs/removal_of_transient_pages.mdwn:60:> all the call sites to see if the `$file` is available split out
ikiwiki-3.20200202.3/doc/bugs/removal_of_transient_pages.mdwn-61-> as that would need. --[[Joey]] 
##############################################
ikiwiki-3.20200202.3/doc/bugs/removing_pages_with_utf8_characters.mdwn-23-> The problem with this patch is that, in a recent fix to the same
ikiwiki-3.20200202.3/doc/bugs/removing_pages_with_utf8_characters.mdwn:24:> plugin, I made `@pages` come from `$form->field("page")`, and
ikiwiki-3.20200202.3/doc/bugs/removing_pages_with_utf8_characters.mdwn-25-> that, in turn is already run through `decode_form_utf8` just above the
##############################################
ikiwiki-3.20200202.3/doc/bugs/sessions.db_grows_big.mdwn:1:The `$srcdir/.ikiwiki/sessions.db` file gets big. Does anything clean it?
ikiwiki-3.20200202.3/doc/bugs/sessions.db_grows_big.mdwn-2-
##############################################
ikiwiki-3.20200202.3/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn-11-> have installed ikiwiki in a strange way, and it is failing
ikiwiki-3.20200202.3/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn:12:> to find its basewiki underlay. The `$installdir` is
ikiwiki-3.20200202.3/doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn-13-> hardcoded into IkiWiki.pm at build time, based on the PREFIX
##############################################
ikiwiki-3.20200202.3/doc/bugs/some_strings_are_not_internationalized.mdwn-17->> Wouldn't it be more easy to change all calls to the corrects ones (including in plugins) ?
ikiwiki-3.20200202.3/doc/bugs/some_strings_are_not_internationalized.mdwn:18:>> For instance in the same file (CGI.pm): `elsif ($form->submitted eq gettext("Save Page")) {`.
ikiwiki-3.20200202.3/doc/bugs/some_strings_are_not_internationalized.mdwn-19->> That way no conversion to the C locale is needed.
##############################################
ikiwiki-3.20200202.3/doc/bugs/structured_config_data_is_mangled.mdwn-12-
ikiwiki-3.20200202.3/doc/bugs/structured_config_data_is_mangled.mdwn:13:However `Dumper($config{conversion})` shows:
ikiwiki-3.20200202.3/doc/bugs/structured_config_data_is_mangled.mdwn-14-
##############################################
ikiwiki-3.20200202.3/doc/bugs/template_creation_error.mdwn-168->>>> Rationale for `my %templates`: yes it does seem a bit odd, but
ikiwiki-3.20200202.3/doc/bugs/template_creation_error.mdwn:169:>>>> if I used `$pagestate{$tpage}{template}` instead of a `my` variable,
ikiwiki-3.20200202.3/doc/bugs/template_creation_error.mdwn-170->>>> I'd sometimes _still_ have to force a `scan`, because
##############################################
ikiwiki-3.20200202.3/doc/bugs/template_creation_error.mdwn-265->>> the tests that use IkiWiki internals also need updating to
ikiwiki-3.20200202.3/doc/bugs/template_creation_error.mdwn:266:>>> set `$phase = PHASE_RENDER` before they start preprocessing. --s
ikiwiki-3.20200202.3/doc/bugs/template_creation_error.mdwn-267-
##############################################
ikiwiki-3.20200202.3/doc/bugs/transitive_dependencies.mdwn-14-
ikiwiki-3.20200202.3/doc/bugs/transitive_dependencies.mdwn:15:Where `$params{page}` is page B. If this is changed to `$params{destpage}`,
ikiwiki-3.20200202.3/doc/bugs/transitive_dependencies.mdwn-16-then the dependency is added to page A, and updates to C cause it to
##############################################
ikiwiki-3.20200202.3/doc/bugs/unwanted_discussion_links_on_discussion_pages.mdwn-4-
ikiwiki-3.20200202.3/doc/bugs/unwanted_discussion_links_on_discussion_pages.mdwn:5:Anyway, this gettext-translated word is used to name the discussion pages, as `$discussionlink` in `Render.pm` is
ikiwiki-3.20200202.3/doc/bugs/unwanted_discussion_links_on_discussion_pages.mdwn-6-built from `gettext("discussion")`. In the same piece of code, a case-sensitive regexp that tests wether the page
##############################################
ikiwiki-3.20200202.3/doc/bugs/unwanted_discussion_links_on_discussion_pages.mdwn-12-This leads to newly created discussion pages not being recognized as discussion pages by the
ikiwiki-3.20200202.3/doc/bugs/unwanted_discussion_links_on_discussion_pages.mdwn:13:`$page !~ /.*\/\Q$discussionlink\E$/` regexp, so that then end with an unwanted discussion link.
ikiwiki-3.20200202.3/doc/bugs/unwanted_discussion_links_on_discussion_pages.mdwn-14-
##############################################
ikiwiki-3.20200202.3/doc/bugs/urlto_API_change_breaks_wikis_with_po_plugin.mdwn-12-
ikiwiki-3.20200202.3/doc/bugs/urlto_API_change_breaks_wikis_with_po_plugin.mdwn:13:Also, I fear the lack of any useful `$from` parameter might break some
ikiwiki-3.20200202.3/doc/bugs/urlto_API_change_breaks_wikis_with_po_plugin.mdwn-14-l10n'd link niceness when using `po_link_to = current` but I have not
##############################################
ikiwiki-3.20200202.3/doc/bugs/urlto_API_change_breaks_wikis_with_po_plugin.mdwn-27-> could add some test cases there? To test 3-argument `urlto` you'd
ikiwiki-3.20200202.3/doc/bugs/urlto_API_change_breaks_wikis_with_po_plugin.mdwn:28:> need to add `$config{baseurl} = "http://example.com"` or
ikiwiki-3.20200202.3/doc/bugs/urlto_API_change_breaks_wikis_with_po_plugin.mdwn-29-> something. --[[smcv]]
##############################################
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn-7-
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn:8:I am trying to determine what was intended by this change.  The variable `$topurl` is not used again in this function, so this is essentially dead code.
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn-9---[[blipvert]]
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn-10-
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn:11:> If you look at `git log -p IkiWiki/CGI.pm` you'll see that *at the time*, `$topurl`
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn-12-> was used further down the function. Later in the branch, [commit 33f6026
##############################################
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn-14-CGI"](http://source.ikiwiki.branchable.com/?p=source.git;a=commit;h=33f60260b233d0310ce6dd4304304a516595b906)
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn:15:> made this conditional on `! $config{html5}`.
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn-16->
##############################################
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn-20-elements"](http://source.ikiwiki.branchable.com/?p=source.git;a=commit;h=490a1eca7bed841848765b495a73fbc56e4808f4)
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn:21:> repurposed `$config{html5}` from "use HTML5" to "use new HTML5 elements" -
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn-22-> which meant that [commit a052771
##############################################
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn-24-relative"](http://source.ikiwiki.branchable.com/?p=source.git;a=commit;h=a05277128732beb351aa696c49d337086414ffb6)
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn:25:> could remove the only code that used `$topurl`.
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn-26->
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn:27:> You are correct to say that computing `$topurl` is now dead code, and I
ikiwiki-3.20200202.3/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn-28-> have removed it. [[done]] --[[smcv]]
##############################################
ikiwiki-3.20200202.3/doc/bugs/weird_signature_in_match__95__included__40____41__.mdwn-2-
ikiwiki-3.20200202.3/doc/bugs/weird_signature_in_match__95__included__40____41__.mdwn:3:`sub match_included ($$;$) { #{{{`
ikiwiki-3.20200202.3/doc/bugs/weird_signature_in_match__95__included__40____41__.mdwn-4-
##############################################
ikiwiki-3.20200202.3/doc/bugs/weird_syntax_in_aggregate.pm.mdwn-5-but I'm pretty sure it actually means "open this file and ignore errors
ikiwiki-3.20200202.3/doc/bugs/weird_syntax_in_aggregate.pm.mdwn:6:silently". Shouldn't this be `open(IN, $file) || die "$file: $!";`
ikiwiki-3.20200202.3/doc/bugs/weird_syntax_in_aggregate.pm.mdwn-7-(i.e. with the parens before the call to `die`)? --Ethan
##############################################
ikiwiki-3.20200202.3/doc/bugs/without_timezone__44___excessive_statting_causes_slowness.mdwn-6-
ikiwiki-3.20200202.3/doc/bugs/without_timezone__44___excessive_statting_causes_slowness.mdwn:7:> `it just needs "elsif (-e /etc/localtime) { $ENV{TZ} = ':/etc/localtime'; } else { $ENV{TZ} = 'GMT'; } or some such`
ikiwiki-3.20200202.3/doc/bugs/without_timezone__44___excessive_statting_causes_slowness.mdwn-8-
ikiwiki-3.20200202.3/doc/bugs/without_timezone__44___excessive_statting_causes_slowness.mdwn:9:relating to the processing of `$ENV{TZ}` and `$config{timezone}` in `Ikiwiki.pm`
ikiwiki-3.20200202.3/doc/bugs/without_timezone__44___excessive_statting_causes_slowness.mdwn-10-
##############################################
ikiwiki-3.20200202.3/doc/forum/Attachment_file_doesn__39__t_get_attached_to_page.mdwn-4-
ikiwiki-3.20200202.3/doc/forum/Attachment_file_doesn__39__t_get_attached_to_page.mdwn:5:On the web server the attachment is at `$srcdir/.ikiwiki/attachments/MiscNotes/dns_docs_page/dns_example.pdf`, but doesn't get copied over to the `$destdir` folder at all.  I would expect that it should have been moved to `$srcdir/MiscNotes/dns_docs_page/dns_example.pdf` and added to the git repo, and then copied over to `$destdir`.  Am I missing some setting in my configuration or something?
ikiwiki-3.20200202.3/doc/forum/Attachment_file_doesn__39__t_get_attached_to_page.mdwn-6-
##############################################
ikiwiki-3.20200202.3/doc/forum/CGI_script_and_HTTPS/comment_2_12dc028e4e3d1723605a154802087d29._comment-6- content="""
ikiwiki-3.20200202.3/doc/forum/CGI_script_and_HTTPS/comment_2_12dc028e4e3d1723605a154802087d29._comment:7:In git master, if `$config{html5} = 1` then the `<base>` URL
ikiwiki-3.20200202.3/doc/forum/CGI_script_and_HTTPS/comment_2_12dc028e4e3d1723605a154802087d29._comment-8-will usually be host-relative or protocol-relative (`/wiki/` or
##############################################
ikiwiki-3.20200202.3/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_1_cbab9b95923124b39cfccf5d2e88070c._comment-11-
ikiwiki-3.20200202.3/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_1_cbab9b95923124b39cfccf5d2e88070c._comment:12:If that's it, then `$q->url` with `$params{cgiurl}` in
ikiwiki-3.20200202.3/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_1_cbab9b95923124b39cfccf5d2e88070c._comment-13-`IkiWiki/CGI.pm` and `IkiWiki/Plugin/openid.pm` would work around it.
##############################################
ikiwiki-3.20200202.3/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_2_42f35c6be8b990ff22614dc6b28e9344._comment-6- content="""
ikiwiki-3.20200202.3/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_2_42f35c6be8b990ff22614dc6b28e9344._comment:7:I have added a new `$config{reverse_proxy}` option in git master
ikiwiki-3.20200202.3/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_2_42f35c6be8b990ff22614dc6b28e9344._comment-8-which applies the necessary hard-coding.
ikiwiki-3.20200202.3/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_2_42f35c6be8b990ff22614dc6b28e9344._comment-9-
ikiwiki-3.20200202.3/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_2_42f35c6be8b990ff22614dc6b28e9344._comment:10:Also in git master, if `$config{html5} = 1` then the `<base>` URL
ikiwiki-3.20200202.3/doc/forum/Dot_CGI_pointing_to_localhost._What_happened__63__/comment_2_42f35c6be8b990ff22614dc6b28e9344._comment-11-will usually be host-relative or protocol-relative (`/wiki/` or
##############################################
ikiwiki-3.20200202.3/doc/forum/Error:_bad_page_name.mdwn-17-> * Test if your perl has a problem with matching alphanumerics:
ikiwiki-3.20200202.3/doc/forum/Error:_bad_page_name.mdwn:18:>   `perl -le 'print int "index"=~/^([-[:alnum:]+\/.:_]+)$/'`
ikiwiki-3.20200202.3/doc/forum/Error:_bad_page_name.mdwn-19-> * Check if something is breaking pruning of disallowed files:
##############################################
ikiwiki-3.20200202.3/doc/forum/How_to_allow_.markdown_and_.md_at_the_same_time_as_valid_extensions_for_source_files__63__.mdwn-3-> Add `md` to your `add_plugins`, set `libdir` if not already set,
ikiwiki-3.20200202.3/doc/forum/How_to_allow_.markdown_and_.md_at_the_same_time_as_valid_extensions_for_source_files__63__.mdwn:4:> put the following in `${libdir}/IkiWiki/Plugin/md.pm`, and rebuild:
ikiwiki-3.20200202.3/doc/forum/How_to_allow_.markdown_and_.md_at_the_same_time_as_valid_extensions_for_source_files__63__.mdwn-5-
##############################################
ikiwiki-3.20200202.3/doc/forum/How_to_parse___34__:__47__etc__47__localtime__34___timezone__63__.mdwn-3-
ikiwiki-3.20200202.3/doc/forum/How_to_parse___34__:__47__etc__47__localtime__34___timezone__63__.mdwn:4:In my code, I have lines like ``$now = DateTime->now(time_zone => $config{timezone});`` or ``$thistime = DateTime->from_epoch(epoch=>$thistime, time_zone=>$config{timezone});``. They work well when timezone is something like ``Europe/Paris``, but with the default ``:/etc/localtime``, I get the error message ``The timezone ':/etc/localtime' is an invalid name.``
ikiwiki-3.20200202.3/doc/forum/How_to_parse___34__:__47__etc__47__localtime__34___timezone__63__.mdwn-5-
##############################################
ikiwiki-3.20200202.3/doc/forum/How_to_parse___34__:__47__etc__47__localtime__34___timezone__63__/comment_1_76d7e1f18828ce2767ba4f98a1901c29._comment-13-
ikiwiki-3.20200202.3/doc/forum/How_to_parse___34__:__47__etc__47__localtime__34___timezone__63__/comment_1_76d7e1f18828ce2767ba4f98a1901c29._comment:14:ikiwiki sets the `TZ` environment variable to either `$config{timezone}`
ikiwiki-3.20200202.3/doc/forum/How_to_parse___34__:__47__etc__47__localtime__34___timezone__63__/comment_1_76d7e1f18828ce2767ba4f98a1901c29._comment-15-or that default value during startup; so can't your plugin just use
##############################################
ikiwiki-3.20200202.3/doc/forum/How_to_parse___34__:__47__etc__47__localtime__34___timezone__63__/comment_1_76d7e1f18828ce2767ba4f98a1901c29._comment-18-
ikiwiki-3.20200202.3/doc/forum/How_to_parse___34__:__47__etc__47__localtime__34___timezone__63__/comment_1_76d7e1f18828ce2767ba4f98a1901c29._comment:19:(For example, the standard `IkiWiki::formattime` uses `localtime($time)` which
ikiwiki-3.20200202.3/doc/forum/How_to_parse___34__:__47__etc__47__localtime__34___timezone__63__/comment_1_76d7e1f18828ce2767ba4f98a1901c29._comment-20-is basically a non-OO version of
ikiwiki-3.20200202.3/doc/forum/How_to_parse___34__:__47__etc__47__localtime__34___timezone__63__/comment_1_76d7e1f18828ce2767ba4f98a1901c29._comment:21:`DateTime->from_epoch(epoch => $time, time_zone => 'local')`.)
ikiwiki-3.20200202.3/doc/forum/How_to_parse___34__:__47__etc__47__localtime__34___timezone__63__/comment_1_76d7e1f18828ce2767ba4f98a1901c29._comment-22-"""]]
##############################################
ikiwiki-3.20200202.3/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn-36-
ikiwiki-3.20200202.3/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn:37:> Then `$HOME/bin/ikiwiki` will have hardcoded into it to look
ikiwiki-3.20200202.3/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn:38:> for ikiwiki's perl modules in `$HOME/lib/perl5/`
ikiwiki-3.20200202.3/doc/forum/PERL5LIB__44___wrappers_and_homedir_install.mdwn-39-> (This is documented in the README file by the way.) --[[Joey]] 
##############################################
ikiwiki-3.20200202.3/doc/forum/Problems_with_img_directive_on_nearly_free_speech/comment_1_c66ef7bcfd45cab29453cd0a17d71ea1._comment-6- content="""
ikiwiki-3.20200202.3/doc/forum/Problems_with_img_directive_on_nearly_free_speech/comment_1_c66ef7bcfd45cab29453cd0a17d71ea1._comment:7:Okay. I figured it out with help from the nearlyfreespeech forum. It had nothing to do with ikiwiki. Nonetheless here's the solution, for posterity: You can check, if PerlMagick is installed by running ```perl -MImage::Magick -e \"print $Image::Magick::VERSION\"```.  If it isn't, you will get an error that looks like this:
ikiwiki-3.20200202.3/doc/forum/Problems_with_img_directive_on_nearly_free_speech/comment_1_c66ef7bcfd45cab29453cd0a17d71ea1._comment-8-
##############################################
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_1_ef4be9e70bd6d8c970fd8982f525d2d0._comment-6- content="""
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_1_ef4be9e70bd6d8c970fd8982f525d2d0._comment:7:One way to solve this would be a new `$config{hard_code_urls}`
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_1_ef4be9e70bd6d8c970fd8982f525d2d0._comment-8-option whose semantics are \"you're behind a reverse proxy, hard-code
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_1_ef4be9e70bd6d8c970fd8982f525d2d0._comment:9:`$config{cgiurl}` and `${url}` in output rather than using the
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_1_ef4be9e70bd6d8c970fd8982f525d2d0._comment-10-address from the HTTP request\" (in other words, selectively undo some
##############################################
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_6_e61899aa5ad8798b864dc295102e44f7._comment-6- content="""
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_6_e61899aa5ad8798b864dc295102e44f7._comment:7:> One way to solve this would be a new `$config{hard_code_urls}` option
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_6_e61899aa5ad8798b864dc295102e44f7._comment-8-
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_6_e61899aa5ad8798b864dc295102e44f7._comment-9-I have added basically this in git master. It isn't in a release yet,
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_6_e61899aa5ad8798b864dc295102e44f7._comment:10:and I renamed it to `$config{reverse_proxy}`.
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_6_e61899aa5ad8798b864dc295102e44f7._comment-11-
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_6_e61899aa5ad8798b864dc295102e44f7._comment:12:Also in git master, if `$config{html5} = 1` then the `<base>` URL
ikiwiki-3.20200202.3/doc/forum/Using_reverse_proxy__59___base_URL_is_http_instead_of_https/comment_6_e61899aa5ad8798b864dc295102e44f7._comment-13-will usually be host-relative or protocol-relative (`/wiki/` or
##############################################
ikiwiki-3.20200202.3/doc/forum/can__39__t_connect_to_local_url_after_installing_ikiwiki/comment_1_9feba07c25d226bf63d0886139ed7847._comment-25-reasonable number of Unix machines: it assumes that `~/public_html` is
ikiwiki-3.20200202.3/doc/forum/can__39__t_connect_to_local_url_after_installing_ikiwiki/comment_1_9feba07c25d226bf63d0886139ed7847._comment:26:mapped to `http://${hostname}/~${username}/` by your web server. This is
ikiwiki-3.20200202.3/doc/forum/can__39__t_connect_to_local_url_after_installing_ikiwiki/comment_1_9feba07c25d226bf63d0886139ed7847._comment-27-the default configuration on many Linux and *BSD systems; I don't know
##############################################
ikiwiki-3.20200202.3/doc/forum/converting_binary_files.mdwn-14-            will_render($f, $g);
ikiwiki-3.20200202.3/doc/forum/converting_binary_files.mdwn:15:            if (system("unoconv","-f","pdf","-o",IkiWiki::dirname("$config{destdir}/$g"),srcfile($f)) != 0) {
ikiwiki-3.20200202.3/doc/forum/converting_binary_files.mdwn-16-                error("unoconv: failed to translate $f to $g");
##############################################
ikiwiki-3.20200202.3/doc/forum/default_paths._Are_there_better_defaults__63__/comment_1_3db622152a8ab53841cc13280ca31da4._comment-8-
ikiwiki-3.20200202.3/doc/forum/default_paths._Are_there_better_defaults__63__/comment_1_3db622152a8ab53841cc13280ca31da4._comment:9:i'm no expert in that, but i think it means that the setup files go to `XDG_CONFIG_HOME` (`~/.config/ikiwiki/${wikiname_short}.setup`), and srcdir and repository go to `XDG_DATA_HOME` (`~/.local/share/ikiwiki/${wikiname_short}`).
ikiwiki-3.20200202.3/doc/forum/default_paths._Are_there_better_defaults__63__/comment_1_3db622152a8ab53841cc13280ca31da4._comment-10-"""]]
##############################################
ikiwiki-3.20200202.3/doc/forum/ikiwiki_can__39__t_find_imagemagick/comment_8_2829ff122d902050c512cdead7a1aabd._comment-7-
ikiwiki-3.20200202.3/doc/forum/ikiwiki_can__39__t_find_imagemagick/comment_8_2829ff122d902050c512cdead7a1aabd._comment:8:What's in your `$PATH`? When you get that in-page error, how are you running ikiwiki?
ikiwiki-3.20200202.3/doc/forum/ikiwiki_can__39__t_find_imagemagick/comment_8_2829ff122d902050c512cdead7a1aabd._comment-9-"""]]
##############################################
ikiwiki-3.20200202.3/doc/forum/large_wiki:_is_running_ikiwiki_in_steps_possible__63__/comment_2_eff15d45a5065574c9f1e48b2a1deff6._comment-13-If you don't need the CGI, you could \"compile\" the wiki offline (on your laptop)
ikiwiki-3.20200202.3/doc/forum/large_wiki:_is_running_ikiwiki_in_steps_possible__63__/comment_2_eff15d45a5065574c9f1e48b2a1deff6._comment:14:and upload the resulting `$destdir` to the hosting provider - effectively
ikiwiki-3.20200202.3/doc/forum/large_wiki:_is_running_ikiwiki_in_steps_possible__63__/comment_2_eff15d45a5065574c9f1e48b2a1deff6._comment-15-treating the hosting provider as simple static storage.
##############################################
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment-9-1. In the Apache site configuration, set `ErrorDocument 404` to the ikiwiki.cgi URL path.
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment:10:2. Apply the following patch to the plugins search and 404. The easiest and probably cleanest way is to copy the plugins to your `$libdir/IkiWiki/Plugins` and edit them there. It works with xapian omega search but wouldn't work with google, since the *P* CGI parameter is not set (instead, omega uses the `QUERY_STRING` environment variable). Perhaps one day I'll make this a proper patch and submit as a pull request.
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment-11-
##############################################
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment-42-+	if ($config{google_search}) {
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment:43:+		print $cgi->redirect(\"https://www.google.com/search?sitesearch=$config{url}&q=\".$cgi->param('P'));
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment-44-+		exit 0;
##############################################
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment-54-+
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment:55:+		exec($config{omega_cgi}) || error(\"$config{omega_cgi} failed: $!\");
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment-56-+	}
##############################################
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment-63--		if ($config{google_search}) {
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment:64:-			print $cgi->redirect(\"https://www.google.com/search?sitesearch=$config{url}&q=\".$cgi->param('P'));
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment-65--			exit 0;
##############################################
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment-74--				noimageinline => 1, linktext => \"Help\");
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment:75:-			exec($config{omega_cgi}) || error(\"$config{omega_cgi} failed: $!\");
ikiwiki-3.20200202.3/doc/forum/missing_pages_redirected_to_search-SOLVED/comment_2_bc0291b1afc2e9b4a853c168d3adfd78._comment-76--		}
##############################################
ikiwiki-3.20200202.3/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn-51-
ikiwiki-3.20200202.3/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn:52:you can find the file [here](http://git.devnull.li/cgi-bin/gitweb.cgi?p=vim-jerojasro.git;a=blob;f=.vim/ftplugin/ikiwiki_nav.vim;hb=HEAD). To use it, place it in `$HOME/.vim/ftplugin`. After that, hitting `<CR>` (Enter) in normal mode over a wikilink will take you to that page, if it exists.
ikiwiki-3.20200202.3/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn-53-
##############################################
ikiwiki-3.20200202.3/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn-120-> 1. There is a file further down, outside what the user considers
ikiwiki-3.20200202.3/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn:121:>    the wiki, that matches. Say a `$HOME/index.mdwn`
ikiwiki-3.20200202.3/doc/forum/navigation_of_wiki_pages_on_local_filesystem_with_vim.mdwn-122-> 2. An absolute link is broken in that the page linked to does
##############################################
ikiwiki-3.20200202.3/doc/forum/perl5lib_and_wrappers.mdwn-2-
ikiwiki-3.20200202.3/doc/forum/perl5lib_and_wrappers.mdwn:3:> The standard way to do it is to set `INSTALL_BASE=$HOME` when running
ikiwiki-3.20200202.3/doc/forum/perl5lib_and_wrappers.mdwn-4-> `Makefile.PL`. If you do this, ikiwiki will be built with a special `use
##############################################
ikiwiki-3.20200202.3/doc/forum/understanding_filter_hooks.mdwn-15-
ikiwiki-3.20200202.3/doc/forum/understanding_filter_hooks.mdwn:16:>Then you can check whether `$page_type` is "tex".
ikiwiki-3.20200202.3/doc/forum/understanding_filter_hooks.mdwn-17->--[[KathrynAndersen]]
##############################################
ikiwiki-3.20200202.3/doc/ikiwiki/markdown/discussion.mdwn-11-> * [[!cpan Text::MultiMarkdown]], only if explicitly requested via
ikiwiki-3.20200202.3/doc/ikiwiki/markdown/discussion.mdwn:12:>   `$config{multimarkdown}`
ikiwiki-3.20200202.3/doc/ikiwiki/markdown/discussion.mdwn-13-> * [[!cpan Text::Markdown::Discount]], if not explicitly disabled
ikiwiki-3.20200202.3/doc/ikiwiki/markdown/discussion.mdwn:14:>   via `$config{nodiscount}`
ikiwiki-3.20200202.3/doc/ikiwiki/markdown/discussion.mdwn-15-> * [[!cpan Text::Markdown]]
##############################################
ikiwiki-3.20200202.3/doc/news/code_swarm/code_swarm_log.pl-11-
ikiwiki-3.20200202.3/doc/news/code_swarm/code_swarm_log.pl:12:foreach (`git-log --name-status --pretty=format:'%n$sep%nr%h | %an | %ai (%aD) | x lines%n%nsubject: %s%n'`) {
ikiwiki-3.20200202.3/doc/news/code_swarm/code_swarm_log.pl-13-	my ($subject)=m/subject: (.*)\n/m;
##############################################
ikiwiki-3.20200202.3/doc/plugins/aggregate/discussion.mdwn-97-with some cookies. What I've done is write a custom plugin to populate
ikiwiki-3.20200202.3/doc/plugins/aggregate/discussion.mdwn:98:`$config{cookies}` with an `HTTP::Cookies` object, plus this diff:
ikiwiki-3.20200202.3/doc/plugins/aggregate/discussion.mdwn-99-
##############################################
ikiwiki-3.20200202.3/doc/plugins/aggregate/discussion.mdwn-125->>> According to LWP::UserAgent, for the common case, a complete
ikiwiki-3.20200202.3/doc/plugins/aggregate/discussion.mdwn:126:>>> and valid configuration for `$config{cookies}` would be `{ file =>
ikiwiki-3.20200202.3/doc/plugins/aggregate/discussion.mdwn-127->>> "$ENV{HOME}/.cookies.txt" }`. In the more common case of not needing
##############################################
ikiwiki-3.20200202.3/doc/plugins/aggregate/discussion.mdwn-132->>> and so LWP::Authen::Negotiate has to be loaded. So I think adding
ikiwiki-3.20200202.3/doc/plugins/aggregate/discussion.mdwn:133:>>> `$config{cookies}` (and using it in the aggregate plugin) should
ikiwiki-3.20200202.3/doc/plugins/aggregate/discussion.mdwn-134->>> be safe, might help people in typical cases, and won't prevent
##############################################
ikiwiki-3.20200202.3/doc/plugins/comments/discussion.mdwn-21-> So, why do it this way, instead of using regular wiki pages in a
ikiwiki-3.20200202.3/doc/plugins/comments/discussion.mdwn:22:> namespace, such as `$page/comments/*`? Then you could use [[plugins/lockedit]] to
ikiwiki-3.20200202.3/doc/plugins/comments/discussion.mdwn-23-> limit editing of comments in more powerful ways. --[[Joey]]
##############################################
ikiwiki-3.20200202.3/doc/plugins/comments/discussion.mdwn-86-> can think of so far), use that, and port the plugins you mentioned to use that
ikiwiki-3.20200202.3/doc/plugins/comments/discussion.mdwn:87:> API too. This plugin could either call `check_can("$page/comment1", 'create')` or
ikiwiki-3.20200202.3/doc/plugins/comments/discussion.mdwn:88:> call `check_can($page, 'comment')`.
ikiwiki-3.20200202.3/doc/plugins/comments/discussion.mdwn-89-> 
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/album/discussion.mdwn-617-
ikiwiki-3.20200202.3/doc/plugins/contrib/album/discussion.mdwn:618:I've changed the behavior of the "slideshow" to show the next image when clicking the large image as downloading a full resolution image is a rare use case in a gallery of this type imho. The large clicktarget means you are likely to unnecessarily download large files otherwise. I can't quite follow the template, album.pm flow so I can't figure out how to put a "download full resolution" link on the viewer page which would be my next step. To achieve the next link i added ` link => ($nextpage or $album),` around line 454 in `my $img`
ikiwiki-3.20200202.3/doc/plugins/contrib/album/discussion.mdwn-619-
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/asymptote.mdwn-110-                    writefile("$imagedir/$digest.png", $config{destdir}, "") &&
ikiwiki-3.20200202.3/doc/plugins/contrib/asymptote.mdwn:111:                    system("asy -render=2 -offscreen -f png -o $config{destdir}/$imagedir/$digest.png $tmp/$digest.asy &>$tmp/$digest.log") == 0
ikiwiki-3.20200202.3/doc/plugins/contrib/asymptote.mdwn-112-                   ) {
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/compile.mdwn-198-- setup command ``compile_build`` (if you have a generic build command);
ikiwiki-3.20200202.3/doc/plugins/contrib/compile.mdwn:199:- command ``$config{compile_bindir}/${extension}s %{srcname}s`` (if setup variable ``compile_bindir``is defined, is a directory, and contains an executable file matching the extension, it will be used);
ikiwiki-3.20200202.3/doc/plugins/contrib/compile.mdwn:200:- command ``make -f $config{compile_bindir}/make.${extension}s %{destname}s`` (if setup variable ``compile_bindir`` is defined, is a directory, and contains a readable makefile ``make.EXTENSION``, it will be used).
ikiwiki-3.20200202.3/doc/plugins/contrib/compile.mdwn-201-
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn-49-> I downloaded the two *.pm files and made them executable, and put in 
ikiwiki-3.20200202.3/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn:50:> `$ ls /usr/local/lib/site_perl/IkiWiki/Plugin/` and added `copyright.mdwn` and `license.mdwn` 
ikiwiki-3.20200202.3/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn-51-> and rebuilt the wiki, but the copyright/license text doesn't show up. Does these plugin work with Ikiwiki `3.20100815`?
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn-19->> anything that has special side-effects inside `meta` (like `date`),
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn:20:>> or anything that looks in `$pagestate{foo}{meta}` directly
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn-21->> (like `map`). Is your plan that `meta` should register itself by
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn-22->> default, and `map` and friends should be adapted to
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn:23:>> work based on `getfield()` instead of `$pagestate{foo}{meta}`, then?
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn-24-
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn-84-
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn:85:From a coding style point of view, the `$CamelCase` variable names aren't
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn-86-IkiWiki style, and the `match_foo` functions look as though they could benefit
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn-205->> (for an unrecognised keyword `badger`) would store
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn:206:>> `$pagestate{$page}{meta}{badger} = "mushroom"`? Getting this to
ikiwiki-3.20200202.3/doc/plugins/contrib/field/discussion.mdwn-207->> appear in templates might be problematic, because a naive
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/getfield/discussion.mdwn-56-
ikiwiki-3.20200202.3/doc/plugins/contrib/getfield/discussion.mdwn:57:>> I don't know the internals very well, I think that's how other plugins do it. *goes to check* Usually it's a `foreach` loop, and use a `pagestate{foo}` to check the page's status/state. There's also some stuff like 'pagespec_match_list($params{page}` ... they do slightly different thing depending on need. --[[SR|users/simonraven]]
ikiwiki-3.20200202.3/doc/plugins/contrib/getfield/discussion.mdwn-58-
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/ikiwiki/directive/ymlfront/discussion.mdwn-32-> > 
ikiwiki-3.20200202.3/doc/plugins/contrib/ikiwiki/directive/ymlfront/discussion.mdwn:33:> > Finally note that after adding debugging code, I was able to figure out that this seems to be using the `YAML::XS` library. I have also traced the data and confirmed that `$yml_str` does get properly initialized in `parse_yml`, and it is where the error is generated. So maybe there's something wrong with the YAML library?
ikiwiki-3.20200202.3/doc/plugins/contrib/ikiwiki/directive/ymlfront/discussion.mdwn-34-> > 
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/linguas.mdwn-20-Translatable pages and translations must have the following format:
ikiwiki-3.20200202.3/doc/plugins/contrib/linguas.mdwn:21:`pagename.$LANG`, where `$LANG` is a ISO639-1 (two-letter) language code.
ikiwiki-3.20200202.3/doc/plugins/contrib/linguas.mdwn-22-To enable linguas, add the following line in the source code of the page:
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/linguas.mdwn-73-* Wiki links to other translated pages require the full page name
ikiwiki-3.20200202.3/doc/plugins/contrib/linguas.mdwn:74:including the `.$LANG`. It should be possible to link automatically
ikiwiki-3.20200202.3/doc/plugins/contrib/linguas.mdwn:75:to pages with the same `.$LANG`, but that would probably require some
ikiwiki-3.20200202.3/doc/plugins/contrib/linguas.mdwn-76-changes in IkiWiki. (I'm not sure though, I still haven't looked at
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/signinview.mdwn-29-
ikiwiki-3.20200202.3/doc/plugins/contrib/signinview.mdwn:30:Then, if the `{$cgiurl}` is, for example, `/cgi-bin/ikiwiki.cgi`, add the directive
ikiwiki-3.20200202.3/doc/plugins/contrib/signinview.mdwn-31-
##############################################
ikiwiki-3.20200202.3/doc/plugins/contrib/wordcount.mdwn-19-  tell whether a template wants to know and possibly skip the
ikiwiki-3.20200202.3/doc/plugins/contrib/wordcount.mdwn:20:  computation. (In other words, if I add `$needed_for_template`
ikiwiki-3.20200202.3/doc/plugins/contrib/wordcount.mdwn:21:  like `$needed_for_directive`, it gets set too late for `sanitize()`
ikiwiki-3.20200202.3/doc/plugins/contrib/wordcount.mdwn-22-  to see.)
##############################################
ikiwiki-3.20200202.3/doc/plugins/hnb/discussion.mdwn-3-
ikiwiki-3.20200202.3/doc/plugins/hnb/discussion.mdwn:4:	system("hnb '$params{page}.hnb' 'go root' 'export_html $tmp' > /dev/null");
ikiwiki-3.20200202.3/doc/plugins/hnb/discussion.mdwn-5-
##############################################
ikiwiki-3.20200202.3/doc/plugins/hnb/discussion.mdwn-8-
ikiwiki-3.20200202.3/doc/plugins/hnb/discussion.mdwn:9:* Fixed with version 0.02 by usage of `$params{content}` -- XTaran
ikiwiki-3.20200202.3/doc/plugins/hnb/discussion.mdwn-10-
##############################################
ikiwiki-3.20200202.3/doc/plugins/hnb/discussion.mdwn-18-  * Fixed with version 0.02 -- [[XTaran]]
ikiwiki-3.20200202.3/doc/plugins/hnb/discussion.mdwn:19:* The htmlize hook should not operate on the contents of `$params{page}.hnb`.
ikiwiki-3.20200202.3/doc/plugins/hnb/discussion.mdwn-20-  The content that needs to be htmlized is passed in to the hook in
ikiwiki-3.20200202.3/doc/plugins/hnb/discussion.mdwn:21:  `$params{content}`.
ikiwiki-3.20200202.3/doc/plugins/hnb/discussion.mdwn-22-  * Fixed with version 0.02 -- [[XTaran]]
##############################################
ikiwiki-3.20200202.3/doc/plugins/openid/troubleshooting.mdwn-62->
ikiwiki-3.20200202.3/doc/plugins/openid/troubleshooting.mdwn:63:> In principle we could set the default UA (if `$config{useragent}` is
ikiwiki-3.20200202.3/doc/plugins/openid/troubleshooting.mdwn-64-> unspecified) to `IkiWiki/3.20140915`, or `IkiWiki/3.20140915 libwww-perl/6.03`
##############################################
ikiwiki-3.20200202.3/doc/plugins/po.mdwn-133-Recent versions of lighttpd should be able to use
ikiwiki-3.20200202.3/doc/plugins/po.mdwn:134:`$HTTP["language"]` to configure the translated pages to be served.
ikiwiki-3.20200202.3/doc/plugins/po.mdwn-135-
##############################################
ikiwiki-3.20200202.3/doc/plugins/po.mdwn-214-If [[tips/untrusted_git_push]] is setup, one can edit the PO files in one's
ikiwiki-3.20200202.3/doc/plugins/po.mdwn:215:preferred `$EDITOR`, without needing to be online.
ikiwiki-3.20200202.3/doc/plugins/po.mdwn-216-
##############################################
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-479->> 
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn:480:> * I don't like the exporting of `%backlinks` and `$backlinks_calculated`
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-481->   (the latter is exported but not used).
##############################################
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-493->>>> any plugin can `use IkiWiki::Render` and then access
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn:494:>>>> `$IkiWiki::backlinks`, as already does e.g. the pagestat plugin.
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-495->>>> So I guess your problem is not with letting plugins use these
##############################################
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-563-
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn:564:I reverted the `%backlinks` and `$backlinks_calculated` exposing.
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-565-The issue they were solving probably will arise again when I'll work
##############################################
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-612->> should appear on the current page. That's why I'm testing
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn:613:>> `$template->param('discussionlink')`.
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-614->> 
##############################################
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-622->>> is discussionlink will be set to a non-link translation of
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn:623:>>> "discussion". Also, I consider `$config{cgi}` and `%links` (etc)
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-624->>> documented parts of the plugin interface, which won't change; po could
##############################################
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-708-> plugin has its own reasons, in its `scan` hook, to add a page
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn:709:> that is already there to `$links{$page}`. This other plugin's
ikiwiki-3.20200202.3/doc/plugins/po/discussion.mdwn-710-> effect might then be changed by po's `scan` hook... which could
##############################################
ikiwiki-3.20200202.3/doc/plugins/rsync.mdwn-14-to the remote host. It's also a good idea to specify the exact command line
ikiwiki-3.20200202.3/doc/plugins/rsync.mdwn:15:to be permitted in the remote host's `$HOME/.ssh/authorized_keys`.
ikiwiki-3.20200202.3/doc/plugins/rsync.mdwn-16-
##############################################
ikiwiki-3.20200202.3/doc/plugins/tag/discussion.mdwn:1:I'd like to modify this plugin such that the tag pages are automatically created and populated with a list of relevant posts. The content of the tag page is simply `"\[[!inline pages="link(tag/$tag)"]]`. The tag plugin will have to determine whether a page for the given tag already exists, and if not use that Markdown fragment to  generate it.
ikiwiki-3.20200202.3/doc/plugins/tag/discussion.mdwn-2-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-348-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:349:The most common thing to do is probably to call `$template->param()` to add
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-350-a new custom parameter to the template.
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-694-next time ikiwiki is run. The hash holds per-page state, so to set a value,
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:695:use `$pagestate{$page}{$id}{$key}=$value`, and to retrieve the value,
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:696:use `$pagestate{$page}{$id}{$key}`.
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-697-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:698:The `$value` can be anything that perl's Storable module is capable of
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:699:serializing. `$key` can be any string you like, but `$id` must be the same
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-700-as the "id" parameter passed to `hook()` when registering the plugin. This
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-712-that is not bound to any one page. To set a value, use
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:713:`$wikistate{$id}{$key}=$value`, where `$value` is anything Storable can
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:714:serialize, `$key` is any string you like, and `$id` must be the same as the
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-715-"id" parameter passed to `hook()` when registering the plugin, so that the
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-779-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:780:### `debug($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-781-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-784-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:785:### `error($;$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-786-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-798-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:799:### `template($;@)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-800-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-817-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:818:### `template_depends($$;@)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-819-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-825-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:826:### `htmlpage($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-827-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-833-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:834:### `pagespec_match_list($$;@)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-835-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-867-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:868:### `add_depends($$;$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-869-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-875-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:876:### `pagespec_match($$;@)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-877-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-905-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:906:### `bestlink($$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-907-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-913-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:914:### `htmllink($$$;@)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-915-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-921-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:922:Why is `$page` repeated? Because if a page is inlined inside another, and a
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-923-link is placed on it, the right way to make that link is actually:
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-926-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:927:Here `$destpage` is the inlining page. A `destpage` parameter is passed to
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-928-some of the hook functions above; the ones that are not passed it are not used
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-941-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:942:### `readfile($;$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-943-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-950-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:951:### `writefile($$$;$$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-952-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-978-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:979:### `will_render($$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-980-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-994-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:995:### `pagetype($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-996-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-999-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1000:### `pagename($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1001-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1004-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1005:### `pagetitle($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1006-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1011-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1012:### `titlepage($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1013-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1016-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1017:### `linkpage($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1018-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1021-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1022:### `srcfile($;$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1023-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1031-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1032:### `add_underlay($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1033-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1039-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1040:### `displaytime($;$$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1041-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1057-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1058:### `urlto($;$$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1059-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1074-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1075:### `newpagefile($$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1076-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1080-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1081:### `targetpage($$;$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1082-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1089-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1090:### `add_link($$;$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1091-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1097-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1098:### `add_autofile($$$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1099-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1144-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1145:#### `rcs_prepedit($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1146-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1169-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1170:#### `rcs_add($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1171-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1179-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1180:#### `rcs_remove($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1181-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1186-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1187:#### `rcs_rename($$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1188-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1196-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1197:#### `rcs_recentchanges($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1198-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1224-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1225:#### `rcs_diff($;$)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1226-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1232-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1233:#### `rcs_getctime($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1234-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1239-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1240:#### `rcs_getmtime($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1241-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1272-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1273:#### `rcs_preprevert($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1274-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1282-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1283:#### `rcs_revert($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1284-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1294-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1295:### `rcs_find_changes($)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1296-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1338-
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1339:The names of pages to be compared are in the global variables `$a` and `$b`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1340-in the IkiWiki::SortSpec package. The function should return the same thing
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1341:as Perl's `cmp` and `<=>` operators: negative if `$a` is less than `$b`,
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1342:positive if `$a` is greater, or zero if they are considered equal. It may
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1343-also raise an error using `error`, for instance if it needs a parameter but
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1357-can be used to configure ikiwiki in different ways. These modules should,
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1358:when imported, populate `$IkiWiki::Setup::raw_setup` with a reference
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1359-to a hash containing all the config items. They should also implement a
##############################################
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1363-program just needs to do something like:
ikiwiki-3.20200202.3/doc/plugins/write.mdwn:1364:`use IkiWiki::Setup; IkiWiki::Setup::load($filename)`
ikiwiki-3.20200202.3/doc/plugins/write.mdwn-1365-
##############################################
ikiwiki-3.20200202.3/doc/plugins/write/tutorial.mdwn-110-later and needs to be rebuilt, the sequence will start over from 1. This is
ikiwiki-3.20200202.3/doc/plugins/write/tutorial.mdwn:111:because `$last` only remembers what was output during the current
ikiwiki-3.20200202.3/doc/plugins/write/tutorial.mdwn-112-ikiwiki run.
##############################################
ikiwiki-3.20200202.3/doc/plugins/write/tutorial.mdwn-118-
ikiwiki-3.20200202.3/doc/plugins/write/tutorial.mdwn:119:Obviously, using a global `$last` variable was a bad idea. It would
ikiwiki-3.20200202.3/doc/plugins/write/tutorial.mdwn-120-work ok in a more regular cgi-based wiki, which only outputs one page per
##############################################
ikiwiki-3.20200202.3/doc/post-commit/discussion.mdwn-68-I was able to work out that when I'm seeing this page save misbehavior, my
ikiwiki-3.20200202.3/doc/post-commit/discussion.mdwn:69:plugin is somewhere inside `system("cvs", "-Q", "add", "$file")`, which was
ikiwiki-3.20200202.3/doc/post-commit/discussion.mdwn-70-never returning. If I changed it to anything other than cvs it iterated
##############################################
ikiwiki-3.20200202.3/doc/rcs/cvs.mdwn-12-
ikiwiki-3.20200202.3/doc/rcs/cvs.mdwn:13:Consider creating `$HOME/.cvsrc` if you don't have one already; the
ikiwiki-3.20200202.3/doc/rcs/cvs.mdwn-14-plugin doesn't need it, but you yourself might. Here's a good
##############################################
ikiwiki-3.20200202.3/doc/rcs/cvs.mdwn-25-    * creates a repository,
ikiwiki-3.20200202.3/doc/rcs/cvs.mdwn:26:    * imports `$SRCDIR` into top-level module `ikiwiki` (vendor tag
ikiwiki-3.20200202.3/doc/rcs/cvs.mdwn-27-      IKIWIKI, release tag PRE_CVS),
##############################################
ikiwiki-3.20200202.3/doc/rcs/darcs.mdwn-9-
ikiwiki-3.20200202.3/doc/rcs/darcs.mdwn:10:Example for a `_darcs/prefs/defaults` file in `$SRCDIR`:
ikiwiki-3.20200202.3/doc/rcs/darcs.mdwn-11-
##############################################
ikiwiki-3.20200202.3/doc/rcs/git/discussion.mdwn-32-
ikiwiki-3.20200202.3/doc/rcs/git/discussion.mdwn:33:* Containment: I only have the above `$BASE` directory to backup: it contains the srcdir and setup files. No external svn repository. This means that suddenly `git` and `ikiwiki` pair into a stand-alone self-contained wiki compiler kit.
ikiwiki-3.20200202.3/doc/rcs/git/discussion.mdwn-34-
##############################################
ikiwiki-3.20200202.3/doc/rcs/mercurial.mdwn-9-
ikiwiki-3.20200202.3/doc/rcs/mercurial.mdwn:10:Example for a `.hg/hgrc` file in `$SRCDIR`:
ikiwiki-3.20200202.3/doc/rcs/mercurial.mdwn-11-
##############################################
ikiwiki-3.20200202.3/doc/rcs/mercurial.mdwn-15-
ikiwiki-3.20200202.3/doc/rcs/mercurial.mdwn:16:Do not use `commit` or `precommit` hooks or ikiwiki will run into a dead lock when committing in `$SRCDIR`. Also note that `--post-commit` and not `--refresh` must be used to avoid dead locking when editing the pages via CGI interface.
ikiwiki-3.20200202.3/doc/rcs/mercurial.mdwn-17-
##############################################
ikiwiki-3.20200202.3/doc/setup/discussion.mdwn-13-command wants to create folders in the directory it is run in. Which
ikiwiki-3.20200202.3/doc/setup/discussion.mdwn:14:directory should that be - `$SRCDIR?` --Andy
ikiwiki-3.20200202.3/doc/setup/discussion.mdwn-15-
##############################################
ikiwiki-3.20200202.3/doc/templates/discussion.mdwn-46-
ikiwiki-3.20200202.3/doc/templates/discussion.mdwn:47:I'm seeing some curious behaviour with `$srcdir/templates/` templates not being found when
ikiwiki-3.20200202.3/doc/templates/discussion.mdwn-48-pushing from a remote computer. Touching the relevant file on the server and
##############################################
ikiwiki-3.20200202.3/doc/themes/discussion.mdwn-17-> This is, unfortunately, the reason why I have not pulled in the bootstrap
ikiwiki-3.20200202.3/doc/themes/discussion.mdwn:18:> theme yet. I recently made `<TMPL_IF THEME_$NAME>` be available,
ikiwiki-3.20200202.3/doc/themes/discussion.mdwn-19-> so the page.tmpl could use that to do different things if the boostrap
##############################################
ikiwiki-3.20200202.3/doc/tips/Hosting_Ikiwiki_and_master_git_repository_on_different_machines.mdwn-155-
ikiwiki-3.20200202.3/doc/tips/Hosting_Ikiwiki_and_master_git_repository_on_different_machines.mdwn:156:        `[ x"$GL_USER" = x"`*`gitolite-user`*`" ] || wget ...` where *gitolite-user* is the name of the public key registered through gitolite.
ikiwiki-3.20200202.3/doc/tips/Hosting_Ikiwiki_and_master_git_repository_on_different_machines.mdwn-157-
##############################################
ikiwiki-3.20200202.3/doc/tips/Make_calendar_start_week_on_Monday.mdwn-8-
ikiwiki-3.20200202.3/doc/tips/Make_calendar_start_week_on_Monday.mdwn:9:where `${SRCDIR}` was the source directory for the blog. This overrides the standard templates with ones that have the `week_start_day="1"` option added. If the upstream templates change, one has to manually update the locally overriding ones.
ikiwiki-3.20200202.3/doc/tips/Make_calendar_start_week_on_Monday.mdwn-10-
##############################################
ikiwiki-3.20200202.3/doc/tips/convert_mediawiki_to_ikiwiki.mdwn-89-You need to create two derived strings from the page titles: the
ikiwiki-3.20200202.3/doc/tips/convert_mediawiki_to_ikiwiki.mdwn:90:destination path for the page and the source URL. Assuming `$pagename` 
ikiwiki-3.20200202.3/doc/tips/convert_mediawiki_to_ikiwiki.mdwn:91:contains a pagename obtained above, and `$wiki` contains the URL to your
ikiwiki-3.20200202.3/doc/tips/convert_mediawiki_to_ikiwiki.mdwn-92-mediawiki's `index.php` file:
ikiwiki-3.20200202.3/doc/tips/convert_mediawiki_to_ikiwiki.mdwn-93-
ikiwiki-3.20200202.3/doc/tips/convert_mediawiki_to_ikiwiki.mdwn:94:    src=`echo "$pagename" | tr ' ' _ | sed 's,&,&amp;,g'`
ikiwiki-3.20200202.3/doc/tips/convert_mediawiki_to_ikiwiki.mdwn:95:    dest=`"$pagename" | tr ' ' _ | sed 's,&,__38__,g'`
ikiwiki-3.20200202.3/doc/tips/convert_mediawiki_to_ikiwiki.mdwn-96-    
ikiwiki-3.20200202.3/doc/tips/convert_mediawiki_to_ikiwiki.mdwn:97:    mkdir -p `dirname "$dest"`
ikiwiki-3.20200202.3/doc/tips/convert_mediawiki_to_ikiwiki.mdwn-98-    wget -q "$wiki?title=$src&action=raw" -O "$dest"
##############################################
ikiwiki-3.20200202.3/doc/tips/github.mdwn-19-* Be sure to add your laptop's ssh key to it so you can push to github.
ikiwiki-3.20200202.3/doc/tips/github.mdwn:20:* Create a repository on github named `$YOU.github.com`, substituting your
ikiwiki-3.20200202.3/doc/tips/github.mdwn-21-  *username*. This repository will be used to publish your compiled website.
ikiwiki-3.20200202.3/doc/tips/github.mdwn:22:* Create a repository on github named `$YOU` (or anything else you like).
ikiwiki-3.20200202.3/doc/tips/github.mdwn-23-  This repository will be used to publish the source of your website.
##############################################
ikiwiki-3.20200202.3/doc/tips/github.mdwn-29-	`YOU=your github username here` <br />
ikiwiki-3.20200202.3/doc/tips/github.mdwn:30:	`mkdir ~/$YOU.github.com` <br />
ikiwiki-3.20200202.3/doc/tips/github.mdwn:31:	`cd ~/$YOU.github.com` <br />
ikiwiki-3.20200202.3/doc/tips/github.mdwn-32-	`git init` <br />
ikiwiki-3.20200202.3/doc/tips/github.mdwn:33:	`git remote add origin git@github.com:$YOU/$YOU.github.com.git` <br />
ikiwiki-3.20200202.3/doc/tips/github.mdwn:34:	`mkdir ~/$YOU` <br />
ikiwiki-3.20200202.3/doc/tips/github.mdwn:35:	`cd ~/$YOU` <br />
ikiwiki-3.20200202.3/doc/tips/github.mdwn-36-	`git init` <br />
ikiwiki-3.20200202.3/doc/tips/github.mdwn:37:	`git remote add origin git@github.com:$YOU/$YOU.git` <br />
ikiwiki-3.20200202.3/doc/tips/github.mdwn:38:* Add some wiki pages, such as an `index.mdwn`, to `~/$YOU`, and check them
ikiwiki-3.20200202.3/doc/tips/github.mdwn-39-  in and commit them to git. You need something to push to github. Run
##############################################
ikiwiki-3.20200202.3/doc/tips/github.mdwn-44-* Now build your wiki with a command such as: <br />
ikiwiki-3.20200202.3/doc/tips/github.mdwn:45:	`ikiwiki ~/$YOU ~/$YOU.github.com --refresh`
ikiwiki-3.20200202.3/doc/tips/github.mdwn-46-* Each time you build the wiki you will need to commit the changes
##############################################
ikiwiki-3.20200202.3/doc/tips/github.mdwn-52-
ikiwiki-3.20200202.3/doc/tips/github.mdwn:53:Your wiki will show up at `http://$YOU.github.com/` within ten
ikiwiki-3.20200202.3/doc/tips/github.mdwn-54-minutes after the first push, and changes you push to it from then on
##############################################
ikiwiki-3.20200202.3/doc/tips/laptop_wiki_with_git.mdwn-19-
ikiwiki-3.20200202.3/doc/tips/laptop_wiki_with_git.mdwn:20:Next, `git clone` the source (`$REPOSITORY`, not `$SRCDIR`)
ikiwiki-3.20200202.3/doc/tips/laptop_wiki_with_git.mdwn-21-from the server to the laptop.
##############################################
ikiwiki-3.20200202.3/doc/tips/laptop_wiki_with_git/discussion.mdwn-33-
ikiwiki-3.20200202.3/doc/tips/laptop_wiki_with_git/discussion.mdwn:34:Unfortunatley that does not fully work, as soon as `cgi_wrapper` is defined in setup file since each time ikiwiki reads a setup file it adds (not replace) a wrapper in `$config{wrappers}`.
ikiwiki-3.20200202.3/doc/tips/laptop_wiki_with_git/discussion.mdwn-35-
##############################################
ikiwiki-3.20200202.3/doc/tips/nearlyfreespeech/discussion.mdwn-29-set_include_path(get_include_path() . PATH_SEPARATOR . '/home/private/src/sparkline-php-0.2/lib');
ikiwiki-3.20200202.3/doc/tips/nearlyfreespeech/discussion.mdwn:30:require_once('/home/private/src/sparkline-php-0.2/lib/Sparkline_$style.php');
ikiwiki-3.20200202.3/doc/tips/nearlyfreespeech/discussion.mdwn-31-"""]]
##############################################
ikiwiki-3.20200202.3/doc/todo/Add_DESTDIR_to_the___39__pm__95__filter__39___and_use_MAKE_in___39__po__47__Makefile__39__.mdwn-32-
ikiwiki-3.20200202.3/doc/todo/Add_DESTDIR_to_the___39__pm__95__filter__39___and_use_MAKE_in___39__po__47__Makefile__39__.mdwn:33:Also, the `po/Makefile` presumes the use of `make`, explicitly.  If you use another build tool it fails (ironically I was actually using `gmake` in non-gnu environment so it wasn't aliased to `make`).  Switch from the explicit call to the generic recall variable `$(MAKE)`.
ikiwiki-3.20200202.3/doc/todo/Add_DESTDIR_to_the___39__pm__95__filter__39___and_use_MAKE_in___39__po__47__Makefile__39__.mdwn-34-
##############################################
ikiwiki-3.20200202.3/doc/todo/Allow_filenames_that_are_all_type.mdwn-8-> This changes `pagename()`, but what about `pagetype()`?
ikiwiki-3.20200202.3/doc/todo/Allow_filenames_that_are_all_type.mdwn:9:> Many things in ikiwiki check if `pagetype($file)` returns
ikiwiki-3.20200202.3/doc/todo/Allow_filenames_that_are_all_type.mdwn-10-> true to see if it's a page, etc. --[[Joey]] 
##############################################
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn-80-
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn:81:> How can this possibly work, since `$hg_dir` is not set? The code
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn-82-> that is being replaced seems to use `-R` to make hg use the right
##############################################
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn-86-
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn:87:>> It works since `if (! defined $hg_dir)` always hits, and `chdir $config{srcdir}` is well defined. The whole logic is just used in `git.pm` for merge functionality that is not present in `mercurial.pm`, so by the cruft argument above, this should be replaced with just chdir `$config{srcdir}` (which is equivalent to `hg -R` or `hg --cwd` from what I know). Will be removed. *Done* --[[Daniel Andersson]]
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn-88-
##############################################
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn-160-
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn:161:>> Yes, the code is missing setting the username at all. The local `hgrc` file is always used. I'll add setting of `$ENV{HGUSER}`. *Done* --[[Daniel Andersson]]
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn-162-
##############################################
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn-253-
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn:254:>> When this has happened, directly following by `rename` and `remove` doesn't work as it should, since the file is not commited. `hg remove -f` doesn't physically remove files that aren't tracked (no `hg` command does). Perhaps a regular `unlink $file` should be called to not clutter the source dir if `hg remove` failed because the file wasn't tracked. --[[Daniel Andersson]]
ikiwiki-3.20200202.3/doc/todo/Attempt_to_extend_Mercurial_backend_support.mdwn-255-
##############################################
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn-3-1. To define hooks, Mercurial uses paths given in the config file `.hg/hgrc`. To enable Mercurial to call `ikiwiki-wrapper` automatically after blog/wiki setup, ikiwiki thus needs to create `hgrc`.
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn:4:2. To reflect changes in `$config{srcdir}` and/or `$config{mercurial_wrapper}`, relevant lines in `hgrc` need to be updated on wrapper creation.
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn-5-
##############################################
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn-45-
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn:46:Create `$config{srcdir}/.hg/hgrc` with hook info during auto-installation script. Use relative paths to not require manual `hgrc` intervention if `$config{srcdir}` is changed. If `$config{mercurial_wrapper}` is changed, manual edit of `hgrc` is needed to catch the new wrapper path.
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn-47-
##############################################
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn-102-
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn:103:Create `$config{srcdir}/.hg/hgrc` during auto-installation with hook info.
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn-104-
##############################################
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn-122-	 	# Add wrappers, make live.
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn:123:	 	if (system("ikiwiki", "--wrappers", "--setup", $config{dumpsetup}) != 0) {
ikiwiki-3.20200202.3/doc/todo/Auto-setup_and_maintain_Mercurial_wrapper_hooks.mdwn-124-	 		die "ikiwiki --wrappers --setup $config{dumpsetup} failed";
##############################################
ikiwiki-3.20200202.3/doc/todo/Give_access_to_more_TMPL__95__VAR_variables_in_templates_inserted_by_the_template_plugin.mdwn-19-I have two groups of tags called `direction` and `usage`, stored in
ikiwiki-3.20200202.3/doc/todo/Give_access_to_more_TMPL__95__VAR_variables_in_templates_inserted_by_the_template_plugin.mdwn:20:two sub-directories of `$tagbase` :
ikiwiki-3.20200202.3/doc/todo/Give_access_to_more_TMPL__95__VAR_variables_in_templates_inserted_by_the_template_plugin.mdwn-21-
##############################################
ikiwiki-3.20200202.3/doc/todo/Improving_the_efficiency_of_match__95__glob.mdwn-35->>>>>> It also may be that Kathryn's patch is slightly faster due to using
ikiwiki-3.20200202.3/doc/todo/Improving_the_efficiency_of_match__95__glob.mdwn:36:>>>>>> the construct `$foo =~ $regexp` rather than `$foo =~ /$regexp/`
ikiwiki-3.20200202.3/doc/todo/Improving_the_efficiency_of_match__95__glob.mdwn-37->>>>>> (probably avoids a copy or something like that internally) --
##############################################
ikiwiki-3.20200202.3/doc/todo/Location_of_pages_starting_with___36__tagbase_should_be_in__by_default.mdwn:1:If I click on a tag that does not yet have a name, but `$tagbase` is set,
ikiwiki-3.20200202.3/doc/todo/Location_of_pages_starting_with___36__tagbase_should_be_in__by_default.mdwn:2:it would be nice if the location suggested is `$tagbase/<tagname>`, not a
ikiwiki-3.20200202.3/doc/todo/Location_of_pages_starting_with___36__tagbase_should_be_in__by_default.mdwn:3:subpage: `<current>/$tagbase/<tagname>`.
ikiwiki-3.20200202.3/doc/todo/Location_of_pages_starting_with___36__tagbase_should_be_in__by_default.mdwn-4-
##############################################
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-61-
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn:62:*TODO:* `$hg_dir` not really implemented yet, until a srcdir/repository distinction is
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-63-made as for e.g. Git. Used in `rcs_receive`, and for attachments in `hg_parse_changes`. See comments in those places, though.
##############################################
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-161-
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn:162:This `$hg_dir` logic means nothing and could be stripped until srcdir/repdir distinction is made (it's stripped in upstream `mercurial.pm` right now).
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-163-
##############################################
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-548-				}
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn:549:				elsif (defined $params{session}->remote_addr()) {
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn:550:					$user = $params{session}->remote_addr();
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-551-				}
##############################################
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-831-							"hg diff -g -c $c_info_raw->{rev} > '$temppath'";
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn:832:						if (system($cmd) != 0) {
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-833-							error("failed writing temp file '$temppath'.");
##############################################
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-849-
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn:850:`rcs_receive` is optional and only runs when running a pre-receive hook. Where `$_` comes from and its format are mysteries to me.
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-851-
##############################################
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-858-> 
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn:859:> Hint: `$_` is being populated by the specific format git sends to a
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-860-> specific hook script.
##############################################
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-870-
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn:871:*TODO:* What happens here? Some Git voodoo. _If_ `$_` has the exact same format for Mercurial, then the below should work just as well here, I think.
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-872-
##############################################
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-931-
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn:932:Some voodoo is needed here. `hg backout --tool internal:local -r $sha1` is *almost* good, but if the reversion is done to the directly previous revision, hg automatically commits, which is bad in this case. Instead I generate a reverse diff and pipe it to `import --no-commit`.
ikiwiki-3.20200202.3/doc/todo/Mercurial_backend_update.mdwn-933-
##############################################
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn-136-    -	    writefile("$digest.tex", $tmp, $tex) &&
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn:137:    -	    system("cd $tmp; latex --interaction=nonstopmode $tmp/$digest.tex > /dev/null") == 0 &&
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn:138:    -	    system("dvips -E $tmp/$digest.dvi -o $tmp/$digest.ps 2> $tmp/$digest.log") == 0 &&
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn-139-    -	    # ensure destination directory exists
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn-140-    -	    writefile("$imagedir/$digest.png", $config{destdir}, "") &&
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn:141:    -	    system("convert -density 120  -trim -transparent \"#FFFFFF\" $tmp/$digest.ps $config{destdir}/$imagedir/$digest.png > $tmp/$digest.log") == 0) {
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn-142-    +		writefile("$digest.tex", $tmp, $tex) &&
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn:143:    +		system("cd $tmp; latex --interaction=nonstopmode $tmp/$digest.tex > /dev/null") == 0 &&
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn-144-    +		# ensure destination directory exists
##############################################
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn-146-    +		(($config{teximg_dvipng} &&
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn:147:    +			system("dvipng -D 120 -bg Transparent -T tight -o $config{destdir}/$imagedir/$digest.png $tmp/$digest.dvi > $tmp/$digest.log") == 0
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn-148-    +			) || 
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn-149-    +		(!$config{teximg_dvipng} &&
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn:150:    +			system("dvips -E $tmp/$digest.dvi -o $tmp/$digest.ps 2> $tmp/$digest.log") == 0 &&
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn:151:    +			system("convert -density 120  -trim -transparent \"#FFFFFF\" $tmp/$digest.ps $config{destdir}/$imagedir/$digest.png > $tmp/$digest.log") == 0))) {
ikiwiki-3.20200202.3/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn-152-     		return 1;
##############################################
ikiwiki-3.20200202.3/doc/todo/Option_to_disable_date_footer_for_inlines.mdwn-10->> You also don't need to be restricted to a fixed set of modes: the `mode` parameter could simply specify
ikiwiki-3.20200202.3/doc/todo/Option_to_disable_date_footer_for_inlines.mdwn:11:>> the template to be used: `inlinepage-$mode.tmpl`. For producing e.g. bulleted lists of the entries, some extra
ikiwiki-3.20200202.3/doc/todo/Option_to_disable_date_footer_for_inlines.mdwn-12->> container template would be useful in addition to that... 
##############################################
ikiwiki-3.20200202.3/doc/todo/Protocol_relative_urls_for_stylesheet_linking.mdwn-29->
ikiwiki-3.20200202.3/doc/todo/Protocol_relative_urls_for_stylesheet_linking.mdwn:30:> If your`$config{url}` and `$config{cgiurl}` have different hostnames (e.g.
ikiwiki-3.20200202.3/doc/todo/Protocol_relative_urls_for_stylesheet_linking.mdwn-31-> `url => "http://wiki.example.com", cgiurl => "http://cgi.example.com/ikiwiki.cgi"`)
##############################################
ikiwiki-3.20200202.3/doc/todo/Protocol_relative_urls_for_stylesheet_linking.mdwn-43->
ikiwiki-3.20200202.3/doc/todo/Protocol_relative_urls_for_stylesheet_linking.mdwn:44:> If you set both the `$config{url}` and `$config{cgiurl}` to https, but make
ikiwiki-3.20200202.3/doc/todo/Protocol_relative_urls_for_stylesheet_linking.mdwn-45-> the resulting HTML available over HTTP as well as HTTPS, that should work
##############################################
ikiwiki-3.20200202.3/doc/todo/Render_multiple_destinations_from_one_source.mdwn-47-> Another handy trick is to use the old perl-format (not yaml) setup file,
ikiwiki-3.20200202.3/doc/todo/Render_multiple_destinations_from_one_source.mdwn:48:> and parameterize it using `$ENV{FOO}`, then you can build two different
ikiwiki-3.20200202.3/doc/todo/Render_multiple_destinations_from_one_source.mdwn-49-> setups from the same setup file.
##############################################
ikiwiki-3.20200202.3/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn-250->>
ikiwiki-3.20200202.3/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn:251:>> We don't have to change the `$handle` function at all, if it is possible
ikiwiki-3.20200202.3/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn-252->> to do the indent substitution all in one line instead of passing it to
##############################################
ikiwiki-3.20200202.3/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn-263->>
ikiwiki-3.20200202.3/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn:264:>>> Yes, in effect just `indent($1, handle->($2,$,4))` --[[Joey]] 
ikiwiki-3.20200202.3/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn-265->>
##############################################
ikiwiki-3.20200202.3/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn-274->>
ikiwiki-3.20200202.3/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn:275:>> I wasted a long time getting the simpler `indent($1, handle->($2,$,4))` to
ikiwiki-3.20200202.3/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn:276:>> work (remember, I don't know perl at all). Somehow `$1` does not arrive, I
ikiwiki-3.20200202.3/doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn-277->> made a simple testcase that worked, and I conclude something inside $handle
##############################################
ikiwiki-3.20200202.3/doc/todo/Zoned_ikiwiki.mdwn-67-`Require all denied` (or other equivalent directive for the `http` server
ikiwiki-3.20200202.3/doc/todo/Zoned_ikiwiki.mdwn:68:in use), and a `403` error handler of `{$cgiurl}?do=view`.
ikiwiki-3.20200202.3/doc/todo/Zoned_ikiwiki.mdwn-69-
##############################################
ikiwiki-3.20200202.3/doc/todo/__42__forward__42__ing_functionality_for_the_meta_plugin.mdwn-43-
ikiwiki-3.20200202.3/doc/todo/__42__forward__42__ing_functionality_for_the_meta_plugin.mdwn:44:>> OK.  I can add code to make sure that `$delay` **D** indeed is a natural number
ikiwiki-3.20200202.3/doc/todo/__42__forward__42__ing_functionality_for_the_meta_plugin.mdwn-45->> and that the passed target address **WHITHER** is nothing but a valid target address.
##############################################
ikiwiki-3.20200202.3/doc/todo/aggregate_to_internal_pages.mdwn-13-> aggregated pages, htmlfn will not return the right filename for those
ikiwiki-3.20200202.3/doc/todo/aggregate_to_internal_pages.mdwn:14:> pages when expiring them. Seems that `$was_internal` (or just the full
ikiwiki-3.20200202.3/doc/todo/aggregate_to_internal_pages.mdwn-15-> source filename) should be recorded on a per-guid basis. Could you do
##############################################
ikiwiki-3.20200202.3/doc/todo/allow_displaying_number_of_comments.mdwn-16-> I see no need to add a second pagetemplate hook.
ikiwiki-3.20200202.3/doc/todo/allow_displaying_number_of_comments.mdwn:17:> The existing one can be added to. Probably inside its `if ($shown)`
ikiwiki-3.20200202.3/doc/todo/allow_displaying_number_of_comments.mdwn-18-> block.
##############################################
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-111-
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn:112:>>>>> No, `$2` is either `\w+\([^\)]*\)` or `[^\s]+` (with the
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-113->>>>> latter causing an error later if it doesn't also match `\w+`).
##############################################
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-133->>>>> so it's a function to return a key, e.g.
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn:134:>>>>> `sub key_age { return -%pagemtime{$_[0]) }`. Then we could sort like
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-135->>>>> this:
##############################################
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-187-
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn:188:I notice the implementation does not use the magic `$a` and `$b` globals.
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-189-That nasty perl optimisation is still worthwhile:
##############################################
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-199-
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn:200:> Unfortunately, `$a` isn't always `$main::a` - it's `$Package::a` where
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-201-> `Package` is the call site of the sort call. This was a showstopper when
##############################################
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-211->
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn:212:> which would mean that the comparison used `$IkiWiki::SortSpec::a`.
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-213-> --s
##############################################
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-225->> * my branch, with `@_`: 65.21user 0.28system
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn:226:>> * my branch, with `$a`: 64.09user 0.28system
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn:227:>> * my branch, with `$a`: 63.83user 0.36system
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-228->> * not sorted at all: 58.99user 0.29system
##############################################
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-294-
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn:295:The names of pages to be compared are in the global variables `$a` and `$b`
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-296-in the IkiWiki::SortSpec package. The function should return the same thing
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn:297:as Perl's `cmp` and `<=>` operators: negative if `$a` is less than `$b`,
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn:298:positive if `$a` is greater, or zero if they are considered equal. It may
ikiwiki-3.20200202.3/doc/todo/allow_plugins_to_add_sorting_methods.mdwn-299-also raise an error using `error`, for instance if it needs a parameter but
##############################################
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn-21-* hating web-browsers and despising textareas
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn:22:* loving in his/her own preferred `$EDITOR`
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn-23-
##############################################
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn-32-1. Go offline.
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn:33:1. `$EDITOR` : write, report, answer, propose
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn-34-1. Go online.
##############################################
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn-64-> ikiwiki wrapper. A new `git_receive_wrapper` config setting could cause
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn:65:> the wrapper to be generated, with `$config{receive}` set to true.
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn-66-> 
##############################################
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn-77-> course, pushes from the main user, who owns the wiki, would not be
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn:78:> checked at all. So, let's say `$config{usermap}` is a hash, something
ikiwiki-3.20200202.3/doc/todo/applydiff_plugin.mdwn-79-> like `{usera => "wikiusera", userb => "wikiuserb"}`, and pushes from
##############################################
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn:1:It would be great if I could tell ikiwiki to automatically instantiate pages for each [[tag|/tags]], according to a template, especially when `$tagbase` is set.
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn-2-
##############################################
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn-74-
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn:75:* Will still create a page even if there's a page other than `$tag` under
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn-76-`tagbase` satisfying the tag link. (details? --[[Joey]])
##############################################
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn-94->   you introduced at least 2 bugs, one a possible security hole.
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn:95:>   Now one part of the code tests `if ($file)` and the other
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn:96:>   caller tests `if ($f)`. These two tests both tested `if (! defined $f)`
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn-97->   before. Notice that the variable needs to be the untainted variable
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn:98:>   for both. Also notice that `if ($f)` fails if `$f` contains `0`,
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn-99->   which is a very common perl gotcha.
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn:100:> * Your refactored code changes `-l $_ || -d _` to `-l $file || -d $file`.
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn-101->   The latter makes one more stat system call; note the use of a
##############################################
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn-113-> * Commit [4af4d26582f0c2b915d7102fb4a604b176385748][] seems unnecessary.
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn:114:>   `srcfile($file, 1)` already is documented to return undef if the
ikiwiki-3.20200202.3/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn-115->   file does not exist. (But without the second parameter, it throws
##############################################
ikiwiki-3.20200202.3/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn-124-    
ikiwiki-3.20200202.3/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn:125:        if (! length `which $config{sourcecode_command} 2>/dev/null`) {
ikiwiki-3.20200202.3/doc/todo/automatic_use_of_syntax_plugin_on_source_code_files/discussion.mdwn-126-            error("The sourcecode plugin is unable to find the $config{sourcecode_command} command");
##############################################
ikiwiki-3.20200202.3/doc/todo/bzr.mdwn-86-            chomp $olduser;
ikiwiki-3.20200202.3/doc/todo/bzr.mdwn:87:            system("bzr","whoami",$user); # This will set the branch username; there doesn't seem to be a way to do it on a per-commit basis.
ikiwiki-3.20200202.3/doc/todo/bzr.mdwn-88-                                          # Save the old one and restore after the commit.
##############################################
ikiwiki-3.20200202.3/doc/todo/bzr.mdwn-94-            $olduser=possibly_foolish_untaint($olduser);
ikiwiki-3.20200202.3/doc/todo/bzr.mdwn:95:            system("bzr","whoami",$olduser);
ikiwiki-3.20200202.3/doc/todo/bzr.mdwn-96-    
##############################################
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn-36-> > > `tag_autocreate_commit` exists because when tag autocreation
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn:37:> > > was introduced, they were always in the `$srcdir` and committed.
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn-38-> > > I changed it so that it was possible to put them in the [[plugins/transient]]
##############################################
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn-44-> > > independent page creation will simply mask them (a page in the
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn:45:> > > `$srcdir` hides a page of the same name in an underlay). I thought
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn-46-> > > this implementation did the same when not committing? --[[smcv]]
##############################################
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn-224->
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn:225:> `$changed{$params{year}}` is a scalar (you can tell because it starts with the
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn-226-> `$` sigil) but `()` is a list. I think you want `{}`
##############################################
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn-229-> However, that whole `if` block can be omitted, and you can just use
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn:230:> `$changed{$params{year}}{$params{month}} = 1;`, because Perl will automatically
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn:231:> create `$changed{$params{year}}` as a reference to an empty hash if necessary,
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn:232:> in order to put the pair `$params{month} => 1` in it (the term to look
ikiwiki-3.20200202.3/doc/todo/calendar_autocreate.mdwn-233-> up if you're curious is "autovivification").
##############################################
ikiwiki-3.20200202.3/doc/todo/cas_authentication.mdwn-55-> authentication. Can you do that with AuthCAS? Something like this before
ikiwiki-3.20200202.3/doc/todo/cas_authentication.mdwn:56:> the use of it: `eval q{use AuthCAS}; error $@ if $@`
ikiwiki-3.20200202.3/doc/todo/cas_authentication.mdwn-57-
##############################################
ikiwiki-3.20200202.3/doc/todo/cdate_and_mdate_available_for_templates.mdwn-8-
ikiwiki-3.20200202.3/doc/todo/cdate_and_mdate_available_for_templates.mdwn:9:* `sub date_822 ($) {}`
ikiwiki-3.20200202.3/doc/todo/cdate_and_mdate_available_for_templates.mdwn:10:* `sub date_3339 ($) {}`
ikiwiki-3.20200202.3/doc/todo/cdate_and_mdate_available_for_templates.mdwn:11:* and something like `$template->param('cdate_822' => date_822($IkiWiki::pagectime{$page}));`
ikiwiki-3.20200202.3/doc/todo/cdate_and_mdate_available_for_templates.mdwn-12-
##############################################
ikiwiki-3.20200202.3/doc/todo/color_plugin.mdwn-52-> The preprocess function is passed named parameters. The hack you have of
ikiwiki-3.20200202.3/doc/todo/color_plugin.mdwn:53:> hardcoding use of `$_[0]` and `$_[2]` can fail at any time.
ikiwiki-3.20200202.3/doc/todo/color_plugin.mdwn-54-
##############################################
ikiwiki-3.20200202.3/doc/todo/color_plugin.mdwn-71-> `replace_preserved_style` is passed a single parameter, so its prototype
ikiwiki-3.20200202.3/doc/todo/color_plugin.mdwn:72:> should be `($)`, not `(@)`.  Ditt `preserve_style`, it should have
ikiwiki-3.20200202.3/doc/todo/color_plugin.mdwn:73:> `($$)`.
ikiwiki-3.20200202.3/doc/todo/color_plugin.mdwn-74-
##############################################
ikiwiki-3.20200202.3/doc/todo/color_plugin.mdwn-76-
ikiwiki-3.20200202.3/doc/todo/color_plugin.mdwn:77:> The sanitize hook is always passed `$params{content}`, so there should be
ikiwiki-3.20200202.3/doc/todo/color_plugin.mdwn-78-> no reason to check that it exists. Also, it shouldn't be done in a
##############################################
ikiwiki-3.20200202.3/doc/todo/comment_by_mail/discussion.mdwn-6-    > like `wikiname+index@host` or `wikiname+todo+comment_by_mail@host`.
ikiwiki-3.20200202.3/doc/todo/comment_by_mail/discussion.mdwn:7:    > The basic transformation would be to call `titlepage($page)` (in the
ikiwiki-3.20200202.3/doc/todo/comment_by_mail/discussion.mdwn-8-    > C locale), followed by replacing "/" with "+" (since "/" is not
##############################################
ikiwiki-3.20200202.3/doc/todo/credentials_page.mdwn:1:pushing [[this|todo/httpauth feature parity with passwordauth]] and [[this|todo/htpasswd mirror of the userdb]] further (although rather in the [[wishlist]] priority): would it make sense for users to have a `$USER/credentials` page that is by default locked to the user and admins, where the user can state one or more of the below?
ikiwiki-3.20200202.3/doc/todo/credentials_page.mdwn-2-
##############################################
ikiwiki-3.20200202.3/doc/todo/credentials_page.mdwn-17-> However, I'm not sure this should be a static page (I guess you
ikiwiki-3.20200202.3/doc/todo/credentials_page.mdwn:18:> mean `$USER/credentials`, I don't think ‘creditentials’ actually
ikiwiki-3.20200202.3/doc/todo/credentials_page.mdwn-19-> exists). Something entirely managed at the CGI level is probably
##############################################
ikiwiki-3.20200202.3/doc/todo/dependency_types.mdwn-110-  before. (So nothing breaks.)
ikiwiki-3.20200202.3/doc/todo/dependency_types.mdwn:111:* `add_depends($page, $spec, presence => 0)` adds an presence dependency.
ikiwiki-3.20200202.3/doc/todo/dependency_types.mdwn-112-* `refresh` only looks at added/removed pages when resolving presence
##############################################
ikiwiki-3.20200202.3/doc/todo/dependency_types.mdwn-270-
ikiwiki-3.20200202.3/doc/todo/dependency_types.mdwn:271:* `add_depends($page, $spec, links => 1, presence => 1)`
ikiwiki-3.20200202.3/doc/todo/dependency_types.mdwn-272-  adds a links + presence dependency.
##############################################
ikiwiki-3.20200202.3/doc/todo/dependency_types.mdwn-411-
ikiwiki-3.20200202.3/doc/todo/dependency_types.mdwn:412:>>>>> Oh, okie.  I looked at the source, saw the `if (exists $IkiWiki::pagectime{$testpage})` and assumed it would fail.
ikiwiki-3.20200202.3/doc/todo/dependency_types.mdwn-413->>>>> Of course, having it succeed doesn't cure all the issues -- just moves them.  With `created_before()` succeeding
##############################################
ikiwiki-3.20200202.3/doc/todo/different_search_engine.mdwn-260--               chdir("$config{wikistatedir}/hyperestraier") || error("chdir: $!");
ikiwiki-3.20200202.3/doc/todo/different_search_engine.mdwn:261:-               exec("./".IkiWiki::basename($config{cgiurl})) || error("estseek.cgi failed");
ikiwiki-3.20200202.3/doc/todo/different_search_engine.mdwn-262--       }
##############################################
ikiwiki-3.20200202.3/doc/todo/dynamic_rootpage.mdwn-7-I think that you could add builtin functions or variables, for example `current_year()`
ikiwiki-3.20200202.3/doc/todo/dynamic_rootpage.mdwn:8:or `$CURRENT_YEAR` to usage inside `rootpage` parameter. Something like for Manoj's
ikiwiki-3.20200202.3/doc/todo/dynamic_rootpage.mdwn-9-calendar plugin. Then my `rootpage` parameter could be like
##############################################
ikiwiki-3.20200202.3/doc/todo/dynamic_rootpage.mdwn-27-> I want the exact same thing.  My compromise was to create a `datedblog` module which overrides `inline`'s `sessioncgi` hook
ikiwiki-3.20200202.3/doc/todo/dynamic_rootpage.mdwn:28:> with something that sets the new page name to `%Y-%m-%d.$page` and sets up a meta directive at the beginning of
ikiwiki-3.20200202.3/doc/todo/dynamic_rootpage.mdwn-29-> the content, with the title you wanted.  Now if you use the `datedblog` module, you get dated blog entries.  But I'd
##############################################
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_look_in_templates_directory_by_default.mdwn-6-
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_look_in_templates_directory_by_default.mdwn:7:I think it should probably fall back to looking for `templates/$foo`.
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_look_in_templates_directory_by_default.mdwn-8---[[Joey]] 
##############################################
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn-17-
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn:18:Changes to the structure of `$pagestate{$registering_page}{edittemplate}{$pagespec}` mean that a `cgi` rebuild is necessary (for reasons I don't entirely understand); but I think that's preferable to creating an entirely separate `$pagestate` namespace for storing parameters.  That said, I'm not really a perl programmer, so corrections are welcome.
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn-19-
##############################################
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn-40->> FYI, the reason that it makes a rebuild is necessary is that
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn:41:>> you've restructured `$pagestate`, which is carried over from one
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn-42->> refresh to the next (that's its purpose), and you haven't
##############################################
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn-46->> v3/v5 UUIDs, please describe it and I'll try to suggest some
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn:47:>> better way based on that, maybe global configuration in `$config`.
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn-48->> --[[smcv]]
##############################################
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn-59->>> * remove v3/v5 UUID support since I don't really see the point,
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn:60:>>>   and if included, it would need a migration path for `$pagestate`
ikiwiki-3.20200202.3/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn-61->>> * use RFC 3339 time format for `time` to make the timezone unambiguous
##############################################
ikiwiki-3.20200202.3/doc/todo/fancypodcast/discussion.mdwn-46-* Code review: don't confuse old readers with Atom names in RSS.
ikiwiki-3.20200202.3/doc/todo/fancypodcast/discussion.mdwn:47:* Code review: instead of hacking back to `$link`, just provide it.
ikiwiki-3.20200202.3/doc/todo/fancypodcast/discussion.mdwn-48-* Code review: show author in addition to feedname, if different.
##############################################
ikiwiki-3.20200202.3/doc/todo/fancypodcast/discussion.mdwn-65-> parameter true, which means the \[[!inline]] code here gets an
ikiwiki-3.20200202.3/doc/todo/fancypodcast/discussion.mdwn:66:> absolute URL in `$pagestate{$p}{meta}{enclosure}`. To compute the
ikiwiki-3.20200202.3/doc/todo/fancypodcast/discussion.mdwn-67-> enclosure's metadata, though, we of course need it as a local path.
##############################################
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-7-
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn:8:* `$config{usedirs}` is 1
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-9-* there are a number of subdirectories (A/, B/, C/, etc)
##############################################
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-59->> would turn up empty. We could make it conditional in the default
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn:60:>> template, or we could have `$desc` default to `$title` if nothing
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-61->> else is provided, but at this point I see no reason to _not_ allow
##############################################
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-94-
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn:95:In one of my wiki setups I had a terminating '/' in `$config{url}`. You
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-96-mention that it should not be present, but I have not seen this
##############################################
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-120-
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn:121:>> Well, the URL would obviously change if the `$config{url}` ended in
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-122->> slash and the `urlto` patch (or other equivalent) went into effect.
##############################################
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-124->> Aside from that, if I read the code correctly, the only other extra
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn:125:>> thing that `urlto` does is to `beautify_url_path` the `"/".$to` part,
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-126->> and the only way this would cause the url to be altered is if the
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-127->> feed name was "index" (which can easily happen) and
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn:128:>> `$config{htmlext}` was set to something like `.rss` or
ikiwiki-3.20200202.3/doc/todo/feed_enhancements_for_inline_pages.mdwn-129->> `.rss.1`.
##############################################
ikiwiki-3.20200202.3/doc/todo/fileupload/soc-proposal.mdwn-29-
ikiwiki-3.20200202.3/doc/todo/fileupload/soc-proposal.mdwn:30:In keeping with the current architecture of IkiWiki, we can make this metadata available to plugins by using a hash keyed on the filename, e.g. `$metadata{'software/software.tar.gz'}{'license'} eq 'gpl'`. 
ikiwiki-3.20200202.3/doc/todo/fileupload/soc-proposal.mdwn-31-
##############################################
ikiwiki-3.20200202.3/doc/todo/flexible_relationships_between_pages.mdwn-100-  which the people who showed me felt very bad for having spoilt me. indeed,
ikiwiki-3.20200202.3/doc/todo/flexible_relationships_between_pages.mdwn:101:  `no strict refs;` and `*$forward_name = $forward_match;` are not exactly
ikiwiki-3.20200202.3/doc/todo/flexible_relationships_between_pages.mdwn-102-  ideal. a change in the pagespec declaration api (why not just `hook` like
##############################################
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn-9-
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn:10:Seems fairly reasonable, actually. Shouldn't the `$type` come from `$page`
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn:11:instead of `$destpage` though? Only other obvious change is to make the
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn-12-escape parameter optional, and only call it if set. --[[Joey]]
##############################################
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn-155-+	if ($params{broken}){
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn:156:+		return "`? <$url>`_\ $text";
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn-157-+	}
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn-158-+	else {
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn:159:+		return "`$text <$url>`_";
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn-160-+	}
##############################################
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn-208- 
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn:209: #### `readfile($;$)`
ikiwiki-3.20200202.3/doc/todo/format_escape.mdwn-210- 
##############################################
ikiwiki-3.20200202.3/doc/todo/fortune:_select_options_via_environment.mdwn-23-    +       if (exists ($ENV{'IKIWIKI_FORTUNE_COMMAND'})) {
ikiwiki-3.20200202.3/doc/todo/fortune:_select_options_via_environment.mdwn:24:    +           $f = `$ENV{'IKIWIKI_FORTUNE_COMMAND'} 2>/dev/null`
ikiwiki-3.20200202.3/doc/todo/fortune:_select_options_via_environment.mdwn-25-    +       }
##############################################
ikiwiki-3.20200202.3/doc/todo/generic_insert_links.mdwn-16-a fallback plugin could run last and look for a template
ikiwiki-3.20200202.3/doc/todo/generic_insert_links.mdwn:17:named like `templates/embed_$extension`, and insert a directive like:
ikiwiki-3.20200202.3/doc/todo/generic_insert_links.mdwn-18-
##############################################
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn-19-
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn:20: 1. setup a git annex remote in `$srcdir`
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn-21-
##############################################
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn-31-
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn:32: 4. make the bare repository (the remote of `$srcdir`) ignored by git-annex:
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn-33-
##############################################
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn-90-
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn:91: * how do files get pushed to the `$srcdir`? Only through the web interface?
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn-92- * why do we ignore the bare repository?
##############################################
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn-134-
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn:135:I have added this as a hook in `$HOME/source.git/hooks/post-receive` (don't forget to `chmod +x`).
ikiwiki-3.20200202.3/doc/todo/git-annex_support.mdwn-136-
##############################################
ikiwiki-3.20200202.3/doc/todo/git-annex_support/discussion.mdwn-6-
ikiwiki-3.20200202.3/doc/todo/git-annex_support/discussion.mdwn:7:The trick I had to do to get git-annex, ikiwiki and the album plugin to work was to initialize an annex remote in the `$srcdir`. Then block the bare origin (ie wiki.git folder) with `annex-sync = false` and `annex-ignore = true` on **both** the server and the working laptop. This is to avoid polluting the wiki.git bare repo with annex stuff.
ikiwiki-3.20200202.3/doc/todo/git-annex_support/discussion.mdwn-8-
##############################################
ikiwiki-3.20200202.3/doc/todo/git-annex_support/discussion.mdwn-10-
ikiwiki-3.20200202.3/doc/todo/git-annex_support/discussion.mdwn:11:Another critical thing for this to work was to set the `$srcdir` on the server to direct mode `git-annex direct` before adding any content anywhere. On the laptop I can use indirect mode without problems.
ikiwiki-3.20200202.3/doc/todo/git-annex_support/discussion.mdwn-12-
##############################################
ikiwiki-3.20200202.3/doc/todo/git-annex_support/discussion.mdwn-14-
ikiwiki-3.20200202.3/doc/todo/git-annex_support/discussion.mdwn:15:> I am not sure how git-annex'd files are pushed to the `$srcdir`. Usually, you clone from the bare repo, so any git annex command will work on that repository, yet you explicitely ignore it. How *do* you push files into the `$srcdir`? Only on the web interface? Thanks again! --[[anarcat]]
##############################################
ikiwiki-3.20200202.3/doc/todo/inband_acl_data.mdwn-68-
ikiwiki-3.20200202.3/doc/todo/inband_acl_data.mdwn:69:* i had to manually expand `$pagename` to `$pagename/index.mdwn` as
ikiwiki-3.20200202.3/doc/todo/inband_acl_data.mdwn-70-  %pagesources seems to be empty in the context of `?do=edit`. how is this
##############################################
ikiwiki-3.20200202.3/doc/todo/inline_raw_files.mdwn-7-
ikiwiki-3.20200202.3/doc/todo/inline_raw_files.mdwn:8:Also raise an error in `IkiWiki::pagetype($file)` if `$file` is blank, which avoids trying to do much with missing files, etc.
ikiwiki-3.20200202.3/doc/todo/inline_raw_files.mdwn-9-
##############################################
ikiwiki-3.20200202.3/doc/todo/inline_raw_files.mdwn-109-`get_inline_content()` that makes the `htmlize()` call dependent on a
ikiwiki-3.20200202.3/doc/todo/inline_raw_files.mdwn:110:`$read_raw` flag.  If the flag is set, the raw (non-htmlized) content
ikiwiki-3.20200202.3/doc/todo/inline_raw_files.mdwn-111-is used instead.
##############################################
ikiwiki-3.20200202.3/doc/todo/inlines_inheriting_links.mdwn-11-
ikiwiki-3.20200202.3/doc/todo/inlines_inheriting_links.mdwn:12:> Or, instead of specifying whether to inherit at the place of the inline, add more relations (`inline`, `backinline`) and relation composition (say, `*`, or haskell-ish `$` in order not confuse with the glob `*`) and explicitly write in the pagespecs that you want to follow the inline relation backwards: `elements/* and backlink$backinline(all_new_stuff)` or, equivalently, if [["classes"|todo/tracking_bugs_with_dependencies]] are implemented in pagespecs: `elements/* and backlink(backinline(all_new_stuff))`. Of course, this suggestion requires the powerful extension to pagespecs, but it gives more flexibility, and the possibility to avoid redundant information: the same pagespec at two places -- the inline and the other matching construction.
ikiwiki-3.20200202.3/doc/todo/inlines_inheriting_links.mdwn-13->
##############################################
ikiwiki-3.20200202.3/doc/todo/language_definition_for_the_meta_plugin.mdwn-25-
ikiwiki-3.20200202.3/doc/todo/language_definition_for_the_meta_plugin.mdwn:26:>>>> Yes, english default makes sense. I guess we should use the `$config{lang}`, 
ikiwiki-3.20200202.3/doc/todo/language_definition_for_the_meta_plugin.mdwn-27->>>> defined from the setup file or command-line options to define the default language
ikiwiki-3.20200202.3/doc/todo/language_definition_for_the_meta_plugin.mdwn:28:>>>> (`$config{lang}` defaults to `en` which is fine) if the html pages, and override
ikiwiki-3.20200202.3/doc/todo/language_definition_for_the_meta_plugin.mdwn-29->>>> it from the `meta` directive.
##############################################
ikiwiki-3.20200202.3/doc/todo/language_definition_for_the_meta_plugin.mdwn-36-
ikiwiki-3.20200202.3/doc/todo/language_definition_for_the_meta_plugin.mdwn:37:> So the patch below could be changed to parse `$config{locale}` for the
ikiwiki-3.20200202.3/doc/todo/language_definition_for_the_meta_plugin.mdwn-38-> language, and pass it if no specific lang was set for the page. The only
##############################################
ikiwiki-3.20200202.3/doc/todo/language_definition_for_the_meta_plugin.mdwn-87->> My only comments on this patch beyond what Joey said are that the page
ikiwiki-3.20200202.3/doc/todo/language_definition_for_the_meta_plugin.mdwn:88:>> language could usefully go into `$pagestate{$page}{meta}{lang}` for other
ikiwiki-3.20200202.3/doc/todo/language_definition_for_the_meta_plugin.mdwn-89->> plugins to be able to see it (is that what you meant?), and that
##############################################
ikiwiki-3.20200202.3/doc/todo/location_of_external_plugins.mdwn-27->>> 
ikiwiki-3.20200202.3/doc/todo/location_of_external_plugins.mdwn:28:>>> - Call ikiwiki using ``PYTHONPATH="$PYTHONPATH:/usr/lib/ikiwiki/plugins ikiwiki ...``, but it is a pain to write this each time I want to use this (and any solution like creating a custom script do not seem very nice);
ikiwiki-3.20200202.3/doc/todo/location_of_external_plugins.mdwn-29->>> - Make my plugin add `/usr/lib/ikiwiki/plugins` to its python path, but I do not know how portable this is for a non Debian distribution.
##############################################
ikiwiki-3.20200202.3/doc/todo/matching_different_kinds_of_links.mdwn-22-> The data that seems to be needed is basically a deep hash, so
ikiwiki-3.20200202.3/doc/todo/matching_different_kinds_of_links.mdwn:23:> one could check `$linktype{$page}{tag}{$link}` to see if
ikiwiki-3.20200202.3/doc/todo/matching_different_kinds_of_links.mdwn-24-> the page contains a link of the given type. (Note that pages could
##############################################
ikiwiki-3.20200202.3/doc/todo/matching_different_kinds_of_links.mdwn-31-> `%linktype` could be stored in `%pagestate`.. if so
ikiwiki-3.20200202.3/doc/todo/matching_different_kinds_of_links.mdwn:32:> the actual use might look like `$pagestate{$page}{linktype}{tag}{$link}`.
ikiwiki-3.20200202.3/doc/todo/matching_different_kinds_of_links.mdwn-33-> That could be implemented by the tag plugin right now
##############################################
ikiwiki-3.20200202.3/doc/todo/matching_different_kinds_of_links.mdwn-91-
ikiwiki-3.20200202.3/doc/todo/matching_different_kinds_of_links.mdwn:92:#### `add_link($$;$)`
ikiwiki-3.20200202.3/doc/todo/matching_different_kinds_of_links.mdwn-93- 
##############################################
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn-5-   though "Name <address@domain>" is standard. --[[bma]]
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn:6:* The way `-u $user` is passed to `hg commit`, there's no way to tell
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn-7-  if a given commit came in over the web or was done directly. So
##############################################
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn-21-
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn:22:Posthook: in `$srcdir/.hg/hgrc`, I have the following
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn-23-
##############################################
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn-104-
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn:105:1. I have noticed that running `ikiwiki` after a change to the wiki adds files to a directory called `recentchanges` under `$srcdir`. I don't understand why such files are needed; worse, they are not added to mercurial's list of tracked files, so they polute the output of `hg log`. Is this a bug? Should mercurial's commit hook be modified to add these files before the commit?
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn-106-
##############################################
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn-116-
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn:117:>> 2. The output of `hg status` is polluted. This could be solved trivially by adding a line containing `recentchanges` to `.hgignore`. Another alternative would be to store the `recentchanges` directory inside `$srdcir/.ikiwiki`.
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn-118-
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn:119:>> I think the ideal solution would be to build `$destdir/recentchanges/*` directly from the output of `hg log`. --[[buo]]
ikiwiki-3.20200202.3/doc/todo/mercurial.mdwn-120-
##############################################
ikiwiki-3.20200202.3/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn-18-OT: as a bonus, this branch contains a patch to support {hashes,arrays} of
ikiwiki-3.20200202.3/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn:19:{hashes,arrays} in `$config`, which I missed a bit when writing the po plugin,
ikiwiki-3.20200202.3/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn-20-and decided this time it was really needed to implement this feature.
##############################################
ikiwiki-3.20200202.3/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn-53-
ikiwiki-3.20200202.3/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn:54:>>> You are fully right about the complex `$config` entries. I'll
ikiwiki-3.20200202.3/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn-55->>> convert this to use what you are suggesting, i.e. what we ended up
##############################################
ikiwiki-3.20200202.3/doc/todo/missingparents.pm.mdwn-122-+	return sprintf(gettext("missingparents in %s will be %s"), 
ikiwiki-3.20200202.3/doc/todo/missingparents.pm.mdwn:123:+		       '`'.$params{pages}.'`', '`\\'.$params{generate}.'`');
ikiwiki-3.20200202.3/doc/todo/missingparents.pm.mdwn-124-+}
##############################################
ikiwiki-3.20200202.3/doc/todo/optimize_simple_dependencies.mdwn-59-> Else, add it to the pagespec hash. You can tell if it's a pure page name
ikiwiki-3.20200202.3/doc/todo/optimize_simple_dependencies.mdwn:60:> by matching on `$config{wiki_file_regexp}`.
ikiwiki-3.20200202.3/doc/todo/optimize_simple_dependencies.mdwn-61-
##############################################
ikiwiki-3.20200202.3/doc/todo/osm_plugin_icon_patch.mdwn-15->
ikiwiki-3.20200202.3/doc/todo/osm_plugin_icon_patch.mdwn:16:> So there's a comment there that explains why the value of `$icon` can
ikiwiki-3.20200202.3/doc/todo/osm_plugin_icon_patch.mdwn-17-> be trusted, but it is no longer true, because it no longer comes from
ikiwiki-3.20200202.3/doc/todo/osm_plugin_icon_patch.mdwn:18:> `$config`. This does not fill me with confidence. Maybe it's OK to use
ikiwiki-3.20200202.3/doc/todo/osm_plugin_icon_patch.mdwn-19-> a wiki-editor-supplied icon, maybe not. If it is OK, please justify why,
##############################################
ikiwiki-3.20200202.3/doc/todo/pagespec__95__match__95__list_can_result_in_excessive_dependencies.mdwn-4-
ikiwiki-3.20200202.3/doc/todo/pagespec__95__match__95__list_can_result_in_excessive_dependencies.mdwn:5:with a small list `@pages` and a vague pagespec `$spec`, `$page` ends
ikiwiki-3.20200202.3/doc/todo/pagespec__95__match__95__list_can_result_in_excessive_dependencies.mdwn:6:up depending on (every page that matches) `$spec`. For instance, if you
ikiwiki-3.20200202.3/doc/todo/pagespec__95__match__95__list_can_result_in_excessive_dependencies.mdwn-7-already have a list of subpages of the sandbox, and you want to filter it
##############################################
ikiwiki-3.20200202.3/doc/todo/pagespec_aliases.mdwn-29-> Note that your XXX is right. It would be a security hole to not validate
ikiwiki-3.20200202.3/doc/todo/pagespec_aliases.mdwn:30:> `$key`, as anyone with websetup access could cause it to run arbitrary
ikiwiki-3.20200202.3/doc/todo/pagespec_aliases.mdwn-31-> perl code.
##############################################
ikiwiki-3.20200202.3/doc/todo/pagespec_aliases.mdwn-194-> want to log a warning or fail? It seems you can detect this with
ikiwiki-3.20200202.3/doc/todo/pagespec_aliases.mdwn:195:> `defined ref *$subname{CODE}`.
ikiwiki-3.20200202.3/doc/todo/pagespec_aliases.mdwn-196->
##############################################
ikiwiki-3.20200202.3/doc/todo/pagespec_expansions.mdwn-67-> Nice patch, though I see the following problems with it:
ikiwiki-3.20200202.3/doc/todo/pagespec_expansions.mdwn:68:> * The sole pagespec_match in IkiWiki::Render probably should have `$p`
ikiwiki-3.20200202.3/doc/todo/pagespec_expansions.mdwn-69->   as its third parameter. This will allow add_depends to add a
##############################################
ikiwiki-3.20200202.3/doc/todo/pagespec_expansions.mdwn-74-
ikiwiki-3.20200202.3/doc/todo/pagespec_expansions.mdwn:75:> * `! $from` fails to match pages named "0" :-)
ikiwiki-3.20200202.3/doc/todo/pagespec_expansions.mdwn-76-
##############################################
ikiwiki-3.20200202.3/doc/todo/plugin_data_storage.mdwn-75-`%Ikiwiki::state` is an exported hash that stores per-page state.
ikiwiki-3.20200202.3/doc/todo/plugin_data_storage.mdwn:76:Set with `$state{$page}{id}{key}=$value`. The `id` is the same `id` passed
ikiwiki-3.20200202.3/doc/todo/plugin_data_storage.mdwn-77-to `hook()`.
##############################################
ikiwiki-3.20200202.3/doc/todo/po:_transifex_integration.mdwn-6-
ikiwiki-3.20200202.3/doc/todo/po:_transifex_integration.mdwn:7:`tx set --auto-local -r $transifex_project_name.$mungedpagename $mungedpagename'.<lang>.po' --source-lang en --source-file $page.pot --execute`
ikiwiki-3.20200202.3/doc/todo/po:_transifex_integration.mdwn-8-
##############################################
ikiwiki-3.20200202.3/doc/todo/rcs__95__get__123__c__44__m__125__time_implementation_for_Mercurial_backend__44___based_on_Git_backend.mdwn-4-
ikiwiki-3.20200202.3/doc/todo/rcs__95__get__123__c__44__m__125__time_implementation_for_Mercurial_backend__44___based_on_Git_backend.mdwn:5:The patch is mostly a slightly modified cc of the code in `git.pm`. The exception is that a Mercurial style file is needed to get a reasonable output from `hg log`. To make the file self-contained in its current state, this was solved with a generated temp file, but that section could and should be replaced with just setting `$tmpl_filename` to a path to a static file `map-cmdline.ikiwiki-log` (to conform with Mercurial's naming of its default styles) in the Ikiwiki distribution, with contents
ikiwiki-3.20200202.3/doc/todo/rcs__95__get__123__c__44__m__125__time_implementation_for_Mercurial_backend__44___based_on_Git_backend.mdwn-6-
##############################################
ikiwiki-3.20200202.3/doc/todo/require_CAPTCHA_to_edit.mdwn-230-		die("To use reCAPTCHA you must know the remote IP address")
ikiwiki-3.20200202.3/doc/todo/require_CAPTCHA_to_edit.mdwn:231:			unless $session->remote_addr();
ikiwiki-3.20200202.3/doc/todo/require_CAPTCHA_to_edit.mdwn-232-
##############################################
ikiwiki-3.20200202.3/doc/todo/require_CAPTCHA_to_edit.mdwn-262-						$result = check_answer($privkey,
ikiwiki-3.20200202.3/doc/todo/require_CAPTCHA_to_edit.mdwn:263:								$session->remote_addr(),
ikiwiki-3.20200202.3/doc/todo/require_CAPTCHA_to_edit.mdwn-264-								$challenge, $response);
##############################################
ikiwiki-3.20200202.3/doc/todo/should_optimise_pagespecs.mdwn-192->>> actually. Beware that there are two pagename calls in the loop: one for
ikiwiki-3.20200202.3/doc/todo/should_optimise_pagespecs.mdwn:193:>>> `$f` (which is the page we might want to rebuild), and one for `$file`
ikiwiki-3.20200202.3/doc/todo/should_optimise_pagespecs.mdwn-194->>> (which is the changed page that it might depend on). Note that I didn't
##############################################
ikiwiki-3.20200202.3/doc/todo/should_optimise_pagespecs.mdwn-200->>>
ikiwiki-3.20200202.3/doc/todo/should_optimise_pagespecs.mdwn:201:>>> * If `$file` is considered as a potential dependency for more than
ikiwiki-3.20200202.3/doc/todo/should_optimise_pagespecs.mdwn:202:>>>   one `$f`, we evaluate `pagename($file)` more than once. Potential fix:
ikiwiki-3.20200202.3/doc/todo/should_optimise_pagespecs.mdwn-203->>>   cache them (this turns out to save about half a second on the docwiki,
##############################################
ikiwiki-3.20200202.3/doc/todo/should_optimise_pagespecs.mdwn-272-> I see e4cd168ebedd95585290c97ff42234344bfed46c is still in your branch
ikiwiki-3.20200202.3/doc/todo/should_optimise_pagespecs.mdwn:273:> though. I don't like using an arrayref, it could just take `($page, @depends)`.
ikiwiki-3.20200202.3/doc/todo/should_optimise_pagespecs.mdwn-274-> and I don't see the need to keep it if it doesn't currently help.
##############################################
ikiwiki-3.20200202.3/doc/todo/source_link.mdwn-31->>> That looks like a nice set of fixes.  One more that might be worthwhile: instead of reading the page source into a var, and then writing it out later, it might be nice to just
ikiwiki-3.20200202.3/doc/todo/source_link.mdwn:32:>>>  `print readfile(srcfile(pagesources{$page}));` at the appropriate point. -- [[Will]]
ikiwiki-3.20200202.3/doc/todo/source_link.mdwn-33-
##############################################
ikiwiki-3.20200202.3/doc/todo/structured_page_data.mdwn-228-> I validate the validate field :).  It only allows validate fields that match
ikiwiki-3.20200202.3/doc/todo/structured_page_data.mdwn:229:> `/^[\w\s]+$/`.  This means you can really only use the pre-defined
ikiwiki-3.20200202.3/doc/todo/structured_page_data.mdwn-230-> validation types in FormBuilder.
##############################################
ikiwiki-3.20200202.3/doc/todo/support_multiple_perl_libraries.mdwn-48->>>> too confusing in documentation, so I made it work like underlaydir(s)
ikiwiki-3.20200202.3/doc/todo/support_multiple_perl_libraries.mdwn:49:>>>> instead: ikiwiki will now search each item of `$config{libdirs}`, then
ikiwiki-3.20200202.3/doc/todo/support_multiple_perl_libraries.mdwn:50:>>>> `$config{libdir}`. [[done]] --[[smcv]]
ikiwiki-3.20200202.3/doc/todo/support_multiple_perl_libraries.mdwn-51-
##############################################
ikiwiki-3.20200202.3/doc/todo/tracking_bugs_with_dependencies.mdwn-221->   make sense to me. I don't see where \%params is defined and populated,
ikiwiki-3.20200202.3/doc/todo/tracking_bugs_with_dependencies.mdwn:222:>   except with `\$params{specFunc}`.
ikiwiki-3.20200202.3/doc/todo/tracking_bugs_with_dependencies.mdwn-223-
##############################################
ikiwiki-3.20200202.3/doc/todo/tracking_bugs_with_dependencies.mdwn-394->>>>> code.  When a new named pagespec was defined, a recursive call was made to get the perl code
ikiwiki-3.20200202.3/doc/todo/tracking_bugs_with_dependencies.mdwn:395:>>>>> for the pagespec, and then that code was used to add something like `$params{specFuncs}->{name} = sub {recursive code} and `
ikiwiki-3.20200202.3/doc/todo/tracking_bugs_with_dependencies.mdwn-396->>>>> to the result of the calling function.  This means that at pagespec testing time, when this code is executed, the
##############################################
ikiwiki-3.20200202.3/doc/todo/transient_pages.mdwn-52-
ikiwiki-3.20200202.3/doc/todo/transient_pages.mdwn:53:If the `transient` plugin is loaded, `$srcdir/.ikiwiki/transient` is added
ikiwiki-3.20200202.3/doc/todo/transient_pages.mdwn-54-as an underlay. I'm not sure whether this should be a plugin or core, so
##############################################
ikiwiki-3.20200202.3/doc/todo/use_secure_cookies_for_ssl_logins.mdwn-27->> better to leave it in as a safety-catch (or in case someone's
ikiwiki-3.20200202.3/doc/todo/use_secure_cookies_for_ssl_logins.mdwn:28:>> using a webserver that doesn't put `$HTTPS` in the environment). --s
ikiwiki-3.20200202.3/doc/todo/use_secure_cookies_for_ssl_logins.mdwn-29-
##############################################
ikiwiki-3.20200202.3/doc/todo/user-subdir_mechanism_like_etc_ikiwiki_wikilist.mdwn:1:Currently, ikiwiki has the configuration file `/etc/ikiwiki/wikilist`, which `ikiwiki-mass-rebuild` can use to rebuild all the ikiwikis on the system, such as when upgrading ikiwiki.  This file includes usernames, and `ikiwiki-mass-rebuild` (which must run as root) changes to the specified user to rebuild their wiki.  However, this means that adding new ikiwikis to the list must require administrator action, since editing the file would allow you to run ikiwiki as any user.  What about a user-subdirectory mechanism for this?  If each user could have their own `/etc/ikiwiki/users/$user/wikilist`, which only contained wikis (no users), `ikiwiki-mass-rebuild` could rebuild each wiki in this list as the corresponding user only.  This would mean that an administrator need only create the directory and provide user or group write permission, and the user or group can then create wikis as needed.
ikiwiki-3.20200202.3/doc/todo/user-subdir_mechanism_like_etc_ikiwiki_wikilist.mdwn-2-
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-17-* CGI pages, with the exception of edit pages, set `<base>` to
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:18:  `$config{url}`
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-19-
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-32-* Using `do=goto` to go to a comment or recentchanges item
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:33:  will redirect to the `$config{url}`-based url, since the
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-34-  permalinks are made to be absolute urls now.
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-119-
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:120:* change `IkiWiki::cgiurl` to return the equivalent of `$config{cgiurl}` if
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-121-  called with no parameters, and change all plugins to indirect through it
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-124-* `IkiWiki::baseurl` already has similar behaviour, so change nearly all
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:125:  references to the `$config{url}` to call `baseurl` (a couple of references
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-126-  specifically wanted the top-level public URL for Google or Blogspam rather
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-221-
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:222:The `$config{url}` and `$config{cgiurl}` are both HTTP, but if I enable
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-223-`httpauth`, set `cgiauthurl` to a HTTPS version of the same site and log
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-227-
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:228:* `urlto(x, y, 'local')` uses `$local_url` instead of `$config{url}`
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-229-
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-233-  > 
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:234:  > There are fairly few calls to `urlto($foo, $bar)`, so why not
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-235-  > make that always return the semi-local url form, and leave the third
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-239-
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:240:  >> So, have urlto(x, y) use `$local_url`? There are few calls, but IMO
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-241-  >> they're for the most important things - wikilinks, img, map and
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:242:  >> other ordinary hyperlinks. Using `$local_url` would be fine for
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-243-  >> webserver-based use, but it does stop you browsing your wiki's
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-255-  >>
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:256:  >> * `urlto($link, $page)` with `$page` defined: relative
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:257:  >> * `urlto($link, undef)`: local, starts with `/`
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:258:  >> * `urlto($link)`: also local, as a side-effect
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:259:  >> * `urlto($link, $anything, 1)` (but idiomatically, `$anything` is
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-260-  >>   normally undef): absolute, starts with `http[s]://`
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-274-  >>> It does highlight that it would be better to have a
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:275:  >>> `absolute_urlto($link)` (or maybe `absolute(urlto($link))` )
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-276-  >>> rather than the 3 parameter form. --[[Joey]]
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-288-
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:289:  >>> I had to use it a bit more, as a replacement for `$config{url}`
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-290-  >>> when doing things like referencing stylesheets or redirecting to
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-295-  >>> the local path. I know you objected to me using `baseurl()` in
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:296:  >>> an earlier branch, because `baseurl().$x` looks confusingly
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:297:  >>> similar to `baseurl($x)` but has totally different semantics;
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-298-  >>> I've generally written it `baseurl(undef)` now, to be more
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-300-
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:301:* `IkiWiki::cgiurl` uses `$local_cgiurl` if passed `local_cgiurl => 1`
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-302-
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:303:  > Now changed to always use the `$local_cgiurl`. --[[smcv]]
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-304-
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-311-
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:312:  >>> The use-case is that I can replace `$config{cgiurl}` with
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-313-  >>> `IkiWiki::cgiurl()` for things like the action attribute of
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-322-  that really needs an absolute URL could use
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:323:  `cgiurl(cgiurl => $config{cgiurl}, ...)`,
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-324-  although that does look a bit strange
##############################################
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-372-not a relative cgiurl. I'm not sure if my changing that back to using
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn:373:`$config{cgiurl}` will force users back to eg, the non-https version of a
ikiwiki-3.20200202.3/doc/todo/want_to_avoid_ikiwiki_using_http_or_https_in_urls_to_allow_serving_both.mdwn-374-site when logging in via openid.
##############################################
ikiwiki-3.20200202.3/doc/todo/wikiwyg/discussion.mdwn-71-    on IRC later(assuming my internet is working right).
ikiwiki-3.20200202.3/doc/todo/wikiwyg/discussion.mdwn:72:    * Basically the idea is to change `$config{underlaydir}` to an array..
ikiwiki-3.20200202.3/doc/todo/wikiwyg/discussion.mdwn-73-      Ok, take a look at the new `add_underlay()` function. You can now just
##############################################
ikiwiki-3.20200202.3/doc/todo/xapian_omega_same_lang_when_indexing_and_searching.mdwn-53-        +		}
ikiwiki-3.20200202.3/doc/todo/xapian_omega_same_lang_when_indexing_and_searching.mdwn:54:                        exec($config{omega_cgi}) || error("$config{omega_cgi} failed: $!");
ikiwiki-3.20200202.3/doc/todo/xapian_omega_same_lang_when_indexing_and_searching.mdwn-55-                }
##############################################
ikiwiki-3.20200202.3/doc/users/tschwinge.mdwn-148-
ikiwiki-3.20200202.3/doc/users/tschwinge.mdwn:149:      * Doesn't honor `$timeformat`.
ikiwiki-3.20200202.3/doc/users/tschwinge.mdwn-150-
##############################################
ikiwiki-3.20200202.3/gitremotes-14-		# check configured url to deal with it changing
ikiwiki-3.20200202.3/gitremotes:15:		my $info=`git remote show -n $remote`;
ikiwiki-3.20200202.3/gitremotes-16-		my ($oldurl)=$info=~/URL: (.*)/m;
ikiwiki-3.20200202.3/gitremotes-17-		if ($oldurl ne $url) {
ikiwiki-3.20200202.3/gitremotes:18:			system("git remote rm $remote 2>/dev/null");
ikiwiki-3.20200202.3/gitremotes:19:			system("git", "remote", "add", $remote, $url);
ikiwiki-3.20200202.3/gitremotes-20-			system("git", "config", "remote.$remote.tagopt",
ikiwiki-3.20200202.3/gitremotes-21-				"--no-tags");
ikiwiki-3.20200202.3/gitremotes:22:			system("git", "fetch", $remote);
ikiwiki-3.20200202.3/gitremotes-23-		}
##############################################
ikiwiki-3.20200202.3/ikiwiki-calendar.in-65-
ikiwiki-3.20200202.3/ikiwiki-calendar.in:66:exec("ikiwiki", "--setup", $setup, "--refresh");
ikiwiki-3.20200202.3/ikiwiki-calendar.in-67-die "failed to run ikiwiki --setup $setup --refresh\n";
##############################################
ikiwiki-3.20200202.3/ikiwiki-comment.in-120-	}
ikiwiki-3.20200202.3/ikiwiki-comment.in:121:	exec(@editor, $file);
ikiwiki-3.20200202.3/ikiwiki-comment.in-122-}
##############################################
ikiwiki-3.20200202.3/ikiwiki-mass-rebuild-23-	print "Processing $setup as user ".username()." ...\n";
ikiwiki-3.20200202.3/ikiwiki-mass-rebuild:24:	my $ret=system("ikiwiki", "--setup", $setup, @ARGV);
ikiwiki-3.20200202.3/ikiwiki-mass-rebuild-25-	if ($ret != 0) {
##############################################
ikiwiki-3.20200202.3/ikiwiki-mass-rebuild-34-	$users{$user}=1;
ikiwiki-3.20200202.3/ikiwiki-mass-rebuild:35:	my $ret=system("su", $user, "-s", "/bin/sh", "-c", "--", "$0 --nonglobal @ARGV");
ikiwiki-3.20200202.3/ikiwiki-mass-rebuild-36-	if ($ret != 0) {
##############################################
ikiwiki-3.20200202.3/ikiwiki.in-210-		clean_rendered();
ikiwiki-3.20200202.3/ikiwiki.in:211:		system("rm", "-rf", $config{wikistatedir});
ikiwiki-3.20200202.3/ikiwiki.in-212-	}
##############################################
ikiwiki-3.20200202.3/po/Makefile-17-	for file in $(MOFILES); do \
ikiwiki-3.20200202.3/po/Makefile:18:		lang=`echo $$file | sed 's/\.mo//'`; \
ikiwiki-3.20200202.3/po/Makefile-19-		install -d $(DESTDIR)$(PREFIX)/share/locale/$$lang/LC_MESSAGES/; \
##############################################
ikiwiki-3.20200202.3/po/Makefile-25-	for file in `find underlays -type f -name \*.po | sed -e 's|^underlays/||'`; do \
ikiwiki-3.20200202.3/po/Makefile:26:		lang=`echo $$file | sed -e 's/.po$$//' -e 's/.*\\.//'`; \
ikiwiki-3.20200202.3/po/Makefile:27:		dir=`dirname "$(DESTDIR)$(PREFIX)/share/ikiwiki/po/$$lang/$$file"`; \
ikiwiki-3.20200202.3/po/Makefile-28-		install -d $$dir; \
##############################################
ikiwiki-3.20200202.3/po/Makefile-52-	else \
ikiwiki-3.20200202.3/po/Makefile:53:		if [ "`diff $@ $@.new | grep '[<>]' | grep -v '[<>] #:' | wc -l`" -ne 2 ]; then \
ikiwiki-3.20200202.3/po/Makefile-54-			mv -f $@.new $@; \
##############################################
ikiwiki-3.20200202.3/po/Makefile-62-	@for file in $(POFILES); do \
ikiwiki-3.20200202.3/po/Makefile:63:		lang=`echo $$file | sed 's/\.po//'`; \
ikiwiki-3.20200202.3/po/Makefile-64-		printf "$$lang: "; \
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-37-sub setupiki {
ikiwiki-3.20200202.3/t/conflicts.t:38:	ok(! system("rm -rf $srcdir/.ikiwiki $destdir"));
ikiwiki-3.20200202.3/t/conflicts.t-39-	runiki(shift, "--rebuild");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-41-sub newsrcdir {
ikiwiki-3.20200202.3/t/conflicts.t:42:	ok(! system("rm -rf $srcdir $destdir"));
ikiwiki-3.20200202.3/t/conflicts.t:43:	ok(! system("mkdir -p $srcdir"));
ikiwiki-3.20200202.3/t/conflicts.t-44-}
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-48-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:49:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t-50-setupiki("initial setup");
ikiwiki-3.20200202.3/t/conflicts.t:51:ok(! system("mv $srcdir/foo.mdwn $srcdir/foo.txt"));
ikiwiki-3.20200202.3/t/conflicts.t-52-refreshiki("changed extension of source file of page");
ikiwiki-3.20200202.3/t/conflicts.t:53:ok(! system("mv $srcdir/foo.txt $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t-54-refreshiki("changed extension of source file of page 2");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-58-# Added when refreshing
ikiwiki-3.20200202.3/t/conflicts.t:59:ok(! system("touch $srcdir/foo.txt"));
ikiwiki-3.20200202.3/t/conflicts.t-60-refreshiki("conflicting page sources in refresh");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-62-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:63:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t:64:ok(! system("touch $srcdir/foo.txt"));
ikiwiki-3.20200202.3/t/conflicts.t-65-setupiki("conflicting page sources in setup");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-68-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:69:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t:70:ok(! system("touch $srcdir/foo"));
ikiwiki-3.20200202.3/t/conflicts.t-71-setupiki("conflicting page and non-page in setup");
ikiwiki-3.20200202.3/t/conflicts.t-72-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:73:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t-74-setupiki("initial setup");
ikiwiki-3.20200202.3/t/conflicts.t:75:ok(! system("touch $srcdir/foo"));
ikiwiki-3.20200202.3/t/conflicts.t-76-refreshiki("conflicting page added (non-page already existing) in refresh");
ikiwiki-3.20200202.3/t/conflicts.t-77-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:78:ok(! system("touch $srcdir/foo"));
ikiwiki-3.20200202.3/t/conflicts.t-79-setupiki("initial setup");
ikiwiki-3.20200202.3/t/conflicts.t:80:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t-81-refreshiki("conflicting non-page added (page already existing) in refresh");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-85-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:86:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t:87:ok(! system("mkdir -p $srcdir/foo/index.html"));
ikiwiki-3.20200202.3/t/conflicts.t:88:ok(! system("touch $srcdir/foo/index.html/bar.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t-89-setupiki("conflicting page file and subdirectory");
ikiwiki-3.20200202.3/t/conflicts.t-90-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:91:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t:92:ok(! system("mkdir -p $srcdir/foo/index.html"));
ikiwiki-3.20200202.3/t/conflicts.t:93:ok(! system("touch $srcdir/foo/index.html/bar"));
ikiwiki-3.20200202.3/t/conflicts.t-94-setupiki("conflicting page file and subdirectory 2");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-97-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:98:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t-99-setupiki("initial setup");
ikiwiki-3.20200202.3/t/conflicts.t:100:ok(! system("mv $srcdir/foo.mdwn $srcdir/foo"));
ikiwiki-3.20200202.3/t/conflicts.t-101-refreshiki("page file turned into non-page");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-104-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:105:ok(! system("touch $srcdir/foo"));
ikiwiki-3.20200202.3/t/conflicts.t-106-setupiki("initial setup");
ikiwiki-3.20200202.3/t/conflicts.t:107:ok(! system("mv $srcdir/foo $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t-108-refreshiki("non-page file turned into page");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-112-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:113:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t-114-setupiki("initial setup");
ikiwiki-3.20200202.3/t/conflicts.t:115:ok(! system("mkdir -p $srcdir/foo"));
ikiwiki-3.20200202.3/t/conflicts.t:116:ok(! system("touch $srcdir/foo/index.html"));
ikiwiki-3.20200202.3/t/conflicts.t-117-refreshiki("rawhtml file rendered same as existing page in refresh");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-119-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:120:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t-121-setupiki("initial setup");
ikiwiki-3.20200202.3/t/conflicts.t:122:ok(! system("mkdir -p $srcdir/foo"));
ikiwiki-3.20200202.3/t/conflicts.t:123:ok(! system("mv $srcdir/foo.mdwn $srcdir/foo/index.html"));
ikiwiki-3.20200202.3/t/conflicts.t-124-refreshiki("existing page moved to rawhtml file in refresh");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-126-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:127:ok(! system("mkdir -p $srcdir/foo"));
ikiwiki-3.20200202.3/t/conflicts.t:128:ok(! system("touch $srcdir/foo/index.html"));
ikiwiki-3.20200202.3/t/conflicts.t-129-setupiki("initial setup");
ikiwiki-3.20200202.3/t/conflicts.t:130:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t-131-refreshiki("page rendered same as existing rawhtml file in refresh");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-133-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:134:ok(! system("mkdir -p $srcdir/foo"));
ikiwiki-3.20200202.3/t/conflicts.t:135:ok(! system("touch $srcdir/foo/index.html"));
ikiwiki-3.20200202.3/t/conflicts.t-136-setupiki("initial setup");
ikiwiki-3.20200202.3/t/conflicts.t:137:ok(! system("mv $srcdir/foo/index.html $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t-138-refreshiki("rawhtml file moved to page in refresh");
##############################################
ikiwiki-3.20200202.3/t/conflicts.t-140-newsrcdir();
ikiwiki-3.20200202.3/t/conflicts.t:141:ok(! system("touch $srcdir/foo.mdwn"));
ikiwiki-3.20200202.3/t/conflicts.t:142:ok(! system("mkdir -p $srcdir/foo"));
ikiwiki-3.20200202.3/t/conflicts.t:143:ok(! system("touch $srcdir/foo/index.html"));
ikiwiki-3.20200202.3/t/conflicts.t-144-setupiki("rawhtml file rendered same as existing page in setup");
##############################################
ikiwiki-3.20200202.3/t/cvs.t-495-	foreach my $program (@required_programs) {
ikiwiki-3.20200202.3/t/cvs.t:496:		my $program_path = `which $program`;
ikiwiki-3.20200202.3/t/cvs.t-497-		chomp $program_path;
##############################################
ikiwiki-3.20200202.3/t/find_src_files.t-65-
ikiwiki-3.20200202.3/t/find_src_files.t:66:system("mkdir -p $config{srcdir}/empty");
ikiwiki-3.20200202.3/t/find_src_files.t-67-test_src_files(\@list, "empty srcdir directory ignored");
ikiwiki-3.20200202.3/t/find_src_files.t-68-
ikiwiki-3.20200202.3/t/find_src_files.t:69:system("mkdir -p $config{underlaydir}/empty");
ikiwiki-3.20200202.3/t/find_src_files.t-70-test_src_files(\@list, "empty underlay directory ignored");
##############################################
ikiwiki-3.20200202.3/t/find_src_files.t-72-setup_underlay("bad.mdwn");
ikiwiki-3.20200202.3/t/find_src_files.t:73:system("ln -sf /etc/passwd $config{srcdir}/bad.mdwn");
ikiwiki-3.20200202.3/t/find_src_files.t-74-test_src_files(\@list, "underlaydir override attack foiled");
ikiwiki-3.20200202.3/t/find_src_files.t-75-
ikiwiki-3.20200202.3/t/find_src_files.t:76:system("ln -sf /etc/passwd $config{srcdir}/symlink.mdwn");
ikiwiki-3.20200202.3/t/find_src_files.t-77-test_src_files(\@list, "file symlink in srcdir skipped");
ikiwiki-3.20200202.3/t/find_src_files.t-78-
ikiwiki-3.20200202.3/t/find_src_files.t:79:system("ln -sf /etc/passwd $config{underlaydir}/symlink.mdwn");
ikiwiki-3.20200202.3/t/find_src_files.t-80-test_src_files(\@list, "file symlink in underlaydir skipped");
ikiwiki-3.20200202.3/t/find_src_files.t-81-
ikiwiki-3.20200202.3/t/find_src_files.t:82:system("ln -sf /etc/ $config{srcdir}/symdir");
ikiwiki-3.20200202.3/t/find_src_files.t-83-test_src_files(\@list, "dir symlink in srcdir skipped");
ikiwiki-3.20200202.3/t/find_src_files.t-84-
ikiwiki-3.20200202.3/t/find_src_files.t:85:system("ln -sf /etc/ $config{underlaydir}/symdir");
ikiwiki-3.20200202.3/t/find_src_files.t-86-test_src_files(\@list, "dir symlink in underlaydir skipped");
ikiwiki-3.20200202.3/t/find_src_files.t-87-
ikiwiki-3.20200202.3/t/find_src_files.t:88:system("ln -sf /etc/ $config{srcdir}/blog/symdir");
ikiwiki-3.20200202.3/t/find_src_files.t-89-test_src_files(\@list, "deep dir symlink in srcdir skipped");
ikiwiki-3.20200202.3/t/find_src_files.t-90-
ikiwiki-3.20200202.3/t/find_src_files.t:91:system("ln -sf /etc/ $config{underlaydir}/ikiwiki/symdir");
ikiwiki-3.20200202.3/t/find_src_files.t-92-test_src_files(\@list, "deep dir symlink in underlaydir skipped");
##############################################
ikiwiki-3.20200202.3/t/git-untrusted.t-87-	ok(unlink("$tmp/repo.git/hooks/pre-receive") || $!{ENOENT});
ikiwiki-3.20200202.3/t/git-untrusted.t:88:	ok(! system(@command, qw(--setup), "$tmp/test.setup", qw(--rebuild --wrappers)));
ikiwiki-3.20200202.3/t/git-untrusted.t-89-}
##############################################
ikiwiki-3.20200202.3/t/git-untrusted.t-137-	unless ($installed) {
ikiwiki-3.20200202.3/t/git-untrusted.t:138:		ok(! system(qw(cp -pRL doc/wikiicons), "$tmp/srcdir/"));
ikiwiki-3.20200202.3/t/git-untrusted.t:139:		ok(! system(qw(cp -pRL doc/recentchanges.mdwn), "$tmp/srcdir/"));
ikiwiki-3.20200202.3/t/git-untrusted.t-140-	}
##############################################
ikiwiki-3.20200202.3/t/git.t-38-ok (mkdir($config{srcdir}));
ikiwiki-3.20200202.3/t/git.t:39:is (system("$makerepo git $config{srcdir} $dir/repo"), 0);
ikiwiki-3.20200202.3/t/git.t-40-
##############################################
ikiwiki-3.20200202.3/t/git.t-128-# do a clean checkout to verify that "empty ident not allowed" is avoided
ikiwiki-3.20200202.3/t/git.t:129:ok(! system("rm", "-rf", $config{srcdir}));
ikiwiki-3.20200202.3/t/git.t:130:ok(! system("git", "clone", "$dir/repo", $config{srcdir}));
ikiwiki-3.20200202.3/t/git.t-131-
##############################################
ikiwiki-3.20200202.3/t/img.t-178-ok(utime(333333333, 333333333, "t/tmp/in/redsquare.png"));
ikiwiki-3.20200202.3/t/img.t:179:ok(! system("rm $outpath/10x-redsquare.png"));
ikiwiki-3.20200202.3/t/img.t-180-ok(! system(@command, '--set-yaml', 'img_allowed_formats=[JPEG, PNG, svg, pdf]', '--set', 'deterministic=1', "--rebuild"));
ikiwiki-3.20200202.3/t/img.t:181:ok(! system("cp $outpath/10x-redsquare.png $outpath/10x-redsquare.png.orig"));
ikiwiki-3.20200202.3/t/img.t-182-ok(utime(444444444, 444444444, "t/tmp/in/redsquare.png"));
ikiwiki-3.20200202.3/t/img.t:183:ok(! system("rm $outpath/10x-redsquare.png"));
ikiwiki-3.20200202.3/t/img.t-184-ok(! system(@command, '--set-yaml', 'img_allowed_formats=[JPEG, PNG, svg, pdf]', '--set', 'deterministic=1', "--rebuild"));
ikiwiki-3.20200202.3/t/img.t-185-ok(
ikiwiki-3.20200202.3/t/img.t:186:	! system("cmp $outpath/10x-redsquare.png $outpath/10x-redsquare.png.orig"),
ikiwiki-3.20200202.3/t/img.t-187-	"resize is deterministic when configured with deterministic=1"
##############################################
ikiwiki-3.20200202.3/t/meta.t-30-	my ($pagename, $input, $expected_output) = @_;
ikiwiki-3.20200202.3/t/meta.t:31:	ok(! system("rm -rf $tmp"), q{setup});
ikiwiki-3.20200202.3/t/meta.t:32:	ok(! system("mkdir -p $srcdir"), q{setup});
ikiwiki-3.20200202.3/t/meta.t-33-	writefile("$pagename.mdwn", $srcdir, $input);
##############################################
ikiwiki-3.20200202.3/t/permalink.t-27-my $guid="http://example.com/post/";
ikiwiki-3.20200202.3/t/permalink.t:28:ok(length `egrep '<guid.*>$guid</guid>' t/tmp/out/index.rss`);
ikiwiki-3.20200202.3/t/permalink.t:29:ok(length `egrep '<id>$guid</id>' t/tmp/out/index.atom`);
ikiwiki-3.20200202.3/t/permalink.t-30-
##############################################
ikiwiki-3.20200202.3/t/podcast.t-43-
ikiwiki-3.20200202.3/t/podcast.t:44:	ok(! system("rm -rf $tmp $statedir"), q{setup});
ikiwiki-3.20200202.3/t/podcast.t-45-
ikiwiki-3.20200202.3/t/podcast.t:46:	ok(! system("mkdir $tmp"),
ikiwiki-3.20200202.3/t/podcast.t-47-		q{setup});
##############################################
ikiwiki-3.20200202.3/t/podcast.t-131-
ikiwiki-3.20200202.3/t/podcast.t:132:	ok(! system("rm -rf $tmp $statedir"), q{setup});
ikiwiki-3.20200202.3/t/podcast.t-133-
ikiwiki-3.20200202.3/t/podcast.t:134:	ok(! system("mkdir $tmp"),
ikiwiki-3.20200202.3/t/podcast.t-135-		q{setup});
##############################################
ikiwiki-3.20200202.3/t/podcast.t-157-	my $baseurl = 'http://example.com';
ikiwiki-3.20200202.3/t/podcast.t:158:	ok(! system(@command, "--url=$baseurl", q{--rebuild}));
ikiwiki-3.20200202.3/t/podcast.t-159-
##############################################
ikiwiki-3.20200202.3/t/podcast.t-169-
ikiwiki-3.20200202.3/t/podcast.t:170:	ok(! system("rm -rf $tmp $statedir"), q{teardown});
ikiwiki-3.20200202.3/t/podcast.t-171-}
##############################################
ikiwiki-3.20200202.3/t/podcast.t-176-
ikiwiki-3.20200202.3/t/podcast.t:177:	ok(! system("rm -rf $tmp $statedir"), q{setup});
ikiwiki-3.20200202.3/t/podcast.t-178-
ikiwiki-3.20200202.3/t/podcast.t:179:	ok(! system("mkdir $tmp"),
ikiwiki-3.20200202.3/t/podcast.t-180-		q{setup});
##############################################
ikiwiki-3.20200202.3/t/podcast.t-199-
ikiwiki-3.20200202.3/t/podcast.t:200:	ok(! system("rm -rf $tmp $statedir"), q{teardown});
ikiwiki-3.20200202.3/t/podcast.t-201-}
##############################################
ikiwiki-3.20200202.3/t/syntax.t-17-foreach my $file (@progs) {
ikiwiki-3.20200202.3/t/syntax.t:18:        ok(system("perl -c $file >/dev/null 2>&1") eq 0, $file);
ikiwiki-3.20200202.3/t/syntax.t-19-}
ikiwiki-3.20200202.3/t/syntax.t-20-foreach my $file (@libs) {
ikiwiki-3.20200202.3/t/syntax.t:21:        ok(system("perl -c $file >/dev/null 2>&1") eq 0, $file);
ikiwiki-3.20200202.3/t/syntax.t-22-}
##############################################
ikiwiki-3.20200202.3/underlays/attachment/ikiwiki/jquery-ui.min.js-32- */
ikiwiki-3.20200202.3/underlays/attachment/ikiwiki/jquery-ui.min.js:33:(function(b,c){var a=false;b(document).mousedown(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(f,g){f.ui=f.ui||{};var d=/left|center|right/,e=/top|center|bottom/,a="center",b=f.fn.position,c=f.fn.offset;f.fn.position=function(i){if(!i||!i.of){return b.apply(this,arguments)}i=f.extend({},i);var m=f(i.of),l=m[0],o=(i.collision||"flip").split(" "),n=i.offset?i.offset.split(" "):[0,0],k,h,j;if(l.nodeType===9){k=m.width();h=m.height();j={top:0,left:0}}else{if(l.setTimeout){k=m.width();h=m.height();j={top:m.scrollTop(),left:m.scrollLeft()}}else{if(l.preventDefault){i.at="left top";k=h=0;j={top:i.of.pageY,left:i.of.pageX}}else{k=m.outerWidth();h=m.outerHeight();j=m.offset()}}}f.each(["my","at"],function(){var p=(i[this]||"").split(" ");if(p.length===1){p=d.test(p[0])?p.concat([a]):e.test(p[0])?[a].concat(p):[a,a]}p[0]=d.test(p[0])?p[0]:a;p[1]=e.test(p[1])?p[1]:a;i[this]=p});if(o.length===1){o[1]=o[0]}n[0]=parseInt(n[0],10)||0;if(n.length===1){n[1]=n[0]}n[1]=parseInt(n[1],10)||0;if(i.at[0]==="right"){j.left+=k}else{if(i.at[0]===a){j.left+=k/2}}if(i.at[1]==="bottom"){j.top+=h}else{if(i.at[1]===a){j.top+=h/2}}j.left+=n[0];j.top+=n[1];return this.each(function(){var s=f(this),v=s.outerWidth(),r=s.outerHeight(),u=parseInt(f.curCSS(this,"marginLeft",true))||0,q=parseInt(f.curCSS(this,"marginTop",true))||0,x=v+u+(parseInt(f.curCSS(this,"marginRight",true))||0),y=r+q+(parseInt(f.curCSS(this,"marginBottom",true))||0),w=f.extend({},j),p;if(i.my[0]==="right"){w.left-=v}else{if(i.my[0]===a){w.left-=v/2}}if(i.my[1]==="bottom"){w.top-=r}else{if(i.my[1]===a){w.top-=r/2}}w.left=Math.round(w.left);w.top=Math.round(w.top);p={left:w.left-u,top:w.top-q};f.each(["left","top"],function(A,z){if(f.ui.position[o[A]]){f.ui.position[o[A]][z](w,{targetWidth:k,targetHeight:h,elemWidth:v,elemHeight:r,collisionPosition:p,collisionWidth:x,collisionHeight:y,offset:n,my:i.my,at:i.at})}});if(f.fn.bgiframe){s.bgiframe()}s.offset(f.extend(w,{using:i.using}))})};f.ui.position={fit:{left:function(h,i){var k=f(window),j=i.collisionPosition.left+i.collisionWidth-k.width()-k.scrollLeft();h.left=j>0?h.left-j:Math.max(h.left-i.collisionPosition.left,h.left)},top:function(h,i){var k=f(window),j=i.collisionPosition.top+i.collisionHeight-k.height()-k.scrollTop();h.top=j>0?h.top-j:Math.max(h.top-i.collisionPosition.top,h.top)}},flip:{left:function(i,k){if(k.at[0]===a){return}var m=f(window),l=k.collisionPosition.left+k.collisionWidth-m.width()-m.scrollLeft(),h=k.my[0]==="left"?-k.elemWidth:k.my[0]==="right"?k.elemWidth:0,j=k.at[0]==="left"?k.targetWidth:-k.targetWidth,n=-2*k.offset[0];i.left+=k.collisionPosition.left<0?h+j+n:l>0?h+j+n:0},top:function(i,k){if(k.at[1]===a){return}var m=f(window),l=k.collisionPosition.top+k.collisionHeight-m.height()-m.scrollTop(),h=k.my[1]==="top"?-k.elemHeight:k.my[1]==="bottom"?k.elemHeight:0,j=k.at[1]==="top"?k.targetHeight:-k.targetHeight,n=-2*k.offset[1];i.top+=k.collisionPosition.top<0?h+j+n:l>0?h+j+n:0}}};if(!f.offset.setOffset){f.offset.setOffset=function(l,i){if(/static/.test(f.curCSS(l,"position"))){l.style.position="relative"}var k=f(l),n=k.offset(),h=parseInt(f.curCSS(l,"top",true),10)||0,m=parseInt(f.curCSS(l,"left",true),10)||0,j={top:(i.top-n.top)+h,left:(i.left-n.left)+m};if("using" in i){i.using.call(l,j)}else{k.css(j)}};f.fn.offset=function(h){var i=this[0];if(!i||!i.ownerDocument){return null}if(h){return this.each(function(){f.offset.setOffset(this,h)})}return c.call(this)}}}(jQuery));(function(a,b){a.widget("ui.draggable",a.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper=="original"&&!(/^(?:r|a|f)/).test(this.element.css("position"))){this.element[0].style.position="relative"}(this.options.addClasses&&this.element.addClass("ui-draggable"));(this.options.disabled&&this.element.addClass("ui-draggable-disabled"));this._mouseInit()},destroy:function(){if(!this.element.data("draggable")){return}this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this},_mouseCapture:function(c){var d=this.options;if(this.helper||d.disabled||a(c.target).is(".ui-resizable-handle")){return false}this.handle=this._getHandle(c);if(!this.handle){return false}a(d.iframeFix===true?"iframe":d.iframeFix).each(function(){a('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css(a(this).offset()).appendTo("body")});return true},_mouseStart:function(c){var d=this.options;this.helper=this._createHelper(c);this._cacheHelperProportions();if(a.ui.ddmanager){a.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};a.extend(this.offset,{click:{left:c.pageX-this.offset.left,top:c.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(c);this.originalPageX=c.pageX;this.originalPageY=c.pageY;(d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt));if(d.containment){this._setContainment()}if(this._trigger("start",c)===false){this._clear();return false}this._cacheHelperProportions();if(a.ui.ddmanager&&!d.dropBehaviour){a.ui.ddmanager.prepareOffsets(this,c)}this.helper.addClass("ui-draggable-dragging");this._mouseDrag(c,true);if(a.ui.ddmanager){a.ui.ddmanager.dragStart(this,c)}return true},_mouseDrag:function(c,e){this.position=this._generatePosition(c);this.positionAbs=this._convertPositionTo("absolute");if(!e){var d=this._uiHash();if(this._trigger("drag",c,d)===false){this._mouseUp({});return false}this.position=d.position}if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}if(a.ui.ddmanager){a.ui.ddmanager.drag(this,c)}return false},_mouseStop:function(d){var e=false;if(a.ui.ddmanager&&!this.options.dropBehaviour){e=a.ui.ddmanager.drop(this,d)}if(this.dropped){e=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original"){return false}if((this.options.revert=="invalid"&&!e)||(this.options.revert=="valid"&&e)||this.options.revert===true||(a.isFunction(this.options.revert)&&this.options.revert.call(this.element,e))){var c=this;a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){if(c._trigger("stop",d)!==false){c._clear()}})}else{if(this._trigger("stop",d)!==false){this._clear()}}return false},_mouseUp:function(c){if(this.options.iframeFix===true){a("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}if(a.ui.ddmanager){a.ui.ddmanager.dragStop(this,c)}return a.ui.mouse.prototype._mouseUp.call(this,c)},cancel:function(){if(this.helper.is(".ui-draggable-dragging")){this._mouseUp({})}else{this._clear()}return this},_getHandle:function(c){var d=!this.options.handle||!a(this.options.handle,this.element).length?true:false;a(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==c.target){d=true}});return d},_createHelper:function(d){var e=this.options;var c=a.isFunction(e.helper)?a(e.helper.apply(this.element[0],[d])):(e.helper=="clone"?this.element.clone().removeAttr("id"):this.element);if(!c.parents("body").length){c.appendTo((e.appendTo=="parent"?this.element[0].parentNode:e.appendTo))}if(c[0]!=this.element[0]&&!(/(fixed|absolute)/).test(c.css("position"))){c.css("position","absolute")}return c},_adjustOffsetFromHelper:function(c){if(typeof c=="string"){c=c.split(" ")}if(a.isArray(c)){c={left:+c[0],top:+c[1]||0}}if("left" in c){this.offset.click.left=c.left+this.margins.left}if("right" in c){this.offset.click.left=this.helperProportions.width-c.right+this.margins.left}if("top" in c){this.offset.click.top=c.top+this.margins.top}if("bottom" in c){this.offset.click.top=this.helperProportions.height-c.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var c=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])){c.left+=this.scrollParent.scrollLeft();c.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&a.browser.msie)){c={top:0,left:0}}return{top:c.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:c.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var c=this.element.position();return{top:c.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:c.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.element.css("marginLeft"),10)||0),top:(parseInt(this.element.css("marginTop"),10)||0),right:(parseInt(this.element.css("marginRight"),10)||0),bottom:(parseInt(this.element.css("marginBottom"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var g=this.options;if(g.containment=="parent"){g.containment=this.helper[0].parentNode}if(g.containment=="document"||g.containment=="window"){this.containment=[g.containment=="document"?0:a(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,g.containment=="document"?0:a(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(g.containment=="document"?0:a(window).scrollLeft())+a(g.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(g.containment=="document"?0:a(window).scrollTop())+(a(g.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(g.containment)&&g.containment.constructor!=Array){var h=a(g.containment);var e=h[0];if(!e){return}var f=h.offset();var d=(a(e).css("overflow")!="hidden");this.containment=[(parseInt(a(e).css("borderLeftWidth"),10)||0)+(parseInt(a(e).css("paddingLeft"),10)||0),(parseInt(a(e).css("borderTopWidth"),10)||0)+(parseInt(a(e).css("paddingTop"),10)||0),(d?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(a(e).css("borderLeftWidth"),10)||0)-(parseInt(a(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(d?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(a(e).css("borderTopWidth"),10)||0)-(parseInt(a(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relative_container=h}else{if(g.containment.constructor==Array){this.containment=g.containment}}},_convertPositionTo:function(g,i){if(!i){i=this.position}var e=g=="absolute"?1:-1;var f=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,h=(/(html|body)/i).test(c[0].tagName);return{top:(i.top+this.offset.relative.top*e+this.offset.parent.top*e-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(h?0:c.scrollTop()))*e)),left:(i.left+this.offset.relative.left*e+this.offset.parent.left*e-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():h?0:c.scrollLeft())*e))}},_generatePosition:function(d){var e=this.options,l=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,i=(/(html|body)/i).test(l[0].tagName);var h=d.pageX;var g=d.pageY;if(this.originalPosition){var c;if(this.containment){if(this.relative_container){var k=this.relative_container.offset();c=[this.containment[0]+k.left,this.containment[1]+k.top,this.containment[2]+k.left,this.containment[3]+k.top]}else{c=this.containment}if(d.pageX-this.offset.click.left<c[0]){h=c[0]+this.offset.click.left}if(d.pageY-this.offset.click.top<c[1]){g=c[1]+this.offset.click.top}if(d.pageX-this.offset.click.left>c[2]){h=c[2]+this.offset.click.left}if(d.pageY-this.offset.click.top>c[3]){g=c[3]+this.offset.click.top}}if(e.grid){var j=e.grid[1]?this.originalPageY+Math.round((g-this.originalPageY)/e.grid[1])*e.grid[1]:this.originalPageY;g=c?(!(j-this.offset.click.top<c[1]||j-this.offset.click.top>c[3])?j:(!(j-this.offset.click.top<c[1])?j-e.grid[1]:j+e.grid[1])):j;var f=e.grid[0]?this.originalPageX+Math.round((h-this.originalPageX)/e.grid[0])*e.grid[0]:this.originalPageX;h=c?(!(f-this.offset.click.left<c[0]||f-this.offset.click.left>c[2])?f:(!(f-this.offset.click.left<c[0])?f-e.grid[0]:f+e.grid[0])):f}}return{top:(g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(i?0:l.scrollTop())))),left:(h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():i?0:l.scrollLeft())))}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");if(this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval){this.helper.remove()}this.helper=null;this.cancelHelperRemoval=false},_trigger:function(c,d,e){e=e||this._uiHash();a.ui.plugin.call(this,c,[d,e]);if(c=="drag"){this.positionAbs=this._convertPositionTo("absolute")}return a.Widget.prototype._trigger.call(this,c,d,e)},plugins:{},_uiHash:function(c){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});a.extend(a.ui.draggable,{version:"1.8.14"});a.ui.plugin.add("draggable","connectToSortable",{start:function(d,f){var e=a(this).data("draggable"),g=e.options,c=a.extend({},f,{item:e.element});e.sortables=[];a(g.connectToSortable).each(function(){var h=a.data(this,"sortable");if(h&&!h.options.disabled){e.sortables.push({instance:h,shouldRevert:h.options.revert});h.refreshPositions();h._trigger("activate",d,c)}})},stop:function(d,f){var e=a(this).data("draggable"),c=a.extend({},f,{item:e.element});a.each(e.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;e.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert){this.instance.options.revert=true}this.instance._mouseStop(d);this.instance.options.helper=this.instance.options._helper;if(e.options.helper=="original"){this.instance.currentItem.css({top:"auto",left:"auto"})}}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",d,c)}})},drag:function(d,g){var f=a(this).data("draggable"),c=this;var e=function(j){var p=this.offset.click.top,n=this.offset.click.left;var h=this.positionAbs.top,l=this.positionAbs.left;var k=j.height,m=j.width;var q=j.top,i=j.left;return a.ui.isOver(h+p,l+n,q,i,k,m)};a.each(f.sortables,function(h){this.instance.positionAbs=f.positionAbs;this.instance.helperProportions=f.helperProportions;this.instance.offset.click=f.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=a(c).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return g.helper[0]};d.target=this.instance.currentItem[0];this.instance._mouseCapture(d,true);this.instance._mouseStart(d,true,true);this.instance.offset.click.top=f.offset.click.top;this.instance.offset.click.left=f.offset.click.left;this.instance.offset.parent.left-=f.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=f.offset.parent.top-this.instance.offset.parent.top;f._trigger("toSortable",d);f.dropped=this.instance.element;f.currentItem=f.element;this.instance.fromOutside=f}if(this.instance.currentItem){this.instance._mouseDrag(d)}}else{if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",d,this.instance._uiHash(this.instance));this.instance._mouseStop(d,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();if(this.instance.placeholder){this.instance.placeholder.remove()}f._trigger("fromSortable",d);f.dropped=false}}})}});a.ui.plugin.add("draggable","cursor",{start:function(d,e){var c=a("body"),f=a(this).data("draggable").options;if(c.css("cursor")){f._cursor=c.css("cursor")}c.css("cursor",f.cursor)},stop:function(c,d){var e=a(this).data("draggable").options;if(e._cursor){a("body").css("cursor",e._cursor)}}});a.ui.plugin.add("draggable","opacity",{start:function(d,e){var c=a(e.helper),f=a(this).data("draggable").options;if(c.css("opacity")){f._opacity=c.css("opacity")}c.css("opacity",f.opacity)},stop:function(c,d){var e=a(this).data("draggable").options;if(e._opacity){a(d.helper).css("opacity",e._opacity)}}});a.ui.plugin.add("draggable","scroll",{start:function(d,e){var c=a(this).data("draggable");if(c.scrollParent[0]!=document&&c.scrollParent[0].tagName!="HTML"){c.overflowOffset=c.scrollParent.offset()}},drag:function(e,f){var d=a(this).data("draggable"),g=d.options,c=false;if(d.scrollParent[0]!=document&&d.scrollParent[0].tagName!="HTML"){if(!g.axis||g.axis!="x"){if((d.overflowOffset.top+d.scrollParent[0].offsetHeight)-e.pageY<g.scrollSensitivity){d.scrollParent[0].scrollTop=c=d.scrollParent[0].scrollTop+g.scrollSpeed}else{if(e.pageY-d.overflowOffset.top<g.scrollSensitivity){d.scrollParent[0].scrollTop=c=d.scrollParent[0].scrollTop-g.scrollSpeed}}}if(!g.axis||g.axis!="y"){if((d.overflowOffset.left+d.scrollParent[0].offsetWidth)-e.pageX<g.scrollSensitivity){d.scrollParent[0].scrollLeft=c=d.scrollParent[0].scrollLeft+g.scrollSpeed}else{if(e.pageX-d.overflowOffset.left<g.scrollSensitivity){d.scrollParent[0].scrollLeft=c=d.scrollParent[0].scrollLeft-g.scrollSpeed}}}}else{if(!g.axis||g.axis!="x"){if(e.pageY-a(document).scrollTop()<g.scrollSensitivity){c=a(document).scrollTop(a(document).scrollTop()-g.scrollSpeed)}else{if(a(window).height()-(e.pageY-a(document).scrollTop())<g.scrollSensitivity){c=a(document).scrollTop(a(document).scrollTop()+g.scrollSpeed)}}}if(!g.axis||g.axis!="y"){if(e.pageX-a(document).scrollLeft()<g.scrollSensitivity){c=a(document).scrollLeft(a(document).scrollLeft()-g.scrollSpeed)}else{if(a(window).width()-(e.pageX-a(document).scrollLeft())<g.scrollSensitivity){c=a(document).scrollLeft(a(document).scrollLeft()+g.scrollSpeed)}}}}if(c!==false&&a.ui.ddmanager&&!g.dropBehaviour){a.ui.ddmanager.prepareOffsets(d,e)}}});a.ui.plugin.add("draggable","snap",{start:function(d,e){var c=a(this).data("draggable"),f=c.options;c.snapElements=[];a(f.snap.constructor!=String?(f.snap.items||":data(draggable)"):f.snap).each(function(){var h=a(this);var g=h.offset();if(this!=c.element[0]){c.snapElements.push({item:this,width:h.outerWidth(),height:h.outerHeight(),top:g.top,left:g.left})}})},drag:function(u,p){var g=a(this).data("draggable"),q=g.options;var y=q.snapTolerance;var x=p.offset.left,w=x+g.helperProportions.width,f=p.offset.top,e=f+g.helperProportions.height;for(var v=g.snapElements.length-1;v>=0;v--){var s=g.snapElements[v].left,n=s+g.snapElements[v].width,m=g.snapElements[v].top,A=m+g.snapElements[v].height;if(!((s-y<x&&x<n+y&&m-y<f&&f<A+y)||(s-y<x&&x<n+y&&m-y<e&&e<A+y)||(s-y<w&&w<n+y&&m-y<f&&f<A+y)||(s-y<w&&w<n+y&&m-y<e&&e<A+y))){if(g.snapElements[v].snapping){(g.options.snap.release&&g.options.snap.release.call(g.element,u,a.extend(g._uiHash(),{snapItem:g.snapElements[v].item})))}g.snapElements[v].snapping=false;continue}if(q.snapMode!="inner"){var c=Math.abs(m-e)<=y;var z=Math.abs(A-f)<=y;var j=Math.abs(s-w)<=y;var k=Math.abs(n-x)<=y;if(c){p.position.top=g._convertPositionTo("relative",{top:m-g.helperProportions.height,left:0}).top-g.margins.top}if(z){p.position.top=g._convertPositionTo("relative",{top:A,left:0}).top-g.margins.top}if(j){p.position.left=g._convertPositionTo("relative",{top:0,left:s-g.helperProportions.width}).left-g.margins.left}if(k){p.position.left=g._convertPositionTo("relative",{top:0,left:n}).left-g.margins.left}}var h=(c||z||j||k);if(q.snapMode!="outer"){var c=Math.abs(m-f)<=y;var z=Math.abs(A-e)<=y;var j=Math.abs(s-x)<=y;var k=Math.abs(n-w)<=y;if(c){p.position.top=g._convertPositionTo("relative",{top:m,left:0}).top-g.margins.top}if(z){p.position.top=g._convertPositionTo("relative",{top:A-g.helperProportions.height,left:0}).top-g.margins.top}if(j){p.position.left=g._convertPositionTo("relative",{top:0,left:s}).left-g.margins.left}if(k){p.position.left=g._convertPositionTo("relative",{top:0,left:n-g.helperProportions.width}).left-g.margins.left}}if(!g.snapElements[v].snapping&&(c||z||j||k||h)){(g.options.snap.snap&&g.options.snap.snap.call(g.element,u,a.extend(g._uiHash(),{snapItem:g.snapElements[v].item})))}g.snapElements[v].snapping=(c||z||j||k||h)}}});a.ui.plugin.add("draggable","stack",{start:function(d,e){var g=a(this).data("draggable").options;var f=a.makeArray(a(g.stack)).sort(function(i,h){return(parseInt(a(i).css("zIndex"),10)||0)-(parseInt(a(h).css("zIndex"),10)||0)});if(!f.length){return}var c=parseInt(f[0].style.zIndex)||0;a(f).each(function(h){this.style.zIndex=c+h});this[0].style.zIndex=c+f.length}});a.ui.plugin.add("draggable","zIndex",{start:function(d,e){var c=a(e.helper),f=a(this).data("draggable").options;if(c.css("zIndex")){f._zIndex=c.css("zIndex")}c.css("zIndex",f.zIndex)},stop:function(c,d){var e=a(this).data("draggable").options;if(e._zIndex){a(d.helper).css("zIndex",e._zIndex)}}})})(jQuery);(function(a,b){a.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var d=this.options,c=d.accept;this.isover=0;this.isout=1;this.accept=a.isFunction(c)?c:function(e){return e.is(c)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};a.ui.ddmanager.droppables[d.scope]=a.ui.ddmanager.droppables[d.scope]||[];a.ui.ddmanager.droppables[d.scope].push(this);(d.addClasses&&this.element.addClass("ui-droppable"))},destroy:function(){var c=a.ui.ddmanager.droppables[this.options.scope];for(var d=0;d<c.length;d++){if(c[d]==this){c.splice(d,1)}}this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(c,d){if(c=="accept"){this.accept=a.isFunction(d)?d:function(e){return e.is(d)}}a.Widget.prototype._setOption.apply(this,arguments)},_activate:function(d){var c=a.ui.ddmanager.current;if(this.options.activeClass){this.element.addClass(this.options.activeClass)}(c&&this._trigger("activate",d,this.ui(c)))},_deactivate:function(d){var c=a.ui.ddmanager.current;if(this.options.activeClass){this.element.removeClass(this.options.activeClass)}(c&&this._trigger("deactivate",d,this.ui(c)))},_over:function(d){var c=a.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0]){return}if(this.accept.call(this.element[0],(c.currentItem||c.element))){if(this.options.hoverClass){this.element.addClass(this.options.hoverClass)}this._trigger("over",d,this.ui(c))}},_out:function(d){var c=a.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0]){return}if(this.accept.call(this.element[0],(c.currentItem||c.element))){if(this.options.hoverClass){this.element.removeClass(this.options.hoverClass)}this._trigger("out",d,this.ui(c))}},_drop:function(d,e){var c=e||a.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0]){return false}var f=false;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var g=a.data(this,"droppable");if(g.options.greedy&&!g.options.disabled&&g.options.scope==c.options.scope&&g.accept.call(g.element[0],(c.currentItem||c.element))&&a.ui.intersect(c,a.extend(g,{offset:g.element.offset()}),g.options.tolerance)){f=true;return false}});if(f){return false}if(this.accept.call(this.element[0],(c.currentItem||c.element))){if(this.options.activeClass){this.element.removeClass(this.options.activeClass)}if(this.options.hoverClass){this.element.removeClass(this.options.hoverClass)}this._trigger("drop",d,this.ui(c));return this.element}return false},ui:function(d){return{draggable:(d.currentItem||d.element),helper:d.helper,position:d.position,offset:d.positionAbs}}});a.extend(a.ui.droppable,{version:"1.8.14"});a.ui.intersect=function(q,j,o){if(!j.offset){return false}var e=(q.positionAbs||q.position.absolute).left,d=e+q.helperProportions.width,n=(q.positionAbs||q.position.absolute).top,m=n+q.helperProportions.height;var g=j.offset.left,c=g+j.proportions.width,p=j.offset.top,k=p+j.proportions.height;switch(o){case"fit":return(g<=e&&d<=c&&p<=n&&m<=k);break;case"intersect":return(g<e+(q.helperProportions.width/2)&&d-(q.helperProportions.width/2)<c&&p<n+(q.helperProportions.height/2)&&m-(q.helperProportions.height/2)<k);break;case"pointer":var h=((q.positionAbs||q.position.absolute).left+(q.clickOffset||q.offset.click).left),i=((q.positionAbs||q.position.absolute).top+(q.clickOffset||q.offset.click).top),f=a.ui.isOver(i,h,p,g,j.proportions.height,j.proportions.width);return f;break;case"touch":return((n>=p&&n<=k)||(m>=p&&m<=k)||(n<p&&m>k))&&((e>=g&&e<=c)||(d>=g&&d<=c)||(e<g&&d>c));break;default:return false;break}};a.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(f,h){var c=a.ui.ddmanager.droppables[f.options.scope]||[];var g=h?h.type:null;var k=(f.currentItem||f.element).find(":data(droppable)").andSelf();droppablesLoop:for(var e=0;e<c.length;e++){if(c[e].options.disabled||(f&&!c[e].accept.call(c[e].element[0],(f.currentItem||f.element)))){continue}for(var d=0;d<k.length;d++){if(k[d]==c[e].element[0]){c[e].proportions.height=0;continue droppablesLoop}}c[e].visible=c[e].element.css("display")!="none";if(!c[e].visible){continue}if(g=="mousedown"){c[e]._activate.call(c[e],h)}c[e].offset=c[e].element.offset();c[e].proportions={width:c[e].element[0].offsetWidth,height:c[e].element[0].offsetHeight}}},drop:function(c,d){var e=false;a.each(a.ui.ddmanager.droppables[c.options.scope]||[],function(){if(!this.options){return}if(!this.options.disabled&&this.visible&&a.ui.intersect(c,this,this.options.tolerance)){e=e||this._drop.call(this,d)}if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],(c.currentItem||c.element))){this.isout=1;this.isover=0;this._deactivate.call(this,d)}});return e},dragStart:function(c,d){c.element.parentsUntil("body").bind("scroll.droppable",function(){if(!c.options.refreshPositions){a.ui.ddmanager.prepareOffsets(c,d)}})},drag:function(c,d){if(c.options.refreshPositions){a.ui.ddmanager.prepareOffsets(c,d)}a.each(a.ui.ddmanager.droppables[c.options.scope]||[],function(){if(this.options.disabled||this.greedyChild||!this.visible){return}var f=a.ui.intersect(c,this,this.options.tolerance);var h=!f&&this.isover==1?"isout":(f&&this.isover==0?"isover":null);if(!h){return}var g;if(this.options.greedy){var e=this.element.parents(":data(droppable):eq(0)");if(e.length){g=a.data(e[0],"droppable");g.greedyChild=(h=="isover"?1:0)}}if(g&&h=="isover"){g.isover=0;g.isout=1;g._out.call(g,d)}this[h]=1;this[h=="isout"?"isover":"isout"]=0;this[h=="isover"?"_over":"_out"].call(this,d);if(g&&h=="isout"){g.isout=0;g.isover=1;g._over.call(g,d)}})},dragStop:function(c,d){c.element.parentsUntil("body").unbind("scroll.droppable");if(!c.options.refreshPositions){a.ui.ddmanager.prepareOffsets(c,d)}}}})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g<l.length;g++){var j=c.trim(l[g]),e="ui-resizable-"+j;var h=c('<div class="ui-resizable-handle '+e+'"></div>');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}if(c.browser.opera&&(/relative/).test(e.css("position"))){e.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(h<e.maxWidth){e.maxWidth=h}if(k<e.maxHeight){e.maxHeight=k}}this._vBoundaries=e},_updateCache:function(e){var f=this.options;this.offset=this.helper.offset();if(a(e.left)){this.position.left=e.left}if(a(e.top)){this.position.top=e.top}if(a(e.height)){this.size.height=e.height}if(a(e.width)){this.size.width=e.width}},_updateRatio:function(h,g){var i=this.options,j=this.position,f=this.size,e=this.axis;if(a(h.height)){h.width=(h.height*this.aspectRatio)}else{if(a(h.width)){h.height=(h.width/this.aspectRatio)}}if(e=="sw"){h.left=j.left+(f.width-h.width);h.top=null}if(e=="nw"){h.top=j.top+(f.height-h.height);h.left=j.left+(f.width-h.width)}return h},_respectSize:function(l,g){var j=this.helper,i=this._vBoundaries,r=this._aspectRatio||g.shiftKey,q=this.axis,u=a(l.width)&&i.maxWidth&&(i.maxWidth<l.width),m=a(l.height)&&i.maxHeight&&(i.maxHeight<l.height),h=a(l.width)&&i.minWidth&&(i.minWidth>l.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(u){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(u&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f<this._proportionallyResizeElements.length;f++){var h=this._proportionallyResizeElements[f];if(!this.borderDif){var e=[h.css("borderTopWidth"),h.css("borderRightWidth"),h.css("borderBottomWidth"),h.css("borderLeftWidth")],j=[h.css("paddingTop"),h.css("paddingRight"),h.css("paddingBottom"),h.css("paddingLeft")];this.borderDif=c.map(e,function(l,n){var m=parseInt(l,10)||0,o=parseInt(j[n],10)||0;return m+o})}if(c.browser.msie&&!(!(c(g).is(":hidden")||c(g).parents(":hidden").length))){continue}h.css({height:(g.height()-this.borderDif[0]-this.borderDif[2])||0,width:(g.width()-this.borderDif[1]-this.borderDif[3])||0})}},_renderProxy:function(){var f=this.element,i=this.options;this.elementOffset=f.offset();if(this._helper){this.helper=this.helper||c('<div style="overflow:hidden;"></div>');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.14"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10),position:k.css("position")})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,v){var u=(r[v]||0)+(k[v]||0);if(u&&u>=0){p[v]=u||null}});if(c.browser.opera&&/relative/.test(q.css("position"))){f._revertToRelativePosition=true;q.css({position:"absolute",top:"auto",left:"auto"})}q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(g,h){var f=c(this).data("resizable"),i=f.options;var e=function(j){c(j).each(function(){var k=c(this);k.css({position:k.data("resizable-alsoresize").position})})};if(f._revertToRelativePosition){f._revertToRelativePosition=false;if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(j){e(j)})}else{e(i.alsoResize)}}c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var u=c(this).data("resizable"),j=u.options,l=u.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}u.containerElement=c(k);if(/document/.test(g)||g==document){u.containerOffset={left:0,top:0};u.containerPosition={left:0,top:0};u.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});u.containerOffset=n.offset();u.containerPosition=n.position();u.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=u.containerOffset,e=u.containerSize.height,m=u.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);u.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var u=c(this).data("resizable"),i=u.options,f=u.containerSize,p=u.containerOffset,m=u.size,n=u.position,r=u._aspectRatio||g.shiftKey,e={top:0,left:0},h=u.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(u._helper?p.left:0)){u.size.width=u.size.width+(u._helper?(u.position.left-p.left):(u.position.left-e.left));if(r){u.size.height=u.size.width/i.aspectRatio}u.position.left=i.helper?p.left:0}if(n.top<(u._helper?p.top:0)){u.size.height=u.size.height+(u._helper?(u.position.top-p.top):u.position.top);if(r){u.size.width=u.size.height*i.aspectRatio}u.position.top=u._helper?p.top:0}u.offset.left=u.parentData.left+u.position.left;u.offset.top=u.parentData.top+u.position.top;var l=Math.abs((u._helper?u.offset.left-e.left:(u.offset.left-e.left))+u.sizeDiff.width),s=Math.abs((u._helper?u.offset.top-e.top:(u.offset.top-p.top))+u.sizeDiff.height);var k=u.containerElement.get(0)==u.element.parent().get(0),j=/relative|absolute/.test(u.containerElement.css("position"));if(k&&j){l-=u.parentData.left}if(l+u.size.width>=u.parentData.width){u.size.width=u.parentData.width-l;if(r){u.size.height=u.size.width/u.aspectRatio}}if(s+u.size.height>=u.parentData.height){u.size.height=u.parentData.height-s;if(r){u.size.width=u.size.height*u.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);(function(a,b){a.widget("ui.selectable",a.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var c=this;this.element.addClass("ui-selectable");this.dragged=false;var d;this.refresh=function(){d=a(c.options.filter,c.element[0]);d.each(function(){var e=a(this);var f=e.offset();a.data(this,"selectable-item",{element:this,$element:e,left:f.left,top:f.top,right:f.left+e.outerWidth(),bottom:f.top+e.outerHeight(),startselected:false,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})};this.refresh();this.selectees=d.addClass("ui-selectee");this._mouseInit();this.helper=a("<div class='ui-selectable-helper'></div>")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(e){var c=this;this.opos=[e.pageX,e.pageY];if(this.options.disabled){return}var d=this.options;this.selectees=a(d.filter,this.element[0]);this._trigger("start",e);a(d.appendTo).append(this.helper);this.helper.css({left:e.clientX,top:e.clientY,width:0,height:0});if(d.autoRefresh){this.refresh()}this.selectees.filter(".ui-selected").each(function(){var f=a.data(this,"selectable-item");f.startselected=true;if(!e.metaKey){f.$element.removeClass("ui-selected");f.selected=false;f.$element.addClass("ui-unselecting");f.unselecting=true;c._trigger("unselecting",e,{unselecting:f.element})}});a(e.target).parents().andSelf().each(function(){var g=a.data(this,"selectable-item");if(g){var f=!e.metaKey||!g.$element.hasClass("ui-selected");g.$element.removeClass(f?"ui-unselecting":"ui-selected").addClass(f?"ui-selecting":"ui-unselecting");g.unselecting=!f;g.selecting=f;g.selected=f;if(f){c._trigger("selecting",e,{selecting:g.element})}else{c._trigger("unselecting",e,{unselecting:g.element})}return false}})},_mouseDrag:function(j){var d=this;this.dragged=true;if(this.options.disabled){return}var f=this.options;var e=this.opos[0],i=this.opos[1],c=j.pageX,h=j.pageY;if(e>c){var g=c;c=e;e=g}if(i>h){var g=h;h=i;i=g}this.helper.css({left:e,top:i,width:c-e,height:h-i});this.selectees.each(function(){var k=a.data(this,"selectable-item");if(!k||k.element==d.element[0]){return}var l=false;if(f.tolerance=="touch"){l=(!(k.left>c||k.right<e||k.top>h||k.bottom<i))}else{if(f.tolerance=="fit"){l=(k.left>e&&k.right<c&&k.top>i&&k.bottom<h)}}if(l){if(k.selected){k.$element.removeClass("ui-selected");k.selected=false}if(k.unselecting){k.$element.removeClass("ui-unselecting");k.unselecting=false}if(!k.selecting){k.$element.addClass("ui-selecting");k.selecting=true;d._trigger("selecting",j,{selecting:k.element})}}else{if(k.selecting){if(j.metaKey&&k.startselected){k.$element.removeClass("ui-selecting");k.selecting=false;k.$element.addClass("ui-selected");k.selected=true}else{k.$element.removeClass("ui-selecting");k.selecting=false;if(k.startselected){k.$element.addClass("ui-unselecting");k.unselecting=true}d._trigger("unselecting",j,{unselecting:k.element})}}if(k.selected){if(!j.metaKey&&!k.startselected){k.$element.removeClass("ui-selected");k.selected=false;k.$element.addClass("ui-unselecting");k.unselecting=true;d._trigger("unselecting",j,{unselecting:k.element})}}}});return false},_mouseStop:function(e){var c=this;this.dragged=false;var d=this.options;a(".ui-unselecting",this.element[0]).each(function(){var f=a.data(this,"selectable-item");f.$element.removeClass("ui-unselecting");f.unselecting=false;f.startselected=false;c._trigger("unselected",e,{unselected:f.element})});a(".ui-selecting",this.element[0]).each(function(){var f=a.data(this,"selectable-item");f.$element.removeClass("ui-selecting").addClass("ui-selected");f.selecting=false;f.selected=true;f.startselected=true;c._trigger("selected",e,{selected:f.element})});this._trigger("stop",e);this.helper.remove();return false}});a.extend(a.ui.selectable,{version:"1.8.14"})})(jQuery);(function(a,b){a.widget("ui.sortable",a.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1000},_create:function(){var c=this.options;this.containerCache={};this.element.addClass("ui-sortable");this.refresh();this.floating=this.items.length?c.axis==="x"||(/left|right/).test(this.items[0].item.css("float"))||(/inline|table-cell/).test(this.items[0].item.css("display")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var c=this.items.length-1;c>=0;c--){this.items[c].item.removeData("sortable-item")}return this},_setOption:function(c,d){if(c==="disabled"){this.options[c]=d;this.widget()[d?"addClass":"removeClass"]("ui-sortable-disabled")}else{a.Widget.prototype._setOption.apply(this,arguments)}},_mouseCapture:function(f,g){if(this.reverting){return false}if(this.options.disabled||this.options.type=="static"){return false}this._refreshItems(f);var e=null,d=this,c=a(f.target).parents().each(function(){if(a.data(this,"sortable-item")==d){e=a(this);return false}});if(a.data(f.target,"sortable-item")==d){e=a(f.target)}if(!e){return false}if(this.options.handle&&!g){var h=false;a(this.options.handle,e).find("*").andSelf().each(function(){if(this==f.target){h=true}});if(!h){return false}}this.currentItem=e;this._removeCurrentsFromItems();return true},_mouseStart:function(f,g,c){var h=this.options,d=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(f);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");a.extend(this.offset,{click:{left:f.pageX-this.offset.left,top:f.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(f);this.originalPageX=f.pageX;this.originalPageY=f.pageY;(h.cursorAt&&this._adjustOffsetFromHelper(h.cursorAt));this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};if(this.helper[0]!=this.currentItem[0]){this.currentItem.hide()}this._createPlaceholder();if(h.containment){this._setContainment()}if(h.cursor){if(a("body").css("cursor")){this._storedCursor=a("body").css("cursor")}a("body").css("cursor",h.cursor)}if(h.opacity){if(this.helper.css("opacity")){this._storedOpacity=this.helper.css("opacity")}this.helper.css("opacity",h.opacity)}if(h.zIndex){if(this.helper.css("zIndex")){this._storedZIndex=this.helper.css("zIndex")}this.helper.css("zIndex",h.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){this.overflowOffset=this.scrollParent.offset()}this._trigger("start",f,this._uiHash());if(!this._preserveHelperProportions){this._cacheHelperProportions()}if(!c){for(var e=this.containers.length-1;e>=0;e--){this.containers[e]._trigger("activate",f,d._uiHash(this))}}if(a.ui.ddmanager){a.ui.ddmanager.current=this}if(a.ui.ddmanager&&!h.dropBehaviour){a.ui.ddmanager.prepareOffsets(this,f)}this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(f);return true},_mouseDrag:function(g){this.position=this._generatePosition(g);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs){this.lastPositionAbs=this.positionAbs}if(this.options.scroll){var h=this.options,c=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if((this.overflowOffset.top+this.scrollParent[0].offsetHeight)-g.pageY<h.scrollSensitivity){this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop+h.scrollSpeed}else{if(g.pageY-this.overflowOffset.top<h.scrollSensitivity){this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop-h.scrollSpeed}}if((this.overflowOffset.left+this.scrollParent[0].offsetWidth)-g.pageX<h.scrollSensitivity){this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft+h.scrollSpeed}else{if(g.pageX-this.overflowOffset.left<h.scrollSensitivity){this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft-h.scrollSpeed}}}else{if(g.pageY-a(document).scrollTop()<h.scrollSensitivity){c=a(document).scrollTop(a(document).scrollTop()-h.scrollSpeed)}else{if(a(window).height()-(g.pageY-a(document).scrollTop())<h.scrollSensitivity){c=a(document).scrollTop(a(document).scrollTop()+h.scrollSpeed)}}if(g.pageX-a(document).scrollLeft()<h.scrollSensitivity){c=a(document).scrollLeft(a(document).scrollLeft()-h.scrollSpeed)}else{if(a(window).width()-(g.pageX-a(document).scrollLeft())<h.scrollSensitivity){c=a(document).scrollLeft(a(document).scrollLeft()+h.scrollSpeed)}}}if(c!==false&&a.ui.ddmanager&&!h.dropBehaviour){a.ui.ddmanager.prepareOffsets(this,g)}}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}for(var e=this.items.length-1;e>=0;e--){var f=this.items[e],d=f.item[0],j=this._intersectsWithPointer(f);if(!j){continue}if(d!=this.currentItem[0]&&this.placeholder[j==1?"next":"prev"]()[0]!=d&&!a.ui.contains(this.placeholder[0],d)&&(this.options.type=="semi-dynamic"?!a.ui.contains(this.element[0],d):true)){this.direction=j==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(f)){this._rearrange(g,f)}else{break}this._trigger("change",g,this._uiHash());break}}this._contactContainers(g);if(a.ui.ddmanager){a.ui.ddmanager.drag(this,g)}this._trigger("sort",g,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(d,e){if(!d){return}if(a.ui.ddmanager&&!this.options.dropBehaviour){a.ui.ddmanager.drop(this,d)}if(this.options.revert){var c=this;var f=c.placeholder.offset();c.reverting=true;a(this.helper).animate({left:f.left-this.offset.parent.left-c.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:f.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(d)})}else{this._clear(d,e)}return false},cancel:function(){var c=this;if(this.dragging){this._mouseUp({target:null});if(this.options.helper=="original"){this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else{this.currentItem.show()}for(var d=this.containers.length-1;d>=0;d--){this.containers[d]._trigger("deactivate",null,c._uiHash(this));if(this.containers[d].containerCache.over){this.containers[d]._trigger("out",null,c._uiHash(this));this.containers[d].containerCache.over=0}}}if(this.placeholder){if(this.placeholder[0].parentNode){this.placeholder[0].parentNode.removeChild(this.placeholder[0])}if(this.options.helper!="original"&&this.helper&&this.helper[0].parentNode){this.helper.remove()}a.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});if(this.domPosition.prev){a(this.domPosition.prev).after(this.currentItem)}else{a(this.domPosition.parent).prepend(this.currentItem)}}return this},serialize:function(e){var c=this._getItemsAsjQuery(e&&e.connected);var d=[];e=e||{};a(c).each(function(){var f=(a(e.item||this).attr(e.attribute||"id")||"").match(e.expression||(/(.+)[-=_](.+)/));if(f){d.push((e.key||f[1]+"[]")+"="+(e.key&&e.expression?f[1]:f[2]))}});if(!d.length&&e.key){d.push(e.key+"=")}return d.join("&")},toArray:function(e){var c=this._getItemsAsjQuery(e&&e.connected);var d=[];e=e||{};c.each(function(){d.push(a(e.item||this).attr(e.attribute||"id")||"")});return d},_intersectsWith:function(m){var e=this.positionAbs.left,d=e+this.helperProportions.width,k=this.positionAbs.top,j=k+this.helperProportions.height;var f=m.left,c=f+m.width,n=m.top,i=n+m.height;var o=this.offset.click.top,h=this.offset.click.left;var g=(k+o)>n&&(k+o)<i&&(e+h)>f&&(e+h)<c;if(this.options.tolerance=="pointer"||this.options.forcePointerForContainers||(this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>m[this.floating?"width":"height"])){return g}else{return(f<e+(this.helperProportions.width/2)&&d-(this.helperProportions.width/2)<c&&n<k+(this.helperProportions.height/2)&&j-(this.helperProportions.height/2)<i)}},_intersectsWithPointer:function(e){var f=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),d=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width),h=f&&d,c=this._getDragVerticalDirection(),g=this._getDragHorizontalDirection();if(!h){return false}return this.floating?(((g&&g=="right")||c=="down")?2:1):(c&&(c=="down"?2:1))},_intersectsWithSides:function(f){var d=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,f.top+(f.height/2),f.height),e=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,f.left+(f.width/2),f.width),c=this._getDragVerticalDirection(),g=this._getDragHorizontalDirection();if(this.floating&&g){return((g=="right"&&e)||(g=="left"&&!e))}else{return c&&((c=="down"&&d)||(c=="up"&&!d))}},_getDragVerticalDirection:function(){var c=this.positionAbs.top-this.lastPositionAbs.top;return c!=0&&(c>0?"down":"up")},_getDragHorizontalDirection:function(){var c=this.positionAbs.left-this.lastPositionAbs.left;return c!=0&&(c>0?"right":"left")},refresh:function(c){this._refreshItems(c);this.refreshPositions();return this},_connectWith:function(){var c=this.options;return c.connectWith.constructor==String?[c.connectWith]:c.connectWith},_getItemsAsjQuery:function(c){var m=this;var h=[];var f=[];var k=this._connectWith();if(k&&c){for(var e=k.length-1;e>=0;e--){var l=a(k[e]);for(var d=l.length-1;d>=0;d--){var g=a.data(l[d],"sortable");if(g&&g!=this&&!g.options.disabled){f.push([a.isFunction(g.options.items)?g.options.items.call(g.element):a(g.options.items,g.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),g])}}}}f.push([a.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):a(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var e=f.length-1;e>=0;e--){f[e][0].each(function(){h.push(this)})}return a(h)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data(sortable-item)");for(var d=0;d<this.items.length;d++){for(var c=0;c<e.length;c++){if(e[c]==this.items[d].item[0]){this.items.splice(d,1)}}}},_refreshItems:function(c){this.items=[];this.containers=[this];var k=this.items;var q=this;var g=[[a.isFunction(this.options.items)?this.options.items.call(this.element[0],c,{item:this.currentItem}):a(this.options.items,this.element),this]];var m=this._connectWith();if(m){for(var f=m.length-1;f>=0;f--){var n=a(m[f]);for(var e=n.length-1;e>=0;e--){var h=a.data(n[e],"sortable");if(h&&h!=this&&!h.options.disabled){g.push([a.isFunction(h.options.items)?h.options.items.call(h.element[0],c,{item:this.currentItem}):a(h.options.items,h.element),h]);this.containers.push(h)}}}}for(var f=g.length-1;f>=0;f--){var l=g[f][1];var d=g[f][0];for(var e=0,o=d.length;e<o;e++){var p=a(d[e]);p.data("sortable-item",l);k.push({item:p,instance:l,width:0,height:0,left:0,top:0})}}},refreshPositions:function(c){if(this.offsetParent&&this.helper){this.offset.parent=this._getParentOffset()}for(var e=this.items.length-1;e>=0;e--){var f=this.items[e];if(f.instance!=this.currentContainer&&this.currentContainer&&f.item[0]!=this.currentItem[0]){continue}var d=this.options.toleranceElement?a(this.options.toleranceElement,f.item):f.item;if(!c){f.width=d.outerWidth();f.height=d.outerHeight()}var g=d.offset();f.left=g.left;f.top=g.top}if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this)}else{for(var e=this.containers.length-1;e>=0;e--){var g=this.containers[e].element.offset();this.containers[e].containerCache.left=g.left;this.containers[e].containerCache.top=g.top;this.containers[e].containerCache.width=this.containers[e].element.outerWidth();this.containers[e].containerCache.height=this.containers[e].element.outerHeight()}}return this},_createPlaceholder:function(e){var c=e||this,f=c.options;if(!f.placeholder||f.placeholder.constructor==String){var d=f.placeholder;f.placeholder={element:function(){var g=a(document.createElement(c.currentItem[0].nodeName)).addClass(d||c.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];if(!d){g.style.visibility="hidden"}return g},update:function(g,h){if(d&&!f.forcePlaceholderSize){return}if(!h.height()){h.height(c.currentItem.innerHeight()-parseInt(c.currentItem.css("paddingTop")||0,10)-parseInt(c.currentItem.css("paddingBottom")||0,10))}if(!h.width()){h.width(c.currentItem.innerWidth()-parseInt(c.currentItem.css("paddingLeft")||0,10)-parseInt(c.currentItem.css("paddingRight")||0,10))}}}}c.placeholder=a(f.placeholder.element.call(c.element,c.currentItem));c.currentItem.after(c.placeholder);f.placeholder.update(c,c.placeholder)},_contactContainers:function(c){var e=null,l=null;for(var g=this.containers.length-1;g>=0;g--){if(a.ui.contains(this.currentItem[0],this.containers[g].element[0])){continue}if(this._intersectsWith(this.containers[g].containerCache)){if(e&&a.ui.contains(this.containers[g].element[0],e.element[0])){continue}e=this.containers[g];l=g}else{if(this.containers[g].containerCache.over){this.containers[g]._trigger("out",c,this._uiHash(this));this.containers[g].containerCache.over=0}}}if(!e){return}if(this.containers.length===1){this.containers[l]._trigger("over",c,this._uiHash(this));this.containers[l].containerCache.over=1}else{if(this.currentContainer!=this.containers[l]){var k=10000;var h=null;var d=this.positionAbs[this.containers[l].floating?"left":"top"];for(var f=this.items.length-1;f>=0;f--){if(!a.ui.contains(this.containers[l].element[0],this.items[f].item[0])){continue}var m=this.items[f][this.containers[l].floating?"left":"top"];if(Math.abs(m-d)<k){k=Math.abs(m-d);h=this.items[f]}}if(!h&&!this.options.dropOnEmpty){return}this.currentContainer=this.containers[l];h?this._rearrange(c,h,null,true):this._rearrange(c,null,this.containers[l].element,true);this._trigger("change",c,this._uiHash());this.containers[l]._trigger("change",c,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[l]._trigger("over",c,this._uiHash(this));this.containers[l].containerCache.over=1}}},_createHelper:function(d){var e=this.options;var c=a.isFunction(e.helper)?a(e.helper.apply(this.element[0],[d,this.currentItem])):(e.helper=="clone"?this.currentItem.clone():this.currentItem);if(!c.parents("body").length){a(e.appendTo!="parent"?e.appendTo:this.currentItem[0].parentNode)[0].appendChild(c[0])}if(c[0]==this.currentItem[0]){this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}}if(c[0].style.width==""||e.forceHelperSize){c.width(this.currentItem.width())}if(c[0].style.height==""||e.forceHelperSize){c.height(this.currentItem.height())}return c},_adjustOffsetFromHelper:function(c){if(typeof c=="string"){c=c.split(" ")}if(a.isArray(c)){c={left:+c[0],top:+c[1]||0}}if("left" in c){this.offset.click.left=c.left+this.margins.left}if("right" in c){this.offset.click.left=this.helperProportions.width-c.right+this.margins.left}if("top" in c){this.offset.click.top=c.top+this.margins.top}if("bottom" in c){this.offset.click.top=this.helperProportions.height-c.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var c=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])){c.left+=this.scrollParent.scrollLeft();c.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&a.browser.msie)){c={top:0,left:0}}return{top:c.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:c.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var c=this.currentItem.position();return{top:c.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:c.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.currentItem.css("marginLeft"),10)||0),top:(parseInt(this.currentItem.css("marginTop"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var f=this.options;if(f.containment=="parent"){f.containment=this.helper[0].parentNode}if(f.containment=="document"||f.containment=="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,a(f.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a(f.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(f.containment)){var d=a(f.containment)[0];var e=a(f.containment).offset();var c=(a(d).css("overflow")!="hidden");this.containment=[e.left+(parseInt(a(d).css("borderLeftWidth"),10)||0)+(parseInt(a(d).css("paddingLeft"),10)||0)-this.margins.left,e.top+(parseInt(a(d).css("borderTopWidth"),10)||0)+(parseInt(a(d).css("paddingTop"),10)||0)-this.margins.top,e.left+(c?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(a(d).css("borderLeftWidth"),10)||0)-(parseInt(a(d).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,e.top+(c?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(a(d).css("borderTopWidth"),10)||0)-(parseInt(a(d).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(g,i){if(!i){i=this.position}var e=g=="absolute"?1:-1;var f=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,h=(/(html|body)/i).test(c[0].tagName);return{top:(i.top+this.offset.relative.top*e+this.offset.parent.top*e-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(h?0:c.scrollTop()))*e)),left:(i.left+this.offset.relative.left*e+this.offset.parent.left*e-(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():h?0:c.scrollLeft())*e))}},_generatePosition:function(f){var i=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,j=(/(html|body)/i).test(c[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()}var e=f.pageX;var d=f.pageY;if(this.originalPosition){if(this.containment){if(f.pageX-this.offset.click.left<this.containment[0]){e=this.containment[0]+this.offset.click.left}if(f.pageY-this.offset.click.top<this.containment[1]){d=this.containment[1]+this.offset.click.top}if(f.pageX-this.offset.click.left>this.containment[2]){e=this.containment[2]+this.offset.click.left}if(f.pageY-this.offset.click.top>this.containment[3]){d=this.containment[3]+this.offset.click.top}}if(i.grid){var h=this.originalPageY+Math.round((d-this.originalPageY)/i.grid[1])*i.grid[1];d=this.containment?(!(h-this.offset.click.top<this.containment[1]||h-this.offset.click.top>this.containment[3])?h:(!(h-this.offset.click.top<this.containment[1])?h-i.grid[1]:h+i.grid[1])):h;var g=this.originalPageX+Math.round((e-this.originalPageX)/i.grid[0])*i.grid[0];e=this.containment?(!(g-this.offset.click.left<this.containment[0]||g-this.offset.click.left>this.containment[2])?g:(!(g-this.offset.click.left<this.containment[0])?g-i.grid[0]:g+i.grid[0])):g}}return{top:(d-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(j?0:c.scrollTop())))),left:(e-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():j?0:c.scrollLeft())))}},_rearrange:function(h,g,d,f){d?d[0].appendChild(this.placeholder[0]):g.item[0].parentNode.insertBefore(this.placeholder[0],(this.direction=="down"?g.item[0]:g.item[0].nextSibling));this.counter=this.counter?++this.counter:1;var e=this,c=this.counter;window.setTimeout(function(){if(c==e.counter){e.refreshPositions(!f)}},0)},_clear:function(e,f){this.reverting=false;var g=[],c=this;if(!this._noFinalSort&&this.currentItem.parent().length){this.placeholder.before(this.currentItem)}this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var d in this._storedCSS){if(this._storedCSS[d]=="auto"||this._storedCSS[d]=="static"){this._storedCSS[d]=""}}this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else{this.currentItem.show()}if(this.fromOutside&&!f){g.push(function(h){this._trigger("receive",h,this._uiHash(this.fromOutside))})}if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!f){g.push(function(h){this._trigger("update",h,this._uiHash())})}if(!a.ui.contains(this.element[0],this.currentItem[0])){if(!f){g.push(function(h){this._trigger("remove",h,this._uiHash())})}for(var d=this.containers.length-1;d>=0;d--){if(a.ui.contains(this.containers[d].element[0],this.currentItem[0])&&!f){g.push((function(h){return function(i){h._trigger("receive",i,this._uiHash(this))}}).call(this,this.containers[d]));g.push((function(h){return function(i){h._trigger("update",i,this._uiHash(this))}}).call(this,this.containers[d]))}}}for(var d=this.containers.length-1;d>=0;d--){if(!f){g.push((function(h){return function(i){h._trigger("deactivate",i,this._uiHash(this))}}).call(this,this.containers[d]))}if(this.containers[d].containerCache.over){g.push((function(h){return function(i){h._trigger("out",i,this._uiHash(this))}}).call(this,this.containers[d]));this.containers[d].containerCache.over=0}}if(this._storedCursor){a("body").css("cursor",this._storedCursor)}if(this._storedOpacity){this.helper.css("opacity",this._storedOpacity)}if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex)}this.dragging=false;if(this.cancelHelperRemoval){if(!f){this._trigger("beforeStop",e,this._uiHash());for(var d=0;d<g.length;d++){g[d].call(this,e)}this._trigger("stop",e,this._uiHash())}return false}if(!f){this._trigger("beforeStop",e,this._uiHash())}this.placeholder[0].parentNode.removeChild(this.placeholder[0]);if(this.helper[0]!=this.currentItem[0]){this.helper.remove()}this.helper=null;if(!f){for(var d=0;d<g.length;d++){g[d].call(this,e)}this._trigger("stop",e,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){if(a.Widget.prototype._trigger.apply(this,arguments)===false){this.cancel()}},_uiHash:function(d){var c=d||this;return{helper:c.helper,placeholder:c.placeholder||a([]),position:c.position,originalPosition:c.originalPosition,offset:c.positionAbs,item:c.currentItem,sender:d?d.element:null}}});a.extend(a.ui.sortable,{version:"1.8.14"})})(jQuery);(function(a,b){a.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var c=this,d=c.options;c.running=0;c.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix");c.headers=c.element.find(d.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){if(d.disabled){return}a(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){if(d.disabled){return}a(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){if(d.disabled){return}a(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){if(d.disabled){return}a(this).removeClass("ui-state-focus")});c.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");if(d.navigation){var e=c.element.find("a").filter(d.navigationFilter).eq(0);if(e.length){var f=e.closest(".ui-accordion-header");if(f.length){c.active=f}else{c.active=e.closest(".ui-accordion-content").prev()}}}c.active=c._findActive(c.active||d.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");c.active.next().addClass("ui-accordion-content-active");c._createIcons();c.resize();c.element.attr("role","tablist");c.headers.attr("role","tab").bind("keydown.accordion",function(g){return c._keydown(g)}).next().attr("role","tabpanel");c.headers.not(c.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide();if(!c.active.length){c.headers.eq(0).attr("tabIndex",0)}else{c.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0})}if(!a.browser.safari){c.headers.find("a").attr("tabIndex",-1)}if(d.event){c.headers.bind(d.event.split(" ").join(".accordion ")+".accordion",function(g){c._clickHandler.call(c,g,this);g.preventDefault()})}},_createIcons:function(){var c=this.options;if(c.icons){a("<span></span>").addClass("ui-icon "+c.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(c.icons.header).toggleClass(c.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var c=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex");this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var d=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");if(c.autoHeight||c.fillHeight){d.css("height","")}return a.Widget.prototype.destroy.call(this)},_setOption:function(c,d){a.Widget.prototype._setOption.apply(this,arguments);if(c=="active"){this.activate(d)}if(c=="icons"){this._destroyIcons();if(d){this._createIcons()}}if(c=="disabled"){this.headers.add(this.headers.next())[d?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")}},_keydown:function(f){if(this.options.disabled||f.altKey||f.ctrlKey){return}var g=a.ui.keyCode,e=this.headers.length,c=this.headers.index(f.target),d=false;switch(f.keyCode){case g.RIGHT:case g.DOWN:d=this.headers[(c+1)%e];break;case g.LEFT:case g.UP:d=this.headers[(c-1+e)%e];break;case g.SPACE:case g.ENTER:this._clickHandler({target:f.target},f.target);f.preventDefault()}if(d){a(f.target).attr("tabIndex",-1);a(d).attr("tabIndex",0);d.focus();return false}return true},resize:function(){var c=this.options,e;if(c.fillSpace){if(a.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}e=this.element.parent().height();if(a.browser.msie){this.element.parent().css("overflow",d)}this.headers.each(function(){e-=a(this).outerHeight(true)});this.headers.next().each(function(){a(this).height(Math.max(0,e-a(this).innerHeight()+a(this).height()))}).css("overflow","auto")}else{if(c.autoHeight){e=0;this.headers.next().each(function(){e=Math.max(e,a(this).height("").height())}).height(e)}}return this},activate:function(c){this.options.active=c;var d=this._findActive(c)[0];this._clickHandler({target:d},d);return this},_findActive:function(c){return c?typeof c==="number"?this.headers.filter(":eq("+c+")"):this.headers.not(this.headers.not(c)):c===false?a([]):this.headers.filter(":eq(0)")},_clickHandler:function(c,g){var l=this.options;if(l.disabled){return}if(!c.target){if(!l.collapsible){return}this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(l.icons.headerSelected).addClass(l.icons.header);this.active.next().addClass("ui-accordion-content-active");var i=this.active.next(),f={options:l,newHeader:a([]),oldHeader:l.active,newContent:a([]),oldContent:i},d=(this.active=a([]));this._toggle(d,i,f);return}var h=a(c.currentTarget||g),j=h[0]===this.active[0];l.active=l.collapsible&&j?false:this.headers.index(h);if(this.running||(!l.collapsible&&j)){return}var e=this.active,d=h.next(),i=this.active.next(),f={options:l,newHeader:j&&l.collapsible?a([]):h,oldHeader:this.active,newContent:j&&l.collapsible?a([]):d,oldContent:i},k=this.headers.index(this.active[0])>this.headers.index(h[0]);this.active=j?a([]):h;this._toggle(d,i,f,j,k);e.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(l.icons.headerSelected).addClass(l.icons.header);if(!j){h.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(l.icons.header).addClass(l.icons.headerSelected);h.next().addClass("ui-accordion-content-active")}return},_toggle:function(c,i,g,j,k){var m=this,n=m.options;m.toShow=c;m.toHide=i;m.data=g;var d=function(){if(!m){return}return m._completed.apply(m,arguments)};m._trigger("changestart",null,m.data);m.running=i.size()===0?c.size():i.size();if(n.animated){var f={};if(n.collapsible&&j){f={toShow:a([]),toHide:i,complete:d,down:k,autoHeight:n.autoHeight||n.fillSpace}}else{f={toShow:c,toHide:i,complete:d,down:k,autoHeight:n.autoHeight||n.fillSpace}}if(!n.proxied){n.proxied=n.animated}if(!n.proxiedDuration){n.proxiedDuration=n.duration}n.animated=a.isFunction(n.proxied)?n.proxied(f):n.proxied;n.duration=a.isFunction(n.proxiedDuration)?n.proxiedDuration(f):n.proxiedDuration;var l=a.ui.accordion.animations,e=n.duration,h=n.animated;if(h&&!l[h]&&!a.easing[h]){h="slide"}if(!l[h]){l[h]=function(o){this.slide(o,{easing:h,duration:e||700})}}l[h](f)}else{if(n.collapsible&&j){c.toggle()}else{i.hide();c.show()}d(true)}i.prev().attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).blur();c.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(c){this.running=c?0:--this.running;if(this.running){return}if(this.options.clearStyle){this.toShow.add(this.toHide).css({height:"",overflow:""})}this.toHide.removeClass("ui-accordion-content-active");if(this.toHide.length){this.toHide.parent()[0].className=this.toHide.parent()[0].className}this._trigger("change",null,this.data)}});a.extend(a.ui.accordion,{version:"1.8.14",animations:{slide:function(k,i){k=a.extend({easing:"swing",duration:300},k,i);if(!k.toHide.size()){k.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},k);return}if(!k.toShow.size()){k.toHide.animate({height:"hide",paddingTop:"hide",paddingBottom:"hide"},k);return}var d=k.toShow.css("overflow"),h=0,e={},g={},f=["height","paddingTop","paddingBottom"],c;var j=k.toShow;c=j[0].style.width;j.width(parseInt(j.parent().width(),10)-parseInt(j.css("paddingLeft"),10)-parseInt(j.css("paddingRight"),10)-(parseInt(j.css("borderLeftWidth"),10)||0)-(parseInt(j.css("borderRightWidth"),10)||0));a.each(f,function(l,n){g[n]="hide";var m=(""+a.css(k.toShow[0],n)).match(/^([\d+-.]+)(.*)$/);e[n]={value:m[1],unit:m[2]||"px"}});k.toShow.css({height:0,overflow:"hidden"}).show();k.toHide.filter(":hidden").each(k.complete).end().filter(":visible").animate(g,{step:function(l,m){if(m.prop=="height"){h=(m.end-m.start===0)?0:(m.now-m.start)/(m.end-m.start)}k.toShow[0].style[m.prop]=(h*e[m.prop].value)+e[m.prop].unit},duration:k.duration,easing:k.easing,complete:function(){if(!k.autoHeight){k.toShow.css("height","")}k.toShow.css({width:c,overflow:d});k.complete()}})},bounceslide:function(c){this.slide(c,{easing:c.down?"easeOutBounce":"swing",duration:c.down?1000:200})}}})})(jQuery);(function(a,b){var c=0;a.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var d=this,f=this.element[0].ownerDocument,e;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(g){if(d.options.disabled||d.element.attr("readonly")){return}e=false;var h=a.ui.keyCode;switch(g.keyCode){case h.PAGE_UP:d._move("previousPage",g);break;case h.PAGE_DOWN:d._move("nextPage",g);break;case h.UP:d._move("previous",g);g.preventDefault();break;case h.DOWN:d._move("next",g);g.preventDefault();break;case h.ENTER:case h.NUMPAD_ENTER:if(d.menu.active){e=true;g.preventDefault()}case h.TAB:if(!d.menu.active){return}d.menu.select(g);break;case h.ESCAPE:d.element.val(d.term);d.close(g);break;default:clearTimeout(d.searching);d.searching=setTimeout(function(){if(d.term!=d.element.val()){d.selectedItem=null;d.search(null,g)}},d.options.delay);break}}).bind("keypress.autocomplete",function(g){if(e){e=false;g.preventDefault()}}).bind("focus.autocomplete",function(){if(d.options.disabled){return}d.selectedItem=null;d.previous=d.element.val()}).bind("blur.autocomplete",function(g){if(d.options.disabled){return}clearTimeout(d.searching);d.closing=setTimeout(function(){d.close(g);d._change(g)},150)});this._initSource();this.response=function(){return d._response.apply(d,arguments)};this.menu=a("<ul></ul>").addClass("ui-autocomplete").appendTo(a(this.options.appendTo||"body",f)[0]).mousedown(function(g){var h=d.menu.element[0];if(!a(g.target).closest(".ui-menu-item").length){setTimeout(function(){a(document).one("mousedown",function(i){if(i.target!==d.element[0]&&i.target!==h&&!a.ui.contains(h,i.target)){d.close()}})},1)}setTimeout(function(){clearTimeout(d.closing)},13)}).menu({focus:function(h,i){var g=i.item.data("item.autocomplete");if(false!==d._trigger("focus",h,{item:g})){if(/^key/.test(h.originalEvent.type)){d.element.val(g.value)}}},selected:function(i,j){var h=j.item.data("item.autocomplete"),g=d.previous;if(d.element[0]!==f.activeElement){d.element.focus();d.previous=g;setTimeout(function(){d.previous=g;d.selectedItem=h},1)}if(false!==d._trigger("select",i,{item:h})){d.element.val(h.value)}d.term=d.element.val();d.close(i);d.selectedItem=h},blur:function(g,h){if(d.menu.element.is(":visible")&&(d.element.val()!==d.term)){d.element.val(d.term)}}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");if(a.fn.bgiframe){this.menu.element.bgiframe()}},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");this.menu.element.remove();a.Widget.prototype.destroy.call(this)},_setOption:function(d,e){a.Widget.prototype._setOption.apply(this,arguments);if(d==="source"){this._initSource()}if(d==="appendTo"){this.menu.element.appendTo(a(e||"body",this.element[0].ownerDocument)[0])}if(d==="disabled"&&e&&this.xhr){this.xhr.abort()}},_initSource:function(){var d=this,f,e;if(a.isArray(this.options.source)){f=this.options.source;this.source=function(h,g){g(a.ui.autocomplete.filter(f,h.term))}}else{if(typeof this.options.source==="string"){e=this.options.source;this.source=function(h,g){if(d.xhr){d.xhr.abort()}d.xhr=a.ajax({url:e,data:h,dataType:"json",autocompleteRequest:++c,success:function(j,i){if(this.autocompleteRequest===c){g(j)}},error:function(){if(this.autocompleteRequest===c){g([])}}})}}else{this.source=this.options.source}}},search:function(e,d){e=e!=null?e:this.element.val();this.term=this.element.val();if(e.length<this.options.minLength){return this.close(d)}clearTimeout(this.closing);if(this._trigger("search",d)===false){return}return this._search(e)},_search:function(d){this.pending++;this.element.addClass("ui-autocomplete-loading");this.source({term:d},this.response)},_response:function(d){if(!this.options.disabled&&d&&d.length){d=this._normalize(d);this._suggest(d);this._trigger("open")}else{this.close()}this.pending--;if(!this.pending){this.element.removeClass("ui-autocomplete-loading")}},close:function(d){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.deactivate();this._trigger("close",d)}},_change:function(d){if(this.previous!==this.element.val()){this._trigger("change",d,{item:this.selectedItem})}},_normalize:function(d){if(d.length&&d[0].label&&d[0].value){return d}return a.map(d,function(e){if(typeof e==="string"){return{label:e,value:e}}return a.extend({label:e.label||e.value,value:e.value||e.label},e)})},_suggest:function(d){var e=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(e,d);this.menu.deactivate();this.menu.refresh();e.show();this._resizeMenu();e.position(a.extend({of:this.element},this.options.position));if(this.options.autoFocus){this.menu.next(new a.Event("mouseover"))}},_resizeMenu:function(){var d=this.menu.element;d.outerWidth(Math.max(d.width("").outerWidth(),this.element.outerWidth()))},_renderMenu:function(f,e){var d=this;a.each(e,function(g,h){d._renderItem(f,h)})},_renderItem:function(d,e){return a("<li></li>").data("item.autocomplete",e).append(a("<a></a>").text(e.label)).appendTo(d)},_move:function(e,d){if(!this.menu.element.is(":visible")){this.search(null,d);return}if(this.menu.first()&&/^previous/.test(e)||this.menu.last()&&/^next/.test(e)){this.element.val(this.term);this.menu.deactivate();return}this.menu[e](d)},widget:function(){return this.menu.element}});a.extend(a.ui.autocomplete,{escapeRegex:function(d){return d.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(f,d){var e=new RegExp(a.ui.autocomplete.escapeRegex(d),"i");return a.grep(f,function(g){return e.test(g.label||g.value||g)})}})}(jQuery));(function(a){a.widget("ui.menu",{_create:function(){var b=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(c){if(!a(c.target).closest(".ui-menu-item a").length){return}c.preventDefault();b.select(c)});this.refresh()},refresh:function(){var c=this;var b=this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem");b.children("a").addClass("ui-corner-all").attr("tabindex",-1).mouseenter(function(d){c.activate(d,a(this).parent())}).mouseleave(function(){c.deactivate()})},activate:function(e,d){this.deactivate();if(this.hasScroll()){var f=d.offset().top-this.element.offset().top,b=this.element.scrollTop(),c=this.element.height();if(f<0){this.element.scrollTop(b+f)}else{if(f>=c){this.element.scrollTop(b+f-c+d.height())}}}this.active=d.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",e,{item:d})},deactivate:function(){if(!this.active){return}this.active.children("a").removeClass("ui-state-hover").removeAttr("id");this._trigger("blur");this.active=null},next:function(b){this.move("next",".ui-menu-item:first",b)},previous:function(b){this.move("prev",".ui-menu-item:last",b)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(e,d,c){if(!this.active){this.activate(c,this.element.children(d));return}var b=this.active[e+"All"](".ui-menu-item").eq(0);if(b.length){this.activate(c,b)}else{this.activate(c,this.element.children(d))}},nextPage:function(d){if(this.hasScroll()){if(!this.active||this.last()){this.activate(d,this.element.children(".ui-menu-item:first"));return}var e=this.active.offset().top,c=this.element.height(),b=this.element.children(".ui-menu-item").filter(function(){var f=a(this).offset().top-e-c+a(this).height();return f<10&&f>-10});if(!b.length){b=this.element.children(".ui-menu-item:last")}this.activate(d,b)}else{this.activate(d,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))}},previousPage:function(c){if(this.hasScroll()){if(!this.active||this.first()){this.activate(c,this.element.children(".ui-menu-item:last"));return}var d=this.active.offset().top,b=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var e=a(this).offset().top-d+b-a(this).height();return e<10&&e>-10});if(!result.length){result=this.element.children(".ui-menu-item:first")}this.activate(c,result)}else{this.activate(c,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))}},hasScroll:function(){return this.element.height()<this.element[a.fn.prop?"prop":"attr"]("scrollHeight")},select:function(b){this._trigger("selected",b,{item:this.active})}})}(jQuery));(function(f,b){var k,e,a,h,i="ui-button ui-widget ui-state-default ui-corner-all",c="ui-state-hover ui-state-active ",g="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",j=function(){var l=f(this).find(":ui-button");setTimeout(function(){l.button("refresh")},1)},d=function(m){var l=m.name,n=m.form,o=f([]);if(l){if(n){o=f(n).find("[name='"+l+"']")}else{o=f("[name='"+l+"']",m.ownerDocument).filter(function(){return !this.form})}}return o};f.widget("ui.button",{options:{disabled:null,text:true,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button",j);if(typeof this.options.disabled!=="boolean"){this.options.disabled=this.element.attr("disabled")}this._determineButtonType();this.hasTitle=!!this.buttonElement.attr("title");var l=this,n=this.options,o=this.type==="checkbox"||this.type==="radio",p="ui-state-hover"+(!o?" ui-state-active":""),m="ui-state-focus";if(n.label===null){n.label=this.buttonElement.html()}if(this.element.is(":disabled")){n.disabled=true}this.buttonElement.addClass(i).attr("role","button").bind("mouseenter.button",function(){if(n.disabled){return}f(this).addClass("ui-state-hover");if(this===k){f(this).addClass("ui-state-active")}}).bind("mouseleave.button",function(){if(n.disabled){return}f(this).removeClass(p)}).bind("click.button",function(q){if(n.disabled){q.preventDefault();q.stopImmediatePropagation()}});this.element.bind("focus.button",function(){l.buttonElement.addClass(m)}).bind("blur.button",function(){l.buttonElement.removeClass(m)});if(o){this.element.bind("change.button",function(){if(h){return}l.refresh()});this.buttonElement.bind("mousedown.button",function(q){if(n.disabled){return}h=false;e=q.pageX;a=q.pageY}).bind("mouseup.button",function(q){if(n.disabled){return}if(e!==q.pageX||a!==q.pageY){h=true}})}if(this.type==="checkbox"){this.buttonElement.bind("click.button",function(){if(n.disabled||h){return false}f(this).toggleClass("ui-state-active");l.buttonElement.attr("aria-pressed",l.element[0].checked)})}else{if(this.type==="radio"){this.buttonElement.bind("click.button",function(){if(n.disabled||h){return false}f(this).addClass("ui-state-active");l.buttonElement.attr("aria-pressed",true);var q=l.element[0];d(q).not(q).map(function(){return f(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed",false)})}else{this.buttonElement.bind("mousedown.button",function(){if(n.disabled){return false}f(this).addClass("ui-state-active");k=this;f(document).one("mouseup",function(){k=null})}).bind("mouseup.button",function(){if(n.disabled){return false}f(this).removeClass("ui-state-active")}).bind("keydown.button",function(q){if(n.disabled){return false}if(q.keyCode==f.ui.keyCode.SPACE||q.keyCode==f.ui.keyCode.ENTER){f(this).addClass("ui-state-active")}}).bind("keyup.button",function(){f(this).removeClass("ui-state-active")});if(this.buttonElement.is("a")){this.buttonElement.keyup(function(q){if(q.keyCode===f.ui.keyCode.SPACE){f(this).click()}})}}}this._setOption("disabled",n.disabled);this._resetButton()},_determineButtonType:function(){if(this.element.is(":checkbox")){this.type="checkbox"}else{if(this.element.is(":radio")){this.type="radio"}else{if(this.element.is("input")){this.type="input"}else{this.type="button"}}}if(this.type==="checkbox"||this.type==="radio"){var l=this.element.parents().filter(":last"),n="label[for="+this.element.attr("id")+"]";this.buttonElement=l.find(n);if(!this.buttonElement.length){l=l.length?l.siblings():this.element.siblings();this.buttonElement=l.filter(n);if(!this.buttonElement.length){this.buttonElement=l.find(n)}}this.element.addClass("ui-helper-hidden-accessible");var m=this.element.is(":checked");if(m){this.buttonElement.addClass("ui-state-active")}this.buttonElement.attr("aria-pressed",m)}else{this.buttonElement=this.element}},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass(i+" "+c+" "+g).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());if(!this.hasTitle){this.buttonElement.removeAttr("title")}f.Widget.prototype.destroy.call(this)},_setOption:function(l,m){f.Widget.prototype._setOption.apply(this,arguments);if(l==="disabled"){if(m){this.element.attr("disabled",true)}else{this.element.removeAttr("disabled")}return}this._resetButton()},refresh:function(){var l=this.element.is(":disabled");if(l!==this.options.disabled){this._setOption("disabled",l)}if(this.type==="radio"){d(this.element[0]).each(function(){if(f(this).is(":checked")){f(this).button("widget").addClass("ui-state-active").attr("aria-pressed",true)}else{f(this).button("widget").removeClass("ui-state-active").attr("aria-pressed",false)}})}else{if(this.type==="checkbox"){if(this.element.is(":checked")){this.buttonElement.addClass("ui-state-active").attr("aria-pressed",true)}else{this.buttonElement.removeClass("ui-state-active").attr("aria-pressed",false)}}}},_resetButton:function(){if(this.type==="input"){if(this.options.label){this.element.val(this.options.label)}return}var p=this.buttonElement.removeClass(g),n=f("<span></span>").addClass("ui-button-text").html(this.options.label).appendTo(p.empty()).text(),m=this.options.icons,l=m.primary&&m.secondary,o=[];if(m.primary||m.secondary){if(this.options.text){o.push("ui-button-text-icon"+(l?"s":(m.primary?"-primary":"-secondary")))}if(m.primary){p.prepend("<span class='ui-button-icon-primary ui-icon "+m.primary+"'></span>")}if(m.secondary){p.append("<span class='ui-button-icon-secondary ui-icon "+m.secondary+"'></span>")}if(!this.options.text){o.push(l?"ui-button-icons-only":"ui-button-icon-only");if(!this.hasTitle){p.attr("title",n)}}}else{o.push("ui-button-text-only")}p.addClass(o.join(" "))}});f.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(l,m){if(l==="disabled"){this.buttons.button("option",l,m)}f.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var l=this.element.css("direction")==="ltr";this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return f(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(l?"ui-corner-left":"ui-corner-right").end().filter(":last").addClass(l?"ui-corner-right":"ui-corner-left").end().end()},destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return f(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");f.Widget.prototype.destroy.call(this)}})}(jQuery));(function(e,f){var c="ui-dialog ui-widget ui-widget-content ui-corner-all ",b={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},d={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true},a=e.attrFn||{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true,click:true};e.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",collision:"fit",using:function(h){var g=e(this).css(h).offset().top;if(g<0){e(this).css("top",h.top-g)}}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1000},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string"){this.originalTitle=""}this.options.title=this.options.title||this.originalTitle;var o=this,p=o.options,m=p.title||"&#160;",h=e.ui.dialog.getTitleId(o.element),n=(o.uiDialog=e("<div></div>")).appendTo(document.body).hide().addClass(c+p.dialogClass).css({zIndex:p.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(q){if(p.closeOnEscape&&q.keyCode&&q.keyCode===e.ui.keyCode.ESCAPE){o.close(q);q.preventDefault()}}).attr({role:"dialog","aria-labelledby":h}).mousedown(function(q){o.moveToTop(false,q)}),j=o.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(n),i=(o.uiDialogTitlebar=e("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(n),l=e('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){l.addClass("ui-state-hover")},function(){l.removeClass("ui-state-hover")}).focus(function(){l.addClass("ui-state-focus")}).blur(function(){l.removeClass("ui-state-focus")}).click(function(q){o.close(q);return false}).appendTo(i),k=(o.uiDialogTitlebarCloseText=e("<span></span>")).addClass("ui-icon ui-icon-closethick").text(p.closeText).appendTo(l),g=e("<span></span>").addClass("ui-dialog-title").attr("id",h).html(m).prependTo(i);if(e.isFunction(p.beforeclose)&&!e.isFunction(p.beforeClose)){p.beforeClose=p.beforeclose}i.find("*").add(i).disableSelection();if(p.draggable&&e.fn.draggable){o._makeDraggable()}if(p.resizable&&e.fn.resizable){o._makeResizable()}o._createButtons(p.buttons);o._isOpen=false;if(e.fn.bgiframe){n.bgiframe()}},_init:function(){if(this.options.autoOpen){this.open()}},destroy:function(){var g=this;if(g.overlay){g.overlay.destroy()}g.uiDialog.hide();g.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");g.uiDialog.remove();if(g.originalTitle){g.element.attr("title",g.originalTitle)}return g},widget:function(){return this.uiDialog},close:function(j){var g=this,i,h;if(false===g._trigger("beforeClose",j)){return}if(g.overlay){g.overlay.destroy()}g.uiDialog.unbind("keypress.ui-dialog");g._isOpen=false;if(g.options.hide){g.uiDialog.hide(g.options.hide,function(){g._trigger("close",j)})}else{g.uiDialog.hide();g._trigger("close",j)}e.ui.dialog.overlay.resize();if(g.options.modal){i=0;e(".ui-dialog").each(function(){if(this!==g.uiDialog[0]){h=e(this).css("z-index");if(!isNaN(h)){i=Math.max(i,h)}}});e.ui.dialog.maxZ=i}return g},isOpen:function(){return this._isOpen},moveToTop:function(k,j){var g=this,i=g.options,h;if((i.modal&&!k)||(!i.stack&&!i.modal)){return g._trigger("focus",j)}if(i.zIndex>e.ui.dialog.maxZ){e.ui.dialog.maxZ=i.zIndex}if(g.overlay){e.ui.dialog.maxZ+=1;g.overlay.$el.css("z-index",e.ui.dialog.overlay.maxZ=e.ui.dialog.maxZ)}h={scrollTop:g.element.attr("scrollTop"),scrollLeft:g.element.attr("scrollLeft")};e.ui.dialog.maxZ+=1;g.uiDialog.css("z-index",e.ui.dialog.maxZ);g.element.attr(h);g._trigger("focus",j);return g},open:function(){if(this._isOpen){return}var h=this,i=h.options,g=h.uiDialog;h.overlay=i.modal?new e.ui.dialog.overlay(h):null;h._size();h._position(i.position);g.show(i.show);h.moveToTop(true);if(i.modal){g.bind("keypress.ui-dialog",function(l){if(l.keyCode!==e.ui.keyCode.TAB){return}var k=e(":tabbable",this),m=k.filter(":first"),j=k.filter(":last");if(l.target===j[0]&&!l.shiftKey){m.focus(1);return false}else{if(l.target===m[0]&&l.shiftKey){j.focus(1);return false}}})}e(h.element.find(":tabbable").get().concat(g.find(".ui-dialog-buttonpane :tabbable").get().concat(g.get()))).eq(0).focus();h._isOpen=true;h._trigger("open");return h},_createButtons:function(j){var i=this,g=false,h=e("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),k=e("<div></div>").addClass("ui-dialog-buttonset").appendTo(h);i.uiDialog.find(".ui-dialog-buttonpane").remove();if(typeof j==="object"&&j!==null){e.each(j,function(){return !(g=true)})}if(g){e.each(j,function(l,n){n=e.isFunction(n)?{click:n,text:l}:n;var m=e('<button type="button"></button>').click(function(){n.click.apply(i.element[0],arguments)}).appendTo(k);e.each(n,function(o,p){if(o==="click"){return}if(o in a){m[o](p)}else{m.attr(o,p)}});if(e.fn.button){m.button()}});h.appendTo(i.uiDialog)}},_makeDraggable:function(){var g=this,j=g.options,k=e(document),i;function h(l){return{position:l.position,offset:l.offset}}g.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(l,m){i=j.height==="auto"?"auto":e(this).height();e(this).height(e(this).height()).addClass("ui-dialog-dragging");g._trigger("dragStart",l,h(m))},drag:function(l,m){g._trigger("drag",l,h(m))},stop:function(l,m){j.position=[m.position.left-k.scrollLeft(),m.position.top-k.scrollTop()];e(this).removeClass("ui-dialog-dragging").height(i);g._trigger("dragStop",l,h(m));e.ui.dialog.overlay.resize()}})},_makeResizable:function(l){l=(l===f?this.options.resizable:l);var h=this,k=h.options,g=h.uiDialog.css("position"),j=(typeof l==="string"?l:"n,e,s,w,se,sw,ne,nw");function i(m){return{originalPosition:m.originalPosition,originalSize:m.originalSize,position:m.position,size:m.size}}h.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:h.element,maxWidth:k.maxWidth,maxHeight:k.maxHeight,minWidth:k.minWidth,minHeight:h._minHeight(),handles:j,start:function(m,n){e(this).addClass("ui-dialog-resizing");h._trigger("resizeStart",m,i(n))},resize:function(m,n){h._trigger("resize",m,i(n))},stop:function(m,n){e(this).removeClass("ui-dialog-resizing");k.height=e(this).height();k.width=e(this).width();h._trigger("resizeStop",m,i(n));e.ui.dialog.overlay.resize()}}).css("position",g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var g=this.options;if(g.height==="auto"){return g.minHeight}else{return Math.min(g.minHeight,g.height)}},_position:function(h){var i=[],j=[0,0],g;if(h){if(typeof h==="string"||(typeof h==="object"&&"0" in h)){i=h.split?h.split(" "):[h[0],h[1]];if(i.length===1){i[1]=i[0]}e.each(["left","top"],function(l,k){if(+i[l]===i[l]){j[l]=i[l];i[l]=k}});h={my:i.join(" "),at:i.join(" "),offset:j.join(" ")}}h=e.extend({},e.ui.dialog.prototype.options.position,h)}else{h=e.ui.dialog.prototype.options.position}g=this.uiDialog.is(":visible");if(!g){this.uiDialog.show()}this.uiDialog.css({top:0,left:0}).position(e.extend({of:window},h));if(!g){this.uiDialog.hide()}},_setOptions:function(j){var h=this,g={},i=false;e.each(j,function(k,l){h._setOption(k,l);if(k in b){i=true}if(k in d){g[k]=l}});if(i){this._size()}if(this.uiDialog.is(":data(resizable)")){this.uiDialog.resizable("option",g)}},_setOption:function(j,k){var h=this,g=h.uiDialog;switch(j){case"beforeclose":j="beforeClose";break;case"buttons":h._createButtons(k);break;case"closeText":h.uiDialogTitlebarCloseText.text(""+k);break;case"dialogClass":g.removeClass(h.options.dialogClass).addClass(c+k);break;case"disabled":if(k){g.addClass("ui-dialog-disabled")}else{g.removeClass("ui-dialog-disabled")}break;case"draggable":var i=g.is(":data(draggable)");if(i&&!k){g.draggable("destroy")}if(!i&&k){h._makeDraggable()}break;case"position":h._position(k);break;case"resizable":var l=g.is(":data(resizable)");if(l&&!k){g.resizable("destroy")}if(l&&typeof k==="string"){g.resizable("option","handles",k)}if(!l&&k!==false){h._makeResizable(k)}break;case"title":e(".ui-dialog-title",h.uiDialogTitlebar).html(""+(k||"&#160;"));break}e.Widget.prototype._setOption.apply(h,arguments)},_size:function(){var k=this.options,h,j,g=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(k.minWidth>k.width){k.width=k.minWidth}h=this.uiDialog.css({height:"auto",width:k.width}).height();j=Math.max(0,k.minHeight-h);if(k.height==="auto"){if(e.support.minHeight){this.element.css({minHeight:j,height:"auto"})}else{this.uiDialog.show();var i=this.element.css("height","auto").height();if(!g){this.uiDialog.hide()}this.element.height(Math.max(i,j))}}else{this.element.height(Math.max(k.height-h,0))}if(this.uiDialog.is(":data(resizable)")){this.uiDialog.resizable("option","minHeight",this._minHeight())}}});e.extend(e.ui.dialog,{version:"1.8.14",uuid:0,maxZ:0,getTitleId:function(g){var h=g.attr("id");if(!h){this.uuid+=1;h=this.uuid}return"ui-dialog-title-"+h},overlay:function(g){this.$el=e.ui.dialog.overlay.create(g)}});e.extend(e.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:e.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(g){return g+".dialog-overlay"}).join(" "),create:function(h){if(this.instances.length===0){setTimeout(function(){if(e.ui.dialog.overlay.instances.length){e(document).bind(e.ui.dialog.overlay.events,function(i){if(e(i.target).zIndex()<e.ui.dialog.overlay.maxZ){return false}})}},1);e(document).bind("keydown.dialog-overlay",function(i){if(h.options.closeOnEscape&&i.keyCode&&i.keyCode===e.ui.keyCode.ESCAPE){h.close(i);i.preventDefault()}});e(window).bind("resize.dialog-overlay",e.ui.dialog.overlay.resize)}var g=(this.oldInstances.pop()||e("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});if(e.fn.bgiframe){g.bgiframe()}this.instances.push(g);return g},destroy:function(g){var h=e.inArray(g,this.instances);if(h!=-1){this.oldInstances.push(this.instances.splice(h,1)[0])}if(this.instances.length===0){e([document,window]).unbind(".dialog-overlay")}g.remove();var i=0;e.each(this.instances,function(){i=Math.max(i,this.css("z-index"))});this.maxZ=i},height:function(){var h,g;if(e.browser.msie&&e.browser.version<7){h=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);g=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);if(h<g){return e(window).height()+"px"}else{return h+"px"}}else{return e(document).height()+"px"}},width:function(){var g,h;if(e.browser.msie){g=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);h=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);if(g<h){return e(window).width()+"px"}else{return g+"px"}}else{return e(document).width()+"px"}},resize:function(){var g=e([]);e.each(e.ui.dialog.overlay.instances,function(){g=g.add(this)});g.css({width:0,height:0}).css({width:e.ui.dialog.overlay.width(),height:e.ui.dialog.overlay.height()})}});e.extend(e.ui.dialog.overlay.prototype,{destroy:function(){e.ui.dialog.overlay.destroy(this.$el)}})}(jQuery));(function(b,c){var a=5;b.widget("ui.slider",b.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var e=this,k=this.options,j=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),h="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",d=(k.values&&k.values.length)||1,g=[];this._keySliding=false;this._mouseSliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"+(k.disabled?" ui-slider-disabled ui-disabled":""));this.range=b([]);if(k.range){if(k.range===true){if(!k.values){k.values=[this._valueMin(),this._valueMin()]}if(k.values.length&&k.values.length!==2){k.values=[k.values[0],k.values[0]]}}this.range=b("<div></div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+((k.range==="min"||k.range==="max")?" ui-slider-range-"+k.range:""))}for(var f=j.length;f<d;f+=1){g.push(h)}this.handles=j.add(b(g.join("")).appendTo(e.element));this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(i){i.preventDefault()}).hover(function(){if(!k.disabled){b(this).addClass("ui-state-hover")}},function(){b(this).removeClass("ui-state-hover")}).focus(function(){if(!k.disabled){b(".ui-slider .ui-state-focus").removeClass("ui-state-focus");b(this).addClass("ui-state-focus")}else{b(this).blur()}}).blur(function(){b(this).removeClass("ui-state-focus")});this.handles.each(function(l){b(this).data("index.ui-slider-handle",l)});this.handles.keydown(function(p){var m=true,l=b(this).data("index.ui-slider-handle"),q,n,i,o;if(e.options.disabled){return}switch(p.keyCode){case b.ui.keyCode.HOME:case b.ui.keyCode.END:case b.ui.keyCode.PAGE_UP:case b.ui.keyCode.PAGE_DOWN:case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:m=false;if(!e._keySliding){e._keySliding=true;b(this).addClass("ui-state-active");q=e._start(p,l);if(q===false){return}}break}o=e.options.step;if(e.options.values&&e.options.values.length){n=i=e.values(l)}else{n=i=e.value()}switch(p.keyCode){case b.ui.keyCode.HOME:i=e._valueMin();break;case b.ui.keyCode.END:i=e._valueMax();break;case b.ui.keyCode.PAGE_UP:i=e._trimAlignValue(n+((e._valueMax()-e._valueMin())/a));break;case b.ui.keyCode.PAGE_DOWN:i=e._trimAlignValue(n-((e._valueMax()-e._valueMin())/a));break;case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:if(n===e._valueMax()){return}i=e._trimAlignValue(n+o);break;case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:if(n===e._valueMin()){return}i=e._trimAlignValue(n-o);break}e._slide(p,l,i);return m}).keyup(function(l){var i=b(this).data("index.ui-slider-handle");if(e._keySliding){e._keySliding=false;e._stop(l,i);e._change(l,i);b(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();return this},_mouseCapture:function(f){var g=this.options,j,l,e,h,n,k,m,i,d;if(g.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();j={x:f.pageX,y:f.pageY};l=this._normValueFromMouse(j);e=this._valueMax()-this._valueMin()+1;n=this;this.handles.each(function(o){var p=Math.abs(l-n.values(o));if(e>p){e=p;h=b(this);k=o}});if(g.range===true&&this.values(1)===g.min){k+=1;h=b(this.handles[k])}m=this._start(f,k);if(m===false){return false}this._mouseSliding=true;n._handleIndex=k;h.addClass("ui-state-active").focus();i=h.offset();d=!b(f.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=d?{left:0,top:0}:{left:f.pageX-i.left-(h.width()/2),top:f.pageY-i.top-(h.height()/2)-(parseInt(h.css("borderTopWidth"),10)||0)-(parseInt(h.css("borderBottomWidth"),10)||0)+(parseInt(h.css("marginTop"),10)||0)};if(!this.handles.hasClass("ui-state-hover")){this._slide(f,k,l)}this._animateOff=true;return true},_mouseStart:function(d){return true},_mouseDrag:function(f){var d={x:f.pageX,y:f.pageY},e=this._normValueFromMouse(d);this._slide(f,this._handleIndex,e);return false},_mouseStop:function(d){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(d,this._handleIndex);this._change(d,this._handleIndex);this._handleIndex=null;this._clickOffset=null;this._animateOff=false;return false},_detectOrientation:function(){this.orientation=(this.options.orientation==="vertical")?"vertical":"horizontal"},_normValueFromMouse:function(e){var d,h,g,f,i;if(this.orientation==="horizontal"){d=this.elementSize.width;h=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{d=this.elementSize.height;h=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}g=(h/d);if(g>1){g=1}if(g<0){g=0}if(this.orientation==="vertical"){g=1-g}f=this._valueMax()-this._valueMin();i=this._valueMin()+g*f;return this._trimAlignValue(i)},_start:function(f,e){var d={handle:this.handles[e],value:this.value()};if(this.options.values&&this.options.values.length){d.value=this.values(e);d.values=this.values()}return this._trigger("start",f,d)},_slide:function(h,g,f){var d,e,i;if(this.options.values&&this.options.values.length){d=this.values(g?0:1);if((this.options.values.length===2&&this.options.range===true)&&((g===0&&f>d)||(g===1&&f<d))){f=d}if(f!==this.values(g)){e=this.values();e[g]=f;i=this._trigger("slide",h,{handle:this.handles[g],value:f,values:e});d=this.values(g?0:1);if(i!==false){this.values(g,f,true)}}}else{if(f!==this.value()){i=this._trigger("slide",h,{handle:this.handles[g],value:f});if(i!==false){this.value(f)}}}},_stop:function(f,e){var d={handle:this.handles[e],value:this.value()};if(this.options.values&&this.options.values.length){d.value=this.values(e);d.values=this.values()}this._trigger("stop",f,d)},_change:function(f,e){if(!this._keySliding&&!this._mouseSliding){var d={handle:this.handles[e],value:this.value()};if(this.options.values&&this.options.values.length){d.value=this.values(e);d.values=this.values()}this._trigger("change",f,d)}},value:function(d){if(arguments.length){this.options.value=this._trimAlignValue(d);this._refreshValue();this._change(null,0);return}return this._value()},values:function(e,h){var g,d,f;if(arguments.length>1){this.options.values[e]=this._trimAlignValue(h);this._refreshValue();this._change(null,e);return}if(arguments.length){if(b.isArray(arguments[0])){g=this.options.values;d=arguments[0];for(f=0;f<g.length;f+=1){g[f]=this._trimAlignValue(d[f]);this._change(null,f)}this._refreshValue()}else{if(this.options.values&&this.options.values.length){return this._values(e)}else{return this.value()}}}else{return this._values()}},_setOption:function(e,f){var d,g=0;if(b.isArray(this.options.values)){g=this.options.values.length}b.Widget.prototype._setOption.apply(this,arguments);switch(e){case"disabled":if(f){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case"value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case"values":this._animateOff=true;this._refreshValue();for(d=0;d<g;d+=1){this._change(null,d)}this._animateOff=false;break}},_value:function(){var d=this.options.value;d=this._trimAlignValue(d);return d},_values:function(d){var g,f,e;if(arguments.length){g=this.options.values[d];g=this._trimAlignValue(g);return g}else{f=this.options.values.slice();for(e=0;e<f.length;e+=1){f[e]=this._trimAlignValue(f[e])}return f}},_trimAlignValue:function(f){if(f<=this._valueMin()){return this._valueMin()}if(f>=this._valueMax()){return this._valueMax()}var d=(this.options.step>0)?this.options.step:1,e=(f-this._valueMin())%d;alignValue=f-e;if(Math.abs(e)*2>=d){alignValue+=(e>0)?d:(-d)}return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var g=this.options.range,f=this.options,m=this,e=(!this._animateOff)?f.animate:false,h,d={},i,k,j,l;if(this.options.values&&this.options.values.length){this.handles.each(function(o,n){h=(m.values(o)-m._valueMin())/(m._valueMax()-m._valueMin())*100;d[m.orientation==="horizontal"?"left":"bottom"]=h+"%";b(this).stop(1,1)[e?"animate":"css"](d,f.animate);if(m.options.range===true){if(m.orientation==="horizontal"){if(o===0){m.range.stop(1,1)[e?"animate":"css"]({left:h+"%"},f.animate)}if(o===1){m.range[e?"animate":"css"]({width:(h-i)+"%"},{queue:false,duration:f.animate})}}else{if(o===0){m.range.stop(1,1)[e?"animate":"css"]({bottom:(h)+"%"},f.animate)}if(o===1){m.range[e?"animate":"css"]({height:(h-i)+"%"},{queue:false,duration:f.animate})}}}i=h})}else{k=this.value();j=this._valueMin();l=this._valueMax();h=(l!==j)?(k-j)/(l-j)*100:0;d[m.orientation==="horizontal"?"left":"bottom"]=h+"%";this.handle.stop(1,1)[e?"animate":"css"](d,f.animate);if(g==="min"&&this.orientation==="horizontal"){this.range.stop(1,1)[e?"animate":"css"]({width:h+"%"},f.animate)}if(g==="max"&&this.orientation==="horizontal"){this.range[e?"animate":"css"]({width:(100-h)+"%"},{queue:false,duration:f.animate})}if(g==="min"&&this.orientation==="vertical"){this.range.stop(1,1)[e?"animate":"css"]({height:h+"%"},f.animate)}if(g==="max"&&this.orientation==="vertical"){this.range[e?"animate":"css"]({height:(100-h)+"%"},{queue:false,duration:f.animate})}}}});b.extend(b.ui.slider,{version:"1.8.14"})}(jQuery));(function(d,f){var c=0,b=0;function e(){return ++c}function a(){return ++b}d.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading&#8230;</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(true)},_setOption:function(g,h){if(g=="selected"){if(this.options.collapsible&&h==this.options.selected){return}this.select(h)}else{this.options[g]=h;this._tabify()}},_tabId:function(g){return g.title&&g.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+e()},_sanitizeSelector:function(g){return g.replace(/:/g,"\\:")},_cookie:function(){var g=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+a());return d.cookie.apply(null,[g].concat(d.makeArray(arguments)))},_ui:function(h,g){return{tab:h,panel:g,index:this.anchors.index(h)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var g=d(this);g.html(g.data("label.tabs")).removeData("label.tabs")})},_tabify:function(u){var v=this,j=this.options,h=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=d(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return d("a",this)[0]});this.panels=d([]);this.anchors.each(function(x,o){var w=d(o).attr("href");var y=w.split("#")[0],z;if(y&&(y===location.toString().split("#")[0]||(z=d("base")[0])&&y===z.href)){w=o.hash;o.href=w}if(h.test(w)){v.panels=v.panels.add(v.element.find(v._sanitizeSelector(w)))}else{if(w&&w!=="#"){d.data(o,"href.tabs",w);d.data(o,"load.tabs",w.replace(/#.*$/,""));var B=v._tabId(o);o.href="#"+B;var A=v.element.find("#"+B);if(!A.length){A=d(j.panelTemplate).attr("id",B).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(v.panels[x-1]||v.list);A.data("destroy.tabs",true)}v.panels=v.panels.add(A)}else{j.disabled.push(x)}}});if(u){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(j.selected===f){if(location.hash){this.anchors.each(function(w,o){if(o.hash==location.hash){j.selected=w;return false}})}if(typeof j.selected!=="number"&&j.cookie){j.selected=parseInt(v._cookie(),10)}if(typeof j.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length){j.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}j.selected=j.selected||(this.lis.length?0:-1)}else{if(j.selected===null){j.selected=-1}}j.selected=((j.selected>=0&&this.anchors[j.selected])||j.selected<0)?j.selected:0;j.disabled=d.unique(j.disabled.concat(d.map(this.lis.filter(".ui-state-disabled"),function(w,o){return v.lis.index(w)}))).sort();if(d.inArray(j.selected,j.disabled)!=-1){j.disabled.splice(d.inArray(j.selected,j.disabled),1)}this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");if(j.selected>=0&&this.anchors.length){v.element.find(v._sanitizeSelector(v.anchors[j.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(j.selected).addClass("ui-tabs-selected ui-state-active");v.element.queue("tabs",function(){v._trigger("show",null,v._ui(v.anchors[j.selected],v.element.find(v._sanitizeSelector(v.anchors[j.selected].hash))[0]))});this.load(j.selected)}d(window).bind("unload",function(){v.lis.add(v.anchors).unbind(".tabs");v.lis=v.anchors=v.panels=null})}else{j.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}this.element[j.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");if(j.cookie){this._cookie(j.selected,j.cookie)}for(var m=0,s;(s=this.lis[m]);m++){d(s)[d.inArray(m,j.disabled)!=-1&&!d(s).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled")}if(j.cache===false){this.anchors.removeData("cache.tabs")}this.lis.add(this.anchors).unbind(".tabs");if(j.event!=="mouseover"){var l=function(o,i){if(i.is(":not(.ui-state-disabled)")){i.addClass("ui-state-"+o)}};var p=function(o,i){i.removeClass("ui-state-"+o)};this.lis.bind("mouseover.tabs",function(){l("hover",d(this))});this.lis.bind("mouseout.tabs",function(){p("hover",d(this))});this.anchors.bind("focus.tabs",function(){l("focus",d(this).closest("li"))});this.anchors.bind("blur.tabs",function(){p("focus",d(this).closest("li"))})}var g,n;if(j.fx){if(d.isArray(j.fx)){g=j.fx[0];n=j.fx[1]}else{g=n=j.fx}}function k(i,o){i.css("display","");if(!d.support.opacity&&o.opacity){i[0].style.removeAttribute("filter")}}var q=n?function(i,o){d(i).closest("li").addClass("ui-tabs-selected ui-state-active");o.hide().removeClass("ui-tabs-hide").animate(n,n.duration||"normal",function(){k(o,n);v._trigger("show",null,v._ui(i,o[0]))})}:function(i,o){d(i).closest("li").addClass("ui-tabs-selected ui-state-active");o.removeClass("ui-tabs-hide");v._trigger("show",null,v._ui(i,o[0]))};var r=g?function(o,i){i.animate(g,g.duration||"normal",function(){v.lis.removeClass("ui-tabs-selected ui-state-active");i.addClass("ui-tabs-hide");k(i,g);v.element.dequeue("tabs")})}:function(o,i,w){v.lis.removeClass("ui-tabs-selected ui-state-active");i.addClass("ui-tabs-hide");v.element.dequeue("tabs")};this.anchors.bind(j.event+".tabs",function(){var o=this,x=d(o).closest("li"),i=v.panels.filter(":not(.ui-tabs-hide)"),w=v.element.find(v._sanitizeSelector(o.hash));if((x.hasClass("ui-tabs-selected")&&!j.collapsible)||x.hasClass("ui-state-disabled")||x.hasClass("ui-state-processing")||v.panels.filter(":animated").length||v._trigger("select",null,v._ui(this,w[0]))===false){this.blur();return false}j.selected=v.anchors.index(this);v.abort();if(j.collapsible){if(x.hasClass("ui-tabs-selected")){j.selected=-1;if(j.cookie){v._cookie(j.selected,j.cookie)}v.element.queue("tabs",function(){r(o,i)}).dequeue("tabs");this.blur();return false}else{if(!i.length){if(j.cookie){v._cookie(j.selected,j.cookie)}v.element.queue("tabs",function(){q(o,w)});v.load(v.anchors.index(this));this.blur();return false}}}if(j.cookie){v._cookie(j.selected,j.cookie)}if(w.length){if(i.length){v.element.queue("tabs",function(){r(o,i)})}v.element.queue("tabs",function(){q(o,w)});v.load(v.anchors.index(this))}else{throw"jQuery UI Tabs: Mismatching fragment identifier."}if(d.browser.msie){this.blur()}});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(g){if(typeof g=="string"){g=this.anchors.index(this.anchors.filter("[href$="+g+"]"))}return g},destroy:function(){var g=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var h=d.data(this,"href.tabs");if(h){this.href=h}var i=d(this).unbind(".tabs");d.each(["href","load","cache"],function(j,k){i.removeData(k+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){if(d.data(this,"destroy.tabs")){d(this).remove()}else{d(this).removeClass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}});if(g.cookie){this._cookie(null,g.cookie)}return this},add:function(j,i,h){if(h===f){h=this.anchors.length}var g=this,l=this.options,n=d(l.tabTemplate.replace(/#\{href\}/g,j).replace(/#\{label\}/g,i)),m=!j.indexOf("#")?j.replace("#",""):this._tabId(d("a",n)[0]);n.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var k=g.element.find("#"+m);if(!k.length){k=d(l.panelTemplate).attr("id",m).data("destroy.tabs",true)}k.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(h>=this.lis.length){n.appendTo(this.list);k.appendTo(this.list[0].parentNode)}else{n.insertBefore(this.lis[h]);k.insertBefore(this.panels[h])}l.disabled=d.map(l.disabled,function(p,o){return p>=h?++p:p});this._tabify();if(this.anchors.length==1){l.selected=0;n.addClass("ui-tabs-selected ui-state-active");k.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){g._trigger("show",null,g._ui(g.anchors[0],g.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[h],this.panels[h]));return this},remove:function(g){g=this._getIndex(g);var i=this.options,j=this.lis.eq(g).remove(),h=this.panels.eq(g).remove();if(j.hasClass("ui-tabs-selected")&&this.anchors.length>1){this.select(g+(g+1<this.anchors.length?1:-1))}i.disabled=d.map(d.grep(i.disabled,function(l,k){return l!=g}),function(l,k){return l>=g?--l:l});this._tabify();this._trigger("remove",null,this._ui(j.find("a")[0],h[0]));return this},enable:function(g){g=this._getIndex(g);var h=this.options;if(d.inArray(g,h.disabled)==-1){return}this.lis.eq(g).removeClass("ui-state-disabled");h.disabled=d.grep(h.disabled,function(k,j){return k!=g});this._trigger("enable",null,this._ui(this.anchors[g],this.panels[g]));return this},disable:function(h){h=this._getIndex(h);var g=this,i=this.options;if(h!=i.selected){this.lis.eq(h).addClass("ui-state-disabled");i.disabled.push(h);i.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[h],this.panels[h]))}return this},select:function(g){g=this._getIndex(g);if(g==-1){if(this.options.collapsible&&this.options.selected!=-1){g=this.options.selected}else{return this}}this.anchors.eq(g).trigger(this.options.event+".tabs");return this},load:function(j){j=this._getIndex(j);var h=this,l=this.options,g=this.anchors.eq(j)[0],i=d.data(g,"load.tabs");this.abort();if(!i||this.element.queue("tabs").length!==0&&d.data(g,"cache.tabs")){this.element.dequeue("tabs");return}this.lis.eq(j).addClass("ui-state-processing");if(l.spinner){var k=d("span",g);k.data("label.tabs",k.html()).html(l.spinner)}this.xhr=d.ajax(d.extend({},l.ajaxOptions,{url:i,success:function(n,m){h.element.find(h._sanitizeSelector(g.hash)).html(n);h._cleanup();if(l.cache){d.data(g,"cache.tabs",true)}h._trigger("load",null,h._ui(h.anchors[j],h.panels[j]));try{l.ajaxOptions.success(n,m)}catch(o){}},error:function(o,m,n){h._cleanup();h._trigger("load",null,h._ui(h.anchors[j],h.panels[j]));try{l.ajaxOptions.error(o,m,j,g)}catch(n){}}}));h.element.dequeue("tabs");return this},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},url:function(h,g){this.anchors.eq(h).removeData("cache.tabs").data("load.tabs",g);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.14"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(i,k){var g=this,l=this.options;var h=g._rotate||(g._rotate=function(m){clearTimeout(g.rotation);g.rotation=setTimeout(function(){var n=l.selected;g.select(++n<g.anchors.length?n:0)},i);if(m){m.stopPropagation()}});var j=g._unrotate||(g._unrotate=!k?function(m){if(m.clientX){g.rotate(null)}}:function(m){t=l.selected;h()});if(i){this.element.bind("tabsshow",h);this.anchors.bind(l.event+".tabs",j);h()}else{clearTimeout(g.rotation);this.element.unbind("tabsshow",h);this.anchors.unbind(l.event+".tabs",j);delete this._rotate;delete this._unrotate}return this}})})(jQuery);(function($,undefined){$.extend($.ui,{datepicker:{version:"1.8.14"}});var PROP_NAME="datepicker";var dpuuid=new Date().getTime();var instActive;function Datepicker(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._datepickerShowing=false;this._inDialog=false;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass="ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:"c-10:c+10",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false};$.extend(this._defaults,this.regional[""]);this.dpDiv=bindHover($('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){if(this.debug){console.log.apply("",arguments)}},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(settings){extendRemove(this._defaults,settings||{});return this},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("date:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase();var inline=(nodeName=="div"||nodeName=="span");if(!target.id){this.uuid+=1;target.id="dp"+this.uuid}var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{});if(nodeName=="input"){this._connectDatepicker(target,inst)}else{if(inline){this._inlineDatepicker(target,inst)}}},_newInst:function(target,inline){var id=target[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:id,input:target,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:inline,dpDiv:(!inline?this.dpDiv:bindHover($('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')))}},_connectDatepicker:function(target,inst){var input=$(target);inst.append=$([]);inst.trigger=$([]);if(input.hasClass(this.markerClassName)){return}this._attachments(input,inst);input.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value}).bind("getData.datepicker",function(event,key){return this._get(inst,key)});this._autoSize(inst);$.data(target,PROP_NAME,inst)},_attachments:function(input,inst){var appendText=this._get(inst,"appendText");var isRTL=this._get(inst,"isRTL");if(inst.append){inst.append.remove()}if(appendText){inst.append=$('<span class="'+this._appendClass+'">'+appendText+"</span>");input[isRTL?"before":"after"](inst.append)}input.unbind("focus",this._showDatepicker);if(inst.trigger){inst.trigger.remove()}var showOn=this._get(inst,"showOn");if(showOn=="focus"||showOn=="both"){input.focus(this._showDatepicker)}if(showOn=="button"||showOn=="both"){var buttonText=this._get(inst,"buttonText");var buttonImage=this._get(inst,"buttonImage");inst.trigger=$(this._get(inst,"buttonImageOnly")?$("<img/>").addClass(this._triggerClass).attr({src:buttonImage,alt:buttonText,title:buttonText}):$('<button type="button"></button>').addClass(this._triggerClass).html(buttonImage==""?buttonText:$("<img/>").attr({src:buttonImage,alt:buttonText,title:buttonText})));input[isRTL?"before":"after"](inst.trigger);inst.trigger.click(function(){if($.datepicker._datepickerShowing&&$.datepicker._lastInput==input[0]){$.datepicker._hideDatepicker()}else{$.datepicker._showDatepicker(input[0])}return false})}},_autoSize:function(inst){if(this._get(inst,"autoSize")&&!inst.inline){var date=new Date(2009,12-1,20);var dateFormat=this._get(inst,"dateFormat");if(dateFormat.match(/[DM]/)){var findMax=function(names){var max=0;var maxI=0;for(var i=0;i<names.length;i++){if(names[i].length>max){max=names[i].length;maxI=i}}return maxI};date.setMonth(findMax(this._get(inst,(dateFormat.match(/MM/)?"monthNames":"monthNamesShort"))));date.setDate(findMax(this._get(inst,(dateFormat.match(/DD/)?"dayNames":"dayNamesShort")))+20-date.getDay())}inst.input.attr("size",this._formatDate(inst,date).length)}},_inlineDatepicker:function(target,inst){var divSpan=$(target);if(divSpan.hasClass(this.markerClassName)){return}divSpan.addClass(this.markerClassName).append(inst.dpDiv).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value}).bind("getData.datepicker",function(event,key){return this._get(inst,key)});$.data(target,PROP_NAME,inst);this._setDate(inst,this._getDefaultDate(inst),true);this._updateDatepicker(inst);this._updateAlternate(inst);inst.dpDiv.show()},_dialogDatepicker:function(input,date,onSelect,settings,pos){var inst=this._dialogInst;if(!inst){this.uuid+=1;var id="dp"+this.uuid;this._dialogInput=$('<input type="text" id="'+id+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>');this._dialogInput.keydown(this._doKeyDown);$("body").append(this._dialogInput);inst=this._dialogInst=this._newInst(this._dialogInput,false);inst.settings={};$.data(this._dialogInput[0],PROP_NAME,inst)}extendRemove(inst.settings,settings||{});date=(date&&date.constructor==Date?this._formatDate(inst,date):date);this._dialogInput.val(date);this._pos=(pos?(pos.length?pos:[pos.pageX,pos.pageY]):null);if(!this._pos){var browserWidth=document.documentElement.clientWidth;var browserHeight=document.documentElement.clientHeight;var scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;var scrollY=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[(browserWidth/2)-100+scrollX,(browserHeight/2)-150+scrollY]}this._dialogInput.css("left",(this._pos[0]+20)+"px").css("top",this._pos[1]+"px");inst.settings.onSelect=onSelect;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if($.blockUI){$.blockUI(this.dpDiv)}$.data(this._dialogInput[0],PROP_NAME,inst);return this},_destroyDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();$.removeData(target,PROP_NAME);if(nodeName=="input"){inst.append.remove();inst.trigger.remove();$target.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)}else{if(nodeName=="div"||nodeName=="span"){$target.removeClass(this.markerClassName).empty()}}},_enableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();if(nodeName=="input"){target.disabled=false;inst.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else{if(nodeName=="div"||nodeName=="span"){var inline=$target.children("."+this._inlineClass);inline.children().removeClass("ui-state-disabled");inline.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled")}}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)})},_disableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();if(nodeName=="input"){target.disabled=true;inst.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else{if(nodeName=="div"||nodeName=="span"){var inline=$target.children("."+this._inlineClass);inline.children().addClass("ui-state-disabled");inline.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled")}}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)});this._disabledInputs[this._disabledInputs.length]=target},_isDisabledDatepicker:function(target){if(!target){return false}for(var i=0;i<this._disabledInputs.length;i++){if(this._disabledInputs[i]==target){return true}}return false},_getInst:function(target){try{return $.data(target,PROP_NAME)}catch(err){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(target,name,value){var inst=this._getInst(target);if(arguments.length==2&&typeof name=="string"){return(name=="defaults"?$.extend({},$.datepicker._defaults):(inst?(name=="all"?$.extend({},inst.settings):this._get(inst,name)):null))}var settings=name||{};if(typeof name=="string"){settings={};settings[name]=value}if(inst){if(this._curInst==inst){this._hideDatepicker()}var date=this._getDateDatepicker(target,true);var minDate=this._getMinMaxDate(inst,"min");var maxDate=this._getMinMaxDate(inst,"max");extendRemove(inst.settings,settings);if(minDate!==null&&settings.dateFormat!==undefined&&settings.minDate===undefined){inst.settings.minDate=this._formatDate(inst,minDate)}if(maxDate!==null&&settings.dateFormat!==undefined&&settings.maxDate===undefined){inst.settings.maxDate=this._formatDate(inst,maxDate)}this._attachments($(target),inst);this._autoSize(inst);this._setDate(inst,date);this._updateAlternate(inst);this._updateDatepicker(inst)}},_changeDatepicker:function(target,name,value){this._optionDatepicker(target,name,value)},_refreshDatepicker:function(target){var inst=this._getInst(target);if(inst){this._updateDatepicker(inst)}},_setDateDatepicker:function(target,date){var inst=this._getInst(target);if(inst){this._setDate(inst,date);this._updateDatepicker(inst);this._updateAlternate(inst)}},_getDateDatepicker:function(target,noDefault){var inst=this._getInst(target);if(inst&&!inst.inline){this._setDateFromField(inst,noDefault)}return(inst?this._getDate(inst):null)},_doKeyDown:function(event){var inst=$.datepicker._getInst(event.target);var handled=true;var isRTL=inst.dpDiv.is(".ui-datepicker-rtl");inst._keyEvent=true;if($.datepicker._datepickerShowing){switch(event.keyCode){case 9:$.datepicker._hideDatepicker();handled=false;break;case 13:var sel=$("td."+$.datepicker._dayOverClass+":not(."+$.datepicker._currentClass+")",inst.dpDiv);if(sel[0]){$.datepicker._selectDay(event.target,inst.selectedMonth,inst.selectedYear,sel[0])}else{$.datepicker._hideDatepicker()}return false;break;case 27:$.datepicker._hideDatepicker();break;case 33:$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,"stepBigMonths"):-$.datepicker._get(inst,"stepMonths")),"M");break;case 34:$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,"stepBigMonths"):+$.datepicker._get(inst,"stepMonths")),"M");break;case 35:if(event.ctrlKey||event.metaKey){$.datepicker._clearDate(event.target)}handled=event.ctrlKey||event.metaKey;break;case 36:if(event.ctrlKey||event.metaKey){$.datepicker._gotoToday(event.target)}handled=event.ctrlKey||event.metaKey;break;case 37:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,(isRTL?+1:-1),"D")}handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey){$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,"stepBigMonths"):-$.datepicker._get(inst,"stepMonths")),"M")}break;case 38:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,-7,"D")}handled=event.ctrlKey||event.metaKey;break;case 39:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,(isRTL?-1:+1),"D")}handled=event.ctrlKey||event.metaKey;if(event.originalEvent.altKey){$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,"stepBigMonths"):+$.datepicker._get(inst,"stepMonths")),"M")}break;case 40:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,+7,"D")}handled=event.ctrlKey||event.metaKey;break;default:handled=false}}else{if(event.keyCode==36&&event.ctrlKey){$.datepicker._showDatepicker(this)}else{handled=false}}if(handled){event.preventDefault();event.stopPropagation()}},_doKeyPress:function(event){var inst=$.datepicker._getInst(event.target);if($.datepicker._get(inst,"constrainInput")){var chars=$.datepicker._possibleChars($.datepicker._get(inst,"dateFormat"));var chr=String.fromCharCode(event.charCode==undefined?event.keyCode:event.charCode);return event.ctrlKey||event.metaKey||(chr<" "||!chars||chars.indexOf(chr)>-1)}},_doKeyUp:function(event){var inst=$.datepicker._getInst(event.target);if(inst.input.val()!=inst.lastVal){try{var date=$.datepicker.parseDate($.datepicker._get(inst,"dateFormat"),(inst.input?inst.input.val():null),$.datepicker._getFormatConfig(inst));if(date){$.datepicker._setDateFromField(inst);$.datepicker._updateAlternate(inst);$.datepicker._updateDatepicker(inst)}}catch(event){$.datepicker.log(event)}}return true},_showDatepicker:function(input){input=input.target||input;if(input.nodeName.toLowerCase()!="input"){input=$("input",input.parentNode)[0]}if($.datepicker._isDisabledDatepicker(input)||$.datepicker._lastInput==input){return}var inst=$.datepicker._getInst(input);if($.datepicker._curInst&&$.datepicker._curInst!=inst){if($.datepicker._datepickerShowing){$.datepicker._triggerOnClose($.datepicker._curInst)}$.datepicker._curInst.dpDiv.stop(true,true)}var beforeShow=$.datepicker._get(inst,"beforeShow");extendRemove(inst.settings,(beforeShow?beforeShow.apply(input,[input,inst]):{}));inst.lastVal=null;$.datepicker._lastInput=input;$.datepicker._setDateFromField(inst);if($.datepicker._inDialog){input.value=""}if(!$.datepicker._pos){$.datepicker._pos=$.datepicker._findPos(input);$.datepicker._pos[1]+=input.offsetHeight}var isFixed=false;$(input).parents().each(function(){isFixed|=$(this).css("position")=="fixed";return !isFixed});if(isFixed&&$.browser.opera){$.datepicker._pos[0]-=document.documentElement.scrollLeft;$.datepicker._pos[1]-=document.documentElement.scrollTop}var offset={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null;inst.dpDiv.empty();inst.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});$.datepicker._updateDatepicker(inst);offset=$.datepicker._checkOffset(inst,offset,isFixed);inst.dpDiv.css({position:($.datepicker._inDialog&&$.blockUI?"static":(isFixed?"fixed":"absolute")),display:"none",left:offset.left+"px",top:offset.top+"px"});if(!inst.inline){var showAnim=$.datepicker._get(inst,"showAnim");var duration=$.datepicker._get(inst,"duration");var postProcess=function(){var cover=inst.dpDiv.find("iframe.ui-datepicker-cover");if(!!cover.length){var borders=$.datepicker._getBorders(inst.dpDiv);cover.css({left:-borders[0],top:-borders[1],width:inst.dpDiv.outerWidth(),height:inst.dpDiv.outerHeight()})}};inst.dpDiv.zIndex($(input).zIndex()+1);$.datepicker._datepickerShowing=true;if($.effects&&$.effects[showAnim]){inst.dpDiv.show(showAnim,$.datepicker._get(inst,"showOptions"),duration,postProcess)}else{inst.dpDiv[showAnim||"show"]((showAnim?duration:null),postProcess)}if(!showAnim||!duration){postProcess()}if(inst.input.is(":visible")&&!inst.input.is(":disabled")){inst.input.focus()}$.datepicker._curInst=inst}},_updateDatepicker:function(inst){var self=this;self.maxRows=4;var borders=$.datepicker._getBorders(inst.dpDiv);instActive=inst;inst.dpDiv.empty().append(this._generateHTML(inst));var cover=inst.dpDiv.find("iframe.ui-datepicker-cover");if(!!cover.length){cover.css({left:-borders[0],top:-borders[1],width:inst.dpDiv.outerWidth(),height:inst.dpDiv.outerHeight()})}inst.dpDiv.find("."+this._dayOverClass+" a").mouseover();var numMonths=this._getNumberOfMonths(inst);var cols=numMonths[1];var width=17;inst.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");if(cols>1){inst.dpDiv.addClass("ui-datepicker-multi-"+cols).css("width",(width*cols)+"em")}inst.dpDiv[(numMonths[0]!=1||numMonths[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");inst.dpDiv[(this._get(inst,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");if(inst==$.datepicker._curInst&&$.datepicker._datepickerShowing&&inst.input&&inst.input.is(":visible")&&!inst.input.is(":disabled")&&inst.input[0]!=document.activeElement){inst.input.focus()}if(inst.yearshtml){var origyearshtml=inst.yearshtml;setTimeout(function(){if(origyearshtml===inst.yearshtml&&inst.yearshtml){inst.dpDiv.find("select.ui-datepicker-year:first").replaceWith(inst.yearshtml)}origyearshtml=inst.yearshtml=null},0)}},_getBorders:function(elem){var convert=function(value){return{thin:1,medium:2,thick:3}[value]||value};return[parseFloat(convert(elem.css("border-left-width"))),parseFloat(convert(elem.css("border-top-width")))]},_checkOffset:function(inst,offset,isFixed){var dpWidth=inst.dpDiv.outerWidth();var dpHeight=inst.dpDiv.outerHeight();var inputWidth=inst.input?inst.input.outerWidth():0;var inputHeight=inst.input?inst.input.outerHeight():0;var viewWidth=document.documentElement.clientWidth+$(document).scrollLeft();var viewHeight=document.documentElement.clientHeight+$(document).scrollTop();offset.left-=(this._get(inst,"isRTL")?(dpWidth-inputWidth):0);offset.left-=(isFixed&&offset.left==inst.input.offset().left)?$(document).scrollLeft():0;offset.top-=(isFixed&&offset.top==(inst.input.offset().top+inputHeight))?$(document).scrollTop():0;offset.left-=Math.min(offset.left,(offset.left+dpWidth>viewWidth&&viewWidth>dpWidth)?Math.abs(offset.left+dpWidth-viewWidth):0);offset.top-=Math.min(offset.top,(offset.top+dpHeight>viewHeight&&viewHeight>dpHeight)?Math.abs(dpHeight+inputHeight):0);return offset},_findPos:function(obj){var inst=this._getInst(obj);var isRTL=this._get(inst,"isRTL");while(obj&&(obj.type=="hidden"||obj.nodeType!=1||$.expr.filters.hidden(obj))){obj=obj[isRTL?"previousSibling":"nextSibling"]}var position=$(obj).offset();return[position.left,position.top]},_triggerOnClose:function(inst){var onClose=this._get(inst,"onClose");if(onClose){onClose.apply((inst.input?inst.input[0]:null),[(inst.input?inst.input.val():""),inst])}},_hideDatepicker:function(input){var inst=this._curInst;if(!inst||(input&&inst!=$.data(input,PROP_NAME))){return}if(this._datepickerShowing){var showAnim=this._get(inst,"showAnim");var duration=this._get(inst,"duration");var postProcess=function(){$.datepicker._tidyDialog(inst);this._curInst=null};if($.effects&&$.effects[showAnim]){inst.dpDiv.hide(showAnim,$.datepicker._get(inst,"showOptions"),duration,postProcess)}else{inst.dpDiv[(showAnim=="slideDown"?"slideUp":(showAnim=="fadeIn"?"fadeOut":"hide"))]((showAnim?duration:null),postProcess)}if(!showAnim){postProcess()}$.datepicker._triggerOnClose(inst);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if($.blockUI){$.unblockUI();$("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(inst){inst.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(event){if(!$.datepicker._curInst){return}var $target=$(event.target);if($target[0].id!=$.datepicker._mainDivId&&$target.parents("#"+$.datepicker._mainDivId).length==0&&!$target.hasClass($.datepicker.markerClassName)&&!$target.hasClass($.datepicker._triggerClass)&&$.datepicker._datepickerShowing&&!($.datepicker._inDialog&&$.blockUI)){$.datepicker._hideDatepicker()}},_adjustDate:function(id,offset,period){var target=$(id);var inst=this._getInst(target[0]);if(this._isDisabledDatepicker(target[0])){return}this._adjustInstDate(inst,offset+(period=="M"?this._get(inst,"showCurrentAtPos"):0),period);this._updateDatepicker(inst)},_gotoToday:function(id){var target=$(id);var inst=this._getInst(target[0]);if(this._get(inst,"gotoCurrent")&&inst.currentDay){inst.selectedDay=inst.currentDay;inst.drawMonth=inst.selectedMonth=inst.currentMonth;inst.drawYear=inst.selectedYear=inst.currentYear}else{var date=new Date();inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear()}this._notifyChange(inst);this._adjustDate(target)},_selectMonthYear:function(id,select,period){var target=$(id);var inst=this._getInst(target[0]);inst._selectingMonthYear=false;inst["selected"+(period=="M"?"Month":"Year")]=inst["draw"+(period=="M"?"Month":"Year")]=parseInt(select.options[select.selectedIndex].value,10);this._notifyChange(inst);this._adjustDate(target)},_clickMonthYear:function(id){var target=$(id);var inst=this._getInst(target[0]);if(inst.input&&inst._selectingMonthYear){setTimeout(function(){inst.input.focus()},0)}inst._selectingMonthYear=!inst._selectingMonthYear},_selectDay:function(id,month,year,td){var target=$(id);if($(td).hasClass(this._unselectableClass)||this._isDisabledDatepicker(target[0])){return}var inst=this._getInst(target[0]);inst.selectedDay=inst.currentDay=$("a",td).html();inst.selectedMonth=inst.currentMonth=month;inst.selectedYear=inst.currentYear=year;this._selectDate(id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear))},_clearDate:function(id){var target=$(id);var inst=this._getInst(target[0]);this._selectDate(target,"")},_selectDate:function(id,dateStr){var target=$(id);var inst=this._getInst(target[0]);dateStr=(dateStr!=null?dateStr:this._formatDate(inst));if(inst.input){inst.input.val(dateStr)}this._updateAlternate(inst);var onSelect=this._get(inst,"onSelect");if(onSelect){onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst])}else{if(inst.input){inst.input.trigger("change")}}if(inst.inline){this._updateDatepicker(inst)}else{this._hideDatepicker();this._lastInput=inst.input[0];if(typeof(inst.input[0])!="object"){inst.input.focus()}this._lastInput=null}},_updateAlternate:function(inst){var altField=this._get(inst,"altField");if(altField){var altFormat=this._get(inst,"altFormat")||this._get(inst,"dateFormat");var date=this._getDate(inst);var dateStr=this.formatDate(altFormat,date,this._getFormatConfig(inst));$(altField).each(function(){$(this).val(dateStr)})}},noWeekends:function(date){var day=date.getDay();return[(day>0&&day<6),""]},iso8601Week:function(date){var checkDate=new Date(date.getTime());checkDate.setDate(checkDate.getDate()+4-(checkDate.getDay()||7));var time=checkDate.getTime();checkDate.setMonth(0);checkDate.setDate(1);return Math.floor(Math.round((time-checkDate)/86400000)/7)+1},parseDate:function(format,value,settings){if(format==null||value==null){throw"Invalid arguments"}value=(typeof value=="object"?value.toString():value+"");if(value==""){return null}var shortYearCutoff=(settings?settings.shortYearCutoff:null)||this._defaults.shortYearCutoff;shortYearCutoff=(typeof shortYearCutoff!="string"?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var year=-1;var month=-1;var day=-1;var doy=-1;var literal=false;var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);if(matches){iFormat++}return matches};var getNumber=function(match){var isDoubled=lookAhead(match);var size=(match=="@"?14:(match=="!"?20:(match=="y"&&isDoubled?4:(match=="o"?3:2))));var digits=new RegExp("^\\d{1,"+size+"}");var num=value.substring(iValue).match(digits);if(!num){throw"Missing number at position "+iValue}iValue+=num[0].length;return parseInt(num[0],10)};var getName=function(match,shortNames,longNames){var names=$.map(lookAhead(match)?longNames:shortNames,function(v,k){return[[k,v]]}).sort(function(a,b){return -(a[1].length-b[1].length)});var index=-1;$.each(names,function(i,pair){var name=pair[1];if(value.substr(iValue,name.length).toLowerCase()==name.toLowerCase()){index=pair[0];iValue+=name.length;return false}});if(index!=-1){return index+1}else{throw"Unknown name at position "+iValue}};var checkLiteral=function(){if(value.charAt(iValue)!=format.charAt(iFormat)){throw"Unexpected literal at position "+iValue}iValue++};var iValue=0;for(var iFormat=0;iFormat<format.length;iFormat++){if(literal){if(format.charAt(iFormat)=="'"&&!lookAhead("'")){literal=false}else{checkLiteral()}}else{switch(format.charAt(iFormat)){case"d":day=getNumber("d");break;case"D":getName("D",dayNamesShort,dayNames);break;case"o":doy=getNumber("o");break;case"m":month=getNumber("m");break;case"M":month=getName("M",monthNamesShort,monthNames);break;case"y":year=getNumber("y");break;case"@":var date=new Date(getNumber("@"));year=date.getFullYear();month=date.getMonth()+1;day=date.getDate();break;case"!":var date=new Date((getNumber("!")-this._ticksTo1970)/10000);year=date.getFullYear();month=date.getMonth()+1;day=date.getDate();break;case"'":if(lookAhead("'")){checkLiteral()}else{literal=true}break;default:checkLiteral()}}}if(iValue<value.length){throw"Extra/unparsed characters found in date: "+value.substring(iValue)}if(year==-1){year=new Date().getFullYear()}else{if(year<100){year+=new Date().getFullYear()-new Date().getFullYear()%100+(year<=shortYearCutoff?0:-100)}}if(doy>-1){month=1;day=doy;do{var dim=this._getDaysInMonth(year,month-1);if(day<=dim){break}month++;day-=dim}while(true)}var date=this._daylightSavingAdjust(new Date(year,month-1,day));if(date.getFullYear()!=year||date.getMonth()+1!=month||date.getDate()!=day){throw"Invalid date"}return date},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(((1970-1)*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*10000000),formatDate:function(format,date,settings){if(!date){return""}var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);if(matches){iFormat++}return matches};var formatNumber=function(match,value,len){var num=""+value;if(lookAhead(match)){while(num.length<len){num="0"+num}}return num};var formatName=function(match,value,shortNames,longNames){return(lookAhead(match)?longNames[value]:shortNames[value])};var output="";var literal=false;if(date){for(var iFormat=0;iFormat<format.length;iFormat++){if(literal){if(format.charAt(iFormat)=="'"&&!lookAhead("'")){literal=false}else{output+=format.charAt(iFormat)}}else{switch(format.charAt(iFormat)){case"d":output+=formatNumber("d",date.getDate(),2);break;case"D":output+=formatName("D",date.getDay(),dayNamesShort,dayNames);break;case"o":output+=formatNumber("o",Math.round((new Date(date.getFullYear(),date.getMonth(),date.getDate()).getTime()-new Date(date.getFullYear(),0,0).getTime())/86400000),3);break;case"m":output+=formatNumber("m",date.getMonth()+1,2);break;case"M":output+=formatName("M",date.getMonth(),monthNamesShort,monthNames);break;case"y":output+=(lookAhead("y")?date.getFullYear():(date.getYear()%100<10?"0":"")+date.getYear()%100);break;case"@":output+=date.getTime();break;case"!":output+=date.getTime()*10000+this._ticksTo1970;break;case"'":if(lookAhead("'")){output+="'"}else{literal=true}break;default:output+=format.charAt(iFormat)}}}}return output},_possibleChars:function(format){var chars="";var literal=false;var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);if(matches){iFormat++}return matches};for(var iFormat=0;iFormat<format.length;iFormat++){if(literal){if(format.charAt(iFormat)=="'"&&!lookAhead("'")){literal=false}else{chars+=format.charAt(iFormat)}}else{switch(format.charAt(iFormat)){case"d":case"m":case"y":case"@":chars+="0123456789";break;case"D":case"M":return null;case"'":if(lookAhead("'")){chars+="'"}else{literal=true}break;default:chars+=format.charAt(iFormat)}}}return chars},_get:function(inst,name){return inst.settings[name]!==undefined?inst.settings[name]:this._defaults[name]},_setDateFromField:function(inst,noDefault){if(inst.input.val()==inst.lastVal){return}var dateFormat=this._get(inst,"dateFormat");var dates=inst.lastVal=inst.input?inst.input.val():null;var date,defaultDate;date=defaultDate=this._getDefaultDate(inst);var settings=this._getFormatConfig(inst);try{date=this.parseDate(dateFormat,dates,settings)||defaultDate}catch(event){this.log(event);dates=(noDefault?"":dates)}inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();inst.currentDay=(dates?date.getDate():0);inst.currentMonth=(dates?date.getMonth():0);inst.currentYear=(dates?date.getFullYear():0);this._adjustInstDate(inst)},_getDefaultDate:function(inst){return this._restrictMinMax(inst,this._determineDate(inst,this._get(inst,"defaultDate"),new Date()))},_determineDate:function(inst,date,defaultDate){var offsetNumeric=function(offset){var date=new Date();date.setDate(date.getDate()+offset);return date};var offsetString=function(offset){try{return $.datepicker.parseDate($.datepicker._get(inst,"dateFormat"),offset,$.datepicker._getFormatConfig(inst))}catch(e){}var date=(offset.toLowerCase().match(/^c/)?$.datepicker._getDate(inst):null)||new Date();var year=date.getFullYear();var month=date.getMonth();var day=date.getDate();var pattern=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g;var matches=pattern.exec(offset);while(matches){switch(matches[2]||"d"){case"d":case"D":day+=parseInt(matches[1],10);break;case"w":case"W":day+=parseInt(matches[1],10)*7;break;case"m":case"M":month+=parseInt(matches[1],10);day=Math.min(day,$.datepicker._getDaysInMonth(year,month));break;case"y":case"Y":year+=parseInt(matches[1],10);day=Math.min(day,$.datepicker._getDaysInMonth(year,month));break}matches=pattern.exec(offset)}return new Date(year,month,day)};var newDate=(date==null||date===""?defaultDate:(typeof date=="string"?offsetString(date):(typeof date=="number"?(isNaN(date)?defaultDate:offsetNumeric(date)):new Date(date.getTime()))));newDate=(newDate&&newDate.toString()=="Invalid Date"?defaultDate:newDate);if(newDate){newDate.setHours(0);newDate.setMinutes(0);newDate.setSeconds(0);newDate.setMilliseconds(0)}return this._daylightSavingAdjust(newDate)},_daylightSavingAdjust:function(date){if(!date){return null}date.setHours(date.getHours()>12?date.getHours()+2:0);return date},_setDate:function(inst,date,noChange){var clear=!date;var origMonth=inst.selectedMonth;var origYear=inst.selectedYear;var newDate=this._restrictMinMax(inst,this._determineDate(inst,date,new Date()));inst.selectedDay=inst.currentDay=newDate.getDate();inst.drawMonth=inst.selectedMonth=inst.currentMonth=newDate.getMonth();inst.drawYear=inst.selectedYear=inst.currentYear=newDate.getFullYear();if((origMonth!=inst.selectedMonth||origYear!=inst.selectedYear)&&!noChange){this._notifyChange(inst)}this._adjustInstDate(inst);if(inst.input){inst.input.val(clear?"":this._formatDate(inst))}},_getDate:function(inst){var startDate=(!inst.currentYear||(inst.input&&inst.input.val()=="")?null:this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return startDate},_generateHTML:function(inst){var today=new Date();today=this._daylightSavingAdjust(new Date(today.getFullYear(),today.getMonth(),today.getDate()));var isRTL=this._get(inst,"isRTL");var showButtonPanel=this._get(inst,"showButtonPanel");var hideIfNoPrevNext=this._get(inst,"hideIfNoPrevNext");var navigationAsDateFormat=this._get(inst,"navigationAsDateFormat");var numMonths=this._getNumberOfMonths(inst);var showCurrentAtPos=this._get(inst,"showCurrentAtPos");var stepMonths=this._get(inst,"stepMonths");var isMultiMonth=(numMonths[0]!=1||numMonths[1]!=1);var currentDate=this._daylightSavingAdjust((!inst.currentDay?new Date(9999,9,9):new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));var minDate=this._getMinMaxDate(inst,"min");var maxDate=this._getMinMaxDate(inst,"max");var drawMonth=inst.drawMonth-showCurrentAtPos;var drawYear=inst.drawYear;if(drawMonth<0){drawMonth+=12;drawYear--}if(maxDate){var maxDraw=this._daylightSavingAdjust(new Date(maxDate.getFullYear(),maxDate.getMonth()-(numMonths[0]*numMonths[1])+1,maxDate.getDate()));maxDraw=(minDate&&maxDraw<minDate?minDate:maxDraw);while(this._daylightSavingAdjust(new Date(drawYear,drawMonth,1))>maxDraw){drawMonth--;if(drawMonth<0){drawMonth=11;drawYear--}}}inst.drawMonth=drawMonth;inst.drawYear=drawYear;var prevText=this._get(inst,"prevText");prevText=(!navigationAsDateFormat?prevText:this.formatDate(prevText,this._daylightSavingAdjust(new Date(drawYear,drawMonth-stepMonths,1)),this._getFormatConfig(inst)));var prev=(this._canAdjustMonth(inst,-1,drawYear,drawMonth)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+dpuuid+".datepicker._adjustDate('#"+inst.id+"', -"+stepMonths+", 'M');\" title=\""+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?"e":"w")+'">'+prevText+"</span></a>":(hideIfNoPrevNext?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?"e":"w")+'">'+prevText+"</span></a>"));var nextText=this._get(inst,"nextText");nextText=(!navigationAsDateFormat?nextText:this.formatDate(nextText,this._daylightSavingAdjust(new Date(drawYear,drawMonth+stepMonths,1)),this._getFormatConfig(inst)));var next=(this._canAdjustMonth(inst,+1,drawYear,drawMonth)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+dpuuid+".datepicker._adjustDate('#"+inst.id+"', +"+stepMonths+", 'M');\" title=\""+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?"w":"e")+'">'+nextText+"</span></a>":(hideIfNoPrevNext?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?"w":"e")+'">'+nextText+"</span></a>"));var currentText=this._get(inst,"currentText");var gotoDate=(this._get(inst,"gotoCurrent")&&inst.currentDay?currentDate:today);currentText=(!navigationAsDateFormat?currentText:this.formatDate(currentText,gotoDate,this._getFormatConfig(inst)));var controls=(!inst.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+dpuuid+'.datepicker._hideDatepicker();">'+this._get(inst,"closeText")+"</button>":"");var buttonPanel=(showButtonPanel)?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(isRTL?controls:"")+(this._isInRange(inst,gotoDate)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+dpuuid+".datepicker._gotoToday('#"+inst.id+"');\">"+currentText+"</button>":"")+(isRTL?"":controls)+"</div>":"";var firstDay=parseInt(this._get(inst,"firstDay"),10);firstDay=(isNaN(firstDay)?0:firstDay);var showWeek=this._get(inst,"showWeek");var dayNames=this._get(inst,"dayNames");var dayNamesShort=this._get(inst,"dayNamesShort");var dayNamesMin=this._get(inst,"dayNamesMin");var monthNames=this._get(inst,"monthNames");var monthNamesShort=this._get(inst,"monthNamesShort");var beforeShowDay=this._get(inst,"beforeShowDay");var showOtherMonths=this._get(inst,"showOtherMonths");var selectOtherMonths=this._get(inst,"selectOtherMonths");var calculateWeek=this._get(inst,"calculateWeek")||this.iso8601Week;var defaultDate=this._getDefaultDate(inst);var html="";for(var row=0;row<numMonths[0];row++){var group="";this.maxRows=4;for(var col=0;col<numMonths[1];col++){var selectedDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,inst.selectedDay));var cornerClass=" ui-corner-all";var calender="";if(isMultiMonth){calender+='<div class="ui-datepicker-group';if(numMonths[1]>1){switch(col){case 0:calender+=" ui-datepicker-group-first";cornerClass=" ui-corner-"+(isRTL?"right":"left");break;case numMonths[1]-1:calender+=" ui-datepicker-group-last";cornerClass=" ui-corner-"+(isRTL?"left":"right");break;default:calender+=" ui-datepicker-group-middle";cornerClass="";break}}calender+='">'}calender+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+cornerClass+'">'+(/all|left/.test(cornerClass)&&row==0?(isRTL?next:prev):"")+(/all|right/.test(cornerClass)&&row==0?(isRTL?prev:next):"")+this._generateMonthYearHeader(inst,drawMonth,drawYear,minDate,maxDate,row>0||col>0,monthNames,monthNamesShort)+'</div><table class="ui-datepicker-calendar"><thead><tr>';var thead=(showWeek?'<th class="ui-datepicker-week-col">'+this._get(inst,"weekHeader")+"</th>":"");for(var dow=0;dow<7;dow++){var day=(dow+firstDay)%7;thead+="<th"+((dow+firstDay+6)%7>=5?' class="ui-datepicker-week-end"':"")+'><span title="'+dayNames[day]+'">'+dayNamesMin[day]+"</span></th>"}calender+=thead+"</tr></thead><tbody>";var daysInMonth=this._getDaysInMonth(drawYear,drawMonth);if(drawYear==inst.selectedYear&&drawMonth==inst.selectedMonth){inst.selectedDay=Math.min(inst.selectedDay,daysInMonth)}var leadDays=(this._getFirstDayOfMonth(drawYear,drawMonth)-firstDay+7)%7;var curRows=Math.ceil((leadDays+daysInMonth)/7);var numRows=(isMultiMonth?this.maxRows>curRows?this.maxRows:curRows:curRows);this.maxRows=numRows;var printDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,1-leadDays));for(var dRow=0;dRow<numRows;dRow++){calender+="<tr>";var tbody=(!showWeek?"":'<td class="ui-datepicker-week-col">'+this._get(inst,"calculateWeek")(printDate)+"</td>");for(var dow=0;dow<7;dow++){var daySettings=(beforeShowDay?beforeShowDay.apply((inst.input?inst.input[0]:null),[printDate]):[true,""]);var otherMonth=(printDate.getMonth()!=drawMonth);var unselectable=(otherMonth&&!selectOtherMonths)||!daySettings[0]||(minDate&&printDate<minDate)||(maxDate&&printDate>maxDate);tbody+='<td class="'+((dow+firstDay+6)%7>=5?" ui-datepicker-week-end":"")+(otherMonth?" ui-datepicker-other-month":"")+((printDate.getTime()==selectedDate.getTime()&&drawMonth==inst.selectedMonth&&inst._keyEvent)||(defaultDate.getTime()==printDate.getTime()&&defaultDate.getTime()==selectedDate.getTime())?" "+this._dayOverClass:"")+(unselectable?" "+this._unselectableClass+" ui-state-disabled":"")+(otherMonth&&!showOtherMonths?"":" "+daySettings[1]+(printDate.getTime()==currentDate.getTime()?" "+this._currentClass:"")+(printDate.getTime()==today.getTime()?" ui-datepicker-today":""))+'"'+((!otherMonth||showOtherMonths)&&daySettings[2]?' title="'+daySettings[2]+'"':"")+(unselectable?"":' onclick="DP_jQuery_'+dpuuid+".datepicker._selectDay('#"+inst.id+"',"+printDate.getMonth()+","+printDate.getFullYear()+', this);return false;"')+">"+(otherMonth&&!showOtherMonths?"&#xa0;":(unselectable?'<span class="ui-state-default">'+printDate.getDate()+"</span>":'<a class="ui-state-default'+(printDate.getTime()==today.getTime()?" ui-state-highlight":"")+(printDate.getTime()==currentDate.getTime()?" ui-state-active":"")+(otherMonth?" ui-priority-secondary":"")+'" href="#">'+printDate.getDate()+"</a>"))+"</td>";printDate.setDate(printDate.getDate()+1);printDate=this._daylightSavingAdjust(printDate)}calender+=tbody+"</tr>"}drawMonth++;if(drawMonth>11){drawMonth=0;drawYear++}calender+="</tbody></table>"+(isMultiMonth?"</div>"+((numMonths[0]>0&&col==numMonths[1]-1)?'<div class="ui-datepicker-row-break"></div>':""):"");group+=calender}html+=group}html+=buttonPanel+($.browser.msie&&parseInt($.browser.version,10)<7&&!inst.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':"");inst._keyEvent=false;return html},_generateMonthYearHeader:function(inst,drawMonth,drawYear,minDate,maxDate,secondary,monthNames,monthNamesShort){var changeMonth=this._get(inst,"changeMonth");var changeYear=this._get(inst,"changeYear");var showMonthAfterYear=this._get(inst,"showMonthAfterYear");var html='<div class="ui-datepicker-title">';var monthHtml="";if(secondary||!changeMonth){monthHtml+='<span class="ui-datepicker-month">'+monthNames[drawMonth]+"</span>"}else{var inMinYear=(minDate&&minDate.getFullYear()==drawYear);var inMaxYear=(maxDate&&maxDate.getFullYear()==drawYear);monthHtml+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+dpuuid+".datepicker._selectMonthYear('#"+inst.id+"', this, 'M');\" onclick=\"DP_jQuery_"+dpuuid+".datepicker._clickMonthYear('#"+inst.id+"');\">";for(var month=0;month<12;month++){if((!inMinYear||month>=minDate.getMonth())&&(!inMaxYear||month<=maxDate.getMonth())){monthHtml+='<option value="'+month+'"'+(month==drawMonth?' selected="selected"':"")+">"+monthNamesShort[month]+"</option>"}}monthHtml+="</select>"}if(!showMonthAfterYear){html+=monthHtml+(secondary||!(changeMonth&&changeYear)?"&#xa0;":"")}if(!inst.yearshtml){inst.yearshtml="";if(secondary||!changeYear){html+='<span class="ui-datepicker-year">'+drawYear+"</span>"}else{var years=this._get(inst,"yearRange").split(":");var thisYear=new Date().getFullYear();var determineYear=function(value){var year=(value.match(/c[+-].*/)?drawYear+parseInt(value.substring(1),10):(value.match(/[+-].*/)?thisYear+parseInt(value,10):parseInt(value,10)));return(isNaN(year)?thisYear:year)};var year=determineYear(years[0]);var endYear=Math.max(year,determineYear(years[1]||""));year=(minDate?Math.max(year,minDate.getFullYear()):year);endYear=(maxDate?Math.min(endYear,maxDate.getFullYear()):endYear);inst.yearshtml+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+dpuuid+".datepicker._selectMonthYear('#"+inst.id+"', this, 'Y');\" onclick=\"DP_jQuery_"+dpuuid+".datepicker._clickMonthYear('#"+inst.id+"');\">";for(;year<=endYear;year++){inst.yearshtml+='<option value="'+year+'"'+(year==drawYear?' selected="selected"':"")+">"+year+"</option>"}inst.yearshtml+="</select>";html+=inst.yearshtml;inst.yearshtml=null}}html+=this._get(inst,"yearSuffix");if(showMonthAfterYear){html+=(secondary||!(changeMonth&&changeYear)?"&#xa0;":"")+monthHtml}html+="</div>";return html},_adjustInstDate:function(inst,offset,period){var year=inst.drawYear+(period=="Y"?offset:0);var month=inst.drawMonth+(period=="M"?offset:0);var day=Math.min(inst.selectedDay,this._getDaysInMonth(year,month))+(period=="D"?offset:0);var date=this._restrictMinMax(inst,this._daylightSavingAdjust(new Date(year,month,day)));inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();if(period=="M"||period=="Y"){this._notifyChange(inst)}},_restrictMinMax:function(inst,date){var minDate=this._getMinMaxDate(inst,"min");var maxDate=this._getMinMaxDate(inst,"max");var newDate=(minDate&&date<minDate?minDate:date);newDate=(maxDate&&newDate>maxDate?maxDate:newDate);return newDate},_notifyChange:function(inst){var onChange=this._get(inst,"onChangeMonthYear");if(onChange){onChange.apply((inst.input?inst.input[0]:null),[inst.selectedYear,inst.selectedMonth+1,inst])}},_getNumberOfMonths:function(inst){var numMonths=this._get(inst,"numberOfMonths");return(numMonths==null?[1,1]:(typeof numMonths=="number"?[1,numMonths]:numMonths))},_getMinMaxDate:function(inst,minMax){return this._determineDate(inst,this._get(inst,minMax+"Date"),null)},_getDaysInMonth:function(year,month){return 32-this._daylightSavingAdjust(new Date(year,month,32)).getDate()},_getFirstDayOfMonth:function(year,month){return new Date(year,month,1).getDay()},_canAdjustMonth:function(inst,offset,curYear,curMonth){var numMonths=this._getNumberOfMonths(inst);var date=this._daylightSavingAdjust(new Date(curYear,curMonth+(offset<0?offset:numMonths[0]*numMonths[1]),1));if(offset<0){date.setDate(this._getDaysInMonth(date.getFullYear(),date.getMonth()))}return this._isInRange(inst,date)},_isInRange:function(inst,date){var minDate=this._getMinMaxDate(inst,"min");var maxDate=this._getMinMaxDate(inst,"max");return((!minDate||date.getTime()>=minDate.getTime())&&(!maxDate||date.getTime()<=maxDate.getTime()))},_getFormatConfig:function(inst){var shortYearCutoff=this._get(inst,"shortYearCutoff");shortYearCutoff=(typeof shortYearCutoff!="string"?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));return{shortYearCutoff:shortYearCutoff,dayNamesShort:this._get(inst,"dayNamesShort"),dayNames:this._get(inst,"dayNames"),monthNamesShort:this._get(inst,"monthNamesShort"),monthNames:this._get(inst,"monthNames")}},_formatDate:function(inst,day,month,year){if(!day){inst.currentDay=inst.selectedDay;inst.currentMonth=inst.selectedMonth;inst.currentYear=inst.selectedYear}var date=(day?(typeof day=="object"?day:this._daylightSavingAdjust(new Date(year,month,day))):this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return this.formatDate(this._get(inst,"dateFormat"),date,this._getFormatConfig(inst))}});function bindHover(dpDiv){var selector="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return dpDiv.bind("mouseout",function(event){var elem=$(event.target).closest(selector);if(!elem.length){return}elem.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")}).bind("mouseover",function(event){var elem=$(event.target).closest(selector);if($.datepicker._isDisabledDatepicker(instActive.inline?dpDiv.parent()[0]:instActive.input[0])||!elem.length){return}elem.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");elem.addClass("ui-state-hover");if(elem.hasClass("ui-datepicker-prev")){elem.addClass("ui-datepicker-prev-hover")}if(elem.hasClass("ui-datepicker-next")){elem.addClass("ui-datepicker-next-hover")}})}function extendRemove(target,props){$.extend(target,props);for(var name in props){if(props[name]==null||props[name]==undefined){target[name]=props[name]}}return target}function isArray(a){return(a&&(($.browser.safari&&typeof a=="object"&&a.length)||(a.constructor&&a.constructor.toString().match(/\Array\(\)/))))}$.fn.datepicker=function(options){if(!this.length){return this}if(!$.datepicker.initialized){$(document).mousedown($.datepicker._checkExternalClick).find("body").append($.datepicker.dpDiv);$.datepicker.initialized=true}var otherArgs=Array.prototype.slice.call(arguments,1);if(typeof options=="string"&&(options=="isDisabled"||options=="getDate"||options=="widget")){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))}if(options=="option"&&arguments.length==2&&typeof arguments[1]=="string"){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))}return this.each(function(){typeof options=="string"?$.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this].concat(otherArgs)):$.datepicker._attachDatepicker(this,options)})};$.datepicker=new Datepicker();$.datepicker.initialized=false;$.datepicker.uuid=new Date().getTime();$.datepicker.version="1.8.14";window["DP_jQuery_"+dpuuid]=$})(jQuery);(function(a,b){a.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=a("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");this.valueDiv.remove();a.Widget.prototype.destroy.apply(this,arguments)},value:function(c){if(c===b){return this._value()}this._setOption("value",c);return this},_setOption:function(c,d){if(c==="value"){this.options.value=d;this._refreshValue();if(this._value()===this.options.max){this._trigger("complete")}}a.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var c=this.options.value;if(typeof c!=="number"){c=0}return Math.min(this.options.max,Math.max(this.min,c))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var d=this.value();var c=this._percentage();if(this.oldValue!==d){this.oldValue=d;this._trigger("change")}this.valueDiv.toggle(d>this.min).toggleClass("ui-corner-right",d===this.options.max).width(c.toFixed(0)+"%");this.element.attr("aria-valuenow",d)}});a.extend(a.ui.progressbar,{version:"1.8.14"})})(jQuery);jQuery.effects||(function(h,e){h.effects={};h.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(n,m){h.fx.step[m]=function(o){if(!o.colorInit){o.start=l(o.elem,m);o.end=j(o.end);o.colorInit=true}o.elem.style[m]="rgb("+Math.max(Math.min(parseInt((o.pos*(o.end[0]-o.start[0]))+o.start[0],10),255),0)+","+Math.max(Math.min(parseInt((o.pos*(o.end[1]-o.start[1]))+o.start[1],10),255),0)+","+Math.max(Math.min(parseInt((o.pos*(o.end[2]-o.start[2]))+o.start[2],10),255),0)+")"}});function j(n){var m;if(n&&n.constructor==Array&&n.length==3){return n}if(m=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(n)){return[parseInt(m[1],10),parseInt(m[2],10),parseInt(m[3],10)]}if(m=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(n)){return[parseFloat(m[1])*2.55,parseFloat(m[2])*2.55,parseFloat(m[3])*2.55]}if(m=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(n)){return[parseInt(m[1],16),parseInt(m[2],16),parseInt(m[3],16)]}if(m=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(n)){return[parseInt(m[1]+m[1],16),parseInt(m[2]+m[2],16),parseInt(m[3]+m[3],16)]}if(m=/rgba\(0, 0, 0, 0\)/.exec(n)){return a.transparent}return a[h.trim(n).toLowerCase()]}function l(o,m){var n;do{n=h.curCSS(o,m);if(n!=""&&n!="transparent"||h.nodeName(o,"body")){break}m="backgroundColor"}while(o=o.parentNode);return j(n)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};var f=["add","remove","toggle"],c={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function g(){var p=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,q={},n,o;if(p&&p.length&&p[0]&&p[p[0]]){var m=p.length;while(m--){n=p[m];if(typeof p[n]=="string"){o=n.replace(/\-(\w)/g,function(r,s){return s.toUpperCase()});q[o]=p[n]}}}else{for(n in p){if(typeof p[n]==="string"){q[n]=p[n]}}}return q}function b(n){var m,o;for(m in n){o=n[m];if(o==null||h.isFunction(o)||m in c||(/scrollbar/).test(m)||(!(/color/i).test(m)&&isNaN(parseFloat(o)))){delete n[m]}}return n}function i(m,o){var p={_:0},n;for(n in o){if(m[n]!=o[n]){p[n]=o[n]}}return p}h.effects.animateClass=function(m,n,p,o){if(h.isFunction(p)){o=p;p=null}return this.queue(function(){var u=h(this),q=u.attr("style")||" ",v=b(g.call(this)),s,r=u.attr("class");h.each(f,function(w,x){if(m[x]){u[x+"Class"](m[x])}});s=b(g.call(this));u.attr("class",r);u.animate(i(v,s),{queue:false,duration:n,easing:p,complete:function(){h.each(f,function(w,x){if(m[x]){u[x+"Class"](m[x])}});if(typeof u.attr("style")=="object"){u.attr("style").cssText="";u.attr("style").cssText=q}else{u.attr("style",q)}if(o){o.apply(this,arguments)}h.dequeue(this)}})})};h.fn.extend({_addClass:h.fn.addClass,addClass:function(n,m,p,o){return m?h.effects.animateClass.apply(this,[{add:n},m,p,o]):this._addClass(n)},_removeClass:h.fn.removeClass,removeClass:function(n,m,p,o){return m?h.effects.animateClass.apply(this,[{remove:n},m,p,o]):this._removeClass(n)},_toggleClass:h.fn.toggleClass,toggleClass:function(o,n,m,q,p){if(typeof n=="boolean"||n===e){if(!m){return this._toggleClass(o,n)}else{return h.effects.animateClass.apply(this,[(n?{add:o}:{remove:o}),m,q,p])}}else{return h.effects.animateClass.apply(this,[{toggle:o},n,m,q])}},switchClass:function(m,o,n,q,p){return h.effects.animateClass.apply(this,[{add:o,remove:m},n,q,p])}});h.extend(h.effects,{version:"1.8.14",save:function(n,o){for(var m=0;m<o.length;m++){if(o[m]!==null){n.data("ec.storage."+o[m],n[0].style[o[m]])}}},restore:function(n,o){for(var m=0;m<o.length;m++){if(o[m]!==null){n.css(o[m],n.data("ec.storage."+o[m]))}}},setMode:function(m,n){if(n=="toggle"){n=m.is(":hidden")?"show":"hide"}return n},getBaseline:function(n,o){var p,m;switch(n[0]){case"top":p=0;break;case"middle":p=0.5;break;case"bottom":p=1;break;default:p=n[0]/o.height}switch(n[1]){case"left":m=0;break;case"center":m=0.5;break;case"right":m=1;break;default:m=n[1]/o.width}return{x:m,y:p}},createWrapper:function(m){if(m.parent().is(".ui-effects-wrapper")){return m.parent()}var n={width:m.outerWidth(true),height:m.outerHeight(true),"float":m.css("float")},o=h("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});m.wrap(o);o=m.parent();if(m.css("position")=="static"){o.css({position:"relative"});m.css({position:"relative"})}else{h.extend(n,{position:m.css("position"),zIndex:m.css("z-index")});h.each(["top","left","bottom","right"],function(p,q){n[q]=m.css(q);if(isNaN(parseInt(n[q],10))){n[q]="auto"}});m.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return o.css(n).show()},removeWrapper:function(m){if(m.parent().is(".ui-effects-wrapper")){return m.parent().replaceWith(m)}return m},setTransition:function(n,p,m,o){o=o||{};h.each(p,function(r,q){unit=n.cssUnit(q);if(unit[0]>0){o[q]=unit[0]*m+unit[1]}});return o}});function d(n,m,o,p){if(typeof n=="object"){p=m;o=null;m=n;n=m.effect}if(h.isFunction(m)){p=m;o=null;m={}}if(typeof m=="number"||h.fx.speeds[m]){p=o;o=m;m={}}if(h.isFunction(o)){p=o;o=null}m=m||{};o=o||m.duration;o=h.fx.off?0:typeof o=="number"?o:o in h.fx.speeds?h.fx.speeds[o]:h.fx.speeds._default;p=p||m.complete;return[n,m,o,p]}function k(m){if(!m||typeof m==="number"||h.fx.speeds[m]){return true}if(typeof m==="string"&&!h.effects[m]){return true}return false}h.fn.extend({effect:function(p,o,r,u){var n=d.apply(this,arguments),q={options:n[1],duration:n[2],callback:n[3]},s=q.options.mode,m=h.effects[p];if(h.fx.off||!m){if(s){return this[s](q.duration,q.callback)}else{return this.each(function(){if(q.callback){q.callback.call(this)}})}}return m.call(this,q)},_show:h.fn.show,show:function(n){if(k(n)){return this._show.apply(this,arguments)}else{var m=d.apply(this,arguments);m[1].mode="show";return this.effect.apply(this,m)}},_hide:h.fn.hide,hide:function(n){if(k(n)){return this._hide.apply(this,arguments)}else{var m=d.apply(this,arguments);m[1].mode="hide";return this.effect.apply(this,m)}},__toggle:h.fn.toggle,toggle:function(n){if(k(n)||typeof n==="boolean"||h.isFunction(n)){return this.__toggle.apply(this,arguments)}else{var m=d.apply(this,arguments);m[1].mode="toggle";return this.effect.apply(this,m)}},cssUnit:function(m){var n=this.css(m),o=[];h.each(["em","px","%","pt"],function(p,q){if(n.indexOf(q)>0){o=[parseFloat(n),q]}});return o}});h.easing.jswing=h.easing.swing;h.extend(h.easing,{def:"easeOutQuad",swing:function(n,o,m,q,p){return h.easing[h.easing.def](n,o,m,q,p)},easeInQuad:function(n,o,m,q,p){return q*(o/=p)*o+m},easeOutQuad:function(n,o,m,q,p){return -q*(o/=p)*(o-2)+m},easeInOutQuad:function(n,o,m,q,p){if((o/=p/2)<1){return q/2*o*o+m}return -q/2*((--o)*(o-2)-1)+m},easeInCubic:function(n,o,m,q,p){return q*(o/=p)*o*o+m},easeOutCubic:function(n,o,m,q,p){return q*((o=o/p-1)*o*o+1)+m},easeInOutCubic:function(n,o,m,q,p){if((o/=p/2)<1){return q/2*o*o*o+m}return q/2*((o-=2)*o*o+2)+m},easeInQuart:function(n,o,m,q,p){return q*(o/=p)*o*o*o+m},easeOutQuart:function(n,o,m,q,p){return -q*((o=o/p-1)*o*o*o-1)+m},easeInOutQuart:function(n,o,m,q,p){if((o/=p/2)<1){return q/2*o*o*o*o+m}return -q/2*((o-=2)*o*o*o-2)+m},easeInQuint:function(n,o,m,q,p){return q*(o/=p)*o*o*o*o+m},easeOutQuint:function(n,o,m,q,p){return q*((o=o/p-1)*o*o*o*o+1)+m},easeInOutQuint:function(n,o,m,q,p){if((o/=p/2)<1){return q/2*o*o*o*o*o+m}return q/2*((o-=2)*o*o*o*o+2)+m},easeInSine:function(n,o,m,q,p){return -q*Math.cos(o/p*(Math.PI/2))+q+m},easeOutSine:function(n,o,m,q,p){return q*Math.sin(o/p*(Math.PI/2))+m},easeInOutSine:function(n,o,m,q,p){return -q/2*(Math.cos(Math.PI*o/p)-1)+m},easeInExpo:function(n,o,m,q,p){return(o==0)?m:q*Math.pow(2,10*(o/p-1))+m},easeOutExpo:function(n,o,m,q,p){return(o==p)?m+q:q*(-Math.pow(2,-10*o/p)+1)+m},easeInOutExpo:function(n,o,m,q,p){if(o==0){return m}if(o==p){return m+q}if((o/=p/2)<1){return q/2*Math.pow(2,10*(o-1))+m}return q/2*(-Math.pow(2,-10*--o)+2)+m},easeInCirc:function(n,o,m,q,p){return -q*(Math.sqrt(1-(o/=p)*o)-1)+m},easeOutCirc:function(n,o,m,q,p){return q*Math.sqrt(1-(o=o/p-1)*o)+m},easeInOutCirc:function(n,o,m,q,p){if((o/=p/2)<1){return -q/2*(Math.sqrt(1-o*o)-1)+m}return q/2*(Math.sqrt(1-(o-=2)*o)+1)+m},easeInElastic:function(n,q,m,w,v){var r=1.70158;var u=0;var o=w;if(q==0){return m}if((q/=v)==1){return m+w}if(!u){u=v*0.3}if(o<Math.abs(w)){o=w;var r=u/4}else{var r=u/(2*Math.PI)*Math.asin(w/o)}return -(o*Math.pow(2,10*(q-=1))*Math.sin((q*v-r)*(2*Math.PI)/u))+m},easeOutElastic:function(n,q,m,w,v){var r=1.70158;var u=0;var o=w;if(q==0){return m}if((q/=v)==1){return m+w}if(!u){u=v*0.3}if(o<Math.abs(w)){o=w;var r=u/4}else{var r=u/(2*Math.PI)*Math.asin(w/o)}return o*Math.pow(2,-10*q)*Math.sin((q*v-r)*(2*Math.PI)/u)+w+m},easeInOutElastic:function(n,q,m,w,v){var r=1.70158;var u=0;var o=w;if(q==0){return m}if((q/=v/2)==2){return m+w}if(!u){u=v*(0.3*1.5)}if(o<Math.abs(w)){o=w;var r=u/4}else{var r=u/(2*Math.PI)*Math.asin(w/o)}if(q<1){return -0.5*(o*Math.pow(2,10*(q-=1))*Math.sin((q*v-r)*(2*Math.PI)/u))+m}return o*Math.pow(2,-10*(q-=1))*Math.sin((q*v-r)*(2*Math.PI)/u)*0.5+w+m},easeInBack:function(n,o,m,r,q,p){if(p==e){p=1.70158}return r*(o/=q)*o*((p+1)*o-p)+m},easeOutBack:function(n,o,m,r,q,p){if(p==e){p=1.70158}return r*((o=o/q-1)*o*((p+1)*o+p)+1)+m},easeInOutBack:function(n,o,m,r,q,p){if(p==e){p=1.70158}if((o/=q/2)<1){return r/2*(o*o*(((p*=(1.525))+1)*o-p))+m}return r/2*((o-=2)*o*(((p*=(1.525))+1)*o+p)+2)+m},easeInBounce:function(n,o,m,q,p){return q-h.easing.easeOutBounce(n,p-o,0,q,p)+m},easeOutBounce:function(n,o,m,q,p){if((o/=p)<(1/2.75)){return q*(7.5625*o*o)+m}else{if(o<(2/2.75)){return q*(7.5625*(o-=(1.5/2.75))*o+0.75)+m}else{if(o<(2.5/2.75)){return q*(7.5625*(o-=(2.25/2.75))*o+0.9375)+m}else{return q*(7.5625*(o-=(2.625/2.75))*o+0.984375)+m}}}},easeInOutBounce:function(n,o,m,q,p){if(o<p/2){return h.easing.easeInBounce(n,o*2,0,q,p)*0.5+m}return h.easing.easeOutBounce(n,o*2-p,0,q,p)*0.5+q*0.5+m}})})(jQuery);(function(a,b){a.effects.blind=function(c){return this.queue(function(){var e=a(this),d=["position","top","bottom","left","right"];var i=a.effects.setMode(e,c.options.mode||"hide");var h=c.options.direction||"vertical";a.effects.save(e,d);e.show();var k=a.effects.createWrapper(e).css({overflow:"hidden"});var f=(h=="vertical")?"height":"width";var j=(h=="vertical")?k.height():k.width();if(i=="show"){k.css(f,0)}var g={};g[f]=i=="show"?j:0;k.animate(g,c.duration,c.options.easing,function(){if(i=="hide"){e.hide()}a.effects.restore(e,d);a.effects.removeWrapper(e);if(c.callback){c.callback.apply(e[0],arguments)}e.dequeue()})})}})(jQuery);(function(a,b){a.effects.bounce=function(c){return this.queue(function(){var f=a(this),m=["position","top","bottom","left","right"];var l=a.effects.setMode(f,c.options.mode||"effect");var o=c.options.direction||"up";var d=c.options.distance||20;var e=c.options.times||5;var h=c.duration||250;if(/show|hide/.test(l)){m.push("opacity")}a.effects.save(f,m);f.show();a.effects.createWrapper(f);var g=(o=="up"||o=="down")?"top":"left";var q=(o=="up"||o=="left")?"pos":"neg";var d=c.options.distance||(g=="top"?f.outerHeight({margin:true})/3:f.outerWidth({margin:true})/3);if(l=="show"){f.css("opacity",0).css(g,q=="pos"?-d:d)}if(l=="hide"){d=d/(e*2)}if(l!="hide"){e--}if(l=="show"){var j={opacity:1};j[g]=(q=="pos"?"+=":"-=")+d;f.animate(j,h/2,c.options.easing);d=d/2;e--}for(var k=0;k<e;k++){var p={},n={};p[g]=(q=="pos"?"-=":"+=")+d;n[g]=(q=="pos"?"+=":"-=")+d;f.animate(p,h/2,c.options.easing).animate(n,h/2,c.options.easing);d=(l=="hide")?d*2:d/2}if(l=="hide"){var j={opacity:0};j[g]=(q=="pos"?"-=":"+=")+d;f.animate(j,h/2,c.options.easing,function(){f.hide();a.effects.restore(f,m);a.effects.removeWrapper(f);if(c.callback){c.callback.apply(this,arguments)}})}else{var p={},n={};p[g]=(q=="pos"?"-=":"+=")+d;n[g]=(q=="pos"?"+=":"-=")+d;f.animate(p,h/2,c.options.easing).animate(n,h/2,c.options.easing,function(){a.effects.restore(f,m);a.effects.removeWrapper(f);if(c.callback){c.callback.apply(this,arguments)}})}f.queue("fx",function(){f.dequeue()});f.dequeue()})}})(jQuery);(function(a,b){a.effects.clip=function(c){return this.queue(function(){var g=a(this),k=["position","top","bottom","left","right","height","width"];var j=a.effects.setMode(g,c.options.mode||"hide");var l=c.options.direction||"vertical";a.effects.save(g,k);g.show();var d=a.effects.createWrapper(g).css({overflow:"hidden"});var f=g[0].tagName=="IMG"?d:g;var h={size:(l=="vertical")?"height":"width",position:(l=="vertical")?"top":"left"};var e=(l=="vertical")?f.height():f.width();if(j=="show"){f.css(h.size,0);f.css(h.position,e/2)}var i={};i[h.size]=j=="show"?e:0;i[h.position]=j=="show"?0:e/2;f.animate(i,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){if(j=="hide"){g.hide()}a.effects.restore(g,k);a.effects.removeWrapper(g);if(c.callback){c.callback.apply(g[0],arguments)}g.dequeue()}})})}})(jQuery);(function(a,b){a.effects.drop=function(c){return this.queue(function(){var f=a(this),e=["position","top","bottom","left","right","opacity"];var j=a.effects.setMode(f,c.options.mode||"hide");var i=c.options.direction||"left";a.effects.save(f,e);f.show();a.effects.createWrapper(f);var g=(i=="up"||i=="down")?"top":"left";var d=(i=="up"||i=="left")?"pos":"neg";var k=c.options.distance||(g=="top"?f.outerHeight({margin:true})/2:f.outerWidth({margin:true})/2);if(j=="show"){f.css("opacity",0).css(g,d=="pos"?-k:k)}var h={opacity:j=="show"?1:0};h[g]=(j=="show"?(d=="pos"?"+=":"-="):(d=="pos"?"-=":"+="))+k;f.animate(h,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){if(j=="hide"){f.hide()}a.effects.restore(f,e);a.effects.removeWrapper(f);if(c.callback){c.callback.apply(this,arguments)}f.dequeue()}})})}})(jQuery);(function(a,b){a.effects.explode=function(c){return this.queue(function(){var l=c.options.pieces?Math.round(Math.sqrt(c.options.pieces)):3;var f=c.options.pieces?Math.round(Math.sqrt(c.options.pieces)):3;c.options.mode=c.options.mode=="toggle"?(a(this).is(":visible")?"hide":"show"):c.options.mode;var k=a(this).show().css("visibility","hidden");var m=k.offset();m.top-=parseInt(k.css("marginTop"),10)||0;m.left-=parseInt(k.css("marginLeft"),10)||0;var h=k.outerWidth(true);var d=k.outerHeight(true);for(var g=0;g<l;g++){for(var e=0;e<f;e++){k.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-e*(h/f),top:-g*(d/l)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h/f,height:d/l,left:m.left+e*(h/f)+(c.options.mode=="show"?(e-Math.floor(f/2))*(h/f):0),top:m.top+g*(d/l)+(c.options.mode=="show"?(g-Math.floor(l/2))*(d/l):0),opacity:c.options.mode=="show"?0:1}).animate({left:m.left+e*(h/f)+(c.options.mode=="show"?0:(e-Math.floor(f/2))*(h/f)),top:m.top+g*(d/l)+(c.options.mode=="show"?0:(g-Math.floor(l/2))*(d/l)),opacity:c.options.mode=="show"?1:0},c.duration||500)}}setTimeout(function(){c.options.mode=="show"?k.css({visibility:"visible"}):k.css({visibility:"visible"}).hide();if(c.callback){c.callback.apply(k[0])}k.dequeue();a("div.ui-effects-explode").remove()},c.duration||500)})}})(jQuery);(function(a,b){a.effects.fade=function(c){return this.queue(function(){var d=a(this),e=a.effects.setMode(d,c.options.mode||"hide");d.animate({opacity:e},{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){(c.callback&&c.callback.apply(this,arguments));d.dequeue()}})})}})(jQuery);(function(a,b){a.effects.fold=function(c){return this.queue(function(){var f=a(this),l=["position","top","bottom","left","right"];var i=a.effects.setMode(f,c.options.mode||"hide");var p=c.options.size||15;var o=!(!c.options.horizFirst);var h=c.duration?c.duration/2:a.fx.speeds._default/2;a.effects.save(f,l);f.show();var e=a.effects.createWrapper(f).css({overflow:"hidden"});var j=((i=="show")!=o);var g=j?["width","height"]:["height","width"];var d=j?[e.width(),e.height()]:[e.height(),e.width()];var k=/([0-9]+)%/.exec(p);if(k){p=parseInt(k[1],10)/100*d[i=="hide"?0:1]}if(i=="show"){e.css(o?{height:0,width:p}:{height:p,width:0})}var n={},m={};n[g[0]]=i=="show"?d[0]:p;m[g[1]]=i=="show"?d[1]:0;e.animate(n,h,c.options.easing).animate(m,h,c.options.easing,function(){if(i=="hide"){f.hide()}a.effects.restore(f,l);a.effects.removeWrapper(f);if(c.callback){c.callback.apply(f[0],arguments)}f.dequeue()})})}})(jQuery);(function(a,b){a.effects.highlight=function(c){return this.queue(function(){var e=a(this),d=["backgroundImage","backgroundColor","opacity"],g=a.effects.setMode(e,c.options.mode||"show"),f={backgroundColor:e.css("backgroundColor")};if(g=="hide"){f.opacity=0}a.effects.save(e,d);e.show().css({backgroundImage:"none",backgroundColor:c.options.color||"#ffff99"}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){(g=="hide"&&e.hide());a.effects.restore(e,d);(g=="show"&&!a.support.opacity&&this.style.removeAttribute("filter"));(c.callback&&c.callback.apply(this,arguments));e.dequeue()}})})}})(jQuery);(function(a,b){a.effects.pulsate=function(c){return this.queue(function(){var e=a(this),f=a.effects.setMode(e,c.options.mode||"show");times=((c.options.times||5)*2)-1;duration=c.duration?c.duration/2:a.fx.speeds._default/2,isVisible=e.is(":visible"),animateTo=0;if(!isVisible){e.css("opacity",0).show();animateTo=1}if((f=="hide"&&isVisible)||(f=="show"&&!isVisible)){times--}for(var d=0;d<times;d++){e.animate({opacity:animateTo},duration,c.options.easing);animateTo=(animateTo+1)%2}e.animate({opacity:animateTo},duration,c.options.easing,function(){if(animateTo==0){e.hide()}(c.callback&&c.callback.apply(this,arguments))});e.queue("fx",function(){e.dequeue()}).dequeue()})}})(jQuery);(function(a,b){a.effects.puff=function(c){return this.queue(function(){var g=a(this),h=a.effects.setMode(g,c.options.mode||"hide"),f=parseInt(c.options.percent,10)||150,e=f/100,d={height:g.height(),width:g.width()};a.extend(c.options,{fade:true,mode:h,percent:h=="hide"?f:100,from:h=="hide"?d:{height:d.height*e,width:d.width*e}});g.effect("scale",c.options,c.duration,c.callback);g.dequeue()})};a.effects.scale=function(c){return this.queue(function(){var h=a(this);var e=a.extend(true,{},c.options);var k=a.effects.setMode(h,c.options.mode||"effect");var i=parseInt(c.options.percent,10)||(parseInt(c.options.percent,10)==0?0:(k=="hide"?0:100));var j=c.options.direction||"both";var d=c.options.origin;if(k!="effect"){e.origin=d||["middle","center"];e.restore=true}var g={height:h.height(),width:h.width()};h.from=c.options.from||(k=="show"?{height:0,width:0}:g);var f={y:j!="horizontal"?(i/100):1,x:j!="vertical"?(i/100):1};h.to={height:g.height*f.y,width:g.width*f.x};if(c.options.fade){if(k=="show"){h.from.opacity=0;h.to.opacity=1}if(k=="hide"){h.from.opacity=1;h.to.opacity=0}}e.from=h.from;e.to=h.to;e.mode=k;h.effect("size",e,c.duration,c.callback);h.dequeue()})};a.effects.size=function(c){return this.queue(function(){var d=a(this),o=["position","top","bottom","left","right","width","height","overflow","opacity"];var n=["position","top","bottom","left","right","overflow","opacity"];var k=["width","height","overflow"];var q=["fontSize"];var l=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"];var g=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"];var h=a.effects.setMode(d,c.options.mode||"effect");var j=c.options.restore||false;var f=c.options.scale||"both";var p=c.options.origin;var e={height:d.height(),width:d.width()};d.from=c.options.from||e;d.to=c.options.to||e;if(p){var i=a.effects.getBaseline(p,e);d.from.top=(e.height-d.from.height)*i.y;d.from.left=(e.width-d.from.width)*i.x;d.to.top=(e.height-d.to.height)*i.y;d.to.left=(e.width-d.to.width)*i.x}var m={from:{y:d.from.height/e.height,x:d.from.width/e.width},to:{y:d.to.height/e.height,x:d.to.width/e.width}};if(f=="box"||f=="both"){if(m.from.y!=m.to.y){o=o.concat(l);d.from=a.effects.setTransition(d,l,m.from.y,d.from);d.to=a.effects.setTransition(d,l,m.to.y,d.to)}if(m.from.x!=m.to.x){o=o.concat(g);d.from=a.effects.setTransition(d,g,m.from.x,d.from);d.to=a.effects.setTransition(d,g,m.to.x,d.to)}}if(f=="content"||f=="both"){if(m.from.y!=m.to.y){o=o.concat(q);d.from=a.effects.setTransition(d,q,m.from.y,d.from);d.to=a.effects.setTransition(d,q,m.to.y,d.to)}}a.effects.save(d,j?o:n);d.show();a.effects.createWrapper(d);d.css("overflow","hidden").css(d.from);if(f=="content"||f=="both"){l=l.concat(["marginTop","marginBottom"]).concat(q);g=g.concat(["marginLeft","marginRight"]);k=o.concat(l).concat(g);d.find("*[width]").each(function(){child=a(this);if(j){a.effects.save(child,k)}var r={height:child.height(),width:child.width()};child.from={height:r.height*m.from.y,width:r.width*m.from.x};child.to={height:r.height*m.to.y,width:r.width*m.to.x};if(m.from.y!=m.to.y){child.from=a.effects.setTransition(child,l,m.from.y,child.from);child.to=a.effects.setTransition(child,l,m.to.y,child.to)}if(m.from.x!=m.to.x){child.from=a.effects.setTransition(child,g,m.from.x,child.from);child.to=a.effects.setTransition(child,g,m.to.x,child.to)}child.css(child.from);child.animate(child.to,c.duration,c.options.easing,function(){if(j){a.effects.restore(child,k)}})})}d.animate(d.to,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){if(d.to.opacity===0){d.css("opacity",d.from.opacity)}if(h=="hide"){d.hide()}a.effects.restore(d,j?o:n);a.effects.removeWrapper(d);if(c.callback){c.callback.apply(this,arguments)}d.dequeue()}})})}})(jQuery);(function(a,b){a.effects.shake=function(c){return this.queue(function(){var f=a(this),m=["position","top","bottom","left","right"];var l=a.effects.setMode(f,c.options.mode||"effect");var o=c.options.direction||"left";var d=c.options.distance||20;var e=c.options.times||3;var h=c.duration||c.options.duration||140;a.effects.save(f,m);f.show();a.effects.createWrapper(f);var g=(o=="up"||o=="down")?"top":"left";var q=(o=="up"||o=="left")?"pos":"neg";var j={},p={},n={};j[g]=(q=="pos"?"-=":"+=")+d;p[g]=(q=="pos"?"+=":"-=")+d*2;n[g]=(q=="pos"?"-=":"+=")+d*2;f.animate(j,h,c.options.easing);for(var k=1;k<e;k++){f.animate(p,h,c.options.easing).animate(n,h,c.options.easing)}f.animate(p,h,c.options.easing).animate(j,h/2,c.options.easing,function(){a.effects.restore(f,m);a.effects.removeWrapper(f);if(c.callback){c.callback.apply(this,arguments)}});f.queue("fx",function(){f.dequeue()});f.dequeue()})}})(jQuery);(function(a,b){a.effects.slide=function(c){return this.queue(function(){var f=a(this),e=["position","top","bottom","left","right"];var j=a.effects.setMode(f,c.options.mode||"show");var i=c.options.direction||"left";a.effects.save(f,e);f.show();a.effects.createWrapper(f).css({overflow:"hidden"});var g=(i=="up"||i=="down")?"top":"left";var d=(i=="up"||i=="left")?"pos":"neg";var k=c.options.distance||(g=="top"?f.outerHeight({margin:true}):f.outerWidth({margin:true}));if(j=="show"){f.css(g,d=="pos"?(isNaN(k)?"-"+k:-k):k)}var h={};h[g]=(j=="show"?(d=="pos"?"+=":"-="):(d=="pos"?"-=":"+="))+k;f.animate(h,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){if(j=="hide"){f.hide()}a.effects.restore(f,e);a.effects.removeWrapper(f);if(c.callback){c.callback.apply(this,arguments)}f.dequeue()}})})}})(jQuery);(function(a,b){a.effects.transfer=function(c){return this.queue(function(){var g=a(this),i=a(c.options.to),f=i.offset(),h={top:f.top,left:f.left,height:i.innerHeight(),width:i.innerWidth()},e=g.offset(),d=a('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(c.options.className).css({top:e.top,left:e.left,height:g.innerHeight(),width:g.innerWidth(),position:"absolute"}).animate(h,c.duration,c.options.easing,function(){d.remove();(c.callback&&c.callback.apply(g[0],arguments));g.dequeue()})})}})(jQuery);
##############################################
ikiwiki-3.20200202.3/underlays/jquery/ikiwiki/jquery.js-6240-	} else {
ikiwiki-3.20200202.3/underlays/jquery/ikiwiki/jquery.js:6241:		jQuery.globalEval( ( elem.text || elem.textContent || elem.innerHTML || "" ).replace( rcleanScript, "/*$0*/" ) );
ikiwiki-3.20200202.3/underlays/jquery/ikiwiki/jquery.js-6242-	}
##############################################
ikiwiki-3.20200202.3/underlays/jquery/ikiwiki/jquery.min.js-15- */
ikiwiki-3.20200202.3/underlays/jquery/ikiwiki/jquery.min.js:16:(function(a9,K){var aq=a9.document,br=a9.navigator,bi=a9.location;var b=(function(){var bC=function(bX,bY){return new bC.fn.init(bX,bY,bA)},bS=a9.jQuery,bE=a9.$,bA,bW=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bK=/\S/,bG=/^\s+/,bB=/\s+$/,bF=/\d/,bx=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bL=/^[\],:{}\s]*$/,bU=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bN=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bH=/(?:^|:|,)(?:\s*\[)+/g,bv=/(webkit)[ \/]([\w.]+)/,bP=/(opera)(?:.*version)?[ \/]([\w.]+)/,bO=/(msie) ([\w.]+)/,bQ=/(mozilla)(?:.*? rv:([\w.]+))?/,by=/-([a-z])/ig,bR=function(bX,bY){return bY.toUpperCase()},bV=br.userAgent,bT,bz,e,bJ=Object.prototype.toString,bD=Object.prototype.hasOwnProperty,bw=Array.prototype.push,bI=Array.prototype.slice,bM=String.prototype.trim,bs=Array.prototype.indexOf,bu={};bC.fn=bC.prototype={constructor:bC,init:function(bX,b1,b0){var bZ,b2,bY,b3;if(!bX){return this}if(bX.nodeType){this.context=this[0]=bX;this.length=1;return this}if(bX==="body"&&!b1&&aq.body){this.context=aq;this[0]=aq.body;this.selector=bX;this.length=1;return this}if(typeof bX==="string"){if(bX.charAt(0)==="<"&&bX.charAt(bX.length-1)===">"&&bX.length>=3){bZ=[null,bX,null]}else{bZ=bW.exec(bX)}if(bZ&&(bZ[1]||!b1)){if(bZ[1]){b1=b1 instanceof bC?b1[0]:b1;b3=(b1?b1.ownerDocument||b1:aq);bY=bx.exec(bX);if(bY){if(bC.isPlainObject(b1)){bX=[aq.createElement(bY[1])];bC.fn.attr.call(bX,b1,true)}else{bX=[b3.createElement(bY[1])]}}else{bY=bC.buildFragment([bZ[1]],[b3]);bX=(bY.cacheable?bC.clone(bY.fragment):bY.fragment).childNodes}return bC.merge(this,bX)}else{b2=aq.getElementById(bZ[2]);if(b2&&b2.parentNode){if(b2.id!==bZ[2]){return b0.find(bX)}this.length=1;this[0]=b2}this.context=aq;this.selector=bX;return this}}else{if(!b1||b1.jquery){return(b1||b0).find(bX)}else{return this.constructor(b1).find(bX)}}}else{if(bC.isFunction(bX)){return b0.ready(bX)}}if(bX.selector!==K){this.selector=bX.selector;this.context=bX.context}return bC.makeArray(bX,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return bI.call(this,0)},get:function(bX){return bX==null?this.toArray():(bX<0?this[this.length+bX]:this[bX])},pushStack:function(bY,b0,bX){var bZ=this.constructor();if(bC.isArray(bY)){bw.apply(bZ,bY)}else{bC.merge(bZ,bY)}bZ.prevObject=this;bZ.context=this.context;if(b0==="find"){bZ.selector=this.selector+(this.selector?" ":"")+bX}else{if(b0){bZ.selector=this.selector+"."+b0+"("+bX+")"}}return bZ},each:function(bY,bX){return bC.each(this,bY,bX)},ready:function(bX){bC.bindReady();bz.done(bX);return this},eq:function(bX){return bX===-1?this.slice(bX):this.slice(bX,+bX+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bI.apply(this,arguments),"slice",bI.call(arguments).join(","))},map:function(bX){return this.pushStack(bC.map(this,function(bZ,bY){return bX.call(bZ,bY,bZ)}))},end:function(){return this.prevObject||this.constructor(null)},push:bw,sort:[].sort,splice:[].splice};bC.fn.init.prototype=bC.fn;bC.extend=bC.fn.extend=function(){var b6,bZ,bX,bY,b3,b4,b2=arguments[0]||{},b1=1,b0=arguments.length,b5=false;if(typeof b2==="boolean"){b5=b2;b2=arguments[1]||{};b1=2}if(typeof b2!=="object"&&!bC.isFunction(b2)){b2={}}if(b0===b1){b2=this;--b1}for(;b1<b0;b1++){if((b6=arguments[b1])!=null){for(bZ in b6){bX=b2[bZ];bY=b6[bZ];if(b2===bY){continue}if(b5&&bY&&(bC.isPlainObject(bY)||(b3=bC.isArray(bY)))){if(b3){b3=false;b4=bX&&bC.isArray(bX)?bX:[]}else{b4=bX&&bC.isPlainObject(bX)?bX:{}}b2[bZ]=bC.extend(b5,b4,bY)}else{if(bY!==K){b2[bZ]=bY}}}}}return b2};bC.extend({noConflict:function(bX){if(a9.$===bC){a9.$=bE}if(bX&&a9.jQuery===bC){a9.jQuery=bS}return bC},isReady:false,readyWait:1,holdReady:function(bX){if(bX){bC.readyWait++}else{bC.ready(true)}},ready:function(bX){if((bX===true&&!--bC.readyWait)||(bX!==true&&!bC.isReady)){if(!aq.body){return setTimeout(bC.ready,1)}bC.isReady=true;if(bX!==true&&--bC.readyWait>0){return}bz.resolveWith(aq,[bC]);if(bC.fn.trigger){bC(aq).trigger("ready").unbind("ready")}}},bindReady:function(){if(bz){return}bz=bC._Deferred();if(aq.readyState==="complete"){return setTimeout(bC.ready,1)}if(aq.addEventListener){aq.addEventListener("DOMContentLoaded",e,false);a9.addEventListener("load",bC.ready,false)}else{if(aq.attachEvent){aq.attachEvent("onreadystatechange",e);a9.attachEvent("onload",bC.ready);var bX=false;try{bX=a9.frameElement==null}catch(bY){}if(aq.documentElement.doScroll&&bX){bt()}}}},isFunction:function(bX){return bC.type(bX)==="function"},isArray:Array.isArray||function(bX){return bC.type(bX)==="array"},isWindow:function(bX){return bX&&typeof bX==="object"&&"setInterval" in bX},isNaN:function(bX){return bX==null||!bF.test(bX)||isNaN(bX)},type:function(bX){return bX==null?String(bX):bu[bJ.call(bX)]||"object"},isPlainObject:function(bY){if(!bY||bC.type(bY)!=="object"||bY.nodeType||bC.isWindow(bY)){return false}if(bY.constructor&&!bD.call(bY,"constructor")&&!bD.call(bY.constructor.prototype,"isPrototypeOf")){return false}var bX;for(bX in bY){}return bX===K||bD.call(bY,bX)},isEmptyObject:function(bY){for(var bX in bY){return false}return true},error:function(bX){throw bX},parseJSON:function(bX){if(typeof bX!=="string"||!bX){return null}bX=bC.trim(bX);if(a9.JSON&&a9.JSON.parse){return a9.JSON.parse(bX)}if(bL.test(bX.replace(bU,"@").replace(bN,"]").replace(bH,""))){return(new Function("return "+bX))()}bC.error("Invalid JSON: "+bX)},parseXML:function(bZ,bX,bY){if(a9.DOMParser){bY=new DOMParser();bX=bY.parseFromString(bZ,"text/xml")}else{bX=new ActiveXObject("Microsoft.XMLDOM");bX.async="false";bX.loadXML(bZ)}bY=bX.documentElement;if(!bY||!bY.nodeName||bY.nodeName==="parsererror"){bC.error("Invalid XML: "+bZ)}return bX},noop:function(){},globalEval:function(bX){if(bX&&bK.test(bX)){(a9.execScript||function(bY){a9["eval"].call(a9,bY)})(bX)}},camelCase:function(bX){return bX.replace(by,bR)},nodeName:function(bY,bX){return bY.nodeName&&bY.nodeName.toUpperCase()===bX.toUpperCase()},each:function(b0,b3,bZ){var bY,b1=0,b2=b0.length,bX=b2===K||bC.isFunction(b0);if(bZ){if(bX){for(bY in b0){if(b3.apply(b0[bY],bZ)===false){break}}}else{for(;b1<b2;){if(b3.apply(b0[b1++],bZ)===false){break}}}}else{if(bX){for(bY in b0){if(b3.call(b0[bY],bY,b0[bY])===false){break}}}else{for(;b1<b2;){if(b3.call(b0[b1],b1,b0[b1++])===false){break}}}}return b0},trim:bM?function(bX){return bX==null?"":bM.call(bX)}:function(bX){return bX==null?"":bX.toString().replace(bG,"").replace(bB,"")},makeArray:function(b0,bY){var bX=bY||[];if(b0!=null){var bZ=bC.type(b0);if(b0.length==null||bZ==="string"||bZ==="function"||bZ==="regexp"||bC.isWindow(b0)){bw.call(bX,b0)}else{bC.merge(bX,b0)}}return bX},inArray:function(bZ,b0){if(bs){return bs.call(b0,bZ)}for(var bX=0,bY=b0.length;bX<bY;bX++){if(b0[bX]===bZ){return bX}}return -1},merge:function(b1,bZ){var b0=b1.length,bY=0;if(typeof bZ.length==="number"){for(var bX=bZ.length;bY<bX;bY++){b1[b0++]=bZ[bY]}}else{while(bZ[bY]!==K){b1[b0++]=bZ[bY++]}}b1.length=b0;return b1},grep:function(bY,b3,bX){var bZ=[],b2;bX=!!bX;for(var b0=0,b1=bY.length;b0<b1;b0++){b2=!!b3(bY[b0],b0);if(bX!==b2){bZ.push(bY[b0])}}return bZ},map:function(bX,b4,b5){var b2,b3,b1=[],bZ=0,bY=bX.length,b0=bX instanceof bC||bY!==K&&typeof bY==="number"&&((bY>0&&bX[0]&&bX[bY-1])||bY===0||bC.isArray(bX));if(b0){for(;bZ<bY;bZ++){b2=b4(bX[bZ],bZ,b5);if(b2!=null){b1[b1.length]=b2}}}else{for(b3 in bX){b2=b4(bX[b3],b3,b5);if(b2!=null){b1[b1.length]=b2}}}return b1.concat.apply([],b1)},guid:1,proxy:function(b1,b0){if(typeof b0==="string"){var bZ=b1[b0];b0=b1;b1=bZ}if(!bC.isFunction(b1)){return K}var bX=bI.call(arguments,2),bY=function(){return b1.apply(b0,bX.concat(bI.call(arguments)))};bY.guid=b1.guid=b1.guid||bY.guid||bC.guid++;return bY},access:function(bX,b5,b3,bZ,b2,b4){var bY=bX.length;if(typeof b5==="object"){for(var b0 in b5){bC.access(bX,b0,b5[b0],bZ,b2,b3)}return bX}if(b3!==K){bZ=!b4&&bZ&&bC.isFunction(b3);for(var b1=0;b1<bY;b1++){b2(bX[b1],b5,bZ?b3.call(bX[b1],b1,b2(bX[b1],b5)):b3,b4)}return bX}return bY?b2(bX[0],b5):K},now:function(){return(new Date()).getTime()},uaMatch:function(bY){bY=bY.toLowerCase();var bX=bv.exec(bY)||bP.exec(bY)||bO.exec(bY)||bY.indexOf("compatible")<0&&bQ.exec(bY)||[];return{browser:bX[1]||"",version:bX[2]||"0"}},sub:function(){function bX(b0,b1){return new bX.fn.init(b0,b1)}bC.extend(true,bX,this);bX.superclass=this;bX.fn=bX.prototype=this();bX.fn.constructor=bX;bX.sub=this.sub;bX.fn.init=function bZ(b0,b1){if(b1&&b1 instanceof bC&&!(b1 instanceof bX)){b1=bX(b1)}return bC.fn.init.call(this,b0,b1,bY)};bX.fn.init.prototype=bX.fn;var bY=bX(aq);return bX},browser:{}});bC.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bY,bX){bu["[object "+bX+"]"]=bX.toLowerCase()});bT=bC.uaMatch(bV);if(bT.browser){bC.browser[bT.browser]=true;bC.browser.version=bT.version}if(bC.browser.webkit){bC.browser.safari=true}if(bK.test("\xA0")){bG=/^[\s\xA0]+/;bB=/[\s\xA0]+$/}bA=bC(aq);if(aq.addEventListener){e=function(){aq.removeEventListener("DOMContentLoaded",e,false);bC.ready()}}else{if(aq.attachEvent){e=function(){if(aq.readyState==="complete"){aq.detachEvent("onreadystatechange",e);bC.ready()}}}}function bt(){if(bC.isReady){return}try{aq.documentElement.doScroll("left")}catch(bX){setTimeout(bt,1);return}bC.ready()}return bC})();var a="done fail isResolved isRejected promise then always pipe".split(" "),aF=[].slice;b.extend({_Deferred:function(){var bu=[],bv,bs,bt,e={done:function(){if(!bt){var bx=arguments,by,bB,bA,bz,bw;if(bv){bw=bv;bv=0}for(by=0,bB=bx.length;by<bB;by++){bA=bx[by];bz=b.type(bA);if(bz==="array"){e.done.apply(e,bA)}else{if(bz==="function"){bu.push(bA)}}}if(bw){e.resolveWith(bw[0],bw[1])}}return this},resolveWith:function(bx,bw){if(!bt&&!bv&&!bs){bw=bw||[];bs=1;try{while(bu[0]){bu.shift().apply(bx,bw)}}finally{bv=[bx,bw];bs=0}}return this},resolve:function(){e.resolveWith(this,arguments);return this},isResolved:function(){return !!(bs||bv)},cancel:function(){bt=1;bu=[];return this}};return e},Deferred:function(bs){var e=b._Deferred(),bu=b._Deferred(),bt;b.extend(e,{then:function(bw,bv){e.done(bw).fail(bv);return this},always:function(){return e.done.apply(e,arguments).fail.apply(this,arguments)},fail:bu.done,rejectWith:bu.resolveWith,reject:bu.resolve,isRejected:bu.isResolved,pipe:function(bw,bv){return b.Deferred(function(bx){b.each({done:[bw,"resolve"],fail:[bv,"reject"]},function(bz,bC){var by=bC[0],bB=bC[1],bA;if(b.isFunction(by)){e[bz](function(){bA=by.apply(this,arguments);if(bA&&b.isFunction(bA.promise)){bA.promise().then(bx.resolve,bx.reject)}else{bx[bB](bA)}})}else{e[bz](bx[bB])}})}).promise()},promise:function(bw){if(bw==null){if(bt){return bt}bt=bw={}}var bv=a.length;while(bv--){bw[a[bv]]=e[a[bv]]}return bw}});e.done(bu.cancel).fail(e.cancel);delete e.cancel;if(bs){bs.call(e,e)}return e},when:function(bx){var bs=arguments,bt=0,bw=bs.length,bv=bw,e=bw<=1&&bx&&b.isFunction(bx.promise)?bx:b.Deferred();function bu(by){return function(bz){bs[by]=arguments.length>1?aF.call(arguments,0):bz;if(!(--bv)){e.resolveWith(e,aF.call(bs,0))}}}if(bw>1){for(;bt<bw;bt++){if(bs[bt]&&b.isFunction(bs[bt].promise)){bs[bt].promise().then(bu(bt),e.reject)}else{--bv}}if(!bv){e.resolveWith(e,bs)}}else{if(e!==bx){e.resolveWith(e,bw?[bx]:[])}}return e.promise()}});b.support=(function(){var bC=aq.createElement("div"),bJ=aq.documentElement,bv,bK,bD,bt,bB,bw,bz,bs,bA,bE,by,bI,bG,bu,bx,bF,bL;bC.setAttribute("className","t");bC.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";bv=bC.getElementsByTagName("*");bK=bC.getElementsByTagName("a")[0];if(!bv||!bv.length||!bK){return{}}bD=aq.createElement("select");bt=bD.appendChild(aq.createElement("option"));bB=bC.getElementsByTagName("input")[0];bz={leadingWhitespace:(bC.firstChild.nodeType===3),tbody:!bC.getElementsByTagName("tbody").length,htmlSerialize:!!bC.getElementsByTagName("link").length,style:/top/.test(bK.getAttribute("style")),hrefNormalized:(bK.getAttribute("href")==="/a"),opacity:/^0.55$/.test(bK.style.opacity),cssFloat:!!bK.style.cssFloat,checkOn:(bB.value==="on"),optSelected:bt.selected,getSetAttribute:bC.className!=="t",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bB.checked=true;bz.noCloneChecked=bB.cloneNode(true).checked;bD.disabled=true;bz.optDisabled=!bt.disabled;try{delete bC.test}catch(bH){bz.deleteExpando=false}if(!bC.addEventListener&&bC.attachEvent&&bC.fireEvent){bC.attachEvent("onclick",function(){bz.noCloneEvent=false});bC.cloneNode(true).fireEvent("onclick")}bB=aq.createElement("input");bB.value="t";bB.setAttribute("type","radio");bz.radioValue=bB.value==="t";bB.setAttribute("checked","checked");bC.appendChild(bB);bs=aq.createDocumentFragment();bs.appendChild(bC.firstChild);bz.checkClone=bs.cloneNode(true).cloneNode(true).lastChild.checked;bC.innerHTML="";bC.style.width=bC.style.paddingLeft="1px";bA=aq.getElementsByTagName("body")[0];by=aq.createElement(bA?"div":"body");bI={visibility:"hidden",width:0,height:0,border:0,margin:0};if(bA){b.extend(bI,{position:"absolute",left:-1000,top:-1000})}for(bF in bI){by.style[bF]=bI[bF]}by.appendChild(bC);bE=bA||bJ;bE.insertBefore(by,bE.firstChild);bz.appendChecked=bB.checked;bz.boxModel=bC.offsetWidth===2;if("zoom" in bC.style){bC.style.display="inline";bC.style.zoom=1;bz.inlineBlockNeedsLayout=(bC.offsetWidth===2);bC.style.display="";bC.innerHTML="<div style='width:4px;'></div>";bz.shrinkWrapBlocks=(bC.offsetWidth!==2)}bC.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";bG=bC.getElementsByTagName("td");bL=(bG[0].offsetHeight===0);bG[0].style.display="";bG[1].style.display="none";bz.reliableHiddenOffsets=bL&&(bG[0].offsetHeight===0);bC.innerHTML="";if(aq.defaultView&&aq.defaultView.getComputedStyle){bw=aq.createElement("div");bw.style.width="0";bw.style.marginRight="0";bC.appendChild(bw);bz.reliableMarginRight=(parseInt((aq.defaultView.getComputedStyle(bw,null)||{marginRight:0}).marginRight,10)||0)===0}by.innerHTML="";bE.removeChild(by);if(bC.attachEvent){for(bF in {submit:1,change:1,focusin:1}){bx="on"+bF;bL=(bx in bC);if(!bL){bC.setAttribute(bx,"return;");bL=(typeof bC[bx]==="function")}bz[bF+"Bubbles"]=bL}}by=bs=bD=bt=bA=bw=bC=bB=null;return bz})();b.boxModel=b.support.boxModel;var aM=/^(?:\{.*\}|\[.*\])$/,aw=/([a-z])([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!T(e)},data:function(bu,bs,bw,bv){if(!b.acceptData(bu)){return}var bz=b.expando,by=typeof bs==="string",bx,bA=bu.nodeType,e=bA?b.cache:bu,bt=bA?bu[b.expando]:bu[b.expando]&&b.expando;if((!bt||(bv&&bt&&!e[bt][bz]))&&by&&bw===K){return}if(!bt){if(bA){bu[b.expando]=bt=++b.uuid}else{bt=b.expando}}if(!e[bt]){e[bt]={};if(!bA){e[bt].toJSON=b.noop}}if(typeof bs==="object"||typeof bs==="function"){if(bv){e[bt][bz]=b.extend(e[bt][bz],bs)}else{e[bt]=b.extend(e[bt],bs)}}bx=e[bt];if(bv){if(!bx[bz]){bx[bz]={}}bx=bx[bz]}if(bw!==K){bx[b.camelCase(bs)]=bw}if(bs==="events"&&!bx[bs]){return bx[bz]&&bx[bz].events}return by?bx[b.camelCase(bs)]||bx[bs]:bx},removeData:function(bv,bt,bw){if(!b.acceptData(bv)){return}var by=b.expando,bz=bv.nodeType,bs=bz?b.cache:bv,bu=bz?bv[b.expando]:b.expando;if(!bs[bu]){return}if(bt){var bx=bw?bs[bu][by]:bs[bu];if(bx){delete bx[bt];if(!T(bx)){return}}}if(bw){delete bs[bu][by];if(!T(bs[bu])){return}}var e=bs[bu][by];if(b.support.deleteExpando||bs!=a9){delete bs[bu]}else{bs[bu]=null}if(e){bs[bu]={};if(!bz){bs[bu].toJSON=b.noop}bs[bu][by]=e}else{if(bz){if(b.support.deleteExpando){delete bv[b.expando]}else{if(bv.removeAttribute){bv.removeAttribute(b.expando)}else{bv[b.expando]=null}}}}},_data:function(bs,e,bt){return b.data(bs,e,bt,true)},acceptData:function(bs){if(bs.nodeName){var e=b.noData[bs.nodeName.toLowerCase()];if(e){return !(e===true||bs.getAttribute("classid")!==e)}}return true}});b.fn.extend({data:function(bv,bx){var bw=null;if(typeof bv==="undefined"){if(this.length){bw=b.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,bt;for(var bu=0,bs=e.length;bu<bs;bu++){bt=e[bu].name;if(bt.indexOf("data-")===0){bt=b.camelCase(bt.substring(5));a2(this[0],bt,bw[bt])}}}}return bw}else{if(typeof bv==="object"){return this.each(function(){b.data(this,bv)})}}var by=bv.split(".");by[1]=by[1]?"."+by[1]:"";if(bx===K){bw=this.triggerHandler("getData"+by[1]+"!",[by[0]]);if(bw===K&&this.length){bw=b.data(this[0],bv);bw=a2(this[0],bv,bw)}return bw===K&&by[1]?this.data(by[0]):bw}else{return this.each(function(){var bA=b(this),bz=[by[0],bx];bA.triggerHandler("setData"+by[1]+"!",bz);b.data(this,bv,bx);bA.triggerHandler("changeData"+by[1]+"!",bz)})}},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function a2(bu,bt,bv){if(bv===K&&bu.nodeType===1){var bs="data-"+bt.replace(aw,"$1-$2").toLowerCase();bv=bu.getAttribute(bs);if(typeof bv==="string"){try{bv=bv==="true"?true:bv==="false"?false:bv==="null"?null:!b.isNaN(bv)?parseFloat(bv):aM.test(bv)?b.parseJSON(bv):bv}catch(bw){}b.data(bu,bt,bv)}else{bv=K}}return bv}function T(bs){for(var e in bs){if(e!=="toJSON"){return false}}return true}function be(bv,bu,bx){var bt=bu+"defer",bs=bu+"queue",e=bu+"mark",bw=b.data(bv,bt,K,true);if(bw&&(bx==="queue"||!b.data(bv,bs,K,true))&&(bx==="mark"||!b.data(bv,e,K,true))){setTimeout(function(){if(!b.data(bv,bs,K,true)&&!b.data(bv,e,K,true)){b.removeData(bv,bt,true);bw.resolve()}},0)}}b.extend({_mark:function(bs,e){if(bs){e=(e||"fx")+"mark";b.data(bs,e,(b.data(bs,e,K,true)||0)+1,true)}},_unmark:function(bv,bu,bs){if(bv!==true){bs=bu;bu=bv;bv=false}if(bu){bs=bs||"fx";var e=bs+"mark",bt=bv?0:((b.data(bu,e,K,true)||1)-1);if(bt){b.data(bu,e,bt,true)}else{b.removeData(bu,e,true);be(bu,bs,"mark")}}},queue:function(bs,e,bu){if(bs){e=(e||"fx")+"queue";var bt=b.data(bs,e,K,true);if(bu){if(!bt||b.isArray(bu)){bt=b.data(bs,e,b.makeArray(bu),true)}else{bt.push(bu)}}return bt||[]}},dequeue:function(bu,bt){bt=bt||"fx";var e=b.queue(bu,bt),bs=e.shift(),bv;if(bs==="inprogress"){bs=e.shift()}if(bs){if(bt==="fx"){e.unshift("inprogress")}bs.call(bu,function(){b.dequeue(bu,bt)})}if(!e.length){b.removeData(bu,bt+"queue",true);be(bu,bt,"queue")}}});b.fn.extend({queue:function(e,bs){if(typeof e!=="string"){bs=e;e="fx"}if(bs===K){return b.queue(this[0],e)}return this.each(function(){var bt=b.queue(this,e,bs);if(e==="fx"&&bt[0]!=="inprogress"){b.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(bs,e){bs=b.fx?b.fx.speeds[bs]||bs:bs;e=e||"fx";return this.queue(e,function(){var bt=this;setTimeout(function(){b.dequeue(bt,e)},bs)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(bA,bt){if(typeof bA!=="string"){bt=bA;bA=K}bA=bA||"fx";var e=b.Deferred(),bs=this,bv=bs.length,by=1,bw=bA+"defer",bx=bA+"queue",bz=bA+"mark",bu;function bB(){if(!(--by)){e.resolveWith(bs,[bs])}}while(bv--){if((bu=b.data(bs[bv],bw,K,true)||(b.data(bs[bv],bx,K,true)||b.data(bs[bv],bz,K,true))&&b.data(bs[bv],bw,b._Deferred(),true))){by++;bu.done(bB)}}bB();return e.promise()}});var aK=/[\n\t\r]/g,ac=/\s+/,aO=/\r/g,g=/^(?:button|input)$/i,D=/^(?:button|input|object|select|textarea)$/i,l=/^a(?:rea)?$/i,ak=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,a5=/\:|^on/,a0,aU;b.fn.extend({attr:function(e,bs){return b.access(this,e,bs,true,b.attr)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,bs){return b.access(this,e,bs,true,b.prop)},removeProp:function(e){e=b.propFix[e]||e;return this.each(function(){try{this[e]=K;delete this[e]}catch(bs){}})},addClass:function(bv){var bx,bt,bs,bu,bw,by,e;if(b.isFunction(bv)){return this.each(function(bz){b(this).addClass(bv.call(this,bz,this.className))})}if(bv&&typeof bv==="string"){bx=bv.split(ac);for(bt=0,bs=this.length;bt<bs;bt++){bu=this[bt];if(bu.nodeType===1){if(!bu.className&&bx.length===1){bu.className=bv}else{bw=" "+bu.className+" ";for(by=0,e=bx.length;by<e;by++){if(!~bw.indexOf(" "+bx[by]+" ")){bw+=bx[by]+" "}}bu.className=b.trim(bw)}}}}return this},removeClass:function(bw){var bx,bt,bs,bv,bu,by,e;if(b.isFunction(bw)){return this.each(function(bz){b(this).removeClass(bw.call(this,bz,this.className))})}if((bw&&typeof bw==="string")||bw===K){bx=(bw||"").split(ac);for(bt=0,bs=this.length;bt<bs;bt++){bv=this[bt];if(bv.nodeType===1&&bv.className){if(bw){bu=(" "+bv.className+" ").replace(aK," ");for(by=0,e=bx.length;by<e;by++){bu=bu.replace(" "+bx[by]+" "," ")}bv.className=b.trim(bu)}else{bv.className=""}}}}return this},toggleClass:function(bu,bs){var bt=typeof bu,e=typeof bs==="boolean";if(b.isFunction(bu)){return this.each(function(bv){b(this).toggleClass(bu.call(this,bv,this.className,bs),bs)})}return this.each(function(){if(bt==="string"){var bx,bw=0,bv=b(this),by=bs,bz=bu.split(ac);while((bx=bz[bw++])){by=e?by:!bv.hasClass(bx);bv[by?"addClass":"removeClass"](bx)}}else{if(bt==="undefined"||bt==="boolean"){if(this.className){b._data(this,"__className__",this.className)}this.className=this.className||bu===false?"":b._data(this,"__className__")||""}}})},hasClass:function(e){var bu=" "+e+" ";for(var bt=0,bs=this.length;bt<bs;bt++){if((" "+this[bt].className+" ").replace(aK," ").indexOf(bu)>-1){return true}}return false},val:function(bu){var e,bs,bt=this[0];if(!arguments.length){if(bt){e=b.valHooks[bt.nodeName.toLowerCase()]||b.valHooks[bt.type];if(e&&"get" in e&&(bs=e.get(bt,"value"))!==K){return bs}bs=bt.value;return typeof bs==="string"?bs.replace(aO,""):bs==null?"":bs}return K}var bv=b.isFunction(bu);return this.each(function(bx){var bw=b(this),by;if(this.nodeType!==1){return}if(bv){by=bu.call(this,bx,bw.val())}else{by=bu}if(by==null){by=""}else{if(typeof by==="number"){by+=""}else{if(b.isArray(by)){by=b.map(by,function(bz){return bz==null?"":bz+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,by,"value")===K){this.value=by}})}});b.extend({valHooks:{option:{get:function(e){var bs=e.attributes.value;return !bs||bs.specified?e.value:e.text}},select:{get:function(e){var bx,bv=e.selectedIndex,by=[],bz=e.options,bu=e.type==="select-one";if(bv<0){return null}for(var bs=bu?bv:0,bw=bu?bv+1:bz.length;bs<bw;bs++){var bt=bz[bs];if(bt.selected&&(b.support.optDisabled?!bt.disabled:bt.getAttribute("disabled")===null)&&(!bt.parentNode.disabled||!b.nodeName(bt.parentNode,"optgroup"))){bx=b(bt).val();if(bu){return bx}by.push(bx)}}if(bu&&!by.length&&bz.length){return b(bz[bv]).val()}return by},set:function(bs,bt){var e=b.makeArray(bt);b(bs).find("option").each(function(){this.selected=b.inArray(b(this).val(),e)>=0});if(!e.length){bs.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attrFix:{tabindex:"tabIndex"},attr:function(bx,bu,by,bw){var bs=bx.nodeType;if(!bx||bs===3||bs===8||bs===2){return K}if(bw&&bu in b.attrFn){return b(bx)[bu](by)}if(!("getAttribute" in bx)){return b.prop(bx,bu,by)}var bt,e,bv=bs!==1||!b.isXMLDoc(bx);if(bv){bu=b.attrFix[bu]||bu;e=b.attrHooks[bu];if(!e){if(ak.test(bu)){e=aU}else{if(a0&&bu!=="className"&&(b.nodeName(bx,"form")||a5.test(bu))){e=a0}}}}if(by!==K){if(by===null){b.removeAttr(bx,bu);return K}else{if(e&&"set" in e&&bv&&(bt=e.set(bx,by,bu))!==K){return bt}else{bx.setAttribute(bu,""+by);return by}}}else{if(e&&"get" in e&&bv&&(bt=e.get(bx,bu))!==null){return bt}else{bt=bx.getAttribute(bu);return bt===null?K:bt}}},removeAttr:function(bs,e){var bt;if(bs.nodeType===1){e=b.attrFix[e]||e;if(b.support.getSetAttribute){bs.removeAttribute(e)}else{b.attr(bs,e,"");bs.removeAttributeNode(bs.getAttributeNode(e))}if(ak.test(e)&&(bt=b.propFix[e]||e) in bs){bs[bt]=false}}},attrHooks:{type:{set:function(e,bs){if(g.test(e.nodeName)&&e.parentNode){b.error("type property can't be changed")}else{if(!b.support.radioValue&&bs==="radio"&&b.nodeName(e,"input")){var bt=e.value;e.setAttribute("type",bs);if(bt){e.value=bt}return bs}}}},tabIndex:{get:function(bs){var e=bs.getAttributeNode("tabIndex");return e&&e.specified?parseInt(e.value,10):D.test(bs.nodeName)||l.test(bs.nodeName)&&bs.href?0:K}},value:{get:function(bs,e){if(a0&&b.nodeName(bs,"button")){return a0.get(bs,e)}return e in bs?bs.value:null},set:function(bs,bt,e){if(a0&&b.nodeName(bs,"button")){return a0.set(bs,bt,e)}bs.value=bt}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(bw,bu,bx){var bs=bw.nodeType;if(!bw||bs===3||bs===8||bs===2){return K}var bt,e,bv=bs!==1||!b.isXMLDoc(bw);if(bv){bu=b.propFix[bu]||bu;e=b.propHooks[bu]}if(bx!==K){if(e&&"set" in e&&(bt=e.set(bw,bx,bu))!==K){return bt}else{return(bw[bu]=bx)}}else{if(e&&"get" in e&&(bt=e.get(bw,bu))!==K){return bt}else{return bw[bu]}}},propHooks:{}});aU={get:function(bs,e){return b.prop(bs,e)?e.toLowerCase():K},set:function(bs,bu,e){var bt;if(bu===false){b.removeAttr(bs,e)}else{bt=b.propFix[e]||e;if(bt in bs){bs[bt]=true}bs.setAttribute(e,e.toLowerCase())}return e}};if(!b.support.getSetAttribute){b.attrFix=b.propFix;a0=b.attrHooks.name=b.attrHooks.title=b.valHooks.button={get:function(bt,bs){var e;e=bt.getAttributeNode(bs);return e&&e.nodeValue!==""?e.nodeValue:K},set:function(bt,bu,bs){var e=bt.getAttributeNode(bs);if(e){e.nodeValue=bu;return bu}}};b.each(["width","height"],function(bs,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{set:function(bt,bu){if(bu===""){bt.setAttribute(e,"auto");return bu}}})})}if(!b.support.hrefNormalized){b.each(["href","src","width","height"],function(bs,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{get:function(bu){var bt=bu.getAttribute(e,2);return bt===null?K:bt}})})}if(!b.support.style){b.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||K},set:function(e,bs){return(e.style.cssText=""+bs)}}}if(!b.support.optSelected){b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(bs){var e=bs.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}}})}if(!b.support.checkOn){b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}})}b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,bs){if(b.isArray(bs)){return(e.checked=b.inArray(b(e).val(),bs)>=0)}}})});var aW=/\.(.*)$/,bb=/^(?:textarea|input|select)$/i,N=/\./g,bf=/ /g,aC=/[^\w\s.|`]/g,G=function(e){return e.replace(aC,"\\$&")};b.event={add:function(bu,by,bD,bw){if(bu.nodeType===3||bu.nodeType===8){return}if(bD===false){bD=bh}else{if(!bD){return}}var bs,bC;if(bD.handler){bs=bD;bD=bs.handler}if(!bD.guid){bD.guid=b.guid++}var bz=b._data(bu);if(!bz){return}var bE=bz.events,bx=bz.handle;if(!bE){bz.events=bE={}}if(!bx){bz.handle=bx=function(bF){return typeof b!=="undefined"&&(!bF||b.event.triggered!==bF.type)?b.event.handle.apply(bx.elem,arguments):K}}bx.elem=bu;by=by.split(" ");var bB,bv=0,e;while((bB=by[bv++])){bC=bs?b.extend({},bs):{handler:bD,data:bw};if(bB.indexOf(".")>-1){e=bB.split(".");bB=e.shift();bC.namespace=e.slice(0).sort().join(".")}else{e=[];bC.namespace=""}bC.type=bB;if(!bC.guid){bC.guid=bD.guid}var bt=bE[bB],bA=b.event.special[bB]||{};if(!bt){bt=bE[bB]=[];if(!bA.setup||bA.setup.call(bu,bw,e,bx)===false){if(bu.addEventListener){bu.addEventListener(bB,bx,false)}else{if(bu.attachEvent){bu.attachEvent("on"+bB,bx)}}}}if(bA.add){bA.add.call(bu,bC);if(!bC.handler.guid){bC.handler.guid=bD.guid}}bt.push(bC);b.event.global[bB]=true}bu=null},global:{},remove:function(bG,bB,bt,bx){if(bG.nodeType===3||bG.nodeType===8){return}if(bt===false){bt=bh}var bJ,bw,by,bD,bE=0,bu,bz,bC,bv,bA,e,bI,bF=b.hasData(bG)&&b._data(bG),bs=bF&&bF.events;if(!bF||!bs){return}if(bB&&bB.type){bt=bB.handler;bB=bB.type}if(!bB||typeof bB==="string"&&bB.charAt(0)==="."){bB=bB||"";for(bw in bs){b.event.remove(bG,bw+bB)}return}bB=bB.split(" ");while((bw=bB[bE++])){bI=bw;e=null;bu=bw.indexOf(".")<0;bz=[];if(!bu){bz=bw.split(".");bw=bz.shift();bC=new RegExp("(^|\\.)"+b.map(bz.slice(0).sort(),G).join("\\.(?:.*\\.)?")+"(\\.|$)")}bA=bs[bw];if(!bA){continue}if(!bt){for(bD=0;bD<bA.length;bD++){e=bA[bD];if(bu||bC.test(e.namespace)){b.event.remove(bG,bI,e.handler,bD);bA.splice(bD--,1)}}continue}bv=b.event.special[bw]||{};for(bD=bx||0;bD<bA.length;bD++){e=bA[bD];if(bt.guid===e.guid){if(bu||bC.test(e.namespace)){if(bx==null){bA.splice(bD--,1)}if(bv.remove){bv.remove.call(bG,e)}}if(bx!=null){break}}}if(bA.length===0||bx!=null&&bA.length===1){if(!bv.teardown||bv.teardown.call(bG,bz)===false){b.removeEvent(bG,bw,bF.handle)}bJ=null;delete bs[bw]}}if(b.isEmptyObject(bs)){var bH=bF.handle;if(bH){bH.elem=null}delete bF.events;delete bF.handle;if(b.isEmptyObject(bF)){b.removeData(bG,K,true)}}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(e,by,bw,bD){var bB=e.type||e,bt=[],bs;if(bB.indexOf("!")>=0){bB=bB.slice(0,-1);bs=true}if(bB.indexOf(".")>=0){bt=bB.split(".");bB=bt.shift();bt.sort()}if((!bw||b.event.customEvent[bB])&&!b.event.global[bB]){return}e=typeof e==="object"?e[b.expando]?e:new b.Event(bB,e):new b.Event(bB);e.type=bB;e.exclusive=bs;e.namespace=bt.join(".");e.namespace_re=new RegExp("(^|\\.)"+bt.join("\\.(?:.*\\.)?")+"(\\.|$)");if(bD||!bw){e.preventDefault();e.stopPropagation()}if(!bw){b.each(b.cache,function(){var bF=b.expando,bE=this[bF];if(bE&&bE.events&&bE.events[bB]){b.event.trigger(e,by,bE.handle.elem)}});return}if(bw.nodeType===3||bw.nodeType===8){return}e.result=K;e.target=bw;by=by!=null?b.makeArray(by):[];by.unshift(e);var bC=bw,bu=bB.indexOf(":")<0?"on"+bB:"";do{var bz=b._data(bC,"handle");e.currentTarget=bC;if(bz){bz.apply(bC,by)}if(bu&&b.acceptData(bC)&&bC[bu]&&bC[bu].apply(bC,by)===false){e.result=false;e.preventDefault()}bC=bC.parentNode||bC.ownerDocument||bC===e.target.ownerDocument&&a9}while(bC&&!e.isPropagationStopped());if(!e.isDefaultPrevented()){var bv,bA=b.event.special[bB]||{};if((!bA._default||bA._default.call(bw.ownerDocument,e)===false)&&!(bB==="click"&&b.nodeName(bw,"a"))&&b.acceptData(bw)){try{if(bu&&bw[bB]){bv=bw[bu];if(bv){bw[bu]=null}b.event.triggered=bB;bw[bB]()}}catch(bx){}if(bv){bw[bu]=bv}b.event.triggered=K}}return e.result},handle:function(by){by=b.event.fix(by||a9.event);var bs=((b._data(this,"events")||{})[by.type]||[]).slice(0),bx=!by.exclusive&&!by.namespace,bv=Array.prototype.slice.call(arguments,0);bv[0]=by;by.currentTarget=this;for(var bu=0,e=bs.length;bu<e;bu++){var bw=bs[bu];if(bx||by.namespace_re.test(bw.namespace)){by.handler=bw.handler;by.data=bw.data;by.handleObj=bw;var bt=bw.handler.apply(this,bv);if(bt!==K){by.result=bt;if(bt===false){by.preventDefault();by.stopPropagation()}}if(by.isImmediatePropagationStopped()){break}}}return by.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(bv){if(bv[b.expando]){return bv}var bs=bv;bv=b.Event(bs);for(var bt=this.props.length,bx;bt;){bx=this.props[--bt];bv[bx]=bs[bx]}if(!bv.target){bv.target=bv.srcElement||aq}if(bv.target.nodeType===3){bv.target=bv.target.parentNode}if(!bv.relatedTarget&&bv.fromElement){bv.relatedTarget=bv.fromElement===bv.target?bv.toElement:bv.fromElement}if(bv.pageX==null&&bv.clientX!=null){var bu=bv.target.ownerDocument||aq,bw=bu.documentElement,e=bu.body;bv.pageX=bv.clientX+(bw&&bw.scrollLeft||e&&e.scrollLeft||0)-(bw&&bw.clientLeft||e&&e.clientLeft||0);bv.pageY=bv.clientY+(bw&&bw.scrollTop||e&&e.scrollTop||0)-(bw&&bw.clientTop||e&&e.clientTop||0)}if(bv.which==null&&(bv.charCode!=null||bv.keyCode!=null)){bv.which=bv.charCode!=null?bv.charCode:bv.keyCode}if(!bv.metaKey&&bv.ctrlKey){bv.metaKey=bv.ctrlKey}if(!bv.which&&bv.button!==K){bv.which=(bv.button&1?1:(bv.button&2?3:(bv.button&4?2:0)))}return bv},guid:100000000,proxy:b.proxy,special:{ready:{setup:b.bindReady,teardown:b.noop},live:{add:function(e){b.event.add(this,p(e.origType,e.selector),b.extend({},e,{handler:ai,guid:e.handler.guid}))},remove:function(e){b.event.remove(this,p(e.origType,e.selector),e)}},beforeunload:{setup:function(bt,bs,e){if(b.isWindow(this)){this.onbeforeunload=e}},teardown:function(bs,e){if(this.onbeforeunload===e){this.onbeforeunload=null}}}}};b.removeEvent=aq.removeEventListener?function(bs,e,bt){if(bs.removeEventListener){bs.removeEventListener(e,bt,false)}}:function(bs,e,bt){if(bs.detachEvent){bs.detachEvent("on"+e,bt)}};b.Event=function(bs,e){if(!this.preventDefault){return new b.Event(bs,e)}if(bs&&bs.type){this.originalEvent=bs;this.type=bs.type;this.isDefaultPrevented=(bs.defaultPrevented||bs.returnValue===false||bs.getPreventDefault&&bs.getPreventDefault())?i:bh}else{this.type=bs}if(e){b.extend(this,e)}this.timeStamp=b.now();this[b.expando]=true};function bh(){return false}function i(){return true}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=i;var bs=this.originalEvent;if(!bs){return}if(bs.preventDefault){bs.preventDefault()}else{bs.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=i;var bs=this.originalEvent;if(!bs){return}if(bs.stopPropagation){bs.stopPropagation()}bs.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i;this.stopPropagation()},isDefaultPrevented:bh,isPropagationStopped:bh,isImmediatePropagationStopped:bh};var ab=function(bt){var bu=bt.relatedTarget,e=false,bs=bt.type;bt.type=bt.data;if(bu!==this){if(bu){e=b.contains(this,bu)}if(!e){b.event.handle.apply(this,arguments);bt.type=bs}}},aR=function(e){e.type=e.data;b.event.handle.apply(this,arguments)};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(bs,e){b.event.special[bs]={setup:function(bt){b.event.add(this,e,bt&&bt.selector?aR:ab,bs)},teardown:function(bt){b.event.remove(this,e,bt&&bt.selector?aR:ab)}}});if(!b.support.submitBubbles){b.event.special.submit={setup:function(bs,e){if(!b.nodeName(this,"form")){b.event.add(this,"click.specialSubmit",function(bv){var bu=bv.target,bt=bu.type;if((bt==="submit"||bt==="image")&&b(bu).closest("form").length){aT("submit",this,arguments)}});b.event.add(this,"keypress.specialSubmit",function(bv){var bu=bv.target,bt=bu.type;if((bt==="text"||bt==="password")&&b(bu).closest("form").length&&bv.keyCode===13){aT("submit",this,arguments)}})}else{return false}},teardown:function(e){b.event.remove(this,".specialSubmit")}}}if(!b.support.changeBubbles){var bk,k=function(bs){var e=bs.type,bt=bs.value;if(e==="radio"||e==="checkbox"){bt=bs.checked}else{if(e==="select-multiple"){bt=bs.selectedIndex>-1?b.map(bs.options,function(bu){return bu.selected}).join("-"):""}else{if(b.nodeName(bs,"select")){bt=bs.selectedIndex}}}return bt},Z=function Z(bu){var bs=bu.target,bt,bv;if(!bb.test(bs.nodeName)||bs.readOnly){return}bt=b._data(bs,"_change_data");bv=k(bs);if(bu.type!=="focusout"||bs.type!=="radio"){b._data(bs,"_change_data",bv)}if(bt===K||bv===bt){return}if(bt!=null||bv){bu.type="change";bu.liveFired=K;b.event.trigger(bu,arguments[1],bs)}};b.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(bu){var bt=bu.target,bs=b.nodeName(bt,"input")?bt.type:"";if(bs==="radio"||bs==="checkbox"||b.nodeName(bt,"select")){Z.call(this,bu)}},keydown:function(bu){var bt=bu.target,bs=b.nodeName(bt,"input")?bt.type:"";if((bu.keyCode===13&&!b.nodeName(bt,"textarea"))||(bu.keyCode===32&&(bs==="checkbox"||bs==="radio"))||bs==="select-multiple"){Z.call(this,bu)}},beforeactivate:function(bt){var bs=bt.target;b._data(bs,"_change_data",k(bs))}},setup:function(bt,bs){if(this.type==="file"){return false}for(var e in bk){b.event.add(this,e+".specialChange",bk[e])}return bb.test(this.nodeName)},teardown:function(e){b.event.remove(this,".specialChange");return bb.test(this.nodeName)}};bk=b.event.special.change.filters;bk.focus=bk.beforeactivate}function aT(bs,bu,e){var bt=b.extend({},e[0]);bt.type=bs;bt.originalEvent={};bt.liveFired=K;b.event.handle.call(bu,bt);if(bt.isDefaultPrevented()){e[0].preventDefault()}}if(!b.support.focusinBubbles){b.each({focus:"focusin",blur:"focusout"},function(bu,e){var bs=0;b.event.special[e]={setup:function(){if(bs++===0){aq.addEventListener(bu,bt,true)}},teardown:function(){if(--bs===0){aq.removeEventListener(bu,bt,true)}}};function bt(bv){var bw=b.event.fix(bv);bw.type=e;bw.originalEvent={};b.event.trigger(bw,null,bw.target);if(bw.isDefaultPrevented()){bv.preventDefault()}}})}b.each(["bind","one"],function(bs,e){b.fn[e]=function(by,bz,bx){var bw;if(typeof by==="object"){for(var bv in by){this[e](bv,bz,by[bv],bx)}return this}if(arguments.length===2||bz===false){bx=bz;bz=K}if(e==="one"){bw=function(bA){b(this).unbind(bA,bw);return bx.apply(this,arguments)};bw.guid=bx.guid||b.guid++}else{bw=bx}if(by==="unload"&&e!=="one"){this.one(by,bz,bx)}else{for(var bu=0,bt=this.length;bu<bt;bu++){b.event.add(this[bu],by,bw,bz)}}return this}});b.fn.extend({unbind:function(bv,bu){if(typeof bv==="object"&&!bv.preventDefault){for(var bt in bv){this.unbind(bt,bv[bt])}}else{for(var bs=0,e=this.length;bs<e;bs++){b.event.remove(this[bs],bv,bu)}}return this},delegate:function(e,bs,bu,bt){return this.live(bs,bu,bt,e)},undelegate:function(e,bs,bt){if(arguments.length===0){return this.unbind("live")}else{return this.die(bs,null,bt,e)}},trigger:function(e,bs){return this.each(function(){b.event.trigger(e,bs,this)})},triggerHandler:function(e,bs){if(this[0]){return b.event.trigger(e,bs,this[0],true)}},toggle:function(bu){var bs=arguments,e=bu.guid||b.guid++,bt=0,bv=function(bw){var bx=(b.data(this,"lastToggle"+bu.guid)||0)%bt;b.data(this,"lastToggle"+bu.guid,bx+1);bw.preventDefault();return bs[bx].apply(this,arguments)||false};bv.guid=e;while(bt<bs.length){bs[bt++].guid=e}return this.click(bv)},hover:function(e,bs){return this.mouseenter(e).mouseleave(bs||e)}});var aP={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};b.each(["live","die"],function(bs,e){b.fn[e]=function(bC,bz,bE,bv){var bD,bA=0,bB,bu,bG,bx=bv||this.selector,bt=bv?this:b(this.context);if(typeof bC==="object"&&!bC.preventDefault){for(var bF in bC){bt[e](bF,bz,bC[bF],bx)}return this}if(e==="die"&&!bC&&bv&&bv.charAt(0)==="."){bt.unbind(bv);return this}if(bz===false||b.isFunction(bz)){bE=bz||bh;bz=K}bC=(bC||"").split(" ");while((bD=bC[bA++])!=null){bB=aW.exec(bD);bu="";if(bB){bu=bB[0];bD=bD.replace(aW,"")}if(bD==="hover"){bC.push("mouseenter"+bu,"mouseleave"+bu);continue}bG=bD;if(aP[bD]){bC.push(aP[bD]+bu);bD=bD+bu}else{bD=(aP[bD]||bD)+bu}if(e==="live"){for(var by=0,bw=bt.length;by<bw;by++){b.event.add(bt[by],"live."+p(bD,bx),{data:bz,selector:bx,handler:bE,origType:bD,origHandler:bE,preType:bG})}}else{bt.unbind("live."+p(bD,bx),bE)}}return this}});function ai(bC){var bz,bu,bI,bw,e,bE,bB,bD,bA,bH,by,bx,bG,bF=[],bv=[],bs=b._data(this,"events");if(bC.liveFired===this||!bs||!bs.live||bC.target.disabled||bC.button&&bC.type==="click"){return}if(bC.namespace){bx=new RegExp("(^|\\.)"+bC.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")}bC.liveFired=this;var bt=bs.live.slice(0);for(bB=0;bB<bt.length;bB++){e=bt[bB];if(e.origType.replace(aW,"")===bC.type){bv.push(e.selector)}else{bt.splice(bB--,1)}}bw=b(bC.target).closest(bv,bC.currentTarget);for(bD=0,bA=bw.length;bD<bA;bD++){by=bw[bD];for(bB=0;bB<bt.length;bB++){e=bt[bB];if(by.selector===e.selector&&(!bx||bx.test(e.namespace))&&!by.elem.disabled){bE=by.elem;bI=null;if(e.preType==="mouseenter"||e.preType==="mouseleave"){bC.type=e.preType;bI=b(bC.relatedTarget).closest(e.selector)[0];if(bI&&b.contains(bE,bI)){bI=bE}}if(!bI||bI!==bE){bF.push({elem:bE,handleObj:e,level:by.level})}}}}for(bD=0,bA=bF.length;bD<bA;bD++){bw=bF[bD];if(bu&&bw.level>bu){break}bC.currentTarget=bw.elem;bC.data=bw.handleObj.data;bC.handleObj=bw.handleObj;bG=bw.handleObj.origHandler.apply(bw.elem,arguments);if(bG===false||bC.isPropagationStopped()){bu=bw.level;if(bG===false){bz=false}if(bC.isImmediatePropagationStopped()){break}}}return bz}function p(bs,e){return(bs&&bs!=="*"?bs+".":"")+e.replace(N,"`").replace(bf,"&")}b.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error").split(" "),function(bs,e){b.fn[e]=function(bu,bt){if(bt==null){bt=bu;bu=null}return arguments.length>0?this.bind(e,bu,bt):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}});
ikiwiki-3.20200202.3/underlays/jquery/ikiwiki/jquery.min.js-17-/*
##############################################
ikiwiki-3.20200202.3/underlays/jquery/ikiwiki/jquery.min.js-22- */
ikiwiki-3.20200202.3/underlays/jquery/ikiwiki/jquery.min.js:23:(function(){var bC=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bD=0,bG=Object.prototype.toString,bx=false,bw=true,bE=/\\/g,bK=/\W/;[0,0].sort(function(){bw=false;return 0});var bu=function(bP,e,bS,bT){bS=bS||[];e=e||aq;var bV=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bP||typeof bP!=="string"){return bS}var bM,bX,b0,bL,bW,bZ,bY,bR,bO=true,bN=bu.isXML(e),bQ=[],bU=bP;do{bC.exec("");bM=bC.exec(bU);if(bM){bU=bM[3];bQ.push(bM[1]);if(bM[2]){bL=bM[3];break}}}while(bM);if(bQ.length>1&&by.exec(bP)){if(bQ.length===2&&bz.relative[bQ[0]]){bX=bH(bQ[0]+bQ[1],e)}else{bX=bz.relative[bQ[0]]?[e]:bu(bQ.shift(),e);while(bQ.length){bP=bQ.shift();if(bz.relative[bP]){bP+=bQ.shift()}bX=bH(bP,bX)}}}else{if(!bT&&bQ.length>1&&e.nodeType===9&&!bN&&bz.match.ID.test(bQ[0])&&!bz.match.ID.test(bQ[bQ.length-1])){bW=bu.find(bQ.shift(),e,bN);e=bW.expr?bu.filter(bW.expr,bW.set)[0]:bW.set[0]}if(e){bW=bT?{expr:bQ.pop(),set:bA(bT)}:bu.find(bQ.pop(),bQ.length===1&&(bQ[0]==="~"||bQ[0]==="+")&&e.parentNode?e.parentNode:e,bN);bX=bW.expr?bu.filter(bW.expr,bW.set):bW.set;if(bQ.length>0){b0=bA(bX)}else{bO=false}while(bQ.length){bZ=bQ.pop();bY=bZ;if(!bz.relative[bZ]){bZ=""}else{bY=bQ.pop()}if(bY==null){bY=e}bz.relative[bZ](b0,bY,bN)}}else{b0=bQ=[]}}if(!b0){b0=bX}if(!b0){bu.error(bZ||bP)}if(bG.call(b0)==="[object Array]"){if(!bO){bS.push.apply(bS,b0)}else{if(e&&e.nodeType===1){for(bR=0;b0[bR]!=null;bR++){if(b0[bR]&&(b0[bR]===true||b0[bR].nodeType===1&&bu.contains(e,b0[bR]))){bS.push(bX[bR])}}}else{for(bR=0;b0[bR]!=null;bR++){if(b0[bR]&&b0[bR].nodeType===1){bS.push(bX[bR])}}}}}else{bA(b0,bS)}if(bL){bu(bL,bV,bS,bT);bu.uniqueSort(bS)}return bS};bu.uniqueSort=function(bL){if(bF){bx=bw;bL.sort(bF);if(bx){for(var e=1;e<bL.length;e++){if(bL[e]===bL[e-1]){bL.splice(e--,1)}}}}return bL};bu.matches=function(e,bL){return bu(e,null,null,bL)};bu.matchesSelector=function(e,bL){return bu(bL,null,null,[e]).length>0};bu.find=function(bR,e,bS){var bQ;if(!bR){return[]}for(var bN=0,bM=bz.order.length;bN<bM;bN++){var bO,bP=bz.order[bN];if((bO=bz.leftMatch[bP].exec(bR))){var bL=bO[1];bO.splice(1,1);if(bL.substr(bL.length-1)!=="\\"){bO[1]=(bO[1]||"").replace(bE,"");bQ=bz.find[bP](bO,e,bS);if(bQ!=null){bR=bR.replace(bz.match[bP],"");break}}}}if(!bQ){bQ=typeof e.getElementsByTagName!=="undefined"?e.getElementsByTagName("*"):[]}return{set:bQ,expr:bR}};bu.filter=function(bV,bU,bY,bO){var bQ,e,bM=bV,b0=[],bS=bU,bR=bU&&bU[0]&&bu.isXML(bU[0]);while(bV&&bU.length){for(var bT in bz.filter){if((bQ=bz.leftMatch[bT].exec(bV))!=null&&bQ[2]){var bZ,bX,bL=bz.filter[bT],bN=bQ[1];e=false;bQ.splice(1,1);if(bN.substr(bN.length-1)==="\\"){continue}if(bS===b0){b0=[]}if(bz.preFilter[bT]){bQ=bz.preFilter[bT](bQ,bS,bY,b0,bO,bR);if(!bQ){e=bZ=true}else{if(bQ===true){continue}}}if(bQ){for(var bP=0;(bX=bS[bP])!=null;bP++){if(bX){bZ=bL(bX,bQ,bP,bS);var bW=bO^!!bZ;if(bY&&bZ!=null){if(bW){e=true}else{bS[bP]=false}}else{if(bW){b0.push(bX);e=true}}}}}if(bZ!==K){if(!bY){bS=b0}bV=bV.replace(bz.match[bT],"");if(!e){return[]}break}}}if(bV===bM){if(e==null){bu.error(bV)}else{break}}bM=bV}return bS};bu.error=function(e){throw"Syntax error, unrecognized expression: "+e};var bz=bu.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(bQ,bL){var bN=typeof bL==="string",bP=bN&&!bK.test(bL),bR=bN&&!bP;if(bP){bL=bL.toLowerCase()}for(var bM=0,e=bQ.length,bO;bM<e;bM++){if((bO=bQ[bM])){while((bO=bO.previousSibling)&&bO.nodeType!==1){}bQ[bM]=bR||bO&&bO.nodeName.toLowerCase()===bL?bO||false:bO===bL}}if(bR){bu.filter(bL,bQ,true)}},">":function(bQ,bL){var bP,bO=typeof bL==="string",bM=0,e=bQ.length;if(bO&&!bK.test(bL)){bL=bL.toLowerCase();for(;bM<e;bM++){bP=bQ[bM];if(bP){var bN=bP.parentNode;bQ[bM]=bN.nodeName.toLowerCase()===bL?bN:false}}}else{for(;bM<e;bM++){bP=bQ[bM];if(bP){bQ[bM]=bO?bP.parentNode:bP.parentNode===bL}}if(bO){bu.filter(bL,bQ,true)}}},"":function(bN,bL,bP){var bO,bM=bD++,e=bI;if(typeof bL==="string"&&!bK.test(bL)){bL=bL.toLowerCase();bO=bL;e=bs}e("parentNode",bL,bM,bN,bO,bP)},"~":function(bN,bL,bP){var bO,bM=bD++,e=bI;if(typeof bL==="string"&&!bK.test(bL)){bL=bL.toLowerCase();bO=bL;e=bs}e("previousSibling",bL,bM,bN,bO,bP)}},find:{ID:function(bL,bM,bN){if(typeof bM.getElementById!=="undefined"&&!bN){var e=bM.getElementById(bL[1]);return e&&e.parentNode?[e]:[]}},NAME:function(bM,bP){if(typeof bP.getElementsByName!=="undefined"){var bL=[],bO=bP.getElementsByName(bM[1]);for(var bN=0,e=bO.length;bN<e;bN++){if(bO[bN].getAttribute("name")===bM[1]){bL.push(bO[bN])}}return bL.length===0?null:bL}},TAG:function(e,bL){if(typeof bL.getElementsByTagName!=="undefined"){return bL.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(bN,bL,bM,e,bQ,bR){bN=" "+bN[1].replace(bE,"")+" ";if(bR){return bN}for(var bO=0,bP;(bP=bL[bO])!=null;bO++){if(bP){if(bQ^(bP.className&&(" "+bP.className+" ").replace(/[\t\n\r]/g," ").indexOf(bN)>=0)){if(!bM){e.push(bP)}}else{if(bM){bL[bO]=false}}}}return false},ID:function(e){return e[1].replace(bE,"")},TAG:function(bL,e){return bL[1].replace(bE,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){bu.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bL=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bL[1]+(bL[2]||1))-0;e[3]=bL[3]-0}else{if(e[2]){bu.error(e[0])}}e[0]=bD++;return e},ATTR:function(bO,bL,bM,e,bP,bQ){var bN=bO[1]=bO[1].replace(bE,"");if(!bQ&&bz.attrMap[bN]){bO[1]=bz.attrMap[bN]}bO[4]=(bO[4]||bO[5]||"").replace(bE,"");if(bO[2]==="~="){bO[4]=" "+bO[4]+" "}return bO},PSEUDO:function(bO,bL,bM,e,bP){if(bO[1]==="not"){if((bC.exec(bO[3])||"").length>1||/^\w/.test(bO[3])){bO[3]=bu(bO[3],null,null,bL)}else{var bN=bu.filter(bO[3],bL,bM,true^bP);if(!bM){e.push.apply(e,bN)}return false}}else{if(bz.match.POS.test(bO[0])||bz.match.CHILD.test(bO[0])){return true}}return bO},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bM,bL,e){return !!bu(e[3],bM).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bM){var e=bM.getAttribute("type"),bL=bM.type;return bM.nodeName.toLowerCase()==="input"&&"text"===bL&&(e===bL||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bL){var e=bL.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bL.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bL){var e=bL.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bL.type},button:function(bL){var e=bL.nodeName.toLowerCase();return e==="input"&&"button"===bL.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bL,e){return e===0},last:function(bM,bL,e,bN){return bL===bN.length-1},even:function(bL,e){return e%2===0},odd:function(bL,e){return e%2===1},lt:function(bM,bL,e){return bL<e[3]-0},gt:function(bM,bL,e){return bL>e[3]-0},nth:function(bM,bL,e){return e[3]-0===bL},eq:function(bM,bL,e){return e[3]-0===bL}},filter:{PSEUDO:function(bM,bR,bQ,bS){var e=bR[1],bL=bz.filters[e];if(bL){return bL(bM,bQ,bR,bS)}else{if(e==="contains"){return(bM.textContent||bM.innerText||bu.getText([bM])||"").indexOf(bR[3])>=0}else{if(e==="not"){var bN=bR[3];for(var bP=0,bO=bN.length;bP<bO;bP++){if(bN[bP]===bM){return false}}return true}else{bu.error(e)}}}},CHILD:function(e,bN){var bQ=bN[1],bL=e;switch(bQ){case"only":case"first":while((bL=bL.previousSibling)){if(bL.nodeType===1){return false}}if(bQ==="first"){return true}bL=e;case"last":while((bL=bL.nextSibling)){if(bL.nodeType===1){return false}}return true;case"nth":var bM=bN[2],bT=bN[3];if(bM===1&&bT===0){return true}var bP=bN[0],bS=e.parentNode;if(bS&&(bS.sizcache!==bP||!e.nodeIndex)){var bO=0;for(bL=bS.firstChild;bL;bL=bL.nextSibling){if(bL.nodeType===1){bL.nodeIndex=++bO}}bS.sizcache=bP}var bR=e.nodeIndex-bT;if(bM===0){return bR===0}else{return(bR%bM===0&&bR/bM>=0)}}},ID:function(bL,e){return bL.nodeType===1&&bL.getAttribute("id")===e},TAG:function(bL,e){return(e==="*"&&bL.nodeType===1)||bL.nodeName.toLowerCase()===e},CLASS:function(bL,e){return(" "+(bL.className||bL.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bP,bN){var bM=bN[1],e=bz.attrHandle[bM]?bz.attrHandle[bM](bP):bP[bM]!=null?bP[bM]:bP.getAttribute(bM),bQ=e+"",bO=bN[2],bL=bN[4];return e==null?bO==="!=":bO==="="?bQ===bL:bO==="*="?bQ.indexOf(bL)>=0:bO==="~="?(" "+bQ+" ").indexOf(bL)>=0:!bL?bQ&&e!==false:bO==="!="?bQ!==bL:bO==="^="?bQ.indexOf(bL)===0:bO==="$="?bQ.substr(bQ.length-bL.length)===bL:bO==="|="?bQ===bL||bQ.substr(0,bL.length+1)===bL+"-":false},POS:function(bO,bL,bM,bP){var e=bL[2],bN=bz.setFilters[e];if(bN){return bN(bO,bM,bL,bP)}}}};var by=bz.match.POS,bt=function(bL,e){return"\\"+(e-0+1)};for(var bv in bz.match){bz.match[bv]=new RegExp(bz.match[bv].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bz.leftMatch[bv]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bz.match[bv].source.replace(/\\(\d+)/g,bt))}var bA=function(bL,e){bL=Array.prototype.slice.call(bL,0);if(e){e.push.apply(e,bL);return e}return bL};try{Array.prototype.slice.call(aq.documentElement.childNodes,0)[0].nodeType}catch(bJ){bA=function(bO,bN){var bM=0,bL=bN||[];if(bG.call(bO)==="[object Array]"){Array.prototype.push.apply(bL,bO)}else{if(typeof bO.length==="number"){for(var e=bO.length;bM<e;bM++){bL.push(bO[bM])}}else{for(;bO[bM];bM++){bL.push(bO[bM])}}}return bL}}var bF,bB;if(aq.documentElement.compareDocumentPosition){bF=function(bL,e){if(bL===e){bx=true;return 0}if(!bL.compareDocumentPosition||!e.compareDocumentPosition){return bL.compareDocumentPosition?-1:1}return bL.compareDocumentPosition(e)&4?-1:1}}else{bF=function(bS,bR){if(bS===bR){bx=true;return 0}else{if(bS.sourceIndex&&bR.sourceIndex){return bS.sourceIndex-bR.sourceIndex}}var bP,bL,bM=[],e=[],bO=bS.parentNode,bQ=bR.parentNode,bT=bO;if(bO===bQ){return bB(bS,bR)}else{if(!bO){return -1}else{if(!bQ){return 1}}}while(bT){bM.unshift(bT);bT=bT.parentNode}bT=bQ;while(bT){e.unshift(bT);bT=bT.parentNode}bP=bM.length;bL=e.length;for(var bN=0;bN<bP&&bN<bL;bN++){if(bM[bN]!==e[bN]){return bB(bM[bN],e[bN])}}return bN===bP?bB(bS,e[bN],-1):bB(bM[bN],bR,1)};bB=function(bL,e,bM){if(bL===e){return bM}var bN=bL.nextSibling;while(bN){if(bN===e){return -1}bN=bN.nextSibling}return 1}}bu.getText=function(e){var bL="",bN;for(var bM=0;e[bM];bM++){bN=e[bM];if(bN.nodeType===3||bN.nodeType===4){bL+=bN.nodeValue}else{if(bN.nodeType!==8){bL+=bu.getText(bN.childNodes)}}}return bL};(function(){var bL=aq.createElement("div"),bM="script"+(new Date()).getTime(),e=aq.documentElement;bL.innerHTML="<a name='"+bM+"'/>";e.insertBefore(bL,e.firstChild);if(aq.getElementById(bM)){bz.find.ID=function(bO,bP,bQ){if(typeof bP.getElementById!=="undefined"&&!bQ){var bN=bP.getElementById(bO[1]);return bN?bN.id===bO[1]||typeof bN.getAttributeNode!=="undefined"&&bN.getAttributeNode("id").nodeValue===bO[1]?[bN]:K:[]}};bz.filter.ID=function(bP,bN){var bO=typeof bP.getAttributeNode!=="undefined"&&bP.getAttributeNode("id");return bP.nodeType===1&&bO&&bO.nodeValue===bN}}e.removeChild(bL);e=bL=null})();(function(){var e=aq.createElement("div");e.appendChild(aq.createComment(""));if(e.getElementsByTagName("*").length>0){bz.find.TAG=function(bL,bP){var bO=bP.getElementsByTagName(bL[1]);if(bL[1]==="*"){var bN=[];for(var bM=0;bO[bM];bM++){if(bO[bM].nodeType===1){bN.push(bO[bM])}}bO=bN}return bO}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bz.attrHandle.href=function(bL){return bL.getAttribute("href",2)}}e=null})();if(aq.querySelectorAll){(function(){var e=bu,bN=aq.createElement("div"),bM="__sizzle__";bN.innerHTML="<p class='TEST'></p>";if(bN.querySelectorAll&&bN.querySelectorAll(".TEST").length===0){return}bu=function(bY,bP,bT,bX){bP=bP||aq;if(!bX&&!bu.isXML(bP)){var bW=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(bY);if(bW&&(bP.nodeType===1||bP.nodeType===9)){if(bW[1]){return bA(bP.getElementsByTagName(bY),bT)}else{if(bW[2]&&bz.find.CLASS&&bP.getElementsByClassName){return bA(bP.getElementsByClassName(bW[2]),bT)}}}if(bP.nodeType===9){if(bY==="body"&&bP.body){return bA([bP.body],bT)}else{if(bW&&bW[3]){var bS=bP.getElementById(bW[3]);if(bS&&bS.parentNode){if(bS.id===bW[3]){return bA([bS],bT)}}else{return bA([],bT)}}}try{return bA(bP.querySelectorAll(bY),bT)}catch(bU){}}else{if(bP.nodeType===1&&bP.nodeName.toLowerCase()!=="object"){var bQ=bP,bR=bP.getAttribute("id"),bO=bR||bM,b0=bP.parentNode,bZ=/^\s*[+~]/.test(bY);if(!bR){bP.setAttribute("id",bO)}else{bO=bO.replace(/'/g,"\\$&")}if(bZ&&b0){bP=bP.parentNode}try{if(!bZ||b0){return bA(bP.querySelectorAll("[id='"+bO+"'] "+bY),bT)}}catch(bV){}finally{if(!bR){bQ.removeAttribute("id")}}}}}return e(bY,bP,bT,bX)};for(var bL in e){bu[bL]=e[bL]}bN=null})()}(function(){var e=aq.documentElement,bM=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bM){var bO=!bM.call(aq.createElement("div"),"div"),bL=false;try{bM.call(aq.documentElement,"[test!='']:sizzle")}catch(bN){bL=true}bu.matchesSelector=function(bQ,bS){bS=bS.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!bu.isXML(bQ)){try{if(bL||!bz.match.PSEUDO.test(bS)&&!/!=/.test(bS)){var bP=bM.call(bQ,bS);if(bP||!bO||bQ.document&&bQ.document.nodeType!==11){return bP}}}catch(bR){}}return bu(bS,null,null,[bQ]).length>0}}})();(function(){var e=aq.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bz.order.splice(1,0,"CLASS");bz.find.CLASS=function(bL,bM,bN){if(typeof bM.getElementsByClassName!=="undefined"&&!bN){return bM.getElementsByClassName(bL[1])}};e=null})();function bs(bL,bQ,bP,bT,bR,bS){for(var bN=0,bM=bT.length;bN<bM;bN++){var e=bT[bN];if(e){var bO=false;e=e[bL];while(e){if(e.sizcache===bP){bO=bT[e.sizset];break}if(e.nodeType===1&&!bS){e.sizcache=bP;e.sizset=bN}if(e.nodeName.toLowerCase()===bQ){bO=e;break}e=e[bL]}bT[bN]=bO}}}function bI(bL,bQ,bP,bT,bR,bS){for(var bN=0,bM=bT.length;bN<bM;bN++){var e=bT[bN];if(e){var bO=false;e=e[bL];while(e){if(e.sizcache===bP){bO=bT[e.sizset];break}if(e.nodeType===1){if(!bS){e.sizcache=bP;e.sizset=bN}if(typeof bQ!=="string"){if(e===bQ){bO=true;break}}else{if(bu.filter(bQ,[e]).length>0){bO=e;break}}}e=e[bL]}bT[bN]=bO}}}if(aq.documentElement.contains){bu.contains=function(bL,e){return bL!==e&&(bL.contains?bL.contains(e):true)}}else{if(aq.documentElement.compareDocumentPosition){bu.contains=function(bL,e){return !!(bL.compareDocumentPosition(e)&16)}}else{bu.contains=function(){return false}}}bu.isXML=function(e){var bL=(e?e.ownerDocument||e:0).documentElement;return bL?bL.nodeName!=="HTML":false};var bH=function(e,bR){var bP,bN=[],bO="",bM=bR.nodeType?[bR]:bR;while((bP=bz.match.PSEUDO.exec(e))){bO+=bP[0];e=e.replace(bz.match.PSEUDO,"")}e=bz.relative[e]?e+"*":e;for(var bQ=0,bL=bM.length;bQ<bL;bQ++){bu(e,bM[bQ],bN)}return bu.filter(bO,bN)};b.find=bu;b.expr=bu.selectors;b.expr[":"]=b.expr.filters;b.unique=bu.uniqueSort;b.text=bu.getText;b.isXMLDoc=bu.isXML;b.contains=bu.contains})();var Y=/Until$/,am=/^(?:parents|prevUntil|prevAll)/,a7=/,/,bn=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,H=b.expr.match.POS,au={children:true,contents:true,next:true,prev:true};b.fn.extend({find:function(e){var bt=this,bv,bs;if(typeof e!=="string"){return b(e).filter(function(){for(bv=0,bs=bt.length;bv<bs;bv++){if(b.contains(bt[bv],this)){return true}}})}var bu=this.pushStack("","find",e),bx,by,bw;for(bv=0,bs=this.length;bv<bs;bv++){bx=bu.length;b.find(e,this[bv],bu);if(bv>0){for(by=bx;by<bu.length;by++){for(bw=0;bw<bx;bw++){if(bu[bw]===bu[by]){bu.splice(by--,1);break}}}}}return bu},has:function(bs){var e=b(bs);return this.filter(function(){for(var bu=0,bt=e.length;bu<bt;bu++){if(b.contains(this,e[bu])){return true}}})},not:function(e){return this.pushStack(aB(this,e,false),"not",e)},filter:function(e){return this.pushStack(aB(this,e,true),"filter",e)},is:function(e){return !!e&&(typeof e==="string"?b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(bB,bs){var by=[],bv,bt,bA=this[0];if(b.isArray(bB)){var bx,bu,bw={},e=1;if(bA&&bB.length){for(bv=0,bt=bB.length;bv<bt;bv++){bu=bB[bv];if(!bw[bu]){bw[bu]=H.test(bu)?b(bu,bs||this.context):bu}}while(bA&&bA.ownerDocument&&bA!==bs){for(bu in bw){bx=bw[bu];if(bx.jquery?bx.index(bA)>-1:b(bA).is(bx)){by.push({selector:bu,elem:bA,level:e})}}bA=bA.parentNode;e++}}return by}var bz=H.test(bB)||typeof bB!=="string"?b(bB,bs||this.context):0;for(bv=0,bt=this.length;bv<bt;bv++){bA=this[bv];while(bA){if(bz?bz.index(bA)>-1:b.find.matchesSelector(bA,bB)){by.push(bA);break}else{bA=bA.parentNode;if(!bA||!bA.ownerDocument||bA===bs||bA.nodeType===11){break}}}}by=by.length>1?b.unique(by):by;return this.pushStack(by,"closest",bB)},index:function(e){if(!e||typeof e==="string"){return b.inArray(this[0],e?b(e):this.parent().children())}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bs){var bu=typeof e==="string"?b(e,bs):b.makeArray(e&&e.nodeType?[e]:e),bt=b.merge(this.get(),bu);return this.pushStack(C(bu[0])||C(bt[0])?bt:b.unique(bt))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bs){var e=bs.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bs,e,bt){return b.dir(bs,"parentNode",bt)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bs,e,bt){return b.dir(bs,"nextSibling",bt)},prevUntil:function(bs,e,bt){return b.dir(bs,"previousSibling",bt)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bs){b.fn[e]=function(bw,bt){var bv=b.map(this,bs,bw),bu=P.call(arguments);if(!Y.test(e)){bt=bw}if(bt&&typeof bt==="string"){bv=b.filter(bt,bv)}bv=this.length>1&&!au[e]?b.unique(bv):bv;if((this.length>1||a7.test(bt))&&am.test(e)){bv=bv.reverse()}return this.pushStack(bv,e,bu.join(","))}});b.extend({filter:function(bt,e,bs){if(bs){bt=":not("+bt+")"}return e.length===1?b.find.matchesSelector(e[0],bt)?[e[0]]:[]:b.find.matches(bt,e)},dir:function(bt,bs,bv){var e=[],bu=bt[bs];while(bu&&bu.nodeType!==9&&(bv===K||bu.nodeType!==1||!b(bu).is(bv))){if(bu.nodeType===1){e.push(bu)}bu=bu[bs]}return e},nth:function(bv,e,bt,bu){e=e||1;var bs=0;for(;bv;bv=bv[bt]){if(bv.nodeType===1&&++bs===e){break}}return bv},sibling:function(bt,bs){var e=[];for(;bt;bt=bt.nextSibling){if(bt.nodeType===1&&bt!==bs){e.push(bt)}}return e}});function aB(bu,bt,e){bt=bt||0;if(b.isFunction(bt)){return b.grep(bu,function(bw,bv){var bx=!!bt.call(bw,bv,bw);return bx===e})}else{if(bt.nodeType){return b.grep(bu,function(bw,bv){return(bw===bt)===e})}else{if(typeof bt==="string"){var bs=b.grep(bu,function(bv){return bv.nodeType===1});if(bn.test(bt)){return b.filter(bt,bs,!e)}else{bt=b.filter(bt,bs)}}}}return b.grep(bu,function(bw,bv){return(b.inArray(bw,bt)>=0)===e})}var ad=/ jQuery\d+="(?:\d+|null)"/g,an=/^\s+/,S=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/<tbody/i,V=/<|&#?\w+;/,O=/<(?:script|object|embed|option|style)/i,n=/checked\s*(?:[^=]|=\s*.checked.)/i,bj=/\/(java|ecma)script/i,aJ=/^\s*<!(?:\[CDATA\[|\-\-)/,at={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};at.optgroup=at.option;at.tbody=at.tfoot=at.colgroup=at.caption=at.thead;at.th=at.td;if(!b.support.htmlSerialize){at._default=[1,"div<div>","</div>"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bt){var bs=b(this);bs.text(e.call(this,bt,bs.text()))})}if(typeof e!=="object"&&e!==K){return this.empty().append((this[0]&&this[0].ownerDocument||aq).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bt){b(this).wrapAll(e.call(this,bt))})}if(this[0]){var bs=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bs.insertBefore(this[0])}bs.map(function(){var bt=this;while(bt.firstChild&&bt.firstChild.nodeType===1){bt=bt.firstChild}return bt}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bs){b(this).wrapInner(e.call(this,bs))})}return this.each(function(){var bs=b(this),bt=bs.contents();if(bt.length){bt.wrapAll(e)}else{bs.append(e)}})},wrap:function(e){return this.each(function(){b(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bs){this.parentNode.insertBefore(bs,this)})}else{if(arguments.length){var e=b(arguments[0]);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bs){this.parentNode.insertBefore(bs,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b(arguments[0]).toArray());return e}}},remove:function(e,bu){for(var bs=0,bt;(bt=this[bs])!=null;bs++){if(!e||b.filter(e,[bt]).length){if(!bu&&bt.nodeType===1){b.cleanData(bt.getElementsByTagName("*"));b.cleanData([bt])}if(bt.parentNode){bt.parentNode.removeChild(bt)}}}return this},empty:function(){for(var e=0,bs;(bs=this[e])!=null;e++){if(bs.nodeType===1){b.cleanData(bs.getElementsByTagName("*"))}while(bs.firstChild){bs.removeChild(bs.firstChild)}}return this},clone:function(bs,e){bs=bs==null?false:bs;e=e==null?bs:e;return this.map(function(){return b.clone(this,bs,e)})},html:function(bu){if(bu===K){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ad,""):null}else{if(typeof bu==="string"&&!O.test(bu)&&(b.support.leadingWhitespace||!an.test(bu))&&!at[(d.exec(bu)||["",""])[1].toLowerCase()]){bu=bu.replace(S,"<$1></$2>");try{for(var bt=0,bs=this.length;bt<bs;bt++){if(this[bt].nodeType===1){b.cleanData(this[bt].getElementsByTagName("*"));this[bt].innerHTML=bu}}}catch(bv){this.empty().append(bu)}}else{if(b.isFunction(bu)){this.each(function(bw){var e=b(this);e.html(bu.call(this,bw,e.html()))})}else{this.empty().append(bu)}}}return this},replaceWith:function(e){if(this[0]&&this[0].parentNode){if(b.isFunction(e)){return this.each(function(bu){var bt=b(this),bs=bt.html();bt.replaceWith(e.call(this,bu,bs))})}if(typeof e!=="string"){e=b(e).detach()}return this.each(function(){var bt=this.nextSibling,bs=this.parentNode;b(this).remove();if(bt){b(bt).before(e)}else{b(bs).append(e)}})}else{return this.length?this.pushStack(b(b.isFunction(e)?e():e),"replaceWith",e):this}},detach:function(e){return this.remove(e,true)},domManip:function(by,bC,bB){var bu,bv,bx,bA,bz=by[0],bs=[];if(!b.support.checkClone&&arguments.length===3&&typeof bz==="string"&&n.test(bz)){return this.each(function(){b(this).domManip(by,bC,bB,true)})}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);by[0]=bz.call(this,bE,bC?bD.html():K);bD.domManip(by,bC,bB)})}if(this[0]){bA=bz&&bz.parentNode;if(b.support.parentNode&&bA&&bA.nodeType===11&&bA.childNodes.length===this.length){bu={fragment:bA}}else{bu=b.buildFragment(by,this,bs)}bx=bu.fragment;if(bx.childNodes.length===1){bv=bx=bx.firstChild}else{bv=bx.firstChild}if(bv){bC=bC&&b.nodeName(bv,"tr");for(var bt=0,e=this.length,bw=e-1;bt<e;bt++){bB.call(bC?a8(this[bt],bv):this[bt],bu.cacheable||(e>1&&bt<bw)?b.clone(bx,true,true):bx)}}if(bs.length){b.each(bs,bm)}}return this}});function a8(e,bs){return b.nodeName(e,"table")?(e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody"))):e}function t(e,by){if(by.nodeType!==1||!b.hasData(e)){return}var bx=b.expando,bu=b.data(e),bv=b.data(by,bu);if((bu=bu[bx])){var bz=bu.events;bv=bv[bx]=b.extend({},bu);if(bz){delete bv.handle;bv.events={};for(var bw in bz){for(var bt=0,bs=bz[bw].length;bt<bs;bt++){b.event.add(by,bw+(bz[bw][bt].namespace?".":"")+bz[bw][bt].namespace,bz[bw][bt],bz[bw][bt].data)}}}}}function ae(bs,e){var bt;if(e.nodeType!==1){return}if(e.clearAttributes){e.clearAttributes()}if(e.mergeAttributes){e.mergeAttributes(bs)}bt=e.nodeName.toLowerCase();if(bt==="object"){e.outerHTML=bs.outerHTML}else{if(bt==="input"&&(bs.type==="checkbox"||bs.type==="radio")){if(bs.checked){e.defaultChecked=e.checked=bs.checked}if(e.value!==bs.value){e.value=bs.value}}else{if(bt==="option"){e.selected=bs.defaultSelected}else{if(bt==="input"||bt==="textarea"){e.defaultValue=bs.defaultValue}}}}e.removeAttribute(b.expando)}b.buildFragment=function(bw,bu,bs){var bv,e,bt,bx;if(bu&&bu[0]){bx=bu[0].ownerDocument||bu[0]}if(!bx.createDocumentFragment){bx=aq}if(bw.length===1&&typeof bw[0]==="string"&&bw[0].length<512&&bx===aq&&bw[0].charAt(0)==="<"&&!O.test(bw[0])&&(b.support.checkClone||!n.test(bw[0]))){e=true;bt=b.fragments[bw[0]];if(bt&&bt!==1){bv=bt}}if(!bv){bv=bx.createDocumentFragment();b.clean(bw,bx,bv,bs)}if(e){b.fragments[bw[0]]=bt?bv:1}return{fragment:bv,cacheable:e}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,bs){b.fn[e]=function(bt){var bw=[],bz=b(bt),by=this.length===1&&this[0].parentNode;if(by&&by.nodeType===11&&by.childNodes.length===1&&bz.length===1){bz[bs](this[0]);return this}else{for(var bx=0,bu=bz.length;bx<bu;bx++){var bv=(bx>0?this.clone(true):this).get();b(bz[bx])[bs](bv);bw=bw.concat(bv)}return this.pushStack(bw,e,bz.selector)}}});function bc(e){if("getElementsByTagName" in e){return e.getElementsByTagName("*")}else{if("querySelectorAll" in e){return e.querySelectorAll("*")}else{return[]}}}function av(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){if(b.nodeName(e,"input")){av(e)}else{if("getElementsByTagName" in e){b.grep(e.getElementsByTagName("input"),av)}}}b.extend({clone:function(bv,bx,bt){var bw=bv.cloneNode(true),e,bs,bu;if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(bv.nodeType===1||bv.nodeType===11)&&!b.isXMLDoc(bv)){ae(bv,bw);e=bc(bv);bs=bc(bw);for(bu=0;e[bu];++bu){ae(e[bu],bs[bu])}}if(bx){t(bv,bw);if(bt){e=bc(bv);bs=bc(bw);for(bu=0;e[bu];++bu){t(e[bu],bs[bu])}}}e=bs=null;return bw},clean:function(bt,bv,bE,bx){var bC;bv=bv||aq;if(typeof bv.createElement==="undefined"){bv=bv.ownerDocument||bv[0]&&bv[0].ownerDocument||aq}var bF=[],by;for(var bB=0,bw;(bw=bt[bB])!=null;bB++){if(typeof bw==="number"){bw+=""}if(!bw){continue}if(typeof bw==="string"){if(!V.test(bw)){bw=bv.createTextNode(bw)}else{bw=bw.replace(S,"<$1></$2>");var bH=(d.exec(bw)||["",""])[1].toLowerCase(),bu=at[bH]||at._default,bA=bu[0],bs=bv.createElement("div");bs.innerHTML=bu[1]+bw+bu[2];while(bA--){bs=bs.lastChild}if(!b.support.tbody){var e=w.test(bw),bz=bH==="table"&&!e?bs.firstChild&&bs.firstChild.childNodes:bu[1]==="<table>"&&!e?bs.childNodes:[];for(by=bz.length-1;by>=0;--by){if(b.nodeName(bz[by],"tbody")&&!bz[by].childNodes.length){bz[by].parentNode.removeChild(bz[by])}}}if(!b.support.leadingWhitespace&&an.test(bw)){bs.insertBefore(bv.createTextNode(an.exec(bw)[0]),bs.firstChild)}bw=bs.childNodes}}var bD;if(!b.support.appendChecked){if(bw[0]&&typeof(bD=bw.length)==="number"){for(by=0;by<bD;by++){E(bw[by])}}else{E(bw)}}if(bw.nodeType){bF.push(bw)}else{bF=b.merge(bF,bw)}}if(bE){bC=function(bI){return !bI.type||bj.test(bI.type)};for(bB=0;bF[bB];bB++){if(bx&&b.nodeName(bF[bB],"script")&&(!bF[bB].type||bF[bB].type.toLowerCase()==="text/javascript")){bx.push(bF[bB].parentNode?bF[bB].parentNode.removeChild(bF[bB]):bF[bB])}else{if(bF[bB].nodeType===1){var bG=b.grep(bF[bB].getElementsByTagName("script"),bC);bF.splice.apply(bF,[bB+1,0].concat(bG))}bE.appendChild(bF[bB])}}}return bF},cleanData:function(bs){var bv,bt,e=b.cache,bA=b.expando,by=b.event.special,bx=b.support.deleteExpando;for(var bw=0,bu;(bu=bs[bw])!=null;bw++){if(bu.nodeName&&b.noData[bu.nodeName.toLowerCase()]){continue}bt=bu[b.expando];if(bt){bv=e[bt]&&e[bt][bA];if(bv&&bv.events){for(var bz in bv.events){if(by[bz]){b.event.remove(bu,bz)}else{b.removeEvent(bu,bz,bv.handle)}}if(bv.handle){bv.handle.elem=null}}if(bx){delete bu[b.expando]}else{if(bu.removeAttribute){bu.removeAttribute(b.expando)}}delete e[bt]}}}});function bm(e,bs){if(bs.src){b.ajax({url:bs.src,async:false,dataType:"script"})}else{b.globalEval((bs.text||bs.textContent||bs.innerHTML||"").replace(aJ,"/*$0*/"))}if(bs.parentNode){bs.parentNode.removeChild(bs)}}var ah=/alpha\([^)]*\)/i,ap=/opacity=([^)]*)/,z=/([A-Z]|^ms)/g,ba=/^-?\d+(?:px)?$/i,bl=/^-?\d/,I=/^[+\-]=/,ag=/[^+\-\.\de]+/g,a4={position:"absolute",visibility:"hidden",display:"block"},aj=["Left","Right"],aY=["Top","Bottom"],W,aE,aS;b.fn.css=function(e,bs){if(arguments.length===2&&bs===K){return this}return b.access(this,e,bs,true,function(bu,bt,bv){return bv!==K?b.style(bu,bt,bv):b.css(bu,bt)})};b.extend({cssHooks:{opacity:{get:function(bt,bs){if(bs){var e=W(bt,"opacity","opacity");return e===""?"1":e}else{return bt.style.opacity}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(bu,bt,bA,bv){if(!bu||bu.nodeType===3||bu.nodeType===8||!bu.style){return}var by,bz,bw=b.camelCase(bt),bs=bu.style,bB=b.cssHooks[bw];bt=b.cssProps[bw]||bw;if(bA!==K){bz=typeof bA;if(bz==="number"&&isNaN(bA)||bA==null){return}if(bz==="string"&&I.test(bA)){bA=+bA.replace(ag,"")+parseFloat(b.css(bu,bt));bz="number"}if(bz==="number"&&!b.cssNumber[bw]){bA+="px"}if(!bB||!("set" in bB)||(bA=bB.set(bu,bA))!==K){try{bs[bt]=bA}catch(bx){}}}else{if(bB&&"get" in bB&&(by=bB.get(bu,false,bv))!==K){return by}return bs[bt]}},css:function(bv,bu,bs){var bt,e;bu=b.camelCase(bu);e=b.cssHooks[bu];bu=b.cssProps[bu]||bu;if(bu==="cssFloat"){bu="float"}if(e&&"get" in e&&(bt=e.get(bv,true,bs))!==K){return bt}else{if(W){return W(bv,bu)}}},swap:function(bu,bt,bv){var e={};for(var bs in bt){e[bs]=bu.style[bs];bu.style[bs]=bt[bs]}bv.call(bu);for(bs in bt){bu.style[bs]=e[bs]}}});b.curCSS=b.css;b.each(["height","width"],function(bs,e){b.cssHooks[e]={get:function(bv,bu,bt){var bw;if(bu){if(bv.offsetWidth!==0){return o(bv,e,bt)}else{b.swap(bv,a4,function(){bw=o(bv,e,bt)})}return bw}},set:function(bt,bu){if(ba.test(bu)){bu=parseFloat(bu);if(bu>=0){return bu+"px"}}else{return bu}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bs,e){return ap.test((e&&bs.currentStyle?bs.currentStyle.filter:bs.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(bv,bw){var bu=bv.style,bs=bv.currentStyle;bu.zoom=1;var e=b.isNaN(bw)?"":"alpha(opacity="+bw*100+")",bt=bs&&bs.filter||bu.filter||"";bu.filter=ah.test(bt)?bt.replace(ah,e):bt+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bt,bs){var e;b.swap(bt,{display:"inline-block"},function(){if(bs){e=W(bt,"margin-right","marginRight")}else{e=bt.style.marginRight}});return e}}}});if(aq.defaultView&&aq.defaultView.getComputedStyle){aE=function(bv,bt){var bs,bu,e;bt=bt.replace(z,"-$1").toLowerCase();if(!(bu=bv.ownerDocument.defaultView)){return K}if((e=bu.getComputedStyle(bv,null))){bs=e.getPropertyValue(bt);if(bs===""&&!b.contains(bv.ownerDocument.documentElement,bv)){bs=b.style(bv,bt)}}return bs}}if(aq.documentElement.currentStyle){aS=function(bv,bt){var bw,bs=bv.currentStyle&&bv.currentStyle[bt],e=bv.runtimeStyle&&bv.runtimeStyle[bt],bu=bv.style;if(!ba.test(bs)&&bl.test(bs)){bw=bu.left;if(e){bv.runtimeStyle.left=bv.currentStyle.left}bu.left=bt==="fontSize"?"1em":(bs||0);bs=bu.pixelLeft+"px";bu.left=bw;if(e){bv.runtimeStyle.left=e}}return bs===""?"auto":bs}}W=aE||aS;function o(bt,bs,e){var bv=bs==="width"?bt.offsetWidth:bt.offsetHeight,bu=bs==="width"?aj:aY;if(bv>0){if(e!=="border"){b.each(bu,function(){if(!e){bv-=parseFloat(b.css(bt,"padding"+this))||0}if(e==="margin"){bv+=parseFloat(b.css(bt,e+this))||0}else{bv-=parseFloat(b.css(bt,"border"+this+"Width"))||0}})}return bv+"px"}bv=W(bt,bs,bs);if(bv<0||bv==null){bv=bt.style[bs]||0}bv=parseFloat(bv)||0;if(e){b.each(bu,function(){bv+=parseFloat(b.css(bt,"padding"+this))||0;if(e!=="padding"){bv+=parseFloat(b.css(bt,"border"+this+"Width"))||0}if(e==="margin"){bv+=parseFloat(b.css(bt,e+this))||0}})}return bv+"px"}if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(bt){var bs=bt.offsetWidth,e=bt.offsetHeight;return(bs===0&&e===0)||(!b.support.reliableHiddenOffsets&&(bt.style.display||b.css(bt,"display"))==="none")};b.expr.filters.visible=function(e){return !b.expr.filters.hidden(e)}}var j=/%20/g,al=/\[\]$/,bq=/\r?\n/g,bo=/#.*$/,az=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,aV=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aI=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,aL=/^(?:GET|HEAD)$/,c=/^\/\//,L=/\?/,a3=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,bp=/([?&])_=[^&]*/,J=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,X={},r={},aA,s;try{aA=bi.href}catch(ar){aA=aq.createElement("a");aA.href="";aA=aA.href}s=J.exec(aA.toLowerCase())||[];function f(e){return function(bv,bx){if(typeof bv!=="string"){bx=bv;bv="*"}if(b.isFunction(bx)){var bu=bv.toLowerCase().split(h),bt=0,bw=bu.length,bs,by,bz;for(;bt<bw;bt++){bs=bu[bt];bz=/^\+/.test(bs);if(bz){bs=bs.substr(1)||"*"}by=e[bs]=e[bs]||[];by[bz?"unshift":"push"](bx)}}}}function aQ(bs,bB,bw,bA,by,bu){by=by||bB.dataTypes[0];bu=bu||{};bu[by]=true;var bx=bs[by],bt=0,e=bx?bx.length:0,bv=(bs===X),bz;for(;bt<e&&(bv||!bz);bt++){bz=bx[bt](bB,bw,bA);if(typeof bz==="string"){if(!bv||bu[bz]){bz=K}else{bB.dataTypes.unshift(bz);bz=aQ(bs,bB,bw,bA,bz,bu)}}}if((bv||!bz)&&!bu["*"]){bz=aQ(bs,bB,bw,bA,"*",bu)}return bz}b.fn.extend({load:function(bt,bw,bx){if(typeof bt!=="string"&&A){return A.apply(this,arguments)}else{if(!this.length){return this}}var bv=bt.indexOf(" ");if(bv>=0){var e=bt.slice(bv,bt.length);bt=bt.slice(0,bv)}var bu="GET";if(bw){if(b.isFunction(bw)){bx=bw;bw=K}else{if(typeof bw==="object"){bw=b.param(bw,b.ajaxSettings.traditional);bu="POST"}}}var bs=this;b.ajax({url:bt,type:bu,dataType:"html",data:bw,complete:function(bz,by,bA){bA=bz.responseText;if(bz.isResolved()){bz.done(function(bB){bA=bB});bs.html(e?b("<div>").append(bA.replace(a3,"")).find(e):bA)}if(bx){bs.each(bx,[bA,by,bz])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aV.test(this.type))}).map(function(e,bs){var bt=b(this).val();return bt==null?null:b.isArray(bt)?b.map(bt,function(bv,bu){return{name:bs.name,value:bv.replace(bq,"\r\n")}}):{name:bs.name,value:bt.replace(bq,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bs){b.fn[bs]=function(bt){return this.bind(bs,bt)}});b.each(["get","post"],function(e,bs){b[bs]=function(bt,bv,bw,bu){if(b.isFunction(bv)){bu=bu||bw;bw=bv;bv=K}return b.ajax({type:bs,url:bt,data:bv,success:bw,dataType:bu})}});b.extend({getScript:function(e,bs){return b.get(e,K,bs,"script")},getJSON:function(e,bs,bt){return b.get(e,bs,bt,"json")},ajaxSetup:function(bt,e){if(!e){e=bt;bt=b.extend(true,b.ajaxSettings,e)}else{b.extend(true,bt,b.ajaxSettings,e)}for(var bs in {context:1,url:1}){if(bs in e){bt[bs]=e[bs]}else{if(bs in b.ajaxSettings){bt[bs]=b.ajaxSettings[bs]}}}return bt},ajaxSettings:{url:aA,isLocal:aI.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a9.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML}},ajaxPrefilter:f(X),ajaxTransport:f(r),ajax:function(bw,bu){if(typeof bw==="object"){bu=bw;bw=K}bu=bu||{};var bA=b.ajaxSetup({},bu),bP=bA.context||bA,bD=bP!==bA&&(bP.nodeType||bP instanceof b)?b(bP):b.event,bO=b.Deferred(),bK=b._Deferred(),by=bA.statusCode||{},bz,bE={},bL={},bN,bv,bI,bB,bF,bx=0,bt,bH,bG={readyState:0,setRequestHeader:function(bQ,bR){if(!bx){var e=bQ.toLowerCase();bQ=bL[e]=bL[e]||bQ;bE[bQ]=bR}return this},getAllResponseHeaders:function(){return bx===2?bN:null},getResponseHeader:function(bQ){var e;if(bx===2){if(!bv){bv={};while((e=az.exec(bN))){bv[e[1].toLowerCase()]=e[2]}}e=bv[bQ.toLowerCase()]}return e===K?null:e},overrideMimeType:function(e){if(!bx){bA.mimeType=e}return this},abort:function(e){e=e||"abort";if(bI){bI.abort(e)}bC(0,e);return this}};function bC(bV,bT,bW,bS){if(bx===2){return}bx=2;if(bB){clearTimeout(bB)}bI=K;bN=bS||"";bG.readyState=bV?4:0;var bQ,b0,bZ,bU=bW?bg(bA,bG,bW):K,bR,bY;if(bV>=200&&bV<300||bV===304){if(bA.ifModified){if((bR=bG.getResponseHeader("Last-Modified"))){b.lastModified[bz]=bR}if((bY=bG.getResponseHeader("Etag"))){b.etag[bz]=bY}}if(bV===304){bT="notmodified";bQ=true}else{try{b0=F(bA,bU);bT="success";bQ=true}catch(bX){bT="parsererror";bZ=bX}}}else{bZ=bT;if(!bT||bV){bT="error";if(bV<0){bV=0}}}bG.status=bV;bG.statusText=bT;if(bQ){bO.resolveWith(bP,[b0,bT,bG])}else{bO.rejectWith(bP,[bG,bT,bZ])}bG.statusCode(by);by=K;if(bt){bD.trigger("ajax"+(bQ?"Success":"Error"),[bG,bA,bQ?b0:bZ])}bK.resolveWith(bP,[bG,bT]);if(bt){bD.trigger("ajaxComplete",[bG,bA]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bO.promise(bG);bG.success=bG.done;bG.error=bG.fail;bG.complete=bK.done;bG.statusCode=function(bQ){if(bQ){var e;if(bx<2){for(e in bQ){by[e]=[by[e],bQ[e]]}}else{e=bQ[bG.status];bG.then(e,e)}}return this};bA.url=((bw||bA.url)+"").replace(bo,"").replace(c,s[1]+"//");bA.dataTypes=b.trim(bA.dataType||"*").toLowerCase().split(h);if(bA.crossDomain==null){bF=J.exec(bA.url.toLowerCase());bA.crossDomain=!!(bF&&(bF[1]!=s[1]||bF[2]!=s[2]||(bF[3]||(bF[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bA.data&&bA.processData&&typeof bA.data!=="string"){bA.data=b.param(bA.data,bA.traditional)}aQ(X,bA,bu,bG);if(bx===2){return false}bt=bA.global;bA.type=bA.type.toUpperCase();bA.hasContent=!aL.test(bA.type);if(bt&&b.active++===0){b.event.trigger("ajaxStart")}if(!bA.hasContent){if(bA.data){bA.url+=(L.test(bA.url)?"&":"?")+bA.data}bz=bA.url;if(bA.cache===false){var bs=b.now(),bM=bA.url.replace(bp,"$1_="+bs);bA.url=bM+((bM===bA.url)?(L.test(bA.url)?"&":"?")+"_="+bs:"")}}if(bA.data&&bA.hasContent&&bA.contentType!==false||bu.contentType){bG.setRequestHeader("Content-Type",bA.contentType)}if(bA.ifModified){bz=bz||bA.url;if(b.lastModified[bz]){bG.setRequestHeader("If-Modified-Since",b.lastModified[bz])}if(b.etag[bz]){bG.setRequestHeader("If-None-Match",b.etag[bz])}}bG.setRequestHeader("Accept",bA.dataTypes[0]&&bA.accepts[bA.dataTypes[0]]?bA.accepts[bA.dataTypes[0]]+(bA.dataTypes[0]!=="*"?", */*; q=0.01":""):bA.accepts["*"]);for(bH in bA.headers){bG.setRequestHeader(bH,bA.headers[bH])}if(bA.beforeSend&&(bA.beforeSend.call(bP,bG,bA)===false||bx===2)){bG.abort();return false}for(bH in {success:1,error:1,complete:1}){bG[bH](bA[bH])}bI=aQ(r,bA,bu,bG);if(!bI){bC(-1,"No Transport")}else{bG.readyState=1;if(bt){bD.trigger("ajaxSend",[bG,bA])}if(bA.async&&bA.timeout>0){bB=setTimeout(function(){bG.abort("timeout")},bA.timeout)}try{bx=1;bI.send(bE,bC)}catch(bJ){if(status<2){bC(-1,bJ)}else{b.error(bJ)}}}return bG},param:function(e,bt){var bs=[],bv=function(bw,bx){bx=b.isFunction(bx)?bx():bx;bs[bs.length]=encodeURIComponent(bw)+"="+encodeURIComponent(bx)};if(bt===K){bt=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){bv(this.name,this.value)})}else{for(var bu in e){v(bu,e[bu],bt,bv)}}return bs.join("&").replace(j,"+")}});function v(bt,bv,bs,bu){if(b.isArray(bv)){b.each(bv,function(bx,bw){if(bs||al.test(bt)){bu(bt,bw)}else{v(bt+"["+(typeof bw==="object"||b.isArray(bw)?bx:"")+"]",bw,bs,bu)}})}else{if(!bs&&bv!=null&&typeof bv==="object"){for(var e in bv){v(bt+"["+e+"]",bv[e],bs,bu)}}else{bu(bt,bv)}}}b.extend({active:0,lastModified:{},etag:{}});function bg(bA,bz,bw){var bs=bA.contents,by=bA.dataTypes,bt=bA.responseFields,bv,bx,bu,e;for(bx in bt){if(bx in bw){bz[bt[bx]]=bw[bx]}}while(by[0]==="*"){by.shift();if(bv===K){bv=bA.mimeType||bz.getResponseHeader("content-type")}}if(bv){for(bx in bs){if(bs[bx]&&bs[bx].test(bv)){by.unshift(bx);break}}}if(by[0] in bw){bu=by[0]}else{for(bx in bw){if(!by[0]||bA.converters[bx+" "+by[0]]){bu=bx;break}if(!e){e=bx}}bu=bu||e}if(bu){if(bu!==by[0]){by.unshift(bu)}return bw[bu]}}function F(bE,bw){if(bE.dataFilter){bw=bE.dataFilter(bw,bE.dataType)}var bA=bE.dataTypes,bD={},bx,bB,bt=bA.length,by,bz=bA[0],bu,bv,bC,bs,e;for(bx=1;bx<bt;bx++){if(bx===1){for(bB in bE.converters){if(typeof bB==="string"){bD[bB.toLowerCase()]=bE.converters[bB]}}}bu=bz;bz=bA[bx];if(bz==="*"){bz=bu}else{if(bu!=="*"&&bu!==bz){bv=bu+" "+bz;bC=bD[bv]||bD["* "+bz];if(!bC){e=K;for(bs in bD){by=bs.split(" ");if(by[0]===bu||by[0]==="*"){e=bD[by[1]+" "+bz];if(e){bs=bD[bs];if(bs===true){bC=e}else{if(e===true){bC=bs}}break}}}}if(!(bC||e)){b.error("No conversion from "+bv.replace(" "," to "))}if(bC!==true){bw=bC?bC(bw):e(bs(bw))}}}}return bw}var ay=b.now(),u=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+(ay++)}});b.ajaxPrefilter("json jsonp",function(bA,bx,bz){var bu=bA.contentType==="application/x-www-form-urlencoded"&&(typeof bA.data==="string");if(bA.dataTypes[0]==="jsonp"||bA.jsonp!==false&&(u.test(bA.url)||bu&&u.test(bA.data))){var by,bt=bA.jsonpCallback=b.isFunction(bA.jsonpCallback)?bA.jsonpCallback():bA.jsonpCallback,bw=a9[bt],e=bA.url,bv=bA.data,bs="$1"+bt+"$2";if(bA.jsonp!==false){e=e.replace(u,bs);if(bA.url===e){if(bu){bv=bv.replace(u,bs)}if(bA.data===bv){e+=(/\?/.test(e)?"&":"?")+bA.jsonp+"="+bt}}}bA.url=e;bA.data=bv;a9[bt]=function(bB){by=[bB]};bz.always(function(){a9[bt]=bw;if(by&&b.isFunction(bw)){a9[bt](by[0])}});bA.converters["script json"]=function(){if(!by){b.error(bt+" was not called")}return by[0]};bA.dataTypes[0]="json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){b.globalEval(e);return e}}});b.ajaxPrefilter("script",function(e){if(e.cache===K){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});b.ajaxTransport("script",function(bt){if(bt.crossDomain){var e,bs=aq.head||aq.getElementsByTagName("head")[0]||aq.documentElement;return{send:function(bu,bv){e=aq.createElement("script");e.async="async";if(bt.scriptCharset){e.charset=bt.scriptCharset}e.src=bt.url;e.onload=e.onreadystatechange=function(bx,bw){if(bw||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(bs&&e.parentNode){bs.removeChild(e)}e=K;if(!bw){bv(200,"success")}}};bs.insertBefore(e,bs.firstChild)},abort:function(){if(e){e.onload(0,1)}}}}});var B=a9.ActiveXObject?function(){for(var e in M){M[e](0,1)}}:false,y=0,M;function aH(){try{return new a9.XMLHttpRequest()}catch(bs){}}function af(){try{return new a9.ActiveXObject("Microsoft.XMLHTTP")}catch(bs){}}b.ajaxSettings.xhr=a9.ActiveXObject?function(){return !this.isLocal&&aH()||af()}:aH;(function(e){b.extend(b.support,{ajax:!!e,cors:!!e&&("withCredentials" in e)})})(b.ajaxSettings.xhr());if(b.support.ajax){b.ajaxTransport(function(e){if(!e.crossDomain||b.support.cors){var bs;return{send:function(by,bt){var bx=e.xhr(),bw,bv;if(e.username){bx.open(e.type,e.url,e.async,e.username,e.password)}else{bx.open(e.type,e.url,e.async)}if(e.xhrFields){for(bv in e.xhrFields){bx[bv]=e.xhrFields[bv]}}if(e.mimeType&&bx.overrideMimeType){bx.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!by["X-Requested-With"]){by["X-Requested-With"]="XMLHttpRequest"}try{for(bv in by){bx.setRequestHeader(bv,by[bv])}}catch(bu){}bx.send((e.hasContent&&e.data)||null);bs=function(bH,bB){var bC,bA,bz,bF,bE;try{if(bs&&(bB||bx.readyState===4)){bs=K;if(bw){bx.onreadystatechange=b.noop;if(B){delete M[bw]}}if(bB){if(bx.readyState!==4){bx.abort()}}else{bC=bx.status;bz=bx.getAllResponseHeaders();bF={};bE=bx.responseXML;if(bE&&bE.documentElement){bF.xml=bE}bF.text=bx.responseText;try{bA=bx.statusText}catch(bG){bA=""}if(!bC&&e.isLocal&&!e.crossDomain){bC=bF.text?200:404}else{if(bC===1223){bC=204}}}}}catch(bD){if(!bB){bt(-1,bD)}}if(bF){bt(bC,bA,bF,bz)}};if(!e.async||bx.readyState===4){bs()}else{bw=++y;if(B){if(!M){M={};b(a9).unload(B)}M[bw]=bs}bx.onreadystatechange=bs}},abort:function(){if(bs){bs(0,1)}}}}})}var Q={},a6,m,ax=/^(?:toggle|show|hide)$/,aN=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,aZ,aD=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],a1,R=a9.webkitRequestAnimationFrame||a9.mozRequestAnimationFrame||a9.oRequestAnimationFrame;b.fn.extend({show:function(bu,bx,bw){var bt,bv;if(bu||bu===0){return this.animate(aX("show",3),bu,bx,bw)}else{for(var bs=0,e=this.length;bs<e;bs++){bt=this[bs];if(bt.style){bv=bt.style.display;if(!b._data(bt,"olddisplay")&&bv==="none"){bv=bt.style.display=""}if(bv===""&&b.css(bt,"display")==="none"){b._data(bt,"olddisplay",x(bt.nodeName))}}}for(bs=0;bs<e;bs++){bt=this[bs];if(bt.style){bv=bt.style.display;if(bv===""||bv==="none"){bt.style.display=b._data(bt,"olddisplay")||""}}}return this}},hide:function(bt,bw,bv){if(bt||bt===0){return this.animate(aX("hide",3),bt,bw,bv)}else{for(var bs=0,e=this.length;bs<e;bs++){if(this[bs].style){var bu=b.css(this[bs],"display");if(bu!=="none"&&!b._data(this[bs],"olddisplay")){b._data(this[bs],"olddisplay",bu)}}}for(bs=0;bs<e;bs++){if(this[bs].style){this[bs].style.display="none"}}return this}},_toggle:b.fn.toggle,toggle:function(bt,bs,bu){var e=typeof bt==="boolean";if(b.isFunction(bt)&&b.isFunction(bs)){this._toggle.apply(this,arguments)}else{if(bt==null||e){this.each(function(){var bv=e?bt:b(this).is(":hidden");b(this)[bv?"show":"hide"]()})}else{this.animate(aX("toggle",3),bt,bs,bu)}}return this},fadeTo:function(e,bu,bt,bs){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:bu},e,bt,bs)},animate:function(bv,bs,bu,bt){var e=b.speed(bs,bu,bt);if(b.isEmptyObject(bv)){return this.each(e.complete,[false])}bv=b.extend({},bv);return this[e.queue===false?"each":"queue"](function(){if(e.queue===false){b._mark(this)}var bz=b.extend({},e),bG=this.nodeType===1,bD=bG&&b(this).is(":hidden"),bw,bA,by,bF,bE,bC,bx,bB,bH;bz.animatedProperties={};for(by in bv){bw=b.camelCase(by);if(by!==bw){bv[bw]=bv[by];delete bv[by]}bA=bv[bw];if(b.isArray(bA)){bz.animatedProperties[bw]=bA[1];bA=bv[bw]=bA[0]}else{bz.animatedProperties[bw]=bz.specialEasing&&bz.specialEasing[bw]||bz.easing||"swing"}if(bA==="hide"&&bD||bA==="show"&&!bD){return bz.complete.call(this)}if(bG&&(bw==="height"||bw==="width")){bz.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(b.css(this,"display")==="inline"&&b.css(this,"float")==="none"){if(!b.support.inlineBlockNeedsLayout){this.style.display="inline-block"}else{bF=x(this.nodeName);if(bF==="inline"){this.style.display="inline-block"}else{this.style.display="inline";this.style.zoom=1}}}}}if(bz.overflow!=null){this.style.overflow="hidden"}for(by in bv){bE=new b.fx(this,bz,by);bA=bv[by];if(ax.test(bA)){bE[bA==="toggle"?bD?"show":"hide":bA]()}else{bC=aN.exec(bA);bx=bE.cur();if(bC){bB=parseFloat(bC[2]);bH=bC[3]||(b.cssNumber[by]?"":"px");if(bH!=="px"){b.style(this,by,(bB||1)+bH);bx=((bB||1)/bE.cur())*bx;b.style(this,by,bx+bH)}if(bC[1]){bB=((bC[1]==="-="?-1:1)*bB)+bx}bE.custom(bx,bB,bH)}else{bE.custom(bx,bA,"")}}}return true})},stop:function(bs,e){if(bs){this.queue([])}this.each(function(){var bu=b.timers,bt=bu.length;if(!e){b._unmark(true,this)}while(bt--){if(bu[bt].elem===this){if(e){bu[bt](true)}bu.splice(bt,1)}}});if(!e){this.dequeue()}return this}});function bd(){setTimeout(ao,0);return(a1=b.now())}function ao(){a1=K}function aX(bs,e){var bt={};b.each(aD.concat.apply([],aD.slice(0,e)),function(){bt[this]=bs});return bt}b.each({slideDown:aX("show",1),slideUp:aX("hide",1),slideToggle:aX("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,bs){b.fn[e]=function(bt,bv,bu){return this.animate(bs,bt,bv,bu)}});b.extend({speed:function(bt,bu,bs){var e=bt&&typeof bt==="object"?b.extend({},bt):{complete:bs||!bs&&bu||b.isFunction(bt)&&bt,duration:bt,easing:bs&&bu||bu&&!b.isFunction(bu)&&bu};e.duration=b.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in b.fx.speeds?b.fx.speeds[e.duration]:b.fx.speeds._default;e.old=e.complete;e.complete=function(bv){if(b.isFunction(e.old)){e.old.call(this)}if(e.queue!==false){b.dequeue(this)}else{if(bv!==false){b._unmark(this)}}};return e},easing:{linear:function(bt,bu,e,bs){return e+bs*bt},swing:function(bt,bu,e,bs){return((-Math.cos(bt*Math.PI)/2)+0.5)*bs+e}},timers:[],fx:function(bs,e,bt){this.options=e;this.elem=bs;this.prop=bt;e.orig=e.orig||{}}});b.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(b.fx.step[this.prop]||b.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var e,bs=b.css(this.elem,this.prop);return isNaN(e=parseFloat(bs))?!bs||bs==="auto"?0:bs:e},custom:function(bx,bw,bu){var e=this,bt=b.fx,bv;this.startTime=a1||bd();this.start=bx;this.end=bw;this.unit=bu||this.unit||(b.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;function bs(by){return e.step(by)}bs.elem=this.elem;if(bs()&&b.timers.push(bs)&&!aZ){if(R){aZ=true;bv=function(){if(aZ){R(bv);bt.tick()}};R(bv)}else{aZ=setInterval(bt.tick,bt.interval)}}},show:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(bv){var bu=a1||bd(),e=true,bw=this.elem,bs=this.options,bt,by;if(bv||bu>=bs.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bs.animatedProperties[this.prop]=true;for(bt in bs.animatedProperties){if(bs.animatedProperties[bt]!==true){e=false}}if(e){if(bs.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bz,bA){bw.style["overflow"+bA]=bs.overflow[bz]})}if(bs.hide){b(bw).hide()}if(bs.hide||bs.show){for(var bx in bs.animatedProperties){b.style(bw,bx,bs.orig[bx])}}bs.complete.call(bw)}return false}else{if(bs.duration==Infinity){this.now=bu}else{by=bu-this.startTime;this.state=by/bs.duration;this.pos=b.easing[bs.animatedProperties[this.prop]](this.state,by,0,1,bs.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){for(var bs=b.timers,e=0;e<bs.length;++e){if(!bs[e]()){bs.splice(e--,1)}}if(!bs.length){b.fx.stop()}},interval:13,stop:function(){clearInterval(aZ);aZ=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){b.style(e.elem,"opacity",e.now)},_default:function(e){if(e.elem.style&&e.elem.style[e.prop]!=null){e.elem.style[e.prop]=(e.prop==="width"||e.prop==="height"?Math.max(0,e.now):e.now)+e.unit}else{e.elem[e.prop]=e.now}}}});if(b.expr&&b.expr.filters){b.expr.filters.animated=function(e){return b.grep(b.timers,function(bs){return e===bs.elem}).length}}function x(bu){if(!Q[bu]){var e=aq.body,bs=b("<"+bu+">").appendTo(e),bt=bs.css("display");bs.remove();if(bt==="none"||bt===""){if(!a6){a6=aq.createElement("iframe");a6.frameBorder=a6.width=a6.height=0}e.appendChild(a6);if(!m||!a6.createElement){m=(a6.contentWindow||a6.contentDocument).document;m.write((aq.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");m.close()}bs=m.createElement(bu);m.body.appendChild(bs);bt=b.css(bs,"display");e.removeChild(a6)}Q[bu]=bt}return Q[bu]}var U=/^t(?:able|d|h)$/i,aa=/^(?:body|html)$/i;if("getBoundingClientRect" in aq.documentElement){b.fn.offset=function(bF){var bv=this[0],by;if(bF){return this.each(function(e){b.offset.setOffset(this,bF,e)})}if(!bv||!bv.ownerDocument){return null}if(bv===bv.ownerDocument.body){return b.offset.bodyOffset(bv)}try{by=bv.getBoundingClientRect()}catch(bC){}var bE=bv.ownerDocument,bt=bE.documentElement;if(!by||!b.contains(bt,bv)){return by?{top:by.top,left:by.left}:{top:0,left:0}}var bz=bE.body,bA=aG(bE),bx=bt.clientTop||bz.clientTop||0,bB=bt.clientLeft||bz.clientLeft||0,bs=bA.pageYOffset||b.support.boxModel&&bt.scrollTop||bz.scrollTop,bw=bA.pageXOffset||b.support.boxModel&&bt.scrollLeft||bz.scrollLeft,bD=by.top+bs-bx,bu=by.left+bw-bB;return{top:bD,left:bu}}}else{b.fn.offset=function(bC){var bw=this[0];if(bC){return this.each(function(bD){b.offset.setOffset(this,bC,bD)})}if(!bw||!bw.ownerDocument){return null}if(bw===bw.ownerDocument.body){return b.offset.bodyOffset(bw)}b.offset.initialize();var bz,bt=bw.offsetParent,bs=bw,bB=bw.ownerDocument,bu=bB.documentElement,bx=bB.body,by=bB.defaultView,e=by?by.getComputedStyle(bw,null):bw.currentStyle,bA=bw.offsetTop,bv=bw.offsetLeft;while((bw=bw.parentNode)&&bw!==bx&&bw!==bu){if(b.offset.supportsFixedPosition&&e.position==="fixed"){break}bz=by?by.getComputedStyle(bw,null):bw.currentStyle;bA-=bw.scrollTop;bv-=bw.scrollLeft;if(bw===bt){bA+=bw.offsetTop;bv+=bw.offsetLeft;if(b.offset.doesNotAddBorder&&!(b.offset.doesAddBorderForTableAndCells&&U.test(bw.nodeName))){bA+=parseFloat(bz.borderTopWidth)||0;bv+=parseFloat(bz.borderLeftWidth)||0}bs=bt;bt=bw.offsetParent}if(b.offset.subtractsBorderForOverflowNotVisible&&bz.overflow!=="visible"){bA+=parseFloat(bz.borderTopWidth)||0;bv+=parseFloat(bz.borderLeftWidth)||0}e=bz}if(e.position==="relative"||e.position==="static"){bA+=bx.offsetTop;bv+=bx.offsetLeft}if(b.offset.supportsFixedPosition&&e.position==="fixed"){bA+=Math.max(bu.scrollTop,bx.scrollTop);bv+=Math.max(bu.scrollLeft,bx.scrollLeft)}return{top:bA,left:bv}}}b.offset={initialize:function(){var e=aq.body,bs=aq.createElement("div"),bv,bx,bw,by,bt=parseFloat(b.css(e,"marginTop"))||0,bu="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";b.extend(bs.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});bs.innerHTML=bu;e.insertBefore(bs,e.firstChild);bv=bs.firstChild;bx=bv.firstChild;by=bv.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(bx.offsetTop!==5);this.doesAddBorderForTableAndCells=(by.offsetTop===5);bx.style.position="fixed";bx.style.top="20px";this.supportsFixedPosition=(bx.offsetTop===20||bx.offsetTop===15);bx.style.position=bx.style.top="";bv.style.overflow="hidden";bv.style.position="relative";this.subtractsBorderForOverflowNotVisible=(bx.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(e.offsetTop!==bt);e.removeChild(bs);b.offset.initialize=b.noop},bodyOffset:function(e){var bt=e.offsetTop,bs=e.offsetLeft;b.offset.initialize();if(b.offset.doesNotIncludeMarginInBodyOffset){bt+=parseFloat(b.css(e,"marginTop"))||0;bs+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bt,left:bs}},setOffset:function(bu,bD,bx){var by=b.css(bu,"position");if(by==="static"){bu.style.position="relative"}var bw=b(bu),bs=bw.offset(),e=b.css(bu,"top"),bB=b.css(bu,"left"),bC=(by==="absolute"||by==="fixed")&&b.inArray("auto",[e,bB])>-1,bA={},bz={},bt,bv;if(bC){bz=bw.position();bt=bz.top;bv=bz.left}else{bt=parseFloat(e)||0;bv=parseFloat(bB)||0}if(b.isFunction(bD)){bD=bD.call(bu,bx,bs)}if(bD.top!=null){bA.top=(bD.top-bs.top)+bt}if(bD.left!=null){bA.left=(bD.left-bs.left)+bv}if("using" in bD){bD.using.call(bu,bA)}else{bw.css(bA)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bt=this[0],bs=this.offsetParent(),bu=this.offset(),e=aa.test(bs[0].nodeName)?{top:0,left:0}:bs.offset();bu.top-=parseFloat(b.css(bt,"marginTop"))||0;bu.left-=parseFloat(b.css(bt,"marginLeft"))||0;e.top+=parseFloat(b.css(bs[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bs[0],"borderLeftWidth"))||0;return{top:bu.top-e.top,left:bu.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||aq.body;while(e&&(!aa.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bs,e){var bt="scroll"+e;b.fn[bt]=function(bw){var bu,bv;if(bw===K){bu=this[0];if(!bu){return null}bv=aG(bu);return bv?("pageXOffset" in bv)?bv[bs?"pageYOffset":"pageXOffset"]:b.support.boxModel&&bv.document.documentElement[bt]||bv.document.body[bt]:bu[bt]}return this.each(function(){bv=aG(this);if(bv){bv.scrollTo(!bs?bw:b(bv).scrollLeft(),bs?bw:b(bv).scrollTop())}else{this[bt]=bw}})}});function aG(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bs,e){var bt=e.toLowerCase();b.fn["inner"+e]=function(){var bu=this[0];return bu&&bu.style?parseFloat(b.css(bu,bt,"padding")):null};b.fn["outer"+e]=function(bv){var bu=this[0];return bu&&bu.style?parseFloat(b.css(bu,bt,bv?"margin":"border")):null};b.fn[bt]=function(bv){var bw=this[0];if(!bw){return bv==null?null:this}if(b.isFunction(bv)){return this.each(function(bA){var bz=b(this);bz[bt](bv.call(this,bA,bz[bt]()))})}if(b.isWindow(bw)){var bx=bw.document.documentElement["client"+e];return bw.document.compatMode==="CSS1Compat"&&bx||bw.document.body["client"+e]||bx}else{if(bw.nodeType===9){return Math.max(bw.documentElement["client"+e],bw.body["scroll"+e],bw.documentElement["scroll"+e],bw.body["offset"+e],bw.documentElement["offset"+e])}else{if(bv===K){var by=b.css(bw,bt),bu=parseFloat(by);return b.isNaN(bu)?by:bu}else{return this.css(bt,typeof bv==="string"?bv:bv+"px")}}}}});a9.jQuery=a9.$=b})(window);
##############################################
ikiwiki-3.20200202.3/debian/changelog-1278-    comment.
ikiwiki-3.20200202.3/debian/changelog:1279:  * teximg: Use `\[` and `\]` instead of not recommended `$$`. (Paul Menzel)
ikiwiki-3.20200202.3/debian/changelog-1280-    Closes: #596084
##############################################
ikiwiki-3.20200202.3/debian/patches/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch-18- 	set -e; \
ikiwiki-3.20200202.3/debian/patches/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch:19:-	for dir in `$(FIND) doc/examples -type d ! -regex '.*discussion.*' | $(SED) -e 's|^doc/examples/||'`; do \
ikiwiki-3.20200202.3/debian/patches/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch:20:+	for dir in `$(FIND) doc/examples -type d ! -regex '.*discussion.*' | $(SED) -ne 's|^doc/examples/||p'`; do \
ikiwiki-3.20200202.3/debian/patches/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch-21- 		install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$dir; \
##############################################
ikiwiki-3.20200202.3/debian/patches/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch-23- 	set -e; \
ikiwiki-3.20200202.3/debian/patches/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch:24:-	for file in `$(FIND) doc/examples -type f ! -regex '.*discussion.*' | $(SED) -e 's|^doc/examples/||'`; do \
ikiwiki-3.20200202.3/debian/patches/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch:25:+	for file in `$(FIND) doc/examples -type f ! -regex '.*discussion.*' | $(SED) -ne 's|^doc/examples/||p'`; do \
ikiwiki-3.20200202.3/debian/patches/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch-26- 		if ! cp -pRL doc/examples/$$file $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$file 2>/dev/null; then \
##############################################
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-101-	set -e; \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL:102:	for dir in `$(FIND) underlays -follow -mindepth 1 -type d | $(SED) -e 's|^underlays/||'`; do \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-103-		install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL:104:		for file in `$(FIND) underlays/$$dir -follow -maxdepth 1 -type f ! -name jquery.js ! -name jquery-ui.css ! -name jquery-ui.js ! -name jquery.tmpl.js`; do \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-105-			if ! cp -pRL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir 2>/dev/null; then \
##############################################
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-142-	set -e; \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL:143:	for dir in `$(FIND) doc/examples -type d ! -regex '.*discussion.*' | $(SED) -e 's|^doc/examples/||'`; do \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-144-		install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$dir; \
##############################################
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-146-	set -e; \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL:147:	for file in `$(FIND) doc/examples -type f ! -regex '.*discussion.*' | $(SED) -e 's|^doc/examples/||'`; do \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-148-		if ! cp -pRL doc/examples/$$file $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$file 2>/dev/null; then \
##############################################
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-153-	set -e; \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL:154:	for dir in `$(FIND) templates -follow -type d`; do \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-155-		install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL:156:		for file in `$(FIND) $$dir -follow -maxdepth 1 -type f`; do \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-157-			install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
##############################################
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-162-	set -e; \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL:163:	for file in `$(FIND) plugins -maxdepth 1 -type f ! -path plugins/.\* ! -name \*demo\* -name \*.py`; do \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-164-		install -m 644 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
##############################################
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-166-	set -e; \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL:167:	for file in `$(FIND) plugins -maxdepth 1 -type f ! -path plugins/.\* ! -name \*demo\* ! -name \*.py ! -name \*.pyc`; do \
ikiwiki-3.20200202.3/.pc/build-Don-t-install-an-empty-share-ikiwiki-examples-doc-e.patch/Makefile.PL-168-		install -m 755 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
##############################################
ikiwiki-3.20200202.3/Makefile.PL-101-	set -e; \
ikiwiki-3.20200202.3/Makefile.PL:102:	for dir in `$(FIND) underlays -follow -mindepth 1 -type d | $(SED) -e 's|^underlays/||'`; do \
ikiwiki-3.20200202.3/Makefile.PL-103-		install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
ikiwiki-3.20200202.3/Makefile.PL:104:		for file in `$(FIND) underlays/$$dir -follow -maxdepth 1 -type f ! -name jquery.js ! -name jquery-ui.css ! -name jquery-ui.js ! -name jquery.tmpl.js`; do \
ikiwiki-3.20200202.3/Makefile.PL-105-			if ! cp -pRL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir 2>/dev/null; then \
##############################################
ikiwiki-3.20200202.3/Makefile.PL-142-	set -e; \
ikiwiki-3.20200202.3/Makefile.PL:143:	for dir in `$(FIND) doc/examples -type d ! -regex '.*discussion.*' | $(SED) -ne 's|^doc/examples/||p'`; do \
ikiwiki-3.20200202.3/Makefile.PL-144-		install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$dir; \
##############################################
ikiwiki-3.20200202.3/Makefile.PL-146-	set -e; \
ikiwiki-3.20200202.3/Makefile.PL:147:	for file in `$(FIND) doc/examples -type f ! -regex '.*discussion.*' | $(SED) -ne 's|^doc/examples/||p'`; do \
ikiwiki-3.20200202.3/Makefile.PL-148-		if ! cp -pRL doc/examples/$$file $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$file 2>/dev/null; then \
##############################################
ikiwiki-3.20200202.3/Makefile.PL-153-	set -e; \
ikiwiki-3.20200202.3/Makefile.PL:154:	for dir in `$(FIND) templates -follow -type d`; do \
ikiwiki-3.20200202.3/Makefile.PL-155-		install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
ikiwiki-3.20200202.3/Makefile.PL:156:		for file in `$(FIND) $$dir -follow -maxdepth 1 -type f`; do \
ikiwiki-3.20200202.3/Makefile.PL-157-			install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
##############################################
ikiwiki-3.20200202.3/Makefile.PL-162-	set -e; \
ikiwiki-3.20200202.3/Makefile.PL:163:	for file in `$(FIND) plugins -maxdepth 1 -type f ! -path plugins/.\* ! -name \*demo\* -name \*.py`; do \
ikiwiki-3.20200202.3/Makefile.PL-164-		install -m 644 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
##############################################
ikiwiki-3.20200202.3/Makefile.PL-166-	set -e; \
ikiwiki-3.20200202.3/Makefile.PL:167:	for file in `$(FIND) plugins -maxdepth 1 -type f ! -path plugins/.\* ! -name \*demo\* ! -name \*.py ! -name \*.pyc`; do \
ikiwiki-3.20200202.3/Makefile.PL-168-		install -m 755 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \