diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..bd03b9f5 Binary files /dev/null and b/.DS_Store differ diff --git a/12345.sh b/12345.sh index 6ee1fab5..af1f11ba 100755 --- a/12345.sh +++ b/12345.sh @@ -86,12 +86,15 @@ while true; do myHtml >> ~/.zen/tmp/${MOATS}/${PORT}.myHOST.http ## REPLACE RESPONSE PORT - sed -i -e "s~http://127.0.0.1:12345~http://${myIP}:${PORT}~g" \ + sed -i -e "s~http://127.0.0.1:12345~http://127.0.0.1:${PORT}~g" \ ~/.zen/tmp/${MOATS}/${PORT}.myHOST.http ## WAN REDIRECT TO HTTPS:// + /${PORT} [ -z "$isLAN" ] \ - && sed -i -e "s~http://${myIP}:${PORT}~${myASTROPORT}/${PORT}~g" ~/.zen/tmp/${MOATS}/${PORT}.myHOST.http + && sed -i -e "s~http://127.0.0.1:${PORT}~${myASTROPORT}/${PORT}~g" ~/.zen/tmp/${MOATS}/${PORT}.myHOST.http + + [ -n "$(zIp)" ]\ + && sed -i -e "s~http://127.0.0.1:${PORT}~$(zIp):${PORT}~g" ~/.zen/tmp/${MOATS}/${PORT}.myHOST.http ## UPLANET HOME LINK REPLACEMENT sed -i -e "s~https://qo-op.com~${myUPLANET}~g" ~/.zen/tmp/${MOATS}/${PORT}.myHOST.http @@ -133,7 +136,7 @@ while true; do ( nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo " (‿/‿) $PORT CONSUMED in "`expr $(date +%s) - $start`" seconds." ) & else mySalt | \ - sed "s~http://127.0.0.1:12345~${myASTROPORT}:${PORT}~g" | \ + sed "s~http://127.0.0.1:12345~http://${myASTROPORT}:${PORT}~g" | \ sed "s~https://qo-op.com~${myUPLANET}~g" | \ ( nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo " (‿/‿) $PORT CONSUMED in "`expr $(date +%s) - $start`" seconds." ) & fi diff --git a/20h12.process.sh b/20h12.process.sh index 9a1f3a07..c10183ca 100755 --- a/20h12.process.sh +++ b/20h12.process.sh @@ -4,8 +4,8 @@ # License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) ######################################################################## MY_PATH="`dirname \"$0\"`" # relative -MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized -. "$MY_PATH/tools/my.sh" +MY_PATH="`( cd \"${MY_PATH}\" && pwd )`" # absolutized and normalized +. "${MY_PATH}/tools/my.sh" start=`date +%s` echo "20H12 (♥‿‿♥) $(hostname -f) $(date)" espeak "Ding" > /dev/null 2>&1 @@ -15,18 +15,23 @@ LOWMODE=$(sudo systemctl status ipfs | grep disabled) ## IPFS DISABLED - START O [[ ! $(netstat -tan | grep 5001 | grep LISTEN) ]] && LOWMODE="NO 5001" ## IPFS IS STOPPED [[ ! $isLAN ]] && LOWMODE="" ## LOWMODE ONLY FOR LAN STATION # echo "$USER ALL=(ALL) NOPASSWD:/bin/systemctl" | (sudo su -c 'EDITOR="tee" visudo -f /etc/sudoers.d/systemctl') + sudo systemctl restart ipfs && sleep 10 + floop=0 while [[ ! $(netstat -tan | grep 5001 | grep LISTEN) ]]; do sleep 10 ((floop++)) && [ $floop -gt 36 ] \ && echo "ERROR. IPFS daemon not restarting" \ - && $MY_PATH/tools/mailjet.sh "support@qo-op.com" "/tmp/20h12.log" "IPFS RESTART ERROR 20H12" \ + && ${MY_PATH}/tools/mailjet.sh "support@qo-op.com" "/tmp/20h12.log" "IPFS RESTART ERROR 20H12" \ && exit 1 done -# espeak "CODE git pull" > /dev/null 2>&1 -## REMOVE TMP BUT KEEP SWARM +# show ZONE.sh cache of the day +echo "TODAY UPlanet landings" +ls ~/.zen/tmp/ZONE_* 2>/dev/null + +## REMOVE TMP BUT KEEP SWARM and coucou mv ~/.zen/tmp/swarm ~/.zen/swarm mv ~/.zen/tmp/coucou ~/.zen/coucou rm -Rf ~/.zen/tmp/* @@ -39,36 +44,46 @@ mv ~/.zen/coucou ~/.zen/tmp/coucou && rm -Rf ~/.zen/G1BILLET/tmp/* ## UPDATE Astroport.ONE code -cd ~/.zen/Astroport.ONE/ +cd ${MY_PATH}/ git pull ## SOON /ipns/ Address !!! # espeak "20 HOURS 12 MINUTES. ASTROBOT RUNNING." > /dev/null 2>&1 ## Updating yt-dlp -$MY_PATH/youtube-dl.sh +${MY_PATH}/youtube-dl.sh sudo youtube-dl -U -# Refresh ~/.zen/game/world/G1VOEU -# NOW RUN FROM PLAYER.refresh.sh !! ~/.zen/Astroport.ONE/RUNTIME/VOEUX.refresh.sh +## DRAGON SSH WOT +echo "DRAGONS WOT OFF" +${MY_PATH}/RUNTIME/DRAGON_p2p_ssh.sh off +## PING BOOSTRAP & SWARM NODES +${MY_PATH}/ping_bootstrap.sh > /dev/null 2>&1 + +##################################### # espeak "Players refresh" > /dev/null 2>&1 # Refresh ~/.zen/game/players/PLAYER -~/.zen/Astroport.ONE/RUNTIME/PLAYER.refresh.sh - +##################################### +${MY_PATH}/RUNTIME/PLAYER.refresh.sh +##################################### +##################################### # espeak "REFRESHING UPLANET" > /dev/null 2>&1 -~/.zen/Astroport.ONE/RUNTIME/UPLANET.refresh.sh - +##################################### +${MY_PATH}/RUNTIME/UPLANET.refresh.sh +##################################### +##################################### # espeak "REFRESHING NODE" > /dev/null 2>&1 -~/.zen/Astroport.ONE/RUNTIME/NODE.refresh.sh - +##################################### +${MY_PATH}/RUNTIME/NODE.refresh.sh +##################################### ## if [[ ! $isLAN ]]; then ## REFRESH BOOSTRAP LIST (OFFICIAL SWARM) espeak "bootstrap refresh" > /dev/null 2>&1 ipfs bootstrap rm --all > /dev/null 2>&1 - for bootnode in $(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#") # remove comments + for bootnode in $(cat ${MY_PATH}/A_boostrap_nodes.txt | grep -Ev "#") # remove comments do ipfsnodeid=${bootnode##*/} ipfs bootstrap add $bootnode @@ -85,23 +100,23 @@ seconds=$((dur % 60)) echo "DURATION ${hours} hours ${minutes} minutes ${seconds} seconds" echo "20H12 (♥‿‿♥) Execution time was $dur seconds." -# ~/.zen/Astroport.ONE/tools/ipfs_P2P_forward.sh ## COULD FORWARD LOCAL TCP PORT TO SWARM -rm ~/.zen/game/players/localhost/latest ## MAIL LOG : support@qo-op.com ## -$MY_PATH/tools/mailjet.sh "support@qo-op.com" "/tmp/20h12.log" "20H12" +${MY_PATH}/tools/mailjet.sh "support@qo-op.com" "/tmp/20h12.log" "20H12" espeak "DURATION ${hours} hours ${minutes} minutes ${seconds} seconds" > /dev/null 2>&1 +## RESTART + # espeak "Restarting Astroport Services" > /dev/null 2>&1 ## CLOSING API PORT [[ -s ~/.zen/.pid ]] && kill -9 $(cat ~/.zen/.pid) > /dev/null 2>&1 ## KILL ALL REMAINING nc killall nc 12345.sh > /dev/null 2>&1 -## OPEN API ENGINE +## SYSTEMD OR NOT SYSTEMD if [[ ! -f /etc/systemd/system/astroport.service ]]; then - ~/.zen/Astroport.ONE/12345.sh > ~/.zen/tmp/12345.log & + ${MY_PATH}/12345.sh > ~/.zen/tmp/12345.log & PID=$! echo $PID > ~/.zen/.pid else @@ -111,16 +126,24 @@ else fi -echo "IPFS LOW MODE ?" +echo "IPFS DAEMON LEVEL" +######### IPFS DAMEON NOT RUNNING ALL DAY ## IF IPFS DAEMON DISABLED : WAIT 1H & STOP IT [[ $LOWMODE != "" ]] \ - && echo "ON. $LOWMODE" \ - && sleep 360 \ + && echo "STOP IPFS $LOWMODE" \ + && sleep 3600 \ && sudo systemctl stop ipfs \ && exit 0 -echo "OFF. RESTART IPFS" +echo "HIGH. RESTART IPFS" sleep 60 sudo systemctl restart ipfs +################################# +### DRAGON WOT : SSH P2P RING OPENING +################################# +sleep 30 +echo "DRAGONS WOT ON" +${MY_PATH}/RUNTIME/DRAGON_p2p_ssh.sh + exit 0 diff --git a/API/DRAGONS.sh b/API/DRAGONS.sh new file mode 100755 index 00000000..12dd0768 --- /dev/null +++ b/API/DRAGONS.sh @@ -0,0 +1,79 @@ +################################################################################ +# Author: Fred (support@qo-op.com) +# Version: 0.1 +# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) +################################################################################ +################################################################################ +## API: DRAGONS +## Used by OSM2IPFS welcome.html +# ?zone=DEG&ulat=LAT&ulon=LON +## Search for TW numbers in received zone # >> return json +################################################################################ +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +. "${MY_PATH}/../tools/my.sh" + +start=`date +%s` + +echo "PORT=$1 +THAT=$2 +AND=$3 +THIS=$4 +APPNAME=$5 +WHAT=$6 +OBJ=$7 +VAL=$8 +MOATS=$9 +COOKIE=$10" +PORT="$1" THAT="$2" AND="$3" THIS="$4" APPNAME="$5" WHAT="$6" OBJ="$7" VAL="$8" MOATS="$9" COOKIE="$10" +### transfer variables according to script + +[[ $MOATS == "" ]] && echo "MISSING MOATS" && exit 1 + +HTTPCORS="HTTP/1.1 200 OK +Access-Control-Allow-Origin: * +Access-Control-Allow-Credentials: true +Access-Control-Allow-Methods: GET +Server: Astroport.ONE +Content-Type: text/html; charset=UTF-8 + +" + +function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; } + +# PREPARE HTTP RESPONSE (application/json) +mkdir -p ~/.zen/tmp/${MOATS}/ +echo "${HTTPCORS}" > ~/.zen/tmp/${MOATS}/http +sed -i "s~text/html~application/json~g" ~/.zen/tmp/${MOATS}/http + +# ------------------------------------------------------------------- # +# GET/?dragons +# ------------------------------------------------------------------- # +## RUNNING UPLANET STATIONS GPS DETECTION +rm ~/.zen/tmp/DRAGONS.json + +if [[ ! -s ~/.zen/tmp/DRAGONS.json ]]; then + + echo " ## cat ***/GPS.json" + cat ~/.zen/tmp/${IPFSNODEID}/GPS.json 2>/dev/null | jq -c '.[] + {ipfsnodeid: "'$IPFSNODEID'"}' > ~/.zen/tmp/${MOATS}/gps.grid + cat ~/.zen/tmp/swarm/12D*/GPS.json 2>/dev/null | jq -c '.[] + {ipfsnodeid: "'$IPFSNODEID'"}' | sort -u >> ~/.zen/tmp/${MOATS}/gps.grid + + cat ~/.zen/tmp/${MOATS}/gps.grid | jq -s '.' | sed -e 's/\[/[/' -e 's/\]/]/' -e 's/},{/},\n{/g' > ~/.zen/tmp/DRAGONS.json +fi + +#~ jq 'unique_by(.umap)' ~/.zen/tmp/DRAGONS.json > ~/.zen/tmp/DRAGONS_no_duplicates.json +#~ mv ~/.zen/tmp/DRAGONS_no_duplicates.json ~/.zen/tmp/DRAGONS.json +echo " ***** WELCOME DRAGONS =========== " +cat ~/.zen/tmp/DRAGONS.json + +### SEND RESPONSE ON PORT +cat ~/.zen/tmp/DRAGONS.json >> ~/.zen/tmp/${MOATS}/http +( + cat ~/.zen/tmp/${MOATS}/http | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 + rm -Rf ~/.zen/tmp/${MOATS} && echo "BLURP DRAGONS.json" +) & + +## TIMING +end=`date +%s` +echo "(DRAGONS) Operation time was "`expr $end - $start` seconds. +exit 0 diff --git a/API/QRCODE.sh b/API/QRCODE.sh index d263a11f..b1c7a27b 100755 --- a/API/QRCODE.sh +++ b/API/QRCODE.sh @@ -87,31 +87,40 @@ fi ############################################################################### if [[ ${QRCODE} == "station" ]]; then - #~ # Keep 2nd try of the day - #~ [[ ! -s ~/.zen/tmp/_ISTATION ]] \ - #~ && mv ~/.zen/tmp/ISTATION ~/.zen/tmp/_ISTATION \ - #~ || cp ~/.zen/tmp/_ISTATION ~/.zen/tmp/ISTATION + ## CHECK FOR ANY ALREADY RUNNING make_image_ipfs_index_carousel + carouselrunning=$(ps axf --sort=+utime | grep -w 'make_image_ipfs_index_carousel' | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) if [[ ! -s ~/.zen/tmp/ISTATION ]]; then - ## GENERATE PLAYER G1 TO ZEN ACCOUNTING - ISTATION=$($MY_PATH/../tools/make_image_ipfs_index_carousel.sh | tail -n 1) - echo $ISTATION > ~/.zen/tmp/ISTATION ## STATION G1WALLET CAROUSEL + if [[ $carouselrunning ]]; then + ISTATION="/ipfs/QmVTHH8sTXEqRBsvcKo5jDo16rvp7Q7ERyHZP5vmWUxeS6" ## G1WorldCrafting.jpg + else + ## GENERATE PLAYER G1 TO ZEN ACCOUNTING + ISTATION=$($MY_PATH/../tools/make_image_ipfs_index_carousel.sh | tail -n 1) + echo $ISTATION > ~/.zen/tmp/ISTATION ## STATION G1WALLET CAROUSEL + fi else ISTATION=$(cat ~/.zen/tmp/ISTATION) fi - ## SHOW G1PALPAY FRONT (IFRAME) - sed "s~_STATION_~${myIPFSW}${ISTATION}/~g" $MY_PATH/../templates/ZenStation/index.html > ~/.zen/tmp/${MOATS}/index.htm - [[ ! $isLAN ]] && sed -i "s~MENU~HOSTING~g" ~/.zen/tmp/${MOATS}/index.htm - sed -i "s~http://127.0.0.1:8080~${myIPFSW}~g" ~/.zen/tmp/${MOATS}/index.htm - sed -i "s~http://127.0.0.1:33101~${myG1BILLET}~g" ~/.zen/tmp/${MOATS}/index.htm - sed -i "s~http://astroport.localhost:1234~${myASTROPORT}~g" ~/.zen/tmp/${MOATS}/index.htm - WSTATION="/ipfs/$(ipfs add -q ~/.zen/tmp/${MOATS}/index.htm)" - echo $WSTATION > ~/.zen/tmp/WSTATION - end=`date +%s` - echo "NEW WSTATION ${myIPFSW}${WSTATION} Execution time was "`expr $end - $start` seconds. - ## SEND TO WSTATION PAGE - sed "s~_TWLINK_~${myIPFSW}${WSTATION}/~g" ${MY_PATH}/../templates/index.302 > ~/.zen/tmp/${MOATS}/index.redirect + ## LOG IPFSNODEID : IPCity + Wheater + more... + ${MY_PATH}/../tools/IPFSNODEID.weather.sh > ~/.zen/tmp/${IPFSNODEID}/weather.txt + echo "" > ~/.zen/tmp/${IPFSNODEID}/_index.html + + ## SHOW ZenStation FRONT + sed "s~_STATION_~${myIPFS}${ISTATION}/~g" $MY_PATH/../templates/ZenStation/index.html > ~/.zen/tmp/${MOATS}/index.htm + sed -i "s~2L8vaYixCf97DMT8SistvQFeBj7vb6RQL7tvwyiv1XVH~${WORLDG1PUB}~g" ~/.zen/tmp/${MOATS}/index.htm + sed -i "s~http://127.0.0.1:8080~${myIPFS}~g" ~/.zen/tmp/${MOATS}/index.htm + sed -i "s~http://127.0.0.1:33101~${myG1BILLET}~g" ~/.zen/tmp/${MOATS}/index.htm + sed -i "s~http://astroport.localhost:1234~${myASTROPORT}~g" ~/.zen/tmp/${MOATS}/index.htm + + WSTATION="/ipfs/$(ipfs add -q ~/.zen/tmp/${MOATS}/index.htm)" + echo $WSTATION > ~/.zen/tmp/WSTATION + + end=`date +%s` + echo "NEW WSTATION ${myIPFS}${WSTATION} Execution time was "`expr $end - $start` seconds. + + ##302 REDIRECT TO WSTATION IPFS + sed "s~_TWLINK_~${myIPFS}${WSTATION}/~g" ${MY_PATH}/../templates/index.302 > ~/.zen/tmp/${MOATS}/index.redirect sed -i "s~Set-Cookie*~Set-Cookie: $COOKIE~" ~/.zen/tmp/${MOATS}/index.redirect echo "url='"${myIPFSW}${WSTATION}"'" >> ~/.zen/tmp/${MOATS}/index.redirect ( @@ -486,7 +495,7 @@ if [[ ${QRCODE:0:5} == "@@@@@" ]]; then && ipfs name publish -k ${player}_${VoeuName} /ipfs/${MILGRAM} & ) & - echo "
PLEASE RETRY IN 30 SECONDS GETTING MESSAGE FROM IPFS
" >> ~/.zen/tmp/${MOATS}/disco + echo "
PLEASE RETRY IN 30 SECONDS GETTING MESSAGE FROM IPFS" >> ~/.zen/tmp/${MOATS}/disco ( cat ~/.zen/tmp/${MOATS}/disco | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 echo "BLURP $PORT" && rm -Rf ~/.zen/tmp/${MOATS} @@ -604,7 +613,7 @@ if [[ ${QRCODE:0:2} == "G1" && ${AND} == "tw" ]]; then ############################################## echo "## IPNS G1Voeu APP REDIRECT" tiddlywiki --load ${INDEX} --output ~/.zen/tmp --render '.' "${MOATS}.g1voeu.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[G1Voeu]]' - cat ~/.zen/tmp/${MOATS}.g1voeu.json | jq -r '.[].wish' > ~/.zen/tmp/${MOATS}.g1wishes.txt + cat ~/.zen/tmp/${MOATS}.g1voeu.json | jq -r 'map(select(.wish != null)) | .[].wish' > ~/.zen/tmp/${MOATS}.g1wishes.txt cat ~/.zen/tmp/${MOATS}.g1wishes.txt while read WISH do @@ -641,6 +650,7 @@ fi ################################################################################ ## QRCODE = IPNS or G1PUB ? Can be ASTRONAUTENS or G1PUB format ZCHK="$(echo $THAT | cut -d ':' -f 2-)" # ChK or ZEN +[[ $ZCHK == $THAT ]] && ZCHK="" QRCODE="${QRCODE%%:*}" ## TRIM :ChK ################################################################################ ################################################################################ @@ -650,7 +660,7 @@ echo "IPNS2G1=${IPNS2G1} ZCHK=${ZCHK}" [[ ${ZCHK} == "" && ${#IPNS2G1} -ge 40 && ${QRCODE::4} == "12D3" ]] \ && echo "${PORT} QRCODE IS IPNS ADDRESS : ${myIPFS}/ipns/${QRCODE}" \ && (echo "$HTTPCORS Loading from IPFS" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) \ - && echo "PRULS /ipns/${QRCODE} $PORT" && rm -Rf ~/.zen/tmp/${MOATS} \ + && echo "GLUPS /ipns/${QRCODE} $PORT" && rm -Rf ~/.zen/tmp/${MOATS} \ && exit 0 ## TEST G1 TYPE ( try g1_to_ipfs ) @@ -658,7 +668,7 @@ ASTROTOIPNS=$(${MY_PATH}/../tools/g1_to_ipfs.py ${QRCODE} 2>/dev/null) [[ ! ${ASTROTOIPNS} ]] \ && echo "${PORT} INVALID QRCODE : ${QRCODE}" \ && (echo "$HTTPCORS ERROR - INVALID QRCODE : ${QRCODE}" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) \ - && echo "PRULS INVALID ${QRCODE} $PORT" && rm -Rf ~/.zen/tmp/${MOATS} \ + && echo "GLUPS INVALID ${QRCODE} $PORT" && rm -Rf ~/.zen/tmp/${MOATS} \ && exit 1 ################################################################################ echo "############################################################################" @@ -673,29 +683,23 @@ echo ">>> ${QRCODE} g1_to_ipfs $ASTROTOIPNS" && ZEN=$(echo "($VISITORCOINS - 1) * 10" | bc | cut -d '.' -f 1) \ || ZEN="-10" - DISPLAY="$VISITORCOINS G1" + DISPLAY="

$VISITORCOINS G1

" ## WALLET VIERGE ########################################### if [[ $VISITORCOINS == "null" || ${ZEN} -lt 10 ]]; then - echo "!! LOW ZEN WALLET ZEN=${ZEN}" + DISPLAY="$DISPLAY +

!! LOW ZEN WALLET ZEN=${ZEN}

" - echo "${HTTPCORS}" > ~/.zen/tmp/${MOATS}/index.redirect - echo "

LOW ZEN WARNING

- PLEASE CHARGE... only ${ZEN} ZEN - " >> ~/.zen/tmp/${MOATS}/index.redirect - ( - cat ~/.zen/tmp/${MOATS}/index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 - echo "BLURP null ZEN $PORT" && rm -Rf ~/.zen/tmp/${MOATS} - ) & - exit 0 + DISPLAY="$DISPLAY

LOW ZEN WARNING

+ PLEASE CHARGE... ${ZEN} ZEN" fi ## WE SEND WALLET AMOUNT DISPLAY ( - echo "$HTTPCORS

${ZCHK}:${QRCODE}

${DISPLAY}

SCAN WALLET

" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 + echo "$HTTPCORS ${QRCODE}:${ZCHK}:${DISPLAY}

SCAN WALLET

" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 echo "BLURP ${DISPLAY} $PORT" && rm -Rf ~/.zen/tmp/${MOATS} ) & diff --git a/API/SALT.sh b/API/SALT.sh index e1db3ad9..04dcbc9b 100755 --- a/API/SALT.sh +++ b/API/SALT.sh @@ -26,34 +26,38 @@ Content-Type: text/html; charset=UTF-8 " mkdir -p ~/.zen/tmp/${MOATS}/ - [[ ! $APPNAME || $SALT == "pepper" ]] && echo "NO APPNAME - BAD APP - CONTINUE" && (echo "$HTTPCORS ERROR - BAD CREDENTIALS" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1 - ############################################################################ - # WRITING API # SALT # PEPPER # MAKING THE KEY EXIST ######### - ################### KEY GEN ################################### - echo ">>>>>>>>>>>>>> Application LaBureautique >><< APPNAME = $APPNAME <<<<<<<<<<<<<<<<<<<<" +[[ ! $APPNAME || $SALT == "pepper" ]] \ + && echo "NO APPNAME - BAD APP - CONTINUE" \ + && (echo "$HTTPCORS ERROR - BAD CREDENTIALS" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) \ + && exit 1 - [[ ! $SALT ]] && (echo "$HTTPCORS ERROR - SALT MISSING" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1 - [[ ! $PEPPER || ${PEPPER:0:2} == "G1" ]] && (echo "$HTTPCORS ERROR - BAD OR PEPPER MISSING" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1 +############################################################################ +# WRITING API # SALT # PEPPER # MAKING THE KEY EXIST ######### +################### KEY GEN ################################### +echo ">>>>>>>>>>>>>> Application LaBureautique >><< APPNAME = $APPNAME <<<<<<<<<<<<<<<<<<<<" - ## SAVE "salt" "pepper" DEBUG REMOVE OR PASS ENCRYPT FOR SECURITY REASON - echo "PLAYER : \"$SALT\" \"$PEPPER\" : $APPNAME ($WHAT)" - echo "\"$SALT\" \"$PEPPER\"" > ~/.zen/tmp/${MOATS}/${MOATS}.secret.june +[[ ! $SALT ]] && (echo "$HTTPCORS ERROR - SALT MISSING" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1 +[[ ! $PEPPER || ${PEPPER:0:2} == "G1" ]] && (echo "$HTTPCORS ERROR - BAD OR PEPPER MISSING" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1 - # CALCULATING ${MOATS}.secret.key + G1PUB - ${MY_PATH}/../tools/keygen -t duniter -o ~/.zen/tmp/${MOATS}/${MOATS}.secret.key "$SALT" "$PEPPER" - G1PUB=$(cat ~/.zen/tmp/${MOATS}/${MOATS}.secret.key | grep 'pub:' | cut -d ' ' -f 2) - [[ ! ${G1PUB} ]] && (echo "$HTTPCORS ERROR - (╥☁╥ ) - KEYGEN COMPUTATION DISFUNCTON" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1 - echo "G1PUB : ${G1PUB}" +## SAVE "salt" "pepper" DEBUG REMOVE OR PASS ENCRYPT FOR SECURITY REASON +echo "PLAYER : \"$SALT\" \"$PEPPER\" : $APPNAME ($WHAT)" +echo "\"$SALT\" \"$PEPPER\"" > ~/.zen/tmp/${MOATS}/${MOATS}.secret.june - ## CALCULATING ${MOATS}.${G1PUB}.ipns.key ADDRESS - ipfs key rm ${G1PUB} > /dev/null 2>&1 - rm -f ~/.zen/tmp/${MOATS}/${MOATS}.${G1PUB}.ipns.key - ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${MOATS}.${G1PUB}.ipns.key "$SALT" "$PEPPER" - ASTRONAUTENS=$(ipfs key import ${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${MOATS}.${G1PUB}.ipns.key ) - [[ ! ${ASTRONAUTENS} ]] && (echo "$HTTPCORS ERROR - (╥☁╥ ) - ASTRONAUTENS COMPUTATION DISFUNCTON" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1 +# CALCULATING ${MOATS}.secret.key + G1PUB +${MY_PATH}/../tools/keygen -t duniter -o ~/.zen/tmp/${MOATS}/${MOATS}.secret.key "$SALT" "$PEPPER" +G1PUB=$(cat ~/.zen/tmp/${MOATS}/${MOATS}.secret.key | grep 'pub:' | cut -d ' ' -f 2) +[[ ! ${G1PUB} ]] && (echo "$HTTPCORS ERROR - (╥☁╥ ) - KEYGEN COMPUTATION DISFUNCTON" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1 +echo "G1PUB : ${G1PUB}" - echo "TW ADDRESS : $myIPFS/ipns/${ASTRONAUTENS}" - echo +## CALCULATING ${MOATS}.${G1PUB}.ipns.key ADDRESS +ipfs key rm ${G1PUB} > /dev/null 2>&1 +rm -f ~/.zen/tmp/${MOATS}/${MOATS}.${G1PUB}.ipns.key +${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${MOATS}.${G1PUB}.ipns.key "$SALT" "$PEPPER" +ASTRONAUTENS=$(ipfs key import ${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${MOATS}.${G1PUB}.ipns.key ) +[[ ! ${ASTRONAUTENS} ]] && (echo "$HTTPCORS ERROR - (╥☁╥ ) - ASTRONAUTENS COMPUTATION DISFUNCTON" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1 + +echo "TW ADDRESS : $myIPFS/ipns/${ASTRONAUTENS}" +echo ######################################## ## APPNAME SELECTION ######################## @@ -62,156 +66,155 @@ mkdir -p ~/.zen/tmp/${MOATS}/ ############################################## # MESSAGING : GET MESSAGE FROM GCHANGE+ ############################################## - if [[ $APPNAME == "messaging" ]]; then +if [[ $APPNAME == "messaging" ]]; then - ( ## & SUB PROCESS + ( ## & SUB PROCESS - echo "Extracting ${G1PUB} messages..." - ~/.zen/Astroport.ONE/tools/timeout.sh -t 12 \ - ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key read -n 10 -j > ~/.zen/tmp/${MOATS}/messin.${G1PUB}.json - [[ ! -s ~/.zen/tmp/${MOATS}/messin.${G1PUB}.json || $(grep -v -E 'Aucun message à afficher' ~/.zen/tmp/${MOATS}/messin.${G1PUB}.json) == "True" ]] && echo "[]" > ~/.zen/tmp/${MOATS}/messin.${G1PUB}.json + echo "Extracting ${G1PUB} messages..." + ~/.zen/Astroport.ONE/tools/timeout.sh -t 12 \ + ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key read -n 10 -j > ~/.zen/tmp/${MOATS}/messin.${G1PUB}.json + [[ ! -s ~/.zen/tmp/${MOATS}/messin.${G1PUB}.json || $(grep -v -E 'Aucun message à afficher' ~/.zen/tmp/${MOATS}/messin.${G1PUB}.json) == "True" ]] && echo "[]" > ~/.zen/tmp/${MOATS}/messin.${G1PUB}.json - ~/.zen/Astroport.ONE/tools/timeout.sh -t 12 \ - ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key read -n 10 -j -o > ~/.zen/tmp/${MOATS}/messout.${G1PUB}.json - [[ ! -s ~/.zen/tmp/${MOATS}/messout.${G1PUB}.json || $(grep -v -E 'Aucun message à afficher' ~/.zen/tmp/${MOATS}/messout.${G1PUB}.json) == "True" ]] && echo "[]" > ~/.zen/tmp/${MOATS}/messout.${G1PUB}.json + ~/.zen/Astroport.ONE/tools/timeout.sh -t 12 \ + ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key read -n 10 -j -o > ~/.zen/tmp/${MOATS}/messout.${G1PUB}.json + [[ ! -s ~/.zen/tmp/${MOATS}/messout.${G1PUB}.json || $(grep -v -E 'Aucun message à afficher' ~/.zen/tmp/${MOATS}/messout.${G1PUB}.json) == "True" ]] && echo "[]" > ~/.zen/tmp/${MOATS}/messout.${G1PUB}.json - echo "Creating messages In/Out JSON ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json" - echo '[' > ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json - cat ~/.zen/tmp/${MOATS}/messin.${G1PUB}.json >> ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json - echo "," >> ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json - cat ~/.zen/tmp/${MOATS}/messout.${G1PUB}.json >> ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json - echo ']' >> ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json + echo "Creating messages In/Out JSON ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json" + echo '[' > ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json + cat ~/.zen/tmp/${MOATS}/messin.${G1PUB}.json >> ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json + echo "," >> ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json + cat ~/.zen/tmp/${MOATS}/messout.${G1PUB}.json >> ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json + echo ']' >> ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json - ## ADDING HTTP/1.1 PROTOCOL HEADER - echo "$HTTPCORS" > ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - sed -i "s~text/html~application/json~g" ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - cat ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json >> ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + ## ADDING HTTP/1.1 PROTOCOL HEADER + echo "$HTTPCORS" > ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + sed -i "s~text/html~application/json~g" ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + cat ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json >> ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - ## SEND REPONSE PROCESS IN BACKGROUD - ( cat ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && rm ~/.zen/tmp/${MOATS}/${MOATS}* ) & - #~ ( ## USING IPNS SESSION KEY - #~ REPONSE=$(cat ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json | ipfs add -q) - #~ ipfs name publish --allow-offline --key=${PORT} /ipfs/$REPONSE - #~ echo "SESSION ${myIPFS}/ipns/$SESSIONNS " - #~ ) & + ## SEND REPONSE PROCESS IN BACKGROUD + ( cat ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && rm ~/.zen/tmp/${MOATS}/${MOATS}* ) & + #~ ( ## USING IPNS SESSION KEY + #~ REPONSE=$(cat ~/.zen/tmp/${MOATS}/${MOATS}.messaging.json | ipfs add -q) + #~ ipfs name publish --allow-offline --key=${PORT} /ipfs/$REPONSE + #~ echo "SESSION ${myIPFS}/ipns/$SESSIONNS " + #~ ) & - end=`date +%s` - dur=`expr $end - $start` - echo ${MOATS}:${G1PUB}:${PLAYER}:${APPNAME}:$dur >> ~/.zen/tmp/${IPFSNODEID}/_timings - cat ~/.zen/tmp/${IPFSNODEID}/_timings | tail -n 1 + end=`date +%s` + dur=`expr $end - $start` + echo ${MOATS}:${G1PUB}:${PLAYER}:${APPNAME}:$dur >> ~/.zen/tmp/${IPFSNODEID}/_timings + cat ~/.zen/tmp/${IPFSNODEID}/_timings | tail -n 1 - ) & ## & SUB PROCESS + ) & ## & SUB PROCESS - end=`date +%s` - echo " Messaging launch (☓‿‿☓) Execution time was "`expr $end - $start` seconds. - exit 0 - fi - ######################## MESSAGING END + end=`date +%s` + echo " Messaging launch (☓‿‿☓) Execution time was "`expr $end - $start` seconds. + exit 0 +fi +######################## MESSAGING END ######################################## # G1PUB : REDIRECT TO GCHANGE OR TW + EMAIL => CREATE PLAYER ! ######################################## - if [[ "$APPNAME" == "g1pub" ]]; then +if [[ "$APPNAME" == "g1pub" ]]; then - if [[ "$OBJ" != "email" ]]; then - ## WITH NO EMAIL -> Open Gchange Profile & Update TW cache - [[ ${WHAT} == "astro" ]] && REPLACE="https://$myTUBE/ipns/${ASTRONAUTENS}" \ - || REPLACE="$myGCHANGE/#/app/user/${G1PUB}" - echo ${REPLACE} + if [[ "$OBJ" != "email" ]]; then + ## WITH NO EMAIL -> Open Gchange Profile & Update TW cache + [[ ${WHAT} == "astro" ]] && REPLACE="https://$myTUBE/ipns/${ASTRONAUTENS}" \ + || REPLACE="$myGCHANGE/#/app/user/${G1PUB}" + echo ${REPLACE} - ## REDIRECT TO TW OR GCHANGE PROFILE - sed "s~_TWLINK_~${REPLACE}/~g" ~/.zen/Astroport.ONE/templates/index.302 > ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - ## USED BY https://git.p2p.legal/La_Bureautique/zeg1jeux/src/branch/main/lib/Fred.class.php#L81 - echo "url='"${REPLACE}"'" >> ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + ## REDIRECT TO TW OR GCHANGE PROFILE + sed "s~_TWLINK_~${REPLACE}/~g" ~/.zen/Astroport.ONE/templates/index.302 > ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + ## USED BY https://git.p2p.legal/La_Bureautique/zeg1jeux/src/branch/main/lib/Fred.class.php#L81 + echo "url='"${REPLACE}"'" >> ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - ### REPONSE=$(echo $myGCHANGE/#/app/user/${G1PUB}/ | ipfs add -q) - ### ipfs name publish --allow-offline --key=${PORT} /ipfs/$REPONSE - ### echo "SESSION ${myIPFS}/ipns/$SESSIONNS " - ( - cat ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 - ${MY_PATH}/../tools/TW.cache.sh ${ASTRONAUTENS} ${MOATS} - rm ~/.zen/tmp/${MOATS}/${MOATS}* - ) & - end=`date +%s` - echo $APPNAME" (0‿‿0) ${WHAT} Execution time was "`expr $end - $start` seconds. - exit 0 + ### REPONSE=$(echo $myGCHANGE/#/app/user/${G1PUB}/ | ipfs add -q) + ### ipfs name publish --allow-offline --key=${PORT} /ipfs/$REPONSE + ### echo "SESSION ${myIPFS}/ipns/$SESSIONNS " + ( + cat ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 + ${MY_PATH}/../tools/TW.cache.sh ${ASTRONAUTENS} ${MOATS} + rm ~/.zen/tmp/${MOATS}/${MOATS}* + ) & + end=`date +%s` + echo $APPNAME" (0‿‿0) ${WHAT} Execution time was "`expr $end - $start` seconds. + exit 0 - else + else - # CREATE PLAYER : ?salt=PHRASE%20UNE&pepper=PHRASE%20DEUX&g1pub=on&email=EMAIL&pseudo=PROFILENAME - # WHAT can contain urlencoded FullURL - EMAIL="${VAL,,}" # lowercase + # CREATE PLAYER : ?salt=PHRASE%20UNE&pepper=PHRASE%20DEUX&g1pub=on&email=EMAIL&pseudo=PROFILENAME + # WHAT can contain urlencoded FullURL + EMAIL="${VAL,,}" # lowercase - [[ ! ${EMAIL} ]] && (echo "$HTTPCORS ERROR - MISSING ${EMAIL} FOR ${WHAT} CONTACT" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && echo "(☓‿‿☓) Execution time was "`expr $(date +%s) - $start` seconds. && exit 0 - - ## CHECK WHAT IS EMAIL - if [[ "${EMAIL}" =~ ^[a-zA-Z0-9.%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ ]]; then - echo "VALID EMAIL OK" - else - echo "BAD EMAIL" - (echo "$HTTPCORS KO ${EMAIL} : bad '" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 0 - fi - - ## CREATE PSEUDO FROM - if [[ ! $PSEUDO ]]; then - PSEUDO=$(echo ${EMAIL} | cut -d '@' -f 1) - PSEUDO=${PSEUDO,,}; PSEUDO=${PSEUDO%%[0-9]*}${RANDOM:0:4} - fi - - if [[ ! -d ~/.zen/game/players/${EMAIL} ]]; then - - echo "# ASTRONAUT NEW VISA Create VISA.new.sh in background (~/.zen/tmp/email.${EMAIL}.${MOATS}.txt)" - - ( - startvisa=`date +%s` - [[ "$SALT" == "0" && "$PEPPER" == "0" ]] && SALT="" && PEPPER="" # "0" "0" means random salt pepper - #~ echo "VISA.new : \"$SALT\" \"$PEPPER\" \"${EMAIL}\" \"$PSEUDO\" \"${WHAT}\"" > ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt - ${MY_PATH}/../RUNTIME/VISA.new.sh "$SALT" "$PEPPER" "${EMAIL}" "$PSEUDO" "${WHAT}" >> ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt - - ${MY_PATH}/../tools/mailjet.sh "${EMAIL}" ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt "LOG ZenCard creation" ## Send VISA.new log to EMAIL - - echo "Le code de votre ASTROID est ${PASS}, scannez-le sur La♥Box ẐenStation (demo : https://astroport.copylaradio.com)" > ~/.zen/tmp/${MOATS}/intro.txt - - ## EXECUTE LAST LINE - $(cat ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt | tail -n 1) - echo "export ASTROTW=/ipns/$ASTRONAUTENS ASTROG1=$G1PUB ASTROMAIL=$PLAYER ASTROFEED=$FEEDNS PASS=$PASS" - - BILLETNAME=$(echo "$SALT" | sed 's/ /_/g') - mpack -a -s "La♥Box : ASTROID :+: TW :+: " -d ~/.zen/tmp/${MOATS}/intro.txt \ - ~/.zen/G1BILLET/tmp/g1billet/${PASS}/${BILLETNAME}.BILLET.jpg ${PLAYER} - - end=`date +%s` - dur=`expr $end - $startvisa` - echo ${MOATS}:${G1PUB}:${PLAYER}:VISA:$dur >> ~/.zen/tmp/${IPFSNODEID}/_timings - cat ~/.zen/tmp/${IPFSNODEID}/_timings | tail -n 1 - ) & - - echo "$HTTPCORS - -

ASTRONAUTE $PSEUDO

-
KEY : $SALT:$PEPPER:${EMAIL} -
TW : ${myIPFS}/ipns/${ASTRONAUTENS} -
STATION : ${myIPFS}/ipns/$IPFSNODEID

please wait....
- export ASTROTW=/ipns/${ASTRONAUTENS} ASTROG1=${G1PUB} ASTROMAIL=${EMAIL} ASTROIPFS=${myIPFS}" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 & - - exit 0 - - else - - # ASTRONAUT EXISTING ${EMAIL} - CHECK=$(cat ~/.zen/game/players/${EMAIL}/secret.june | grep -w "$SALT") - [[ $CHECK ]] && CHECK=$(cat ~/.zen/game/players/${EMAIL}/secret.june | grep -w "$PEPPER") - [[ ! $CHECK ]] && (echo "$HTTPCORS - WARNING - PLAYER ${EMAIL} ALREADY HERE" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && echo "(☓‿‿☓) Execution time was "`expr $(date +%s) - $start` seconds. && exit 0 - - fi - - ################################################################################################### - end=`date +%s` - echo " (☓‿‿☓) Execution time was "`expr $end - $start` seconds. - - fi + [[ ! ${EMAIL} ]] && (echo "$HTTPCORS ERROR - MISSING ${EMAIL} FOR ${WHAT} CONTACT" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && echo "(☓‿‿☓) Execution time was "`expr $(date +%s) - $start` seconds. && exit 0 + ## CHECK WHAT IS EMAIL + if [[ "${EMAIL}" =~ ^[a-zA-Z0-9.%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ ]]; then + echo "VALID EMAIL OK" + else + echo "BAD EMAIL" + (echo "$HTTPCORS KO ${EMAIL} : bad '" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 0 fi + + ## CREATE PSEUDO FROM + if [[ ! $PSEUDO ]]; then + PSEUDO=$(echo ${EMAIL} | cut -d '@' -f 1) + PSEUDO=${PSEUDO,,}; PSEUDO=${PSEUDO%%[0-9]*}${RANDOM:0:4} + fi + + if [[ ! -d ~/.zen/game/players/${EMAIL} ]]; then + + echo "# ASTRONAUT NEW VISA Create VISA.new.sh in background (~/.zen/tmp/email.${EMAIL}.${MOATS}.txt)" + + ( + startvisa=`date +%s` + [[ "$SALT" == "0" && "$PEPPER" == "0" ]] && SALT="" && PEPPER="" # "0" "0" means random salt pepper + #~ echo "VISA.new : \"$SALT\" \"$PEPPER\" \"${EMAIL}\" \"$PSEUDO\" \"${WHAT}\"" > ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt + ${MY_PATH}/../RUNTIME/VISA.new.sh "$SALT" "$PEPPER" "${EMAIL}" "$PSEUDO" "${WHAT}" >> ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt + + #~ ${MY_PATH}/../tools/mailjet.sh "${EMAIL}" ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt "LOG ZenCard creation" ## Send VISA.new log to EMAIL + + echo "ASTROID PIN=${PASS}, operate on all La♥Box Web3 ẐenStation (WWW : https://astroport.copylaradio.com)" + ## :: TRICK :: EXECUTE LAST VISA.new.sh output LINE : export above VARs + $(cat ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt | tail -n 1) + echo "export ASTROTW=/ipns/$ASTRONAUTENS ASTROG1=$G1PUB ASTROMAIL=$PLAYER ASTROFEED=$FEEDNS PASS=$PASS" + + BILLETNAME=$(echo "$SALT" | sed 's/ /_/g') + #~ mpack -a -s "La♥Box : ASTROID :+: TW :+: " -d ~/.zen/tmp/${MOATS}/intro.txt \ + #~ ~/.zen/G1BILLET/tmp/g1billet/${PASS}/${BILLETNAME}.BILLET.jpg ${PLAYER} + + end=`date +%s` + dur=`expr $end - $startvisa` + echo ${MOATS}:${G1PUB}:${PLAYER}:VISA:$dur >> ~/.zen/tmp/${IPFSNODEID}/_timings + cat ~/.zen/tmp/${IPFSNODEID}/_timings | tail -n 1 + ) & + + echo "$HTTPCORS + +

ASTRONAUTE $PSEUDO

+
KEY : $SALT:$PEPPER:${EMAIL} +
TW : ${myIPFS}/ipns/${ASTRONAUTENS} +
STATION : ${myIPFS}/ipns/$IPFSNODEID

please wait....
+ export ASTROTW=/ipns/${ASTRONAUTENS} ASTROG1=${G1PUB} ASTROMAIL=${EMAIL} ASTROIPFS=${myIPFS}" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 & + + exit 0 + + else + + # ASTRONAUT EXISTING ${EMAIL} + CHECK=$(cat ~/.zen/game/players/${EMAIL}/secret.june | grep -w "$SALT") + [[ $CHECK ]] && CHECK=$(cat ~/.zen/game/players/${EMAIL}/secret.june | grep -w "$PEPPER") + [[ ! $CHECK ]] && (echo "$HTTPCORS - WARNING - PLAYER ${EMAIL} ALREADY HERE" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && echo "(☓‿‿☓) Execution time was "`expr $(date +%s) - $start` seconds. && exit 0 + + fi + + ################################################################################################### + end=`date +%s` + echo " (☓‿‿☓) Execution time was "`expr $end - $start` seconds. + + fi + +fi ######################################## ######################################## @@ -219,291 +222,294 @@ mkdir -p ~/.zen/tmp/${MOATS}/ #TESTCRAFT=ON nodeid dataid ######################################## ######################################## - if [[ "$APPNAME" == "testcraft" ]]; then +if [[ "$APPNAME" == "testcraft" ]]; then - ( # testcraft & SUB PROCESS +( # testcraft & SUB PROCESS - start=`date +%s` - ## RECORD DATA MADE IN BROWSER (JSON) - OBJID=$OBJ - DATAID=$VAL + start=`date +%s` + ## RECORD DATA MADE IN BROWSER (JSON) + OBJID=$OBJ + DATAID=$VAL - ## export PLAYER - ${MY_PATH}/../tools/TW.cache.sh ${ASTRONAUTENS} ${MOATS} + ## export PLAYER + ${MY_PATH}/../tools/TW.cache.sh ${ASTRONAUTENS} ${MOATS} - ## IS IT INDEX JSON - echo "${PLAYER} $APPNAME IS ${WHAT}" - mkdir -p ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER} + ## IS IT INDEX JSON + echo "${PLAYER} $APPNAME IS ${WHAT}" + mkdir -p ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER} - [[ $WHAT == "on" ]] && WHAT="json" # data mimetype (default "on" = json) + [[ $WHAT == "on" ]] && WHAT="json" # data mimetype (default "on" = json) - ## TODO : modify timeout if isLAN or NOT - [[ $isLAN ]] && WAIT=3 || WAIT=12 - echo "1ST TRY : ipfs --timeout ${WAIT}s cat /ipfs/$DATAID > ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT}" - ipfs --timeout ${WAIT}s cat /ipfs/$DATAID > ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} + ## TODO : modify timeout if isLAN or NOT + [[ $isLAN ]] && WAIT=3 || WAIT=12 + echo "1ST TRY : ipfs --timeout ${WAIT}s cat /ipfs/$DATAID > ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT}" + ipfs --timeout ${WAIT}s cat /ipfs/$DATAID > ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh - if [[ ! -s ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} ]]; then + if [[ ! -s ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} ]]; then - echo "IPFS TIMEOUT >>> (°▃▃°) $DATAID STILL MISSING GATEWAY BANGING FOR IT (°▃▃°)" - array=(${myIPFSGW}/ipfs/:hash https://ipns.co/:hash https://dweb.link/ipfs/:hash https://ipfs.io/ipfs/:hash https://ipfs.fleek.co/ipfs/:hash https://ipfs.best-practice.se/ipfs/:hash https://gateway.pinata.cloud/ipfs/:hash https://gateway.ipfs.io/ipfs/:hash https://cf-ipfs.com/ipfs/:hash https://cloudflare-ipfs.com/ipfs/:hash) - # size=${#array[@]}; index=$(($RANDOM % $size)); echo ${array[$index]} ## TODO CHOOSE RANDOM + echo "IPFS TIMEOUT >>> (°▃▃°) $DATAID STILL MISSING GATEWAY BANGING FOR IT (°▃▃°)" + array=(${myIPFSGW}/ipfs/:hash https://ipns.co/:hash https://dweb.link/ipfs/:hash https://ipfs.io/ipfs/:hash https://ipfs.fleek.co/ipfs/:hash https://ipfs.best-practice.se/ipfs/:hash https://gateway.pinata.cloud/ipfs/:hash https://gateway.ipfs.io/ipfs/:hash https://cf-ipfs.com/ipfs/:hash https://cloudflare-ipfs.com/ipfs/:hash) + # size=${#array[@]}; index=$(($RANDOM % $size)); echo ${array[$index]} ## TODO CHOOSE RANDOM - # official ipfs best gateway from https://luke.lol/ipfs.php - for nicegw in ${array[@]}; do + # official ipfs best gateway from https://luke.lol/ipfs.php + for nicegw in ${array[@]}; do - [[ $(cat ~/.zen/tmp/.ipfsgw.bad.twt | grep -w $nicegw) ]] && echo "<<< BAD GATEWAY >>> $nicegw" && exit 0 - gum=$(echo "$nicegw" | sed "s~:hash~$DATAID~g") - echo "LOADING $gum" - curl -m 5 -so ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} "$gum" - [[ $? != 0 ]] && echo "(✜‿‿✜) BYPASSING" + [[ $(cat ~/.zen/tmp/.ipfsgw.bad.twt | grep -w $nicegw) ]] && echo "<<< BAD GATEWAY >>> $nicegw" && exit 0 + gum=$(echo "$nicegw" | sed "s~:hash~$DATAID~g") + echo "LOADING $gum" + curl -m 5 -so ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} "$gum" + [[ $? != 0 ]] && echo "(✜‿‿✜) BYPASSING" - if [[ -s ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} ]]; then + if [[ -s ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} ]]; then - MIME=$(mimetype -b ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT}) - GOAL=$(ipfs add -q ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT}) + MIME=$(mimetype -b ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT}) + GOAL=$(ipfs add -q ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT}) - if [[ ${GOAL} != ${DATAID} ]]; then - echo " (╥☁╥ ) - BAD ${WHAT} FORMAT ERROR ${MIME} - (╥☁╥ )" - ipfs pin rm /ipfs/${GOAL} - rm ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} - # NOT A JSON AVOID BANISHMENT - echo $nicegw >> ~/.zen/tmp/.ipfsgw.bad.twt - exit 0 + if [[ ${GOAL} != ${DATAID} ]]; then + echo " (╥☁╥ ) - BAD ${WHAT} FORMAT ERROR ${MIME} - (╥☁╥ )" + ipfs pin rm /ipfs/${GOAL} + rm ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} + # NOT A JSON AVOID BANISHMENT + echo $nicegw >> ~/.zen/tmp/.ipfsgw.bad.twt + exit 0 - else - ## GOT IT !! IPFS ADD - ipfs pin add /ipfs/${GOAL} - ## + TW ADD (new_file_in_astroport.sh) + else + ## GOT IT !! IPFS ADD + ipfs pin add /ipfs/${GOAL} + ## + TW ADD (new_file_in_astroport.sh) - echo "(♥‿‿♥) FILE UPLOAD OK"; echo - break + echo "(♥‿‿♥) FILE UPLOAD OK"; echo + break - fi + fi - else + else - echo " (⇀‿‿↼) - NO FILE - (⇀‿‿↼)" - exit 0 + echo " (⇀‿‿↼) - NO FILE - (⇀‿‿↼)" + exit 0 - fi + fi - done + done - fi ## NO DIRECT IPFS - GATEWAY TRY + fi ## NO DIRECT IPFS - GATEWAY TRY - ## REALLY NO FILE FOUND !!! - [[ ! -s ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} ]] && \ - echo "$HTTPCORS ERROR (╥☁╥ ) - $DATAID TIMEOUT - (╥☁╥ )" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 & + ## REALLY NO FILE FOUND !!! + [[ ! -s ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} ]] && \ + echo "$HTTPCORS ERROR (╥☁╥ ) - $DATAID TIMEOUT - (╥☁╥ )" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 & - ## SPECIAL index.[json/html/...] MODE. - [[ ${WHAT} == "index" ]] && cp ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/index.json + ## SPECIAL index.[json/html/...] MODE. + [[ ${WHAT} == "index" ]] && cp ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/index.json ## TODO MAKE MULTIFORMAT DATA & INDEX # RWHAT=$(echo "$WHAT" | cut -d '.' -f 1) # TWHAT=$(echo "$WHAT" | cut -d '.' -f 2) # cp ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${RWHAT}.${TWHAT} - ## REPONSE ON PORT - echo "$HTTPCORS" > ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - sed -i "s~text/html~application/json~g" ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - cat ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} >> ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + ## REPONSE ON PORT + echo "$HTTPCORS" > ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + sed -i "s~text/html~application/json~g" ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + cat ~/.zen/tmp/${IPFSNODEID}/${APPNAME}/${PLAYER}/${MOATS}.data.${WHAT} >> ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - (cat ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && rm ~/.zen/tmp/${MOATS}/${MOATS}.* ) & - - ## REPONSE ON IPFSNODEID - ( - start=`date +%s` - echo "¯\_༼༽_/¯ $IPFSNODEID $PLAYER SIGNALING" - ROUTING=$(ipfs add -rwq ~/.zen/tmp/${IPFSNODEID}/* | tail -n 1 ) - ipfs name publish /ipfs/$ROUTING - echo "DONE" - end=`date +%s` - dur=`expr $end - $start` - echo ${MOATS}:${G1PUB}:${PLAYER}:SELF:$dur >> ~/.zen/tmp/${IPFSNODEID}/_timings - cat ~/.zen/tmp/${IPFSNODEID}/_timings | tail -n 1 - ) & + (cat ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && rm ~/.zen/tmp/${MOATS}/${MOATS}.* ) & + ## REPONSE ON IPFSNODEID + ( + start=`date +%s` + echo "¯\_༼༽_/¯ $IPFSNODEID $PLAYER SIGNALING" + ROUTING=$(ipfs add -rwq ~/.zen/tmp/${IPFSNODEID}/* | tail -n 1 ) + ipfs name publish /ipfs/$ROUTING + echo "DONE" end=`date +%s` dur=`expr $end - $start` - echo ${MOATS}:${G1PUB}:${PLAYER}:${APPNAME}:$dur >> ~/.zen/tmp/${IPFSNODEID}/_timings + echo ${MOATS}:${G1PUB}:${PLAYER}:SELF:$dur >> ~/.zen/tmp/${IPFSNODEID}/_timings cat ~/.zen/tmp/${IPFSNODEID}/_timings | tail -n 1 + ) & - ) & # testcraft & SUB PROCESS + end=`date +%s` + dur=`expr $end - $start` + echo ${MOATS}:${G1PUB}:${PLAYER}:${APPNAME}:$dur >> ~/.zen/tmp/${IPFSNODEID}/_timings + cat ~/.zen/tmp/${IPFSNODEID}/_timings | tail -n 1 - end=`date +%s` - echo "(☓‿‿☓) Execution time was "`expr $end - $start` seconds. - exit 0 - fi +) & # testcraft & SUB PROCESS + + end=`date +%s` + echo "(☓‿‿☓) Execution time was "`expr $end - $start` seconds. + exit 0 +fi ############################################## # PAY : /?salt=SALT&pepper=PEPPER&pay=1&dest=G1PUB APPNAME=$5 WHAT=$6 OBJ=$7 VAL=$8 MOATS=$9 ############################################## - if [[ $APPNAME == "pay" ]]; then - ( - echo "$HTTPCORS" > ~/.zen/tmp/$PLAYER.pay.$WHAT.http +if [[ $APPNAME == "pay" ]]; then +( + echo "$HTTPCORS" > ~/.zen/tmp/$PLAYER.pay.$WHAT.http - if [[ $WHAT =~ ^[0-9]+$ ]]; then + if [[ $WHAT =~ ^[0-9]+$ ]]; then - echo "${MY_PATH}/../tools/PAY4SURE.sh ~/.zen/tmp/${MOATS}/${MOATS}.secret.key pay -a ${WHAT} -p ${VAL} -c 'Bro'" - ${MY_PATH}/../tools/PAY4SURE.sh "${HOME}/.zen/tmp/${MOATS}/${MOATS}.secret.key" "${WHAT}" "${VAL}" "Bro" - echo "PAY4SURE " >> ~/.zen/tmp/$PLAYER.pay.$WHAT.http + echo "${MY_PATH}/../tools/PAY4SURE.sh ~/.zen/tmp/${MOATS}/${MOATS}.secret.key pay -a ${WHAT} -p ${VAL} -c 'Bro'" + ${MY_PATH}/../tools/PAY4SURE.sh "${HOME}/.zen/tmp/${MOATS}/${MOATS}.secret.key" "${WHAT}" "${VAL}" "Bro" + echo "PAY4SURE " >> ~/.zen/tmp/$PLAYER.pay.$WHAT.http - fi + fi - if [[ "$WHAT" == "history" ]]; then - sed -i "s~text/html~application/json~g" ~/.zen/tmp/$PLAYER.pay.$WHAT.http - ~/.zen/Astroport.ONE/tools/timeout.sh -t 20 \ - ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key history -j >> ~/.zen/tmp/$PLAYER.pay.$WHAT.http - fi + if [[ "$WHAT" == "history" ]]; then + sed -i "s~text/html~application/json~g" ~/.zen/tmp/$PLAYER.pay.$WHAT.http + ~/.zen/Astroport.ONE/tools/timeout.sh -t 20 \ + ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key history -j >> ~/.zen/tmp/$PLAYER.pay.$WHAT.http + fi - if [[ "$WHAT" == "get" ]]; then - sed -i "s~text/html~application/json~g" ~/.zen/tmp/$PLAYER.pay.$WHAT.http - ~/.zen/Astroport.ONE/tools/timeout.sh -t 20 \ - ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key get >> ~/.zen/tmp/$PLAYER.pay.$WHAT.http - fi + if [[ "$WHAT" == "get" ]]; then + sed -i "s~text/html~application/json~g" ~/.zen/tmp/$PLAYER.pay.$WHAT.http + ~/.zen/Astroport.ONE/tools/timeout.sh -t 20 \ + ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key get >> ~/.zen/tmp/$PLAYER.pay.$WHAT.http + fi - if [[ "$WHAT" == "balance" ]]; then - ~/.zen/Astroport.ONE/tools/timeout.sh -t 20 \ - ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key balance >> ~/.zen/tmp/$PLAYER.pay.$WHAT.http - fi + if [[ "$WHAT" == "balance" ]]; then + ~/.zen/Astroport.ONE/tools/timeout.sh -t 20 \ + ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key balance >> ~/.zen/tmp/$PLAYER.pay.$WHAT.http + fi - cat ~/.zen/tmp/$PLAYER.pay.$WHAT.http - (cat ~/.zen/tmp/$PLAYER.pay.$WHAT.http | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && rm ~/.zen/tmp/$PLAYER.pay.$WHAT.http ) & - end=`date +%s` - echo "(G_G ) G1BANK Operation time was "`expr $end - $start` seconds. - exit 0 - ) & - fi + cat ~/.zen/tmp/$PLAYER.pay.$WHAT.http + (cat ~/.zen/tmp/$PLAYER.pay.$WHAT.http | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && rm ~/.zen/tmp/$PLAYER.pay.$WHAT.http ) & + end=`date +%s` + echo "(G_G ) G1BANK Operation time was "`expr $end - $start` seconds. + exit 0 +) & +fi ############################################## # FRIEND ★ &friend=G1PUB&stars=1 // APPNAME=$5 WHAT=$6 OBJ=$7 VAL=$8 MOATS=$9 ############################################## - if [[ $APPNAME == "friend" ]]; then +if [[ $APPNAME == "friend" ]]; then - ## CHECK IF ASKING FRIEND TW EXISTS - #~ ipfs --timeout 60s ls /ipns/${ASTRONAUTENS} - #~ [ $? != 0 ] && echo "BAD VISITOR" && exit 0 + ## CHECK IF ASKING FRIEND TW EXISTS + #~ ipfs --timeout 60s ls /ipns/${ASTRONAUTENS} + #~ [ $? != 0 ] && echo "BAD VISITOR" && exit 0 - g1friend=${WHAT} - stars=${VAL:-1} // Default 1 ★ + g1friend=${WHAT} + stars=${VAL:-1} // Default 1 ★ - $MY_PATH/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key stars -p $g1friend -n $stars > ~/.zen/tmp/${MOATS}/${MOATS}.log + $MY_PATH/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/${MOATS}.secret.key stars -p $g1friend -n $stars > ~/.zen/tmp/${MOATS}/${MOATS}.log - ( - echo "$HTTPCORS $(cat ~/.zen/tmp/${MOATS}/${MOATS}.log)"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 - ) & + ( + echo "$HTTPCORS $(cat ~/.zen/tmp/${MOATS}/${MOATS}.log)"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 + ) & - rm ~/.zen/tmp/${MOATS}/${MOATS}.* - end=`date +%s` - echo $APPNAME "(☉_☉ ) ${MESTAR} Execution time was "`expr $end - $start` seconds. - exit 0 - fi + rm ~/.zen/tmp/${MOATS}/${MOATS}.* + end=`date +%s` + echo $APPNAME "(☉_☉ ) ${MESTAR} Execution time was "`expr $end - $start` seconds. + exit 0 +fi ############################################## # GETIPNS ############################################## - if [[ $APPNAME == "getipns" ]]; then - ( echo "$HTTPCORS - url='"${ASTRONAUTENS}"'" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP getipns : ${ASTRONAUTENS}" ) & - end=`date +%s` - echo $APPNAME "(☉_☉ ) /ipns/${ASTRONAUTENS} Execution time was "`expr $end - $start` seconds. - rm ~/.zen/tmp/${MOATS}/${MOATS}.* - exit 0 - fi +if [[ $APPNAME == "getipns" ]]; then + ( echo "$HTTPCORS + url='"${ASTRONAUTENS}"'" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP getipns : ${ASTRONAUTENS}" ) & + end=`date +%s` + echo $APPNAME "(☉_☉ ) /ipns/${ASTRONAUTENS} Execution time was "`expr $end - $start` seconds. + rm ~/.zen/tmp/${MOATS}/${MOATS}.* + exit 0 +fi ############################################## # GETG1PUB ############################################## - if [[ $APPNAME == "getg1pub" ]]; then - ( - echo "$HTTPCORS - url='"${G1PUB}"'" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP getg1pub : ${G1PUB}" - echo "BLURP ${PORT}" - ) & - end=`date +%s` - echo $APPNAME "(☉_☉ ) /ipns/${ASTRONAUTENS} Execution time was "`expr $end - $start` seconds. - rm ~/.zen/tmp/${MOATS}/${MOATS}* - exit 0 - fi +if [[ $APPNAME == "getg1pub" ]]; then + ( + echo "$HTTPCORS + url='"${G1PUB}"'" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP getg1pub : ${G1PUB}" + echo "BLURP ${PORT}" + ) & + end=`date +%s` + echo $APPNAME "(☉_☉ ) /ipns/${ASTRONAUTENS} Execution time was "`expr $end - $start` seconds. + rm ~/.zen/tmp/${MOATS}/${MOATS}* + exit 0 +fi ############################################## # LOGIN ############################################## - if [[ $APPNAME == "login" ]]; then +if [[ $APPNAME == "login" ]]; then - ## INSTALL PLAYER IPNS KEY ON STATION - [[ "${SALT}" =~ ^[a-zA-Z0-9.%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ ]] \ - && PLAYER=${SALT} \ - || PLAYER=${WHAT} + ## INSTALL PLAYER IPNS KEY ON STATION + [[ "${SALT}" =~ ^[a-zA-Z0-9.%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ ]] \ + && PLAYER=${SALT} \ + || PLAYER=${WHAT} - ipfs key import ${PLAYER} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${MOATS}.${G1PUB}.ipns.key - ASTRONAUTENS=$(ipfs key list -l | grep -w $PLAYER | cut -d ' ' -f1) + ipfs key import ${PLAYER} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${MOATS}.${G1PUB}.ipns.key + ASTRONAUTENS=$(ipfs key list -l | grep -w $PLAYER | cut -d ' ' -f1) - #~ WSTATION=$(cat ~/.zen/tmp/WSTATION 2>/dev/null) - #~ [[ $WSTATION != "" ]] \ - #~ && REPLACE=${myIPFS}${WSTATION} \ - #~ || REPLACE=${myIPFS}/ipns/${ASTRONAUTENS} + #~ WSTATION=$(cat ~/.zen/tmp/WSTATION 2>/dev/null) + #~ [[ $WSTATION != "" ]] \ + #~ && REPLACE=${myIPFS}${WSTATION} \ + #~ || REPLACE=${myIPFS}/ipns/${ASTRONAUTENS} - REPLACE=${myIPFS}/ipns/${ASTRONAUTENS} + REPLACE=${myIPFS}/ipns/${ASTRONAUTENS} - USALT=$(echo "$SALT" | jq -Rr @uri) - UPEPPER=$(echo "$PEPPER" | jq -Rr @uri) - echo "/?salt=${USALT}&pepper=${UPEPPER} IS LOGIN - OPEN TW -" - sed "s~_TWLINK_~${REPLACE}~g" ~/.zen/Astroport.ONE/templates/index.302 > ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - ## SET COOKIE - #~ sed -i "s~_USALT_~${USALT}~g" ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - #~ sed -i "s~_UPEPPER_~${UPEPPER}~g" ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - echo "url='"${REPLACE}"'" >> ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - ( - cat ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 - echo "BLURP ${PORT}" - ) & - rm ~/.zen/tmp/${MOATS}/${MOATS}* - end=`date +%s` - echo $APPNAME "(☉_☉ ) Execution time was "`expr $end - $start` seconds. - exit 0 + USALT=$(echo "$SALT" | jq -Rr @uri) + UPEPPER=$(echo "$PEPPER" | jq -Rr @uri) + echo "/?salt=${USALT}&pepper=${UPEPPER} IS LOGIN - OPEN TW -" + sed "s~_TWLINK_~${REPLACE}~g" ~/.zen/Astroport.ONE/templates/index.302 > ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + ## SET COOKIE + #~ sed -i "s~_USALT_~${USALT}~g" ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + #~ sed -i "s~_UPEPPER_~${UPEPPER}~g" ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + echo "url='"${REPLACE}"'" >> ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect + ( + cat ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 + echo "BLURP ${PORT}" + ) & + rm ~/.zen/tmp/${MOATS}/${MOATS}* + end=`date +%s` + echo $APPNAME "(☉_☉ ) Execution time was "`expr $end - $start` seconds. + exit 0 - fi +fi ############################################## # LOGOUT ############################################## - if [[ $APPNAME == "logout" ]]; then +if [[ $APPNAME == "logout" ]]; then - ## REMOVE PLAYER IPNS KEY FROM STATION - [[ "${SALT}" =~ ^[a-zA-Z0-9.%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ ]] \ - && PLAYER=${SALT} \ - || PLAYER=${WHAT} + ## REMOVE PLAYER IPNS KEY FROM STATION + [[ "${SALT}" =~ ^[a-zA-Z0-9.%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ ]] \ + && PLAYER=${SALT} \ + || PLAYER=${WHAT} - echo "

$PLAYER LOGOUT OK

" > ~/.zen/tmp/${MOATS}/${MOATS}.log + echo "

$PLAYER LOGOUT OK

" > ~/.zen/tmp/${MOATS}/${MOATS}.log - ipfs key rm ${G1PUB} >> ~/.zen/tmp/${MOATS}/${MOATS}.log - ipfs key rm ${PLAYER} >> ~/.zen/tmp/${MOATS}/${MOATS}.log + ipfs key rm ${G1PUB} >> ~/.zen/tmp/${MOATS}/${MOATS}.log + ipfs key rm ${PLAYER} >> ~/.zen/tmp/${MOATS}/${MOATS}.log - echo "$HTTPCORS $(cat ~/.zen/tmp/${MOATS}/${MOATS}.log)"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 & - end=`date +%s` - echo $APPNAME "(☉_☉ ) Execution time was "`expr $end - $start` seconds. - rm ~/.zen/tmp/${MOATS}/${MOATS}.* - exit 0 + echo "$HTTPCORS $(cat ~/.zen/tmp/${MOATS}/${MOATS}.log)"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 & + end=`date +%s` + echo $APPNAME "(☉_☉ ) Execution time was "`expr $end - $start` seconds. + rm ~/.zen/tmp/${MOATS}/${MOATS}.* + exit 0 - fi +fi - ################################################################################################### - ################################################################################################### +################################################################################################### +################################################################################################### - ## END RESPONDING - [[ ! -s ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect ]] && echo "$HTTPCORS PORT=$1 THAT=$2 AND=$3 THIS=$4 APPNAME=$5 WHAT=$6 OBJ=$7 VAL=$8 MOATS=$9 url=/user/$G1PUB" > ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - cat ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > ~/.zen/tmp/${MOATS}/${MOATS}.official.swallow & - echo "HTTP 1.1 PROTOCOL DOCUMENT READY" - echo "${MOATS} -----> PAGE AVAILABLE -----> http://${myHOST}:${PORT}" +## END RESPONDING +[[ ! -s ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect ]] \ + && echo "$HTTPCORS PORT=$1 THAT=$2 AND=$3 THIS=$4 APPNAME=$5 WHAT=$6 OBJ=$7 VAL=$8 MOATS=$9 url=/user/$G1PUB" \ + > ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect - end=`date +%s` - echo $type" (J‿‿J) Execution time was "`expr $end - $start` seconds. - rm ~/.zen/tmp/${MOATS}/${MOATS}.* +cat ~/.zen/tmp/${MOATS}/${MOATS}.index.redirect | nc -l -p ${PORT} -q 1 > ~/.zen/tmp/${MOATS}/${MOATS}.official.swallow & +echo "HTTP 1.1 PROTOCOL DOCUMENT READY" +echo "${MOATS} -----> PAGE AVAILABLE -----> http://${myHOST}:${PORT}" + +end=`date +%s` +echo $type" (J‿‿J) Execution time was "`expr $end - $start` seconds. +rm ~/.zen/tmp/${MOATS}/${MOATS}.* exit 0 diff --git a/API/UPLANET.sh b/API/UPLANET.sh index 9cc9dfd7..6af7321e 100755 --- a/API/UPLANET.sh +++ b/API/UPLANET.sh @@ -167,15 +167,14 @@ echo "UMAPNS : ${myIPFS}/ipns/${UMAPNS}" ## ALL TEST PASSED -> CREATE ZENCARD + ASTROID NPASS=$(echo "${RANDOM}${RANDOM}${RANDOM}${RANDOM}" | tail -c-9) ## NOUVEAU PASS 8 CHIFFRES -PPASS=$(head /dev/urandom | tr -dc 'A-Za-z0-9' | head -c 2) ## STRONGER TW SECURITY "AlpH4nUm" -DPASS=$(head /dev/urandom | tr -dc 'A-Za-z0-9' | head -c 2) ## STRONGER TW SECURITY "AlpH4nUm" +PPASS=$(head /dev/urandom | tr -dc 'A-Za-z0-9' | head -c 4) ## STRONGER TW SECURITY "AlpH4nUm" NPASS=$(head /dev/urandom | tr -dc 'A-Za-z0-9' | head -c 10) ## STRONGER TW SECURITY "AlpH4nUm" ## CREATE ASTRONAUTE TW ON CURRENT ASTROPORT ( -echo VISA.new.sh "${EMAIL}_${PPASS}_${DPASS}" "${NPASS}" "${EMAIL}" "UPlanet" "/ipns/${UMAPNS}" "${LAT}" "${LON}" +echo VISA.new.sh "${EMAIL}_${PPASS}" "${NPASS}" "${EMAIL}" "UPlanet" "/ipns/${UMAPNS}" "${LAT}" "${LON}" ##### (☉_☉ ) ####### -${MY_PATH}/../RUNTIME/VISA.new.sh "${EMAIL}_${PPASS}_${DPASS}" "${NPASS}" "${EMAIL}" "UPlanet" "/ipns/${UMAPNS}" "${LAT}" "${LON}" >> ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt +${MY_PATH}/../RUNTIME/VISA.new.sh "${EMAIL}_${PPASS}" "${NPASS}" "${EMAIL}" "UPlanet" "/ipns/${UMAPNS}" "${LAT}" "${LON}" >> ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt ## TO REMOVE : MONITOR ${MY_PATH}/../tools/mailjet.sh "support@qo-op.com" ~/.zen/tmp/email.${EMAIL}.${MOATS}.txt "LOG VISA.new $EMAIL" ## Send VISA.new log to EMAIL @@ -187,7 +186,7 @@ echo "(TW REGISTRATION) Operation time was "`expr $end - $start` seconds. ######################################## ## Calculating TW IPNS ADDRESS -TWADD=$(${MY_PATH}/../tools/keygen -t ipfs "${EMAIL}_${PPASS}_${DPASS}" "${NPASS}") +TWADD=$(${MY_PATH}/../tools/keygen -t ipfs "${EMAIL}_${PPASS}" "${NPASS}") ## HTTP nc ON PORT RESPONSE echo "$HTTPCORS @@ -219,7 +218,7 @@ echo "$HTTPCORS

UPlanet Registration

Your AstroID seeds are:

-

${EMAIL}_${PPASS}_${DPASS}

+

${EMAIL}_${PPASS}

${NPASS}

Generating account... diff --git a/API/ZONE.sh b/API/ZONE.sh index 48ae96b2..a647ccbf 100755 --- a/API/ZONE.sh +++ b/API/ZONE.sh @@ -7,8 +7,7 @@ ## API: ZONE ## Used by OSM2IPFS map_render.html & other UPlanet Client App # ?zone=DEG&ulat=LAT&ulon=LON -## Search for TW numbers in received zone -# = json +## Search for TW numbers in received zone # >> return json ################################################################################ MY_PATH="`dirname \"$0\"`" # relative MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized @@ -42,80 +41,105 @@ function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; } ## RUNNING UPLANET LAT/LON TW DETECTION mkdir -p ~/.zen/tmp/${MOATS}/ -# GET RECEPTION : zone=0.001&ulat=0.02&ulon=0.01 -DEG=${THAT} -[[ -z $DEG ]] && DEG=1 -# DEG=$(echo "$DEG * 10" | bc -l ) -LAT=${THIS} -[[ -z $LAT ]] && LAT=0.00 -LON=${WHAT} -[[ -z $LON ]] && LON=0.00 - # PREPARE HTTP RESPONSE (application/json) echo "${HTTPCORS}" > ~/.zen/tmp/${MOATS}.http sed -i "s~text/html~application/json~g" ~/.zen/tmp/${MOATS}.http -LAT=$(makecoord $LAT) -LON=$(makecoord $LON) +# ------------------------------------------------------------------- # +# GET/?zone=0.001&ulat=0.02&ulon=0.01 +# ------------------------------------------------------------------- # -echo "REQUEST $LAT / $LON / $DEG" +DEG="${THAT}" +[[ -z ${DEG} ]] && DEG=1 +# DEG=$(echo "${DEG} * 10" | bc -l ) -## REGION & ABOVE LEVEL -if [[ $DEG == "0.1" || $DEG == "1" ]]; then - LAT=$(echo ${LAT} | cut -d '.' -f 1) - LON=$(echo ${LON} | cut -d '.' -f 1) - ZONE="_${LAT}_${LON}" - echo "ZONE = ${ZONE}" - ZONEG1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${UPLANETNAME}${ZONE}" "${UPLANETNAME}${ZONE}") - ZONETW="/ipns/"$(${MY_PATH}/../tools/keygen -t ipfs "${YESTERDATE}${UPLANETNAME}${ZONE}" "${YESTERDATE}${UPLANETNAME}${ZONE}") +LAT="${THIS}" +[[ -z $LAT ]] && LAT=0.00 -fi +LON="${WHAT}" +[[ -z $LON ]] && LON=0.00 -## SECTOR LEVEL -if [[ $DEG == "0.01" ]]; then - SECLAT="${LAT::-1}" - SECLON="${LON::-1}" - SECTOR="_${SECLAT}_${SECLON}" - echo "SECTOR = ${SECTOR}" - ZONEG1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}") - ZONETW="/ipns/"$(${MY_PATH}/../tools/keygen -t ipfs "${YESTERDATE}${UPLANETNAME}${SECTOR}" "${YESTERDATE}${UPLANETNAME}${SECTOR}") +LAT=$(makecoord ${LAT}) +LON=$(makecoord ${LON}) +JSON="ZONE_${LAT}_${LON}_${DEG}.json" -fi +[[ $(date +"%H%M") -gt 2012 ]] \ + && THEDATE=${TODATE} \ + || THEDATE=${YESTERDATE} +echo "${THEDATE}" -## UMAP LEVEL -if [[ $DEG == "0.001" ]]; then - swarmnum=$(ls -d ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/_${LAT}*_${LON}*/TW/* 2>/dev/null | wc -l ) - nodenum=$(ls -d ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/_${LAT}*_${LON}*/TW/* 2>/dev/null | wc -l ) - totnum=$(( swarmnum + nodenum )) - echo " ## UMAP _${LAT}*_${LON}* = ${totnum} PLAYERs" + ## SECTOR LEVEL + if [[ ${DEG} == "0.01" ]]; then + SECLAT="${LAT::-1}" + SECLON="${LON::-1}" + SECTOR="_${SECLAT}_${SECLON}" + echo "SECTOR = ${SECTOR}" + ZONEG1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}") + ZONEINDEX="/ipns/"$(${MY_PATH}/../tools/keygen -t ipfs "${THEDATE}${UPLANETNAME}${SECTOR}" "${THEDATE}${UPLANETNAME}${SECTOR}")"/_index.html" + JSON="ZONE${SECTOR}_${DEG}.json" - G1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${UPLANETNAME}${LAT}" "${UPLANETNAME}${LON}") - ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${UMAP}.priv "${YESTERDATE}${UPLANETNAME}${LAT}" "${YESTERDATE}${UPLANETNAME}${LON}" - ipfs key rm ${G1PUB} > /dev/null 2>&1 ## AVOID ERROR ON IMPORT - UMAPNS=$(ipfs key import ${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${UMAP}.priv) + fi - echo '{ "gridNumbers": [ {"lat": '${LAT}', "lon": '${LON}', "number": "(_'${LAT}'_'${LON}') = '${totnum}'", "ipns": "'${myIPFS}/ipns/${UMAPNS}/_index.html'" } ] }' >> ~/.zen/tmp/${MOATS}.http - cat ~/.zen/tmp/${MOATS}.http | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 & - rm -Rf ~/.zen/tmp/${MOATS}/ - end=`date +%s` - echo "(UMAP)_${LAT}_${LON} ${YESTERDATE} $UMAPNS Operation time was "`expr $end - $start` seconds. - exit 0 + ## REGION & ABOVE LEVEL + if [[ ${DEG} == "0.1" || ${DEG} == "1" ]]; then + LAT=$(echo ${LAT} | cut -d '.' -f 1) + LON=$(echo ${LON} | cut -d '.' -f 1) + ZONE="_${LAT}_${LON}" + echo "ZONE = ${ZONE}" + ZONEG1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${UPLANETNAME}${ZONE}" "${UPLANETNAME}${ZONE}") + ZONEINDEX="/ipns/"$(${MY_PATH}/../tools/keygen -t ipfs "${THEDATE}${UPLANETNAME}${ZONE}" "${THEDATE}${UPLANETNAME}${ZONE}") + JSON="ZONE${ZONE}_${DEG}.json" -fi + fi -## ALL OTHER DEG : SEARCH FOR UPLANET TW NUMBERS -echo '{ "gridNumbers": [' >> ~/.zen/tmp/${MOATS}.http +echo " JSON = ${JSON}" + +if [[ ! -s ~/.zen/tmp/${JSON} ]]; then + + ## UMAP LEVEL + if [[ ${DEG} == "0.001" ]]; then + + swarmnum=$(ls -d ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/_${LAT}*_${LON}*/TW/* 2>/dev/null | wc -l ) + nodenum=$(ls -d ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/_${LAT}*_${LON}*/TW/* 2>/dev/null | wc -l ) + totnum=$(( swarmnum + nodenum )) + echo " ## UMAP _${LAT}*_${LON}* = ${totnum} PLAYERs" + + G1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${UPLANETNAME}${LAT}" "${UPLANETNAME}${LON}") + ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${UMAP}.priv "${THEDATE}${UPLANETNAME}${LAT}" "${THEDATE}${UPLANETNAME}${LON}" + ipfs key rm ${G1PUB} > /dev/null 2>&1 ## AVOID ERROR ON IMPORT + UMAPNS=$(ipfs key import ${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${UMAP}.priv) + + echo '{ "gridNumbers": [ {"lat": '${LAT}', "lon": '${LON}', "number": "(_'${LAT}'_'${LON}') = '${totnum}'", "ipns": "'${myIPFS}/ipns/${UMAPNS}/_index.html'" } ] }' \ + > ~/.zen/tmp/${MOATS}/http.grid + + cp ~/.zen/tmp/${MOATS}/http.grid ~/.zen/tmp/${JSON} + cat ~/.zen/tmp/${JSON} >> ~/.zen/tmp/${MOATS}.http + + cat ~/.zen/tmp/${MOATS}.http | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 & + + rm -Rf ~/.zen/tmp/${MOATS}/ + end=`date +%s` + echo "(UMAP)_${LAT}_${LON} ${THEDATE} $UMAPNS Operation time was "`expr $end - $start` seconds. + exit 0 + + fi + + ############################################## + ## SEARCH FOR UPLANET TW NUMBERS IN THAT ZONE + echo '{ "gridNumbers": [' >> ~/.zen/tmp/${MOATS}/http.grid + + for i in $(seq 0 9); + do + + ZLAT=$(echo "$LAT + ${DEG} * $i" | bc -l) + [[ -z ${ZLAT} ]] && ZLAT=0 -for i in $(seq 0 9); -do - ZLAT=$(echo "$LAT + $DEG * $i" | bc -l ) - [[ -z ${ZLAT} ]] && ZLAT=0 - # [[ ! $(echo $ZLAT | grep "\." ) ]] && ZLAT="${ZLAT}." for j in $(seq 0 9); do - ZLON=$(echo "$LON + $DEG * $j" | bc -l ) + + ZLON=$(echo "$LON + ${DEG} * $j" | bc -l) [[ -z ${ZLON} ]] && ZLON=0 - # [[ ! $(echo $ZLON | grep "\." ) ]] && ZLON="${ZLON}." + echo " ## SEARCH UPLANET/__/_*_*/_*.?_*.?/_${ZLAT}*_${ZLON}*" swarmnum=$(ls -d ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/_${ZLAT}*_${ZLON}*/TW/* 2>/dev/null | wc -l ) nodenum=$(ls -d ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/_${ZLAT}*_${ZLON}*/TW/* 2>/dev/null | wc -l ) @@ -123,22 +147,35 @@ do [[ $totnum -gt 9 ]] && displaynum="X" || displaynum=$totnum - [[ $displaynum != "0" ]] && echo '{"lat": '${ZLAT}', "lon": '${ZLON}', "number": "'${displaynum}'", "ipns": "'${ZONETW}'" } - ,' >> ~/.zen/tmp/${MOATS}.http && echo "$DEG :" '{"lat": '${ZLAT}', "lon": '${ZLON}', "number": "'${totnum}'", "ipns": "'${ZONETW}'" }' + [[ $displaynum != "0" ]] && echo '{"lat": '${ZLAT}', "lon": '${ZLON}', "number": "'${displaynum}'", "ipns": "'${ZONEINDEX}'" } + ,' >> ~/.zen/tmp/${MOATS}/http.grid \ + && echo "${DEG} :" '{"lat": '${ZLAT}', "lon": '${ZLON}', "number": "'${totnum}'", "ipns": "'${ZONEINDEX}'" }' done -done -sed -i '$ d' ~/.zen/tmp/${MOATS}.http ## REMOVE LAST ',' + done -echo ']}' >> ~/.zen/tmp/${MOATS}.http + [[ ! $(cat ~/.zen/tmp/${MOATS}/http.grid | tail -n 1 | grep 'gridNumbers' ) ]] \ + && sed -i '$ d' ~/.zen/tmp/${MOATS}/http.grid ## REMOVE LAST ',' + + echo ']}' >> ~/.zen/tmp/${MOATS}/http.grid + + echo "## ADD TO CACHE ~/.zen/tmp/${JSON}" + cp ~/.zen/tmp/${MOATS}/http.grid ~/.zen/tmp/${JSON} + +fi + +cat ~/.zen/tmp/${JSON} | jq -c ### SEND RESPONSE ON PORT -cat ~/.zen/tmp/${MOATS}.http | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 & - +cat ~/.zen/tmp/${JSON} >> ~/.zen/tmp/${MOATS}.http +( + cat ~/.zen/tmp/${MOATS}.http | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 + rm ~/.zen/tmp/${MOATS}/http.grid 2>/dev/null + rm ~/.zen/tmp/${MOATS}.http && echo "BLURP ${JSON}" +) & ## CLEANING rm -Rf ~/.zen/tmp/${MOATS}/ - ## TIMING end=`date +%s` echo "(ZONE) Operation time was "`expr $end - $start` seconds. diff --git a/APY/addfile.sh b/APY/addfile.sh new file mode 100755 index 00000000..76d0a9a4 --- /dev/null +++ b/APY/addfile.sh @@ -0,0 +1,46 @@ +#!/bin/bash +# Usage: bash addfile.sh + +filename="$1" +mime_type="$2" +file_type="$3" + +echo "Processing file: $filename" +echo "MIME type: $mime_type" +echo "File type: $file_type" + +# Check file type and perform corresponding treatment +case $file_type in + "video") + if [[ $mime_type == *"video"* ]]; then + # Video processing logic + echo "Video processing..." + # Add more processing steps as needed + else + echo "Invalid file type for video processing" + fi + ;; + "audio") + if [[ $mime_type == *"audio"* ]]; then + # Audio processing logic + echo "Audio processing..." + # Add more processing steps as needed + else + echo "Invalid file type for audio processing" + fi + ;; + "text") + if [[ $mime_type == *"text"* ]]; then + # Text processing logic + echo "Text processing..." + # Add more processing steps as needed + else + echo "Invalid file type for text processing" + fi + ;; + *) + echo "Unknown file type: $file_type" + ;; +esac + +echo "File processing complete." diff --git a/APY/upload_video.10101.py b/APY/upload_video.10101.py new file mode 100755 index 00000000..ac6c78a5 --- /dev/null +++ b/APY/upload_video.10101.py @@ -0,0 +1,170 @@ +#!/usr/bin/python3 +from fastapi import FastAPI, File, UploadFile, Form, HTTPException +from fastapi.responses import HTMLResponse, JSONResponse +import subprocess +import os +import magic + +app = FastAPI() + +# HTML form for file upload +html_form = """ + + + + + + + File Upload and Processing + + + + +
+

File Upload and Processing

+
+ +
+ + + + + + + +
+ +
Loading...
+
+ +
+
+ + + + + + +""" + +@app.get("/") +async def read_root(): + return HTMLResponse(content=html_form, status_code=200) + +def get_mime_type(file: UploadFile): + mime = magic.Magic() + mime_type = mime.from_buffer(file.file.read(1024)) + return mime_type + +@app.post("/upload") +async def create_upload_file(file: UploadFile = File(...), convert_to: str = Form(...)): + # Validate file size + max_file_size = 100 * 1024 * 1024 # 100MB + if file.file.__sizeof__() > max_file_size: + raise HTTPException(status_code=400, detail="File size exceeds the limit of 100MB") + + # Check the file type + mime_type = get_mime_type(file) + print(f"Detected MIME type: {mime_type}") + + # Save the uploaded file to a temporary location + with open(file.filename, "wb") as f: + f.write(file.file.read()) + + # Continue with the processing logic + # Run the post-treatment Bash script + logs = subprocess.run(["bash", "addfile.sh", file.filename, mime_type, convert_to], capture_output=True, text=True).stdout + + # Optionally, you can remove the temporary file + os.remove(file.filename) + + return JSONResponse(content={"filename": file.filename, "mime_type": mime_type, "convert_to": convert_to, "message": "File processed successfully.", "logs": logs}) + +if __name__ == "__main__": + import uvicorn + + uvicorn.run(app, host="0.0.0.0", port=10101) diff --git a/ASTROBOT/G1Kodi.sh b/ASTROBOT/G1Kodi.sh index b6dc4f71..8a262666 100755 --- a/ASTROBOT/G1Kodi.sh +++ b/ASTROBOT/G1Kodi.sh @@ -168,8 +168,26 @@ while read TITRE; do TEXT="

{{!!titre}} ({{!!year}})

{{!!sub}}

{{!!desc}}
Bande Annonce -

Envoyez un don. Recevez le lien vers ce film dans votre messagerie Cesium+

- " +
+

Voir ce Film:

+

Installez Cesium+

+ + + + + + +
+ + + +
+

Flashez, envoyez un don...

+
ce soir,
recevez le lien dans votre messagerie. +
+ +
+ " ## MAKING TIDDLER echo "## Creation json tiddler ~/.zen/game/players/${PLAYER}/G1Kodi/${TITLE}.dragdrop.json" diff --git a/ASTROBOT/N1Monit.sh b/ASTROBOT/N1Monit.sh deleted file mode 100755 index b77fc817..00000000 --- a/ASTROBOT/N1Monit.sh +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/bash -######################################################################## -# Version: 0.5 -# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) -######################################################################## -# PAD COCODING : https://pad.p2p.legal/s/G1Monit -# KODI SERVICE : Publish and Merge Friends Monit Movies into RSS Stream -######################################################################## -######################################################################## -MY_PATH="`dirname \"$0\"`" # relative -MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized -ME="${0##*/}" - -. "${MY_PATH}/../tools/my.sh" - -echo "$ME RUNNING" -######################################################################## -## SCAN FOR PAYMENT HISTORY -## BUILD python NetworkX script -## SEND MESSAGE TO SOURCEG1PUB -######################################################################## -## THIS SCRIPT IS RUN WHEN A WALLET RECEIVED A TRANSACTION WITH COMMENT STARTING WITH N1Monit -######################################################################## -INDEX="$1" -[[ ! ${INDEX} ]] && INDEX="$HOME/.zen/game/players/.current/ipfs/moa/index.html" -[[ ! -s ${INDEX} ]] && echo "ERROR - Please provide path to source TW index.html" && exit 1 -[[ ! -s ${INDEX} ]] && echo "ERROR - Fichier TW absent. ${INDEX}" && exit 1 - -PLAYER="$2" -[[ ! ${PLAYER} ]] && PLAYER="$(cat ~/.zen/game/players/.current/.player 2>/dev/null)" -[[ ! ${PLAYER} ]] && echo "ERROR - Please provide PLAYER" && exit 1 - -ASTRONAUTENS=$(ipfs key list -l | grep -w ${PLAYER} | cut -d ' ' -f1) -[[ ! ${ASTRONAUTENS} ]] && echo "ERROR - Clef IPNS ${PLAYER} introuvable!" && exit 1 - -G1PUB=$(cat ~/.zen/game/players/${PLAYER}/.g1pub) -[[ ! $G1PUB ]] && echo "ERROR - G1PUB ${PLAYER} VIDE" && exit 1 - -# Extract tag=tube from TW -MOATS="$3" -[[ ! ${MOATS} ]] && MOATS=$(date -u +"%Y%m%d%H%M%S%4N") - -IPUBKEY="$4" -[[ ! ${IPUBKEY} ]] && echo "ERROR - MISSING COMMAND ISSUER !" && exit 1 - -TH="$5" -[[ ! ${TH} ]] && echo "ERROR - MISSING COMMAND TITLE HASH ADDRESS !" && exit 1 - -echo "${PLAYER} : ${IPUBKEY} SEEKING FOR ${TH} -${ASTRONAUTENS} ${G1PUB} " - -#~ ################################################################### -#~ ## CREATE APP NODE PLAYER PUBLICATION DIRECTORY -#~ ################################################################### -mkdir -p $HOME/.zen/tmp/${MOATS} && echo $HOME/.zen/tmp/${MOATS} - -## EXERCICE ### TODO ### -## USE https://networkx.org/documentation/stable/tutorial.html# -## EXTRACT HISTORY WITH jaklis -## CREATE A PYTHON SCRIPT CREATING the 1st level of TX -echo "import networkx as nx -import matplotlib.pyplot as plt -G = nx.Graph() -... -G.add_node(SRCPUB) -G.add_node(DSTPUB) -G.edges[SRCPUB, DSTPUB]['g1'] = AMOUNT -... -nx.draw(G, with_labels=True, font_weight='bold') -plt.show() -" -## EXTEND N1Script WITH MORE FUNCTIONS... exemples ... -## N1Vote: permet de pratiquer le Vote Quadratique -## N1Conf: permet de signifier la Confiance -## ... - -exit 0 diff --git a/A_boostrap_nodes.txt b/A_boostrap_nodes.txt index 87f4d3cc..615a559f 100644 --- a/A_boostrap_nodes.txt +++ b/A_boostrap_nodes.txt @@ -1,4 +1,4 @@ -# CONTAINS Address of 1st Bootstrap Stations (24/24 Public IP) - DO NOT EDIT MANUALY - +# UPlanet Swarm Bootstrap Stations # Adapt for your domain # # https://ipfs.copylaradio.com ipfs.copylaradio.com ################################################################# # astroport.libra.copylaradio.com @@ -7,9 +7,6 @@ # scorpio.copylaradio.com /dnsaddr/scorpio.copylaradio.com/p2p/12D3KooWS8EiLNay8qVnFaULpxW1X9sGZZz4wV8E6E3QEwCRktry -# astroport.sonic.copylaradio.com -# /ip4/161.97.174.60/tcp/4001/p2p/12D3KooWJnzYzJBtruXZwUQJriF1ePtDQCUQp4aNBV5FjpYVdfhc - ################################################################# ###### WISHING TO ADD YOUR NODE TO OFFICIAL ASTROPORT BOOSTRAP LIST ? ###### ===> CONTACT support@qo-op.com diff --git a/A_boostrap_ssh.txt b/A_boostrap_ssh.txt new file mode 100644 index 00000000..20cceadc --- /dev/null +++ b/A_boostrap_ssh.txt @@ -0,0 +1,6 @@ +## SSH PUBLIC KEYS +## SEEDS OF THE DRAGONS WOT +## https://pad.p2p.legal/keygen +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEtg3SlRxtzsQnsBSeU83W0tvUyBTUvOU5lhjlbZVPCZ support@qo-op.com +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILTzTegcBD3WwIyTwT3kIh6jGqyLZzEzXhcuF6IhAjlc +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHJBG6lim4ZmSmpU+GbOKJXO9arfRCP5TdKlhGa4CLJp diff --git a/BOOKS/HowTo_natools.py.md b/BOOKS/HowTo_natools.py.md new file mode 100644 index 00000000..e985a6e3 --- /dev/null +++ b/BOOKS/HowTo_natools.py.md @@ -0,0 +1,48 @@ +To use `natools` for message encryption (to destination) and signature (from sender), you would typically follow these steps: + +### 1. Generate Key Pairs: + - Both the sender and the recipient need to generate their key pairs (public and private keys). You can use the `natools` script to generate keys. + + ```bash + # Sender generate keys + python3 natools.py privkey -k ~/.zen/game/sender_secret.dunikey -f cred + python3 natools.py pubkey -k ~/.zen/game/sender_secret.dunikey -o sender_public_key + + # Recipient generates keys + python3 natools.py privkey -k ~/.zen/game/myswarm_secret.dunikey -f cred + python3 natools.py pubkey -k ~/.zen/game/myswarm_secret.dunikey -o recipient_public_key + ``` + +### 2. Encrypt the Message: + - The sender uses the recipient's public key to encrypt the message. + + ```bash + python3 natools.py encrypt -i plaintext.txt -k recipient_public_key -o encrypted_message.bin + ``` + +### 3. Sign the Message: + - The sender signs the original message using their private key. + + ```bash + python3 natools.py sign -i plaintext.txt -k sender_private_key -o signature.bin + ``` + +### 4. Verify the Signature: + - The recipient uses the sender's public key to verify the signature. + + ```bash + python3 natools.py verify -i plaintext.txt -p sender_public_key + ``` + + - The script will output "Signature OK!" if the verification is successful. + +### 5. Decrypt the Message: + - The recipient uses their private key to decrypt the message. + + ```bash + python3 natools.py decrypt -i encrypted_message.bin -k recipient_private_key -o decrypted_message.txt + ``` + +Now you have successfully performed message encryption to the destination and signature from the sender using the `natools` script. Adjust the file paths and content as needed for your specific use case. + +Note: Ensure that both sender and recipient securely store their private keys. Public keys can be shared openly. The encrypted message, signature, and decrypted message are intermediate files used for illustration; adjust as needed in your application. diff --git a/BOOSTRAP/OC_API.md b/BOOKS/OC_API.md similarity index 100% rename from BOOSTRAP/OC_API.md rename to BOOKS/OC_API.md diff --git a/BOOSTRAP/Readme.md b/BOOKS/Readme.md similarity index 99% rename from BOOSTRAP/Readme.md rename to BOOKS/Readme.md index ed8f275f..68017209 100644 --- a/BOOSTRAP/Readme.md +++ b/BOOKS/Readme.md @@ -123,7 +123,7 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEtg3SlRxtzsQnsBSeU83W0tvUyBTUvOU5lhjlbZVPCZ * “keygen” https://git.p2p.legal/STI/Astroport.ONE/src/branch/master/tools/keygen * “natools” https://git.p2p.legal/STI/Astroport.ONE/src/branch/master/tools/natools.py * “jaklis” https://git.p2p.legal/axiom-team/jaklis -* “ipfs” https://git.p2p.legal/STI/Astroport.ONE/src/branch/master/kubo_v0.20.0_linux.install.sh +* “ipfs” https://git.p2p.legal/STI/Astroport.ONE/src/branch/master/install.kubo_v0.20.0_linux.sh ## ASTROPORT CREW GILET https://astroport.myspreadshop.fr/create?product=a68ad31e-d554-4c75-821d-97b00d6ad13f&view=2 diff --git a/BOOKS/TheNetworkState.pdf b/BOOKS/TheNetworkState.pdf new file mode 100644 index 00000000..2dbda2a8 Binary files /dev/null and b/BOOKS/TheNetworkState.pdf differ diff --git a/docker-compose.duniter.yml b/DOCKER/docker-compose.duniter.yml similarity index 100% rename from docker-compose.duniter.yml rename to DOCKER/docker-compose.duniter.yml diff --git a/docker-compose.duniter1.8.7.yml b/DOCKER/docker-compose.duniter1.8.7.yml similarity index 100% rename from docker-compose.duniter1.8.7.yml rename to DOCKER/docker-compose.duniter1.8.7.yml diff --git a/DOCKER/docker-compose.minetest.yml b/DOCKER/docker-compose.minetest.yml new file mode 100644 index 00000000..c8824bd5 --- /dev/null +++ b/DOCKER/docker-compose.minetest.yml @@ -0,0 +1,16 @@ +version: '3.6' + +services: + minetest: + image: lscr.io/linuxserver/minetest:latest + container_name: minetest + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + - "CLI_ARGS=--gameid minetest --port 30000" #optional + volumes: + - /path/to/data:/config/.minetest + ports: + - 30000:30000/udp + restart: unless-stopped diff --git a/docker-compose.nextcloud.yml b/DOCKER/docker-compose.nextcloud.yml similarity index 100% rename from docker-compose.nextcloud.yml rename to DOCKER/docker-compose.nextcloud.yml diff --git a/docker-compose.nginx-proxy-manager.yml b/DOCKER/docker-compose.nginx-proxy-manager.yml similarity index 100% rename from docker-compose.nginx-proxy-manager.yml rename to DOCKER/docker-compose.nginx-proxy-manager.yml diff --git a/README.md b/README.md index fb9be1da..92cc9f0b 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ [Astroport DEV Journal](https://pad.p2p.legal/s/AstroportDEVJournal#) -**Embark on a Cosmic Journey with ZenCard Payment System and Astroport.ONE** +**Embark on a Cosmic Journey with AstroID & ZenCard System and Astroport.ONE** Are you weary of the constraints of traditional payment systems and concerned about the reliability -of your distributed storage solutions? Look no further! Our revolutionary ZenCard Payment System +of your distributed storage solutions? Look no further! Our revolutionary ZenCard QRCode based Payment System and Astroport.ONE v1.0 seamlessly blend cutting-edge blockchain technology with interplanetary storage, offering you a commission-free and secure solution. @@ -19,19 +19,6 @@ the planet is sliced into 0.01° segments, ensuring locally registered Tiddlers As a network engineer and system administrator committed to the Common Good, join us in constructing Astroport.ONE and shaping the future of secure and reliable distributed storage. -**ZenCard Payment System: Empowering Transactions, Empowering Dreams** - -As blockchain makers, our ZenCard Payment System is not merely a crypto wallet; it's a game-changing payment card and terminal solution. -Our controlled coin-emitting blockchain transfers 1 coin to your ZenCard per fiat money unit saved in the fiscal host. -This unique approach makes blockchain accessible to everyone. - -Become a donor and a shareholder, receiving Coins equivalent to the Euros paid. Achieve a stable coin state of "1=1" through seamless transactions -with a Host capable of sending and receiving Euros to users with zero fees, facilitated by PayPal integration. - -Activate your account on UPlanet, make donations to https://opencollective.com/made-in-zen, and receive encrypted wallets via email—printed -in QRCode format for added security. Step into a future where financial transactions are commission-free, -and data is securely stored across the cosmos. - **Station Extra-Terrestre Astroport.ONE: Where Innovation Meets Tranquility** In the midst of this technological revolution, discover the Station Extra-Terrestre Astroport.ONE. @@ -73,43 +60,21 @@ At this point, if it exists "ASTROBOT/G1Tag.sh" program will publish the data re # INSTALLATION (Linux Mint / Ubuntu / DEBIAN) -There is 2 methods one for server and one for Linux Mint desktop - -## SERVER : Using DOCKER (and MyOS) - -the easiest way to automaticaly deploy and host Astroport.ONE services - -``` -# install minimal requirements -sudo apt install git docker make - -# clone Astroport.ONE repo -git clone https://github.com/papiche/Astroport.ONE.git - -cd Astroport.ONE -make -make install - -``` -If your computer is running 24/24, you can join our "Boostrap list" & officially become a [TW UPlanet hoster](https://talk.tiddlywiki.org/t/uplanet-a-planet-full-of-tws/8193?u=papiche) - -> DOCKER MODE NOT READY TO USE !! FOLLOW AND ADAPT NEXT STEP - -## DESKTOP : Using install.sh script - Tested on "Linux Mint" (Debian like distro compatible), the **hacker way for using & buidling new blockchain services** ... -``` -# install on system wide -# SOURCE GIT.P2P.LEGAL -bash <(wget -qO- https://git.p2p.legal/qo-op/Astroport.ONE/raw/branch/master/install.sh) +INSTALL COMMAND -# SOURCE GITHUB +``` bash <(wget -qO- https://raw.githubusercontent.com/papiche/Astroport.ONE/master/install.sh) ``` -> PLEASE REPORT ANY ISSUES +> TODO: MORE MODULAR INSTALL. +> CREATE adventure explaining it + +## DRAGONS WOT + +Once you install Astroport.ONE... If all has gone well, you should find these processes running... @@ -126,7 +91,12 @@ If all has gone well, you should find these processes running... ``` -# LAUNCH +> Become Official REGIONAL Station +> - follow "PGP/SSH/IPFSNODEID" linking procedure - +> https://pad.p2p.legal/keygen + + +# DESKTOP After installation, you should have 3 new shortcuts on your desktop @@ -134,6 +104,10 @@ After installation, you should have 3 new shortcuts on your desktop * REC" allows you to save your files on IPFS and publish their Capusle in your TW. * G1BILLET" lets you create ZenCards and other useful QRCodes +NB : If you use "Nemo" as file manager. You can "ipfs add" any file (with no space in file name) by right click it. + +> TODO : detect OS and FILE MANAGER to adapt desktop linking and right clic action + ## How to manage your "Astroport"! You need to create a "PLAYER". @@ -144,8 +118,9 @@ It is defined by email, salt, pepper, lat, lon and PASS ``` Browse available functions -A Station can host multiple "PLAYER and its TiddlyWiki". +A Station can host multiple "PLAYERs and TiddlyWikis". +--- # "BASH API" : "♥BOX" ## http://astroport.localhost:1234 @@ -356,7 +331,9 @@ GET /?player=${PLAYER}&moa=json&tag=G1CopierYoutube > CAN BE EXTENDED ## ➤ AMZQR : Create a QRCode with "amzqr" -### ```/?amzqr=${URLENCODEDSTRING}&logo=${IMAGE}``` +```http +GET /?amzqr=${URLENCODEDSTRING}&logo=${IMAGE} +``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | @@ -366,19 +343,21 @@ GET /?player=${PLAYER}&moa=json&tag=G1CopierYoutube check available "logo.png" in [./images](./images) ## ➤ UPLANET : Create Umap, AstroID & ZenCard for PLAYER (email) -### ```/?uplanet=${PLAYER}&salt=${LAT}&pepper=${LON}&g1pub=${PASS}``` +```http +GET /?uplanet=${PLAYER}&zlat=${LAT}&zlon=${LON}&g1pub=${PASS} +``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `uplanet` | `email` | **Required** Your EMAIL token | -| `salt` | `decimal` | **Required** LATITUDE with 2 decimals digits | -| `pepper` | `decimal` | **Required** LONGITUDE with 2 decimals digits | +| `zlat` | `decimal` | **Required** LATITUDE with 2 decimals digits | +| `zlon` | `decimal` | **Required** LONGITUDE with 2 decimals digits | | `g1pub` | `string` | **Facultative** choose Umap AstroID PASS | Create à Umap key (LAT/LON), then a PLAYER TW with GPS as Umap IPNS reference This API is used by OSM2IPFS code. -UPlanet Entrance : https://qo-op.com +* [UPlanet Entrance](https://qo-op.com) ### ➤ QRCODE (API SandBox) ```http @@ -498,12 +477,13 @@ http://localhost:12345 renvoi un json | created | date de creation du document | | hostname | nom de la station | | myIP | adresse IP de la station | -| ipfsnodeid | date de creation du document | +| ipfsnodeid | Clef publique, balise de la station | | astroport | Lien vers l'API de la station | | g1station | Lien vers la carte PLAYER de la Station | | g1swarm | Lien vers la carte des cartes des Stations de l'essaim | -Afin de propager la carte chaque Stations lors de son raffraichissement de cache demande aux Boostrap de la récupérer +Afin de propager la carte chaque station lors de son raffraichissement de cache + envoi aux Boostrap une requête pour upload (```/ipns/${IPFSNODEID}```) ``` STATION MAP UPSYNC : http://$nodeip:12345/?${GNODEID}=${IPFSNODEID} ``` diff --git a/RUNTIME/DRAGON_p2p_ssh.sh b/RUNTIME/DRAGON_p2p_ssh.sh new file mode 100755 index 00000000..ac25d2a8 --- /dev/null +++ b/RUNTIME/DRAGON_p2p_ssh.sh @@ -0,0 +1,89 @@ +#!/bin/bash +################################################################################ +# Author: Fred (support@qo-op.com) +# Version: 0.2 +# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) +################################################################################ +# Activate SUPPORT MODE: open ssh over IPFS +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +. "$MY_PATH/../tools/my.sh" +######################################################################## +YOU=$(myIpfsApi) || er+=" ipfs daemon not running" +[[ "$YOU" == "" || "${IPFSNODEID}" == "" ]] && echo "ERROR : $er " && exit 1 +######################################################################## +## THIS SCRIPT COPY BOOSTRAP PUBKEY +### AND OPEN IPFS P2P SSH FORWARD ON CHANNEL +# Make Station publish SSH port on "/x/ssh-$(IPFSNODEID)" +######################################################################## +## use STOP or OFF to finish forwarding + +PARAM="$1" +if [[ "${PARAM,,}" == "off" || "${PARAM,,}" == "stop" ]]; then + ipfs p2p close --all + rm ~/.zen/tmp/${IPFSNODEID}/x_ssh.sh 2>/dev/null + rm ~/.zen/tmp/${IPFSNODEID}/y_ssh.pub 2>/dev/null + echo "STOP" && exit 0 +fi + +############################################ +## DISTRIBUTE DRAGON SSH WOT SEED +# A_boostrap_ssh.txt +############################################ +while IFS= read -r line +do + LINE=$(echo "$line" | grep "ssh-ed25519" | grep -Ev "#") # Remove # & not ssh-ed25519 + [[ ! ${LINE} ]] && continue + if [[ ! $(cat ~/.ssh/authorized_keys | grep "${LINE}") ]] + then + echo "# ADDING ${LINE} to ~/.ssh/authorized_keys" + mkdir -p ~/.ssh && echo "${LINE}" >> ~/.ssh/authorized_keys + else + echo "TRUSTING ${LINE}" + fi +done < ${MY_PATH}/../A_boostrap_ssh.txt + +############################################ +## PUBLISH SSH PUBKEY OVER IPFS +## KITTY ssh-keygen style +[[ -s ~/.ssh/id_ed25519.pub ]] && cp ~/.ssh/id_ed25519.pub ~/.zen/tmp/${IPFSNODEID}/y_ssh.pub +## DRAGONz PGP/SSH style (https://pad.p2p.legal/keygen) +gpg --export-ssh-key $(cat ~/.zen/game/players/.current/.player) 2>/dev/null > ~/.zen/tmp/${IPFSNODEID}/z_ssh.pub +[[ -z ~/.zen/tmp/${IPFSNODEID}/z_ssh.pub ]] && rm ~/.zen/tmp/${IPFSNODEID}/z_ssh.pub # remove empty file + +############################################ +### FORWARD SSH PORT over /x/ssh-${IPFSNODEID} +############################################ +echo "Lanching /x/ssh-${IPFSNODEID}" + +[[ ! $(ipfs p2p ls | grep "/x/ssh-${IPFSNODEID}") ]] \ + && ipfs p2p listen /x/ssh-${IPFSNODEID} /ip4/127.0.0.1/tcp/22 + +ipfs p2p ls + +echo +############################################ +## PREPARE x_ssh.sh +## REMOTE ACCESS COMMAND FROM DRAGONS +############################################ +PORT=22000 +PORT=$((PORT+${RANDOM:0:3})) + +echo '#!/bin/bash +if [[ ! $(ipfs p2p ls | grep x/ssh-'${IPFSNODEID}') ]]; then + ipfs --timeout=10s ping -n 4 /p2p/'${IPFSNODEID}' + [[ $? == 0 ]] \ + && ipfs p2p forward /x/ssh-'${IPFSNODEID}' /ip4/127.0.0.1/tcp/'${PORT}' /p2p/'${IPFSNODEID}' \ + && ssh '${USER}'@127.0.0.1 -p '${PORT}' + || echo "CONTACT IPFSNODEID FAILED - ERROR -" +fi +' > ~/.zen/tmp/${IPFSNODEID}/x_ssh.sh + +cat ~/.zen/tmp/${IPFSNODEID}/x_ssh.sh + +############################################ +echo +echo "ipfs cat /ipns/${IPFSNODEID}/x_ssh.sh | bash" +############################################ + +exit 0 diff --git a/RUNTIME/G1PalPay.sh b/RUNTIME/G1PalPay.sh index c4a0b62d..e29014c3 100755 --- a/RUNTIME/G1PalPay.sh +++ b/RUNTIME/G1PalPay.sh @@ -12,29 +12,28 @@ ME="${0##*/}" . "${MY_PATH}/../tools/my.sh" - CESIUM=${myCESIUM} - GCHANGE=${myGCHANGE} +CESIUM=${myCESIUM} +GCHANGE=${myGCHANGE} -echo "(✜‿‿✜) G1PalPay : Receiving & Relaying payments to emails found in comment" echo "$ME RUNNING" ######################################################################## -# PALPAY SERVICE +# PALPAY SERVICE : MONITOR INCOMING TX & NEW TIDDLERS ######################################################################## ######################################################################## -INDEX="$1" +INDEX="$1" ## TW file [[ ! ${INDEX} ]] && INDEX="$HOME/.zen/game/players/.current/ipfs/moa/index.html" [[ ! -s ${INDEX} ]] && echo "ERROR - Please provide path to source TW index.html" && exit 1 [[ ! -s ${INDEX} ]] && echo "ERROR - Fichier TW absent. ${INDEX}" && exit 1 -PLAYER="$2" +PLAYER="$2" ## PLAYER [[ ! ${PLAYER} ]] && PLAYER="$(cat ~/.zen/game/players/.current/.player 2>/dev/null)" [[ ! ${PLAYER} ]] && echo "ERROR - Please provide PLAYER" && exit 1 -ASTRONAUTENS=$(ipfs key list -l | grep -w ${PLAYER} | cut -d ' ' -f1) +ASTRONAUTENS=$(ipfs key list -l | grep -w ${PLAYER} | cut -d ' ' -f1) ## TW /ipns/ [[ ! ${ASTRONAUTENS} ]] && echo "ERROR - Clef IPNS ${PLAYER} introuvable!" && exit 1 -G1PUB=$(cat ~/.zen/game/players/${PLAYER}/.g1pub) +G1PUB=$(cat ~/.zen/game/players/${PLAYER}/.g1pub) ## PLAYER WALLET [[ ! $G1PUB ]] && echo "ERROR - G1PUB ${PLAYER} VIDE" && exit 1 # Extract tag=tube from TW @@ -47,23 +46,32 @@ MOATS="$3" mkdir -p $HOME/.zen/tmp/${IPFSNODEID}/G1PalPay/${PLAYER}/ mkdir -p $HOME/.zen/game/players/${PLAYER}/G1PalPay/ mkdir -p $HOME/.zen/tmp/${MOATS} -echo "=========== ( ◕‿◕) (◕‿◕ ) ==============" +echo "=========== ( ◕‿◕) (◕‿◕ ) ============== ${PLAYER} +${INDEX}" +echo "(✜‿‿✜) G1PalPay : CHECK LAST 10 TX comment" # CHECK LAST 10 INCOMING PAYMENTS ~/.zen/Astroport.ONE/tools/timeout.sh -t 12 \ ${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey history -n 10 -j > $HOME/.zen/game/players/${PLAYER}/G1PalPay/${PLAYER}.duniter.history.json [[ ! -s $HOME/.zen/game/players/${PLAYER}/G1PalPay/${PLAYER}.duniter.history.json ]] \ -&& echo "NO PAYMENT HISTORY" \ +&& echo "NO PAYMENT HISTORY.......................... EXIT" \ && exit 1 ############################## ########################################################## ############# CHECK FOR N1COMMANDs IN PAYMENT COMMENT +# TODO check amout > 0 ################################################################# +cat $HOME/.zen/game/players/${PLAYER}/G1PalPay/${PLAYER}.duniter.history.json | jq -rc .[] +## TREAT ANY COMMENT STARTING WITH N1: +## EXTRACT /ASTROBOT/N1ProgramNames +ls ${MY_PATH}/../ASTROBOT/ | grep "N1" | cut -d "." -f 1 > ~/.zen/tmp/${MOATS}/N1PROG -## TREAT ANY COMMENT STARTING WITH N1 -cat $HOME/.zen/game/players/${PLAYER}/G1PalPay/${PLAYER}.duniter.history.json | jq -rc .[] | grep 'N1' > ~/.zen/tmp/${MOATS}/myN1.json +while read prog; do + cat $HOME/.zen/game/players/${PLAYER}/G1PalPay/${PLAYER}.duniter.history.json | jq -rc .[] | grep "$prog" >> ~/.zen/tmp/${MOATS}/myN1.json +done < ~/.zen/tmp/${MOATS}/N1PROG +# got N1 incoming TX while read NLINE; do ## COMMENT FORMAT = N1$CMD:$TH:$TRAIL TXIDATE=$(echo ${NLINE} | jq -r .date) @@ -72,7 +80,10 @@ while read NLINE; do COMMENT=$(echo ${NLINE} | jq -r .comment) CMD=$(echo ${COMMENT} | cut -d ':' -f 1 | cut -c -12 ) # Maximum 12 characters CMD - [[ $(cat ~/.zen/game/players/${PLAYER}/.ndate) -ge $TXIDATE ]] && echo "$CMD $TXIDATE from $TXIPUBKEY ALREADY TREATED - continue" && continue + # Verify last recorded acting date (avoid running twice) + [[ $(cat ~/.zen/game/players/${PLAYER}/.ndate) -ge $TXIDATE ]] \ + && echo "$CMD $TXIDATE from $TXIPUBKEY ALREADY TREATED - continue" \ + && continue TH=$(echo ${COMMENT} | cut -d ':' -f 2) TRAIL=$(echo ${COMMENT} | cut -d ':' -f 3-) @@ -114,7 +125,9 @@ while read LINE; do COMMENT=$(echo $JSON | jq -r .comment) echo ">>> TODO CHECK TX HAPPENS LAST 24H (WHAT IS TXIDATE=$TXIDATE FORMAT ??)" - [[ $(cat ~/.zen/game/players/${PLAYER}/.atdate) -ge $TXIDATE ]] && echo "PalPay $TXIDATE from $TXIPUBKEY ALREADY TREATED - continue" && continue + [[ $(cat ~/.zen/game/players/${PLAYER}/.atdate) -ge $TXIDATE ]] \ + && echo "PalPay $TXIDATE from $TXIPUBKEY ALREADY TREATED - continue" \ + && continue ## GET EMAILS FROM COMMENT TXIMAILS=($(echo "$COMMENT" | grep -E -o "\b[a-zA-Z0-9.%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b")) @@ -123,9 +136,11 @@ while read LINE; do echo "N=${#TXIMAILS[@]}" N=${#TXIMAILS[@]} SHARE=$(echo "scale=2; $TXIAMOUNT / $N" | bc) + ## SHARE is received AMOUT divided by numbers of EMAILS in comment echo "$TXIDATE $TXIPUBKEY $TXIAMOUNT [$TXIAMOUNTUD] $TXIMAILS % $SHARE %" + # let's loop over TXIMAILS for EMAIL in "${TXIMAILS[@]}"; do [[ ${EMAIL} == $PLAYER ]] && echo "ME MYSELF" && continue @@ -144,8 +159,8 @@ while read LINE; do [[ ! ${ASTROG1} ]] \ && echo "

SORRY ${EMAIL} YOUR ACCOUNT IS MISSING

" \ - && echo " BRO. $PLAYER WISH TO SEND YOU SOME ẐEN

(♥‿‿♥)... Join UPlanet and receive it" > ~/.zen/tmp/palpay.bro \ - && ${MY_PATH}/../tools/mailjet.sh "${EMAIL}" ~/.zen/tmp/palpay.bro "NEED FOR ACCOUNT" \ + && echo " BRO. $PLAYER WISH TO SEND YOU SOME ẐEN

(♥‿‿♥)... Join UPlanet to receive it" > ~/.zen/tmp/palpay.bro \ + && ${MY_PATH}/../tools/mailjet.sh "${EMAIL}" ~/.zen/tmp/palpay.bro "MISSING ACCOUNT" \ && continue @@ -183,22 +198,27 @@ echo "=========== %%%%% (°▃▃°) %%%%%%% ==============" echo "# EXTRACT TODAY TIDDLERS" tiddlywiki --load ${INDEX} \ --output ~/.zen/game/players/${PLAYER}/G1CopierYoutube/${G1PUB}/ \ - --render '.' "today.${PLAYER}.tiddlers.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-1]]' + --render '.' "today.${PLAYER}.tiddlers.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-2]]' ## FILTER MY OWN EMAIL # cat ~/.zen/game/players/${PLAYER}/G1CopierYoutube/${G1PUB}/today.${PLAYER}.tiddlers.json | jq -rc # LOG cat ~/.zen/game/players/${PLAYER}/G1CopierYoutube/${G1PUB}/today.${PLAYER}.tiddlers.json \ - | sed "s~${PLAYER}~ ~g" | jq -rc '.[] | select(.tags | contains("@"))' > ~/.zen/tmp/${MOATS}/@tags.json 2>/dev/null ## REMOVE PLAYER EMAIL IN INLINE JSON + | sed "s~${PLAYER}~ ~g" | jq -rc '.[] | select(.tags | contains("@"))' \ + > ~/.zen/tmp/${MOATS}/@tags.json 2>/dev/null ## Get tiddlers with not my email in it -[[ ! -s ~/.zen/tmp/${MOATS}/@tags.json ]] && echo "NO EXTRA @tags.json TIDDLERS TODAY" && exit 0 +[[ ! -s ~/.zen/tmp/${MOATS}/@tags.json ]] \ + && echo "NO EXTRA @tags.json TIDDLERS TODAY" \ + && exit 0 # LOG cat ~/.zen/tmp/${MOATS}/@tags.json -echo "******************TIDDLERS with EMAIL in TAGS treatment" +echo "******************TIDDLERS with new EMAIL in TAGS treatment" #~ cat ~/.zen/game/players/${PLAYER}/G1CopierYoutube/${G1PUB}/${PLAYER}.tiddlers.json | sed "s~${PLAYER}~ ~g" | jq -rc '.[] | select(.tags | contains("@"))' > ~/.zen/tmp/${MOATS}/@tags.json -## EXTRACT NOT MY EMAIL +################################ +## detect NOT MY EMAIL in TODAY TIDDLERS +################################ while read LINE; do echo "---------------------------------- Sava PalPé mec" @@ -220,7 +240,7 @@ while read LINE; do ## Count emails found emails=($(echo "$TTAGS" | grep -E -o "\b[a-zA-Z0-9.%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b")) nb=${#emails[@]} - zen=$(echo "scale=2; $nb / 10" | bc) ## / divide by 10, 1 zen each + zen=$(echo "scale=2; $nb / 10" | bc) ## / divide by 10 = 1 Zen each ## Get first zmail ZMAIL="${emails}" diff --git a/RUNTIME/G1Voeu.sh b/RUNTIME/G1Voeu.sh index 4b6e85bb..f8592acf 100755 --- a/RUNTIME/G1Voeu.sh +++ b/RUNTIME/G1Voeu.sh @@ -46,7 +46,7 @@ mkdir -p ~/.zen/tmp/${MOATS} [[ ${PEPPER} ]] && echo "Using PLAYER PEPPER AS WISH SALT" && SECRET1=${PEPPER} ## [[ ! ${SECRET1} ]] && SECRET1=$(${MY_PATH}/../tools/diceware.sh 3 | xargs) - echo "${SECRET1}" + #~ echo "${SECRET1}" echo "## TITRE DU G1VOEU ? CapitalGluedWords please" [[ ! ${TITRE} ]] && read TITRE @@ -151,7 +151,7 @@ convert -gravity northwest -pointsize 50 -fill black -draw "text 30,300 \"${Voeu TW G1Voeu "${PLAYER}"

<\$button class='tc-tiddlylink'> <\$list filter='[tag[G1"${VoeuName}"]]'> - <\$action-navigate \$to=<> \$scroll=no/> + <\$action-navigate \$to=<> \$scroll=no/> Afficher tous vos G1"${VoeuName}" " diff --git a/RUNTIME/NODE.refresh.sh b/RUNTIME/NODE.refresh.sh index 436ccbc6..8ba33bd3 100755 --- a/RUNTIME/NODE.refresh.sh +++ b/RUNTIME/NODE.refresh.sh @@ -38,7 +38,8 @@ if [[ -d ~/.zen/tmp/${IPFSNODEID} ]]; then cp -f ~/.zen/tmp/coucou/*.COINS ~/.zen/tmp/${IPFSNODEID}/COINS/ ## COPY 20h12.log - cp -f /tmp/20h12.log ~/.zen/tmp/${IPFSNODEID}/ + rm -f ~/.zen/tmp/${IPFSNODEID}/20h12.log ## TODO REMOVE + cp -f /tmp/20h12.log ~/.zen/tmp/${IPFSNODEID}/20h12.txt ## COPY FRIENDS PLAYERONE=($(ls -t ~/.zen/game/players/ | grep "@" 2>/dev/null)) @@ -51,7 +52,12 @@ if [[ -d ~/.zen/tmp/${IPFSNODEID} ]]; then cp -Rf ~/.zen/game/players/${PLAYER}/FRIENDS/* ~/.zen/tmp/${IPFSNODEID}/GCHANGE/${PLAYER}/FRIENDS/ 2>/dev/null done - cp ~/.zen/GPS ~/.zen/tmp/${IPFSNODEID}/ + ## INFORM GPS LOCATION + [[ -s ~/.zen/game/players/.current/GPS.json ]] \ + && cp ~/.zen/game/players/.current/GPS.json ~/.zen/tmp/${IPFSNODEID}/ \ + && LAT=$(cat ~/.zen/tmp/${IPFSNODEID}/GPS.json | jq -r .[].lat) \ + && LON=$(cat ~/.zen/tmp/${IPFSNODEID}/GPS.json | jq -r .[].lon) \ + && echo "LAT=${LAT}; LON=${LON}" > ~/.zen/GPS ## REFRESH TIMESTAMPING echo "${MOATS}" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.moats @@ -67,7 +73,7 @@ if [[ -d ~/.zen/tmp/${IPFSNODEID} ]]; then fi -## CLEANING SWARM 30 DAYS OLD -find ~/.zen/tmp/swarm/ -mtime +30 -type d -exec rm -Rf '{}' \; +## CLEANING SWARM 3 DAYS OLD +find ~/.zen/tmp/swarm/ -mtime +3 -type d -exec rm -Rf '{}' \; exit 0 diff --git a/RUNTIME/PLAYER.refresh.sh b/RUNTIME/PLAYER.refresh.sh index 792bc237..cb4f322c 100755 --- a/RUNTIME/PLAYER.refresh.sh +++ b/RUNTIME/PLAYER.refresh.sh @@ -44,7 +44,7 @@ for PLAYER in ${PLAYERONE[@]}; do MOATS=$(date -u +"%Y%m%d%H%M%S%4N") mkdir -p ~/.zen/tmp/${MOATS} - + echo "##################################################################" echo "##################################################################" echo ">>>>> PLAYER : ${PLAYER} >>>>>>>>>>>>> REFRESHING TW STATION" echo "##################################################################" @@ -52,16 +52,14 @@ for PLAYER in ${PLAYERONE[@]}; do G1PUB=$(cat ~/.zen/game/players/${PLAYER}/.g1pub 2>/dev/null) ASTRONS=$(cat ~/.zen/game/players/${PLAYER}/.playerns 2>/dev/null) # Get PLAYER wallet amount - COINS=$($MY_PATH/../tools/COINScheck.sh $G1PUB | tail -n 1) + $MY_PATH/../tools/COINScheck.sh $G1PUB > ~/.zen/tmp/g1reveal + cat ~/.zen/tmp/g1reveal ###DEBUG MODE + COINS=$(cat ~/.zen/tmp/g1reveal | tail -n 1) ZEN=$(echo "($COINS - 1) * 10" | bc | cut -d '.' -f 1) echo "+++ WALLET BALANCE _ $COINS (G1) _ / $ZEN ZEN /" #~ ## ZENCARD ARE ACTIVATED WITH 1 G1 + 10 ZEN (= 1 €OC) ? - echo "##################################################################" - - echo "##################################################################" - echo "################### REFRESH ASTRONAUTE TW ###########################" - echo "##################################################################" + echo "##>>>>>>>>>>>>>>>> REFRESH ASTRONAUTE TW" ## REFRESH ASTRONAUTE TW ASTRONAUTENS=$(ipfs key list -l | grep -w ${G1PUB} | cut -d ' ' -f1) @@ -122,7 +120,7 @@ for PLAYER in ${PLAYERONE[@]}; do [[ $try == 0 ]] \ && echo "PLAYER ${PLAYER} UNPLUG" \ - && ${MY_PATH}/../tools/PLAYER.unplug.sh ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html ${PLAYER} \ + && ${MY_PATH}/PLAYER.unplug.sh ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html ${PLAYER} \ && continue try=$((try-1)) @@ -133,7 +131,7 @@ for PLAYER in ${PLAYERONE[@]}; do continue else - ## FOUND TW + ## FOUND TW ############################################################# ## CHECK WHO IS ACTUAL OFFICIAL GATEWAY tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \ @@ -170,16 +168,29 @@ for PLAYER in ${PLAYERONE[@]}; do --output ~/.zen/tmp/${MOATS} \ --render '.' 'GPS.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'GPS' ## GPS Tiddler UMAPNS=$(cat ~/.zen/tmp/${MOATS}/GPS.json | jq -r .[].umap) - [[ $UMAPNS == "null" ]] && UMAPNS="/ipns/k51qzi5uqu5djg1gqzujq5p60w25mi235gdg0lgkk5qztkfrpi5c22oolrriyu" + [[ $UMAPNS == "null" || $UMAPNS == "" ]] && UMAPNS="/ipns/k51qzi5uqu5djg1gqzujq5p60w25mi235gdg0lgkk5qztkfrpi5c22oolrriyu" LAT=$(cat ~/.zen/tmp/${MOATS}/GPS.json | jq -r .[].lat) - [[ $LAT == "null" ]] && LAT="0.00" + [[ $LAT == "null" || $LAT == "" ]] && LAT="0.00" LON=$(cat ~/.zen/tmp/${MOATS}/GPS.json | jq -r .[].lon) - [[ $LON == "null" ]] && LON="0.00" + [[ $LON == "null" || $LON == "" ]] && LON="0.00" echo "LAT=${LAT}; LON=${LON}; UMAPNS=${UMAPNS}" + ## UMAP TODATENS ################ + ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/todate.ipfskey "${TODATE}${UPLANETNAME}${LAT}" "${TODATE}${UPLANETNAME}${LON}" + ipfs key rm "_todate" 2>/dev/null + TODATENS=$(ipfs key import "_todate" -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/todate.ipfskey) + ipfs key rm "_todate" 2>/dev/null + + echo "GPS UMAP LINK UPDATE + ${YESTERDATE} : ${myIPFS}${UMAPNS} + ${TODATE} : ${myIPFS}/ipns/${TODATENS}" + ## UPDATE TW GPS Tiddler ############# + sed -i "s~${UMAPNS}~/ipns/${TODATENS}~g" ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html + ## STORE IN PLAYER CACHE echo "_${LAT}_${LON}" > ~/.zen/game/players/${PLAYER}/.umap + cp ~/.zen/tmp/${MOATS}/GPS.json ~/.zen/game/players/${PLAYER}/ ########### ASTROPORT is not IPFSNODEID => EJECT TW ## MOVED PLAYER (KEY IS KEPT ON LAST CONNECTED ASTROPORT) @@ -189,7 +200,7 @@ for PLAYER in ${PLAYERONE[@]}; do if [[ ${IPNSTAIL} != ${IPFSNODEID} || ${IPNSTAIL} == "_ASTROPORT_" ]]; then echo "> I AM ${IPFSNODEID} : PLAYER MOVED TO ${IPNSTAIL} : EJECTION " echo "UNPLUG PLAYER" - ${MY_PATH}/../tools/PLAYER.unplug.sh "${HOME}/.zen/game/players/${PLAYER}/ipfs/moa/index.html" "${PLAYER}" "ONE" + ${MY_PATH}/PLAYER.unplug.sh "${HOME}/.zen/game/players/${PLAYER}/ipfs/moa/index.html" "${PLAYER}" "ONE" echo ">>>> ASTRONAUT ${PLAYER} TW CAPSULE EJECTION TERMINATED" continue fi @@ -202,33 +213,35 @@ for PLAYER in ${PLAYERONE[@]}; do ############################################################## echo "##################################################################" - [[ $(echo "$COINS > 2" | bc -l) -eq 1 ]] \ + [[ $(echo "$COINS >= 2" | bc -l) -eq 1 ]] \ && echo "## Connect_PLAYER_To_Gchange.sh" \ && ${MY_PATH}/../tools/Connect_PLAYER_To_Gchange.sh "${PLAYER}" \ - || echo "1 G1 + 10 ẑen needed to activate ★★★★★ system" + || echo "$COINS <= 1 G1 + 10 ẑen : stars exchange (★★★★★) level" - # G1PalPay - 1 G1 + 10 ZEN mini -> Check for G1 TX incoming comments # - [[ $(echo "$COINS > 1" | bc -l) -eq 1 ]] \ - && echo "## RUNNING G1PalPay Wallet Monitoring " \ - && ${MY_PATH}/G1PalPay.sh ${HOME}/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html "${PLAYER}" \ - || echo "> ZenCard is not activated ($ZEN)" + # G1PalPay - 1 G1 mini -> Check for G1 TX incoming comments # + if [[ $(echo "$COINS >= 1" | bc -l) -eq 1 ]]; then + ########### + # G1PalPay.sh # + ############################################################## + echo "## RUNNING G1PalPay Wallet Monitoring " + ${MY_PATH}/G1PalPay.sh ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html "${PLAYER}" + ############### + # VOEUX.create.sh # + ############################################################## + ${MY_PATH}/VOEUX.create.sh ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html "${PLAYER}" "${G1PUB}" + + ############### + # VOEUX.refresh.sh # + ############################################################## + ${MY_PATH}/VOEUX.refresh.sh "${PLAYER}" "${MOATS}" ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html + + else + echo "> ZenCard is not activated ($ZEN)" + fi ### CHECK FOR pending (TODO! In case PAY4SURE have abandonned pendings) - ############### - # VOEUX.create.sh # - ############################################################## - ## SPECIAL TAG "voeu" => Creation G1Voeu (G1Titre) makes AstroBot TW G1Processing - ############################################################## - ${MY_PATH}/VOEUX.create.sh ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html "${PLAYER}" "${G1PUB}" - - ############### - # VOEUX.refresh.sh # - ############################################################## - ## RUN ASTROBOT G1Voeux SUBPROCESS (SPECIFIC Ŋ1 COPY) - ############################################################## - ${MY_PATH}/VOEUX.refresh.sh "${PLAYER}" "${MOATS}" ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html ################### # REFRESH PLAYER_feed # @@ -243,32 +256,32 @@ for PLAYER in ${PLAYERONE[@]}; do echo '[{"title":"$:/plugins/astroport/lightbeams/saver/ipns/lightbeam-name","text":"'${PLAYER}_feed'","tags":""}]' > ~/.zen/tmp/${MOATS}/lightbeam-name.json echo '[{"title":"$:/plugins/astroport/lightbeams/saver/ipns/lightbeam-key","text":"'${FEEDNS}'","tags":""}]' > ~/.zen/tmp/${MOATS}/lightbeam-key.json - ########################### - # Tiddlers controling GW & API - #~ echo '[{"title":"$:/ipfs/saver/api/http/localhost/5001","tags":"$:/ipfs/core $:/ipfs/saver/api","text":"'$(myPlayerApiGw)'"}]' > ~/.zen/tmp/${MOATS}/5001.json - #~ echo '[{"title":"$:/ipfs/saver/gateway/http/localhost","tags":"$:/ipfs/core $:/ipfs/saver/gateway","text":"'$myIPFS'"}]' > ~/.zen/tmp/${MOATS}/8080.json + ########################### + # Tiddlers controling GW & API + #~ echo '[{"title":"$:/ipfs/saver/api/http/localhost/5001","tags":"$:/ipfs/core $:/ipfs/saver/api","text":"'$(myPlayerApiGw)'"}]' > ~/.zen/tmp/${MOATS}/5001.json + #~ echo '[{"title":"$:/ipfs/saver/gateway/http/localhost","tags":"$:/ipfs/core $:/ipfs/saver/gateway","text":"'$myIPFS'"}]' > ~/.zen/tmp/${MOATS}/8080.json - ## COPY DATA PRODUCED BY GCHANGE STAR EXTRACTION - FRIENDSFEEDS=$(cat ~/.zen/tmp/${IPFSNODEID}/RSS/${PLAYER}/FRIENDSFEEDS 2>/dev/null) - echo "★★★★★ FRIENDS FEEDS : "${FRIENDSFEEDS} - ASTRONAUTES=$(cat ~/.zen/tmp/${IPFSNODEID}/RSS/${PLAYER}/ASTRONAUTES 2>/dev/null) - echo "★★★★★ FRIENDS TW : "${ASTRONAUTES} + ## COPY DATA PRODUCED BY GCHANGE STAR EXTRACTION + FRIENDSFEEDS=$(cat ~/.zen/tmp/${IPFSNODEID}/RSS/${PLAYER}/FRIENDSFEEDS 2>/dev/null) + echo "★★★★★ FRIENDS FEEDS : "${FRIENDSFEEDS} + ASTRONAUTES=$(cat ~/.zen/tmp/${IPFSNODEID}/RSS/${PLAYER}/ASTRONAUTES 2>/dev/null) + echo "★★★★★ FRIENDS TW : "${ASTRONAUTES} - ## Change TW FRIENDFEED ie PLAYER RSS IPNS (must fix TW plugin to work) - #~ echo '[{"title":"$:/plugins/astroport/lightbeams/state/subscriptions","text":"'${FRIENDSFEEDS}'","tags":""}]' > ~/.zen/tmp/${MOATS}/friends.json - #~ ## ADD --import "$HOME/.zen/tmp/${MOATS}/friends.json" "application/json" \ ## MANUAL TW RSS REGISTRATION + ## Change TW FRIENDFEED ie PLAYER RSS IPNS (must fix TW plugin to work) + #~ echo '[{"title":"$:/plugins/astroport/lightbeams/state/subscriptions","text":"'${FRIENDSFEEDS}'","tags":""}]' > ~/.zen/tmp/${MOATS}/friends.json + #~ ## ADD --import "$HOME/.zen/tmp/${MOATS}/friends.json" "application/json" \ ## MANUAL TW RSS REGISTRATION - ## WRITE TIDDLERS IN TW - tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \ - --import ~/.zen/tmp/${MOATS}/lightbeam-name.json "application/json" \ - --import ~/.zen/tmp/${MOATS}/lightbeam-key.json "application/json" \ - --output ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER} --render "$:/core/save/all" "newindex.html" "text/plain" + ## WRITE TIDDLERS IN TW + tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \ + --import ~/.zen/tmp/${MOATS}/lightbeam-name.json "application/json" \ + --import ~/.zen/tmp/${MOATS}/lightbeam-key.json "application/json" \ + --output ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER} --render "$:/core/save/all" "newindex.html" "text/plain" - ## CHECK IT IS OK - [[ -s ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/newindex.html ]] \ - && cp ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/newindex.html ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \ - && rm ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/newindex.html - ########################### + ## CHECK IT IS OK + [[ -s ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/newindex.html ]] \ + && cp ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/newindex.html ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \ + && rm ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/newindex.html + ########################### #################### @@ -294,8 +307,8 @@ for PLAYER in ${PLAYERONE[@]}; do ############################################################## ################################################## - ################################################## - ################## UPDATING PLAYER MOA + ############################### LOCAL "MICRO LEDGER" + ################## UPDATING ${PLAYER}/ipfs/moa [[ $DIFF ]] && cp ~/.zen/game/players/${PLAYER}/ipfs/moa/.chain \ ~/.zen/game/players/${PLAYER}/ipfs/moa/.chain.$(cat ~/.zen/game/players/${PLAYER}/ipfs/moa/.moats) @@ -315,7 +328,11 @@ for PLAYER in ${PLAYERONE[@]}; do ## CREATING 30 DAYS JSON RSS STREAM tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \ --output ~/.zen/game/players/${PLAYER}/ipfs --render '.' "${PLAYER}.rss.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-30]!is[system]!tag[G1Voeu]]' - [[ ! -s ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json ]] && echo "NO ${PLAYER} RSS - BAD ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json -" + + [[ ! -s ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json ]] \ + && echo "NO ${PLAYER} RSS - BAD " + + echo "~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json" ## TODO CREATING 30 DAYS XML RSS STREAM ## https://talk.tiddlywiki.org/t/has-anyone-generated-an-rss-feed-from-tiddlywiki/966/26 @@ -328,31 +345,32 @@ for PLAYER in ${PLAYERONE[@]}; do SNOW=$(${MY_PATH}/../tools/MOATS2seconds.sh ${MOATS}) DIFF_SECONDS=$(( SNOW - SBIRTH )) days=$((DIFF_SECONDS / 60 / 60 / 24)) - echo "PLAYER TW was created $days ago" + echo "PLAYER TW was created $days days ago" ################################## #### PLAYER ACCOUNT CLEANING ######### ## IF ZEN < 11 ## && EMPTY RSS + 30 DAYS BIRTHDATE + ## only for less 90 days TW ? && ${DIFF_SECONDS} -lt $(( 90 * 24 * 60 * 60 )) ???? ## ==> UNPLUG [[ $(cat ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json) == "[]" ]] \ && echo "RSS IS EMPTY -- COINS=$COINS / ZEN=$ZEN --" \ && [[ $(echo "$COINS < 2.1" | bc -l) -eq 1 ]] \ - && [[ ${DIFF_SECONDS} -gt $(( 27 * 24 * 60 * 60 )) ]] \ + && [[ ${DIFF_SECONDS} -gt $(( 27 * 24 * 60 * 60 )) ]] \ && echo "

WARNING.

Your TW will be UNPLUGGED and stop being published..." > ~/.zen/tmp/alert \ && echo "

TW : ${PLAYER}

ZEN=$ZEN " >> ~/.zen/tmp/alert \ && ${MY_PATH}/../tools/mailjet.sh "${PLAYER}" ~/.zen/tmp/alert "TW ALERT" \ && echo "<<<< PLAYER TW WARNING <<<< ${DIFF_SECONDS} > ${days} days" \ && [[ ${DIFF_SECONDS} -gt $(( 30 * 24 * 60 * 60 )) ]] \ && echo ">>>> PLAYER TW UNPLUG >>>>> ${days} days => BYE BYE ${PLAYER} ZEN=$ZEN" \ - && ${MY_PATH}/../tools/PLAYER.unplug.sh ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html ${PLAYER} \ + && ${MY_PATH}/PLAYER.unplug.sh ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html ${PLAYER} \ && continue #################################### UNPLUG ACCOUNT IRSS=$(ipfs add -q ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json | tail -n 1) \ && ipfs name publish --key="${PLAYER}_feed" /ipfs/${IRSS} -######################### REPLACE TW with REDIRECT to latest IPFS or IPNS (reduce 12345 cache size) + ######################### REPLACE TW with REDIRECT to latest IPFS or IPNS (reduce 12345 cache size) [[ ! -z ${TW} ]] && TWLNK="/ipfs/${TW}" || TWLNK="/ipns/${ASTRONAUTENS}" echo "${PLAYER}" \ > ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html @@ -360,7 +378,9 @@ for PLAYER in ${PLAYERONE[@]}; do echo "${PLAYER}" \ > ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}.feed.html - + ################################################# + ################### COPY DATA TO UP LEVEL GRIDS + ################################################# if [[ ${LAT} && ${LON} ]]; then ## SECTOR BANK COORD SECLAT="${LAT::-1}" @@ -369,16 +389,18 @@ for PLAYER in ${PLAYERONE[@]}; do REGLAT=$(echo ${LAT} | cut -d '.' -f 1) REGLON=$(echo ${LON} | cut -d '.' -f 1) - ## IPFSNODEID 12345 CACHE UPLANET/__/_*_*/_*.?_*.?/_*.??_*.?? + echo "/UPLANET/__/_${REGLAT}_${REGLON}/_${SECLAT}_${SECLON}/_${LAT}_${LON}" + ## IPFSNODEID 12345 CACHE UPLANET/__/_*_*/_*.?_*.?/_*.??_*.?? mkdir -p ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_${REGLAT}_${REGLON}/_${SECLAT}_${SECLON}/_${LAT}_${LON}/RSS/ cp ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json \ - ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_${REGLAT}_${REGLON}/_${SECLAT}_${SECLON}/_${LAT}_${LON}/RSS/ + ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_${REGLAT}_${REGLON}/_${SECLAT}_${SECLON}/_${LAT}_${LON}/RSS/ ${MY_PATH}/../tools/json_dir.all.sh ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_${REGLAT}_${REGLON}/_${SECLAT}_${SECLON}/_${LAT}_${LON}/RSS/ mkdir -p ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_${REGLAT}_${REGLON}/_${SECLAT}_${SECLON}/_${LAT}_${LON}/TW/${PLAYER} cp ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_${REGLAT}_${REGLON}/_${SECLAT}_${SECLON}/_${LAT}_${LON}/TW/${PLAYER}/ - echo "" > ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_${REGLAT}_${REGLON}/_${SECLAT}_${SECLON}/_${LAT}_${LON}/_index.html + + echo "" > ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_${REGLAT}_${REGLON}/_${SECLAT}_${SECLON}/_${LAT}_${LON}/_index.html fi @@ -394,6 +416,7 @@ for PLAYER in ${PLAYERONE[@]}; do ## CLEANING CACHE rm -Rf ~/.zen/tmp/${MOATS} + echo done echo "============================================ PLAYER.refresh DONE." diff --git a/tools/PLAYER.unplug.sh b/RUNTIME/PLAYER.unplug.sh similarity index 88% rename from tools/PLAYER.unplug.sh rename to RUNTIME/PLAYER.unplug.sh index bc260ce1..d75fe782 100755 --- a/tools/PLAYER.unplug.sh +++ b/RUNTIME/PLAYER.unplug.sh @@ -6,7 +6,7 @@ ################################################################################ MY_PATH="`dirname \"$0\"`" # relative MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized -. "$MY_PATH/my.sh" +. "$MY_PATH/../tools/my.sh" ################################################################################ ## UNPLUG A PLAYER FROM ASTROPORT STATION ############################################ @@ -61,7 +61,7 @@ mkdir -p ~/.zen/tmp/${MOATS} [[ ! -z ${SECTORG1PUB} ]] \ && echo "> PAY4SURE ZEN:${ALL} WALLET MOVE" \ - && ${MY_PATH}/PAY4SURE.sh "${HOME}/.zen/game/players/${PLAYER}/secret.dunikey" "${ALL}" "${SECTORG1PUB}" "UNPLUG:${ALL}" + && ${MY_PATH}/../tools/PAY4SURE.sh "${HOME}/.zen/game/players/${PLAYER}/secret.dunikey" "${ALL}" "${SECTORG1PUB}" "UNPLUG:${ALL}" ## REMOVING PLAYER from ASTROPORT ipfs key rm ${PLAYER}; ipfs key rm ${PLAYER}_feed; ipfs key rm ${G1PUB}; @@ -72,7 +72,7 @@ mkdir -p ~/.zen/tmp/${MOATS} ## SEND PLAYER LAST KNOW TW TW=$(ipfs add -Hq ${INDEX} | tail -n 1) -${MY_PATH}/../tools/mailjet.sh "${PLAYER}" "

Hello ${PLAYER},

Your TW is unplugged from Astroport : LAST TW STATE.

May the force be with you.

" "LAST MESSAGE" +${MY_PATH}/../tools/mailjet.sh "${PLAYER}" "

Ciao ${PLAYER},

Your TW is unplugged from Astroport : TW ARCHIVE.
$(cat ~/.zen/game/players/${PLAYER}/secret.june)

May the force be with you.

" "BYE BYE MESSAGE" echo "PLAYER IPNS KEYS UNPLUGED" echo "#######################" diff --git a/RUNTIME/REGION.refresh.sh b/RUNTIME/REGION.refresh.sh index 7b28585d..e9bed14f 100755 --- a/RUNTIME/REGION.refresh.sh +++ b/RUNTIME/REGION.refresh.sh @@ -12,7 +12,15 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized # UMAP > SECTOR > REGION ## Get from 100 sectors tiddlers with more than 2 signatures ############################################ +echo +echo +echo "############################################" +echo "############################################" +echo "############################################" echo "# # # # RUNNING REGION.refresh" +echo "############################################" +echo "############################################" +echo "############################################" [[ ${IPFSNODEID} == "" ]] && echo "IPFSNODEID is empty - EXIT -" && exit 1 MOATS=$(date -u +"%Y%m%d%H%M%S%4N") @@ -60,15 +68,16 @@ for REGION in ${REGIONS[@]}; do # with bigger planetary swam will be closest "IA Station", or it could be choosen according to ZEN value... STRAPS=($(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#" | rev | cut -d '/' -f 1 | rev | grep -v '^[[:space:]]*$')) ## ${STRAPS[@]} ACTINGNODE=${STRAPS[0]} ## FIST NODE IN STRAPS - [[ "${ACTINGNODE}" != "${IPFSNODEID}" ]] \ - && echo ">> ACTINGNODE=${ACTINGNODE} is not ME - CONTINUE -" \ - && continue - + if [[ "${ACTINGNODE}" != "${IPFSNODEID}" ]]; then + echo ">> ACTINGNODE=${ACTINGNODE} is not ME - CONTINUE -" + continue + fi ############################################################## REGIONG1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${UPLANETNAME}${REGION}" "${UPLANETNAME}${REGION}") [[ ! ${REGIONG1PUB} ]] && echo "ERROR generating REGION WALLET" && exit 1 - COINS=$($MY_PATH/../tools/COINScheck.sh ${REGIONG1PUB} | tail -n 1) - echo "REGION : ${REGION} (${COINS} G1) WALLET : ${REGIONG1PUB}" + + COINS=$($MY_PATH/../tools/COINScheck.sh ${REGIONG1PUB} | tail -n 1) + echo "REGION : ${REGION} (${COINS} G1) WALLET : ${REGIONG1PUB}" ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/REGION.priv "${UPLANETNAME}${REGION}" "${UPLANETNAME}${REGION}" ipfs key rm ${REGIONG1PUB} > /dev/null 2>&1 ## AVOID ERROR ON IMPORT @@ -83,73 +92,80 @@ for REGION in ${REGIONS[@]}; do TODATEREGIONNS=$(ipfs key import ${TODATE}${REGIONG1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/REGION.priv) ############################################################## ## GET from IPNS - ipfs --timeout 180s get -o ~/.zen/tmp/${MOATS}/${REGION}/ /ipns/${REGIONNS}/ - # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - mkdir -p ~/.zen/tmp/${MOATS}/${REGION}/RSS - rm -f ~/.zen/tmp/${MOATS}/${REGION}/RSS/_${REGLAT}_${REGLON}.week.rss.json - rm -f ~/.zen/tmp/${MOATS}/${REGION}/JOURNAL + ipfs --timeout 240s get -o ~/.zen/tmp/${MOATS}/${REGION}/ /ipns/${YESTERDATEREGIONNS}/ + # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - ## START WITH LOCAL SECTORS RSS WEEK - RSSNODE=($(ls ~/.zen/tmp/${IPFSNODEID}/SECTORS/_${REGLAT}*_${REGLON}*.week.rss.json 2>/dev/null)) - for RSS in ${RSSNODE[@]}; do - [[ $(cat ${RSS}) != "[]" ]] \ - && cp ${RSS} ~/.zen/tmp/${MOATS}/${REGION}/RSS/ \ - && ${MY_PATH}/../tools/RSS2WEEKnewsfile.sh ${RSS} >> ~/.zen/tmp/${MOATS}/${REGION}/JOURNAL - done - NL=${#RSSNODE[@]} + # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> + mkdir -p ~/.zen/tmp/${MOATS}/${REGION}/RSS + rm -f ~/.zen/tmp/${MOATS}/${REGION}/RSS/_${REGLAT}_${REGLON}.week.rss.json + rm -f ~/.zen/tmp/${MOATS}/${REGION}/JOURNAL - ## ADD SWARM SECTORS RSS WEEK - RSSWARM=($(ls ~/.zen/tmp/swarm/*/SECTORS/_${REGLAT}*_${REGLON}*.week.rss.json 2>/dev/null)) - for RSS in ${RSSWARM[@]}; do - [[ $(cat ${RSS}) != "[]" ]] \ - && cp ${RSS} ~/.zen/tmp/${MOATS}/${REGION}/RSS/ \ - && ${MY_PATH}/../tools/RSS2WEEKnewsfile.sh ${RSS} >> ~/.zen/tmp/${MOATS}/${REGION}/JOURNAL - done - NS=${#RSSWARM[@]} + ## START WITH LOCAL SECTORS RSS WEEK + RSSNODE=($(ls ~/.zen/tmp/${IPFSNODEID}/UPLANET/SECTORS/_${REGLAT}*_${REGLON}*/_${REGLAT}*_${REGLON}*/_${REGLAT}*_${REGLON}*.week.rss.json 2>/dev/null)) + for RSS in ${RSSNODE[@]}; do + [[ $(cat ${RSS}) != "[]" ]] \ + && cp ${RSS} ~/.zen/tmp/${MOATS}/${REGION}/RSS/ \ + && ${MY_PATH}/../tools/RSS2WEEKnewsfile.sh ${RSS} >> ~/.zen/tmp/${MOATS}/${REGION}/JOURNAL + done + NL=${#RSSNODE[@]} - ## CREATE /.all.json FROM *.rss.json - ${MY_PATH}/../tools/json_dir.all.sh ~/.zen/tmp/${MOATS}/${REGION}/RSS + echo " + --- + " >> ~/.zen/tmp/${MOATS}/${REGION}/JOURNAL - ## REMOVE SECTORS PARTS - rm -f ~/.zen/tmp/${MOATS}/${REGION}/RSS/*.week.rss.json + ## ADD SWARM SECTORS RSS WEEK + RSSWARM=($(ls ~/.zen/tmp/swarm/*/UPLANET/SECTORS/_${REGLAT}*_${REGLON}*/_${REGLAT}*_${REGLON}*/_${REGLAT}*_${REGLON}*.week.rss.json 2>/dev/null)) + for RSS in ${RSSWARM[@]}; do + [[ $(cat ${RSS}) != "[]" ]] \ + && cp ${RSS} ~/.zen/tmp/${MOATS}/${REGION}/RSS/ \ + && ${MY_PATH}/../tools/RSS2WEEKnewsfile.sh ${RSS} >> ~/.zen/tmp/${MOATS}/${REGION}/JOURNAL + done + NS=${#RSSWARM[@]} - ## MAKE FINAL _${REGLAT}_${REGLON}.week.rss.json - mv ~/.zen/tmp/${MOATS}/${REGION}/RSS/.all.json \ - ~/.zen/tmp/${MOATS}/${REGION}/RSS/_${REGLAT}_${REGLON}.week.rss.json + ## CREATE /.all.json FROM *.rss.json + ${MY_PATH}/../tools/json_dir.all.sh ~/.zen/tmp/${MOATS}/${REGION}/RSS - ## PREPARING AiApi link - mkdir -p ~/.zen/tmp/${IPFSNODEID}/REGIONS - RWEEKCID=$(ipfs add -q ~/.zen/tmp/${MOATS}/${REGION}/JOURNAL) + ## REMOVE SECTORS PARTS + rm -f ~/.zen/tmp/${MOATS}/${REGION}/RSS/*.week.rss.json - cp ~/.zen/tmp/${MOATS}/${REGION}/JOURNAL \ - ~/.zen/tmp/${IPFSNODEID}/REGIONS/_${REGLAT}_${REGLON}.JOURNAL.md + ## MAKE FINAL _${REGLAT}_${REGLON}.week.rss.json + mv ~/.zen/tmp/${MOATS}/${REGION}/RSS/.all.json \ + ~/.zen/tmp/${MOATS}/${REGION}/RSS/_${REGLAT}_${REGLON}.week.rss.json - rm ~/.zen/tmp/${IPFSNODEID}/REGIONS/_${REGLAT}_${REGLON}.week.cid 2>/dev/null ## TODO REMOVE + ## PREPARING JOURNAL + mkdir -p ~/.zen/tmp/${IPFSNODEID}/UPLANET/REGIONS/_${REGLAT}_${REGLON} - ## DEMO : PREPARE Ask.IA link - PROD will be launched during RUNTIME. - echo "" \ - > ~/.zen/tmp/${MOATS}/${REGION}/Ask.IA._${REGLAT}_${REGLON}.redir.html + ################################### + ## NODE PUBLISH REGION TODATENS LINK + echo "" \ + > ~/.zen/tmp/${IPFSNODEID}/UPLANET/REGIONS/_${REGLAT}_${REGLON}/_index.html + #~ ## DEMO : PREPARE Ask.IA link - PROD will be launched during RUNTIME. + #~ echo "" \ + #~ > ~/.zen/tmp/${MOATS}/${REGION}/Ask.IA._${REGLAT}_${REGLON}.redir.html - TOTL=$((${NL}+${NS})) - # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> + TOTL=$((${NL}+${NS})) + # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> echo "Numbers of REGION WEEK RSS : ${NL} + ${NS} : "${TOTL} - echo "SHOW TROPHY" > ~/.zen/tmp/${MOATS}/${REGION}/TODO + rm ~/.zen/tmp/${MOATS}/${REGION}/N_* -rm ~/.zen/tmp/${MOATS}/${REGION}/RWEEKCID 2>/dev/null ## TODO REMOVE + echo ${TOTL} > ~/.zen/tmp/${MOATS}/${REGION}/N_${TOTL} - echo ${TOTL} > ~/.zen/tmp/${MOATS}/${REGION}/N + RWEEKCID=$(ipfs add -q ~/.zen/tmp/${MOATS}/${REGION}/JOURNAL 2>/dev/null) + if [[ ${RWEEKCID} ]]; then + echo "" \ + > ~/.zen/tmp/${MOATS}/${REGION}/Journal._${REGLAT}_${REGLON}.view.html - echo "" \ - > ~/.zen/tmp/${MOATS}/${REGION}/Journal._${REGLAT}_${REGLON}.redir.html + cp ~/.zen/tmp/${MOATS}/${REGION}/JOURNAL \ + ~/.zen/tmp/${IPFSNODEID}/UPLANET/REGIONS/_${REGLAT}_${REGLON}/JOURNAL.md + fi - IPFSPOP=$(ipfs add -rwq ~/.zen/tmp/${MOATS}/${REGION}/* | tail -n 1) - ipfs name publish -k ${TODATE}${REGIONG1PUB} /ipfs/${IPFSPOP} + IPFSPOP=$(ipfs add -rwq ~/.zen/tmp/${MOATS}/${REGION}/* | tail -n 1) + ipfs name publish -k ${TODATE}${REGIONG1PUB} /ipfs/${IPFSPOP} - ipfs key rm ${REGIONG1PUB} ${YESTERDATE}${REGIONG1PUB} ${TODATE}${REGIONG1PUB} > /dev/null 2>&1 + ipfs key rm ${REGIONG1PUB} ${YESTERDATE}${REGIONG1PUB} > /dev/null 2>&1 done diff --git a/tools/RSS2UPlanetTW.sh b/RUNTIME/RSS2UPlanetSECTORTW.sh similarity index 75% rename from tools/RSS2UPlanetTW.sh rename to RUNTIME/RSS2UPlanetSECTORTW.sh index 1ae9b031..3feac280 100755 --- a/tools/RSS2UPlanetTW.sh +++ b/RUNTIME/RSS2UPlanetSECTORTW.sh @@ -11,6 +11,7 @@ MY_PATH="`dirname \"$0\"`" # relative MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized ME="${0##*/}" +. "$MY_PATH/../tools/my.sh" RSS=$1 ## filepath to RSS SECTOR=$2 ## Sector identifier _0.0_0.0 @@ -23,7 +24,8 @@ INDEX=$4 ## SECTOR TW index file && sed "s~_SECTOR_~${SECTOR}~g" ${MY_PATH}/../templates/twsector.html > ${INDEX} \ && echo "REFRESHING SECTOR FROM empty TEMPLATE *****" - +echo +echo ## EXTRACT PLAYER FROM RSS FILE NAME PLAYER=$(echo ${RSS} | rev | cut -d '/' -f 1 | rev | sed "s~.rss.json~~g") ## GET PLAYER INFORMATION @@ -37,6 +39,8 @@ ${RSS} cat "${RSS}" | jq 'sort_by(.created) | reverse | .[]' | jq -r '.title' > ~/.zen/tmp/${MOATS}/${SECTOR}/tiddlers.list ## gloops=0 +signatures=0 + while read title; do [[ ${floop} -gt 2 ]] && echo "0lder Tiddlers are similaR... BREAK" && break @@ -46,40 +50,46 @@ while read title; do && echo "FILTERED TITLE ${title}" && continue ## CHECK FOR TIDDLER WITH SAME TITTLE IN SECTOR TW - rm -f ~/.zen/tmp/${MOATS}/${SECTOR}/TMP.json - tiddlywiki --load ${INDEX} --output ~/.zen/tmp/${MOATS}/${SECTOR} --render '.' 'TMP.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' "${title}" - ISHERE=$(cat ~/.zen/tmp/${MOATS}/${SECTOR}/TMP.json | jq -r ".[].title") + rm -f ~/.zen/tmp/${MOATS}/TMP.json + tiddlywiki --load ${INDEX} --output ~/.zen/tmp/${MOATS} --render '.' 'TMP.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' "${title}" + ISHERE=$(cat ~/.zen/tmp/${MOATS}/TMP.json | jq -r ".[].title") [[ ! "${ISHERE}" ]] && echo "No Tiddler found in ${INDEX}" - if [[ "${ISHERE}" != "${title}" ]]; then + TMPTAGS=$(cat ~/.zen/tmp/${MOATS}/TMP.json | jq -r .[].tags) + TMPEMAILS=($(echo "$TMPTAGS" | grep -E -o "\b[a-zA-Z0-9.%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b")) + TMPSIGN=${#TMPEMAILS[@]} + echo "INSIDE TIDDLER HAVE ${TMPSIGN} SIGNATURE(S)" + + if [[ "${ISHERE}" != "${title}" || ${TMPSIGN} == 0 ]]; then ## NEW TIDDLER echo "Importing Title: $title" - cat "${RSS}" | jq -rc ".[] | select(.title == \"$title\")" > ~/.zen/tmp/${MOATS}/${SECTOR}/NEW.json + cat "${RSS}" | jq -rc ".[] | select(.title == \"$title\")" > ~/.zen/tmp/${MOATS}/NEW.json #~ echo "DEBUG" - #~ cat ~/.zen/tmp/${MOATS}/${SECTOR}/NEW.json | jq - #~ echo "tiddlywiki --load ${INDEX} --import ~/.zen/tmp/${MOATS}/${SECTOR}/NEW.json 'application/json' --output ~/.zen/tmp/${MOATS}/${SECTOR} --render '$:/core/save/all' '"${SECTOR}.html"' 'text/plain'" + #~ cat ~/.zen/tmp/${MOATS}/NEW.json | jq + #~ echo "tiddlywiki --load ${INDEX} --import ~/.zen/tmp/${MOATS}/NEW.json 'application/json' --output ~/.zen/tmp/${MOATS}/${SECTOR} --render '$:/core/save/all' '"${SECTOR}.html"' 'text/plain'" tiddlywiki --load ${INDEX} \ - --import ~/.zen/tmp/${MOATS}/${SECTOR}/NEW.json 'application/json' \ + --import ~/.zen/tmp/${MOATS}/NEW.json 'application/json' \ --output ~/.zen/tmp/${MOATS}/${SECTOR} --render '$:/core/save/all' "${SECTOR}.html" 'text/plain' [[ -s ~/.zen/tmp/${MOATS}/${SECTOR}/${SECTOR}.html ]] \ && rm ${INDEX} \ && mv ~/.zen/tmp/${MOATS}/${SECTOR}/${SECTOR}.html ${INDEX} \ && ((gloops++)) \ - && echo "SECTOR (${gloops}) : ${title}" + && echo "SECTOR (${gloops}) : ${title}" \ + && signatures=$((signatures + TMPSIGN)) - [[ ! -s ${INDEX} ]] && echo "ERROR. TW did not ingest ~/.zen/tmp/${MOATS}/${SECTOR}/NEW.json" && exit 1 + [[ ! -s ${INDEX} ]] && echo "ERROR. TW did not ingest ~/.zen/tmp/${MOATS}/NEW.json" && exit 1 else ## SAME TIDDLER - echo "TIDDLER WITH TITLE $title ALREADY EXISTS..." + echo "TIDDLER WITH TITLE $title and more than 1 signature ALREADY EXISTS..." - cp -f ~/.zen/tmp/${MOATS}/${SECTOR}/TMP.json ~/.zen/tmp/${MOATS}/${SECTOR}/INSIDE.json + cat ~/.zen/tmp/${MOATS}/TMP.json | jq .[] > ~/.zen/tmp/${MOATS}/INSIDE.json cat "${RSS}" | jq -rc ".[] | select(.title == \"$title\")" > ~/.zen/tmp/${MOATS}/NEW.json if [[ ! $(diff ~/.zen/tmp/${MOATS}/NEW.json ~/.zen/tmp/${MOATS}/INSIDE.json) ]]; then @@ -88,9 +98,15 @@ while read title; do continue fi floop=1 - + echo + echo "=========== INSIDE.json" + cat ~/.zen/tmp/${MOATS}/INSIDE.json | jq -c + echo + echo "=========== NEW.json" + cat ~/.zen/tmp/${MOATS}/NEW.json | jq -c + echo ## TODO EXTEND CONTROL TO text & ipfs & _canonical_url -## NEED SIGNATURES & TIDDLER SIMILARITY TO COME UP + ## NEED SIGNATURES & TIDDLER SIMILARITY TO COME UP ## CHECK FOR EMAIL SIGNATURES DIFFERENCE NTAGS=$(cat ~/.zen/tmp/${MOATS}/NEW.json | jq -r .tags) @@ -126,7 +142,7 @@ while read title; do # Print the results echo "Common email addresses : ${COMMON[*]}" echo "Email addresses unique in NEW Tiddler : ${NUNIQUE[*]}" - echo "Email addresses unique in ACTUAL Tiddler : ${IUNIQUE[*]}" + echo "Email addresses unique in INSIDE Tiddler : ${IUNIQUE[*]}" combined=("${IEMAILS[@]}" "${NEMAILS[@]}") unique_combined=($(echo "${combined[@]}" | tr ' ' '\n' | sort -u)) @@ -136,7 +152,17 @@ while read title; do for email in "${unique_combined[@]}"; do -echo " +echo " + + +

(ᵔ◡◡ᵔ)

Tiddler with same title is existing in ${unique_combined[*]} TW(s) @@ -153,10 +179,10 @@ To Accept
To Refuse
${NUNIQUE[*]} must fork by deleting or modifying New Tiddler title.
-

Actual TiddlerEngage discussion about it...

+

Actual TiddlerEngage discussion about it...

" > ~/.zen/tmp/${MOATS}/g1message - ${MY_PATH}/mailjet.sh "$email" ~/.zen/tmp/${MOATS}/g1message "TIDDLER COLLISION" + ${MY_PATH}/../tools/mailjet.sh "$email" ~/.zen/tmp/${MOATS}/g1message "TIDDLER COLLISION" done @@ -189,30 +215,37 @@ To Refuse
&& rm ${INDEX} \ && mv ~/.zen/tmp/${MOATS}/${SECTOR}.html ${INDEX} + signatures=$((signatures + ISIGN)) + fi fi + ## CLEANING + rm ~/.zen/tmp/${MOATS}/INSIDE.json 2>/dev/null + rm ~/.zen/tmp/${MOATS}/TMP.json 2>/dev/null + rm ~/.zen/tmp/${MOATS}/NEW.json 2>/dev/null + done < ~/.zen/tmp/${MOATS}/${SECTOR}/tiddlers.list - #################################################### -################################################ +################################################ ${signatures} -gt ${gloops} ## SECTOR SENDS GRATITUDE TO PUBLISHING PLAYER ################################################### -if [[ ${gloups} -gt 0 && ${ASTROG1} ]]; then - # GENERATE SECTOR PIVATE KEY ################################ +if [[ ${gloops} -gt 0 && ${signatures} -gt ${gloops} && ${ASTROG1} ]]; then + # GENERATE SECTOR PRIVATE KEY ################################ ${MY_PATH}/../tools/keygen -t duniter -o ~/.zen/tmp/${MOATS}/sector.dunikey "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}" G1SECTOR=$(cat ~/.zen/tmp/${MOATS}/sector.dunikey | grep 'pub:' | cut -d ' ' -f 2) - cp -f ~/.zen/tmp/coucou/${G1SECTOR}.COINS ~/.zen/tmp/${IPFSNODEID}/${SECTOR}.COINS + + #~ cp -f ~/.zen/tmp/coucou/${G1SECTOR}.COINS ~/.zen/tmp/${IPFSNODEID}/${SECTOR}.COINS ############################################################## GRATITUDE=$($MY_PATH/../tools/getcoins_from_gratitude_box.sh) G1AMOUNT=$(echo "$GRATITUDE / 10" | bc -l | xargs printf "%.2f" | sed "s~,~.~g" ) - echo "***** SECTOR $SECTOR *************************************" + echo "***** SECTOR $SECTOR REWARD *****************" echo "GRATITUDE ${GRATITUDE} ZEN = ${G1AMOUNT} G1 - to ${PLAYER} WALLET ${ASTROG1}" + to ${PLAYER} WALLET ${ASTROG1} (${gloops} Tiddlers)" echo "************************************************************" ${MY_PATH}/../tools/PAY4SURE.sh ~/.zen/tmp/${MOATS}/sector.dunikey "${G1AMOUNT}" "${ASTROG1}" "THANKS ${gloops} GLOOPS" ################################################ GRATITUDE SENT diff --git a/RUNTIME/SECTOR.refresh.sh b/RUNTIME/SECTOR.refresh.sh index 484dd633..502f2b03 100755 --- a/RUNTIME/SECTOR.refresh.sh +++ b/RUNTIME/SECTOR.refresh.sh @@ -12,7 +12,13 @@ start=`date +%s` ## SECTOR REFRESH # SHARE & UPDATE IPNS TOGETHER ############################################ +echo +echo +echo "############################################" +echo "############################################" echo "> RUNNING SECTOR.refresh" +echo "############################################" +echo "############################################" [[ ${IPFSNODEID} == "" ]] && echo "IPFSNODEID is empty - EXIT -" && exit 1 MOATS=$(date -u +"%Y%m%d%H%M%S%4N") @@ -23,8 +29,13 @@ for i in $*; do UMAPS=("$i" ${UMAPS[@]}) done -[[ ${#UMAPS[@]} == 0 ]] && UMAPS="_0.00_0.00" - +## NO $i PARAMETERS - GET ALL UMAPS +if [[ ${#UMAPS[@]} == 0 ]]; then + MEMAPS=($(ls -td ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/* 2>/dev/null | rev | cut -d '/' -f 1 | rev | sort | uniq)) + SWARMMAPS=($(ls -Gd ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/* 2>/dev/null | rev | cut -d '/' -f 1 | rev | sort | uniq)) + combined=("${MEMAPS[@]}" "${SWARMMAPS[@]}") + UMAPS=($(echo "${combined[@]}" | tr ' ' '\n' | sort -u)) +fi ######## INIT SECTORS ######################## for UMAP in ${UMAPS[@]}; do @@ -56,49 +67,58 @@ for SECTOR in ${SECTORS[@]}; do SLON=$(echo ${SECTOR} | cut -d '_' -f 3) ############################################################## - G1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}") + ${MY_PATH}/../tools/keygen -t duniter -o ~/.zen/tmp/${MOATS}/${SECTOR}.dunikey "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}" + G1PUB=$(cat ~/.zen/tmp/${MOATS}/${SECTOR}.dunikey | grep 'pub:' | cut -d ' ' -f 2) [[ ! ${G1PUB} ]] && echo "ERROR generating SECTOR WALLET" && exit 1 + COINS=$($MY_PATH/../tools/COINScheck.sh ${G1PUB} | tail -n 1) - echo "SECTOR : ${SECTOR} (${COINS} G1) WALLET : ${G1PUB}" ZEN=$(echo "($COINS - 1) * 10" | bc | cut -d '.' -f 1) - ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${SECTOR}.priv "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}" ipfs key rm ${G1PUB} > /dev/null 2>&1 ## AVOID ERROR ON IMPORT SECTORNS=$(ipfs key import ${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${SECTOR}.priv) - rm ~/.zen/tmp/${MOATS}/${SECTOR}.priv - echo "ORIGIN : ${myIPFS}/ipns/${SECTORNS}/" + echo "___ ORIGIN ___ ${myIPFS}/ipns/${SECTORNS}/" + echo "SECTOR : ${SECTOR} (${COINS} G1 <=> ${ZEN} ZEN) : ${G1PUB}" - ###################### SPATIO TEMPORAL KEYS - ## YESTERDATE ############### - YESTERDATE=$(date -d "yesterday 13:00" '+%Y-%m-%d') - ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${YESTERDATE}.priv "${YESTERDATE}${UPLANETNAME}${SECTOR}" "${YESTERDATE}${UPLANETNAME}${SECTOR}" - ipfs key rm ${YESTERDATE}${G1PUB} > /dev/null 2>&1 - YESTERDATENS=$(ipfs key import ${YESTERDATE}${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${YESTERDATE}.priv) - echo "YESTERDAY : ${myIPFS}/ipns/${YESTERDATENS}" + ###################### SPATIO TEMPORAL KEYS + ## YESTERDATE ############### + ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${YESTERDATE}.priv "${YESTERDATE}${UPLANETNAME}${SECTOR}" "${YESTERDATE}${UPLANETNAME}${SECTOR}" + ipfs key rm ${YESTERDATE}${G1PUB} > /dev/null 2>&1 + YESTERDATENS=$(ipfs key import ${YESTERDATE}${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${YESTERDATE}.priv) + echo "YESTERDAY : ${myIPFS}/ipns/${YESTERDATENS}" - ## TODATE ######################################### - TODATE=$(date -d "today 13:00" '+%Y-%m-%d') - ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${TODATE}.priv "${TODATE}${UPLANETNAME}${SECTOR}" "${TODATE}${UPLANETNAME}${SECTOR}" - ipfs key rm ${TODATE}${G1PUB} > /dev/null 2>&1 - TODATENS=$(ipfs key import ${TODATE}${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${TODATE}.priv) - echo "TODAY : ${myIPFS}/ipns/${TODATENS}" + ## TODATE ######################################### + ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${TODATE}.priv "${TODATE}${UPLANETNAME}${SECTOR}" "${TODATE}${UPLANETNAME}${SECTOR}" + ipfs key rm ${TODATE}${G1PUB} > /dev/null 2>&1 + TODATENS=$(ipfs key import ${TODATE}${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${TODATE}.priv) + echo "TODAY : ${myIPFS}/ipns/${TODATENS}" # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - start=`date +%s` + start=`date +%s` # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - #~ ## IPFS GET ONLINE SECTORNS - ipfs --timeout 180s get -o ~/.zen/tmp/${MOATS}/${SECTOR}/ /ipns/${YESTERDATENS}/ + #~ ## IPFS GET ONLINE YESTERDATE SECTORNS + ipfs --timeout 240s get -o ~/.zen/tmp/${MOATS}/${SECTOR}/ /ipns/${YESTERDATENS}/ + if [[ $? != 0 ]]; then + echo "(╥☁╥ ) swarm memory empty (╥☁╥ )" + # Try retieve memory from UPlanet Zen Memory + [[ ${ZEN} -gt 0 ]] \ + && echo "INTERCOM Refreshing from ZEN MEMORY" \ + && ${MY_PATH}/../RUNTIME/ZEN.SECTOR.memory.sh "${SECTOR}" "${MOATS}" + fi # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - end=`date +%s` - echo "_____SECTOR${SECTOR} GET time was "`expr $end - $start` seconds. + end=`date +%s` + echo "_____SECTOR${SECTOR} GET time was "`expr $end - $start` seconds. # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> + + ### ZEN + + ## CONTROL CHAIN TIME ZCHAIN=$(cat ~/.zen/tmp/${MOATS}/${SECTOR}/CHAIN/_chain | rev | cut -d ':' -f 1 | rev 2>/dev/null) ZMOATS=$(cat ~/.zen/tmp/${MOATS}/${SECTOR}/CHAIN/_moats 2>/dev/null) [[ ${ZCHAIN} && ${ZMOATS} ]] \ && cp ~/.zen/tmp/${MOATS}/${SECTOR}/CHAIN/_chain ~/.zen/tmp/${MOATS}/${SECTOR}/CHAIN/_chain.${ZMOATS} \ - && echo "UPDATING MOATS" + && echo "UPDATING MOATS ${MOATS}" MOATS_SECONDS=$(${MY_PATH}/../tools/MOATS2seconds.sh ${MOATS}) ZMOATS_SECONDS=$(${MY_PATH}/../tools/MOATS2seconds.sh ${ZMOATS}) @@ -107,16 +127,9 @@ for SECTOR in ${SECTORS[@]}; do minutes=$(( (DIFF_SECONDS % 3600) / 60 )) seconds=$((DIFF_SECONDS % 60)) echo "SECTOR DATA is ${hours} hours ${minutes} minutes ${seconds} seconds OLD" - if [ ${DIFF_SECONDS} -lt $(( 5 * 60 * 60 )) ]; then - echo "GETTING YESTERDAY SECTOR.refresher" - YESTERDAY=$(ipfs cat /ipfs/${ZCHAIN}/CHAIN/SECTOR.refresher | head -n 1) - ## GET UMAP.refresher from PREVIOUS _chain ... - echo "TODAY : $(cat ~/.zen/tmp/${MOATS}/${SECTOR}/CHAIN/SECTOR.refresher | head -n 1)" - echo "YESTERDAY : ${YESTERDAY}" - continue - fi + # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - ## CONTROL ACTINGNODE SWAPPING + ## CONTROL ACTINGNODE : BOOSTRAP DISTRIBUTED (jeu du mouchoir, token ring aléatoire) UREFRESH="${HOME}/.zen/tmp/${MOATS}/${SECTOR}/CHAIN/SECTOR.refresher" ALLNODES=($(cat ${UREFRESH} | grep -v '^[[:space:]]*$' 2>/dev/null)) # ${ALLNODES[@]} without empty line STRAPS=($(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#" | rev | cut -d '/' -f 1 | rev | grep -v '^[[:space:]]*$')) ## ${STRAPS[@]} @@ -133,19 +146,23 @@ for SECTOR in ${SECTORS[@]}; do ## IN CASE OLD BOOSTRAP IS STILL IN CHARGE - CHOOSE 1ST STRAP - [[ ! $(echo ${STRAPS[@]} | grep ${ACTINGNODE}) ]] && ACTINGNODE=${STRAPS[0]} - ## IF NOT UPDATED FOR TOO LONG - [ ${DIFF_SECONDS} -gt $(( 24 * 60 * 60 )) ] \ - && echo "More than 24H update" \ + ## IF NOT UPDATED FOR TOO LONG : STRAPS[0] get key control + [ ${DIFF_SECONDS} -gt $(( 26 * 60 * 60 )) ] \ + && echo "More than 26H update" \ && ACTINGNODE=${STRAPS[0]} - [[ "${ACTINGNODE}" != "${IPFSNODEID}" ]] \ - && echo ">> ACTINGNODE=${ACTINGNODE} is not ME - CONTINUE -" \ - && continue + echo "* ACTINGNODE=${ACTINGNODE}" + if [[ "${ACTINGNODE}" != "${IPFSNODEID}" ]]; then + echo ">> ACTINGNODE NOT ME - CONTINUE -" + ipfs key rm "${TODATE}${G1PUB}" "${YESYERDATE}${G1PUB}" "${G1PUB}" + echo "------8<-------------8<------------------8<-----------------8<-----------------8<" + continue + fi ### NEXT REFRESHER SHUFFLE rm ${UREFRESH} for STRAP in ${STRAPS[@]}; do - echo ${STRAP} >> ${UREFRESH} ## RESET SECTOR.refresher file with actual STRAPS + echo ${STRAP} >> ${UREFRESH} ## RESET SECTOR.refresher file with actual STRAPS done # SHUFFLE UMAP.refresher cat ${UREFRESH} | sort | uniq | shuf > ${UREFRESH}.shuf @@ -160,16 +177,17 @@ for SECTOR in ${SECTORS[@]}; do ## NEW TW TEMPLATE [[ ! -s ${INDEX} ]] \ && sed "s~_SECTOR_~${SECTOR}~g" ${MY_PATH}/../templates/twsector.html > ${INDEX} \ - && echo "REFRESHING SECTOR FROM empty TEMPLATE *****" + && echo "REFRESHING SECTOR FROM empty TEMPLATE *****" \ + && [[ ${IPFSNODEID} != ${STRAPS[0]} ]] && echo "1ST BOOSTRAP JOB" && continue ## SET SECTOR sed -i "s~_SECTOR_~${SECTOR}~g" ${INDEX} ## GET ALL RSS json's AND Feed SECTOR TW with it - RSSNODE=($(ls ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_${SLAT}*_${SLON}*/RSS/*.rss.json 2>/dev/null)) + RSSNODE=($(ls ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_${SLAT}_${SLON}/_*_*/RSS/*.rss.json 2>/dev/null)) NL=${#RSSNODE[@]} - RSSWARM=($(ls ~/.zen/tmp/swarm/12D*/UPLANET/__/_*_*/_${SLAT}*_${SLON}*/RSS/*.rss.json 2>/dev/null)) + RSSWARM=($(ls ~/.zen/tmp/swarm/12D*/UPLANET/__/_*_*/_${SLAT}_${SLON}/_*_*/RSS/*.rss.json 2>/dev/null)) NS=${#RSSWARM[@]} combinedrss=("${RSSNODE[@]}" "${RSSWARM[@]}") @@ -177,15 +195,22 @@ for SECTOR in ${SECTORS[@]}; do mkdir -p ~/.zen/tmp/${MOATS}/${SECTOR}/RSS rm -f ~/.zen/tmp/${MOATS}/${SECTOR}/RSS/_all.json - ################################## TRANSFER SIGNED TIDDLER IN SECTOR TW + + #################### RSS2UPlanetSECTORTW ######################### + ############################ TRANSFER SIGNED TIDDLER IN SECTOR TW for RSS in ${RSSALL[@]}; do + ############################################################ ## Extract New Tiddlers and maintain fusion in Sector TW. - ${MY_PATH}/../tools/RSS2UPlanetTW.sh "${RSS}" "${SECTOR}" "${MOATS}" "${INDEX}" + ############################################################ + ${MY_PATH}/RSS2UPlanetSECTORTW.sh "${RSS}" "${SECTOR}" "${MOATS}" "${INDEX}" + ############################################################ ## create sector RSS _all.json cat ${RSS} >> ~/.zen/tmp/${MOATS}/${SECTOR}/RSS/_all.json + ############################################################ done TOTL=$((${NL}+${NS})) -############################################################## + ############################################################## + # Update COIN & ZEN value echo ${COINS} > ~/.zen/tmp/${MOATS}/${SECTOR}/COINS echo ${ZEN} > ~/.zen/tmp/${MOATS}/${SECTOR}/ZEN @@ -198,97 +223,99 @@ for SECTOR in ${SECTORS[@]}; do ## MAKE SECTOR PLANET WITH ASTONAUTENS LINKS ########################################################################################### ########################################################################################### - ## PREPARE Ŋ1 WORLD MAP ################################################################## - echo "var examples = {}; - examples['locations'] = function() { - var locations = { - " > ~/.zen/tmp/world.js - floop=1 + ## PREPARE Ŋ1 WORLD MAP ################################################################## + echo "var examples = {}; + examples['locations'] = function() { + var locations = { + " > ~/.zen/tmp/world.js + floop=1 - SWARMTW=($(ls ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_${SLAT}*_${SLON}*/TW/*/index.html 2>/dev/null)) - NODETW=($(ls ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_${SLAT}*_${SLON}*/TW/*/index.html 2>/dev/null)) - TWFILES=("${SWARMTW[@]}" "${NODETW[@]}") + SWARMTW=($(ls ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_${SLAT}*_${SLON}*/TW/*/index.html 2>/dev/null)) + NODETW=($(ls ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_${SLAT}*_${SLON}*/TW/*/index.html 2>/dev/null)) + TWFILES=("${SWARMTW[@]}" "${NODETW[@]}") - for TWRED in ${TWFILES[@]}; do - ZMAIL=$(echo ${TWRED} | rev | cut -d '/' -f 2 | rev) - TWADD=$(cat ${TWRED} | grep -o "/ipns/[^\"]*" | sed "s/'$//") - [[ -z ${TWADD} ]] && TWADD=$(cat ${TWRED} | grep -o "/ipfs/[^\"]*" | sed "s/'$//") + for TWRED in ${TWFILES[@]}; do + ZMAIL=$(echo ${TWRED} | rev | cut -d '/' -f 2 | rev) + TWADD=$(cat ${TWRED} | grep -o "/ipns/[^\"]*" | sed "s/'$//") + [[ -z ${TWADD} ]] && TWADD=$(cat ${TWRED} | grep -o "/ipfs/[^\"]*" | sed "s/'$//") - ## ADD ASTRONAUTNS ON SECTOR WORLD MAP - echo "${floop}: { - alpha: Math.random() * 2 * Math.PI, - delta: Math.random() * 2 * Math.PI, - name: '"${ZMAIL}"', - link: '"${TWADD}"' - } - ," >> ~/.zen/tmp/world.js + ## ADD ASTRONAUTNS ON SECTOR WORLD MAP + echo "${floop}: { + alpha: Math.random() * 2 * Math.PI, + delta: Math.random() * 2 * Math.PI, + name: '"${ZMAIL}"', + link: '"${TWADD}"' + } + ," >> ~/.zen/tmp/world.js - ((floop++)) - done + ((floop++)) + done - # REMOVE la dernière virgule - sed -i '$ d' ~/.zen/tmp/world.js - ################################## - ## FINISH LOCATIONS - echo " - }; - \$('#sphere').earth3d({ - locationsElement: \$('#locations'), - dragElement: \$('#locations'), - locations: locations - }); - }; - " >> ~/.zen/tmp/world.js + # REMOVE la dernière virgule + sed -i '$ d' ~/.zen/tmp/world.js + ################################## + ## FINISH LOCATIONS + echo " + }; + \$('#sphere').earth3d({ + locationsElement: \$('#locations'), + dragElement: \$('#locations'), + locations: locations + }); + }; + " >> ~/.zen/tmp/world.js - IAMAP=$(ipfs add -qw ~/.zen/tmp/world.js | tail -n 1) - echo "JSON WISH WORLD READY /ipfs/${IAMAP}/world.js" -########################################################################################### - ### APPLY ON APP MODEL TODATE REGIONNS LINKING - REGLAT=$(echo ${LAT} | cut -d '.' -f 1) - REGLON=$(echo ${LON} | cut -d '.' -f 1) - REGION="_${REGLAT}_${REGLON}" - TODATEREGIONNS=$(${MY_PATH}/../tools/keygen -t ipfs "${TODATE}${UPLANETNAME}${REGION}" "${TODATE}${UPLANETNAME}${REGION}") + IAMAP=$(ipfs add -qw ~/.zen/tmp/world.js | tail -n 1) + echo "JSON WISH WORLD READY /ipfs/${IAMAP}/world.js" - PHONEBOOTH="${G1PUB::30}" - cat ${MY_PATH}/../templates/UPlanetSector/index.html \ - | sed -e "s~_ZONE_~SECTOR ${SECTOR}~g" \ - -e "s~_UPZONE_~REGION ${REGION}~g" \ - -e "s~QmYdWBx32dP14XcbXF7hhtDq7Uu6jFmDaRnuL5t7ARPYkW/index_fichiers/world.js~${IAMAP}/world.js~g" \ - -e "s~_ZONENS_~${TODATENS}~g" \ - -e "s~_UPZONENS_~${TODATEREGIONNS}~g" \ - -e "s~_SECTORG1PUB_~${G1PUB}~g" \ - -e "s~_PHONEBOOTH_~${PHONEBOOTH}~g" \ - -e "s~_LAT_~${REGLAT}~g" \ - -e "s~_LON_~${REGLON}~g" \ - -e "s~_EARTHCID_~${EARTHCID}~g" \ - -e "s~_DATE_~$(date +%A-%d_%m_%Y)~g" \ - -e "s~_UPLANETLINK_~${EARTHCID}/map_render.html\?southWestLat=${REGLAT}\&southWestLon=${REGLON}\°=0.1~g" \ - -e "s~http://127.0.0.1:8080~~g" \ - > ~/.zen/tmp/${MOATS}/${SECTOR}/_index.html + ########################################################################################### + ## ADD SECTOR ZENPUB.png & INFO.png + convert -font 'Liberation-Sans' \ + -pointsize 80 -fill purple -draw 'text 50,120 "'"${ZEN} Zen"'"' \ + -pointsize 30 -fill purple -draw 'text 40, 180 "'"${SECTOR}"'"' \ + $MY_PATH/../images/G1WorldMap.png "${HOME}/.zen/tmp/${MOATS}/${SECTOR}.png" + # CREATE G1PUB AMZQR + amzqr ${G1PUB} -l H -p "$MY_PATH/../images/zenticket.png" -c -n ZENPUB.png -d ~/.zen/tmp/${MOATS}/${SECTOR}/ + convert ~/.zen/tmp/${MOATS}/${SECTOR}/ZENPUB.png -resize 250 ~/.zen/tmp/${MOATS}/ZENPUB.png + # ADD IT + composite -compose Over -gravity NorthEast -geometry +0+0 ~/.zen/tmp/${MOATS}/ZENPUB.png ~/.zen/tmp/${MOATS}/${SECTOR}.png ~/.zen/tmp/${MOATS}/${SECTOR}/INFO.png -## TODO get from ~/.zen/tmp/${IPFSNODEID}/REGIONS/_${REGLAT}_${REGLON}.week.cid produced by REGION.refresh -# -e "s~_RWEEKCID_~/ipfs/QmY4rLRgSXjhhsW3WoKUJYpLe2A1dJCFXb7stNLcAp95w9~g" \ + ## zday marking + rm ~/.zen/tmp/${MOATS}/${SECTOR}/z* 2>/dev/null + echo "${TODATE} ${SECTOR}" > ~/.zen/tmp/${MOATS}/${SECTOR}/z$(date +%A-%d_%m_%Y).html - ################################## - cp -f ~/.zen/tmp/${MOATS}/${SECTOR}/_index.html ~/.zen/tmp/${MOATS}/${SECTOR}/index.html + ########################################################################################### + ### APPLY ON APP MODEL TODATE REGIONNS LINKING + REGLAT=$(echo ${SLAT} | cut -d '.' -f 1) + REGLON=$(echo ${SLON} | cut -d '.' -f 1) + REGION="_${REGLAT}_${REGLON}" + TODATEREGIONNS=$(${MY_PATH}/../tools/keygen -t ipfs "${TODATE}${UPLANETNAME}${REGION}" "${TODATE}${UPLANETNAME}${REGION}") + REGIONG1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${TODATE}${UPLANETNAME}${REGION}" "${TODATE}${UPLANETNAME}${REGION}") -########################################################################################### -## ADD SECTOR ZENPUB.png & INFO.png -convert -font 'Liberation-Sans' \ - -pointsize 80 -fill purple -draw 'text 50,120 "'"${ZEN} Zen"'"' \ - -pointsize 30 -fill purple -draw 'text 40, 180 "'"${SECTOR}"'"' \ - $MY_PATH/../images/G1WorldMap.png "${HOME}/.zen/tmp/${MOATS}/${SECTOR}.png" -# CREATE G1PUB AMZQR -amzqr ${G1PUB} -l H -p "$MY_PATH/../images/zenticket.png" -c -n ZENPUB.png -d ~/.zen/tmp/${MOATS}/${SECTOR}/ -convert ~/.zen/tmp/${MOATS}/${SECTOR}/ZENPUB.png -resize 250 ~/.zen/tmp/${MOATS}/ZENPUB.png -# ADD IT -composite -compose Over -gravity NorthEast -geometry +0+0 ~/.zen/tmp/${MOATS}/ZENPUB.png ~/.zen/tmp/${MOATS}/${SECTOR}.png ~/.zen/tmp/${MOATS}/${SECTOR}/INFO.png - -## zday marking -rm ~/.zen/tmp/${MOATS}/${SECTOR}/z* 2>/dev/null -ZCHAIN=$(cat ~/.zen/tmp/${MOATS}/${SECTOR}/CHAIN/_chain | rev | cut -d ':' -f 1 | rev 2>/dev/null) -echo "${TODATE} ${SECTOR}" > ~/.zen/tmp/${MOATS}/${SECTOR}/z$(date +%A-%d_%m_%Y).html + PHONEBOOTH="${G1PUB::30}" + cat ${MY_PATH}/../templates/UPlanetSector/index.html \ + | sed -e "s~_ZONE_~SECTOR ${SECTOR}~g" \ + -e "s~_UPZONE_~REGION ${REGION}~g" \ + -e "s~QmYdWBx32dP14XcbXF7hhtDq7Uu6jFmDaRnuL5t7ARPYkW/index_fichiers/world.js~${IAMAP}/world.js~g" \ + -e "s~_ZONENS_~${TODATENS}~g" \ + -e "s~_ZCHAIN_~${ZCHAIN}~g" \ + -e "s~_UPZONENS_~${TODATEREGIONNS}~g" \ + -e "s~_SECTORG1PUB_~${G1PUB}~g" \ + -e "s~_IPFSNINJA_~${VDONINJA}~g" \ + -e "s~_CESIUMIPFS_~${CESIUMIPFS}~g" \ + -e "s~_HACKGIPFS_~${HACKGIPFS}~g" \ + -e "s~_PHONEBOOTH_~${PHONEBOOTH}~g" \ + -e "s~_LAT_~${SLAT}~g" \ + -e "s~_LON_~${SLON}~g" \ + -e "s~_EARTHCID_~${EARTHCID}~g" \ + -e "s~_DATE_~$(date +%A-%d_%m_%Y)~g" \ + -e "s~_UPLANETLINK_~${EARTHCID}/map_render.html\?southWestLat=${REGLAT}\&southWestLon=${REGLON}\°=1~g" \ + -e "s~http://127.0.0.1:8080~~g" \ + > ~/.zen/tmp/${MOATS}/${SECTOR}/_index.html + ################################## + cp -f ~/.zen/tmp/${MOATS}/${SECTOR}/_index.html ~/.zen/tmp/${MOATS}/${SECTOR}/index.html + rm ~/.zen/tmp/${MOATS}/${SECTOR}/index.html ## MAKE SECTOR VISIBLE ## ###################################################### CHAINING BACKUP IPFSPOP=$(ipfs add -rwq ~/.zen/tmp/${MOATS}/${SECTOR}/* | tail -n 1) @@ -298,28 +325,44 @@ echo "${TODATE && echo "${MOATS}" > ~/.zen/tmp/${MOATS}/${SECTOR}/CHAIN/_moats \ && IPFSPOP=$(ipfs add -rwq ~/.zen/tmp/${MOATS}/${SECTOR}/* | tail -n 1) && echo "ROOT was ${ZCHAIN}" ###################################################### - - echo "% START PUBLISHING ${SECTOR} ${myIPFS}/ipns/${SECTORNS}" - start=`date +%s` - ipfs name publish -k ${TODATE}${G1PUB} /ipfs/${IPFSPOP} - ipfs key rm ${TODATE}${G1PUB} ${YESYERDATE}${G1PUB} ${G1PUB} > /dev/null 2>&1 - end=`date +%s` - echo "_____SECTOR${SECTOR} PUBLISH time was "`expr $end - $start` seconds. + ## ZEN CHAINING + # Send 1 Zen to UPlanet REGIONG1PUB Wallet containing REGION TW HASH + INTERCOM="UPLANET:${SECTOR}:${TODATE}:/ipfs/${IPFSPOP}" + echo "> INTERCOM ${INTERCOM} (${ZEN} ZEN)" + if [[ ${ZEN} -gt 11 ]]; then + echo "---ZZZ-- SECTOR 2 REGION ZEN CHAINING ---ZZZ------ZZZ----" + ${MY_PATH}/../tools/PAY4SURE.sh ~/.zen/tmp/${MOATS}/${SECTOR}.dunikey "0.1" "${REGIONG1PUB}" "${INTERCOM}" + fi + ############################################################## + ## PUBLISHING ${SECTOR} + ############################### + echo "% PUBLISHING ${SECTOR} ${myIPFS}/ipns/${TODATENS}" + start=`date +%s` + ipfs name publish -k ${TODATE}${G1PUB} /ipfs/${IPFSPOP} + ipfs key rm ${YESTERDATE}${G1PUB} ${G1PUB} > /dev/null 2>&1 ###################################################### + rm ~/.zen/tmp/${MOATS}/${SECTOR}.dunikey ################################################### ## EXTRACT SECTOR LAST WEEK TIDDLERS TO IPFSNODEID CACHE echo "(☉_☉ ) ${REGION}.week.rss.json (☉_☉ )" - mkdir -p ~/.zen/tmp/${IPFSNODEID}/SECTORS/ - rm -f ~/.zen/tmp/${IPFSNODEID}/SECTORS/${SECTOR}.week.rss.json + rm -Rf ~/.zen/tmp/${IPFSNODEID}/SECTORS/ ## TODO REMOVE + mkdir -p ~/.zen/tmp/${IPFSNODEID}/UPLANET/SECTORS/_${REGLAT}_${REGLON}/_${SLAT}_${SLON} ## CREATING 7 DAYS JSON RSS STREAM tiddlywiki --load ${INDEX} \ - --output ~/.zen/tmp/${IPFSNODEID}/SECTORS --render '.' "${SECTOR}.week.rss.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-7]!is[system]!tag[G1Voeu]]' + --output ~/.zen/tmp/${IPFSNODEID}/UPLANET/SECTORS/_${REGLAT}_${REGLON}/_${SLAT}_${SLON} --render '.' "${SECTOR}.week.rss.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-7]!is[system]!tag[G1Voeu]]' + + ################################### + ## NODE CACHE SECTOR TODATENS + echo "" \ + > ~/.zen/tmp/${IPFSNODEID}/UPLANET/SECTORS/_${REGLAT}_${REGLON}/_${SLAT}_${SLON}/_index.html ## TODO FILTER INFORMATION WITH MULTIPLE SIGNATURES (DONE in REGION.refresh.sh) ## TODO EXPORT AS RSS ## https://talk.tiddlywiki.org/t/has-anyone-generated-an-rss-feed-from-tiddlywiki/966/28 + end=`date +%s` + echo "_____SECTOR${SECTOR} TREATMENT time was "`expr $end - $start` seconds. done diff --git a/RUNTIME/UPLANET.refresh.sh b/RUNTIME/UPLANET.refresh.sh index 105082ce..a4fc9354 100755 --- a/RUNTIME/UPLANET.refresh.sh +++ b/RUNTIME/UPLANET.refresh.sh @@ -11,7 +11,20 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized ## SEEK FOR UPLANET KEYS # GET & UPDATE IPNS ############################################ -echo "## RUNNING UPLANET.refresh" +echo "############################################" +echo " + _________________________ +< RUNNING UPLANET.refresh > + ------------------------- + \ ^__^ + \ (oo)\_______ + (__)\ )\/\ + ||----w | + || || + +" +echo "############################################" +echo "############################################" [[ ${IPFSNODEID} == "" ]] && echo "IPFSNODEID is empty - EXIT -" && exit 1 MOATS=$(date -u +"%Y%m%d%H%M%S%4N") @@ -20,156 +33,163 @@ mkdir ~/.zen/tmp/${MOATS} ################################################################# ## IPFSNODEID ASTRONAUTES SIGNALING ## 12345 port ############################ - ## RUNING FOR ALL UMAP FOUND IN STATION MAP CACHE : "_LAT_LON" +## RUNING FOR ALL UMAP FOUND IN STATION MAP CACHE : "_LAT_LON" - ## SEARCH UMAP (created by PLAYER.refresh.sh) /UPLANET/__/_*_*/_*.?_*.?/_*.??_*.?? - MEMAPS=($(ls -t ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/ 2>/dev/null)) - SWARMMAPS=($(ls -Gd ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/* | rev | cut -d '/' -f 1 | rev | sort | uniq 2>/dev/null) ) - combined=("${MEMAPS[@]}" "${SWARMMAPS[@]}") - unique_combined=($(echo "${combined[@]}" | tr ' ' '\n' | sort -u)) - echo "ACTIVATED UMAPS : ${unique_combined[@]}" # "_LAT_LON" directories +## SEARCH UMAP (created by PLAYER.refresh.sh) /UPLANET/__/_*_*/_*.?_*.?/_*.??_*.?? +MEMAPS=($(ls -td ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/* 2>/dev/null | rev | cut -d '/' -f 1 | rev | sort | uniq)) +SWARMMAPS=($(ls -Gd ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/* 2>/dev/null | rev | cut -d '/' -f 1 | rev | sort | uniq)) +combined=("${MEMAPS[@]}" "${SWARMMAPS[@]}") +unique_combined=($(echo "${combined[@]}" | tr ' ' '\n' | sort -u)) +echo "ACTIVATED UMAPS : ${unique_combined[@]}" # "_LAT_LON" directories - for UMAP in ${unique_combined[@]}; do +###################################################### +### LEVEL 1 ########################################### +###################################################### +for UMAP in ${unique_combined[@]}; do - start=`date +%s` - echo "____________REFRESHING ${UMAP}__________" - LAT=$(echo ${UMAP} | cut -d '_' -f 2) - LON=$(echo ${UMAP} | cut -d '_' -f 3) + start=`date +%s` + echo + echo "____________REFRESHING ${UMAP}__________" + LAT=$(echo ${UMAP} | cut -d '_' -f 2) + LON=$(echo ${UMAP} | cut -d '_' -f 3) - [[ ${LAT} == "" || ${LON} == "" ]] && echo ">> ERROR BAD ${LAT} ${LON}" && continue - [[ ${LAT} == "null" || ${LON} == "null" ]] && echo ">> ERROR BAD ${LAT} ${LON}" && continue + [[ ${LAT} == "" || ${LON} == "" ]] && echo ">> ERROR BAD ${LAT} ${LON}" && continue + [[ ${LAT} == "null" || ${LON} == "null" ]] && echo ">> ERROR BAD ${LAT} ${LON}" && continue - ## SECTOR BANK COORD - SECLAT="${LAT::-1}" - SECLON="${LON::-1}" - ## REGION - REGLAT=$(echo ${LAT} | cut -d '.' -f 1) - REGLON=$(echo ${LON} | cut -d '.' -f 1) + ## SECTOR BANK COORD + SECLAT="${LAT::-1}" + SECLON="${LON::-1}" + ## REGION + REGLAT=$(echo ${LAT} | cut -d '.' -f 1) + REGLON=$(echo ${LON} | cut -d '.' -f 1) - ############################################################## - ## UMAP WALLET CHECK - ############################################################## - G1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${UPLANETNAME}${LAT}" "${UPLANETNAME}${LON}") - [[ ! ${G1PUB} ]] && echo "ERROR generating WALLET" && exit 1 - COINS=$($MY_PATH/../tools/COINScheck.sh ${G1PUB} | tail -n 1) - echo "UMAP (${COINS} G1) WALLET : ${G1PUB}" + ############################################################## + ## UMAP WALLET CHECK + ############################################################## + ${MY_PATH}/../tools/keygen -t duniter -o ~/.zen/tmp/${MOATS}/${UMAP}.dunikey "${UPLANETNAME}${LAT}" "${UPLANETNAME}${LON}" + G1PUB=$(cat ~/.zen/tmp/${MOATS}/${UMAP}.dunikey | grep 'pub:' | cut -d ' ' -f 2) + [[ ! ${G1PUB} ]] && echo "ERROR generating UMAP WALLET" && exit 1 - ## ORIGIN ########################################################## - ## CALCULATE INITIAL UMAP GEOSPACIAL IPNS KEY - ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${UMAP}.priv "${UPLANETNAME}${LAT}" "${UPLANETNAME}${LON}" - ipfs key rm ${G1PUB} > /dev/null 2>&1 - UMAPNS=$(ipfs key import ${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${UMAP}.priv) - echo "ORIGIN : ${myIPFS}/ipns/${UMAPNS}" + COINS=$($MY_PATH/../tools/COINScheck.sh ${G1PUB} | tail -n 1) + ZEN=$(echo "($COINS - 1) * 10" | bc | cut -d '.' -f 1) - ###################### SPATIO TEMPORAL KEYS - ## YESTERDATE ############### - ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${YESTERDATE}.priv "${YESTERDATE}${UPLANETNAME}${LAT}" "${YESTERDATE}${UPLANETNAME}${LON}" - ipfs key rm ${YESTERDATE}${G1PUB} > /dev/null 2>&1 - YESTERDATENS=$(ipfs key import ${YESTERDATE}${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${YESTERDATE}.priv) - echo "YESTERDAY : ${myIPFS}/ipns/${YESTERDATENS}" + echo "UMAP (${COINS} G1) ${ZEN} ZEN : ${G1PUB}" - ## TODATE ######################################### - ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${TODATE}.priv "${TODATE}${UPLANETNAME}${LAT}" "${TODATE}${UPLANETNAME}${LON}" - ipfs key rm ${TODATE}${G1PUB} > /dev/null 2>&1 - TODATENS=$(ipfs key import ${TODATE}${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${TODATE}.priv) - echo "TODAY : ${myIPFS}/ipns/${TODATENS}" + ## ORIGIN ########################################################## + ## CALCULATE INITIAL UMAP GEOSPACIAL IPNS KEY + ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${UMAP}.priv "${UPLANETNAME}${LAT}" "${UPLANETNAME}${LON}" + ipfs key rm ${G1PUB} > /dev/null 2>&1 + UMAPNS=$(ipfs key import ${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${UMAP}.priv) + echo "ORIGIN : ${myIPFS}/ipns/${UMAPNS}" - # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - ## IPFS GET YESTERDATENS - mkdir ~/.zen/tmp/${MOATS}/${UMAP} - ipfs --timeout 180s get -o ~/.zen/tmp/${MOATS}/${UMAP}/ /ipns/${YESTERDATENS}/ - # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> - # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> + ###################### SPATIO TEMPORAL KEYS + ## TODATE ######################################### + ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${TODATE}.priv "${TODATE}${UPLANETNAME}${LAT}" "${TODATE}${UPLANETNAME}${LON}" + ipfs key rm ${TODATE}${G1PUB} > /dev/null 2>&1 + TODATENS=$(ipfs key import ${TODATE}${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${TODATE}.priv) + echo "TODAY : ${myIPFS}/ipns/${TODATENS}" - ## FORMAT CONTROL WARNING - [[ ! -d ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN || ! -d ~/.zen/tmp/${MOATS}/${UMAP}/${LAT}_${LON} ]] \ - && echo ">>> INFO - INTIALIZE UMAP FORMAT - NEW UMAP KEY -" \ - && mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/${LAT}_${LON} \ - && mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN + ## YESTERDATE ############### + ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${YESTERDATE}.priv "${YESTERDATE}${UPLANETNAME}${LAT}" "${YESTERDATE}${UPLANETNAME}${LON}" + ipfs key rm ${YESTERDATE}${G1PUB} > /dev/null 2>&1 + YESTERDATENS=$(ipfs key import ${YESTERDATE}${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${YESTERDATE}.priv) + echo "YESTERDAY : ${myIPFS}/ipns/${YESTERDATENS}" - mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/RSS - mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/TW + # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> + # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> + echo "## IPFS GET YESTERDATENS" + mkdir ~/.zen/tmp/${MOATS}/${UMAP} + ipfs --timeout 240s get -o ~/.zen/tmp/${MOATS}/${UMAP}/ /ipns/${YESTERDATENS}/ + if [[ $? != 0 ]]; then + echo "(╥☁╥ ) swarm memory empty (╥☁╥ )" + # Try retieve memory from UPlanet Zen Memory + [[ ${ZEN} -gt 0 ]] \ + && echo "INTERCOM Refreshing from ZEN MEMORY" \ + && ${MY_PATH}/../RUNTIME/ZEN.UMAP.memory.sh "${UMAP}" "${MOATS}" + fi + # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> + # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> + + ## FORMAT CONTROL WARNING + [[ ! -d ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN || ! -d ~/.zen/tmp/${MOATS}/${UMAP}/${LAT}_${LON} ]] \ + && echo ">>> INFO - INTIALIZE UMAP FORMAT - NEW UMAP KEY -" \ + && mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/${LAT}_${LON} \ + && mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN \ + && echo ${MOATS} > ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_moats + + mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/RSS + mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/TW echo "~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/" - ## zday of the week for IPFSNODEID -rm ~/.zen/tmp/${MOATS}/${UMAP}/z* ## TODO RESTRICT T O z*.html -ZCHAIN=$(cat ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_chain | rev | cut -d ':' -f 1 | rev 2>/dev/null) -echo "" > ~/.zen/tmp/${MOATS}/${UMAP}/z$(date +%A-%d_%m_%Y).html + ## zday of the week for IPFSNODEID + rm -f ~/.zen/tmp/${MOATS}/${UMAP}/z*.html 2>/dev/null + ZCHAIN=$(cat ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_chain 2>/dev/null | rev | cut -d ':' -f 1 | rev 2>/dev/null) + [[ "${ZCHAIN}" != "" ]] \ + && echo "" > ~/.zen/tmp/${MOATS}/${UMAP}/z$(date +%A-%d_%m_%Y).html + ######################################################## + ## NODE SELECTION in UMAP.refresher + UREFRESH="${HOME}/.zen/tmp/${MOATS}/${UMAP}/${LAT}_${LON}/UMAP.refresher" + ALLNODES=($(cat ${UREFRESH} 2>/dev/null)) # ${ALLNODES[@]} + STRAPS=($(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#" | rev | cut -d '/' -f 1 | rev | grep -v '^[[:space:]]*$')) ## ${STRAPS[@]} - # ++++++++++++++++++++ - - - - ADAPT TO NODE TREATMENT TIME - ZMOATS=$(cat ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_moats 2>/dev/null) - # ZMOATS SHOULD BE MORE THAT 5 HOURS. - MOATS_SECONDS=$(${MY_PATH}/../tools/MOATS2seconds.sh ${MOATS}) - ZMOATS_SECONDS=$(${MY_PATH}/../tools/MOATS2seconds.sh ${ZMOATS}) - DIFF_SECONDS=$((MOATS_SECONDS - ZMOATS_SECONDS)) - hours=$((DIFF_SECONDS / 3600)) - minutes=$(( (DIFF_SECONDS % 3600) / 60 )) - seconds=$((DIFF_SECONDS % 60)) - echo "UMAP DATA is ${hours} hours ${minutes} minutes ${seconds} seconds " - - # IF LESS THAN 5 HOURS - if [ ${DIFF_SECONDS} -lt $(( 5 * 60 * 60 )) ]; then - echo "GETTING YESTERDAY UMAP.refresher" - YESTERDAY=$(ipfs cat /ipfs/${ZCHAIN}/${LAT}_${LON}/UMAP.refresher | head -n 1) - ## GET UMAP.refresher from PREVIOUS _chain ... - TODAY=$(cat ~/.zen/tmp/${MOATS}/${UMAP}/${LAT}_${LON}/UMAP.refresher | head -n 1) - echo "TODAY : ${TODAY}" - echo "YESTERDAY : ${YESTERDAY}" - echo "------------------------------------------------->>>>>>>>>>>>>>>>" - continue - fi - -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ######################################################## - ## NODE SELECTION in UMAP.refresher - UREFRESH="${HOME}/.zen/tmp/${MOATS}/${UMAP}/${LAT}_${LON}/UMAP.refresher" - ALLNODES=($(cat ${UREFRESH} 2>/dev/null)) # ${ALLNODES[@]} - STRAPS=($(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#" | rev | cut -d '/' -f 1 | rev | grep -v '^[[:space:]]*$')) ## ${STRAPS[@]} - - if [[ ${ALLNODES[@]} == "" ]]; then - for STRAP in ${STRAPS[@]}; do - echo ${STRAP} >> ${UREFRESH} ## FILL UMAP.refresher file with all STRAPS - done - ALLNODES=($(cat ${UREFRESH} 2>/dev/null)) # ${ALLNODES[@]} - fi - - ACTINGNODE=${ALLNODES[0]} ## FIST NODE IN UMAP.refresher - - ## IN CASE OLD BOOSTRAP IS STILL IN CHARGE - CHOOSE 1ST STRAP - - [[ ! $(echo ${STRAPS[@]} | grep ${ACTINGNODE}) ]] && ACTINGNODE=${STRAPS[0]} - - ## IF NOT UPDATED FOR TOO LONG - [ ${DIFF_SECONDS} -gt 100800 ] \ - && echo "More than 28H update" \ - && ACTINGNODE=${STRAPS[0]} - - echo "* ACTINGNODE=${ACTINGNODE}" - - [[ "${ACTINGNODE}" != "${IPFSNODEID}" ]] \ - && echo ">> ACTINGNODE=${ACTINGNODE} is not ME - CONTINUE -" \ - && continue - ######################################## - # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PASSING THERE MAKE IPFSNODEID UMAP REFRESHER - - ## NEXT REFRESHER - # TODO: INTRODUCE NODE BALANCE AND CHOOSE THE MOST CONFIDENT ONE - rm ${UREFRESH} + if [[ ${ALLNODES[@]} == "" ]]; then for STRAP in ${STRAPS[@]}; do echo ${STRAP} >> ${UREFRESH} ## FILL UMAP.refresher file with all STRAPS done - # SHUFFLE UMAP.refresher - cat ${UREFRESH} | sort | uniq | shuf > ${UREFRESH}.shuf - mv ${UREFRESH}.shuf ${UREFRESH} - ## NEXT REFRESHER - echo ">> NEXT REFRESHER WILL BE $(cat ${UREFRESH} | head -n 1)" - ######################################################## # NODE SELECTION in UMAP.refresher + ALLNODES=($(cat ${UREFRESH} 2>/dev/null)) # ${ALLNODES[@]} + fi -# %%%%%%%%%% ################################################## -## SECTOR LINKING >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>${SLAT}_${SLON} -# %%%%%%%%%% ################################################## + ACTINGNODE=${ALLNODES[0]} ## FIST NODE IN UMAP.refresher + + ## IN CASE OLD BOOSTRAP IS STILL IN CHARGE - CHOOSE 1ST STRAP - + [[ ! $(echo ${STRAPS[@]} | grep ${ACTINGNODE}) ]] && ACTINGNODE=${STRAPS[0]} + + # ++++++++++++++++++++ - - - - FIND LAST TREATMENT TIME + ZMOATS=$(cat ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_moats 2>/dev/null) || ZMOATS=${MOATS} + # ZMOATS SHOULD BE MORE THAT 5 HOURS. + MOATS_SECONDS=$(${MY_PATH}/../tools/MOATS2seconds.sh ${MOATS}) + ZMOATS_SECONDS=$(${MY_PATH}/../tools/MOATS2seconds.sh ${ZMOATS}) + DIFF_SECONDS=$((MOATS_SECONDS - ZMOATS_SECONDS)) + hours=$((DIFF_SECONDS / 3600)) + minutes=$(( (DIFF_SECONDS % 3600) / 60 )) + seconds=$((DIFF_SECONDS % 60)) + echo "UMAP DATA is ${hours} hours ${minutes} minutes ${seconds} seconds " + # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + ## IF NOT UPDATED FOR TOO LONG + [[ ${DIFF_SECONDS} -gt $(( 26 * 60 * 60 )) || ${DIFF_SECONDS} -eq 0 ]] \ + && echo "More than 26H update - BOOSTRAP 0 ACTION -" \ + && ACTINGNODE=${STRAPS[0]} + + echo "* ACTINGNODE=${ACTINGNODE}" + + if [[ "${ACTINGNODE}" != "${IPFSNODEID}" ]]; then + echo ">> ACTINGNODE NOT ME - CONTINUE -" + ipfs key rm "${TODATE}${G1PUB}" "${YESTERDATE}${G1PUB}" "${G1PUB}" + echo "------8<-------------8<------------------8<-----------------8<-----------------8<" + continue + fi + ######################################## + # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PASSING THERE MAKE IPFSNODEID UMAP REFRESHER + + ## NEXT REFRESHER + # TODO: INTRODUCE NODE BALANCE AND CHOOSE THE MOST CONFIDENT ONE + rm ${UREFRESH} + for STRAP in ${STRAPS[@]}; do + echo ${STRAP} >> ${UREFRESH} ## FILL UMAP.refresher file with all STRAPS + done + # SHUFFLE UMAP.refresher + cat ${UREFRESH} | sort | uniq | shuf > ${UREFRESH}.shuf + mv ${UREFRESH}.shuf ${UREFRESH} + ## NEXT REFRESHER + echo ">> NEXT REFRESHER WILL BE $(cat ${UREFRESH} | head -n 1)" + ######################################################## # NODE SELECTION in UMAP.refresher + + # %%%%%%%%%% ################################################## + ## SECTOR LINKING >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>${SLAT}_${SLON} + # %%%%%%%%%% ################################################## SLAT="${LAT::-1}" SLON="${LON::-1}" SECTOR="_${SLAT}_${SLON}" @@ -180,7 +200,7 @@ echo "" > ~/ COINS=$($MY_PATH/../tools/COINScheck.sh ${SECTORG1PUB} | tail -n 1) echo "SECTOR : ${SECTOR} (${COINS} G1) WALLET : ${SECTORG1PUB}" - ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${SECTOR}.priv "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}" + ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${SECTOR}.priv "${TODATE}${UPLANETNAME}${SECTOR}" "${TODATE}${UPLANETNAME}${SECTOR}" ipfs key rm ${SECTORG1PUB} > /dev/null 2>&1 ## AVOID ERROR ON IMPORT SECTORNS=$(ipfs key import ${SECTORG1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${SECTOR}.priv) ipfs key rm ${SECTORG1PUB} @@ -188,9 +208,9 @@ echo "" > ~/ mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/${SLAT}_${SLON} echo "" > ~/.zen/tmp/${MOATS}/${UMAP}/${SLAT}_${SLON}/index.html -# %%%%%%%%%% ################################################## -## REGION LINKING >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ${RLAT}_${RLON} -# %%%%%%%%%% ################################################## + # %%%%%%%%%% ################################################## + ## REGION LINKING >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ${RLAT}_${RLON} + # %%%%%%%%%% ################################################## RLAT=$(echo ${LAT} | cut -d '.' -f 1) RLON=$(echo ${LON} | cut -d '.' -f 1) REGION="_${RLAT}_${RLON}" @@ -201,43 +221,45 @@ echo "" > ~/ COINS=$($MY_PATH/../tools/COINScheck.sh ${REGIONG1PUB} | tail -n 1) echo "REGION : ${REGION} (${COINS} G1) WALLET : ${REGIONG1PUB}" - ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/REGION.priv "${UPLANETNAME}${REGION}" "${UPLANETNAME}${REGION}" + ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/REGION.priv "${TODATE}${UPLANETNAME}${REGION}" "${TODATE}${UPLANETNAME}${REGION}" ipfs key rm ${REGIONG1PUB} > /dev/null 2>&1 ## AVOID ERROR ON IMPORT - REGIONNS=$(ipfs key import ${REGIONG1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/REGION.priv) + TODATEREGIONNS=$(ipfs key import ${REGIONG1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/REGION.priv) ipfs key rm ${REGIONG1PUB} ############################################################## mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/${RLAT}_${RLON} - echo "" > ~/.zen/tmp/${MOATS}/${UMAP}/${RLAT}_${RLON}/index.html + echo "" > ~/.zen/tmp/${MOATS}/${UMAP}/${RLAT}_${RLON}/index.html -# %%%%%%%%%% ################################################## -## COLLECT RSS FROM ALL PLAYERS WITH SAME UMAP IN SWARM MEMORY /UPLANET/__/_*_*/_*.?_*.?/_*.??_*.?? -# %%%%%%%%%% ################################################## - cp ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/RSS/*.rss.json ~/.zen/tmp/${MOATS}/${UMAP}/RSS/ 2>/dev/null - RSSFILES=($(ls ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/RSS/*.rss.json 2>/dev/null)) - for RSSFILE in ${RSSFILES[@]}; do - cp ${RSSFILE} ~/.zen/tmp/${MOATS}/${UMAP}/RSS/ - done + # %%%%%%%%%% ################################################## + ## COLLECT RSS FROM ALL PLAYERS WITH SAME UMAP IN SWARM MEMORY /UPLANET/__/_*_*/_*.?_*.?/_*.??_*.?? + # %%%%%%%%%% ################################################## + cp ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/RSS/*.rss.json \ + ~/.zen/tmp/${MOATS}/${UMAP}/RSS/ 2>/dev/null + RSSFILES=($(ls ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/RSS/*.rss.json 2>/dev/null)) + for RSSFILE in ${RSSFILES[@]}; do + cp ${RSSFILE} ~/.zen/tmp/${MOATS}/${UMAP}/RSS/ + done -# %%%%%%%%%% ################################################## -## COLLECT TW LINKS FROM NODE & SWARM -# %%%%%%%%%% ################################################## - cp -r ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/TW/* ~/.zen/tmp/${MOATS}/${UMAP}/TW/ 2>/dev/null - TWFILES=($(ls ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/TW/*/index.html 2>/dev/null)) - for TWRED in ${TWFILES[@]}; do - ZMAIL=$(echo ${TWRED} | rev | cut -d '/' -f 2 | rev) - mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/TW/${ZMAIL} - cp ${TWRED} ~/.zen/tmp/${MOATS}/${UMAP}/TW/${ZMAIL}/ - done + # %%%%%%%%%% ################################################## + ## COLLECT TW LINKS FROM NODE & SWARM + # %%%%%%%%%% ################################################## + cp -r ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/TW/* \ + ~/.zen/tmp/${MOATS}/${UMAP}/TW/ 2>/dev/null + TWFILES=($(ls ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/TW/*/index.html 2>/dev/null)) + for TWRED in ${TWFILES[@]}; do + ZMAIL=$(echo ${TWRED} | rev | cut -d '/' -f 2 | rev) + mkdir -p ~/.zen/tmp/${MOATS}/${UMAP}/TW/${ZMAIL} + cp ${TWRED} ~/.zen/tmp/${MOATS}/${UMAP}/TW/${ZMAIL}/ + done -################################## + ################################## ## OSM2IPFS -### UMAP = 0.01° Planet Slice - UMAPGEN="${EARTHCID}/Umap.html?southWestLat=${LAT}&southWestLon=${LON}°=0.01&ipns=${UMAPNS}/_index.html" - USATGEN="${EARTHCID}/Usat.html?southWestLat=${LAT}&southWestLon=${LON}°=0.01&ipns=${UMAPNS}/_index.html" - echo "" > ~/.zen/tmp/${MOATS}/${UMAP}/Umap.html - echo "" > ~/.zen/tmp/${MOATS}/${UMAP}/Usat.html + ### UMAP = 0.01° Planet Slice + UMAPGEN="${EARTHCID}/Umap.html?southWestLat=${LAT}&southWestLon=${LON}°=0.01&ipns=${TODATENS}/_index.html" + USATGEN="${EARTHCID}/Usat.html?southWestLat=${LAT}&southWestLon=${LON}°=0.01&ipns=${TODATENS}/_index.html" + echo "" > ~/.zen/tmp/${MOATS}/${UMAP}/Umap.html + echo "" > ~/.zen/tmp/${MOATS}/${UMAP}/Usat.html -## ¤$£€ removed copy OSM map to IPFS. TODO. scrap tiles instead of screen copy + ## ¤$£€ removed copy OSM map to IPFS. TODO. scrap tiles instead of screen copy ## TODO # GET SCREENSHOT UMAP SECTOR & REGION JPG ## PROBLEM ON LIBRA ... MORE TEST NEEDED ... #~ [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/Umap.jpg ]] \ @@ -247,9 +269,9 @@ echo "" > ~/ #~ [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/Usat.jpg ]] \ #~ && python ${MY_PATH}/../tools/page_screenshot.py "${myIPFS}${USATGEN}" ~/.zen/tmp/${MOATS}/${UMAP}/Usat.jpg 900 900 2>/dev/null \ #~ && [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/Usat.jpg ]] && killall chrome -#### NOT WORKING !!! + #### NOT WORKING !!! -## GEOLINKING CALCULATE SURROUNDING UMAPS ############################### + ## GEOLINKING CALCULATE SURROUNDING UMAPS ############################### #~ if [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/geolinks.json ]]; then #~ ${MY_PATH}/../tools/Umap_geolinks.sh "${LAT}" "${LON}" "${UMAP}" "${MOATS}" "${UMAPNS}" @@ -258,149 +280,193 @@ echo "" > ~/ #~ ### SET navigator.html ## MAKE EVOLVE template/umap.html #~ cp ${MY_PATH}/../templates/umap.html ~/.zen/tmp/${MOATS}/${UMAP}/navigator_Umap.html #~ cat ~/.zen/tmp/${MOATS}/${UMAP}/navigator_Umap.html | sed "s~Umap~Usat~g" > ~/.zen/tmp/${MOATS}/${UMAP}/navigator_Usat.html -#### IS IT USEFUL ?..?? + #### IS IT USEFUL ?..?? -#################################### -# %%%%%%%%%% ################################################## + #################################### + # %%%%%%%%%% ################################################## ## GET FROM WEB2.0 POI's AROUND >>>>>>>>>>>>>>>>>>>>>>>>> -# %%%%%%%%%% ################################################## -#################################### - echo "################### WEB2.0 SCRAPING TIME >>>>>>>>>>>>>>>>" - ## RECORD P4N SPOT DATA - echo "* park4night : https://www.park4night.com/api/places/around?lat=${LAT}&lng=${LON}&radius=200&filter=%7B%7D&lang=fr" - [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/p4n.json ]] && touch ~/.zen/tmp/${MOATS}/${UMAP}/p4n.json - [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json ]] \ - && curl -s "https://www.park4night.com/api/places/around?lat=${LAT}&lng=${LON}&radius=200&filter=%7B%7D&lang=fr" -o ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json \ - && [[ $(stat -c %s ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json) -gt $(stat -c %s ~/.zen/tmp/${MOATS}/${UMAP}/p4n.json) ]] \ - && mv ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json ~/.zen/tmp/${MOATS}/${UMAP}/p4n.json \ - && echo "UPDATED PARK4NIGHT" \ - || rm ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json + # %%%%%%%%%% ################################################## + #################################### + echo "################### WEB2.0 SCRAPING TIME >>>>>>>>>>>>>>>>" + ## RECORD P4N SPOT DATA + echo "* park4night : https://www.park4night.com/api/places/around?lat=${LAT}&lng=${LON}&radius=200&filter=%7B%7D&lang=fr" + [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/p4n.json ]] && touch ~/.zen/tmp/${MOATS}/${UMAP}/p4n.json + [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json ]] \ + && curl -s -L "https://www.park4night.com/api/places/around?lat=${LAT}&lng=${LON}&radius=200&filter=%7B%7D&lang=fr" -o ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json \ + && [[ $(stat -c %s ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json) -gt $(stat -c %s ~/.zen/tmp/${MOATS}/${UMAP}/p4n.json) ]] \ + && mv ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json ~/.zen/tmp/${MOATS}/${UMAP}/p4n.json \ + && echo "UPDATED PARK4NIGHT" \ + || rm ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json -#################################### - echo "* gchange : ./tools/gchange_get_50km_around_LAT_LON_ads.sh ${LAT} ${LON}" - ## GET 100KM GCHANGE ADS ( https://data.gchange.fr ) - ${MY_PATH}/../tools/gchange_get_50km_around_LAT_LON_ads.sh ${LAT} ${LON} > ~/.zen/tmp/${MOATS}/${UMAP}/gchange50.json + #################################### + echo "* gchange : ./tools/gchange_get_50km_around_LAT_LON_ads.sh ${LAT} ${LON}" + ## GET 100KM GCHANGE ADS ( https://data.gchange.fr ) + ${MY_PATH}/../tools/gchange_get_50km_around_LAT_LON_ads.sh ${LAT} ${LON} > ~/.zen/tmp/${MOATS}/${UMAP}/gchange50.json - echo "MAKING _index.p4n.html with ./templates/P4N/index.html" - ## CREATE INDEX LOADING JSONs ON OPENSTREETMAP - cat ${MY_PATH}/../templates/P4N/index.html \ - | sed -e "s~43.2218~${LAT}~g" \ - -e "s~1.3977~${LON}~g" \ - -e "s~_SERVICE_~Commons~g" \ - -e "s~_UMAP_~${UMAP}~g" \ - -e "s~http://127.0.0.1:8080~~g" \ - > ~/.zen/tmp/${MOATS}/${UMAP}/_index.p4n.html + ## GET ALL WALLETS + echo "* GET WALLETS https://g1-stats.axiom-team.fr/data/geoloc-members.json" + [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/wallall.json ]] && touch ~/.zen/tmp/${MOATS}/${UMAP}/wallall.json + [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json ]] \ + && curl -s "https://g1-stats.axiom-team.fr/data/geoloc-members.json" -o ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json \ + && [[ $(stat -c %s ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json) -gt $(stat -c %s ~/.zen/tmp/${MOATS}/${UMAP}/wallall.json) ]] \ + && mv ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json ~/.zen/tmp/${MOATS}/${UMAP}/wallall.json \ + && echo "UPDATED WALLALL" \ + || rm ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json -# %%%%%%%%%% ################################################## -######################################################## - echo "CREATING SPHERICAL LOCATIONS" -# %%%%%%%%%% ################################################## - ## PREPARE SPHERE MAP ################################################################## - echo "var examples = {}; - examples['locations'] = function() { - var locations = { - " > ~/.zen/tmp/world.js - floop=1 + ## FILTER LOCAL WALLETS + target_lat=${LAT} + target_lon=${LON} + precision=0.1 + jq --argjson target_lat "$target_lat" \ + --argjson target_lon "$target_lon" \ + --argjson precision "$precision" \ + '.wallets | map(select((.geoPoint.lat | tonumber) >= ($target_lat - $precision) and (.geoPoint.lat | tonumber) <= ($target_lat + $precision) and (.geoPoint.lon | tonumber) >= ($target_lon - $precision) and (.geoPoint.lon | tonumber) <= ($target_lon + $precision)))' ~/.zen/tmp/${MOATS}/${UMAP}/wallall.json \ + > ~/.zen/tmp/${MOATS}/${UMAP}/wallets.json - SWARMTW=($(ls ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/TW/*/index.html 2>/dev/null)) - NODETW=($(ls ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/TW/*/index.html 2>/dev/null)) - TWFILES=("${SWARMTW[@]}" "${NODETW[@]}") + echo "MAKING _index.p4n.html with ./templates/P4N/index.html" + ## CREATE INDEX LOADING JSONs ON OPENSTREETMAP + cat ${MY_PATH}/../templates/P4N/index.html \ + | sed -e "s~43.61000~${LAT}~g" \ + -e "s~1.43000~${LON}~g" \ + -e "s~_SERVICE_~Commons~g" \ + -e "s~_UMAP_~${UMAP}~g" \ + -e "s~http://127.0.0.1:8080~~g" \ + > ~/.zen/tmp/${MOATS}/${UMAP}/_index.p4n.html - for TWRED in ${TWFILES[@]}; do - ZMAIL=$(echo ${TWRED} | rev | cut -d '/' -f 2 | rev) - TWADD=$(cat ${TWRED} | grep -o "/ipns/[^\"]*" | sed "s/'$//") - [[ -z ${TWADD} ]] && TWADD=$(cat ${TWRED} | grep -o "/ipfs/[^\"]*" | sed "s/'$//") + # %%%%%%%%%% ################################################## + ######################################################## + echo "CREATING SPHERICAL LOCATIONS" + # %%%%%%%%%% ################################################## + ## PREPARE SPHERE MAP ################################################################## + echo "var examples = {}; + examples['locations'] = function() { + var locations = { + " > ~/.zen/tmp/world.js + floop=1 - ## ADD ASTRONAUTNS ON SECTOR WORLD MAP - echo "${floop}: { - alpha: Math.random() * 2 * Math.PI, - delta: Math.random() * 2 * Math.PI, - name: '"${ZMAIL}"', - link: '"${TWADD}"' - } - ," >> ~/.zen/tmp/world.js + SWARMTW=($(ls ~/.zen/tmp/swarm/*/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/TW/*/index.html 2>/dev/null)) + NODETW=($(ls ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/_${LAT}_${LON}/TW/*/index.html 2>/dev/null)) + TWFILES=("${SWARMTW[@]}" "${NODETW[@]}") - ((floop++)) - done + for TWRED in ${TWFILES[@]}; do + ZMAIL=$(echo ${TWRED} | rev | cut -d '/' -f 2 | rev) + TWADD=$(cat ${TWRED} | grep -o "/ipns/[^\"]*" | sed "s/'$//") + [[ -z ${TWADD} ]] && TWADD=$(cat ${TWRED} | grep -o "/ipfs/[^\"]*" | sed "s/'$//") - # REMOVE la dernière virgule - sed -i '$ d' ~/.zen/tmp/world.js - ################################## - ## FINISH LOCATIONS - echo " - }; - \$('#sphere').earth3d({ - locationsElement: \$('#locations'), - dragElement: \$('#locations'), - locations: locations - }); - }; - " >> ~/.zen/tmp/world.js - - IAMAP=$(ipfs add -qw ~/.zen/tmp/world.js | tail -n 1) - echo "JSON UMAP WORLD READY /ipfs/${IAMAP}/world.js" -########################################################################################### - ### APPLY ON APP MODEL - SECLAT="${LAT::-1}" - SECLON="${LON::-1}" - SECTOR="_${SECLAT}_${SECLON}" - SECTORNS=$(${MY_PATH}/../tools/keygen -t ipfs "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}") - - PHONEBOOTH="${G1PUB::30}" - cat ${MY_PATH}/../templates/UPlanetUmap/index.html \ - | sed -e "s~_ZONE_~UMAP ${UMAP}~g" \ - -e "s~_UPZONE_~SECTOR ${SECTOR}~g" \ - -e "s~QmYdWBx32dP14XcbXF7hhtDq7Uu6jFmDaRnuL5t7ARPYkW/index_fichiers/world.js~${IAMAP}/world.js~g" \ - -e "s~_ZONENS_~${UMAPNS}~g" \ - -e "s~_UPZONENS_~${SECTORNS}~g" \ - -e "s~_PHONEBOOTH_~${PHONEBOOTH}~g" \ - -e "s~_DATE_~$(date +%A-%d_%m_%Y)~g" \ - -e "s~_UPLANETLINK_~${EARTHCID}/map_render.html\?southWestLat=${LAT}\&southWestLon=${LON}\°=0.01~g" \ - -e "s~http://127.0.0.1:8080~~g" \ - > ~/.zen/tmp/${MOATS}/${UMAP}/_index.html - - ## Make it root App - #~ mv ~/.zen/tmp/${MOATS}/${UMAP}/_index.html \ - #~ ~/.zen/tmp/${MOATS}/${UMAP}/index.html - ################################## - -########################################################################################### -######################################################## - ## CREATE .all.json for RSS in this UMAP - ${MY_PATH}/../tools/json_dir.all.sh ~/.zen/tmp/${MOATS}/${UMAP}/RSS - - ############################################################## - ############################ PUBLISHING UMAP - ############################################################## - UMAPROOT=$(ipfs add -rwHq ~/.zen/tmp/${MOATS}/${UMAP}/* | tail -n 1) - - ZCHAIN=$(cat ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_chain | rev | cut -d ':' -f 1 | rev 2>/dev/null) - ZMOATS=$(cat ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_moats 2>/dev/null) - [[ ${ZCHAIN} && ${ZMOATS} ]] \ - && cp ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_chain ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_chain.${ZMOATS} \ - && echo "UPDATING MOATS" - - ## MICRO LEDGER CHAIN CHANGED or INIT ? - [[ ${ZCHAIN} != ${UMAPROOT} || ${ZCHAIN} == "" ]] \ - && echo "${MOATS}:${IPFSNODEID}:${UMAPROOT}" > ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_chain \ - && echo "${MOATS}" > ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_moats \ - && UMAPROOT=$(ipfs add -rwHq ~/.zen/tmp/${MOATS}/${UMAP}/* | tail -n 1) && echo "ROOT was ${ZCHAIN}" - - echo "PUBLISHING ${TODATE} UMAPROOT : ${myIPFS}/ipfs/${UMAPROOT}" - - ipfs name publish --key=${TODATE}${G1PUB} /ipfs/${UMAPROOT} - end=`date +%s` - ipfs key rm ${TODATE}${G1PUB} ${YESYERDATE}${G1PUB} ${G1PUB} ## REMOVE IPNS KEY - - echo "(UMAP) ${UMAP} ${TODATE} PUBLISH time was "`expr $end - $start` seconds. + ## ADD ASTRONAUTNS ON SECTOR WORLD MAP + echo "${floop}: { + alpha: Math.random() * 2 * Math.PI, + delta: Math.random() * 2 * Math.PI, + name: '"${ZMAIL}"', + link: '"${TWADD}"' + } + ," >> ~/.zen/tmp/world.js + ((floop++)) done + # REMOVE la dernière virgule + sed -i '$ d' ~/.zen/tmp/world.js + ################################## + ## FINISH LOCATIONS + echo " + }; + \$('#sphere').earth3d({ + locationsElement: \$('#locations'), + dragElement: \$('#locations'), + locations: locations + }); + }; + " >> ~/.zen/tmp/world.js + IAMAP=$(ipfs add -qw ~/.zen/tmp/world.js | tail -n 1) + echo "JSON UMAP WORLD READY /ipfs/${IAMAP}/world.js" +########################################################################################### + ### APPLY ON APP MODEL + SECLAT="${LAT::-1}" + SECLON="${LON::-1}" + SECTOR="_${SECLAT}_${SECLON}" + TODATESECTORNS=$(${MY_PATH}/../tools/keygen -t ipfs "${TODATE}${UPLANETNAME}${SECTOR}" "${TODATE}${UPLANETNAME}${SECTOR}") + + PHONEBOOTH="${G1PUB::30}" + cat ${MY_PATH}/../templates/UPlanetUmap/index.html \ + | sed -e "s~_ZONE_~UMAP ${UMAP}~g" \ + -e "s~QmYdWBx32dP14XcbXF7hhtDq7Uu6jFmDaRnuL5t7ARPYkW/index_fichiers/world.js~${IAMAP}/world.js~g" \ + -e "s~_ZONENS_~${TODATENS}~g" \ + -e "s~_IPFSNINJA_~${VDONINJA}~g" \ + -e "s~_HACKGIPFS_~${HACKGIPFS}~g" \ + -e "s~_UPZONE_~SECTOR ${SECTOR}~g" \ + -e "s~_UPZONENS_~${TODATESECTORNS}~g" \ + -e "s~_UPUPZONE_~REGION ${REGION}~g" \ + -e "s~_UPUPZONENS_~${TODATEREGIONNS}~g" \ + -e "s~_PHONEBOOTH_~${PHONEBOOTH}~g" \ + -e "s~_DATE_~$(date +%A-%d_%m_%Y)~g" \ + -e "s~_UPLANETLINK_~${EARTHCID}/map_render.html\?southWestLat=${LAT}\&southWestLon=${LON}\°=0.01~g" \ + -e "s~http://127.0.0.1:8080~~g" \ + > ~/.zen/tmp/${MOATS}/${UMAP}/_index.html + + ## Make it root App + #~ mv ~/.zen/tmp/${MOATS}/${UMAP}/_index.html \ + #~ ~/.zen/tmp/${MOATS}/${UMAP}/index.html + ################################## + +########################################################################################### +######################################################## +## CREATE .all.json for RSS in this UMAP + ${MY_PATH}/../tools/json_dir.all.sh ~/.zen/tmp/${MOATS}/${UMAP}/RSS + + ############################################################## + ############################ PUBLISHING UMAP + ############################################################## + UMAPROOT=$(ipfs add -rwHq ~/.zen/tmp/${MOATS}/${UMAP}/* | tail -n 1) + + ZCHAIN=$(cat ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_chain | rev | cut -d ':' -f 1 | rev 2>/dev/null) + ZMOATS=$(cat ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_moats 2>/dev/null) + [[ ${ZCHAIN} && ${ZMOATS} ]] \ + && cp ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_chain ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_chain.${ZMOATS} \ + && echo "UPDATING MOATS" + +###################################################### + ## ZEN CHAINING + # Send 1 Zen to UPlanet SECTORG1PUB Wallet containing REGION TW HASH + INTERCOM="UPLANET:${UMAP}:${TODATE}:/ipfs/${UMAPROOT}" + echo "> INTERCOM ${INTERCOM} (${ZEN} ZEN)" + if [[ ${ZEN} -gt 11 ]]; then + echo "---ZZZ-- UMAP 2 SECTOR ZEN CHAINING ---ZZZ------ZZZ----" + ${MY_PATH}/../tools/PAY4SURE.sh ~/.zen/tmp/${MOATS}/${UMAP}.dunikey "0.1" "${SECTORG1PUB}" "${INTERCOM}" + fi + + ## MICRO LEDGER CHAIN CHANGED or INIT ? + [[ ${ZCHAIN} != ${UMAPROOT} || ${ZCHAIN} == "" ]] \ + && echo "${MOATS}:${IPFSNODEID}:${UMAPROOT}" > ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_chain \ + && echo "${MOATS}" > ~/.zen/tmp/${MOATS}/${UMAP}/${G1PUB}:ZEN/_moats \ + && UMAPROOT=$(ipfs add -rwHq ~/.zen/tmp/${MOATS}/${UMAP}/* | tail -n 1) && echo "ROOT was ${ZCHAIN}" + + echo "PUBLISHING ${TODATE} UMAPROOT : ${myIPFS}/ipfs/${UMAPROOT}" + + ipfs name publish --key=${TODATE}${G1PUB} /ipfs/${UMAPROOT} + end=`date +%s` + echo "(UMAP) ${UMAP} ${TODATE} PUBLISH time was "`expr $end - $start` seconds. + + ipfs key rm "${TODATE}${G1PUB}" "${YESTERDATE}${G1PUB}" "${G1PUB}" ## REMOVE IPNS KEY + rm ~/.zen/tmp/${MOATS}/*.priv + rm ~/.zen/tmp/${MOATS}/${UMAP}.dunikey + +done + +###################################################### +### LEVEL 2 ########################################### +###################################################### ### SECTOR = 0.1° Planet Slice - ${MY_PATH}/SECTOR.refresh.sh "${unique_combined[@]}" +${MY_PATH}/SECTOR.refresh.sh "${unique_combined[@]}" +###################################################### +### LEVEL 3 ########################################### +###################################################### ### REGION = 1° Planet Slice - ${MY_PATH}/REGION.refresh.sh "${unique_combined[@]}" - +${MY_PATH}/REGION.refresh.sh "${unique_combined[@]}" +###################################################### +###################################################### +exit 0 +###################################################### diff --git a/RUNTIME/UPlanetKEYS_refresh.sh b/RUNTIME/UPlanetKEYS_refresh.sh new file mode 100755 index 00000000..d9dcdc6b --- /dev/null +++ b/RUNTIME/UPlanetKEYS_refresh.sh @@ -0,0 +1,75 @@ +#!/bin/bash +######################################################################## +# Version: 0.1 +# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) +######################################################################## +## EXPLORE SWARM MAPNS +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +. "$MY_PATH/../tools/my.sh" +## LOG into ~/.zen/tmp/_12345.log +exec 2>&1 >> ~/.zen/tmp/_12345.log + +echo "==========================" +echo "(◕‿◕ ) ${ME} (◕‿◕ ) " + +## LOCAL +LWKEYS=($(cat ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_*_*/_*.?_*.?/_*.??_*.??/_index.html 2>/dev/null | grep -o "url='/[^']*'"| sed "s/url='\(.*\)'/\1/" | awk -F"/" '{print $3}' | shuf )) +echo ${#LWKEYS[@]} " local UMAPS" +LSKEYS=($(cat ~/.zen/tmp/${IPFSNODEID}/UPLANET/SECTORS/_*_*/_*.?_*.?/_index.html 2>/dev/null | grep -o "url='/[^']*'"| sed "s/url='\(.*\)'/\1/" | awk -F"/" '{print $3}' | shuf )) +echo ${#LSKEYS[@]} " local SECTORS" +LRKEYS=($(cat ~/.zen/tmp/${IPFSNODEID}/UPLANET/REGIONS/_*_*/_index.html 2>/dev/null | grep -o "url='/[^']*'"| sed "s/url='\(.*\)'/\1/" | awk -F"/" '{print $3}' | shuf )) +echo ${#LRKEYS[@]} " local REGIONS" + +## SWARM +WKEYS=($(cat ~/.zen/tmp/swarm/12D*/UPLANET/__/_*_*/_*.?_*.?/_*.??_*.??/_index.html 2>/dev/null | grep -o "url='/[^']*'"| sed "s/url='\(.*\)'/\1/" | awk -F"/" '{print $3}' | shuf )) +echo ${#WKEYS[@]} " swarm UMAPS" +SKEYS=($(cat ~/.zen/tmp/swarm/12D*/UPLANET/SECTORS/_*_*/_*.?_*.?/_index.html 2>/dev/null | grep -o "url='/[^']*'"| sed "s/url='\(.*\)'/\1/" | awk -F"/" '{print $3}' | shuf )) +echo ${#SKEYS[@]} " swarm SECTORS" +RKEYS=($(cat ~/.zen/tmp/swarm/12D*/UPLANET/REGIONS/_*_*/_index.html 2>/dev/null | grep -o "url='/[^']*'"| sed "s/url='\(.*\)'/\1/" | awk -F"/" '{print $3}' | shuf )) +echo ${#RKEYS[@]} " swarm REGIONS" + +#~ ## CHECK IF ALREADY MErunning +countMErunning=$(ps auxf --sort=+utime | grep -w $ME | grep -v -E 'color=auto|grep' | wc -l) +[[ $countMErunning -gt 2 ]] && echo "$ME already running $countMErunning time" && exit 0 + +echo "(◕‿◕ ) ${ME} starting UPlanet Terraformation _______________________________" + +## COMBINE & SHUFFLE KEYS +combined=("${LWKEYS[@]}" "${LSKEYS[@]}" "${LRKEYS[@]}" "${WKEYS[@]}" "${SKEYS[@]}" "${RKEYS[@]}") +UKEYS=($(echo "${combined[@]}" | tr ' ' '\n' | sort -u)) +echo ${#UKEYS[@]} " JOBS..." + +## STORAGE FOR IPFS GET UplanetKeyS +mkdir -p ~/.zen/tmp/flashmem + +## Remove flashmem/UplanetKey older than 3 hours +find ~/.zen/tmp/flashmem -mmin +180 -exec rm -rf {} + + +floop=0 +medo=0 + +for key in ${UKEYS[@]}; do + + [[ -d ~/.zen/tmp/flashmem/$key ]] \ + && echo "$key already copied" && medo=$((medo +1)) && continue + + floop=$((floop +1)) + mkdir -p ~/.zen/tmp/flashmem/$key + + echo "ipfs --timeout 180s get -o ~/.zen/tmp/flashmem/$key /ipns/$key" + ipfs --timeout 180s get -o ~/.zen/tmp/flashmem/$key /ipns/$key + [[ $? == 0 ]] \ + && medo=$((medo +1)) && floop=$((floop -1)) \ + || rm -Rf ~/.zen/tmp/flashmem/$key # GOT IT or NOT ? + + [ $floop -gt 33 ] && break + +done +echo "==========================" +echo "(◕‿◕ ) ${ME} :: $medo SUCCESS missing $floop KEYS from ${#UKEYS[@]} JOBS" +echo "==========================" + +exit 0 diff --git a/RUNTIME/VISA.new.sh b/RUNTIME/VISA.new.sh index 23e40bb6..846766a1 100755 --- a/RUNTIME/VISA.new.sh +++ b/RUNTIME/VISA.new.sh @@ -33,9 +33,9 @@ LIBRA=$(head -n 2 ${MY_PATH}/../A_boostrap_nodes.txt | tail -n 1 | cut -d ' ' -f ################################################################################ ## LIST TW MODELS ################################################################################ -TWMODEL="/ipfs/bafybeie6sx76balvpeehvbh5du7oc5fhjuwydryympeh3qnm5s3b2jrvwe" +TWMODEL="/ipfs/bafybeictdd2ue6jediatiudq3shtlmamrahyje46jmcrgfu5jktr3hgtam" # ipfs cat $TWMODEL > templates/twdefault.html -MINIMAL="/ipfs/bafybeicpfrsx44lkib4352eulvohmgdpaww3sau3qtbj7fzj6qw7xsokhy" +MINIMAL="/ipfs/bafybeiat4wjnl2y4vh273vqodk4d7bwgwpaidfrju2umqwq7tks5ixkduy" # ipfs cat $MINIMAL > templates/twuplanet.html ################################################################################ @@ -80,6 +80,7 @@ if [[ $SALT != "" && PEPPER != "" ]]; then rm -f ~/.zen/tmp/${MOATS}/Astroport.json tiddlywiki --load ~/.zen/tmp/${MOATS}/TW/index.html --output ~/.zen/tmp/${MOATS} --render '.' 'Astroport.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'Astroport' ASTROPORT=$(cat ~/.zen/tmp/${MOATS}/Astroport.json | jq -r .[].astroport) + HPass=$(cat ~/.zen/tmp/${MOATS}/Astroport.json | jq -r .[].HPASS) echo "ASTROPORT=${ASTROPORT}" tiddlywiki --load ~/.zen/tmp/${MOATS}/TW/index.html --output ~/.zen/tmp/${MOATS} --render '.' 'AstroID.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'AstroID' AstroID=$(cat ~/.zen/tmp/${MOATS}/AstroID.json | jq -r .[]._canonical_uri) @@ -256,8 +257,8 @@ DISCO="/?salt=${USALT}&pepper=${UPEPPER}" ## RESET WISHES TO DEPLOY DERIVATED KEYS ON HOST AGAIN ( DONE IN PLAYER_REFRESH ) #~ sed -i "s~G1Voeu~voeu~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html - ## Fill ♥BOX - CopierYoutube Tiddler - sed -i "s~_URL_~${URL}~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html + ## Fill LNK - Tiddler - escape \& + sed -i "s~_URL_~$(echo "${URL}" | sed 's/[&/]/\\&/g')~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html # INSERT PLAYER DATA sed -i "s~_PLAYER_~${PLAYER}~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html @@ -312,6 +313,11 @@ DISCO="/?salt=${USALT}&pepper=${UPEPPER}" ## Change myIP #~ sed -i "s~127.0.0.1~$myIP~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html # 8080 & 5001 BEING THE RECORDING GATEWAY (WAN or ipfs.localhost) + ## TODATE ######################################### + TODATESECTORNS=$(${MY_PATH}/../tools/keygen -t ipfs "${TODATE}${UPLANETNAME}${SECTOR}" "${TODATE}${UPLANETNAME}${SECTOR}") + DEMAINSECTORNS=$(${MY_PATH}/../tools/keygen -t ipfs "${DEMAINDATE}${UPLANETNAME}${SECTOR}" "${DEMAINDATE}${UPLANETNAME}${SECTOR}") + + ########### ## GET OLD16 tiddlywiki --load ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html --output ~/.zen/tmp/${MOATS} --render '.' 'MIZ.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'MadeInZion' @@ -323,7 +329,7 @@ DISCO="/?salt=${USALT}&pepper=${UPEPPER}" MACHINEPUB=$(cat $HOME/.zen/game/myswarm_secret.dunikey | grep pub | cut -d ' ' -f 2) #~ echo "# CRYPTO ENCODING _SECRET_ " ${MY_PATH}/../tools/natools.py encrypt -p ${MACHINEPUB} -i $HOME/.zen/game/players/${PLAYER}/secret.dunikey -o $HOME/.zen/tmp/${MOATS}/secret.dunikey.$G1PUB.enc - ENCODING=$(cat ~/.zen/tmp/${MOATS}/secret.dunikey.$G1PUB.enc | base16) + ENCODING=$(cat ~/.zen/tmp/${MOATS}/bafybeiewwxkmiojbskcqhbj2gbkde3czkeqftn6fgvwoa7ez5n5whido3qsecret.dunikey.$G1PUB.enc | base16) sed -i "s~${OLD16}~${ENCODING}~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html # IN CASE ORIGINAL STATION NEEDS ACCESS # COULD BE REMOVED ? ########### @@ -515,72 +521,104 @@ LP=$(ls /dev/usb/lp* 2>/dev/null) ## NO. GCHANGE+ IS THE MAIN INTERFACE, astrXbian manage echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" echo "$(${MY_PATH}/../tools/face.sh cool)" -echo " 'Astronaute' $PSEUDO" +echo " 'Astronaut' $PSEUDO" echo echo "* ZenCard : Public Key and Wallet ${NID}/ipns/${ASTRONAUTENS}#ZenCard" echo " " -echo "* AstroID : AstroID with PASS : $PASS" +echo "* AstroID : with PASS : $PASS" echo "${NID}/ipns/${ASTRONAUTENS}#AstroID" echo echo "* UMap : registration at ${LAT}, ${LON} ${myIPFS}${URL}" echo echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" -#~ echo "BIENVENUE" -#~ echo "https://monnaie-libre.fr (ğ1) : $G1PUB"; # sleep 1 -#~ echo " -#~ Vos Secrets : - #~ $SALT - #~ $PEPPER - -#~ * WALLET : https://cesium.app -#~ * MARKET : https://gchange.fr - -#~ U Planet : ${myUPLANET} -#~ Astroport.ONE ★ PKI ★ Ğ1/Ŋ1 ★ DAO ★ Libre ★"; # sleep 1 -#~ echo "$(${MY_PATH}/../tools/face.sh friendly) ★ GCHANGE LIBRE MARKET ★" -#~ echo "Use $SALT and $PEPPER to register on https://cesium.app and https://gchange.fr to ★ friends" echo "" -echo $PSEUDO > ~/.zen/tmp/PSEUDO ## Return data to command.sh # KEEP IT -echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" -echo "export ASTROTW=/ipns/$ASTRONAUTENS ASTROG1=$G1PUB ASTROMAIL=$PLAYER ASTROFEED=$FEEDNS PASS=$PASS" +#####################################################################" +#####################################################################" +#####################################################################" ### SEND AstroID and ZenCard to EMAIL ( -echo "

UPlanet : ZenCard

-This is your ZenCard : your public key (your flag)" > ~/.zen/tmp/${MOATS}/ZenCard.txt -echo "
ZenCard
-
it contains you Ẑen and TW address -
" >> ~/.zen/tmp/${MOATS}/ZenCard.txt +echo " + + +

UPlanet : ZenCard + TW

" > ~/.zen/tmp/${MOATS}/ZenCard.html +asciiart="${MY_PATH}/../images/astroport.art" +while IFS= read -r line +do + echo "$line" | sed "s~ ~\ ~g" >> ~/.zen/tmp/${MOATS}/ZenCard.html + echo "
" >> ~/.zen/tmp/${MOATS}/ZenCard.html +done <"$asciiart" -$MY_PATH/../tools/mailjet.sh "${PLAYER}" ~/.zen/tmp/${MOATS}/ZenCard.txt "ZenCard" +echo "

PRINT & SHARE ZenCard

+
+" >> ~/.zen/tmp/${MOATS}/ZenCard.html + +$MY_PATH/../tools/mailjet.sh "${PLAYER}" ~/.zen/tmp/${MOATS}/ZenCard.html "ZenCard (${PLAYER}) " #~ mpack -a -s "✅ UPlanet : ZenCard" -d ~/.zen/tmp/${MOATS}/intro.txt \ #~ ~/.zen/tmp/${MOATS}/pseudo.png ${PLAYER} -echo " -

UPlanet : AstroID ($PASS)

-This is your AstroID : your private key (your ring)" > ~/.zen/tmp/${MOATS}/AstroID.txt -echo " -
You own one of the 'Rings of the Lords' on Uplanet 0.1° SECTOR : ${SECTOR} -
it is forged from SECRET1=$SALT SECRET2=$PEPPER then secured by PIN : $PASS -
-
Your ASTROPORT STATION is NODE#${IPFSNODEID} -" >> ~/.zen/tmp/${MOATS}/AstroID.txt -echo "
AstroID
-
-
Print it and delete from TW to keep it secure. -" >> ~/.zen/tmp/${MOATS}/AstroID.txt +#####################################################################" +#####################################################################" +#####################################################################" -$MY_PATH/../tools/mailjet.sh "${PLAYER}" ~/.zen/tmp/${MOATS}/AstroID.txt "AstroID" +echo " + + +

UPlanet : AstroID ($PASS)

" > ~/.zen/tmp/${MOATS}/AstroID.html +asciiart="${MY_PATH}/../images/logoastro.art" +while IFS= read -r line +do + echo "$line" | sed "s~ ~\ ~g" >> ~/.zen/tmp/${MOATS}/AstroID.html + echo "
" >> ~/.zen/tmp/${MOATS}/AstroID.html +done <"$asciiart" + +echo " +

<--> 0.1 SECTOR : ${SECTOR} <-->

+
PRINT & KEEP SAFE AstroID
+
SECRET1=$SALT
SECRET2=$PEPPER
($PASS)
+

ASTROPORT : /ipns/${IPFSNODEID}

+Uplanet +" >> ~/.zen/tmp/${MOATS}/AstroID.html + +$MY_PATH/../tools/mailjet.sh "${PLAYER}" ~/.zen/tmp/${MOATS}/AstroID.html "AstroID (${PLAYER}) " #~ mpack -a -s "✅ UPlanet : AstroID ($PASS)" -d ~/.zen/tmp/${MOATS}/intro.txt \ #~ $HOME/.zen/game/players/${PLAYER}/AstroID.png ${PLAYER} +#####################################################################" +#####################################################################" +#####################################################################" + ## CLEANING CACHE rm -Rf ~/.zen/tmp/${MOATS} ) & +## CHECK .current +[[ ! -d $(readlink ~/.zen/game/players/.current) ]] \ +&& rm ~/.zen/game/players/.current 2>/dev/null \ +&& ln -s ~/.zen/game/players/${PLAYER} ~/.zen/game/players/.current + + +echo $PSEUDO > ~/.zen/tmp/PSEUDO ## Return data to command.sh # KEEP IT +echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" +################################################ LAST LINE REPORT VALUES TO CALLING SCRIPT | tail -n 1 +echo "export ASTROTW=/ipns/$ASTRONAUTENS ASTROG1=$G1PUB ASTROMAIL=$PLAYER ASTROFEED=$FEEDNS PASS=$PASS" exit 0 diff --git a/RUNTIME/VOEUX.refresh.sh b/RUNTIME/VOEUX.refresh.sh index 6c9e2b40..7ef9db3a 100755 --- a/RUNTIME/VOEUX.refresh.sh +++ b/RUNTIME/VOEUX.refresh.sh @@ -15,6 +15,8 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized # ~/.zen/game/players/${PLAYER}/G1${WISHNAME}/${G1PUB}/* # _PLAYER.json +# change SWARM memory +### # ~/.zen/tmp/${IPFSNODEID}/WISH/${WISHNAME}/${PLAYER}/* PLAYER="$1" ## IPNS KEY NAME - G1PUB - PLAYER ... [[ ! ${PLAYER} ]] && echo "Please provide PLAYER publish key" && exit 1 @@ -37,9 +39,6 @@ INDEX="$3" mkdir -p ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu -## PROTOCOL EVOLUTION RUN & REMOVE -rm -Rf ~/.zen/tmp/${IPFSNODEID}/${PLAYER} - ############################### ####### NEED G1 / ZEN TO RUN [[ ${COINS} == "null" || ${COINS} == "" ]] \ @@ -55,9 +54,10 @@ echo "Exporting ${PLAYER} TW [tag[G1Voeu]]" rm -f ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${PLAYER}.g1voeu.json tiddlywiki --load ${INDEX} --output ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu --render '.' "${PLAYER}.g1voeu.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[G1Voeu]]' -[[ ! -s ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${PLAYER}.g1voeu.json ]] && echo "AUCUN G1VOEU - EXIT -" && exit 0 +[[ ! -s ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${PLAYER}.g1voeu.json ]] \ + && echo "AUCUN G1VOEU - EXIT -" && exit 0 -cat ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${PLAYER}.g1voeu.json | jq -r '.[].wish' > ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt +cat ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${PLAYER}.g1voeu.json | jq -r 'map(select(.wish != null)) | .[].wish' > ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt wishnumbers=$(cat ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt | wc -l) echo "${wishnumbers} VOEUX : ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${PLAYER}.g1wishes.txt " @@ -165,7 +165,27 @@ do && rm ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${WISHNAME}/_${APLAYER}.tiddlers.rss.json \ && continue +##################################################### echo "## TIDDLERS FOUND ;) MIAM >>> (◕‿‿◕) <<<" + ############################## + ## WRITE FRIEND SAME WISH TIDDLERS IN PLAYER TW ######## + ############################## + ## SIGN Tiddlers + cat ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${WISHNAME}/_${APLAYER}.tiddlers.rss.json \ + | sed "s~${PLAYER}~~g" \ + | sed "s~${APLAYER}~${APLAYER} ${PLAYER}~g" \ + > ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${WISHNAME}/_${APLAYER}.tiddlers.signed.json + + ## ADD TO TW + tiddlywiki --load ${INDEX} \ + --import ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/${WISHNAME}/_${APLAYER}.tiddlers.signed.json "application/json" \ + --output ~/.zen/tmp/${MOATS} --render "$:/core/save/all" "newindex.html" "text/plain" + ## CHECK IT IS OK + [[ -s ~/.zen/tmp/${MOATS}/newindex.html ]] \ + && cp ~/.zen/tmp/${MOATS}/newindex.html ${INDEX} \ + && rm ~/.zen/tmp/${MOATS}/newindex.html + + ############################## echo ">>> G1FRIEND § $myIPFS${IPNS_VOEUNS}/_${APLAYER}.tiddlers.rss.json ${WISHNAME}" # Extract Origin G1Voeu Tiddler @@ -275,11 +295,12 @@ if [[ ${wishnumbers} -gt 0 ]]; then --output ~/.zen/tmp/${MOATS} \ --render '.' 'GPS.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'GPS' ## GPS Tiddler TWMAPNS=$(cat ~/.zen/tmp/${MOATS}/GPS.json | jq -r .[].umap) + [[ $TWMAPNS == "null" || $TWMAPNS == "" ]] && TWMAPNS="/ipns/k51qzi5uqu5djg1gqzujq5p60w25mi235gdg0lgkk5qztkfrpi5c22oolrriyu" LAT=$(cat ~/.zen/tmp/${MOATS}/GPS.json | jq -r .[].lat) - [[ ${LAT} == "null" ]] && LAT="0.00" + [[ ${LAT} == "null" || ${LAT} == "" ]] && LAT="0.00" LAT=$(makecoord $LAT) LON=$(cat ~/.zen/tmp/${MOATS}/GPS.json | jq -r .[].lon) - [[ ${LON} == "null" ]] && LON="0.00" + [[ ${LON} == "null" || ${LON} == "" ]] && LON="0.00" LON=$(makecoord $LON) echo "LAT=${LAT}; LON=${LON}; UMAPNS=${TWMAPNS}" rm ~/.zen/tmp/${MOATS}/GPS.json @@ -296,7 +317,7 @@ if [[ ${wishnumbers} -gt 0 ]]; then to ${SECTOR} WALLET ${SECTORG1PUB}" echo "************************************************************" MYWISHFLUX=$(ipfs add -qHwr ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/* | tail -n 1) # ADDING JSONS TO IPFS - ${MY_PATH}/../tools/PAY4SURE.sh "${HOME}/.zen/game/players/${PLAYER}/secret.dunikey" "${G1AMOUNT}" "${SECTORG1PUB}" "ipfs://${MYWISHFLUX}" + ${MY_PATH}/../tools/PAY4SURE.sh "${HOME}/.zen/game/players/${PLAYER}/secret.dunikey" "${G1AMOUNT}" "${SECTORG1PUB}" "UPLANET:TWISH:$TODATE:/ipfs/${MYWISHFLUX}" fi ################################################ ################################################ GRATITUDE SENT TO SECTOR diff --git a/RUNTIME/ZEN.SECTOR.memory.sh b/RUNTIME/ZEN.SECTOR.memory.sh new file mode 100755 index 00000000..092a5b3f --- /dev/null +++ b/RUNTIME/ZEN.SECTOR.memory.sh @@ -0,0 +1,96 @@ +################################################################################ +# Author: Fred (support@qo-op.com) +# Version: 0.1 +# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) +################################################################################ +#~ ZEN.SECTOR.memory.sh +#~ Search for last "UPLANET:$1:..." in UPLANETG1PUB wallet history +#~ INTERCOM="UPLANET:${SECTOR}:${TODATE}:/ipfs/${IPFSPOP}" TX COMMENT are made during SECTOR.refresh.sh +#~ ~/.zen/tmp/${MOATS}/${SECTOR} <=> "/ipfs/$ipfs_pop" +################################################################################ +################################################################################ +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +. "${MY_PATH}/../tools/my.sh" +################################################################################ + +SECTOR="$1" +[[ $SECTOR == "" ]] && echo "MISSING SECTOR ADRESS" && exit 1 +MOATS="$2" + +## CHECK FOR BAD PARAM +[[ ! -d ~/.zen/tmp/${MOATS-empty}/${SECTOR-empty}/ ]] \ + && echo "BAD ~/.zen/tmp/${MOATS}/${SECTOR}" \ + && exit 1 + +## STARTING +start=`date +%s` + +## CORRESPONDING REGION UKEY +LAT=$(echo ${SECTOR} | cut -d '_' -f 2) +LON=$(echo ${SECTOR} | cut -d '_' -f 3) +REGLAT=$(echo ${LAT} | cut -d '.' -f 1) +REGLON=$(echo ${LON} | cut -d '.' -f 1) + +REGION="_${REGLAT}_${REGLON}" +${MY_PATH}/../tools/keygen -t duniter -o ~/.zen/tmp/${MOATS}/${REGION}.priv "${UPLANETNAME}${REGION}" "${UPLANETNAME}${REGION}" +REGIONG1PUB=$(cat ~/.zen/tmp/${MOATS}/${REGION}.priv | grep "pub:" | cut -d ' ' -f 2) +[[ ! ${REGIONG1PUB} ]] && echo "ERROR generating REGION WALLET" && exit 1 +COINS=$($MY_PATH/../tools/COINScheck.sh ${REGIONG1PUB} | tail -n 1) +echo "REGION : ${REGION} (${COINS} G1) WALLET : ${REGIONG1PUB}" + +## RETRIEVE FROM REGION UKEY +${MY_PATH}/timeout.sh -t 20 $MY_PATH/jaklis/jaklis.py history -n 300 -p ${REGIONG1PUB} -j \ + > ~/.zen/tmp/${MOATS}/${REGION}.g1history.json + +## SCAN FOR UPLANET:${SECTOR} in TX +if [[ -s ~/.zen/tmp/${MOATS}/${REGION}.g1history.json ]]; then + + intercom=$(jq -r '.[] | select(.comment | test("UPLANET:'"${SECTOR}"'")) | .comment' ~/.zen/tmp/${MOATS}/${REGION}.g1history.json) + ipfs_pop=$(echo "$intercom" | grep -oP 'UPLANET:'"${SECTOR}"':/ipfs/\K[^"]+') + todate=$(echo "$intercom" | grep -oP 'UPLANET:'"${SECTOR}"':\K[^:]*') + echo "SYNC ~/.zen/tmp/${MOATS}/${SECTOR} <=> /ipfs/$ipfs_pop" + + ## TODO: SECURITY PATCH : check payment emitter is SECTORG1PUB + if [[ $ipfs_pop ]]; then + echo "from $todate memory slot" + ipfs --timeout 90s get -o ~/.zen/tmp/${MOATS}/${SECTOR} /ipfs/$ipfs_pop + else + echo "WARNING cannot remember... scan for more TX ??!" + fi + +else + echo "FATAL ERROR cannot access to REGIONG1PUB history" + exit 1 +fi + +end=`date +%s` +echo "(${SECTOR}.memory) ${todate} get time : "`expr $end - $start` seconds. + +#~ ## EXTRACT WORLDG1PUB HISTORY +#~ ${MY_PATH}/timeout.sh -t 20 $MY_PATH/jaklis/jaklis.py history -n 300 -p ${WORLDG1PUB} -j \ + #~ > ~/.zen/tmp/${MOATS}/${WORLDG1PUB}.g1history.json + +#~ ## SCAN FOR UPLANET:${SECTOR} in TX +#~ if [[ -s ~/.zen/tmp/${MOATS}/${WORLDG1PUB}.g1history.json ]]; then + + #~ intercom=$(jq -r '.[] | select(.comment | test("UPLANET:'"${SECTOR}"'")) | .comment' ~/.zen/tmp/${MOATS}/${WORLDG1PUB}.g1history.json) + #~ ipfs_pop=$(echo "$intercom" | grep -oP 'UPLANET:'"${SECTOR}"':/ipfs/\K[^"]+') + #~ todate=$(echo "$intercom" | grep -oP 'UPLANET:'"${SECTOR}"':\K[^:]*') + #~ echo "SYNC ~/.zen/tmp/${MOATS}/${SECTOR} <=> /ipfs/$ipfs_pop" + + #~ if [[ $ipfs_pop ]]; then + #~ echo "from $todate memory slot" + #~ ipfs --timeout 90s get -o ~/.zen/tmp/${MOATS}/${SECTOR} /ipfs/$ipfs_pop + #~ end=`date +%s` + #~ echo "(${SECTOR}) ${todate} get time : "`expr $end - $start` seconds. + #~ else + #~ echo "WARNING cannot remember... scan for more TX ??!" + #~ fi + +#~ else + #~ echo "FATAL ERROR cannot access to WORLDG1PUB history" + #~ exit 1 +#~ fi + +exit 0 diff --git a/RUNTIME/ZEN.UMAP.memory.sh b/RUNTIME/ZEN.UMAP.memory.sh new file mode 100755 index 00000000..569940cf --- /dev/null +++ b/RUNTIME/ZEN.UMAP.memory.sh @@ -0,0 +1,73 @@ +################################################################################ +# Author: Fred (support@qo-op.com) +# Version: 0.1 +# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) +################################################################################ +#~ ZEN.UMAP.memory.sh +#~ Search for last "UPLANET:$1:..." in UPLANETG1PUB wallet history +#~ INTERCOM="UPLANET:${UMAP}:${TODATE}:/ipfs/${IPFSPOP}" TX COMMENT are made during UPLANET.refresh.sh +#~ ~/.zen/tmp/${MOATS}/${UMAP} <=> "/ipfs/$ipfs_pop" +################################################################################ +################################################################################ +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +. "${MY_PATH}/../tools/my.sh" +################################################################################ + +UMAP="$1" +[[ $UMAP == "" ]] && echo "MISSING UMAP ADRESS" && exit 1 +MOATS="$2" + +## CHECK FOR BAD PARAM +[[ ! -d ~/.zen/tmp/${MOATS-empty}/${UMAP-empty}/ ]] \ + && echo "BAD ~/.zen/tmp/${MOATS}/${UMAP}" \ + && exit 1 + +## STARTING +start=`date +%s` + +## CORRESPONDING SECTOR UKEY +LAT=$(echo ${UMAP} | cut -d '_' -f 2) +LON=$(echo ${UMAP} | cut -d '_' -f 3) + +## SECTOR COORD +SECLAT="${LAT::-1}" +SECLON="${LON::-1}" + +SECTOR="_${SECLAT}_${SECLON}" + +${MY_PATH}/../tools/keygen -t duniter -o ~/.zen/tmp/${MOATS}/${SECTOR}.priv "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}" +SECTORG1PUB=$(cat ~/.zen/tmp/${MOATS}/${SECTOR}.priv | grep "pub:" | cut -d ' ' -f 2) +[[ ! ${SECTORG1PUB} ]] && echo "ERROR generating SECTOR WALLET" && exit 1 +COINS=$($MY_PATH/../tools/COINScheck.sh ${SECTORG1PUB} | tail -n 1) +echo "SECTOR : ${SECTOR} (${COINS} G1) WALLET : ${SECTORG1PUB}" + +## RETRIEVE FROM SECTOR UKEY +${MY_PATH}/timeout.sh -t 20 $MY_PATH/jaklis/jaklis.py history -n 300 -p ${SECTORG1PUB} -j \ + > ~/.zen/tmp/${MOATS}/${SECTOR}.g1history.json + +## SCAN FOR UPLANET:${UMAP} in TX +if [[ -s ~/.zen/tmp/${MOATS}/${SECTOR}.g1history.json ]]; then + + intercom=$(jq -r '.[] | select(.comment | test("UPLANET:'"${UMAP}"'")) | .comment' ~/.zen/tmp/${MOATS}/${SECTOR}.g1history.json) + ipfs_pop=$(echo "$intercom" | grep -oP 'UPLANET:'"${UMAP}"':/ipfs/\K[^"]+') + todate=$(echo "$intercom" | grep -oP 'UPLANET:'"${UMAP}"':\K[^:]*') + echo "SYNC ~/.zen/tmp/${MOATS}/${UMAP} <=> /ipfs/$ipfs_pop" + + ## TODO: SECURITY PATCH : check payment emitter is UMAPG1PUB + if [[ $ipfs_pop ]]; then + echo "from $todate memory slot" + ipfs --timeout 90s get -o ~/.zen/tmp/${MOATS}/${UMAP} /ipfs/$ipfs_pop + else + echo "WARNING cannot remember... scan for more TX ??!" + fi + +else + echo "FATAL ERROR cannot access to SECTORG1PUB history" + exit 1 +fi + +end=`date +%s` +echo "(${UMAP}.memory) ${todate} get time : "`expr $end - $start` seconds. + +exit 0 diff --git a/WWW/FAVICON/Readme.md b/WWW/FAVICON/Readme.md new file mode 100644 index 00000000..f9547177 --- /dev/null +++ b/WWW/FAVICON/Readme.md @@ -0,0 +1,3 @@ +# Images & icons + +Add favicon from the web2.0 you wish to copy to WEB3 diff --git a/WWW/astro.favicon.ico b/WWW/FAVICON/astro.favicon.ico similarity index 100% rename from WWW/astro.favicon.ico rename to WWW/FAVICON/astro.favicon.ico diff --git a/WWW/favicon.astro.ico b/WWW/FAVICON/favicon.astro.ico similarity index 100% rename from WWW/favicon.astro.ico rename to WWW/FAVICON/favicon.astro.ico diff --git a/WWW/favicon.astroport.ico b/WWW/FAVICON/favicon.astroport.ico similarity index 100% rename from WWW/favicon.astroport.ico rename to WWW/FAVICON/favicon.astroport.ico diff --git a/WWW/FAVICON/favicon.carte.monnaie-libre.png b/WWW/FAVICON/favicon.carte.monnaie-libre.png new file mode 100644 index 00000000..d3375a90 Binary files /dev/null and b/WWW/FAVICON/favicon.carte.monnaie-libre.png differ diff --git a/WWW/favicon.cesium.png b/WWW/FAVICON/favicon.cesium.png similarity index 100% rename from WWW/favicon.cesium.png rename to WWW/FAVICON/favicon.cesium.png diff --git a/WWW/favicon.coeur.ico b/WWW/FAVICON/favicon.coeur.ico similarity index 100% rename from WWW/favicon.coeur.ico rename to WWW/FAVICON/favicon.coeur.ico diff --git a/WWW/favicon.gchange.ico b/WWW/FAVICON/favicon.gchange.ico similarity index 100% rename from WWW/favicon.gchange.ico rename to WWW/FAVICON/favicon.gchange.ico diff --git a/WWW/FAVICON/favicon.groceliande.png b/WWW/FAVICON/favicon.groceliande.png new file mode 100644 index 00000000..0e47a3fd Binary files /dev/null and b/WWW/FAVICON/favicon.groceliande.png differ diff --git a/WWW/favicon.heart.ico b/WWW/FAVICON/favicon.heart.ico similarity index 100% rename from WWW/favicon.heart.ico rename to WWW/FAVICON/favicon.heart.ico diff --git a/WWW/favicon.ico b/WWW/FAVICON/favicon.ico similarity index 100% rename from WWW/favicon.ico rename to WWW/FAVICON/favicon.ico diff --git a/WWW/favicon.minetest.ico b/WWW/FAVICON/favicon.minetest.ico similarity index 100% rename from WWW/favicon.minetest.ico rename to WWW/FAVICON/favicon.minetest.ico diff --git a/WWW/favicon.movingline.ico b/WWW/FAVICON/favicon.movingline.ico similarity index 100% rename from WWW/favicon.movingline.ico rename to WWW/FAVICON/favicon.movingline.ico diff --git a/WWW/FAVICON/favicon.naturaltime.png b/WWW/FAVICON/favicon.naturaltime.png new file mode 100644 index 00000000..91907e33 Binary files /dev/null and b/WWW/FAVICON/favicon.naturaltime.png differ diff --git a/WWW/favicon.network.ico b/WWW/FAVICON/favicon.network.ico similarity index 100% rename from WWW/favicon.network.ico rename to WWW/FAVICON/favicon.network.ico diff --git a/WWW/favicon.p4n.ico b/WWW/FAVICON/favicon.p4n.ico similarity index 100% rename from WWW/favicon.p4n.ico rename to WWW/FAVICON/favicon.p4n.ico diff --git a/WWW/favicon.processing.ico b/WWW/FAVICON/favicon.processing.ico similarity index 100% rename from WWW/favicon.processing.ico rename to WWW/FAVICON/favicon.processing.ico diff --git a/WWW/favicon.pyramid.ico b/WWW/FAVICON/favicon.pyramid.ico similarity index 100% rename from WWW/favicon.pyramid.ico rename to WWW/FAVICON/favicon.pyramid.ico diff --git a/WWW/favicon.radar.ico b/WWW/FAVICON/favicon.radar.ico similarity index 100% rename from WWW/favicon.radar.ico rename to WWW/FAVICON/favicon.radar.ico diff --git a/WWW/favicon.rainbow.ico b/WWW/FAVICON/favicon.rainbow.ico similarity index 100% rename from WWW/favicon.rainbow.ico rename to WWW/FAVICON/favicon.rainbow.ico diff --git a/WWW/favicon.ring.ico b/WWW/FAVICON/favicon.ring.ico similarity index 100% rename from WWW/favicon.ring.ico rename to WWW/FAVICON/favicon.ring.ico diff --git a/WWW/favicon.rocket.ico b/WWW/FAVICON/favicon.rocket.ico similarity index 100% rename from WWW/favicon.rocket.ico rename to WWW/FAVICON/favicon.rocket.ico diff --git a/WWW/favicon.spiral.ico b/WWW/FAVICON/favicon.spiral.ico similarity index 100% rename from WWW/favicon.spiral.ico rename to WWW/FAVICON/favicon.spiral.ico diff --git a/WWW/favicon.stars.ico b/WWW/FAVICON/favicon.stars.ico similarity index 100% rename from WWW/favicon.stars.ico rename to WWW/FAVICON/favicon.stars.ico diff --git a/WWW/favicon.transiscope.ico b/WWW/FAVICON/favicon.transiscope.ico similarity index 100% rename from WWW/favicon.transiscope.ico rename to WWW/FAVICON/favicon.transiscope.ico diff --git a/WWW/favicon.tv.ico b/WWW/FAVICON/favicon.tv.ico similarity index 100% rename from WWW/favicon.tv.ico rename to WWW/FAVICON/favicon.tv.ico diff --git a/WWW/favicon.tw.png b/WWW/FAVICON/favicon.tw.png similarity index 100% rename from WWW/favicon.tw.png rename to WWW/FAVICON/favicon.tw.png diff --git a/WWW/favicon.vdo.ninja.png b/WWW/FAVICON/favicon.vdo.ninja.png similarity index 100% rename from WWW/favicon.vdo.ninja.png rename to WWW/FAVICON/favicon.vdo.ninja.png diff --git a/WWW/favicon.zen.body.mind.spirit.ico b/WWW/FAVICON/favicon.zen.body.mind.spirit.ico similarity index 100% rename from WWW/favicon.zen.body.mind.spirit.ico rename to WWW/FAVICON/favicon.zen.body.mind.spirit.ico diff --git a/WWW/favicon.zen.kanji.ico b/WWW/FAVICON/favicon.zen.kanji.ico similarity index 100% rename from WWW/favicon.zen.kanji.ico rename to WWW/FAVICON/favicon.zen.kanji.ico diff --git a/WWW/favicon.zen.longevity.ico b/WWW/FAVICON/favicon.zen.longevity.ico similarity index 100% rename from WWW/favicon.zen.longevity.ico rename to WWW/FAVICON/favicon.zen.longevity.ico diff --git a/WWW/favicon.zen.triangle.ico b/WWW/FAVICON/favicon.zen.triangle.ico similarity index 100% rename from WWW/favicon.zen.triangle.ico rename to WWW/FAVICON/favicon.zen.triangle.ico diff --git a/WWW/favicon_yy.ico b/WWW/FAVICON/favicon_yy.ico similarity index 100% rename from WWW/favicon_yy.ico rename to WWW/FAVICON/favicon_yy.ico diff --git a/WWW/logo-astroport.png b/WWW/FAVICON/logo-astroport.png similarity index 100% rename from WWW/logo-astroport.png rename to WWW/FAVICON/logo-astroport.png diff --git a/WWW/Readme.md b/WWW/Readme.md new file mode 100644 index 00000000..02e6463a --- /dev/null +++ b/WWW/Readme.md @@ -0,0 +1,13 @@ +# WWW + + +This directory contains "ASTROBOT" programs templates ++ some icons and favicons for web scraping services included in UMAP during ```/RUNTIME/UPLANET.refresh.sh``` + +* example: +```/ASTROBOT/G1CopierYoutube.sh``` +```/WWW/CopierYoutube/``` + +_sandbox + +just piece of code... you can use and make official diff --git a/WWW/_sandbox/Proteody/ProteinConvertionToFrequencies.html b/WWW/_sandbox/Proteody/index.html similarity index 100% rename from WWW/_sandbox/Proteody/ProteinConvertionToFrequencies.html rename to WWW/_sandbox/Proteody/index.html diff --git a/WWW/_sandbox/Whisper/index.webrtc.html b/WWW/_sandbox/Whisper-WebRTC/index.html similarity index 100% rename from WWW/_sandbox/Whisper/index.webrtc.html rename to WWW/_sandbox/Whisper-WebRTC/index.html diff --git a/YNOV.md b/YNOV.md new file mode 100644 index 00000000..c0b267a1 --- /dev/null +++ b/YNOV.md @@ -0,0 +1,61 @@ +# SCRIPT01/BLOCKCHAIN01 + +## ssh + +https://pad.p2p.legal/keygen + +## git + +``` +git add . +git commit -m "mon commentaire" +git push +``` + +## $() function + +``` +. ${MY_PATH}/my.sh + +``` + +## Absolute ${MY_PATH} + +``` +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" +``` + +## ${} variable + +``` +VAR="value or list of terms" +TAB=("value or list of terms") + +echo ${VAR} +echo ${TAB} +echo ${TAB[@]} + +# for, while, select, ... done (< read source) + +``` + +## bug des leviers + +``` + sed -i='' 's/off/on/' ../logic/stationlogic.ben +``` + +## WSL problème décodage + +``` + dos2unix +``` + + +# FORMATION WEB3 : https://chaton.g1sms.fr + +Ajoutez une "Zen Station" à votre Région. + +* Installez Astroport.ONE et suivez la procédure : https://pad.p2p.legal/keygen pour relier votre clef SSH à IPFS et rejoindre la toile de confiance des Dragons, hébergeurs collectifs "LeClaude" diff --git a/_12345.sh b/_12345.sh index 24e54119..b1e3a8b3 100755 --- a/_12345.sh +++ b/_12345.sh @@ -43,30 +43,34 @@ echo "$(date -u)" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.staom ## MySwarm KEY INIT & SET ############################################################ ## CREATE CHAN = MySwarm_${IPFSNODEID} - CHAN=$(ipfs key list -l | grep -w "MySwarm_${IPFSNODEID}" | cut -d ' ' -f 1) +CHAN=$(ipfs key list -l | grep -w "MySwarm_${IPFSNODEID}" | cut -d ' ' -f 1) - ####################################################### - ## CREATE MySwarm KEYS ? - if [[ ${CHAN} == "" || ${CHAN} == "null" ]]; then - echo "## MAKE /proc/cpuinfo IPFSNODEID DERIVATED KEY ##" - SECRET1=$(cat /proc/cpuinfo | grep -Ev MHz | sha512sum | cut -d ' ' -f 1) - SECRET2=${IPFSNODEID} - echo "SALT=$SECRET1 && PEPPER=$SECRET2" > ~/.zen/game/myswarm_secret.june - ${MY_PATH}/tools/keygen -t ipfs -o ~/.zen/game/myswarm_secret.ipfskey "$SECRET1" "$SECRET2" - ${MY_PATH}/tools/keygen -t duniter -o ~/.zen/game/myswarm_secret.dunikey "$SECRET1" "$SECRET2" - ipfs key import "MySwarm_${IPFSNODEID}" -f pem-pkcs8-cleartext ~/.zen/game/myswarm_secret.ipfskey - CHAN=$(ipfs key list -l | grep -w "MySwarm_${IPFSNODEID}" | cut -d ' ' -f 1 ) - fi - ######################################################## MAKE IPFS NODE CHAN ID CPU RELATED +####################################################### +## CREATE MySwarm KEYS ? +if [[ ${CHAN} == "" || ${CHAN} == "null" ]]; then +echo "## MAKE /proc/cpuinfo IPFSNODEID DERIVATED KEY ##" + SECRET1=$(cat /proc/cpuinfo | grep -Ev MHz | sha512sum | cut -d ' ' -f 1) + SECRET2=${IPFSNODEID} + echo "SALT=$SECRET1 && PEPPER=$SECRET2" > ~/.zen/game/myswarm_secret.june + ${MY_PATH}/tools/keygen -t ipfs -o ~/.zen/game/myswarm_secret.ipfskey "$SECRET1" "$SECRET2" + ${MY_PATH}/tools/keygen -t duniter -o ~/.zen/game/myswarm_secret.dunikey "$SECRET1" "$SECRET2" + ipfs key import "MySwarm_${IPFSNODEID}" -f pem-pkcs8-cleartext ~/.zen/game/myswarm_secret.ipfskey + CHAN=$(ipfs key list -l | grep -w "MySwarm_${IPFSNODEID}" | cut -d ' ' -f 1 ) + fi +######################################################## MAKE IPFS NODE CHAN ID CPU RELATED ## PUBLISH CHANNEL IPNS - echo "" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.$(myHostName).html +echo "" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.$(myHostName).html ############################################################ ############################################################ echo 0 > ~/.zen/tmp/random.sleep ################### # NEVER ENDING LOOP + +#### UPLANET FLASHMEM UPDATES +${MY_PATH}/RUNTIME/UPlanetKEYS_refresh.sh & + ################################################################### ## WILL SCAN ALL BOOSTRAP - REFRESH "SELF IPNS BALISE" - RECEIVE UPLINK ORDERS ################################################################### @@ -81,167 +85,175 @@ while true; do ## FIXING TIC TAC FOR NODE & SWARM REFRESH ( 1H ) if [[ ${duree} -gt 3600000 ]]; then - ##################################### - ( ##### SUB-PROCESS RUN - exec 2>&1 >> ~/.zen/tmp/_12345.log - start=`date +%s` + ${MY_PATH}/ping_bootstrap.sh - # MONITOR pending - for player in ${PLAYERONE[@]}; do - g1pub=$(cat ~/.zen/game/players/${player}/.g1pub 2>/dev/null) - # Check Station PLAYER payments - PENDINGS=($(ls "$HOME/.zen/game/pending/${g1pub}/*.TX")) - for pending in "${PENDINGS[@]}"; do - echo ${pending} - # TODO TREAT PENDINGS - # + #### UPLANET FLASHMEM UPDATES + ${MY_PATH}/RUNTIME/UPlanetKEYS_refresh.sh & + + PLAYERONE=($(ls -t ~/.zen/game/players/ | grep "@" 2>/dev/null)) + [[ ${PLAYERONE[@]} == "" ]] && echo "EMPTY ASTROPORT - NO PLAYER - NO PUBLISHING" && continue + + ##################################### + ( ##### SUB-PROCESS £ + start=`date +%s` + + # MONITOR pending + for player in ${PLAYERONE[@]}; do + g1pub=$(cat ~/.zen/game/players/${player}/.g1pub 2>/dev/null) + # Check Station PLAYER payments + PENDINGS=($(ls "$HOME/.zen/game/pending/${g1pub}/*.TX")) + for pending in "${PENDINGS[@]}"; do + echo ${pending} + # TODO TREAT PENDINGS + # + done done - done - ############# GET BOOSTRAP SWARM DATA - for bootnode in $(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#" | grep -v '^[[:space:]]*$') # remove comments and empty lines - do + ############# GET BOOSTRAP SWARM DATA + for bootnode in $(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#" | grep -v '^[[:space:]]*$') # remove comments and empty lines + do - echo "############# RUN LOOP ######### $(date)" - ipfsnodeid=${bootnode##*/} + ## ex: /ip4/149.102.158.67/tcp/4001/p2p/12D3KooWL2FcDJ41U9SyLuvDmA5qGzyoaj2RoEHiJPpCvY8jvx9u) + echo "############# RUN LOOP ######### $(date)" + ipfsnodeid=${bootnode##*/} - [[ ${ipfsnodeid} == ${IPFSNODEID} ]] && echo "MYSELF : ${IPFSNODEID} - CONTINUE" && continue + [[ ${ipfsnodeid} == ${IPFSNODEID} ]] && echo "MYSELF : ${IPFSNODEID} - CONTINUE" && continue - [[ ${ipfsnodeid} == "null" || ${ipfsnodeid} == "" ]] && echo "BAD ${IPFSNODEID} - CONTINUE" && continue + [[ ${ipfsnodeid} == "null" || ${ipfsnodeid} == "" ]] && echo "BAD ${IPFSNODEID} - CONTINUE" && continue - ## SWARM CONNECT - ipfs swarm connect ${bootnode} + ## SWARM CONNECT + ipfs swarm connect ${bootnode} - ## PREPARE TO REFRESH SWARM LOCAL CACHE - mkdir -p ~/.zen/tmp/swarm/${ipfsnodeid} - mkdir -p ~/.zen/tmp/-${ipfsnodeid} + ## PREPARE TO REFRESH SWARM LOCAL CACHE + mkdir -p ~/.zen/tmp/swarm/${ipfsnodeid} + mkdir -p ~/.zen/tmp/-${ipfsnodeid} - ## GET bootnode IP - iptype=$(echo ${bootnode} | cut -d '/' -f 2) - nodeip=$(echo ${bootnode} | cut -d '/' -f 3) + ## GET bootnode IP + iptype=$(echo ${bootnode} | cut -d '/' -f 2) + nodeip=$(echo ${bootnode} | cut -d '/' -f 3) - ## IPFS GET TO /swarm/${ipfsnodeid} - echo "GETTING ${nodeip} : /ipns/${ipfsnodeid}" - ipfs --timeout 720s get -o ~/.zen/tmp/-${ipfsnodeid}/ /ipns/${ipfsnodeid}/ + ## IPFS GET TO /swarm/${ipfsnodeid} + echo "GETTING ${nodeip} : /ipns/${ipfsnodeid}" + ipfs --timeout 720s get -o ~/.zen/tmp/-${ipfsnodeid}/ /ipns/${ipfsnodeid}/ - ## SHOW WHAT WE GET - echo "__________________________________________________" - ls ~/.zen/tmp/-${ipfsnodeid}/ - echo "__________________________________________________" + ## SHOW WHAT WE GET + echo "__________________________________________________" + ls ~/.zen/tmp/-${ipfsnodeid}/ + echo "__________________________________________________" - ## LOCAL CACHE SWITCH WITH LATEST - if [[ -s ~/.zen/tmp/-${ipfsnodeid}/_MySwarm.moats ]]; then - if [[ $(diff ~/.zen/tmp/-${ipfsnodeid}/_MySwarm.moats ~/.zen/tmp/swarm/${ipfsnodeid}/_MySwarm.moats) || $(cat ~/.zen/tmp/swarm/${ipfsnodeid}/_MySwarm.moats 2>/dev/null) == "" ]]; then - rm -Rf ~/.zen/tmp/swarm/${ipfsnodeid} - mv ~/.zen/tmp/-${ipfsnodeid} ~/.zen/tmp/swarm/${ipfsnodeid} - echo "UPDATED : ~/.zen/tmp/swarm/${ipfsnodeid}" + ## LOCAL CACHE SWITCH WITH LATEST + if [[ -s ~/.zen/tmp/-${ipfsnodeid}/_MySwarm.moats ]]; then + if [[ $(diff ~/.zen/tmp/-${ipfsnodeid}/_MySwarm.moats ~/.zen/tmp/swarm/${ipfsnodeid}/_MySwarm.moats) || $(cat ~/.zen/tmp/swarm/${ipfsnodeid}/_MySwarm.moats 2>/dev/null) == "" ]]; then + rm -Rf ~/.zen/tmp/swarm/${ipfsnodeid} + mv ~/.zen/tmp/-${ipfsnodeid} ~/.zen/tmp/swarm/${ipfsnodeid} + echo "UPDATED : ~/.zen/tmp/swarm/${ipfsnodeid}" + else + echo "TimeStamp unchanged : $(cat ~/.zen/tmp/swarm/${ipfsnodeid}/_MySwarm.moats)" + rm -Rf ~/.zen/tmp/-${ipfsnodeid}/ + continue + fi else - echo "TimeStamp unchanged : $(cat ~/.zen/tmp/swarm/${ipfsnodeid}/_MySwarm.moats)" - rm -Rf ~/.zen/tmp/-${ipfsnodeid}/ + echo "UNREACHABLE /ipns/${ipfsnodeid}/" continue fi - else - echo "UNREACHABLE /ipns/${ipfsnodeid}/" - continue - fi - ## ASK BOOSTRAP NODE TO GET MY MAP UPSYNC - ## - MAKES MY BALISE PRESENT IN BOOSTRAP SWARM KEY - - if [[ $iptype == "ip4" || $iptype == "ip6" ]]; then + ## ASK BOOSTRAP NODE TO GET MY MAP UPSYNC + ## - MAKES MY BALISE PRESENT IN BOOSTRAP SWARM KEY - + if [[ $iptype == "ip4" || $iptype == "ip6" ]]; then - ############ UPSYNC CALL - echo "STATION MAP UPSYNC : curl -s http://${nodeip}:12345/?${NODEG1PUB}=${IPFSNODEID}" - curl -s -m 10 http://${nodeip}:12345/?${NODEG1PUB}=${IPFSNODEID} -o ~/.zen/tmp/swarm/${ipfsnodeid}/map.${nodeip}.json + ############ UPSYNC CALL + echo "STATION MAP UPSYNC : curl -s http://${nodeip}:12345/?${NODEG1PUB}=${IPFSNODEID}" + curl -s -m 10 http://${nodeip}:12345/?${NODEG1PUB}=${IPFSNODEID} -o ~/.zen/tmp/swarm/${ipfsnodeid}/map.${nodeip}.json - ## LOOKING IF ITS SWARM MAP COULD COMPLETE MINE - echo "ANALYSING BOOSTRAP SWARM MAP" - itipnswarmap=$(cat ~/.zen/tmp/swarm/${ipfsnodeid}/map.${nodeip}.json | jq -r '.g1swarm' | rev | cut -d '/' -f 1 | rev ) - ipfs ls /ipns/${itipnswarmap} | rev | cut -d ' ' -f 1 | rev | cut -d '/' -f 1 > ~/.zen/tmp/_swarm.${ipfsnodeid} + ## LOOKING IF ITS SWARM MAP COULD COMPLETE MINE + echo "ANALYSING BOOSTRAP SWARM MAP" + itipnswarmap=$(cat ~/.zen/tmp/swarm/${ipfsnodeid}/map.${nodeip}.json | jq -r '.g1swarm' | rev | cut -d '/' -f 1 | rev ) + ipfs ls /ipns/${itipnswarmap} | rev | cut -d ' ' -f 1 | rev | cut -d '/' -f 1 > ~/.zen/tmp/_swarm.${ipfsnodeid} - echo "================ ${nodeip}:12345 ZNODS LIST" - cat ~/.zen/tmp/_swarm.${ipfsnodeid} - echo "============================================" - for znod in $(cat ~/.zen/tmp/_swarm.${ipfsnodeid}); do - # CHECK znod validity - cznod=$(${MY_PATH}/tools/ipfs_to_g1.py ${znod} 2>/dev/null) - [[ ${cznod} == "" || ${cznod} == "null" ]] && echo "xxxxxxxxxxxx BAD ${znod} xxxx ON xxxxxx ${ipfsnodeid} - ERROR - CONTINUE" && continue + echo "================ ${nodeip}:12345 ZNODS LIST" + cat ~/.zen/tmp/_swarm.${ipfsnodeid} + echo "============================================" + for znod in $(cat ~/.zen/tmp/_swarm.${ipfsnodeid}); do + # CHECK znod validity + cznod=$(${MY_PATH}/tools/ipfs_to_g1.py ${znod} 2>/dev/null) + [[ ${cznod} == "" || ${cznod} == "null" ]] && echo "xxxxxxxxxxxx BAD ${znod} xxxx ON xxxxxx ${ipfsnodeid} - ERROR - CONTINUE" && continue - if [[ ! -d ~/.zen/tmp/swarm/${znod} ]]; then - echo "COMPLETING MY SWARM DATA WITH ZNOD=${znod}" - mkdir -p ~/.zen/tmp/swarm/${znod} - ipfs --timeout 180s get -o ~/.zen/tmp/swarm/${znod} /ipns/${znod} - else - echo "____________ KNOW ${znod}" - # TODO : SPEEDUP REFRESH COMPARE _MySwarm.moats AND KEEP LASTEST - fi + if [[ ! -d ~/.zen/tmp/swarm/${znod} ]]; then + echo "COMPLETING MY SWARM DATA WITH ZNOD=${znod}" + mkdir -p ~/.zen/tmp/swarm/${znod} + ipfs --timeout 180s get -o ~/.zen/tmp/swarm/${znod} /ipns/${znod} + else + echo "____________ KNOW ${znod}" + # TODO : SPEEDUP REFRESH COMPARE _MySwarm.moats AND KEEP LATEST + fi - ZMOATS=$(cat ~/.zen/tmp/swarm/${znod}/_MySwarm.moats 2>/dev/null) - MOATS_SECONDS=$(${MY_PATH}/tools/MOATS2seconds.sh ${MOATS}) - ZMOATS_SECONDS=$(${MY_PATH}/tools/MOATS2seconds.sh ${ZMOATS}) - DIFF_SECONDS=$((MOATS_SECONDS - ZMOATS_SECONDS)) - if [ ${DIFF_SECONDS} -gt $(( 3 * 24 * 60 * 60 )) ]; then - echo "STATION IS STUCK... FOR TOO LONG... REMOVING FROM SWARM" - rm -Rf ~/.zen/tmp/swarm/${znod}/ - else - echo "${DIFF_SECONDS} seconds old" - fi + ZMOATS=$(cat ~/.zen/tmp/swarm/${znod}/_MySwarm.moats 2>/dev/null) + MOATS_SECONDS=$(${MY_PATH}/tools/MOATS2seconds.sh ${MOATS}) + ZMOATS_SECONDS=$(${MY_PATH}/tools/MOATS2seconds.sh ${ZMOATS}) + DIFF_SECONDS=$((MOATS_SECONDS - ZMOATS_SECONDS)) + if [ ${DIFF_SECONDS} -gt $(( 3 * 24 * 60 * 60 )) ]; then + echo "STATION IS STUCK... FOR TOO LONG... REMOVING ${znod} FROM SWARM" + rm -Rf ~/.zen/tmp/swarm/${znod}/ + else + echo "${DIFF_SECONDS} seconds old" + fi - done - echo "============================================" + done + echo "============================================" - fi ## IP4 WAN BOOTSRAP UPSYNC FINISHED + fi ## IP4 WAN BOOTSRAP UPSYNC FINISHED - done + done -############################################# - # ERASE EMPTY DIRECTORIES - du -b ~/.zen/tmp/swarm > /tmp/du - while read branch; do [[ $branch =~ "4096" ]] && echo "empty $branch" && rm -Rf $(echo $branch | cut -f 2 -d ' '); done < /tmp/du - ############### UPDATE MySwarm CHAN - ls ~/.zen/tmp/swarm - SWARMSIZE=$(du -b ~/.zen/tmp/swarm | tail -n 1 | cut -f 1) + ############################################# + # ERASE EMPTY DIRECTORIES + du -b ~/.zen/tmp/swarm > /tmp/du + while read branch; do [[ $branch =~ "4096" ]] && echo "empty $branch" && rm -Rf $(echo $branch | cut -f 2 -d ' '); done < /tmp/du + ############### UPDATE MySwarm CHAN + ls ~/.zen/tmp/swarm + SWARMSIZE=$(du -b ~/.zen/tmp/swarm | tail -n 1 | cut -f 1) - ## SIZE MODIFIED => PUBLISH MySwarm_${IPFSNODEID} - [[ ${SWARMSIZE} != $(cat ~/.zen/tmp/swarm/.bsize 2>/dev/null) ]] \ - && echo ${SWARMSIZE} > ~/.zen/tmp/swarm/.bsize \ - && SWARMH=$(ipfs add -rwq ~/.zen/tmp/swarm/* | tail -n 1 ) \ - && echo "=== ~/.zen/tmp/swarm EVOLVED : PUBLISHING NEW STATE ===" \ - && ipfs name publish --key "MySwarm_${IPFSNODEID}" /ipfs/${SWARMH} -############################################# + ## SIZE MODIFIED => PUBLISH MySwarm_${IPFSNODEID} + [[ ${SWARMSIZE} != $(cat ~/.zen/tmp/swarm/.bsize 2>/dev/null) ]] \ + && echo ${SWARMSIZE} > ~/.zen/tmp/swarm/.bsize \ + && SWARMH=$(ipfs add -rwq ~/.zen/tmp/swarm/* | tail -n 1 ) \ + && echo "=== ~/.zen/tmp/swarm EVOLVED : PUBLISHING NEW STATE ===" \ + && ipfs name publish --key "MySwarm_${IPFSNODEID}" /ipfs/${SWARMH} + ############################################# - ###################################### - ############# RE PUBLISH SELF BALISE + ###################################### + ############# RE PUBLISH SELF BALISE - # Clean Empty Directory (inode dependancy BUG ??) - du -b ~/.zen/tmp/${IPFSNODEID} > /tmp/du - while read branch; do [[ $branch =~ "4096" ]] && echo "empty $branch" && rm -Rf $(echo $branch | cut -f 2 -d ' '); done < /tmp/du + # Clean Empty Directory + du -b ~/.zen/tmp/${IPFSNODEID} > /tmp/du + while read branch; do [[ $branch =~ "4096" ]] && echo "empty $branch" && rm -Rf $(echo $branch | cut -f 2 -d ' '); done < /tmp/du - # Scan local cache - ls ~/.zen/tmp/${IPFSNODEID}/ - BSIZE=$(du -b ~/.zen/tmp/${IPFSNODEID} | tail -n 1 | cut -f 1) + # Scan IPFSNODEID cache + ls ~/.zen/tmp/${IPFSNODEID}/ + BSIZE=$(du -b ~/.zen/tmp/${IPFSNODEID} | tail -n 1 | cut -f 1) - ## IPFS GET LAST PUBLISHED MAP VERSION - rm -Rf ~/.zen/tmp/_${IPFSNODEID} 2>/dev/null - mkdir -p ~/.zen/tmp/_${IPFSNODEID} - ipfs get -o ~/.zen/tmp/_${IPFSNODEID}/ /ipns/${IPFSNODEID}/ - NSIZE=$(du -b ~/.zen/tmp/_${IPFSNODEID} | tail -n 1 | cut -f 1) + ## IPFS GET LAST ONLINE IPFSNODEID MAP + rm -Rf ~/.zen/tmp/_${IPFSNODEID} 2>/dev/null + mkdir -p ~/.zen/tmp/_${IPFSNODEID} + ipfs get -o ~/.zen/tmp/_${IPFSNODEID}/ /ipns/${IPFSNODEID}/ + NSIZE=$(du -b ~/.zen/tmp/_${IPFSNODEID} | tail -n 1 | cut -f 1) - ### CHECK IF SIZE DIFFERENCE ? - ## Local / IPNS size differ => FUSION LOCAL OVER ONLINE & PUBLISH - [[ ${BSIZE} != ${NSIZE} ]] \ - && echo "${MOATS}" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.moats \ - && MYCACHE=$(ipfs add -rwq ~/.zen/tmp/${IPFSNODEID}/* | tail -n 1 ) \ - && echo "PUBLISHING NEW BALISE STATE FOR STATION /ipns/${IPFSNODEID} INDEXES = $BSIZE octets" \ - && ipfs name publish /ipfs/${MYCACHE} + ### CHECK IF SIZE DIFFERENCE ? + ## Local / IPNS size differ => FUSION LOCAL OVER ONLINE & PUBLISH + [[ ${BSIZE} != ${NSIZE} ]] \ + && echo "${MOATS}" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.moats \ + && MYCACHE=$(ipfs add -rwq ~/.zen/tmp/${IPFSNODEID}/* | tail -n 1 ) \ + && echo "PUBLISHING NEW BALISE STATE FOR STATION /ipns/${IPFSNODEID} INDEXES = $BSIZE octets" \ + && ipfs name publish /ipfs/${MYCACHE} - end=`date +%s` - echo "(*__*) MySwam Update ($BSIZE B) duration was "`expr $end - $start`' seconds. '$(date) + end=`date +%s` + echo "(*__*) MySwam Update ($BSIZE B) duration was "`expr $end - $start`' seconds. '$(date) - ) & ##### SUB-PROCESS + ) & ##### SUB-PROCESS - # last run recording - echo "${MOATS}" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.moats - echo "$(date -u)" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.staom + # last run recording + echo "${MOATS}" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.moats + echo "$(date -u)" > ~/.zen/tmp/${IPFSNODEID}/_MySwarm.staom else @@ -278,6 +290,7 @@ Content-Type: application/json; charset=UTF-8 if [[ $T2WAIT == 0 || $T2WAIT != $(cat ~/.zen/tmp/random.sleep 2>/dev/null) ]]; then ( + echo "# AUTO RELAUNCH IN $T2WAIT SECONDS" echo $T2WAIT > ~/.zen/tmp/random.sleep sleep $T2WAIT && rm ~/.zen/tmp/random.sleep curl -s "http://127.0.0.1:12345" @@ -298,21 +311,21 @@ Content-Type: application/json; charset=UTF-8 arr=(${URL//[=&]/ }) ##################################################################### - ### UPSYNC STATION REQUEST /?G1PUB=g1_to_ipfs(G1PUB)&... + ### UPSYNC STATION REQUEST :12345/?G1PUB=g1_to_ipfs(G1PUB)&... ### TODO : include CODE HASH & TOKEN .... ##################################################################### if [[ ${arr[0]} != "" ]]; then - ## CHECK URL CONSISTENCY ( G1PUB=IPNSPUB is right ? ) + ## CHECK URL CONSISTENCY ( do we get G1PUB=IPNSPUB right ? ) GPUB=${arr[0]} ASTROTOIPFS=$(${MY_PATH}/tools/g1_to_ipfs.py ${arr[0]} 2>/dev/null) if [[ "${ASTROTOIPFS}" == "${arr[1]}" && ${ASTROTOIPFS} != "" && ${arr[1]} != "" ]]; then ## WE SPEAK THE SAME PROTOCOL - echo "MAJOR TOM TO GROUD CONTROL" echo "WE HAVE A STATION ${GPUB} CONTACT" ( mkdir -p ~/.zen/tmp/swarm/${ASTROTOIPFS} + echo "<<< MAJOR TOM TO GROUND CONTROL >>>" echo "UPSYNC TO ~/.zen/tmp/swarm/${ASTROTOIPFS}" ipfs --timeout 180s get -o ~/.zen/tmp/swarm/${ASTROTOIPFS} /ipns/${ASTROTOIPFS} ) & diff --git a/adventure/.DS_Store b/adventure/.DS_Store new file mode 100644 index 00000000..8bb7382f Binary files /dev/null and b/adventure/.DS_Store differ diff --git a/adventure/BLOCKCHAIN/Me b/adventure/BLOCKCHAIN/Me new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/adventure/BLOCKCHAIN/Me @@ -0,0 +1 @@ + diff --git a/adventure/BLOCKCHAIN/antoine.marsille@ynov.com/présentation.txt b/adventure/BLOCKCHAIN/antoine.marsille@ynov.com/présentation.txt new file mode 100644 index 00000000..8c23c12b --- /dev/null +++ b/adventure/BLOCKCHAIN/antoine.marsille@ynov.com/présentation.txt @@ -0,0 +1,8 @@ +Salut Fredo, Moi c'est Tonio. J'ai 23 ans et je suis gentil. + +Je suis en alternance à Thales Alenia Space où j'y développe des contrôles automatique pour la qualité logiciel. J'y développe aussi +des WebApps pour collecter des données d'utilisateurs afin de faire des dashboards. + +J'ai beaucoup de passions dans la vida loca, j'aime beaucoup les jeux vidéos comme league of legends, teamfight tactics et minecraft (très +bon jeu), les mangas, la techno (hardcore, acid). J'adore cuisiner, je suis un expert des lasagnes et de la paella. + diff --git a/adventure/BLOCKCHAIN/gaetan.corin@ynov.com/me b/adventure/BLOCKCHAIN/gaetan.corin@ynov.com/me new file mode 100644 index 00000000..006638ae --- /dev/null +++ b/adventure/BLOCKCHAIN/gaetan.corin@ynov.com/me @@ -0,0 +1,13 @@ +$VOTRECOMPTE +vboxuser +Quel OS utilisez vous? +windows sur mon ordi perso, j'ai deja utiliser linux dans mon ancien travail +Machine PERSO ou PRO ? +PERSO +Connaissances techniques particulières ? +pandas, palandir foundry, flask, python +Activités PRO actuelle ? +creation de pipeline destiné a la création de knowledgeGraph d'un gros client +Objectif souhaité ? +devenir data-engineer qualifié +Autre ... diff --git a/adventure/BLOCKCHAIN/jean.crypto@ynov.com b/adventure/BLOCKCHAIN/jean.crypto@ynov.com new file mode 100644 index 00000000..87536105 --- /dev/null +++ b/adventure/BLOCKCHAIN/jean.crypto@ynov.com @@ -0,0 +1,9 @@ +me + +--- + +OS: Fedora Workstation 39 x86_64 +Connaissances techniques: Python, Bash, Docker, SQL, MongoDB, Power BI +Activité pro: Data analyst +Objectif souhaité: Utiliser la technologie blockchain dans un point de vue Data engineering + diff --git a/adventure/BLOCKCHAIN/lou.doussiet@ynov.com/me b/adventure/BLOCKCHAIN/lou.doussiet@ynov.com/me new file mode 100644 index 00000000..e6c7b455 --- /dev/null +++ b/adventure/BLOCKCHAIN/lou.doussiet@ynov.com/me @@ -0,0 +1,17 @@ +me + +mon compte ? + +Quel OS ? +Windows + +Machine perso + +Connaissances techniques particulières : +Talend, Digdash, Python, Sql, Machine Learning + +Activité pro actuelle +Alternance Developpeuse decisionnelle + +Objectif souhaité +Monter en compétences diff --git a/adventure/BLOCKCHAIN/nathan.piazzi@ynov.com/me b/adventure/BLOCKCHAIN/nathan.piazzi@ynov.com/me new file mode 100644 index 00000000..2ae2bb5a --- /dev/null +++ b/adventure/BLOCKCHAIN/nathan.piazzi@ynov.com/me @@ -0,0 +1 @@ +Salut, je suis Nathan, 21 ans. Je suis en alternance en tant que Data Analyst où je fais surtout du Power BI. J'adore le foot et le PSG. Je suis à YNOV depuis le B3 et voilà diff --git a/adventure/BLOCKCHAIN/readme b/adventure/BLOCKCHAIN/readme new file mode 100644 index 00000000..0033d121 --- /dev/null +++ b/adventure/BLOCKCHAIN/readme @@ -0,0 +1,8 @@ +https://pad.p2p.legal/frederic.renault@ynov.com# + +https://pad.p2p.legal/Ynov#MASTERE-1-DATA-ENGINEER-Blockchain + +https://pad.p2p.legal/Blockchain# + +https://monnaie-libre.fr + diff --git a/adventure/BLOCKCHAIN/student001@ynov.com b/adventure/BLOCKCHAIN/student001@ynov.com new file mode 100644 index 00000000..28378ea2 --- /dev/null +++ b/adventure/BLOCKCHAIN/student001@ynov.com @@ -0,0 +1,5 @@ +unix +Perso +DataEng/BI +DataEng/BI +Créé une blockchain de 0 sans utiliser un repos ou on connait pas le contenue, start from scratch, construire, stocker et requeter, pas de logiciel libre ou quoi que ce soit, blockchain local avec VM a la limite diff --git a/adventure/adventure.sh b/adventure/adventure.sh index 878b236f..864d2560 100755 --- a/adventure/adventure.sh +++ b/adventure/adventure.sh @@ -16,52 +16,79 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized ME="${0##*/}" ################################################################### ### CREER VOTRE PROPRE VERSION DU JEU -### CHOISIR SCENARIO -################################################################### -if hash uuidgen 2>/dev/null; then - homefolder=$(pwd) - newplayer=$(uuidgen) - ## Copy Player Game Files - mkdir -p "$HOME/.zen/adventure/$newplayer" - if [ -d "$MY_PATH/rooms" ]; then - cp -r "$MY_PATH/rooms" "$HOME/.zen/adventure/$newplayer/" + +### List games/E@MAIL/ directories +## ADD PROPOSAL ON THE METHOD +GAMES_DIR="games" +GAMES=$(find "$GAMES_DIR" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;) +GAMES=$(ls $MY_PATH/games/) +GAMES=($(ls -d $MY_PATH/games/)) +# Above methods are breaking with games names containing SPACE ! + +# BASH is CREOLE +# this cd *@* METHOD resist to " " space +cd ${MY_PATH}/games \ + && GAMES=(".." *@*) && cd .. \ + || GAMES=".." +## but can still be fooled by file... + +## personalisez le prompt +PS3="CHOIX DU GAME : __ " + +select game in "${GAMES[@]}"; do + + # MY_GAME is the absolute path to selected game files + MY_GAME="$MY_PATH/games/$game" + echo "SELECTION: "${MY_GAME} + + diff --recursive --brief ${MY_GAME}/ ${MY_GAME}/../_votre\ jeu/ + + echo "confirm ?" + read ENTER + + if [[ ! $ENTER ]]; then + # test game start protocol compatibility + if [[ -x ${MY_GAME}/rooms/start.sh ]]; then + sleep 1 + echo "Charging game..." + sleep 1 + break + else + # not compatible + echo "ERROR - not compatible game - SELECT ANOTHER - " + fi else - echo "Source directory $MY_PATH/rooms does not exist or is not a directory." + echo "CHOOSE NEXT" fi - if [ -d "$MY_PATH/art" ]; then - cp -r "$MY_PATH/art" "$HOME/.zen/adventure/$newplayer/" - else - echo "Source directory $MY_PATH/art does not exist or is not a directory." - fi +done - if [ -d "$MY_PATH/script" ]; then - cp -r "$MY_PATH/script" "$HOME/.zen/adventure/$newplayer/" - else - echo "Source directory $MY_PATH/script does not exist or is not a directory." - fi +######################################## +# copy game files to user specific executable space +# $HOME/.zen/adventure/$newplayer +######################################## +homefolder=$(pwd) +newplayer=$(head /dev/urandom | tr -dc 'A-Za-z0-9' | head -c 10) +## Copy Player Game Files +mkdir -p $HOME/.zen/adventure/$newplayer +cp -r ${MY_GAME}/rooms $HOME/.zen/adventure/$newplayer/rooms +cp -r ${MY_GAME}/art $HOME/.zen/adventure/$newplayer/art +cp -r ${MY_GAME}/script $HOME/.zen/adventure/$newplayer/script +cp -r ${MY_GAME}/logic $HOME/.zen/adventure/$newplayer/logic - if [ -d "$MY_PATH/logic" ]; then - cp -r "$MY_PATH/logic" "$HOME/.zen/adventure/$newplayer/" - else - echo "Source directory $MY_PATH/logic does not exist or is not a directory." - fi -fi ################################################################### -echo "Loading..." +echo "Loading... $newplayer/rooms/start.sh" echo +sleep 2 ################################################################### -if hash uuidgen 2>/dev/null; then - cd $HOME/.zen/adventure/$newplayer/rooms -else - cd rooms -fi +cd $HOME/.zen/adventure/$newplayer/rooms ./start.sh + ################################################################### -if hash uuidgen 2>/dev/null; then - cd "$homefolder" - rm -r $HOME/.zen/adventure/$newplayer -fi +# cleaning game files +cd "$homefolder" +rm -r $HOME/.zen/adventure/$newplayer + echo "To continue..." exit \ No newline at end of file diff --git a/adventure/adventure_multi.sh b/adventure/adventure_multi.sh new file mode 100755 index 00000000..6a43250d --- /dev/null +++ b/adventure/adventure_multi.sh @@ -0,0 +1,49 @@ +#!/bin/bash +################################################################### +# This Launch script is based on BashVenture. +# +# Remember, kids - sharing is caring! Keep it open. Spread the love. +# - @BenNunney +# Thanks and gratitude to all living creatures and the whole creation. +# - @Fred +# $AGE×365,25×24×60×60×9,807÷299792458 = RELATIVE LIGHT GRAVITY SPEED +################################################################### +# Guide avancé d'écriture des scripts Bash : https://abs.traduc.org/abs-fr/ +# GAMESHELL : https://github.com/phyver/GameShell/ +################################################################### +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" +################################################################### +### CREER VOTRE PROPRE VERSION DU JEU +### CHOISIR SCENARIO + +################################################################### +if hash uuidgen 2>/dev/null; then + homefolder=$(pwd) + newplayer=$(uuidgen) + ## Copy Player Game Files + mkdir -p $HOME/.zen/adventure_multi/$newplayer + cp -r $MY_PATH/games/moussa.thiam@ynov.com/rooms $HOME/.zen/adventure_multi/$newplayer/rooms + cp -r $MY_PATH/games/moussa.thiam@ynov.com/art $HOME/.zen/adventure_multi/$newplayer/art + cp -r $MY_PATH/games/moussa.thiam@ynov.com/script $HOME/.zen/adventure_multi/$newplayer/script + cp -r $MY_PATH/games/moussa.thiam@ynov.com/logic $HOME/.zen/adventure_multi/$newplayer/logic +fi +################################################################### +echo "Loading..." +echo +sleep 4 +################################################################### +if hash uuidgen 2>/dev/null; then + cd $HOME/.zen/adventure_multi/$newplayer/rooms +else + cd rooms +fi +./start.sh +################################################################### +if hash uuidgen 2>/dev/null; then + cd "$homefolder" + rm -r $HOME/.zen/adventure_multi/$newplayer +fi +echo "To continue..." +exit diff --git a/adventure/adventuremulti.EA.sh b/adventure/adventuremulti.EA.sh new file mode 100755 index 00000000..4dc0863a --- /dev/null +++ b/adventure/adventuremulti.EA.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +# Chemin vers le répertoire des jeux +games_dir="./games" + +# Afficher les jeux disponibles +echo "Jeux disponibles :" +games=$(ls "$games_dir") + +# Afficher les jeux dans un menu numéroté +select game in $games; do + if [ ! -z "$game" ]; then + echo "Vous avez choisi $game." + cd "$games_dir" || exit 1 + # Assurez-vous que start.sh est exécutable + chmod +x "$game/start.sh" + # Exécuter start.sh du jeu sélectionné + cd ./$game/rooms + ./start.sh + break + else + echo "Choix invalide. Veuillez choisir un numéro de jeu valide." + fi +done diff --git a/adventure/adventuremulti.TV.sh b/adventure/adventuremulti.TV.sh new file mode 100755 index 00000000..a6e9a335 --- /dev/null +++ b/adventure/adventuremulti.TV.sh @@ -0,0 +1,34 @@ +#!/bin/bash + +GAMES_DIR="./games" + +if [ ! -d "$GAMES_DIR" ]; then + echo "Le dossier des jeux $GAMES_DIR n'existe pas." + exit 1 +fi + +GAMES=$(find "$GAMES_DIR" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;) + +if [ -z "$GAMES" ]; then + echo "Aucun jeu trouvé dans le dossier $GAMES_DIR." + exit 1 +fi + +echo "Sélectionnez un jeu :" +select GAME in $GAMES; do + if [ -n "$GAME" ]; then + cd "$GAMES_DIR/$GAME/rooms" + START_SCRIPT="./start.sh" + + if [ ! -x "$START_SCRIPT" ]; then + echo "Le fichier start.sh pour $GAME n'existe pas ou n'est pas exécutable." + exit 1 + fi + + echo "Lancement de $GAME..." + "$START_SCRIPT" + break + else + echo "Choix invalide. Veuillez réessayer." + fi +done \ No newline at end of file diff --git a/adventure/games/_votre jeu/adventure.sh b/adventure/games/_votre jeu/adventure.sh new file mode 100755 index 00000000..13dadcec --- /dev/null +++ b/adventure/games/_votre jeu/adventure.sh @@ -0,0 +1,49 @@ +#!/bin/bash +################################################################### +# This Launch script is based on BashVenture. +# +# Remember, kids - sharing is caring! Keep it open. Spread the love. +# - @BenNunney +# Thanks and gratitude to all living creatures and the whole creation. +# - @Fred +# $AGE×365,25×24×60×60×9,807÷299792458 = RELATIVE LIGHT GRAVITY SPEED +################################################################### +# Guide avancé d'écriture des scripts Bash : https://abs.traduc.org/abs-fr/ +# GAMESHELL : https://github.com/phyver/GameShell/ +################################################################### +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" +################################################################### +### CREER VOTRE PROPRE VERSION DU JEU +### CHOISIR SCENARIO + +################################################################### +if hash uuidgen 2>/dev/null; then + homefolder=$(pwd) + newplayer=$(uuidgen) + ## Copy Player Game Files + mkdir -p $HOME/.zen/adventure/$newplayer + cp -r $MY_PATH/rooms $HOME/.zen/adventure/$newplayer/rooms + cp -r $MY_PATH/art $HOME/.zen/adventure/$newplayer/art + cp -r $MY_PATH/script $HOME/.zen/adventure/$newplayer/script + cp -r $MY_PATH/logic $HOME/.zen/adventure/$newplayer/logic +fi +################################################################### +echo "Loading..." +echo +sleep 4 +################################################################### +if hash uuidgen 2>/dev/null; then + cd $HOME/.zen/adventure/$newplayer/rooms +else + cd rooms +fi +./start.sh +################################################################### +if hash uuidgen 2>/dev/null; then + cd "$homefolder" + rm -r $HOME/.zen/adventure/$newplayer +fi +echo "To continue..." +exit diff --git a/adventure/games/_votre jeu/art/Gune.ben b/adventure/games/_votre jeu/art/Gune.ben new file mode 100644 index 00000000..dedb1304 --- /dev/null +++ b/adventure/games/_votre jeu/art/Gune.ben @@ -0,0 +1,21 @@ + + + .';:llllc;'. + .:xXWX;.,ll;.:XWXx;. + ;0MMMMMMKl;'',l0MMMMMWO, + ,0MMMMMMW0dc;,,;cd0WMMMMMMO. + dWMMMMM0; ;OMMMMMN: + dMMMMMN: .,'. cWMMMMMc + ,WMMMMX. .xNMMMMNx,'lONMMMMMMN. + oMMMMM: :WMMMMMMMMMMMMMMMMMMMMc + xMMMMM' xMMMMMMOlllllllloNMMMMo + oMMMMMc ,NMMMMMWd. KMMMM: + .WMMMMN, .l0NWWWKc KMMMX. + cMMMMMWo .. KMMW; + cWMMMMMXo' .lKd. KMK' + .xWMMMMMMN0dlllldONMMMMWOXd + .xNMMMMMMMd''lWMMMMMMXo. + 'lONWMW, .XMWXOl. + ..,,..,,.. + + diff --git a/adventure/games/_votre jeu/art/astrologo.ben b/adventure/games/_votre jeu/art/astrologo.ben new file mode 100644 index 00000000..64180c37 --- /dev/null +++ b/adventure/games/_votre jeu/art/astrologo.ben @@ -0,0 +1,21 @@ + + .':cdxxxxxoc;. + .:x00dc;'..:..,:lk00o' + ;0Xd, oMo :OXx. + :KK; cMMMl .oNk. + .kN: ;MMMMMc xNl + .0K. ,WMMMMMW; ;Wo + OX. ,WMMMMMMMW; ;Wc + cM; .WMMMMMMMMMW, kX. + OX .NMMMMMMMMMMMW' ,Mc + O0 .NMMMMMMMMMMMMMW' .Mc + ON .XMMMMM0kkkkKMMMMN. ,M: + :M; KMMMMM: .,,;dMMMMMN. kX. + ON. 0MMMMMl ,WMMMMMMMMMMX. ;Wc + .0K. 0MMMMMd 'WMMMMMMMMMMMMX. :Wo + .xN: kMMMMMO .XWWWWNNNNNXXKKKd xNc + ;0Xl. .oXx. + ,OXx, .cOKd. + ;d00xl:,....';coO0Ol' + .;:odddddl:,. + diff --git a/adventure/games/_votre jeu/art/astroportland.ben b/adventure/games/_votre jeu/art/astroportland.ben new file mode 100644 index 00000000..f27e1fd1 --- /dev/null +++ b/adventure/games/_votre jeu/art/astroportland.ben @@ -0,0 +1,21 @@ +MMMMMMMMMMMMMMMMMMMl xxlxxxd . KNNMNl. 'd0xdddkXKxc. ,dNMMMMMMMMMMMMMMM +MMMMMMMMMMMWKOl:cc' .NNOMXNX .ld; ,lxXMMMMMMMMMMM +MMMMMMMMNo. ,,' .KKWMOXX .. .dWMMMMMMMM +MMMMMMWc cdddc .NNNMXNX .do '' ' .:,:k; l, .KMMMMMMM +MMMMMW, ;ll: .,:ddddd .KKOM0XX .do '0MMXMo . dMMMMMMXOMX0: XMMMMMM +MMMMMo xc:d 'ddddddd .XXWMK00' .do .oo. .dMMMMMMO;lWNMMMMMMWXMMMX: :MMMMMM +MMMMW. .cXKKXWooK0kk0d0Oxxkkx .XXNM0Ok; .:ol:'do,0MMK ... 'XMMMMMMMMMMMMMMMMMWWMMMMx .dkONMM +MKNK. NMWooOWllKKoMNll0MM0x0 xNXXOMKOkKOoM0kkkOkWMMMM0NWWXXMMMMMMMMMMW:WkWk0OKMWdOMNxd0O. .KM +l dkkMMWloOWcc0KoMNccOMMxl0cMMXXWM0KOMMMM0OkkOKMMMMMMMMMMMMMMMMMMMMM0 : o.. 'll.lMMMMMMx .O + ;kMMMMMWlckWooKXdMNccOMMxlXk0MMMNMMMMMMMM0OkkOWMMMMMMMMMMMMMMMMMMMMMMo0OWW,xNWKcooMM0NN0Oc + .NMMMMMMNllkWllKKoMNll0MMxlNxOMMMOMMMMMMMM0OkOOWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNMMNdxMMMk + ;WMMMMMMMMMMMNNWWNMMMMMMMWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMWx. + :MMkxxxWMMMWkxxxxxxxWXxxxxxxxxKWxxxxxxxxxWMMKxxxxxxKMMKxxxxxxxxKMMXxxxxxx0MMkxxxxxxxxNMXxdlloodO: + :N, OMM0. 'N. 0: :Mc XK Nx kl ,N. ;' +x..M0xddddKMMOddddddddKKddddddddxNxdddddddddOWoooooooooN0ddddddddddNdoooooooo0xdddddddddkKdddddddox. +MWKK ,MN. .,XMMMMl ;MMMM' xc 'MMd .Mx ;x .NMO N; dMMMl ,W +MMMK NM:. 'MMMW. xMMMO dW. oMM. lM' .:N, ;MM; ;K oMMMW. dO +MMMMMMMo xXXXXXk .MMMO NMMM; .WWN. 00 XM0 KK 0WWWWMMW OMX kc .WWW. OMMMO Nc +MMMMMMMX dMMM; ;MMMN dMMk N0 .. oMl .MMMMMMMN ... :W. lMM0 XMMM; ;M' .c +MMMMMMMM, .xMMMW. kMMMx .NMM: cMMd. .;0MM. oMMMMMMMMk. .,kMO XMMl :MMMW. kMOKMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM diff --git a/adventure/games/_votre jeu/art/astrored.ben b/adventure/games/_votre jeu/art/astrored.ben new file mode 100644 index 00000000..7ed4a2b8 --- /dev/null +++ b/adventure/games/_votre jeu/art/astrored.ben @@ -0,0 +1,21 @@ + .,'. + .,,;,'',;,'',,.'. + .;;,,.. .........' + .l:. ............cc. + .c, .................:c. + .lc ................... .l; + l' ... .............. c: + :: .. ........... l' + d . .''...... 'o + .o .. ''''''. l + .d . ......''''''' l + o . .,,,,,,'''''' 'l + ;: . ',,,,''''', l. + l, .. .,,,''''', oc + .lc .',,,''',. .c, + 'l, .,,''',..:c. + ';;. .,,',,:;. + ':;;'. .;:,,,. + .,,'''''','..;,,. + ,:. + ., diff --git a/adventure/games/_votre jeu/art/bigfinish.ben b/adventure/games/_votre jeu/art/bigfinish.ben new file mode 100755 index 00000000..8ca22cfc --- /dev/null +++ b/adventure/games/_votre jeu/art/bigfinish.ben @@ -0,0 +1,9 @@ + _______ _ ______ _ + |__ __| | | ____| | | + | | | |__ ___ | |__ _ __ __| | + | | | '_ \ / _ \ | __| | '_ \ / _` | + | | | | | | __/ | |____| | | | (_| |_ + |_| |_| |_|\___| |______|_| |_|\__,_(_) + + + \ No newline at end of file diff --git a/adventure/games/_votre jeu/art/logoastro.ben b/adventure/games/_votre jeu/art/logoastro.ben new file mode 100644 index 00000000..859e4af1 --- /dev/null +++ b/adventure/games/_votre jeu/art/logoastro.ben @@ -0,0 +1,21 @@ + + + .:dO0NNkNX0ko,. + .:OWMMMMMMc cWMMMMMXd, + 'kWMMMMMMMMc cWMMMMMMMNo. + .kMMMMMMMMMMo lMMMMMMMMMWl + .KMMMMMMMMMMd oMMMMMMMMMMx + .XMMMMMMMMMMk dMMMMMMMMMMx + xMMMMMMMMMM0 OMMMMMMMMMM, + .NMMMMMMMMMK. OMMMMMMMMMk + 'MMMMMMMMMK. OMMMMMMMMK + .NMMMMMMMK. ,;;;;' OMMMMMMMx + dMMMMMMX. kMKkxxc 0MMMMMM, + .KMMMMN. dMx .KMMMMd + .0MMN. cMx .KMMd + xW' 'W0. ......:Xc + .lXNNWNWMMMMMMMMMMMMMMMMXl + ;xXMMMMMMMMMMMMMMWKo' + .,lxkKKKK0kdc' + + diff --git a/adventure/games/_votre jeu/art/supper.ben b/adventure/games/_votre jeu/art/supper.ben new file mode 100755 index 00000000..e1806a8a --- /dev/null +++ b/adventure/games/_votre jeu/art/supper.ben @@ -0,0 +1,10 @@ + _____ _ _ + / ____| (_) | | + | (___ _ _ _ __ _ __ _ __ _ ___ ___| | + \___ \| | | | '__| '_ \| '__| / __|/ _ \ | + ____) | |_| | | | |_) | | | \__ \ __/_| + |_____/ \__,_|_| | .__/|_| |_|___/\___(_) + | | + |_| + + \ No newline at end of file diff --git a/adventure/games/_votre jeu/art/titleart.ben b/adventure/games/_votre jeu/art/titleart.ben new file mode 100755 index 00000000..6da1d7df --- /dev/null +++ b/adventure/games/_votre jeu/art/titleart.ben @@ -0,0 +1,9 @@ + _ _ _ ____ ___ _ ____ + / \ ___| |_ _ __ ___ _ __ ___ _ __| |_ |___ \ / _ \ _ / |___ \ + / _ \ / __| __| '__/ _ \| '_ \ / _ \| '__| __| __) | | | | (_) | | __) | + / ___ \\__ \ |_| | | (_) | |_) | (_) | | | |_ / __/| |_| | _ | |/ __/ +/_/ \_\___/\__|_| \___/| .__/ \___/|_| \__| |_____|\___/ (_) |_|_____| + |_| + + --- Un JEu de Forêt Jardin en Monnaie Libre sur IPFS --- + diff --git a/adventure/games/_votre jeu/logic/leverlogic.ben b/adventure/games/_votre jeu/logic/leverlogic.ben new file mode 100755 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/_votre jeu/logic/leverlogic.ben @@ -0,0 +1 @@ +off diff --git a/adventure/games/_votre jeu/logic/stationlogic.ben b/adventure/games/_votre jeu/logic/stationlogic.ben new file mode 100755 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/_votre jeu/logic/stationlogic.ben @@ -0,0 +1 @@ +off diff --git a/adventure/games/_votre jeu/rooms/bigroom.sh b/adventure/games/_votre jeu/rooms/bigroom.sh new file mode 100755 index 00000000..a3463cf3 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/bigroom.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" + +# This is close to the endgame, but affords the player a last set of things to try and do. +# Obviously if you use this framework to create a game of your own, you can extend this massively. + +echo +sleep 1 +echo "Vous décidez de sortir de la Sation Astroport." +echo + echoleverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + + sleep 2 + echo "Il ne dépend que de vous d'explorer ce nouveau futur." + echo "Le Visa MadeInZion inaugure un monde sans territoire, sans frontière, transnationnal, interplanétaire, à vous de voir?" + sleep 2 + echo "Avant de nous rejoindre. Visitez notre 'bon coin' https://gchange.fr " + echo + sleep 3 + echo "Ouvrez une ambassade? Installez IPFS, devenons hébergeur, fournisseur d'accès de nos Internets." + echo + sleep 4 + echo "Ouvrez votre propriété au futur en commun, activez Astroport." + echo "Nous organisons des formations habitats posés, vissés et cousus. Eau potable. Biogaz, Marmite Norvégienne..." + echo "Comment nourrir le sol, reconnaitre les plantes... Redevenir ceuilleur, créateur." + echo + else + echo "" + echo "Aucune entrée n'est visible." + fi +echo +sleep 5 +echo +echo "Que voulez vous faire?" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Pas moyen de se déplacer." ;; + s ) echo ".Pas le choix." ;; + e ) echo "Pas par là." ;; + w ) echo "Plus à l'ouest que ça? Y'a pas!" ;; + u ) ./end.sh + exit ;; + h ) echo "Comment refuser une telle proposition..." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/_votre jeu/rooms/brown.sh b/adventure/games/_votre jeu/rooms/brown.sh new file mode 100755 index 00000000..9d28126e --- /dev/null +++ b/adventure/games/_votre jeu/rooms/brown.sh @@ -0,0 +1,62 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 + +# Here's this room's script. + +echo "Sur la direction du sud, vous traversez une zone plus sombre et humide." +echo "Le sol est glissant à cause de l'argile qui colle sous vos bottes" +echo "Vous finissez par croiser un chemin qui traverse la forêt d'Est en Ouest" +echo +echo "Un terminal informatique est installé là." +echo +echo "Il ressemble à une grosse calculatrice" + + +# Here we tell the player whether the lever is on or off. +leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "'VISA SVP' clignote sur l'écran..." + else + echo "La machine affiche l'heure : 20:12" + fi +echo +echo "Il est tard pour explorer le chemin à pied, vous devriez retourner d'où vous venez." +echo +echo "Que faites vous?" + +# In this set of actons lies the logic switch used later in the game. +# You have to set this switch to reach the endgame. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./mainroom.sh + exit ;; + s ) echo "Si vous continuez à marcher dans la forêt. Vous allez vous perdre. Demi tour." ;; + e ) echo "Le chemin qui part à l'Est est plein de boue... Impossble d'aller par là." ;; + w ) echo "Une rivière vous empêche de passer." ;; + u ) leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "A chaque frappe d'une touche. l'écran fait défiler le texte 'SCANNEZ VISA SVP'." + else + sed -i 's/off/on/' ../logic/leverlogic.ben + echo "Vous pianotez sur l'appareil..." + sleep 3 + echo "A moment où vous touchez la touche '#' L'écran se met à clignoter..." + echo "Puis le message 'ACTIVATION STATION' défile sur les caractères lumineux." + fi + ;; + h ) echo "Le terminal comporte un clavier numérique. Un petit écran.. Il est réalisé avec un mini ordinateur Raspberry Pi. Il porte l'adresse G1TAG [https://g1sms.fr]" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/_votre jeu/rooms/end.sh b/adventure/games/_votre jeu/rooms/end.sh new file mode 100755 index 00000000..cd40ef11 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/end.sh @@ -0,0 +1,71 @@ +#!/bin/bash +clear + +# This is the endgame. This file does nothing but give you the final bit of storyline. +# Use (over-use) of 'sleep' is for dramatic effect - play around with it, see how it reads. + +# Let's reset the lever, now that we're done with it. +sed -i 's/on/off/' ../logic/leverlogic.ben + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 +echo "Voici la fin de cette petite aventure." +echo +sleep 4 +echo "Vous venez de visiter la forêt où s'est posé Astroport ONE." +sleep 3 +echo +echo "Une oeuvre habitable. Un jardin sur sol vivant. Un progamme pair à pair interplanétaire" +sleep 4 +echo +echo "Les terraformeurs" +echo "En quête de la meilleure façon de vivre sur le vaisseau spatial Terre..." +echo +sleep 5 +echo "Vous aussi ouvrez votre Ambassade." +echo "Activez le JEu. Invitez vos visiteurs à rêver d'un monde meilleur" +echo "Reproduisez, améliorez, partagez les plans pour y parvenir." +echo +sleep 7 +echo "Il est l'heure de laisser derrière vous la civilisation thermo industrielle." +echo "Gagnez en autonomie, en convivialité, en optimisme, en conscience." +echo +sleep 5 +echo +echo "EMBARQUEZ VERS LE FUTUR" +echo +sleep 9 +echo +file1="../art/bigfinish.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo +read -p "Appuyez sur [ENTER] pour terminer..." +echo +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo "Merci d'avoir joué le jeu" +echo "Je suis heureux de vous avoir fait partager le rêve des astronautes terraformeurs." +echo +echo "Le futur ne se prédit pas, il se construit. Il se vit." +echo +echo " - @Fred" +echo + +# That's all, folks! + +exit diff --git a/adventure/games/_votre jeu/rooms/gameroom.sh b/adventure/games/_votre jeu/rooms/gameroom.sh new file mode 100755 index 00000000..cff9f68a --- /dev/null +++ b/adventure/games/_votre jeu/rooms/gameroom.sh @@ -0,0 +1,88 @@ +#!/bin/bash +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# This room gives the player a typical poisoned apple style scenaro. +# Just because something looks shiny and fun, doesn't make it any +# less deadly. +sleep 1 +echo "Dans une cabine, un écran est disposé en coin. Un tout petit ordinateur" +echo "y est raccordé... D'autres fils sortent de l'appareil. Une webcam. Une imprimante." +echo +echo "Que voulez vous faire?" +myIP=$(hostname -I | awk '{print $1}' | head -n 1) +isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/") +[[ ! $myIP || $isLAN ]] && myIP="127.0.1.1" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous êtes dans une cabine. Des QRCode sont collés à la parois nord" ;; + s ) echo "Cette paroie comporte un miroir. Pour se faire une beauté avant d'enregistrer une capsule vidéo." ;; + w ) ./kroo.sh + exit ;; + e ) echo "Vous êtes face à l'écran. Au dessus des hauts parleurs, une webcam" ;; + u ) leverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "A chaque frappe d'une touche. l'écran fait défiler le texte 'SCANNEZ VISA SVP'." + else + sed -i 's/off/on/' ../logic/stationlogic.ben + echo "Vous appuyez sur l'interupteur de l'écran. Y apparaît alors :" + sleep 3 + echo "AMBASSADE MadeInZion - TerraPi4 - 2 To -" + echo "" + echo + sleep 2 + echo "INTERNET est dangereux. il vend vos information personnelles pour que vous deveniez un produit. " + sleep 2 + echo + echo "Rebootez INTERNET. Activez votre TW sur le Système de Fichiers Interplanétaire (IPFS)." + sleep 2 + echo + echo "On y échange en pair à pair. La monnaie y est Libre." + sleep 4 + file1="../art/astrored.ben" + while IFS= read -r line + do + echo "$line" + done <"$file1" + echo + echo + echo "____ Astroport déclenche à 20:12 la synchronisation de ses ambassades..." + echo "Rapport 2022 : https://ipfs.asycn.io/ipfs/QmUtGpGeMZvwp47ftqebVmoFWCmvroy5wEtWsKvWvDWJpR" + sleep 3 + echo + echo "ASTROPORT ONE" + echo "VISA pour le vaisseau spatial TERRE." + if [[ -d ~/.zen/Astroport.ONE ]]; then + read -p "Appuyez sur [ENTER] pour activer votre Station Astroport.ONE" + espeak "Astroport Command" > /dev/null 2>&1 + + ~/.zen/Astroport.ONE/command.sh + else + espeak "Please Install Astroport" > /dev/null 2>&1 + echo "Install Astroport.ONE ..." + echo "bash <(wget -qO- https://raw.githubusercontent.com/papiche/Astroport.ONE/master/install.sh)" + ./end.sh + fi + fi + exit + ;; + + h ) echo "'DEMARRER API http://$myIP:1234 ... Une Station Astroport.ONE.?." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/_votre jeu/rooms/green.sh b/adventure/games/_votre jeu/rooms/green.sh new file mode 100755 index 00000000..d3e56110 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/green.sh @@ -0,0 +1,38 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Everybody clap your hands. I mean, here is the script. +sleep 1 +echo "Vous atteignez une zone remplie de jeunes épineux" +echo "Vous reconnaissez des prunus, des aubépines." +echo "Quelques génévriers dont vous remarquez les baies noires." +echo "Un peu plus loin ce sont les ronces." +echo +echo "Plus vous progressez plus vous souffrez des épines. Existe-t-il un passage? Qui sait." +echo +echo "Que voulez vous faire?" + +# And here's what you could have won... +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Un énorme roncier vous barre la route. Ca ne passe pas." ;; + s ) echo "Vers le sud, aucun passage en vue." ;; + e ) ./mainroom.sh + exit ;; + w ) echo "Vous voyez le même paysage à perte de vue" ;; + u ) echo "Vous cueillez une baie de genèvrier. Vous la portez à la bouche. Croquez. La saveur est délicieuse. La force de la plante vous envahi." ;; + h ) echo "Ce type de terrain est caractéritique des zones déboisées. La nature sort ses épines pour protéger les arbres qui poussent en dessous." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/_votre jeu/rooms/grue.sh b/adventure/games/_votre jeu/rooms/grue.sh new file mode 100755 index 00000000..a6016e52 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/grue.sh @@ -0,0 +1,35 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# I like this room. There is no way to get out of it alive. +sleep 1 +echo "Un évier derrière une fenère, une ancienne porte d'armoire comme table." +echo "Un meuble fait de planches de bois cousues rempli de bocaux" +echo "Une glacière recouverte d'une couche d'isolant Un bruleur à gaz." +echo "C'est un espace pour cuisiner." +sleep 3 +echo +echo "Vous avez soif. Un filtre à eau gravitationnel vous fait face" +echo "vous attraper un gobelet et le remplissez à raz bord du liquide de la bombone" +echo "Vous portez le verre à vos lèvres..." +echo +sleep 5 +echo "A la première gorgée vous vous sentez ramolir. Comment savoir combien vous avez bu" +echo "quand votre corps devenu impossible à garder droit s'est éffondré sur le sol." +echo "Simplement le temps de vous demander pourquoi?" +echo +echo "Vous sombrez dans l'inconscience." +sleep 4 +echo "VOUS VOUS SENTEZ DECOLLER." +echo +read -p "Appuyez sur [ENTER] pour revenir..." +./mainroom.sh + +exit diff --git a/adventure/games/_votre jeu/rooms/kroo.sh b/adventure/games/_votre jeu/rooms/kroo.sh new file mode 100755 index 00000000..9b8f1a11 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/kroo.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear + +# This room gets a little artsy with sleep commands, to help with the +# narrative of the story. This is why there are two versions - foyer and foyer2. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# It's script time again... +sleep 1 +echo "Vous pénétrez à l'intérieur de l'Astroport." +echo +sleep 3 +echo "Une voix synthétique vous accueille." +espeak "Welcome. Please Identify." > /dev/null 2>&1 +echo +echo "Vous parcourez l'espace du regard" +echo "Au nord, face à vous se trouve un foyer où brule un feu." +echo +sleep 3 +echo "A l'ouest sont suspendus tuyaux, ustensiles et bocaux. Une cuisine?" +echo "A l'est il y a un genre de 'photomaton' " +sleep 2 +echo "Derrière vous, la porte par où vous êtes entré est encore ouverte." +echo +echo "Que voulez vous faire?" + +# And once again the room logic. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous asseyez sur le grand tapis devant le feu. Vous vous relaxez un instant." + ./magic8.sh + ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "Vous tapotez sur le barmoètre. Une photo satellite?" + ./meteofrance.sh + exit + ;; + h ) echo "La pièce est spacieuse. La chaleur du feu agréable, à gauche on dirait une cuisine explosée, à droite une chaise moletonnée fait face à un écran." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/_votre jeu/rooms/kroo2.sh b/adventure/games/_votre jeu/rooms/kroo2.sh new file mode 100755 index 00000000..ebdb5e36 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/kroo2.sh @@ -0,0 +1,40 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# So here's a little story all about how this script got flip-turned upside down... +sleep 1 +echo "You're in a corridor, but it's quite a small one. You got here" +echo "the first time by hugging a statue of a kitten. Standard." +echo +echo "You see a glow coming from the rooms to your east and west, and" +echo "there's a big, old looking door to the south of you." +echo +echo "What would you like to do?" + +# Imma let you finish, but here's the room choices. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "You faceplant the wall. Idiot." ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "There's nothing you can use right here." ;; + h ) echo "After hugging that cat you aren't sure you should try to hug yourself again." ;; + * ) echo "I'm sorry, I don't understand you. Commands are: n, e, s, w, u and h.";; + esac +done + +esac +exit \ No newline at end of file diff --git a/adventure/games/_votre jeu/rooms/magic8.sh b/adventure/games/_votre jeu/rooms/magic8.sh new file mode 100755 index 00000000..fa8b8fd7 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/magic8.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# magic 8 ball. Yup. Pick a random number, output message +# source: https://www.linuxjournal.com/content/bash-shell-games-lets-play-go-fish + +answers=("Oui c'est certain." "C'est carrément ça." + "Sans aucun doute." "Oui - assurément." + "Comptez la dessus." "Comme je le vois, oui." "Très probablement." + "Bonne perspective." "Oui." "Les signes indiquent que oui." + "Réponse floue, essayez à nouveau." "Redemandez plus tard." + "Il vaut mieux ne pas vous le dire maintenant.." "Impossible de prédire maintenant." + "Concentrez-vous et demandez à nouveau." "N'y comptez pas." + "Ma réponse est non." "Mes sources disent que non." + "Rien de bon." "Très douteux.") + +echo "Oh ! Boule magique, dis-moi la vérité, s'il te plaît...." ; echo "" +/bin/echo -n "Quelle est votre question ? " +read question + +answer=$(( $RANDOM % 20 )) + +echo "" +echo "J'ai regardé dans le futur et je dis: " +echo " ${answers[$answer]}" ; echo "" + +sleep 3 +./mainroom.sh + +exit diff --git a/adventure/games/_votre jeu/rooms/mainroom.sh b/adventure/games/_votre jeu/rooms/mainroom.sh new file mode 100755 index 00000000..d8b4d8a4 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/mainroom.sh @@ -0,0 +1,45 @@ +#!/bin/bash +clear + +# This is a repeat of the opening room in the start.sh file - if the player +# wants to go back to the main room, this saves going through the whole +# start script over again. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Shakesphere wrote this, honest. +sleep 1 +echo "Vous êtes de retour à votre point de départ." +echo "La forêt qui vous entoure est immense." +echo "Vous ne pouvez pas vraiment en imaginer la taille," +echo +echo "Vous pouvez vous diriger au nord, à l'est, au sud et à l'ouest." +echo +echo "Que voulez-vous faire ?" + +# And the room logic once again. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./white.sh + exit ;; + s ) ./brown.sh + exit ;; + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) echo "Il n'y a rien que vous puissiez utiliser ici." ;; + h ) echo "Vous observez votre montre, il est 20:12" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/_votre jeu/rooms/meteofrance.sh b/adventure/games/_votre jeu/rooms/meteofrance.sh new file mode 100755 index 00000000..a3526818 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/meteofrance.sh @@ -0,0 +1,58 @@ +#!/bin/bash +################################################################################ +# Author: Fred (support@qo-op.com) +# Version: 0.1 +# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) +################################################################################ +MOATS=$(date -u +"%Y%m%d%H%M%S%4N") +mkdir -p ~/.zen/tmp/${MOATS} +################################################################################ +# Choisir la source de capture +# https://fr.sat24.com/image?type=visual5HDComplete®ion=fr + +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +## TEST IPFS +[[ ! $(which ipfs) ]] && echo "Missing IPFS. Please install... https://ipfs.tech" && exit 1 + +## PREPARE FILE SYSTEM CACHE +mkdir -p ~/.zen/adventure/meteo.anim.eu +rm -f ~/.zen/adventure/meteo.anim.eu/meteo.png + +## SCRAPING meteo.png +curl -m 20 --output ~/.zen/adventure/meteo.anim.eu/meteo.png https://s.w-x.co/staticmaps/wu/wu/satir1200_cur/europ/animate.png + +if [[ ! -f ~/.zen/adventure/meteo.anim.eu/meteo.png ]]; then + + echo "Impossible de se connecter au service meteo" + exit 1 + +else + + echo "Mise à jour archive meteo : ${MOATS}" + echo ${MOATS} > ~/.zen/adventure/meteo.anim.eu/.moats + + OLDID=$(cat ~/.zen/adventure/.meteo.index 2>/dev/null) + # TODO : COMPARE SIMILAR OR NOT + # ipfs get "/ipfs/$OLDID/meteo.anim.eu/meteo.png" + + ## PREPARE NEW index.html + sed "s/_OLDID_/$OLDID/g" ${MY_PATH}/../templates/meteo_chain.html > /tmp/index.html + sed -i "s/_IPFSID_/$IPFSID/g" /tmp/index.html + sed -i "s/_DATE_/$(date -u "+%Y-%m-%d#%H:%M:%S")/g" /tmp/index.html + sed "s/_PSEUDO_/${USER}/g" /tmp/index.html > ~/.zen/adventure/index.html + + # Copy style css + cp -r ${MY_PATH}/../templates/styles ~/.zen/adventure/ + + INDEXID=$(ipfs add -rHq ~/.zen/adventure/* | tail -n 1) + echo $INDEXID > ~/.zen/adventure/.meteo.index + echo "METEO INDEX : http://127.0.0.1:8080/ipfs/$INDEXID" + + IPFS=$(ipfs add -q ~/.zen/adventure/meteo.anim.eu/meteo.png | tail -n 1) + echo $IPFS > ~/.zen/adventure/meteo.anim.eu/.chain + +fi + diff --git a/adventure/games/_votre jeu/rooms/red.sh b/adventure/games/_votre jeu/rooms/red.sh new file mode 100755 index 00000000..d7d84245 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/red.sh @@ -0,0 +1,41 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Set up the script for this room. It's a simple one! +sleep 1 +echo "Vous entrez dans l'ancienne bergerie." +echo "Un canapé mauve est installé au milieu de l'espace" +echo "Une bache transparente vous sépare du ciel." +echo +echo "Vous êtes dans une serre." +echo "Une seule sortie. A l'Ouest, d'où vous venez." +echo +echo "Que voulez-vous faire?" + +# And the choices go here. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Une fente dans le mur vous laisse observer une carcasse de voiture. Une vieille 2cv. Un grillage vous empêche de passer." ;; + s ) echo "L'emplacement d'un grand feu se trouve la. Il ne reste que de la cendre." ;; + e ) echo "Une autre pièce remplie de gravats et d'éboulis se trouve devant vous. Impossible d'y accéder." ;; + w ) ./mainroom.sh + exit ;; + u ) echo "Vous vous asseyez dans le canapé. Vous vous sentez immédiatement happé par un nuage." + sleep 2 + xdg-open "https://www.copylaradio.com/blog/blog-1/post/le-pas-a-pas-qui-libere-du-grand-mechant-cloud-36#scrollTop=0" + ;; + h ) echo "Aucun détail particulier si ce n'est une tache sur le sofa." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/_votre jeu/rooms/start.sh b/adventure/games/_votre jeu/rooms/start.sh new file mode 100755 index 00000000..2704f215 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/start.sh @@ -0,0 +1,72 @@ +#!/bin/bash + +clear + +# Logic in the game is stored in .ben files. This sample has just one 'logic' file. +# You can add more logic files by simply adding a 'sed' command and appropriate .ben file. +# First off, let us reset the game logic. Use this as an example. + +sed -i 's/on/off/' ../logic/leverlogic.ben + +# Who doen't love ASCII text, right? +# Next up, let's initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Next up, let's load in the initial introduction. Script is also stored in .ben files. +sleep 5 +file2="../script/opening.ben" +while IFS= read -r line +do + echo "$line" +done <"$file2" +read -p "Pressez sur [ENTER] pour démarrer..." + +#Okay, now that the introduction is out of the way, we can start the first room! +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +sleep 1 + +# Here's where you introduce the room to the player. Be sure to tell them if there +# Are exits - but don't give too much away. Make it fun for them to explore! +echo +echo "La téléportation vous a placé debout au centre d'une clairière." +echo "Vous vous trouvez près d'une ancienne bergerie aux gros murs de pierres." +echo "Le toit et une bonne partie des murs sont effondrés." +echo +echo "Tout autour la forêt. Des feuillus. Quelques arbustres épineux." +echo "Sous vos pieds. Le sol est rouge parsemé de cailloux blancs." +echo +echo "Vous pouvez vous diriger selon les points cardinaux." +echo "Au nord un chemin remonte, au sud un passage descend, à l'est, la bergerie, à l'ouest, des traces d'animaux" +echo +echo "Que voulez-vous faire? Les commandes sont : n, e, s, w, u et h." + +# Now we wait for their response - and send them somewhere accordingly. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./white.sh + exit ;; # These lines will take the player to a new room - a new script file. + s ) ./brown.sh + exit ;; # Be sure to include 'exit' otherwise the game won't quit properly! + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) echo "Vous ouvrez votre sac il contient une tente, des vêtements, un thermos, une scie pliante et un couteau" ;; # Something to say? You can also just echo. + h ) echo "Comment avez-vous pu arriver ici.? Des souvenirs vous reviennent... https://ipfs.copylaradio.com/ipfs/QmWyCFvvvrE1xWudCnc14oDvaztLaRZ4guvQFVkkDLwa23#JOUR%201.%20PLANETE%201." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/_votre jeu/rooms/white.sh b/adventure/games/_votre jeu/rooms/white.sh new file mode 100755 index 00000000..5c048d08 --- /dev/null +++ b/adventure/games/_votre jeu/rooms/white.sh @@ -0,0 +1,62 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +#Setting up the room... +sleep 1 +echo "Vous parcourez un chemin qui monte en direction du nord.." +echo "Au sommet de cette petite colline vous découvrez un magestueux chêne" +echo "trônant au centre d'une clairière lumineuse. La forêt à cet endroit" +echo "forme un cercle tout autour..." +echo +echo "Un Astroport fait de vitres, de planches, de tôles et de chevrons" +echo "est posé là. Eclairé par les rayons du soleil." +echo +# Here we're going to check to see if the lever - the only logic we are using in this game - is on or off. +leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "Une poignée est apparue sur la porte de la façade..." + else + echo "Vous en faites le tour..." + echo "Aucune entrée n'est visible." + fi + +echo +echo "Pas d'autre chemin praticable que celui d'où vous venez." +echo +echo "Que voulez-vous faire ?" + +# Now lets capture this room's actions. Note that here, the actions change depending on whether or not +# the lever is on or off. If it's on, you go elsewhere. If it's off, you don't. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous aventurez dans la forêt plus au nord. Sans boussole, vous allez vous perdre rapidement... " ;; + s ) ./mainroom.sh + exit ;; + e ) echo "Une corniche surplombe un ruisseau qui coule dans le fond de la ravine. Impossible de passer sans équipement" ;; + w ) echo "Vous voilà face à un Jardin luxuriant. Une cloture électrique le délimite et en empêche l'accès." ;; + h ) echo "Vous voyez à l'interieur de la Station une video en cours de projection..." + sleep 2 + xdg-open "https://www.youtube.com/embed/Yk-WRXKysXM" + ;; + u ) leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + ./kroo.sh + exit + else + echo "Vous cherchez une ouverture... Pas la moindre. Impossible d'entrer sans commettre une effraction..." + fi + ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/_votre jeu/script/opening.ben b/adventure/games/_votre jeu/script/opening.ben new file mode 100755 index 00000000..398233a3 --- /dev/null +++ b/adventure/games/_votre jeu/script/opening.ben @@ -0,0 +1,23 @@ +Message de la Confédération Interplanétaire + +La planète où vous vous trouvez est en danger. Les menaces sont nombreuses. +Vos gouvernements se disputent les dernières ressources. Le cycle du vivant est perturbé ! +Le "contrat social" des 'pays civilisés' vascille. Les technocrates réclament plus de contrôle. + +La commission extraterrestre est formelle. Vous êtes en danger. + +Heureusement la monnaie libre a été découverte sur votre planète! +Elle s'utilise dans un jeu 'grandeur nature'. Astroport 20:12 +Bienvenue dans l'aventure du changement de civilisation. + +Les commandes pour vous déplacer et interagir sont +'n' aller au nord, +'s' aller au sud, +'e' aller à l'est, +'w' aller à l'ouest, +'u' utiliser, +'h' observer plus en détail. + +Ctrl-C pour quitter. + + - - - diff --git a/adventure/games/anais.dupin@ynov.com/rooms/start.sh b/adventure/games/anais.dupin@ynov.com/rooms/start.sh new file mode 100644 index 00000000..e247bc8d --- /dev/null +++ b/adventure/games/anais.dupin@ynov.com/rooms/start.sh @@ -0,0 +1,45 @@ +#!/bin/bash + +# Générer une opération mathématique aléatoire +generate_operation() { + local operators=("+" "-" "*" "/") + local operator=${operators[$RANDOM % ${#operators[@]} ]} + local operand1=$((RANDOM % 20 + 1)) + local operand2=$((RANDOM % 20 + 1)) + + echo "$operand1 $operator $operand2" +} + +# Vérifier la réponse +check_answer() { + local result=$(echo "$1" | bc -l) + if [ "$result" == "$2" ]; then + echo "Correct !" + return 0 + else + echo "Incorrect. La réponse était $result." + return 1 + fi +} + +# Boucle principale du jeu +while true; do + # Générer une opération + operation=$(generate_operation) + + # Afficher l'opération et demander à l'utilisateur de fournir la réponse + read -p "Résolvez $operation : " user_answer + + # Vérifier la réponse + if check_answer "$operation" "$user_answer"; then + # Si correcte, continuer avec une nouvelle opération + echo "Bravo !" + else + # Si la réponse est incorrecte, demander à l'utilisateur s'il veut quitter ou continuer + read -p "Voulez-vous continuer ? (O/n) " continue_playing + if [ "$continue_playing" == "n" ]; then + echo "Merci d'avoir joué. Au revoir !" + break + fi + fi +done diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/adventure.sh b/adventure/games/antonio.gernacaleixo@ynov.com/adventure.sh new file mode 100755 index 00000000..13dadcec --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/adventure.sh @@ -0,0 +1,49 @@ +#!/bin/bash +################################################################### +# This Launch script is based on BashVenture. +# +# Remember, kids - sharing is caring! Keep it open. Spread the love. +# - @BenNunney +# Thanks and gratitude to all living creatures and the whole creation. +# - @Fred +# $AGE×365,25×24×60×60×9,807÷299792458 = RELATIVE LIGHT GRAVITY SPEED +################################################################### +# Guide avancé d'écriture des scripts Bash : https://abs.traduc.org/abs-fr/ +# GAMESHELL : https://github.com/phyver/GameShell/ +################################################################### +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" +################################################################### +### CREER VOTRE PROPRE VERSION DU JEU +### CHOISIR SCENARIO + +################################################################### +if hash uuidgen 2>/dev/null; then + homefolder=$(pwd) + newplayer=$(uuidgen) + ## Copy Player Game Files + mkdir -p $HOME/.zen/adventure/$newplayer + cp -r $MY_PATH/rooms $HOME/.zen/adventure/$newplayer/rooms + cp -r $MY_PATH/art $HOME/.zen/adventure/$newplayer/art + cp -r $MY_PATH/script $HOME/.zen/adventure/$newplayer/script + cp -r $MY_PATH/logic $HOME/.zen/adventure/$newplayer/logic +fi +################################################################### +echo "Loading..." +echo +sleep 4 +################################################################### +if hash uuidgen 2>/dev/null; then + cd $HOME/.zen/adventure/$newplayer/rooms +else + cd rooms +fi +./start.sh +################################################################### +if hash uuidgen 2>/dev/null; then + cd "$homefolder" + rm -r $HOME/.zen/adventure/$newplayer +fi +echo "To continue..." +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/art/Gune.ben b/adventure/games/antonio.gernacaleixo@ynov.com/art/Gune.ben new file mode 100644 index 00000000..dedb1304 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/art/Gune.ben @@ -0,0 +1,21 @@ + + + .';:llllc;'. + .:xXWX;.,ll;.:XWXx;. + ;0MMMMMMKl;'',l0MMMMMWO, + ,0MMMMMMW0dc;,,;cd0WMMMMMMO. + dWMMMMM0; ;OMMMMMN: + dMMMMMN: .,'. cWMMMMMc + ,WMMMMX. .xNMMMMNx,'lONMMMMMMN. + oMMMMM: :WMMMMMMMMMMMMMMMMMMMMc + xMMMMM' xMMMMMMOlllllllloNMMMMo + oMMMMMc ,NMMMMMWd. KMMMM: + .WMMMMN, .l0NWWWKc KMMMX. + cMMMMMWo .. KMMW; + cWMMMMMXo' .lKd. KMK' + .xWMMMMMMN0dlllldONMMMMWOXd + .xNMMMMMMMd''lWMMMMMMXo. + 'lONWMW, .XMWXOl. + ..,,..,,.. + + diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/art/astrologo.ben b/adventure/games/antonio.gernacaleixo@ynov.com/art/astrologo.ben new file mode 100644 index 00000000..64180c37 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/art/astrologo.ben @@ -0,0 +1,21 @@ + + .':cdxxxxxoc;. + .:x00dc;'..:..,:lk00o' + ;0Xd, oMo :OXx. + :KK; cMMMl .oNk. + .kN: ;MMMMMc xNl + .0K. ,WMMMMMW; ;Wo + OX. ,WMMMMMMMW; ;Wc + cM; .WMMMMMMMMMW, kX. + OX .NMMMMMMMMMMMW' ,Mc + O0 .NMMMMMMMMMMMMMW' .Mc + ON .XMMMMM0kkkkKMMMMN. ,M: + :M; KMMMMM: .,,;dMMMMMN. kX. + ON. 0MMMMMl ,WMMMMMMMMMMX. ;Wc + .0K. 0MMMMMd 'WMMMMMMMMMMMMX. :Wo + .xN: kMMMMMO .XWWWWNNNNNXXKKKd xNc + ;0Xl. .oXx. + ,OXx, .cOKd. + ;d00xl:,....';coO0Ol' + .;:odddddl:,. + diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/art/astroportland.ben b/adventure/games/antonio.gernacaleixo@ynov.com/art/astroportland.ben new file mode 100644 index 00000000..f27e1fd1 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/art/astroportland.ben @@ -0,0 +1,21 @@ +MMMMMMMMMMMMMMMMMMMl xxlxxxd . KNNMNl. 'd0xdddkXKxc. ,dNMMMMMMMMMMMMMMM +MMMMMMMMMMMWKOl:cc' .NNOMXNX .ld; ,lxXMMMMMMMMMMM +MMMMMMMMNo. ,,' .KKWMOXX .. .dWMMMMMMMM +MMMMMMWc cdddc .NNNMXNX .do '' ' .:,:k; l, .KMMMMMMM +MMMMMW, ;ll: .,:ddddd .KKOM0XX .do '0MMXMo . dMMMMMMXOMX0: XMMMMMM +MMMMMo xc:d 'ddddddd .XXWMK00' .do .oo. .dMMMMMMO;lWNMMMMMMWXMMMX: :MMMMMM +MMMMW. .cXKKXWooK0kk0d0Oxxkkx .XXNM0Ok; .:ol:'do,0MMK ... 'XMMMMMMMMMMMMMMMMMWWMMMMx .dkONMM +MKNK. NMWooOWllKKoMNll0MM0x0 xNXXOMKOkKOoM0kkkOkWMMMM0NWWXXMMMMMMMMMMW:WkWk0OKMWdOMNxd0O. .KM +l dkkMMWloOWcc0KoMNccOMMxl0cMMXXWM0KOMMMM0OkkOKMMMMMMMMMMMMMMMMMMMMM0 : o.. 'll.lMMMMMMx .O + ;kMMMMMWlckWooKXdMNccOMMxlXk0MMMNMMMMMMMM0OkkOWMMMMMMMMMMMMMMMMMMMMMMo0OWW,xNWKcooMM0NN0Oc + .NMMMMMMNllkWllKKoMNll0MMxlNxOMMMOMMMMMMMM0OkOOWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNMMNdxMMMk + ;WMMMMMMMMMMMNNWWNMMMMMMMWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMWx. + :MMkxxxWMMMWkxxxxxxxWXxxxxxxxxKWxxxxxxxxxWMMKxxxxxxKMMKxxxxxxxxKMMXxxxxxx0MMkxxxxxxxxNMXxdlloodO: + :N, OMM0. 'N. 0: :Mc XK Nx kl ,N. ;' +x..M0xddddKMMOddddddddKKddddddddxNxdddddddddOWoooooooooN0ddddddddddNdoooooooo0xdddddddddkKdddddddox. +MWKK ,MN. .,XMMMMl ;MMMM' xc 'MMd .Mx ;x .NMO N; dMMMl ,W +MMMK NM:. 'MMMW. xMMMO dW. oMM. lM' .:N, ;MM; ;K oMMMW. dO +MMMMMMMo xXXXXXk .MMMO NMMM; .WWN. 00 XM0 KK 0WWWWMMW OMX kc .WWW. OMMMO Nc +MMMMMMMX dMMM; ;MMMN dMMk N0 .. oMl .MMMMMMMN ... :W. lMM0 XMMM; ;M' .c +MMMMMMMM, .xMMMW. kMMMx .NMM: cMMd. .;0MM. oMMMMMMMMk. .,kMO XMMl :MMMW. kMOKMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/art/astrored.ben b/adventure/games/antonio.gernacaleixo@ynov.com/art/astrored.ben new file mode 100644 index 00000000..7ed4a2b8 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/art/astrored.ben @@ -0,0 +1,21 @@ + .,'. + .,,;,'',;,'',,.'. + .;;,,.. .........' + .l:. ............cc. + .c, .................:c. + .lc ................... .l; + l' ... .............. c: + :: .. ........... l' + d . .''...... 'o + .o .. ''''''. l + .d . ......''''''' l + o . .,,,,,,'''''' 'l + ;: . ',,,,''''', l. + l, .. .,,,''''', oc + .lc .',,,''',. .c, + 'l, .,,''',..:c. + ';;. .,,',,:;. + ':;;'. .;:,,,. + .,,'''''','..;,,. + ,:. + ., diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/art/bigfinish.ben b/adventure/games/antonio.gernacaleixo@ynov.com/art/bigfinish.ben new file mode 100755 index 00000000..8ca22cfc --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/art/bigfinish.ben @@ -0,0 +1,9 @@ + _______ _ ______ _ + |__ __| | | ____| | | + | | | |__ ___ | |__ _ __ __| | + | | | '_ \ / _ \ | __| | '_ \ / _` | + | | | | | | __/ | |____| | | | (_| |_ + |_| |_| |_|\___| |______|_| |_|\__,_(_) + + + \ No newline at end of file diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/art/logoastro.ben b/adventure/games/antonio.gernacaleixo@ynov.com/art/logoastro.ben new file mode 100644 index 00000000..859e4af1 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/art/logoastro.ben @@ -0,0 +1,21 @@ + + + .:dO0NNkNX0ko,. + .:OWMMMMMMc cWMMMMMXd, + 'kWMMMMMMMMc cWMMMMMMMNo. + .kMMMMMMMMMMo lMMMMMMMMMWl + .KMMMMMMMMMMd oMMMMMMMMMMx + .XMMMMMMMMMMk dMMMMMMMMMMx + xMMMMMMMMMM0 OMMMMMMMMMM, + .NMMMMMMMMMK. OMMMMMMMMMk + 'MMMMMMMMMK. OMMMMMMMMK + .NMMMMMMMK. ,;;;;' OMMMMMMMx + dMMMMMMX. kMKkxxc 0MMMMMM, + .KMMMMN. dMx .KMMMMd + .0MMN. cMx .KMMd + xW' 'W0. ......:Xc + .lXNNWNWMMMMMMMMMMMMMMMMXl + ;xXMMMMMMMMMMMMMMWKo' + .,lxkKKKK0kdc' + + diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/art/supper.ben b/adventure/games/antonio.gernacaleixo@ynov.com/art/supper.ben new file mode 100755 index 00000000..e1806a8a --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/art/supper.ben @@ -0,0 +1,10 @@ + _____ _ _ + / ____| (_) | | + | (___ _ _ _ __ _ __ _ __ _ ___ ___| | + \___ \| | | | '__| '_ \| '__| / __|/ _ \ | + ____) | |_| | | | |_) | | | \__ \ __/_| + |_____/ \__,_|_| | .__/|_| |_|___/\___(_) + | | + |_| + + \ No newline at end of file diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/art/titleart.ben b/adventure/games/antonio.gernacaleixo@ynov.com/art/titleart.ben new file mode 100755 index 00000000..6da1d7df --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/art/titleart.ben @@ -0,0 +1,9 @@ + _ _ _ ____ ___ _ ____ + / \ ___| |_ _ __ ___ _ __ ___ _ __| |_ |___ \ / _ \ _ / |___ \ + / _ \ / __| __| '__/ _ \| '_ \ / _ \| '__| __| __) | | | | (_) | | __) | + / ___ \\__ \ |_| | | (_) | |_) | (_) | | | |_ / __/| |_| | _ | |/ __/ +/_/ \_\___/\__|_| \___/| .__/ \___/|_| \__| |_____|\___/ (_) |_|_____| + |_| + + --- Un JEu de Forêt Jardin en Monnaie Libre sur IPFS --- + diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/logic/leverlogic.ben b/adventure/games/antonio.gernacaleixo@ynov.com/logic/leverlogic.ben new file mode 100755 index 00000000..b3d86404 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/logic/leverlogic.ben @@ -0,0 +1 @@ +on diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/logic/stationlogic.ben b/adventure/games/antonio.gernacaleixo@ynov.com/logic/stationlogic.ben new file mode 100755 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/logic/stationlogic.ben @@ -0,0 +1 @@ +off diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/note b/adventure/games/antonio.gernacaleixo@ynov.com/note new file mode 100644 index 00000000..75754038 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/note @@ -0,0 +1,2 @@ + +Pour voir les nouvelles fonctionnalités il faut monter tout au nord et rejoindre le Valhalla. \ No newline at end of file diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/bigroom.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/bigroom.sh new file mode 100755 index 00000000..a3463cf3 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/bigroom.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" + +# This is close to the endgame, but affords the player a last set of things to try and do. +# Obviously if you use this framework to create a game of your own, you can extend this massively. + +echo +sleep 1 +echo "Vous décidez de sortir de la Sation Astroport." +echo + echoleverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + + sleep 2 + echo "Il ne dépend que de vous d'explorer ce nouveau futur." + echo "Le Visa MadeInZion inaugure un monde sans territoire, sans frontière, transnationnal, interplanétaire, à vous de voir?" + sleep 2 + echo "Avant de nous rejoindre. Visitez notre 'bon coin' https://gchange.fr " + echo + sleep 3 + echo "Ouvrez une ambassade? Installez IPFS, devenons hébergeur, fournisseur d'accès de nos Internets." + echo + sleep 4 + echo "Ouvrez votre propriété au futur en commun, activez Astroport." + echo "Nous organisons des formations habitats posés, vissés et cousus. Eau potable. Biogaz, Marmite Norvégienne..." + echo "Comment nourrir le sol, reconnaitre les plantes... Redevenir ceuilleur, créateur." + echo + else + echo "" + echo "Aucune entrée n'est visible." + fi +echo +sleep 5 +echo +echo "Que voulez vous faire?" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Pas moyen de se déplacer." ;; + s ) echo ".Pas le choix." ;; + e ) echo "Pas par là." ;; + w ) echo "Plus à l'ouest que ça? Y'a pas!" ;; + u ) ./end.sh + exit ;; + h ) echo "Comment refuser une telle proposition..." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/brown.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/brown.sh new file mode 100755 index 00000000..08ab556a --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/brown.sh @@ -0,0 +1,62 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 + +# Here's this room's script. + +echo "Sur la direction du sud, vous traversez une zone plus sombre et humide." +echo "Le sol est glissant à cause de l'argile qui colle sous vos bottes" +echo "Vous finissez par croiser un chemin qui traverse la forêt d'Est en Ouest" +echo +echo "Un terminal informatique est installé là." +echo +echo "Il ressemble à une grosse calculatrice" + + +# Here we tell the player whether the lever is on or off. +leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "'VISA SVP' clignote sur l'écran..." + else + echo "La machine affiche l'heure : 20:12" + fi +echo +echo "Il est tard pour explorer le chemin à pied, vous devriez retourner d'où vous venez." +echo +echo "Que faites vous?" + +# In this set of actons lies the logic switch used later in the game. +# You have to set this switch to reach the endgame. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./mainroom.sh + exit ;; + s ) echo "Si vous continuez à marcher dans la forêt. Vous allez vous perdre..." ;; + e ) echo "Le chemin qui part à l'Est est plein de boue... Impossble d'aller par là." ;; + w ) echo "Une rivière vous empêche de passer." ;; + u ) leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "A chaque frappe d'une touche. l'écran fait défiler le texte 'SCANNEZ VISA SVP'." + else + sed -i='' 's/off/on/' ../logic/leverlogic.ben + echo "Vous pianotez sur l'appareil..." + sleep 3 + echo "A moment où vous touchez la touche '#' L'écran se met à clignoter..." + echo "Puis le message 'ACTIVATION STATION' défile sur les caractères lumineux." + fi + ;; + h ) echo "Le terminal comporte un clavier numérique. Un petit écran.. Il est réalisé avec un mini ordinateur Raspberry Pi. Il porte l'adresse G1TAG [https://g1sms.fr]" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/end.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/end.sh new file mode 100755 index 00000000..5a84c0bd --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/end.sh @@ -0,0 +1,71 @@ +#!/bin/bash +clear + +# This is the endgame. This file does nothing but give you the final bit of storyline. +# Use (over-use) of 'sleep' is for dramatic effect - play around with it, see how it reads. + +# Let's reset the lever, now that we're done with it. +sed -i='' 's/on/off/' ../logic/leverlogic.ben + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 +echo "Voici la fin de cette petite aventure." +echo +sleep 4 +echo "Vous venez de visiter la forêt où s'est posé Astroport ONE." +sleep 3 +echo +echo "Une oeuvre habitable. Un jardin sur sol vivant. Un progamme pair à pair interplanétaire" +sleep 4 +echo +echo "Les terraformeurs" +echo "En quête de la meilleure façon de vivre sur le vaisseau spatial Terre..." +echo +sleep 5 +echo "Vous aussi ouvrez votre Ambassade." +echo "Activez le JEu. Invitez vos visiteurs à rêver d'un monde meilleur" +echo "Reproduisez, améliorez, partagez les plans pour y parvenir." +echo +sleep 7 +echo "Il est l'heure de laisser derrière vous la civilisation thermo industrielle." +echo "Gagnez en autonomie, en convivialité, en optimisme, en conscience." +echo +sleep 5 +echo +echo "EMBARQUEZ VERS LE FUTUR" +echo +sleep 9 +echo +file1="../art/bigfinish.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo +read -p "Appuyez sur [ENTER] pour terminer..." +echo +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo "Merci d'avoir joué le jeu" +echo "Je suis heureux de vous avoir fait partager le rêve des astronautes terraformeurs." +echo +echo "Le futur ne se prédit pas, il se construit. Il se vit." +echo +echo " - @Fred" +echo + +# That's all, folks! + +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/gameroom.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/gameroom.sh new file mode 100755 index 00000000..dbdb370d --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/gameroom.sh @@ -0,0 +1,88 @@ +#!/bin/bash +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# This room gives the player a typical poisoned apple style scenaro. +# Just because something looks shiny and fun, doesn't make it any +# less deadly. +sleep 1 +echo "Dans une cabine, un écran est disposé en coin. Un tout petit ordinateur" +echo "y est raccordé... D'autres fils sortent de l'appareil. Une webcam. Une imprimante." +echo +echo "Que voulez vous faire?" +myIP=$(hostname -I | awk '{print $1}' | head -n 1) +isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/") +[[ ! $myIP || $isLAN ]] && myIP="127.0.1.1" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous êtes dans une cabine. Des QRCode sont collés à la parois nord" ;; + s ) echo "Cette paroie comporte un miroir. Pour se faire une beauté avant d'enregistrer une capsule vidéo." ;; + w ) ./kroo.sh + exit ;; + e ) echo "Vous êtes face à l'écran. Au dessus des hauts parleurs, une webcam" ;; + u ) leverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "A chaque frappe d'une touche. l'écran fait défiler le texte 'SCANNEZ VISA SVP'." + else + sed -i='' 's/off/on/' ../logic/stationlogic.ben + echo "Vous appuyez sur l'interupteur de l'écran. Y apparaît alors :" + sleep 3 + echo "AMBASSADE MadeInZion - TerraPi4 - 2 To -" + echo "" + echo + sleep 2 + echo "INTERNET est dangereux. il vend vos information personnelles pour que vous deveniez un produit. " + sleep 2 + echo + echo "Rebootez INTERNET. Activez votre TW sur le Système de Fichiers Interplanétaire (IPFS)." + sleep 2 + echo + echo "On y échange en pair à pair. La monnaie y est Libre." + sleep 4 + file1="../art/astrored.ben" + while IFS= read -r line + do + echo "$line" + done <"$file1" + echo + echo + echo "____ Astroport déclenche à 20:12 la synchronisation de ses ambassades..." + echo "Rapport 2022 : https://ipfs.asycn.io/ipfs/QmUtGpGeMZvwp47ftqebVmoFWCmvroy5wEtWsKvWvDWJpR" + sleep 3 + echo + echo "ASTROPORT ONE" + echo "VISA pour le vaisseau spatial TERRE." + if [[ -d ~/.zen/Astroport.ONE ]]; then + read -p "Appuyez sur [ENTER] pour activer votre Station Astroport.ONE" + espeak "Astroport Command" > /dev/null 2>&1 + + ~/.zen/Astroport.ONE/command.sh + else + espeak "Please Install Astroport" > /dev/null 2>&1 + echo "Install Astroport.ONE ..." + echo "bash <(wget -qO- https://raw.githubusercontent.com/papiche/Astroport.ONE/master/install.sh)" + ./end.sh + fi + fi + exit + ;; + + h ) echo "'DEMARRER API http://$myIP:1234 ... Une Station Astroport.ONE.?." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/green.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/green.sh new file mode 100755 index 00000000..d3e56110 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/green.sh @@ -0,0 +1,38 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Everybody clap your hands. I mean, here is the script. +sleep 1 +echo "Vous atteignez une zone remplie de jeunes épineux" +echo "Vous reconnaissez des prunus, des aubépines." +echo "Quelques génévriers dont vous remarquez les baies noires." +echo "Un peu plus loin ce sont les ronces." +echo +echo "Plus vous progressez plus vous souffrez des épines. Existe-t-il un passage? Qui sait." +echo +echo "Que voulez vous faire?" + +# And here's what you could have won... +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Un énorme roncier vous barre la route. Ca ne passe pas." ;; + s ) echo "Vers le sud, aucun passage en vue." ;; + e ) ./mainroom.sh + exit ;; + w ) echo "Vous voyez le même paysage à perte de vue" ;; + u ) echo "Vous cueillez une baie de genèvrier. Vous la portez à la bouche. Croquez. La saveur est délicieuse. La force de la plante vous envahi." ;; + h ) echo "Ce type de terrain est caractéritique des zones déboisées. La nature sort ses épines pour protéger les arbres qui poussent en dessous." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/grue.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/grue.sh new file mode 100755 index 00000000..a6016e52 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/grue.sh @@ -0,0 +1,35 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# I like this room. There is no way to get out of it alive. +sleep 1 +echo "Un évier derrière une fenère, une ancienne porte d'armoire comme table." +echo "Un meuble fait de planches de bois cousues rempli de bocaux" +echo "Une glacière recouverte d'une couche d'isolant Un bruleur à gaz." +echo "C'est un espace pour cuisiner." +sleep 3 +echo +echo "Vous avez soif. Un filtre à eau gravitationnel vous fait face" +echo "vous attraper un gobelet et le remplissez à raz bord du liquide de la bombone" +echo "Vous portez le verre à vos lèvres..." +echo +sleep 5 +echo "A la première gorgée vous vous sentez ramolir. Comment savoir combien vous avez bu" +echo "quand votre corps devenu impossible à garder droit s'est éffondré sur le sol." +echo "Simplement le temps de vous demander pourquoi?" +echo +echo "Vous sombrez dans l'inconscience." +sleep 4 +echo "VOUS VOUS SENTEZ DECOLLER." +echo +read -p "Appuyez sur [ENTER] pour revenir..." +./mainroom.sh + +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/kroo.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/kroo.sh new file mode 100755 index 00000000..9b8f1a11 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/kroo.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear + +# This room gets a little artsy with sleep commands, to help with the +# narrative of the story. This is why there are two versions - foyer and foyer2. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# It's script time again... +sleep 1 +echo "Vous pénétrez à l'intérieur de l'Astroport." +echo +sleep 3 +echo "Une voix synthétique vous accueille." +espeak "Welcome. Please Identify." > /dev/null 2>&1 +echo +echo "Vous parcourez l'espace du regard" +echo "Au nord, face à vous se trouve un foyer où brule un feu." +echo +sleep 3 +echo "A l'ouest sont suspendus tuyaux, ustensiles et bocaux. Une cuisine?" +echo "A l'est il y a un genre de 'photomaton' " +sleep 2 +echo "Derrière vous, la porte par où vous êtes entré est encore ouverte." +echo +echo "Que voulez vous faire?" + +# And once again the room logic. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous asseyez sur le grand tapis devant le feu. Vous vous relaxez un instant." + ./magic8.sh + ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "Vous tapotez sur le barmoètre. Une photo satellite?" + ./meteofrance.sh + exit + ;; + h ) echo "La pièce est spacieuse. La chaleur du feu agréable, à gauche on dirait une cuisine explosée, à droite une chaise moletonnée fait face à un écran." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/kroo2.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/kroo2.sh new file mode 100755 index 00000000..ebdb5e36 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/kroo2.sh @@ -0,0 +1,40 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# So here's a little story all about how this script got flip-turned upside down... +sleep 1 +echo "You're in a corridor, but it's quite a small one. You got here" +echo "the first time by hugging a statue of a kitten. Standard." +echo +echo "You see a glow coming from the rooms to your east and west, and" +echo "there's a big, old looking door to the south of you." +echo +echo "What would you like to do?" + +# Imma let you finish, but here's the room choices. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "You faceplant the wall. Idiot." ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "There's nothing you can use right here." ;; + h ) echo "After hugging that cat you aren't sure you should try to hug yourself again." ;; + * ) echo "I'm sorry, I don't understand you. Commands are: n, e, s, w, u and h.";; + esac +done + +esac +exit \ No newline at end of file diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/magic8.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/magic8.sh new file mode 100755 index 00000000..fa8b8fd7 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/magic8.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# magic 8 ball. Yup. Pick a random number, output message +# source: https://www.linuxjournal.com/content/bash-shell-games-lets-play-go-fish + +answers=("Oui c'est certain." "C'est carrément ça." + "Sans aucun doute." "Oui - assurément." + "Comptez la dessus." "Comme je le vois, oui." "Très probablement." + "Bonne perspective." "Oui." "Les signes indiquent que oui." + "Réponse floue, essayez à nouveau." "Redemandez plus tard." + "Il vaut mieux ne pas vous le dire maintenant.." "Impossible de prédire maintenant." + "Concentrez-vous et demandez à nouveau." "N'y comptez pas." + "Ma réponse est non." "Mes sources disent que non." + "Rien de bon." "Très douteux.") + +echo "Oh ! Boule magique, dis-moi la vérité, s'il te plaît...." ; echo "" +/bin/echo -n "Quelle est votre question ? " +read question + +answer=$(( $RANDOM % 20 )) + +echo "" +echo "J'ai regardé dans le futur et je dis: " +echo " ${answers[$answer]}" ; echo "" + +sleep 3 +./mainroom.sh + +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/mainroom.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/mainroom.sh new file mode 100755 index 00000000..d8b4d8a4 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/mainroom.sh @@ -0,0 +1,45 @@ +#!/bin/bash +clear + +# This is a repeat of the opening room in the start.sh file - if the player +# wants to go back to the main room, this saves going through the whole +# start script over again. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Shakesphere wrote this, honest. +sleep 1 +echo "Vous êtes de retour à votre point de départ." +echo "La forêt qui vous entoure est immense." +echo "Vous ne pouvez pas vraiment en imaginer la taille," +echo +echo "Vous pouvez vous diriger au nord, à l'est, au sud et à l'ouest." +echo +echo "Que voulez-vous faire ?" + +# And the room logic once again. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./white.sh + exit ;; + s ) ./brown.sh + exit ;; + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) echo "Il n'y a rien que vous puissiez utiliser ici." ;; + h ) echo "Vous observez votre montre, il est 20:12" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/meteofrance.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/meteofrance.sh new file mode 100755 index 00000000..a3526818 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/meteofrance.sh @@ -0,0 +1,58 @@ +#!/bin/bash +################################################################################ +# Author: Fred (support@qo-op.com) +# Version: 0.1 +# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) +################################################################################ +MOATS=$(date -u +"%Y%m%d%H%M%S%4N") +mkdir -p ~/.zen/tmp/${MOATS} +################################################################################ +# Choisir la source de capture +# https://fr.sat24.com/image?type=visual5HDComplete®ion=fr + +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +## TEST IPFS +[[ ! $(which ipfs) ]] && echo "Missing IPFS. Please install... https://ipfs.tech" && exit 1 + +## PREPARE FILE SYSTEM CACHE +mkdir -p ~/.zen/adventure/meteo.anim.eu +rm -f ~/.zen/adventure/meteo.anim.eu/meteo.png + +## SCRAPING meteo.png +curl -m 20 --output ~/.zen/adventure/meteo.anim.eu/meteo.png https://s.w-x.co/staticmaps/wu/wu/satir1200_cur/europ/animate.png + +if [[ ! -f ~/.zen/adventure/meteo.anim.eu/meteo.png ]]; then + + echo "Impossible de se connecter au service meteo" + exit 1 + +else + + echo "Mise à jour archive meteo : ${MOATS}" + echo ${MOATS} > ~/.zen/adventure/meteo.anim.eu/.moats + + OLDID=$(cat ~/.zen/adventure/.meteo.index 2>/dev/null) + # TODO : COMPARE SIMILAR OR NOT + # ipfs get "/ipfs/$OLDID/meteo.anim.eu/meteo.png" + + ## PREPARE NEW index.html + sed "s/_OLDID_/$OLDID/g" ${MY_PATH}/../templates/meteo_chain.html > /tmp/index.html + sed -i "s/_IPFSID_/$IPFSID/g" /tmp/index.html + sed -i "s/_DATE_/$(date -u "+%Y-%m-%d#%H:%M:%S")/g" /tmp/index.html + sed "s/_PSEUDO_/${USER}/g" /tmp/index.html > ~/.zen/adventure/index.html + + # Copy style css + cp -r ${MY_PATH}/../templates/styles ~/.zen/adventure/ + + INDEXID=$(ipfs add -rHq ~/.zen/adventure/* | tail -n 1) + echo $INDEXID > ~/.zen/adventure/.meteo.index + echo "METEO INDEX : http://127.0.0.1:8080/ipfs/$INDEXID" + + IPFS=$(ipfs add -q ~/.zen/adventure/meteo.anim.eu/meteo.png | tail -n 1) + echo $IPFS > ~/.zen/adventure/meteo.anim.eu/.chain + +fi + diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/red.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/red.sh new file mode 100755 index 00000000..d7d84245 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/red.sh @@ -0,0 +1,41 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Set up the script for this room. It's a simple one! +sleep 1 +echo "Vous entrez dans l'ancienne bergerie." +echo "Un canapé mauve est installé au milieu de l'espace" +echo "Une bache transparente vous sépare du ciel." +echo +echo "Vous êtes dans une serre." +echo "Une seule sortie. A l'Ouest, d'où vous venez." +echo +echo "Que voulez-vous faire?" + +# And the choices go here. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Une fente dans le mur vous laisse observer une carcasse de voiture. Une vieille 2cv. Un grillage vous empêche de passer." ;; + s ) echo "L'emplacement d'un grand feu se trouve la. Il ne reste que de la cendre." ;; + e ) echo "Une autre pièce remplie de gravats et d'éboulis se trouve devant vous. Impossible d'y accéder." ;; + w ) ./mainroom.sh + exit ;; + u ) echo "Vous vous asseyez dans le canapé. Vous vous sentez immédiatement happé par un nuage." + sleep 2 + xdg-open "https://www.copylaradio.com/blog/blog-1/post/le-pas-a-pas-qui-libere-du-grand-mechant-cloud-36#scrollTop=0" + ;; + h ) echo "Aucun détail particulier si ce n'est une tache sur le sofa." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/start.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/start.sh new file mode 100755 index 00000000..bd214979 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/start.sh @@ -0,0 +1,72 @@ +#!/bin/bash + +clear + +# Logic in the game is stored in .ben files. This sample has just one 'logic' file. +# You can add more logic files by simply adding a 'sed' command and appropriate .ben file. +# First off, let us reset the game logic. Use this as an example. + +sed -i='' 's/on/off/' ../logic/leverlogic.ben + +# Who doen't love ASCII text, right? +# Next up, let's initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Next up, let's load in the initial introduction. Script is also stored in .ben files. +sleep 5 +file2="../script/opening.ben" +while IFS= read -r line +do + echo "$line" +done <"$file2" +read -p "Pressez sur [ENTER] pour démarrer..." + +#Okay, now that the introduction is out of the way, we can start the first room! +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +sleep 1 + +# Here's where you introduce the room to the player. Be sure to tell them if there +# Are exits - but don't give too much away. Make it fun for them to explore! +echo +echo "La téléportation vous a placé debout au centre d'une clairière." +echo "Vous vous trouvez près d'une ancienne bergerie aux gros murs de pierres." +echo "Le toit et une bonne partie des murs sont effondrés." +echo +echo "Tout autour la forêt. Des feuillus. Quelques arbustres épineux." +echo "Sous vos pieds. Le sol est rouge parsemé de cailloux blancs." +echo +echo "Vous pouvez vous diriger selon les points cardinaux." +echo "Au nord un chemin remonte, au sud un passage descend, à l'est, la bergerie, à l'ouest, des traces d'animaux" +echo +echo "Que voulez-vous faire? Les commandes sont : n, e, s, w, u et h." + +# Now we wait for their response - and send them somewhere accordingly. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./white.sh + exit ;; # These lines will take the player to a new room - a new script file. + s ) ./brown.sh + exit ;; # Be sure to include 'exit' otherwise the game won't quit properly! + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) echo "Vous ouvrez votre sac il contient une tente, des vêtements, un thermos, une scie pliante et un couteau" ;; # Something to say? You can also just echo. + h ) echo "Comment avez-vous pu arriver ici.? Des souvenirs vous reviennent... https://ipfs.copylaradio.com/ipfs/QmWyCFvvvrE1xWudCnc14oDvaztLaRZ4guvQFVkkDLwa23#JOUR%201.%20PLANETE%201." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/valhalla.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/valhalla.sh new file mode 100755 index 00000000..7ef42166 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/valhalla.sh @@ -0,0 +1,45 @@ +#!/bin/bash +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +echo "Bienvenue dans la quête du Valhalla" +sleep 1 +echo "Vous vous tenez devant les portes massives du Valhalla, le grand hall où" +echo "les guerriers les plus valeureux reposent en paix, attendant Ragnarök." +echo "Quelle action souhaitez-vous entreprendre? " +while true; do + read -p "> " action + case $action in + n ) echo "Vous avancez vers le nord, à travers les brumes épaisses, cherchant l'entrée." + sleep 2 + echo "Vous êtes monter trop haut au nord, vous vous retrouvez au valhalla ... " + sleep 1 + echo "Les dieux chuchotent ... Pour sortir du Valhalla : ctrl+shift+$ et quit" + sleep 3 + telnet valhalla.com 4242 + echo "Vous tombez du Valhalla et retourner au point de départ" + sleep 4 + ./start.sh;; + s ) echo "Au sud s'étend la vaste plaine de Vigrid, où la bataille finale est destinée à se dérouler." ;; + e ) echo "À l'est, vous trouvez un ancien ruisseau dont les eaux murmurent des histoires des temps passés." ;; + w ) echo "À l'ouest, se dressent les montagnes, où les géants se cachent, préparant leur assaut contre les dieux." ;; + o ) echo "Vous offrez une prière aux dieux, espérant gagner leur faveur pour entrer dans le Valhalla." ;; + c ) echo "Loki s'est emparer de votre ordinateur, fuyez pauvre fou !!!!!." + image_url="https://ia904505.us.archive.org/9/items/download-5_20210715/download%20%285%29.jpeg" + image_path="./download (5).jpeg" + wget "$image_path" + gsettings set org.gnome.desktop.background picture-uri "$image_path" + echo "Le fond d'écran a été changé avec succès.";; + * ) echo "Les actions possibles sont : n (nord), s (sud), e (est), w (ouest), o (offrir une prière), c (crier un défi)." ;; + esac +done \ No newline at end of file diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/rooms/white.sh b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/white.sh new file mode 100755 index 00000000..c1343483 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/rooms/white.sh @@ -0,0 +1,66 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +#Setting up the room... +sleep 1 +echo "Vous parcourez un chemin qui monte en direction du nord.." +echo "Au sommet de cette petite colline vous découvrez un magestueux chêne" +echo "trônant au centre d'une clairière lumineuse. La forêt à cet endroit" +echo "forme un cercle tout autour..." +echo +echo "Un Astroport fait de vitres, de planches, de tôles et de chevrons" +echo "est posé là. Eclairé par les rayons du soleil." +echo +# Here we're going to check to see if the lever - the only logic we are using in this game - is on or off. +leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "Une poignée est apparue sur la porte de la façade..." + else + echo "Vous en faites le tour..." + echo "Aucune entrée n'est visible." + fi + +echo +echo "Pas d'autre chemin praticable que celui d'où vous venez." +echo +echo "Que voulez-vous faire ?" + +# Now lets capture this room's actions. Note that here, the actions change depending on whether or not +# the lever is on or off. If it's on, you go elsewhere. If it's off, you don't. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous aventurez dans la forêt plus au nord. Sans boussole, vous allez vous perdre rapidement... " + sleep 3 + echo "Vous vous êtes perdu... Au loin vous voyez le Valhalla" + ./valhalla.sh;; + + s ) ./mainroom.sh + exit ;; + e ) echo "Une corniche surplombe un ruisseau qui coule dans le fond de la ravine. Impossible de passer sans équipement" ;; + w ) echo "Vous voilà face à un Jardin luxuriant. Une cloture électrique le délimite et en empêche l'accès." ;; + h ) echo "Vous voyez à l'interieur de la Station une video en cours de projection..." + sleep 2 + xdg-open "https://www.youtube.com/embed/Yk-WRXKysXM" + ;; + u ) leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + ./kroo.sh + exit + else + echo "Vous cherchez une ouverture... Pas la moindre. Impossible d'entrer sans commettre une effraction..." + fi + ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/antonio.gernacaleixo@ynov.com/script/opening.ben b/adventure/games/antonio.gernacaleixo@ynov.com/script/opening.ben new file mode 100755 index 00000000..398233a3 --- /dev/null +++ b/adventure/games/antonio.gernacaleixo@ynov.com/script/opening.ben @@ -0,0 +1,23 @@ +Message de la Confédération Interplanétaire + +La planète où vous vous trouvez est en danger. Les menaces sont nombreuses. +Vos gouvernements se disputent les dernières ressources. Le cycle du vivant est perturbé ! +Le "contrat social" des 'pays civilisés' vascille. Les technocrates réclament plus de contrôle. + +La commission extraterrestre est formelle. Vous êtes en danger. + +Heureusement la monnaie libre a été découverte sur votre planète! +Elle s'utilise dans un jeu 'grandeur nature'. Astroport 20:12 +Bienvenue dans l'aventure du changement de civilisation. + +Les commandes pour vous déplacer et interagir sont +'n' aller au nord, +'s' aller au sud, +'e' aller à l'est, +'w' aller à l'ouest, +'u' utiliser, +'h' observer plus en détail. + +Ctrl-C pour quitter. + + - - - diff --git a/adventure/games/baptiste.puig@ynov.com/readme b/adventure/games/baptiste.puig@ynov.com/readme new file mode 100644 index 00000000..8943a859 --- /dev/null +++ b/adventure/games/baptiste.puig@ynov.com/readme @@ -0,0 +1,56 @@ +# SCRIPT01.CYBSEC + +Jeu du pendu + ++ 10 : game engine ++2 : multigame compatibility ++1 : shellcheck + +> final 13 + +## "GameShell" LEVEL ? + + +## DIFFs +`` +diff --recursive --brief ./ ../_votre\ jeu/ + +Seulement dans ../_votre jeu/: adventure.sh +Seulement dans ../_votre jeu/: art +Seulement dans ../_votre jeu/: logic +Seulement dans ./: readme +Seulement dans ../_votre jeu/rooms: bigroom.sh +Seulement dans ../_votre jeu/rooms: brown.sh +Seulement dans ../_votre jeu/rooms: end.sh +Seulement dans ../_votre jeu/rooms: gameroom.sh +Seulement dans ../_votre jeu/rooms: green.sh +Seulement dans ../_votre jeu/rooms: grue.sh +Seulement dans ../_votre jeu/rooms: kroo2.sh +Seulement dans ../_votre jeu/rooms: kroo.sh +Seulement dans ../_votre jeu/rooms: magic8.sh +Seulement dans ../_votre jeu/rooms: mainroom.sh +Seulement dans ../_votre jeu/rooms: meteofrance.sh +Seulement dans ../_votre jeu/rooms: red.sh +Les fichiers ./rooms/start.sh et ../_votre jeu/rooms/start.sh sont différents +Seulement dans ../_votre jeu/rooms: white.sh +Seulement dans ../_votre jeu/: script +``` + +``` +diff rooms/start.sh ../_votre\ jeu/rooms/start.sh +``` + +Single file game + +## shellcheck +``` +shellcheck rooms/* + + +``` + +## modifs apportées + +* chmod +x rooms/start.sh + + diff --git a/adventure/games/baptiste.puig@ynov.com/rooms/start.sh b/adventure/games/baptiste.puig@ynov.com/rooms/start.sh new file mode 100755 index 00000000..666d39cd --- /dev/null +++ b/adventure/games/baptiste.puig@ynov.com/rooms/start.sh @@ -0,0 +1,66 @@ +#!/bin/bash + +# Mots possibles pour le jeu +words=("ordinateur" "programmation" "bash" "terminal" "script") + +# Sélection aléatoire d'un mot +target="${words[RANDOM % ${#words[@]}]}" +length=${#target} +guessed=($(for ((i=0;i<$length;i++)); do echo "_"; done)) + +# Initialisation des variables +attempts=0 +max_attempts=6 +guessed_letters="" +wrong_letters="" + +# Dessins ASCII du pendu +HANGMAN=( +" +---+\n | |\n |\n |\n |\n |\n=========" +" +---+\n | |\n O |\n |\n |\n |\n=========" +" +---+\n | |\n O |\n | |\n |\n |\n=========" +" +---+\n | |\n O |\n /| |\n |\n |\n=========" +" +---+\n | |\n O |\n /|\\ |\n |\n |\n=========" +" +---+\n | |\n O |\n /|\\ |\n / |\n |\n=========" +" +---+\n | |\n O |\n /|\\ |\n / \\ |\n |\n=========" +) + +# Fonction pour afficher l'état actuel du jeu +display() { + clear + echo "Jeu du Pendu" + echo -e "${HANGMAN[attempts]}" # Utilisez echo -e pour interpréter les séquences d'échappement + echo "Mot à deviner: ${guessed[*]}" + echo "Lettres essayées: $wrong_letters" +} + +# Fonction de vérification des lettres +guess() { + read -p "Devinez une lettre: " -n 1 letter + echo + + if [[ "$target" == *"$letter"* ]]; then + for (( i=0; i<${#target}; i++ )); do + if [[ "${target:$i:1}" == "$letter" ]]; then + guessed[$i]=$letter + fi + done + else + ((attempts++)) + wrong_letters+="$letter " + fi +} + +# Boucle principale du jeu +while [ $attempts -lt $max_attempts ]; do + display + guess + + if [ "$target" == "$(echo ${guessed[*]} | tr -d ' ')" ]; then + echo "Félicitations, vous avez trouvé le mot : $target !" + exit + fi +done + +display +echo "Désolé, vous avez perdu. Le mot était : $target." \ No newline at end of file diff --git a/adventure/games/cyril.marty@ynov.com/readme b/adventure/games/cyril.marty@ynov.com/readme new file mode 100644 index 00000000..e7cd646a --- /dev/null +++ b/adventure/games/cyril.marty@ynov.com/readme @@ -0,0 +1,45 @@ +# SCRIPT01.CYBSEC + + + ++ 19 : game engine +-2 : multigame compatibility +-1 : shellcheck + +> final 16 + +## "GameShell" LEVEL ? + + +## DIFFs +`` +diff --recursive --brief ./ ../_votre\ jeu/ +``` +Seulement dans ../_votre jeu/: adventure.sh +Seulement dans ./: CODE +Seulement dans ./: Cyril.marty@ynov.com - Raccourci.lnk +Seulement dans ./rooms: code + +``` +diff rooms/start.sh ../_votre\ jeu/rooms/start.sh +``` +start.sh sont identiques + + +## shellcheck +``` +shellcheck rooms/code/* + +In choix.sh line 2: +#!/bin/bash +^-- SC1128: The shebang must be on the first line. Delete blanks and move comments. +``` + +## modifs apportées + +* supprimer fichiers inutiles +* rendre exécutable le script avec ```git push``` +chmod +x *.sh +* renommer menu.sh -> start.sh + + diff --git a/adventure/games/cyril.marty@ynov.com/rooms/choix.sh b/adventure/games/cyril.marty@ynov.com/rooms/choix.sh new file mode 100755 index 00000000..f98f61c1 --- /dev/null +++ b/adventure/games/cyril.marty@ynov.com/rooms/choix.sh @@ -0,0 +1,198 @@ + +#!/bin/bash +clear +echo "_________ __ .__ " +echo "\_ ___ \_______ ____ _____ _/ |_|__| ____ ____ " +echo "/ \ \/\_ __ \_/ __ \\__ \\ __\ |/ _ \ / \ " +echo "\ \____| | \/\ ___/ / __ \| | | ( <_> ) | \ " +echo " \______ /|__| \___ >____ /__| |__|\____/|___| / " +echo " \/ \/ \/ \/ " + +# Vérifier si le dossier "personnages" existe, sinon le créer +dossier_personnages="personnages" +if [ ! -d "$dossier_personnages" ]; then + mkdir "$dossier_personnages"> /dev/null 2>&1 +fi + +# Fonction pour afficher les options et obtenir un choix de l'utilisateur +afficher_options() { + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" + echo "Options disponibles :" + echo "1. Créer un nouveau personnage" + echo "2. Charger un personnage existant" + echo "3. Quitter" + echo "4. Commencer à jouer" + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" +} + +# Fonction pour créer un personnage +creer_personnage() { + read -p "Entrez le nom de votre personnage : " nom + echo "Classes disponibles :" + echo "1. Bicraveur : Vendez ce qui est impossible à vendre + 10 en dextérité" + echo "2. Nikmook : Il a un besoin irrémédiable de séduire les daronnes + 10 en agilité" + echo "3. Freefighter : Doit devenir le plus fort en combat + 10 en Force" + echo "4. Hacker : Doit trouver un fichier compromettant sur le proviseur pour réussir + 10 en Intelligence" + read -p "Choisissez une classe (1/2/3/4) : " classe + + case $classe in + 1) + classe="Bicraveur" + ;; + 2) + classe="Nikmook" + ;; + 3) + classe="Freefighter" + ;; + 4) + classe="Hacker" + ;; + *) + echo "Classe invalide." + return + ;; + esac +mkdir "personnages/$nom"> /dev/null 2>&1 + + echo "Équipements disponibles :" + echo "1. Sacoche Lacoste + 5 en dextérité" + echo "2. Bâton magique +5 en agilité" + echo "3. Gant de boxe +5 en force" + echo "4. Laptop +5 en Intelligence" + read -p "Choisissez un équipement (1/2/3/4) : " equipement + + case $equipement in + 1) + equipement="Sacoche Lacoste" + ;; + 2) + equipement="Bâton magique" + ;; + 3) + equipement="Gant de boxe" + ;; + 4) + equipement="Laptop" + ;; + *) + echo "Équipement invalide." + return + ;; + esac + + # Créer un fichier de sauvegarde pour le personnage + nom_fichier="$dossier_personnages/$nom/$nom.txt" + stats="$dossier_personnages/$nom/$nom_fichier_stats.txt" + echo "Nom : $nom" > "$nom_fichier" + echo "Classe : $classe" >> "$nom_fichier" + echo "Équipement de base : $equipement" >> "$nom_fichier" + echo "Point de vie : 100" > "$nom_fichier_stats" +# Assurez-vous que le fichier stats existe +stats="$dossier_personnages/$nom/$nom-fichier_stats.txt" +if [ ! -f "$stats" ]; then + echo "Point de vie : 100" > "$stats" + echo "Dextérité : 0" >> "$stats" + echo "Force : 0" >> "$stats" + echo "Agilité : 0" >> "$stats" + echo "Intelligence : 0" >> "$stats" +fi + +# Mettez à jour les points en fonction de la classe +case $classe in + "Bicraveur") + sed -i "s/Dextérité : .*/Dextérité : 10/" "$stats" + ;; + "Nikmook") + sed -i "s/Agilité : .*/Agilité : 10/" "$stats" + ;; + "Freefighter") + sed -i "s/Force : .*/Force : 10/" "$stats" + ;; + "Hacker") + sed -i "s/Intelligence : .*/Intelligence : 10/" "$stats" + ;; +esac + +mkdir "$dossier_personnages/$nom/$nom-inventaire.txt"> /dev/null 2>&1 + +# Mettez à jour les points en fonction de l'équipement +case $equipement in + "Sacoche Lacoste") + # Obtenir la valeur actuelle de la dextérité + valeur_dexterite=$(grep "Dextérité" "$stats" | awk '{print $3}') + # Ajouter 5 à la valeur actuelle et mettre à jour le fichier + nouvelle_dexterite=$((valeur_dexterite + 5)) + sed -i "s/Dextérité : .*/Dextérité : $nouvelle_dexterite/" "$stats" + ;; + "Bâton magique") + # Obtenir la valeur actuelle de l'agilité + valeur_agilite=$(grep "Agilité" "$stats" | awk '{print $3}') + # Ajouter 5 à la valeur actuelle et mettre à jour le fichier + nouvelle_agilite=$((valeur_agilite + 5)) + sed -i "s/Agilité : .*/Agilité : $nouvelle_agilite/" "$stats" + ;; + "Gant de boxe") + # Obtenir la valeur actuelle de la force + valeur_force=$(grep "Force" "$stats" | awk '{print $3}') + # Ajouter 5 à la valeur actuelle et mettre à jour le fichier + nouvelle_force=$((valeur_force + 5)) + sed -i "s/Force : .*/Force : $nouvelle_force/" "$stats" + ;; + "Laptop") + # Obtenir la valeur actuelle de l'intelligence + valeur_intelligence=$(grep "Intelligence" "$stats" | awk '{print $3}') + # Ajouter 5 à la valeur actuelle et mettre à jour le fichier + nouvelle_intelligence=$((valeur_intelligence + 5)) + sed -i "s/Intelligence : .*/Intelligence : $nouvelle_intelligence/" "$stats" + ;; +esac + +# Enregistrez l'équipement dans un fichier équipement +equipement_file="$dossier_personnages/$nom/$nom-equipement.txt" +echo "Équipement choisi : $equipement" > "$equipement_file" + echo "Personnage créé et sauvegardé dans $nom_fichier." +} + + +# Boucle principale +while true; do + afficher_options + read -p "Choisissez une option (1/2/3) : " choix + + case $choix in + 1) + creer_personnage + ;; + 2) + echo "" + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" +ls personnages/ + echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" + echo "" + read -p "Entrez le nom du personnage à charger : " nom + nom_fichier="$dossier_personnages/$nom/$nom.txt" + if [ -f "$nom_fichier" ]; then + cat "$nom_fichier" + else + echo "Personnage introuvable." + fi + ;; + 3) + exit + ;; + 4) + # Exécutez le script menu.sh + ./menu.sh "$nom" + ;; + *) + echo "Option invalide. Veuillez choisir une option valide." + ;; + esac +done +# Effacer l'écran avant de passer à la suite du jeu +clear + + diff --git a/adventure/games/cyril.marty@ynov.com/rooms/debut.sh b/adventure/games/cyril.marty@ynov.com/rooms/debut.sh new file mode 100755 index 00000000..dbdd64e7 --- /dev/null +++ b/adventure/games/cyril.marty@ynov.com/rooms/debut.sh @@ -0,0 +1,46 @@ +#!/bin/bash + +# Fonction pour afficher le texte avec une pause entre les lignes +afficher_texte() { + while read -r ligne; do + echo "$ligne" + sleep 1 # Pause d'une seconde entre chaque ligne + done +} + +# Titre du jeu +clear # Effacer l'écran +echo "_______ .__ __ __ " +echo " \ \ |__| | __ _____ ____ ____ | | __" +echo " / | \| | |/ // \ / _ \ / _ \| |/ /" +echo "/ | \ | <| Y Y ( <_> | <_> ) < " +echo "\____|__ /__|__|_ \__|_| /\____/ \____/|__|_ \"" +echo " \/ \/ \/ \/" +echo "Bienvenue dans le jeu!" +echo + +# Histoire +echo "Il était une fois, dans un lointain royaume.. un gosse mal éduquer" +echo "Un batard courageux se prépare à entreprendre une quête épique." +echo "Votre mission est de BAISER des mères périlleuses." +echo +echo "Appuyez sur ESPACE pour continuer..." +read -n 1 touche # Attendre que l'utilisateur appuie sur ESPACE +echo + +# Effacer l'écran avant de passer à la suite du jeu +clear + +# Vous pouvez continuer à développer votre jeu à partir d'ici en ajoutant plus de fonctionnalités et de pages. + +#read -n 1 touche # Attendre que l'utilisateur appuie sur ESPACE +echo + +# Exécuter le script suite.sh +if [ "$touche" == "" ]; then + ./choix.sh +fi + +# Effacer l'écran avant de passer à la suite du jeu +clear + diff --git a/adventure/games/cyril.marty@ynov.com/rooms/map.sh b/adventure/games/cyril.marty@ynov.com/rooms/map.sh new file mode 100755 index 00000000..6024394d --- /dev/null +++ b/adventure/games/cyril.marty@ynov.com/rooms/map.sh @@ -0,0 +1,70 @@ +#!/bin/bash + +echo "+--------+ +----------------------------------------------------+" +echo "| Entrée |" +echo "| +---------------+ | "RDC" " +echo "| | | |" +echo "| +---+ +----+ | Escalier | |" +echo "| | Acceuil | | | |" +echo "| | | +---------------+ |" +echo "| +-----------+ |" +echo "| |" +echo "|---------------+ +----------------+ +-------------------|" +echo "| | | | | |" +echo "| Salle cours 1 | | Salle cours 2 | | Salle cours 3 |" +echo "| | | | | |" +echo "|----+ +-------+ +----+ +--------+ +----+ +-----------|" +echo "| |" +echo "|----+ +-------+ +----+ +--------+ +----+ +-----------|" +echo "| | | | | |" +echo "| Salle cours 4 | | Salle cours 5 | | |" +echo "| | | | | |" +echo "|----+ +-------+ +----+ +--------+ + |" +echo "| Cantine |" +echo "|----+ +-------+ +----+ +--------+ + |" +echo "| | | | | |" +echo "| Salle cours 7 | | Salle cours 8 | | |" +echo "| | | | | |" +echo "|----+ +-------+ +----+ +--------+ +----+ +-----------|" +echo "| |" +echo "|----+ +-------+ +----+ +--------+ +----+ +-----------|" +echo "| | | | | |" +echo "| Concièrge | | Bibliothèque | | CDI |" +echo "| | | | | |" +echo "|---------------+ +----------------+ +-------------------|" +echo "+-----------------+ +-------------------------------------------+------------------------+" +echo "| |---| |---| |---| |---| |" +echo "| |" +echo "| |" +echo "| |" +echo "| |" +echo "| Récréation |" +echo "| /\\ /\\ /\\ /\\ |" +echo "| / \\ / \\ / \\ / \\ |" +echo "| /____\\ /____\\ /____\\ /____\\ |" +echo "| |" +echo "| |" +echo "||---| |---| |---| |" +echo "+--------+ +-------------------------------------+ +----------+-------------------------+" +echo "| Terrain de | |" +echo "| Basketball | |" +echo "| | |" +echo "| ___________ | |" +echo "| / \\ | |" +echo "| / \\ | |" +echo "| | | | |" +echo "| | | | |" +echo "| | | | |" +echo "| | | | |" +echo "| | | | |" +echo "| | | | |" +echo "| | | | |" +echo "| \\ / | |" +echo "| \\___________/ | |" +echo "| | |" +echo "+-------------------------------------------+ |" +echo "| "Coin fumeur" |" +echo "+----------------------------------------------------------+" +# À la fin de map.sh +echo "Appuyez sur Enter pour revenir au menu principal." +read -s -n 1 # Attendre que l'utilisateur appuie sur une touche diff --git a/adventure/games/cyril.marty@ynov.com/rooms/start.sh b/adventure/games/cyril.marty@ynov.com/rooms/start.sh new file mode 100755 index 00000000..9f4de682 --- /dev/null +++ b/adventure/games/cyril.marty@ynov.com/rooms/start.sh @@ -0,0 +1,87 @@ +#!/bin/bash +clear +#récupérer la varible nom +nom="$1" + + # Afficher dynamiquement les informations du personnage à chaque fois que le menu s'affiche +cat "personnages/$nom/$nom.txt" +echo "-----------------------" +cat "personnages/$nom/$nom-fichier_stats.txt" +echo "-----------------------" + +# Menu principal +while true; do +clear + echo "--------------------------------------------------------------------------------" + echo " Menu Principal " + echo "--------------------------------------------------------------------------------" + echo "" + echo "" + echo " ___ " + echo " |___|____ " + echo " / \\ " + echo " | () () | " + echo " \\ ^ / " + echo " ||||| " + echo " /|||||\ " + echo " \|||||/ " + echo " ||||| " + echo " ||||| " + echo " /_\ /_\ " + echo "" + echo "" + echo "" + echo "" + echo "" + echo "" + echo "" + echo "" + echo "" + echo "1. Ouvrir le Sac 4. Regarder" + echo "2. Ouvrir la carte 5. Agir" + echo "3. Ouvir son portmonnaie 6. Se déplacer" + echo " " + echo " 7. Quitter le jeu" + echo " FDP" + echo "" + echo "--------------------------------------------------------------------------------" + echo " " + echo "--------------------------------------------------------------------------------" + + read -p "Choisissez une option (1/2/3/4/5/6/7) : " choix + +case $choix in + 1) + # Insérez ici le code pour ouvrir le sac + echo "Le sac n'est pas encore implémenté." + ;; + 2) + # Insérez ici le code pour ouvrir la carte + if [ -f "map.sh" ]; then + ./map.sh # Exécuter le script si présent + else + echo "La carte n'est pas encore implémentée." + fi # Fin du bloc if + ;; # Fin de l'option 4 + 3) + cat "personnages/$nom/$nom-inventaire.txt" + ;; + 4) + afficher_statistiques_personnage + ;; + + 5) + cat "personnages/$nom/$nom-inventaire.txt" + ;; + 6) + afficher_statistiques_personnage + ;; + + 7) + exit + ;; + *) + echo "Option invalide. Veuillez choisir une option valide." + ;; +esac +done diff --git a/adventure/games/damien.espenel@ynov.com/README b/adventure/games/damien.espenel@ynov.com/README new file mode 100644 index 00000000..d0eb00ab --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/README @@ -0,0 +1,79 @@ +# SCRIPT01.CYBSEC + +Master Guesser + ++ 15 : game engine +-2 : multigame compatibility ++1 : shellcheck + +> final 14 + +## "GameShell" LEVEL ? + + +## DIFFs +`` +diff --recursive --brief ./ ../_votre\ jeu/ + + +Seulement dans ../_votre jeu/: adventure.sh +Seulement dans ./logic: leverlogic2.ben +Seulement dans ./logic: leverlogic2.ben= +Les fichiers ./logic/leverlogic.ben et ../_votre jeu/logic/leverlogic.ben sont différents +Seulement dans ./logic: leverlogic.ben= +Seulement dans ./logic: stationlogic2.ben +Seulement dans ./: masterguesser.sh +Seulement dans ./: music +Seulement dans ./: README +Les fichiers ./rooms/end.sh et ../_votre jeu/rooms/end.sh sont différents +Les fichiers ./rooms/gameroom.sh et ../_votre jeu/rooms/gameroom.sh sont différents +Seulement dans ./rooms: kroo3.sh +Les fichiers ./rooms/mainroom.sh et ../_votre jeu/rooms/mainroom.sh sont différents +Les fichiers ./rooms/start.sh et ../_votre jeu/rooms/start.sh sont différents +Les fichiers ./rooms/white.sh et ../_votre jeu/rooms/white.sh sont différents +Seulement dans ../_votre jeu/: script + +``` + +## Test + +``` +> d +Vous récupérez un écran portatif interactif par terre. +Appuyez sur Entrée pour continuer... + +./start.sh: ligne 62: ./riddle.sh: Aucun fichier ou dossier de ce type +``` + +``` +mv mastergusser.sh rooms/riddle.sh +``` + +``` +./riddle.sh: ligne 20 : kill: (88137) - Aucun processus de ce type +``` + +``` +mplayerrunning=$(ps axf --sort=+utime | grep -w 'mplayer' | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) +[[ $mplayerrunning ]] && kill $mplayerrunning +``` + +``` +shellcheck rooms/riddle.sh +``` + + +OK + +--- + +Created by Damien Espenel + +mail : damien.espenel@ynov.com + +dépendance : mplayer (installé par le script d'installation) + +jeux : +- masterguesser - génère un nombre aléatoire entre 1 et 100, le joueur doit trouver ce nombre, aucune limite de tentative, s'arrête après que le joueur ait trouvé le nombre. + + diff --git a/adventure/games/damien.espenel@ynov.com/art/Gune.ben b/adventure/games/damien.espenel@ynov.com/art/Gune.ben new file mode 100644 index 00000000..dedb1304 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/art/Gune.ben @@ -0,0 +1,21 @@ + + + .';:llllc;'. + .:xXWX;.,ll;.:XWXx;. + ;0MMMMMMKl;'',l0MMMMMWO, + ,0MMMMMMW0dc;,,;cd0WMMMMMMO. + dWMMMMM0; ;OMMMMMN: + dMMMMMN: .,'. cWMMMMMc + ,WMMMMX. .xNMMMMNx,'lONMMMMMMN. + oMMMMM: :WMMMMMMMMMMMMMMMMMMMMc + xMMMMM' xMMMMMMOlllllllloNMMMMo + oMMMMMc ,NMMMMMWd. KMMMM: + .WMMMMN, .l0NWWWKc KMMMX. + cMMMMMWo .. KMMW; + cWMMMMMXo' .lKd. KMK' + .xWMMMMMMN0dlllldONMMMMWOXd + .xNMMMMMMMd''lWMMMMMMXo. + 'lONWMW, .XMWXOl. + ..,,..,,.. + + diff --git a/adventure/games/damien.espenel@ynov.com/art/astrologo.ben b/adventure/games/damien.espenel@ynov.com/art/astrologo.ben new file mode 100644 index 00000000..64180c37 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/art/astrologo.ben @@ -0,0 +1,21 @@ + + .':cdxxxxxoc;. + .:x00dc;'..:..,:lk00o' + ;0Xd, oMo :OXx. + :KK; cMMMl .oNk. + .kN: ;MMMMMc xNl + .0K. ,WMMMMMW; ;Wo + OX. ,WMMMMMMMW; ;Wc + cM; .WMMMMMMMMMW, kX. + OX .NMMMMMMMMMMMW' ,Mc + O0 .NMMMMMMMMMMMMMW' .Mc + ON .XMMMMM0kkkkKMMMMN. ,M: + :M; KMMMMM: .,,;dMMMMMN. kX. + ON. 0MMMMMl ,WMMMMMMMMMMX. ;Wc + .0K. 0MMMMMd 'WMMMMMMMMMMMMX. :Wo + .xN: kMMMMMO .XWWWWNNNNNXXKKKd xNc + ;0Xl. .oXx. + ,OXx, .cOKd. + ;d00xl:,....';coO0Ol' + .;:odddddl:,. + diff --git a/adventure/games/damien.espenel@ynov.com/art/astroportland.ben b/adventure/games/damien.espenel@ynov.com/art/astroportland.ben new file mode 100644 index 00000000..f27e1fd1 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/art/astroportland.ben @@ -0,0 +1,21 @@ +MMMMMMMMMMMMMMMMMMMl xxlxxxd . KNNMNl. 'd0xdddkXKxc. ,dNMMMMMMMMMMMMMMM +MMMMMMMMMMMWKOl:cc' .NNOMXNX .ld; ,lxXMMMMMMMMMMM +MMMMMMMMNo. ,,' .KKWMOXX .. .dWMMMMMMMM +MMMMMMWc cdddc .NNNMXNX .do '' ' .:,:k; l, .KMMMMMMM +MMMMMW, ;ll: .,:ddddd .KKOM0XX .do '0MMXMo . dMMMMMMXOMX0: XMMMMMM +MMMMMo xc:d 'ddddddd .XXWMK00' .do .oo. .dMMMMMMO;lWNMMMMMMWXMMMX: :MMMMMM +MMMMW. .cXKKXWooK0kk0d0Oxxkkx .XXNM0Ok; .:ol:'do,0MMK ... 'XMMMMMMMMMMMMMMMMMWWMMMMx .dkONMM +MKNK. NMWooOWllKKoMNll0MM0x0 xNXXOMKOkKOoM0kkkOkWMMMM0NWWXXMMMMMMMMMMW:WkWk0OKMWdOMNxd0O. .KM +l dkkMMWloOWcc0KoMNccOMMxl0cMMXXWM0KOMMMM0OkkOKMMMMMMMMMMMMMMMMMMMMM0 : o.. 'll.lMMMMMMx .O + ;kMMMMMWlckWooKXdMNccOMMxlXk0MMMNMMMMMMMM0OkkOWMMMMMMMMMMMMMMMMMMMMMMo0OWW,xNWKcooMM0NN0Oc + .NMMMMMMNllkWllKKoMNll0MMxlNxOMMMOMMMMMMMM0OkOOWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNMMNdxMMMk + ;WMMMMMMMMMMMNNWWNMMMMMMMWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMWx. + :MMkxxxWMMMWkxxxxxxxWXxxxxxxxxKWxxxxxxxxxWMMKxxxxxxKMMKxxxxxxxxKMMXxxxxxx0MMkxxxxxxxxNMXxdlloodO: + :N, OMM0. 'N. 0: :Mc XK Nx kl ,N. ;' +x..M0xddddKMMOddddddddKKddddddddxNxdddddddddOWoooooooooN0ddddddddddNdoooooooo0xdddddddddkKdddddddox. +MWKK ,MN. .,XMMMMl ;MMMM' xc 'MMd .Mx ;x .NMO N; dMMMl ,W +MMMK NM:. 'MMMW. xMMMO dW. oMM. lM' .:N, ;MM; ;K oMMMW. dO +MMMMMMMo xXXXXXk .MMMO NMMM; .WWN. 00 XM0 KK 0WWWWMMW OMX kc .WWW. OMMMO Nc +MMMMMMMX dMMM; ;MMMN dMMk N0 .. oMl .MMMMMMMN ... :W. lMM0 XMMM; ;M' .c +MMMMMMMM, .xMMMW. kMMMx .NMM: cMMd. .;0MM. oMMMMMMMMk. .,kMO XMMl :MMMW. kMOKMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM diff --git a/adventure/games/damien.espenel@ynov.com/art/astrored.ben b/adventure/games/damien.espenel@ynov.com/art/astrored.ben new file mode 100644 index 00000000..7ed4a2b8 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/art/astrored.ben @@ -0,0 +1,21 @@ + .,'. + .,,;,'',;,'',,.'. + .;;,,.. .........' + .l:. ............cc. + .c, .................:c. + .lc ................... .l; + l' ... .............. c: + :: .. ........... l' + d . .''...... 'o + .o .. ''''''. l + .d . ......''''''' l + o . .,,,,,,'''''' 'l + ;: . ',,,,''''', l. + l, .. .,,,''''', oc + .lc .',,,''',. .c, + 'l, .,,''',..:c. + ';;. .,,',,:;. + ':;;'. .;:,,,. + .,,'''''','..;,,. + ,:. + ., diff --git a/adventure/games/damien.espenel@ynov.com/art/bigfinish.ben b/adventure/games/damien.espenel@ynov.com/art/bigfinish.ben new file mode 100755 index 00000000..8ca22cfc --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/art/bigfinish.ben @@ -0,0 +1,9 @@ + _______ _ ______ _ + |__ __| | | ____| | | + | | | |__ ___ | |__ _ __ __| | + | | | '_ \ / _ \ | __| | '_ \ / _` | + | | | | | | __/ | |____| | | | (_| |_ + |_| |_| |_|\___| |______|_| |_|\__,_(_) + + + \ No newline at end of file diff --git a/adventure/games/damien.espenel@ynov.com/art/logoastro.ben b/adventure/games/damien.espenel@ynov.com/art/logoastro.ben new file mode 100644 index 00000000..859e4af1 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/art/logoastro.ben @@ -0,0 +1,21 @@ + + + .:dO0NNkNX0ko,. + .:OWMMMMMMc cWMMMMMXd, + 'kWMMMMMMMMc cWMMMMMMMNo. + .kMMMMMMMMMMo lMMMMMMMMMWl + .KMMMMMMMMMMd oMMMMMMMMMMx + .XMMMMMMMMMMk dMMMMMMMMMMx + xMMMMMMMMMM0 OMMMMMMMMMM, + .NMMMMMMMMMK. OMMMMMMMMMk + 'MMMMMMMMMK. OMMMMMMMMK + .NMMMMMMMK. ,;;;;' OMMMMMMMx + dMMMMMMX. kMKkxxc 0MMMMMM, + .KMMMMN. dMx .KMMMMd + .0MMN. cMx .KMMd + xW' 'W0. ......:Xc + .lXNNWNWMMMMMMMMMMMMMMMMXl + ;xXMMMMMMMMMMMMMMWKo' + .,lxkKKKK0kdc' + + diff --git a/adventure/games/damien.espenel@ynov.com/art/supper.ben b/adventure/games/damien.espenel@ynov.com/art/supper.ben new file mode 100755 index 00000000..e1806a8a --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/art/supper.ben @@ -0,0 +1,10 @@ + _____ _ _ + / ____| (_) | | + | (___ _ _ _ __ _ __ _ __ _ ___ ___| | + \___ \| | | | '__| '_ \| '__| / __|/ _ \ | + ____) | |_| | | | |_) | | | \__ \ __/_| + |_____/ \__,_|_| | .__/|_| |_|___/\___(_) + | | + |_| + + \ No newline at end of file diff --git a/adventure/games/damien.espenel@ynov.com/art/titleart.ben b/adventure/games/damien.espenel@ynov.com/art/titleart.ben new file mode 100755 index 00000000..6da1d7df --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/art/titleart.ben @@ -0,0 +1,9 @@ + _ _ _ ____ ___ _ ____ + / \ ___| |_ _ __ ___ _ __ ___ _ __| |_ |___ \ / _ \ _ / |___ \ + / _ \ / __| __| '__/ _ \| '_ \ / _ \| '__| __| __) | | | | (_) | | __) | + / ___ \\__ \ |_| | | (_) | |_) | (_) | | | |_ / __/| |_| | _ | |/ __/ +/_/ \_\___/\__|_| \___/| .__/ \___/|_| \__| |_____|\___/ (_) |_|_____| + |_| + + --- Un JEu de Forêt Jardin en Monnaie Libre sur IPFS --- + diff --git a/adventure/games/damien.espenel@ynov.com/logic/leverlogic.ben b/adventure/games/damien.espenel@ynov.com/logic/leverlogic.ben new file mode 100755 index 00000000..b3d86404 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/logic/leverlogic.ben @@ -0,0 +1 @@ +on diff --git a/adventure/games/damien.espenel@ynov.com/logic/leverlogic.ben= b/adventure/games/damien.espenel@ynov.com/logic/leverlogic.ben= new file mode 100755 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/logic/leverlogic.ben= @@ -0,0 +1 @@ +off diff --git a/adventure/games/damien.espenel@ynov.com/logic/leverlogic2.ben b/adventure/games/damien.espenel@ynov.com/logic/leverlogic2.ben new file mode 100644 index 00000000..b3d86404 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/logic/leverlogic2.ben @@ -0,0 +1 @@ +on diff --git a/adventure/games/damien.espenel@ynov.com/logic/leverlogic2.ben= b/adventure/games/damien.espenel@ynov.com/logic/leverlogic2.ben= new file mode 100644 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/logic/leverlogic2.ben= @@ -0,0 +1 @@ +off diff --git a/adventure/games/damien.espenel@ynov.com/logic/stationlogic.ben b/adventure/games/damien.espenel@ynov.com/logic/stationlogic.ben new file mode 100755 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/logic/stationlogic.ben @@ -0,0 +1 @@ +off diff --git a/adventure/games/damien.espenel@ynov.com/logic/stationlogic2.ben b/adventure/games/damien.espenel@ynov.com/logic/stationlogic2.ben new file mode 100644 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/logic/stationlogic2.ben @@ -0,0 +1 @@ +off diff --git a/adventure/games/damien.espenel@ynov.com/music/masterguesser.mp3 b/adventure/games/damien.espenel@ynov.com/music/masterguesser.mp3 new file mode 100644 index 00000000..7cad3a77 Binary files /dev/null and b/adventure/games/damien.espenel@ynov.com/music/masterguesser.mp3 differ diff --git a/adventure/games/damien.espenel@ynov.com/rooms/bigroom.sh b/adventure/games/damien.espenel@ynov.com/rooms/bigroom.sh new file mode 100755 index 00000000..a3463cf3 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/bigroom.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" + +# This is close to the endgame, but affords the player a last set of things to try and do. +# Obviously if you use this framework to create a game of your own, you can extend this massively. + +echo +sleep 1 +echo "Vous décidez de sortir de la Sation Astroport." +echo + echoleverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + + sleep 2 + echo "Il ne dépend que de vous d'explorer ce nouveau futur." + echo "Le Visa MadeInZion inaugure un monde sans territoire, sans frontière, transnationnal, interplanétaire, à vous de voir?" + sleep 2 + echo "Avant de nous rejoindre. Visitez notre 'bon coin' https://gchange.fr " + echo + sleep 3 + echo "Ouvrez une ambassade? Installez IPFS, devenons hébergeur, fournisseur d'accès de nos Internets." + echo + sleep 4 + echo "Ouvrez votre propriété au futur en commun, activez Astroport." + echo "Nous organisons des formations habitats posés, vissés et cousus. Eau potable. Biogaz, Marmite Norvégienne..." + echo "Comment nourrir le sol, reconnaitre les plantes... Redevenir ceuilleur, créateur." + echo + else + echo "" + echo "Aucune entrée n'est visible." + fi +echo +sleep 5 +echo +echo "Que voulez vous faire?" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Pas moyen de se déplacer." ;; + s ) echo ".Pas le choix." ;; + e ) echo "Pas par là." ;; + w ) echo "Plus à l'ouest que ça? Y'a pas!" ;; + u ) ./end.sh + exit ;; + h ) echo "Comment refuser une telle proposition..." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/brown.sh b/adventure/games/damien.espenel@ynov.com/rooms/brown.sh new file mode 100755 index 00000000..9d28126e --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/brown.sh @@ -0,0 +1,62 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 + +# Here's this room's script. + +echo "Sur la direction du sud, vous traversez une zone plus sombre et humide." +echo "Le sol est glissant à cause de l'argile qui colle sous vos bottes" +echo "Vous finissez par croiser un chemin qui traverse la forêt d'Est en Ouest" +echo +echo "Un terminal informatique est installé là." +echo +echo "Il ressemble à une grosse calculatrice" + + +# Here we tell the player whether the lever is on or off. +leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "'VISA SVP' clignote sur l'écran..." + else + echo "La machine affiche l'heure : 20:12" + fi +echo +echo "Il est tard pour explorer le chemin à pied, vous devriez retourner d'où vous venez." +echo +echo "Que faites vous?" + +# In this set of actons lies the logic switch used later in the game. +# You have to set this switch to reach the endgame. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./mainroom.sh + exit ;; + s ) echo "Si vous continuez à marcher dans la forêt. Vous allez vous perdre. Demi tour." ;; + e ) echo "Le chemin qui part à l'Est est plein de boue... Impossble d'aller par là." ;; + w ) echo "Une rivière vous empêche de passer." ;; + u ) leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "A chaque frappe d'une touche. l'écran fait défiler le texte 'SCANNEZ VISA SVP'." + else + sed -i 's/off/on/' ../logic/leverlogic.ben + echo "Vous pianotez sur l'appareil..." + sleep 3 + echo "A moment où vous touchez la touche '#' L'écran se met à clignoter..." + echo "Puis le message 'ACTIVATION STATION' défile sur les caractères lumineux." + fi + ;; + h ) echo "Le terminal comporte un clavier numérique. Un petit écran.. Il est réalisé avec un mini ordinateur Raspberry Pi. Il porte l'adresse G1TAG [https://g1sms.fr]" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/end.sh b/adventure/games/damien.espenel@ynov.com/rooms/end.sh new file mode 100755 index 00000000..9b31ff47 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/end.sh @@ -0,0 +1,55 @@ +#!/bin/bash +clear + +# This is the endgame. This file does nothing but give you the final bit of storyline. +# Use (over-use) of 'sleep' is for dramatic effect - play around with it, see how it reads. + +# Let's reset the lever, now that we're done with it. +sed -i 's/on/off/' ../logic/leverlogic.ben +sed -i 's/on/off/' ../logic/leverlogic2.ben + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 +echo "Voici la fin de cette petite aventure." +echo +sleep 4 +echo "Vous venez de visiter la forêt où s'est posé Astroport ONE." +sleep 3 +echo +echo "MERCI" +echo +sleep 3 +echo +file1="../art/bigfinish.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo +read -p "Appuyez sur [ENTER] pour terminer..." +echo +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo "Merci d'avoir joué le jeu" +echo "Je suis heureux de vous avoir fait partager le rêve des astronautes terraformeurs." +echo +echo "Le futur ne se prédit pas, il se construit." +echo +echo " - @Fred" +echo + +# That's all, folks! + +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/gameroom.sh b/adventure/games/damien.espenel@ynov.com/rooms/gameroom.sh new file mode 100755 index 00000000..752b5d43 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/gameroom.sh @@ -0,0 +1,88 @@ +#!/bin/bash +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# This room gives the player a typical poisoned apple style scenaro. +# Just because something looks shiny and fun, doesn't make it any +# less deadly. +sleep 1 +echo "Dans une cabine, un écran est disposé en coin. Un tout petit ordinateur" +echo "y est raccordé... D'autres fils sortent de l'appareil. Une webcam. Une imprimante." +echo +echo "Que voulez vous faire?" +myIP=$(hostname -I | awk '{print $1}' | head -n 1) +isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/") +[[ ! $myIP || $isLAN ]] && myIP="127.0.1.1" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous êtes dans une cabine. Des QRCode sont collés à la parois nord" ;; + s ) echo "Cette paroie comporte un miroir. Pour se faire une beauté avant d'enregistrer une capsule vidéo." ;; + w ) ./kroo.sh + exit ;; + e ) echo "Vous êtes face à l'écran. Au dessus des hauts parleurs, une webcam" ;; + u ) leverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "A chaque frappe d'une touche. l'écran fait défiler le texte 'SCANNEZ VISA SVP'." + else + sed -i 's/off/on/' ../logic/stationlogic.ben + echo "Vous appuyez sur l'interupteur de l'écran. Y apparaît alors :" + sleep 3 + echo "AMBASSADE MadeInZion - TerraPi4 - 2 To -" + echo "" + echo + sleep 2 + echo "INTERNET est dangereux. il vend vos information personnelles pour que vous deveniez un produit. " + sleep 2 + echo + echo "Rebootez INTERNET. Activez votre TW sur UPlanet (IPFS crypto drive) " + sleep 2 + echo + echo "On y échange en pair à pair. La monnaie y est Libre. https://qo-op.com" + sleep 4 + file1="../art/astrored.ben" + while IFS= read -r line + do + echo "$line" + done <"$file1" + echo + echo + echo "____ Astroport déclenche à 20:12 la synchronisation de ses ambassades..." + echo "Rapport 2022 : https://ipfs.asycn.io/ipfs/QmUtGpGeMZvwp47ftqebVmoFWCmvroy5wEtWsKvWvDWJpR" + sleep 3 + echo + echo "ASTROPORT ONE" + echo "VISA pour le vaisseau spatial TERRE." + if [[ -d ~/.zen/Astroport.ONE ]]; then + read -p "Appuyez sur [ENTER] pour activer votre Station Astroport.ONE" + espeak "Astroport Command" > /dev/null 2>&1 + + ~/.zen/Astroport.ONE/command.sh + else + espeak "Please Install Astroport" > /dev/null 2>&1 + echo "Install Astroport.ONE ..." + echo "bash <(wget -qO- https://raw.githubusercontent.com/papiche/Astroport.ONE/master/install.sh)" + ./end.sh + fi + fi + exit + ;; + + h ) echo "'DEMARRER API http://$myIP:1234 ... Une Station Astroport.ONE.?." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/green.sh b/adventure/games/damien.espenel@ynov.com/rooms/green.sh new file mode 100755 index 00000000..d3e56110 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/green.sh @@ -0,0 +1,38 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Everybody clap your hands. I mean, here is the script. +sleep 1 +echo "Vous atteignez une zone remplie de jeunes épineux" +echo "Vous reconnaissez des prunus, des aubépines." +echo "Quelques génévriers dont vous remarquez les baies noires." +echo "Un peu plus loin ce sont les ronces." +echo +echo "Plus vous progressez plus vous souffrez des épines. Existe-t-il un passage? Qui sait." +echo +echo "Que voulez vous faire?" + +# And here's what you could have won... +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Un énorme roncier vous barre la route. Ca ne passe pas." ;; + s ) echo "Vers le sud, aucun passage en vue." ;; + e ) ./mainroom.sh + exit ;; + w ) echo "Vous voyez le même paysage à perte de vue" ;; + u ) echo "Vous cueillez une baie de genèvrier. Vous la portez à la bouche. Croquez. La saveur est délicieuse. La force de la plante vous envahi." ;; + h ) echo "Ce type de terrain est caractéritique des zones déboisées. La nature sort ses épines pour protéger les arbres qui poussent en dessous." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/grue.sh b/adventure/games/damien.espenel@ynov.com/rooms/grue.sh new file mode 100755 index 00000000..a6016e52 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/grue.sh @@ -0,0 +1,35 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# I like this room. There is no way to get out of it alive. +sleep 1 +echo "Un évier derrière une fenère, une ancienne porte d'armoire comme table." +echo "Un meuble fait de planches de bois cousues rempli de bocaux" +echo "Une glacière recouverte d'une couche d'isolant Un bruleur à gaz." +echo "C'est un espace pour cuisiner." +sleep 3 +echo +echo "Vous avez soif. Un filtre à eau gravitationnel vous fait face" +echo "vous attraper un gobelet et le remplissez à raz bord du liquide de la bombone" +echo "Vous portez le verre à vos lèvres..." +echo +sleep 5 +echo "A la première gorgée vous vous sentez ramolir. Comment savoir combien vous avez bu" +echo "quand votre corps devenu impossible à garder droit s'est éffondré sur le sol." +echo "Simplement le temps de vous demander pourquoi?" +echo +echo "Vous sombrez dans l'inconscience." +sleep 4 +echo "VOUS VOUS SENTEZ DECOLLER." +echo +read -p "Appuyez sur [ENTER] pour revenir..." +./mainroom.sh + +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/kroo.sh b/adventure/games/damien.espenel@ynov.com/rooms/kroo.sh new file mode 100755 index 00000000..9b8f1a11 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/kroo.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear + +# This room gets a little artsy with sleep commands, to help with the +# narrative of the story. This is why there are two versions - foyer and foyer2. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# It's script time again... +sleep 1 +echo "Vous pénétrez à l'intérieur de l'Astroport." +echo +sleep 3 +echo "Une voix synthétique vous accueille." +espeak "Welcome. Please Identify." > /dev/null 2>&1 +echo +echo "Vous parcourez l'espace du regard" +echo "Au nord, face à vous se trouve un foyer où brule un feu." +echo +sleep 3 +echo "A l'ouest sont suspendus tuyaux, ustensiles et bocaux. Une cuisine?" +echo "A l'est il y a un genre de 'photomaton' " +sleep 2 +echo "Derrière vous, la porte par où vous êtes entré est encore ouverte." +echo +echo "Que voulez vous faire?" + +# And once again the room logic. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous asseyez sur le grand tapis devant le feu. Vous vous relaxez un instant." + ./magic8.sh + ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "Vous tapotez sur le barmoètre. Une photo satellite?" + ./meteofrance.sh + exit + ;; + h ) echo "La pièce est spacieuse. La chaleur du feu agréable, à gauche on dirait une cuisine explosée, à droite une chaise moletonnée fait face à un écran." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/kroo2.sh b/adventure/games/damien.espenel@ynov.com/rooms/kroo2.sh new file mode 100755 index 00000000..ebdb5e36 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/kroo2.sh @@ -0,0 +1,40 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# So here's a little story all about how this script got flip-turned upside down... +sleep 1 +echo "You're in a corridor, but it's quite a small one. You got here" +echo "the first time by hugging a statue of a kitten. Standard." +echo +echo "You see a glow coming from the rooms to your east and west, and" +echo "there's a big, old looking door to the south of you." +echo +echo "What would you like to do?" + +# Imma let you finish, but here's the room choices. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "You faceplant the wall. Idiot." ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "There's nothing you can use right here." ;; + h ) echo "After hugging that cat you aren't sure you should try to hug yourself again." ;; + * ) echo "I'm sorry, I don't understand you. Commands are: n, e, s, w, u and h.";; + esac +done + +esac +exit \ No newline at end of file diff --git a/adventure/games/damien.espenel@ynov.com/rooms/kroo3.sh b/adventure/games/damien.espenel@ynov.com/rooms/kroo3.sh new file mode 100755 index 00000000..44b8c133 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/kroo3.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear + +# This room gets a little artsy with sleep commands, to help with the +# narrative of the story. This is why there are two versions - foyer and foyer2. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# It's script time again... +sleep 1 +echo "Vous cassez la vitre puis vous pénétrez à l'intérieur de l'Astroport." +echo +sleep 3 +echo "Une voix synthétique vous accueille." +espeak "Welcome. Please Identify." > /dev/null 2>&1 +echo +echo "Vous parcourez l'espace du regard" +echo "Au nord, face à vous se trouve un foyer où brule un feu." +echo +sleep 3 +echo "A l'ouest sont suspendus tuyaux, ustensiles et bocaux. Une cuisine?" +echo "A l'est il y a un genre de 'photomaton' " +sleep 2 +echo "Derrière vous, la porte par où vous êtes entré est encore ouverte." +echo +echo "Que voulez vous faire?" + +# And once again the room logic. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous asseyez sur le grand tapis devant le feu. Vous vous relaxez un instant." + ./magic8.sh + ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "Vous tapotez sur le barmoètre. Une photo satellite?" + ./meteofrance.sh + exit + ;; + h ) echo "La pièce est spacieuse. La chaleur du feu agréable, à gauche on dirait une cuisine explosée, à droite une chaise moletonnée fait face à un écran." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/magic8.sh b/adventure/games/damien.espenel@ynov.com/rooms/magic8.sh new file mode 100755 index 00000000..fa8b8fd7 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/magic8.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# magic 8 ball. Yup. Pick a random number, output message +# source: https://www.linuxjournal.com/content/bash-shell-games-lets-play-go-fish + +answers=("Oui c'est certain." "C'est carrément ça." + "Sans aucun doute." "Oui - assurément." + "Comptez la dessus." "Comme je le vois, oui." "Très probablement." + "Bonne perspective." "Oui." "Les signes indiquent que oui." + "Réponse floue, essayez à nouveau." "Redemandez plus tard." + "Il vaut mieux ne pas vous le dire maintenant.." "Impossible de prédire maintenant." + "Concentrez-vous et demandez à nouveau." "N'y comptez pas." + "Ma réponse est non." "Mes sources disent que non." + "Rien de bon." "Très douteux.") + +echo "Oh ! Boule magique, dis-moi la vérité, s'il te plaît...." ; echo "" +/bin/echo -n "Quelle est votre question ? " +read question + +answer=$(( $RANDOM % 20 )) + +echo "" +echo "J'ai regardé dans le futur et je dis: " +echo " ${answers[$answer]}" ; echo "" + +sleep 3 +./mainroom.sh + +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/mainroom.sh b/adventure/games/damien.espenel@ynov.com/rooms/mainroom.sh new file mode 100755 index 00000000..93f23192 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/mainroom.sh @@ -0,0 +1,73 @@ +#!/bin/bash +clear + +# This is a repeat of the opening room in the start.sh file - if the player +# wants to go back to the main room, this saves going through the whole +# start script over again. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Shakesphere wrote this, honest. +sleep 1 +echo "Vous êtes de retour à votre point de départ." +echo "La forêt qui vous entoure est immense." +echo "Vous ne pouvez pas vraiment en imaginer la taille," +echo +echo "Vous pouvez vous diriger au nord, à l'est, au sud et à l'ouest." +echo +echo "Vous apercevez quelque chose derrière un arbre.." +echo +sleep 2 +echo "Un levier est installé là." +echo +echo "À côté, se trouve un vitre renfermant un marteau." +echo +leverstate2=`cat ../logic/leverlogic2.ben` + if [ "$leverstate2" = "on" ]; then + echo "La vitre est ouverte, vous avez récupéré le marteau." + else + echo "La vitre est fermée, et vous empêche de récupérer le marteau." + fi +echo +echo "Que voulez-vous faire ?" + +# And the room logic once again. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./white.sh + exit ;; + s ) ./brown.sh + exit ;; + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) leverstate2=`cat ../logic/leverlogic2.ben` + if [ "$leverstate2" = "on" ]; then + sh ../masterguesser.sh + else + echo "Il n'y a rien que vous puissiez utiliser ici." + fi + ;; + h ) leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "Vous remarquez un petit terminal allumé..." + sleep 2 + echo "Le jeu MasterGuesser y est ouvert !" + else + echo "Vous observez votre montre, il est 20:12" + fi + ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/meteofrance.sh b/adventure/games/damien.espenel@ynov.com/rooms/meteofrance.sh new file mode 100755 index 00000000..a3526818 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/meteofrance.sh @@ -0,0 +1,58 @@ +#!/bin/bash +################################################################################ +# Author: Fred (support@qo-op.com) +# Version: 0.1 +# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) +################################################################################ +MOATS=$(date -u +"%Y%m%d%H%M%S%4N") +mkdir -p ~/.zen/tmp/${MOATS} +################################################################################ +# Choisir la source de capture +# https://fr.sat24.com/image?type=visual5HDComplete®ion=fr + +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +## TEST IPFS +[[ ! $(which ipfs) ]] && echo "Missing IPFS. Please install... https://ipfs.tech" && exit 1 + +## PREPARE FILE SYSTEM CACHE +mkdir -p ~/.zen/adventure/meteo.anim.eu +rm -f ~/.zen/adventure/meteo.anim.eu/meteo.png + +## SCRAPING meteo.png +curl -m 20 --output ~/.zen/adventure/meteo.anim.eu/meteo.png https://s.w-x.co/staticmaps/wu/wu/satir1200_cur/europ/animate.png + +if [[ ! -f ~/.zen/adventure/meteo.anim.eu/meteo.png ]]; then + + echo "Impossible de se connecter au service meteo" + exit 1 + +else + + echo "Mise à jour archive meteo : ${MOATS}" + echo ${MOATS} > ~/.zen/adventure/meteo.anim.eu/.moats + + OLDID=$(cat ~/.zen/adventure/.meteo.index 2>/dev/null) + # TODO : COMPARE SIMILAR OR NOT + # ipfs get "/ipfs/$OLDID/meteo.anim.eu/meteo.png" + + ## PREPARE NEW index.html + sed "s/_OLDID_/$OLDID/g" ${MY_PATH}/../templates/meteo_chain.html > /tmp/index.html + sed -i "s/_IPFSID_/$IPFSID/g" /tmp/index.html + sed -i "s/_DATE_/$(date -u "+%Y-%m-%d#%H:%M:%S")/g" /tmp/index.html + sed "s/_PSEUDO_/${USER}/g" /tmp/index.html > ~/.zen/adventure/index.html + + # Copy style css + cp -r ${MY_PATH}/../templates/styles ~/.zen/adventure/ + + INDEXID=$(ipfs add -rHq ~/.zen/adventure/* | tail -n 1) + echo $INDEXID > ~/.zen/adventure/.meteo.index + echo "METEO INDEX : http://127.0.0.1:8080/ipfs/$INDEXID" + + IPFS=$(ipfs add -q ~/.zen/adventure/meteo.anim.eu/meteo.png | tail -n 1) + echo $IPFS > ~/.zen/adventure/meteo.anim.eu/.chain + +fi + diff --git a/adventure/games/damien.espenel@ynov.com/rooms/red.sh b/adventure/games/damien.espenel@ynov.com/rooms/red.sh new file mode 100755 index 00000000..d7d84245 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/red.sh @@ -0,0 +1,41 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Set up the script for this room. It's a simple one! +sleep 1 +echo "Vous entrez dans l'ancienne bergerie." +echo "Un canapé mauve est installé au milieu de l'espace" +echo "Une bache transparente vous sépare du ciel." +echo +echo "Vous êtes dans une serre." +echo "Une seule sortie. A l'Ouest, d'où vous venez." +echo +echo "Que voulez-vous faire?" + +# And the choices go here. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Une fente dans le mur vous laisse observer une carcasse de voiture. Une vieille 2cv. Un grillage vous empêche de passer." ;; + s ) echo "L'emplacement d'un grand feu se trouve la. Il ne reste que de la cendre." ;; + e ) echo "Une autre pièce remplie de gravats et d'éboulis se trouve devant vous. Impossible d'y accéder." ;; + w ) ./mainroom.sh + exit ;; + u ) echo "Vous vous asseyez dans le canapé. Vous vous sentez immédiatement happé par un nuage." + sleep 2 + xdg-open "https://www.copylaradio.com/blog/blog-1/post/le-pas-a-pas-qui-libere-du-grand-mechant-cloud-36#scrollTop=0" + ;; + h ) echo "Aucun détail particulier si ce n'est une tache sur le sofa." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/riddle.sh b/adventure/games/damien.espenel@ynov.com/rooms/riddle.sh new file mode 100755 index 00000000..18c2d645 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/riddle.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +# Génération d'un nombre aléatoire entre 1 et 100 +nombre_secret=$(shuf -i 1-100 -n 1) + +echo "Bienvenue dans le jeu 'MasterGuesser' !" +sleep 1 +nohup mplayer ../music/masterguesser.mp3 > /dev/null 2>&1 & +sleep 1 +echo "Une seule règle, trouver le nombre aléatoire entre 1 et 100 !" +sleep 1 + + + + +devine_le_nombre() { + read -p "Ton choix : " guess + + # Vérification de la réponse + if [ $guess -eq $nombre_secret ]; then + echo "Félicitations ! Tu as deviné le nombre secret !" + echo "Fin de la session..." + # kill $! + ## CHECK FOR ANY ALREADY RUNNING mplayer + mplayerrunning=$(ps axf --sort=+utime | grep -w 'mplayer' | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) + [[ $mplayerrunning ]] && kill $mplayerrunning + exit 0 + elif [ $guess -lt $nombre_secret ]; then + echo "Le nombre est plus grand." + devine_le_nombre + else + echo "Le nombre est plus petit." + devine_le_nombre + fi +} + +devine_le_nombre diff --git a/adventure/games/damien.espenel@ynov.com/rooms/start.sh b/adventure/games/damien.espenel@ynov.com/rooms/start.sh new file mode 100755 index 00000000..8dc60672 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/start.sh @@ -0,0 +1,77 @@ +#!/bin/bash + +clear + +# Logic in the game is stored in .ben files. This sample has just one 'logic' file. +# You can add more logic files by simply adding a 'sed' command and appropriate .ben file. +# First off, let us reset the game logic. Use this as an example. + +sed -i 's/on/off/' ../logic/leverlogic.ben +sed -i 's/on/off/' ../logic/leverlogic2.ben + +# Who doesn't love ASCII text, right? +# Next up, let's initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Next up, let's load in the initial introduction. Script is also stored in .ben files. +sleep 5 +file2="../script/opening.ben" +while IFS= read -r line +do + echo "$line" +done <"$file2" +read -p "Pressez sur [ENTER] pour démarrer..." + +# Okay, now that the introduction is out of the way, we can start the first room! +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +sleep 1 + +# Here's where you introduce the room to the player. Be sure to tell them if there +# Are exits - but don't give too much away. Make it fun for them to explore! +echo +echo "La téléportation vous a placé debout au centre d'une clairière." +echo "Vous vous trouvez près d'une ancienne bergerie aux gros murs de pierres." +echo "Le toit et une bonne partie des murs sont effondrés." +echo +echo "Tout autour la forêt. Des feuillus. Quelques arbustres épineux." +echo "Sous vos pieds. Le sol est rouge parsemé de cailloux blancs." +echo +echo "Vous pouvez vous diriger selon les points cardinaux." +echo "Au nord un chemin remonte, au sud un passage descend, à l'est, la bergerie, à l'ouest, des traces d'animaux" +echo +echo "Que voulez-vous faire? Les commandes sont : n, e, s, w, u, d et h." + +# Now we wait for their response - and send them somewhere accordingly. +while true; do + read -p "> " nsewuh + case $nsewuh in + d ) echo "Vous récupérez un écran portatif interactif par terre." + echo "Appuyez sur Entrée pour continuer..." + read -r + # Exécutez riddle.sh après avoir ramassé l'écran + ./riddle.sh + ;; + n ) ./white.sh + exit ;; + s ) ./brown.sh + exit ;; + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) echo "Vous ouvrez votre sac il contient une tente, des vêtements, un thermos, une scie pliante et un couteau" ;; + h ) echo "Comment avez-vous pu arriver ici.? Des souvenirs vous reviennent... https://web.archive.org/web/20211129105224/https://oasis.astroport.com/a-quel-jeu-voulons-nous-jouer/" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done +exit diff --git a/adventure/games/damien.espenel@ynov.com/rooms/white.sh b/adventure/games/damien.espenel@ynov.com/rooms/white.sh new file mode 100755 index 00000000..9bf45008 --- /dev/null +++ b/adventure/games/damien.espenel@ynov.com/rooms/white.sh @@ -0,0 +1,72 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +#Setting up the room... +sleep 1 +echo "Vous parcourez un chemin qui monte en direction du nord.." +echo "Au sommet de cette petite colline vous découvrez un magestueux chêne" +echo "trônant au centre d'une clairière lumineuse. La forêt à cet endroit" +echo "forme un cercle tout autour..." +echo +echo "Un Astroport fait de vitres, de planches, de tôles et de chevrons" +echo "est posé là. Eclairé par les rayons du soleil." +echo +# Here we're going to check to see if the lever - the only logic we are using in this game - is on or off. +leverstate=`cat ../logic/leverlogic.ben` +leverstate2=`cat ../logic/leverlogic2.ben` + if [ "$leverstate" = "on" ]; then + echo "Une poignée est apparue sur la porte de la façade..." + else + if [ "$leverstate2" = "on" ]; then + echo "Vous voyez une vitre qui peut être cassée avec votre marteau." + else + echo "Vous en faites le tour..." + echo "Aucune entrée n'est visible." + fi + fi + +echo +echo "Pas d'autre chemin praticable que celui d'où vous venez." +echo +echo "Que voulez-vous faire ?" + +# Now lets capture this room's actions. Note that here, the actions change depending on whether or not +# the lever is on or off. If it's on, you go elsewhere. If it's off, you don't. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous aventurez dans la forêt plus au nord. Sans boussole, vous allez vous perdre rapidement... " ;; + s ) ./mainroom.sh + exit ;; + e ) echo "Une corniche surplombe un ruisseau qui coule dans le fond de la ravine. Impossible de passer sans équipement" ;; + w ) echo "Vous voilà face à un Jardin luxuriant. Une cloture électrique le délimite et en empêche l'accès." ;; + h ) echo "Vous voyez à l'interieur de la Station une video en cours de projection..." + sleep 2 + xdg-open "https://www.youtube.com/embed/Yk-WRXKysXM" + ;; + u ) leverstate=`cat ../logic/leverlogic.ben` + leverstate2=`cat ../logic/leverlogic2.ben` + if [ "$leverstate" = "on" ]; then + ./kroo.sh + exit + else + if [ "$leverstate2" = "on" ]; then + ./kroo3.sh + else + echo "Vous cherchez une ouverture... Pas la moindre. Impossible d'entrer sans commettre une effraction..." + fi + fi + ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/art/Gune.ben b/adventure/games/edouard.abgrall@ynov.com/art/Gune.ben new file mode 100644 index 00000000..dedb1304 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/art/Gune.ben @@ -0,0 +1,21 @@ + + + .';:llllc;'. + .:xXWX;.,ll;.:XWXx;. + ;0MMMMMMKl;'',l0MMMMMWO, + ,0MMMMMMW0dc;,,;cd0WMMMMMMO. + dWMMMMM0; ;OMMMMMN: + dMMMMMN: .,'. cWMMMMMc + ,WMMMMX. .xNMMMMNx,'lONMMMMMMN. + oMMMMM: :WMMMMMMMMMMMMMMMMMMMMc + xMMMMM' xMMMMMMOlllllllloNMMMMo + oMMMMMc ,NMMMMMWd. KMMMM: + .WMMMMN, .l0NWWWKc KMMMX. + cMMMMMWo .. KMMW; + cWMMMMMXo' .lKd. KMK' + .xWMMMMMMN0dlllldONMMMMWOXd + .xNMMMMMMMd''lWMMMMMMXo. + 'lONWMW, .XMWXOl. + ..,,..,,.. + + diff --git a/adventure/games/edouard.abgrall@ynov.com/art/astrologo.ben b/adventure/games/edouard.abgrall@ynov.com/art/astrologo.ben new file mode 100644 index 00000000..64180c37 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/art/astrologo.ben @@ -0,0 +1,21 @@ + + .':cdxxxxxoc;. + .:x00dc;'..:..,:lk00o' + ;0Xd, oMo :OXx. + :KK; cMMMl .oNk. + .kN: ;MMMMMc xNl + .0K. ,WMMMMMW; ;Wo + OX. ,WMMMMMMMW; ;Wc + cM; .WMMMMMMMMMW, kX. + OX .NMMMMMMMMMMMW' ,Mc + O0 .NMMMMMMMMMMMMMW' .Mc + ON .XMMMMM0kkkkKMMMMN. ,M: + :M; KMMMMM: .,,;dMMMMMN. kX. + ON. 0MMMMMl ,WMMMMMMMMMMX. ;Wc + .0K. 0MMMMMd 'WMMMMMMMMMMMMX. :Wo + .xN: kMMMMMO .XWWWWNNNNNXXKKKd xNc + ;0Xl. .oXx. + ,OXx, .cOKd. + ;d00xl:,....';coO0Ol' + .;:odddddl:,. + diff --git a/adventure/games/edouard.abgrall@ynov.com/art/astroportland.ben b/adventure/games/edouard.abgrall@ynov.com/art/astroportland.ben new file mode 100644 index 00000000..f27e1fd1 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/art/astroportland.ben @@ -0,0 +1,21 @@ +MMMMMMMMMMMMMMMMMMMl xxlxxxd . KNNMNl. 'd0xdddkXKxc. ,dNMMMMMMMMMMMMMMM +MMMMMMMMMMMWKOl:cc' .NNOMXNX .ld; ,lxXMMMMMMMMMMM +MMMMMMMMNo. ,,' .KKWMOXX .. .dWMMMMMMMM +MMMMMMWc cdddc .NNNMXNX .do '' ' .:,:k; l, .KMMMMMMM +MMMMMW, ;ll: .,:ddddd .KKOM0XX .do '0MMXMo . dMMMMMMXOMX0: XMMMMMM +MMMMMo xc:d 'ddddddd .XXWMK00' .do .oo. .dMMMMMMO;lWNMMMMMMWXMMMX: :MMMMMM +MMMMW. .cXKKXWooK0kk0d0Oxxkkx .XXNM0Ok; .:ol:'do,0MMK ... 'XMMMMMMMMMMMMMMMMMWWMMMMx .dkONMM +MKNK. NMWooOWllKKoMNll0MM0x0 xNXXOMKOkKOoM0kkkOkWMMMM0NWWXXMMMMMMMMMMW:WkWk0OKMWdOMNxd0O. .KM +l dkkMMWloOWcc0KoMNccOMMxl0cMMXXWM0KOMMMM0OkkOKMMMMMMMMMMMMMMMMMMMMM0 : o.. 'll.lMMMMMMx .O + ;kMMMMMWlckWooKXdMNccOMMxlXk0MMMNMMMMMMMM0OkkOWMMMMMMMMMMMMMMMMMMMMMMo0OWW,xNWKcooMM0NN0Oc + .NMMMMMMNllkWllKKoMNll0MMxlNxOMMMOMMMMMMMM0OkOOWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNMMNdxMMMk + ;WMMMMMMMMMMMNNWWNMMMMMMMWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMWx. + :MMkxxxWMMMWkxxxxxxxWXxxxxxxxxKWxxxxxxxxxWMMKxxxxxxKMMKxxxxxxxxKMMXxxxxxx0MMkxxxxxxxxNMXxdlloodO: + :N, OMM0. 'N. 0: :Mc XK Nx kl ,N. ;' +x..M0xddddKMMOddddddddKKddddddddxNxdddddddddOWoooooooooN0ddddddddddNdoooooooo0xdddddddddkKdddddddox. +MWKK ,MN. .,XMMMMl ;MMMM' xc 'MMd .Mx ;x .NMO N; dMMMl ,W +MMMK NM:. 'MMMW. xMMMO dW. oMM. lM' .:N, ;MM; ;K oMMMW. dO +MMMMMMMo xXXXXXk .MMMO NMMM; .WWN. 00 XM0 KK 0WWWWMMW OMX kc .WWW. OMMMO Nc +MMMMMMMX dMMM; ;MMMN dMMk N0 .. oMl .MMMMMMMN ... :W. lMM0 XMMM; ;M' .c +MMMMMMMM, .xMMMW. kMMMx .NMM: cMMd. .;0MM. oMMMMMMMMk. .,kMO XMMl :MMMW. kMOKMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM diff --git a/adventure/games/edouard.abgrall@ynov.com/art/astrored.ben b/adventure/games/edouard.abgrall@ynov.com/art/astrored.ben new file mode 100644 index 00000000..7ed4a2b8 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/art/astrored.ben @@ -0,0 +1,21 @@ + .,'. + .,,;,'',;,'',,.'. + .;;,,.. .........' + .l:. ............cc. + .c, .................:c. + .lc ................... .l; + l' ... .............. c: + :: .. ........... l' + d . .''...... 'o + .o .. ''''''. l + .d . ......''''''' l + o . .,,,,,,'''''' 'l + ;: . ',,,,''''', l. + l, .. .,,,''''', oc + .lc .',,,''',. .c, + 'l, .,,''',..:c. + ';;. .,,',,:;. + ':;;'. .;:,,,. + .,,'''''','..;,,. + ,:. + ., diff --git a/adventure/games/edouard.abgrall@ynov.com/art/bigfinish.ben b/adventure/games/edouard.abgrall@ynov.com/art/bigfinish.ben new file mode 100755 index 00000000..8ca22cfc --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/art/bigfinish.ben @@ -0,0 +1,9 @@ + _______ _ ______ _ + |__ __| | | ____| | | + | | | |__ ___ | |__ _ __ __| | + | | | '_ \ / _ \ | __| | '_ \ / _` | + | | | | | | __/ | |____| | | | (_| |_ + |_| |_| |_|\___| |______|_| |_|\__,_(_) + + + \ No newline at end of file diff --git a/adventure/games/edouard.abgrall@ynov.com/art/logoastro.ben b/adventure/games/edouard.abgrall@ynov.com/art/logoastro.ben new file mode 100644 index 00000000..859e4af1 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/art/logoastro.ben @@ -0,0 +1,21 @@ + + + .:dO0NNkNX0ko,. + .:OWMMMMMMc cWMMMMMXd, + 'kWMMMMMMMMc cWMMMMMMMNo. + .kMMMMMMMMMMo lMMMMMMMMMWl + .KMMMMMMMMMMd oMMMMMMMMMMx + .XMMMMMMMMMMk dMMMMMMMMMMx + xMMMMMMMMMM0 OMMMMMMMMMM, + .NMMMMMMMMMK. OMMMMMMMMMk + 'MMMMMMMMMK. OMMMMMMMMK + .NMMMMMMMK. ,;;;;' OMMMMMMMx + dMMMMMMX. kMKkxxc 0MMMMMM, + .KMMMMN. dMx .KMMMMd + .0MMN. cMx .KMMd + xW' 'W0. ......:Xc + .lXNNWNWMMMMMMMMMMMMMMMMXl + ;xXMMMMMMMMMMMMMMWKo' + .,lxkKKKK0kdc' + + diff --git a/adventure/games/edouard.abgrall@ynov.com/art/supper.ben b/adventure/games/edouard.abgrall@ynov.com/art/supper.ben new file mode 100755 index 00000000..e1806a8a --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/art/supper.ben @@ -0,0 +1,10 @@ + _____ _ _ + / ____| (_) | | + | (___ _ _ _ __ _ __ _ __ _ ___ ___| | + \___ \| | | | '__| '_ \| '__| / __|/ _ \ | + ____) | |_| | | | |_) | | | \__ \ __/_| + |_____/ \__,_|_| | .__/|_| |_|___/\___(_) + | | + |_| + + \ No newline at end of file diff --git a/adventure/games/edouard.abgrall@ynov.com/art/titleart.ben b/adventure/games/edouard.abgrall@ynov.com/art/titleart.ben new file mode 100755 index 00000000..6da1d7df --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/art/titleart.ben @@ -0,0 +1,9 @@ + _ _ _ ____ ___ _ ____ + / \ ___| |_ _ __ ___ _ __ ___ _ __| |_ |___ \ / _ \ _ / |___ \ + / _ \ / __| __| '__/ _ \| '_ \ / _ \| '__| __| __) | | | | (_) | | __) | + / ___ \\__ \ |_| | | (_) | |_) | (_) | | | |_ / __/| |_| | _ | |/ __/ +/_/ \_\___/\__|_| \___/| .__/ \___/|_| \__| |_____|\___/ (_) |_|_____| + |_| + + --- Un JEu de Forêt Jardin en Monnaie Libre sur IPFS --- + diff --git a/adventure/games/edouard.abgrall@ynov.com/logic/leverlogic.ben b/adventure/games/edouard.abgrall@ynov.com/logic/leverlogic.ben new file mode 100755 index 00000000..b3d86404 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/logic/leverlogic.ben @@ -0,0 +1 @@ +on diff --git a/adventure/games/edouard.abgrall@ynov.com/logic/leverlogic.ben= b/adventure/games/edouard.abgrall@ynov.com/logic/leverlogic.ben= new file mode 100755 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/logic/leverlogic.ben= @@ -0,0 +1 @@ +off diff --git a/adventure/games/edouard.abgrall@ynov.com/logic/stationlogic.ben b/adventure/games/edouard.abgrall@ynov.com/logic/stationlogic.ben new file mode 100755 index 00000000..b3d86404 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/logic/stationlogic.ben @@ -0,0 +1 @@ +on diff --git a/adventure/games/edouard.abgrall@ynov.com/logic/stationlogic.ben= b/adventure/games/edouard.abgrall@ynov.com/logic/stationlogic.ben= new file mode 100755 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/logic/stationlogic.ben= @@ -0,0 +1 @@ +off diff --git a/adventure/games/edouard.abgrall@ynov.com/readme b/adventure/games/edouard.abgrall@ynov.com/readme new file mode 100644 index 00000000..8e2d1512 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/readme @@ -0,0 +1,37 @@ +# SCRIPT01.CYBSEC + +Enigma + ++ 11 : game engine ++2 : multigame compatibility ++1 : shellcheck + +> final 14 + +## "GameShell" LEVEL ? + + +## DIFFs + +``` +diff --recursive --brief ./ ../_votre\ jeu/ +Seulement dans ../_votre jeu/: adventure.sh +Les fichiers ./logic/leverlogic.ben et ../_votre jeu/logic/leverlogic.ben sont différents +Seulement dans ./logic: leverlogic.ben= +Les fichiers ./logic/stationlogic.ben et ../_votre jeu/logic/stationlogic.ben sont différents +Seulement dans ./logic: stationlogic.ben= +Seulement dans ./: readme +Les fichiers ./rooms/red.sh et ../_votre jeu/rooms/red.sh sont différents +Seulement dans ./rooms: riddle.sh +Les fichiers ./rooms/start.sh et ../_votre jeu/rooms/start.sh sont différents +Seulement dans ./rooms: yellow.sh +``` + + +``` +shellcheck rooms/riddle.sh +``` + +OK + +never ending trick... diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/bigroom.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/bigroom.sh new file mode 100755 index 00000000..a3463cf3 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/bigroom.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" + +# This is close to the endgame, but affords the player a last set of things to try and do. +# Obviously if you use this framework to create a game of your own, you can extend this massively. + +echo +sleep 1 +echo "Vous décidez de sortir de la Sation Astroport." +echo + echoleverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + + sleep 2 + echo "Il ne dépend que de vous d'explorer ce nouveau futur." + echo "Le Visa MadeInZion inaugure un monde sans territoire, sans frontière, transnationnal, interplanétaire, à vous de voir?" + sleep 2 + echo "Avant de nous rejoindre. Visitez notre 'bon coin' https://gchange.fr " + echo + sleep 3 + echo "Ouvrez une ambassade? Installez IPFS, devenons hébergeur, fournisseur d'accès de nos Internets." + echo + sleep 4 + echo "Ouvrez votre propriété au futur en commun, activez Astroport." + echo "Nous organisons des formations habitats posés, vissés et cousus. Eau potable. Biogaz, Marmite Norvégienne..." + echo "Comment nourrir le sol, reconnaitre les plantes... Redevenir ceuilleur, créateur." + echo + else + echo "" + echo "Aucune entrée n'est visible." + fi +echo +sleep 5 +echo +echo "Que voulez vous faire?" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Pas moyen de se déplacer." ;; + s ) echo ".Pas le choix." ;; + e ) echo "Pas par là." ;; + w ) echo "Plus à l'ouest que ça? Y'a pas!" ;; + u ) ./end.sh + exit ;; + h ) echo "Comment refuser une telle proposition..." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/brown.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/brown.sh new file mode 100755 index 00000000..9d28126e --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/brown.sh @@ -0,0 +1,62 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 + +# Here's this room's script. + +echo "Sur la direction du sud, vous traversez une zone plus sombre et humide." +echo "Le sol est glissant à cause de l'argile qui colle sous vos bottes" +echo "Vous finissez par croiser un chemin qui traverse la forêt d'Est en Ouest" +echo +echo "Un terminal informatique est installé là." +echo +echo "Il ressemble à une grosse calculatrice" + + +# Here we tell the player whether the lever is on or off. +leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "'VISA SVP' clignote sur l'écran..." + else + echo "La machine affiche l'heure : 20:12" + fi +echo +echo "Il est tard pour explorer le chemin à pied, vous devriez retourner d'où vous venez." +echo +echo "Que faites vous?" + +# In this set of actons lies the logic switch used later in the game. +# You have to set this switch to reach the endgame. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./mainroom.sh + exit ;; + s ) echo "Si vous continuez à marcher dans la forêt. Vous allez vous perdre. Demi tour." ;; + e ) echo "Le chemin qui part à l'Est est plein de boue... Impossble d'aller par là." ;; + w ) echo "Une rivière vous empêche de passer." ;; + u ) leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "A chaque frappe d'une touche. l'écran fait défiler le texte 'SCANNEZ VISA SVP'." + else + sed -i 's/off/on/' ../logic/leverlogic.ben + echo "Vous pianotez sur l'appareil..." + sleep 3 + echo "A moment où vous touchez la touche '#' L'écran se met à clignoter..." + echo "Puis le message 'ACTIVATION STATION' défile sur les caractères lumineux." + fi + ;; + h ) echo "Le terminal comporte un clavier numérique. Un petit écran.. Il est réalisé avec un mini ordinateur Raspberry Pi. Il porte l'adresse G1TAG [https://g1sms.fr]" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/end.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/end.sh new file mode 100755 index 00000000..cd40ef11 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/end.sh @@ -0,0 +1,71 @@ +#!/bin/bash +clear + +# This is the endgame. This file does nothing but give you the final bit of storyline. +# Use (over-use) of 'sleep' is for dramatic effect - play around with it, see how it reads. + +# Let's reset the lever, now that we're done with it. +sed -i 's/on/off/' ../logic/leverlogic.ben + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 +echo "Voici la fin de cette petite aventure." +echo +sleep 4 +echo "Vous venez de visiter la forêt où s'est posé Astroport ONE." +sleep 3 +echo +echo "Une oeuvre habitable. Un jardin sur sol vivant. Un progamme pair à pair interplanétaire" +sleep 4 +echo +echo "Les terraformeurs" +echo "En quête de la meilleure façon de vivre sur le vaisseau spatial Terre..." +echo +sleep 5 +echo "Vous aussi ouvrez votre Ambassade." +echo "Activez le JEu. Invitez vos visiteurs à rêver d'un monde meilleur" +echo "Reproduisez, améliorez, partagez les plans pour y parvenir." +echo +sleep 7 +echo "Il est l'heure de laisser derrière vous la civilisation thermo industrielle." +echo "Gagnez en autonomie, en convivialité, en optimisme, en conscience." +echo +sleep 5 +echo +echo "EMBARQUEZ VERS LE FUTUR" +echo +sleep 9 +echo +file1="../art/bigfinish.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo +read -p "Appuyez sur [ENTER] pour terminer..." +echo +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo "Merci d'avoir joué le jeu" +echo "Je suis heureux de vous avoir fait partager le rêve des astronautes terraformeurs." +echo +echo "Le futur ne se prédit pas, il se construit. Il se vit." +echo +echo " - @Fred" +echo + +# That's all, folks! + +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/gameroom.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/gameroom.sh new file mode 100755 index 00000000..cff9f68a --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/gameroom.sh @@ -0,0 +1,88 @@ +#!/bin/bash +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# This room gives the player a typical poisoned apple style scenaro. +# Just because something looks shiny and fun, doesn't make it any +# less deadly. +sleep 1 +echo "Dans une cabine, un écran est disposé en coin. Un tout petit ordinateur" +echo "y est raccordé... D'autres fils sortent de l'appareil. Une webcam. Une imprimante." +echo +echo "Que voulez vous faire?" +myIP=$(hostname -I | awk '{print $1}' | head -n 1) +isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/") +[[ ! $myIP || $isLAN ]] && myIP="127.0.1.1" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous êtes dans une cabine. Des QRCode sont collés à la parois nord" ;; + s ) echo "Cette paroie comporte un miroir. Pour se faire une beauté avant d'enregistrer une capsule vidéo." ;; + w ) ./kroo.sh + exit ;; + e ) echo "Vous êtes face à l'écran. Au dessus des hauts parleurs, une webcam" ;; + u ) leverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "A chaque frappe d'une touche. l'écran fait défiler le texte 'SCANNEZ VISA SVP'." + else + sed -i 's/off/on/' ../logic/stationlogic.ben + echo "Vous appuyez sur l'interupteur de l'écran. Y apparaît alors :" + sleep 3 + echo "AMBASSADE MadeInZion - TerraPi4 - 2 To -" + echo "" + echo + sleep 2 + echo "INTERNET est dangereux. il vend vos information personnelles pour que vous deveniez un produit. " + sleep 2 + echo + echo "Rebootez INTERNET. Activez votre TW sur le Système de Fichiers Interplanétaire (IPFS)." + sleep 2 + echo + echo "On y échange en pair à pair. La monnaie y est Libre." + sleep 4 + file1="../art/astrored.ben" + while IFS= read -r line + do + echo "$line" + done <"$file1" + echo + echo + echo "____ Astroport déclenche à 20:12 la synchronisation de ses ambassades..." + echo "Rapport 2022 : https://ipfs.asycn.io/ipfs/QmUtGpGeMZvwp47ftqebVmoFWCmvroy5wEtWsKvWvDWJpR" + sleep 3 + echo + echo "ASTROPORT ONE" + echo "VISA pour le vaisseau spatial TERRE." + if [[ -d ~/.zen/Astroport.ONE ]]; then + read -p "Appuyez sur [ENTER] pour activer votre Station Astroport.ONE" + espeak "Astroport Command" > /dev/null 2>&1 + + ~/.zen/Astroport.ONE/command.sh + else + espeak "Please Install Astroport" > /dev/null 2>&1 + echo "Install Astroport.ONE ..." + echo "bash <(wget -qO- https://raw.githubusercontent.com/papiche/Astroport.ONE/master/install.sh)" + ./end.sh + fi + fi + exit + ;; + + h ) echo "'DEMARRER API http://$myIP:1234 ... Une Station Astroport.ONE.?." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/green.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/green.sh new file mode 100755 index 00000000..d3e56110 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/green.sh @@ -0,0 +1,38 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Everybody clap your hands. I mean, here is the script. +sleep 1 +echo "Vous atteignez une zone remplie de jeunes épineux" +echo "Vous reconnaissez des prunus, des aubépines." +echo "Quelques génévriers dont vous remarquez les baies noires." +echo "Un peu plus loin ce sont les ronces." +echo +echo "Plus vous progressez plus vous souffrez des épines. Existe-t-il un passage? Qui sait." +echo +echo "Que voulez vous faire?" + +# And here's what you could have won... +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Un énorme roncier vous barre la route. Ca ne passe pas." ;; + s ) echo "Vers le sud, aucun passage en vue." ;; + e ) ./mainroom.sh + exit ;; + w ) echo "Vous voyez le même paysage à perte de vue" ;; + u ) echo "Vous cueillez une baie de genèvrier. Vous la portez à la bouche. Croquez. La saveur est délicieuse. La force de la plante vous envahi." ;; + h ) echo "Ce type de terrain est caractéritique des zones déboisées. La nature sort ses épines pour protéger les arbres qui poussent en dessous." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/grue.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/grue.sh new file mode 100755 index 00000000..a6016e52 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/grue.sh @@ -0,0 +1,35 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# I like this room. There is no way to get out of it alive. +sleep 1 +echo "Un évier derrière une fenère, une ancienne porte d'armoire comme table." +echo "Un meuble fait de planches de bois cousues rempli de bocaux" +echo "Une glacière recouverte d'une couche d'isolant Un bruleur à gaz." +echo "C'est un espace pour cuisiner." +sleep 3 +echo +echo "Vous avez soif. Un filtre à eau gravitationnel vous fait face" +echo "vous attraper un gobelet et le remplissez à raz bord du liquide de la bombone" +echo "Vous portez le verre à vos lèvres..." +echo +sleep 5 +echo "A la première gorgée vous vous sentez ramolir. Comment savoir combien vous avez bu" +echo "quand votre corps devenu impossible à garder droit s'est éffondré sur le sol." +echo "Simplement le temps de vous demander pourquoi?" +echo +echo "Vous sombrez dans l'inconscience." +sleep 4 +echo "VOUS VOUS SENTEZ DECOLLER." +echo +read -p "Appuyez sur [ENTER] pour revenir..." +./mainroom.sh + +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/kroo.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/kroo.sh new file mode 100755 index 00000000..9b8f1a11 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/kroo.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear + +# This room gets a little artsy with sleep commands, to help with the +# narrative of the story. This is why there are two versions - foyer and foyer2. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# It's script time again... +sleep 1 +echo "Vous pénétrez à l'intérieur de l'Astroport." +echo +sleep 3 +echo "Une voix synthétique vous accueille." +espeak "Welcome. Please Identify." > /dev/null 2>&1 +echo +echo "Vous parcourez l'espace du regard" +echo "Au nord, face à vous se trouve un foyer où brule un feu." +echo +sleep 3 +echo "A l'ouest sont suspendus tuyaux, ustensiles et bocaux. Une cuisine?" +echo "A l'est il y a un genre de 'photomaton' " +sleep 2 +echo "Derrière vous, la porte par où vous êtes entré est encore ouverte." +echo +echo "Que voulez vous faire?" + +# And once again the room logic. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous asseyez sur le grand tapis devant le feu. Vous vous relaxez un instant." + ./magic8.sh + ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "Vous tapotez sur le barmoètre. Une photo satellite?" + ./meteofrance.sh + exit + ;; + h ) echo "La pièce est spacieuse. La chaleur du feu agréable, à gauche on dirait une cuisine explosée, à droite une chaise moletonnée fait face à un écran." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/kroo2.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/kroo2.sh new file mode 100755 index 00000000..ebdb5e36 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/kroo2.sh @@ -0,0 +1,40 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# So here's a little story all about how this script got flip-turned upside down... +sleep 1 +echo "You're in a corridor, but it's quite a small one. You got here" +echo "the first time by hugging a statue of a kitten. Standard." +echo +echo "You see a glow coming from the rooms to your east and west, and" +echo "there's a big, old looking door to the south of you." +echo +echo "What would you like to do?" + +# Imma let you finish, but here's the room choices. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "You faceplant the wall. Idiot." ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "There's nothing you can use right here." ;; + h ) echo "After hugging that cat you aren't sure you should try to hug yourself again." ;; + * ) echo "I'm sorry, I don't understand you. Commands are: n, e, s, w, u and h.";; + esac +done + +esac +exit \ No newline at end of file diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/magic8.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/magic8.sh new file mode 100755 index 00000000..fa8b8fd7 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/magic8.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# magic 8 ball. Yup. Pick a random number, output message +# source: https://www.linuxjournal.com/content/bash-shell-games-lets-play-go-fish + +answers=("Oui c'est certain." "C'est carrément ça." + "Sans aucun doute." "Oui - assurément." + "Comptez la dessus." "Comme je le vois, oui." "Très probablement." + "Bonne perspective." "Oui." "Les signes indiquent que oui." + "Réponse floue, essayez à nouveau." "Redemandez plus tard." + "Il vaut mieux ne pas vous le dire maintenant.." "Impossible de prédire maintenant." + "Concentrez-vous et demandez à nouveau." "N'y comptez pas." + "Ma réponse est non." "Mes sources disent que non." + "Rien de bon." "Très douteux.") + +echo "Oh ! Boule magique, dis-moi la vérité, s'il te plaît...." ; echo "" +/bin/echo -n "Quelle est votre question ? " +read question + +answer=$(( $RANDOM % 20 )) + +echo "" +echo "J'ai regardé dans le futur et je dis: " +echo " ${answers[$answer]}" ; echo "" + +sleep 3 +./mainroom.sh + +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/mainroom.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/mainroom.sh new file mode 100755 index 00000000..d8b4d8a4 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/mainroom.sh @@ -0,0 +1,45 @@ +#!/bin/bash +clear + +# This is a repeat of the opening room in the start.sh file - if the player +# wants to go back to the main room, this saves going through the whole +# start script over again. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Shakesphere wrote this, honest. +sleep 1 +echo "Vous êtes de retour à votre point de départ." +echo "La forêt qui vous entoure est immense." +echo "Vous ne pouvez pas vraiment en imaginer la taille," +echo +echo "Vous pouvez vous diriger au nord, à l'est, au sud et à l'ouest." +echo +echo "Que voulez-vous faire ?" + +# And the room logic once again. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./white.sh + exit ;; + s ) ./brown.sh + exit ;; + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) echo "Il n'y a rien que vous puissiez utiliser ici." ;; + h ) echo "Vous observez votre montre, il est 20:12" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/meteofrance.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/meteofrance.sh new file mode 100755 index 00000000..a3526818 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/meteofrance.sh @@ -0,0 +1,58 @@ +#!/bin/bash +################################################################################ +# Author: Fred (support@qo-op.com) +# Version: 0.1 +# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) +################################################################################ +MOATS=$(date -u +"%Y%m%d%H%M%S%4N") +mkdir -p ~/.zen/tmp/${MOATS} +################################################################################ +# Choisir la source de capture +# https://fr.sat24.com/image?type=visual5HDComplete®ion=fr + +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +## TEST IPFS +[[ ! $(which ipfs) ]] && echo "Missing IPFS. Please install... https://ipfs.tech" && exit 1 + +## PREPARE FILE SYSTEM CACHE +mkdir -p ~/.zen/adventure/meteo.anim.eu +rm -f ~/.zen/adventure/meteo.anim.eu/meteo.png + +## SCRAPING meteo.png +curl -m 20 --output ~/.zen/adventure/meteo.anim.eu/meteo.png https://s.w-x.co/staticmaps/wu/wu/satir1200_cur/europ/animate.png + +if [[ ! -f ~/.zen/adventure/meteo.anim.eu/meteo.png ]]; then + + echo "Impossible de se connecter au service meteo" + exit 1 + +else + + echo "Mise à jour archive meteo : ${MOATS}" + echo ${MOATS} > ~/.zen/adventure/meteo.anim.eu/.moats + + OLDID=$(cat ~/.zen/adventure/.meteo.index 2>/dev/null) + # TODO : COMPARE SIMILAR OR NOT + # ipfs get "/ipfs/$OLDID/meteo.anim.eu/meteo.png" + + ## PREPARE NEW index.html + sed "s/_OLDID_/$OLDID/g" ${MY_PATH}/../templates/meteo_chain.html > /tmp/index.html + sed -i "s/_IPFSID_/$IPFSID/g" /tmp/index.html + sed -i "s/_DATE_/$(date -u "+%Y-%m-%d#%H:%M:%S")/g" /tmp/index.html + sed "s/_PSEUDO_/${USER}/g" /tmp/index.html > ~/.zen/adventure/index.html + + # Copy style css + cp -r ${MY_PATH}/../templates/styles ~/.zen/adventure/ + + INDEXID=$(ipfs add -rHq ~/.zen/adventure/* | tail -n 1) + echo $INDEXID > ~/.zen/adventure/.meteo.index + echo "METEO INDEX : http://127.0.0.1:8080/ipfs/$INDEXID" + + IPFS=$(ipfs add -q ~/.zen/adventure/meteo.anim.eu/meteo.png | tail -n 1) + echo $IPFS > ~/.zen/adventure/meteo.anim.eu/.chain + +fi + diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/red.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/red.sh new file mode 100755 index 00000000..9002ec1b --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/red.sh @@ -0,0 +1,50 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Set up the script for this room. It's a simple one! +sleep 1 +echo "Vous entrez dans l'ancienne bergerie." +echo "Un canapé mauve est installé au milieu de l'espace" +echo "Une bache transparente vous sépare du ciel." +echo +echo "Vous êtes dans une serre." +echo "Une seule sortie. A l'Ouest, d'où vous venez." +echo +echo "Que voulez-vous faire?" +echo $PWD + +# And the choices go here. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Une fente dans le mur vous laisse observer une carcasse de voiture. Une vieille 2cv, qui émets un petit bruit. Vous pourriez passer en vous glissant dans l'interstice. Appuyez sur 'g' pour passer." + read -p "Appuyez sur 'g' pour passer: " response + if [ "$response" = "g" ]; then + ./yellow.sh + exit + else + echo "Commande invalide." + fi + ;; + s ) echo "L'emplacement d'un grand feu se trouve là. Il ne reste que de la cendre." ;; + e ) echo "Une autre pièce remplie de gravats et d'éboulis se trouve devant vous. Impossible d'y accéder." ;; + w ) ./mainroom.sh + exit ;; + u ) echo "Vous vous asseyez dans le canapé. Vous vous sentez immédiatement happé par un nuage." + sleep 2 + xdg-open "https://www.copylaradio.com/blog/blog-1/post/le-pas-a-pas-qui-libere-du-grand-mechant-cloud-36#scrollTop=0" + ;; + h ) echo "Aucun détail particulier si ce n'est une tache sur le sofa." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h.." ;; + esac +done + +esac +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/riddle.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/riddle.sh new file mode 100755 index 00000000..d5fc53a3 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/riddle.sh @@ -0,0 +1,74 @@ +#!/bin/bash + +# Function to handle enigma scenes +function enigma_scene { + local question="$1" + local options=("${@:2}") + local correct_answer="$2" + + echo "$question" + + for (( i=0; i<${#options[@]}; i++ )); do + echo "$((i+1)). ${options[i]}" + done + + read -p "Votre réponse : " user_choice + + if ! [[ "$user_choice" =~ ^[1-9][0-9]*$ ]]; then + echo "Choix invalide. Veuillez entrer un nombre valide." + return 1 + elif [ "$user_choice" -le 0 ] || [ "$user_choice" -gt "${#options[@]}" ]; then + echo "Choix invalide. Veuillez entrer un nombre entre 1 et ${#options[@]}." + return 1 + elif [ "${options[$((user_choice-1))]}" == "$correct_answer" ]; then + echo "Bonne réponse !" + return 0 # Succès + else + echo "Mauvaise réponse. La réponse correcte était : $correct_answer" + return 1 # Échec + fi +} + +# Main game loop +score=0 +for _ in {1..3}; do + echo "Bienvenue dans le monde des énigmes." + + if enigma_scene "Énigme 1: Quel est le capitale de la France ?" "Paris" "Berlin" "Londres" "Madrid" "Paris"; then + echo "Appuyez sur Entrée pour continuer..." + ((score++)) + else + echo "Vous reposez l'écran portatif interactif." + read -p "Appuyez sur Entrée pour quitter..." + exit + fi + + if enigma_scene "Énigme 2: Quelle est la couleur du ciel par temps clair ?" "Bleu" "Rouge" "Vert" "Jaune" "Bleu"; then + echo "Appuyez sur Entrée pour continuer..." + ((score++)) + else + echo "Vous reposez l'écran portatif interactif." + read -p "Appuyez sur Entrée pour quitter..." + exit + fi + + if enigma_scene "Énigme 3: Combien de planètes dans notre système solaire?" "7" "8" "9" "10" "8"; then + break + else + echo "Vous reposez l'écran portatif interactif." + read -p "Appuyez sur Entrée pour quitter..." + exit + fi +done + +# Vérifier le score avant de donner la possibilité de revenir dans mainroom.sh +if [ "$score" -ge 2 ]; then + echo "Félicitations, voici un indice dans ta quête vers l'astroport : indice 1" + read -p "Appuyez sur Entrée pour revenir à la pièce principale..." +else + echo "Vous reposez l'écran portatif interactif." + read -p "Appuyez sur Entrée pour quitter..." +fi + +# Lancer mainroom.sh +./mainroom.sh diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/start.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/start.sh new file mode 100755 index 00000000..6f136cd7 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/start.sh @@ -0,0 +1,78 @@ +#!/bin/bash + +clear + +# Logic in the game is stored in .ben files. This sample has just one 'logic' file. +# You can add more logic files by simply adding a 'sed' command and appropriate .ben file. +# First off, let us reset the game logic. Use this as an example. + +sed -i 's/on/off/' ../logic/leverlogic.ben + +# Who doesn't love ASCII text, right? +# Next up, let's initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Next up, let's load in the initial introduction. Script is also stored in .ben files. +sleep 5 +file2="../script/opening.ben" +while IFS= read -r line +do + echo "$line" +done <"$file2" +read -p "Pressez sur [ENTER] pour démarrer..." + +# Okay, now that the introduction is out of the way, we can start the first room! +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +sleep 1 + +# Here's where you introduce the room to the player. Be sure to tell them if there +# Are exits - but don't give too much away. Make it fun for them to explore! +echo +echo "La téléportation vous a placé debout au centre d'une clairière." +echo "Vous vous trouvez près d'une ancienne bergerie aux gros murs de pierres." +echo "Le toit et une bonne partie des murs sont effondrés." +echo +echo "Tout autour la forêt. Des feuillus. Quelques arbustres épineux." +echo "Sous vos pieds. Le sol est rouge parsemé de cailloux blancs." +echo +echo "Vous pouvez vous diriger selon les points cardinaux." +echo "Au nord un chemin remonte, au sud un passage descend, à l'est, la bergerie, à l'ouest, des traces d'animaux" +echo +echo "Que voulez-vous faire? Les commandes sont : n, e, s, w, u, d et h." + +echo $PWD + +# Now we wait for their response - and send them somewhere accordingly. +while true; do + read -p "> " nsewuh + case $nsewuh in + d ) echo "Vous récupérez un écran portatif interactif par terre." + echo "Appuyez sur Entrée pour continuer..." + read -r + # Exécutez riddle.sh après avoir ramassé l'écran + ./riddle.sh + ;; + n ) ./white.sh + exit ;; + s ) ./brown.sh + exit ;; + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) echo "Vous ouvrez votre sac il contient une tente, des vêtements, un thermos, une scie pliante et un couteau" ;; + h ) echo "Comment avez-vous pu arriver ici.? Des souvenirs vous reviennent... https://web.archive.org/web/20211129105224/https://oasis.astroport.com/a-quel-jeu-voulons-nous-jouer/" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/white.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/white.sh new file mode 100755 index 00000000..5c048d08 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/white.sh @@ -0,0 +1,62 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +#Setting up the room... +sleep 1 +echo "Vous parcourez un chemin qui monte en direction du nord.." +echo "Au sommet de cette petite colline vous découvrez un magestueux chêne" +echo "trônant au centre d'une clairière lumineuse. La forêt à cet endroit" +echo "forme un cercle tout autour..." +echo +echo "Un Astroport fait de vitres, de planches, de tôles et de chevrons" +echo "est posé là. Eclairé par les rayons du soleil." +echo +# Here we're going to check to see if the lever - the only logic we are using in this game - is on or off. +leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "Une poignée est apparue sur la porte de la façade..." + else + echo "Vous en faites le tour..." + echo "Aucune entrée n'est visible." + fi + +echo +echo "Pas d'autre chemin praticable que celui d'où vous venez." +echo +echo "Que voulez-vous faire ?" + +# Now lets capture this room's actions. Note that here, the actions change depending on whether or not +# the lever is on or off. If it's on, you go elsewhere. If it's off, you don't. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous aventurez dans la forêt plus au nord. Sans boussole, vous allez vous perdre rapidement... " ;; + s ) ./mainroom.sh + exit ;; + e ) echo "Une corniche surplombe un ruisseau qui coule dans le fond de la ravine. Impossible de passer sans équipement" ;; + w ) echo "Vous voilà face à un Jardin luxuriant. Une cloture électrique le délimite et en empêche l'accès." ;; + h ) echo "Vous voyez à l'interieur de la Station une video en cours de projection..." + sleep 2 + xdg-open "https://www.youtube.com/embed/Yk-WRXKysXM" + ;; + u ) leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + ./kroo.sh + exit + else + echo "Vous cherchez une ouverture... Pas la moindre. Impossible d'entrer sans commettre une effraction..." + fi + ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/rooms/yellow.sh b/adventure/games/edouard.abgrall@ynov.com/rooms/yellow.sh new file mode 100755 index 00000000..03b4a1e2 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/rooms/yellow.sh @@ -0,0 +1,48 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Set up the script for this room. It's a simple one! +sleep 1 +echo "Vous voila en train de vous glisser entre l'espace pour acceder à la voiture " +echo "vous faites le tour de la voiture, rien de particulierement notable." +echo "vous vous asseyez dans la voiture, cela devait être quelque chose de conduire ces engins." +echo +echo "le bruit semble venir d'un compartiment, vous l'ouvrez... " +echo "un petit boitier se trouve a l'interieur, et emets un bip régulier avec une petite lumiere rouge." +echo +echo "Que voulez-vous faire?" +echo " 'o' pour sortir, 'u' pour prendre l'objet" + + +# And the choices go here. +while true; do + read -p "> " nsewuh + case $nsewuh in + o ) echo "Vous vous extrayez de la carcasse." && ./red.sh ;; + u ) + leverstate=$(cat ../logic/leverlogic.ben) + if [ "$leverstate" = "on" ]; then + echo "le boitier s'est éteint après vous avoir montré son message" + else + sed -i 's/off/on/' ../logic/leverlogic.ben + echo "vous appuyez sur le bouton rouge" + sleep 3 + echo "vous entendez au loin un grincement au fond de la forêt." + echo "Puis le message 'OUVERTURE PORTE' s'affiche." + echo "le boitier s'éteint doucement. Il n'avait vraiment plus beaucoup de batterie." + + fi + ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : o et u.." ;; + esac +done + +esac +exit diff --git a/adventure/games/edouard.abgrall@ynov.com/script/opening.ben b/adventure/games/edouard.abgrall@ynov.com/script/opening.ben new file mode 100755 index 00000000..398233a3 --- /dev/null +++ b/adventure/games/edouard.abgrall@ynov.com/script/opening.ben @@ -0,0 +1,23 @@ +Message de la Confédération Interplanétaire + +La planète où vous vous trouvez est en danger. Les menaces sont nombreuses. +Vos gouvernements se disputent les dernières ressources. Le cycle du vivant est perturbé ! +Le "contrat social" des 'pays civilisés' vascille. Les technocrates réclament plus de contrôle. + +La commission extraterrestre est formelle. Vous êtes en danger. + +Heureusement la monnaie libre a été découverte sur votre planète! +Elle s'utilise dans un jeu 'grandeur nature'. Astroport 20:12 +Bienvenue dans l'aventure du changement de civilisation. + +Les commandes pour vous déplacer et interagir sont +'n' aller au nord, +'s' aller au sud, +'e' aller à l'est, +'w' aller à l'ouest, +'u' utiliser, +'h' observer plus en détail. + +Ctrl-C pour quitter. + + - - - diff --git a/adventure/games/gregory.dantin@ynov.com/readme b/adventure/games/gregory.dantin@ynov.com/readme new file mode 100644 index 00000000..5df7507e --- /dev/null +++ b/adventure/games/gregory.dantin@ynov.com/readme @@ -0,0 +1 @@ +ERROR diff --git a/adventure/games/gregory.dantin@ynov.com/test b/adventure/games/gregory.dantin@ynov.com/test new file mode 100644 index 00000000..e69de29b diff --git a/adventure/games/ilan.doumenc@ynov.com/readme b/adventure/games/ilan.doumenc@ynov.com/readme new file mode 100644 index 00000000..13024fb1 --- /dev/null +++ b/adventure/games/ilan.doumenc@ynov.com/readme @@ -0,0 +1,48 @@ +# SCRIPT01.CYBSEC + +Morpius + ++ 14 : game engine ++2 : multigame compatibility ++1 : shellcheck + +> final 17 + +## "GameShell" LEVEL ? + + +## DIFFs + +``` +diff --recursive --brief ./ ../_votre\ jeu/ +Seulement dans ../_votre jeu/: adventure.sh +Les fichiers ./logic/leverlogic.ben et ../_votre jeu/logic/leverlogic.ben sont différents +Seulement dans ./logic: leverlogic.ben= +Les fichiers ./logic/stationlogic.ben et ../_votre jeu/logic/stationlogic.ben sont différents +Seulement dans ./logic: stationlogic.ben= +Seulement dans ./: readme +Les fichiers ./rooms/red.sh et ../_votre jeu/rooms/red.sh sont différents +Seulement dans ./rooms: riddle.sh +Les fichiers ./rooms/start.sh et ../_votre jeu/rooms/start.sh sont différents +Seulement dans ./rooms: yellow.sh +``` + + +``` +shellcheck rooms/start.sh + +In rooms/start.sh line 33: + if ! (echo ${board[@]} | grep -q '[0-8]'); then + ^---------^ SC2068: Double quote array expansions to avoid re-splitting elements. + +``` + +OK + + +fix +``` +chmod +x rooms/start.sh +``` + + diff --git a/adventure/games/ilan.doumenc@ynov.com/rooms/start.sh b/adventure/games/ilan.doumenc@ynov.com/rooms/start.sh new file mode 100755 index 00000000..6da836f6 --- /dev/null +++ b/adventure/games/ilan.doumenc@ynov.com/rooms/start.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +# Initialisation du plateau de jeu +declare -a board +for i in {0..8}; do + board[$i]=$i +done + +# Affichage du plateau de jeu +function display_board { + echo " ${board[0]} | ${board[1]} | ${board[2]} " + echo "---|---|---" + echo " ${board[3]} | ${board[4]} | ${board[5]} " + echo "---|---|---" + echo " ${board[6]} | ${board[7]} | ${board[8]} " +} + +# Vérification de la victoire +function check_win { + local player=$1 + local symbol=$2 + if [[ "${board[0]}" == "$symbol" && "${board[1]}" == "$symbol" && "${board[2]}" == "$symbol" ]] || + [[ "${board[3]}" == "$symbol" && "${board[4]}" == "$symbol" && "${board[5]}" == "$symbol" ]] || + [[ "${board[6]}" == "$symbol" && "${board[7]}" == "$symbol" && "${board[8]}" == "$symbol" ]] || + [[ "${board[0]}" == "$symbol" && "${board[3]}" == "$symbol" && "${board[6]}" == "$symbol" ]] || + [[ "${board[1]}" == "$symbol" && "${board[4]}" == "$symbol" && "${board[7]}" == "$symbol" ]] || + [[ "${board[2]}" == "$symbol" && "${board[5]}" == "$symbol" && "${board[8]}" == "$symbol" ]] || + [[ "${board[0]}" == "$symbol" && "${board[4]}" == "$symbol" && "${board[8]}" == "$symbol" ]] || + [[ "${board[2]}" == "$symbol" && "${board[4]}" == "$symbol" && "${board[6]}" == "$symbol" ]]; then + echo "Le joueur $player ($symbol) gagne !" + exit + fi + if ! (echo ${board[@]} | grep -q '[0-8]'); then + echo "Match nul !" + exit + fi +} + +# Boucle de jeu principale +player=1 +symbol="X" +while true; do + display_board + echo "Joueur $player: Choisissez une position (0-8) pour le symbole $symbol:" + read -r pos + if ! [[ $pos =~ ^[0-8]$ ]] || [[ ! ${board[$pos]} =~ ^[0-8]$ ]]; then + echo "Entrée invalide, veuillez réessayer." + continue + fi + board[$pos]=$symbol + check_win $player $symbol + if [ "$symbol" == "X" ]; then + symbol="O" + player=2 + else + symbol="X" + player=1 + fi +done diff --git a/adventure/games/janick.mourougassin@ynov.com/advendure_link.sh b/adventure/games/janick.mourougassin@ynov.com/advendure_link.sh new file mode 120000 index 00000000..5d23d97f --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/advendure_link.sh @@ -0,0 +1 @@ +adventure.sh \ No newline at end of file diff --git a/adventure/games/janick.mourougassin@ynov.com/adventure.sh b/adventure/games/janick.mourougassin@ynov.com/adventure.sh new file mode 100755 index 00000000..13dadcec --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/adventure.sh @@ -0,0 +1,49 @@ +#!/bin/bash +################################################################### +# This Launch script is based on BashVenture. +# +# Remember, kids - sharing is caring! Keep it open. Spread the love. +# - @BenNunney +# Thanks and gratitude to all living creatures and the whole creation. +# - @Fred +# $AGE×365,25×24×60×60×9,807÷299792458 = RELATIVE LIGHT GRAVITY SPEED +################################################################### +# Guide avancé d'écriture des scripts Bash : https://abs.traduc.org/abs-fr/ +# GAMESHELL : https://github.com/phyver/GameShell/ +################################################################### +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" +################################################################### +### CREER VOTRE PROPRE VERSION DU JEU +### CHOISIR SCENARIO + +################################################################### +if hash uuidgen 2>/dev/null; then + homefolder=$(pwd) + newplayer=$(uuidgen) + ## Copy Player Game Files + mkdir -p $HOME/.zen/adventure/$newplayer + cp -r $MY_PATH/rooms $HOME/.zen/adventure/$newplayer/rooms + cp -r $MY_PATH/art $HOME/.zen/adventure/$newplayer/art + cp -r $MY_PATH/script $HOME/.zen/adventure/$newplayer/script + cp -r $MY_PATH/logic $HOME/.zen/adventure/$newplayer/logic +fi +################################################################### +echo "Loading..." +echo +sleep 4 +################################################################### +if hash uuidgen 2>/dev/null; then + cd $HOME/.zen/adventure/$newplayer/rooms +else + cd rooms +fi +./start.sh +################################################################### +if hash uuidgen 2>/dev/null; then + cd "$homefolder" + rm -r $HOME/.zen/adventure/$newplayer +fi +echo "To continue..." +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/art/titleart.ben b/adventure/games/janick.mourougassin@ynov.com/art/titleart.ben new file mode 100755 index 00000000..e9d714dd --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/art/titleart.ben @@ -0,0 +1,30 @@ + ________ ________ _________ ________ ________ ________ ________ +|\ __ \|\ ____\|\___ ___\\ __ \|\ __ \|\ __ \|\ __ \ +\ \ \|\ \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ \ \|\ \ \ \|\ \ + \ \ __ \ \_____ \ \ \ \ \ \ _ _\ \ \\\ \ \ ____\ \ \\\ \ + \ \ \ \ \|____|\ \ \ \ \ \ \ \\ \\ \ \\\ \ \ \___|\ \ \\\ \ + \ \__\ \__\____\_\ \ \ \__\ \ \__\\ _\\ \_______\ \__\ \ \_______\ + \|__|\|__|\_________\ \|__| \|__|\|__|\|_______|\|__| \|_______| + \|_________| + + + ___ ___ _______ ________ ________ ___ ________ ________ +|\ \ / /|\ ___ \ |\ __ \|\ ____\|\ \|\ __ \|\ ___ \ +\ \ \ / / | \ __/|\ \ \|\ \ \ \___|\ \ \ \ \|\ \ \ \\ \ \ + \ \ \/ / / \ \ \_|/_\ \ _ _\ \_____ \ \ \ \ \\\ \ \ \\ \ \ + \ \ / / \ \ \_|\ \ \ \\ \\|____|\ \ \ \ \ \\\ \ \ \\ \ \ + \ \__/ / \ \_______\ \__\\ _\ ____\_\ \ \__\ \_______\ \__\\ \__\ + \|__|/ \|_______|\|__|\|__|\_________\|__|\|_______|\|__| \|__| + \|_________| + + + ________ ________ ___ ___ +|\ ___ \ |\_____ \|\ \ |\ \ +\ \____ \ \|___/ /\ \ \\_\ \ + \|____|\ \ / / /\ \______ \ + __\_\ \ / / / \|_____|\ \ + |\_______\/__/ / \ \__\ + \|_______||__|/ \|__| + + --- Un JEu des îles de l'Ocean Indien (974) --- + diff --git a/adventure/games/janick.mourougassin@ynov.com/art/titleart.ben2 b/adventure/games/janick.mourougassin@ynov.com/art/titleart.ben2 new file mode 100755 index 00000000..e9d714dd --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/art/titleart.ben2 @@ -0,0 +1,30 @@ + ________ ________ _________ ________ ________ ________ ________ +|\ __ \|\ ____\|\___ ___\\ __ \|\ __ \|\ __ \|\ __ \ +\ \ \|\ \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ \ \|\ \ \ \|\ \ + \ \ __ \ \_____ \ \ \ \ \ \ _ _\ \ \\\ \ \ ____\ \ \\\ \ + \ \ \ \ \|____|\ \ \ \ \ \ \ \\ \\ \ \\\ \ \ \___|\ \ \\\ \ + \ \__\ \__\____\_\ \ \ \__\ \ \__\\ _\\ \_______\ \__\ \ \_______\ + \|__|\|__|\_________\ \|__| \|__|\|__|\|_______|\|__| \|_______| + \|_________| + + + ___ ___ _______ ________ ________ ___ ________ ________ +|\ \ / /|\ ___ \ |\ __ \|\ ____\|\ \|\ __ \|\ ___ \ +\ \ \ / / | \ __/|\ \ \|\ \ \ \___|\ \ \ \ \|\ \ \ \\ \ \ + \ \ \/ / / \ \ \_|/_\ \ _ _\ \_____ \ \ \ \ \\\ \ \ \\ \ \ + \ \ / / \ \ \_|\ \ \ \\ \\|____|\ \ \ \ \ \\\ \ \ \\ \ \ + \ \__/ / \ \_______\ \__\\ _\ ____\_\ \ \__\ \_______\ \__\\ \__\ + \|__|/ \|_______|\|__|\|__|\_________\|__|\|_______|\|__| \|__| + \|_________| + + + ________ ________ ___ ___ +|\ ___ \ |\_____ \|\ \ |\ \ +\ \____ \ \|___/ /\ \ \\_\ \ + \|____|\ \ / / /\ \______ \ + __\_\ \ / / / \|_____|\ \ + |\_______\/__/ / \ \__\ + \|_______||__|/ \|__| + + --- Un JEu des îles de l'Ocean Indien (974) --- + diff --git a/adventure/games/janick.mourougassin@ynov.com/readme b/adventure/games/janick.mourougassin@ynov.com/readme new file mode 100644 index 00000000..c3ac850c --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/readme @@ -0,0 +1,68 @@ +# SCRIPT01.CYBSEC + + --- Un JEu des îles de l'Ocean Indien (974) --- + + ++ 14 : game engine ++2 : multigame compatibility ++1 : shellcheck +- 2 : bugs + +> final 15 + +## "GameShell" LEVEL ? + + +## DIFFs + +``` +diff --recursive --brief ./ ../_votre\ jeu/ +Seulement dans ./: advendure_link.sh +Seulement dans ../_votre jeu/art: astrologo.ben +Seulement dans ../_votre jeu/art: astroportland.ben +Seulement dans ../_votre jeu/art: astrored.ben +Seulement dans ../_votre jeu/art: bigfinish.ben +Seulement dans ../_votre jeu/art: Gune.ben +Seulement dans ../_votre jeu/art: logoastro.ben +Seulement dans ../_votre jeu/art: supper.ben +Les fichiers ./art/titleart.ben et ../_votre jeu/art/titleart.ben sont différents +Seulement dans ./art: titleart.ben2 +Seulement dans ../_votre jeu/: logic +Les fichiers ./rooms/brown.sh et ../_votre jeu/rooms/brown.sh sont différents +Les fichiers ./rooms/end.sh et ../_votre jeu/rooms/end.sh sont différents +Les fichiers ./rooms/gameroom.sh et ../_votre jeu/rooms/gameroom.sh sont différents +Les fichiers ./rooms/green.sh et ../_votre jeu/rooms/green.sh sont différents +Les fichiers ./rooms/grue.sh et ../_votre jeu/rooms/grue.sh sont différents +Seulement dans ./rooms: lanceur.sh +Les fichiers ./rooms/meteofrance.sh et ../_votre jeu/rooms/meteofrance.sh sont différents +Les fichiers ./rooms/red.sh et ../_votre jeu/rooms/red.sh sont différents +Les fichiers ./rooms/start.sh et ../_votre jeu/rooms/start.sh sont différents +Les fichiers ./rooms/white.sh et ../_votre jeu/rooms/white.sh sont différents +Les fichiers ./script/opening.ben et ../_votre jeu/script/opening.ben sont différents + +``` + + +``` +shellcheck rooms/start.sh + +In rooms/start.sh line 33: + if ! (echo ${board[@]} | grep -q '[0-8]'); then + ^---------^ SC2068: Double quote array expansions to avoid re-splitting elements. + +``` + +OK + + +bugs +``` +Vous zntrée dans le taxi en direction du nord.. +cat: ../logic/leverlogic.ben: Aucun fichier ou dossier de ce type + +Il vous indique que ou se trouve l'aéroport. Vous devait vous diriger vers PierreFonds. +cat: ../logic/leverlogic.ben: Aucun fichier ou dossier de ce type + +``` + + diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/bigroom.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/bigroom.sh new file mode 100755 index 00000000..a3463cf3 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/bigroom.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" + +# This is close to the endgame, but affords the player a last set of things to try and do. +# Obviously if you use this framework to create a game of your own, you can extend this massively. + +echo +sleep 1 +echo "Vous décidez de sortir de la Sation Astroport." +echo + echoleverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + + sleep 2 + echo "Il ne dépend que de vous d'explorer ce nouveau futur." + echo "Le Visa MadeInZion inaugure un monde sans territoire, sans frontière, transnationnal, interplanétaire, à vous de voir?" + sleep 2 + echo "Avant de nous rejoindre. Visitez notre 'bon coin' https://gchange.fr " + echo + sleep 3 + echo "Ouvrez une ambassade? Installez IPFS, devenons hébergeur, fournisseur d'accès de nos Internets." + echo + sleep 4 + echo "Ouvrez votre propriété au futur en commun, activez Astroport." + echo "Nous organisons des formations habitats posés, vissés et cousus. Eau potable. Biogaz, Marmite Norvégienne..." + echo "Comment nourrir le sol, reconnaitre les plantes... Redevenir ceuilleur, créateur." + echo + else + echo "" + echo "Aucune entrée n'est visible." + fi +echo +sleep 5 +echo +echo "Que voulez vous faire?" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Pas moyen de se déplacer." ;; + s ) echo ".Pas le choix." ;; + e ) echo "Pas par là." ;; + w ) echo "Plus à l'ouest que ça? Y'a pas!" ;; + u ) ./end.sh + exit ;; + h ) echo "Comment refuser une telle proposition..." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/brown.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/brown.sh new file mode 100755 index 00000000..30121249 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/brown.sh @@ -0,0 +1,55 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 + +# Here's this room's script. + +echo "Sur la direction du sud, votre Bus vous amène à Saint Pierre." +echo "Chance pour vous, le voyage vous à couter 2€ uniquement et il vous reste 48€." +echo "En plus un deuxième Aéroport ce trouve à Saint Pierre" +echo +echo "Vous arrêter un passant pour lui demander ou aller." +echo +echo "Il vous indique que ou se trouve l'aéroport. Vous devait vous diriger vers PierreFonds." + + +# Here we tell the player whether the lever is on or off. +leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "'VISA SVP' clignote sur l'écran..." + else + echo "Vous avez faim" + fi +echo +echo "Plusieurs choix s'offre à vous." +echo "(n) Respawn" +echo "(e) Faire du stop" +echo "(w) Payer un taxi" +echo "(s) Prendre un autre bus" +echo +echo "Que faites vous?" + +# In this set of actons lies the logic switch used later in the game. +# You have to set this switch to reach the endgame. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./mainroom.sh + exit ;; + s ) echo "Vous dépenser 2€ et le bus vous dépose à 30 min de l'aéroport ..." ;; + e ) echo "Un Réunionnais s'arrête et vous dépose à l'aéroport" ;; + w ) echo "Le taximan vous taxe tous votre argent et ne vous redépose à Saint Denis car vous ne l'avez pas indiquer la bonne aéroport" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w ";; + esac +done + +esac +exit + diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/end.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/end.sh new file mode 100755 index 00000000..a39e25ae --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/end.sh @@ -0,0 +1,54 @@ +#!/bin/bash +clear + +# This is the endgame. This file does nothing but give you the final bit of storyline. +# Use (over-use) of 'sleep' is for dramatic effect - play around with it, see how it reads. + +# Let's reset the lever, now that we're done with it. +sed -i 's/on/off/' ../logic/leverlogic.ben + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 +echo "Voici la fin de cette petite aventure." +echo +sleep 4 +echo "Vous venez de visiter la forêt où s'est posé Astroport ONE." +sleep 3 +echo +echo "MERCI" +echo +sleep 3 +echo +file1="../art/bigfinish.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo +read -p "Appuyez sur [ENTER] pour terminer..." +echo +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo "Merci d'avoir joué le jeu" +echo "Je suis heureux de vous avoir fait partager le rêve des astronautes terraformeurs." +echo +echo "Le futur ne se prédit pas, il se construit." +echo +echo " - @Fred" +echo + +# That's all, folks! + +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/gameroom.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/gameroom.sh new file mode 100755 index 00000000..752b5d43 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/gameroom.sh @@ -0,0 +1,88 @@ +#!/bin/bash +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# This room gives the player a typical poisoned apple style scenaro. +# Just because something looks shiny and fun, doesn't make it any +# less deadly. +sleep 1 +echo "Dans une cabine, un écran est disposé en coin. Un tout petit ordinateur" +echo "y est raccordé... D'autres fils sortent de l'appareil. Une webcam. Une imprimante." +echo +echo "Que voulez vous faire?" +myIP=$(hostname -I | awk '{print $1}' | head -n 1) +isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/") +[[ ! $myIP || $isLAN ]] && myIP="127.0.1.1" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous êtes dans une cabine. Des QRCode sont collés à la parois nord" ;; + s ) echo "Cette paroie comporte un miroir. Pour se faire une beauté avant d'enregistrer une capsule vidéo." ;; + w ) ./kroo.sh + exit ;; + e ) echo "Vous êtes face à l'écran. Au dessus des hauts parleurs, une webcam" ;; + u ) leverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "A chaque frappe d'une touche. l'écran fait défiler le texte 'SCANNEZ VISA SVP'." + else + sed -i 's/off/on/' ../logic/stationlogic.ben + echo "Vous appuyez sur l'interupteur de l'écran. Y apparaît alors :" + sleep 3 + echo "AMBASSADE MadeInZion - TerraPi4 - 2 To -" + echo "" + echo + sleep 2 + echo "INTERNET est dangereux. il vend vos information personnelles pour que vous deveniez un produit. " + sleep 2 + echo + echo "Rebootez INTERNET. Activez votre TW sur UPlanet (IPFS crypto drive) " + sleep 2 + echo + echo "On y échange en pair à pair. La monnaie y est Libre. https://qo-op.com" + sleep 4 + file1="../art/astrored.ben" + while IFS= read -r line + do + echo "$line" + done <"$file1" + echo + echo + echo "____ Astroport déclenche à 20:12 la synchronisation de ses ambassades..." + echo "Rapport 2022 : https://ipfs.asycn.io/ipfs/QmUtGpGeMZvwp47ftqebVmoFWCmvroy5wEtWsKvWvDWJpR" + sleep 3 + echo + echo "ASTROPORT ONE" + echo "VISA pour le vaisseau spatial TERRE." + if [[ -d ~/.zen/Astroport.ONE ]]; then + read -p "Appuyez sur [ENTER] pour activer votre Station Astroport.ONE" + espeak "Astroport Command" > /dev/null 2>&1 + + ~/.zen/Astroport.ONE/command.sh + else + espeak "Please Install Astroport" > /dev/null 2>&1 + echo "Install Astroport.ONE ..." + echo "bash <(wget -qO- https://raw.githubusercontent.com/papiche/Astroport.ONE/master/install.sh)" + ./end.sh + fi + fi + exit + ;; + + h ) echo "'DEMARRER API http://$myIP:1234 ... Une Station Astroport.ONE.?." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/green.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/green.sh new file mode 100755 index 00000000..25bb05e5 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/green.sh @@ -0,0 +1,38 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Everybody clap your hands. I mean, here is the script. +sleep 1 +echo "Une personne vous aide et vous propose de vous déposer directment à l'aéroport" +echo +echo "Vous entrez dans à l'intérieur de l'aéroport, et allez acheter un billet pour l'île Maurice." +echo " L'hotesse vous propose un billet à 79 € alors que vous n'avez que 50 €." + +echo "Que voulez vous faire?" +echo "Plusieurs choix s'offre à vous." +echo "(n) Faire le mandian" +echo "(e) Respawn" +echo "(w) Négocier" +echo "(s) Passer en force" +# And here's what you could have won... +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous récolter les sous manquants, mais la douanes vous arrêtes et vous expulse" ;; + s ) echo "La douanes vous arrêtes et vous expulse" ;; + e ) ./mainroom.sh + exit ;; + w ) echo "Elle vous propose un billet à 55€" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w ";; + esac +done + +esac +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/grue.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/grue.sh new file mode 100755 index 00000000..9fb09ba0 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/grue.sh @@ -0,0 +1,75 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# I like this room. There is no way to get out of it alive. +sleep 1 + +echo" $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ + $$$$$$$XXx+++++;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+++++++++++++++++++++++++++++++++++++++xxxXXX$$$$$$$$$$$ + $$$x+;;;;++++++;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;++++++++xxxx++++++++++++++++++++++++++++++++++xX$$$$$$ + $x;;;;;;++++++++++;;;;;;;;;;;;;;;;;;;;;;;+++++xXXXXXxxxx+x+++++++++++++++++++++++++++++++++++++X$$$$ + $;;;;;;;;;+++++++++;;;;;;;;;;;;;;;;;;++++++;;;;;+++xXXXxxxxx+++++++++++++++++++++++++++++++++++x$$$$ + X;;;;;;;;;;;+++++++++;;;;;;;;;;;;;+++x+;++xxxXXXX++xx++xXXXXXx++++++++++++++++++++++++++++++++++X$$$ + X;;;;;;;;;;;;;;;;;+;;;;;;++++;;;;;++++;;+++++++++++++xXXXXXXXXxxx+++++++++++++++++++++++++++++++XX$$ + X;;;;;;;;;;;;;;;;;;;+++++++;;;++++++++;;;;++++xxxxx+++xXX$$$XXXXXXXxxx++++++++++++++++++++++++++XX$$ + X;;;;;;;;;;;;;;;;;++++++++++++x+;;;++XXx+++++xxXXXXXXxxXXX$$$$$$XXXXXXxx+x++++;;++++++++++++++++XX$$ + X;;;;;;;;;;;;;;;;;;;+xxXXXxxx++++;;++xXxXx+;;;;+xXXX$XXxxxXXX$$$Xx++++x+++xxx++;;;;+;;+;;+++++++XX$$ + X;;;;;;;;;;+++x+xxxXXXXXXXxxx++;;;;;+++xx++XXXXxxxXXXX$$$$XXXXX$$$XxxXXXxxxxx++;;;;;;;;;;;;+++++XX$$ + X;;;;+;;;;;;+++xXXXXXXXXXXXXXXXxx+++++xXXXXxxxXXX$XXXXXXX$$$$$$$$$$$XxXXXXXXx+++;;;;;;;;;;;;++++XX$$ + X;;;;;+;;;;;;+++xXXXXX$$$$$XXXXXx++++++XXXX$$$$$$$$$$$$$$XX$$$$$$$$$$$$XXXXXXxx+++;;;;;;;;;;++++XX$$ + X;;;;;;;;;;;;;+xXXX$$$$$XXxx++xxXxx+++xXXX$$$$$$$$$$$$$$$$$$$$$$$$$$$$$XXXXXXXXx++++;;;;;;;+++++XXX$ + X;;:;;;++++xxxXXXXXXxxx+++++;;;;++xXXXX$X$$$$$$$$$$$$$$$$$$$$$$$$$$$$XXXXXXXXXXXXX+++;;;;;;+++++XXX$ + X;;:;:;;++xXXXXXXXXXXXXXXxxx+++++xXXXX$$$$$$$$$$$$$$$$$$$X$$$$$XXXXXXXXXXXXX$XXXXXX+++;;;;;+++++XX$$ + X;:;::;;;+xxXXXXXXXXXxxXXX$XXXXXXXXXXXXX$$$$XXXXXXXXXXXXXXXXXXXXXXXXXXXXX$$$$$XXXXXx++;;;;;+++;+XXX$ + X;:::;;+xXXXXX$$XXXXXXXX$$XXXXXXXXXXXXXXXXXXx++x++xx++xx+xxxxxxxxxXXxXXXXX$$$$XXXXXXX++;;;;;;;;+XXX$ + X++++++xXXXXXXXXXXXXXXXXXXXxxxxxxxxx++++++++;;;+++;+;;;;;+++++++++xxxxXXX$$$$$$$XXxxxx+;++;;;;;+XX$$ + X+++xxxXXXXXXXXXXXXX$XXXXXx++++++++++;;;;++;;;;;::;;;;;;;;;+;;;;+++++++XXXX$$XXXXXx++++++;;;;;;+XXX$ + X++++xXXXXXXXXXXXX$$$XX+::....:::::::::::;;;;;::::::::::::::;::::;;;;+++XX$$$$$$XXXx+++++;;+;;;+XXX$ + X+;++++xxxXXXXX$$$X;:..:;;++++;;++++++;;;::..............:::::::::::;++;:;+X$$$$XXXxx++++++;;+;+XX$$ + X++++++++xXXXX$$$$x. .:XXx++++++xxxXXXXXXxx:. ....;xXXXXXXXxx+xxxxx++;:.::+$$XXx++++++++++;+XXX$ + X;;;;+++;+xxxX$$XX+.. ;$Xx+++xxxXXXXXXXXXXX+:. ...;XXXXX$$XXXXXXXXXXXXX+:::+$$$$XXXXxxx++++;+XXX$ + X+;;;;;;;;++xXXxxXx:..;$Xx++xXXXXX$X$$$$$$Xx:.:::::.:+X$$$$$$$$$XXXXXXXXXXx:::+$$$$XXXXXx++++;;+XX$$ + X+;;;;;;;;;+++xXXXXX+.;XXx+XXXXXXXXXXXXXXXX;.:::::;:.;X$$$$$XXXXXXX$$$XXXX+..;x$$$$XXXXXx+++;;++XXX$ + X;;;;;;;;;++xXXXxxX$$;:Xx+xXxxXXXXXXXXXXx+;:.:::::;;:;XXX$$XXXXXXXXXXXXXXX;:X$$$$$$XXXXXXx++++;+XXX$ + X;;;;;;;;++xXXXXxx$&$X:;x+;;++++;;;;;;;;::::::::::;;;:;;;;;+++xxxXxx+++xx+:+$$$$$$$XXXXXXxx+++;+XX$$ + X+;++++++xxxXXXXxX$$XX+::;;;;::::::::::::.:::::::::;;;::::::;;;;;+++++xx+::X$$$$$$$$XXXxx+++++++XXX$ + X+;;+++++xxxxxXxXX$XXXx+;::::::::..::::::;;::::::::;;;;:::::::::;;;;;++;:;xX$$$$$XX$$$XXx++++;;+XXX$ + X;;;;;;++++xxxxXXXXXxx;++;;::::::;;++xxx+:::::::::;+++;::+X++++;;;;;+x+xXXXX$$$$$$$$$$XXx++;;;;+XXX$ + X+;;;;;;+++xxxxXXXXXxx;;;;;;;;+++;;;;+++:;;;;;;+++xXXXxx+xXXXXXXxx++++xxXXXXX$$$$$$$$$$XX+++;;;+XX$$ + X;;;;;;;+++++xxxXXXXXx+;;;;;;;;::::;;+;;+xXXXXXXXXX$$$$$XXXXXXx+xxXXXXXXXXXXX$$$$$$$$$$$Xx+++;;+XXX$ + X;;;;;;;;++++xxxXXXXXx+;;;+;;:::::;;+;::+XXXXXXXXX$$$$$$$$X++++++++xXXXXXXXXX$$$$$$$$$$XX+++++;+XXX$ + X;;;;;;;;+++++++XXxXxx++;;;;;;;;;;++;:::;++++xX$$$$$$$$$XXX+;++++++xXXXXXXXX$$$$$$$$$$$Xx+;;;;;+XX$$ + X;;;;;;;;++++++x+xxxXx;;;;;;;;;;;;++;::::::;;+xX$$$$$$XXx++;;;;+++xxxXXXXXXXX$$$$X$XX$X+;;;;;;;+XXX$ + X;;;;;;;;;++xx++++xxXX;;;;;;;;;;;++;::::::;;;++XXXXXXXxx+++;;;;;;;+xXXXXXXXXXX$XX$XXXX+;;;;;;;;+XXX$ + X;;;;:::;:;;+;;;;+xxXx;;;;;;;;;;;+;:::;;;;;;++++;+xXXxxXXxxxx++;;;;+xXXXXXXXXXXXX$$$X+;;;;;;;;;+XX$$ + X;;;;;;:;;;;;;;;;;+xXx;:::::;;;;;;;;;;+++xxXXXXXXXXXXX$$$XXXXXXxx+++++xxxXXXXXX$+XXX+;;;;;;;;;;+XXX$ + X;;;;;;;;;;;;;;;;;+xX+;:::::;;;;;;++xxXXX$$$$$$$$$$$$$$$$$$$$$$Xx++++++++xxXXX$X+xx+;;;;;;;;;;;;XXX$ + X;;;;;;;;;;;;;;;;;+x++;::::::::;;++XX$$$$$$$$$$$$$$$$$$&&&&&$$$X+;;;;;;;;++XX$$x+;;;;::::::::;:;XX$$ + X;;;;;;;:;;;;;;;;;;++;;:::::::::;;+xx++xX$$$XXXXXX$XXXXXXXXXXxx+;;;;;;;;;+xX$X+;;;;;;;;;;;;;;;;;XXX$ + X;;;;;;;::::::;;;;;++;;;:::::::::;;;;:;:;;;::::::;;;:;;;;;++;;;;+;;++;;+++xxX;;;;;;;;;;;;;;;;;;+XXX$ + X;;;;;;;::::::::;:;;;++;::::::::;;;;;:::;;;;;:;::;;;;;;;+++++;;;;;;;++++++xXx;;;;;;;;;;;;;;;;;;;XX$$ + X;;;;;;;;:::::::::::;++;:::::::::;;::::;;;;;;;;;;;;++++++++++;;;;;;;+++++++;;;;;;;;;;;;;;;;;;;;;XXX$ + X;;;;;;;;;;;;::::::;;+xx;;;;;;;;;;:::::;;;;;;;;;;;;;;;;++++++;;;::;++++++x+;;;;;;;;;;;;;;;;;;;;;XX$$ + X;;;;;;;;;;;;;;;::::;+xX+;;;;;;;;::::::::;;;::::::;;;;;;;+;;;;::;;;+++++xx;;;;;;;;;;;;;;;;;;;;;;XX$$ + X;;;;;;;;;;;;;;:::::;+x;++;;;;;;:::::::::::::::::::::::::;;;;;;;;;+++xx+xXX+;;;;;;;;;;;;;;;;;;;;XX$$ + X;;::;;;;;:::::::;:;:;+;++;;;;;;;;;;::;:::::::::::::::;;;;;;;;;;;+++xXXXX$$X+;;+;;;;;;;;;;;;;;;;XX$$ + X;;;;;;;;;::::;;;;::::;;;;;;;;++;;;;;;;;;::::::;::::;;;;;;;;;;+++xXXXXXXXxxXXx+;;;;;;;;;;;;;;;;;XX$$ + X+;;;;;;;;;;;;;;;;;;;;;:;;;;;+++++;;;;;;;;:::;;;;;;;;;;++;++++xxXXXXXXXXX++;;;:;:;;;;;;;;;;;;;;;X$$$ + X++;;;;;;;;;;;;;;;;;;;;;;;;;;++x++++;;;;;;;;;;;;;;;++;++;++x+xXXXXXXXXXXx;;;;;;;;:;;:;;;;;;;;;;;X$$$ + X+++;;;;;;;;;;;;;;;;;;;;;;;;;+++++++++++++++++++;++xxx++xXXxXXXXXXXXXXXXx;;;;;;;;;;;;;;;;;;;;;;+$$$$ + $x+++;;;;;;;;;;;;;;;;;;;;;;;;;++++xxxxx++xxxxx++xxXXxxxXXXXX$XXXXXXXXXXXx;;;;;;;;;;;;;;;;;;;;;;x$$$$ + $$$x+;;;;;;;;;;;;;;;;;;;;;;;;;;+++xxxxxxXXXXXXXXXXXXXXXXXXX$$X$$$$X$$$$Xx;;;;;;;;;;;;;;;;;;;+x$$$$$$ + $$$$$$$XXxxx+++++++;;;;;;;;;;;;;++xXXXXXXXxXXXXXXXXXXXXXXXX$X$$$$$$$$$$Xx;;;;;;++++++++xXX$$$$$$$$$$ + $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$" + +read -p "Appuyez sur [ENTER] pour revenir..." +./mainroom.sh + +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/kroo.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/kroo.sh new file mode 100755 index 00000000..9b8f1a11 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/kroo.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear + +# This room gets a little artsy with sleep commands, to help with the +# narrative of the story. This is why there are two versions - foyer and foyer2. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# It's script time again... +sleep 1 +echo "Vous pénétrez à l'intérieur de l'Astroport." +echo +sleep 3 +echo "Une voix synthétique vous accueille." +espeak "Welcome. Please Identify." > /dev/null 2>&1 +echo +echo "Vous parcourez l'espace du regard" +echo "Au nord, face à vous se trouve un foyer où brule un feu." +echo +sleep 3 +echo "A l'ouest sont suspendus tuyaux, ustensiles et bocaux. Une cuisine?" +echo "A l'est il y a un genre de 'photomaton' " +sleep 2 +echo "Derrière vous, la porte par où vous êtes entré est encore ouverte." +echo +echo "Que voulez vous faire?" + +# And once again the room logic. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous asseyez sur le grand tapis devant le feu. Vous vous relaxez un instant." + ./magic8.sh + ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "Vous tapotez sur le barmoètre. Une photo satellite?" + ./meteofrance.sh + exit + ;; + h ) echo "La pièce est spacieuse. La chaleur du feu agréable, à gauche on dirait une cuisine explosée, à droite une chaise moletonnée fait face à un écran." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/kroo2.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/kroo2.sh new file mode 100755 index 00000000..ebdb5e36 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/kroo2.sh @@ -0,0 +1,40 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# So here's a little story all about how this script got flip-turned upside down... +sleep 1 +echo "You're in a corridor, but it's quite a small one. You got here" +echo "the first time by hugging a statue of a kitten. Standard." +echo +echo "You see a glow coming from the rooms to your east and west, and" +echo "there's a big, old looking door to the south of you." +echo +echo "What would you like to do?" + +# Imma let you finish, but here's the room choices. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "You faceplant the wall. Idiot." ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "There's nothing you can use right here." ;; + h ) echo "After hugging that cat you aren't sure you should try to hug yourself again." ;; + * ) echo "I'm sorry, I don't understand you. Commands are: n, e, s, w, u and h.";; + esac +done + +esac +exit \ No newline at end of file diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/lanceur.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/lanceur.sh new file mode 100644 index 00000000..782a7938 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/lanceur.sh @@ -0,0 +1,93 @@ +#!/bin/bash + +# Liste des jeux +jeux=("Super Mario" "Pokemon Rouge" "The Legend of Zelda" "Tetris" "Metroid") + +# Fonction pour afficher l'interface ASCII +afficher_ascii() { + cat << "EOF" + ____ _ _ _ _ _ _ + __/\__/ ___| |__ ___ (_)___(_) |_ | |_ ___ _ __ (_) ___ _ ___/\__ + \ / | | '_ \ / _ \| / __| | __| | __/ _ \| '_ \ | |/ _ \ | | \ / + /_ _\ |___| | | | (_) | \__ \ | |_ | || (_) | | | | | | __/ |_| /_ _\ + \/ \____|_| |_|\___/|_|___/_|\__| \__\___/|_| |_| _/ |\___|\__,_| \/ + |__/ +EOF +} + +# Fonction pour afficher le menu principal et l'interface GameBoy +afficher_interface() { + clear + echo "╔══════════════════════════════╗" + echo "║ GameBoy Advance ║" + echo "╚══════════════════════════════╝" + echo " Menu principal :" + echo " 1. Lancer Astroport (RENAULD)" + echo " 2. Lancer Astropo version 974 (JANICK)" + echo " 3. Jeux GameBoy" + echo " 4. Quitter" + echo "╚══════════════════════════════╝" +} + +# Fonction pour exécuter le premier script +executer_script1() { + echo "Exécution de Astroport..." + # Ajoutez ici la commande pour lancer votre premier script + "/home/janick/Astroport.ONE-master (1)/Astroport.ONE-master/adventure/adventure.sh" +} + +# Fonction pour exécuter le deuxième script +executer_script2() { + echo "Exécution de Astropo version 974..." + # Ajoutez ici la commande pour lancer votre deuxième script + "/home/janick/Astroport.ONE-master (1)/Astroport.ONE-master/adventure/games/Astropo_version_974/adventure.sh" +} + +# Fonction pour exécuter le jeu sélectionné +executer_jeu() { + choix=$1 + if [ "$choix" -ge 1 ] && [ "$choix" -le "${#jeux[@]}" ]; then + jeu_selectionne="${jeux[$((choix-1))]}" + echo "Lancement de $jeu_selectionne..." + # Ajoutez ici la commande pour lancer votre script ou jeu + # Par exemple : "./chemin/vers/votre_script.sh" + elif [ "$choix" == "M" ] || [ "$choix" == "m" ]; then + return + elif [ "$choix" == "Q" ] || [ "$choix" == "q" ]; then + echo "Au revoir!" + exit 0 + else + echo "Option invalide. Veuillez choisir une option valide." + fi +} + +# Boucle principale du menu +while true; do + afficher_interface + + read -p "Choix : " choix + + case $choix in + 1) + executer_script1 + ;; + 2) + executer_script2 + ;; + 3) + while true; do + afficher_interface_gameboy + read -p "Choix : " choix_jeu + executer_jeu "$choix_jeu" + read -p "Appuyez sur Entrée pour continuer..." + done + ;; + 4) + echo "Au revoir!" + exit 0 + ;; + *) + echo "Option invalide. Veuillez choisir une option valide." + ;; + esac +done diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/magic8.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/magic8.sh new file mode 100755 index 00000000..fa8b8fd7 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/magic8.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# magic 8 ball. Yup. Pick a random number, output message +# source: https://www.linuxjournal.com/content/bash-shell-games-lets-play-go-fish + +answers=("Oui c'est certain." "C'est carrément ça." + "Sans aucun doute." "Oui - assurément." + "Comptez la dessus." "Comme je le vois, oui." "Très probablement." + "Bonne perspective." "Oui." "Les signes indiquent que oui." + "Réponse floue, essayez à nouveau." "Redemandez plus tard." + "Il vaut mieux ne pas vous le dire maintenant.." "Impossible de prédire maintenant." + "Concentrez-vous et demandez à nouveau." "N'y comptez pas." + "Ma réponse est non." "Mes sources disent que non." + "Rien de bon." "Très douteux.") + +echo "Oh ! Boule magique, dis-moi la vérité, s'il te plaît...." ; echo "" +/bin/echo -n "Quelle est votre question ? " +read question + +answer=$(( $RANDOM % 20 )) + +echo "" +echo "J'ai regardé dans le futur et je dis: " +echo " ${answers[$answer]}" ; echo "" + +sleep 3 +./mainroom.sh + +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/mainroom.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/mainroom.sh new file mode 100755 index 00000000..d8b4d8a4 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/mainroom.sh @@ -0,0 +1,45 @@ +#!/bin/bash +clear + +# This is a repeat of the opening room in the start.sh file - if the player +# wants to go back to the main room, this saves going through the whole +# start script over again. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Shakesphere wrote this, honest. +sleep 1 +echo "Vous êtes de retour à votre point de départ." +echo "La forêt qui vous entoure est immense." +echo "Vous ne pouvez pas vraiment en imaginer la taille," +echo +echo "Vous pouvez vous diriger au nord, à l'est, au sud et à l'ouest." +echo +echo "Que voulez-vous faire ?" + +# And the room logic once again. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./white.sh + exit ;; + s ) ./brown.sh + exit ;; + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) echo "Il n'y a rien que vous puissiez utiliser ici." ;; + h ) echo "Vous observez votre montre, il est 20:12" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/meteofrance.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/meteofrance.sh new file mode 100755 index 00000000..6a6c6393 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/meteofrance.sh @@ -0,0 +1,64 @@ +#!/bin/bash + +# Fonction pour afficher l'interface ASCII +afficher_ascii() { + cat << "EOF" + ____ _ _ _ _ _ _ + __/\__/ ___| |__ ___ (_)___(_) |_ | |_ ___ _ __ (_) ___ _ ___/\__ + \ / | | '_ \ / _ \| / __| | __| | __/ _ \| '_ \ | |/ _ \ | | \ / + /_ _\ |___| | | | (_) | \__ \ | |_ | || (_) | | | | | | __/ |_| /_ _\ + \/ \____|_| |_|\___/|_|___/_|\__| \__\___/|_| |_| _/ |\___|\__,_| \/ + |__/ +EOF +} + +# Fonction pour afficher le menu +afficher_menu() { + echo "Choisissez une option :" + echo "1. Lancer Astroport (RENAULD)" + echo "2. Lancer Astropo version 974 (JANICK)" + echo "3. Quitter" +} + + +# Fonction pour exécuter le premier script +executer_script1() { + echo "Exécution de Astroport..." + # Ajoutez ici la commande pour lancer votre premier script + "/home/janick/Astroport.ONE/adventure/adventure.sh" +} + +# Fonction pour exécuter le deuxième script +executer_script2() { + echo "Exécution de Astropo version 974..." + # Ajoutez ici la commande pour lancer votre deuxième script + "/home/janick/Astroport.ONE-master (1)/Astroport.ONE-master/adventure/games/Astropo_version_974/adventure.sh" + +} + +# Boucle principale du menu +while true; do + clear # Efface l'écran pour un affichage propre + afficher_ascii + afficher_menu + + read -p "Choix : " choix + + case $choix in + 1) + executer_script1 + ;; + 2) + executer_script2 + ;; + 3) + echo "Au revoir!" + exit 0 + ;; + *) + echo "Option invalide. Veuillez choisir une option valide." + ;; + esac + + read -p "Appuyez sur Entrée pour continuer..." +done diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/red.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/red.sh new file mode 100755 index 00000000..061eec9b --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/red.sh @@ -0,0 +1,41 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Set up the script for this room. It's a simple one! +sleep 1 +echo "Vous prenez une trotinette électrique." +echo "Vous traversez toute la ville " +echo "A la sortie de la ville votre trotinette commence à manquer de puissance." +echo +echo "La batterie se vide." +echo "Pour joindre l'aéroport vous devez vous rendre dans l'autre ville Sainte Marie à 30 min" +echo +echo "Que voulez-vous faire?" +echo "Plusieurs choix s'offre à vous." +echo "(n) Payer un taxi" +echo "(e) Faire du stop" +echo "(w) Respawn" +echo "(s) Recharger la trotinette" + +# And the choices go here. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Le taximan vous taxe tous votre argent et vous dépose à l'aéroport" ;; + s ) echo "L'emplacement de recharge vous fais attendre 30 min." ;; + e ) echo "Un Réunionnais s'arrête et vous dépose à l'aéroport." ;; + w ) ./mainroom.sh + exit ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w ";; + esac +done + +esac +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/start.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/start.sh new file mode 100755 index 00000000..f46f6068 --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/start.sh @@ -0,0 +1,71 @@ +#!/bin/bash + +clear + +# Logic in the game is stored in .ben files. This sample has just one 'logic' file. +# You can add more logic files by simply adding a 'sed' command and appropriate .ben file. +# First off, let us reset the game logic. Use this as an example. + +sed -i 's/on/off/' ../logic/leverlogic.ben + +# Who doen't love ASCII text, right? +# Next up, let's initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Next up, let's load in the initial introduction. Script is also stored in .ben files. +sleep 5 +file2="../script/opening.ben" +while IFS= read -r line +do + echo "$line" +done <"$file2" +read -p "Pressez sur [ENTER] pour démarrer..." + +#Okay, now that the introduction is out of the way, we can start the first room! +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +sleep 1 + +# Here's where you introduce the room to the player. Be sure to tell them if there +# Are exits - but don't give too much away. Make it fun for them to explore! +echo "Salut à toi jeune déglingo." +echo "Vous attérissez au chef lieu de L'île de le Réunion." +echo "Vous êtes actuellement situé à Saint Denis." +echo +echo "Vous devrez choisir entre plusiers choix pour vous déplacer." +echo "Le but de ce jeu est de pouvoir voyager vers l'îles Maurice." +echo +echo "Vous pouvez vous diriger selon les points cardinaux." +echo "Au nord vous diriger vers un taxi, au sud vers un bus, à l'est, une trotinette, à l'ouest, vous marcher jusquà trouver de l'aide" +echo +echo "Que voulez-vous faire? Les commandes sont : n, e, s, w, u et h." +# Now we wait for their response - and send them somewhere accordingly. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./white.sh + exit ;; # These lines will take the player to a new room - a new script file. + s ) ./brown.sh + exit ;; # Be sure to include 'exit' otherwise the game won't quit properly! + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) echo "Vous ouvrez votre sac il contient une tente, des vêtements, un thermos, une scie pliante et un couteau" ;; # Something to say? You can also just echo. + h ) echo "Suivez ses coordonnées GPS 16.864841, 11.953808" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + + esac +done + +esac +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/rooms/white.sh b/adventure/games/janick.mourougassin@ynov.com/rooms/white.sh new file mode 100755 index 00000000..bd08d4ee --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/rooms/white.sh @@ -0,0 +1,53 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +#Setting up the room... +sleep 1 +echo "Vous zntrée dans le taxi en direction du nord.." +echo "Vous n'avez que 50 euros avec vous" +echo "Le taximan peut vous rapprocher de l'aéroport et vous amener à Sainte Clotilde" +echo "Vous accepter et vous rapprocher considérablement de l'aéroport" +echo +echo "Une fois à Saint Clotilde, vous êtes pris par de Kaniar de rue" +echo "Il vous encercle dans une ruelle sans issu" +echo +# Here we're going to check to see if the lever - the only logic we are using in this game - is on or off. +leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "Une poignée est apparue sur la porte de la façade..." + else + echo "Vous êtes pris au piège" + echo "Aucune entrée n'est visible." + fi +echo +echo "Pas d'autre chemin praticable que celui d'où vous venez." +echo +echo "Que voulez-vous faire ?" +echo "(n) sortir un couteau" +echo "(e) se battre" +echo "(w) fuire" +echo "(s) respawn" + +# Now lets capture this room's actions. Note that here, the actions change depending on whether or not +# the lever is on or off. If it's on, you go elsewhere. If it's off, you don't. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo " Les kaniars vous encercle en nombre et vous tabasse ... " ;; + s ) ./mainroom.sh + exit ;; + e ) echo " Les kaniars vous encercle en nombre et vous tabasse ... " ;; + w ) echo "Vous courrez sans pouvoir trouver une échappatoire. Les kaniars vous encercle en nombre et vous tabasse ..." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w ";; + esac +done + +esac +exit diff --git a/adventure/games/janick.mourougassin@ynov.com/script/opening.ben b/adventure/games/janick.mourougassin@ynov.com/script/opening.ben new file mode 100755 index 00000000..a4e07bca --- /dev/null +++ b/adventure/games/janick.mourougassin@ynov.com/script/opening.ben @@ -0,0 +1,69 @@ + $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ + $$$$$$$XXx+++++;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+++++++++++++++++++++++++++++++++++++++xxxXXX$$$$$$$$$$$ + $$$x+;;;;++++++;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;++++++++xxxx++++++++++++++++++++++++++++++++++xX$$$$$$ + $x;;;;;;++++++++++;;;;;;;;;;;;;;;;;;;;;;;+++++xXXXXXxxxx+x+++++++++++++++++++++++++++++++++++++X$$$$ + $;;;;;;;;;+++++++++;;;;;;;;;;;;;;;;;;++++++;;;;;+++xXXXxxxxx+++++++++++++++++++++++++++++++++++x$$$$ + X;;;;;;;;;;;+++++++++;;;;;;;;;;;;;+++x+;++xxxXXXX++xx++xXXXXXx++++++++++++++++++++++++++++++++++X$$$ + X;;;;;;;;;;;;;;;;;+;;;;;;++++;;;;;++++;;+++++++++++++xXXXXXXXXxxx+++++++++++++++++++++++++++++++XX$$ + X;;;;;;;;;;;;;;;;;;;+++++++;;;++++++++;;;;++++xxxxx+++xXX$$$XXXXXXXxxx++++++++++++++++++++++++++XX$$ + X;;;;;;;;;;;;;;;;;++++++++++++x+;;;++XXx+++++xxXXXXXXxxXXX$$$$$$XXXXXXxx+x++++;;++++++++++++++++XX$$ + X;;;;;;;;;;;;;;;;;;;+xxXXXxxx++++;;++xXxXx+;;;;+xXXX$XXxxxXXX$$$Xx++++x+++xxx++;;;;+;;+;;+++++++XX$$ + X;;;;;;;;;;+++x+xxxXXXXXXXxxx++;;;;;+++xx++XXXXxxxXXXX$$$$XXXXX$$$XxxXXXxxxxx++;;;;;;;;;;;;+++++XX$$ + X;;;;+;;;;;;+++xXXXXXXXXXXXXXXXxx+++++xXXXXxxxXXX$XXXXXXX$$$$$$$$$$$XxXXXXXXx+++;;;;;;;;;;;;++++XX$$ + X;;;;;+;;;;;;+++xXXXXX$$$$$XXXXXx++++++XXXX$$$$$$$$$$$$$$XX$$$$$$$$$$$$XXXXXXxx+++;;;;;;;;;;++++XX$$ + X;;;;;;;;;;;;;+xXXX$$$$$XXxx++xxXxx+++xXXX$$$$$$$$$$$$$$$$$$$$$$$$$$$$$XXXXXXXXx++++;;;;;;;+++++XXX$ + X;;:;;;++++xxxXXXXXXxxx+++++;;;;++xXXXX$X$$$$$$$$$$$$$$$$$$$$$$$$$$$$XXXXXXXXXXXXX+++;;;;;;+++++XXX$ + X;;:;:;;++xXXXXXXXXXXXXXXxxx+++++xXXXX$$$$$$$$$$$$$$$$$$$X$$$$$XXXXXXXXXXXXX$XXXXXX+++;;;;;+++++XX$$ + X;:;::;;;+xxXXXXXXXXXxxXXX$XXXXXXXXXXXXX$$$$XXXXXXXXXXXXXXXXXXXXXXXXXXXXX$$$$$XXXXXx++;;;;;+++;+XXX$ + X;:::;;+xXXXXX$$XXXXXXXX$$XXXXXXXXXXXXXXXXXXx++x++xx++xx+xxxxxxxxxXXxXXXXX$$$$XXXXXXX++;;;;;;;;+XXX$ + X++++++xXXXXXXXXXXXXXXXXXXXxxxxxxxxx++++++++;;;+++;+;;;;;+++++++++xxxxXXX$$$$$$$XXxxxx+;++;;;;;+XX$$ + X+++xxxXXXXXXXXXXXXX$XXXXXx++++++++++;;;;++;;;;;::;;;;;;;;;+;;;;+++++++XXXX$$XXXXXx++++++;;;;;;+XXX$ + X++++xXXXXXXXXXXXX$$$XX+::....:::::::::::;;;;;::::::::::::::;::::;;;;+++XX$$$$$$XXXx+++++;;+;;;+XXX$ + X+;++++xxxXXXXX$$$X;:..:;;++++;;++++++;;;::..............:::::::::::;++;:;+X$$$$XXXxx++++++;;+;+XX$$ + X++++++++xXXXX$$$$x. .:XXx++++++xxxXXXXXXxx:. ....;xXXXXXXXxx+xxxxx++;:.::+$$XXx++++++++++;+XXX$ + X;;;;+++;+xxxX$$XX+.. ;$Xx+++xxxXXXXXXXXXXX+:. ...;XXXXX$$XXXXXXXXXXXXX+:::+$$$$XXXXxxx++++;+XXX$ + X+;;;;;;;;++xXXxxXx:..;$Xx++xXXXXX$X$$$$$$Xx:.:::::.:+X$$$$$$$$$XXXXXXXXXXx:::+$$$$XXXXXx++++;;+XX$$ + X+;;;;;;;;;+++xXXXXX+.;XXx+XXXXXXXXXXXXXXXX;.:::::;:.;X$$$$$XXXXXXX$$$XXXX+..;x$$$$XXXXXx+++;;++XXX$ + X;;;;;;;;;++xXXXxxX$$;:Xx+xXxxXXXXXXXXXXx+;:.:::::;;:;XXX$$XXXXXXXXXXXXXXX;:X$$$$$$XXXXXXx++++;+XXX$ + X;;;;;;;;++xXXXXxx$&$X:;x+;;++++;;;;;;;;::::::::::;;;:;;;;;+++xxxXxx+++xx+:+$$$$$$$XXXXXXxx+++;+XX$$ + X+;++++++xxxXXXXxX$$XX+::;;;;::::::::::::.:::::::::;;;::::::;;;;;+++++xx+::X$$$$$$$$XXXxx+++++++XXX$ + X+;;+++++xxxxxXxXX$XXXx+;::::::::..::::::;;::::::::;;;;:::::::::;;;;;++;:;xX$$$$$XX$$$XXx++++;;+XXX$ + X;;;;;;++++xxxxXXXXXxx;++;;::::::;;++xxx+:::::::::;+++;::+X++++;;;;;+x+xXXXX$$$$$$$$$$XXx++;;;;+XXX$ + X+;;;;;;+++xxxxXXXXXxx;;;;;;;;+++;;;;+++:;;;;;;+++xXXXxx+xXXXXXXxx++++xxXXXXX$$$$$$$$$$XX+++;;;+XX$$ + X;;;;;;;+++++xxxXXXXXx+;;;;;;;;::::;;+;;+xXXXXXXXXX$$$$$XXXXXXx+xxXXXXXXXXXXX$$$$$$$$$$$Xx+++;;+XXX$ + X;;;;;;;;++++xxxXXXXXx+;;;+;;:::::;;+;::+XXXXXXXXX$$$$$$$$X++++++++xXXXXXXXXX$$$$$$$$$$XX+++++;+XXX$ + X;;;;;;;;+++++++XXxXxx++;;;;;;;;;;++;:::;++++xX$$$$$$$$$XXX+;++++++xXXXXXXXX$$$$$$$$$$$Xx+;;;;;+XX$$ + X;;;;;;;;++++++x+xxxXx;;;;;;;;;;;;++;::::::;;+xX$$$$$$XXx++;;;;+++xxxXXXXXXXX$$$$X$XX$X+;;;;;;;+XXX$ + X;;;;;;;;;++xx++++xxXX;;;;;;;;;;;++;::::::;;;++XXXXXXXxx+++;;;;;;;+xXXXXXXXXXX$XX$XXXX+;;;;;;;;+XXX$ + X;;;;:::;:;;+;;;;+xxXx;;;;;;;;;;;+;:::;;;;;;++++;+xXXxxXXxxxx++;;;;+xXXXXXXXXXXXX$$$X+;;;;;;;;;+XX$$ + X;;;;;;:;;;;;;;;;;+xXx;:::::;;;;;;;;;;+++xxXXXXXXXXXXX$$$XXXXXXxx+++++xxxXXXXXX$+XXX+;;;;;;;;;;+XXX$ + X;;;;;;;;;;;;;;;;;+xX+;:::::;;;;;;++xxXXX$$$$$$$$$$$$$$$$$$$$$$Xx++++++++xxXXX$X+xx+;;;;;;;;;;;;XXX$ + X;;;;;;;;;;;;;;;;;+x++;::::::::;;++XX$$$$$$$$$$$$$$$$$$&&&&&$$$X+;;;;;;;;++XX$$x+;;;;::::::::;:;XX$$ + X;;;;;;;:;;;;;;;;;;++;;:::::::::;;+xx++xX$$$XXXXXX$XXXXXXXXXXxx+;;;;;;;;;+xX$X+;;;;;;;;;;;;;;;;;XXX$ + X;;;;;;;::::::;;;;;++;;;:::::::::;;;;:;:;;;::::::;;;:;;;;;++;;;;+;;++;;+++xxX;;;;;;;;;;;;;;;;;;+XXX$ + X;;;;;;;::::::::;:;;;++;::::::::;;;;;:::;;;;;:;::;;;;;;;+++++;;;;;;;++++++xXx;;;;;;;;;;;;;;;;;;;XX$$ + X;;;;;;;;:::::::::::;++;:::::::::;;::::;;;;;;;;;;;;++++++++++;;;;;;;+++++++;;;;;;;;;;;;;;;;;;;;;XXX$ + X;;;;;;;;;;;;::::::;;+xx;;;;;;;;;;:::::;;;;;;;;;;;;;;;;++++++;;;::;++++++x+;;;;;;;;;;;;;;;;;;;;;XX$$ + X;;;;;;;;;;;;;;;::::;+xX+;;;;;;;;::::::::;;;::::::;;;;;;;+;;;;::;;;+++++xx;;;;;;;;;;;;;;;;;;;;;;XX$$ + X;;;;;;;;;;;;;;:::::;+x;++;;;;;;:::::::::::::::::::::::::;;;;;;;;;+++xx+xXX+;;;;;;;;;;;;;;;;;;;;XX$$ + X;;::;;;;;:::::::;:;:;+;++;;;;;;;;;;::;:::::::::::::::;;;;;;;;;;;+++xXXXX$$X+;;+;;;;;;;;;;;;;;;;XX$$ + X;;;;;;;;;::::;;;;::::;;;;;;;;++;;;;;;;;;::::::;::::;;;;;;;;;;+++xXXXXXXXxxXXx+;;;;;;;;;;;;;;;;;XX$$ + X+;;;;;;;;;;;;;;;;;;;;;:;;;;;+++++;;;;;;;;:::;;;;;;;;;;++;++++xxXXXXXXXXX++;;;:;:;;;;;;;;;;;;;;;X$$$ + X++;;;;;;;;;;;;;;;;;;;;;;;;;;++x++++;;;;;;;;;;;;;;;++;++;++x+xXXXXXXXXXXx;;;;;;;;:;;:;;;;;;;;;;;X$$$ + X+++;;;;;;;;;;;;;;;;;;;;;;;;;+++++++++++++++++++;++xxx++xXXxXXXXXXXXXXXXx;;;;;;;;;;;;;;;;;;;;;;+$$$$ + $x+++;;;;;;;;;;;;;;;;;;;;;;;;;++++xxxxx++xxxxx++xxXXxxxXXXXX$XXXXXXXXXXXx;;;;;;;;;;;;;;;;;;;;;;x$$$$ + $$$x+;;;;;;;;;;;;;;;;;;;;;;;;;;+++xxxxxxXXXXXXXXXXXXXXXXXXX$$X$$$$X$$$$Xx;;;;;;;;;;;;;;;;;;;+x$$$$$$ + $$$$$$$XXxxx+++++++;;;;;;;;;;;;;++xXXXXXXXxXXXXXXXXXXXXXXXX$X$$$$$$$$$$Xx;;;;;;++++++++xXX$$$$$$$$$$ + $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ + +Les commandes pour vous déplacer et interagir sont +'n' aller au nord, +'s' aller au sud, +'e' aller à l'est, +'w' aller à l'ouest, +'u' utiliser, +'h' observer plus en détail. + +Ctrl-C pour quitter. + + - - - diff --git a/adventure/games/jonathan.bordes@ynov.com/adventure.sh b/adventure/games/jonathan.bordes@ynov.com/adventure.sh new file mode 100755 index 00000000..ee69caf7 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/adventure.sh @@ -0,0 +1,50 @@ +#!/bin/bash +################################################################### +# This Launch script is based on BashVenture. +# It runs on Astroport Stations and allow players to create their own digital stories +# First you have to install IPFS in order to play with everyone in the same network +# +# Remember, kids - sharing is caring! Keep it open. Spread the love. +# - @BenNunney +# Thanks and gratitude to all living creatures and the whole creation. +# - @Fred +# $AGE×365,25×24×60×60×9,807÷299792458 = RELATIVE LIGHT GRAVITY SPEED +################################################################### +# Here we check to see if uuidgen is installed - if not it will default to single-user mode. To run this on a server +# and support multipe-users, check you have everything set up correctly. +# Read the original instructions : https://github.com/apetro/BashVenture/blob/master/README.md +################################################################### +# Guide avancé d'écriture des scripts Bash : https://abs.traduc.org/abs-fr/ +################################################################### +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" +################################################################### +if hash uuidgen 2>/dev/null; then + homefolder=$(pwd) + newplayer=$(uuidgen) + ## Copy Player Game Files + mkdir -p $HOME/.zen/adventure/$newplayer + cp -r $MY_PATH/rooms $HOME/.zen/adventure/$newplayer/rooms + cp -r $MY_PATH/art $HOME/.zen/adventure/$newplayer/art + cp -r $MY_PATH/script $HOME/.zen/adventure/$newplayer/script + cp -r $MY_PATH/logic $HOME/.zen/adventure/$newplayer/logic +fi +################################################################### +echo "Loading..." +echo +sleep 4 +################################################################### +if hash uuidgen 2>/dev/null; then + cd $HOME/.zen/adventure/$newplayer/rooms +else + cd rooms +fi +./start.sh +################################################################### +if hash uuidgen 2>/dev/null; then + cd "$homefolder" + rm -r $HOME/.zen/adventure/$newplayer +fi +echo "To continue..." +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/art/Gune.ben b/adventure/games/jonathan.bordes@ynov.com/art/Gune.ben new file mode 100644 index 00000000..dedb1304 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/art/Gune.ben @@ -0,0 +1,21 @@ + + + .';:llllc;'. + .:xXWX;.,ll;.:XWXx;. + ;0MMMMMMKl;'',l0MMMMMWO, + ,0MMMMMMW0dc;,,;cd0WMMMMMMO. + dWMMMMM0; ;OMMMMMN: + dMMMMMN: .,'. cWMMMMMc + ,WMMMMX. .xNMMMMNx,'lONMMMMMMN. + oMMMMM: :WMMMMMMMMMMMMMMMMMMMMc + xMMMMM' xMMMMMMOlllllllloNMMMMo + oMMMMMc ,NMMMMMWd. KMMMM: + .WMMMMN, .l0NWWWKc KMMMX. + cMMMMMWo .. KMMW; + cWMMMMMXo' .lKd. KMK' + .xWMMMMMMN0dlllldONMMMMWOXd + .xNMMMMMMMd''lWMMMMMMXo. + 'lONWMW, .XMWXOl. + ..,,..,,.. + + diff --git a/adventure/games/jonathan.bordes@ynov.com/art/astrologo.ben b/adventure/games/jonathan.bordes@ynov.com/art/astrologo.ben new file mode 100644 index 00000000..64180c37 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/art/astrologo.ben @@ -0,0 +1,21 @@ + + .':cdxxxxxoc;. + .:x00dc;'..:..,:lk00o' + ;0Xd, oMo :OXx. + :KK; cMMMl .oNk. + .kN: ;MMMMMc xNl + .0K. ,WMMMMMW; ;Wo + OX. ,WMMMMMMMW; ;Wc + cM; .WMMMMMMMMMW, kX. + OX .NMMMMMMMMMMMW' ,Mc + O0 .NMMMMMMMMMMMMMW' .Mc + ON .XMMMMM0kkkkKMMMMN. ,M: + :M; KMMMMM: .,,;dMMMMMN. kX. + ON. 0MMMMMl ,WMMMMMMMMMMX. ;Wc + .0K. 0MMMMMd 'WMMMMMMMMMMMMX. :Wo + .xN: kMMMMMO .XWWWWNNNNNXXKKKd xNc + ;0Xl. .oXx. + ,OXx, .cOKd. + ;d00xl:,....';coO0Ol' + .;:odddddl:,. + diff --git a/adventure/games/jonathan.bordes@ynov.com/art/astroportland.ben b/adventure/games/jonathan.bordes@ynov.com/art/astroportland.ben new file mode 100644 index 00000000..f27e1fd1 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/art/astroportland.ben @@ -0,0 +1,21 @@ +MMMMMMMMMMMMMMMMMMMl xxlxxxd . KNNMNl. 'd0xdddkXKxc. ,dNMMMMMMMMMMMMMMM +MMMMMMMMMMMWKOl:cc' .NNOMXNX .ld; ,lxXMMMMMMMMMMM +MMMMMMMMNo. ,,' .KKWMOXX .. .dWMMMMMMMM +MMMMMMWc cdddc .NNNMXNX .do '' ' .:,:k; l, .KMMMMMMM +MMMMMW, ;ll: .,:ddddd .KKOM0XX .do '0MMXMo . dMMMMMMXOMX0: XMMMMMM +MMMMMo xc:d 'ddddddd .XXWMK00' .do .oo. .dMMMMMMO;lWNMMMMMMWXMMMX: :MMMMMM +MMMMW. .cXKKXWooK0kk0d0Oxxkkx .XXNM0Ok; .:ol:'do,0MMK ... 'XMMMMMMMMMMMMMMMMMWWMMMMx .dkONMM +MKNK. NMWooOWllKKoMNll0MM0x0 xNXXOMKOkKOoM0kkkOkWMMMM0NWWXXMMMMMMMMMMW:WkWk0OKMWdOMNxd0O. .KM +l dkkMMWloOWcc0KoMNccOMMxl0cMMXXWM0KOMMMM0OkkOKMMMMMMMMMMMMMMMMMMMMM0 : o.. 'll.lMMMMMMx .O + ;kMMMMMWlckWooKXdMNccOMMxlXk0MMMNMMMMMMMM0OkkOWMMMMMMMMMMMMMMMMMMMMMMo0OWW,xNWKcooMM0NN0Oc + .NMMMMMMNllkWllKKoMNll0MMxlNxOMMMOMMMMMMMM0OkOOWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNMMNdxMMMk + ;WMMMMMMMMMMMNNWWNMMMMMMMWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMWx. + :MMkxxxWMMMWkxxxxxxxWXxxxxxxxxKWxxxxxxxxxWMMKxxxxxxKMMKxxxxxxxxKMMXxxxxxx0MMkxxxxxxxxNMXxdlloodO: + :N, OMM0. 'N. 0: :Mc XK Nx kl ,N. ;' +x..M0xddddKMMOddddddddKKddddddddxNxdddddddddOWoooooooooN0ddddddddddNdoooooooo0xdddddddddkKdddddddox. +MWKK ,MN. .,XMMMMl ;MMMM' xc 'MMd .Mx ;x .NMO N; dMMMl ,W +MMMK NM:. 'MMMW. xMMMO dW. oMM. lM' .:N, ;MM; ;K oMMMW. dO +MMMMMMMo xXXXXXk .MMMO NMMM; .WWN. 00 XM0 KK 0WWWWMMW OMX kc .WWW. OMMMO Nc +MMMMMMMX dMMM; ;MMMN dMMk N0 .. oMl .MMMMMMMN ... :W. lMM0 XMMM; ;M' .c +MMMMMMMM, .xMMMW. kMMMx .NMM: cMMd. .;0MM. oMMMMMMMMk. .,kMO XMMl :MMMW. kMOKMM +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM diff --git a/adventure/games/jonathan.bordes@ynov.com/art/astrored.ben b/adventure/games/jonathan.bordes@ynov.com/art/astrored.ben new file mode 100644 index 00000000..7ed4a2b8 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/art/astrored.ben @@ -0,0 +1,21 @@ + .,'. + .,,;,'',;,'',,.'. + .;;,,.. .........' + .l:. ............cc. + .c, .................:c. + .lc ................... .l; + l' ... .............. c: + :: .. ........... l' + d . .''...... 'o + .o .. ''''''. l + .d . ......''''''' l + o . .,,,,,,'''''' 'l + ;: . ',,,,''''', l. + l, .. .,,,''''', oc + .lc .',,,''',. .c, + 'l, .,,''',..:c. + ';;. .,,',,:;. + ':;;'. .;:,,,. + .,,'''''','..;,,. + ,:. + ., diff --git a/adventure/games/jonathan.bordes@ynov.com/art/bigfinish.ben b/adventure/games/jonathan.bordes@ynov.com/art/bigfinish.ben new file mode 100755 index 00000000..8ca22cfc --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/art/bigfinish.ben @@ -0,0 +1,9 @@ + _______ _ ______ _ + |__ __| | | ____| | | + | | | |__ ___ | |__ _ __ __| | + | | | '_ \ / _ \ | __| | '_ \ / _` | + | | | | | | __/ | |____| | | | (_| |_ + |_| |_| |_|\___| |______|_| |_|\__,_(_) + + + \ No newline at end of file diff --git a/adventure/games/jonathan.bordes@ynov.com/art/logoastro.ben b/adventure/games/jonathan.bordes@ynov.com/art/logoastro.ben new file mode 100644 index 00000000..859e4af1 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/art/logoastro.ben @@ -0,0 +1,21 @@ + + + .:dO0NNkNX0ko,. + .:OWMMMMMMc cWMMMMMXd, + 'kWMMMMMMMMc cWMMMMMMMNo. + .kMMMMMMMMMMo lMMMMMMMMMWl + .KMMMMMMMMMMd oMMMMMMMMMMx + .XMMMMMMMMMMk dMMMMMMMMMMx + xMMMMMMMMMM0 OMMMMMMMMMM, + .NMMMMMMMMMK. OMMMMMMMMMk + 'MMMMMMMMMK. OMMMMMMMMK + .NMMMMMMMK. ,;;;;' OMMMMMMMx + dMMMMMMX. kMKkxxc 0MMMMMM, + .KMMMMN. dMx .KMMMMd + .0MMN. cMx .KMMd + xW' 'W0. ......:Xc + .lXNNWNWMMMMMMMMMMMMMMMMXl + ;xXMMMMMMMMMMMMMMWKo' + .,lxkKKKK0kdc' + + diff --git a/adventure/games/jonathan.bordes@ynov.com/art/supper.ben b/adventure/games/jonathan.bordes@ynov.com/art/supper.ben new file mode 100755 index 00000000..e1806a8a --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/art/supper.ben @@ -0,0 +1,10 @@ + _____ _ _ + / ____| (_) | | + | (___ _ _ _ __ _ __ _ __ _ ___ ___| | + \___ \| | | | '__| '_ \| '__| / __|/ _ \ | + ____) | |_| | | | |_) | | | \__ \ __/_| + |_____/ \__,_|_| | .__/|_| |_|___/\___(_) + | | + |_| + + \ No newline at end of file diff --git a/adventure/games/jonathan.bordes@ynov.com/art/titleart.ben b/adventure/games/jonathan.bordes@ynov.com/art/titleart.ben new file mode 100755 index 00000000..6da1d7df --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/art/titleart.ben @@ -0,0 +1,9 @@ + _ _ _ ____ ___ _ ____ + / \ ___| |_ _ __ ___ _ __ ___ _ __| |_ |___ \ / _ \ _ / |___ \ + / _ \ / __| __| '__/ _ \| '_ \ / _ \| '__| __| __) | | | | (_) | | __) | + / ___ \\__ \ |_| | | (_) | |_) | (_) | | | |_ / __/| |_| | _ | |/ __/ +/_/ \_\___/\__|_| \___/| .__/ \___/|_| \__| |_____|\___/ (_) |_|_____| + |_| + + --- Un JEu de Forêt Jardin en Monnaie Libre sur IPFS --- + diff --git a/adventure/games/jonathan.bordes@ynov.com/game_map.png b/adventure/games/jonathan.bordes@ynov.com/game_map.png new file mode 100644 index 00000000..e0004253 Binary files /dev/null and b/adventure/games/jonathan.bordes@ynov.com/game_map.png differ diff --git a/adventure/games/jonathan.bordes@ynov.com/hacker.jpg b/adventure/games/jonathan.bordes@ynov.com/hacker.jpg new file mode 100644 index 00000000..7aa3e56e Binary files /dev/null and b/adventure/games/jonathan.bordes@ynov.com/hacker.jpg differ diff --git a/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic.ben b/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic.ben new file mode 100755 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic.ben @@ -0,0 +1 @@ +off diff --git a/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic.ben= b/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic.ben= new file mode 100755 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic.ben= @@ -0,0 +1 @@ +off diff --git a/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic2.ben b/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic2.ben new file mode 100644 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic2.ben @@ -0,0 +1 @@ +off diff --git a/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic2.ben= b/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic2.ben= new file mode 100644 index 00000000..b3d86404 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/logic/leverlogic2.ben= @@ -0,0 +1 @@ +on diff --git a/adventure/games/jonathan.bordes@ynov.com/logic/stationlogic.ben b/adventure/games/jonathan.bordes@ynov.com/logic/stationlogic.ben new file mode 100755 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/logic/stationlogic.ben @@ -0,0 +1 @@ +off diff --git a/adventure/games/jonathan.bordes@ynov.com/logic/stationlogic2.ben b/adventure/games/jonathan.bordes@ynov.com/logic/stationlogic2.ben new file mode 100644 index 00000000..cfb931e4 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/logic/stationlogic2.ben @@ -0,0 +1 @@ +off diff --git a/adventure/games/jonathan.bordes@ynov.com/readme b/adventure/games/jonathan.bordes@ynov.com/readme new file mode 100644 index 00000000..5466240d --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/readme @@ -0,0 +1,47 @@ +# SCRIPT01.CYBSEC + +kroo3.sh + + ++ 11 : game engine ++2 : multigame compatibility ++1 : shellcheck +- 1 : git sync + +> final 13 + +## "GameShell" LEVEL ? + + +## DIFFs +``` +diff --recursive --brief ./ ../_votre\ jeu/ +Les fichiers ./adventure.sh et ../_votre jeu/adventure.sh sont différents +Seulement dans ./: game_map.png +Seulement dans ./: hacker.jpg +Seulement dans ./logic: leverlogic2.ben +Seulement dans ./logic: leverlogic2.ben= +Seulement dans ./logic: leverlogic.ben= +Seulement dans ./logic: stationlogic2.ben +Les fichiers ./rooms/end.sh et ../_votre jeu/rooms/end.sh sont différents +Les fichiers ./rooms/gameroom.sh et ../_votre jeu/rooms/gameroom.sh sont différents +Seulement dans ./rooms: kroo3.sh +Les fichiers ./rooms/mainroom.sh et ../_votre jeu/rooms/mainroom.sh sont différents +Seulement dans ./rooms: meteofrance2.sh +Les fichiers ./rooms/meteofrance.sh et ../_votre jeu/rooms/meteofrance.sh sont différents +Les fichiers ./rooms/start.sh et ../_votre jeu/rooms/start.sh sont différents +Les fichiers ./rooms/white.sh et ../_votre jeu/rooms/white.sh sont différents +Seulement dans ./: templates +``` + +``` +search kroo3 +------------------------------------------------------------------------------ + Searching for kroo3 recursively. Please Wait... +------------------------------------------------------------------------------ +./rooms/white.sh: ./kroo3.sh +``` + + + +Hacker infiltration style diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/bigroom.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/bigroom.sh new file mode 100755 index 00000000..a3463cf3 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/bigroom.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" + +# This is close to the endgame, but affords the player a last set of things to try and do. +# Obviously if you use this framework to create a game of your own, you can extend this massively. + +echo +sleep 1 +echo "Vous décidez de sortir de la Sation Astroport." +echo + echoleverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + + sleep 2 + echo "Il ne dépend que de vous d'explorer ce nouveau futur." + echo "Le Visa MadeInZion inaugure un monde sans territoire, sans frontière, transnationnal, interplanétaire, à vous de voir?" + sleep 2 + echo "Avant de nous rejoindre. Visitez notre 'bon coin' https://gchange.fr " + echo + sleep 3 + echo "Ouvrez une ambassade? Installez IPFS, devenons hébergeur, fournisseur d'accès de nos Internets." + echo + sleep 4 + echo "Ouvrez votre propriété au futur en commun, activez Astroport." + echo "Nous organisons des formations habitats posés, vissés et cousus. Eau potable. Biogaz, Marmite Norvégienne..." + echo "Comment nourrir le sol, reconnaitre les plantes... Redevenir ceuilleur, créateur." + echo + else + echo "" + echo "Aucune entrée n'est visible." + fi +echo +sleep 5 +echo +echo "Que voulez vous faire?" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Pas moyen de se déplacer." ;; + s ) echo ".Pas le choix." ;; + e ) echo "Pas par là." ;; + w ) echo "Plus à l'ouest que ça? Y'a pas!" ;; + u ) ./end.sh + exit ;; + h ) echo "Comment refuser une telle proposition..." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/brown.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/brown.sh new file mode 100755 index 00000000..9d28126e --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/brown.sh @@ -0,0 +1,62 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 + +# Here's this room's script. + +echo "Sur la direction du sud, vous traversez une zone plus sombre et humide." +echo "Le sol est glissant à cause de l'argile qui colle sous vos bottes" +echo "Vous finissez par croiser un chemin qui traverse la forêt d'Est en Ouest" +echo +echo "Un terminal informatique est installé là." +echo +echo "Il ressemble à une grosse calculatrice" + + +# Here we tell the player whether the lever is on or off. +leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "'VISA SVP' clignote sur l'écran..." + else + echo "La machine affiche l'heure : 20:12" + fi +echo +echo "Il est tard pour explorer le chemin à pied, vous devriez retourner d'où vous venez." +echo +echo "Que faites vous?" + +# In this set of actons lies the logic switch used later in the game. +# You have to set this switch to reach the endgame. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./mainroom.sh + exit ;; + s ) echo "Si vous continuez à marcher dans la forêt. Vous allez vous perdre. Demi tour." ;; + e ) echo "Le chemin qui part à l'Est est plein de boue... Impossble d'aller par là." ;; + w ) echo "Une rivière vous empêche de passer." ;; + u ) leverstate=`cat ../logic/leverlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "A chaque frappe d'une touche. l'écran fait défiler le texte 'SCANNEZ VISA SVP'." + else + sed -i 's/off/on/' ../logic/leverlogic.ben + echo "Vous pianotez sur l'appareil..." + sleep 3 + echo "A moment où vous touchez la touche '#' L'écran se met à clignoter..." + echo "Puis le message 'ACTIVATION STATION' défile sur les caractères lumineux." + fi + ;; + h ) echo "Le terminal comporte un clavier numérique. Un petit écran.. Il est réalisé avec un mini ordinateur Raspberry Pi. Il porte l'adresse G1TAG [https://g1sms.fr]" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/end.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/end.sh new file mode 100755 index 00000000..64fae103 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/end.sh @@ -0,0 +1,72 @@ +#!/bin/bash +clear + +# This is the endgame. This file does nothing but give you the final bit of storyline. +# Use (over-use) of 'sleep' is for dramatic effect - play around with it, see how it reads. + +# Let's reset the lever, now that we're done with it. +sed -i 's/on/off/' ../logic/leverlogic.ben +sed -i 's/on/off/' ../logic/leverlogic2.ben + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +sleep 1 +echo "Voici la fin de cette petite aventure." +echo +sleep 4 +echo "Vous venez de visiter la forêt où s'est posé Astroport ONE." +sleep 3 +echo +echo "Une oeuvre habitable. Un jardin sur sol vivant. Un progamme pair à pair interplanétaire" +sleep 4 +echo +echo "Les terraformeurs" +echo "En quête de la meilleure façon de vivre sur le vaisseau spatial Terre..." +echo +sleep 5 +echo "Vous aussi ouvrez votre Ambassade." +echo "Activez le JEu. Invitez vos visiteurs à rêver d'un monde meilleur" +echo "Reproduisez, améliorez, partagez les plans pour y parvenir." +echo +sleep 7 +echo "Il est l'heure de laisser derrière vous la civilisation thermo industrielle." +echo "Gagnez en autonomie, en convivialité, en optimisme, en conscience." +echo +sleep 5 +echo +echo "EMBARQUEZ VERS LE FUTUR" +echo +sleep 9 +echo +file1="../art/bigfinish.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo +read -p "Appuyez sur [ENTER] pour terminer..." +echo +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo +echo "Merci d'avoir joué le jeu" +echo "Je suis heureux de vous avoir fait partager le rêve des astronautes terraformeurs." +echo +echo "Le futur ne se prédit pas, il se construit. Il se vit." +echo +echo " - @Fred" +echo + +# That's all, folks! + +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/gameroom.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/gameroom.sh new file mode 100755 index 00000000..2902d9ac --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/gameroom.sh @@ -0,0 +1,88 @@ +#!/bin/bash +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# This room gives the player a typical poisoned apple style scenaro. +# Just because something looks shiny and fun, doesn't make it any +# less deadly. +sleep 1 +echo "Dans une cabine, un écran est disposé en coin. Un tout petit ordinateur" +echo "y est raccordé... D'autres fils sortent de l'appareil. Une webcam. Une imprimante." +echo +echo "Que voulez vous faire?" +myIP=$(hostname -I | awk '{print $1}' | head -n 1) +isLAN=$(route -n |awk '$1 == "0.0.0.0" {print $2}' | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/") +[[ ! $myIP || $isLAN ]] && myIP="127.0.1.1" + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous êtes dans une cabine. Des QRCode sont collés à la parois nord" ;; + s ) echo "Cette paroie comporte un miroir. Pour se faire une beauté avant d'enregistrer une capsule vidéo." ;; + w ) ./kroo.sh + exit ;; + e ) echo "Vous êtes face à l'écran. Au dessus des hauts parleurs, une webcam" ;; + u ) leverstate=`cat ../logic/stationlogic.ben` + if [ "$leverstate" = "on" ]; then + echo "A chaque frappe d'une touche. l'écran fait défiler le texte 'SCANNEZ VISA SVP'." + else + sed -i 's/off/on/' ../logic/stationlogic.ben + echo "Vous appuyez sur l'interupteur de l'écran. Y apparaît alors :" + sleep 3 + echo "AMBASSADE MadeInZion - TerraPi4 - 2 To -" + echo "" + echo + sleep 2 + echo "INTERNET est dangereux. il vend vos information personnelles pour que vous deveniez un produit. " + sleep 2 + echo + echo "Rebootez INTERNET. Activez votre TW sur le Système de Fichiers Interplanétaire (IPFS)." + sleep 2 + echo + echo "On y échange en pair à pair. La monnaie y est Libre." + sleep 4 + file1="../art/astrored.ben" + while IFS= read -r line + do + echo "$line" + done <"$file1" + echo + echo + echo "____ Astroport déclenche à 20:12 la synchronisation de ses ambassades..." + echo "Rapport 2022 : https://ipfs.asycn.io/ipfs/QmUtGpGeMZvwp47ftqebVmoFWCmvroy5wEtWsKvWvDWJpR" + sleep 3 + echo + echo "ASTROPORT ONE" + echo "VISA pour le vaisseau spatial TERRE." + if [[ -d ~/.zen/Astroport.ONE ]]; then + read -p "Appuyez sur [ENTER] pour activer votre Station Astroport.ONE" + espeak "Astroport Command" > /dev/null 2>&1 + + ~/.zen/Astroport.ONE/command.sh + else + espeak "Please Install Astroport" > /dev/null 2>&1 + echo "Install Astroport.ONE ..." + echo "bash <(wget -qO- https://raw.githubusercontent.com/papiche/Astroport.ONE/master/install.sh)" + ./end.sh + fi + fi + exit + ;; + + h ) echo "'DEMARRER API http://$myIP:1234 ... Une Station Astroport.ONE.?." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/green.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/green.sh new file mode 100755 index 00000000..d3e56110 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/green.sh @@ -0,0 +1,38 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Everybody clap your hands. I mean, here is the script. +sleep 1 +echo "Vous atteignez une zone remplie de jeunes épineux" +echo "Vous reconnaissez des prunus, des aubépines." +echo "Quelques génévriers dont vous remarquez les baies noires." +echo "Un peu plus loin ce sont les ronces." +echo +echo "Plus vous progressez plus vous souffrez des épines. Existe-t-il un passage? Qui sait." +echo +echo "Que voulez vous faire?" + +# And here's what you could have won... +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Un énorme roncier vous barre la route. Ca ne passe pas." ;; + s ) echo "Vers le sud, aucun passage en vue." ;; + e ) ./mainroom.sh + exit ;; + w ) echo "Vous voyez le même paysage à perte de vue" ;; + u ) echo "Vous cueillez une baie de genèvrier. Vous la portez à la bouche. Croquez. La saveur est délicieuse. La force de la plante vous envahi." ;; + h ) echo "Ce type de terrain est caractéritique des zones déboisées. La nature sort ses épines pour protéger les arbres qui poussent en dessous." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/grue.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/grue.sh new file mode 100755 index 00000000..a6016e52 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/grue.sh @@ -0,0 +1,35 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# I like this room. There is no way to get out of it alive. +sleep 1 +echo "Un évier derrière une fenère, une ancienne porte d'armoire comme table." +echo "Un meuble fait de planches de bois cousues rempli de bocaux" +echo "Une glacière recouverte d'une couche d'isolant Un bruleur à gaz." +echo "C'est un espace pour cuisiner." +sleep 3 +echo +echo "Vous avez soif. Un filtre à eau gravitationnel vous fait face" +echo "vous attraper un gobelet et le remplissez à raz bord du liquide de la bombone" +echo "Vous portez le verre à vos lèvres..." +echo +sleep 5 +echo "A la première gorgée vous vous sentez ramolir. Comment savoir combien vous avez bu" +echo "quand votre corps devenu impossible à garder droit s'est éffondré sur le sol." +echo "Simplement le temps de vous demander pourquoi?" +echo +echo "Vous sombrez dans l'inconscience." +sleep 4 +echo "VOUS VOUS SENTEZ DECOLLER." +echo +read -p "Appuyez sur [ENTER] pour revenir..." +./mainroom.sh + +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/kroo.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/kroo.sh new file mode 100755 index 00000000..9b8f1a11 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/kroo.sh @@ -0,0 +1,58 @@ +#!/bin/bash +clear + +# This room gets a little artsy with sleep commands, to help with the +# narrative of the story. This is why there are two versions - foyer and foyer2. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# It's script time again... +sleep 1 +echo "Vous pénétrez à l'intérieur de l'Astroport." +echo +sleep 3 +echo "Une voix synthétique vous accueille." +espeak "Welcome. Please Identify." > /dev/null 2>&1 +echo +echo "Vous parcourez l'espace du regard" +echo "Au nord, face à vous se trouve un foyer où brule un feu." +echo +sleep 3 +echo "A l'ouest sont suspendus tuyaux, ustensiles et bocaux. Une cuisine?" +echo "A l'est il y a un genre de 'photomaton' " +sleep 2 +echo "Derrière vous, la porte par où vous êtes entré est encore ouverte." +echo +echo "Que voulez vous faire?" + +# And once again the room logic. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous asseyez sur le grand tapis devant le feu. Vous vous relaxez un instant." + ./magic8.sh + ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "Vous tapotez sur le barmoètre. Une photo satellite?" + ./meteofrance.sh + exit + ;; + h ) echo "La pièce est spacieuse. La chaleur du feu agréable, à gauche on dirait une cuisine explosée, à droite une chaise moletonnée fait face à un écran." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/kroo2.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/kroo2.sh new file mode 100755 index 00000000..ebdb5e36 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/kroo2.sh @@ -0,0 +1,40 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# So here's a little story all about how this script got flip-turned upside down... +sleep 1 +echo "You're in a corridor, but it's quite a small one. You got here" +echo "the first time by hugging a statue of a kitten. Standard." +echo +echo "You see a glow coming from the rooms to your east and west, and" +echo "there's a big, old looking door to the south of you." +echo +echo "What would you like to do?" + +# Imma let you finish, but here's the room choices. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "You faceplant the wall. Idiot." ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "There's nothing you can use right here." ;; + h ) echo "After hugging that cat you aren't sure you should try to hug yourself again." ;; + * ) echo "I'm sorry, I don't understand you. Commands are: n, e, s, w, u and h.";; + esac +done + +esac +exit \ No newline at end of file diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/kroo3.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/kroo3.sh new file mode 100755 index 00000000..45d5a0f1 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/kroo3.sh @@ -0,0 +1,62 @@ +#!/bin/bash +clear + +# This room gets a little artsy with sleep commands, to help with the +# narrative of the story. This is why there are two versions - foyer and foyer2. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# It's script time again... +sleep 1 +echo "Vous cassez la vitre puis vous pénétrez à l'intérieur de l'Astroport." +echo +sleep 3 +echo "Une voix synthétique vous alerte." +echo +echo "Vous n'avez pas l'autorisation d'entrer." +echo "Les données présentes vont être cryptées." +echo +echo "Vous entendez un grésillement, puis plus aucun bruit." +echo +echo "Vous parcourez l'espace du regard" +echo "Au nord, face à vous se trouve un foyer où brule un feu." +echo +sleep 3 +echo "A l'ouest sont suspendus tuyaux, ustensiles et bocaux. Une cuisine?" +echo "A l'est il y a un genre de 'photomaton' " +sleep 2 +echo "Derrière vous, la vitre par où vous êtes entré est cassée." +echo +echo "Que voulez vous faire?" + +# And once again the room logic. + +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous asseyez sur le grand tapis devant le feu. Vous vous relaxez un instant." + ./magic8.sh + ;; + s ) ./bigroom.sh + exit ;; + e ) ./gameroom.sh + exit ;; + w ) ./grue.sh + exit ;; + u ) echo "Vous tapotez sur le barmoètre. " + ./meteofrance2.sh + exit + ;; + h ) echo "La pièce est spacieuse. La chaleur du feu agréable, à gauche on dirait une cuisine explosée, à droite une chaise moletonnée fait face à un écran." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/magic8.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/magic8.sh new file mode 100755 index 00000000..fa8b8fd7 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/magic8.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# magic 8 ball. Yup. Pick a random number, output message +# source: https://www.linuxjournal.com/content/bash-shell-games-lets-play-go-fish + +answers=("Oui c'est certain." "C'est carrément ça." + "Sans aucun doute." "Oui - assurément." + "Comptez la dessus." "Comme je le vois, oui." "Très probablement." + "Bonne perspective." "Oui." "Les signes indiquent que oui." + "Réponse floue, essayez à nouveau." "Redemandez plus tard." + "Il vaut mieux ne pas vous le dire maintenant.." "Impossible de prédire maintenant." + "Concentrez-vous et demandez à nouveau." "N'y comptez pas." + "Ma réponse est non." "Mes sources disent que non." + "Rien de bon." "Très douteux.") + +echo "Oh ! Boule magique, dis-moi la vérité, s'il te plaît...." ; echo "" +/bin/echo -n "Quelle est votre question ? " +read question + +answer=$(( $RANDOM % 20 )) + +echo "" +echo "J'ai regardé dans le futur et je dis: " +echo " ${answers[$answer]}" ; echo "" + +sleep 3 +./mainroom.sh + +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/mainroom.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/mainroom.sh new file mode 100755 index 00000000..c50809ef --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/mainroom.sh @@ -0,0 +1,69 @@ +#!/bin/bash +clear + +# This is a repeat of the opening room in the start.sh file - if the player +# wants to go back to the main room, this saves going through the whole +# start script over again. + +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Shakesphere wrote this, honest. +sleep 1 +echo "Vous êtes de retour à votre point de départ." +echo "La forêt qui vous entoure est immense." +echo "Vous ne pouvez pas vraiment en imaginer la taille," +echo +echo "Vous pouvez vous diriger au nord, à l'est, au sud et à l'ouest." +echo +echo "Vous apercevez quelque chose derrière un arbre.." +echo +sleep 2 +echo "Un levier est installé là." +echo +echo "À côté, se trouve un vitre renfermant un marteau." +echo +leverstate2=`cat ../logic/leverlogic2.ben` + if [ "$leverstate2" = "on" ]; then + echo "La vitre est ouverte, vous avez récupéré le marteau." + else + echo "La vitre est fermée, et vous empêche de récupérer le marteau." + fi +echo +echo "Que voulez-vous faire ?" + +# And the room logic once again. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./white.sh + exit ;; + s ) ./brown.sh + exit ;; + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) leverstate2=`cat ../logic/leverlogic2.ben` + if [ "$leverstate2" = "on" ]; then + echo "La vitre est ouverte, vous avez récupéré le marteau." + else + sed -i 's/off/on/' ../logic/leverlogic2.ben + echo "Vous tirez sur le levier, celui-ci bloque un peu.." + sleep 3 + echo "Après avoir forcé, le levier s'est abaissé." + echo "Un grincement strident se fait entendre, la vitre semble alors s'être ouverte." + fi + ;; + h ) echo "Le levier semble rouillé et installé là depuis longtemps. La vitre à côté est en bon état, et suffisamment propre pour apercevoir le marteau qu'elle renferme." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/meteofrance.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/meteofrance.sh new file mode 100755 index 00000000..c1f05984 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/meteofrance.sh @@ -0,0 +1,58 @@ +#!/bin/bash +################################################################################ +# Author: Fred (support@qo-op.com) +# Version: 0.1 +# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) +################################################################################ +MOATS=$(date -u +"%Y%m%d%H%M%S%4N") +mkdir -p ~/.zen/tmp/${MOATS} +################################################################################ +# Capture la photographie satellite de la France +# https://fr.sat24.com/image?type=visual5HDComplete®ion=fr + +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +## TEST IPFS +[[ ! $(which ipfs) ]] && echo "Missing IPFS. Please install... https://ipfs.tech" && exit 1 + +## PREPARE FILE SYSTEM CACHE +mkdir -p ~/.zen/adventure/meteo.anim.eu +rm -f ~/.zen/adventure/meteo.anim.eu/meteo.png + +## SCRAPING meteo.png +curl -m 20 --output ~/.zen/adventure/meteo.anim.eu/meteo.png https://s.w-x.co/staticmaps/wu/wu/satir1200_cur/europ/animate.png + +if [[ ! -f ~/.zen/adventure/meteo.anim.eu/meteo.png ]]; then + + echo "Impossible de se connecter au service meteo" + exit 1 + +else + + echo "Mise à jour archive meteo : ${MOATS}" + echo ${MOATS} > ~/.zen/adventure/meteo.anim.eu/.moats + + OLDID=$(cat ~/.zen/adventure/.meteo.index 2>/dev/null) + # TODO : COMPARE SIMILAR OR NOT + # ipfs get "/ipfs/$OLDID/meteo.anim.eu/meteo.png" + + ## PREPARE NEW index.html + sed "s/_OLDID_/$OLDID/g" ${MY_PATH}/../templates/meteo_chain.html > /tmp/index.html + sed -i "s/_IPFSID_/$IPFSID/g" /tmp/index.html + sed -i "s/_DATE_/$(date -u "+%Y-%m-%d#%H:%M:%S")/g" /tmp/index.html + sed "s/_PSEUDO_/${USER}/g" /tmp/index.html > ~/.zen/adventure/index.html + + # Copy style css + cp -r ${MY_PATH}/../templates/styles ~/.zen/adventure/ + + INDEXID=$(ipfs add -rHq ~/.zen/adventure/* | tail -n 1) + echo $INDEXID > ~/.zen/adventure/.meteo.index + echo "METEO INDEX : http://127.0.0.1:8080/ipfs/$INDEXID" + + IPFS=$(ipfs add -q ~/.zen/adventure/meteo.anim.eu/meteo.png | tail -n 1) + echo $IPFS > ~/.zen/adventure/meteo.anim.eu/.chain + +fi + diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/meteofrance2.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/meteofrance2.sh new file mode 100755 index 00000000..b6d09837 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/meteofrance2.sh @@ -0,0 +1,57 @@ +#!/bin/bash +################################################################################ +# Author: Fred (support@qo-op.com) +# Version: 0.1 +# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) +################################################################################ +MOATS=$(date -u +"%Y%m%d%H%M%S%4N") +mkdir -p ~/.zen/tmp/${MOATS} +################################################################################ +# Capture l'image cryptée +# https://as2.ftcdn.net/v2/jpg/00/57/93/35/1000_F_57933566_kr4mIE2qkjK12ZusVLdOkJmyBNPuW0o6.jpg + +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" + +## TEST IPFS +[[ ! $(which ipfs) ]] && echo "Missing IPFS. Please install... https://ipfs.tech" && exit 1 + +## PREPARE FILE SYSTEM CACHE +mkdir -p ~/.zen/adventure/meteo.anim.eu +rm -f ~/.zen/adventure/meteo.anim.eu/meteo.png + +## SCRAPING meteo.png +curl -m 20 --output ~/.zen/adventure/meteo.anim.eu/meteo.png https://as2.ftcdn.net/v2/jpg/00/57/93/35/1000_F_57933566_kr4mIE2qkjK12ZusVLdOkJmyBNPuW0o6.jpg + +if [[ ! -f ~/.zen/adventure/meteo.anim.eu/meteo.png ]]; then + + echo "Impossible d'accéder à la photo" + exit 1 + +else + + echo "Chiffrage de la photo : ${MOATS}" + echo ${MOATS} > ~/.zen/adventure/meteo.anim.eu/.moats + + OLDID=$(cat ~/.zen/adventure/.meteo.index 2>/dev/null) + # TODO : COMPARE SIMILAR OR NOT + # ipfs get "/ipfs/$OLDID/meteo.anim.eu/meteo.png" + + ## PREPARE NEW index.html + sed "s/_OLDID_/$OLDID/g" ${MY_PATH}/../templates/meteo_chain.html > /tmp/index.html + sed -i "s/_IPFSID_/$IPFSID/g" /tmp/index.html + sed -i "s/_DATE_/$(date -u "+%Y-%m-%d#%H:%M:%S")/g" /tmp/index.html + sed "s/_PSEUDO_/${USER}/g" /tmp/index.html > ~/.zen/adventure/index.html + + # Copy style css + cp -r ${MY_PATH}/../templates/styles ~/.zen/adventure/ + + INDEXID=$(ipfs add -rHq ~/.zen/adventure/* | tail -n 1) + echo $INDEXID > ~/.zen/adventure/.meteo.index + echo "METEO INDEX : http://127.0.0.1:8080/ipfs/$INDEXID" + + IPFS=$(ipfs add -q ~/.zen/adventure/meteo.anim.eu/meteo.png | tail -n 1) + echo $IPFS > ~/.zen/adventure/meteo.anim.eu/.chain + +fi diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/red.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/red.sh new file mode 100755 index 00000000..d7d84245 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/red.sh @@ -0,0 +1,41 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Set up the script for this room. It's a simple one! +sleep 1 +echo "Vous entrez dans l'ancienne bergerie." +echo "Un canapé mauve est installé au milieu de l'espace" +echo "Une bache transparente vous sépare du ciel." +echo +echo "Vous êtes dans une serre." +echo "Une seule sortie. A l'Ouest, d'où vous venez." +echo +echo "Que voulez-vous faire?" + +# And the choices go here. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Une fente dans le mur vous laisse observer une carcasse de voiture. Une vieille 2cv. Un grillage vous empêche de passer." ;; + s ) echo "L'emplacement d'un grand feu se trouve la. Il ne reste que de la cendre." ;; + e ) echo "Une autre pièce remplie de gravats et d'éboulis se trouve devant vous. Impossible d'y accéder." ;; + w ) ./mainroom.sh + exit ;; + u ) echo "Vous vous asseyez dans le canapé. Vous vous sentez immédiatement happé par un nuage." + sleep 2 + xdg-open "https://www.copylaradio.com/blog/blog-1/post/le-pas-a-pas-qui-libere-du-grand-mechant-cloud-36#scrollTop=0" + ;; + h ) echo "Aucun détail particulier si ce n'est une tache sur le sofa." ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/start.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/start.sh new file mode 100755 index 00000000..ae848bf1 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/start.sh @@ -0,0 +1,73 @@ +#!/bin/bash + +clear + +# Logic in the game is stored in .ben files. This sample has just one 'logic' file. +# You can add more logic files by simply adding a 'sed' command and appropriate .ben file. +# First off, let us reset the game logic. Use this as an example. + +sed -i 's/on/off/' ../logic/leverlogic.ben +sed -i 's/on/off/' ../logic/leverlogic2.ben + +# Who doen't love ASCII text, right? +# Next up, let's initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +# Next up, let's load in the initial introduction. Script is also stored in .ben files. +sleep 5 +file2="../script/opening.ben" +while IFS= read -r line +do + echo "$line" +done <"$file2" +read -p "Pressez sur [ENTER] pour démarrer..." + +#Okay, now that the introduction is out of the way, we can start the first room! +clear +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +sleep 1 + +# Here's where you introduce the room to the player. Be sure to tell them if there +# Are exits - but don't give too much away. Make it fun for them to explore! +echo +echo "La téléportation vous a placé debout au centre d'une clairière." +echo "Vous vous trouvez près d'une ancienne bergerie aux gros murs de pierres." +echo "Le toit et une bonne partie des murs sont effondrés." +echo +echo "Tout autour la forêt. Des feuillus. Quelques arbustres épineux." +echo "Sous vos pieds. Le sol est rouge parsemé de cailloux blancs." +echo +echo "Vous pouvez vous diriger selon les points cardinaux." +echo "Au nord un chemin remonte, au sud un passage descend, à l'est, la bergerie, à l'ouest, des traces d'animaux" +echo +echo "Que voulez-vous faire? Les commandes sont : n, e, s, w, u et h." + +# Now we wait for their response - and send them somewhere accordingly. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) ./white.sh + exit ;; # These lines will take the player to a new room - a new script file. + s ) ./brown.sh + exit ;; # Be sure to include 'exit' otherwise the game won't quit properly! + e ) ./red.sh + exit ;; + w ) ./green.sh + exit ;; + u ) echo "Vous ouvrez votre sac il contient une tente, des vêtements, un thermos, une scie pliante et un couteau" ;; # Something to say? You can also just echo. + h ) echo "Comment avez-vous pu arriver ici.? Des souvenirs vous reviennent... https://web.archive.org/web/20211129105224/https://oasis.astroport.com/a-quel-jeu-voulons-nous-jouer/" ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/rooms/white.sh b/adventure/games/jonathan.bordes@ynov.com/rooms/white.sh new file mode 100755 index 00000000..9bf45008 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/rooms/white.sh @@ -0,0 +1,72 @@ +#!/bin/bash +clear +# Initialise the Title Art +file1="../art/titleart.ben" +while IFS= read -r line +do + echo "$line" +done <"$file1" +echo + +#Setting up the room... +sleep 1 +echo "Vous parcourez un chemin qui monte en direction du nord.." +echo "Au sommet de cette petite colline vous découvrez un magestueux chêne" +echo "trônant au centre d'une clairière lumineuse. La forêt à cet endroit" +echo "forme un cercle tout autour..." +echo +echo "Un Astroport fait de vitres, de planches, de tôles et de chevrons" +echo "est posé là. Eclairé par les rayons du soleil." +echo +# Here we're going to check to see if the lever - the only logic we are using in this game - is on or off. +leverstate=`cat ../logic/leverlogic.ben` +leverstate2=`cat ../logic/leverlogic2.ben` + if [ "$leverstate" = "on" ]; then + echo "Une poignée est apparue sur la porte de la façade..." + else + if [ "$leverstate2" = "on" ]; then + echo "Vous voyez une vitre qui peut être cassée avec votre marteau." + else + echo "Vous en faites le tour..." + echo "Aucune entrée n'est visible." + fi + fi + +echo +echo "Pas d'autre chemin praticable que celui d'où vous venez." +echo +echo "Que voulez-vous faire ?" + +# Now lets capture this room's actions. Note that here, the actions change depending on whether or not +# the lever is on or off. If it's on, you go elsewhere. If it's off, you don't. +while true; do + read -p "> " nsewuh + case $nsewuh in + n ) echo "Vous vous aventurez dans la forêt plus au nord. Sans boussole, vous allez vous perdre rapidement... " ;; + s ) ./mainroom.sh + exit ;; + e ) echo "Une corniche surplombe un ruisseau qui coule dans le fond de la ravine. Impossible de passer sans équipement" ;; + w ) echo "Vous voilà face à un Jardin luxuriant. Une cloture électrique le délimite et en empêche l'accès." ;; + h ) echo "Vous voyez à l'interieur de la Station une video en cours de projection..." + sleep 2 + xdg-open "https://www.youtube.com/embed/Yk-WRXKysXM" + ;; + u ) leverstate=`cat ../logic/leverlogic.ben` + leverstate2=`cat ../logic/leverlogic2.ben` + if [ "$leverstate" = "on" ]; then + ./kroo.sh + exit + else + if [ "$leverstate2" = "on" ]; then + ./kroo3.sh + else + echo "Vous cherchez une ouverture... Pas la moindre. Impossible d'entrer sans commettre une effraction..." + fi + fi + ;; + * ) echo "Je suis désolé, je ne vous comprends pas. Les commandes sont : n, e, s, w, u et h..";; + esac +done + +esac +exit diff --git a/adventure/games/jonathan.bordes@ynov.com/script/opening.ben b/adventure/games/jonathan.bordes@ynov.com/script/opening.ben new file mode 100755 index 00000000..398233a3 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/script/opening.ben @@ -0,0 +1,23 @@ +Message de la Confédération Interplanétaire + +La planète où vous vous trouvez est en danger. Les menaces sont nombreuses. +Vos gouvernements se disputent les dernières ressources. Le cycle du vivant est perturbé ! +Le "contrat social" des 'pays civilisés' vascille. Les technocrates réclament plus de contrôle. + +La commission extraterrestre est formelle. Vous êtes en danger. + +Heureusement la monnaie libre a été découverte sur votre planète! +Elle s'utilise dans un jeu 'grandeur nature'. Astroport 20:12 +Bienvenue dans l'aventure du changement de civilisation. + +Les commandes pour vous déplacer et interagir sont +'n' aller au nord, +'s' aller au sud, +'e' aller à l'est, +'w' aller à l'ouest, +'u' utiliser, +'h' observer plus en détail. + +Ctrl-C pour quitter. + + - - - diff --git a/adventure/games/jonathan.bordes@ynov.com/templates/meteo_chain.html b/adventure/games/jonathan.bordes@ynov.com/templates/meteo_chain.html new file mode 100644 index 00000000..8e7653b5 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/templates/meteo_chain.html @@ -0,0 +1,50 @@ + + + + + + + ANIMATION METEO _DATE_ + + + + + + + + + + ENREGISTREMENT METEO - Astroport One + + + + + + +
+
+ Astroport "ONE" +
+
+ +
+ +
+ ANIMATION METEO + + +

+ Enregistrement du _DATE_ +

+
+ + +
+ + + diff --git a/adventure/games/jonathan.bordes@ynov.com/templates/styles/bootstrap.min.css b/adventure/games/jonathan.bordes@ynov.com/templates/styles/bootstrap.min.css new file mode 100644 index 00000000..1472dec0 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/templates/styles/bootstrap.min.css @@ -0,0 +1,7 @@ +@charset "UTF-8";/*! + * Bootstrap v5.1.3 (https://getbootstrap.com/) + * Copyright 2011-2021 The Bootstrap Authors + * Copyright 2011-2021 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-body-color-rgb:33,37,41;--bs-body-bg-rgb:255,255,255;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{width:100%;padding-right:var(--bs-gutter-x,.75rem);padding-left:var(--bs-gutter-x,.75rem);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-bg:transparent;--bs-table-accent-bg:transparent;--bs-table-striped-color:#212529;--bs-table-striped-bg:rgba(0, 0, 0, 0.05);--bs-table-active-color:#212529;--bs-table-active-bg:rgba(0, 0, 0, 0.1);--bs-table-hover-color:#212529;--bs-table-hover-bg:rgba(0, 0, 0, 0.075);width:100%;margin-bottom:1rem;color:#212529;vertical-align:top;border-color:#dee2e6}.table>:not(caption)>*>*{padding:.5rem .5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table>:not(:first-child){border-top:2px solid currentColor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-bg:#cfe2ff;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:#000;border-color:#bacbe6}.table-secondary{--bs-table-bg:#e2e3e5;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:#000;border-color:#cbccce}.table-success{--bs-table-bg:#d1e7dd;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:#000;border-color:#bcd0c7}.table-info{--bs-table-bg:#cff4fc;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:#000;border-color:#badce3}.table-warning{--bs-table-bg:#fff3cd;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:#000;border-color:#e6dbb9}.table-danger{--bs-table-bg:#f8d7da;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:#000;border-color:#dfc2c4}.table-light{--bs-table-bg:#f8f9fa;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:#000;border-color:#dfe0e1}.table-dark{--bs-table-bg:#212529;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:#fff;border-color:#373b3e}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:auto;padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{height:1.5em;border-radius:.25rem}.form-control-color::-webkit-color-swatch{height:1.5em;border-radius:.25rem}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(0.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.2rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.3rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;height:100%;padding:1rem .75rem;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus{z-index:3}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:3}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(25,135,84,.9);border-radius:.25rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#198754;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:#198754}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:#198754}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:#198754}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group .form-control.is-valid,.input-group .form-select.is-valid,.was-validated .input-group .form-control:valid,.was-validated .input-group .form-select:valid{z-index:1}.input-group .form-control.is-valid:focus,.input-group .form-select.is-valid:focus,.was-validated .input-group .form-control:valid:focus,.was-validated .input-group .form-select:valid:focus{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:#dc3545}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:#dc3545}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:#dc3545}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group .form-control.is-invalid,.input-group .form-select.is-invalid,.was-validated .input-group .form-control:invalid,.was-validated .input-group .form-select:invalid{z-index:2}.input-group .form-control.is-invalid:focus,.input-group .form-select.is-invalid:focus,.was-validated .input-group .form-control:invalid:focus,.was-validated .input-group .form-select:invalid:focus{z-index:3}.btn{display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529}.btn-check:focus+.btn,.btn:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{pointer-events:none;opacity:.65}.btn-primary{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-primary:hover{color:#fff;background-color:#0b5ed7;border-color:#0a58ca}.btn-check:focus+.btn-primary,.btn-primary:focus{color:#fff;background-color:#0b5ed7;border-color:#0a58ca;box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-check:active+.btn-primary,.btn-check:checked+.btn-primary,.btn-primary.active,.btn-primary:active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0a58ca;border-color:#0a53be}.btn-check:active+.btn-primary:focus,.btn-check:checked+.btn-primary:focus,.btn-primary.active:focus,.btn-primary:active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5c636a;border-color:#565e64}.btn-check:focus+.btn-secondary,.btn-secondary:focus{color:#fff;background-color:#5c636a;border-color:#565e64;box-shadow:0 0 0 .25rem rgba(130,138,145,.5)}.btn-check:active+.btn-secondary,.btn-check:checked+.btn-secondary,.btn-secondary.active,.btn-secondary:active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#565e64;border-color:#51585e}.btn-check:active+.btn-secondary:focus,.btn-check:checked+.btn-secondary:focus,.btn-secondary.active:focus,.btn-secondary:active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-success{color:#fff;background-color:#198754;border-color:#198754}.btn-success:hover{color:#fff;background-color:#157347;border-color:#146c43}.btn-check:focus+.btn-success,.btn-success:focus{color:#fff;background-color:#157347;border-color:#146c43;box-shadow:0 0 0 .25rem rgba(60,153,110,.5)}.btn-check:active+.btn-success,.btn-check:checked+.btn-success,.btn-success.active,.btn-success:active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#146c43;border-color:#13653f}.btn-check:active+.btn-success:focus,.btn-check:checked+.btn-success:focus,.btn-success.active:focus,.btn-success:active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(60,153,110,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#198754;border-color:#198754}.btn-info{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-info:hover{color:#000;background-color:#31d2f2;border-color:#25cff2}.btn-check:focus+.btn-info,.btn-info:focus{color:#000;background-color:#31d2f2;border-color:#25cff2;box-shadow:0 0 0 .25rem rgba(11,172,204,.5)}.btn-check:active+.btn-info,.btn-check:checked+.btn-info,.btn-info.active,.btn-info:active,.show>.btn-info.dropdown-toggle{color:#000;background-color:#3dd5f3;border-color:#25cff2}.btn-check:active+.btn-info:focus,.btn-check:checked+.btn-info:focus,.btn-info.active:focus,.btn-info:active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(11,172,204,.5)}.btn-info.disabled,.btn-info:disabled{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-warning{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#000;background-color:#ffca2c;border-color:#ffc720}.btn-check:focus+.btn-warning,.btn-warning:focus{color:#000;background-color:#ffca2c;border-color:#ffc720;box-shadow:0 0 0 .25rem rgba(217,164,6,.5)}.btn-check:active+.btn-warning,.btn-check:checked+.btn-warning,.btn-warning.active,.btn-warning:active,.show>.btn-warning.dropdown-toggle{color:#000;background-color:#ffcd39;border-color:#ffc720}.btn-check:active+.btn-warning:focus,.btn-check:checked+.btn-warning:focus,.btn-warning.active:focus,.btn-warning:active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(217,164,6,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#bb2d3b;border-color:#b02a37}.btn-check:focus+.btn-danger,.btn-danger:focus{color:#fff;background-color:#bb2d3b;border-color:#b02a37;box-shadow:0 0 0 .25rem rgba(225,83,97,.5)}.btn-check:active+.btn-danger,.btn-check:checked+.btn-danger,.btn-danger.active,.btn-danger:active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#b02a37;border-color:#a52834}.btn-check:active+.btn-danger:focus,.btn-check:checked+.btn-danger:focus,.btn-danger.active:focus,.btn-danger:active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-light{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:focus+.btn-light,.btn-light:focus{color:#000;background-color:#f9fafb;border-color:#f9fafb;box-shadow:0 0 0 .25rem rgba(211,212,213,.5)}.btn-check:active+.btn-light,.btn-check:checked+.btn-light,.btn-light.active,.btn-light:active,.show>.btn-light.dropdown-toggle{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:active+.btn-light:focus,.btn-check:checked+.btn-light:focus,.btn-light.active:focus,.btn-light:active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(211,212,213,.5)}.btn-light.disabled,.btn-light:disabled{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-dark{color:#fff;background-color:#212529;border-color:#212529}.btn-dark:hover{color:#fff;background-color:#1c1f23;border-color:#1a1e21}.btn-check:focus+.btn-dark,.btn-dark:focus{color:#fff;background-color:#1c1f23;border-color:#1a1e21;box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-check:active+.btn-dark,.btn-check:checked+.btn-dark,.btn-dark.active,.btn-dark:active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1a1e21;border-color:#191c1f}.btn-check:active+.btn-dark:focus,.btn-check:checked+.btn-dark:focus,.btn-dark.active:focus,.btn-dark:active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#212529;border-color:#212529}.btn-outline-primary{color:#0d6efd;border-color:#0d6efd}.btn-outline-primary:hover{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:focus+.btn-outline-primary,.btn-outline-primary:focus{box-shadow:0 0 0 .25rem rgba(13,110,253,.5)}.btn-check:active+.btn-outline-primary,.btn-check:checked+.btn-outline-primary,.btn-outline-primary.active,.btn-outline-primary.dropdown-toggle.show,.btn-outline-primary:active{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:active+.btn-outline-primary:focus,.btn-check:checked+.btn-outline-primary:focus,.btn-outline-primary.active:focus,.btn-outline-primary.dropdown-toggle.show:focus,.btn-outline-primary:active:focus{box-shadow:0 0 0 .25rem rgba(13,110,253,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#0d6efd;background-color:transparent}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:focus+.btn-outline-secondary,.btn-outline-secondary:focus{box-shadow:0 0 0 .25rem rgba(108,117,125,.5)}.btn-check:active+.btn-outline-secondary,.btn-check:checked+.btn-outline-secondary,.btn-outline-secondary.active,.btn-outline-secondary.dropdown-toggle.show,.btn-outline-secondary:active{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:active+.btn-outline-secondary:focus,.btn-check:checked+.btn-outline-secondary:focus,.btn-outline-secondary.active:focus,.btn-outline-secondary.dropdown-toggle.show:focus,.btn-outline-secondary:active:focus{box-shadow:0 0 0 .25rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-success{color:#198754;border-color:#198754}.btn-outline-success:hover{color:#fff;background-color:#198754;border-color:#198754}.btn-check:focus+.btn-outline-success,.btn-outline-success:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.5)}.btn-check:active+.btn-outline-success,.btn-check:checked+.btn-outline-success,.btn-outline-success.active,.btn-outline-success.dropdown-toggle.show,.btn-outline-success:active{color:#fff;background-color:#198754;border-color:#198754}.btn-check:active+.btn-outline-success:focus,.btn-check:checked+.btn-outline-success:focus,.btn-outline-success.active:focus,.btn-outline-success.dropdown-toggle.show:focus,.btn-outline-success:active:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#198754;background-color:transparent}.btn-outline-info{color:#0dcaf0;border-color:#0dcaf0}.btn-outline-info:hover{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:focus+.btn-outline-info,.btn-outline-info:focus{box-shadow:0 0 0 .25rem rgba(13,202,240,.5)}.btn-check:active+.btn-outline-info,.btn-check:checked+.btn-outline-info,.btn-outline-info.active,.btn-outline-info.dropdown-toggle.show,.btn-outline-info:active{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:active+.btn-outline-info:focus,.btn-check:checked+.btn-outline-info:focus,.btn-outline-info.active:focus,.btn-outline-info.dropdown-toggle.show:focus,.btn-outline-info:active:focus{box-shadow:0 0 0 .25rem rgba(13,202,240,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#0dcaf0;background-color:transparent}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:focus+.btn-outline-warning,.btn-outline-warning:focus{box-shadow:0 0 0 .25rem rgba(255,193,7,.5)}.btn-check:active+.btn-outline-warning,.btn-check:checked+.btn-outline-warning,.btn-outline-warning.active,.btn-outline-warning.dropdown-toggle.show,.btn-outline-warning:active{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:active+.btn-outline-warning:focus,.btn-check:checked+.btn-outline-warning:focus,.btn-outline-warning.active:focus,.btn-outline-warning.dropdown-toggle.show:focus,.btn-outline-warning:active:focus{box-shadow:0 0 0 .25rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:focus+.btn-outline-danger,.btn-outline-danger:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.5)}.btn-check:active+.btn-outline-danger,.btn-check:checked+.btn-outline-danger,.btn-outline-danger.active,.btn-outline-danger.dropdown-toggle.show,.btn-outline-danger:active{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:active+.btn-outline-danger:focus,.btn-check:checked+.btn-outline-danger:focus,.btn-outline-danger.active:focus,.btn-outline-danger.dropdown-toggle.show:focus,.btn-outline-danger:active:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:focus+.btn-outline-light,.btn-outline-light:focus{box-shadow:0 0 0 .25rem rgba(248,249,250,.5)}.btn-check:active+.btn-outline-light,.btn-check:checked+.btn-outline-light,.btn-outline-light.active,.btn-outline-light.dropdown-toggle.show,.btn-outline-light:active{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:active+.btn-outline-light:focus,.btn-check:checked+.btn-outline-light:focus,.btn-outline-light.active:focus,.btn-outline-light.dropdown-toggle.show:focus,.btn-outline-light:active:focus{box-shadow:0 0 0 .25rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-dark{color:#212529;border-color:#212529}.btn-outline-dark:hover{color:#fff;background-color:#212529;border-color:#212529}.btn-check:focus+.btn-outline-dark,.btn-outline-dark:focus{box-shadow:0 0 0 .25rem rgba(33,37,41,.5)}.btn-check:active+.btn-outline-dark,.btn-check:checked+.btn-outline-dark,.btn-outline-dark.active,.btn-outline-dark.dropdown-toggle.show,.btn-outline-dark:active{color:#fff;background-color:#212529;border-color:#212529}.btn-check:active+.btn-outline-dark:focus,.btn-check:checked+.btn-outline-dark:focus,.btn-outline-dark.active:focus,.btn-outline-dark.dropdown-toggle.show:focus,.btn-outline-dark:active:focus{box-shadow:0 0 0 .25rem rgba(33,37,41,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#212529;background-color:transparent}.btn-link{font-weight:400;color:#0d6efd;text-decoration:underline}.btn-link:hover{color:#0a58ca}.btn-link.disabled,.btn-link:disabled{color:#6c757d}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropend,.dropstart,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;z-index:1000;display:none;min-width:10rem;padding:.5rem 0;margin:0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:.125rem}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid rgba(0,0,0,.15)}.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1e2125;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#0d6efd}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1rem;color:#212529}.dropdown-menu-dark{color:#dee2e6;background-color:#343a40;border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item{color:#dee2e6}.dropdown-menu-dark .dropdown-item:focus,.dropdown-menu-dark .dropdown-item:hover{color:#fff;background-color:rgba(255,255,255,.15)}.dropdown-menu-dark .dropdown-item.active,.dropdown-menu-dark .dropdown-item:active{color:#fff;background-color:#0d6efd}.dropdown-menu-dark .dropdown-item.disabled,.dropdown-menu-dark .dropdown-item:disabled{color:#adb5bd}.dropdown-menu-dark .dropdown-divider{border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item-text{color:#dee2e6}.dropdown-menu-dark .dropdown-header{color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem;color:#0d6efd;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:#0a58ca}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{margin-bottom:-1px;background:0 0;border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6;isolation:isolate}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{background:0 0;border:0;border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#0d6efd}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;text-decoration:none;white-space:nowrap}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem;transition:box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 .25rem}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas-header{display:none}.navbar-expand-sm .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-sm .offcanvas-bottom,.navbar-expand-sm .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas-header{display:none}.navbar-expand-md .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-md .offcanvas-bottom,.navbar-expand-md .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas-header{display:none}.navbar-expand-lg .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-lg .offcanvas-bottom,.navbar-expand-lg .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas-header{display:none}.navbar-expand-xl .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-xl .offcanvas-bottom,.navbar-expand-xl .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-xxl .offcanvas-bottom,.navbar-expand-xxl .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas-header{display:none}.navbar-expand .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand .offcanvas-bottom,.navbar-expand .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.55)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.55);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,.55)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.55)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.55);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:rgba(255,255,255,.55)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:1rem 1rem}.card-title{margin-bottom:.5rem}.card-subtitle{margin-top:-.25rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:1rem}.card-header{padding:.5rem 1rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.5rem 1rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.5rem;margin-bottom:-.5rem;margin-left:-.5rem;border-bottom:0}.card-header-pills{margin-right:-.5rem;margin-left:-.5rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-group>.card{margin-bottom:.75rem}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:1rem 1.25rem;font-size:1rem;color:#212529;text-align:left;background-color:#fff;border:0;border-radius:0;overflow-anchor:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:#0c63e4;background-color:#e7f1ff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.125)}.accordion-button:not(.collapsed)::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");transform:rotate(-180deg)}.accordion-button::after{flex-shrink:0;width:1.25rem;height:1.25rem;margin-left:auto;content:"";background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-size:1.25rem;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.accordion-header{margin-bottom:0}.accordion-item{background-color:#fff;border:1px solid rgba(0,0,0,.125)}.accordion-item:first-of-type{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.accordion-item:first-of-type .accordion-button{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.accordion-body{padding:1rem 1.25rem}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button{border-radius:0}.breadcrumb{display:flex;flex-wrap:wrap;padding:0 0;margin-bottom:1rem;list-style:none}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:.5rem;color:#6c757d;content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:#6c757d}.pagination{display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;color:#0d6efd;text-decoration:none;background-color:#fff;border:1px solid #dee2e6;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:#0a58ca;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;color:#0a58ca;background-color:#e9ecef;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item.active .page-link{z-index:3;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;background-color:#fff;border-color:#dee2e6}.page-link{padding:.375rem .75rem}.page-item:first-child .page-link{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.35em .65em;font-size:.75em;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{position:relative;padding:1rem 1rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{color:#084298;background-color:#cfe2ff;border-color:#b6d4fe}.alert-primary .alert-link{color:#06357a}.alert-secondary{color:#41464b;background-color:#e2e3e5;border-color:#d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{color:#0f5132;background-color:#d1e7dd;border-color:#badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{color:#055160;background-color:#cff4fc;border-color:#b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{color:#664d03;background-color:#fff3cd;border-color:#ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{color:#842029;background-color:#f8d7da;border-color:#f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{color:#636464;background-color:#fefefe;border-color:#fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{color:#141619;background-color:#d3d3d4;border-color:#bcbebf}.alert-dark .alert-link{color:#101214}@-webkit-keyframes progress-bar-stripes{0%{background-position-x:1rem}}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:#fff;text-align:center;white-space:nowrap;background-color:#0d6efd;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:1s linear infinite progress-bar-stripes;animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>li::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.5rem 1rem;color:#212529;text-decoration:none;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#084298;background-color:#cfe2ff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#084298;background-color:#bacbe6}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.25rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25);opacity:1}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{width:350px;max-width:100%;font-size:.875rem;pointer-events:auto;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .5rem 1rem rgba(0,0,0,.15);border-radius:.25rem}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:.75rem}.toast-header{display:flex;align-items:center;padding:.5rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.toast-header .btn-close{margin-right:-.375rem;margin-left:.75rem}.toast-body{padding:.75rem;word-wrap:break-word}.modal{position:fixed;top:0;left:0;z-index:1055;display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 1rem)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1050;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .btn-close{padding:.5rem .5rem;margin:-.5rem -.5rem -.5rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}.modal-footer{display:flex;flex-wrap:wrap;flex-shrink:0;align-items:center;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{height:calc(100% - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}.modal-fullscreen .modal-footer{border-radius:0}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}.modal-fullscreen-sm-down .modal-footer{border-radius:0}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}.modal-fullscreen-md-down .modal-footer{border-radius:0}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}.modal-fullscreen-lg-down .modal-footer{border-radius:0}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}.modal-fullscreen-xl-down .modal-footer{border-radius:0}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}.modal-fullscreen-xxl-down .modal-footer{border-radius:0}}.tooltip{position:absolute;z-index:1080;display:block;margin:0;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .tooltip-arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[data-popper-placement^=right],.bs-tooltip-end{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[data-popper-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[data-popper-placement^=left],.bs-tooltip-start{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1070;display:block;max-width:276px;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .popover-arrow{position:absolute;display:block;width:1rem;height:.5rem}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f0f0f0}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem 1rem;margin-bottom:0;font-size:1rem;background-color:#f0f0f0;border-bottom:1px solid rgba(0,0,0,.2);border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:1rem 1rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}@-webkit-keyframes spinner-border{to{transform:rotate(360deg)}}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:.75s linear infinite spinner-border;animation:.75s linear infinite spinner-border}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:.75s linear infinite spinner-grow;animation:.75s linear infinite spinner-grow}.spinner-grow-sm{width:1rem;height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.offcanvas{position:fixed;bottom:0;z-index:1045;display:flex;flex-direction:column;max-width:100%;visibility:hidden;background-color:#fff;background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1rem}.offcanvas-header .btn-close{padding:.5rem .5rem;margin-top:-.5rem;margin-right:-.5rem;margin-bottom:-.5rem}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:1rem 1rem;overflow-y:auto}.offcanvas-start{top:0;left:0;width:400px;border-right:1px solid rgba(0,0,0,.2);transform:translateX(-100%)}.offcanvas-end{top:0;right:0;width:400px;border-left:1px solid rgba(0,0,0,.2);transform:translateX(100%)}.offcanvas-top{top:0;right:0;left:0;height:30vh;max-height:100%;border-bottom:1px solid rgba(0,0,0,.2);transform:translateY(-100%)}.offcanvas-bottom{right:0;left:0;height:30vh;max-height:100%;border-top:1px solid rgba(0,0,0,.2);transform:translateY(100%)}.offcanvas.show{transform:none}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentColor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{-webkit-animation:placeholder-glow 2s ease-in-out infinite;animation:placeholder-glow 2s ease-in-out infinite}@-webkit-keyframes placeholder-glow{50%{opacity:.2}}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;-webkit-animation:placeholder-wave 2s linear infinite;animation:placeholder-wave 2s linear infinite}@-webkit-keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:""}.link-primary{color:#0d6efd}.link-primary:focus,.link-primary:hover{color:#0a58ca}.link-secondary{color:#6c757d}.link-secondary:focus,.link-secondary:hover{color:#565e64}.link-success{color:#198754}.link-success:focus,.link-success:hover{color:#146c43}.link-info{color:#0dcaf0}.link-info:focus,.link-info:hover{color:#3dd5f3}.link-warning{color:#ffc107}.link-warning:focus,.link-warning:hover{color:#ffcd39}.link-danger{color:#dc3545}.link-danger:focus,.link-danger:hover{color:#b02a37}.link-light{color:#f8f9fa}.link-light:focus,.link-light:hover{color:#f9fafb}.link-dark{color:#212529}.link-dark:focus,.link-dark:hover{color:#1a1e21}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentColor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:1px solid #dee2e6!important}.border-0{border:0!important}.border-top{border-top:1px solid #dee2e6!important}.border-top-0{border-top:0!important}.border-end{border-right:1px solid #dee2e6!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:1px solid #dee2e6!important}.border-start-0{border-left:0!important}.border-primary{border-color:#0d6efd!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#198754!important}.border-info{border-color:#0dcaf0!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#212529!important}.border-white{border-color:#fff!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:#6c757d!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:.25rem!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:.2rem!important}.rounded-2{border-radius:.25rem!important}.rounded-3{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-end{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-start{border-bottom-left-radius:.25rem!important;border-top-left-radius:.25rem!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/adventure/games/jonathan.bordes@ynov.com/templates/styles/bootstrap.min.css.map b/adventure/games/jonathan.bordes@ynov.com/templates/styles/bootstrap.min.css.map new file mode 100644 index 00000000..c84afa43 --- /dev/null +++ b/adventure/games/jonathan.bordes@ynov.com/templates/styles/bootstrap.min.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_root.scss","../../scss/_reboot.scss","dist/css/bootstrap.css","../../scss/vendor/_rfs.scss","../../scss/mixins/_border-radius.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/_containers.scss","../../scss/mixins/_container.scss","../../scss/mixins/_breakpoints.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/_tables.scss","../../scss/mixins/_table-variants.scss","../../scss/forms/_labels.scss","../../scss/forms/_form-text.scss","../../scss/forms/_form-control.scss","../../scss/mixins/_transition.scss","../../scss/mixins/_gradients.scss","../../scss/forms/_form-select.scss","../../scss/forms/_form-check.scss","../../scss/forms/_form-range.scss","../../scss/forms/_floating-labels.scss","../../scss/forms/_input-group.scss","../../scss/mixins/_forms.scss","../../scss/_buttons.scss","../../scss/mixins/_buttons.scss","../../scss/_transitions.scss","../../scss/_dropdown.scss","../../scss/mixins/_caret.scss","../../scss/_button-group.scss","../../scss/_nav.scss","../../scss/_navbar.scss","../../scss/_card.scss","../../scss/_accordion.scss","../../scss/_breadcrumb.scss","../../scss/_pagination.scss","../../scss/mixins/_pagination.scss","../../scss/_badge.scss","../../scss/_alert.scss","../../scss/mixins/_alert.scss","../../scss/_progress.scss","../../scss/_list-group.scss","../../scss/mixins/_list-group.scss","../../scss/_close.scss","../../scss/_toasts.scss","../../scss/_modal.scss","../../scss/mixins/_backdrop.scss","../../scss/_tooltip.scss","../../scss/mixins/_reset-text.scss","../../scss/_popover.scss","../../scss/_carousel.scss","../../scss/mixins/_clearfix.scss","../../scss/_spinners.scss","../../scss/_offcanvas.scss","../../scss/_placeholders.scss","../../scss/helpers/_colored-links.scss","../../scss/helpers/_ratio.scss","../../scss/helpers/_position.scss","../../scss/helpers/_stacks.scss","../../scss/helpers/_visually-hidden.scss","../../scss/mixins/_visually-hidden.scss","../../scss/helpers/_stretched-link.scss","../../scss/helpers/_text-truncation.scss","../../scss/mixins/_text-truncate.scss","../../scss/helpers/_vr.scss","../../scss/mixins/_utilities.scss","../../scss/utilities/_api.scss"],"names":[],"mappings":"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","sourcesContent":["/*!\n * Bootstrap v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */\n\n// scss-docs-start import-stack\n// Configuration\n@import \"functions\";\n@import \"variables\";\n@import \"mixins\";\n@import \"utilities\";\n\n// Layout & components\n@import \"root\";\n@import \"reboot\";\n@import \"type\";\n@import \"images\";\n@import \"containers\";\n@import \"grid\";\n@import \"tables\";\n@import \"forms\";\n@import \"buttons\";\n@import \"transitions\";\n@import \"dropdown\";\n@import \"button-group\";\n@import \"nav\";\n@import \"navbar\";\n@import \"card\";\n@import \"accordion\";\n@import \"breadcrumb\";\n@import \"pagination\";\n@import \"badge\";\n@import \"alert\";\n@import \"progress\";\n@import \"list-group\";\n@import \"close\";\n@import \"toasts\";\n@import \"modal\";\n@import \"tooltip\";\n@import \"popover\";\n@import \"carousel\";\n@import \"spinners\";\n@import \"offcanvas\";\n@import \"placeholders\";\n\n// Helpers\n@import \"helpers\";\n\n// Utilities\n@import \"utilities/api\";\n// scss-docs-end import-stack\n",":root {\n // Note: Custom variable values only support SassScript inside `#{}`.\n\n // Colors\n //\n // Generate palettes for full colors, grays, and theme colors.\n\n @each $color, $value in $colors {\n --#{$variable-prefix}#{$color}: #{$value};\n }\n\n @each $color, $value in $grays {\n --#{$variable-prefix}gray-#{$color}: #{$value};\n }\n\n @each $color, $value in $theme-colors {\n --#{$variable-prefix}#{$color}: #{$value};\n }\n\n @each $color, $value in $theme-colors-rgb {\n --#{$variable-prefix}#{$color}-rgb: #{$value};\n }\n\n --#{$variable-prefix}white-rgb: #{to-rgb($white)};\n --#{$variable-prefix}black-rgb: #{to-rgb($black)};\n --#{$variable-prefix}body-color-rgb: #{to-rgb($body-color)};\n --#{$variable-prefix}body-bg-rgb: #{to-rgb($body-bg)};\n\n // Fonts\n\n // Note: Use `inspect` for lists so that quoted items keep the quotes.\n // See https://github.com/sass/sass/issues/2383#issuecomment-336349172\n --#{$variable-prefix}font-sans-serif: #{inspect($font-family-sans-serif)};\n --#{$variable-prefix}font-monospace: #{inspect($font-family-monospace)};\n --#{$variable-prefix}gradient: #{$gradient};\n\n // Root and body\n // stylelint-disable custom-property-empty-line-before\n // scss-docs-start root-body-variables\n @if $font-size-root != null {\n --#{$variable-prefix}root-font-size: #{$font-size-root};\n }\n --#{$variable-prefix}body-font-family: #{$font-family-base};\n --#{$variable-prefix}body-font-size: #{$font-size-base};\n --#{$variable-prefix}body-font-weight: #{$font-weight-base};\n --#{$variable-prefix}body-line-height: #{$line-height-base};\n --#{$variable-prefix}body-color: #{$body-color};\n @if $body-text-align != null {\n --#{$variable-prefix}body-text-align: #{$body-text-align};\n }\n --#{$variable-prefix}body-bg: #{$body-bg};\n // scss-docs-end root-body-variables\n // stylelint-enable custom-property-empty-line-before\n}\n","// stylelint-disable declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix\n\n\n// Reboot\n//\n// Normalization of HTML elements, manually forked from Normalize.css to remove\n// styles targeting irrelevant browsers while applying new styles.\n//\n// Normalize is licensed MIT. https://github.com/necolas/normalize.css\n\n\n// Document\n//\n// Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n\n// Root\n//\n// Ability to the value of the root font sizes, affecting the value of `rem`.\n// null by default, thus nothing is generated.\n\n:root {\n @if $font-size-root != null {\n font-size: var(--#{$variable-prefix}root-font-size);\n }\n\n @if $enable-smooth-scroll {\n @media (prefers-reduced-motion: no-preference) {\n scroll-behavior: smooth;\n }\n }\n}\n\n\n// Body\n//\n// 1. Remove the margin in all browsers.\n// 2. As a best practice, apply a default `background-color`.\n// 3. Prevent adjustments of font size after orientation changes in iOS.\n// 4. Change the default tap highlight to be completely transparent in iOS.\n\n// scss-docs-start reboot-body-rules\nbody {\n margin: 0; // 1\n font-family: var(--#{$variable-prefix}body-font-family);\n @include font-size(var(--#{$variable-prefix}body-font-size));\n font-weight: var(--#{$variable-prefix}body-font-weight);\n line-height: var(--#{$variable-prefix}body-line-height);\n color: var(--#{$variable-prefix}body-color);\n text-align: var(--#{$variable-prefix}body-text-align);\n background-color: var(--#{$variable-prefix}body-bg); // 2\n -webkit-text-size-adjust: 100%; // 3\n -webkit-tap-highlight-color: rgba($black, 0); // 4\n}\n// scss-docs-end reboot-body-rules\n\n\n// Content grouping\n//\n// 1. Reset Firefox's gray color\n// 2. Set correct height and prevent the `size` attribute to make the `hr` look like an input field\n\nhr {\n margin: $hr-margin-y 0;\n color: $hr-color; // 1\n background-color: currentColor;\n border: 0;\n opacity: $hr-opacity;\n}\n\nhr:not([size]) {\n height: $hr-height; // 2\n}\n\n\n// Typography\n//\n// 1. Remove top margins from headings\n// By default, `

`-`

` all receive top and bottom margins. We nuke the top\n// margin for easier control within type scales as it avoids margin collapsing.\n\n%heading {\n margin-top: 0; // 1\n margin-bottom: $headings-margin-bottom;\n font-family: $headings-font-family;\n font-style: $headings-font-style;\n font-weight: $headings-font-weight;\n line-height: $headings-line-height;\n color: $headings-color;\n}\n\nh1 {\n @extend %heading;\n @include font-size($h1-font-size);\n}\n\nh2 {\n @extend %heading;\n @include font-size($h2-font-size);\n}\n\nh3 {\n @extend %heading;\n @include font-size($h3-font-size);\n}\n\nh4 {\n @extend %heading;\n @include font-size($h4-font-size);\n}\n\nh5 {\n @extend %heading;\n @include font-size($h5-font-size);\n}\n\nh6 {\n @extend %heading;\n @include font-size($h6-font-size);\n}\n\n\n// Reset margins on paragraphs\n//\n// Similarly, the top margin on `

`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\n\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n\n// Abbreviations\n//\n// 1. Duplicate behavior to the data-bs-* attribute for our tooltip plugin\n// 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.\n// 3. Add explicit cursor to indicate changed behavior.\n// 4. Prevent the text-decoration to be skipped.\n\nabbr[title],\nabbr[data-bs-original-title] { // 1\n text-decoration: underline dotted; // 2\n cursor: help; // 3\n text-decoration-skip-ink: none; // 4\n}\n\n\n// Address\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\n\n// Lists\n\nol,\nul {\n padding-left: 2rem;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\n// 1. Undo browser default\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // 1\n}\n\n\n// Blockquote\n\nblockquote {\n margin: 0 0 1rem;\n}\n\n\n// Strong\n//\n// Add the correct font weight in Chrome, Edge, and Safari\n\nb,\nstrong {\n font-weight: $font-weight-bolder;\n}\n\n\n// Small\n//\n// Add the correct font size in all browsers\n\nsmall {\n @include font-size($small-font-size);\n}\n\n\n// Mark\n\nmark {\n padding: $mark-padding;\n background-color: $mark-bg;\n}\n\n\n// Sub and Sup\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n\nsub,\nsup {\n position: relative;\n @include font-size($sub-sup-font-size);\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n// Links\n\na {\n color: $link-color;\n text-decoration: $link-decoration;\n\n &:hover {\n color: $link-hover-color;\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([class]) {\n &,\n &:hover {\n color: inherit;\n text-decoration: none;\n }\n}\n\n\n// Code\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-code;\n @include font-size(1em); // Correct the odd `em` font sizing in all browsers.\n direction: ltr #{\"/* rtl:ignore */\"};\n unicode-bidi: bidi-override;\n}\n\n// 1. Remove browser default top margin\n// 2. Reset browser default of `1em` to use `rem`s\n// 3. Don't allow content to break outside\n\npre {\n display: block;\n margin-top: 0; // 1\n margin-bottom: 1rem; // 2\n overflow: auto; // 3\n @include font-size($code-font-size);\n color: $pre-color;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n @include font-size(inherit);\n color: inherit;\n word-break: normal;\n }\n}\n\ncode {\n @include font-size($code-font-size);\n color: $code-color;\n word-wrap: break-word;\n\n // Streamline the style when inside anchors to avoid broken underline and more\n a > & {\n color: inherit;\n }\n}\n\nkbd {\n padding: $kbd-padding-y $kbd-padding-x;\n @include font-size($kbd-font-size);\n color: $kbd-color;\n background-color: $kbd-bg;\n @include border-radius($border-radius-sm);\n\n kbd {\n padding: 0;\n @include font-size(1em);\n font-weight: $nested-kbd-font-weight;\n }\n}\n\n\n// Figures\n//\n// Apply a consistent margin strategy (matches our type styles).\n\nfigure {\n margin: 0 0 1rem;\n}\n\n\n// Images and content\n\nimg,\nsvg {\n vertical-align: middle;\n}\n\n\n// Tables\n//\n// Prevent double borders\n\ntable {\n caption-side: bottom;\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: $table-cell-padding-y;\n padding-bottom: $table-cell-padding-y;\n color: $table-caption-color;\n text-align: left;\n}\n\n// 1. Removes font-weight bold by inheriting\n// 2. Matches default `` alignment by inheriting `text-align`.\n// 3. Fix alignment for Safari\n\nth {\n font-weight: $table-th-font-weight; // 1\n text-align: inherit; // 2\n text-align: -webkit-match-parent; // 3\n}\n\nthead,\ntbody,\ntfoot,\ntr,\ntd,\nth {\n border-color: inherit;\n border-style: solid;\n border-width: 0;\n}\n\n\n// Forms\n//\n// 1. Allow labels to use `margin` for spacing.\n\nlabel {\n display: inline-block; // 1\n}\n\n// Remove the default `border-radius` that macOS Chrome adds.\n// See https://github.com/twbs/bootstrap/issues/24093\n\nbutton {\n // stylelint-disable-next-line property-disallowed-list\n border-radius: 0;\n}\n\n// Explicitly remove focus outline in Chromium when it shouldn't be\n// visible (e.g. as result of mouse click or touch tap). It already\n// should be doing this automatically, but seems to currently be\n// confused and applies its very visible two-tone outline anyway.\n\nbutton:focus:not(:focus-visible) {\n outline: 0;\n}\n\n// 1. Remove the margin in Firefox and Safari\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0; // 1\n font-family: inherit;\n @include font-size(inherit);\n line-height: inherit;\n}\n\n// Remove the inheritance of text transform in Firefox\nbutton,\nselect {\n text-transform: none;\n}\n// Set the cursor for non-`    diff --git a/templates/UPlanetUmap/index.html b/templates/UPlanetUmap/index.html index bbfd8b1a..abcf3973 100644 --- a/templates/UPlanetUmap/index.html +++ b/templates/UPlanetUmap/index.html @@ -2,7 +2,7 @@ - _ZONE_ 🗺 on UPlanet + 🗺_ZONE_🗺 on UPlanet @@ -138,6 +138,7 @@ iframe {

_ZONE_

(✜) "UPlanet Registration" (✜)

+

"_UPUPZONE_"

"_UPZONE_"

"_ZONE_"

@@ -151,11 +152,14 @@ iframe {
| | - | + | | ♥ - (° - ° )📺 | - ( ) + 📺 VISIO 📺 | +       
diff --git a/templates/ZenStation/index.html b/templates/ZenStation/index.html index d4138201..aa97c8f8 100644 --- a/templates/ZenStation/index.html +++ b/templates/ZenStation/index.html @@ -43,15 +43,19 @@ header { background: white; color: black; } -#yellow { - background: black; - color: white; - position: absolute; - bottom: 2%; - left: 2%; - width: 60%; - visibility: hidden; - } +#console { + visibility: visible; + background: rgba(0, 0, 0, 0.9); + color: white; + width: 70%; + height: 55%; + position: absolute; + bottom: 0; + left: 0; + padding: 5px; + box-sizing: border-box; + z-index: 1000; /* Ensure the console appears above other elements */ +} #ainfo { position: absolute; top: 2%; @@ -106,7 +110,13 @@ a { width: 400px; height: 400px; } +#toggleConsoleButton { + cursor: pointer; +} +#fullscreenButton { + cursor: pointer; +} @@ -277,17 +287,41 @@ a { }); -

-
MENU +

+
+ CONSOLE +       
+ + + - - diff --git a/templates/twuplanet.html b/templates/twuplanet.html index 0e1ef692..319a2b0c 100644 --- a/templates/twuplanet.html +++ b/templates/twuplanet.html @@ -2,7 +2,7 @@ - + @@ -757,20 +757,22 @@ Error message and password prompt
  • $:/plugins/Gk0Wk/drawio
  • -
  • $:/plugins/Gk0Wk/sidebar-resizer
  • -
  • $:/plugins/ipfs
  • $:/plugins/oeyoews/neotw-pwa
  • $:/plugins/orange/mermaid-tw5
  • +
  • $:/plugins/sq/ExternalContent
  • +
  • $:/plugins/sycom/atom-feed
  • $:/plugins/sycom/leaflet
  • $:/plugins/tiddlywiki/mobiledragdrop
  • +
  • $:/publishFilter
  • +
  • $:/SiteSubtitle
  • $:/SiteTitle
  • @@ -805,6 +807,10 @@ Error message and password prompt
  • $:/state/plugin-info-1867135918-$:/plugins/Gk0Wk/sidebar-resizer
  • +
  • $:/state/plugin-info-1867135918-$:/plugins/sq/ExternalContent
  • + +
  • $:/state/plugin-info-1867135918-$:/plugins/sq/ExternalContent---751343348
  • +
  • $:/state/plugin-info-1935472218-$:/plugins/ipfs--1406793555
  • $:/state/plugin-info-292606808-$:/plugins/oeyoews/neotw-pwa---1763606351
  • @@ -853,6 +859,10 @@ Error message and password prompt
  • REQ
  • +
  • SQPL
  • + +
  • UP5
  • +
  • ZenCard
  • @@ -890,13 +900,13 @@ Error message and password prompt {"title":"$:/core","name":"Core","description":"TiddlyWiki5 core","author":"JeremyRuston","core-version":">=5.0.0","plugin-priority":"0","list":"readme","version":"5.3.1","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/Acknowledgements\":{\"title\":\"$:/Acknowledgements\",\"text\":\"TiddlyWiki incorporates code from these fine OpenSource projects:\\n\\n* [[The Stanford Javascript Crypto Library|http://bitwiseshiftleft.github.io/sjcl/]]\\n* [[The Jasmine JavaScript Test Framework|https://jasmine.github.io/]]\\n* [[Normalize.css by Nicolas Gallagher|http://necolas.github.io/normalize.css/]]\\n\\nAnd media from these projects:\\n\\n* World flag icons from [[Wikipedia|http://commons.wikimedia.org/wiki/Category:SVG_flags_by_country]]\\n\"},\"$:/core/copyright.txt\":{\"title\":\"$:/core/copyright.txt\",\"type\":\"text/plain\",\"text\":\"TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n\\nCopyright (c) 2004-2007, Jeremy Ruston\\nCopyright (c) 2007-2023, UnaMesa Association\\nAll rights reserved.\\n\\nRedistribution and use in source and binary forms, with or without\\nmodification, are permitted provided that the following conditions are met:\\n\\n* Redistributions of source code must retain the above copyright notice, this\\n list of conditions and the following disclaimer.\\n\\n* Redistributions in binary form must reproduce the above copyright notice,\\n this list of conditions and the following disclaimer in the documentation\\n and/or other materials provided with the distribution.\\n\\n* Neither the name of the copyright holder nor the names of its\\n contributors may be used to endorse or promote products derived from\\n this software without specific prior written permission.\\n\\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\"},\"$:/core/icon\":{\"title\":\"$:/core/icon\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M64 0l54.56 32v64L64 128 9.44 96V32L64 0zm21.127 95.408c-3.578-.103-5.15-.094-6.974-3.152l-1.42.042c-1.653-.075-.964-.04-2.067-.097-1.844-.07-1.548-1.86-1.873-2.8-.52-3.202.687-6.43.65-9.632-.014-1.14-1.593-5.17-2.157-6.61-1.768.34-3.546.406-5.34.497-4.134-.01-8.24-.527-12.317-1.183-.8 3.35-3.16 8.036-1.21 11.44 2.37 3.52 4.03 4.495 6.61 4.707 2.572.212 3.16 3.18 2.53 4.242-.55.73-1.52.864-2.346 1.04l-1.65.08c-1.296-.046-2.455-.404-3.61-.955-1.93-1.097-3.925-3.383-5.406-5.024.345.658.55 1.938.24 2.53-.878 1.27-4.665 1.26-6.4.47-1.97-.89-6.73-7.162-7.468-11.86 1.96-3.78 4.812-7.07 6.255-11.186-3.146-2.05-4.83-5.384-4.61-9.16l.08-.44c-3.097.59-1.49.37-4.82.628-10.608-.032-19.935-7.37-14.68-18.774.34-.673.664-1.287 1.243-.994.466.237.4 1.18.166 2.227-3.005 13.627 11.67 13.732 20.69 11.21.89-.25 2.67-1.936 3.905-2.495 2.016-.91 4.205-1.282 6.376-1.55 5.4-.63 11.893 2.276 15.19 2.37 3.3.096 7.99-.805 10.87-.615 2.09.098 4.143.483 6.16 1.03 1.306-6.49 1.4-11.27 4.492-12.38 1.814.293 3.213 2.818 4.25 4.167 2.112-.086 4.12.46 6.115 1.066 3.61-.522 6.642-2.593 9.833-4.203-3.234 2.69-3.673 7.075-3.303 11.127.138 2.103-.444 4.386-1.164 6.54-1.348 3.507-3.95 7.204-6.97 7.014-1.14-.036-1.805-.695-2.653-1.4-.164 1.427-.81 2.7-1.434 3.96-1.44 2.797-5.203 4.03-8.687 7.016-3.484 2.985 1.114 13.65 2.23 15.594 1.114 1.94 4.226 2.652 3.02 4.406-.37.58-.936.785-1.54 1.01l-.82.11zm-40.097-8.85l.553.14c.694-.27 2.09.15 2.83.353-1.363-1.31-3.417-3.24-4.897-4.46-.485-1.47-.278-2.96-.174-4.46l.02-.123c-.582 1.205-1.322 2.376-1.72 3.645-.465 1.71 2.07 3.557 3.052 4.615l.336.3z\\\" fill-rule=\\\"evenodd\\\"/>\u003C/svg>\"},\"$:/core/images/add-comment\":{\"title\":\"$:/core/images/add-comment\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-add-comment tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M56 56H36a8 8 0 100 16h20v20a8 8 0 1016 0V72h20a8 8 0 100-16H72V36a8 8 0 10-16 0v20zm-12.595 58.362c-6.683 7.659-20.297 12.903-36.006 12.903-2.196 0-4.35-.102-6.451-.3 9.652-3.836 17.356-12.24 21.01-22.874C8.516 94.28 0 79.734 0 63.5 0 33.953 28.206 10 63 10s63 23.953 63 53.5S97.794 117 63 117c-6.841 0-13.428-.926-19.595-2.638z\\\"/>\u003C/svg>\"},\"$:/core/images/advanced-search-button\":{\"title\":\"$:/core/images/advanced-search-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-advanced-search-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M74.565 87.985A47.776 47.776 0 0148 96C21.49 96 0 74.51 0 48S21.49 0 48 0s48 21.49 48 48c0 9.854-2.97 19.015-8.062 26.636l34.347 34.347a9.443 9.443 0 010 13.36 9.446 9.446 0 01-13.36 0l-34.36-34.358zM48 80c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32z\\\"/>\u003Ccircle cx=\\\"48\\\" cy=\\\"48\\\" r=\\\"8\\\"/>\u003Ccircle cx=\\\"28\\\" cy=\\\"48\\\" r=\\\"8\\\"/>\u003Ccircle cx=\\\"68\\\" cy=\\\"48\\\" r=\\\"8\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/auto-height\":{\"title\":\"$:/core/images/auto-height\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-auto-height tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M67.987 114.356l-.029-14.477a4 4 0 00-2.067-3.494l-15.966-8.813-1.933 7.502H79.9c4.222 0 5.564-5.693 1.786-7.58L49.797 71.572 48.01 79.15h31.982c4.217 0 5.564-5.682 1.795-7.575L49.805 55.517l-1.795 7.575h31.982c4.212 0 5.563-5.67 1.805-7.57l-16.034-8.105 2.195 3.57V35.614l9.214 9.213a4 4 0 105.656-5.656l-16-16a4 4 0 00-5.656 0l-16 16a4 4 0 105.656 5.656l9.13-9.13v15.288a4 4 0 002.195 3.57l16.035 8.106 1.804-7.57H48.01c-4.217 0-5.564 5.682-1.795 7.574l31.982 16.059 1.795-7.575H48.01c-4.222 0-5.564 5.693-1.787 7.579l31.89 15.923 1.787-7.578H47.992c-4.133 0-5.552 5.504-1.933 7.501l15.966 8.813-2.067-3.494.029 14.436-9.159-9.158a4 4 0 00-5.656 5.656l16 16a4 4 0 005.656 0l16-16a4 4 0 10-5.656-5.656l-9.185 9.184zM16 20h96a4 4 0 100-8H16a4 4 0 100 8z\\\"/>\u003C/svg>\"},\"$:/core/images/blank\":{\"title\":\"$:/core/images/blank\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-blank tc-image-button\\\" viewBox=\\\"0 0 128 128\\\"/>\"},\"$:/core/images/bold\":{\"title\":\"$:/core/images/bold\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-bold tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M41.146 51.81V21.87h26.353c2.51 0 4.93.21 7.26.628 2.33.418 4.392 1.165 6.185 2.24 1.793 1.076 3.227 2.57 4.302 4.482 1.076 1.913 1.614 4.363 1.614 7.35 0 5.379-1.613 9.263-4.84 11.653-3.227 2.39-7.35 3.586-12.37 3.586H41.146zM13 0v128h62.028a65.45 65.45 0 0016.762-2.151c5.438-1.434 10.278-3.645 14.52-6.633 4.244-2.988 7.62-6.842 10.13-11.563 2.51-4.721 3.764-10.308 3.764-16.762 0-8.008-1.942-14.85-5.826-20.527-3.884-5.677-9.77-9.65-17.658-11.921 5.737-2.75 10.069-6.275 12.997-10.577 2.928-4.303 4.392-9.681 4.392-16.135 0-5.976-.986-10.995-2.958-15.059-1.972-4.063-4.75-7.32-8.336-9.77-3.585-2.45-7.888-4.213-12.907-5.289C84.888.538 79.33 0 73.235 0H13zm28.146 106.129V70.992H71.8c6.095 0 10.995 1.404 14.7 4.212 3.705 2.81 5.558 7.5 5.558 14.073 0 3.347-.568 6.096-1.703 8.247-1.136 2.151-2.66 3.854-4.572 5.11-1.912 1.254-4.123 2.15-6.633 2.688-2.51.538-5.139.807-7.888.807H41.146z\\\"/>\u003C/svg>\"},\"$:/core/images/cancel-button\":{\"title\":\"$:/core/images/cancel-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-cancel-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M64 76.314l-16.97 16.97a7.999 7.999 0 01-11.314 0c-3.118-3.118-3.124-8.19 0-11.313L52.686 65l-16.97-16.97a7.999 7.999 0 010-11.314c3.118-3.118 8.19-3.124 11.313 0L64 53.686l16.97-16.97a7.999 7.999 0 0111.314 0c3.118 3.118 3.124 8.19 0 11.313L75.314 65l16.97 16.97a7.999 7.999 0 010 11.314c-3.118 3.118-8.19 3.124-11.313 0L64 76.314zM64 129c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 1 0 29.654 0 65c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 17 64 17 16 38.49 16 65s21.49 48 48 48z\\\"/>\u003C/svg>\"},\"$:/core/images/chevron-down\":{\"title\":\"$:/core/images/chevron-down\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-chevron-down tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M64.053 85.456a7.889 7.889 0 01-5.6-2.316L2.473 27.16a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0L64.05 66.344l50.382-50.382a7.92 7.92 0 0111.195 0c3.085 3.086 3.092 8.105 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.317z\\\"/>\u003Cpath d=\\\"M64.053 124.069a7.889 7.889 0 01-5.6-2.316l-55.98-55.98a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0l50.382 50.382 50.382-50.382a7.92 7.92 0 0111.195 0c3.085 3.086 3.092 8.104 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.316z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/chevron-left\":{\"title\":\"$:/core/images/chevron-left\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-chevron-left tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M47.544 64.053c0-2.027.77-4.054 2.316-5.6l55.98-55.98a7.92 7.92 0 0111.196 0c3.085 3.086 3.092 8.105 0 11.196L66.656 64.05l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.085-8.105 3.092-11.196 0l-55.98-55.98a7.892 7.892 0 01-2.317-5.595z\\\"/>\u003Cpath d=\\\"M8.931 64.053c0-2.027.77-4.054 2.316-5.6l55.98-55.98a7.92 7.92 0 0111.196 0c3.085 3.086 3.092 8.105 0 11.196L28.041 64.05l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.085-8.104 3.092-11.196 0l-55.98-55.98a7.892 7.892 0 01-2.316-5.595z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/chevron-right\":{\"title\":\"$:/core/images/chevron-right\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-chevron-right tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M83.456 63.947c0 2.027-.77 4.054-2.316 5.6l-55.98 55.98a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196L64.344 63.95 13.963 13.567a7.92 7.92 0 010-11.195c3.086-3.085 8.105-3.092 11.196 0l55.98 55.98a7.892 7.892 0 012.317 5.595z\\\"/>\u003Cpath d=\\\"M122.069 63.947c0 2.027-.77 4.054-2.316 5.6l-55.98 55.98a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196l50.382-50.382-50.382-50.382a7.92 7.92 0 010-11.195c3.086-3.085 8.104-3.092 11.196 0l55.98 55.98a7.892 7.892 0 012.316 5.595z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/chevron-up\":{\"title\":\"$:/core/images/chevron-up\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-chevron-up tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M63.947 44.544c2.027 0 4.054.77 5.6 2.316l55.98 55.98a7.92 7.92 0 010 11.196c-3.086 3.085-8.105 3.092-11.196 0L63.95 63.656l-50.382 50.382a7.92 7.92 0 01-11.195 0c-3.085-3.086-3.092-8.105 0-11.196l55.98-55.98a7.892 7.892 0 015.595-2.317z\\\"/>\u003Cpath d=\\\"M63.947 5.931c2.027 0 4.054.77 5.6 2.316l55.98 55.98a7.92 7.92 0 010 11.196c-3.086 3.085-8.105 3.092-11.196 0L63.95 25.041 13.567 75.423a7.92 7.92 0 01-11.195 0c-3.085-3.086-3.092-8.104 0-11.196l55.98-55.98a7.892 7.892 0 015.595-2.316z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/clone-button\":{\"title\":\"$:/core/images/clone-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-clone-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M32.265 96v24.002A7.996 7.996 0 0040.263 128h79.74a7.996 7.996 0 007.997-7.998v-79.74a7.996 7.996 0 00-7.998-7.997H96V48h12.859a2.99 2.99 0 012.994 2.994v57.865a2.99 2.99 0 01-2.994 2.994H50.994A2.99 2.99 0 0148 108.859V96H32.265z\\\"/>\u003Cpath d=\\\"M40 56h-7.993C27.588 56 24 52.418 24 48c0-4.41 3.585-8 8.007-8H40v-7.993C40 27.588 43.582 24 48 24c4.41 0 8 3.585 8 8.007V40h7.993C68.412 40 72 43.582 72 48c0 4.41-3.585 8-8.007 8H56v7.993C56 68.412 52.418 72 48 72c-4.41 0-8-3.585-8-8.007V56zM8 0C3.58 0 0 3.588 0 8v80c0 4.419 3.588 8 8 8h80c4.419 0 8-3.588 8-8V8c0-4.419-3.588-8-8-8H8zM19 16A2.997 2.997 0 0016 19.001v57.998A2.997 2.997 0 0019.001 80h57.998A2.997 2.997 0 0080 76.999V19.001A2.997 2.997 0 0076.999 16H19.001z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/close-all-button\":{\"title\":\"$:/core/images/close-all-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-close-all-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M28 111.314l-14.144 14.143a8 8 0 01-11.313-11.313L16.686 100 2.543 85.856a8 8 0 0111.313-11.313L28 88.686l14.144-14.143a8 8 0 0111.313 11.313L39.314 100l14.143 14.144a8 8 0 01-11.313 11.313L28 111.314zM28 39.314L13.856 53.457A8 8 0 012.543 42.144L16.686 28 2.543 13.856A8 8 0 0113.856 2.543L28 16.686 42.144 2.543a8 8 0 0111.313 11.313L39.314 28l14.143 14.144a8 8 0 01-11.313 11.313L28 39.314zM100 39.314L85.856 53.457a8 8 0 01-11.313-11.313L88.686 28 74.543 13.856A8 8 0 0185.856 2.543L100 16.686l14.144-14.143a8 8 0 0111.313 11.313L111.314 28l14.143 14.144a8 8 0 01-11.313 11.313L100 39.314zM100 111.314l-14.144 14.143a8 8 0 01-11.313-11.313L88.686 100 74.543 85.856a8 8 0 0111.313-11.313L100 88.686l14.144-14.143a8 8 0 0111.313 11.313L111.314 100l14.143 14.144a8 8 0 01-11.313 11.313L100 111.314z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/close-button\":{\"title\":\"$:/core/images/close-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-close-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M65.086 75.41l-50.113 50.113c-3.121 3.121-8.192 3.126-11.316.002-3.118-3.118-3.123-8.19.002-11.316l50.114-50.114L3.659 13.982C.538 10.86.533 5.79 3.657 2.666c3.118-3.118 8.19-3.123 11.316.002l50.113 50.114L115.2 2.668c3.121-3.121 8.192-3.126 11.316-.002 3.118 3.118 3.123 8.19-.002 11.316L76.4 64.095l50.114 50.114c3.121 3.121 3.126 8.192.002 11.316-3.118 3.118-8.19 3.123-11.316-.002L65.086 75.409z\\\"/>\u003C/svg>\"},\"$:/core/images/close-others-button\":{\"title\":\"$:/core/images/close-others-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-close-others-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48zm0-16c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32zm0-16c8.837 0 16-7.163 16-16s-7.163-16-16-16-16 7.163-16 16 7.163 16 16 16z\\\"/>\u003C/svg>\"},\"$:/core/images/copy-clipboard\":{\"title\":\"$:/core/images/copy-clipboard\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-copy-clipboard tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Crect width=\\\"33\\\" height=\\\"8\\\" x=\\\"40\\\" y=\\\"40\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"17\\\" height=\\\"8\\\" x=\\\"40\\\" y=\\\"82\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"17\\\" height=\\\"8\\\" x=\\\"40\\\" y=\\\"54\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"33\\\" height=\\\"8\\\" x=\\\"40\\\" y=\\\"96\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"12\\\" height=\\\"8\\\" x=\\\"40\\\" y=\\\"68\\\" rx=\\\"4\\\"/>\u003Cpath d=\\\"M40 16H24c-4.419 0-8 3.59-8 8a8.031 8.031 0 000 .01v95.98a8.03 8.03 0 000 .01c0 4.41 3.581 8 8 8h80a7.975 7.975 0 005.652-2.34 7.958 7.958 0 002.348-5.652v-16.016c0-4.414-3.582-7.992-8-7.992-4.41 0-8 3.578-8 7.992V112H32V32h64v8.008C96 44.422 99.582 48 104 48c4.41 0 8-3.578 8-7.992V23.992a7.963 7.963 0 00-2.343-5.651A7.995 7.995 0 00104.001 16H88c0-4.41-3.585-8-8.007-8H48.007C43.588 8 40 11.582 40 16zm4-1.004A4.001 4.001 0 0148 11h32c2.21 0 4 1.797 4 3.996v4.008A4.001 4.001 0 0180 23H48c-2.21 0-4-1.797-4-3.996v-4.008z\\\"/>\u003Crect width=\\\"66\\\" height=\\\"16\\\" x=\\\"62\\\" y=\\\"64\\\" rx=\\\"8\\\"/>\u003Cpath d=\\\"M84.657 82.343l-16-16v11.314l16-16a8 8 0 10-11.314-11.314l-16 16a8 8 0 000 11.314l16 16a8 8 0 1011.314-11.314z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/delete-button\":{\"title\":\"$:/core/images/delete-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-delete-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\" transform=\\\"translate(12)\\\">\u003Crect width=\\\"105\\\" height=\\\"16\\\" y=\\\"11\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"48\\\" height=\\\"16\\\" x=\\\"28\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"16\\\" height=\\\"112\\\" x=\\\"8\\\" y=\\\"16\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"88\\\" height=\\\"16\\\" x=\\\"8\\\" y=\\\"112\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"16\\\" height=\\\"112\\\" x=\\\"80\\\" y=\\\"16\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"16\\\" height=\\\"112\\\" x=\\\"56\\\" y=\\\"16\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"16\\\" height=\\\"112\\\" x=\\\"32\\\" y=\\\"16\\\" rx=\\\"8\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/done-button\":{\"title\":\"$:/core/images/done-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-done-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M42.26 111.032c-2.051.001-4.103-.78-5.668-2.345L2.662 74.758a8 8 0 01-.005-11.32c3.118-3.117 8.192-3.12 11.32.007l28.278 28.278 72.124-72.124a8.002 8.002 0 0111.314-.001c3.118 3.118 3.124 8.19 0 11.315l-77.78 77.78a7.978 7.978 0 01-5.658 2.343z\\\"/>\u003C/svg>\"},\"$:/core/images/down-arrow\":{\"title\":\"$:/core/images/down-arrow\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-down-arrow tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M64.177 100.069a7.889 7.889 0 01-5.6-2.316l-55.98-55.98a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0l50.382 50.382 50.382-50.382a7.92 7.92 0 0111.195 0c3.086 3.086 3.092 8.104 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.316z\\\"/>\u003C/svg>\"},\"$:/core/images/download-button\":{\"title\":\"$:/core/images/download-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-download-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48z\\\" class=\\\"tc-image-download-button-ring\\\"/>\u003Cpath d=\\\"M34.35 66.43l26.892 27.205a4.57 4.57 0 006.516 0L94.65 66.43a4.7 4.7 0 000-6.593 4.581 4.581 0 00-3.258-1.365h-8.46c-2.545 0-4.608-2.087-4.608-4.661v-15.15c0-2.575-2.063-4.662-4.608-4.662H55.284c-2.545 0-4.608 2.087-4.608 4.662v15.15c0 2.574-2.063 4.661-4.608 4.661h-8.46c-2.545 0-4.608 2.087-4.608 4.662a4.69 4.69 0 001.35 3.296z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/edit-button\":{\"title\":\"$:/core/images/edit-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-edit-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M95.627 10.059l-5.656 5.657 11.313 11.313 5.657-5.656-11.314-11.314zm5.657-5.657l1.966-1.966c3.123-3.122 8.194-3.129 11.319-.005 3.117 3.118 3.122 8.192-.005 11.32l-1.966 1.965-11.314-11.314zm-16.97 16.97l-60.25 60.25a8.12 8.12 0 00-.322.342c-.1.087-.198.179-.295.275-5.735 5.735-10.702 22.016-10.702 22.016s16.405-5.09 22.016-10.702c.095-.096.186-.193.272-.292a8.12 8.12 0 00.345-.325l60.25-60.25-11.314-11.313zM35.171 124.19c6.788-.577 13.898-2.272 23.689-5.348 1.825-.573 3.57-1.136 6.336-2.04 16-5.226 21.877-6.807 28.745-7.146 8.358-.413 13.854 2.13 17.58 8.699a4 4 0 006.959-3.946c-5.334-9.406-13.745-13.296-24.933-12.744-7.875.39-14.057 2.052-30.835 7.533-2.739.894-4.46 1.45-6.25 2.012-19.46 6.112-30.77 7.072-39.597 1.747a4 4 0 10-4.132 6.85c6.333 3.82 13.754 5.12 22.438 4.383z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/erase\":{\"title\":\"$:/core/images/erase\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-erase tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M60.087 127.996l63.015-63.015c6.535-6.535 6.528-17.115-.003-23.646L99.466 17.702c-6.539-6.538-17.117-6.532-23.646-.003L4.898 88.62c-6.535 6.534-6.528 17.115.003 23.646l15.73 15.73h39.456zm-34.95-7.313l-14.324-14.325c-3.267-3.268-3.268-8.564-.008-11.824L46.269 59.07l35.462 35.462-26.15 26.15H25.137z\\\"/>\u003C/svg>\"},\"$:/core/images/excise\":{\"title\":\"$:/core/images/excise\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-excise tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M56 107.314l-2.343 2.343a8 8 0 11-11.314-11.314l16-16a8 8 0 0111.314 0l16 16a8 8 0 11-11.314 11.314L72 107.314v14.284c0 3.536-3.582 6.402-8 6.402s-8-2.866-8-6.402v-14.284zM0 40.007C0 35.585 3.59 32 8 32c4.418 0 8 3.588 8 8.007v31.986C16 76.415 12.41 80 8 80c-4.418 0-8-3.588-8-8.007V40.007zm32 0C32 35.585 35.59 32 40 32c4.418 0 8 3.588 8 8.007v31.986C48 76.415 44.41 80 40 80c-4.418 0-8-3.588-8-8.007V40.007zm48 0C80 35.585 83.59 32 88 32c4.418 0 8 3.588 8 8.007v31.986C96 76.415 92.41 80 88 80c-4.418 0-8-3.588-8-8.007V40.007zm-24-32C56 3.585 59.59 0 64 0c4.418 0 8 3.588 8 8.007v31.986C72 44.415 68.41 48 64 48c-4.418 0-8-3.588-8-8.007V8.007zm56 32c0-4.422 3.59-8.007 8-8.007 4.418 0 8 3.588 8 8.007v31.986c0 4.422-3.59 8.007-8 8.007-4.418 0-8-3.588-8-8.007V40.007z\\\"/>\u003C/svg>\"},\"$:/core/images/export-button\":{\"title\":\"$:/core/images/export-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-export-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M8.003 128H119.993a7.984 7.984 0 005.664-2.349v.007A7.975 7.975 0 00128 120V56c0-4.418-3.59-8-8-8-4.418 0-8 3.58-8 8v56H16V56c0-4.418-3.59-8-8-8-4.418 0-8 3.58-8 8v64c0 4.418 3.59 8 8 8h.003zm48.62-100.689l-8.965 8.966c-3.125 3.125-8.195 3.13-11.319.005-3.118-3.118-3.122-8.192.005-11.319L58.962 2.346A7.986 7.986 0 0164.625 0l-.006.002c2.05-.001 4.102.78 5.666 2.344l22.618 22.617c3.124 3.125 3.129 8.195.005 11.319-3.118 3.118-8.192 3.122-11.319-.005l-8.965-8.966v61.256c0 4.411-3.582 8-8 8-4.41 0-8-3.582-8-8V27.311z\\\"/>\u003C/svg>\"},\"$:/core/images/file\":{\"title\":\"$:/core/images/file\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-file tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M111.968 30.5H112V120a8 8 0 01-8 8H24a8 8 0 01-8-8V8a8 8 0 018-8h57v.02a7.978 7.978 0 015.998 2.337l22.627 22.627a7.975 7.975 0 012.343 5.516zM81 8H24v112h80V30.5H89c-4.418 0-8-3.578-8-8V8z\\\"/>\u003Crect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"36\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"52\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"68\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"84\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"100\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"40\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"20\\\" rx=\\\"4\\\"/>\u003C/svg>\"},\"$:/core/images/fixed-height\":{\"title\":\"$:/core/images/fixed-height\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-fixed-height tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M60 35.657l-9.172 9.171a4 4 0 11-5.656-5.656l16-16a4 4 0 015.656 0l16 16a4 4 0 01-5.656 5.656L68 35.657v57.686l9.172-9.171a4 4 0 115.656 5.656l-16 16a4 4 0 01-5.656 0l-16-16a4 4 0 115.656-5.656L60 93.343V35.657zM16 116h96a4 4 0 100-8H16a4 4 0 100 8zm0-96h96a4 4 0 100-8H16a4 4 0 100 8z\\\"/>\u003C/svg>\"},\"$:/core/images/fold-all-button\":{\"title\":\"$:/core/images/fold-all-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-fold-all tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Crect width=\\\"128\\\" height=\\\"16\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"128\\\" height=\\\"16\\\" y=\\\"64\\\" rx=\\\"8\\\"/>\u003Cpath d=\\\"M64.03 20.004c-2.05 0-4.102.78-5.667 2.344L35.746 44.966c-3.125 3.124-3.13 8.194-.005 11.318 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.965 16.966 16.965c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.191-.005-11.318L69.687 22.348a7.986 7.986 0 00-5.663-2.346zM64.03 85.002c-2.05-.001-4.102.78-5.667 2.344l-22.617 22.617c-3.125 3.125-3.13 8.195-.005 11.319 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.966 16.966 16.966c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.192-.005-11.319L69.687 87.346A7.986 7.986 0 0064.024 85z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/fold-button\":{\"title\":\"$:/core/images/fold-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-fold tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Crect width=\\\"128\\\" height=\\\"16\\\" rx=\\\"8\\\"/>\u003Cpath d=\\\"M64.03 25.004c-2.05 0-4.102.78-5.667 2.344L35.746 49.966c-3.125 3.124-3.13 8.194-.005 11.318 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.965 16.966 16.965c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.191-.005-11.318L69.687 27.348a7.986 7.986 0 00-5.663-2.346zM64.005 67.379c-2.05 0-4.102.78-5.666 2.344L35.722 92.34c-3.125 3.125-3.13 8.195-.006 11.32 3.118 3.117 8.192 3.121 11.32-.006L64 86.69l16.965 16.965c3.125 3.125 8.195 3.13 11.319.005 3.118-3.118 3.122-8.192-.005-11.319L69.663 69.723A7.986 7.986 0 0064 67.377z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/fold-others-button\":{\"title\":\"$:/core/images/fold-others-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-fold-others tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Crect width=\\\"128\\\" height=\\\"16\\\" y=\\\"56.031\\\" rx=\\\"8\\\"/>\u003Cpath d=\\\"M86.632 79.976c-2.05 0-4.102.78-5.666 2.345L64 99.286 47.034 82.321a7.986 7.986 0 00-5.662-2.346l.005.001c-2.05 0-4.102.78-5.666 2.345l-22.618 22.617c-3.124 3.125-3.129 8.195-.005 11.319 3.118 3.118 8.192 3.122 11.319-.005l16.966-16.966 16.965 16.966a7.986 7.986 0 005.663 2.346l-.005-.002c2.05 0 4.102-.78 5.666-2.344l16.965-16.966 16.966 16.966c3.125 3.124 8.194 3.129 11.319.005 3.118-3.118 3.122-8.192-.005-11.319L92.289 82.321a7.986 7.986 0 00-5.663-2.346zM86.7 48.024c-2.05 0-4.102-.78-5.666-2.345L64.07 28.714 47.103 45.679a7.986 7.986 0 01-5.663 2.346l.005-.001c-2.05 0-4.101-.78-5.666-2.345L13.162 23.062c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.192-3.122 11.319.005L41.44 28.714l16.966-16.966a7.986 7.986 0 015.662-2.346l-.005.002c2.05 0 4.102.78 5.666 2.344l16.966 16.966 16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L92.358 45.679a7.986 7.986 0 01-5.663 2.346z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/folder\":{\"title\":\"$:/core/images/folder\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-folder tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M55.694 128H8C3.58 128 0 124.414 0 119.996V48.004C0 43.584 3.584 40 7.999 40H16v-8c0-4.418 3.578-8 8-8h32a8 8 0 018 8v8h40.001c4.418 0 7.999 3.586 7.999 8.004V59.83l-8-.082v-7.749A4 4 0 0099.997 48H56V36c0-2.21-1.793-4-4.004-4H28.004A4 4 0 0024 36v12H12.003A4 4 0 008 52v64a4 4 0 004.003 4h46.76l-3.069 8z\\\"/>\u003Cpath d=\\\"M23.873 55.5h96.003c4.417 0 7.004 4.053 5.774 9.063l-13.344 54.374c-1.228 5.005-5.808 9.063-10.223 9.063H6.08c-4.417 0-7.003-4.053-5.774-9.063L13.65 64.563c1.228-5.005 5.808-9.063 10.223-9.063zm1.78 8.5h87.994c2.211 0 3.504 2.093 2.891 4.666l-11.12 46.668c-.614 2.577-2.902 4.666-5.115 4.666H12.31c-2.211 0-3.504-2.093-2.891-4.666l11.12-46.668C21.152 66.09 23.44 64 25.653 64z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/full-screen-button\":{\"title\":\"$:/core/images/full-screen-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-full-screen-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M0 8a8 8 0 018-8h32a8 8 0 110 16H16v24a8 8 0 11-16 0V8zM128 120a8 8 0 01-8 8H88a8 8 0 110-16h24V88a8 8 0 1116 0v32zM8 128a8 8 0 01-8-8V88a8 8 0 1116 0v24h24a8 8 0 110 16H8zM120 0a8 8 0 018 8v32a8 8 0 11-16 0V16H88a8 8 0 110-16h32z\\\"/>\u003C/svg>\"},\"$:/core/images/github\":{\"title\":\"$:/core/images/github\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-github tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M63.938 1.607c-35.336 0-63.994 28.69-63.994 64.084 0 28.312 18.336 52.329 43.768 60.802 3.202.59 4.37-1.388 4.37-3.088 0-1.518-.056-5.55-.087-10.897-17.802 3.871-21.558-8.591-21.558-8.591-2.911-7.404-7.108-9.375-7.108-9.375-5.81-3.973.44-3.895.44-3.895 6.424.453 9.803 6.606 9.803 6.606 5.709 9.791 14.981 6.963 18.627 5.322.582-4.138 2.236-6.963 4.063-8.564-14.211-1.617-29.153-7.117-29.153-31.672 0-6.995 2.495-12.718 6.589-17.195-.66-1.621-2.856-8.14.629-16.96 0 0 5.37-1.722 17.597 6.57 5.104-1.424 10.58-2.132 16.022-2.16 5.438.028 10.91.736 16.022 2.16 12.22-8.292 17.582-6.57 17.582-6.57 3.493 8.82 1.297 15.339.64 16.96 4.102 4.477 6.578 10.2 6.578 17.195 0 24.618-14.966 30.035-29.22 31.62 2.295 1.98 4.342 5.89 4.342 11.87 0 8.564-.079 15.476-.079 17.576 0 1.715 1.155 3.71 4.4 3.084 25.413-8.493 43.733-32.494 43.733-60.798 0-35.394-28.657-64.084-64.006-64.084\\\"/>\u003C/svg>\"},\"$:/core/images/gitter\":{\"title\":\"$:/core/images/gitter\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-gitter tc-image-button\\\" viewBox=\\\"0 0 18 25\\\">\u003Cpath d=\\\"M15 5h2v10h-2zM10 5h2v20h-2zM5 5h2v20H5zM0 0h2v15H0z\\\"/>\u003C/svg>\"},\"$:/core/images/globe\":{\"title\":\"$:/core/images/globe\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-globe tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M72.811 37.128v2.554c0 2.196.978 6.881 0 8.832-1.466 2.928-4.65 3.54-6.394 5.867-1.182 1.577-4.618 10.601-3.69 12.92 3.969 9.922 11.534 3.187 17.962 9.293.864.821 2.887 2.273 3.296 3.296 3.29 8.223-7.576 15.009 3.757 26.3 1.245 1.24 3.813-3.817 4.079-4.614.852-2.563 6.725-5.45 9.088-7.053 2.02-1.37 4.873-2.667 6.328-4.745 2.27-3.244 1.48-7.514 3.098-10.745 2.139-4.274 3.828-9.635 5.998-13.966 3.898-7.781 4.721 2.093 5.067 2.439.358.357 1.011 0 1.517 0 .094 0 1.447.099 1.516 0 .65-.935-1.043-17.92-1.318-19.297-1.404-7.01-6.944-15.781-11.865-20.5-6.274-6.015-7.09-16.197-18.259-14.954-.204.022-5.084 10.148-7.777 13.512-3.728 4.657-2.47-4.153-6.526-4.153-.081 0-1.183-.103-1.253 0-.586.88-1.44 3.896-2.306 4.417-.265.16-1.722-.239-1.846 0-2.243 4.3 8.256 2.212 5.792 7.952-2.352 5.481-6.328-1.997-6.328 8.56M44.467 7.01c9.685 6.13.682 12.198 2.694 16.215 1.655 3.303 4.241 5.395 1.714 9.814-2.063 3.608-6.87 3.966-9.623 6.723-3.04 3.044-5.464 8.94-6.79 12.911-1.617 4.843 14.547 6.866 12.063 11.008-1.386 2.311-6.746 1.466-8.437.198-1.165-.873-3.593-.546-4.417-1.78-2.613-3.915-2.26-8.023-3.625-12.128-.938-2.822-6.313-2.12-7.844-.593-.523.522-.33 1.792-.33 2.505 0 5.285 7.12 3.316 7.12 6.46 0 14.636 3.927 6.534 11.14 11.336 10.036 6.683 7.844 7.303 14.946 14.404 3.673 3.673 7.741 3.686 9.425 9.294 1.602 5.331-9.327 5.339-11.716 7.448-1.123.991-2.813 4.146-4.219 4.615-1.792.598-3.234.496-4.944 1.78-2.427 1.82-3.9 4.932-4.02 4.81-2.148-2.147-3.52-15.479-3.89-18.257-.588-4.42-5.59-5.54-6.986-9.03-1.57-3.927 1.524-9.52-1.129-13.761-6.52-10.424-11.821-14.5-15.35-26.292-.942-3.148 3.342-6.529 4.877-8.833 1.877-2.816 2.662-5.854 4.746-8.635C22.147 24.19 40.855 9.461 43.857 8.635l.61-1.625z\\\"/>\u003Cpath d=\\\"M64 126c34.242 0 62-27.758 62-62 0-34.242-27.758-62-62-62C29.758 2 2 29.758 2 64c0 34.242 27.758 62 62 62zm0-6c30.928 0 56-25.072 56-56S94.928 8 64 8 8 33.072 8 64s25.072 56 56 56z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/heading-1\":{\"title\":\"$:/core/images/heading-1\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-heading-1 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M14 30h13.25v30.104H61.7V30h13.25v75.684H61.7V71.552H27.25v34.132H14V30zm70.335 13.78c2.544 0 5.017-.212 7.42-.636 2.403-.424 4.576-1.13 6.52-2.12 1.942-.99 3.603-2.261 4.981-3.816 1.378-1.555 2.28-3.463 2.703-5.724h9.858v74.2h-13.25V53.32H84.335v-9.54z\\\"/>\u003C/svg>\"},\"$:/core/images/heading-2\":{\"title\":\"$:/core/images/heading-2\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-heading-2 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm119.52 75.684H74.85c.07-6.148 1.555-11.519 4.452-16.112 2.897-4.593 6.855-8.586 11.872-11.978a133.725 133.725 0 017.526-5.141 59.6 59.6 0 007.208-5.353c2.19-1.908 3.993-3.975 5.406-6.201 1.413-2.226 2.155-4.788 2.226-7.685 0-1.343-.159-2.774-.477-4.293a11.357 11.357 0 00-1.855-4.24c-.919-1.307-2.19-2.403-3.816-3.286-1.625-.883-3.745-1.325-6.36-1.325-2.403 0-4.399.477-5.989 1.431-1.59.954-2.862 2.261-3.816 3.922-.954 1.66-1.66 3.622-2.12 5.883-.46 2.261-.724 4.7-.795 7.314H76.23c0-4.099.548-7.897 1.643-11.395 1.095-3.498 2.738-6.519 4.93-9.063 2.19-2.544 4.857-4.54 8.002-5.989C93.95 30.724 97.606 30 101.775 30c4.523 0 8.303.742 11.342 2.226 3.039 1.484 5.494 3.357 7.367 5.618 1.873 2.261 3.198 4.717 3.975 7.367.777 2.65 1.166 5.176 1.166 7.579 0 2.968-.46 5.653-1.378 8.056a25.942 25.942 0 01-3.71 6.625 37.5 37.5 0 01-5.3 5.565 79.468 79.468 0 01-6.148 4.77 165.627 165.627 0 01-6.36 4.24 94.28 94.28 0 00-5.883 4.028c-1.802 1.343-3.374 2.738-4.717 4.187-1.343 1.449-2.261 2.986-2.756 4.611h36.146v10.812z\\\"/>\u003C/svg>\"},\"$:/core/images/heading-3\":{\"title\":\"$:/core/images/heading-3\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-heading-3 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm88.885 32.224c1.979.07 3.957-.07 5.936-.424 1.979-.353 3.745-.972 5.3-1.855a10.365 10.365 0 003.763-3.657c.954-1.555 1.431-3.463 1.431-5.724 0-3.18-1.078-5.724-3.233-7.632-2.155-1.908-4.929-2.862-8.32-2.862-2.12 0-3.958.424-5.513 1.272a11.318 11.318 0 00-3.869 3.445c-1.025 1.449-1.784 3.074-2.279 4.876a18.335 18.335 0 00-.636 5.565H75.381c.141-3.604.813-6.943 2.014-10.017 1.201-3.074 2.844-5.742 4.93-8.003 2.084-2.261 4.61-4.028 7.578-5.3C92.871 30.636 96.228 30 99.973 30a29.2 29.2 0 018.533 1.272c2.791.848 5.3 2.085 7.526 3.71s4.01 3.692 5.353 6.201c1.343 2.509 2.014 5.388 2.014 8.639 0 3.745-.848 7.014-2.544 9.805-1.696 2.791-4.346 4.823-7.95 6.095v.212c4.24.848 7.544 2.95 9.911 6.307s3.551 7.438 3.551 12.243c0 3.533-.707 6.696-2.12 9.487a21.538 21.538 0 01-5.724 7.102c-2.403 1.943-5.194 3.445-8.374 4.505-3.18 1.06-6.537 1.59-10.07 1.59-4.31 0-8.074-.618-11.289-1.855s-5.9-2.986-8.056-5.247c-2.155-2.261-3.798-4.982-4.929-8.162-1.13-3.18-1.731-6.713-1.802-10.6h12.084c-.141 4.523.972 8.286 3.34 11.289 2.366 3.003 5.917 4.505 10.652 4.505 4.028 0 7.402-1.148 10.123-3.445 2.72-2.297 4.081-5.565 4.081-9.805 0-2.897-.565-5.194-1.696-6.89a10.97 10.97 0 00-4.452-3.869c-1.837-.883-3.904-1.431-6.2-1.643a58.067 58.067 0 00-7.05-.212v-9.01z\\\"/>\u003C/svg>\"},\"$:/core/images/heading-4\":{\"title\":\"$:/core/images/heading-4\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-heading-4 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M8 30h13.25v30.104H55.7V30h13.25v75.684H55.7V71.552H21.25v34.132H8V30zm76.59 48.548h22.471V45.9h-.212L84.59 78.548zm43.46 9.54h-9.54v17.596H107.06V88.088h-31.8V76.11l31.8-44.626h11.448v47.064h9.54v9.54z\\\"/>\u003C/svg>\"},\"$:/core/images/heading-5\":{\"title\":\"$:/core/images/heading-5\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-heading-5 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm77.755 1.484h38.372v10.812H92.765L88.95 61.164l.212.212c1.625-1.837 3.692-3.233 6.201-4.187 2.509-.954 5-1.431 7.473-1.431 3.675 0 6.96.618 9.858 1.855 2.897 1.237 5.335 2.968 7.314 5.194s3.48 4.858 4.505 7.897c1.025 3.039 1.537 6.325 1.537 9.858 0 2.968-.477 6.024-1.43 9.169a25.161 25.161 0 01-4.559 8.586c-2.085 2.58-4.752 4.7-8.003 6.36-3.25 1.66-7.137 2.491-11.66 2.491-3.604 0-6.943-.477-10.017-1.431-3.074-.954-5.777-2.385-8.109-4.293-2.332-1.908-4.187-4.258-5.565-7.049-1.378-2.791-2.138-6.06-2.279-9.805h12.084c.353 4.028 1.731 7.12 4.134 9.275 2.403 2.155 5.583 3.233 9.54 3.233 2.544 0 4.7-.424 6.466-1.272 1.767-.848 3.198-2.014 4.293-3.498 1.095-1.484 1.873-3.215 2.332-5.194.46-1.979.69-4.099.69-6.36 0-2.05-.284-4.01-.849-5.883-.565-1.873-1.413-3.516-2.544-4.929-1.13-1.413-2.597-2.544-4.399-3.392-1.802-.848-3.904-1.272-6.307-1.272-2.544 0-4.929.477-7.155 1.431-2.226.954-3.834 2.738-4.823 5.353H75.805l7.95-40.598z\\\"/>\u003C/svg>\"},\"$:/core/images/heading-6\":{\"title\":\"$:/core/images/heading-6\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-heading-6 tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm106.587 20.246c-.283-3.039-1.36-5.494-3.233-7.367-1.873-1.873-4.399-2.809-7.579-2.809-2.19 0-4.08.406-5.67 1.219a12.435 12.435 0 00-4.029 3.233c-1.095 1.343-1.979 2.88-2.65 4.611a37.696 37.696 0 00-1.643 5.459 46.08 46.08 0 00-.9 5.671 722.213 722.213 0 00-.478 5.247l.212.212c1.625-2.968 3.87-5.176 6.731-6.625 2.862-1.449 5.954-2.173 9.275-2.173 3.675 0 6.96.636 9.858 1.908 2.897 1.272 5.353 3.021 7.367 5.247 2.014 2.226 3.551 4.858 4.611 7.897 1.06 3.039 1.59 6.325 1.59 9.858 0 3.604-.583 6.943-1.749 10.017-1.166 3.074-2.844 5.76-5.035 8.056-2.19 2.297-4.805 4.081-7.844 5.353-3.039 1.272-6.395 1.908-10.07 1.908-5.441 0-9.91-1.007-13.409-3.021-3.498-2.014-6.254-4.77-8.268-8.268-2.014-3.498-3.41-7.597-4.187-12.296-.777-4.7-1.166-9.77-1.166-15.211 0-4.452.477-8.94 1.431-13.462.954-4.523 2.526-8.639 4.717-12.349 2.19-3.71 5.07-6.731 8.64-9.063C92.676 31.166 97.075 30 102.304 30c2.968 0 5.76.495 8.374 1.484 2.615.99 4.93 2.367 6.943 4.134 2.014 1.767 3.657 3.887 4.93 6.36 1.271 2.473 1.978 5.23 2.12 8.268h-12.085zm-11.66 46.852c2.19 0 4.099-.442 5.724-1.325a12.869 12.869 0 004.081-3.445c1.095-1.413 1.908-3.056 2.438-4.929.53-1.873.795-3.798.795-5.777s-.265-3.887-.795-5.724c-.53-1.837-1.343-3.445-2.438-4.823-1.095-1.378-2.456-2.491-4.08-3.339-1.626-.848-3.534-1.272-5.725-1.272-2.19 0-4.116.406-5.777 1.219-1.66.813-3.056 1.908-4.187 3.286-1.13 1.378-1.979 2.986-2.544 4.823-.565 1.837-.848 3.78-.848 5.83 0 2.05.283 3.993.848 5.83.565 1.837 1.413 3.48 2.544 4.929a12.39 12.39 0 004.187 3.445c1.66.848 3.586 1.272 5.777 1.272z\\\"/>\u003C/svg>\"},\"$:/core/images/help\":{\"title\":\"$:/core/images/help\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-help tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M36.055 111.441c-5.24 4.396-15.168 7.362-26.555 7.362-1.635 0-3.24-.06-4.806-.179 7.919-2.64 14.062-8.6 16.367-16.014C8.747 92.845 1.05 78.936 1.05 63.5c0-29.547 28.206-53.5 63-53.5s63 23.953 63 53.5-28.206 53.5-63 53.5c-10.055 0-19.56-2-27.994-5.559zm35.35-33.843a536.471 536.471 0 00.018-4.682 199.02 199.02 0 00-.023-3.042c.008-1.357.595-2.087 3.727-4.235.112-.077 1.085-.74 1.386-.948 3.093-2.133 5.022-3.786 6.762-6.187 2.34-3.228 3.558-7.077 3.558-11.649 0-13.292-9.86-21.952-21.455-21.952-11.103 0-22.499 9.609-24.066 22.295a6.023 6.023 0 1011.956 1.477c.806-6.527 6.972-11.726 12.11-11.726 5.265 0 9.408 3.64 9.408 9.906 0 3.634-1.1 5.153-5.111 7.919l-1.362.93c-2.682 1.84-4.227 3.1-5.7 4.931-2.109 2.62-3.242 5.717-3.258 9.314.013.892.02 1.86.022 2.981a470.766 470.766 0 01-.022 4.943 6.023 6.023 0 1012.046.12l.003-.395zm-6.027 24.499a7.529 7.529 0 100-15.058 7.529 7.529 0 000 15.058z\\\"/>\u003C/svg>\"},\"$:/core/images/home-button\":{\"title\":\"$:/core/images/home-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-home-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M112.985 119.502c.01-.165.015-.331.015-.499V67.568c3.137 2.948 8.076 2.884 11.134-.174a7.999 7.999 0 00-.002-11.316L70.396 2.343A7.978 7.978 0 0064.734 0a7.957 7.957 0 00-5.656 2.343L33 28.42V8.007C33 3.585 29.41 0 25 0c-4.418 0-8 3.59-8 8.007V44.42L5.342 56.078c-3.125 3.125-3.12 8.198-.002 11.316a7.999 7.999 0 0011.316-.003l.344-.343v52.945a8.11 8.11 0 000 .007c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8a8.11 8.11 0 00-.015-.498zM97 112V51.574L64.737 19.31 33 51.048V112h64z\\\"/>\u003C/svg>\"},\"$:/core/images/import-button\":{\"title\":\"$:/core/images/import-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-import-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M114.832 60.436s3.235-3.27 6.921.417c3.686 3.686.231 7.14.231 7.14l-42.153 42.92s-30.765 32.367-58.798 4.333C-7 87.213 24.59 55.623 24.59 55.623L67.363 12.85s22.725-24.6 43.587-3.738c20.862 20.862-3.96 43.09-3.96 43.09l-35.04 35.04S49.903 112.546 36.426 99.07c-13.476-13.477 11.83-35.523 11.83-35.523l35.04-35.04s3.902-3.902 7.78-.023c3.879 3.878.118 7.921.118 7.921l-35.04 35.04s-13.212 13.212-8.872 17.551c4.34 4.34 16.77-9.653 16.77-9.653l35.04-35.04s16.668-14.598 3.966-27.3c-13.893-13.892-27.565 3.702-27.565 3.702l-42.91 42.91s-23.698 23.698-3.658 43.738 43.012-4.385 43.012-4.385l42.895-42.533z\\\"/>\u003C/svg>\"},\"$:/core/images/info-button\":{\"title\":\"$:/core/images/info-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-info-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\" transform=\\\"translate(.05)\\\">\u003Cpath d=\\\"M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48z\\\"/>\u003Ccircle cx=\\\"64\\\" cy=\\\"32\\\" r=\\\"8\\\"/>\u003Crect width=\\\"16\\\" height=\\\"56\\\" x=\\\"56\\\" y=\\\"48\\\" rx=\\\"8\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/italic\":{\"title\":\"$:/core/images/italic\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-italic tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M66.711 0h22.41L62.408 128H40z\\\"/>\u003C/svg>\"},\"$:/core/images/layout-button\":{\"title\":\"$:/core/images/layout-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-layout-button tc-image-button\\\" viewBox=\\\"0 0 24 24\\\" stroke-width=\\\"1\\\" stroke=\\\"none\\\">\u003Cpath d=\\\"M0 0h24v24H0z\\\" fill=\\\"none\\\"/>\u003Crect x=\\\"2\\\" y=\\\"2\\\" width=\\\"7\\\" height=\\\"7\\\" rx=\\\"2\\\"/>\u003Crect x=\\\"2\\\" y=\\\"13\\\" width=\\\"7\\\" height=\\\"9\\\" rx=\\\"2\\\"/>\u003Crect x=\\\"12\\\" y=\\\"2\\\" width=\\\"10\\\" height=\\\"20\\\" rx=\\\"2\\\"/>\u003C/svg>\"},\"$:/core/images/left-arrow\":{\"title\":\"$:/core/images/left-arrow\",\"created\":\"20150315234410875\",\"modified\":\"20150315235324760\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-left-arrow tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M0 64.177c0-2.026.771-4.054 2.317-5.6l55.98-55.98a7.92 7.92 0 0111.195.001c3.086 3.085 3.092 8.104.001 11.195L19.111 64.175l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.086-8.105 3.092-11.196.001l-55.98-55.98A7.892 7.892 0 010 64.177z\\\"/>\u003C/svg>\"},\"$:/core/images/line-width\":{\"title\":\"$:/core/images/line-width\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-line-width tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M16 18h96a2 2 0 000-4H16a2 2 0 100 4zm0 17h96a4 4 0 100-8H16a4 4 0 100 8zm0 21h96a6 6 0 000-12H16a6 6 0 100 12zm0 29h96c5.523 0 10-4.477 10-10s-4.477-10-10-10H16c-5.523 0-10 4.477-10 10s4.477 10 10 10zm0 43h96c8.837 0 16-7.163 16-16s-7.163-16-16-16H16c-8.837 0-16 7.163-16 16s7.163 16 16 16z\\\"/>\u003C/svg>\"},\"$:/core/images/link\":{\"title\":\"$:/core/images/link\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-link tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M42.263 69.38a31.919 31.919 0 006.841 10.13c12.5 12.5 32.758 12.496 45.255 0l22.627-22.628c12.502-12.501 12.497-32.758 0-45.255-12.5-12.5-32.758-12.496-45.254 0L49.104 34.255a32.333 32.333 0 00-2.666 3.019 36.156 36.156 0 0121.94.334l14.663-14.663c6.25-6.25 16.382-6.254 22.632-.004 6.248 6.249 6.254 16.373-.004 22.631l-22.62 22.62c-6.25 6.25-16.381 6.254-22.631.004a15.93 15.93 0 01-4.428-8.433 11.948 11.948 0 00-7.59 3.48l-6.137 6.137z\\\"/>\u003Cpath d=\\\"M86.35 59.234a31.919 31.919 0 00-6.84-10.13c-12.5-12.5-32.758-12.497-45.255 0L11.627 71.732c-12.501 12.5-12.496 32.758 0 45.254 12.5 12.5 32.758 12.497 45.255 0L79.51 94.36a32.333 32.333 0 002.665-3.02 36.156 36.156 0 01-21.94-.333l-14.663 14.663c-6.25 6.25-16.381 6.253-22.63.004-6.25-6.249-6.255-16.374.003-22.632l22.62-22.62c6.25-6.25 16.381-6.253 22.631-.003a15.93 15.93 0 014.428 8.432 11.948 11.948 0 007.59-3.48l6.137-6.136z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/linkify\":{\"title\":\"$:/core/images/linkify\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-linkify-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M17.031 31.919H9.048V96.85h7.983v6.92H0V25h17.031v6.919zm24.66 0h-7.983V96.85h7.983v6.92H24.66V25h17.03v6.919zM67.77 56.422l11.975-3.903 2.306 7.096-12.063 3.903 7.628 10.379-6.12 4.435-7.63-10.467-7.45 10.2-5.943-4.523L58.1 63.518 45.95 59.35l2.306-7.096 12.064 4.17V43.825h7.45v12.596zM86.31 96.85h7.982V31.92H86.31V25h17.031v78.77H86.31v-6.92zm24.659 0h7.983V31.92h-7.983V25H128v78.77h-17.031v-6.92z\\\"/>\u003C/svg>\"},\"$:/core/images/list-bullet\":{\"title\":\"$:/core/images/list-bullet\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-list-bullet tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M11.636 40.273c6.427 0 11.637-5.21 11.637-11.637C23.273 22.21 18.063 17 11.636 17 5.21 17 0 22.21 0 28.636c0 6.427 5.21 11.637 11.636 11.637zm0 34.909c6.427 0 11.637-5.21 11.637-11.637 0-6.426-5.21-11.636-11.637-11.636C5.21 51.91 0 57.12 0 63.545c0 6.427 5.21 11.637 11.636 11.637zm0 34.909c6.427 0 11.637-5.21 11.637-11.636 0-6.427-5.21-11.637-11.637-11.637C5.21 86.818 0 92.028 0 98.455c0 6.426 5.21 11.636 11.636 11.636zM34.91 22.818H128v11.637H34.91V22.818zm0 34.91H128v11.636H34.91V57.727zm0 34.908H128v11.637H34.91V92.636z\\\"/>\u003C/svg>\"},\"$:/core/images/list-number\":{\"title\":\"$:/core/images/list-number\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-list-number tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M33.84 22.356H128v11.77H33.84v-11.77zm0 35.31H128v11.77H33.84v-11.77zm0 35.311H128v11.77H33.84v-11.77zM.38 42.631v-2.223h.998c.826 0 1.445-.14 1.858-.42.413-.28.619-.948.619-2.002V22.769c0-1.442-.193-2.336-.58-2.683-.385-.347-1.477-.52-3.275-.52v-2.143c3.502-.147 6.252-.955 8.25-2.423h2.117v22.865c0 .921.15 1.575.449 1.963.3.387.949.58 1.948.58h.998v2.223H.38zm-.3 35.356v-1.902c7.19-6.554 10.786-12.58 10.786-18.08 0-1.562-.326-2.81-.979-3.744-.652-.934-1.524-1.402-2.616-1.402-.893 0-1.655.317-2.287.952-.633.634-.95 1.364-.95 2.192 0 .974.247 1.829.74 2.563.106.16.16.28.16.36 0 .147-.16.28-.48.4-.213.08-.752.308-1.618.681-.839.374-1.358.561-1.558.561-.24 0-.512-.37-.819-1.111A6.2 6.2 0 010 57.064c0-1.949.849-3.544 2.547-4.785 1.698-1.242 3.798-1.862 6.302-1.862 2.463 0 4.53.67 6.202 2.012 1.67 1.341 2.506 3.093 2.506 5.256a8.644 8.644 0 01-.849 3.724c-.566 1.201-1.92 3.053-4.064 5.556a165.471 165.471 0 01-6.272 6.938h11.445l-1.019 5.726h-2.117c.08-.28.12-.534.12-.76 0-.388-.1-.631-.3-.731-.2-.1-.599-.15-1.198-.15H.08zm12.124 19.207c1.745.04 3.236.637 4.474 1.792 1.239 1.154 1.858 2.773 1.858 4.855 0 2.99-1.132 5.393-3.396 7.208-2.263 1.815-5 2.723-8.209 2.723-2.01 0-3.669-.384-4.974-1.151C.652 111.853 0 110.849 0 109.607c0-.774.27-1.398.809-1.872.54-.474 1.128-.71 1.768-.71.639 0 1.162.2 1.568.6.406.4.782 1.055 1.128 1.962.466 1.268 1.239 1.902 2.317 1.902 1.265 0 2.287-.477 3.066-1.431.78-.955 1.169-2.686 1.169-5.196 0-1.709-.12-3.023-.36-3.944-.24-.921-.792-1.382-1.658-1.382-.586 0-1.185.307-1.797.921-.493.494-.932.741-1.319.741-.333 0-.602-.147-.809-.44-.206-.294-.31-.574-.31-.841 0-.32.104-.594.31-.821.207-.227.69-.594 1.449-1.102 2.876-1.922 4.314-4.017 4.314-6.287 0-1.188-.306-2.092-.919-2.713a3.001 3.001 0 00-2.217-.93c-.799 0-1.525.263-2.177.79-.653.528-.979 1.158-.979 1.892 0 .641.253 1.235.76 1.782.172.2.259.367.259.5 0 .121-.57.428-1.708.922-1.139.494-1.854.74-2.147.74-.413 0-.75-.333-1.009-1-.26-.668-.39-1.282-.39-1.842 0-1.749.93-3.224 2.787-4.425 1.858-1.202 3.965-1.802 6.322-1.802 2.064 0 3.851.447 5.363 1.341 1.511.895 2.267 2.116 2.267 3.664 0 1.362-.57 2.623-1.708 3.784a13.387 13.387 0 01-3.945 2.784z\\\"/>\u003C/svg>\"},\"$:/core/images/list\":{\"title\":\"$:/core/images/list\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-list tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M87.748 128H23.999c-4.418 0-7.999-3.59-7.999-8.007V8.007C16 3.585 19.588 0 24 0h80c4.419 0 8 3.59 8 8.007V104H91.25c-.965 0-1.84.392-2.473 1.025a3.476 3.476 0 00-1.029 2.476V128zm8-.12l15.88-15.88h-15.88v15.88zM40 15.508A3.502 3.502 0 0143.5 12h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 20h-55a3.498 3.498 0 01-3.5-3.509v-.982zM32 22a6 6 0 100-12 6 6 0 000 12zm8 9.509A3.502 3.502 0 0143.5 28h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 36h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 44h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 52h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 60h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 68h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 76h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 84h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 92h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 100h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.505 3.505 0 0143.497 108h33.006A3.497 3.497 0 0180 111.509v.982A3.505 3.505 0 0176.503 116H43.497A3.497 3.497 0 0140 112.491v-.982zM32 38a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12z\\\"/>\u003C/svg>\"},\"$:/core/images/locked-padlock\":{\"title\":\"$:/core/images/locked-padlock\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-locked-padlock tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M96.472 64H105v32.01C105 113.674 90.674 128 73.001 128H56C38.318 128 24 113.677 24 96.01V64h8c.003-15.723.303-47.731 32.16-47.731 31.794 0 32.305 32.057 32.312 47.731zm-15.897 0H48.44c.002-16.287.142-32 15.719-32 15.684 0 16.977 16.136 16.415 32zM67.732 92.364A8.503 8.503 0 0064.5 76a8.5 8.5 0 00-3.498 16.25l-5.095 22.77H72.8l-5.07-22.656z\\\"/>\u003C/svg>\"},\"$:/core/images/mail\":{\"title\":\"$:/core/images/mail\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-mail tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M122.827 104.894a7.986 7.986 0 01-2.834.516H8.007c-.812 0-1.597-.12-2.335-.345l34.163-34.163 20.842 20.842a3.998 3.998 0 003.418 1.134 4.003 4.003 0 003.395-1.134L88.594 70.64c.075.09.155.176.24.26l33.993 33.994zm5.076-6.237c.064-.406.097-.823.097-1.247v-64c0-.669-.082-1.318-.237-1.94L94.23 65.006c.09.075.177.154.261.239l33.413 33.413zm-127.698.56A8.023 8.023 0 010 97.41v-64c0-.716.094-1.41.271-2.071l33.907 33.906L.205 99.218zM5.93 25.684a8.012 8.012 0 012.078-.273h111.986c.766 0 1.507.108 2.209.308L64.083 83.837 5.93 25.683z\\\"/>\u003C/svg>\"},\"$:/core/images/mastodon\":{\"title\":\"$:/core/images/mastodon\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-mastodon tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\\n \u003Cpath d=\\\"M112.716,76.735C111.231,85.764 99.411,95.646 85.836,97.561C78.757,98.559 71.787,99.476 64.355,99.073C52.201,98.415 42.61,95.646 42.61,95.646C42.61,97.044 42.683,98.374 42.829,99.619C44.409,113.79 54.723,114.639 64.493,115.035C74.354,115.434 83.134,112.163 83.134,112.163L83.539,122.695C83.539,122.695 76.642,127.071 64.355,127.875C57.58,128.315 49.167,127.674 39.369,124.61C18.118,117.965 14.463,91.202 13.904,64.048C13.733,55.985 13.839,48.383 13.839,42.024C13.839,14.257 29.238,6.118 29.238,6.118C37.002,1.905 50.326,0.134 64.177,-0L64.517,-0C78.369,0.134 91.701,1.905 99.465,6.118C99.465,6.118 114.864,14.257 114.864,42.024C114.864,42.024 115.057,62.511 112.716,76.735ZM96.7,44.179C96.7,37.307 95.219,31.847 92.245,27.807C89.177,23.767 85.16,21.696 80.174,21.696C74.403,21.696 70.034,24.316 67.146,29.556L64.337,35.118L61.529,29.556C58.64,24.316 54.271,21.696 48.501,21.696C43.514,21.696 39.497,23.767 36.43,27.807C33.455,31.847 31.974,37.307 31.974,44.179L31.974,77.8L43.249,77.8L43.249,45.167C43.249,38.288 45.699,34.796 50.599,34.796C56.017,34.796 58.733,38.938 58.733,47.128L58.733,64.99L69.941,64.99L69.941,47.128C69.941,38.938 72.657,34.796 78.075,34.796C82.975,34.796 85.425,38.288 85.425,45.167L85.425,77.8L96.7,77.8L96.7,44.179Z\\\"/>\\n\u003C/svg>\\n\"},\"$:/core/images/menu-button\":{\"title\":\"$:/core/images/menu-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-menu-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Crect width=\\\"128\\\" height=\\\"16\\\" y=\\\"16\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"128\\\" height=\\\"16\\\" y=\\\"56\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"128\\\" height=\\\"16\\\" y=\\\"96\\\" rx=\\\"8\\\"/>\u003C/svg>\"},\"$:/core/images/minus-button\":{\"title\":\"$:/core/images/minus-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-minus-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M64 0c35.346 0 64 28.654 64 64 0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64C0 28.654 28.654 0 64 0zm.332 16c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z\\\"/>\u003Crect width=\\\"80\\\" height=\\\"16\\\" x=\\\"24\\\" y=\\\"56\\\" rx=\\\"8\\\"/>\u003C/svg>\"},\"$:/core/images/mono-block\":{\"title\":\"$:/core/images/mono-block\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-mono-block tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M23.965 32.967h.357c.755 0 1.328.192 1.72.577.39.384.586.947.586 1.688 0 .824-.206 1.418-.618 1.782-.413.363-1.094.545-2.045.545h-6.31c-.965 0-1.65-.178-2.056-.535-.405-.356-.608-.954-.608-1.792 0-.811.203-1.391.608-1.74.406-.35 1.09-.525 2.055-.525h.734l-.86-2.453H8.471l-.902 2.453h.734c.95 0 1.632.178 2.044.535.413.356.619.933.619 1.73 0 .824-.206 1.418-.619 1.782-.412.363-1.094.545-2.044.545h-5.41c-.964 0-1.649-.182-2.054-.545-.406-.364-.608-.958-.608-1.782 0-.741.195-1.304.587-1.688.391-.385.964-.577 1.719-.577h.356l5.62-15.641H6.835c-.95 0-1.632-.182-2.044-.546-.412-.363-.619-.95-.619-1.76 0-.825.207-1.42.619-1.783.412-.363 1.094-.545 2.044-.545h7.863c1.244 0 2.118.67 2.62 2.013v.063l6.647 18.2zM12.98 17.326l-3.04 8.848h6.08l-3.04-8.848zm22.402 9.372v6.395h3.145c2.223 0 3.788-.245 4.697-.734.908-.49 1.362-1.307 1.362-2.453 0-1.16-.433-1.985-1.3-2.474-.866-.49-2.383-.734-4.55-.734h-3.354zm10.693-2.327c1.524.559 2.642 1.324 3.355 2.295.713.972 1.07 2.212 1.07 3.722 0 1.272-.308 2.432-.923 3.48-.615 1.049-1.496 1.909-2.642 2.58a7.499 7.499 0 01-2.254.849c-.832.174-2.01.262-3.533.262H30.202c-.922 0-1.583-.182-1.981-.545-.399-.364-.598-.958-.598-1.782 0-.741.189-1.304.566-1.688.378-.385.93-.577 1.657-.577h.356V17.326h-.356c-.727 0-1.28-.196-1.657-.587-.377-.392-.566-.965-.566-1.72 0-.81.203-1.401.608-1.771.406-.37 1.062-.556 1.971-.556h9.645c2.95 0 5.19.573 6.72 1.72 1.53 1.145 2.296 2.823 2.296 5.031 0 1.09-.234 2.052-.703 2.883-.468.832-1.163 1.513-2.086 2.045zM35.381 17.2v5.284h2.83c1.72 0 2.932-.203 3.638-.609.706-.405 1.06-1.09 1.06-2.054 0-.909-.319-1.573-.955-1.992-.636-.42-1.667-.63-3.093-.63h-3.48zm35.863-3.816c.28-.503.566-.86.86-1.07.293-.21.664-.314 1.111-.314.685 0 1.17.182 1.457.545.287.364.43.986.43 1.866l.042 5.452c0 .964-.157 1.614-.472 1.95-.314.335-.884.503-1.709.503-.587 0-1.037-.14-1.352-.42-.314-.28-.584-.796-.807-1.551-.364-1.328-.944-2.282-1.74-2.862-.797-.58-1.901-.87-3.313-.87-2.153 0-3.802.727-4.948 2.18-1.147 1.454-1.72 3.558-1.72 6.311 0 2.74.58 4.844 1.74 6.311 1.16 1.468 2.817 2.202 4.97 2.202 1.467 0 3.085-.49 4.854-1.468 1.768-.978 2.883-1.467 3.344-1.467.545 0 1.003.23 1.373.692.37.46.556 1.034.556 1.719 0 1.23-1.084 2.39-3.25 3.48-2.167 1.09-4.606 1.636-7.318 1.636-3.662 0-6.625-1.21-8.89-3.627-2.264-2.419-3.396-5.578-3.396-9.478 0-3.76 1.146-6.884 3.438-9.372 2.293-2.488 5.2-3.732 8.723-3.732.992 0 1.97.112 2.935.335.964.224 1.992.574 3.082 1.049zm10.22 19.583V17.326h-.356c-.755 0-1.328-.196-1.72-.587-.39-.392-.586-.965-.586-1.72 0-.81.21-1.401.629-1.771.42-.37 1.097-.556 2.034-.556h5.178c2.922 0 5.06.126 6.416.377 1.356.252 2.51.671 3.46 1.258 1.691 1.007 2.988 2.443 3.89 4.31.9 1.865 1.352 4.021 1.352 6.467 0 2.586-.514 4.847-1.541 6.783-1.028 1.936-2.485 3.4-4.372 4.393-.853.447-1.852.772-2.998.975-1.147.203-2.852.304-5.116.304h-6.269c-.965 0-1.65-.178-2.055-.535-.406-.356-.608-.954-.608-1.792 0-.741.195-1.304.587-1.688.391-.385.964-.577 1.72-.577h.356zm5.41-15.725v15.725h1.195c2.642 0 4.592-.646 5.85-1.94 1.258-1.292 1.887-3.28 1.887-5.965 0-2.641-.64-4.612-1.918-5.912-1.28-1.3-3.205-1.95-5.777-1.95-.335 0-.59.003-.765.01a7.992 7.992 0 00-.472.032zm35.067-.126h-9.75v5.368h3.69v-.252c0-.797.175-1.39.524-1.782.35-.392.88-.587 1.594-.587.629 0 1.142.178 1.54.534.4.357.598.808.598 1.353 0 .028.007.118.021.272.014.154.021.308.021.462v4.34c0 .936-.167 1.607-.503 2.013-.335.405-.88.608-1.635.608-.713 0-1.251-.19-1.615-.567-.363-.377-.545-.936-.545-1.677v-.377h-3.69v6.269h9.75v-2.495c0-.937.178-1.608.534-2.013.357-.405.94-.608 1.75-.608.798 0 1.367.2 1.71.597.342.399.513 1.073.513 2.024v5.074c0 .755-.146 1.258-.44 1.51-.293.251-.873.377-1.74.377h-17.172c-.923 0-1.583-.182-1.982-.545-.398-.364-.597-.958-.597-1.782 0-.741.189-1.304.566-1.688.377-.385.93-.577 1.656-.577h.357V17.326h-.357c-.712 0-1.261-.2-1.646-.598-.384-.398-.576-.968-.576-1.709 0-.81.203-1.401.608-1.771.405-.37 1.062-.556 1.97-.556h17.173c.853 0 1.43.13 1.73.388.3.258.45.772.45 1.54v4.698c0 .95-.174 1.631-.524 2.044-.35.412-.915.618-1.698.618-.81 0-1.394-.21-1.75-.629-.357-.419-.535-1.097-.535-2.033v-2.202zM19.77 47.641c.267-.504.55-.86.85-1.07.3-.21.675-.314 1.122-.314.685 0 1.17.181 1.457.545.287.363.43.985.43 1.866l.042 5.451c0 .965-.157 1.615-.472 1.95-.314.336-.891.504-1.73.504-.587 0-1.045-.144-1.373-.43-.329-.287-.598-.8-.807-1.541-.378-1.342-.958-2.3-1.74-2.873-.783-.573-1.88-.86-3.292-.86-2.153 0-3.799.727-4.938 2.181-1.14 1.454-1.709 3.557-1.709 6.311s.598 4.882 1.793 6.385C10.599 67.248 12.294 68 14.488 68c.503 0 1.077-.06 1.72-.179a23.809 23.809 0 002.264-.555v-3.313h-2.37c-.95 0-1.624-.175-2.023-.524-.398-.35-.597-.93-.597-1.74 0-.84.199-1.437.597-1.793.399-.357 1.073-.535 2.024-.535h7.569c.978 0 1.667.175 2.065.524.398.35.598.937.598 1.762 0 .74-.2 1.31-.598 1.708-.398.399-.975.598-1.73.598h-.335v5.242c0 .447-.05.758-.147.933-.098.174-.293.353-.587.534-.797.476-2.062.895-3.795 1.258a25.576 25.576 0 01-5.263.546c-3.662 0-6.625-1.21-8.89-3.628-2.264-2.418-3.397-5.577-3.397-9.477 0-3.76 1.147-6.884 3.44-9.372 2.292-2.488 5.199-3.732 8.721-3.732.979 0 1.954.112 2.925.335.972.224 2.003.573 3.093 1.049zm15.84 3.941v4.823h6.857v-4.823h-.336c-.754 0-1.331-.195-1.73-.587-.398-.391-.597-.964-.597-1.719 0-.825.206-1.419.619-1.782.412-.364 1.093-.545 2.044-.545h5.41c.95 0 1.624.181 2.023.545.398.363.597.957.597 1.782 0 .755-.192 1.328-.576 1.72-.385.39-.947.586-1.688.586h-.357v15.642h.357c.755 0 1.328.192 1.719.576.391.385.587.947.587 1.688 0 .825-.203 1.419-.608 1.782-.405.364-1.09.546-2.055.546h-5.41c-.964 0-1.649-.179-2.054-.535-.405-.357-.608-.954-.608-1.793 0-.74.2-1.303.598-1.688.398-.384.975-.576 1.73-.576h.335v-6.186h-6.856v6.186h.335c.755 0 1.331.192 1.73.576.398.385.597.947.597 1.688 0 .825-.206 1.419-.618 1.782-.412.364-1.094.546-2.044.546h-5.41c-.964 0-1.65-.179-2.055-.535-.405-.357-.608-.954-.608-1.793 0-.74.196-1.303.587-1.688.392-.384.965-.576 1.72-.576h.356V51.582h-.356c-.741 0-1.304-.195-1.688-.587-.385-.391-.577-.964-.577-1.719 0-.825.2-1.419.598-1.782.398-.364 1.073-.545 2.023-.545h5.41c.936 0 1.614.181 2.033.545.42.363.63.957.63 1.782 0 .755-.2 1.328-.598 1.72-.399.39-.975.586-1.73.586h-.335zm31.754 0v15.642h3.523c.95 0 1.632.178 2.044.534.412.357.618.933.618 1.73 0 .811-.21 1.402-.629 1.772-.419.37-1.097.556-2.033.556H58.433c-.95 0-1.632-.182-2.044-.546-.412-.363-.619-.957-.619-1.782 0-.81.203-1.39.608-1.74.406-.35 1.09-.524 2.055-.524h3.523V51.582h-3.523c-.95 0-1.632-.181-2.044-.545-.412-.363-.619-.95-.619-1.761 0-.825.203-1.412.608-1.761.406-.35 1.09-.524 2.055-.524h12.455c.992 0 1.684.174 2.075.524.392.35.587.936.587 1.761 0 .81-.202 1.398-.608 1.761-.405.364-1.09.545-2.054.545h-3.523zm30.496 0v11.994c0 1.873-.122 3.228-.367 4.067a5.876 5.876 0 01-1.227 2.244c-.74.852-1.768 1.495-3.082 1.929-1.314.433-2.893.65-4.738.65-1.3 0-2.555-.126-3.764-.378a16.843 16.843 0 01-3.491-1.132c-.615-.28-1.017-.643-1.206-1.09-.188-.448-.283-1.175-.283-2.18v-4.32c0-1.202.175-2.04.525-2.516.349-.475.957-.713 1.824-.713 1.244 0 1.929.915 2.054 2.747.014.321.035.566.063.733.168 1.622.545 2.73 1.133 3.324.587.594 1.523.89 2.81.89 1.593 0 2.714-.422 3.364-1.268.65-.845.975-2.386.975-4.623V51.582H88.93c-.95 0-1.632-.181-2.044-.545-.413-.363-.619-.95-.619-1.761 0-.825.2-1.412.598-1.761.398-.35 1.086-.524 2.065-.524h10.693c.979 0 1.667.174 2.065.524.399.35.598.936.598 1.761 0 .81-.206 1.398-.619 1.761-.412.364-1.093.545-2.044.545h-1.761zm14.644 0v6.353l6.48-6.478c-.728-.084-1.238-.29-1.531-.619-.294-.328-.44-.85-.44-1.562 0-.825.198-1.419.597-1.782.398-.364 1.073-.545 2.023-.545h5.137c.95 0 1.625.181 2.023.545.399.363.598.957.598 1.782 0 .769-.2 1.345-.598 1.73-.398.384-.982.576-1.75.576h-.483l-6.101 6.06c1.132.839 2.167 1.94 3.103 3.302.937 1.363 2.034 3.456 3.292 6.28h.692c.825 0 1.44.188 1.845.566.405.377.608.943.608 1.698 0 .825-.206 1.419-.619 1.782-.412.364-1.093.546-2.044.546h-2.579c-1.132 0-2.048-.762-2.746-2.286-.126-.28-.224-.503-.294-.67-.923-1.958-1.768-3.467-2.537-4.53a16.616 16.616 0 00-2.705-2.914l-1.97 1.887v3.92h.335c.755 0 1.331.193 1.73.577.398.385.597.947.597 1.688 0 .825-.206 1.419-.618 1.782-.413.364-1.094.546-2.045.546h-5.41c-.964 0-1.649-.179-2.054-.535-.405-.357-.608-.954-.608-1.793 0-.74.196-1.303.587-1.688.391-.384.965-.576 1.72-.576h.356V51.582h-.357c-.74 0-1.303-.195-1.687-.587-.385-.391-.577-.964-.577-1.719 0-.825.2-1.419.598-1.782.398-.364 1.072-.545 2.023-.545h5.41c.936 0 1.614.181 2.033.545.42.363.63.957.63 1.782 0 .755-.2 1.328-.598 1.72-.399.39-.975.586-1.73.586h-.336zM13.44 96.326l4.005-11.889c.251-.782.6-1.352 1.048-1.709.447-.356 1.041-.534 1.782-.534h3.271c.95 0 1.632.182 2.044.545.413.363.619.957.619 1.782 0 .755-.2 1.328-.598 1.72-.398.39-.975.587-1.73.587h-.335l.587 15.641h.357c.754 0 1.32.192 1.698.577.377.384.566.947.566 1.687 0 .825-.2 1.42-.598 1.783-.398.363-1.072.545-2.023.545h-4.718c-.95 0-1.624-.178-2.023-.535-.398-.356-.597-.954-.597-1.793 0-.74.192-1.303.576-1.687.385-.385.954-.577 1.709-.577h.335l-.293-12.79-3.061 9.52c-.224.712-.542 1.226-.954 1.54-.413.315-.982.472-1.709.472-.727 0-1.303-.157-1.73-.472-.426-.314-.751-.828-.975-1.54l-3.04-9.52-.294 12.79h.336c.755 0 1.324.192 1.709.577.384.384.576.947.576 1.687 0 .825-.202 1.42-.608 1.783-.405.363-1.076.545-2.013.545H2.621c-.937 0-1.608-.182-2.013-.545-.405-.364-.608-.958-.608-1.783 0-.74.192-1.303.577-1.687.384-.385.954-.577 1.708-.577h.336l.608-15.641h-.336c-.754 0-1.331-.196-1.73-.588-.398-.39-.597-.964-.597-1.719 0-.825.206-1.419.619-1.782.412-.363 1.093-.545 2.044-.545h3.27c.728 0 1.311.175 1.752.524.44.35.8.923 1.08 1.72l4.109 11.888zm30.454 2.054V86.828H42.74c-.922 0-1.583-.182-1.981-.546-.398-.363-.598-.95-.598-1.76 0-.812.2-1.402.598-1.773.398-.37 1.059-.555 1.981-.555h5.955c.909 0 1.566.185 1.97.555.406.37.609.961.609 1.772 0 .741-.192 1.31-.577 1.709-.384.398-.933.598-1.646.598h-.356v19.038c0 .657-.07 1.069-.21 1.237-.14.167-.454.251-.943.251h-2.097c-.67 0-1.143-.07-1.415-.21-.273-.14-.507-.384-.703-.733l-8.722-15.327v11.385h1.216c.909 0 1.559.175 1.95.524.392.35.587.93.587 1.74 0 .825-.199 1.42-.597 1.783-.399.363-1.045.545-1.94.545h-6.017c-.909 0-1.566-.182-1.971-.545-.406-.364-.608-.958-.608-1.783 0-.74.188-1.303.566-1.687.377-.385.936-.577 1.677-.577h.336V86.828h-.336c-.713 0-1.265-.2-1.656-.598-.392-.398-.587-.968-.587-1.709 0-.81.206-1.401.618-1.772.413-.37 1.066-.555 1.96-.555h3.44c.824 0 1.383.108 1.677.325.293.216.622.653.985 1.31l7.989 14.551zM64.66 86.366c-1.803 0-3.218.727-4.245 2.18-1.028 1.455-1.541 3.474-1.541 6.06 0 2.586.517 4.613 1.551 6.08 1.034 1.468 2.446 2.202 4.235 2.202 1.804 0 3.222-.73 4.257-2.19 1.034-1.461 1.551-3.492 1.551-6.092 0-2.586-.513-4.605-1.54-6.06-1.028-1.453-2.45-2.18-4.268-2.18zm0-4.864c3.44 0 6.27 1.23 8.492 3.69 2.223 2.46 3.334 5.598 3.334 9.414 0 3.844-1.104 6.99-3.313 9.436-2.208 2.446-5.046 3.669-8.513 3.669-3.424 0-6.255-1.234-8.491-3.701-2.237-2.467-3.355-5.602-3.355-9.404 0-3.83 1.108-6.971 3.323-9.424 2.216-2.454 5.057-3.68 8.523-3.68zM87.461 98.17v4.298h2.16c.908 0 1.555.175 1.94.524.384.35.576.93.576 1.74 0 .825-.196 1.42-.587 1.783-.392.363-1.035.545-1.93.545h-7.254c-.922 0-1.583-.182-1.981-.545-.399-.364-.598-.958-.598-1.783 0-.74.189-1.303.566-1.687.378-.385.93-.577 1.657-.577h.356V86.828h-.356c-.713 0-1.262-.2-1.646-.598-.385-.398-.577-.968-.577-1.709 0-.81.203-1.401.608-1.772.406-.37 1.063-.555 1.971-.555h8.66c3.424 0 6.014.657 7.768 1.97 1.754 1.315 2.631 3.25 2.631 5.809 0 2.697-.873 4.738-2.62 6.122-1.748 1.384-4.34 2.076-7.78 2.076h-3.564zm0-11.343v6.625h2.977c1.65 0 2.89-.28 3.722-.839.832-.559 1.248-1.397 1.248-2.516 0-1.048-.43-1.855-1.29-2.421-.86-.566-2.086-.85-3.68-.85h-2.977zm27.267 20.568l-1.636 1.636a12.37 12.37 0 011.772-.44c.58-.098 1.15-.147 1.709-.147 1.104 0 2.268.164 3.491.492 1.223.329 1.967.493 2.233.493.447 0 1.03-.15 1.75-.45.72-.301 1.206-.452 1.458-.452.517 0 .947.2 1.29.598.342.398.513.898.513 1.5 0 .796-.472 1.474-1.415 2.033-.944.56-2.1.839-3.47.839-.937 0-2.139-.22-3.607-.66-1.467-.441-2.53-.661-3.187-.661-.992 0-2.11.272-3.354.817-1.244.546-2.013.818-2.307.818a2.14 2.14 0 01-1.53-.597c-.42-.399-.63-.878-.63-1.437 0-.391.134-.807.4-1.247.265-.44.733-1.01 1.404-1.709l2.118-2.139c-2.335-.852-4.194-2.386-5.578-4.602-1.384-2.215-2.075-4.763-2.075-7.642 0-3.802 1.104-6.909 3.312-9.32 2.209-2.411 5.053-3.617 8.534-3.617 3.467 0 6.304 1.209 8.513 3.627 2.208 2.418 3.312 5.522 3.312 9.31 0 3.774-1.097 6.884-3.291 9.33-2.195 2.446-4.977 3.67-8.345 3.67a22.5 22.5 0 01-1.384-.043zm1.195-21.03c-1.803 0-3.218.727-4.246 2.18-1.027 1.455-1.54 3.474-1.54 6.06 0 2.586.516 4.613 1.55 6.08 1.035 1.468 2.447 2.202 4.236 2.202 1.803 0 3.222-.73 4.256-2.19 1.035-1.461 1.552-3.492 1.552-6.092 0-2.586-.514-4.605-1.541-6.06-1.028-1.453-2.45-2.18-4.267-2.18z\\\"/>\u003C/svg>\"},\"$:/core/images/mono-line\":{\"title\":\"$:/core/images/mono-line\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-mono-line tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M60.437 84.523h.908c1.922 0 3.381.489 4.378 1.468.997.979 1.495 2.411 1.495 4.298 0 2.1-.525 3.612-1.575 4.538-1.05.925-2.785 1.388-5.206 1.388h-16.07c-2.456 0-4.2-.454-5.232-1.361-1.032-.908-1.548-2.43-1.548-4.565 0-2.065.516-3.542 1.548-4.432 1.032-.89 2.776-1.334 5.232-1.334h1.869l-2.19-6.247H20.983l-2.296 6.247h1.87c2.42 0 4.155.453 5.205 1.361 1.05.908 1.575 2.376 1.575 4.405 0 2.1-.525 3.612-1.575 4.538-1.05.925-2.785 1.388-5.206 1.388H6.781c-2.456 0-4.2-.463-5.233-1.388C.516 93.9 0 92.389 0 90.289c0-1.887.498-3.32 1.495-4.298.997-.979 2.456-1.468 4.378-1.468h.908l14.308-39.83h-4.271c-2.42 0-4.156-.462-5.206-1.387-1.05-.926-1.575-2.42-1.575-4.485 0-2.1.525-3.613 1.575-4.538 1.05-.926 2.785-1.388 5.206-1.388h20.021c3.168 0 5.392 1.708 6.674 5.125v.16l16.924 46.343zm-27.976-39.83L24.72 67.225h15.483l-7.742-22.53zM89.506 68.56v16.284h8.008c5.66 0 9.646-.623 11.96-1.869 2.313-1.245 3.47-3.328 3.47-6.246 0-2.955-1.103-5.055-3.31-6.3-2.207-1.246-6.069-1.869-11.586-1.869h-8.542zm27.229-5.926c3.88 1.423 6.727 3.372 8.542 5.846 1.815 2.474 2.723 5.633 2.723 9.477 0 3.239-.783 6.193-2.35 8.862-1.565 2.67-3.808 4.859-6.726 6.567-1.709.997-3.622 1.718-5.74 2.163-2.118.445-5.116.667-8.996.667h-27.87c-2.349 0-4.03-.463-5.045-1.388-1.014-.926-1.521-2.438-1.521-4.538 0-1.887.48-3.32 1.441-4.298.961-.979 2.367-1.468 4.218-1.468h.907v-39.83h-.907c-1.851 0-3.257-.498-4.218-1.494-.961-.997-1.441-2.456-1.441-4.378 0-2.065.516-3.568 1.548-4.512 1.032-.943 2.705-1.414 5.018-1.414h24.56c7.51 0 13.214 1.459 17.111 4.377 3.898 2.92 5.847 7.19 5.847 12.814 0 2.776-.597 5.223-1.789 7.341-1.192 2.118-2.963 3.853-5.312 5.206zm-27.23-18.26v13.455h7.208c4.378 0 7.466-.516 9.264-1.549 1.797-1.032 2.696-2.776 2.696-5.232 0-2.313-.81-4.004-2.43-5.072-1.619-1.068-4.244-1.602-7.874-1.602h-8.863z\\\"/>\u003C/svg>\"},\"$:/core/images/network-activity\":{\"title\":\"$:/core/images/network-activity\",\"tags\":\"$:/tags/Image\",\"text\":\"\u003Csvg width=\\\"22pt\\\" height=\\\"22pt\\\" class=\\\"tc-image-network-activity tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg class={{{ [{$:/state/http-requests}match[0]then[]else[tc-network-activity-background]] }}}>\\n\u003C$list filter=\\\"[{$:/state/http-requests}match[0]]\\\" variable=\\\"ignore\\\">\\n\u003Cpath d=\\\"M64.043 45.153a4.002 4.002 0 0 1 4.367 2.21l.084.188 30.403 73.4a4 4 0 0 1-7.307 3.25l-.084-.188-3.103-7.49-8.898 8.899a3.985 3.985 0 0 1-2.624 1.166l-.205.005a3.987 3.987 0 0 1-2.828-1.171l-9.849-9.848-9.847 9.848a3.985 3.985 0 0 1-2.624 1.166l-.204.005a3.987 3.987 0 0 1-2.829-1.171l-8.899-8.9-3.102 7.491a4 4 0 1 1-7.391-3.062l30.403-73.4a4.001 4.001 0 0 1 4.495-2.39l.042-.008Zm13.636 56.74-8.023 8.024 7.02 7.019 8.023-8.022-7.02-7.02Zm-27.353.008-7.019 7.019 8.016 8.016 7.019-7.02-8.016-8.015Zm13.68-13.68-8.023 8.023 8.016 8.016 8.023-8.023-8.016-8.016Zm-8.971-8.971-4.687 11.315 8.001-8.001-3.314-3.314Zm17.933.009-3.305 3.305 7.979 7.979-4.674-11.284ZM64 57.607l-5.666 13.68c.096.072.188.15.278.232l.133.126 5.261 5.262 5.262-5.262c.128-.127.261-.244.4-.35L64 57.607Zm0-34.69a8 8 0 1 1 0 16 8 8 0 0 1 0-16Z\\\"/>\\n\u003C/$list>\\n\u003C$list filter=\\\"[{$:/state/http-requests}!match[0]]\\\" variable=\\\"ignore\\\">\\n\u003Cpath d=\\\"M109.395.952a4.002 4.002 0 0 1 3.787 2.708C117.529 11.62 120 20.753 120 30.462c0 15.186-6.044 28.96-15.858 39.047a4 4 0 1 1-6.47-4.626l-.12-.094C106.466 56.074 112 43.914 112 30.462c0-8.492-2.205-16.469-6.074-23.39l.054-.036a4 4 0 0 1 3.415-6.084Zm-90.762 0a4 4 0 0 1 3.072 6.562l.093.06A47.786 47.786 0 0 0 16 30.463c0 13.315 5.42 25.363 14.176 34.058l-.01.007a4 4 0 1 1-6.312 4.863l-.063.05C14.017 59.359 8 45.613 8 30.462c0-9.77 2.502-18.956 6.9-26.952A4.002 4.002 0 0 1 18.634.952Z\\\"/>\u003Cpath d=\\\"M64.043 44.698a4.002 4.002 0 0 1 4.367 2.21l.084.188 30.403 73.4a4 4 0 0 1-7.307 3.25l-.084-.188-3.103-7.49-8.898 8.9a3.985 3.985 0 0 1-2.624 1.166l-.205.005a3.987 3.987 0 0 1-2.828-1.172l-9.849-9.848-9.847 9.848a3.985 3.985 0 0 1-2.624 1.167l-.204.005a3.987 3.987 0 0 1-2.829-1.172l-8.899-8.899-3.102 7.49a4 4 0 0 1-7.391-3.061l30.403-73.4a4.001 4.001 0 0 1 4.495-2.39l.042-.009ZM77.68 101.44l-8.023 8.023 7.02 7.019 8.023-8.022-7.02-7.02Zm-27.353.007-7.019 7.019 8.016 8.016 7.019-7.019-8.016-8.016Zm13.68-13.68-8.023 8.023 8.016 8.016 8.023-8.023-8.016-8.016Zm-8.971-8.971L50.348 90.11l8.001-8.001-3.314-3.314Zm17.933.009-3.305 3.305 7.979 7.979-4.674-11.284ZM64 57.152l-5.666 13.68c.096.073.188.15.278.232l.133.127 5.261 5.261 5.262-5.261c.128-.128.261-.244.4-.351L64 57.152ZM38.503 1.058a4 4 0 0 1 2.7 6.952l.17-.175C35.582 13.625 32 21.625 32 30.462c0 8.838 3.582 16.838 9.374 22.629a4 4 0 0 1-5.659 5.658l-.01.01C28.473 51.52 24 41.526 24 30.485 24 19.567 28.374 9.67 35.466 2.453a3.995 3.995 0 0 1 3.037-1.395ZM89.369.952c1.14 0 2.17.478 2.899 1.244l.005-.006C99.518 9.43 104 19.434 104 30.485c0 10.826-4.3 20.648-11.287 27.85a4 4 0 1 1-6.054-5.213l-.032-.032C92.418 47.299 96 39.299 96 30.462c0-8.73-3.496-16.643-9.164-22.416A4 4 0 0 1 89.368.952Zm-39.282 11.14a4 4 0 0 1 2.59 7.048l.01.009A15.95 15.95 0 0 0 48 30.462a15.95 15.95 0 0 0 4.687 11.315l-.01.01a4 4 0 1 1-5.82 5.47l.173.177A23.925 23.925 0 0 1 40 30.462a23.925 23.925 0 0 1 7.03-16.97l.01.01a3.991 3.991 0 0 1 3.047-1.41Zm27.895.07a3.99 3.99 0 0 1 2.984 1.336l.006-.005A23.925 23.925 0 0 1 88 30.463a23.92 23.92 0 0 1-6.707 16.642l-.3.305a4 4 0 1 1-5.679-5.632v-.002A15.95 15.95 0 0 0 80 30.462a15.95 15.95 0 0 0-4.685-11.312 4.012 4.012 0 0 1-1.333-2.987 4 4 0 0 1 4-4ZM64 22.463a8 8 0 1 1 0 16 8 8 0 0 1 0-16Z\\\"/>\\n\u003C/$list>\\n\u003C/g>\u003C/svg>\"},\"$:/core/images/new-button\":{\"title\":\"$:/core/images/new-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-new-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M56 72H8.007C3.591 72 0 68.418 0 64c0-4.41 3.585-8 8.007-8H56V8.007C56 3.591 59.582 0 64 0c4.41 0 8 3.585 8 8.007V56h47.993c4.416 0 8.007 3.582 8.007 8 0 4.41-3.585 8-8.007 8H72v47.993c0 4.416-3.582 8.007-8 8.007-4.41 0-8-3.585-8-8.007V72z\\\"/>\u003C/svg>\"},\"$:/core/images/new-here-button\":{\"title\":\"$:/core/images/new-here-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-new-here-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M55.838 20.935l-3.572.938c-3.688.968-8.23 4.43-10.136 7.731L3.37 96.738c-1.905 3.3-.771 7.524 2.534 9.432l33.717 19.466c3.297 1.904 7.53.78 9.435-2.521l38.76-67.134c1.905-3.3 2.632-8.963 1.623-12.646L83.285 20.88c-1.009-3.68-4.821-5.884-8.513-4.915l-7.603 1.995.043.287c.524 3.394 2.053 7.498 4.18 11.55.418.163.829.36 1.23.59a8.864 8.864 0 014.438 8.169c.104.132.21.264.316.395l-.386.318a8.663 8.663 0 01-1.082 3.137c-2.42 4.192-7.816 5.608-12.051 3.163-4.12-2.379-5.624-7.534-3.476-11.671-2.177-4.394-3.788-8.874-4.543-12.964z\\\"/>\u003Cpath d=\\\"M69.554 44.76c-5.944-7.476-10.74-17.196-11.955-25.059-1.68-10.875 3.503-18.216 15.082-18.04 10.407.158 19.975 5.851 24.728 13.785 5.208 8.695 2.95 17.868-6.855 20.496l-2.037-7.601c4.232-1.134 4.999-4.248 2.24-8.853-3.37-5.626-10.465-9.848-18.146-9.965-6.392-.097-8.31 2.62-7.323 9.01.999 6.465 5.318 15.138 10.582 21.65l-.072.06c.559 1.553-4.17 6.44-5.938 4.888l-.005.004-.028-.034a1.323 1.323 0 01-.124-.135 2.618 2.618 0 01-.149-.205z\\\"/>\u003Crect width=\\\"16\\\" height=\\\"48\\\" x=\\\"96\\\" y=\\\"80\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"48\\\" height=\\\"16\\\" x=\\\"80\\\" y=\\\"96\\\" rx=\\\"8\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/new-image-button\":{\"title\":\"$:/core/images/new-image-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-new-image-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M81.362 73.627l15.826-27.41a2.626 2.626 0 00-.962-3.59l-50.01-28.872a2.626 2.626 0 00-3.588.961L30.058 36.49l10.04-5.261c3.042-1.595 6.771.114 7.55 3.46l3.607 17.702 9.88.85a5.25 5.25 0 014.571 3.77c.034.115.1.344.199.671.165.553.353 1.172.562 1.843.595 1.914 1.23 3.85 1.872 5.678.207.588.412 1.156.614 1.701.625 1.685 1.209 3.114 1.725 4.207.255.54.485.977.726 1.427.214.212.547.425 1.011.622 1.141.482 2.784.74 4.657.758.864.008 1.71-.034 2.492-.11.448-.043.753-.085.871-.104.315-.053.625-.077.927-.076zM37.47 2.649A5.257 5.257 0 0144.649.725l63.645 36.746a5.257 5.257 0 011.923 7.178L73.47 108.294a5.257 5.257 0 01-7.177 1.923L2.649 73.47a5.257 5.257 0 01-1.924-7.177L37.471 2.649zm42.837 50.49a5.25 5.25 0 105.25-9.092 5.25 5.25 0 00-5.25 9.093zM96 112h-7.993c-4.419 0-8.007-3.582-8.007-8 0-4.41 3.585-8 8.007-8H96v-7.993C96 83.588 99.582 80 104 80c4.41 0 8 3.585 8 8.007V96h7.993c4.419 0 8.007 3.582 8.007 8 0 4.41-3.585 8-8.007 8H112v7.993c0 4.419-3.582 8.007-8 8.007-4.41 0-8-3.585-8-8.007V112zM33.347 51.791c7.428 7.948 9.01 10.69 7.449 13.394-1.56 2.703-13.838-2.328-16.094 1.58-2.256 3.908-.907 3.258-2.437 5.908l19.73 11.39s-5.605-8.255-4.235-10.628c2.515-4.356 8.77-1.256 10.365-4.019 2.414-4.181-5.103-9.639-14.778-17.625z\\\"/>\u003C/svg>\"},\"$:/core/images/new-journal-button\":{\"title\":\"$:/core/images/new-journal-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\u003C$parameters size=\\\"22pt\\\" day=\u003C\u003Cnow \\\"DD\\\">>>\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-new-journal-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M102.545 112.818v11.818c0 1.306 1.086 2.364 2.425 2.364h6.06c1.34 0 2.425-1.058 2.425-2.364v-11.818h12.12c1.34 0 2.425-1.058 2.425-2.363v-5.91c0-1.305-1.085-2.363-2.424-2.363h-12.121V90.364c0-1.306-1.086-2.364-2.425-2.364h-6.06c-1.34 0-2.425 1.058-2.425 2.364v11.818h-12.12c-1.34 0-2.425 1.058-2.425 2.363v5.91c0 1.305 1.085 2.363 2.424 2.363h12.121zM60.016 4.965c-4.781-2.76-10.897-1.118-13.656 3.66L5.553 79.305A9.993 9.993 0 009.21 92.963l51.04 29.468c4.78 2.76 10.897 1.118 13.655-3.66l40.808-70.681a9.993 9.993 0 00-3.658-13.656L60.016 4.965zm-3.567 27.963a6 6 0 106-10.393 6 6 0 00-6 10.393zm31.697 17.928a6 6 0 106-10.392 6 6 0 00-6 10.392z\\\"/>\u003Ctext class=\\\"tc-fill-background\\\" font-family=\\\"Helvetica\\\" font-size=\\\"47.172\\\" font-weight=\\\"bold\\\" transform=\\\"rotate(30 25.742 95.82)\\\">\u003Ctspan x=\\\"42\\\" y=\\\"77.485\\\" text-anchor=\\\"middle\\\">\u003C$text text=\u003C\u003Cday>>/>\u003C/tspan>\u003C/text>\u003C/g>\u003C/svg>\u003C/$parameters>\"},\"$:/core/images/opacity\":{\"title\":\"$:/core/images/opacity\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-opacity tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M102.362 65a51.595 51.595 0 01-1.942 6H82.584a35.867 35.867 0 002.997-6h16.78zm.472-2c.423-1.961.734-3.963.929-6H87.656a35.78 35.78 0 01-1.368 6h16.546zm-3.249 10a51.847 51.847 0 01-3.135 6H75.812a36.205 36.205 0 005.432-6h18.341zm-4.416 8c-1.424 2.116-3 4.12-4.71 6H60.46a35.843 35.843 0 0012.874-6h21.834zm-7.513-34h16.107C101.247 20.627 79.033 0 52 0 23.281 0 0 23.281 0 52c0 25.228 17.965 46.26 41.8 51h20.4a51.66 51.66 0 0015.875-6H39v-2h42.25a52.257 52.257 0 007.288-6H39v-2h4.539C27.739 83.194 16 68.968 16 52c0-19.882 16.118-36 36-36 18.186 0 33.222 13.484 35.656 31zm.22 2h16.039a52.823 52.823 0 010 6H87.877a36.483 36.483 0 000-6z\\\"/>\u003Cpath d=\\\"M76 128c28.719 0 52-23.281 52-52s-23.281-52-52-52-52 23.281-52 52 23.281 52 52 52zm0-16c19.882 0 36-16.118 36-36S95.882 40 76 40 40 56.118 40 76s16.118 36 36 36z\\\"/>\u003Cpath d=\\\"M37 58h53v4H37v-4zm3-8h53v4H40v-4zm0-8h53v4H40v-4zm-8 24h53v4H32v-4zm-2 8h53v4H30v-4zm-3 8h53v4H27v-4z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/open-window\":{\"title\":\"$:/core/images/open-window\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-open-window tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M16 112h88.994c3.87 0 7.006 3.59 7.006 8 0 4.418-3.142 8-7.006 8H7.006C3.136 128 0 124.41 0 120a9.321 9.321 0 010-.01V24.01C0 19.586 3.59 16 8 16c4.418 0 8 3.584 8 8.01V112z\\\"/>\u003Cpath d=\\\"M96 43.196V56a8 8 0 1016 0V24c0-4.41-3.585-8-8.007-8H72.007C67.588 16 64 19.582 64 24c0 4.41 3.585 8 8.007 8H84.57l-36.3 36.299a8 8 0 00-.001 11.316c3.117 3.117 8.19 3.123 11.316-.003L96 43.196zM32 7.999C32 3.581 35.588 0 40 0h80c4.419 0 8 3.588 8 8v80c0 4.419-3.588 8-8 8H40c-4.419 0-8-3.588-8-8V8z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/options-button\":{\"title\":\"$:/core/images/options-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-options-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M110.488 76a47.712 47.712 0 01-5.134 12.384l6.724 6.724c3.123 3.123 3.132 8.192.011 11.313l-5.668 5.668c-3.12 3.12-8.186 3.117-11.313-.01l-6.724-6.725c-3.82 2.258-7.98 4-12.384 5.134v9.505c0 4.417-3.578 8.007-7.992 8.007h-8.016C55.58 128 52 124.415 52 119.993v-9.505a47.712 47.712 0 01-12.384-5.134l-6.724 6.725c-3.123 3.122-8.192 3.131-11.313.01l-5.668-5.668c-3.12-3.12-3.116-8.186.01-11.313l6.725-6.724c-2.257-3.82-4-7.98-5.134-12.384H8.007C3.591 76 0 72.422 0 68.01v-8.017C0 55.58 3.585 52 8.007 52h9.505a47.712 47.712 0 015.134-12.383l-6.724-6.725c-3.123-3.122-3.132-8.191-.011-11.312l5.668-5.669c3.12-3.12 8.186-3.116 11.313.01l6.724 6.725c3.82-2.257 7.98-4 12.384-5.134V8.007C52 3.591 55.578 0 59.992 0h8.016C72.42 0 76 3.585 76 8.007v9.505a47.712 47.712 0 0112.384 5.134l6.724-6.724c3.123-3.123 8.192-3.132 11.313-.01l5.668 5.668c3.12 3.12 3.116 8.186-.01 11.312l-6.725 6.725c2.257 3.82 4 7.979 5.134 12.383h9.505c4.416 0 8.007 3.578 8.007 7.992v8.017c0 4.411-3.585 7.991-8.007 7.991h-9.505zM64 96c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32z\\\"/>\u003C/svg>\"},\"$:/core/images/paint\":{\"title\":\"$:/core/images/paint\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-paint tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M83.527 76.19C90.43 69.287 91.892 59 87.91 50.665l37.903-37.902c2.919-2.92 2.913-7.659 0-10.572a7.474 7.474 0 00-10.572 0L77.338 40.093c-8.335-3.982-18.622-2.521-25.526 4.383l31.715 31.715zm-2.643 2.644L49.169 47.119S8.506 81.243 0 80.282c0 0 3.782 5.592 6.827 8.039 14.024-5.69 37.326-24.6 37.326-24.6l.661.66S19.45 90.222 9.18 92.047c1.222 1.44 4.354 4.053 6.247 5.776 5.417-1.488 34.733-28.57 34.733-28.57l.661.66-32.407 31.022 5.285 5.286L56.106 75.2l.662.66s-27.864 30.536-28.684 32.432c0 0 6.032 6.853 7.569 7.824.702-2.836 27.884-33.485 27.884-33.485l.661.66s-20.597 23.755-24.964 36.732c3.21 3.549 7.5 5.137 10.926 6.298-2.19-11.817 30.724-47.487 30.724-47.487z\\\"/>\u003C/svg>\"},\"$:/core/images/palette\":{\"title\":\"$:/core/images/palette\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-palette tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M80.247 39.182a93.52 93.52 0 00-16.228-1.4C28.662 37.781 0 57.131 0 81.002c0 9.642 4.676 18.546 12.58 25.735C23.504 91.19 26.34 72.395 36.89 63.562c15.183-12.713 26.538-7.828 26.538-7.828l16.82-16.552zm26.535 9.655c13.049 7.913 21.257 19.392 21.257 32.166 0 9.35.519 17.411-11.874 25.08-10.797 6.681-3.824-6.536-11.844-10.898s-19.946 1.308-18.213 7.906c3.2 12.181 19.422 11.455 6.314 16.658-13.107 5.202-18.202 4.476-28.403 4.476-7.821 0-15.315-.947-22.243-2.68 9.844-4.197 27.88-12.539 33.354-19.456C82.788 92.409 87.37 80 83.324 72.484c-.194-.359 11.215-11.668 23.458-23.647zM1.134 123.867l-.66.002c33.479-14.94 22.161-64.226 58.818-64.226.317 1.418.644 2.944 1.062 4.494-25.907-4.166-23.567 48.031-59.22 59.73zm.713-.007c38.872-.506 78.152-22.347 78.152-44.813-9.27 0-14.073-3.48-16.816-7.942-16.597-7.003-30.365 45.715-61.336 52.755zm65.351-64.008c-4.45 4.115 4.886 16.433 11.318 11.318l45.27-45.27c11.317-11.318 0-22.635-11.318-11.318-11.317 11.318-33.518 34.405-45.27 45.27z\\\"/>\u003C/svg>\"},\"$:/core/images/permalink-button\":{\"title\":\"$:/core/images/permalink-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-permalink-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M80.483 48l-7.387 32h-25.58l7.388-32h25.58zm3.694-16l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L100.598 32h3.403c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8h-7.096l-7.387 32H104c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8H85.824l-5.624 24.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L69.402 96h-25.58L38.2 120.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L27.402 96h-3.403C19.59 96 16 92.418 16 88c0-4.41 3.581-8 8-8h7.096l7.387-32H24C19.59 48 16 44.418 16 40c0-4.41 3.581-8 8-8h18.177l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L58.598 32h25.58z\\\"/>\u003C/svg>\"},\"$:/core/images/permaview-button\":{\"title\":\"$:/core/images/permaview-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-permaview-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M81.483 48l-1.846 8h-5.58l1.847-8h5.58zm3.694-16l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L101.598 32h2.403c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8h-6.096l-1.847 8h7.944c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8H92.364l-1.846 8H104c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8H86.824l-5.624 24.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L70.402 96h-5.58L59.2 120.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L48.402 96h-5.58L37.2 120.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L26.402 96h-2.403C19.59 96 16 92.418 16 88c0-4.41 3.581-8 8-8h6.096l1.847-8h-7.944C19.59 72 16 68.418 16 64c0-4.41 3.581-8 8-8h11.637l1.846-8H24C19.59 48 16 44.418 16 40c0-4.41 3.581-8 8-8h17.177l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L57.598 32h5.58L68.8 7.642c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L79.598 32h5.58zM53.904 48l-1.847 8h5.58l1.846-8h-5.579zm22.039 24l-1.847 8h-5.58l1.847-8h5.58zm-27.58 0l-1.846 8h5.579l1.847-8h-5.58z\\\"/>\u003C/svg>\"},\"$:/core/images/picture\":{\"title\":\"$:/core/images/picture\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-picture tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M112 68.233v-48.23A4.001 4.001 0 00107.997 16H20.003A4.001 4.001 0 0016 20.003v38.31l9.241-14.593c2.8-4.422 9.023-5.008 12.6-1.186l18.247 20.613 13.687-6.407a8 8 0 018.903 1.492 264.97 264.97 0 002.92 2.739 249.44 249.44 0 006.798 6.066 166.5 166.5 0 002.106 1.778c2.108 1.747 3.967 3.188 5.482 4.237.748.518 1.383.92 2.044 1.33.444.117 1.046.144 1.809.05 1.873-.233 4.238-1.144 6.723-2.547a36.016 36.016 0 003.205-2.044c.558-.4.93-.686 1.07-.802.376-.31.765-.577 1.165-.806zM0 8.007A8.01 8.01 0 018.007 0h111.986A8.01 8.01 0 01128 8.007v111.986a8.01 8.01 0 01-8.007 8.007H8.007A8.01 8.01 0 010 119.993V8.007zM95 42a8 8 0 100-16 8 8 0 000 16zM32 76c15.859 4.83 20.035 7.244 20.035 12S32 95.471 32 102.347c0 6.876 1.285 4.99 1.285 9.653H68s-13.685-6.625-13.685-10.8c0-7.665 10.615-8.34 10.615-13.2 0-7.357-14.078-8.833-32.93-12z\\\"/>\u003C/svg>\"},\"$:/core/images/plugin-generic-language\":{\"title\":\"$:/core/images/plugin-generic-language\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> viewBox=\\\"0 0 128 128\\\" class=\\\"tc-image-plugin-generic-language tc-image-button\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M61.207 68.137c-4.324 2.795-6.999 6.656-6.999 10.921 0 7.906 9.19 14.424 21.042 15.336 2.162 3.902 8.598 6.785 16.318 7.01-5.126-1.125-9.117-3.742-10.62-7.01C92.805 93.487 102 86.967 102 79.059c0-8.53-10.699-15.445-23.896-15.445-6.599 0-12.572 1.729-16.897 4.524zm12.794-14.158c-4.324 2.795-10.298 4.524-16.897 4.524-2.619 0-5.14-.272-7.497-.775-3.312 2.25-8.383 3.69-14.067 3.69l-.255-.002c4.119-.892 7.511-2.747 9.478-5.13-6.925-2.704-11.555-7.617-11.555-13.228 0-8.53 10.699-15.445 23.896-15.445C70.301 27.613 81 34.528 81 43.058c0 4.265-2.675 8.126-6.999 10.921zM64 0l54.56 32v64L64 128 9.44 96V32L64 0z\\\"/>\u003C/svg>\"},\"$:/core/images/plugin-generic-plugin\":{\"title\":\"$:/core/images/plugin-generic-plugin\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> viewBox=\\\"0 0 128 128\\\" class=\\\"tc-image-plugin-generic-plugin tc-image-button\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M40.397 76.446V95.34h14.12l-.001-.005a6.912 6.912 0 005.364-11.593l.046-.023a6.912 6.912 0 119.979.526l.086.055a6.914 6.914 0 004.408 10.948l-.023.092h21.32V75.568l-.15.038a6.912 6.912 0 00-11.593-5.364l-.022-.046a6.912 6.912 0 11.526-9.979l.055-.086a6.914 6.914 0 0010.948-4.408c.079.018.158.038.236.059v-15.74h-21.32l.023-.094a6.914 6.914 0 01-4.408-10.947 10.23 10.23 0 00-.086-.055 6.912 6.912 0 10-9.979-.526l-.046.023a6.912 6.912 0 01-5.364 11.593l.001.005h-14.12v12.847A6.912 6.912 0 0129.5 59.843l-.054.086a6.912 6.912 0 10-.526 9.979l.023.046a6.912 6.912 0 0111.455 6.492zM64 0l54.56 32v64L64 128 9.44 96V32L64 0z\\\"/>\u003C/svg>\"},\"$:/core/images/plugin-generic-theme\":{\"title\":\"$:/core/images/plugin-generic-theme\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> viewBox=\\\"0 0 128 128\\\" class=\\\"tc-image-plugin-generic-theme tc-image-button\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M29.408 91.472L51.469 69.41l-.004-.005a2.22 2.22 0 01.004-3.146c.87-.87 2.281-.872 3.147-.005l9.465 9.464a2.22 2.22 0 01-.005 3.147c-.87.87-2.28.871-3.147.005l-.005-.005-22.061 22.062a6.686 6.686 0 11-9.455-9.455zM60.802 66.38c-2.436-2.704-4.465-5.091-5.817-6.869-6.855-9.014-10.313-4.268-14.226 0-3.913 4.268 1.03 7.726-2.683 10.741-3.713 3.015-3.484 4.06-9.752-1.455-6.267-5.516-6.7-7.034-3.823-10.181 2.877-3.147 5.281 1.808 11.159-3.785 5.877-5.593.94-10.55.94-10.55s12.237-25.014 28.588-23.167c16.351 1.848-6.186-2.392-11.792 17.226-2.4 8.4.447 6.42 4.998 9.968 1.394 1.086 6.03 4.401 11.794 8.685l20.677-20.676 1.615-4.766 7.84-4.689 3.151 3.152-4.688 7.84-4.766 1.615-20.224 20.223c12.663 9.547 28.312 22.146 28.312 26.709 0 7.217-3.071 11.526-9.535 9.164-4.693-1.715-18.768-15.192-28.753-25.897l-2.893 2.893-3.151-3.152 3.029-3.029zM63.953 0l54.56 32v64l-54.56 32-54.56-32V32l54.56-32z\\\"/>\u003C/svg>\"},\"$:/core/images/plus-button\":{\"title\":\"$:/core/images/plus-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-plus-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M64-.333c35.346 0 64 28.654 64 64 0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64zM64 16c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z\\\"/>\u003Crect width=\\\"80\\\" height=\\\"16\\\" x=\\\"24\\\" y=\\\"56\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"16\\\" height=\\\"80\\\" x=\\\"56\\\" y=\\\"24\\\" rx=\\\"8\\\"/>\u003C/svg>\"},\"$:/core/images/preview-closed\":{\"title\":\"$:/core/images/preview-closed\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-preview-closed tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M.088 64a7.144 7.144 0 001.378 5.458C16.246 88.818 39.17 100.414 64 100.414c24.83 0 47.753-11.596 62.534-30.956A7.144 7.144 0 00127.912 64C110.582 78.416 88.304 87.086 64 87.086 39.696 87.086 17.418 78.416.088 64z\\\"/>\u003Crect width=\\\"4\\\" height=\\\"16\\\" x=\\\"62\\\" y=\\\"96\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"4\\\" height=\\\"16\\\" x=\\\"78\\\" y=\\\"93\\\" rx=\\\"4\\\" transform=\\\"rotate(-5 80 101)\\\"/>\u003Crect width=\\\"4\\\" height=\\\"16\\\" x=\\\"46\\\" y=\\\"93\\\" rx=\\\"4\\\" transform=\\\"rotate(5 48 101)\\\"/>\u003Crect width=\\\"4\\\" height=\\\"16\\\" x=\\\"30\\\" y=\\\"88\\\" rx=\\\"4\\\" transform=\\\"rotate(10 32 96)\\\"/>\u003Crect width=\\\"4\\\" height=\\\"16\\\" x=\\\"94\\\" y=\\\"88\\\" rx=\\\"4\\\" transform=\\\"rotate(-10 96 96)\\\"/>\u003Crect width=\\\"4\\\" height=\\\"16\\\" x=\\\"110\\\" y=\\\"80\\\" rx=\\\"4\\\" transform=\\\"rotate(-20 112 88)\\\"/>\u003Crect width=\\\"4\\\" height=\\\"16\\\" x=\\\"14\\\" y=\\\"80\\\" rx=\\\"4\\\" transform=\\\"rotate(20 16 88)\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/preview-open\":{\"title\":\"$:/core/images/preview-open\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-preview-open tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M64.11 99.588c-24.83 0-47.754-11.596-62.534-30.957a7.148 7.148 0 010-8.675C16.356 40.596 39.28 29 64.11 29c24.83 0 47.753 11.596 62.534 30.956a7.148 7.148 0 010 8.675c-14.78 19.36-37.703 30.957-62.534 30.957zm46.104-32.007c1.44-1.524 1.44-3.638 0-5.162C99.326 50.9 82.439 44 64.147 44S28.968 50.9 18.08 62.42c-1.44 1.523-1.44 3.637 0 5.16C28.968 79.1 45.855 86 64.147 86s35.179-6.9 46.067-18.42z\\\"/>\u003Cpath d=\\\"M63.5 88C76.479 88 87 77.479 87 64.5S76.479 41 63.5 41 40 51.521 40 64.5 50.521 88 63.5 88z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/print-button\":{\"title\":\"$:/core/images/print-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-print-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M112 71V30.5h-.032c-.035-2-.816-3.99-2.343-5.516L86.998 2.357A7.978 7.978 0 0081 .02V0H24a8 8 0 00-8 8v63h8V8h57v14.5c0 4.422 3.582 8 8 8h15V71h8z\\\"/>\u003Crect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"36\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"64\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"52\\\" rx=\\\"4\\\"/>\u003Crect width=\\\"40\\\" height=\\\"8\\\" x=\\\"32\\\" y=\\\"20\\\" rx=\\\"4\\\"/>\u003Cpath d=\\\"M0 80.005C0 71.165 7.156 64 16 64h96c8.836 0 16 7.155 16 16.005v31.99c0 8.84-7.156 16.005-16 16.005H16c-8.836 0-16-7.155-16-16.005v-31.99zM104 96a8 8 0 100-16 8 8 0 000 16z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/quote\":{\"title\":\"$:/core/images/quote\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-quote tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M51.219 117.713V62.199H27.427c0-8.891 1.683-16.401 5.047-22.53 3.365-6.127 9.613-10.754 18.745-13.878V2c-7.45.961-14.36 3.184-20.728 6.669-6.368 3.484-11.835 7.87-16.401 13.157C9.524 27.113 5.98 33.241 3.456 40.21.933 47.18-.21 54.63.03 62.56v55.153H51.22zm76.781 0V62.199h-23.791c0-8.891 1.682-16.401 5.046-22.53 3.365-6.127 9.613-10.754 18.745-13.878V2c-7.45.961-14.359 3.184-20.727 6.669-6.369 3.484-11.836 7.87-16.402 13.157-4.566 5.287-8.11 11.415-10.634 18.384-2.523 6.97-3.665 14.42-3.424 22.35v55.153H128z\\\"/>\u003C/svg>\"},\"$:/core/images/refresh-button\":{\"title\":\"$:/core/images/refresh-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-refresh-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M106.369 39.433c10.16 20.879 6.57 46.764-10.771 64.106-21.87 21.87-57.327 21.87-79.196 0-21.87-21.87-21.87-57.326 0-79.196a8 8 0 1111.314 11.314c-15.621 15.62-15.621 40.947 0 56.568 15.62 15.621 40.947 15.621 56.568 0C97.72 78.79 99.6 58.175 89.924 42.73l-6.44 12.264a8 8 0 11-14.166-7.437L84.435 18.76a8 8 0 0110.838-3.345l28.873 15.345a8 8 0 11-7.51 14.129l-10.267-5.457zm-8.222-12.368c-.167-.19-.336-.38-.506-.57l.96-.296-.454.866z\\\"/>\u003C/svg>\"},\"$:/core/images/right-arrow\":{\"title\":\"$:/core/images/right-arrow\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-right-arrow tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M99.069 64.173c0 2.027-.77 4.054-2.316 5.6l-55.98 55.98a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196l50.382-50.382-50.382-50.382a7.92 7.92 0 010-11.195c3.086-3.085 8.104-3.092 11.196 0l55.98 55.98a7.892 7.892 0 012.316 5.595z\\\"/>\u003C/svg>\"},\"$:/core/images/rotate-left\":{\"title\":\"$:/core/images/rotate-left\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-rotate-left tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Crect width=\\\"32\\\" height=\\\"80\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"80\\\" height=\\\"32\\\" x=\\\"48\\\" y=\\\"96\\\" rx=\\\"8\\\"/>\u003Cpath d=\\\"M61.32 36.65c19.743 2.45 35.023 19.287 35.023 39.693a4 4 0 01-8 0c0-15.663-11.254-28.698-26.117-31.46l3.916 3.916a4 4 0 11-5.657 5.657L49.172 43.142a4 4 0 010-5.657l11.313-11.313a4 4 0 115.657 5.656l-4.821 4.822z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/save-button-dynamic\":{\"title\":\"$:/core/images/save-button-dynamic\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-save-button-dynamic tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\\n\u003Cg class=\\\"tc-image-save-button-dynamic-clean\\\">\\n\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M120.783 34.33c4.641 8.862 7.266 18.948 7.266 29.646 0 35.347-28.653 64-64 64-35.346 0-64-28.653-64-64 0-35.346 28.654-64 64-64 18.808 0 35.72 8.113 47.43 21.03l2.68-2.68c3.13-3.13 8.197-3.132 11.321-.008 3.118 3.118 3.121 8.193-.007 11.32l-4.69 4.691zm-12.058 12.058a47.876 47.876 0 013.324 17.588c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48c14.39 0 27.3 6.332 36.098 16.362L58.941 73.544 41.976 56.578c-3.127-3.127-8.201-3.123-11.32-.005-3.123 3.124-3.119 8.194.006 11.319l22.617 22.617a7.992 7.992 0 005.659 2.347c2.05 0 4.101-.783 5.667-2.349l44.12-44.12z\\\"/>\\n\u003C/g>\\n\u003Cg class=\\\"tc-image-save-button-dynamic-dirty\\\">\\n\u003Cpath d=\\\"M64.856912,0 C100.203136,0 128.856912,28.653776 128.856912,64 C128.856912,99.346224 100.203136,128 64.856912,128 C29.510688,128 0.856911958,99.346224 0.856911958,64 C0.856911958,28.653776 29.510688,0 64.856912,0 Z M64.856912,16 C38.347244,16 16.856912,37.490332 16.856912,64 C16.856912,90.509668 38.347244,112 64.856912,112 C91.3665799,112 112.856912,90.509668 112.856912,64 C112.856912,37.490332 91.3665799,16 64.856912,16 Z\\\">\u003C/path>\\n\u003Ccircle cx=\\\"65\\\" cy=\\\"64\\\" r=\\\"32\\\">\u003C/circle>\\n\u003C/g>\\n\u003C/svg>\"},\"$:/core/images/save-button\":{\"title\":\"$:/core/images/save-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-save-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M120.783 34.33c4.641 8.862 7.266 18.948 7.266 29.646 0 35.347-28.653 64-64 64-35.346 0-64-28.653-64-64 0-35.346 28.654-64 64-64 18.808 0 35.72 8.113 47.43 21.03l2.68-2.68c3.13-3.13 8.197-3.132 11.321-.008 3.118 3.118 3.121 8.193-.007 11.32l-4.69 4.691zm-12.058 12.058a47.876 47.876 0 013.324 17.588c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48c14.39 0 27.3 6.332 36.098 16.362L58.941 73.544 41.976 56.578c-3.127-3.127-8.201-3.123-11.32-.005-3.123 3.124-3.119 8.194.006 11.319l22.617 22.617a7.992 7.992 0 005.659 2.347c2.05 0 4.101-.783 5.667-2.349l44.12-44.12z\\\"/>\u003C/svg>\"},\"$:/core/images/size\":{\"title\":\"$:/core/images/size\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-size tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M92.343 26l-9.171 9.172a4 4 0 105.656 5.656l16-16a4 4 0 000-5.656l-16-16a4 4 0 10-5.656 5.656L92.343 18H22a4 4 0 00-4 4v70.343l-9.172-9.171a4 4 0 10-5.656 5.656l16 16a4 4 0 005.656 0l16-16a4 4 0 10-5.656-5.656L26 92.343V22l-4 4h70.343zM112 52v64l4-4H52a4 4 0 100 8h64a4 4 0 004-4V52a4 4 0 10-8 0z\\\"/>\u003C/svg>\"},\"$:/core/images/spiral\":{\"title\":\"$:/core/images/spiral\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-spiral tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M64.534 68.348c3.39 0 6.097-2.62 6.476-5.968l-4.755-.538 4.75.583c.377-3.07-1.194-6.054-3.89-7.78-2.757-1.773-6.34-2.01-9.566-.7-3.46 1.403-6.14 4.392-7.35 8.148l-.01.026c-1.3 4.08-.72 8.64 1.58 12.52 2.5 4.2 6.77 7.2 11.76 8.27 5.37 1.15 11.11-.05 15.83-3.31 5.04-3.51 8.46-9.02 9.45-15.3 1.05-6.7-.72-13.63-4.92-19.19l.02.02c-4.42-5.93-11.2-9.82-18.78-10.78-7.96-1.01-16.13 1.31-22.59 6.43-6.81 5.39-11.18 13.41-12.11 22.26-.98 9.27 1.87 18.65 7.93 26.02 6.32 7.69 15.6 12.56 25.74 13.48 10.54.96 21.15-2.42 29.45-9.4l.01-.01c8.58-7.25 13.94-17.78 14.86-29.21.94-11.84-2.96-23.69-10.86-32.9-8.19-9.5-19.95-15.36-32.69-16.27-13.16-.94-26.24 3.49-36.34 12.34l.01-.01c-10.41 9.08-16.78 22.1-17.68 36.15-.93 14.44 4.03 28.77 13.79 39.78 10.03 11.32 24.28 18.2 39.6 19.09 15.73.92 31.31-4.56 43.24-15.234 12.23-10.954 19.61-26.44 20.5-43.074a4.785 4.785 0 00-4.52-5.03 4.778 4.778 0 00-5.03 4.52c-.75 14.1-7 27.2-17.33 36.45-10.03 8.98-23.11 13.58-36.3 12.81-12.79-.75-24.67-6.48-33-15.89-8.07-9.11-12.17-20.94-11.41-32.827.74-11.52 5.942-22.15 14.43-29.54l.01-.01c8.18-7.17 18.74-10.75 29.35-9.998 10.21.726 19.6 5.41 26.11 12.96 6.24 7.273 9.32 16.61 8.573 25.894-.718 8.9-4.88 17.064-11.504 22.66l.01-.007c-6.36 5.342-14.44 7.92-22.425 7.19-7.604-.68-14.52-4.314-19.21-10.027-4.44-5.4-6.517-12.23-5.806-18.94.67-6.3 3.76-11.977 8.54-15.766 4.46-3.54 10.05-5.128 15.44-4.44 5.03.63 9.46 3.18 12.32 7.01l.02.024c2.65 3.5 3.75 7.814 3.1 11.92-.59 3.71-2.58 6.925-5.45 8.924-2.56 1.767-5.61 2.403-8.38 1.81-2.42-.516-4.42-1.92-5.53-3.79-.93-1.56-1.15-3.3-.69-4.75l-4.56-1.446L59.325 65c.36-1.12 1.068-1.905 1.84-2.22.25-.103.48-.14.668-.13.06.006.11.015.14.025.01 0 .01 0-.01-.01a1.047 1.047 0 01-.264-.332c-.15-.29-.23-.678-.18-1.11l-.005.04c.15-1.332 1.38-2.523 3.035-2.523-2.65 0-4.79 2.144-4.79 4.787s2.14 4.785 4.78 4.785z\\\"/>\u003C/svg>\"},\"$:/core/images/stamp\":{\"title\":\"$:/core/images/stamp\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-stamp tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M49.733 64H16.01C11.584 64 8 67.583 8 72.003V97h112V72.003A8 8 0 00111.99 64H78.267A22.813 22.813 0 0175.5 53.077c0-6.475 2.687-12.324 7.009-16.497A22.818 22.818 0 0087 22.952C87 10.276 76.703 0 64 0S41 10.276 41 22.952c0 5.103 1.669 9.817 4.491 13.628 4.322 4.173 7.009 10.022 7.009 16.497 0 3.954-1.002 7.675-2.767 10.923zM8 104h112v8H8v-8z\\\"/>\u003C/svg>\"},\"$:/core/images/star-filled\":{\"title\":\"$:/core/images/star-filled\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-star-filled tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M61.836 96.823l37.327 27.287c2.72 1.99 6.379-.69 5.343-3.912L90.29 75.988l-1.26 3.91 37.285-27.345c2.718-1.993 1.32-6.327-2.041-6.33l-46.113-.036 3.3 2.416L67.176 4.416c-1.04-3.221-5.563-3.221-6.604 0L46.29 48.603l3.3-2.416-46.113.036c-3.362.003-4.759 4.337-2.04 6.33L38.72 79.898l-1.26-3.91-14.216 44.21c-1.036 3.223 2.622 5.901 5.343 3.912l37.326-27.287h-4.078z\\\"/>\u003C/svg>\"},\"$:/core/images/storyview-classic\":{\"title\":\"$:/core/images/storyview-classic\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-storyview-classic tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M8.007 0A8.01 8.01 0 000 8.007v111.986A8.01 8.01 0 008.007 128h111.986a8.01 8.01 0 008.007-8.007V8.007A8.01 8.01 0 00119.993 0H8.007zm15.992 16C19.581 16 16 19.578 16 23.992v16.016C16 44.422 19.588 48 24 48h80c4.419 0 8-3.578 8-7.992V23.992c0-4.414-3.588-7.992-8-7.992H24zm0 48C19.581 64 16 67.59 16 72c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24zm0 32C19.581 96 16 99.59 16 104c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24z\\\"/>\u003C/svg>\"},\"$:/core/images/storyview-pop\":{\"title\":\"$:/core/images/storyview-pop\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-storyview-pop tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M8.007 0A8.01 8.01 0 000 8.007v111.986A8.01 8.01 0 008.007 128h111.986a8.01 8.01 0 008.007-8.007V8.007A8.01 8.01 0 00119.993 0H8.007zm15.992 16C19.581 16 16 19.578 16 23.992v16.016C16 44.422 19.588 48 24 48h80c4.419 0 8-3.578 8-7.992V23.992c0-4.414-3.588-7.992-8-7.992H24zm-7.99 40C11.587 56 8 59.578 8 63.992v16.016C8 84.422 11.584 88 16.01 88h95.98c4.424 0 8.01-3.578 8.01-7.992V63.992c0-4.414-3.584-7.992-8.01-7.992H16.01zM24 96C19.581 96 16 99.59 16 104c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24zm0-32C19.581 64 16 67.59 16 72c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24z\\\"/>\u003C/svg>\"},\"$:/core/images/storyview-zoomin\":{\"title\":\"$:/core/images/storyview-zoomin\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-storyview-zoomin tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M8.007 0A8.01 8.01 0 000 8.007v111.986A8.01 8.01 0 008.007 128h111.986a8.01 8.01 0 008.007-8.007V8.007A8.01 8.01 0 00119.993 0H8.007zm15.992 16A8 8 0 0016 24.009V71.99C16 76.414 19.588 80 24 80h80a8 8 0 008-8.009V24.01c0-4.423-3.588-8.009-8-8.009H24z\\\"/>\u003C/svg>\"},\"$:/core/images/strikethrough\":{\"title\":\"$:/core/images/strikethrough\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-strikethrough tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M92.794 38.726h15.422c-.229-6.74-1.514-12.538-3.856-17.393-2.342-4.855-5.54-8.881-9.596-12.08-4.055-3.199-8.767-5.54-14.136-7.025C75.258.743 69.433 0 63.15 0a62.76 62.76 0 00-16.364 2.142C41.474 3.57 36.733 5.74 32.564 8.653c-4.17 2.913-7.511 6.626-10.025 11.138-2.513 4.512-3.77 9.853-3.77 16.022 0 5.597 1.115 10.252 3.342 13.965 2.228 3.712 5.198 6.74 8.91 9.081 3.713 2.342 7.911 4.227 12.595 5.655a194.641 194.641 0 0014.308 3.77c4.855 1.085 9.624 2.142 14.308 3.17 4.683 1.028 8.881 2.37 12.594 4.027 3.713 1.656 6.683 3.798 8.91 6.425 2.228 2.628 3.342 6.055 3.342 10.281 0 4.456-.914 8.111-2.742 10.967a19.953 19.953 0 01-7.197 6.768c-2.97 1.657-6.311 2.828-10.024 3.513a60.771 60.771 0 01-11.052 1.028c-4.57 0-9.025-.571-13.366-1.713-4.34-1.143-8.139-2.913-11.394-5.312-3.256-2.4-5.884-5.455-7.883-9.168-1.999-3.712-2.998-8.139-2.998-13.28H15c0 7.426 1.342 13.852 4.027 19.278 2.684 5.426 6.34 9.881 10.966 13.365 4.627 3.484 9.996 6.083 16.107 7.797 6.112 1.713 12.595 2.57 19.449 2.57 5.597 0 11.223-.657 16.878-1.97 5.655-1.314 10.767-3.428 15.336-6.34 4.57-2.914 8.31-6.683 11.224-11.31 2.913-4.626 4.37-10.195 4.37-16.707 0-6.054-1.115-11.08-3.342-15.079-2.228-3.998-5.198-7.31-8.91-9.938-3.713-2.627-7.911-4.712-12.595-6.254a170.83 170.83 0 00-14.308-4.027 549.669 549.669 0 00-14.308-3.17c-4.683-.971-8.881-2.2-12.594-3.684-3.713-1.485-6.683-3.399-8.91-5.74-2.228-2.342-3.342-5.398-3.342-9.168 0-3.998.771-7.34 2.313-10.024 1.543-2.685 3.599-4.826 6.17-6.426 2.57-1.599 5.51-2.741 8.824-3.427a49.767 49.767 0 0110.11-1.028c8.453 0 15.393 1.97 20.819 5.912 5.426 3.94 8.596 10.31 9.51 19.106z\\\"/>\u003Cpath d=\\\"M5 54h118v16H5z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/subscript\":{\"title\":\"$:/core/images/subscript\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-subscript tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M2.272 16h19.91l21.649 33.675L66.414 16h18.708L53.585 61.969l33.809 49.443H67.082L43.296 74.93l-24.187 36.48H0L33.808 61.97 2.272 16zM127.91 128.412H85.328c.059-5.168 1.306-9.681 3.741-13.542 2.435-3.86 5.761-7.216 9.978-10.066a112.388 112.388 0 016.325-4.321 50.09 50.09 0 006.058-4.499c1.841-1.603 3.356-3.34 4.543-5.211 1.188-1.871 1.812-4.024 1.871-6.46 0-1.128-.133-2.33-.4-3.607a9.545 9.545 0 00-1.56-3.564c-.772-1.098-1.84-2.019-3.207-2.761-1.366-.743-3.148-1.114-5.345-1.114-2.02 0-3.697.4-5.033 1.203-1.337.801-2.406 1.9-3.208 3.296-.801 1.396-1.395 3.044-1.781 4.944-.386 1.9-.609 3.95-.668 6.147H86.486c0-3.445.46-6.637 1.38-9.577.921-2.94 2.302-5.478 4.143-7.617 1.841-2.138 4.083-3.815 6.726-5.033 2.643-1.217 5.716-1.826 9.22-1.826 3.802 0 6.979.623 9.533 1.87 2.554 1.248 4.617 2.822 6.191 4.722 1.574 1.9 2.688 3.965 3.341 6.192.653 2.227.98 4.35.98 6.37 0 2.494-.386 4.75-1.158 6.77a21.803 21.803 0 01-3.118 5.568 31.516 31.516 0 01-4.454 4.677 66.788 66.788 0 01-5.167 4.009 139.198 139.198 0 01-5.346 3.563 79.237 79.237 0 00-4.944 3.386c-1.514 1.128-2.836 2.3-3.964 3.518-1.129 1.218-1.9 2.51-2.317 3.876h30.379v9.087z\\\"/>\u003C/svg>\"},\"$:/core/images/superscript\":{\"title\":\"$:/core/images/superscript\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-superscript tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M2.272 16h19.91l21.649 33.675L66.414 16h18.708L53.585 61.969l33.809 49.443H67.082L43.296 74.93l-24.187 36.48H0L33.808 61.97 2.272 16zM127.91 63.412H85.328c.059-5.168 1.306-9.681 3.741-13.542 2.435-3.86 5.761-7.216 9.978-10.066a112.388 112.388 0 016.325-4.321 50.09 50.09 0 006.058-4.499c1.841-1.603 3.356-3.34 4.543-5.211 1.188-1.871 1.812-4.024 1.871-6.46 0-1.128-.133-2.33-.4-3.607a9.545 9.545 0 00-1.56-3.564c-.772-1.098-1.84-2.019-3.207-2.761-1.366-.743-3.148-1.114-5.345-1.114-2.02 0-3.697.4-5.033 1.203-1.337.801-2.406 1.9-3.208 3.296-.801 1.396-1.395 3.044-1.781 4.944-.386 1.9-.609 3.95-.668 6.147H86.486c0-3.445.46-6.637 1.38-9.577.921-2.94 2.302-5.478 4.143-7.617 1.841-2.138 4.083-3.815 6.726-5.033 2.643-1.217 5.716-1.826 9.22-1.826 3.802 0 6.979.623 9.533 1.87 2.554 1.248 4.617 2.822 6.191 4.722 1.574 1.9 2.688 3.965 3.341 6.192.653 2.227.98 4.35.98 6.37 0 2.494-.386 4.75-1.158 6.77a21.803 21.803 0 01-3.118 5.568 31.516 31.516 0 01-4.454 4.677 66.788 66.788 0 01-5.167 4.009 139.198 139.198 0 01-5.346 3.563 79.237 79.237 0 00-4.944 3.386c-1.514 1.128-2.836 2.3-3.964 3.518-1.129 1.218-1.9 2.51-2.317 3.876h30.379v9.087z\\\"/>\u003C/svg>\"},\"$:/core/images/tag-button\":{\"title\":\"$:/core/images/tag-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-tag-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M18.164 47.66l.004 4.105c.003 3.823 2.19 9.097 4.885 11.792l61.85 61.85c2.697 2.697 7.068 2.69 9.769-.01L125.767 94.3a6.903 6.903 0 00.01-9.77L63.928 22.683c-2.697-2.697-7.976-4.88-11.796-4.881l-27.076-.007a6.902 6.902 0 00-6.91 6.91l.008 9.96.287.033c3.73.411 8.489-.044 13.365-1.153a9.702 9.702 0 0111.14-3.662l.291-.13.128.285a9.7 9.7 0 013.3 2.17c3.796 3.796 3.801 9.945.012 13.734-3.618 3.618-9.386 3.777-13.204.482-5.365 1.122-10.674 1.596-15.309 1.237z\\\"/>\u003Cpath d=\\\"M47.633 39.532l.023.051c-9.689 4.356-21.584 6.799-30.396 5.828C5.273 44.089-1.028 36.43 2.443 24.078 5.562 12.976 14.3 4.361 24.047 1.548c10.68-3.083 19.749 1.968 19.749 13.225h-8.623c0-4.859-3.078-6.573-8.735-4.94-6.91 1.995-13.392 8.383-15.694 16.577-1.915 6.818.417 9.653 7.46 10.43 7.126.785 17.531-1.352 25.917-5.121l.027.06.036-.017c1.76-.758 6.266 6.549 3.524 7.74a2.8 2.8 0 01-.075.03z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/theme-button\":{\"title\":\"$:/core/images/theme-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-theme-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M55.854 66.945a122.626 122.626 0 01-3.9-4.819c-11.064-14.548-16.645-6.888-22.96 0-6.315 6.888 1.664 12.47-4.33 17.335-5.993 4.866-5.623 6.552-15.737-2.35-10.115-8.9-10.815-11.351-6.172-16.43 4.644-5.08 8.524 2.918 18.01-6.108 9.485-9.026 1.517-17.026 1.517-17.026S42.03-2.824 68.42.157c26.39 2.982-9.984-3.86-19.031 27.801-3.874 13.556.72 10.362 8.066 16.087 1.707 1.33 6.428 4.732 12.671 9.318-6.129 5.879-11.157 10.669-14.273 13.582zm11.641 12.947c16.013 17.036 37.742 37.726 45.117 40.42 10.432 3.813 15.388-3.141 15.388-14.79 0-7.151-23.83-26.542-43.924-41.769-7.408 7.156-13.376 12.953-16.58 16.139z\\\"/>\u003Cpath d=\\\"M11.069 109.828L46.31 74.587a3.56 3.56 0 115.037-5.032l15.098 15.098a3.56 3.56 0 11-5.032 5.037l-35.24 35.241c-4.171 4.17-10.933 4.17-15.104 0-4.17-4.17-4.17-10.933 0-15.103zM124.344 6.622l5.034 5.034-7.49 12.524-7.613 2.58L61.413 79.62l-5.034-5.034 52.861-52.862 2.58-7.614 12.524-7.49z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/timestamp-off\":{\"title\":\"$:/core/images/timestamp-off\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-timestamp-off tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M58.25 11C26.08 11 0 37.082 0 69.25s26.08 58.25 58.25 58.25c32.175 0 58.25-26.082 58.25-58.25S90.425 11 58.25 11zm0 100.5C34.914 111.5 16 92.586 16 69.25 16 45.92 34.914 27 58.25 27s42.25 18.92 42.25 42.25c0 23.336-18.914 42.25-42.25 42.25zM49.704 10a5 5 0 010-10H66.69a5 5 0 015 5c.006 2.757-2.238 5-5 5H49.705z\\\"/>\u003Cpath d=\\\"M58.25 35.88c-18.777 0-33.998 15.224-33.998 33.998 0 18.773 15.22 34.002 33.998 34.002 18.784 0 34.002-15.23 34.002-34.002 0-18.774-15.218-33.998-34.002-33.998zm-3.03 50.123H44.196v-34H55.22v34zm16.976 0H61.17v-34h11.025v34z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/timestamp-on\":{\"title\":\"$:/core/images/timestamp-on\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-timestamp-on tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M58.25 11C26.08 11 0 37.082 0 69.25s26.08 58.25 58.25 58.25c32.175 0 58.25-26.082 58.25-58.25S90.425 11 58.25 11zm0 100.5C34.914 111.5 16 92.586 16 69.25 16 45.92 34.914 27 58.25 27s42.25 18.92 42.25 42.25c0 23.336-18.914 42.25-42.25 42.25zM49.704 10a5 5 0 010-10H66.69a5 5 0 015 5c.006 2.757-2.238 5-5 5H49.705z\\\"/>\u003Cpath d=\\\"M13.41 27.178a5.005 5.005 0 01-7.045-.613 5.008 5.008 0 01.616-7.047l9.95-8.348a5 5 0 016.429 7.661l-9.95 8.348zm89.573 0a5.005 5.005 0 007.045-.613 5.008 5.008 0 00-.616-7.047l-9.95-8.348a5 5 0 00-6.428 7.661l9.95 8.348zM65.097 71.072c0 3.826-3.09 6.928-6.897 6.928-3.804.006-6.9-3.102-6.903-6.928 0 0 4.76-39.072 6.903-39.072s6.897 39.072 6.897 39.072z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/tip\":{\"title\":\"$:/core/images/tip\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-tip tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M64 128.242c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64-35.346 0-64 28.654-64 64 0 35.346 28.654 64 64 64zm11.936-36.789c-.624 4.129-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349C54.33 94.05 58.824 95.82 64 95.82c5.175 0 9.67-1.769 11.936-4.366zm0 4.492c-.624 4.13-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349 2.266 2.597 6.76 4.366 11.936 4.366 5.175 0 9.67-1.769 11.936-4.366zm0 4.456c-.624 4.129-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349 2.266 2.597 6.76 4.366 11.936 4.366 5.175 0 9.67-1.769 11.936-4.366zm0 4.492c-.624 4.13-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349 2.266 2.597 6.76 4.366 11.936 4.366 5.175 0 9.67-1.769 11.936-4.366zM64.3 24.242c11.618 0 23.699 7.82 23.699 24.2S75.92 71.754 75.92 83.576c0 5.873-5.868 9.26-11.92 9.26s-12.027-3.006-12.027-9.26C51.973 71.147 40 65.47 40 48.442s12.683-24.2 24.301-24.2z\\\"/>\u003C/svg>\"},\"$:/core/images/transcludify\":{\"title\":\"$:/core/images/transcludify\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-transcludify-button tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M0 59.482c.591 0 1.36-.089 2.306-.266a10.417 10.417 0 002.75-.932 6.762 6.762 0 002.306-1.907c.651-.828.976-1.863.976-3.104V35.709c0-2.01.414-3.74 1.242-5.19.828-1.448 1.833-2.66 3.016-3.636s2.425-1.7 3.726-2.173c1.3-.473 2.424-.71 3.37-.71h8.073v7.451h-4.88c-1.241 0-2.232.207-2.97.621-.74.414-1.302.932-1.686 1.552a4.909 4.909 0 00-.71 1.996c-.089.71-.133 1.39-.133 2.04v16.677c0 1.715-.325 3.134-.976 4.258-.65 1.123-1.434 2.025-2.35 2.705-.917.68-1.863 1.168-2.839 1.464-.976.296-1.818.473-2.528.532v.178c.71.059 1.552.207 2.528.443.976.237 1.922.68 2.839 1.33.916.651 1.7 1.583 2.35 2.795.65 1.212.976 2.853.976 4.923v16.144c0 .65.044 1.33.133 2.04.089.71.325 1.375.71 1.996.384.621.946 1.139 1.685 1.553.74.414 1.73.62 2.972.62h4.879v7.452h-8.073c-.946 0-2.07-.237-3.37-.71-1.301-.473-2.543-1.197-3.726-2.173-1.183-.976-2.188-2.188-3.016-3.637-.828-1.449-1.242-3.179-1.242-5.19V74.119c0-1.42-.325-2.572-.976-3.46-.65-.886-1.419-1.581-2.306-2.084a8.868 8.868 0 00-2.75-1.02C1.36 67.377.591 67.288 0 67.288v-7.806zm24.66 0c.591 0 1.36-.089 2.306-.266a10.417 10.417 0 002.75-.932 6.762 6.762 0 002.306-1.907c.65-.828.976-1.863.976-3.104V35.709c0-2.01.414-3.74 1.242-5.19.828-1.448 1.833-2.66 3.016-3.636s2.425-1.7 3.726-2.173c1.3-.473 2.424-.71 3.37-.71h8.073v7.451h-4.88c-1.241 0-2.232.207-2.97.621-.74.414-1.302.932-1.686 1.552a4.909 4.909 0 00-.71 1.996c-.089.71-.133 1.39-.133 2.04v16.677c0 1.715-.325 3.134-.976 4.258-.65 1.123-1.434 2.025-2.35 2.705-.917.68-1.863 1.168-2.839 1.464-.976.296-1.818.473-2.528.532v.178c.71.059 1.552.207 2.528.443.976.237 1.922.68 2.839 1.33.916.651 1.7 1.583 2.35 2.795.65 1.212.976 2.853.976 4.923v16.144c0 .65.044 1.33.133 2.04.089.71.325 1.375.71 1.996.384.621.946 1.139 1.685 1.553.74.414 1.73.62 2.972.62h4.879v7.452h-8.073c-.946 0-2.07-.237-3.37-.71-1.301-.473-2.543-1.197-3.726-2.173-1.183-.976-2.188-2.188-3.016-3.637-.828-1.449-1.242-3.179-1.242-5.19V74.119c0-1.42-.325-2.572-.976-3.46-.65-.886-1.419-1.581-2.306-2.084a8.868 8.868 0 00-2.75-1.02c-.946-.177-1.715-.266-2.306-.266v-7.806zm43.965-3.538L80.6 52.041l2.306 7.097-12.063 3.903 7.628 10.378-6.12 4.435-7.63-10.467-7.45 10.201-5.943-4.524 7.628-10.023-12.152-4.17 2.306-7.096 12.064 4.17V43.347h7.451v12.596zm34.425 11.344c-.65 0-1.449.089-2.395.266-.946.177-1.863.488-2.75.931a6.356 6.356 0 00-2.262 1.908c-.62.828-.931 1.862-.931 3.104v17.564c0 2.01-.414 3.74-1.242 5.189-.828 1.449-1.833 2.661-3.016 3.637s-2.425 1.7-3.726 2.173c-1.3.473-2.424.71-3.37.71h-8.073v-7.451h4.88c1.241 0 2.232-.207 2.97-.621.74-.414 1.302-.932 1.686-1.553a4.9 4.9 0 00.71-1.995c.089-.71.133-1.39.133-2.04V72.432c0-1.715.325-3.134.976-4.258.65-1.124 1.434-2.01 2.35-2.661.917-.65 1.863-1.124 2.839-1.42.976-.295 1.818-.502 2.528-.62v-.178c-.71-.059-1.552-.207-2.528-.443-.976-.237-1.922-.68-2.839-1.33-.916-.651-1.7-1.583-2.35-2.795-.65-1.212-.976-2.853-.976-4.923V37.66c0-.651-.044-1.331-.133-2.04a4.909 4.909 0 00-.71-1.997c-.384-.62-.946-1.138-1.685-1.552-.74-.414-1.73-.62-2.972-.62h-4.879V24h8.073c.946 0 2.07.237 3.37.71 1.301.473 2.543 1.197 3.726 2.173 1.183.976 2.188 2.188 3.016 3.637.828 1.449 1.242 3.178 1.242 5.189v16.943c0 1.419.31 2.572.931 3.46a6.897 6.897 0 002.262 2.084 8.868 8.868 0 002.75 1.02c.946.177 1.745.266 2.395.266v7.806zm24.66 0c-.65 0-1.449.089-2.395.266-.946.177-1.863.488-2.75.931a6.356 6.356 0 00-2.262 1.908c-.62.828-.931 1.862-.931 3.104v17.564c0 2.01-.414 3.74-1.242 5.189-.828 1.449-1.833 2.661-3.016 3.637s-2.425 1.7-3.726 2.173c-1.3.473-2.424.71-3.37.71h-8.073v-7.451h4.88c1.241 0 2.232-.207 2.97-.621.74-.414 1.302-.932 1.686-1.553a4.9 4.9 0 00.71-1.995c.089-.71.133-1.39.133-2.04V72.432c0-1.715.325-3.134.976-4.258.65-1.124 1.434-2.01 2.35-2.661.917-.65 1.863-1.124 2.839-1.42.976-.295 1.818-.502 2.528-.62v-.178c-.71-.059-1.552-.207-2.528-.443-.976-.237-1.922-.68-2.839-1.33-.916-.651-1.7-1.583-2.35-2.795-.65-1.212-.976-2.853-.976-4.923V37.66c0-.651-.044-1.331-.133-2.04a4.909 4.909 0 00-.71-1.997c-.384-.62-.946-1.138-1.685-1.552-.74-.414-1.73-.62-2.972-.62h-4.879V24h8.073c.946 0 2.07.237 3.37.71 1.301.473 2.543 1.197 3.726 2.173 1.183.976 2.188 2.188 3.016 3.637.828 1.449 1.242 3.178 1.242 5.189v16.943c0 1.419.31 2.572.931 3.46a6.897 6.897 0 002.262 2.084 8.868 8.868 0 002.75 1.02c.946.177 1.745.266 2.395.266v7.806z\\\"/>\u003C/svg>\"},\"$:/core/images/twitter\":{\"title\":\"$:/core/images/twitter\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-twitter tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M41.626 115.803A73.376 73.376 0 012 104.235c2.022.238 4.08.36 6.166.36 12.111 0 23.258-4.117 32.105-11.023-11.312-.208-20.859-7.653-24.148-17.883a25.98 25.98 0 0011.674-.441C15.971 72.881 7.061 62.474 7.061 49.997c0-.108 0-.216.002-.323a25.824 25.824 0 0011.709 3.22c-6.936-4.617-11.5-12.5-11.5-21.433 0-4.719 1.274-9.142 3.5-12.945 12.75 15.579 31.797 25.83 53.281 26.904-.44-1.884-.67-3.85-.67-5.868 0-14.22 11.575-25.75 25.852-25.75a25.865 25.865 0 0118.869 8.132 51.892 51.892 0 0016.415-6.248c-1.93 6.012-6.029 11.059-11.366 14.246A51.844 51.844 0 00128 25.878a52.428 52.428 0 01-12.9 13.33c.05 1.104.075 2.214.075 3.33 0 34.028-26 73.265-73.549 73.265\\\"/>\u003C/svg>\"},\"$:/core/images/underline\":{\"title\":\"$:/core/images/underline\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-underline tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M7 117.421h114.248V128H7v-10.579zm97.871-18.525V0h-16.26v55.856c0 4.463-.605 8.576-1.816 12.338-1.212 3.762-3.03 7.046-5.452 9.851-2.423 2.806-5.452 4.974-9.086 6.504-3.635 1.53-7.939 2.296-12.912 2.296-6.25 0-11.159-1.786-14.73-5.356-3.57-3.571-5.356-8.417-5.356-14.538V0H23v65.038c0 5.356.542 10.234 1.626 14.633 1.084 4.4 2.965 8.194 5.643 11.382 2.678 3.188 6.185 5.643 10.52 7.365 4.337 1.721 9.756 2.582 16.26 2.582 7.27 0 13.582-1.435 18.938-4.304 5.356-2.87 9.755-7.365 13.199-13.486h.382v15.686h15.303z\\\"/>\u003C/svg>\"},\"$:/core/images/unfold-all-button\":{\"title\":\"$:/core/images/unfold-all-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-unfold-all tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Crect width=\\\"128\\\" height=\\\"16\\\" rx=\\\"8\\\"/>\u003Crect width=\\\"128\\\" height=\\\"16\\\" y=\\\"64\\\" rx=\\\"8\\\"/>\u003Cpath d=\\\"M63.945 60.624c-2.05 0-4.101-.78-5.666-2.345L35.662 35.662c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.192-3.122 11.319.005L63.94 41.314l16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L69.603 58.279a7.986 7.986 0 01-5.663 2.346zM64.004 124.565c-2.05 0-4.102-.78-5.666-2.345L35.721 99.603c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.191-3.122 11.318.005L64 105.255l16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L69.662 122.22a7.986 7.986 0 01-5.663 2.346z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/unfold-button\":{\"title\":\"$:/core/images/unfold-button\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-unfold tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cg fill-rule=\\\"evenodd\\\">\u003Crect width=\\\"128\\\" height=\\\"16\\\" rx=\\\"8\\\"/>\u003Cpath d=\\\"M63.945 63.624c-2.05 0-4.101-.78-5.666-2.345L35.662 38.662c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.192-3.122 11.319.005L63.94 44.314l16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L69.603 61.279a7.986 7.986 0 01-5.663 2.346zM64.004 105.682c-2.05.001-4.102-.78-5.666-2.344L35.721 80.721c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.191-3.122 11.318.005L64 86.373l16.966-16.966c3.124-3.125 8.194-3.13 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319l-22.617 22.617a7.986 7.986 0 01-5.663 2.346z\\\"/>\u003C/g>\u003C/svg>\"},\"$:/core/images/unlocked-padlock\":{\"title\":\"$:/core/images/unlocked-padlock\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-unlocked-padlock tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M48.627 64H105v32.01C105 113.674 90.674 128 73.001 128H56C38.318 128 24 113.677 24 96.01V64h6.136c-10.455-12.651-27.364-35.788-4.3-55.142 24.636-20.672 45.835 4.353 55.777 16.201 9.943 11.85-2.676 22.437-12.457 9.892-9.78-12.545-21.167-24.146-33.207-14.043-12.041 10.104-1.757 22.36 8.813 34.958 2.467 2.94 3.641 5.732 3.865 8.134zm19.105 28.364A8.503 8.503 0 0064.5 76a8.5 8.5 0 00-3.498 16.25l-5.095 22.77H72.8l-5.07-22.656z\\\"/>\u003C/svg>\"},\"$:/core/images/up-arrow\":{\"title\":\"$:/core/images/up-arrow\",\"created\":\"20150316000544368\",\"modified\":\"20150316000831867\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-up-arrow tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath d=\\\"M63.892.281c2.027 0 4.054.77 5.6 2.316l55.98 55.98a7.92 7.92 0 010 11.196c-3.086 3.085-8.104 3.092-11.196 0L63.894 19.393 13.513 69.774a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196l55.98-55.98A7.892 7.892 0 0163.893.28z\\\"/>\u003C/svg>\"},\"$:/core/images/video\":{\"title\":\"$:/core/images/video\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-video tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M64 12c-34.91 0-55.273 2.917-58.182 5.833C2.91 20.75 0 41.167 0 64.5c0 23.333 2.91 43.75 5.818 46.667C8.728 114.083 29.091 117 64 117c34.91 0 55.273-2.917 58.182-5.833C125.09 108.25 128 87.833 128 64.5c0-23.333-2.91-43.75-5.818-46.667C119.272 14.917 98.909 12 64 12zm-9.084 32.618c-3.813-2.542-6.905-.879-6.905 3.698v31.368c0 4.585 3.099 6.235 6.905 3.698l22.168-14.779c3.813-2.542 3.806-6.669 0-9.206L54.916 44.618z\\\"/>\u003C/svg>\"},\"$:/core/images/warning\":{\"title\":\"$:/core/images/warning\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-warning tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\u003Cpath fill-rule=\\\"evenodd\\\" d=\\\"M57.072 11c3.079-5.333 10.777-5.333 13.856 0l55.426 96c3.079 5.333-.77 12-6.928 12H8.574c-6.158 0-10.007-6.667-6.928-12l55.426-96zM64 37c-4.418 0-8 3.582-8 7.994v28.012C56 77.421 59.59 81 64 81c4.418 0 8-3.582 8-7.994V44.994C72 40.579 68.41 37 64 37zm0 67a8 8 0 100-16 8 8 0 000 16z\\\"/>\u003C/svg>\"},\"$:/language/Buttons/AdvancedSearch/Caption\":{\"title\":\"$:/language/Buttons/AdvancedSearch/Caption\",\"text\":\"advanced search\"},\"$:/language/Buttons/AdvancedSearch/Hint\":{\"title\":\"$:/language/Buttons/AdvancedSearch/Hint\",\"text\":\"Advanced search\"},\"$:/language/Buttons/Cancel/Caption\":{\"title\":\"$:/language/Buttons/Cancel/Caption\",\"text\":\"cancel\"},\"$:/language/Buttons/Cancel/Hint\":{\"title\":\"$:/language/Buttons/Cancel/Hint\",\"text\":\"Discard changes to this tiddler\"},\"$:/language/Buttons/Clone/Caption\":{\"title\":\"$:/language/Buttons/Clone/Caption\",\"text\":\"clone\"},\"$:/language/Buttons/Clone/Hint\":{\"title\":\"$:/language/Buttons/Clone/Hint\",\"text\":\"Clone this tiddler\"},\"$:/language/Buttons/Close/Caption\":{\"title\":\"$:/language/Buttons/Close/Caption\",\"text\":\"close\"},\"$:/language/Buttons/Close/Hint\":{\"title\":\"$:/language/Buttons/Close/Hint\",\"text\":\"Close this tiddler\"},\"$:/language/Buttons/CloseAll/Caption\":{\"title\":\"$:/language/Buttons/CloseAll/Caption\",\"text\":\"close all\"},\"$:/language/Buttons/CloseAll/Hint\":{\"title\":\"$:/language/Buttons/CloseAll/Hint\",\"text\":\"Close all tiddlers\"},\"$:/language/Buttons/CloseOthers/Caption\":{\"title\":\"$:/language/Buttons/CloseOthers/Caption\",\"text\":\"close others\"},\"$:/language/Buttons/CloseOthers/Hint\":{\"title\":\"$:/language/Buttons/CloseOthers/Hint\",\"text\":\"Close other tiddlers\"},\"$:/language/Buttons/ControlPanel/Caption\":{\"title\":\"$:/language/Buttons/ControlPanel/Caption\",\"text\":\"control panel\"},\"$:/language/Buttons/ControlPanel/Hint\":{\"title\":\"$:/language/Buttons/ControlPanel/Hint\",\"text\":\"Open control panel\"},\"$:/language/Buttons/CopyToClipboard/Caption\":{\"title\":\"$:/language/Buttons/CopyToClipboard/Caption\",\"text\":\"copy to clipboard\"},\"$:/language/Buttons/CopyToClipboard/Hint\":{\"title\":\"$:/language/Buttons/CopyToClipboard/Hint\",\"text\":\"Copy this text to the clipboard\"},\"$:/language/Buttons/Delete/Caption\":{\"title\":\"$:/language/Buttons/Delete/Caption\",\"text\":\"delete\"},\"$:/language/Buttons/Delete/Hint\":{\"title\":\"$:/language/Buttons/Delete/Hint\",\"text\":\"Delete this tiddler\"},\"$:/language/Buttons/DeleteTiddlers/Caption\":{\"title\":\"$:/language/Buttons/DeleteTiddlers/Caption\",\"text\":\"delete tiddlers\"},\"$:/language/Buttons/DeleteTiddlers/Hint\":{\"title\":\"$:/language/Buttons/DeleteTiddlers/Hint\",\"text\":\"Delete tiddlers\"},\"$:/language/Buttons/Edit/Caption\":{\"title\":\"$:/language/Buttons/Edit/Caption\",\"text\":\"edit\"},\"$:/language/Buttons/Edit/Hint\":{\"title\":\"$:/language/Buttons/Edit/Hint\",\"text\":\"Edit this tiddler\"},\"$:/language/Buttons/Encryption/Caption\":{\"title\":\"$:/language/Buttons/Encryption/Caption\",\"text\":\"encryption\"},\"$:/language/Buttons/Encryption/Hint\":{\"title\":\"$:/language/Buttons/Encryption/Hint\",\"text\":\"Set or clear a password for saving this wiki\"},\"$:/language/Buttons/Encryption/ClearPassword/Caption\":{\"title\":\"$:/language/Buttons/Encryption/ClearPassword/Caption\",\"text\":\"clear password\"},\"$:/language/Buttons/Encryption/ClearPassword/Hint\":{\"title\":\"$:/language/Buttons/Encryption/ClearPassword/Hint\",\"text\":\"Clear the password and save this wiki without encryption\"},\"$:/language/Buttons/Encryption/SetPassword/Caption\":{\"title\":\"$:/language/Buttons/Encryption/SetPassword/Caption\",\"text\":\"set password\"},\"$:/language/Buttons/Encryption/SetPassword/Hint\":{\"title\":\"$:/language/Buttons/Encryption/SetPassword/Hint\",\"text\":\"Set a password for saving this wiki with encryption\"},\"$:/language/Buttons/ExportPage/Caption\":{\"title\":\"$:/language/Buttons/ExportPage/Caption\",\"text\":\"export all\"},\"$:/language/Buttons/ExportPage/Hint\":{\"title\":\"$:/language/Buttons/ExportPage/Hint\",\"text\":\"Export all tiddlers\"},\"$:/language/Buttons/ExportTiddler/Caption\":{\"title\":\"$:/language/Buttons/ExportTiddler/Caption\",\"text\":\"export tiddler\"},\"$:/language/Buttons/ExportTiddler/Hint\":{\"title\":\"$:/language/Buttons/ExportTiddler/Hint\",\"text\":\"Export tiddler\"},\"$:/language/Buttons/ExportTiddlers/Caption\":{\"title\":\"$:/language/Buttons/ExportTiddlers/Caption\",\"text\":\"export tiddlers\"},\"$:/language/Buttons/ExportTiddlers/Hint\":{\"title\":\"$:/language/Buttons/ExportTiddlers/Hint\",\"text\":\"Export tiddlers\"},\"$:/language/Buttons/SidebarSearch/Hint\":{\"title\":\"$:/language/Buttons/SidebarSearch/Hint\",\"text\":\"Select the sidebar search field\"},\"$:/language/Buttons/Fold/Caption\":{\"title\":\"$:/language/Buttons/Fold/Caption\",\"text\":\"fold tiddler\"},\"$:/language/Buttons/Fold/Hint\":{\"title\":\"$:/language/Buttons/Fold/Hint\",\"text\":\"Fold the body of this tiddler\"},\"$:/language/Buttons/Fold/FoldBar/Caption\":{\"title\":\"$:/language/Buttons/Fold/FoldBar/Caption\",\"text\":\"fold-bar\"},\"$:/language/Buttons/Fold/FoldBar/Hint\":{\"title\":\"$:/language/Buttons/Fold/FoldBar/Hint\",\"text\":\"Optional bars to fold and unfold tiddlers\"},\"$:/language/Buttons/Unfold/Caption\":{\"title\":\"$:/language/Buttons/Unfold/Caption\",\"text\":\"unfold tiddler\"},\"$:/language/Buttons/Unfold/Hint\":{\"title\":\"$:/language/Buttons/Unfold/Hint\",\"text\":\"Unfold the body of this tiddler\"},\"$:/language/Buttons/FoldOthers/Caption\":{\"title\":\"$:/language/Buttons/FoldOthers/Caption\",\"text\":\"fold other tiddlers\"},\"$:/language/Buttons/FoldOthers/Hint\":{\"title\":\"$:/language/Buttons/FoldOthers/Hint\",\"text\":\"Fold the bodies of other opened tiddlers\"},\"$:/language/Buttons/FoldAll/Caption\":{\"title\":\"$:/language/Buttons/FoldAll/Caption\",\"text\":\"fold all tiddlers\"},\"$:/language/Buttons/FoldAll/Hint\":{\"title\":\"$:/language/Buttons/FoldAll/Hint\",\"text\":\"Fold the bodies of all opened tiddlers\"},\"$:/language/Buttons/UnfoldAll/Caption\":{\"title\":\"$:/language/Buttons/UnfoldAll/Caption\",\"text\":\"unfold all tiddlers\"},\"$:/language/Buttons/UnfoldAll/Hint\":{\"title\":\"$:/language/Buttons/UnfoldAll/Hint\",\"text\":\"Unfold the bodies of all opened tiddlers\"},\"$:/language/Buttons/FullScreen/Caption\":{\"title\":\"$:/language/Buttons/FullScreen/Caption\",\"text\":\"full-screen\"},\"$:/language/Buttons/FullScreen/Hint\":{\"title\":\"$:/language/Buttons/FullScreen/Hint\",\"text\":\"Enter or leave full-screen mode\"},\"$:/language/Buttons/Help/Caption\":{\"title\":\"$:/language/Buttons/Help/Caption\",\"text\":\"help\"},\"$:/language/Buttons/Help/Hint\":{\"title\":\"$:/language/Buttons/Help/Hint\",\"text\":\"Show help panel\"},\"$:/language/Buttons/Import/Caption\":{\"title\":\"$:/language/Buttons/Import/Caption\",\"text\":\"import\"},\"$:/language/Buttons/Import/Hint\":{\"title\":\"$:/language/Buttons/Import/Hint\",\"text\":\"Import many types of file including text, image, TiddlyWiki or JSON\"},\"$:/language/Buttons/Info/Caption\":{\"title\":\"$:/language/Buttons/Info/Caption\",\"text\":\"info\"},\"$:/language/Buttons/Info/Hint\":{\"title\":\"$:/language/Buttons/Info/Hint\",\"text\":\"Show information for this tiddler\"},\"$:/language/Buttons/Home/Caption\":{\"title\":\"$:/language/Buttons/Home/Caption\",\"text\":\"home\"},\"$:/language/Buttons/Home/Hint\":{\"title\":\"$:/language/Buttons/Home/Hint\",\"text\":\"Open the default tiddlers\"},\"$:/language/Buttons/Language/Caption\":{\"title\":\"$:/language/Buttons/Language/Caption\",\"text\":\"language\"},\"$:/language/Buttons/Language/Hint\":{\"title\":\"$:/language/Buttons/Language/Hint\",\"text\":\"Choose the user interface language\"},\"$:/language/Buttons/LayoutSwitcher/Hint\":{\"title\":\"$:/language/Buttons/LayoutSwitcher/Hint\",\"text\":\"Open layout switcher\"},\"$:/language/Buttons/LayoutSwitcher/Caption\":{\"title\":\"$:/language/Buttons/LayoutSwitcher/Caption\",\"text\":\"layout\"},\"$:/language/Buttons/Manager/Caption\":{\"title\":\"$:/language/Buttons/Manager/Caption\",\"text\":\"tiddler manager\"},\"$:/language/Buttons/Manager/Hint\":{\"title\":\"$:/language/Buttons/Manager/Hint\",\"text\":\"Open tiddler manager\"},\"$:/language/Buttons/More/Caption\":{\"title\":\"$:/language/Buttons/More/Caption\",\"text\":\"more\"},\"$:/language/Buttons/More/Hint\":{\"title\":\"$:/language/Buttons/More/Hint\",\"text\":\"More actions\"},\"$:/language/Buttons/NewHere/Caption\":{\"title\":\"$:/language/Buttons/NewHere/Caption\",\"text\":\"new here\"},\"$:/language/Buttons/NewHere/Hint\":{\"title\":\"$:/language/Buttons/NewHere/Hint\",\"text\":\"Create a new tiddler tagged with this one\"},\"$:/language/Buttons/NetworkActivity/Caption\":{\"title\":\"$:/language/Buttons/NetworkActivity/Caption\",\"text\":\"network activity\"},\"$:/language/Buttons/NetworkActivity/Hint\":{\"title\":\"$:/language/Buttons/NetworkActivity/Hint\",\"text\":\"Cancel all network activity\"},\"$:/language/Buttons/NewJournal/Caption\":{\"title\":\"$:/language/Buttons/NewJournal/Caption\",\"text\":\"new journal\"},\"$:/language/Buttons/NewJournal/Hint\":{\"title\":\"$:/language/Buttons/NewJournal/Hint\",\"text\":\"Create a new journal tiddler\"},\"$:/language/Buttons/NewJournalHere/Caption\":{\"title\":\"$:/language/Buttons/NewJournalHere/Caption\",\"text\":\"new journal here\"},\"$:/language/Buttons/NewJournalHere/Hint\":{\"title\":\"$:/language/Buttons/NewJournalHere/Hint\",\"text\":\"Create a new journal tiddler tagged with this one\"},\"$:/language/Buttons/NewImage/Caption\":{\"title\":\"$:/language/Buttons/NewImage/Caption\",\"text\":\"new image\"},\"$:/language/Buttons/NewImage/Hint\":{\"title\":\"$:/language/Buttons/NewImage/Hint\",\"text\":\"Create a new image tiddler\"},\"$:/language/Buttons/NewMarkdown/Caption\":{\"title\":\"$:/language/Buttons/NewMarkdown/Caption\",\"text\":\"new Markdown tiddler\"},\"$:/language/Buttons/NewMarkdown/Hint\":{\"title\":\"$:/language/Buttons/NewMarkdown/Hint\",\"text\":\"Create a new Markdown tiddler\"},\"$:/language/Buttons/NewTiddler/Caption\":{\"title\":\"$:/language/Buttons/NewTiddler/Caption\",\"text\":\"new tiddler\"},\"$:/language/Buttons/NewTiddler/Hint\":{\"title\":\"$:/language/Buttons/NewTiddler/Hint\",\"text\":\"Create a new tiddler\"},\"$:/language/Buttons/OpenWindow/Caption\":{\"title\":\"$:/language/Buttons/OpenWindow/Caption\",\"text\":\"open in new window\"},\"$:/language/Buttons/OpenWindow/Hint\":{\"title\":\"$:/language/Buttons/OpenWindow/Hint\",\"text\":\"Open tiddler in new window\"},\"$:/language/Buttons/Palette/Caption\":{\"title\":\"$:/language/Buttons/Palette/Caption\",\"text\":\"palette\"},\"$:/language/Buttons/Palette/Hint\":{\"title\":\"$:/language/Buttons/Palette/Hint\",\"text\":\"Choose the colour palette\"},\"$:/language/Buttons/Permalink/Caption\":{\"title\":\"$:/language/Buttons/Permalink/Caption\",\"text\":\"permalink\"},\"$:/language/Buttons/Permalink/Hint\":{\"title\":\"$:/language/Buttons/Permalink/Hint\",\"text\":\"Set browser address bar to a direct link to this tiddler\"},\"$:/language/Buttons/Permaview/Caption\":{\"title\":\"$:/language/Buttons/Permaview/Caption\",\"text\":\"permaview\"},\"$:/language/Buttons/Permaview/Hint\":{\"title\":\"$:/language/Buttons/Permaview/Hint\",\"text\":\"Set browser address bar to a direct link to all the tiddlers in this story\"},\"$:/language/Buttons/Print/Caption\":{\"title\":\"$:/language/Buttons/Print/Caption\",\"text\":\"print page\"},\"$:/language/Buttons/Print/Hint\":{\"title\":\"$:/language/Buttons/Print/Hint\",\"text\":\"Print the current page\"},\"$:/language/Buttons/Refresh/Caption\":{\"title\":\"$:/language/Buttons/Refresh/Caption\",\"text\":\"refresh\"},\"$:/language/Buttons/Refresh/Hint\":{\"title\":\"$:/language/Buttons/Refresh/Hint\",\"text\":\"Perform a full refresh of the wiki\"},\"$:/language/Buttons/Save/Caption\":{\"title\":\"$:/language/Buttons/Save/Caption\",\"text\":\"ok\"},\"$:/language/Buttons/Save/Hint\":{\"title\":\"$:/language/Buttons/Save/Hint\",\"text\":\"Confirm changes to this tiddler\"},\"$:/language/Buttons/SaveWiki/Caption\":{\"title\":\"$:/language/Buttons/SaveWiki/Caption\",\"text\":\"save changes\"},\"$:/language/Buttons/SaveWiki/Hint\":{\"title\":\"$:/language/Buttons/SaveWiki/Hint\",\"text\":\"Save changes\"},\"$:/language/Buttons/StoryView/Caption\":{\"title\":\"$:/language/Buttons/StoryView/Caption\",\"text\":\"storyview\"},\"$:/language/Buttons/StoryView/Hint\":{\"title\":\"$:/language/Buttons/StoryView/Hint\",\"text\":\"Choose the story visualisation\"},\"$:/language/Buttons/HideSideBar/Caption\":{\"title\":\"$:/language/Buttons/HideSideBar/Caption\",\"text\":\"hide sidebar\"},\"$:/language/Buttons/HideSideBar/Hint\":{\"title\":\"$:/language/Buttons/HideSideBar/Hint\",\"text\":\"Hide sidebar\"},\"$:/language/Buttons/ShowSideBar/Caption\":{\"title\":\"$:/language/Buttons/ShowSideBar/Caption\",\"text\":\"show sidebar\"},\"$:/language/Buttons/ShowSideBar/Hint\":{\"title\":\"$:/language/Buttons/ShowSideBar/Hint\",\"text\":\"Show sidebar\"},\"$:/language/Buttons/TagManager/Caption\":{\"title\":\"$:/language/Buttons/TagManager/Caption\",\"text\":\"tag manager\"},\"$:/language/Buttons/TagManager/Hint\":{\"title\":\"$:/language/Buttons/TagManager/Hint\",\"text\":\"Open tag manager\"},\"$:/language/Buttons/Timestamp/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/Caption\",\"text\":\"timestamps\"},\"$:/language/Buttons/Timestamp/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/Hint\",\"text\":\"Choose whether modifications update timestamps\"},\"$:/language/Buttons/Timestamp/On/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/On/Caption\",\"text\":\"timestamps are on\"},\"$:/language/Buttons/Timestamp/On/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/On/Hint\",\"text\":\"Update timestamps when tiddlers are modified\"},\"$:/language/Buttons/Timestamp/Off/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/Off/Caption\",\"text\":\"timestamps are off\"},\"$:/language/Buttons/Timestamp/Off/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/Off/Hint\",\"text\":\"Don't update timestamps when tiddlers are modified\"},\"$:/language/Buttons/Theme/Caption\":{\"title\":\"$:/language/Buttons/Theme/Caption\",\"text\":\"theme\"},\"$:/language/Buttons/Theme/Hint\":{\"title\":\"$:/language/Buttons/Theme/Hint\",\"text\":\"Choose the display theme\"},\"$:/language/Buttons/Bold/Caption\":{\"title\":\"$:/language/Buttons/Bold/Caption\",\"text\":\"bold\"},\"$:/language/Buttons/Bold/Hint\":{\"title\":\"$:/language/Buttons/Bold/Hint\",\"text\":\"Apply bold formatting to selection\"},\"$:/language/Buttons/Clear/Caption\":{\"title\":\"$:/language/Buttons/Clear/Caption\",\"text\":\"clear\"},\"$:/language/Buttons/Clear/Hint\":{\"title\":\"$:/language/Buttons/Clear/Hint\",\"text\":\"Clear image to solid colour\"},\"$:/language/Buttons/EditorHeight/Caption\":{\"title\":\"$:/language/Buttons/EditorHeight/Caption\",\"text\":\"editor height\"},\"$:/language/Buttons/EditorHeight/Caption/Auto\":{\"title\":\"$:/language/Buttons/EditorHeight/Caption/Auto\",\"text\":\"Automatically adjust height to fit content\"},\"$:/language/Buttons/EditorHeight/Caption/Fixed\":{\"title\":\"$:/language/Buttons/EditorHeight/Caption/Fixed\",\"text\":\"Fixed height:\"},\"$:/language/Buttons/EditorHeight/Hint\":{\"title\":\"$:/language/Buttons/EditorHeight/Hint\",\"text\":\"Choose the height of the text editor\"},\"$:/language/Buttons/Excise/Caption\":{\"title\":\"$:/language/Buttons/Excise/Caption\",\"text\":\"excise\"},\"$:/language/Buttons/Excise/Caption/Excise\":{\"title\":\"$:/language/Buttons/Excise/Caption/Excise\",\"text\":\"Perform excision\"},\"$:/language/Buttons/Excise/Caption/MacroName\":{\"title\":\"$:/language/Buttons/Excise/Caption/MacroName\",\"text\":\"Macro name:\"},\"$:/language/Buttons/Excise/Caption/NewTitle\":{\"title\":\"$:/language/Buttons/Excise/Caption/NewTitle\",\"text\":\"Title of new tiddler:\"},\"$:/language/Buttons/Excise/Caption/Replace\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace\",\"text\":\"Replace excised text with:\"},\"$:/language/Buttons/Excise/Caption/Replace/Macro\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace/Macro\",\"text\":\"macro\"},\"$:/language/Buttons/Excise/Caption/Replace/Link\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace/Link\",\"text\":\"link\"},\"$:/language/Buttons/Excise/Caption/Replace/Transclusion\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace/Transclusion\",\"text\":\"transclusion\"},\"$:/language/Buttons/Excise/Caption/Tag\":{\"title\":\"$:/language/Buttons/Excise/Caption/Tag\",\"text\":\"Tag new tiddler with the title of this tiddler\"},\"$:/language/Buttons/Excise/Caption/TiddlerExists\":{\"title\":\"$:/language/Buttons/Excise/Caption/TiddlerExists\",\"text\":\"Warning: tiddler already exists\"},\"$:/language/Buttons/Excise/Hint\":{\"title\":\"$:/language/Buttons/Excise/Hint\",\"text\":\"Excise the selected text into a new tiddler\"},\"$:/language/Buttons/Heading1/Caption\":{\"title\":\"$:/language/Buttons/Heading1/Caption\",\"text\":\"heading 1\"},\"$:/language/Buttons/Heading1/Hint\":{\"title\":\"$:/language/Buttons/Heading1/Hint\",\"text\":\"Apply heading level 1 formatting to lines containing selection\"},\"$:/language/Buttons/Heading2/Caption\":{\"title\":\"$:/language/Buttons/Heading2/Caption\",\"text\":\"heading 2\"},\"$:/language/Buttons/Heading2/Hint\":{\"title\":\"$:/language/Buttons/Heading2/Hint\",\"text\":\"Apply heading level 2 formatting to lines containing selection\"},\"$:/language/Buttons/Heading3/Caption\":{\"title\":\"$:/language/Buttons/Heading3/Caption\",\"text\":\"heading 3\"},\"$:/language/Buttons/Heading3/Hint\":{\"title\":\"$:/language/Buttons/Heading3/Hint\",\"text\":\"Apply heading level 3 formatting to lines containing selection\"},\"$:/language/Buttons/Heading4/Caption\":{\"title\":\"$:/language/Buttons/Heading4/Caption\",\"text\":\"heading 4\"},\"$:/language/Buttons/Heading4/Hint\":{\"title\":\"$:/language/Buttons/Heading4/Hint\",\"text\":\"Apply heading level 4 formatting to lines containing selection\"},\"$:/language/Buttons/Heading5/Caption\":{\"title\":\"$:/language/Buttons/Heading5/Caption\",\"text\":\"heading 5\"},\"$:/language/Buttons/Heading5/Hint\":{\"title\":\"$:/language/Buttons/Heading5/Hint\",\"text\":\"Apply heading level 5 formatting to lines containing selection\"},\"$:/language/Buttons/Heading6/Caption\":{\"title\":\"$:/language/Buttons/Heading6/Caption\",\"text\":\"heading 6\"},\"$:/language/Buttons/Heading6/Hint\":{\"title\":\"$:/language/Buttons/Heading6/Hint\",\"text\":\"Apply heading level 6 formatting to lines containing selection\"},\"$:/language/Buttons/Italic/Caption\":{\"title\":\"$:/language/Buttons/Italic/Caption\",\"text\":\"italic\"},\"$:/language/Buttons/Italic/Hint\":{\"title\":\"$:/language/Buttons/Italic/Hint\",\"text\":\"Apply italic formatting to selection\"},\"$:/language/Buttons/LineWidth/Caption\":{\"title\":\"$:/language/Buttons/LineWidth/Caption\",\"text\":\"line width\"},\"$:/language/Buttons/LineWidth/Hint\":{\"title\":\"$:/language/Buttons/LineWidth/Hint\",\"text\":\"Set line width for painting\"},\"$:/language/Buttons/Link/Caption\":{\"title\":\"$:/language/Buttons/Link/Caption\",\"text\":\"link\"},\"$:/language/Buttons/Link/Hint\":{\"title\":\"$:/language/Buttons/Link/Hint\",\"text\":\"Create wikitext link\"},\"$:/language/Buttons/Linkify/Caption\":{\"title\":\"$:/language/Buttons/Linkify/Caption\",\"text\":\"wikilink\"},\"$:/language/Buttons/Linkify/Hint\":{\"title\":\"$:/language/Buttons/Linkify/Hint\",\"text\":\"Wrap selection in square brackets\"},\"$:/language/Buttons/ListBullet/Caption\":{\"title\":\"$:/language/Buttons/ListBullet/Caption\",\"text\":\"bulleted list\"},\"$:/language/Buttons/ListBullet/Hint\":{\"title\":\"$:/language/Buttons/ListBullet/Hint\",\"text\":\"Apply bulleted list formatting to lines containing selection\"},\"$:/language/Buttons/ListNumber/Caption\":{\"title\":\"$:/language/Buttons/ListNumber/Caption\",\"text\":\"numbered list\"},\"$:/language/Buttons/ListNumber/Hint\":{\"title\":\"$:/language/Buttons/ListNumber/Hint\",\"text\":\"Apply numbered list formatting to lines containing selection\"},\"$:/language/Buttons/MonoBlock/Caption\":{\"title\":\"$:/language/Buttons/MonoBlock/Caption\",\"text\":\"monospaced block\"},\"$:/language/Buttons/MonoBlock/Hint\":{\"title\":\"$:/language/Buttons/MonoBlock/Hint\",\"text\":\"Apply monospaced block formatting to lines containing selection\"},\"$:/language/Buttons/MonoLine/Caption\":{\"title\":\"$:/language/Buttons/MonoLine/Caption\",\"text\":\"monospaced\"},\"$:/language/Buttons/MonoLine/Hint\":{\"title\":\"$:/language/Buttons/MonoLine/Hint\",\"text\":\"Apply monospaced character formatting to selection\"},\"$:/language/Buttons/Opacity/Caption\":{\"title\":\"$:/language/Buttons/Opacity/Caption\",\"text\":\"opacity\"},\"$:/language/Buttons/Opacity/Hint\":{\"title\":\"$:/language/Buttons/Opacity/Hint\",\"text\":\"Set painting opacity\"},\"$:/language/Buttons/Paint/Caption\":{\"title\":\"$:/language/Buttons/Paint/Caption\",\"text\":\"paint colour\"},\"$:/language/Buttons/Paint/Hint\":{\"title\":\"$:/language/Buttons/Paint/Hint\",\"text\":\"Set painting colour\"},\"$:/language/Buttons/Picture/Caption\":{\"title\":\"$:/language/Buttons/Picture/Caption\",\"text\":\"picture\"},\"$:/language/Buttons/Picture/Hint\":{\"title\":\"$:/language/Buttons/Picture/Hint\",\"text\":\"Insert picture\"},\"$:/language/Buttons/Preview/Caption\":{\"title\":\"$:/language/Buttons/Preview/Caption\",\"text\":\"preview\"},\"$:/language/Buttons/Preview/Hint\":{\"title\":\"$:/language/Buttons/Preview/Hint\",\"text\":\"Show preview pane\"},\"$:/language/Buttons/PreviewType/Caption\":{\"title\":\"$:/language/Buttons/PreviewType/Caption\",\"text\":\"preview type\"},\"$:/language/Buttons/PreviewType/Hint\":{\"title\":\"$:/language/Buttons/PreviewType/Hint\",\"text\":\"Choose preview type\"},\"$:/language/Buttons/Quote/Caption\":{\"title\":\"$:/language/Buttons/Quote/Caption\",\"text\":\"quote\"},\"$:/language/Buttons/Quote/Hint\":{\"title\":\"$:/language/Buttons/Quote/Hint\",\"text\":\"Apply quoted text formatting to lines containing selection\"},\"$:/language/Buttons/RotateLeft/Caption\":{\"title\":\"$:/language/Buttons/RotateLeft/Caption\",\"text\":\"rotate left\"},\"$:/language/Buttons/RotateLeft/Hint\":{\"title\":\"$:/language/Buttons/RotateLeft/Hint\",\"text\":\"Rotate image left by 90 degrees\"},\"$:/language/Buttons/Size/Caption\":{\"title\":\"$:/language/Buttons/Size/Caption\",\"text\":\"image size\"},\"$:/language/Buttons/Size/Caption/Height\":{\"title\":\"$:/language/Buttons/Size/Caption/Height\",\"text\":\"Height:\"},\"$:/language/Buttons/Size/Caption/Resize\":{\"title\":\"$:/language/Buttons/Size/Caption/Resize\",\"text\":\"Resize image\"},\"$:/language/Buttons/Size/Caption/Width\":{\"title\":\"$:/language/Buttons/Size/Caption/Width\",\"text\":\"Width:\"},\"$:/language/Buttons/Size/Hint\":{\"title\":\"$:/language/Buttons/Size/Hint\",\"text\":\"Set image size\"},\"$:/language/Buttons/Stamp/Caption\":{\"title\":\"$:/language/Buttons/Stamp/Caption\",\"text\":\"stamp\"},\"$:/language/Buttons/Stamp/Caption/New\":{\"title\":\"$:/language/Buttons/Stamp/Caption/New\",\"text\":\"Add your own\"},\"$:/language/Buttons/Stamp/Hint\":{\"title\":\"$:/language/Buttons/Stamp/Hint\",\"text\":\"Insert a preconfigured snippet of text\"},\"$:/language/Buttons/Stamp/New/Title\":{\"title\":\"$:/language/Buttons/Stamp/New/Title\",\"text\":\"Name as shown in menu\"},\"$:/language/Buttons/Stamp/New/Text\":{\"title\":\"$:/language/Buttons/Stamp/New/Text\",\"text\":\"Text of snippet. (Remember to add a descriptive title in the caption field).\"},\"$:/language/Buttons/Strikethrough/Caption\":{\"title\":\"$:/language/Buttons/Strikethrough/Caption\",\"text\":\"strikethrough\"},\"$:/language/Buttons/Strikethrough/Hint\":{\"title\":\"$:/language/Buttons/Strikethrough/Hint\",\"text\":\"Apply strikethrough formatting to selection\"},\"$:/language/Buttons/Subscript/Caption\":{\"title\":\"$:/language/Buttons/Subscript/Caption\",\"text\":\"subscript\"},\"$:/language/Buttons/Subscript/Hint\":{\"title\":\"$:/language/Buttons/Subscript/Hint\",\"text\":\"Apply subscript formatting to selection\"},\"$:/language/Buttons/Superscript/Caption\":{\"title\":\"$:/language/Buttons/Superscript/Caption\",\"text\":\"superscript\"},\"$:/language/Buttons/Superscript/Hint\":{\"title\":\"$:/language/Buttons/Superscript/Hint\",\"text\":\"Apply superscript formatting to selection\"},\"$:/language/Buttons/ToggleSidebar/Hint\":{\"title\":\"$:/language/Buttons/ToggleSidebar/Hint\",\"text\":\"Toggle the sidebar visibility\"},\"$:/language/Buttons/Transcludify/Caption\":{\"title\":\"$:/language/Buttons/Transcludify/Caption\",\"text\":\"transclusion\"},\"$:/language/Buttons/Transcludify/Hint\":{\"title\":\"$:/language/Buttons/Transcludify/Hint\",\"text\":\"Wrap selection in curly brackets\"},\"$:/language/Buttons/Underline/Caption\":{\"title\":\"$:/language/Buttons/Underline/Caption\",\"text\":\"underline\"},\"$:/language/Buttons/Underline/Hint\":{\"title\":\"$:/language/Buttons/Underline/Hint\",\"text\":\"Apply underline formatting to selection\"},\"$:/language/ControlPanel/Advanced/Caption\":{\"title\":\"$:/language/ControlPanel/Advanced/Caption\",\"text\":\"Advanced\"},\"$:/language/ControlPanel/Advanced/Hint\":{\"title\":\"$:/language/ControlPanel/Advanced/Hint\",\"text\":\"Internal information about this TiddlyWiki\"},\"$:/language/ControlPanel/Appearance/Caption\":{\"title\":\"$:/language/ControlPanel/Appearance/Caption\",\"text\":\"Appearance\"},\"$:/language/ControlPanel/Appearance/Hint\":{\"title\":\"$:/language/ControlPanel/Appearance/Hint\",\"text\":\"Ways to customise the appearance of your TiddlyWiki.\"},\"$:/language/ControlPanel/Basics/AnimDuration/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/AnimDuration/Prompt\",\"text\":\"Animation duration\"},\"$:/language/ControlPanel/Basics/AutoFocus/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/AutoFocus/Prompt\",\"text\":\"Default focus field for new tiddlers\"},\"$:/language/ControlPanel/Basics/Caption\":{\"title\":\"$:/language/ControlPanel/Basics/Caption\",\"text\":\"Basics\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint\",\"text\":\"Use [[double square brackets]] for titles with spaces. Or you can choose to {{retain story ordering||$:/snippets/retain-story-ordering-button}}\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt\",\"text\":\"Default tiddlers\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint\",\"text\":\"Choose which tiddlers are displayed at startup\"},\"$:/language/ControlPanel/Basics/Language/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Language/Prompt\",\"text\":\"Hello! Current language:\"},\"$:/language/ControlPanel/Basics/NewJournal/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Title/Prompt\",\"text\":\"Title of new journal tiddlers\"},\"$:/language/ControlPanel/Basics/NewJournal/Text/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Text/Prompt\",\"text\":\"Text for new journal tiddlers\"},\"$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt\",\"text\":\"Tags for new journal tiddlers\"},\"$:/language/ControlPanel/Basics/NewTiddler/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewTiddler/Title/Prompt\",\"text\":\"Title of new tiddlers\"},\"$:/language/ControlPanel/Basics/NewTiddler/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewTiddler/Tags/Prompt\",\"text\":\"Tags for new tiddlers\"},\"$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt\",\"text\":\"Number of overridden shadow tiddlers\"},\"$:/language/ControlPanel/Basics/RemoveTags\":{\"title\":\"$:/language/ControlPanel/Basics/RemoveTags\",\"text\":\"Update to current format\"},\"$:/language/ControlPanel/Basics/RemoveTags/Hint\":{\"title\":\"$:/language/ControlPanel/Basics/RemoveTags/Hint\",\"text\":\"Update the tags configuration to the latest format\"},\"$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt\",\"text\":\"Number of shadow tiddlers\"},\"$:/language/ControlPanel/Basics/Subtitle/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Subtitle/Prompt\",\"text\":\"Subtitle\"},\"$:/language/ControlPanel/Basics/SystemTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/SystemTiddlers/Prompt\",\"text\":\"Number of system tiddlers\"},\"$:/language/ControlPanel/Basics/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Tags/Prompt\",\"text\":\"Number of tags\"},\"$:/language/ControlPanel/Basics/Tiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Tiddlers/Prompt\",\"text\":\"Number of tiddlers\"},\"$:/language/ControlPanel/Basics/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Title/Prompt\",\"text\":\"Title of this ~TiddlyWiki\"},\"$:/language/ControlPanel/Basics/Username/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Username/Prompt\",\"text\":\"Username for signing edits\"},\"$:/language/ControlPanel/Basics/Version/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Version/Prompt\",\"text\":\"~TiddlyWiki version\"},\"$:/language/ControlPanel/Cascades/Caption\":{\"title\":\"$:/language/ControlPanel/Cascades/Caption\",\"text\":\"Cascades\"},\"$:/language/ControlPanel/Cascades/Hint\":{\"title\":\"$:/language/ControlPanel/Cascades/Hint\",\"text\":\"These global rules are used to dynamically choose certain templates. The result of the cascade is the result of the first filter in the sequence that returns a result\"},\"$:/language/ControlPanel/Cascades/TagPrompt\":{\"title\":\"$:/language/ControlPanel/Cascades/TagPrompt\",\"text\":\"Filters tagged \u003C$macrocall $name=\\\"tag\\\" tag=\u003C\u003CcurrentTiddler>>/>\"},\"$:/language/ControlPanel/EditorTypes/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Caption\",\"text\":\"Editor Types\"},\"$:/language/ControlPanel/EditorTypes/Editor/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Editor/Caption\",\"text\":\"Editor\"},\"$:/language/ControlPanel/EditorTypes/Hint\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Hint\",\"text\":\"These tiddlers determine which editor is used to edit specific tiddler types.\"},\"$:/language/ControlPanel/EditorTypes/Type/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Type/Caption\",\"text\":\"Type\"},\"$:/language/ControlPanel/EditTemplateBody/Caption\":{\"title\":\"$:/language/ControlPanel/EditTemplateBody/Caption\",\"text\":\"Edit Template Body\"},\"$:/language/ControlPanel/EditTemplateBody/Hint\":{\"title\":\"$:/language/ControlPanel/EditTemplateBody/Hint\",\"text\":\"This rule cascade is used by the default edit template to dynamically choose the template for editing the body of a tiddler.\"},\"$:/language/ControlPanel/FieldEditor/Caption\":{\"title\":\"$:/language/ControlPanel/FieldEditor/Caption\",\"text\":\"Field Editor\"},\"$:/language/ControlPanel/FieldEditor/Hint\":{\"title\":\"$:/language/ControlPanel/FieldEditor/Hint\",\"text\":\"This rules cascade is used to dynamically choose the template for rendering a tiddler field based on its name. It is used within the Edit Template.\"},\"$:/language/ControlPanel/Info/Caption\":{\"title\":\"$:/language/ControlPanel/Info/Caption\",\"text\":\"Info\"},\"$:/language/ControlPanel/Info/Hint\":{\"title\":\"$:/language/ControlPanel/Info/Hint\",\"text\":\"Information about this TiddlyWiki\"},\"$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt\",\"text\":\"Type shortcut here\"},\"$:/language/ControlPanel/KeyboardShortcuts/Add/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Add/Caption\",\"text\":\"add shortcut\"},\"$:/language/ControlPanel/KeyboardShortcuts/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Caption\",\"text\":\"Keyboard Shortcuts\"},\"$:/language/ControlPanel/KeyboardShortcuts/Hint\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Hint\",\"text\":\"Manage keyboard shortcut assignments\"},\"$:/language/ControlPanel/KeyboardShortcuts/NoShortcuts/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/NoShortcuts/Caption\",\"text\":\"No keyboard shortcuts assigned\"},\"$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint\",\"text\":\"remove keyboard shortcut\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/All\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/All\",\"text\":\"All platforms\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Mac\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Mac\",\"text\":\"Macintosh platform only\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonMac\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonMac\",\"text\":\"Non-Macintosh platforms only\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Linux\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Linux\",\"text\":\"Linux platform only\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonLinux\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonLinux\",\"text\":\"Non-Linux platforms only\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Windows\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Windows\",\"text\":\"Windows platform only\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonWindows\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonWindows\",\"text\":\"Non-Windows platforms only\"},\"$:/language/ControlPanel/LayoutSwitcher/Caption\":{\"title\":\"$:/language/ControlPanel/LayoutSwitcher/Caption\",\"text\":\"Layout\"},\"$:/language/ControlPanel/LoadedModules/Caption\":{\"title\":\"$:/language/ControlPanel/LoadedModules/Caption\",\"text\":\"Loaded Modules\"},\"$:/language/ControlPanel/LoadedModules/Hint\":{\"title\":\"$:/language/ControlPanel/LoadedModules/Hint\",\"text\":\"These are the currently loaded tiddler modules linked to their source tiddlers. Any italicised modules lack a source tiddler, typically because they were setup during the boot process.\"},\"$:/language/ControlPanel/Palette/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Caption\",\"text\":\"Palette\"},\"$:/language/ControlPanel/Palette/Editor/Clone/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Clone/Caption\",\"text\":\"clone\"},\"$:/language/ControlPanel/Palette/Editor/Clone/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Clone/Prompt\",\"text\":\"It is recommended that you clone this shadow palette before editing it\"},\"$:/language/ControlPanel/Palette/Editor/Delete/Hint\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Delete/Hint\",\"text\":\"delete this entry from the current palette\"},\"$:/language/ControlPanel/Palette/Editor/Names/External/Show\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Names/External/Show\",\"text\":\"Show color names that are not part of the current palette\"},\"$:/language/ControlPanel/Palette/Editor/Prompt/Modified\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Prompt/Modified\",\"text\":\"This shadow palette has been modified\"},\"$:/language/ControlPanel/Palette/Editor/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Prompt\",\"text\":\"Editing\"},\"$:/language/ControlPanel/Palette/Editor/Reset/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Reset/Caption\",\"text\":\"reset\"},\"$:/language/ControlPanel/Palette/HideEditor/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/HideEditor/Caption\",\"text\":\"hide editor\"},\"$:/language/ControlPanel/Palette/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Prompt\",\"text\":\"Current palette:\"},\"$:/language/ControlPanel/Palette/ShowEditor/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/ShowEditor/Caption\",\"text\":\"show editor\"},\"$:/language/ControlPanel/Parsing/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Caption\",\"text\":\"Parsing\"},\"$:/language/ControlPanel/Parsing/Hint\":{\"title\":\"$:/language/ControlPanel/Parsing/Hint\",\"text\":\"Here you can globally disable/enable wiki parser rules. For changes to take effect, save and reload your wiki. Disabling certain parser rules can prevent \u003C$text text=\\\"TiddlyWiki\\\"/> from functioning correctly. Use [[safe mode|https://tiddlywiki.com/#SafeMode]] to restore normal operation.\"},\"$:/language/ControlPanel/Parsing/Block/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Block/Caption\",\"text\":\"Block Parse Rules\"},\"$:/language/ControlPanel/Parsing/Inline/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Inline/Caption\",\"text\":\"Inline Parse Rules\"},\"$:/language/ControlPanel/Parsing/Pragma/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Pragma/Caption\",\"text\":\"Pragma Parse Rules\"},\"$:/language/ControlPanel/Plugins/Add/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Add/Caption\",\"text\":\"Get more plugins\"},\"$:/language/ControlPanel/Plugins/Add/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Add/Hint\",\"text\":\"Install plugins from the official library\"},\"$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint\",\"text\":\"This plugin is already installed at version \u003C$text text=\u003C\u003CinstalledVersion>>/>\"},\"$:/language/ControlPanel/Plugins/AlsoRequires\":{\"title\":\"$:/language/ControlPanel/Plugins/AlsoRequires\",\"text\":\"Also requires:\"},\"$:/language/ControlPanel/Plugins/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Caption\",\"text\":\"Plugins\"},\"$:/language/ControlPanel/Plugins/Disable/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Disable/Caption\",\"text\":\"disable\"},\"$:/language/ControlPanel/Plugins/Disable/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Disable/Hint\",\"text\":\"Disable this plugin when reloading page\"},\"$:/language/ControlPanel/Plugins/Disabled/Status\":{\"title\":\"$:/language/ControlPanel/Plugins/Disabled/Status\",\"text\":\"(disabled)\"},\"$:/language/ControlPanel/Plugins/Downgrade/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Downgrade/Caption\",\"text\":\"downgrade\"},\"$:/language/ControlPanel/Plugins/Empty/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Empty/Hint\",\"text\":\"None\"},\"$:/language/ControlPanel/Plugins/Enable/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Enable/Caption\",\"text\":\"enable\"},\"$:/language/ControlPanel/Plugins/Enable/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Enable/Hint\",\"text\":\"Enable this plugin when reloading page\"},\"$:/language/ControlPanel/Plugins/Install/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Install/Caption\",\"text\":\"install\"},\"$:/language/ControlPanel/Plugins/Installed/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Installed/Hint\",\"text\":\"Currently installed plugins:\"},\"$:/language/ControlPanel/Plugins/Languages/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Languages/Caption\",\"text\":\"Languages\"},\"$:/language/ControlPanel/Plugins/Languages/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Languages/Hint\",\"text\":\"Language pack plugins\"},\"$:/language/ControlPanel/Plugins/NoInfoFound/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/NoInfoFound/Hint\",\"text\":\"No ''\\\"\u003C$text text=\u003C\u003CcurrentTab>>/>\\\"'' found\"},\"$:/language/ControlPanel/Plugins/NotInstalled/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/NotInstalled/Hint\",\"text\":\"This plugin is not currently installed\"},\"$:/language/ControlPanel/Plugins/OpenPluginLibrary\":{\"title\":\"$:/language/ControlPanel/Plugins/OpenPluginLibrary\",\"text\":\"Open plugin library\"},\"$:/language/ControlPanel/Plugins/ClosePluginLibrary\":{\"title\":\"$:/language/ControlPanel/Plugins/ClosePluginLibrary\",\"text\":\"Close plugin library\"},\"$:/language/ControlPanel/Plugins/PluginWillRequireReload\":{\"title\":\"$:/language/ControlPanel/Plugins/PluginWillRequireReload\",\"text\":\"(requires reload)\"},\"$:/language/ControlPanel/Plugins/Plugins/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Plugins/Caption\",\"text\":\"Plugins\"},\"$:/language/ControlPanel/Plugins/Plugins/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Plugins/Hint\",\"text\":\"Plugins\"},\"$:/language/ControlPanel/Plugins/Reinstall/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Reinstall/Caption\",\"text\":\"reinstall\"},\"$:/language/ControlPanel/Plugins/Themes/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Themes/Caption\",\"text\":\"Themes\"},\"$:/language/ControlPanel/Plugins/Themes/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Themes/Hint\",\"text\":\"Theme plugins\"},\"$:/language/ControlPanel/Plugins/Update/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Update/Caption\",\"text\":\"update\"},\"$:/language/ControlPanel/Plugins/Updates/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/Caption\",\"text\":\"Updates\"},\"$:/language/ControlPanel/Plugins/Updates/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/Hint\",\"text\":\"Available updates to installed plugins\"},\"$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption\",\"text\":\"Update \u003C\u003Cupdate-count>> plugins\"},\"$:/language/ControlPanel/Plugins/SubPluginPrompt\":{\"title\":\"$:/language/ControlPanel/Plugins/SubPluginPrompt\",\"text\":\"With \u003C\u003Ccount>> sub-plugins available\"},\"$:/language/ControlPanel/Saving/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/Caption\",\"text\":\"Saving\"},\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Description\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Description\",\"text\":\"Permit automatic saving for the download saver\"},\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Hint\",\"text\":\"Enable Autosave for Download Saver\"},\"$:/language/ControlPanel/Saving/DownloadSaver/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/Caption\",\"text\":\"Download Saver\"},\"$:/language/ControlPanel/Saving/DownloadSaver/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/Hint\",\"text\":\"These settings apply to the HTML5-compatible download saver\"},\"$:/language/ControlPanel/Saving/General/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/General/Caption\",\"text\":\"General\"},\"$:/language/ControlPanel/Saving/General/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/General/Hint\",\"text\":\"These settings apply to all the loaded savers\"},\"$:/language/ControlPanel/Saving/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/Hint\",\"text\":\"Settings used for saving the entire TiddlyWiki as a single file via a saver module\"},\"$:/language/ControlPanel/Saving/GitService/Branch\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Branch\",\"text\":\"Target branch for saving\"},\"$:/language/ControlPanel/Saving/GitService/CommitMessage\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/CommitMessage\",\"text\":\"Saved by TiddlyWiki\"},\"$:/language/ControlPanel/Saving/GitService/Description\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Description\",\"text\":\"These settings are only used when saving to \u003C\u003Cservice-name>>\"},\"$:/language/ControlPanel/Saving/GitService/Filename\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Filename\",\"text\":\"Filename of target file (e.g. `index.html`)\"},\"$:/language/ControlPanel/Saving/GitService/Path\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Path\",\"text\":\"Path to target file (e.g. `/wiki/`)\"},\"$:/language/ControlPanel/Saving/GitService/Repo\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Repo\",\"text\":\"Target repository (e.g. `Jermolene/TiddlyWiki5`)\"},\"$:/language/ControlPanel/Saving/GitService/ServerURL\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/ServerURL\",\"text\":\"Server API URL\"},\"$:/language/ControlPanel/Saving/GitService/UserName\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/UserName\",\"text\":\"Username\"},\"$:/language/ControlPanel/Saving/GitService/GitHub/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitHub/Caption\",\"text\":\"~GitHub Saver\"},\"$:/language/ControlPanel/Saving/GitService/GitHub/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitHub/Password\",\"text\":\"Password, OAUTH token, or personal access token (see [[GitHub help page|https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line]] for details)\"},\"$:/language/ControlPanel/Saving/GitService/GitLab/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitLab/Caption\",\"text\":\"~GitLab Saver\"},\"$:/language/ControlPanel/Saving/GitService/GitLab/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitLab/Password\",\"text\":\"Personal access token for API (see [[GitLab help page|https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html]] for details)\"},\"$:/language/ControlPanel/Saving/GitService/Gitea/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Gitea/Caption\",\"text\":\"Gitea Saver\"},\"$:/language/ControlPanel/Saving/GitService/Gitea/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Gitea/Password\",\"text\":\"Personal access token for API (via Gitea’s web interface: `Settings | Applications | Generate New Token`)\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading\",\"text\":\"Advanced Settings\"},\"$:/language/ControlPanel/Saving/TiddlySpot/BackupDir\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/BackupDir\",\"text\":\"Backup Directory\"},\"$:/language/ControlPanel/Saving/TiddlySpot/ControlPanel\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/ControlPanel\",\"text\":\"~TiddlySpot Control Panel\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Backups\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Backups\",\"text\":\"Backups\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Caption\",\"text\":\"~TiddlySpot Saver\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Description\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Description\",\"text\":\"These settings are only used when saving to [[TiddlySpot|http://tiddlyspot.com]], [[TiddlyHost|https://tiddlyhost.com]], or a compatible remote server. See [[here|https://github.com/simonbaird/tiddlyhost/wiki/TiddlySpot-Saver-configuration-for-Tiddlyhost-and-Tiddlyspot]] for information on ~TiddlySpot and ~TiddlyHost saving configuration.\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Filename\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Filename\",\"text\":\"Upload Filename\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Heading\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Heading\",\"text\":\"~TiddlySpot\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Hint\",\"text\":\"//The server URL defaults to `http://\u003Cwikiname>.tiddlyspot.com/store.cgi` and can be changed to use a custom server address, e.g. `http://example.com/store.php`.//\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Password\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Password\",\"text\":\"Password\"},\"$:/language/ControlPanel/Saving/TiddlySpot/ReadOnly\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/ReadOnly\",\"text\":\"Note that [[TiddlySpot|http://tiddlyspot.com]] no longer allows the creation of new sites. For new sites, you can use [[TiddlyHost|https://tiddlyhost.com]], a new hosting service that replaces ~TiddlySpot.\"},\"$:/language/ControlPanel/Saving/TiddlySpot/ServerURL\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/ServerURL\",\"text\":\"Server URL\"},\"$:/language/ControlPanel/Saving/TiddlySpot/UploadDir\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/UploadDir\",\"text\":\"Upload Directory\"},\"$:/language/ControlPanel/Saving/TiddlySpot/UserName\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/UserName\",\"text\":\"Wiki Name\"},\"$:/language/ControlPanel/Settings/AutoSave/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Caption\",\"text\":\"Autosave\"},\"$:/language/ControlPanel/Settings/AutoSave/Disabled/Description\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Disabled/Description\",\"text\":\"Do not save changes automatically\"},\"$:/language/ControlPanel/Settings/AutoSave/Enabled/Description\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Enabled/Description\",\"text\":\"Save changes automatically\"},\"$:/language/ControlPanel/Settings/AutoSave/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Hint\",\"text\":\"Attempt to automatically save changes during editing when using a supporting saver\"},\"$:/language/ControlPanel/Settings/CamelCase/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Caption\",\"text\":\"Camel Case Wiki Links\"},\"$:/language/ControlPanel/Settings/CamelCase/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Hint\",\"text\":\"You can globally disable automatic linking of ~CamelCase phrases. Requires reload to take effect\"},\"$:/language/ControlPanel/Settings/CamelCase/Description\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Description\",\"text\":\"Enable automatic ~CamelCase linking\"},\"$:/language/ControlPanel/Settings/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/Caption\",\"text\":\"Settings\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Caption\",\"text\":\"Editor Toolbar\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Hint\",\"text\":\"Enable or disable the editor toolbar:\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Description\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Description\",\"text\":\"Show editor toolbar\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Caption\",\"text\":\"Tiddler Info Panel Mode\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Hint\",\"text\":\"Control when the tiddler info panel closes:\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Popup/Description\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Popup/Description\",\"text\":\"Tiddler info panel closes automatically\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Sticky/Description\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Sticky/Description\",\"text\":\"Tiddler info panel stays open until explicitly closed\"},\"$:/language/ControlPanel/Settings/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/Hint\",\"text\":\"These settings let you customise the behaviour of TiddlyWiki.\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Caption\",\"text\":\"Navigation Address Bar\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Hint\",\"text\":\"Behaviour of the browser address bar when navigating to a tiddler:\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description\",\"text\":\"Do not update the address bar\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description\",\"text\":\"Include the target tiddler\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description\",\"text\":\"Include the target tiddler and the current story sequence\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Caption\",\"text\":\"Navigation History\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Hint\",\"text\":\"Update browser history when navigating to a tiddler:\"},\"$:/language/ControlPanel/Settings/NavigationHistory/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/No/Description\",\"text\":\"Do not update history\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description\",\"text\":\"Update history\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption\",\"text\":\"Permalink/permaview Mode\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Hint\",\"text\":\"Choose how permalink/permaview is handled:\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/CopyToClipboard/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/CopyToClipboard/Description\",\"text\":\"Copy permalink/permaview URL to clipboard\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description\",\"text\":\"Update address bar with permalink/permaview URL\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption\",\"text\":\"Performance Instrumentation\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Hint\",\"text\":\"Displays performance statistics in the browser developer console. Requires reload to take effect\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Description\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Description\",\"text\":\"Enable performance instrumentation\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption\",\"text\":\"Toolbar Button Style\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Hint\",\"text\":\"Choose the style for toolbar buttons:\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless\",\"text\":\"Borderless\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed\",\"text\":\"Boxed\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded\",\"text\":\"Rounded\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Caption\",\"text\":\"Toolbar Buttons\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Hint\",\"text\":\"Default toolbar button appearance:\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description\",\"text\":\"Include icon\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description\",\"text\":\"Include text\"},\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption\",\"text\":\"Default Sidebar Tab\"},\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Hint\",\"text\":\"Specify which sidebar tab is displayed by default\"},\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption\",\"text\":\"Default More Sidebar Tab\"},\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Hint\",\"text\":\"Specify which More sidebar tab is displayed by default\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/Caption\",\"text\":\"Tiddler Opening Behaviour\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/InsideRiver/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/InsideRiver/Hint\",\"text\":\"Navigation from //within// the story river\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OutsideRiver/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OutsideRiver/Hint\",\"text\":\"Navigation from //outside// the story river\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAbove\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAbove\",\"text\":\"Open above the current tiddler\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenBelow\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenBelow\",\"text\":\"Open below the current tiddler\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtTop\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtTop\",\"text\":\"Open at the top of the story river\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtBottom\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtBottom\",\"text\":\"Open at the bottom of the story river\"},\"$:/language/ControlPanel/Settings/TitleLinks/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Caption\",\"text\":\"Tiddler Titles\"},\"$:/language/ControlPanel/Settings/TitleLinks/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Hint\",\"text\":\"Optionally display tiddler titles as links\"},\"$:/language/ControlPanel/Settings/TitleLinks/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/No/Description\",\"text\":\"Do not display tiddler titles as links\"},\"$:/language/ControlPanel/Settings/TitleLinks/Yes/Description\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Yes/Description\",\"text\":\"Display tiddler titles as links\"},\"$:/language/ControlPanel/Settings/MissingLinks/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Caption\",\"text\":\"Wiki Links\"},\"$:/language/ControlPanel/Settings/MissingLinks/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Hint\",\"text\":\"Choose whether to link to tiddlers that do not exist yet\"},\"$:/language/ControlPanel/Settings/MissingLinks/Description\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Description\",\"text\":\"Enable links to missing tiddlers\"},\"$:/language/ControlPanel/StoryTiddler/Caption\":{\"title\":\"$:/language/ControlPanel/StoryTiddler/Caption\",\"text\":\"Story Tiddler\"},\"$:/language/ControlPanel/StoryTiddler/Hint\":{\"title\":\"$:/language/ControlPanel/StoryTiddler/Hint\",\"text\":\"This rule cascade is used to dynamically choose the template for displaying a tiddler in the story river.\"},\"$:/language/ControlPanel/StoryView/Caption\":{\"title\":\"$:/language/ControlPanel/StoryView/Caption\",\"text\":\"Story View\"},\"$:/language/ControlPanel/StoryView/Prompt\":{\"title\":\"$:/language/ControlPanel/StoryView/Prompt\",\"text\":\"Current view:\"},\"$:/language/ControlPanel/Stylesheets/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Caption\",\"text\":\"Stylesheets\"},\"$:/language/ControlPanel/Stylesheets/Expand/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Expand/Caption\",\"text\":\"Expand All\"},\"$:/language/ControlPanel/Stylesheets/Hint\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Hint\",\"text\":\"This is the rendered CSS of the current stylesheet tiddlers tagged with \u003C\u003Ctag \\\"$:/tags/Stylesheet\\\">>\"},\"$:/language/ControlPanel/Stylesheets/Restore/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Restore/Caption\",\"text\":\"Restore\"},\"$:/language/ControlPanel/Theme/Caption\":{\"title\":\"$:/language/ControlPanel/Theme/Caption\",\"text\":\"Theme\"},\"$:/language/ControlPanel/Theme/Prompt\":{\"title\":\"$:/language/ControlPanel/Theme/Prompt\",\"text\":\"Current theme:\"},\"$:/language/ControlPanel/TiddlerFields/Caption\":{\"title\":\"$:/language/ControlPanel/TiddlerFields/Caption\",\"text\":\"Tiddler Fields\"},\"$:/language/ControlPanel/TiddlerFields/Hint\":{\"title\":\"$:/language/ControlPanel/TiddlerFields/Hint\",\"text\":\"This is the full set of TiddlerFields in use in this wiki (including system tiddlers but excluding shadow tiddlers).\"},\"$:/language/ControlPanel/TiddlerColour/Caption\":{\"title\":\"$:/language/ControlPanel/TiddlerColour/Caption\",\"text\":\"Tiddler Colour\"},\"$:/language/ControlPanel/TiddlerColour/Hint\":{\"title\":\"$:/language/ControlPanel/TiddlerColour/Hint\",\"text\":\"This rules cascade is used to dynamically choose the colour for a tiddler (used for the icon and the associated tag pill).\"},\"$:/language/ControlPanel/TiddlerIcon/Caption\":{\"title\":\"$:/language/ControlPanel/TiddlerIcon/Caption\",\"text\":\"Tiddler Icon\"},\"$:/language/ControlPanel/TiddlerIcon/Hint\":{\"title\":\"$:/language/ControlPanel/TiddlerIcon/Hint\",\"text\":\"This rules cascade is used to dynamically choose the icon for a tiddler.\"},\"$:/language/ControlPanel/Toolbars/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/Caption\",\"text\":\"Toolbars\"},\"$:/language/ControlPanel/Toolbars/EditToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditToolbar/Caption\",\"text\":\"Edit Toolbar\"},\"$:/language/ControlPanel/Toolbars/EditToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditToolbar/Hint\",\"text\":\"Choose which buttons are displayed for tiddlers in edit mode. Drag and drop to change the ordering\"},\"$:/language/ControlPanel/Toolbars/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/Hint\",\"text\":\"Select which toolbar buttons are displayed\"},\"$:/language/ControlPanel/Toolbars/PageControls/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/PageControls/Caption\",\"text\":\"Page Toolbar\"},\"$:/language/ControlPanel/Toolbars/PageControls/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/PageControls/Hint\",\"text\":\"Choose which buttons are displayed on the main page toolbar. Drag and drop to change the ordering\"},\"$:/language/ControlPanel/Toolbars/EditorToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditorToolbar/Caption\",\"text\":\"Editor Toolbar\"},\"$:/language/ControlPanel/Toolbars/EditorToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditorToolbar/Hint\",\"text\":\"Choose which buttons are displayed in the editor toolbar. Note that some buttons will only appear when editing tiddlers of a certain type. Drag and drop to change the ordering\"},\"$:/language/ControlPanel/Toolbars/ViewToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/ViewToolbar/Caption\",\"text\":\"View Toolbar\"},\"$:/language/ControlPanel/Toolbars/ViewToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/ViewToolbar/Hint\",\"text\":\"Choose which buttons are displayed for tiddlers in view mode. Drag and drop to change the ordering\"},\"$:/language/ControlPanel/Tools/Download/Full/Caption\":{\"title\":\"$:/language/ControlPanel/Tools/Download/Full/Caption\",\"text\":\"Download full wiki\"},\"$:/language/ControlPanel/ViewTemplateBody/Caption\":{\"title\":\"$:/language/ControlPanel/ViewTemplateBody/Caption\",\"text\":\"View Template Body\"},\"$:/language/ControlPanel/ViewTemplateBody/Hint\":{\"title\":\"$:/language/ControlPanel/ViewTemplateBody/Hint\",\"text\":\"This rule cascade is used by the default view template to dynamically choose the template for displaying the body of a tiddler.\"},\"$:/language/ControlPanel/ViewTemplateTitle/Caption\":{\"title\":\"$:/language/ControlPanel/ViewTemplateTitle/Caption\",\"text\":\"View Template Title\"},\"$:/language/ControlPanel/ViewTemplateTitle/Hint\":{\"title\":\"$:/language/ControlPanel/ViewTemplateTitle/Hint\",\"text\":\"This rule cascade is used by the default view template to dynamically choose the template for displaying the title of a tiddler.\"},\"$:/language/Date/DaySuffix/1\":{\"title\":\"$:/language/Date/DaySuffix/1\",\"text\":\"st\"},\"$:/language/Date/DaySuffix/2\":{\"title\":\"$:/language/Date/DaySuffix/2\",\"text\":\"nd\"},\"$:/language/Date/DaySuffix/3\":{\"title\":\"$:/language/Date/DaySuffix/3\",\"text\":\"rd\"},\"$:/language/Date/DaySuffix/4\":{\"title\":\"$:/language/Date/DaySuffix/4\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/5\":{\"title\":\"$:/language/Date/DaySuffix/5\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/6\":{\"title\":\"$:/language/Date/DaySuffix/6\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/7\":{\"title\":\"$:/language/Date/DaySuffix/7\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/8\":{\"title\":\"$:/language/Date/DaySuffix/8\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/9\":{\"title\":\"$:/language/Date/DaySuffix/9\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/10\":{\"title\":\"$:/language/Date/DaySuffix/10\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/11\":{\"title\":\"$:/language/Date/DaySuffix/11\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/12\":{\"title\":\"$:/language/Date/DaySuffix/12\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/13\":{\"title\":\"$:/language/Date/DaySuffix/13\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/14\":{\"title\":\"$:/language/Date/DaySuffix/14\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/15\":{\"title\":\"$:/language/Date/DaySuffix/15\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/16\":{\"title\":\"$:/language/Date/DaySuffix/16\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/17\":{\"title\":\"$:/language/Date/DaySuffix/17\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/18\":{\"title\":\"$:/language/Date/DaySuffix/18\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/19\":{\"title\":\"$:/language/Date/DaySuffix/19\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/20\":{\"title\":\"$:/language/Date/DaySuffix/20\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/21\":{\"title\":\"$:/language/Date/DaySuffix/21\",\"text\":\"st\"},\"$:/language/Date/DaySuffix/22\":{\"title\":\"$:/language/Date/DaySuffix/22\",\"text\":\"nd\"},\"$:/language/Date/DaySuffix/23\":{\"title\":\"$:/language/Date/DaySuffix/23\",\"text\":\"rd\"},\"$:/language/Date/DaySuffix/24\":{\"title\":\"$:/language/Date/DaySuffix/24\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/25\":{\"title\":\"$:/language/Date/DaySuffix/25\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/26\":{\"title\":\"$:/language/Date/DaySuffix/26\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/27\":{\"title\":\"$:/language/Date/DaySuffix/27\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/28\":{\"title\":\"$:/language/Date/DaySuffix/28\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/29\":{\"title\":\"$:/language/Date/DaySuffix/29\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/30\":{\"title\":\"$:/language/Date/DaySuffix/30\",\"text\":\"th\"},\"$:/language/Date/DaySuffix/31\":{\"title\":\"$:/language/Date/DaySuffix/31\",\"text\":\"st\"},\"$:/language/Date/Long/Day/0\":{\"title\":\"$:/language/Date/Long/Day/0\",\"text\":\"Sunday\"},\"$:/language/Date/Long/Day/1\":{\"title\":\"$:/language/Date/Long/Day/1\",\"text\":\"Monday\"},\"$:/language/Date/Long/Day/2\":{\"title\":\"$:/language/Date/Long/Day/2\",\"text\":\"Tuesday\"},\"$:/language/Date/Long/Day/3\":{\"title\":\"$:/language/Date/Long/Day/3\",\"text\":\"Wednesday\"},\"$:/language/Date/Long/Day/4\":{\"title\":\"$:/language/Date/Long/Day/4\",\"text\":\"Thursday\"},\"$:/language/Date/Long/Day/5\":{\"title\":\"$:/language/Date/Long/Day/5\",\"text\":\"Friday\"},\"$:/language/Date/Long/Day/6\":{\"title\":\"$:/language/Date/Long/Day/6\",\"text\":\"Saturday\"},\"$:/language/Date/Long/Month/1\":{\"title\":\"$:/language/Date/Long/Month/1\",\"text\":\"January\"},\"$:/language/Date/Long/Month/2\":{\"title\":\"$:/language/Date/Long/Month/2\",\"text\":\"February\"},\"$:/language/Date/Long/Month/3\":{\"title\":\"$:/language/Date/Long/Month/3\",\"text\":\"March\"},\"$:/language/Date/Long/Month/4\":{\"title\":\"$:/language/Date/Long/Month/4\",\"text\":\"April\"},\"$:/language/Date/Long/Month/5\":{\"title\":\"$:/language/Date/Long/Month/5\",\"text\":\"May\"},\"$:/language/Date/Long/Month/6\":{\"title\":\"$:/language/Date/Long/Month/6\",\"text\":\"June\"},\"$:/language/Date/Long/Month/7\":{\"title\":\"$:/language/Date/Long/Month/7\",\"text\":\"July\"},\"$:/language/Date/Long/Month/8\":{\"title\":\"$:/language/Date/Long/Month/8\",\"text\":\"August\"},\"$:/language/Date/Long/Month/9\":{\"title\":\"$:/language/Date/Long/Month/9\",\"text\":\"September\"},\"$:/language/Date/Long/Month/10\":{\"title\":\"$:/language/Date/Long/Month/10\",\"text\":\"October\"},\"$:/language/Date/Long/Month/11\":{\"title\":\"$:/language/Date/Long/Month/11\",\"text\":\"November\"},\"$:/language/Date/Long/Month/12\":{\"title\":\"$:/language/Date/Long/Month/12\",\"text\":\"December\"},\"$:/language/Date/Period/am\":{\"title\":\"$:/language/Date/Period/am\",\"text\":\"am\"},\"$:/language/Date/Period/pm\":{\"title\":\"$:/language/Date/Period/pm\",\"text\":\"pm\"},\"$:/language/Date/Short/Day/0\":{\"title\":\"$:/language/Date/Short/Day/0\",\"text\":\"Sun\"},\"$:/language/Date/Short/Day/1\":{\"title\":\"$:/language/Date/Short/Day/1\",\"text\":\"Mon\"},\"$:/language/Date/Short/Day/2\":{\"title\":\"$:/language/Date/Short/Day/2\",\"text\":\"Tue\"},\"$:/language/Date/Short/Day/3\":{\"title\":\"$:/language/Date/Short/Day/3\",\"text\":\"Wed\"},\"$:/language/Date/Short/Day/4\":{\"title\":\"$:/language/Date/Short/Day/4\",\"text\":\"Thu\"},\"$:/language/Date/Short/Day/5\":{\"title\":\"$:/language/Date/Short/Day/5\",\"text\":\"Fri\"},\"$:/language/Date/Short/Day/6\":{\"title\":\"$:/language/Date/Short/Day/6\",\"text\":\"Sat\"},\"$:/language/Date/Short/Month/1\":{\"title\":\"$:/language/Date/Short/Month/1\",\"text\":\"Jan\"},\"$:/language/Date/Short/Month/2\":{\"title\":\"$:/language/Date/Short/Month/2\",\"text\":\"Feb\"},\"$:/language/Date/Short/Month/3\":{\"title\":\"$:/language/Date/Short/Month/3\",\"text\":\"Mar\"},\"$:/language/Date/Short/Month/4\":{\"title\":\"$:/language/Date/Short/Month/4\",\"text\":\"Apr\"},\"$:/language/Date/Short/Month/5\":{\"title\":\"$:/language/Date/Short/Month/5\",\"text\":\"May\"},\"$:/language/Date/Short/Month/6\":{\"title\":\"$:/language/Date/Short/Month/6\",\"text\":\"Jun\"},\"$:/language/Date/Short/Month/7\":{\"title\":\"$:/language/Date/Short/Month/7\",\"text\":\"Jul\"},\"$:/language/Date/Short/Month/8\":{\"title\":\"$:/language/Date/Short/Month/8\",\"text\":\"Aug\"},\"$:/language/Date/Short/Month/9\":{\"title\":\"$:/language/Date/Short/Month/9\",\"text\":\"Sep\"},\"$:/language/Date/Short/Month/10\":{\"title\":\"$:/language/Date/Short/Month/10\",\"text\":\"Oct\"},\"$:/language/Date/Short/Month/11\":{\"title\":\"$:/language/Date/Short/Month/11\",\"text\":\"Nov\"},\"$:/language/Date/Short/Month/12\":{\"title\":\"$:/language/Date/Short/Month/12\",\"text\":\"Dec\"},\"$:/language/RelativeDate/Future/Days\":{\"title\":\"$:/language/RelativeDate/Future/Days\",\"text\":\"\u003C\u003Cperiod>> days from now\"},\"$:/language/RelativeDate/Future/Hours\":{\"title\":\"$:/language/RelativeDate/Future/Hours\",\"text\":\"\u003C\u003Cperiod>> hours from now\"},\"$:/language/RelativeDate/Future/Minutes\":{\"title\":\"$:/language/RelativeDate/Future/Minutes\",\"text\":\"\u003C\u003Cperiod>> minutes from now\"},\"$:/language/RelativeDate/Future/Months\":{\"title\":\"$:/language/RelativeDate/Future/Months\",\"text\":\"\u003C\u003Cperiod>> months from now\"},\"$:/language/RelativeDate/Future/Second\":{\"title\":\"$:/language/RelativeDate/Future/Second\",\"text\":\"1 second from now\"},\"$:/language/RelativeDate/Future/Seconds\":{\"title\":\"$:/language/RelativeDate/Future/Seconds\",\"text\":\"\u003C\u003Cperiod>> seconds from now\"},\"$:/language/RelativeDate/Future/Years\":{\"title\":\"$:/language/RelativeDate/Future/Years\",\"text\":\"\u003C\u003Cperiod>> years from now\"},\"$:/language/RelativeDate/Past/Days\":{\"title\":\"$:/language/RelativeDate/Past/Days\",\"text\":\"\u003C\u003Cperiod>> days ago\"},\"$:/language/RelativeDate/Past/Hours\":{\"title\":\"$:/language/RelativeDate/Past/Hours\",\"text\":\"\u003C\u003Cperiod>> hours ago\"},\"$:/language/RelativeDate/Past/Minutes\":{\"title\":\"$:/language/RelativeDate/Past/Minutes\",\"text\":\"\u003C\u003Cperiod>> minutes ago\"},\"$:/language/RelativeDate/Past/Months\":{\"title\":\"$:/language/RelativeDate/Past/Months\",\"text\":\"\u003C\u003Cperiod>> months ago\"},\"$:/language/RelativeDate/Past/Second\":{\"title\":\"$:/language/RelativeDate/Past/Second\",\"text\":\"1 second ago\"},\"$:/language/RelativeDate/Past/Seconds\":{\"title\":\"$:/language/RelativeDate/Past/Seconds\",\"text\":\"\u003C\u003Cperiod>> seconds ago\"},\"$:/language/RelativeDate/Past/Years\":{\"title\":\"$:/language/RelativeDate/Past/Years\",\"text\":\"\u003C\u003Cperiod>> years ago\"},\"$:/language/Docs/ModuleTypes/allfilteroperator\":{\"title\":\"$:/language/Docs/ModuleTypes/allfilteroperator\",\"text\":\"A sub-operator for the ''all'' filter operator.\"},\"$:/language/Docs/ModuleTypes/animation\":{\"title\":\"$:/language/Docs/ModuleTypes/animation\",\"text\":\"Animations that may be used with the RevealWidget.\"},\"$:/language/Docs/ModuleTypes/authenticator\":{\"title\":\"$:/language/Docs/ModuleTypes/authenticator\",\"text\":\"Defines how requests are authenticated by the built-in HTTP server.\"},\"$:/language/Docs/ModuleTypes/bitmapeditoroperation\":{\"title\":\"$:/language/Docs/ModuleTypes/bitmapeditoroperation\",\"text\":\"A bitmap editor toolbar operation.\"},\"$:/language/Docs/ModuleTypes/command\":{\"title\":\"$:/language/Docs/ModuleTypes/command\",\"text\":\"Commands that can be executed under Node.js.\"},\"$:/language/Docs/ModuleTypes/config\":{\"title\":\"$:/language/Docs/ModuleTypes/config\",\"text\":\"Data to be inserted into `$tw.config`.\"},\"$:/language/Docs/ModuleTypes/filteroperator\":{\"title\":\"$:/language/Docs/ModuleTypes/filteroperator\",\"text\":\"Individual filter operator methods.\"},\"$:/language/Docs/ModuleTypes/global\":{\"title\":\"$:/language/Docs/ModuleTypes/global\",\"text\":\"Global data to be inserted into `$tw`.\"},\"$:/language/Docs/ModuleTypes/info\":{\"title\":\"$:/language/Docs/ModuleTypes/info\",\"text\":\"Publishes system information via the [[$:/temp/info-plugin]] pseudo-plugin.\"},\"$:/language/Docs/ModuleTypes/isfilteroperator\":{\"title\":\"$:/language/Docs/ModuleTypes/isfilteroperator\",\"text\":\"Operands for the ''is'' filter operator.\"},\"$:/language/Docs/ModuleTypes/library\":{\"title\":\"$:/language/Docs/ModuleTypes/library\",\"text\":\"Generic module type for general purpose JavaScript modules.\"},\"$:/language/Docs/ModuleTypes/macro\":{\"title\":\"$:/language/Docs/ModuleTypes/macro\",\"text\":\"JavaScript macro definitions.\"},\"$:/language/Docs/ModuleTypes/parser\":{\"title\":\"$:/language/Docs/ModuleTypes/parser\",\"text\":\"Parsers for different content types.\"},\"$:/language/Docs/ModuleTypes/route\":{\"title\":\"$:/language/Docs/ModuleTypes/route\",\"text\":\"Defines how individual URL patterns are handled by the built-in HTTP server.\"},\"$:/language/Docs/ModuleTypes/saver\":{\"title\":\"$:/language/Docs/ModuleTypes/saver\",\"text\":\"Savers handle different methods for saving files from the browser.\"},\"$:/language/Docs/ModuleTypes/startup\":{\"title\":\"$:/language/Docs/ModuleTypes/startup\",\"text\":\"Startup functions.\"},\"$:/language/Docs/ModuleTypes/storyview\":{\"title\":\"$:/language/Docs/ModuleTypes/storyview\",\"text\":\"Story views customise the animation and behaviour of list widgets.\"},\"$:/language/Docs/ModuleTypes/texteditoroperation\":{\"title\":\"$:/language/Docs/ModuleTypes/texteditoroperation\",\"text\":\"A text editor toolbar operation.\"},\"$:/language/Docs/ModuleTypes/tiddlerdeserializer\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlerdeserializer\",\"text\":\"Converts different content types into tiddlers.\"},\"$:/language/Docs/ModuleTypes/tiddlerfield\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlerfield\",\"text\":\"Defines the behaviour of an individual tiddler field.\"},\"$:/language/Docs/ModuleTypes/tiddlermethod\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlermethod\",\"text\":\"Adds methods to the `$tw.Tiddler` prototype.\"},\"$:/language/Docs/ModuleTypes/upgrader\":{\"title\":\"$:/language/Docs/ModuleTypes/upgrader\",\"text\":\"Applies upgrade processing to tiddlers during an upgrade/import.\"},\"$:/language/Docs/ModuleTypes/utils\":{\"title\":\"$:/language/Docs/ModuleTypes/utils\",\"text\":\"Adds methods to `$tw.utils`.\"},\"$:/language/Docs/ModuleTypes/utils-browser\":{\"title\":\"$:/language/Docs/ModuleTypes/utils-browser\",\"text\":\"Adds browser-specific methods to `$tw.utils`.\"},\"$:/language/Docs/ModuleTypes/utils-node\":{\"title\":\"$:/language/Docs/ModuleTypes/utils-node\",\"text\":\"Adds Node.js-specific methods to `$tw.utils`.\"},\"$:/language/Docs/ModuleTypes/widget\":{\"title\":\"$:/language/Docs/ModuleTypes/widget\",\"text\":\"Widgets encapsulate DOM rendering and refreshing.\"},\"$:/language/Docs/ModuleTypes/wikimethod\":{\"title\":\"$:/language/Docs/ModuleTypes/wikimethod\",\"text\":\"Adds methods to `$tw.Wiki`.\"},\"$:/language/Docs/ModuleTypes/wikirule\":{\"title\":\"$:/language/Docs/ModuleTypes/wikirule\",\"text\":\"Individual parser rules for the main WikiText parser.\"},\"$:/language/Docs/PaletteColours/alert-background\":{\"title\":\"$:/language/Docs/PaletteColours/alert-background\",\"text\":\"Alert background\"},\"$:/language/Docs/PaletteColours/alert-border\":{\"title\":\"$:/language/Docs/PaletteColours/alert-border\",\"text\":\"Alert border\"},\"$:/language/Docs/PaletteColours/alert-highlight\":{\"title\":\"$:/language/Docs/PaletteColours/alert-highlight\",\"text\":\"Alert highlight\"},\"$:/language/Docs/PaletteColours/alert-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/alert-muted-foreground\",\"text\":\"Alert muted foreground\"},\"$:/language/Docs/PaletteColours/background\":{\"title\":\"$:/language/Docs/PaletteColours/background\",\"text\":\"General background\"},\"$:/language/Docs/PaletteColours/blockquote-bar\":{\"title\":\"$:/language/Docs/PaletteColours/blockquote-bar\",\"text\":\"Blockquote bar\"},\"$:/language/Docs/PaletteColours/button-background\":{\"title\":\"$:/language/Docs/PaletteColours/button-background\",\"text\":\"Default button background\"},\"$:/language/Docs/PaletteColours/button-border\":{\"title\":\"$:/language/Docs/PaletteColours/button-border\",\"text\":\"Default button border\"},\"$:/language/Docs/PaletteColours/button-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/button-foreground\",\"text\":\"Default button foreground\"},\"$:/language/Docs/PaletteColours/dirty-indicator\":{\"title\":\"$:/language/Docs/PaletteColours/dirty-indicator\",\"text\":\"Unsaved changes indicator\"},\"$:/language/Docs/PaletteColours/code-background\":{\"title\":\"$:/language/Docs/PaletteColours/code-background\",\"text\":\"Code background\"},\"$:/language/Docs/PaletteColours/code-border\":{\"title\":\"$:/language/Docs/PaletteColours/code-border\",\"text\":\"Code border\"},\"$:/language/Docs/PaletteColours/code-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/code-foreground\",\"text\":\"Code foreground\"},\"$:/language/Docs/PaletteColours/download-background\":{\"title\":\"$:/language/Docs/PaletteColours/download-background\",\"text\":\"Download button background\"},\"$:/language/Docs/PaletteColours/download-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/download-foreground\",\"text\":\"Download button foreground\"},\"$:/language/Docs/PaletteColours/dragger-background\":{\"title\":\"$:/language/Docs/PaletteColours/dragger-background\",\"text\":\"Dragger background\"},\"$:/language/Docs/PaletteColours/dragger-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/dragger-foreground\",\"text\":\"Dragger foreground\"},\"$:/language/Docs/PaletteColours/dropdown-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-background\",\"text\":\"Dropdown background\"},\"$:/language/Docs/PaletteColours/dropdown-border\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-border\",\"text\":\"Dropdown border\"},\"$:/language/Docs/PaletteColours/dropdown-tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-tab-background-selected\",\"text\":\"Dropdown tab background for selected tabs\"},\"$:/language/Docs/PaletteColours/dropdown-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-tab-background\",\"text\":\"Dropdown tab background\"},\"$:/language/Docs/PaletteColours/dropzone-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropzone-background\",\"text\":\"Dropzone background\"},\"$:/language/Docs/PaletteColours/external-link-background-hover\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background-hover\",\"text\":\"External link background hover\"},\"$:/language/Docs/PaletteColours/external-link-background-visited\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background-visited\",\"text\":\"External link background visited\"},\"$:/language/Docs/PaletteColours/external-link-background\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background\",\"text\":\"External link background\"},\"$:/language/Docs/PaletteColours/external-link-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground-hover\",\"text\":\"External link foreground hover\"},\"$:/language/Docs/PaletteColours/external-link-foreground-visited\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground-visited\",\"text\":\"External link foreground visited\"},\"$:/language/Docs/PaletteColours/external-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground\",\"text\":\"External link foreground\"},\"$:/language/Docs/PaletteColours/foreground\":{\"title\":\"$:/language/Docs/PaletteColours/foreground\",\"text\":\"General foreground\"},\"$:/language/Docs/PaletteColours/menubar-background\":{\"title\":\"$:/language/Docs/PaletteColours/menubar-background\",\"text\":\"Menu bar background\"},\"$:/language/Docs/PaletteColours/menubar-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/menubar-foreground\",\"text\":\"Menu bar foreground\"},\"$:/language/Docs/PaletteColours/message-background\":{\"title\":\"$:/language/Docs/PaletteColours/message-background\",\"text\":\"Message box background\"},\"$:/language/Docs/PaletteColours/message-border\":{\"title\":\"$:/language/Docs/PaletteColours/message-border\",\"text\":\"Message box border\"},\"$:/language/Docs/PaletteColours/message-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/message-foreground\",\"text\":\"Message box foreground\"},\"$:/language/Docs/PaletteColours/modal-backdrop\":{\"title\":\"$:/language/Docs/PaletteColours/modal-backdrop\",\"text\":\"Modal backdrop\"},\"$:/language/Docs/PaletteColours/modal-background\":{\"title\":\"$:/language/Docs/PaletteColours/modal-background\",\"text\":\"Modal background\"},\"$:/language/Docs/PaletteColours/modal-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-border\",\"text\":\"Modal border\"},\"$:/language/Docs/PaletteColours/modal-footer-background\":{\"title\":\"$:/language/Docs/PaletteColours/modal-footer-background\",\"text\":\"Modal footer background\"},\"$:/language/Docs/PaletteColours/modal-footer-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-footer-border\",\"text\":\"Modal footer border\"},\"$:/language/Docs/PaletteColours/modal-header-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-header-border\",\"text\":\"Modal header border\"},\"$:/language/Docs/PaletteColours/muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/muted-foreground\",\"text\":\"General muted foreground\"},\"$:/language/Docs/PaletteColours/notification-background\":{\"title\":\"$:/language/Docs/PaletteColours/notification-background\",\"text\":\"Notification background\"},\"$:/language/Docs/PaletteColours/notification-border\":{\"title\":\"$:/language/Docs/PaletteColours/notification-border\",\"text\":\"Notification border\"},\"$:/language/Docs/PaletteColours/page-background\":{\"title\":\"$:/language/Docs/PaletteColours/page-background\",\"text\":\"Page background\"},\"$:/language/Docs/PaletteColours/pre-background\":{\"title\":\"$:/language/Docs/PaletteColours/pre-background\",\"text\":\"Preformatted code background\"},\"$:/language/Docs/PaletteColours/pre-border\":{\"title\":\"$:/language/Docs/PaletteColours/pre-border\",\"text\":\"Preformatted code border\"},\"$:/language/Docs/PaletteColours/primary\":{\"title\":\"$:/language/Docs/PaletteColours/primary\",\"text\":\"General primary\"},\"$:/language/Docs/PaletteColours/select-tag-background\":{\"title\":\"$:/language/Docs/PaletteColours/select-tag-background\",\"text\":\"`\u003Cselect>` element background\"},\"$:/language/Docs/PaletteColours/select-tag-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/select-tag-foreground\",\"text\":\"`\u003Cselect>` element text\"},\"$:/language/Docs/PaletteColours/sidebar-button-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-button-foreground\",\"text\":\"Sidebar button foreground\"},\"$:/language/Docs/PaletteColours/sidebar-controls-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-controls-foreground-hover\",\"text\":\"Sidebar controls foreground hover\"},\"$:/language/Docs/PaletteColours/sidebar-controls-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-controls-foreground\",\"text\":\"Sidebar controls foreground\"},\"$:/language/Docs/PaletteColours/sidebar-foreground-shadow\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-foreground-shadow\",\"text\":\"Sidebar foreground shadow\"},\"$:/language/Docs/PaletteColours/sidebar-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-foreground\",\"text\":\"Sidebar foreground\"},\"$:/language/Docs/PaletteColours/sidebar-muted-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-muted-foreground-hover\",\"text\":\"Sidebar muted foreground hover\"},\"$:/language/Docs/PaletteColours/sidebar-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-muted-foreground\",\"text\":\"Sidebar muted foreground\"},\"$:/language/Docs/PaletteColours/sidebar-tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-background-selected\",\"text\":\"Sidebar tab background for selected tabs\"},\"$:/language/Docs/PaletteColours/sidebar-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-background\",\"text\":\"Sidebar tab background\"},\"$:/language/Docs/PaletteColours/sidebar-tab-border-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-border-selected\",\"text\":\"Sidebar tab border for selected tabs\"},\"$:/language/Docs/PaletteColours/sidebar-tab-border\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-border\",\"text\":\"Sidebar tab border\"},\"$:/language/Docs/PaletteColours/sidebar-tab-divider\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-divider\",\"text\":\"Sidebar tab divider\"},\"$:/language/Docs/PaletteColours/sidebar-tab-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-foreground-selected\",\"text\":\"Sidebar tab foreground for selected tabs\"},\"$:/language/Docs/PaletteColours/sidebar-tab-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-foreground\",\"text\":\"Sidebar tab foreground\"},\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground-hover\",\"text\":\"Sidebar tiddler link foreground hover\"},\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground\",\"text\":\"Sidebar tiddler link foreground\"},\"$:/language/Docs/PaletteColours/site-title-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/site-title-foreground\",\"text\":\"Site title foreground\"},\"$:/language/Docs/PaletteColours/static-alert-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/static-alert-foreground\",\"text\":\"Static alert foreground\"},\"$:/language/Docs/PaletteColours/tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-background-selected\",\"text\":\"Tab background for selected tabs\"},\"$:/language/Docs/PaletteColours/tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/tab-background\",\"text\":\"Tab background\"},\"$:/language/Docs/PaletteColours/tab-border-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-border-selected\",\"text\":\"Tab border for selected tabs\"},\"$:/language/Docs/PaletteColours/tab-border\":{\"title\":\"$:/language/Docs/PaletteColours/tab-border\",\"text\":\"Tab border\"},\"$:/language/Docs/PaletteColours/tab-divider\":{\"title\":\"$:/language/Docs/PaletteColours/tab-divider\",\"text\":\"Tab divider\"},\"$:/language/Docs/PaletteColours/tab-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-foreground-selected\",\"text\":\"Tab foreground for selected tabs\"},\"$:/language/Docs/PaletteColours/tab-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tab-foreground\",\"text\":\"Tab foreground\"},\"$:/language/Docs/PaletteColours/table-border\":{\"title\":\"$:/language/Docs/PaletteColours/table-border\",\"text\":\"Table border\"},\"$:/language/Docs/PaletteColours/table-footer-background\":{\"title\":\"$:/language/Docs/PaletteColours/table-footer-background\",\"text\":\"Table footer background\"},\"$:/language/Docs/PaletteColours/table-header-background\":{\"title\":\"$:/language/Docs/PaletteColours/table-header-background\",\"text\":\"Table header background\"},\"$:/language/Docs/PaletteColours/tag-background\":{\"title\":\"$:/language/Docs/PaletteColours/tag-background\",\"text\":\"Tag background\"},\"$:/language/Docs/PaletteColours/tag-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tag-foreground\",\"text\":\"Tag foreground\"},\"$:/language/Docs/PaletteColours/tiddler-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-background\",\"text\":\"Tiddler background\"},\"$:/language/Docs/PaletteColours/tiddler-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-border\",\"text\":\"Tiddler border\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-hover\",\"text\":\"Tiddler controls foreground hover\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-selected\",\"text\":\"Tiddler controls foreground for selected controls\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground\",\"text\":\"Tiddler controls foreground\"},\"$:/language/Docs/PaletteColours/tiddler-editor-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-background\",\"text\":\"Tiddler editor background\"},\"$:/language/Docs/PaletteColours/tiddler-editor-border-image\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-border-image\",\"text\":\"Tiddler editor border image\"},\"$:/language/Docs/PaletteColours/tiddler-editor-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-border\",\"text\":\"Tiddler editor border\"},\"$:/language/Docs/PaletteColours/tiddler-editor-fields-even\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-fields-even\",\"text\":\"Tiddler editor background for even fields\"},\"$:/language/Docs/PaletteColours/tiddler-editor-fields-odd\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-fields-odd\",\"text\":\"Tiddler editor background for odd fields\"},\"$:/language/Docs/PaletteColours/tiddler-info-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-background\",\"text\":\"Tiddler info panel background\"},\"$:/language/Docs/PaletteColours/tiddler-info-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-border\",\"text\":\"Tiddler info panel border\"},\"$:/language/Docs/PaletteColours/tiddler-info-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-tab-background\",\"text\":\"Tiddler info panel tab background\"},\"$:/language/Docs/PaletteColours/tiddler-link-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-link-background\",\"text\":\"Tiddler link background\"},\"$:/language/Docs/PaletteColours/tiddler-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-link-foreground\",\"text\":\"Tiddler link foreground\"},\"$:/language/Docs/PaletteColours/tiddler-subtitle-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-subtitle-foreground\",\"text\":\"Tiddler subtitle foreground\"},\"$:/language/Docs/PaletteColours/tiddler-title-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-title-foreground\",\"text\":\"Tiddler title foreground\"},\"$:/language/Docs/PaletteColours/toolbar-new-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-new-button\",\"text\":\"Toolbar 'new tiddler' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-options-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-options-button\",\"text\":\"Toolbar 'options' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-save-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-save-button\",\"text\":\"Toolbar 'save' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-info-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-info-button\",\"text\":\"Toolbar 'info' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-edit-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-edit-button\",\"text\":\"Toolbar 'edit' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-close-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-close-button\",\"text\":\"Toolbar 'close' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-delete-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-delete-button\",\"text\":\"Toolbar 'delete' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-cancel-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-cancel-button\",\"text\":\"Toolbar 'cancel' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-done-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-done-button\",\"text\":\"Toolbar 'done' button foreground\"},\"$:/language/Docs/PaletteColours/untagged-background\":{\"title\":\"$:/language/Docs/PaletteColours/untagged-background\",\"text\":\"Untagged pill background\"},\"$:/language/Docs/PaletteColours/very-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/very-muted-foreground\",\"text\":\"Very muted foreground\"},\"$:/language/EditTemplate/Caption\":{\"title\":\"$:/language/EditTemplate/Caption\",\"text\":\"Editor\"},\"$:/language/EditTemplate/Body/External/Hint\":{\"title\":\"$:/language/EditTemplate/Body/External/Hint\",\"text\":\"This tiddler shows content stored outside of the main TiddlyWiki file. You can edit the tags and fields but cannot directly edit the content itself\"},\"$:/language/EditTemplate/Body/Placeholder\":{\"title\":\"$:/language/EditTemplate/Body/Placeholder\",\"text\":\"Type the text for this tiddler\"},\"$:/language/EditTemplate/Body/Preview/Type/Output\":{\"title\":\"$:/language/EditTemplate/Body/Preview/Type/Output\",\"text\":\"output\"},\"$:/language/EditTemplate/Body/Preview/Type/DiffShadow\":{\"title\":\"$:/language/EditTemplate/Body/Preview/Type/DiffShadow\",\"text\":\"differences from shadow (if any)\"},\"$:/language/EditTemplate/Body/Preview/Type/DiffCurrent\":{\"title\":\"$:/language/EditTemplate/Body/Preview/Type/DiffCurrent\",\"text\":\"differences from current\"},\"$:/language/EditTemplate/Field/Remove/Caption\":{\"title\":\"$:/language/EditTemplate/Field/Remove/Caption\",\"text\":\"remove field\"},\"$:/language/EditTemplate/Field/Remove/Hint\":{\"title\":\"$:/language/EditTemplate/Field/Remove/Hint\",\"text\":\"Remove field\"},\"$:/language/EditTemplate/Field/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Field/Dropdown/Caption\",\"text\":\"field list\"},\"$:/language/EditTemplate/Field/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Field/Dropdown/Hint\",\"text\":\"Show field list\"},\"$:/language/EditTemplate/Fields/Add/Button\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Button\",\"text\":\"add\"},\"$:/language/EditTemplate/Fields/Add/Button/Hint\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Button/Hint\",\"text\":\"Add the new field to the tiddler\"},\"$:/language/EditTemplate/Fields/Add/Name/Placeholder\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Name/Placeholder\",\"text\":\"field name\"},\"$:/language/EditTemplate/Fields/Add/Prompt\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Prompt\",\"text\":\"Add a new field:\"},\"$:/language/EditTemplate/Fields/Add/Value/Placeholder\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Value/Placeholder\",\"text\":\"field value\"},\"$:/language/EditTemplate/Fields/Add/Dropdown/System\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Dropdown/System\",\"text\":\"System fields\"},\"$:/language/EditTemplate/Fields/Add/Dropdown/User\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Dropdown/User\",\"text\":\"User fields\"},\"$:/language/EditTemplate/Shadow/Warning\":{\"title\":\"$:/language/EditTemplate/Shadow/Warning\",\"text\":\"This is a shadow tiddler. Any changes you make will override the default version from the plugin \u003C\u003CpluginLink>>\"},\"$:/language/EditTemplate/Shadow/OverriddenWarning\":{\"title\":\"$:/language/EditTemplate/Shadow/OverriddenWarning\",\"text\":\"This is a modified shadow tiddler. You can revert to the default version in the plugin \u003C\u003CpluginLink>> by deleting this tiddler\"},\"$:/language/EditTemplate/Tags/Add/Button\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Button\",\"text\":\"add\"},\"$:/language/EditTemplate/Tags/Add/Button/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Button/Hint\",\"text\":\"add tag\"},\"$:/language/EditTemplate/Tags/Add/Placeholder\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Placeholder\",\"text\":\"tag name\"},\"$:/language/EditTemplate/Tags/ClearInput/Caption\":{\"title\":\"$:/language/EditTemplate/Tags/ClearInput/Caption\",\"text\":\"clear input\"},\"$:/language/EditTemplate/Tags/ClearInput/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/ClearInput/Hint\",\"text\":\"Clear tag input\"},\"$:/language/EditTemplate/Tags/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Tags/Dropdown/Caption\",\"text\":\"tag list\"},\"$:/language/EditTemplate/Tags/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/Dropdown/Hint\",\"text\":\"Show tag list\"},\"$:/language/EditTemplate/Title/BadCharacterWarning\":{\"title\":\"$:/language/EditTemplate/Title/BadCharacterWarning\",\"text\":\"Warning: avoid using any of the characters \u003C\u003Cbad-chars>> in tiddler titles\"},\"$:/language/EditTemplate/Title/Exists/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/Exists/Prompt\",\"text\":\"Target tiddler already exists\"},\"$:/language/EditTemplate/Title/Relink/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/Relink/Prompt\",\"text\":\"Update ''\u003C$text text=\u003C\u003CfromTitle>>/>'' to ''\u003C$text text=\u003C\u003CtoTitle>>/>'' in the //tags// and //list// fields of other tiddlers\"},\"$:/language/EditTemplate/Title/References/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/References/Prompt\",\"text\":\"The following references to this tiddler will not be automatically updated:\"},\"$:/language/EditTemplate/Type/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Type/Dropdown/Caption\",\"text\":\"content type list\"},\"$:/language/EditTemplate/Type/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Type/Dropdown/Hint\",\"text\":\"Show content type list\"},\"$:/language/EditTemplate/Type/Delete/Caption\":{\"title\":\"$:/language/EditTemplate/Type/Delete/Caption\",\"text\":\"delete content type\"},\"$:/language/EditTemplate/Type/Delete/Hint\":{\"title\":\"$:/language/EditTemplate/Type/Delete/Hint\",\"text\":\"Delete content type\"},\"$:/language/EditTemplate/Type/Placeholder\":{\"title\":\"$:/language/EditTemplate/Type/Placeholder\",\"text\":\"content type\"},\"$:/language/EditTemplate/Type/Prompt\":{\"title\":\"$:/language/EditTemplate/Type/Prompt\",\"text\":\"Type:\"},\"$:/language/Exporters/StaticRiver\":{\"title\":\"$:/language/Exporters/StaticRiver\",\"text\":\"Static HTML\"},\"$:/language/Exporters/JsonFile\":{\"title\":\"$:/language/Exporters/JsonFile\",\"text\":\"JSON file\"},\"$:/language/Exporters/CsvFile\":{\"title\":\"$:/language/Exporters/CsvFile\",\"text\":\"CSV file\"},\"$:/language/Exporters/TidFile\":{\"title\":\"$:/language/Exporters/TidFile\",\"text\":\"\\\".tid\\\" file\"},\"$:/language/Docs/Fields/_canonical_uri\":{\"title\":\"$:/language/Docs/Fields/_canonical_uri\",\"text\":\"The full URI of an external image tiddler\"},\"$:/language/Docs/Fields/author\":{\"title\":\"$:/language/Docs/Fields/author\",\"text\":\"Name of the author of a plugin\"},\"$:/language/Docs/Fields/bag\":{\"title\":\"$:/language/Docs/Fields/bag\",\"text\":\"The name of the bag from which a tiddler came\"},\"$:/language/Docs/Fields/caption\":{\"title\":\"$:/language/Docs/Fields/caption\",\"text\":\"The text to be displayed on a tab or button\"},\"$:/language/Docs/Fields/code-body\":{\"title\":\"$:/language/Docs/Fields/code-body\",\"text\":\"The view template will display the tiddler as code if set to ''yes''\"},\"$:/language/Docs/Fields/color\":{\"title\":\"$:/language/Docs/Fields/color\",\"text\":\"The CSS color value associated with a tiddler\"},\"$:/language/Docs/Fields/component\":{\"title\":\"$:/language/Docs/Fields/component\",\"text\":\"The name of the component responsible for an [[alert tiddler|AlertMechanism]]\"},\"$:/language/Docs/Fields/core-version\":{\"title\":\"$:/language/Docs/Fields/core-version\",\"text\":\"For a plugin, indicates what version of TiddlyWiki with which it is compatible\"},\"$:/language/Docs/Fields/current-tiddler\":{\"title\":\"$:/language/Docs/Fields/current-tiddler\",\"text\":\"Used to cache the top tiddler in a [[history list|HistoryMechanism]]\"},\"$:/language/Docs/Fields/created\":{\"title\":\"$:/language/Docs/Fields/created\",\"text\":\"The date a tiddler was created\"},\"$:/language/Docs/Fields/creator\":{\"title\":\"$:/language/Docs/Fields/creator\",\"text\":\"The name of the person who created a tiddler\"},\"$:/language/Docs/Fields/dependents\":{\"title\":\"$:/language/Docs/Fields/dependents\",\"text\":\"For a plugin, lists the dependent plugin titles\"},\"$:/language/Docs/Fields/description\":{\"title\":\"$:/language/Docs/Fields/description\",\"text\":\"The descriptive text for a plugin, or a modal dialogue\"},\"$:/language/Docs/Fields/draft.of\":{\"title\":\"$:/language/Docs/Fields/draft.of\",\"text\":\"For draft tiddlers, contains the title of the tiddler of which this is a draft\"},\"$:/language/Docs/Fields/draft.title\":{\"title\":\"$:/language/Docs/Fields/draft.title\",\"text\":\"For draft tiddlers, contains the proposed new title of the tiddler\"},\"$:/language/Docs/Fields/footer\":{\"title\":\"$:/language/Docs/Fields/footer\",\"text\":\"The footer text for a modal\"},\"$:/language/Docs/Fields/hide-body\":{\"title\":\"$:/language/Docs/Fields/hide-body\",\"text\":\"The view template will hide bodies of tiddlers if set to ''yes''\"},\"$:/language/Docs/Fields/icon\":{\"title\":\"$:/language/Docs/Fields/icon\",\"text\":\"The title of the tiddler containing the icon associated with a tiddler\"},\"$:/language/Docs/Fields/library\":{\"title\":\"$:/language/Docs/Fields/library\",\"text\":\"Indicates that a tiddler should be saved as a JavaScript library if set to ''yes''\"},\"$:/language/Docs/Fields/list\":{\"title\":\"$:/language/Docs/Fields/list\",\"text\":\"An ordered list of tiddler titles associated with a tiddler\"},\"$:/language/Docs/Fields/list-before\":{\"title\":\"$:/language/Docs/Fields/list-before\",\"text\":\"If set, the title of a tiddler before which this tiddler should be added to the ordered list of tiddler titles, or at the start of the list if this field is present but empty\"},\"$:/language/Docs/Fields/list-after\":{\"title\":\"$:/language/Docs/Fields/list-after\",\"text\":\"If set, the title of the tiddler after which this tiddler should be added to the ordered list of tiddler titles, or at the end of the list if this field is present but empty\"},\"$:/language/Docs/Fields/modified\":{\"title\":\"$:/language/Docs/Fields/modified\",\"text\":\"The date and time at which a tiddler was last modified\"},\"$:/language/Docs/Fields/modifier\":{\"title\":\"$:/language/Docs/Fields/modifier\",\"text\":\"The tiddler title associated with the person who last modified a tiddler\"},\"$:/language/Docs/Fields/module-type\":{\"title\":\"$:/language/Docs/Fields/module-type\",\"text\":\"For javascript tiddlers, specifies what kind of module it is\"},\"$:/language/Docs/Fields/name\":{\"title\":\"$:/language/Docs/Fields/name\",\"text\":\"The human readable name associated with a plugin tiddler\"},\"$:/language/Docs/Fields/parent-plugin\":{\"title\":\"$:/language/Docs/Fields/parent-plugin\",\"text\":\"For a plugin, specifies which plugin of which it is a sub-plugin\"},\"$:/language/Docs/Fields/plugin-priority\":{\"title\":\"$:/language/Docs/Fields/plugin-priority\",\"text\":\"A numerical value indicating the priority of a plugin tiddler\"},\"$:/language/Docs/Fields/plugin-type\":{\"title\":\"$:/language/Docs/Fields/plugin-type\",\"text\":\"The type of plugin in a plugin tiddler\"},\"$:/language/Docs/Fields/revision\":{\"title\":\"$:/language/Docs/Fields/revision\",\"text\":\"The revision of the tiddler held at the server\"},\"$:/language/Docs/Fields/released\":{\"title\":\"$:/language/Docs/Fields/released\",\"text\":\"Date of a TiddlyWiki release\"},\"$:/language/Docs/Fields/source\":{\"title\":\"$:/language/Docs/Fields/source\",\"text\":\"The source URL associated with a tiddler\"},\"$:/language/Docs/Fields/subtitle\":{\"title\":\"$:/language/Docs/Fields/subtitle\",\"text\":\"The subtitle text for a modal\"},\"$:/language/Docs/Fields/tags\":{\"title\":\"$:/language/Docs/Fields/tags\",\"text\":\"A list of tags associated with a tiddler\"},\"$:/language/Docs/Fields/text\":{\"title\":\"$:/language/Docs/Fields/text\",\"text\":\"The body text of a tiddler\"},\"$:/language/Docs/Fields/throttle.refresh\":{\"title\":\"$:/language/Docs/Fields/throttle.refresh\",\"text\":\"If present, throttles refreshes of this tiddler\"},\"$:/language/Docs/Fields/title\":{\"title\":\"$:/language/Docs/Fields/title\",\"text\":\"The unique name of a tiddler\"},\"$:/language/Docs/Fields/toc-link\":{\"title\":\"$:/language/Docs/Fields/toc-link\",\"text\":\"Suppresses the tiddler's link in a Table of Contents tree if set to ''no''\"},\"$:/language/Docs/Fields/type\":{\"title\":\"$:/language/Docs/Fields/type\",\"text\":\"The content type of a tiddler\"},\"$:/language/Docs/Fields/version\":{\"title\":\"$:/language/Docs/Fields/version\",\"text\":\"Version information for a plugin\"},\"$:/language/Docs/Fields/_is_skinny\":{\"title\":\"$:/language/Docs/Fields/_is_skinny\",\"text\":\"If present, indicates that the tiddler text field must be loaded from the server\"},\"$:/language/Filters/AllTiddlers\":{\"title\":\"$:/language/Filters/AllTiddlers\",\"text\":\"All tiddlers except system tiddlers\"},\"$:/language/Filters/RecentSystemTiddlers\":{\"title\":\"$:/language/Filters/RecentSystemTiddlers\",\"text\":\"Recently modified tiddlers, including system tiddlers\"},\"$:/language/Filters/RecentTiddlers\":{\"title\":\"$:/language/Filters/RecentTiddlers\",\"text\":\"Recently modified tiddlers\"},\"$:/language/Filters/AllTags\":{\"title\":\"$:/language/Filters/AllTags\",\"text\":\"All tags except system tags\"},\"$:/language/Filters/Missing\":{\"title\":\"$:/language/Filters/Missing\",\"text\":\"Missing tiddlers\"},\"$:/language/Filters/Drafts\":{\"title\":\"$:/language/Filters/Drafts\",\"text\":\"Draft tiddlers\"},\"$:/language/Filters/Orphans\":{\"title\":\"$:/language/Filters/Orphans\",\"text\":\"Orphan tiddlers\"},\"$:/language/Filters/SystemTiddlers\":{\"title\":\"$:/language/Filters/SystemTiddlers\",\"text\":\"System tiddlers\"},\"$:/language/Filters/ShadowTiddlers\":{\"title\":\"$:/language/Filters/ShadowTiddlers\",\"text\":\"Shadow tiddlers\"},\"$:/language/Filters/OverriddenShadowTiddlers\":{\"title\":\"$:/language/Filters/OverriddenShadowTiddlers\",\"text\":\"Overridden shadow tiddlers\"},\"$:/language/Filters/SessionTiddlers\":{\"title\":\"$:/language/Filters/SessionTiddlers\",\"text\":\"Tiddlers modified since the wiki was loaded\"},\"$:/language/Filters/SystemTags\":{\"title\":\"$:/language/Filters/SystemTags\",\"text\":\"System tags\"},\"$:/language/Filters/StoryList\":{\"title\":\"$:/language/Filters/StoryList\",\"text\":\"Tiddlers in the story river, excluding \u003C$text text=\\\"$:/AdvancedSearch\\\"/>\"},\"$:/language/Filters/TypedTiddlers\":{\"title\":\"$:/language/Filters/TypedTiddlers\",\"text\":\"Non wiki-text tiddlers\"},\"GettingStarted\":{\"title\":\"GettingStarted\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Basics/\\nWelcome to ~TiddlyWiki and the ~TiddlyWiki community\\n\\nBefore you start storing important information in ~TiddlyWiki it is vital to make sure that you can reliably save changes. See https://tiddlywiki.com/#GettingStarted for details\\n\\n!! Set up this ~TiddlyWiki\\n\\n\u003Cdiv class=\\\"tc-control-panel\\\">\\n\\n|tc-table-no-border tc-first-col-min-width tc-first-link-nowrap|k\\n| \u003C$link to=\\\"$:/SiteTitle\\\">\u003C\u003Clingo Title/Prompt>>\u003C/$link>|\u003C$edit-text tiddler=\\\"$:/SiteTitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n| \u003C$link to=\\\"$:/SiteSubtitle\\\">\u003C\u003Clingo Subtitle/Prompt>>\u003C/$link>|\u003C$edit-text tiddler=\\\"$:/SiteSubtitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|^ \u003C$link to=\\\"$:/DefaultTiddlers\\\">\u003C\u003Clingo DefaultTiddlers/Prompt>>\u003C/$link>\u003Cbr>\u003C\u003Clingo DefaultTiddlers/TopHint>>|\u003C$edit tag=\\\"textarea\\\" tiddler=\\\"$:/DefaultTiddlers\\\"/>\u003Cbr>//\u003C\u003Clingo DefaultTiddlers/BottomHint>>// |\\n\u003C/div>\\n\\nSee the [[control panel|$:/ControlPanel]] for more options.\\n\"},\"$:/language/Help/build\":{\"title\":\"$:/language/Help/build\",\"description\":\"Automatically run configured commands\",\"text\":\"Build the specified build targets for the current wiki. If no build targets are specified then all available targets will be built.\\n\\n```\\n--build \u003Ctarget> [\u003Ctarget> ...]\\n```\\n\\nBuild targets are defined in the `tiddlywiki.info` file of a wiki folder.\\n\\n\"},\"$:/language/Help/clearpassword\":{\"title\":\"$:/language/Help/clearpassword\",\"description\":\"Clear a password for subsequent crypto operations\",\"text\":\"Clear the password for subsequent crypto operations\\n\\n```\\n--clearpassword\\n```\\n\"},\"$:/language/Help/commands\":{\"title\":\"$:/language/Help/commands\",\"description\":\"Run commands returned from a filter\",\"text\":\"Sequentially run the command tokens returned from a filter\\n\\n```\\n--commands \u003Cfilter>\\n```\\n\\nExamples\\n\\n```\\n--commands \\\"[enlist{$:/build-commands-as-text}]\\\"\\n```\\n\\n```\\n--commands \\\"[{$:/build-commands-as-json}jsonindexes[]] :map[{$:/build-commands-as-json}jsonget\u003CcurrentTiddler>]\\\"\\n```\\n\"},\"$:/language/Help/default\":{\"title\":\"$:/language/Help/default\",\"text\":\"\\\\define commandTitle()\\n$:/language/Help/$(command)$\\n\\\\end\\n\\\\whitespace trim\\n```\\nusage: tiddlywiki [\u003Cwikifolder>] [--\u003Ccommand> [\u003Cargs>...]...]\\n```\\n\\nAvailable commands:\\n\\n\u003Cul>\\n\u003C$list filter=\\\"[commands[]sort[title]]\\\" variable=\\\"command\\\">\\n\u003Cli>\u003C$link to=\u003C\u003CcommandTitle>>>\u003C$macrocall $name=\\\"command\\\" $type=\\\"text/plain\\\" $output=\\\"text/plain\\\"/>\u003C/$link>:\\n \\n\u003C$transclude tiddler=\u003C\u003CcommandTitle>> field=\\\"description\\\"/>\u003C/li>\\n\u003C/$list>\\n\u003C/ul>\\n\\nTo get detailed help on a command:\\n\\n```\\ntiddlywiki --help \u003Ccommand>\\n```\\n\"},\"$:/language/Help/deletetiddlers\":{\"title\":\"$:/language/Help/deletetiddlers\",\"description\":\"Deletes a group of tiddlers\",\"text\":\"\u003C\u003C.from-version \\\"5.1.20\\\">> Deletes a group of tiddlers identified by a filter.\\n\\n```\\n--deletetiddlers \u003Cfilter>\\n```\\n\"},\"$:/language/Help/editions\":{\"title\":\"$:/language/Help/editions\",\"description\":\"Lists the available editions of TiddlyWiki\",\"text\":\"Lists the names and descriptions of the available editions. You can create a new wiki of a specified edition with the `--init` command.\\n\\n```\\n--editions\\n```\\n\"},\"$:/language/Help/fetch\":{\"title\":\"$:/language/Help/fetch\",\"description\":\"Fetch tiddlers from wiki by URL\",\"text\":\"Fetch one or more files over HTTP/HTTPS, and import the tiddlers matching a filter, optionally transforming the incoming titles.\\n\\n```\\n--fetch file \u003Curl> \u003Cimport-filter> \u003Ctransform-filter>\\n--fetch files \u003Curl-filter> \u003Cimport-filter> \u003Ctransform-filter>\\n--fetch raw-file \u003Curl> \u003Ctransform-filter>\\n--fetch raw-files \u003Curl-filter> \u003Ctransform-filter>\\n```\\n\\nThe \\\"file\\\" and \\\"files\\\" variants fetch the specified files and attempt to import the tiddlers within them (the same processing as if the files were dragged into the browser window). The \\\"raw-file\\\" and \\\"raw-files\\\" variants fetch the specified files and then store the raw file data in tiddlers, without applying the import logic.\\n\\nWith the \\\"file\\\" and \\\"raw-file\\\" variants only a single file is fetched and the first parameter is the URL of the file to read.\\n\\nWith the \\\"files\\\" and \\\"raw-files\\\" variants, multiple files are fetched and the first parameter is a filter yielding a list of URLs of the files to read. For example, given a set of tiddlers tagged \\\"remote-server\\\" that have a field \\\"url\\\" the filter `[tag[remote-server]get[url]]` will retrieve all the available URLs.\\n\\nFor the \\\"file\\\" and \\\"files\\\" variants, the `\u003Cimport-filter>` parameter specifies a filter determining which tiddlers are imported. It defaults to `[all[tiddlers]]` if not provided.\\n\\nFor all variants, the `\u003Ctransform-filter>` parameter specifies an optional filter that transforms the titles of the imported tiddlers. For example, `[addprefix[$:/myimports/]]` would add the prefix `$:/myimports/` to each title.\\n\\nPreceding the `--fetch` command with `--verbose` will output progress information during the import.\\n\\nNote that TiddlyWiki will not fetch an older version of an already loaded plugin.\\n\\nThe following example retrieves all the non-system tiddlers from https://tiddlywiki.com and saves them to a JSON file:\\n\\n```\\ntiddlywiki --verbose --fetch file \\\"https://tiddlywiki.com/\\\" \\\"[!is[system]]\\\" \\\"\\\" --rendertiddler \\\"$:/core/templates/exporters/JsonFile\\\" output.json text/plain \\\"\\\" exportFilter \\\"[!is[system]]\\\"\\n```\\n\\nThe following example retrieves the \\\"favicon\\\" file from tiddlywiki.com and saves it in a file called \\\"output.ico\\\". Note that the intermediate tiddler \\\"Icon Tiddler\\\" is quoted in the \\\"--fetch\\\" command because it is being used as a transformation filter to replace the default title, while there are no quotes for the \\\"--savetiddler\\\" command because it is being used directly as a title.\\n\\n```\\ntiddlywiki --verbose --fetch raw-file \\\"https://tiddlywiki.com/favicon.ico\\\" \\\"[[Icon Tiddler]]\\\" --savetiddler \\\"Icon Tiddler\\\" output.ico\\n```\\n\\n\"},\"$:/language/Help/help\":{\"title\":\"$:/language/Help/help\",\"description\":\"Display help for TiddlyWiki commands\",\"text\":\"Displays help text for a command:\\n\\n```\\n--help [\u003Ccommand>]\\n```\\n\\nIf the command name is omitted then a list of available commands is displayed.\\n\"},\"$:/language/Help/import\":{\"title\":\"$:/language/Help/import\",\"description\":\"Import tiddlers from a file\",\"text\":\"Import tiddlers from TiddlyWiki (`.html`), `.tiddler`, `.tid`, `.json` or other local files. The deserializer must be explicitly specified, unlike the `load` command which infers the deserializer from the file extension.\\n\\n```\\n--import \u003Cfilepath> \u003Cdeserializer> [\u003Ctitle>] [\u003Cencoding>]\\n```\\n\\nThe deserializers in the core include:\\n\\n* application/javascript\\n* application/json\\n* application/x-tiddler\\n* application/x-tiddler-html-div\\n* application/x-tiddlers\\n* text/html\\n* text/plain\\n\\nThe title of the imported tiddler defaults to the filename.\\n\\nThe encoding defaults to \\\"utf8\\\", but can be \\\"base64\\\" for importing binary files.\\n\\nNote that TiddlyWiki will not import an older version of an already loaded plugin.\\n\"},\"$:/language/Help/init\":{\"title\":\"$:/language/Help/init\",\"description\":\"Initialise a new wiki folder\",\"text\":\"Initialise an empty [[WikiFolder|WikiFolders]] with a copy of the specified edition.\\n\\n```\\n--init \u003Cedition> [\u003Cedition> ...]\\n```\\n\\nFor example:\\n\\n```\\ntiddlywiki ./MyWikiFolder --init empty\\n```\\n\\nNote:\\n\\n* The wiki folder directory will be created if necessary\\n* The \\\"edition\\\" defaults to ''empty''\\n* The init command will fail if the wiki folder is not empty\\n* The init command removes any `includeWikis` definitions in the edition's `tiddlywiki.info` file\\n* When multiple editions are specified, editions initialised later will overwrite any files shared with earlier editions (so, the final `tiddlywiki.info` file will be copied from the last edition)\\n* `--editions` returns a list of available editions\\n\"},\"$:/language/Help/listen\":{\"title\":\"$:/language/Help/listen\",\"description\":\"Provides an HTTP server interface to TiddlyWiki\",\"text\":\"Serves a wiki over HTTP.\\n\\nThe listen command uses NamedCommandParameters:\\n\\n```\\n--listen [\u003Cname>=\u003Cvalue>]...\\n```\\n\\nAll parameters are optional with safe defaults, and can be specified in any order. The recognised parameters are:\\n\\n* ''host'' - optional hostname to serve from (defaults to \\\"127.0.0.1\\\" aka \\\"localhost\\\")\\n* ''path-prefix'' - optional prefix for paths\\n* ''port'' - port number on which to listen; non-numeric values are interpreted as a system environment variable from which the port number is extracted (defaults to \\\"8080\\\")\\n* ''credentials'' - pathname of credentials CSV file (relative to wiki folder)\\n* ''anon-username'' - the username for signing edits for anonymous users\\n* ''username'' - optional username for basic authentication\\n* ''password'' - optional password for basic authentication\\n* ''authenticated-user-header'' - optional name of request header to be used for trusted authentication.\\n* ''readers'' - comma-separated list of principals allowed to read from this wiki\\n* ''writers'' - comma-separated list of principals allowed to write to this wiki\\n* ''csrf-disable'' - set to \\\"yes\\\" to disable CSRF checks (defaults to \\\"no\\\")\\n* ''root-tiddler'' - the tiddler to serve at the root (defaults to \\\"$:/core/save/all\\\")\\n* ''root-render-type'' - the content type to which the root tiddler should be rendered (defaults to \\\"text/plain\\\")\\n* ''root-serve-type'' - the content type with which the root tiddler should be served (defaults to \\\"text/html\\\")\\n* ''tls-cert'' - pathname of TLS certificate file (relative to wiki folder)\\n* ''tls-key'' - pathname of TLS key file (relative to wiki folder)\\n* ''debug-level'' - optional debug level; set to \\\"debug\\\" to view request details (defaults to \\\"none\\\")\\n* ''gzip'' - set to \\\"yes\\\" to enable gzip compression for some http endpoints (defaults to \\\"no\\\")\\n* ''use-browser-cache'' - set to \\\"yes\\\" to allow the browser to cache responses to save bandwidth (defaults to \\\"no\\\")\\n\\nFor information on opening up your instance to the entire local network, and possible security concerns, see the WebServer tiddler at TiddlyWiki.com.\\n\\n\"},\"$:/language/Help/load\":{\"title\":\"$:/language/Help/load\",\"description\":\"Load tiddlers from a file\",\"text\":\"Load tiddlers from TiddlyWiki (`.html`), `.tiddler`, `.tid`, `.json` or other local files. The processing applied to incoming files is determined by the file extension. Use the alternative `import` command if you need to specify the deserializer and encoding explicitly.\\n\\n```\\n--load \u003Cfilepath> [noerror]\\n--load \u003Cdirpath> [noerror]\\n```\\n\\nBy default, the load command raises an error if no tiddlers are found. The error can be suppressed by providing the optional \\\"noerror\\\" parameter.\\n\\nTo load tiddlers from an encrypted TiddlyWiki file you should first specify the password with the PasswordCommand. For example:\\n\\n```\\ntiddlywiki ./MyWiki --password pa55w0rd --load my_encrypted_wiki.html\\n```\\n\\nNote that TiddlyWiki will not load an older version of an already loaded plugin.\\n\"},\"$:/language/Help/makelibrary\":{\"title\":\"$:/language/Help/makelibrary\",\"description\":\"Construct library plugin required by upgrade process\",\"text\":\"Constructs the `$:/UpgradeLibrary` tiddler for the upgrade process.\\n\\nThe upgrade library is formatted as an ordinary plugin tiddler with the plugin type `library`. It contains a copy of each of the plugins, themes and language packs available within the TiddlyWiki5 repository.\\n\\nThis command is intended for internal use; it is only relevant to users constructing a custom upgrade procedure.\\n\\n```\\n--makelibrary \u003Ctitle>\\n```\\n\\nThe title argument defaults to `$:/UpgradeLibrary`.\\n\"},\"$:/language/Help/notfound\":{\"title\":\"$:/language/Help/notfound\",\"text\":\"No such help item\"},\"$:/language/Help/output\":{\"title\":\"$:/language/Help/output\",\"description\":\"Set the base output directory for subsequent commands\",\"text\":\"Sets the base output directory for subsequent commands. The default output directory is the `output` subdirectory of the edition directory.\\n\\n```\\n--output \u003Cpathname>\\n```\\n\\nIf the specified pathname is relative then it is resolved relative to the current working directory. For example `--output .` sets the output directory to the current working directory.\\n\\n\"},\"$:/language/Help/password\":{\"title\":\"$:/language/Help/password\",\"description\":\"Set a password for subsequent crypto operations\",\"text\":\"Set a password for subsequent crypto operations\\n\\n```\\n--password \u003Cpassword>\\n```\\n\\n''Note'': This should not be used for serving TiddlyWiki with password protection. Instead, see the password option under the [[ServerCommand]].\\n\"},\"$:/language/Help/render\":{\"title\":\"$:/language/Help/render\",\"description\":\"Renders individual tiddlers to files\",\"text\":\"Render individual tiddlers identified by a filter and save the results to the specified files.\\n\\nOptionally, the title of a template tiddler can be specified. In this case, instead of directly rendering each tiddler, the template tiddler is rendered with the \\\"currentTiddler\\\" variable set to the title of the tiddler that is being rendered.\\n\\nA name and value for an additional variable may optionally also be specified.\\n\\n```\\n--render \u003Ctiddler-filter> [\u003Cfilename-filter>] [\u003Crender-type>] [\u003Ctemplate>] [ [\u003Cname>] [\u003Cvalue>] ]*\\n```\\n\\n* ''tiddler-filter'': A filter identifying the tiddler(s) to be rendered\\n* ''filename-filter'': Optional filter transforming tiddler titles into pathnames. If omitted, defaults to `[is[tiddler]addsuffix[.html]]`, which uses the unchanged tiddler title as the filename\\n* ''render-type'': Optional render type: `text/html` (the default) returns the full HTML text and `text/plain` just returns the text content (ie it ignores HTML tags and other unprintable material)\\n* ''template'': Optional template through which each tiddler is rendered\\n* ''name'': Name of optional variables\\n* ''value'': Value of optional variables\\n\\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nNotes:\\n\\n* The output directory is not cleared of any existing files\\n* Any missing directories in the path to the filename are automatically created.\\n* When referring to a tiddler with spaces in its title, take care to use both the quotes required by your shell and also TiddlyWiki's double square brackets: `--render \\\"[[Motovun Jack.jpg]]\\\"`\\n* The filename filter is evaluated with the selected items being set to the title of the tiddler currently being rendered, allowing the title to be used as the basis for computing the filename. For example `[encodeuricomponent[]addprefix[static/]]` applies URI encoding to each title, and then adds the prefix `static/`\\n* Multiple ''name''/''value'' pairs can be used to pass more than one variable\\n* The `--render` command is a more flexible replacement for both the `--rendertiddler` and `--rendertiddlers` commands, which are deprecated\\n\\nExamples:\\n\\n* `--render '[!is[system]]' '[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]'` -- renders all non-system tiddlers as files in the subdirectory \\\"tiddlers\\\" with URL-encoded titles and the extension HTML\\n* `--render '.' 'tiddlers.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[HelloThere]]'` -- renders the tiddlers tagged \\\"HelloThere\\\" to a JSON file named \\\"tiddlers.json\\\"\\n\"},\"$:/language/Help/rendertiddler\":{\"title\":\"$:/language/Help/rendertiddler\",\"description\":\"Render an individual tiddler as a specified ContentType\",\"text\":\"(Note: The `--rendertiddler` command is deprecated in favour of the new, more flexible `--render` command)\\n\\nRender an individual tiddler as a specified ContentType, defaulting to `text/html` and save it to the specified filename.\\n\\nOptionally the title of a template tiddler can be specified, in which case the template tiddler is rendered with the \\\"currentTiddler\\\" variable set to the tiddler that is being rendered (the first parameter value).\\n\\nA name and value for an additional variable may optionally also be specified.\\n\\n```\\n--rendertiddler \u003Ctitle> \u003Cfilename> [\u003Ctype>] [\u003Ctemplate>] [\u003Cname>] [\u003Cvalue>]\\n```\\n\\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nAny missing directories in the path to the filename are automatically created.\\n\\nFor example, the following command saves all tiddlers matching the filter `[tag[done]]` to a JSON file titled `output.json` by employing the core template `$:/core/templates/exporters/JsonFile`.\\n\\n```\\n--rendertiddler \\\"$:/core/templates/exporters/JsonFile\\\" output.json text/plain \\\"\\\" exportFilter \\\"[tag[done]]\\\"\\n```\\n\"},\"$:/language/Help/rendertiddlers\":{\"title\":\"$:/language/Help/rendertiddlers\",\"description\":\"Render tiddlers matching a filter to a specified ContentType\",\"text\":\"(Note: The `--rendertiddlers` command is deprecated in favour of the new, more flexible `--render` command)\\n\\nRender a set of tiddlers matching a filter to separate files of a specified ContentType (defaults to `text/html`) and extension (defaults to `.html`).\\n\\n```\\n--rendertiddlers '\u003Cfilter>' \u003Ctemplate> \u003Cpathname> [\u003Ctype>] [\u003Cextension>] [\\\"noclean\\\"]\\n```\\n\\nFor example:\\n\\n```\\n--rendertiddlers '[!is[system]]' $:/core/templates/static.tiddler.html ./static text/plain\\n```\\n\\nBy default, the pathname is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nAny files in the target directory are deleted unless the ''noclean'' flag is specified. The target directory is recursively created if it is missing.\\n\"},\"$:/language/Help/save\":{\"title\":\"$:/language/Help/save\",\"description\":\"Saves individual raw tiddlers to files\",\"text\":\"Saves individual tiddlers identified by a filter in their raw text or binary format to the specified files.\\n\\n```\\n--save \u003Ctiddler-filter> \u003Cfilename-filter>\\n```\\n\\n* ''tiddler-filter'': A filter identifying the tiddler(s) to be saved\\n* ''filename-filter'': Optional filter transforming tiddler titles into pathnames. If omitted, defaults to `[is[tiddler]]`, which uses the unchanged tiddler title as the filename\\n\\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nNotes:\\n\\n* The output directory is not cleared of any existing files\\n* Any missing directories in the path to the filename are automatically created.\\n* When saving a tiddler with spaces in its title, take care to use both the quotes required by your shell and also TiddlyWiki's double square brackets: `--save \\\"[[Motovun Jack.jpg]]\\\"`\\n* The filename filter is evaluated with the selected items being set to the title of the tiddler currently being saved, allowing the title to be used as the basis for computing the filename. For example `[encodeuricomponent[]addprefix[static/]]` applies URI encoding to each title, and then adds the prefix `static/`\\n* The `--save` command is a more flexible replacement for both the `--savetiddler` and `--savetiddlers` commands, which are deprecated\\n\\nExamples:\\n\\n* `--save \\\"[!is[system]is[image]]\\\" \\\"[encodeuricomponent[]addprefix[tiddlers/]]\\\"` -- saves all non-system image tiddlers as files in the subdirectory \\\"tiddlers\\\" with URL-encoded titles\\n\"},\"$:/language/Help/savetiddler\":{\"title\":\"$:/language/Help/savetiddler\",\"description\":\"Saves a raw tiddler to a file\",\"text\":\"(Note: The `--savetiddler` command is deprecated in favour of the new, more flexible `--save` command)\\n\\nSaves an individual tiddler in its raw text or binary format to the specified filename.\\n\\n```\\n--savetiddler \u003Ctitle> \u003Cfilename>\\n```\\n\\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nAny missing directories in the path to the filename are automatically created.\\n\"},\"$:/language/Help/savetiddlers\":{\"title\":\"$:/language/Help/savetiddlers\",\"description\":\"Saves a group of raw tiddlers to a directory\",\"text\":\"(Note: The `--savetiddlers` command is deprecated in favour of the new, more flexible `--save` command)\\n\\nSaves a group of tiddlers in their raw text or binary format to the specified directory.\\n\\n```\\n--savetiddlers \u003Cfilter> \u003Cpathname> [\\\"noclean\\\"]\\n```\\n\\nBy default, the pathname is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\\n\\nThe output directory is cleared of existing files before saving the specified files. The deletion can be disabled by specifying the ''noclean'' flag.\\n\\nAny missing directories in the pathname are automatically created.\\n\"},\"$:/language/Help/savewikifolder\":{\"title\":\"$:/language/Help/savewikifolder\",\"description\":\"Saves a wiki to a new wiki folder\",\"text\":\"\u003C\u003C.from-version \\\"5.1.20\\\">> Saves the current wiki as a wiki folder, including tiddlers, plugins and configuration:\\n\\n```\\n--savewikifolder \u003Cwikifolderpath> [\u003Cfilter>] [ [\u003Cname>=\u003Cvalue>] ]*\\n```\\n\\n* The target wiki folder must be empty or non-existent\\n* The filter specifies which tiddlers should be included. It is optional, defaulting to `[all[tiddlers]]`\\n* Plugins from the official plugin library are replaced with references to those plugins in the `tiddlywiki.info` file\\n* Custom plugins are unpacked into their own folder\\n\\nThe following options are supported:\\n\\n* ''filter'': a filter expression that defines the tiddlers to include in the output.\\n* ''explodePlugins'': defaults to \\\"yes\\\"\\n** ''yes'' will \\\"explode\\\" plugins into separate tiddler files and save them to the plugin directory within the wiki folder\\n** ''no'' will suppress exploding plugins into their constituent tiddler files. It will save the plugin as a single JSON tiddler in the tiddlers folder\\n\\nNote that both ''explodePlugins'' options will produce wiki folders that build the same exact same original wiki. The difference lies in how plugins are represented in the wiki folder.\\n\\nA common usage is to convert a TiddlyWiki HTML file into a wiki folder:\\n\\n```\\ntiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder\\n```\\n\\nSave the plugin to the tiddlers directory of the target wiki folder:\\n\\n```\\ntiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder explodePlugins=no\\n```\"},\"$:/language/Help/server\":{\"title\":\"$:/language/Help/server\",\"description\":\"Provides an HTTP server interface to TiddlyWiki (deprecated in favour of the new listen command)\",\"text\":\"Legacy command to serve a wiki over HTTP.\\n\\n```\\n--server \u003Cport> \u003Croot-tiddler> \u003Croot-render-type> \u003Croot-serve-type> \u003Cusername> \u003Cpassword> \u003Chost> \u003Cpath-prefix> \u003Cdebug-level>\\n```\\n\\nThe parameters are:\\n\\n* ''port'' - port number on which to listen; non-numeric values are interpreted as a system environment variable from which the port number is extracted (defaults to \\\"8080\\\")\\n* ''root-tiddler'' - the tiddler to serve at the root (defaults to \\\"$:/core/save/all\\\")\\n* ''root-render-type'' - the content type to which the root tiddler should be rendered (defaults to \\\"text/plain\\\")\\n* ''root-serve-type'' - the content type with which the root tiddler should be served (defaults to \\\"text/html\\\")\\n* ''username'' - the default username for signing edits\\n* ''password'' - optional password for basic authentication\\n* ''host'' - optional hostname to serve from (defaults to \\\"127.0.0.1\\\" aka \\\"localhost\\\")\\n* ''path-prefix'' - optional prefix for paths\\n* ''debug-level'' - optional debug level; set to \\\"debug\\\" to view request details (defaults to \\\"none\\\")\\n\\nIf the password parameter is specified then the browser will prompt the user for the username and password. Note that the password is transmitted in plain text so this implementation should only be used on a trusted network or over HTTPS.\\n\\nFor example:\\n\\n```\\n--server 8080 $:/core/save/all text/plain text/html MyUserName passw0rd\\n```\\n\\nThe username and password can be specified as empty strings if you need to set the hostname or pathprefix and don't want to require a password.\\n\\n\\n```\\n--server 8080 $:/core/save/all text/plain text/html \\\"\\\" \\\"\\\" 192.168.0.245\\n```\\n\\nUsing an address like this exposes your system to the local network. For information on opening up your instance to the entire local network, and possible security concerns, see the WebServer tiddler at TiddlyWiki.com.\\n\\nTo run multiple TiddlyWiki servers at the same time you'll need to put each one on a different port. It can be useful to use an environment variable to pass the port number to the Node.js process. This example references an environment variable called \\\"MY_PORT_NUMBER\\\":\\n\\n```\\n--server MY_PORT_NUMBER $:/core/save/all text/plain text/html MyUserName passw0rd\\n```\\n\"},\"$:/language/Help/setfield\":{\"title\":\"$:/language/Help/setfield\",\"description\":\"Prepares external tiddlers for use\",\"text\":\"//Note that this command is experimental and may change or be replaced before being finalised//\\n\\nSets the specified field of a group of tiddlers to the result of wikifying a template tiddler with the `currentTiddler` variable set to the tiddler.\\n\\n```\\n--setfield \u003Cfilter> \u003Cfieldname> \u003Ctemplatetitle> \u003Crendertype>\\n```\\n\\nThe parameters are:\\n\\n* ''filter'' - filter identifying the tiddlers to be affected\\n* ''fieldname'' - the field to modify (defaults to \\\"text\\\")\\n* ''templatetitle'' - the tiddler to wikify into the specified field. If blank or missing then the specified field is deleted\\n* ''rendertype'' - the text type to render (defaults to \\\"text/plain\\\"; \\\"text/html\\\" can be used to include HTML tags)\\n\"},\"$:/language/Help/unpackplugin\":{\"title\":\"$:/language/Help/unpackplugin\",\"description\":\"Unpack the payload tiddlers from a plugin\",\"text\":\"Extract the payload tiddlers from a plugin, creating them as ordinary tiddlers:\\n\\n```\\n--unpackplugin \u003Ctitle>\\n```\\n\"},\"$:/language/Help/verbose\":{\"title\":\"$:/language/Help/verbose\",\"description\":\"Triggers verbose output mode\",\"text\":\"Triggers verbose output, useful for debugging\\n\\n```\\n--verbose\\n```\\n\"},\"$:/language/Help/version\":{\"title\":\"$:/language/Help/version\",\"description\":\"Displays the version number of TiddlyWiki\",\"text\":\"Displays the version number of TiddlyWiki.\\n\\n```\\n--version\\n```\\n\"},\"$:/language/Import/Editor/Import/Heading\":{\"title\":\"$:/language/Import/Editor/Import/Heading\",\"text\":\"Import images and insert them into the editor.\"},\"$:/language/Import/Imported/Hint\":{\"title\":\"$:/language/Import/Imported/Hint\",\"text\":\"The following tiddlers were imported:\"},\"$:/language/Import/Listing/Cancel/Caption\":{\"title\":\"$:/language/Import/Listing/Cancel/Caption\",\"text\":\"Cancel\"},\"$:/language/Import/Listing/Cancel/Warning\":{\"title\":\"$:/language/Import/Listing/Cancel/Warning\",\"text\":\"Do you wish to cancel the import?\"},\"$:/language/Import/Listing/Hint\":{\"title\":\"$:/language/Import/Listing/Hint\",\"text\":\"These tiddlers are ready to import:\"},\"$:/language/Import/Listing/Import/Caption\":{\"title\":\"$:/language/Import/Listing/Import/Caption\",\"text\":\"Import\"},\"$:/language/Import/Listing/Select/Caption\":{\"title\":\"$:/language/Import/Listing/Select/Caption\",\"text\":\"Select\"},\"$:/language/Import/Listing/Status/Caption\":{\"title\":\"$:/language/Import/Listing/Status/Caption\",\"text\":\"Status\"},\"$:/language/Import/Listing/Title/Caption\":{\"title\":\"$:/language/Import/Listing/Title/Caption\",\"text\":\"Title\"},\"$:/language/Import/Listing/Preview\":{\"title\":\"$:/language/Import/Listing/Preview\",\"text\":\"Preview:\"},\"$:/language/Import/Listing/Preview/Text\":{\"title\":\"$:/language/Import/Listing/Preview/Text\",\"text\":\"Text\"},\"$:/language/Import/Listing/Preview/TextRaw\":{\"title\":\"$:/language/Import/Listing/Preview/TextRaw\",\"text\":\"Text (Raw)\"},\"$:/language/Import/Listing/Preview/Fields\":{\"title\":\"$:/language/Import/Listing/Preview/Fields\",\"text\":\"Fields\"},\"$:/language/Import/Listing/Preview/Diff\":{\"title\":\"$:/language/Import/Listing/Preview/Diff\",\"text\":\"Diff\"},\"$:/language/Import/Listing/Preview/DiffFields\":{\"title\":\"$:/language/Import/Listing/Preview/DiffFields\",\"text\":\"Diff (Fields)\"},\"$:/language/Import/Listing/Rename/Tooltip\":{\"title\":\"$:/language/Import/Listing/Rename/Tooltip\",\"text\":\"Rename tiddler before importing\"},\"$:/language/Import/Listing/Rename/Prompt\":{\"title\":\"$:/language/Import/Listing/Rename/Prompt\",\"text\":\"Rename to:\"},\"$:/language/Import/Listing/Rename/ConfirmRename\":{\"title\":\"$:/language/Import/Listing/Rename/ConfirmRename\",\"text\":\"Rename tiddler\"},\"$:/language/Import/Listing/Rename/CancelRename\":{\"title\":\"$:/language/Import/Listing/Rename/CancelRename\",\"text\":\"Cancel\"},\"$:/language/Import/Listing/Rename/OverwriteWarning\":{\"title\":\"$:/language/Import/Listing/Rename/OverwriteWarning\",\"text\":\"A tiddler with this title already exists.\"},\"$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible\",\"text\":\"Blocked incompatible or obsolete plugin.\"},\"$:/language/Import/Upgrader/Plugins/Suppressed/Version\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Suppressed/Version\",\"text\":\"Blocked plugin (due to incoming \u003C\u003Cincoming>> not being newer than existing \u003C\u003Cexisting>>).\"},\"$:/language/Import/Upgrader/Plugins/Upgraded\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Upgraded\",\"text\":\"Upgraded plugin from \u003C\u003Cincoming>> to \u003C\u003Cupgraded>>.\"},\"$:/language/Import/Upgrader/State/Suppressed\":{\"title\":\"$:/language/Import/Upgrader/State/Suppressed\",\"text\":\"Blocked temporary state tiddler.\"},\"$:/language/Import/Upgrader/System/Disabled\":{\"title\":\"$:/language/Import/Upgrader/System/Disabled\",\"text\":\"Disabled system tiddler.\"},\"$:/language/Import/Upgrader/System/Suppressed\":{\"title\":\"$:/language/Import/Upgrader/System/Suppressed\",\"text\":\"Blocked system tiddler.\"},\"$:/language/Import/Upgrader/System/Warning\":{\"title\":\"$:/language/Import/Upgrader/System/Warning\",\"text\":\"Core module tiddler.\"},\"$:/language/Import/Upgrader/System/Alert\":{\"title\":\"$:/language/Import/Upgrader/System/Alert\",\"text\":\"You are about to import a tiddler that will overwrite a core module tiddler. This is not recommended as it may make the system unstable.\"},\"$:/language/Import/Upgrader/ThemeTweaks/Created\":{\"title\":\"$:/language/Import/Upgrader/ThemeTweaks/Created\",\"text\":\"Migrated theme tweak from \u003C$text text=\u003C\u003Cfrom>>/>.\"},\"$:/language/Import/Upgrader/Tiddler/Disabled\":{\"title\":\"$:/language/Import/Upgrader/Tiddler/Disabled\",\"text\":\"Disabled tiddler.\"},\"$:/language/Import/Upgrader/Tiddler/Selected\":{\"title\":\"$:/language/Import/Upgrader/Tiddler/Selected\",\"text\":\"Selected tiddler.\"},\"$:/language/Import/Upgrader/Tiddler/Unselected\":{\"title\":\"$:/language/Import/Upgrader/Tiddler/Unselected\",\"text\":\"Unselected tiddler.\"},\"$:/language/AboveStory/ClassicPlugin/Warning\":{\"title\":\"$:/language/AboveStory/ClassicPlugin/Warning\",\"text\":\"It looks like you are trying to load a plugin designed for ~TiddlyWiki Classic. Please note that [[these plugins do not work with TiddlyWiki version 5.x.x|https://tiddlywiki.com/#TiddlyWikiClassic]]. ~TiddlyWiki Classic plugins detected:\"},\"$:/language/BinaryWarning/Prompt\":{\"title\":\"$:/language/BinaryWarning/Prompt\",\"text\":\"This tiddler contains binary data\"},\"$:/language/ClassicWarning/Hint\":{\"title\":\"$:/language/ClassicWarning/Hint\",\"text\":\"This tiddler is written in TiddlyWiki Classic wiki text format, which is not fully compatible with TiddlyWiki version 5. See https://tiddlywiki.com/static/Upgrading.html for more details.\"},\"$:/language/ClassicWarning/Upgrade/Caption\":{\"title\":\"$:/language/ClassicWarning/Upgrade/Caption\",\"text\":\"upgrade\"},\"$:/language/CloseAll/Button\":{\"title\":\"$:/language/CloseAll/Button\",\"text\":\"close all\"},\"$:/language/ColourPicker/Recent\":{\"title\":\"$:/language/ColourPicker/Recent\",\"text\":\"Recent:\"},\"$:/language/ConfirmCancelTiddler\":{\"title\":\"$:/language/ConfirmCancelTiddler\",\"text\":\"Do you wish to discard changes to the tiddler \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmDeleteTiddler\":{\"title\":\"$:/language/ConfirmDeleteTiddler\",\"text\":\"Do you wish to delete the tiddler \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmDeleteTiddlers\":{\"title\":\"$:/language/ConfirmDeleteTiddlers\",\"text\":\"Are you sure you wish to delete \u003C\u003CresultCount>> tiddler(s)?\"},\"$:/language/ConfirmOverwriteTiddler\":{\"title\":\"$:/language/ConfirmOverwriteTiddler\",\"text\":\"Do you wish to overwrite the tiddler \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmEditShadowTiddler\":{\"title\":\"$:/language/ConfirmEditShadowTiddler\",\"text\":\"You are about to edit a ShadowTiddler. Any changes will override the default system making future upgrades non-trivial. Are you sure you want to edit \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmAction\":{\"title\":\"$:/language/ConfirmAction\",\"text\":\"Do you wish to proceed?\"},\"$:/language/Count\":{\"title\":\"$:/language/Count\",\"text\":\"count\"},\"$:/language/DefaultNewTiddlerTitle\":{\"title\":\"$:/language/DefaultNewTiddlerTitle\",\"text\":\"New Tiddler\"},\"$:/language/Diffs/CountMessage\":{\"title\":\"$:/language/Diffs/CountMessage\",\"text\":\"\u003C\u003Cdiff-count>> differences\"},\"$:/language/DropMessage\":{\"title\":\"$:/language/DropMessage\",\"text\":\"Drop now (or use the 'Escape' key to cancel)\"},\"$:/language/Encryption/Cancel\":{\"title\":\"$:/language/Encryption/Cancel\",\"text\":\"Cancel\"},\"$:/language/Encryption/ConfirmClearPassword\":{\"title\":\"$:/language/Encryption/ConfirmClearPassword\",\"text\":\"Do you wish to clear the password? This will remove the encryption applied when saving this wiki\"},\"$:/language/Encryption/PromptSetPassword\":{\"title\":\"$:/language/Encryption/PromptSetPassword\",\"text\":\"Set a new password for this TiddlyWiki\"},\"$:/language/Encryption/Username\":{\"title\":\"$:/language/Encryption/Username\",\"text\":\"Username\"},\"$:/language/Encryption/Password\":{\"title\":\"$:/language/Encryption/Password\",\"text\":\"Password\"},\"$:/language/Encryption/RepeatPassword\":{\"title\":\"$:/language/Encryption/RepeatPassword\",\"text\":\"Repeat password\"},\"$:/language/Encryption/PasswordNoMatch\":{\"title\":\"$:/language/Encryption/PasswordNoMatch\",\"text\":\"Passwords do not match\"},\"$:/language/Encryption/SetPassword\":{\"title\":\"$:/language/Encryption/SetPassword\",\"text\":\"Set password\"},\"$:/language/Error/Caption\":{\"title\":\"$:/language/Error/Caption\",\"text\":\"Error\"},\"$:/language/Error/DeserializeOperator/MissingOperand\":{\"title\":\"$:/language/Error/DeserializeOperator/MissingOperand\",\"text\":\"Filter Error: Missing operand for 'deserialize' operator\"},\"$:/language/Error/DeserializeOperator/UnknownDeserializer\":{\"title\":\"$:/language/Error/DeserializeOperator/UnknownDeserializer\",\"text\":\"Filter Error: Unknown deserializer provided as operand for the 'deserialize' operator\"},\"$:/language/Error/Filter\":{\"title\":\"$:/language/Error/Filter\",\"text\":\"Filter error\"},\"$:/language/Error/FilterSyntax\":{\"title\":\"$:/language/Error/FilterSyntax\",\"text\":\"Syntax error in filter expression\"},\"$:/language/Error/FilterRunPrefix\":{\"title\":\"$:/language/Error/FilterRunPrefix\",\"text\":\"Filter Error: Unknown prefix for filter run\"},\"$:/language/Error/IsFilterOperator\":{\"title\":\"$:/language/Error/IsFilterOperator\",\"text\":\"Filter Error: Unknown operand for the 'is' filter operator\"},\"$:/language/Error/FormatFilterOperator\":{\"title\":\"$:/language/Error/FormatFilterOperator\",\"text\":\"Filter Error: Unknown suffix for the 'format' filter operator\"},\"$:/language/Error/LoadingPluginLibrary\":{\"title\":\"$:/language/Error/LoadingPluginLibrary\",\"text\":\"Error loading plugin library\"},\"$:/language/Error/NetworkErrorAlert\":{\"title\":\"$:/language/Error/NetworkErrorAlert\",\"text\":\"`\u003Ch2>''Network Error''\u003C/h2>It looks like the connection to the server has been lost. This may indicate a problem with your network connection. Please attempt to restore network connectivity before continuing.\u003Cbr>\u003Cbr>''Any unsaved changes will be automatically synchronised when connectivity is restored''.`\"},\"$:/language/Error/PutEditConflict\":{\"title\":\"$:/language/Error/PutEditConflict\",\"text\":\"File changed on server\"},\"$:/language/Error/PutForbidden\":{\"title\":\"$:/language/Error/PutForbidden\",\"text\":\"Permission denied\"},\"$:/language/Error/PutUnauthorized\":{\"title\":\"$:/language/Error/PutUnauthorized\",\"text\":\"Authentication required\"},\"$:/language/Error/RecursiveTransclusion\":{\"title\":\"$:/language/Error/RecursiveTransclusion\",\"text\":\"Recursive transclusion error in transclude widget\"},\"$:/language/Error/RetrievingSkinny\":{\"title\":\"$:/language/Error/RetrievingSkinny\",\"text\":\"Error retrieving skinny tiddler list\"},\"$:/language/Error/SavingToTWEdit\":{\"title\":\"$:/language/Error/SavingToTWEdit\",\"text\":\"Error saving to TWEdit\"},\"$:/language/Error/WhileSaving\":{\"title\":\"$:/language/Error/WhileSaving\",\"text\":\"Error while saving\"},\"$:/language/Error/XMLHttpRequest\":{\"title\":\"$:/language/Error/XMLHttpRequest\",\"text\":\"XMLHttpRequest error code\"},\"$:/language/Error/ZoominTextNode\":{\"title\":\"$:/language/Error/ZoominTextNode\",\"text\":\"Story View Error: It appears you tried to interact with a tiddler that displays in a custom container. This is most likely caused by using `$:/tags/StoryTiddlerTemplateFilter` with a template that contains text or whitespace at the start. Please use the pragma `\\\\whitespace trim` and ensure the whole contents of the tiddler is wrapped in a single HTML element. The text that caused this issue:\"},\"$:/language/InternalJavaScriptError/Title\":{\"title\":\"$:/language/InternalJavaScriptError/Title\",\"text\":\"Internal JavaScript Error\"},\"$:/language/InternalJavaScriptError/Hint\":{\"title\":\"$:/language/InternalJavaScriptError/Hint\",\"text\":\"Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser\"},\"$:/language/LayoutSwitcher/Description\":{\"title\":\"$:/language/LayoutSwitcher/Description\",\"text\":\"Open the layout switcher\"},\"$:/language/LazyLoadingWarning\":{\"title\":\"$:/language/LazyLoadingWarning\",\"text\":\"\u003Cp>Trying to load external content from ''\u003C$text text={{!!_canonical_uri}}/>''\u003C/p>\u003Cp>If this message doesn't disappear, either the tiddler content type doesn't match the type of the external content, or you may be using a browser that doesn't support external content for wikis loaded as standalone files. See https://tiddlywiki.com/#ExternalText\u003C/p>\"},\"$:/language/LoginToTiddlySpace\":{\"title\":\"$:/language/LoginToTiddlySpace\",\"text\":\"Login to TiddlySpace\"},\"$:/language/Manager/Controls/FilterByTag/None\":{\"title\":\"$:/language/Manager/Controls/FilterByTag/None\",\"text\":\"(none)\"},\"$:/language/Manager/Controls/FilterByTag/Prompt\":{\"title\":\"$:/language/Manager/Controls/FilterByTag/Prompt\",\"text\":\"Filter by tag:\"},\"$:/language/Manager/Controls/Order/Prompt\":{\"title\":\"$:/language/Manager/Controls/Order/Prompt\",\"text\":\"Reverse order\"},\"$:/language/Manager/Controls/Search/Placeholder\":{\"title\":\"$:/language/Manager/Controls/Search/Placeholder\",\"text\":\"Search\"},\"$:/language/Manager/Controls/Search/Prompt\":{\"title\":\"$:/language/Manager/Controls/Search/Prompt\",\"text\":\"Search:\"},\"$:/language/Manager/Controls/Show/Option/Tags\":{\"title\":\"$:/language/Manager/Controls/Show/Option/Tags\",\"text\":\"tags\"},\"$:/language/Manager/Controls/Show/Option/Tiddlers\":{\"title\":\"$:/language/Manager/Controls/Show/Option/Tiddlers\",\"text\":\"tiddlers\"},\"$:/language/Manager/Controls/Show/Prompt\":{\"title\":\"$:/language/Manager/Controls/Show/Prompt\",\"text\":\"Show:\"},\"$:/language/Manager/Controls/Sort/Prompt\":{\"title\":\"$:/language/Manager/Controls/Sort/Prompt\",\"text\":\"Sort by:\"},\"$:/language/Manager/Item/Colour\":{\"title\":\"$:/language/Manager/Item/Colour\",\"text\":\"Colour\"},\"$:/language/Manager/Item/Fields\":{\"title\":\"$:/language/Manager/Item/Fields\",\"text\":\"Fields\"},\"$:/language/Manager/Item/Icon/None\":{\"title\":\"$:/language/Manager/Item/Icon/None\",\"text\":\"(none)\"},\"$:/language/Manager/Item/Icon\":{\"title\":\"$:/language/Manager/Item/Icon\",\"text\":\"Icon\"},\"$:/language/Manager/Item/RawText\":{\"title\":\"$:/language/Manager/Item/RawText\",\"text\":\"Raw text\"},\"$:/language/Manager/Item/Tags\":{\"title\":\"$:/language/Manager/Item/Tags\",\"text\":\"Tags\"},\"$:/language/Manager/Item/Tools\":{\"title\":\"$:/language/Manager/Item/Tools\",\"text\":\"Tools\"},\"$:/language/Manager/Item/WikifiedText\":{\"title\":\"$:/language/Manager/Item/WikifiedText\",\"text\":\"Wikified text\"},\"$:/language/MissingTiddler/Hint\":{\"title\":\"$:/language/MissingTiddler/Hint\",\"text\":\"Missing tiddler \\\"\u003C$text text=\u003C\u003CcurrentTiddler>>/>\\\" -- click {{||$:/core/ui/Buttons/edit}} to create\"},\"$:/language/No\":{\"title\":\"$:/language/No\",\"text\":\"No\"},\"$:/language/OfficialPluginLibrary\":{\"title\":\"$:/language/OfficialPluginLibrary\",\"text\":\"Official ~TiddlyWiki Plugin Library\"},\"$:/language/OfficialPluginLibrary/Hint\":{\"title\":\"$:/language/OfficialPluginLibrary/Hint\",\"text\":\"The official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team.\"},\"$:/language/PageTemplate/Description\":{\"title\":\"$:/language/PageTemplate/Description\",\"text\":\"the default ~TiddlyWiki layout\"},\"$:/language/PageTemplate/Name\":{\"title\":\"$:/language/PageTemplate/Name\",\"text\":\"Default ~PageTemplate\"},\"$:/language/PluginReloadWarning\":{\"title\":\"$:/language/PluginReloadWarning\",\"text\":\"Please save {{$:/core/ui/Buttons/save-wiki}} and reload {{$:/core/ui/Buttons/refresh}} to allow changes to ~JavaScript plugins to take effect\"},\"$:/language/RecentChanges/DateFormat\":{\"title\":\"$:/language/RecentChanges/DateFormat\",\"text\":\"DDth MMM YYYY\"},\"$:/language/Shortcuts/Input/AdvancedSearch/Hint\":{\"title\":\"$:/language/Shortcuts/Input/AdvancedSearch/Hint\",\"text\":\"Open the ~AdvancedSearch panel from within the sidebar search field\"},\"$:/language/Shortcuts/Input/Accept/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Accept/Hint\",\"text\":\"Accept the selected item\"},\"$:/language/Shortcuts/Input/AcceptVariant/Hint\":{\"title\":\"$:/language/Shortcuts/Input/AcceptVariant/Hint\",\"text\":\"Accept the selected item (variant)\"},\"$:/language/Shortcuts/Input/Cancel/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Cancel/Hint\",\"text\":\"Clear the input field\"},\"$:/language/Shortcuts/Input/Down/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Down/Hint\",\"text\":\"Select the next item\"},\"$:/language/Shortcuts/Input/Tab-Left/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Tab-Left/Hint\",\"text\":\"Select the previous Tab\"},\"$:/language/Shortcuts/Input/Tab-Right/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Tab-Right/Hint\",\"text\":\"Select the next Tab\"},\"$:/language/Shortcuts/Input/Up/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Up/Hint\",\"text\":\"Select the previous item\"},\"$:/language/Shortcuts/SidebarLayout/Hint\":{\"title\":\"$:/language/Shortcuts/SidebarLayout/Hint\",\"text\":\"Change the sidebar layout\"},\"$:/language/Switcher/Subtitle/theme\":{\"title\":\"$:/language/Switcher/Subtitle/theme\",\"text\":\"Switch Theme\"},\"$:/language/Switcher/Subtitle/layout\":{\"title\":\"$:/language/Switcher/Subtitle/layout\",\"text\":\"Switch Layout\"},\"$:/language/Switcher/Subtitle/language\":{\"title\":\"$:/language/Switcher/Subtitle/language\",\"text\":\"Switch Language\"},\"$:/language/Switcher/Subtitle/palette\":{\"title\":\"$:/language/Switcher/Subtitle/palette\",\"text\":\"Switch Palette\"},\"$:/language/SystemTiddler/Tooltip\":{\"title\":\"$:/language/SystemTiddler/Tooltip\",\"text\":\"This is a system tiddler\"},\"$:/language/SystemTiddlers/Include/Prompt\":{\"title\":\"$:/language/SystemTiddlers/Include/Prompt\",\"text\":\"Include system tiddlers\"},\"$:/language/TagManager/Colour/Heading\":{\"title\":\"$:/language/TagManager/Colour/Heading\",\"text\":\"Colour\"},\"$:/language/TagManager/Count/Heading\":{\"title\":\"$:/language/TagManager/Count/Heading\",\"text\":\"Count\"},\"$:/language/TagManager/Icon/Heading\":{\"title\":\"$:/language/TagManager/Icon/Heading\",\"text\":\"Icon\"},\"$:/language/TagManager/Icons/None\":{\"title\":\"$:/language/TagManager/Icons/None\",\"text\":\"None\"},\"$:/language/TagManager/Info/Heading\":{\"title\":\"$:/language/TagManager/Info/Heading\",\"text\":\"Info\"},\"$:/language/TagManager/Tag/Heading\":{\"title\":\"$:/language/TagManager/Tag/Heading\",\"text\":\"Tag\"},\"$:/language/Tiddler/DateFormat\":{\"title\":\"$:/language/Tiddler/DateFormat\",\"text\":\"DDth MMM YYYY at hh12:0mmam\"},\"$:/language/UnsavedChangesWarning\":{\"title\":\"$:/language/UnsavedChangesWarning\",\"text\":\"You have unsaved changes in TiddlyWiki\"},\"$:/language/Yes\":{\"title\":\"$:/language/Yes\",\"text\":\"Yes\"},\"$:/language/Modals/Download\":{\"title\":\"$:/language/Modals/Download\",\"subtitle\":\"Download changes\",\"footer\":\"\u003C$button message=\\\"tm-close-tiddler\\\">Close\u003C/$button>\",\"help\":\"https://tiddlywiki.com/static/DownloadingChanges.html\",\"text\":\"Your browser only supports manual saving.\\n\\nTo save your modified wiki, right click on the download link below and select \\\"Download file\\\" or \\\"Save file\\\", and then choose the folder and filename.\\n\\n//You can marginally speed things up by clicking the link with the control key (Windows) or the options/alt key (Mac OS X). You will not be prompted for the folder or filename, but your browser is likely to give it an unrecognisable name -- you may need to rename the file to include an `.html` extension before you can do anything useful with it.//\\n\\nOn smartphones that do not allow files to be downloaded you can instead bookmark the link, and then sync your bookmarks to a desktop computer from where the wiki can be saved normally.\\n\"},\"$:/config/NewJournal/Title\":{\"title\":\"$:/config/NewJournal/Title\",\"text\":\"DDth MMM YYYY\"},\"$:/config/NewJournal/Text\":{\"title\":\"$:/config/NewJournal/Text\",\"text\":\"\"},\"$:/config/NewJournal/Tags\":{\"title\":\"$:/config/NewJournal/Tags\",\"text\":\"Journal\\n\"},\"$:/language/Notifications/Save/Done\":{\"title\":\"$:/language/Notifications/Save/Done\",\"text\":\"Saved wiki\"},\"$:/language/Notifications/Save/Starting\":{\"title\":\"$:/language/Notifications/Save/Starting\",\"text\":\"Starting to save wiki\"},\"$:/language/Notifications/CopiedToClipboard/Succeeded\":{\"title\":\"$:/language/Notifications/CopiedToClipboard/Succeeded\",\"text\":\"Copied to clipboard!\"},\"$:/language/Notifications/CopiedToClipboard/Failed\":{\"title\":\"$:/language/Notifications/CopiedToClipboard/Failed\",\"text\":\"Failed to copy to clipboard!\"},\"$:/language/Search/DefaultResults/Caption\":{\"title\":\"$:/language/Search/DefaultResults/Caption\",\"text\":\"List\"},\"$:/language/Search/Filter/Caption\":{\"title\":\"$:/language/Search/Filter/Caption\",\"text\":\"Filter\"},\"$:/language/Search/Filter/Hint\":{\"title\":\"$:/language/Search/Filter/Hint\",\"text\":\"Search via a [[filter expression|https://tiddlywiki.com/static/Filters.html]]\"},\"$:/language/Search/Filter/Matches\":{\"title\":\"$:/language/Search/Filter/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> matches\u003C/small>//\"},\"$:/language/Search/Matches\":{\"title\":\"$:/language/Search/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> matches\u003C/small>//\"},\"$:/language/Search/Matches/All\":{\"title\":\"$:/language/Search/Matches/All\",\"text\":\"All matches:\"},\"$:/language/Search/Matches/Title\":{\"title\":\"$:/language/Search/Matches/Title\",\"text\":\"Title matches:\"},\"$:/language/Search/Search\":{\"title\":\"$:/language/Search/Search\",\"text\":\"Search\"},\"$:/language/Search/Search/TooShort\":{\"title\":\"$:/language/Search/Search/TooShort\",\"text\":\"Search text too short\"},\"$:/language/Search/Shadows/Caption\":{\"title\":\"$:/language/Search/Shadows/Caption\",\"text\":\"Shadows\"},\"$:/language/Search/Shadows/Hint\":{\"title\":\"$:/language/Search/Shadows/Hint\",\"text\":\"Search for shadow tiddlers\"},\"$:/language/Search/Shadows/Matches\":{\"title\":\"$:/language/Search/Shadows/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> matches\u003C/small>//\"},\"$:/language/Search/Standard/Caption\":{\"title\":\"$:/language/Search/Standard/Caption\",\"text\":\"Standard\"},\"$:/language/Search/Standard/Hint\":{\"title\":\"$:/language/Search/Standard/Hint\",\"text\":\"Search for standard tiddlers\"},\"$:/language/Search/Standard/Matches\":{\"title\":\"$:/language/Search/Standard/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> matches\u003C/small>//\"},\"$:/language/Search/System/Caption\":{\"title\":\"$:/language/Search/System/Caption\",\"text\":\"System\"},\"$:/language/Search/System/Hint\":{\"title\":\"$:/language/Search/System/Hint\",\"text\":\"Search for system tiddlers\"},\"$:/language/Search/System/Matches\":{\"title\":\"$:/language/Search/System/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> matches\u003C/small>//\"},\"$:/language/SideBar/Caption\":{\"title\":\"$:/language/SideBar/Caption\",\"text\":\"Sidebar\"},\"$:/language/SideBar/All/Caption\":{\"title\":\"$:/language/SideBar/All/Caption\",\"text\":\"All\"},\"$:/language/SideBar/Contents/Caption\":{\"title\":\"$:/language/SideBar/Contents/Caption\",\"text\":\"Contents\"},\"$:/language/SideBar/Drafts/Caption\":{\"title\":\"$:/language/SideBar/Drafts/Caption\",\"text\":\"Drafts\"},\"$:/language/SideBar/Explorer/Caption\":{\"title\":\"$:/language/SideBar/Explorer/Caption\",\"text\":\"Explorer\"},\"$:/language/SideBar/Missing/Caption\":{\"title\":\"$:/language/SideBar/Missing/Caption\",\"text\":\"Missing\"},\"$:/language/SideBar/More/Caption\":{\"title\":\"$:/language/SideBar/More/Caption\",\"text\":\"More\"},\"$:/language/SideBar/Open/Caption\":{\"title\":\"$:/language/SideBar/Open/Caption\",\"text\":\"Open\"},\"$:/language/SideBar/Orphans/Caption\":{\"title\":\"$:/language/SideBar/Orphans/Caption\",\"text\":\"Orphans\"},\"$:/language/SideBar/Recent/Caption\":{\"title\":\"$:/language/SideBar/Recent/Caption\",\"text\":\"Recent\"},\"$:/language/SideBar/Shadows/Caption\":{\"title\":\"$:/language/SideBar/Shadows/Caption\",\"text\":\"Shadows\"},\"$:/language/SideBar/System/Caption\":{\"title\":\"$:/language/SideBar/System/Caption\",\"text\":\"System\"},\"$:/language/SideBar/Tags/Caption\":{\"title\":\"$:/language/SideBar/Tags/Caption\",\"text\":\"Tags\"},\"$:/language/SideBar/Tags/Untagged/Caption\":{\"title\":\"$:/language/SideBar/Tags/Untagged/Caption\",\"text\":\"untagged\"},\"$:/language/SideBar/Tools/Caption\":{\"title\":\"$:/language/SideBar/Tools/Caption\",\"text\":\"Tools\"},\"$:/language/SideBar/Types/Caption\":{\"title\":\"$:/language/SideBar/Types/Caption\",\"text\":\"Types\"},\"$:/SiteSubtitle\":{\"title\":\"$:/SiteSubtitle\",\"text\":\"a non-linear personal web notebook\"},\"$:/SiteTitle\":{\"title\":\"$:/SiteTitle\",\"text\":\"My TiddlyWiki\"},\"$:/language/Snippets/ListByTag\":{\"title\":\"$:/language/Snippets/ListByTag\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"List of tiddlers by tag\",\"text\":\"\u003C\u003Clist-links \\\"[tag[task]sort[title]]\\\">>\\n\"},\"$:/language/Snippets/MacroDefinition\":{\"title\":\"$:/language/Snippets/MacroDefinition\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Macro definition\",\"text\":\"\\\\define macroName(param1:\\\"default value\\\",param2)\\nText of the macro\\n\\\\end\\n\"},\"$:/language/Snippets/Table4x3\":{\"title\":\"$:/language/Snippets/Table4x3\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Table with 4 columns by 3 rows\",\"text\":\"|! |!Alpha |!Beta |!Gamma |!Delta |\\n|!One | | | | |\\n|!Two | | | | |\\n|!Three | | | | |\\n\"},\"$:/language/Snippets/TableOfContents\":{\"title\":\"$:/language/Snippets/TableOfContents\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Table of Contents\",\"text\":\"\u003Cdiv class=\\\"tc-table-of-contents\\\">\\n\\n\u003C\u003Ctoc-selective-expandable 'TableOfContents'>>\\n\\n\u003C/div>\"},\"$:/language/ThemeTweaks/ThemeTweaks\":{\"title\":\"$:/language/ThemeTweaks/ThemeTweaks\",\"text\":\"Theme Tweaks\"},\"$:/language/ThemeTweaks/ThemeTweaks/Hint\":{\"title\":\"$:/language/ThemeTweaks/ThemeTweaks/Hint\",\"text\":\"You can tweak certain aspects of the ''Vanilla'' theme.\"},\"$:/language/ThemeTweaks/Options\":{\"title\":\"$:/language/ThemeTweaks/Options\",\"text\":\"Options\"},\"$:/language/ThemeTweaks/Options/SidebarLayout\":{\"title\":\"$:/language/ThemeTweaks/Options/SidebarLayout\",\"text\":\"Sidebar layout\"},\"$:/language/ThemeTweaks/Options/SidebarLayout/Fixed-Fluid\":{\"title\":\"$:/language/ThemeTweaks/Options/SidebarLayout/Fixed-Fluid\",\"text\":\"Fixed story, fluid sidebar\"},\"$:/language/ThemeTweaks/Options/SidebarLayout/Fluid-Fixed\":{\"title\":\"$:/language/ThemeTweaks/Options/SidebarLayout/Fluid-Fixed\",\"text\":\"Fluid story, fixed sidebar\"},\"$:/language/ThemeTweaks/Options/StickyTitles\":{\"title\":\"$:/language/ThemeTweaks/Options/StickyTitles\",\"text\":\"Sticky titles\"},\"$:/language/ThemeTweaks/Options/StickyTitles/Hint\":{\"title\":\"$:/language/ThemeTweaks/Options/StickyTitles/Hint\",\"text\":\"Causes tiddler titles to \\\"stick\\\" to the top of the browser window\"},\"$:/language/ThemeTweaks/Options/CodeWrapping\":{\"title\":\"$:/language/ThemeTweaks/Options/CodeWrapping\",\"text\":\"Wrap long lines in code blocks\"},\"$:/language/ThemeTweaks/Settings\":{\"title\":\"$:/language/ThemeTweaks/Settings\",\"text\":\"Settings\"},\"$:/language/ThemeTweaks/Settings/FontFamily\":{\"title\":\"$:/language/ThemeTweaks/Settings/FontFamily\",\"text\":\"Font family\"},\"$:/language/ThemeTweaks/Settings/CodeFontFamily\":{\"title\":\"$:/language/ThemeTweaks/Settings/CodeFontFamily\",\"text\":\"Code font family\"},\"$:/language/ThemeTweaks/Settings/EditorFontFamily\":{\"title\":\"$:/language/ThemeTweaks/Settings/EditorFontFamily\",\"text\":\"Editor font family\"},\"$:/language/ThemeTweaks/Settings/BackgroundImage\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImage\",\"text\":\"Page background image\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment\",\"text\":\"Page background image attachment\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Scroll\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Scroll\",\"text\":\"Scroll with tiddlers\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Fixed\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Fixed\",\"text\":\"Fixed to window\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageSize\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageSize\",\"text\":\"Page background image size\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Auto\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Auto\",\"text\":\"Auto\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Cover\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Cover\",\"text\":\"Cover\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Contain\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Contain\",\"text\":\"Contain\"},\"$:/language/ThemeTweaks/Metrics\":{\"title\":\"$:/language/ThemeTweaks/Metrics\",\"text\":\"Sizes\"},\"$:/language/ThemeTweaks/Metrics/FontSize\":{\"title\":\"$:/language/ThemeTweaks/Metrics/FontSize\",\"text\":\"Font size\"},\"$:/language/ThemeTweaks/Metrics/LineHeight\":{\"title\":\"$:/language/ThemeTweaks/Metrics/LineHeight\",\"text\":\"Line height\"},\"$:/language/ThemeTweaks/Metrics/BodyFontSize\":{\"title\":\"$:/language/ThemeTweaks/Metrics/BodyFontSize\",\"text\":\"Font size for tiddler body\"},\"$:/language/ThemeTweaks/Metrics/BodyLineHeight\":{\"title\":\"$:/language/ThemeTweaks/Metrics/BodyLineHeight\",\"text\":\"Line height for tiddler body\"},\"$:/language/ThemeTweaks/Metrics/StoryLeft\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryLeft\",\"text\":\"Story left position\"},\"$:/language/ThemeTweaks/Metrics/StoryLeft/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryLeft/Hint\",\"text\":\"how far the left margin of the story river\u003Cbr>(tiddler area) is from the left of the page\"},\"$:/language/ThemeTweaks/Metrics/StoryTop\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryTop\",\"text\":\"Story top position\"},\"$:/language/ThemeTweaks/Metrics/StoryTop/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryTop/Hint\",\"text\":\"how far the top margin of the story river\u003Cbr>is from the top of the page\"},\"$:/language/ThemeTweaks/Metrics/StoryRight\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryRight\",\"text\":\"Story right\"},\"$:/language/ThemeTweaks/Metrics/StoryRight/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryRight/Hint\",\"text\":\"how far the left margin of the sidebar \u003Cbr>is from the left of the page\"},\"$:/language/ThemeTweaks/Metrics/StoryWidth\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryWidth\",\"text\":\"Story width\"},\"$:/language/ThemeTweaks/Metrics/StoryWidth/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryWidth/Hint\",\"text\":\"the overall width of the story river\"},\"$:/language/ThemeTweaks/Metrics/TiddlerWidth\":{\"title\":\"$:/language/ThemeTweaks/Metrics/TiddlerWidth\",\"text\":\"Tiddler width\"},\"$:/language/ThemeTweaks/Metrics/TiddlerWidth/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/TiddlerWidth/Hint\",\"text\":\"within the story river\"},\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint\",\"text\":\"Sidebar breakpoint\"},\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint/Hint\",\"text\":\"the minimum page width at which the story\u003Cbr>river and sidebar will appear side by side\"},\"$:/language/ThemeTweaks/Metrics/SidebarWidth\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarWidth\",\"text\":\"Sidebar width\"},\"$:/language/ThemeTweaks/Metrics/SidebarWidth/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarWidth/Hint\",\"text\":\"the width of the sidebar in fluid-fixed layout\"},\"$:/language/TiddlerInfo/Advanced/Caption\":{\"title\":\"$:/language/TiddlerInfo/Advanced/Caption\",\"text\":\"Advanced\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint\",\"text\":\"none\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Heading\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Heading\",\"text\":\"Plugin Details\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Hint\",\"text\":\"This plugin contains the following shadow tiddlers:\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading\",\"text\":\"Shadow Status\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint\",\"text\":\"The tiddler \u003C$link to=\u003C\u003CinfoTiddler>>>\u003C$text text=\u003C\u003CinfoTiddler>>/>\u003C/$link> is not a shadow tiddler\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint\",\"text\":\"The tiddler \u003C$link to=\u003C\u003CinfoTiddler>>>\u003C$text text=\u003C\u003CinfoTiddler>>/>\u003C/$link> is a shadow tiddler\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source\",\"text\":\"It is defined in the plugin \u003C$link to=\u003C\u003CpluginTiddler>>>\u003C$text text=\u003C\u003CpluginTiddler>>/>\u003C/$link>\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint\",\"text\":\"It is overridden by an ordinary tiddler\"},\"$:/language/TiddlerInfo/Fields/Caption\":{\"title\":\"$:/language/TiddlerInfo/Fields/Caption\",\"text\":\"Fields\"},\"$:/language/TiddlerInfo/List/Caption\":{\"title\":\"$:/language/TiddlerInfo/List/Caption\",\"text\":\"List\"},\"$:/language/TiddlerInfo/List/Empty\":{\"title\":\"$:/language/TiddlerInfo/List/Empty\",\"text\":\"This tiddler does not have a list\"},\"$:/language/TiddlerInfo/Listed/Caption\":{\"title\":\"$:/language/TiddlerInfo/Listed/Caption\",\"text\":\"Listed\"},\"$:/language/TiddlerInfo/Listed/Empty\":{\"title\":\"$:/language/TiddlerInfo/Listed/Empty\",\"text\":\"This tiddler is not listed by any others\"},\"$:/language/TiddlerInfo/References/Caption\":{\"title\":\"$:/language/TiddlerInfo/References/Caption\",\"text\":\"Backlinks\"},\"$:/language/TiddlerInfo/References/Empty\":{\"title\":\"$:/language/TiddlerInfo/References/Empty\",\"text\":\"No tiddlers link to this one\"},\"$:/language/TiddlerInfo/Tagging/Caption\":{\"title\":\"$:/language/TiddlerInfo/Tagging/Caption\",\"text\":\"Tagging\"},\"$:/language/TiddlerInfo/Tagging/Empty\":{\"title\":\"$:/language/TiddlerInfo/Tagging/Empty\",\"text\":\"No tiddlers are tagged with this one\"},\"$:/language/TiddlerInfo/Tools/Caption\":{\"title\":\"$:/language/TiddlerInfo/Tools/Caption\",\"text\":\"Tools\"},\"$:/language/Docs/Types/application/javascript\":{\"title\":\"$:/language/Docs/Types/application/javascript\",\"description\":\"JavaScript code\",\"name\":\"application/javascript\",\"group\":\"Developer\",\"group-sort\":\"2\"},\"$:/language/Docs/Types/application/json\":{\"title\":\"$:/language/Docs/Types/application/json\",\"description\":\"JSON data\",\"name\":\"application/json\",\"group\":\"Developer\",\"group-sort\":\"2\"},\"$:/language/Docs/Types/application/x-tiddler-dictionary\":{\"title\":\"$:/language/Docs/Types/application/x-tiddler-dictionary\",\"description\":\"Data dictionary\",\"name\":\"application/x-tiddler-dictionary\",\"group\":\"Developer\",\"group-sort\":\"2\"},\"$:/language/Docs/Types/image/gif\":{\"title\":\"$:/language/Docs/Types/image/gif\",\"description\":\"GIF image\",\"name\":\"image/gif\",\"group\":\"Image\",\"group-sort\":\"1\"},\"$:/language/Docs/Types/image/jpeg\":{\"title\":\"$:/language/Docs/Types/image/jpeg\",\"description\":\"JPEG image\",\"name\":\"image/jpeg\",\"group\":\"Image\",\"group-sort\":\"1\"},\"$:/language/Docs/Types/image/png\":{\"title\":\"$:/language/Docs/Types/image/png\",\"description\":\"PNG image\",\"name\":\"image/png\",\"group\":\"Image\",\"group-sort\":\"1\"},\"$:/language/Docs/Types/image/svg+xml\":{\"title\":\"$:/language/Docs/Types/image/svg+xml\",\"description\":\"Structured Vector Graphics image\",\"name\":\"image/svg+xml\",\"group\":\"Image\",\"group-sort\":\"1\"},\"$:/language/Docs/Types/image/x-icon\":{\"title\":\"$:/language/Docs/Types/image/x-icon\",\"description\":\"ICO format icon file\",\"name\":\"image/x-icon\",\"group\":\"Image\",\"group-sort\":\"1\"},\"$:/language/Docs/Types/text/css\":{\"title\":\"$:/language/Docs/Types/text/css\",\"description\":\"Static stylesheet\",\"name\":\"text/css\",\"group\":\"Developer\",\"group-sort\":\"2\"},\"$:/language/Docs/Types/text/html\":{\"title\":\"$:/language/Docs/Types/text/html\",\"description\":\"HTML markup\",\"name\":\"text/html\",\"group\":\"Text\",\"group-sort\":\"0\"},\"$:/language/Docs/Types/text/plain\":{\"title\":\"$:/language/Docs/Types/text/plain\",\"description\":\"Plain text\",\"name\":\"text/plain\",\"group\":\"Text\",\"group-sort\":\"0\"},\"$:/language/Docs/Types/text/vnd.tiddlywiki\":{\"title\":\"$:/language/Docs/Types/text/vnd.tiddlywiki\",\"description\":\"TiddlyWiki 5\",\"name\":\"text/vnd.tiddlywiki\",\"group\":\"Text\",\"group-sort\":\"0\"},\"$:/language/Docs/Types/text/x-tiddlywiki\":{\"title\":\"$:/language/Docs/Types/text/x-tiddlywiki\",\"description\":\"TiddlyWiki Classic\",\"name\":\"text/x-tiddlywiki\",\"group\":\"Text\",\"group-sort\":\"0\"},\"$:/languages/en-GB/icon\":{\"title\":\"$:/languages/en-GB/icon\",\"type\":\"image/svg+xml\",\"text\":\"\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 60 30\\\" width=\\\"1200\\\" height=\\\"600\\\">\\n\u003CclipPath id=\\\"t\\\">\\n\\t\u003Cpath d=\\\"M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z\\\"/>\\n\u003C/clipPath>\\n\u003Cpath d=\\\"M0,0 v30 h60 v-30 z\\\" fill=\\\"#00247d\\\"/>\\n\u003Cpath d=\\\"M0,0 L60,30 M60,0 L0,30\\\" stroke=\\\"#fff\\\" stroke-width=\\\"6\\\"/>\\n\u003Cpath d=\\\"M0,0 L60,30 M60,0 L0,30\\\" clip-path=\\\"url(#t)\\\" stroke=\\\"#cf142b\\\" stroke-width=\\\"4\\\"/>\\n\u003Cpath d=\\\"M30,0 v30 M0,15 h60\\\" stroke=\\\"#fff\\\" stroke-width=\\\"10\\\"/>\\n\u003Cpath d=\\\"M30,0 v30 M0,15 h60\\\" stroke=\\\"#cf142b\\\" stroke-width=\\\"6\\\"/>\\n\u003C/svg>\\n\"},\"$:/languages/en-GB\":{\"title\":\"$:/languages/en-GB\",\"name\":\"en-GB\",\"description\":\"English (British)\",\"author\":\"JeremyRuston\",\"core-version\":\">=5.0.0\\\"\",\"text\":\"Stub pseudo-plugin for the default language\"},\"$:/core/modules/commander.js\":{\"title\":\"$:/core/modules/commander.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commander.js\\ntype: application/javascript\\nmodule-type: global\\n\\nThe $tw.Commander class is a command interpreter\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nParse a sequence of commands\\n\\tcommandTokens: an array of command string tokens\\n\\twiki: reference to the wiki store object\\n\\tstreams: {output:, error:}, each of which has a write(string) method\\n\\tcallback: a callback invoked as callback(err) where err is null if there was no error\\n*/\\nvar Commander = function(commandTokens,callback,wiki,streams) {\\n\\tvar path = require(\\\"path\\\");\\n\\tthis.commandTokens = commandTokens;\\n\\tthis.nextToken = 0;\\n\\tthis.callback = callback;\\n\\tthis.wiki = wiki;\\n\\tthis.streams = streams;\\n\\tthis.outputPath = path.resolve($tw.boot.wikiPath,$tw.config.wikiOutputSubDir);\\n};\\n\\n/*\\nLog a string if verbose flag is set\\n*/\\nCommander.prototype.log = function(str) {\\n\\tif(this.verbose) {\\n\\t\\tthis.streams.output.write(str + \\\"\\\\n\\\");\\n\\t}\\n};\\n\\n/*\\nWrite a string if verbose flag is set\\n*/\\nCommander.prototype.write = function(str) {\\n\\tif(this.verbose) {\\n\\t\\tthis.streams.output.write(str);\\n\\t}\\n};\\n\\n/*\\nAdd a string of tokens to the command queue\\n*/\\nCommander.prototype.addCommandTokens = function(commandTokens) {\\n\\tvar params = commandTokens.slice(0);\\n\\tparams.unshift(0);\\n\\tparams.unshift(this.nextToken);\\n\\tArray.prototype.splice.apply(this.commandTokens,params);\\n};\\n\\n/*\\nExecute the sequence of commands and invoke a callback on completion\\n*/\\nCommander.prototype.execute = function() {\\n\\tthis.executeNextCommand();\\n};\\n\\n/*\\nExecute the next command in the sequence\\n*/\\nCommander.prototype.executeNextCommand = function() {\\n\\tvar self = this;\\n\\t// Invoke the callback if there are no more commands\\n\\tif(this.nextToken >= this.commandTokens.length) {\\n\\t\\tthis.callback(null);\\n\\t} else {\\n\\t\\t// Get and check the command token\\n\\t\\tvar commandName = this.commandTokens[this.nextToken++];\\n\\t\\tif(commandName.substr(0,2) !== \\\"--\\\") {\\n\\t\\t\\tthis.callback(\\\"Missing command: \\\" + commandName);\\n\\t\\t} else {\\n\\t\\t\\tcommandName = commandName.substr(2); // Trim off the --\\n\\t\\t\\t// Accumulate the parameters to the command\\n\\t\\t\\tvar params = [];\\n\\t\\t\\twhile(this.nextToken \u003C this.commandTokens.length && \\n\\t\\t\\t\\tthis.commandTokens[this.nextToken].substr(0,2) !== \\\"--\\\") {\\n\\t\\t\\t\\tparams.push(this.commandTokens[this.nextToken++]);\\n\\t\\t\\t}\\n\\t\\t\\t// Get the command info\\n\\t\\t\\tvar command = $tw.commands[commandName],\\n\\t\\t\\t\\tc,err;\\n\\t\\t\\tif(!command) {\\n\\t\\t\\t\\tthis.callback(\\\"Unknown command: \\\" + commandName);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(this.verbose) {\\n\\t\\t\\t\\t\\tthis.streams.output.write(\\\"Executing command: \\\" + commandName + \\\" \\\" + params.join(\\\" \\\") + \\\"\\\\n\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Parse named parameters if required\\n\\t\\t\\t\\tif(command.info.namedParameterMode) {\\n\\t\\t\\t\\t\\tparams = this.extractNamedParameters(params,command.info.mandatoryParameters);\\n\\t\\t\\t\\t\\tif(typeof params === \\\"string\\\") {\\n\\t\\t\\t\\t\\t\\treturn this.callback(params);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(command.info.synchronous) {\\n\\t\\t\\t\\t\\t// Synchronous command\\n\\t\\t\\t\\t\\tc = new command.Command(params,this);\\n\\t\\t\\t\\t\\terr = c.execute();\\n\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\tthis.callback(err);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tthis.executeNextCommand();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Asynchronous command\\n\\t\\t\\t\\t\\tc = new command.Command(params,this,function(err) {\\n\\t\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\t\\tself.callback(err);\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\tself.executeNextCommand();\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\terr = c.execute();\\n\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\tthis.callback(err);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nGiven an array of parameter strings `params` in name:value format, and an array of mandatory parameter names in `mandatoryParameters`, returns a hashmap of values or a string if error\\n*/\\nCommander.prototype.extractNamedParameters = function(params,mandatoryParameters) {\\n\\tmandatoryParameters = mandatoryParameters || [];\\n\\tvar errors = [],\\n\\t\\tparamsByName = Object.create(null);\\n\\t// Extract the parameters\\n\\t$tw.utils.each(params,function(param) {\\n\\t\\tvar index = param.indexOf(\\\"=\\\");\\n\\t\\tif(index \u003C 1) {\\n\\t\\t\\terrors.push(\\\"malformed named parameter: '\\\" + param + \\\"'\\\");\\n\\t\\t}\\n\\t\\tparamsByName[param.slice(0,index)] = $tw.utils.trim(param.slice(index+1));\\n\\t});\\n\\t// Check the mandatory parameters are present\\n\\t$tw.utils.each(mandatoryParameters,function(mandatoryParameter) {\\n\\t\\tif(!$tw.utils.hop(paramsByName,mandatoryParameter)) {\\n\\t\\t\\terrors.push(\\\"missing mandatory parameter: '\\\" + mandatoryParameter + \\\"'\\\");\\n\\t\\t}\\n\\t});\\n\\t// Return any errors\\n\\tif(errors.length > 0) {\\n\\t\\treturn errors.join(\\\" and\\\\n\\\");\\n\\t} else {\\n\\t\\treturn paramsByName;\\n\\t}\\n};\\n\\nCommander.initCommands = function(moduleType) {\\n\\tmoduleType = moduleType || \\\"command\\\";\\n\\t$tw.commands = {};\\n\\t$tw.modules.forEachModuleOfType(moduleType,function(title,module) {\\n\\t\\tvar c = $tw.commands[module.info.name] = {};\\n\\t\\t// Add the methods defined by the module\\n\\t\\tfor(var f in module) {\\n\\t\\t\\tif($tw.utils.hop(module,f)) {\\n\\t\\t\\t\\tc[f] = module[f];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\nexports.Commander = Commander;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/commands/build.js\":{\"title\":\"$:/core/modules/commands/build.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/build.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to build a build target\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"build\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\t// Get the build targets defined in the wiki\\n\\tvar buildTargets = $tw.boot.wikiInfo.build;\\n\\tif(!buildTargets) {\\n\\t\\treturn \\\"No build targets defined\\\";\\n\\t}\\n\\t// Loop through each of the specified targets\\n\\tvar targets;\\n\\tif(this.params.length > 0) {\\n\\t\\ttargets = this.params;\\n\\t} else {\\n\\t\\ttargets = Object.keys(buildTargets);\\n\\t}\\n\\tfor(var targetIndex=0; targetIndex\u003Ctargets.length; targetIndex++) {\\n\\t\\tvar target = targets[targetIndex],\\n\\t\\t\\tcommands = buildTargets[target];\\n\\t\\tif(!commands) {\\n\\t\\t\\treturn \\\"Build target '\\\" + target + \\\"' not found\\\";\\n\\t\\t}\\n\\t\\t// Add the commands to the queue\\n\\t\\tthis.commander.addCommandTokens(commands);\\n\\t}\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/clearpassword.js\":{\"title\":\"$:/core/modules/commands/clearpassword.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/clearpassword.js\\ntype: application/javascript\\nmodule-type: command\\n\\nClear password for crypto operations\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"clearpassword\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\t$tw.crypto.setPassword(null);\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/commands.js\":{\"title\":\"$:/core/modules/commands/commands.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/commands.js\\ntype: application/javascript\\nmodule-type: command\\n\\nRuns the commands returned from a filter\\n\\n\\\\*/\\n\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"commands\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params, commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\t// Parse the filter\\n\\tvar filter = this.params[0];\\n\\tif(!filter) {\\n\\t\\treturn \\\"No filter specified\\\";\\n\\t}\\n\\tvar commands = this.commander.wiki.filterTiddlers(filter)\\n\\tif(commands.length === 0) {\\n\\t\\treturn \\\"No tiddlers found for filter '\\\" + filter + \\\"'\\\";\\n\\t}\\n\\tthis.commander.addCommandTokens(commands);\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/deletetiddlers.js\":{\"title\":\"$:/core/modules/commands/deletetiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/deletetiddlers.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to delete tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"deletetiddlers\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length \u003C 1) {\\n\\t\\treturn \\\"Missing filter\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\twiki = this.commander.wiki,\\n\\t\\tfilter = this.params[0],\\n\\t\\ttiddlers = wiki.filterTiddlers(filter);\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\twiki.deleteTiddler(title);\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/editions.js\":{\"title\":\"$:/core/modules/commands/editions.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/editions.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to list the available editions\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"editions\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar self = this;\\n\\t// Output the list\\n\\tthis.commander.streams.output.write(\\\"Available editions:\\\\n\\\\n\\\");\\n\\tvar editionInfo = $tw.utils.getEditionInfo();\\n\\t$tw.utils.each(editionInfo,function(info,name) {\\n\\t\\tself.commander.streams.output.write(\\\" \\\" + name + \\\": \\\" + info.description + \\\"\\\\n\\\");\\n\\t});\\n\\tthis.commander.streams.output.write(\\\"\\\\n\\\");\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/fetch.js\":{\"title\":\"$:/core/modules/commands/fetch.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/fetch.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommands to fetch external tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"fetch\\\",\\n\\tsynchronous: false\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length \u003C 2) {\\n\\t\\treturn \\\"Missing subcommand and url\\\";\\n\\t}\\n\\tswitch(this.params[0]) {\\n\\t\\tcase \\\"raw-file\\\":\\n\\t\\t\\treturn this.fetchFiles({\\n\\t\\t\\t\\traw: true,\\n\\t\\t\\t\\turl: this.params[1],\\n\\t\\t\\t\\ttransformFilter: this.params[2] || \\\"\\\",\\n\\t\\t\\t\\tcallback: this.callback\\n\\t\\t\\t});\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"file\\\":\\n\\t\\t\\treturn this.fetchFiles({\\n\\t\\t\\t\\turl: this.params[1],\\n\\t\\t\\t\\timportFilter: this.params[2],\\n\\t\\t\\t\\ttransformFilter: this.params[3] || \\\"\\\",\\n\\t\\t\\t\\tcallback: this.callback\\n\\t\\t\\t});\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"raw-files\\\":\\n\\t\\t\\treturn this.fetchFiles({\\n\\t\\t\\t\\traw: true,\\n\\t\\t\\t\\turlFilter: this.params[1],\\n\\t\\t\\t\\ttransformFilter: this.params[2] || \\\"\\\",\\n\\t\\t\\t\\tcallback: this.callback\\n\\t\\t\\t});\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"files\\\":\\n\\t\\t\\treturn this.fetchFiles({\\n\\t\\t\\t\\turlFilter: this.params[1],\\n\\t\\t\\t\\timportFilter: this.params[2],\\n\\t\\t\\t\\ttransformFilter: this.params[3] || \\\"\\\",\\n\\t\\t\\t\\tcallback: this.callback\\n\\t\\t\\t});\\n\\t\\t\\tbreak;\\n\\t}\\n\\treturn null;\\n};\\n\\nCommand.prototype.fetchFiles = function(options) {\\n\\tvar self = this;\\n\\t// Get the list of URLs\\n\\tvar urls;\\n\\tif(options.url) {\\n\\t\\turls = [options.url]\\n\\t} else if(options.urlFilter) {\\n\\t\\turls = this.commander.wiki.filterTiddlers(options.urlFilter);\\n\\t} else {\\n\\t\\treturn \\\"Missing URL\\\";\\n\\t}\\n\\t// Process each URL in turn\\n\\tvar next = 0;\\n\\tvar getNextFile = function(err) {\\n\\t\\tif(err) {\\n\\t\\t\\treturn options.callback(err);\\n\\t\\t}\\n\\t\\tif(next \u003C urls.length) {\\n\\t\\t\\tself.fetchFile(urls[next++],options,getNextFile);\\n\\t\\t} else {\\n\\t\\t\\toptions.callback(null);\\n\\t\\t}\\n\\t};\\n\\tgetNextFile(null);\\n\\t// Success\\n\\treturn null;\\n};\\n\\nCommand.prototype.fetchFile = function(url,options,callback,redirectCount) {\\n\\tif(redirectCount > 10) {\\n\\t\\treturn callback(\\\"Error too many redirects retrieving \\\" + url);\\n\\t}\\n\\tvar self = this,\\n\\t\\tlib = url.substr(0,8) === \\\"https://\\\" ? require(\\\"https\\\") : require(\\\"http\\\");\\n\\tlib.get(url).on(\\\"response\\\",function(response) {\\n\\t var type = (response.headers[\\\"content-type\\\"] || \\\"\\\").split(\\\";\\\")[0],\\n\\t \\tdata = [];\\n\\t self.commander.write(\\\"Reading \\\" + url + \\\": \\\");\\n\\t response.on(\\\"data\\\",function(chunk) {\\n\\t data.push(chunk);\\n\\t self.commander.write(\\\".\\\");\\n\\t });\\n\\t response.on(\\\"end\\\",function() {\\n\\t self.commander.write(\\\"\\\\n\\\");\\n\\t if(response.statusCode === 200) {\\n\\t\\t self.processBody(Buffer.concat(data),type,options,url);\\n\\t\\t callback(null);\\n\\t } else {\\n\\t \\tif(response.statusCode === 302 || response.statusCode === 303 || response.statusCode === 307) {\\n\\t \\t\\treturn self.fetchFile(response.headers.location,options,callback,redirectCount + 1);\\n\\t \\t} else {\\n\\t\\t \\treturn callback(\\\"Error \\\" + response.statusCode + \\\" retrieving \\\" + url)\\n\\t \\t}\\n\\t }\\n\\t \\t});\\n\\t \\tresponse.on(\\\"error\\\",function(e) {\\n\\t\\t\\tconsole.log(\\\"Error on GET request: \\\" + e);\\n\\t\\t\\tcallback(e);\\n\\t \\t});\\n\\t});\\n\\treturn null;\\n};\\n\\nCommand.prototype.processBody = function(body,type,options,url) {\\n\\tvar self = this;\\n\\t// Collect the tiddlers in a wiki\\n\\tvar incomingWiki = new $tw.Wiki();\\n\\tif(options.raw) {\\n\\t\\tvar typeInfo = type ? $tw.config.contentTypeInfo[type] : null,\\n\\t\\t\\tencoding = typeInfo ? typeInfo.encoding : \\\"utf8\\\";\\n\\t\\tincomingWiki.addTiddler(new $tw.Tiddler({\\n\\t\\t\\ttitle: url,\\n\\t\\t\\ttype: type,\\n\\t\\t\\ttext: body.toString(encoding)\\n\\t\\t}));\\n\\t} else {\\n\\t\\t// Deserialise the file to extract the tiddlers\\n\\t\\tvar tiddlers = this.commander.wiki.deserializeTiddlers(type || \\\"text/html\\\",body.toString(\\\"utf8\\\"),{});\\n\\t\\t$tw.utils.each(tiddlers,function(tiddler) {\\n\\t\\t\\tincomingWiki.addTiddler(new $tw.Tiddler(tiddler));\\n\\t\\t});\\n\\t}\\n\\t// Filter the tiddlers to select the ones we want\\n\\tvar filteredTitles = incomingWiki.filterTiddlers(options.importFilter || \\\"[all[tiddlers]]\\\");\\n\\t// Import the selected tiddlers\\n\\tvar count = 0;\\n\\tincomingWiki.each(function(tiddler,title) {\\n\\t\\tif(filteredTitles.indexOf(title) !== -1) {\\n\\t\\t\\tvar newTiddler;\\n\\t\\t\\tif(options.transformFilter) {\\n\\t\\t\\t\\tvar transformedTitle = (incomingWiki.filterTiddlers(options.transformFilter,null,self.commander.wiki.makeTiddlerIterator([title])) || [\\\"\\\"])[0];\\n\\t\\t\\t\\tif(transformedTitle) {\\n\\t\\t\\t\\t\\tself.commander.log(\\\"Importing \\\" + title + \\\" as \\\" + transformedTitle)\\n\\t\\t\\t\\t\\tnewTiddler = new $tw.Tiddler(tiddler,{title: transformedTitle});\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tself.commander.log(\\\"Importing \\\" + title)\\n\\t\\t\\t\\tnewTiddler = tiddler;\\n\\t\\t\\t}\\n\\t\\t\\tself.commander.wiki.importTiddler(newTiddler);\\n\\t\\t\\tcount++;\\n\\t\\t}\\n\\t});\\n\\tself.commander.log(\\\"Imported \\\" + count + \\\" tiddlers\\\")\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/help.js\":{\"title\":\"$:/core/modules/commands/help.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/help.js\\ntype: application/javascript\\nmodule-type: command\\n\\nHelp command\\n\\n\\\\*/\\n(function(){\\n\\n/*jshint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"help\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar subhelp = this.params[0] || \\\"default\\\",\\n\\t\\thelpBase = \\\"$:/language/Help/\\\",\\n\\t\\ttext;\\n\\tif(!this.commander.wiki.getTiddler(helpBase + subhelp)) {\\n\\t\\tsubhelp = \\\"notfound\\\";\\n\\t}\\n\\t// Wikify the help as formatted text (ie block elements generate newlines)\\n\\ttext = this.commander.wiki.renderTiddler(\\\"text/plain-formatted\\\",helpBase + subhelp);\\n\\t// Remove any leading linebreaks\\n\\ttext = text.replace(/^(\\\\r?\\\\n)*/g,\\\"\\\");\\n\\tthis.commander.streams.output.write(text);\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/import.js\":{\"title\":\"$:/core/modules/commands/import.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/import.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to import tiddlers from a file\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"import\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\");\\n\\tif(this.params.length \u003C 2) {\\n\\t\\treturn \\\"Missing parameters\\\";\\n\\t}\\n\\tvar filename = self.params[0],\\n\\t\\tdeserializer = self.params[1],\\n\\t\\ttitle = self.params[2] || filename,\\n\\t\\tencoding = self.params[3] || \\\"utf8\\\",\\n\\t\\ttext = fs.readFileSync(filename,encoding),\\n\\t\\ttiddlers = this.commander.wiki.deserializeTiddlers(null,text,{title: title},{deserializer: deserializer});\\n\\t$tw.utils.each(tiddlers,function(tiddler) {\\n\\t\\tself.commander.wiki.importTiddler(new $tw.Tiddler(tiddler));\\n\\t});\\n\\tthis.commander.log(tiddlers.length + \\\" tiddler(s) imported\\\");\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/init.js\":{\"title\":\"$:/core/modules/commands/init.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/init.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to initialise an empty wiki folder\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"init\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar fs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\");\\n\\t// Check that we don't already have a valid wiki folder\\n\\tif($tw.boot.wikiTiddlersPath || ($tw.utils.isDirectory($tw.boot.wikiPath) && !$tw.utils.isDirectoryEmpty($tw.boot.wikiPath))) {\\n\\t\\treturn \\\"Wiki folder is not empty\\\";\\n\\t}\\n\\t// Loop through each of the specified editions\\n\\tvar editions = this.params.length > 0 ? this.params : [\\\"empty\\\"];\\n\\tfor(var editionIndex=0; editionIndex\u003Ceditions.length; editionIndex++) {\\n\\t\\tvar editionName = editions[editionIndex];\\n\\t\\t// Check the edition exists\\n\\t\\tvar editionPath = $tw.findLibraryItem(editionName,$tw.getLibraryItemSearchPaths($tw.config.editionsPath,$tw.config.editionsEnvVar));\\n\\t\\tif(!$tw.utils.isDirectory(editionPath)) {\\n\\t\\t\\treturn \\\"Edition '\\\" + editionName + \\\"' not found\\\";\\n\\t\\t}\\n\\t\\t// Copy the edition content\\n\\t\\tvar err = $tw.utils.copyDirectory(editionPath,$tw.boot.wikiPath);\\n\\t\\tif(!err) {\\n\\t\\t\\tthis.commander.streams.output.write(\\\"Copied edition '\\\" + editionName + \\\"' to \\\" + $tw.boot.wikiPath + \\\"\\\\n\\\");\\n\\t\\t} else {\\n\\t\\t\\treturn err;\\n\\t\\t}\\n\\t}\\n\\t// Tweak the tiddlywiki.info to remove any included wikis\\n\\tvar packagePath = $tw.boot.wikiPath + \\\"/tiddlywiki.info\\\",\\n\\t\\tpackageJson = $tw.utils.parseJSONSafe(fs.readFileSync(packagePath));\\n\\tdelete packageJson.includeWikis;\\n\\tfs.writeFileSync(packagePath,JSON.stringify(packageJson,null,$tw.config.preferences.jsonSpaces));\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/listen.js\":{\"title\":\"$:/core/modules/commands/listen.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/listen.js\\ntype: application/javascript\\nmodule-type: command\\n\\nListen for HTTP requests and serve tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Server = require(\\\"$:/core/modules/server/server.js\\\").Server;\\n\\nexports.info = {\\n\\tname: \\\"listen\\\",\\n\\tsynchronous: true,\\n\\tnamedParameterMode: true,\\n\\tmandatoryParameters: [],\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tvar self = this;\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar self = this;\\n\\tif(!$tw.boot.wikiTiddlersPath) {\\n\\t\\t$tw.utils.warning(\\\"Warning: Wiki folder '\\\" + $tw.boot.wikiPath + \\\"' does not exist or is missing a tiddlywiki.info file\\\");\\n\\t}\\n\\t// Set up server\\n\\tthis.server = new Server({\\n\\t\\twiki: this.commander.wiki,\\n\\t\\tvariables: self.params\\n\\t});\\n\\tvar nodeServer = this.server.listen();\\n\\t$tw.hooks.invokeHook(\\\"th-server-command-post-start\\\",this.server,nodeServer,\\\"tiddlywiki\\\");\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/load.js\":{\"title\":\"$:/core/modules/commands/load.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/load.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to load tiddlers from a file or directory\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"load\\\",\\n\\tsynchronous: false\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\");\\n\\tif(this.params.length \u003C 1) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar tiddlers = $tw.loadTiddlersFromPath(self.params[0]),\\n\\t\\tcount = 0;\\n\\t$tw.utils.each(tiddlers,function(tiddlerInfo) {\\n\\t\\t$tw.utils.each(tiddlerInfo.tiddlers,function(tiddler) {\\n\\t\\t\\tself.commander.wiki.importTiddler(new $tw.Tiddler(tiddler));\\n\\t\\t\\tcount++;\\n\\t\\t});\\n\\t});\\n\\tif(!count && self.params[1] !== \\\"noerror\\\") {\\n\\t\\tself.callback(\\\"No tiddlers found in file \\\\\\\"\\\" + self.params[0] + \\\"\\\\\\\"\\\");\\n\\t} else {\\n\\t\\tself.callback(null);\\n\\t}\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/makelibrary.js\":{\"title\":\"$:/core/modules/commands/makelibrary.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/makelibrary.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to pack all of the plugins in the library into a plugin tiddler of type \\\"library\\\"\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"makelibrary\\\",\\n\\tsynchronous: true\\n};\\n\\nvar UPGRADE_LIBRARY_TITLE = \\\"$:/UpgradeLibrary\\\";\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar wiki = this.commander.wiki,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\tupgradeLibraryTitle = this.params[0] || UPGRADE_LIBRARY_TITLE,\\n\\t\\ttiddlers = {};\\n\\t// Collect up the library plugins\\n\\tvar collectPlugins = function(folder) {\\n\\t\\t\\tvar pluginFolders = $tw.utils.getSubdirectories(folder) || [];\\n\\t\\t\\tfor(var p=0; p\u003CpluginFolders.length; p++) {\\n\\t\\t\\t\\tif(!$tw.boot.excludeRegExp.test(pluginFolders[p])) {\\n\\t\\t\\t\\t\\tpluginFields = $tw.loadPluginFolder(path.resolve(folder,\\\"./\\\" + pluginFolders[p]));\\n\\t\\t\\t\\t\\tif(pluginFields && pluginFields.title) {\\n\\t\\t\\t\\t\\t\\ttiddlers[pluginFields.title] = pluginFields;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\tcollectPublisherPlugins = function(folder) {\\n\\t\\t\\tvar publisherFolders = $tw.utils.getSubdirectories(folder) || [];\\n\\t\\t\\tfor(var t=0; t\u003CpublisherFolders.length; t++) {\\n\\t\\t\\t\\tif(!$tw.boot.excludeRegExp.test(publisherFolders[t])) {\\n\\t\\t\\t\\t\\tcollectPlugins(path.resolve(folder,\\\"./\\\" + publisherFolders[t]));\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\t$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.pluginsPath,$tw.config.pluginsEnvVar),collectPublisherPlugins);\\n\\t$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.themesPath,$tw.config.themesEnvVar),collectPublisherPlugins);\\n\\t$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.languagesPath,$tw.config.languagesEnvVar),collectPlugins);\\n\\t// Save the upgrade library tiddler\\n\\tvar pluginFields = {\\n\\t\\ttitle: upgradeLibraryTitle,\\n\\t\\ttype: \\\"application/json\\\",\\n\\t\\t\\\"plugin-type\\\": \\\"library\\\",\\n\\t\\t\\\"text\\\": JSON.stringify({tiddlers: tiddlers})\\n\\t};\\n\\twiki.addTiddler(new $tw.Tiddler(pluginFields));\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/output.js\":{\"title\":\"$:/core/modules/commands/output.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/output.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to set the default output location (defaults to current working directory)\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"output\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tvar fs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\");\\n\\tif(this.params.length \u003C 1) {\\n\\t\\treturn \\\"Missing output path\\\";\\n\\t}\\n\\tthis.commander.outputPath = path.resolve(process.cwd(),this.params[0]);\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/password.js\":{\"title\":\"$:/core/modules/commands/password.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/password.js\\ntype: application/javascript\\nmodule-type: command\\n\\nSave password for crypto operations\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"password\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length \u003C 1) {\\n\\t\\treturn \\\"Missing password\\\";\\n\\t}\\n\\t$tw.crypto.setPassword(this.params[0]);\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/render.js\":{\"title\":\"$:/core/modules/commands/render.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/render.js\\ntype: application/javascript\\nmodule-type: command\\n\\nRender individual tiddlers and save the results to the specified files\\n\\n\\\\*/\\n(function(){\\n\\n\\t/*jslint node: true, browser: true */\\n\\t/*global $tw: false */\\n\\t\\\"use strict\\\";\\n\\t\\n\\tvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\t\\n\\texports.info = {\\n\\t\\tname: \\\"render\\\",\\n\\t\\tsynchronous: true\\n\\t};\\n\\t\\n\\tvar Command = function(params,commander,callback) {\\n\\t\\tthis.params = params;\\n\\t\\tthis.commander = commander;\\n\\t\\tthis.callback = callback;\\n\\t};\\n\\t\\n\\tCommand.prototype.execute = function() {\\n\\t\\tif(this.params.length \u003C 1) {\\n\\t\\t\\treturn \\\"Missing tiddler filter\\\";\\n\\t\\t}\\n\\t\\tvar self = this,\\n\\t\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\t\\tpath = require(\\\"path\\\"),\\n\\t\\t\\twiki = this.commander.wiki,\\n\\t\\t\\ttiddlerFilter = this.params[0],\\n\\t\\t\\tfilenameFilter = this.params[1] || \\\"[is[tiddler]addsuffix[.html]]\\\",\\n\\t\\t\\ttype = this.params[2] || \\\"text/html\\\",\\n\\t\\t\\ttemplate = this.params[3],\\n\\t\\t\\tvariableList = this.params.slice(4),\\n\\t\\t\\ttiddlers = wiki.filterTiddlers(tiddlerFilter),\\n\\t\\t\\tvariables = Object.create(null);\\n\\t\\t\\twhile(variableList.length >= 2) {\\n\\t\\t\\t\\tvariables[variableList[0]] = variableList[1];\\n\\t\\t\\t\\tvariableList = variableList.slice(2);\\n\\t\\t\\t}\\n\\t\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\t\\tvar filepath = path.resolve(self.commander.outputPath,wiki.filterTiddlers(filenameFilter,$tw.rootWidget,wiki.makeTiddlerIterator([title]))[0]);\\n\\t\\t\\tif(self.commander.verbose) {\\n\\t\\t\\t\\tconsole.log(\\\"Rendering \\\\\\\"\\\" + title + \\\"\\\\\\\" to \\\\\\\"\\\" + filepath + \\\"\\\\\\\"\\\");\\n\\t\\t\\t}\\n\\t\\t\\tvar parser = wiki.parseTiddler(template || title),\\n\\t\\t\\t\\twidgetNode = wiki.makeWidget(parser,{variables: $tw.utils.extend({},variables,{currentTiddler: title,storyTiddler: title})}),\\n\\t\\t\\t\\tcontainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t\\t\\twidgetNode.render(container,null);\\n\\t\\t\\tvar text = type === \\\"text/html\\\" ? container.innerHTML : container.textContent;\\n\\t\\t\\t$tw.utils.createFileDirectories(filepath);\\n\\t\\t\\tfs.writeFileSync(filepath,text,\\\"utf8\\\");\\n\\t\\t});\\n\\t\\treturn null;\\n\\t};\\n\\t\\n\\texports.Command = Command;\\n\\t\\n\\t})();\\n\\t\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/rendertiddler.js\":{\"title\":\"$:/core/modules/commands/rendertiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/rendertiddler.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to render a tiddler and save it to a file\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"rendertiddler\\\",\\n\\tsynchronous: false\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length \u003C 2) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\ttitle = this.params[0],\\n\\t\\tfilename = path.resolve(this.commander.outputPath,this.params[1]),\\n\\t\\ttype = this.params[2] || \\\"text/html\\\",\\n\\t\\ttemplate = this.params[3],\\n\\t\\tname = this.params[4],\\n\\t\\tvalue = this.params[5],\\n\\t\\tvariables = {};\\n\\t$tw.utils.createFileDirectories(filename);\\n\\tif(template) {\\n\\t\\tvariables.currentTiddler = title;\\n\\t\\tvariables.storyTiddler = title;\\n\\t\\ttitle = template;\\n\\t}\\n\\tif(name && value) {\\n\\t\\tvariables[name] = value;\\n\\t}\\n\\tfs.writeFile(filename,this.commander.wiki.renderTiddler(type,title,{variables: variables}),\\\"utf8\\\",function(err) {\\n\\t\\tself.callback(err);\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/rendertiddlers.js\":{\"title\":\"$:/core/modules/commands/rendertiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/rendertiddlers.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to render several tiddlers to a folder of files\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nexports.info = {\\n\\tname: \\\"rendertiddlers\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length \u003C 2) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\twiki = this.commander.wiki,\\n\\t\\tfilter = this.params[0],\\n\\t\\ttemplate = this.params[1],\\n\\t\\toutputPath = this.commander.outputPath,\\n\\t\\tpathname = path.resolve(outputPath,this.params[2]),\\n\\t\\ttype = this.params[3] || \\\"text/html\\\",\\n\\t\\textension = this.params[4] || \\\".html\\\",\\n\\t\\tdeleteDirectory = (this.params[5] || \\\"\\\").toLowerCase() !== \\\"noclean\\\",\\n\\t\\ttiddlers = wiki.filterTiddlers(filter);\\n\\tif(deleteDirectory) {\\n\\t\\t$tw.utils.deleteDirectory(pathname);\\n\\t}\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar parser = wiki.parseTiddler(template),\\n\\t\\t\\twidgetNode = wiki.makeWidget(parser,{variables: {currentTiddler: title, storyTiddler: title}}),\\n\\t\\t\\tcontainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t\\twidgetNode.render(container,null);\\n\\t\\tvar text = type === \\\"text/html\\\" ? container.innerHTML : container.textContent,\\n\\t\\t\\texportPath = null;\\n\\t\\tif($tw.utils.hop($tw.macros,\\\"tv-get-export-path\\\")) {\\n\\t\\t\\tvar macroPath = $tw.macros[\\\"tv-get-export-path\\\"].run.apply(self,[title]);\\n\\t\\t\\tif(macroPath) {\\n\\t\\t\\t\\texportPath = path.resolve(outputPath,macroPath + extension);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tvar finalPath = exportPath || path.resolve(pathname,$tw.utils.encodeURIComponentExtended(title) + extension);\\n\\t\\t$tw.utils.createFileDirectories(finalPath);\\n\\t\\tfs.writeFileSync(finalPath,text,\\\"utf8\\\");\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/save.js\":{\"title\":\"$:/core/modules/commands/save.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/save.js\\ntype: application/javascript\\nmodule-type: command\\n\\nSaves individual tiddlers in their raw text or binary format to the specified files\\n\\n\\\\*/\\n(function(){\\n\\n\\t/*jslint node: true, browser: true */\\n\\t/*global $tw: false */\\n\\t\\\"use strict\\\";\\n\\t\\n\\texports.info = {\\n\\t\\tname: \\\"save\\\",\\n\\t\\tsynchronous: true\\n\\t};\\n\\t\\n\\tvar Command = function(params,commander,callback) {\\n\\t\\tthis.params = params;\\n\\t\\tthis.commander = commander;\\n\\t\\tthis.callback = callback;\\n\\t};\\n\\t\\n\\tCommand.prototype.execute = function() {\\n\\t\\tif(this.params.length \u003C 1) {\\n\\t\\t\\treturn \\\"Missing filename filter\\\";\\n\\t\\t}\\n\\t\\tvar self = this,\\n\\t\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\t\\tpath = require(\\\"path\\\"),\\n\\t\\t\\tresult = null,\\n\\t\\t\\twiki = this.commander.wiki,\\n\\t\\t\\ttiddlerFilter = this.params[0],\\n\\t\\t\\tfilenameFilter = this.params[1] || \\\"[is[tiddler]]\\\",\\n\\t\\t\\ttiddlers = wiki.filterTiddlers(tiddlerFilter);\\n\\t\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\t\\tif(!result) {\\n\\t\\t\\t\\tvar tiddler = self.commander.wiki.getTiddler(title);\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvar fileInfo = $tw.utils.generateTiddlerFileInfo(tiddler,{\\n\\t\\t\\t\\t\\t\\tdirectory: path.resolve(self.commander.outputPath),\\n\\t\\t\\t\\t\\t\\tpathFilters: [filenameFilter],\\n\\t\\t\\t\\t\\t\\twiki: wiki,\\n\\t\\t\\t\\t\\t\\tfileInfo: {}\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\tif(self.commander.verbose) {\\n\\t\\t\\t\\t\\t\\tconsole.log(\\\"Saving \\\\\\\"\\\" + title + \\\"\\\\\\\" to \\\\\\\"\\\" + fileInfo.filepath + \\\"\\\\\\\"\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\t$tw.utils.saveTiddlerToFileSync(tiddler,fileInfo);\\n\\t\\t\\t\\t\\t} catch (err) {\\n\\t\\t\\t\\t\\t\\tresult = \\\"Error saving tiddler \\\\\\\"\\\" + title + \\\"\\\\\\\", to file: \\\\\\\"\\\" + fileInfo.filepath + \\\"\\\\\\\"\\\";\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tresult = \\\"Tiddler '\\\" + title + \\\"' not found\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn result;\\n\\t};\\n\\t\\n\\texports.Command = Command;\\n\\t\\n\\t})();\\n\\t\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/savelibrarytiddlers.js\":{\"title\":\"$:/core/modules/commands/savelibrarytiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/savelibrarytiddlers.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to save the subtiddlers of a bundle tiddler as a series of JSON files\\n\\n--savelibrarytiddlers \u003Ctiddler> \u003Ctiddler-filter> \u003Cpathname> \u003Cskinnylisting>\\n\\nThe tiddler identifies the bundle tiddler that contains the subtiddlers.\\n\\nThe tiddler filter specifies the plugins to be included.\\n\\nThe pathname specifies the pathname to the folder in which the JSON files should be saved. The filename is the URL encoded title of the subtiddler.\\n\\nThe skinnylisting specifies the title of the tiddler to which a JSON catalogue of the subtiddlers will be saved. The JSON file contains the same data as the bundle tiddler but with the `text` field removed.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"savelibrarytiddlers\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length \u003C 2) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\tcontainerTitle = this.params[0],\\n\\t\\tfilter = this.params[1],\\n\\t\\tbasepath = this.params[2],\\n\\t\\tskinnyListTitle = this.params[3];\\n\\t// Get the container tiddler as data\\n\\tvar containerData = self.commander.wiki.getTiddlerDataCached(containerTitle,undefined);\\n\\tif(!containerData) {\\n\\t\\treturn \\\"'\\\" + containerTitle + \\\"' is not a tiddler bundle\\\";\\n\\t}\\n\\t// Filter the list of plugins\\n\\tvar pluginList = [];\\n\\t$tw.utils.each(containerData.tiddlers,function(tiddler,title) {\\n\\t\\tpluginList.push(title);\\n\\t});\\n\\tvar filteredPluginList;\\n\\tif(filter) {\\n\\t\\tfilteredPluginList = self.commander.wiki.filterTiddlers(filter,null,self.commander.wiki.makeTiddlerIterator(pluginList));\\n\\t} else {\\n\\t\\tfilteredPluginList = pluginList;\\n\\t}\\n\\t// Iterate through the plugins\\n\\tvar skinnyList = [];\\n\\t$tw.utils.each(filteredPluginList,function(title) {\\n\\t\\tvar tiddler = containerData.tiddlers[title];\\n\\t\\t// Save each JSON file and collect the skinny data\\n\\t\\tvar pathname = path.resolve(self.commander.outputPath,basepath + $tw.utils.encodeURIComponentExtended(title) + \\\".json\\\");\\n\\t\\t$tw.utils.createFileDirectories(pathname);\\n\\t\\tfs.writeFileSync(pathname,JSON.stringify(tiddler),\\\"utf8\\\");\\n\\t\\t// Collect the skinny list data\\n\\t\\tvar pluginTiddlers = $tw.utils.parseJSONSafe(tiddler.text),\\n\\t\\t\\treadmeContent = (pluginTiddlers.tiddlers[title + \\\"/readme\\\"] || {}).text,\\n\\t\\t\\tdoesRequireReload = !!self.commander.wiki.doesPluginInfoRequireReload(pluginTiddlers),\\n\\t\\t\\ticonTiddler = pluginTiddlers.tiddlers[title + \\\"/icon\\\"] || {},\\n\\t\\t\\ticonType = iconTiddler.type,\\n\\t\\t\\ticonText = iconTiddler.text,\\n\\t\\t\\ticonContent;\\n\\t\\tif(iconType && iconText) {\\n\\t\\t\\ticonContent = $tw.utils.makeDataUri(iconText,iconType);\\n\\t\\t}\\n\\t\\tskinnyList.push($tw.utils.extend({},tiddler,{\\n\\t\\t\\ttext: undefined,\\n\\t\\t\\treadme: readmeContent,\\n\\t\\t\\t\\\"requires-reload\\\": doesRequireReload ? \\\"yes\\\" : \\\"no\\\",\\n\\t\\t\\ticon: iconContent\\n\\t\\t}));\\n\\t});\\n\\t// Save the catalogue tiddler\\n\\tif(skinnyListTitle) {\\n\\t\\tself.commander.wiki.setTiddlerData(skinnyListTitle,skinnyList);\\n\\t}\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/savetiddler.js\":{\"title\":\"$:/core/modules/commands/savetiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/savetiddler.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to save the content of a tiddler to a file\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"savetiddler\\\",\\n\\tsynchronous: false\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length \u003C 2) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\ttitle = this.params[0],\\n\\t\\tfilename = path.resolve(this.commander.outputPath,this.params[1]),\\n\\t\\ttiddler = this.commander.wiki.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\tvar type = tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\",\\n\\t\\t\\tcontentTypeInfo = $tw.config.contentTypeInfo[type] || {encoding: \\\"utf8\\\"};\\n\\t\\t$tw.utils.createFileDirectories(filename);\\n\\t\\tfs.writeFile(filename,tiddler.fields.text,contentTypeInfo.encoding,function(err) {\\n\\t\\t\\tself.callback(err);\\n\\t\\t});\\n\\t} else {\\n\\t\\treturn \\\"Missing tiddler: \\\" + title;\\n\\t}\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/savetiddlers.js\":{\"title\":\"$:/core/modules/commands/savetiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/savetiddlers.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to save several tiddlers to a folder of files\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nexports.info = {\\n\\tname: \\\"savetiddlers\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length \u003C 1) {\\n\\t\\treturn \\\"Missing filename\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\twiki = this.commander.wiki,\\n\\t\\tfilter = this.params[0],\\n\\t\\tpathname = path.resolve(this.commander.outputPath,this.params[1]),\\n\\t\\tdeleteDirectory = (this.params[2] || \\\"\\\").toLowerCase() !== \\\"noclean\\\",\\n\\t\\ttiddlers = wiki.filterTiddlers(filter);\\n\\tif(deleteDirectory) {\\n\\t\\t$tw.utils.deleteDirectory(pathname);\\n\\t}\\n\\t$tw.utils.createDirectory(pathname);\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar tiddler = self.commander.wiki.getTiddler(title),\\n\\t\\t\\ttype = tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\",\\n\\t\\t\\tcontentTypeInfo = $tw.config.contentTypeInfo[type] || {encoding: \\\"utf8\\\"},\\n\\t\\t\\tfilename = path.resolve(pathname,$tw.utils.encodeURIComponentExtended(title));\\n\\t\\tfs.writeFileSync(filename,tiddler.fields.text,contentTypeInfo.encoding);\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/savewikifolder.js\":{\"title\":\"$:/core/modules/commands/savewikifolder.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/savewikifolder.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to save the current wiki as a wiki folder\\n\\n--savewikifolder \u003Cwikifolderpath> [ [\u003Cname>=\u003Cvalue>] ]*\\n\\nThe following options are supported:\\n\\n* ''filter'': a filter expression defining the tiddlers to be included in the output\\n* ''explodePlugins'': set to \\\"no\\\" to suppress exploding plugins into their constituent shadow tiddlers (defaults to \\\"yes\\\")\\n\\nSupports backward compatibility with --savewikifolder \u003Cwikifolderpath> [\u003Cfilter>] [ [\u003Cname>=\u003Cvalue>] ]*\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"savewikifolder\\\",\\n\\tsynchronous: true\\n};\\n\\nvar fs,path;\\nif($tw.node) {\\n\\tfs = require(\\\"fs\\\");\\n\\tpath = require(\\\"path\\\");\\n}\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length \u003C 1) {\\n\\t\\treturn \\\"Missing wiki folder path\\\";\\n\\t}\\n\\tvar regFilter = /^[a-zA-Z0-9\\\\.\\\\-_]+=/g, // dynamic parameters\\n\\t\\tnamedParames,\\n\\t\\ttiddlerFilter,\\n\\t\\toptions = {};\\n\\tif (regFilter.test(this.params[1])) { \\n\\t\\tnamedParames = this.commander.extractNamedParameters(this.params.slice(1));\\n\\t\\ttiddlerFilter = namedParames.filter || \\\"[all[tiddlers]]\\\";\\n\\t} else {\\n\\t\\tnamedParames = this.commander.extractNamedParameters(this.params.slice(2));\\n\\t\\ttiddlerFilter = this.params[1];\\n\\t}\\n\\ttiddlerFilter = tiddlerFilter || \\\"[all[tiddlers]]\\\";\\n\\toptions.explodePlugins = namedParames.explodePlugins || \\\"yes\\\";\\n\\tvar wikifoldermaker = new WikiFolderMaker(this.params[0],tiddlerFilter,this.commander,options);\\n\\treturn wikifoldermaker.save();\\n};\\n\\nfunction WikiFolderMaker(wikiFolderPath,wikiFilter,commander,options) {\\n\\tthis.wikiFolderPath = wikiFolderPath;\\n\\tthis.wikiFilter = wikiFilter;\\n\\tthis.commander = commander;\\n\\tthis.explodePlugins = options.explodePlugins;\\n\\tthis.wiki = commander.wiki;\\n\\tthis.savedPaths = []; // So that we can detect filename clashes\\n}\\n\\nWikiFolderMaker.prototype.log = function(str) {\\n\\tif(this.commander.verbose) {\\n\\t\\tconsole.log(str);\\n\\t}\\n};\\n\\nWikiFolderMaker.prototype.tiddlersToIgnore = [\\n\\t\\\"$:/boot/boot.css\\\",\\n\\t\\\"$:/boot/boot.js\\\",\\n\\t\\\"$:/boot/bootprefix.js\\\",\\n\\t\\\"$:/core\\\",\\n\\t\\\"$:/library/sjcl.js\\\",\\n\\t\\\"$:/temp/info-plugin\\\"\\n];\\n\\n/*\\nReturns null if successful, or an error string if there was an error\\n*/\\nWikiFolderMaker.prototype.save = function() {\\n\\tvar self = this;\\n\\t// Check that the output directory doesn't exist\\n\\tif(fs.existsSync(this.wikiFolderPath) && !$tw.utils.isDirectoryEmpty(this.wikiFolderPath)) {\\n\\t\\treturn \\\"The unpackwiki command requires that the output wiki folder be empty\\\";\\n\\t}\\n\\t// Get the tiddlers from the source wiki\\n\\tvar tiddlerTitles = this.wiki.filterTiddlers(this.wikiFilter);\\n\\t// Initialise a new tiddlwiki.info file\\n\\tvar newWikiInfo = {};\\n\\t// Process each incoming tiddler in turn\\n\\t$tw.utils.each(tiddlerTitles,function(title) {\\n\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tif(self.tiddlersToIgnore.indexOf(title) !== -1) {\\n\\t\\t\\t\\t// Ignore the core plugin and the ephemeral info plugin\\n\\t\\t\\t\\tself.log(\\\"Ignoring tiddler: \\\" + title);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvar type = tiddler.fields.type,\\n\\t\\t\\t\\t\\tpluginType = tiddler.fields[\\\"plugin-type\\\"];\\n\\t\\t\\t\\tif(type === \\\"application/json\\\" && pluginType) {\\n\\t\\t\\t\\t\\t// Plugin tiddler\\n\\t\\t\\t\\t\\tvar libraryDetails = self.findPluginInLibrary(title);\\n\\t\\t\\t\\t\\tif(libraryDetails) {\\n\\t\\t\\t\\t\\t\\t// A plugin from the core library\\n\\t\\t\\t\\t\\t\\tself.log(\\\"Adding built-in plugin: \\\" + libraryDetails.name);\\n\\t\\t\\t\\t\\t\\tnewWikiInfo[libraryDetails.type] = newWikiInfo[libraryDetails.type] || [];\\n\\t\\t\\t\\t\\t\\t$tw.utils.pushTop(newWikiInfo[libraryDetails.type],libraryDetails.name);\\n\\t\\t\\t\\t\\t} else if(self.explodePlugins !== \\\"no\\\") {\\n\\t\\t\\t\\t\\t\\t// A custom plugin\\n\\t\\t\\t\\t\\t\\tself.log(\\\"Processing custom plugin: \\\" + title);\\n\\t\\t\\t\\t\\t\\tself.saveCustomPlugin(tiddler);\\n\\t\\t\\t\\t\\t} else if(self.explodePlugins === \\\"no\\\") {\\n\\t\\t\\t\\t\\t\\tself.log(\\\"Processing custom plugin to tiddlders folder: \\\" + title);\\n\\t\\t\\t\\t\\t\\tself.saveTiddler(\\\"tiddlers\\\", tiddler);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Ordinary tiddler\\n\\t\\t\\t\\t\\tself.saveTiddler(\\\"tiddlers\\\",tiddler);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\t// Save the tiddlywiki.info file\\n\\tthis.saveJSONFile(\\\"tiddlywiki.info\\\",newWikiInfo);\\n\\tself.log(\\\"Writing tiddlywiki.info: \\\" + JSON.stringify(newWikiInfo,null,$tw.config.preferences.jsonSpaces));\\n\\treturn null;\\n};\\n\\n/*\\nTest whether the specified tiddler is a plugin in the plugin library\\n*/\\nWikiFolderMaker.prototype.findPluginInLibrary = function(title) {\\n\\tvar parts = title.split(\\\"/\\\"),\\n\\t\\tpluginPath, type, name;\\n\\tif(parts[0] === \\\"$:\\\") {\\n\\t\\tif(parts[1] === \\\"languages\\\" && parts.length === 3) {\\n\\t\\t\\tpluginPath = \\\"languages\\\" + path.sep + parts[2];\\n\\t\\t\\ttype = parts[1];\\n\\t\\t\\tname = parts[2];\\n\\t\\t} else if(parts[1] === \\\"plugins\\\" || parts[1] === \\\"themes\\\" && parts.length === 4) {\\n\\t\\t\\tpluginPath = parts[1] + path.sep + parts[2] + path.sep + parts[3];\\n\\t\\t\\ttype = parts[1];\\n\\t\\t\\tname = parts[2] + \\\"/\\\" + parts[3];\\n\\t\\t}\\n\\t}\\n\\tif(pluginPath && type && name) {\\n\\t\\tpluginPath = path.resolve($tw.boot.bootPath,\\\"..\\\",pluginPath);\\n\\t\\tif(fs.existsSync(pluginPath)) {\\n\\t\\t\\treturn {\\n\\t\\t\\t\\tpluginPath: pluginPath,\\n\\t\\t\\t\\ttype: type,\\n\\t\\t\\t\\tname: name\\n\\t\\t\\t};\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\nWikiFolderMaker.prototype.saveCustomPlugin = function(pluginTiddler) {\\n\\tvar self = this,\\n\\t\\tpluginTitle = pluginTiddler.fields.title,\\n\\t\\ttitleParts = pluginTitle.split(\\\"/\\\"),\\n\\t\\tdirectory = $tw.utils.generateTiddlerFilepath(titleParts[titleParts.length - 1],{\\n\\t\\t\\tdirectory: path.resolve(this.wikiFolderPath,pluginTiddler.fields[\\\"plugin-type\\\"] + \\\"s\\\")\\n\\t\\t}),\\n\\t\\tpluginInfo = pluginTiddler.getFieldStrings({exclude: [\\\"text\\\",\\\"type\\\"]});\\n\\tthis.saveJSONFile(directory + path.sep + \\\"plugin.info\\\",pluginInfo);\\n\\tself.log(\\\"Writing \\\" + directory + path.sep + \\\"plugin.info: \\\" + JSON.stringify(pluginInfo,null,$tw.config.preferences.jsonSpaces));\\n\\tvar pluginTiddlers = $tw.utils.parseJSONSafe(pluginTiddler.fields.text).tiddlers; // A hashmap of tiddlers in the plugin\\n\\t$tw.utils.each(pluginTiddlers,function(tiddler) {\\n\\t\\tself.saveTiddler(directory,new $tw.Tiddler(tiddler));\\n\\t});\\n};\\n\\nWikiFolderMaker.prototype.saveTiddler = function(directory,tiddler) {\\n\\tvar title = tiddler.fields.title, fileInfo, pathFilters, extFilters;\\n\\tif(this.wiki.tiddlerExists(\\\"$:/config/FileSystemPaths\\\")) {\\n\\t\\tpathFilters = this.wiki.getTiddlerText(\\\"$:/config/FileSystemPaths\\\",\\\"\\\").split(\\\"\\\\n\\\");\\n\\t}\\n\\tif(this.wiki.tiddlerExists(\\\"$:/config/FileSystemExtensions\\\")) {\\n\\t\\textFilters = this.wiki.getTiddlerText(\\\"$:/config/FileSystemExtensions\\\",\\\"\\\").split(\\\"\\\\n\\\");\\n\\t}\\n\\tvar fileInfo = $tw.utils.generateTiddlerFileInfo(tiddler,{\\n\\t\\tdirectory: path.resolve(this.wikiFolderPath,directory),\\n\\t\\tpathFilters: pathFilters,\\n\\t\\textFilters: extFilters,\\n\\t\\twiki: this.wiki,\\n\\t\\tfileInfo: {}\\n\\t});\\n\\ttry {\\n\\t\\t$tw.utils.saveTiddlerToFileSync(tiddler,fileInfo);\\n\\t} catch (err) {\\n\\t\\tconsole.log(\\\"SaveWikiFolder: Error saving file '\\\" + fileInfo.filepath + \\\"', tiddler: '\\\" + tiddler.fields.title);\\n\\t}\\n};\\n\\nWikiFolderMaker.prototype.saveJSONFile = function(filename,json) {\\n\\tthis.saveTextFile(filename,JSON.stringify(json,null,$tw.config.preferences.jsonSpaces));\\n};\\n\\nWikiFolderMaker.prototype.saveTextFile = function(filename,data) {\\n\\tthis.saveFile(filename,\\\"utf8\\\",data);\\n};\\n\\nWikiFolderMaker.prototype.saveFile = function(filename,encoding,data) {\\n\\tvar filepath = path.resolve(this.wikiFolderPath,filename);\\n\\t$tw.utils.createFileDirectories(filepath);\\n\\tfs.writeFileSync(filepath,data,encoding);\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/server.js\":{\"title\":\"$:/core/modules/commands/server.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/server.js\\ntype: application/javascript\\nmodule-type: command\\n\\nDeprecated legacy command for serving tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Server = require(\\\"$:/core/modules/server/server.js\\\").Server;\\n\\nexports.info = {\\n\\tname: \\\"server\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tvar self = this;\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(!$tw.boot.wikiTiddlersPath) {\\n\\t\\t$tw.utils.warning(\\\"Warning: Wiki folder '\\\" + $tw.boot.wikiPath + \\\"' does not exist or is missing a tiddlywiki.info file\\\");\\n\\t}\\n\\t// Set up server\\n\\tthis.server = new Server({\\n\\t\\twiki: this.commander.wiki,\\n\\t\\tvariables: {\\n\\t\\t\\tport: this.params[0],\\n\\t\\t\\thost: this.params[6],\\n\\t\\t\\t\\\"root-tiddler\\\": this.params[1],\\n\\t\\t\\t\\\"root-render-type\\\": this.params[2],\\n\\t\\t\\t\\\"root-serve-type\\\": this.params[3],\\n\\t\\t\\tusername: this.params[4],\\n\\t\\t\\tpassword: this.params[5],\\n\\t\\t\\t\\\"path-prefix\\\": this.params[7],\\n\\t\\t\\t\\\"debug-level\\\": this.params[8]\\n\\t\\t}\\n\\t});\\n\\tvar nodeServer = this.server.listen();\\n\\t$tw.hooks.invokeHook(\\\"th-server-command-post-start\\\",this.server,nodeServer,\\\"tiddlywiki\\\");\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/setfield.js\":{\"title\":\"$:/core/modules/commands/setfield.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/setfield.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to modify selected tiddlers to set a field to the text of a template tiddler that has been wikified with the selected tiddler as the current tiddler.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nexports.info = {\\n\\tname: \\\"setfield\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length \u003C 4) {\\n\\t\\treturn \\\"Missing parameters\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\twiki = this.commander.wiki,\\n\\t\\tfilter = this.params[0],\\n\\t\\tfieldname = this.params[1] || \\\"text\\\",\\n\\t\\ttemplatetitle = this.params[2],\\n\\t\\trendertype = this.params[3] || \\\"text/plain\\\",\\n\\t\\ttiddlers = wiki.filterTiddlers(filter);\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar parser = wiki.parseTiddler(templatetitle),\\n\\t\\t\\tnewFields = {},\\n\\t\\t\\ttiddler = wiki.getTiddler(title);\\n\\t\\tif(parser) {\\n\\t\\t\\tvar widgetNode = wiki.makeWidget(parser,{variables: {currentTiddler: title}});\\n\\t\\t\\tvar container = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t\\t\\twidgetNode.render(container,null);\\n\\t\\t\\tnewFields[fieldname] = rendertype === \\\"text/html\\\" ? container.innerHTML : container.textContent;\\n\\t\\t} else {\\n\\t\\t\\tnewFields[fieldname] = undefined;\\n\\t\\t}\\n\\t\\twiki.addTiddler(new $tw.Tiddler(tiddler,newFields));\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/unpackplugin.js\":{\"title\":\"$:/core/modules/commands/unpackplugin.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/unpackplugin.js\\ntype: application/javascript\\nmodule-type: command\\n\\nCommand to extract the shadow tiddlers from within a plugin\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"unpackplugin\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander,callback) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n\\tthis.callback = callback;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tif(this.params.length \u003C 1) {\\n\\t\\treturn \\\"Missing plugin name\\\";\\n\\t}\\n\\tvar self = this,\\n\\t\\ttitle = this.params[0],\\n\\t\\tpluginData = this.commander.wiki.getTiddlerDataCached(title);\\n\\tif(!pluginData) {\\n\\t\\treturn \\\"Plugin '\\\" + title + \\\"' not found\\\";\\n\\t}\\n\\t$tw.utils.each(pluginData.tiddlers,function(tiddler) {\\n\\t\\tself.commander.wiki.addTiddler(new $tw.Tiddler(tiddler));\\n\\t});\\n\\treturn null;\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/verbose.js\":{\"title\":\"$:/core/modules/commands/verbose.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/verbose.js\\ntype: application/javascript\\nmodule-type: command\\n\\nVerbose command\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"verbose\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tthis.commander.verbose = true;\\n\\t// Output the boot message log\\n\\tthis.commander.streams.output.write(\\\"Boot log:\\\\n \\\" + $tw.boot.logMessages.join(\\\"\\\\n \\\") + \\\"\\\\n\\\");\\n\\treturn null; // No error\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/commands/version.js\":{\"title\":\"$:/core/modules/commands/version.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/commands/version.js\\ntype: application/javascript\\nmodule-type: command\\n\\nVersion command\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.info = {\\n\\tname: \\\"version\\\",\\n\\tsynchronous: true\\n};\\n\\nvar Command = function(params,commander) {\\n\\tthis.params = params;\\n\\tthis.commander = commander;\\n};\\n\\nCommand.prototype.execute = function() {\\n\\tthis.commander.streams.output.write($tw.version + \\\"\\\\n\\\");\\n\\treturn null; // No error\\n};\\n\\nexports.Command = Command;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"command\"},\"$:/core/modules/config.js\":{\"title\":\"$:/core/modules/config.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/config.js\\ntype: application/javascript\\nmodule-type: config\\n\\nCore configuration constants\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.preferences = {};\\n\\nexports.preferences.notificationDuration = 3 * 1000;\\nexports.preferences.jsonSpaces = 4;\\n\\nexports.textPrimitives = {\\n\\tupperLetter: \\\"[A-Z\\\\u00c0-\\\\u00d6\\\\u00d8-\\\\u00de\\\\u0150\\\\u0170]\\\",\\n\\tlowerLetter: \\\"[a-z\\\\u00df-\\\\u00f6\\\\u00f8-\\\\u00ff\\\\u0151\\\\u0171]\\\",\\n\\tanyLetter: \\\"[A-Za-z0-9\\\\u00c0-\\\\u00d6\\\\u00d8-\\\\u00de\\\\u00df-\\\\u00f6\\\\u00f8-\\\\u00ff\\\\u0150\\\\u0170\\\\u0151\\\\u0171]\\\",\\n\\tblockPrefixLetters:\\t\\\"[A-Za-z0-9-_\\\\u00c0-\\\\u00d6\\\\u00d8-\\\\u00de\\\\u00df-\\\\u00f6\\\\u00f8-\\\\u00ff\\\\u0150\\\\u0170\\\\u0151\\\\u0171]\\\"\\n};\\n\\nexports.textPrimitives.unWikiLink = \\\"~\\\";\\nexports.textPrimitives.wikiLink = exports.textPrimitives.upperLetter + \\\"+\\\" +\\n\\texports.textPrimitives.lowerLetter + \\\"+\\\" +\\n\\texports.textPrimitives.upperLetter +\\n\\texports.textPrimitives.anyLetter + \\\"*\\\";\\n\\nexports.htmlEntities = {quot:34, dollar:36, amp:38, apos:39, lt:60, gt:62, nbsp:160, iexcl:161, cent:162, pound:163, curren:164, yen:165, brvbar:166, sect:167, uml:168, copy:169, ordf:170, laquo:171, not:172, shy:173, reg:174, macr:175, deg:176, plusmn:177, sup2:178, sup3:179, acute:180, micro:181, para:182, middot:183, cedil:184, sup1:185, ordm:186, raquo:187, frac14:188, frac12:189, frac34:190, iquest:191, Agrave:192, Aacute:193, Acirc:194, Atilde:195, Auml:196, Aring:197, AElig:198, Ccedil:199, Egrave:200, Eacute:201, Ecirc:202, Euml:203, Igrave:204, Iacute:205, Icirc:206, Iuml:207, ETH:208, Ntilde:209, Ograve:210, Oacute:211, Ocirc:212, Otilde:213, Ouml:214, times:215, Oslash:216, Ugrave:217, Uacute:218, Ucirc:219, Uuml:220, Yacute:221, THORN:222, szlig:223, agrave:224, aacute:225, acirc:226, atilde:227, auml:228, aring:229, aelig:230, ccedil:231, egrave:232, eacute:233, ecirc:234, euml:235, igrave:236, iacute:237, icirc:238, iuml:239, eth:240, ntilde:241, ograve:242, oacute:243, ocirc:244, otilde:245, ouml:246, divide:247, oslash:248, ugrave:249, uacute:250, ucirc:251, uuml:252, yacute:253, thorn:254, yuml:255, OElig:338, oelig:339, Scaron:352, scaron:353, Yuml:376, fnof:402, circ:710, tilde:732, Alpha:913, Beta:914, Gamma:915, Delta:916, Epsilon:917, Zeta:918, Eta:919, Theta:920, Iota:921, Kappa:922, Lambda:923, Mu:924, Nu:925, Xi:926, Omicron:927, Pi:928, Rho:929, Sigma:931, Tau:932, Upsilon:933, Phi:934, Chi:935, Psi:936, Omega:937, alpha:945, beta:946, gamma:947, delta:948, epsilon:949, zeta:950, eta:951, theta:952, iota:953, kappa:954, lambda:955, mu:956, nu:957, xi:958, omicron:959, pi:960, rho:961, sigmaf:962, sigma:963, tau:964, upsilon:965, phi:966, chi:967, psi:968, omega:969, thetasym:977, upsih:978, piv:982, ensp:8194, emsp:8195, thinsp:8201, zwnj:8204, zwj:8205, lrm:8206, rlm:8207, ndash:8211, mdash:8212, lsquo:8216, rsquo:8217, sbquo:8218, ldquo:8220, rdquo:8221, bdquo:8222, dagger:8224, Dagger:8225, bull:8226, hellip:8230, permil:8240, prime:8242, Prime:8243, lsaquo:8249, rsaquo:8250, oline:8254, frasl:8260, euro:8364, image:8465, weierp:8472, real:8476, trade:8482, alefsym:8501, larr:8592, uarr:8593, rarr:8594, darr:8595, harr:8596, crarr:8629, lArr:8656, uArr:8657, rArr:8658, dArr:8659, hArr:8660, forall:8704, part:8706, exist:8707, empty:8709, nabla:8711, isin:8712, notin:8713, ni:8715, prod:8719, sum:8721, minus:8722, lowast:8727, radic:8730, prop:8733, infin:8734, ang:8736, and:8743, or:8744, cap:8745, cup:8746, int:8747, there4:8756, sim:8764, cong:8773, asymp:8776, ne:8800, equiv:8801, le:8804, ge:8805, sub:8834, sup:8835, nsub:8836, sube:8838, supe:8839, oplus:8853, otimes:8855, perp:8869, sdot:8901, lceil:8968, rceil:8969, lfloor:8970, rfloor:8971, lang:9001, rang:9002, loz:9674, spades:9824, clubs:9827, hearts:9829, diams:9830 };\\n\\nexports.htmlVoidElements = \\\"area,base,br,col,command,embed,hr,img,input,keygen,link,meta,param,source,track,wbr\\\".split(\\\",\\\");\\n\\nexports.htmlBlockElements = \\\"address,article,aside,audio,blockquote,canvas,dd,details,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,li,nav,ol,p,pre,section,summary,table,tfoot,ul,video\\\".split(\\\",\\\");\\n\\nexports.htmlUnsafeElements = \\\"script\\\".split(\\\",\\\");\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"config\"},\"$:/core/modules/deserializers.js\":{\"title\":\"$:/core/modules/deserializers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/deserializers.js\\ntype: application/javascript\\nmodule-type: tiddlerdeserializer\\n\\nFunctions to deserialise tiddlers from a block of text\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"application/x-tiddler-html-div\\\"] = function(text,fields) {\\n\\treturn [deserializeTiddlerDiv(text,fields)];\\n};\\n\\nexports[\\\"application/json\\\"] = function(text,fields) {\\n\\tvar results = [],\\n\\t\\tincoming = $tw.utils.parseJSONSafe(text,function(err) {\\n\\t\\t\\treturn [{\\n\\t\\t\\t\\ttitle: \\\"JSON error: \\\" + err,\\n\\t\\t\\t\\ttext: \\\"\\\"\\n\\t\\t\\t}];\\n\\t\\t});\\n\\tif(!$tw.utils.isArray(incoming)) {\\n\\t\\tincoming = [incoming];\\n\\t}\\n\\tfor(var t=0; t\u003Cincoming.length; t++) {\\n\\t\\tvar incomingFields = incoming[t],\\n\\t\\t\\tfields = {};\\n\\t\\tfor(var f in incomingFields) {\\n\\t\\t\\tif(typeof incomingFields[f] === \\\"string\\\") {\\n\\t\\t\\t\\tfields[f] = incomingFields[f];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tresults.push(fields);\\n\\t}\\n\\treturn results;\\n};\\n\\n/*\\nParse an HTML file into tiddlers. There are three possibilities:\\n# A TiddlyWiki classic HTML file containing `text/x-tiddlywiki` tiddlers\\n# A TiddlyWiki5 HTML file containing `text/vnd.tiddlywiki` tiddlers\\n# An ordinary HTML file\\n*/\\nexports[\\\"text/html\\\"] = function(text,fields) {\\n\\tvar results = [];\\n\\t// Check if we've got an old-style store area\\n\\tvar storeAreaMarkerRegExp = /\u003Cdiv id=[\\\"']?storeArea['\\\"]?( style=[\\\"']?display:none;[\\\"']?)?>/gi,\\n\\t\\tstoreAreaMatch = storeAreaMarkerRegExp.exec(text);\\n\\tif(storeAreaMatch) {\\n\\t\\t// If so, we've got tiddlers in classic TiddlyWiki format or unencrypted old-style TW5 format\\n\\t\\tresults.push.apply(results,deserializeStoreArea(text,storeAreaMarkerRegExp.lastIndex,!!storeAreaMatch[1],fields));\\n\\t}\\n\\t// Check for new-style store areas\\n\\tvar newStoreAreaMarkerRegExp = /\u003Cscript class=\\\"tiddlywiki-tiddler-store\\\" type=\\\"([^\\\"]*)\\\">/gi,\\n\\t\\tnewStoreAreaMatch = newStoreAreaMarkerRegExp.exec(text),\\n\\t\\thaveHadNewStoreArea = !!newStoreAreaMatch;\\n\\twhile(newStoreAreaMatch) {\\n\\t\\tresults.push.apply(results,deserializeNewStoreArea(text,newStoreAreaMarkerRegExp.lastIndex,newStoreAreaMatch[1],fields));\\n\\t\\tnewStoreAreaMatch = newStoreAreaMarkerRegExp.exec(text);\\n\\t}\\n\\t// Return if we had either an old-style or a new-style store area\\n\\tif(storeAreaMatch || haveHadNewStoreArea) {\\n\\t\\treturn results;\\n\\t}\\n\\t// Otherwise, check whether we've got an encrypted file\\n\\tvar encryptedStoreArea = $tw.utils.extractEncryptedStoreArea(text);\\n\\tif(encryptedStoreArea) {\\n\\t\\t// If so, attempt to decrypt it using the current password\\n\\t\\treturn $tw.utils.decryptStoreArea(encryptedStoreArea);\\n\\t} else {\\n\\t\\t// It's not a TiddlyWiki so we'll return the entire HTML file as a tiddler\\n\\t\\treturn deserializeHtmlFile(text,fields);\\n\\t}\\n};\\n\\nfunction deserializeHtmlFile(text,fields) {\\n\\tvar result = {};\\n\\t$tw.utils.each(fields,function(value,name) {\\n\\t\\tresult[name] = value;\\n\\t});\\n\\tresult.text = text;\\n\\tresult.type = \\\"text/html\\\";\\n\\treturn [result];\\n}\\n\\nfunction deserializeNewStoreArea(text,storeAreaEnd,type,fields) {\\n\\tvar endOfScriptRegExp = /\u003C\\\\/script>/gi;\\n\\tendOfScriptRegExp.lastIndex = storeAreaEnd;\\n\\tvar match = endOfScriptRegExp.exec(text);\\n\\tif(match) {\\n\\t\\tvar scriptContent = text.substring(storeAreaEnd,match.index);\\n\\t\\treturn $tw.wiki.deserializeTiddlers(type,scriptContent);\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n}\\n\\nfunction deserializeStoreArea(text,storeAreaEnd,isTiddlyWiki5,fields) {\\n\\tvar results = [],\\n\\t\\tendOfDivRegExp = /(\u003C\\\\/div>\\\\s*)/gi,\\n\\t\\tstartPos = storeAreaEnd,\\n\\t\\tdefaultType = isTiddlyWiki5 ? undefined : \\\"text/x-tiddlywiki\\\";\\n\\tendOfDivRegExp.lastIndex = startPos;\\n\\tvar match = endOfDivRegExp.exec(text);\\n\\twhile(match) {\\n\\t\\tvar endPos = endOfDivRegExp.lastIndex,\\n\\t\\t\\ttiddlerFields = deserializeTiddlerDiv(text.substring(startPos,endPos),fields,{type: defaultType});\\n\\t\\tif(!tiddlerFields) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t$tw.utils.each(tiddlerFields,function(value,name) {\\n\\t\\t\\tif(typeof value === \\\"string\\\") {\\n\\t\\t\\t\\ttiddlerFields[name] = $tw.utils.htmlDecode(value);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tif(tiddlerFields.text !== null) {\\n\\t\\t\\tresults.push(tiddlerFields);\\n\\t\\t}\\n\\t\\tstartPos = endPos;\\n\\t\\tmatch = endOfDivRegExp.exec(text);\\n\\t}\\n\\treturn results;\\n}\\n\\n/*\\nUtility function to parse an old-style tiddler DIV in a *.tid file. It looks like this:\\n\\n\u003Cdiv title=\\\"Title\\\" creator=\\\"JoeBloggs\\\" modifier=\\\"JoeBloggs\\\" created=\\\"201102111106\\\" modified=\\\"201102111310\\\" tags=\\\"myTag [[my long tag]]\\\">\\n\u003Cpre>The text of the tiddler (without the expected HTML encoding).\\n\u003C/pre>\\n\u003C/div>\\n\\nNote that the field attributes are HTML encoded, but that the body of the \u003CPRE> tag is not encoded.\\n\\nWhen these tiddler DIVs are encountered within a TiddlyWiki HTML file then the body is encoded in the usual way.\\n*/\\nvar deserializeTiddlerDiv = function(text /* [,fields] */) {\\n\\t// Slot together the default results\\n\\tvar result = {};\\n\\tif(arguments.length > 1) {\\n\\t\\tfor(var f=1; f\u003Carguments.length; f++) {\\n\\t\\t\\tvar fields = arguments[f];\\n\\t\\t\\tfor(var t in fields) {\\n\\t\\t\\t\\tresult[t] = fields[t];\\t\\t\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Parse the DIV body\\n\\tvar startRegExp = /^\\\\s*\u003Cdiv\\\\s+([^>]*)>(\\\\s*\u003Cpre>)?/gi,\\n\\t\\tendRegExp,\\n\\t\\tmatch = startRegExp.exec(text);\\n\\tif(match) {\\n\\t\\t// Old-style DIVs don't have the \u003Cpre> tag\\n\\t\\tif(match[2]) {\\n\\t\\t\\tendRegExp = /\u003C\\\\/pre>\\\\s*\u003C\\\\/div>\\\\s*$/gi;\\n\\t\\t} else {\\n\\t\\t\\tendRegExp = /\u003C\\\\/div>\\\\s*$/gi;\\n\\t\\t}\\n\\t\\tvar endMatch = endRegExp.exec(text);\\n\\t\\tif(endMatch) {\\n\\t\\t\\t// Extract the text\\n\\t\\t\\tresult.text = text.substring(match.index + match[0].length,endMatch.index);\\n\\t\\t\\t// Process the attributes\\n\\t\\t\\tvar attrRegExp = /\\\\s*([^=\\\\s]+)\\\\s*=\\\\s*(?:\\\"([^\\\"]*)\\\"|'([^']*)')/gi,\\n\\t\\t\\t\\tattrMatch;\\n\\t\\t\\tdo {\\n\\t\\t\\t\\tattrMatch = attrRegExp.exec(match[1]);\\n\\t\\t\\t\\tif(attrMatch) {\\n\\t\\t\\t\\t\\tvar name = attrMatch[1];\\n\\t\\t\\t\\t\\tvar value = attrMatch[2] !== undefined ? attrMatch[2] : attrMatch[3];\\n\\t\\t\\t\\t\\tresult[name] = value;\\n\\t\\t\\t\\t}\\n\\t\\t\\t} while(attrMatch);\\n\\t\\t\\treturn result;\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"tiddlerdeserializer\"},\"$:/core/modules/editor/engines/framed.js\":{\"title\":\"$:/core/modules/editor/engines/framed.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/engines/framed.js\\ntype: application/javascript\\nmodule-type: library\\n\\nText editor engine based on a simple input or textarea within an iframe. This is done so that the selection is preserved even when clicking away from the textarea\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true,browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar HEIGHT_VALUE_TITLE = \\\"$:/config/TextEditor/EditorHeight/Height\\\";\\n\\nfunction FramedEngine(options) {\\n\\t// Save our options\\n\\toptions = options || {};\\n\\tthis.widget = options.widget;\\n\\tthis.value = options.value;\\n\\tthis.parentNode = options.parentNode;\\n\\tthis.nextSibling = options.nextSibling;\\n\\t// Create our hidden dummy text area for reading styles\\n\\tthis.dummyTextArea = this.widget.document.createElement(\\\"textarea\\\");\\n\\tif(this.widget.editClass) {\\n\\t\\tthis.dummyTextArea.className = this.widget.editClass;\\n\\t}\\n\\tthis.dummyTextArea.setAttribute(\\\"hidden\\\",\\\"true\\\");\\n\\tthis.parentNode.insertBefore(this.dummyTextArea,this.nextSibling);\\n\\tthis.widget.domNodes.push(this.dummyTextArea);\\n\\t// Create the iframe\\n\\tthis.iframeNode = this.widget.document.createElement(\\\"iframe\\\");\\n\\tthis.parentNode.insertBefore(this.iframeNode,this.nextSibling);\\n\\tthis.iframeDoc = this.iframeNode.contentWindow.document;\\n\\t// (Firefox requires us to put some empty content in the iframe)\\n\\tvar paletteTitle = this.widget.wiki.getTiddlerText(\\\"$:/palette\\\");\\n\\tvar colorScheme = (this.widget.wiki.getTiddler(paletteTitle) || {fields: {}}).fields[\\\"color-scheme\\\"] || \\\"light\\\";\\n\\tthis.iframeDoc.open();\\n\\tthis.iframeDoc.write(\\\"\u003Cmeta name='color-scheme' content='\\\" + colorScheme + \\\"'>\\\");\\n\\tthis.iframeDoc.close();\\n\\t// Style the iframe\\n\\tthis.iframeNode.className = this.dummyTextArea.className;\\n\\tthis.iframeNode.style.border = \\\"none\\\";\\n\\tthis.iframeNode.style.padding = \\\"0\\\";\\n\\tthis.iframeNode.style.resize = \\\"none\\\";\\n\\tthis.iframeDoc.body.style.margin = \\\"0\\\";\\n\\tthis.iframeDoc.body.style.padding = \\\"0\\\";\\n\\tthis.widget.domNodes.push(this.iframeNode);\\n\\t// Construct the textarea or input node\\n\\tvar tag = this.widget.editTag;\\n\\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\\n\\t\\ttag = \\\"input\\\";\\n\\t}\\n\\tthis.domNode = this.iframeDoc.createElement(tag);\\n\\t// Set the text\\n\\tif(this.widget.editTag === \\\"textarea\\\") {\\n\\t\\tthis.domNode.appendChild(this.iframeDoc.createTextNode(this.value));\\n\\t} else {\\n\\t\\tthis.domNode.value = this.value;\\n\\t}\\n\\t// Set the attributes\\n\\tif(this.widget.editType) {\\n\\t\\tthis.domNode.setAttribute(\\\"type\\\",this.widget.editType);\\n\\t}\\n\\tif(this.widget.editPlaceholder) {\\n\\t\\tthis.domNode.setAttribute(\\\"placeholder\\\",this.widget.editPlaceholder);\\n\\t}\\n\\tif(this.widget.editSize) {\\n\\t\\tthis.domNode.setAttribute(\\\"size\\\",this.widget.editSize);\\n\\t}\\n\\tif(this.widget.editRows) {\\n\\t\\tthis.domNode.setAttribute(\\\"rows\\\",this.widget.editRows);\\n\\t}\\n\\tif(this.widget.editTabIndex) {\\n\\t\\tthis.iframeNode.setAttribute(\\\"tabindex\\\",this.widget.editTabIndex);\\n\\t}\\n\\tif(this.widget.editAutoComplete) {\\n\\t\\tthis.domNode.setAttribute(\\\"autocomplete\\\",this.widget.editAutoComplete);\\n\\t}\\n\\tif(this.widget.isDisabled === \\\"yes\\\") {\\n\\t\\tthis.domNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\t// Copy the styles from the dummy textarea\\n\\tthis.copyStyles();\\n\\t// Add event listeners\\n\\t$tw.utils.addEventListeners(this.domNode,[\\n\\t\\t{name: \\\"click\\\",handlerObject: this,handlerMethod: \\\"handleClickEvent\\\"},\\n\\t\\t{name: \\\"input\\\",handlerObject: this,handlerMethod: \\\"handleInputEvent\\\"},\\n\\t\\t{name: \\\"keydown\\\",handlerObject: this,handlerMethod: \\\"handleKeydownEvent\\\"},\\n\\t\\t{name: \\\"focus\\\",handlerObject: this,handlerMethod: \\\"handleFocusEvent\\\"}\\n\\t]);\\n\\t// Add drag and drop event listeners if fileDrop is enabled\\n\\tif(this.widget.isFileDropEnabled) {\\n\\t\\t$tw.utils.addEventListeners(this.domNode,[\\n\\t\\t\\t{name: \\\"dragenter\\\",handlerObject: this.widget,handlerMethod: \\\"handleDragEnterEvent\\\"},\\n\\t\\t\\t{name: \\\"dragover\\\",handlerObject: this.widget,handlerMethod: \\\"handleDragOverEvent\\\"},\\n\\t\\t\\t{name: \\\"dragleave\\\",handlerObject: this.widget,handlerMethod: \\\"handleDragLeaveEvent\\\"},\\n\\t\\t\\t{name: \\\"dragend\\\",handlerObject: this.widget,handlerMethod: \\\"handleDragEndEvent\\\"},\\n\\t\\t\\t{name: \\\"drop\\\", handlerObject: this.widget,handlerMethod: \\\"handleDropEvent\\\"},\\n\\t\\t\\t{name: \\\"paste\\\", handlerObject: this.widget,handlerMethod: \\\"handlePasteEvent\\\"},\\n\\t\\t\\t{name: \\\"click\\\",handlerObject: this.widget,handlerMethod: \\\"handleClickEvent\\\"}\\n\\t\\t]);\\n\\t}\\n\\t// Insert the element into the DOM\\n\\tthis.iframeDoc.body.appendChild(this.domNode);\\n}\\n\\n/*\\nCopy styles from the dummy text area to the textarea in the iframe\\n*/\\nFramedEngine.prototype.copyStyles = function() {\\n\\t// Copy all styles\\n\\t$tw.utils.copyStyles(this.dummyTextArea,this.domNode);\\n\\t// Override the ones that should not be set the same as the dummy textarea\\n\\tthis.domNode.style.display = \\\"block\\\";\\n\\tthis.domNode.style.width = \\\"100%\\\";\\n\\tthis.domNode.style.margin = \\\"0\\\";\\n\\t// In Chrome setting -webkit-text-fill-color overrides the placeholder text colour\\n\\tthis.domNode.style[\\\"-webkit-text-fill-color\\\"] = \\\"currentcolor\\\";\\n\\t// Ensure we don't force text direction to LTR\\n\\tthis.domNode.style.removeProperty(\\\"direction\\\");\\n};\\n\\n/*\\nSet the text of the engine if it doesn't currently have focus\\n*/\\nFramedEngine.prototype.setText = function(text,type) {\\n\\tif(!this.domNode.isTiddlyWikiFakeDom) {\\n\\t\\tif(this.domNode.ownerDocument.activeElement !== this.domNode) {\\n\\t\\t\\tthis.updateDomNodeText(text);\\n\\t\\t}\\n\\t\\t// Fix the height if needed\\n\\t\\tthis.fixHeight();\\n\\t}\\n};\\n\\n/*\\nUpdate the DomNode with the new text\\n*/\\nFramedEngine.prototype.updateDomNodeText = function(text) {\\n\\ttry {\\n\\t\\tthis.domNode.value = text;\\n\\t} catch(e) {\\n\\t\\t// Ignore\\n\\t}\\n};\\n\\n/*\\nGet the text of the engine\\n*/\\nFramedEngine.prototype.getText = function() {\\n\\treturn this.domNode.value;\\n};\\n\\n/*\\nFix the height of textarea to fit content\\n*/\\nFramedEngine.prototype.fixHeight = function() {\\n\\t// Make sure styles are updated\\n\\tthis.copyStyles();\\n\\t// Adjust height\\n\\tif(this.widget.editTag === \\\"textarea\\\") {\\n\\t\\tif(this.widget.editAutoHeight) {\\n\\t\\t\\tif(this.domNode && !this.domNode.isTiddlyWikiFakeDom) {\\n\\t\\t\\t\\tvar newHeight = $tw.utils.resizeTextAreaToFit(this.domNode,this.widget.editMinHeight);\\n\\t\\t\\t\\tthis.iframeNode.style.height = newHeight + \\\"px\\\";\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tvar fixedHeight = parseInt(this.widget.wiki.getTiddlerText(HEIGHT_VALUE_TITLE,\\\"400px\\\"),10);\\n\\t\\t\\tfixedHeight = Math.max(fixedHeight,20);\\n\\t\\t\\tthis.domNode.style.height = fixedHeight + \\\"px\\\";\\n\\t\\t\\tthis.iframeNode.style.height = fixedHeight + \\\"px\\\";\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nFocus the engine node\\n*/\\nFramedEngine.prototype.focus = function() {\\n\\tif(this.domNode.focus) {\\n\\t\\tthis.domNode.focus();\\n\\t}\\n\\tif(this.domNode.select) {\\n\\t\\t$tw.utils.setSelectionByPosition(this.domNode,this.widget.editFocusSelectFromStart,this.widget.editFocusSelectFromEnd);\\n\\t}\\n};\\n\\n/*\\nHandle a focus event\\n*/\\nFramedEngine.prototype.handleFocusEvent = function(event) {\\n\\tif(this.widget.editCancelPopups) {\\n\\t\\t$tw.popup.cancel(0);\\n\\t}\\n};\\n\\n/*\\nHandle a keydown event\\n */\\nFramedEngine.prototype.handleKeydownEvent = function(event) {\\n\\tif ($tw.keyboardManager.handleKeydownEvent(event, {onlyPriority: true})) {\\n\\t\\treturn true;\\n\\t}\\n\\n\\treturn this.widget.handleKeydownEvent(event);\\n};\\n\\n/*\\nHandle a click\\n*/\\nFramedEngine.prototype.handleClickEvent = function(event) {\\n\\tthis.fixHeight();\\n\\treturn true;\\n};\\n\\n/*\\nHandle a dom \\\"input\\\" event which occurs when the text has changed\\n*/\\nFramedEngine.prototype.handleInputEvent = function(event) {\\n\\tthis.widget.saveChanges(this.getText());\\n\\tthis.fixHeight();\\n\\tif(this.widget.editInputActions) {\\n\\t\\tthis.widget.invokeActionString(this.widget.editInputActions,this,event,{actionValue: this.getText()});\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nCreate a blank structure representing a text operation\\n*/\\nFramedEngine.prototype.createTextOperation = function() {\\n\\tvar operation = {\\n\\t\\ttext: this.domNode.value,\\n\\t\\tselStart: this.domNode.selectionStart,\\n\\t\\tselEnd: this.domNode.selectionEnd,\\n\\t\\tcutStart: null,\\n\\t\\tcutEnd: null,\\n\\t\\treplacement: null,\\n\\t\\tnewSelStart: null,\\n\\t\\tnewSelEnd: null\\n\\t};\\n\\toperation.selection = operation.text.substring(operation.selStart,operation.selEnd);\\n\\treturn operation;\\n};\\n\\n/*\\nExecute a text operation\\n*/\\nFramedEngine.prototype.executeTextOperation = function(operation) {\\n\\t// Perform the required changes to the text area and the underlying tiddler\\n\\tvar newText = operation.text;\\n\\tif(operation.replacement !== null) {\\n\\t\\tnewText = operation.text.substring(0,operation.cutStart) + operation.replacement + operation.text.substring(operation.cutEnd);\\n\\t\\t// Attempt to use a execCommand to modify the value of the control\\n\\t\\tif(this.iframeDoc.queryCommandSupported(\\\"insertText\\\") && this.iframeDoc.queryCommandSupported(\\\"delete\\\") && !$tw.browser.isFirefox) {\\n\\t\\t\\tthis.domNode.focus();\\n\\t\\t\\tthis.domNode.setSelectionRange(operation.cutStart,operation.cutEnd);\\n\\t\\t\\tif(operation.replacement === \\\"\\\") {\\n\\t\\t\\t\\tthis.iframeDoc.execCommand(\\\"delete\\\",false,\\\"\\\");\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tthis.iframeDoc.execCommand(\\\"insertText\\\",false,operation.replacement);\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tthis.domNode.value = newText;\\n\\t\\t}\\n\\t\\tthis.domNode.focus();\\n\\t\\tthis.domNode.setSelectionRange(operation.newSelStart,operation.newSelEnd);\\n\\t}\\n\\tthis.domNode.focus();\\n\\treturn newText;\\n};\\n\\nexports.FramedEngine = FramedEngine;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/core/modules/editor/engines/simple.js\":{\"title\":\"$:/core/modules/editor/engines/simple.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/engines/simple.js\\ntype: application/javascript\\nmodule-type: library\\n\\nText editor engine based on a simple input or textarea tag\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar HEIGHT_VALUE_TITLE = \\\"$:/config/TextEditor/EditorHeight/Height\\\";\\n\\nfunction SimpleEngine(options) {\\n\\t// Save our options\\n\\toptions = options || {};\\n\\tthis.widget = options.widget;\\n\\tthis.value = options.value;\\n\\tthis.parentNode = options.parentNode;\\n\\tthis.nextSibling = options.nextSibling;\\n\\t// Construct the textarea or input node\\n\\tvar tag = this.widget.editTag;\\n\\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\\n\\t\\ttag = \\\"input\\\";\\n\\t}\\n\\tthis.domNode = this.widget.document.createElement(tag);\\n\\t// Set the text\\n\\tif(this.widget.editTag === \\\"textarea\\\") {\\n\\t\\tthis.domNode.appendChild(this.widget.document.createTextNode(this.value));\\n\\t} else {\\n\\t\\tthis.domNode.value = this.value;\\n\\t}\\n\\t// Set the attributes\\n\\tif(this.widget.editType) {\\n\\t\\tthis.domNode.setAttribute(\\\"type\\\",this.widget.editType);\\n\\t}\\n\\tif(this.widget.editPlaceholder) {\\n\\t\\tthis.domNode.setAttribute(\\\"placeholder\\\",this.widget.editPlaceholder);\\n\\t}\\n\\tif(this.widget.editSize) {\\n\\t\\tthis.domNode.setAttribute(\\\"size\\\",this.widget.editSize);\\n\\t}\\n\\tif(this.widget.editRows) {\\n\\t\\tthis.domNode.setAttribute(\\\"rows\\\",this.widget.editRows);\\n\\t}\\n\\tif(this.widget.editClass) {\\n\\t\\tthis.domNode.className = this.widget.editClass;\\n\\t}\\n\\tif(this.widget.editTabIndex) {\\n\\t\\tthis.domNode.setAttribute(\\\"tabindex\\\",this.widget.editTabIndex);\\n\\t}\\n\\tif(this.widget.editAutoComplete) {\\n\\t\\tthis.domNode.setAttribute(\\\"autocomplete\\\",this.widget.editAutoComplete);\\n\\t}\\n\\tif(this.widget.isDisabled === \\\"yes\\\") {\\n\\t\\tthis.domNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\t// Add an input event handler\\n\\t$tw.utils.addEventListeners(this.domNode,[\\n\\t\\t{name: \\\"focus\\\", handlerObject: this, handlerMethod: \\\"handleFocusEvent\\\"},\\n\\t\\t{name: \\\"input\\\", handlerObject: this, handlerMethod: \\\"handleInputEvent\\\"}\\n\\t]);\\n\\t// Insert the element into the DOM\\n\\tthis.parentNode.insertBefore(this.domNode,this.nextSibling);\\n\\tthis.widget.domNodes.push(this.domNode);\\n}\\n\\n/*\\nSet the text of the engine if it doesn't currently have focus\\n*/\\nSimpleEngine.prototype.setText = function(text,type) {\\n\\tif(!this.domNode.isTiddlyWikiFakeDom) {\\n\\t\\tif(this.domNode.ownerDocument.activeElement !== this.domNode || text === \\\"\\\") {\\n\\t\\t\\tthis.updateDomNodeText(text);\\n\\t\\t}\\n\\t\\t// Fix the height if needed\\n\\t\\tthis.fixHeight();\\n\\t}\\n};\\n\\n/*\\nUpdate the DomNode with the new text\\n*/\\nSimpleEngine.prototype.updateDomNodeText = function(text) {\\n\\ttry {\\n\\t\\tthis.domNode.value = text;\\n\\t} catch(e) {\\n\\t\\t// Ignore\\n\\t}\\n};\\n\\n/*\\nGet the text of the engine\\n*/\\nSimpleEngine.prototype.getText = function() {\\n\\treturn this.domNode.value;\\n};\\n\\n/*\\nFix the height of textarea to fit content\\n*/\\nSimpleEngine.prototype.fixHeight = function() {\\n\\tif(this.widget.editTag === \\\"textarea\\\") {\\n\\t\\tif(this.widget.editAutoHeight) {\\n\\t\\t\\tif(this.domNode && !this.domNode.isTiddlyWikiFakeDom) {\\n\\t\\t\\t\\t$tw.utils.resizeTextAreaToFit(this.domNode,this.widget.editMinHeight);\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tvar fixedHeight = parseInt(this.widget.wiki.getTiddlerText(HEIGHT_VALUE_TITLE,\\\"400px\\\"),10);\\n\\t\\t\\tfixedHeight = Math.max(fixedHeight,20);\\n\\t\\t\\tthis.domNode.style.height = fixedHeight + \\\"px\\\";\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nFocus the engine node\\n*/\\nSimpleEngine.prototype.focus = function() {\\n\\tif(this.domNode.focus) {\\n\\t\\tthis.domNode.focus();\\n\\t}\\n\\tif(this.domNode.select) {\\n\\t\\t$tw.utils.setSelectionByPosition(this.domNode,this.widget.editFocusSelectFromStart,this.widget.editFocusSelectFromEnd);\\n\\t}\\n};\\n\\n/*\\nHandle a dom \\\"input\\\" event which occurs when the text has changed\\n*/\\nSimpleEngine.prototype.handleInputEvent = function(event) {\\n\\tthis.widget.saveChanges(this.getText());\\n\\tthis.fixHeight();\\n\\tif(this.widget.editInputActions) {\\n\\t\\tthis.widget.invokeActionString(this.widget.editInputActions,this,event,{actionValue: this.getText()});\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nHandle a dom \\\"focus\\\" event\\n*/\\nSimpleEngine.prototype.handleFocusEvent = function(event) {\\n\\tif(this.widget.editCancelPopups) {\\n\\t\\t$tw.popup.cancel(0);\\n\\t}\\n\\tif(this.widget.editFocusPopup) {\\n\\t\\t$tw.popup.triggerPopup({\\n\\t\\t\\tdomNode: this.domNode,\\n\\t\\t\\ttitle: this.widget.editFocusPopup,\\n\\t\\t\\twiki: this.widget.wiki,\\n\\t\\t\\tforce: true\\n\\t\\t});\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nCreate a blank structure representing a text operation\\n*/\\nSimpleEngine.prototype.createTextOperation = function() {\\n\\treturn null;\\n};\\n\\n/*\\nExecute a text operation\\n*/\\nSimpleEngine.prototype.executeTextOperation = function(operation) {\\n};\\n\\nexports.SimpleEngine = SimpleEngine;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/core/modules/editor/factory.js\":{\"title\":\"$:/core/modules/editor/factory.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/factory.js\\ntype: application/javascript\\nmodule-type: library\\n\\nFactory for constructing text editor widgets with specified engines for the toolbar and non-toolbar cases\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar DEFAULT_MIN_TEXT_AREA_HEIGHT = \\\"100px\\\"; // Minimum height of textareas in pixels\\n\\n// Configuration tiddlers\\nvar HEIGHT_MODE_TITLE = \\\"$:/config/TextEditor/EditorHeight/Mode\\\";\\nvar ENABLE_TOOLBAR_TITLE = \\\"$:/config/TextEditor/EnableToolbar\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nfunction editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {\\n\\n\\tvar EditTextWidget = function(parseTreeNode,options) {\\n\\t\\t// Initialise the editor operations if they've not been done already\\n\\t\\tif(!this.editorOperations) {\\n\\t\\t\\tEditTextWidget.prototype.editorOperations = {};\\n\\t\\t\\t$tw.modules.applyMethods(\\\"texteditoroperation\\\",this.editorOperations);\\n\\t\\t}\\n\\t\\tthis.initialise(parseTreeNode,options);\\n\\t};\\n\\n\\t/*\\n\\tInherit from the base widget class\\n\\t*/\\n\\tEditTextWidget.prototype = new Widget();\\n\\n\\t/*\\n\\tRender this widget into the DOM\\n\\t*/\\n\\tEditTextWidget.prototype.render = function(parent,nextSibling) {\\n\\t\\t// Save the parent dom node\\n\\t\\tthis.parentDomNode = parent;\\n\\t\\t// Compute our attributes\\n\\t\\tthis.computeAttributes();\\n\\t\\t// Execute our logic\\n\\t\\tthis.execute();\\n\\t\\t// Create the wrapper for the toolbar and render its content\\n\\t\\tif(this.editShowToolbar) {\\n\\t\\t\\tthis.toolbarNode = this.document.createElement(\\\"div\\\");\\n\\t\\t\\tthis.toolbarNode.className = \\\"tc-editor-toolbar\\\";\\n\\t\\t\\tparent.insertBefore(this.toolbarNode,nextSibling);\\n\\t\\t\\tthis.renderChildren(this.toolbarNode,null);\\n\\t\\t\\tthis.domNodes.push(this.toolbarNode);\\n\\t\\t}\\n\\t\\t// Create our element\\n\\t\\tvar editInfo = this.getEditInfo(),\\n\\t\\t\\tEngine = this.editShowToolbar ? toolbarEngine : nonToolbarEngine;\\n\\t\\tthis.engine = new Engine({\\n\\t\\t\\t\\twidget: this,\\n\\t\\t\\t\\tvalue: editInfo.value,\\n\\t\\t\\t\\ttype: editInfo.type,\\n\\t\\t\\t\\tparentNode: parent,\\n\\t\\t\\t\\tnextSibling: nextSibling\\n\\t\\t\\t});\\n\\t\\t// Call the postRender hook\\n\\t\\tif(this.postRender) {\\n\\t\\t\\tthis.postRender();\\n\\t\\t}\\n\\t\\t// Fix height\\n\\t\\tthis.engine.fixHeight();\\n\\t\\t// Focus if required\\n\\t\\tif(this.editFocus === \\\"true\\\" || this.editFocus === \\\"yes\\\") {\\n\\t\\t\\tthis.engine.focus();\\n\\t\\t}\\n\\t\\t// Add widget message listeners\\n\\t\\tthis.addEventListeners([\\n\\t\\t\\t{type: \\\"tm-edit-text-operation\\\", handler: \\\"handleEditTextOperationMessage\\\"}\\n\\t\\t]);\\n\\t};\\n\\n\\t/*\\n\\tGet the tiddler being edited and current value\\n\\t*/\\n\\tEditTextWidget.prototype.getEditInfo = function() {\\n\\t\\t// Get the edit value\\n\\t\\tvar self = this,\\n\\t\\t\\tvalue,\\n\\t\\t\\ttype = \\\"text/plain\\\",\\n\\t\\t\\tupdate;\\n\\t\\tif(this.editIndex) {\\n\\t\\t\\tvalue = this.wiki.extractTiddlerDataItem(this.editTitle,this.editIndex,this.editDefault);\\n\\t\\t\\tupdate = function(value) {\\n\\t\\t\\t\\tvar data = self.wiki.getTiddlerData(self.editTitle,{});\\n\\t\\t\\t\\tif(data[self.editIndex] !== value) {\\n\\t\\t\\t\\t\\tdata[self.editIndex] = value;\\n\\t\\t\\t\\t\\tself.wiki.setTiddlerData(self.editTitle,data);\\n\\t\\t\\t\\t}\\n\\t\\t\\t};\\n\\t\\t} else {\\n\\t\\t\\t// Get the current tiddler and the field name\\n\\t\\t\\tvar tiddler = this.wiki.getTiddler(this.editTitle);\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t// If we've got a tiddler, the value to display is the field string value\\n\\t\\t\\t\\tif(tiddler.hasField(this.editField)) {\\n\\t\\t\\t\\t\\tvalue = tiddler.getFieldString(this.editField);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tvalue = this.editDefault || \\\"\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(this.editField === \\\"text\\\") {\\n\\t\\t\\t\\t\\ttype = tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Otherwise, we need to construct a default value for the editor\\n\\t\\t\\t\\tswitch(this.editField) {\\n\\t\\t\\t\\t\\tcase \\\"text\\\":\\n\\t\\t\\t\\t\\t\\tvalue = \\\"\\\";\\n\\t\\t\\t\\t\\t\\ttype = \\\"text/vnd.tiddlywiki\\\";\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tcase \\\"title\\\":\\n\\t\\t\\t\\t\\t\\tvalue = this.editTitle;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tdefault:\\n\\t\\t\\t\\t\\t\\tvalue = \\\"\\\";\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(this.editDefault !== undefined) {\\n\\t\\t\\t\\t\\tvalue = this.editDefault;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tupdate = function(value) {\\n\\t\\t\\t\\tvar tiddler = self.wiki.getTiddler(self.editTitle),\\n\\t\\t\\t\\t\\tupdateFields = {\\n\\t\\t\\t\\t\\t\\ttitle: self.editTitle\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\tupdateFields[self.editField] = value;\\n\\t\\t\\t\\tself.wiki.addTiddler(new $tw.Tiddler(self.wiki.getCreationFields(),tiddler,updateFields,self.wiki.getModificationFields()));\\n\\t\\t\\t};\\n\\t\\t}\\n\\t\\tif(this.editType) {\\n\\t\\t\\ttype = this.editType;\\n\\t\\t}\\n\\t\\treturn {value: value || \\\"\\\", type: type, update: update};\\n\\t};\\n\\n\\t/*\\n\\tHandle an edit text operation message from the toolbar\\n\\t*/\\n\\tEditTextWidget.prototype.handleEditTextOperationMessage = function(event) {\\n\\t\\t// Prepare information about the operation\\n\\t\\tvar operation = this.engine.createTextOperation();\\n\\t\\t// Invoke the handler for the selected operation\\n\\t\\tvar handler = this.editorOperations[event.param];\\n\\t\\tif(handler) {\\n\\t\\t\\thandler.call(this,event,operation);\\n\\t\\t}\\n\\t\\t// Execute the operation via the engine\\n\\t\\tvar newText = this.engine.executeTextOperation(operation);\\n\\t\\t// Fix the tiddler height and save changes\\n\\t\\tthis.engine.fixHeight();\\n\\t\\tthis.saveChanges(newText);\\n\\t};\\n\\n\\t/*\\n\\tCompute the internal state of the widget\\n\\t*/\\n\\tEditTextWidget.prototype.execute = function() {\\n\\t\\t// Get our parameters\\n\\t\\tthis.editTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t\\tthis.editField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\t\\tthis.editIndex = this.getAttribute(\\\"index\\\");\\n\\t\\tthis.editDefault = this.getAttribute(\\\"default\\\");\\n\\t\\tthis.editClass = this.getAttribute(\\\"class\\\");\\n\\t\\tthis.editPlaceholder = this.getAttribute(\\\"placeholder\\\");\\n\\t\\tthis.editSize = this.getAttribute(\\\"size\\\");\\n\\t\\tthis.editRows = this.getAttribute(\\\"rows\\\");\\n\\t\\tthis.editAutoHeight = this.wiki.getTiddlerText(HEIGHT_MODE_TITLE,\\\"auto\\\");\\n\\t\\tthis.editAutoHeight = this.getAttribute(\\\"autoHeight\\\",this.editAutoHeight === \\\"auto\\\" ? \\\"yes\\\" : \\\"no\\\") === \\\"yes\\\";\\n\\t\\tthis.editMinHeight = this.getAttribute(\\\"minHeight\\\",DEFAULT_MIN_TEXT_AREA_HEIGHT);\\n\\t\\tthis.editFocusPopup = this.getAttribute(\\\"focusPopup\\\");\\n\\t\\tthis.editFocus = this.getAttribute(\\\"focus\\\");\\n\\t\\tthis.editFocusSelectFromStart = $tw.utils.parseNumber(this.getAttribute(\\\"focusSelectFromStart\\\",\\\"0\\\"));\\n\\t\\tthis.editFocusSelectFromEnd = $tw.utils.parseNumber(this.getAttribute(\\\"focusSelectFromEnd\\\",\\\"0\\\"));\\n\\t\\tthis.editTabIndex = this.getAttribute(\\\"tabindex\\\");\\n\\t\\tthis.editCancelPopups = this.getAttribute(\\\"cancelPopups\\\",\\\"\\\") === \\\"yes\\\";\\n\\t\\tthis.editInputActions = this.getAttribute(\\\"inputActions\\\");\\n\\t\\tthis.editRefreshTitle = this.getAttribute(\\\"refreshTitle\\\");\\n\\t\\tthis.editAutoComplete = this.getAttribute(\\\"autocomplete\\\");\\n\\t\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\",\\\"no\\\");\\n\\t\\tthis.isFileDropEnabled = this.getAttribute(\\\"fileDrop\\\",\\\"no\\\") === \\\"yes\\\";\\n\\t\\t// Get the default editor element tag and type\\n\\t\\tvar tag,type;\\n\\t\\tif(this.editField === \\\"text\\\") {\\n\\t\\t\\ttag = \\\"textarea\\\";\\n\\t\\t} else {\\n\\t\\t\\ttag = \\\"input\\\";\\n\\t\\t\\tvar fieldModule = $tw.Tiddler.fieldModules[this.editField];\\n\\t\\t\\tif(fieldModule && fieldModule.editTag) {\\n\\t\\t\\t\\ttag = fieldModule.editTag;\\n\\t\\t\\t}\\n\\t\\t\\tif(fieldModule && fieldModule.editType) {\\n\\t\\t\\t\\ttype = fieldModule.editType;\\n\\t\\t\\t}\\n\\t\\t\\ttype = type || \\\"text\\\";\\n\\t\\t}\\n\\t\\t// Get the rest of our parameters\\n\\t\\tthis.editTag = this.getAttribute(\\\"tag\\\",tag) || \\\"input\\\";\\n\\t\\tthis.editType = this.getAttribute(\\\"type\\\",type);\\n\\t\\t// Make the child widgets\\n\\t\\tthis.makeChildWidgets();\\n\\t\\t// Determine whether to show the toolbar\\n\\t\\tthis.editShowToolbar = this.wiki.getTiddlerText(ENABLE_TOOLBAR_TITLE,\\\"yes\\\");\\n\\t\\tthis.editShowToolbar = (this.editShowToolbar === \\\"yes\\\") && !!(this.children && this.children.length > 0) && (!this.document.isTiddlyWikiFakeDom);\\n\\t};\\n\\n\\t/*\\n\\tSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n\\t*/\\n\\tEditTextWidget.prototype.refresh = function(changedTiddlers) {\\n\\t\\tvar changedAttributes = this.computeAttributes();\\n\\t\\t// Completely rerender if any of our attributes have changed\\n\\t\\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes[\\\"default\\\"] || changedAttributes[\\\"class\\\"] || changedAttributes.placeholder || changedAttributes.size || changedAttributes.autoHeight || changedAttributes.minHeight || changedAttributes.focusPopup || changedAttributes.rows || changedAttributes.tabindex || changedAttributes.cancelPopups || changedAttributes.inputActions || changedAttributes.refreshTitle || changedAttributes.autocomplete || changedTiddlers[HEIGHT_MODE_TITLE] || changedTiddlers[ENABLE_TOOLBAR_TITLE] || changedTiddlers[\\\"$:/palette\\\"] || changedAttributes.disabled || changedAttributes.fileDrop) {\\n\\t\\t\\tthis.refreshSelf();\\n\\t\\t\\treturn true;\\n\\t\\t} else if (changedTiddlers[this.editRefreshTitle]) {\\n\\t\\t\\tthis.engine.updateDomNodeText(this.getEditInfo().value);\\n\\t\\t} else if(changedTiddlers[this.editTitle]) {\\n\\t\\t\\tvar editInfo = this.getEditInfo();\\n\\t\\t\\tthis.updateEditor(editInfo.value,editInfo.type);\\n\\t\\t}\\n\\t\\tthis.engine.fixHeight();\\n\\t\\tif(this.editShowToolbar) {\\n\\t\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t\\t} else {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t};\\n\\n\\t/*\\n\\tUpdate the editor with new text. This method is separate from updateEditorDomNode()\\n\\tso that subclasses can override updateEditor() and still use updateEditorDomNode()\\n\\t*/\\n\\tEditTextWidget.prototype.updateEditor = function(text,type) {\\n\\t\\tthis.updateEditorDomNode(text,type);\\n\\t};\\n\\n\\t/*\\n\\tUpdate the editor dom node with new text\\n\\t*/\\n\\tEditTextWidget.prototype.updateEditorDomNode = function(text,type) {\\n\\t\\tthis.engine.setText(text,type);\\n\\t};\\n\\n\\t/*\\n\\tSave changes back to the tiddler store\\n\\t*/\\n\\tEditTextWidget.prototype.saveChanges = function(text) {\\n\\t\\tvar editInfo = this.getEditInfo();\\n\\t\\tif(text !== editInfo.value) {\\n\\t\\t\\teditInfo.update(text);\\n\\t\\t}\\n\\t};\\n\\n\\t/*\\n\\tHandle a dom \\\"keydown\\\" event, which we'll bubble up to our container for the keyboard widgets benefit\\n\\t*/\\n\\tEditTextWidget.prototype.handleKeydownEvent = function(event) {\\n\\t\\t// Check for a keyboard shortcut\\n\\t\\tif(this.toolbarNode) {\\n\\t\\t\\tvar shortcutElements = this.toolbarNode.querySelectorAll(\\\"[data-tw-keyboard-shortcut]\\\");\\n\\t\\t\\tfor(var index=0; index\u003CshortcutElements.length; index++) {\\n\\t\\t\\t\\tvar el = shortcutElements[index],\\n\\t\\t\\t\\t\\tshortcutData = el.getAttribute(\\\"data-tw-keyboard-shortcut\\\"),\\n\\t\\t\\t\\t\\tkeyInfoArray = $tw.keyboardManager.parseKeyDescriptors(shortcutData,{\\n\\t\\t\\t\\t\\t\\twiki: this.wiki\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\tif($tw.keyboardManager.checkKeyDescriptors(event,keyInfoArray)) {\\n\\t\\t\\t\\t\\tvar clickEvent = this.document.createEvent(\\\"Events\\\");\\n\\t\\t\\t\\t clickEvent.initEvent(\\\"click\\\",true,false);\\n\\t\\t\\t\\t el.dispatchEvent(clickEvent);\\n\\t\\t\\t\\t\\tevent.preventDefault();\\n\\t\\t\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Propogate the event to the container\\n\\t\\tif(this.propogateKeydownEvent(event)) {\\n\\t\\t\\t// Ignore the keydown if it was already handled\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t\\t// Otherwise, process the keydown normally\\n\\t\\treturn false;\\n\\t};\\n\\n\\t/*\\n\\tPropogate keydown events to our container for the keyboard widgets benefit\\n\\t*/\\n\\tEditTextWidget.prototype.propogateKeydownEvent = function(event) {\\n\\t\\tvar newEvent = this.cloneEvent(event,[\\\"keyCode\\\",\\\"code\\\",\\\"which\\\",\\\"key\\\",\\\"metaKey\\\",\\\"ctrlKey\\\",\\\"altKey\\\",\\\"shiftKey\\\"]);\\n\\t\\treturn !this.parentDomNode.dispatchEvent(newEvent);\\n\\t};\\n\\n\\tEditTextWidget.prototype.cloneEvent = function(event,propertiesToCopy) {\\n\\t\\tvar propertiesToCopy = propertiesToCopy || [],\\n\\t\\t\\tnewEvent = this.document.createEventObject ? this.document.createEventObject() : this.document.createEvent(\\\"Events\\\");\\n\\t\\tif(newEvent.initEvent) {\\n\\t\\t\\tnewEvent.initEvent(event.type, true, true);\\n\\t\\t}\\n\\t\\t$tw.utils.each(propertiesToCopy,function(prop){\\n\\t\\t\\tnewEvent[prop] = event[prop];\\n\\t\\t});\\n\\t\\treturn newEvent;\\n\\t};\\n\\n\\tEditTextWidget.prototype.dispatchDOMEvent = function(newEvent) {\\n\\t\\tvar dispatchNode = this.engine.iframeNode || this.engine.parentNode;\\n\\t\\treturn dispatchNode.dispatchEvent(newEvent);\\n\\t};\\n\\n\\t/*\\n\\tPropogate drag and drop events with File data to our container for the dropzone widgets benefit.\\n\\tIf there are no Files, let the browser handle it.\\n\\t*/\\n\\tEditTextWidget.prototype.handleDropEvent = function(event) {\\n\\t\\tif($tw.utils.dragEventContainsFiles(event)) {\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\tthis.dispatchDOMEvent(this.cloneEvent(event,[\\\"dataTransfer\\\"]));\\n\\t\\t} \\n\\t};\\n\\n\\tEditTextWidget.prototype.handlePasteEvent = function(event) {\\n\\t\\tif(event.clipboardData && event.clipboardData.files && event.clipboardData.files.length) {\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\tthis.dispatchDOMEvent(this.cloneEvent(event,[\\\"clipboardData\\\"]));\\n\\t\\t}\\n\\t};\\n\\n\\tEditTextWidget.prototype.handleDragEnterEvent = function(event) {\\n\\t\\tif($tw.utils.dragEventContainsFiles(event)) {\\n\\t\\t\\t// Ignore excessive events fired by FF when entering and leaving text nodes in a text area.\\n\\t\\t\\tif( event.relatedTarget && (event.relatedTarget.nodeType === 3 || event.target === event.relatedTarget)) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\treturn this.dispatchDOMEvent(this.cloneEvent(event,[\\\"dataTransfer\\\"]));\\n\\t\\t}\\n\\t\\treturn true;\\n\\t};\\n\\n\\tEditTextWidget.prototype.handleDragOverEvent = function(event) {\\n\\t\\tif($tw.utils.dragEventContainsFiles(event)) {\\n\\t\\t\\t// Call preventDefault() in browsers that default to not allowing drop events on textarea\\n\\t\\t\\tif($tw.browser.isFirefox || $tw.browser.isIE) {\\n\\t\\t\\t\\tevent.preventDefault();\\n\\t\\t\\t}\\n\\t\\t\\tevent.dataTransfer.dropEffect = \\\"copy\\\";\\n\\t\\t\\treturn this.dispatchDOMEvent(this.cloneEvent(event,[\\\"dataTransfer\\\"]));\\n\\t\\t}\\n\\t\\treturn true;\\n\\t};\\n\\n\\tEditTextWidget.prototype.handleDragLeaveEvent = function(event) {\\n\\t\\t// Ignore excessive events fired by FF when entering and leaving text nodes in a text area.\\n\\t\\tif(event.relatedTarget && ((event.relatedTarget.nodeType === 3) || (event.target === event.relatedTarget))) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t\\tevent.preventDefault();\\n\\t\\tthis.dispatchDOMEvent(this.cloneEvent(event,[\\\"dataTransfer\\\"]));\\n\\t};\\n\\n\\tEditTextWidget.prototype.handleDragEndEvent = function(event) {\\n\\t\\tthis.dispatchDOMEvent(this.cloneEvent(event));\\n\\t};\\n\\n\\tEditTextWidget.prototype.handleClickEvent = function(event) {\\n\\t\\treturn !this.dispatchDOMEvent(this.cloneEvent(event));\\n\\t};\\n\\n\\treturn EditTextWidget;\\n}\\n\\nexports.editTextWidgetFactory = editTextWidgetFactory;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/core/modules/editor/operations/bitmap/clear.js\":{\"title\":\"$:/core/modules/editor/operations/bitmap/clear.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/bitmap/clear.js\\ntype: application/javascript\\nmodule-type: bitmapeditoroperation\\n\\nBitmap editor operation to clear the image\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"clear\\\"] = function(event) {\\n\\tvar ctx = this.canvasDomNode.getContext(\\\"2d\\\");\\n\\tctx.globalAlpha = 1;\\n\\tctx.fillStyle = event.paramObject.colour || \\\"white\\\";\\n\\tctx.fillRect(0,0,this.canvasDomNode.width,this.canvasDomNode.height);\\n\\t// Save changes\\n\\tthis.strokeEnd();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"bitmapeditoroperation\"},\"$:/core/modules/editor/operations/bitmap/resize.js\":{\"title\":\"$:/core/modules/editor/operations/bitmap/resize.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/bitmap/resize.js\\ntype: application/javascript\\nmodule-type: bitmapeditoroperation\\n\\nBitmap editor operation to resize the image\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"resize\\\"] = function(event) {\\n\\t// Get the new width\\n\\tvar newWidth = parseInt(event.paramObject.width || this.canvasDomNode.width,10),\\n\\t\\tnewHeight = parseInt(event.paramObject.height || this.canvasDomNode.height,10);\\n\\t// Update if necessary\\n\\tif(newWidth > 0 && newHeight > 0 && !(newWidth === this.currCanvas.width && newHeight === this.currCanvas.height)) {\\n\\t\\tthis.changeCanvasSize(newWidth,newHeight);\\n\\t}\\n\\t// Update the input controls\\n\\tthis.refreshToolbar();\\n\\t// Save the image into the tiddler\\n\\tthis.saveChanges();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"bitmapeditoroperation\"},\"$:/core/modules/editor/operations/bitmap/rotate-left.js\":{\"title\":\"$:/core/modules/editor/operations/bitmap/rotate-left.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/bitmap/rotate-left.js\\ntype: application/javascript\\nmodule-type: bitmapeditoroperation\\n\\nBitmap editor operation to rotate the image left by 90 degrees\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"rotate-left\\\"] = function(event) {\\n\\t// Rotate the canvas left by 90 degrees\\n\\tthis.rotateCanvasLeft();\\n\\t// Update the input controls\\n\\tthis.refreshToolbar();\\n\\t// Save the image into the tiddler\\n\\tthis.saveChanges();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"bitmapeditoroperation\"},\"$:/core/modules/editor/operations/text/excise.js\":{\"title\":\"$:/core/modules/editor/operations/text/excise.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/excise.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to excise the selection to a new tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"excise\\\"] = function(event,operation) {\\n\\tvar editTiddler = this.wiki.getTiddler(this.editTitle),\\n\\t\\teditTiddlerTitle = this.editTitle;\\n\\tif(editTiddler && editTiddler.fields[\\\"draft.of\\\"]) {\\n\\t\\teditTiddlerTitle = editTiddler.fields[\\\"draft.of\\\"];\\n\\t}\\n\\tvar excisionTitle = event.paramObject.title || this.wiki.generateNewTitle(\\\"New Excision\\\");\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(\\n\\t\\tthis.wiki.getCreationFields(),\\n\\t\\tthis.wiki.getModificationFields(),\\n\\t\\t{\\n\\t\\t\\ttitle: excisionTitle,\\n\\t\\t\\ttext: operation.selection,\\n\\t\\t\\ttags: event.paramObject.tagnew === \\\"yes\\\" ? [editTiddlerTitle] : []\\n\\t\\t}\\n\\t));\\n\\toperation.replacement = excisionTitle;\\n\\tswitch(event.paramObject.type || \\\"transclude\\\") {\\n\\t\\tcase \\\"transclude\\\":\\n\\t\\t\\toperation.replacement = \\\"{{\\\" + operation.replacement+ \\\"}}\\\";\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"link\\\":\\n\\t\\t\\toperation.replacement = \\\"[[\\\" + operation.replacement+ \\\"]]\\\";\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"macro\\\":\\n\\t\\t\\toperation.replacement = \\\"\u003C\u003C\\\" + (event.paramObject.macro || \\\"translink\\\") + \\\" \\\\\\\"\\\\\\\"\\\\\\\"\\\" + operation.replacement + \\\"\\\\\\\"\\\\\\\"\\\\\\\">>\\\";\\n\\t\\t\\tbreak;\\n\\t}\\n\\toperation.cutStart = operation.selStart;\\n\\toperation.cutEnd = operation.selEnd;\\n\\toperation.newSelStart = operation.selStart;\\n\\toperation.newSelEnd = operation.selStart + operation.replacement.length;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/focus-editor.js\":{\"title\":\"$:/core/modules/editor/operations/text/focus-editor.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/focus-editor.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\nSimply focus the Text editor\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"focus-editor\\\"] = function(event,operation) {\\n\\toperation = null;\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/insert-text.js\":{\"title\":\"$:/core/modules/editor/operations/text/insert-text.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/insert-text.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation insert text at the caret position. If there is a selection it is replaced.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"insert-text\\\"] = function(event,operation) {\\n\\toperation.replacement = event.paramObject.text;\\n\\toperation.cutStart = operation.selStart;\\n\\toperation.cutEnd = operation.selEnd;\\n\\toperation.newSelStart = operation.selStart + operation.replacement.length;\\n\\toperation.newSelEnd = operation.newSelStart;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/make-link.js\":{\"title\":\"$:/core/modules/editor/operations/text/make-link.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/make-link.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to make a link\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"make-link\\\"] = function(event,operation) {\\n\\tif(operation.selection) {\\n\\t\\toperation.replacement = \\\"[[\\\" + operation.selection + \\\"|\\\" + event.paramObject.text + \\\"]]\\\";\\n\\t\\toperation.cutStart = operation.selStart;\\n\\t\\toperation.cutEnd = operation.selEnd;\\n\\t} else {\\n\\t\\toperation.replacement = \\\"[[\\\" + event.paramObject.text + \\\"]]\\\";\\n\\t\\toperation.cutStart = operation.selStart;\\n\\t\\toperation.cutEnd = operation.selEnd;\\n\\t}\\n\\toperation.newSelStart = operation.selStart + operation.replacement.length;\\n\\toperation.newSelEnd = operation.newSelStart;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/prefix-lines.js\":{\"title\":\"$:/core/modules/editor/operations/text/prefix-lines.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/prefix-lines.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to add a prefix to the selected lines\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"prefix-lines\\\"] = function(event,operation) {\\n\\tvar targetCount = parseInt(event.paramObject.count + \\\"\\\",10);\\n\\t// Cut just past the preceding line break, or the start of the text\\n\\toperation.cutStart = $tw.utils.findPrecedingLineBreak(operation.text,operation.selStart);\\n\\t// Cut to just past the following line break, or to the end of the text\\n\\toperation.cutEnd = $tw.utils.findFollowingLineBreak(operation.text,operation.selEnd);\\n\\t// Compose the required prefix\\n\\tvar prefix = $tw.utils.repeat(event.paramObject.character,targetCount);\\n\\t// Process each line\\n\\tvar lines = operation.text.substring(operation.cutStart,operation.cutEnd).split(/\\\\r?\\\\n/mg);\\n\\t$tw.utils.each(lines,function(line,index) {\\n\\t\\t// Remove and count any existing prefix characters\\n\\t\\tvar count = 0;\\n\\t\\twhile($tw.utils.startsWith(line,event.paramObject.character)) {\\n\\t\\t\\tline = line.substring(event.paramObject.character.length);\\n\\t\\t\\tcount++;\\n\\t\\t}\\n\\t\\t// Remove any whitespace\\n\\t\\twhile(line.charAt(0) === \\\" \\\") {\\n\\t\\t\\tline = line.substring(1);\\n\\t\\t}\\n\\t\\t// We're done if we removed the exact required prefix, otherwise add it\\n\\t\\tif(count !== targetCount) {\\n\\t\\t\\t// Apply the prefix\\n\\t\\t\\tline = prefix + \\\" \\\" + line;\\n\\t\\t}\\n\\t\\t// Save the modified line\\n\\t\\tlines[index] = line;\\n\\t});\\n\\t// Stitch the replacement text together and set the selection\\n\\toperation.replacement = lines.join(\\\"\\\\n\\\");\\n\\tif(lines.length === 1) {\\n\\t\\toperation.newSelStart = operation.cutStart + operation.replacement.length;\\n\\t\\toperation.newSelEnd = operation.newSelStart;\\n\\t} else {\\n\\t\\toperation.newSelStart = operation.cutStart;\\n\\t\\toperation.newSelEnd = operation.newSelStart + operation.replacement.length;\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/replace-all.js\":{\"title\":\"$:/core/modules/editor/operations/text/replace-all.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/replace-all.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to replace the entire text\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"replace-all\\\"] = function(event,operation) {\\n\\toperation.cutStart = 0;\\n\\toperation.cutEnd = operation.text.length;\\n\\toperation.replacement = event.paramObject.text;\\n\\toperation.newSelStart = 0;\\n\\toperation.newSelEnd = operation.replacement.length;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/replace-selection.js\":{\"title\":\"$:/core/modules/editor/operations/text/replace-selection.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/replace-selection.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to replace the selection\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"replace-selection\\\"] = function(event,operation) {\\n\\toperation.replacement = event.paramObject.text;\\n\\toperation.cutStart = operation.selStart;\\n\\toperation.cutEnd = operation.selEnd;\\n\\toperation.newSelStart = operation.selStart;\\n\\toperation.newSelEnd = operation.selStart + operation.replacement.length;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/save-selection.js\":{\"title\":\"$:/core/modules/editor/operations/text/save-selection.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/save-selection.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to save the current selection in a specified tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"save-selection\\\"] = function(event,operation) {\\n\\tvar tiddler = event.paramObject.tiddler,\\n\\t\\tfield = event.paramObject.field || \\\"text\\\";\\n\\tif(tiddler && field) {\\n\\t\\tthis.wiki.setText(tiddler,field,null,operation.text.substring(operation.selStart,operation.selEnd));\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/wrap-lines.js\":{\"title\":\"$:/core/modules/editor/operations/text/wrap-lines.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/wrap-lines.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to wrap the selected lines with a prefix and suffix\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"wrap-lines\\\"] = function(event,operation) {\\n\\tvar prefix = event.paramObject.prefix || \\\"\\\",\\n\\t\\tsuffix = event.paramObject.suffix || \\\"\\\";\\n\\tif($tw.utils.endsWith(operation.text.substring(0,operation.selStart), prefix + \\\"\\\\n\\\") &&\\n\\t\\t\\t$tw.utils.startsWith(operation.text.substring(operation.selEnd), \\\"\\\\n\\\" + suffix)) {\\n\\t\\t// Selected text is already surrounded by prefix and suffix: Remove them\\n\\t\\t// Cut selected text plus prefix and suffix\\n\\t\\toperation.cutStart = operation.selStart - (prefix.length + 1);\\n\\t\\toperation.cutEnd = operation.selEnd + suffix.length + 1;\\n\\t\\t// Also cut the following newline (if there is any)\\n\\t\\tif (operation.text[operation.cutEnd] === \\\"\\\\n\\\") {\\n\\t\\t\\toperation.cutEnd++;\\n\\t\\t}\\n\\t\\t// Replace with selection\\n\\t\\toperation.replacement = operation.text.substring(operation.selStart,operation.selEnd);\\n\\t\\t// Select text that was in between prefix and suffix\\n\\t\\toperation.newSelStart = operation.cutStart;\\n\\t\\toperation.newSelEnd = operation.selEnd - (prefix.length + 1);\\n\\t} else {\\n\\t\\t// Cut just past the preceding line break, or the start of the text\\n\\t\\toperation.cutStart = $tw.utils.findPrecedingLineBreak(operation.text,operation.selStart);\\n\\t\\t// Cut to just past the following line break, or to the end of the text\\n\\t\\toperation.cutEnd = $tw.utils.findFollowingLineBreak(operation.text,operation.selEnd);\\n\\t\\t// Add the prefix and suffix\\n\\t\\toperation.replacement = prefix + \\\"\\\\n\\\" +\\n\\t\\t\\t\\t\\toperation.text.substring(operation.cutStart,operation.cutEnd) + \\\"\\\\n\\\" +\\n\\t\\t\\t\\t\\tsuffix + \\\"\\\\n\\\";\\n\\t\\toperation.newSelStart = operation.cutStart + prefix.length + 1;\\n\\t\\toperation.newSelEnd = operation.newSelStart + (operation.cutEnd - operation.cutStart);\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/editor/operations/text/wrap-selection.js\":{\"title\":\"$:/core/modules/editor/operations/text/wrap-selection.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/editor/operations/text/wrap-selection.js\\ntype: application/javascript\\nmodule-type: texteditoroperation\\n\\nText editor operation to wrap the selection with the specified prefix and suffix\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"wrap-selection\\\"] = function(event,operation) {\\n\\tif(operation.selStart === operation.selEnd) {\\n\\t\\t// No selection; check if we're within the prefix/suffix\\n\\t\\tif(operation.text.substring(operation.selStart - event.paramObject.prefix.length,operation.selStart + event.paramObject.suffix.length) === event.paramObject.prefix + event.paramObject.suffix) {\\n\\t\\t\\t// Remove the prefix and suffix\\n\\t\\t\\toperation.cutStart = operation.selStart - event.paramObject.prefix.length;\\n\\t\\t\\toperation.cutEnd = operation.selEnd + event.paramObject.suffix.length;\\n\\t\\t\\toperation.replacement = \\\"\\\";\\n\\t\\t\\toperation.newSelStart = operation.cutStart;\\n\\t\\t\\toperation.newSelEnd = operation.newSelStart;\\n\\t\\t} else {\\n\\t\\t\\t// Wrap the cursor instead\\n\\t\\t\\toperation.cutStart = operation.selStart;\\n\\t\\t\\toperation.cutEnd = operation.selEnd;\\n\\t\\t\\toperation.replacement = event.paramObject.prefix + event.paramObject.suffix;\\n\\t\\t\\toperation.newSelStart = operation.selStart + event.paramObject.prefix.length;\\n\\t\\t\\toperation.newSelEnd = operation.newSelStart;\\n\\t\\t}\\n\\t} else if(operation.text.substring(operation.selStart,operation.selStart + event.paramObject.prefix.length) === event.paramObject.prefix && operation.text.substring(operation.selEnd - event.paramObject.suffix.length,operation.selEnd) === event.paramObject.suffix) {\\n\\t\\t// Prefix and suffix are already present, so remove them\\n\\t\\toperation.cutStart = operation.selStart;\\n\\t\\toperation.cutEnd = operation.selEnd;\\n\\t\\toperation.replacement = operation.selection.substring(event.paramObject.prefix.length,operation.selection.length - event.paramObject.suffix.length);\\n\\t\\toperation.newSelStart = operation.selStart;\\n\\t\\toperation.newSelEnd = operation.selStart + operation.replacement.length;\\n\\t} else {\\n\\t\\t// Add the prefix and suffix\\n\\t\\toperation.cutStart = operation.selStart;\\n\\t\\toperation.cutEnd = operation.selEnd;\\n\\t\\toperation.replacement = event.paramObject.prefix + operation.selection + event.paramObject.suffix;\\n\\t\\toperation.newSelStart = operation.selStart;\\n\\t\\toperation.newSelEnd = operation.selStart + operation.replacement.length;\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"texteditoroperation\"},\"$:/core/modules/filterrunprefixes/all.js\":{\"title\":\"$:/core/modules/filterrunprefixes/all.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/all.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nUnion of sets without de-duplication.\\nEquivalent to = filter run prefix.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.all = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tresults.push.apply(results, operationSubFunction(source,widget));\\n\\t};\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/and.js\":{\"title\":\"$:/core/modules/filterrunprefixes/and.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/and.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nIntersection of sets.\\nEquivalent to + filter run prefix.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.and = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\t// This replaces all the elements of the array, but keeps the actual array so that references to it are preserved\\n\\t\\tsource = options.wiki.makeTiddlerIterator(results.toArray());\\n\\t\\tresults.clear();\\n\\t\\tresults.pushTop(operationSubFunction(source,widget));\\n\\t};\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/cascade.js\":{\"title\":\"$:/core/modules/filterrunprefixes/cascade.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/cascade.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.cascade = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length !== 0) {\\n\\t\\t\\tvar filterList = operationSubFunction(source,widget),\\n\\t\\t\\t\\tfilterFnList = [];\\n\\t\\t\\tvar inputResults = results.toArray();\\n\\t\\t\\tresults.clear();\\n\\t\\t\\t$tw.utils.each(inputResults,function(title) {\\n\\t\\t\\t\\tvar result = \\\"\\\"; // If no filter matches, we return an empty string\\n\\t\\t\\t\\t$tw.utils.each(filterList,function(filter,index) {\\n\\t\\t\\t\\t\\tif(!filterFnList[index]) {\\n\\t\\t\\t\\t\\t\\tfilterFnList[index] = options.wiki.compileFilter(filter);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tvar output = filterFnList[index](options.wiki.makeTiddlerIterator([title]),widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\t\\t\\\"..currentTiddler\\\": widget.getVariable(\\\"currentTiddler\\\",\\\"\\\")\\n\\t\\t\\t\\t\\t}));\\n\\t\\t\\t\\t\\tif(output.length !== 0) {\\n\\t\\t\\t\\t\\t\\tresult = output[0];\\n\\t\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tresults.push(result);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/else.js\":{\"title\":\"$:/core/modules/filterrunprefixes/else.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/else.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nEquivalent to ~ filter run prefix.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.else = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length === 0) {\\n\\t\\t\\t// Main result so far is empty\\n\\t\\t\\tresults.pushTop(operationSubFunction(source,widget));\\n\\t\\t}\\n\\t};\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/except.js\":{\"title\":\"$:/core/modules/filterrunprefixes/except.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/except.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nDifference of sets.\\nEquivalent to - filter run prefix.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.except = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tresults.remove(operationSubFunction(source,widget));\\n\\t};\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/filter.js\":{\"title\":\"$:/core/modules/filterrunprefixes/filter.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/filter.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.filter = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length > 0) {\\n\\t\\t\\tvar resultsToRemove = [],\\n\\t\\t\\t\\tindex = 0;\\n\\t\\t\\tresults.each(function(title) {\\n\\t\\t\\t\\tvar filtered = operationSubFunction(options.wiki.makeTiddlerIterator([title]),widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\t\\\"..currentTiddler\\\": widget.getVariable(\\\"currentTiddler\\\",\\\"\\\"),\\n\\t\\t\\t\\t\\t\\\"index\\\": \\\"\\\" + index,\\n\\t\\t\\t\\t\\t\\\"revIndex\\\": \\\"\\\" + (results.length - 1 - index),\\n\\t\\t\\t\\t\\t\\\"length\\\": \\\"\\\" + results.length\\n\\t\\t\\t\\t}));\\n\\t\\t\\t\\tif(filtered.length === 0) {\\n\\t\\t\\t\\t\\tresultsToRemove.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t++index;\\n\\t\\t\\t});\\n\\t\\t\\tresults.remove(resultsToRemove);\\n\\t\\t}\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/intersection.js\":{\"title\":\"$:/core/modules/filterrunprefixes/intersection.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/intersection.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.intersection = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length !== 0) {\\n\\t\\t\\tvar secondRunResults = operationSubFunction(source,widget);\\n\\t\\t\\tvar firstRunResults = results.toArray();\\n\\t\\t\\tresults.clear();\\n\\t\\t\\t$tw.utils.each(firstRunResults,function(title) {\\n\\t\\t\\t\\tif(secondRunResults.indexOf(title) !== -1) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t};\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/map.js\":{\"title\":\"$:/core/modules/filterrunprefixes/map.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/map.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.map = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length > 0) {\\n\\t\\t\\tvar inputTitles = results.toArray(),\\n\\t\\t\\t\\tindex = 0,\\n\\t\\t\\t\\tsuffixes = options.suffixes,\\n\\t\\t\\t\\tflatten = (suffixes[0] && suffixes[0][0] === \\\"flat\\\") ? true : false;\\n\\t\\t\\tresults.clear();\\n\\t\\t\\t$tw.utils.each(inputTitles,function(title) {\\n\\t\\t\\t\\tvar filtered = operationSubFunction(options.wiki.makeTiddlerIterator([title]),widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\t\\\"..currentTiddler\\\": widget.getVariable(\\\"currentTiddler\\\",\\\"\\\"),\\n\\t\\t\\t\\t\\t\\\"index\\\": \\\"\\\" + index,\\n\\t\\t\\t\\t\\t\\\"revIndex\\\": \\\"\\\" + (inputTitles.length - 1 - index),\\n\\t\\t\\t\\t\\t\\\"length\\\": \\\"\\\" + inputTitles.length\\n\\t\\t\\t\\t}));\\n\\t\\t\\t\\tif(filtered.length && flatten) {\\n\\t\\t\\t\\t\\t$tw.utils.each(filtered,function(value) {\\n\\t\\t\\t\\t\\t\\tresults.push(value);\\n\\t\\t\\t\\t\\t})\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tresults.push(filtered[0]||\\\"\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t++index;\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/or.js\":{\"title\":\"$:/core/modules/filterrunprefixes/or.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/or.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nEquivalent to a filter run with no prefix.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.or = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tresults.pushTop(operationSubFunction(source,widget));\\n\\t};\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/reduce.js\":{\"title\":\"$:/core/modules/filterrunprefixes/reduce.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/reduce.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.reduce = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length > 0) {\\n\\t\\t\\tvar accumulator = \\\"\\\",\\n\\t\\t\\t\\tindex = 0;\\n\\t\\t\\tresults.each(function(title) {\\n\\t\\t\\t\\tvar list = operationSubFunction(options.wiki.makeTiddlerIterator([title]),widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\t\\\"..currentTiddler\\\": widget.getVariable(\\\"currentTiddler\\\"),\\n\\t\\t\\t\\t\\t\\\"index\\\": \\\"\\\" + index,\\n\\t\\t\\t\\t\\t\\\"revIndex\\\": \\\"\\\" + (results.length - 1 - index),\\n\\t\\t\\t\\t\\t\\\"length\\\": \\\"\\\" + results.length,\\n\\t\\t\\t\\t\\t\\\"accumulator\\\": \\\"\\\" + accumulator\\n\\t\\t\\t\\t}));\\n\\t\\t\\t\\tif(list.length > 0) {\\n\\t\\t\\t\\t\\taccumulator = \\\"\\\" + list[0];\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t++index;\\n\\t\\t\\t});\\n\\t\\t\\tresults.clear();\\n\\t\\t\\tresults.push(accumulator);\\n\\t\\t}\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/sort.js\":{\"title\":\"$:/core/modules/filterrunprefixes/sort.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/sort.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.sort = function(operationSubFunction,options) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length > 0) {\\n\\t\\t\\tvar suffixes = options.suffixes,\\n\\t\\t\\t\\tsortType = (suffixes[0] && suffixes[0][0]) ? suffixes[0][0] : \\\"string\\\",\\n\\t\\t\\t\\tinvert = suffixes[1] ? (suffixes[1].indexOf(\\\"reverse\\\") !== -1) : false,\\n\\t\\t\\t\\tisCaseSensitive = suffixes[1] ? (suffixes[1].indexOf(\\\"casesensitive\\\") !== -1) : false,\\n\\t\\t\\t\\tinputTitles = results.toArray(),\\n\\t\\t\\t\\tsortKeys = [],\\n\\t\\t\\t\\tindexes = new Array(inputTitles.length),\\n\\t\\t\\t\\tcompareFn;\\n\\t\\t\\tresults.each(function(title) {\\n\\t\\t\\t\\tvar key = operationSubFunction(options.wiki.makeTiddlerIterator([title]),widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\t\\\"..currentTiddler\\\": widget.getVariable(\\\"currentTiddler\\\")\\n\\t\\t\\t\\t}));\\n\\t\\t\\t\\tsortKeys.push(key[0] || \\\"\\\");\\n\\t\\t\\t});\\n\\t\\t\\tresults.clear();\\n\\t\\t\\t// Prepare an array of indexes to sort\\n\\t\\t\\tfor(var t=0; t\u003CinputTitles.length; t++) {\\n\\t\\t\\t\\tindexes[t] = t;\\n\\t\\t\\t}\\n\\t\\t\\t// Sort the indexes\\n\\t\\t\\tcompareFn = $tw.utils.makeCompareFunction(sortType,{defaultType: \\\"string\\\", invert:invert, isCaseSensitive:isCaseSensitive});\\n\\t\\t\\tindexes = indexes.sort(function(a,b) {\\n\\t\\t\\t\\t\\treturn compareFn(sortKeys[a],sortKeys[b]);\\n\\t\\t\\t});\\n\\t\\t\\t// Add to results in correct order\\n\\t\\t\\t$tw.utils.each(indexes,function(index) {\\n\\t\\t\\t\\tresults.push(inputTitles[index]);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filterrunprefixes/then.js\":{\"title\":\"$:/core/modules/filterrunprefixes/then.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filterrunprefixes/then.js\\ntype: application/javascript\\nmodule-type: filterrunprefix\\n\\nReplace results of previous runs unless empty\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter prefix function\\n*/\\nexports.then = function(operationSubFunction) {\\n\\treturn function(results,source,widget) {\\n\\t\\tif(results.length !== 0) {\\n\\t\\t\\t// Only run if previous run(s) produced results\\n\\t\\t\\tvar thisRunResult = operationSubFunction(source,widget);\\n\\t\\t\\tif(thisRunResult.length !== 0) {\\n\\t\\t\\t\\t// Replace results only if this run actually produces a result\\n\\t\\t\\t\\tresults.clear();\\n\\t\\t\\t\\tresults.pushTop(thisRunResult);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filterrunprefix\"},\"$:/core/modules/filters/addprefix.js\":{\"title\":\"$:/core/modules/filters/addprefix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/addprefix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for adding a prefix to each title in the list. This is\\nespecially useful in contexts where only a filter expression is allowed\\nand macro substitution isn't available.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.addprefix = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(operator.operand + title);\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/addsuffix.js\":{\"title\":\"$:/core/modules/filters/addsuffix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/addsuffix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for adding a suffix to each title in the list. This is\\nespecially useful in contexts where only a filter expression is allowed\\nand macro substitution isn't available.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.addsuffix = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title + operator.operand);\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/after.js\":{\"title\":\"$:/core/modules/filters/after.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/after.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the tiddler from the current list that is after the tiddler named in the operand.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.after = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tvar index = results.indexOf(operator.operand);\\n\\tif(index === -1 || index > (results.length - 2)) {\\n\\t\\treturn [];\\n\\t} else {\\n\\t\\treturn [results[index + 1]];\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/all/current.js\":{\"title\":\"$:/core/modules/filters/all/current.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/current.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[current]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.current = function(source,prefix,options) {\\n\\tvar currTiddlerTitle = options.widget && options.widget.getVariable(\\\"currentTiddler\\\");\\n\\tif(currTiddlerTitle) {\\n\\t\\treturn [currTiddlerTitle];\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all/missing.js\":{\"title\":\"$:/core/modules/filters/all/missing.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/missing.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[missing]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.missing = function(source,prefix,options) {\\n\\treturn options.wiki.getMissingTitles();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all/orphans.js\":{\"title\":\"$:/core/modules/filters/all/orphans.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/orphans.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[orphans]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.orphans = function(source,prefix,options) {\\n\\treturn options.wiki.getOrphanTitles();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all/shadows.js\":{\"title\":\"$:/core/modules/filters/all/shadows.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/shadows.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[shadows]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.shadows = function(source,prefix,options) {\\n\\treturn options.wiki.allShadowTitles();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all/tags.js\":{\"title\":\"$:/core/modules/filters/all/tags.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/tags.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[tags]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tags = function(source,prefix,options) {\\n\\treturn Object.keys(options.wiki.getTagMap());\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all/tiddlers.js\":{\"title\":\"$:/core/modules/filters/all/tiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all/tiddlers.js\\ntype: application/javascript\\nmodule-type: allfilteroperator\\n\\nFilter function for [all[tiddlers]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tiddlers = function(source,prefix,options) {\\n\\treturn options.wiki.allTitles();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"allfilteroperator\"},\"$:/core/modules/filters/all.js\":{\"title\":\"$:/core/modules/filters/all.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/all.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for selecting tiddlers\\n\\n[all[shadows+tiddlers]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar allFilterOperators;\\n\\nfunction getAllFilterOperators() {\\n\\tif(!allFilterOperators) {\\n\\t\\tallFilterOperators = {};\\n\\t\\t$tw.modules.applyMethods(\\\"allfilteroperator\\\",allFilterOperators);\\n\\t}\\n\\treturn allFilterOperators;\\n}\\n\\n/*\\nExport our filter function\\n*/\\nexports.all = function(source,operator,options) {\\n\\t// Get our suboperators\\n\\tvar allFilterOperators = getAllFilterOperators();\\n\\t// Cycle through the suboperators accumulating their results\\n\\tvar results = new $tw.utils.LinkedList(),\\n\\t\\tsubops = operator.operand.split(\\\"+\\\");\\n\\t// Check for common optimisations\\n\\tif(subops.length === 1 && subops[0] === \\\"\\\") {\\n\\t\\treturn source;\\n\\t} else if(subops.length === 1 && subops[0] === \\\"tiddlers\\\") {\\n\\t\\treturn options.wiki.each;\\n\\t} else if(subops.length === 1 && subops[0] === \\\"shadows\\\") {\\n\\t\\treturn options.wiki.eachShadow;\\n\\t} else if(subops.length === 2 && subops[0] === \\\"tiddlers\\\" && subops[1] === \\\"shadows\\\") {\\n\\t\\treturn options.wiki.eachTiddlerPlusShadows;\\n\\t} else if(subops.length === 2 && subops[0] === \\\"shadows\\\" && subops[1] === \\\"tiddlers\\\") {\\n\\t\\treturn options.wiki.eachShadowPlusTiddlers;\\n\\t}\\n\\t// Do it the hard way\\n\\tfor(var t=0; t\u003Csubops.length; t++) {\\n\\t\\tvar subop = allFilterOperators[subops[t]];\\n\\t\\tif(subop) {\\n\\t\\t\\tresults.pushTop(subop(source,operator.prefix,options));\\n\\t\\t}\\n\\t}\\n\\treturn results.makeTiddlerIterator(options.wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/backlinks.js\":{\"title\":\"$:/core/modules/filters/backlinks.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/backlinks.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning all the backlinks from a tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.backlinks = function(source,operator,options) {\\n\\tvar results = new $tw.utils.LinkedList();\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.pushTop(options.wiki.getTiddlerBacklinks(title));\\n\\t});\\n\\treturn results.makeTiddlerIterator(options.wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/before.js\":{\"title\":\"$:/core/modules/filters/before.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/before.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the tiddler from the current list that is before the tiddler named in the operand.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.before = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tvar index = results.indexOf(operator.operand);\\n\\tif(index \u003C= 0) {\\n\\t\\treturn [];\\n\\t} else {\\n\\t\\treturn [results[index - 1]];\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/commands.js\":{\"title\":\"$:/core/modules/filters/commands.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/commands.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the commands available in this wiki\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.commands = function(source,operator,options) {\\n\\tvar results = [];\\n\\t$tw.utils.each($tw.commands,function(commandInfo,name) {\\n\\t\\tresults.push(name);\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/compare.js\":{\"title\":\"$:/core/modules/filters/compare.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/compare.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nGeneral purpose comparison operator\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.compare = function(source,operator,options) {\\n\\tvar suffixes = operator.suffixes || [],\\n\\t\\ttype = (suffixes[0] || [])[0],\\n\\t\\tmode = (suffixes[1] || [])[0],\\n\\t\\ttypeFn = $tw.utils.makeCompareFunction(type,{defaultType: \\\"number\\\"}),\\n\\t\\tmodeFn = modes[mode] || modes.eq,\\n\\t\\tinvert = operator.prefix === \\\"!\\\",\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(modeFn(typeFn(title,operator.operand)) !== invert) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nvar modes = {\\n\\t\\\"eq\\\": function(value) {return value === 0;},\\n\\t\\\"ne\\\": function(value) {return value !== 0;},\\n\\t\\\"gteq\\\": function(value) {return value >= 0;},\\n\\t\\\"gt\\\": function(value) {return value > 0;},\\n\\t\\\"lteq\\\": function(value) {return value \u003C= 0;},\\n\\t\\\"lt\\\": function(value) {return value \u003C 0;}\\n}\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/contains.js\":{\"title\":\"$:/core/modules/filters/contains.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/contains.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for finding values in array fields\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.contains = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tfieldname = operator.suffix || \\\"list\\\";\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\tvar list = tiddler.getFieldList(fieldname);\\n\\t\\t\\t\\tif(list.indexOf(operator.operand) === -1) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\tvar list = tiddler.getFieldList(fieldname);\\n\\t\\t\\t\\tif(list.indexOf(operator.operand) !== -1) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/count.js\":{\"title\":\"$:/core/modules/filters/count.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/count.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the number of entries in the current list.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.count = function(source,operator,options) {\\n\\tvar count = 0;\\n\\tsource(function(tiddler,title) {\\n\\t\\tcount++;\\n\\t});\\n\\treturn [count + \\\"\\\"];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/crypto.js\":{\"title\":\"$:/core/modules/filters/crypto.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/crypto.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operators for cryptography, using the Stanford JavaScript library\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.sha256 = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tlength = parseInt(operator.operand,10) || 20,\\n\\t\\tsha256 = function(text) {\\n\\t\\t\\treturn sjcl.codec.hex.fromBits(sjcl.hash.sha256.hash(text)).substr(0,length);\\n\\t\\t};\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(sha256(title));\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/days.js\":{\"title\":\"$:/core/modules/filters/days.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/days.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that selects tiddlers with a specified date field within a specified date interval.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.days = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tfieldName = operator.suffix || \\\"modified\\\",\\n\\t\\tdayInterval = (parseInt(operator.operand,10)||0),\\n\\t\\tdayIntervalSign = $tw.utils.sign(dayInterval),\\n\\t\\ttargetTimeStamp = (new Date()).setHours(0,0,0,0) + 1000*60*60*24*dayInterval,\\n\\t\\tisWithinDays = function(dateField) {\\n\\t\\t\\tvar sign = $tw.utils.sign(targetTimeStamp - (new Date(dateField)).setHours(0,0,0,0));\\n\\t\\t\\treturn sign === 0 || sign === dayIntervalSign;\\n\\t\\t};\\n\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\ttargetTimeStamp = targetTimeStamp - 1000*60*60*24*dayIntervalSign;\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler && tiddler.fields[fieldName]) {\\n\\t\\t\\t\\tif(!isWithinDays($tw.utils.parseDate(tiddler.fields[fieldName]))) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler && tiddler.fields[fieldName]) {\\n\\t\\t\\t\\tif(isWithinDays($tw.utils.parseDate(tiddler.fields[fieldName]))) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/deserialize.js\":{\"title\":\"$:/core/modules/filters/deserialize.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/deserialize.js\\ntype: application/javascript\\nmodule-type: filteroperator\\nFilter operator for deserializing string data into JSON representing tiddlers\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"deserialize\\\"] = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tdeserializer;\\n\\tif(operator.operand) {\\n\\t\\t// Get the deserializer identified by the operand\\n\\t\\tdeserializer = $tw.Wiki.tiddlerDeserializerModules[operator.operand];\\n\\t\\tif(deserializer) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tvar tiddlers;\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\ttiddlers = deserializer(title);\\n\\t\\t\\t\\t} catch(e) {\\n\\t\\t\\t\\t\\t// Return an empty array if we could not extract any tiddlers\\n\\t\\t\\t\\t\\ttiddlers = [];\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tresults.push(JSON.stringify(tiddlers));\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\treturn [$tw.language.getString(\\\"Error/DeserializeOperator/UnknownDeserializer\\\")];\\n\\t\\t}\\n\\t} else {\\n\\t\\treturn [$tw.language.getString(\\\"Error/DeserializeOperator/MissingOperand\\\")];\\n\\t}\\n\\treturn results;\\n}\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/deserializers.js\":{\"title\":\"$:/core/modules/filters/deserializers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/deserializers.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the deserializers in this wiki\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.deserializers = function(source,operator,options) {\\n\\tvar results = [];\\n\\t$tw.utils.each($tw.Wiki.tiddlerDeserializerModules,function(deserializer,type) {\\n\\t\\tresults.push(type);\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/duplicateslugs.js\":{\"title\":\"$:/core/modules/filters/duplicateslugs.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/duplicateslugs.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter function for [duplicateslugs[]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.duplicateslugs = function(source,operator,options) {\\n\\tvar slugs = Object.create(null), // Hashmap by slug of title, replaced with \\\"true\\\" if the duplicate title has already been output\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar slug = options.wiki.slugify(title);\\n\\t\\tif(slug in slugs) {\\n\\t\\t\\tif(slugs[slug] !== true) {\\n\\t\\t\\t\\tresults.push(slugs[slug]);\\n\\t\\t\\t\\tslugs[slug] = true;\\n\\t\\t\\t}\\n\\t\\t\\tresults.push(title);\\n\\t\\t} else {\\n\\t\\t\\tslugs[slug] = title;\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/each.js\":{\"title\":\"$:/core/modules/filters/each.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/each.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that selects one tiddler for each unique value of the specified field.\\nWith suffix \\\"list\\\", selects all tiddlers that are values in a specified list field.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.each = function(source,operator,options) {\\n\\tvar results =[] ,\\n\\tvalue,values = {},\\n\\tfield = operator.operand || \\\"title\\\";\\n\\tif(operator.suffix === \\\"value\\\" && field === \\\"title\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!$tw.utils.hop(values,title)) {\\n\\t\\t\\t\\tvalues[title] = true;\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else if(operator.suffix !== \\\"list-item\\\") {\\n\\t\\tif(field === \\\"title\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler && !$tw.utils.hop(values,title)) {\\n\\t\\t\\t\\t\\tvalues[title] = true;\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvalue = tiddler.getFieldString(field);\\n\\t\\t\\t\\t\\tif(!$tw.utils.hop(values,value)) {\\n\\t\\t\\t\\t\\t\\tvalues[value] = true;\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t$tw.utils.each(\\n\\t\\t\\t\\t\\toptions.wiki.getTiddlerList(title,field),\\n\\t\\t\\t\\t\\tfunction(value) {\\n\\t\\t\\t\\t\\t\\tif(!$tw.utils.hop(values,value)) {\\n\\t\\t\\t\\t\\t\\t\\tvalues[value] = true;\\n\\t\\t\\t\\t\\t\\t\\tresults.push(value);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/eachday.js\":{\"title\":\"$:/core/modules/filters/eachday.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/eachday.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that selects one tiddler for each unique day covered by the specified date field\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.eachday = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tvalues = [],\\n\\t\\tfieldName = operator.operand || \\\"modified\\\";\\n\\t// Function to convert a date/time to a date integer\\n\\tvar toDate = function(value) {\\n\\t\\tvalue = (new Date(value)).setHours(0,0,0,0);\\n\\t\\treturn value+0;\\n\\t};\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(tiddler && tiddler.fields[fieldName]) {\\n\\t\\t\\tvar value = toDate($tw.utils.parseDate(tiddler.fields[fieldName]));\\n\\t\\t\\tif(values.indexOf(value) === -1) {\\n\\t\\t\\t\\tvalues.push(value);\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/editiondescription.js\":{\"title\":\"$:/core/modules/filters/editiondescription.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/editiondescription.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the descriptions of the specified edition names\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.editiondescription = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif($tw.node) {\\n\\t\\tvar editionInfo = $tw.utils.getEditionInfo();\\n\\t\\tif(editionInfo) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif($tw.utils.hop(editionInfo,title)) {\\n\\t\\t\\t\\t\\tresults.push(editionInfo[title].description || \\\"\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/editions.js\":{\"title\":\"$:/core/modules/filters/editions.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/editions.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the available editions in this wiki\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.editions = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif($tw.node) {\\n\\t\\tvar editionInfo = $tw.utils.getEditionInfo();\\n\\t\\tif(editionInfo) {\\n\\t\\t\\t$tw.utils.each(editionInfo,function(info,name) {\\n\\t\\t\\t\\tresults.push(name);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\tresults.sort();\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/else.js\":{\"title\":\"$:/core/modules/filters/else.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/else.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for replacing an empty input list with a constant, passing a non-empty input list straight through\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.else = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tif(results.length === 0) {\\n\\t\\treturn [operator.operand];\\n\\t} else {\\n\\t\\treturn results;\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/decodeuricomponent.js\":{\"title\":\"$:/core/modules/filters/decodeuricomponent.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/decodeuricomponent.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for applying decodeURIComponent() to each item.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter functions\\n*/\\n\\nexports.decodebase64 = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.base64Decode(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.encodebase64 = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.base64Encode(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.decodeuricomponent = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.decodeURIComponentSafe(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.encodeuricomponent = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.encodeURIComponentExtended(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.decodeuri = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.decodeURISafe(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.encodeuri = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(encodeURI(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.decodehtml = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.htmlDecode(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.encodehtml = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.htmlEncode(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.stringify = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.stringify(title,(operator.suffix === \\\"rawunicode\\\")));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.jsonstringify = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.jsonStringify(title,(operator.suffix === \\\"rawunicode\\\")));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.escaperegexp = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push($tw.utils.escapeRegExp(title));\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.escapecss = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\t// escape any character with a special meaning in CSS using CSS.escape()\\n\\t\\tresults.push($tw.utils.escapeCSS(title));\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/enlist.js\":{\"title\":\"$:/core/modules/filters/enlist.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/enlist.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning its operand parsed as a list\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.enlist = function(source,operator,options) {\\n\\tvar allowDuplicates = false;\\n\\tswitch(operator.suffix) {\\n\\t\\tcase \\\"raw\\\":\\n\\t\\t\\tallowDuplicates = true;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"dedupe\\\":\\n\\t\\t\\tallowDuplicates = false;\\n\\t\\t\\tbreak;\\n\\t}\\n\\tvar list = $tw.utils.parseStringArray(operator.operand,allowDuplicates);\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tvar results = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(list.indexOf(title) === -1) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn results;\\n\\t} else {\\n\\t\\treturn list;\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/field.js\":{\"title\":\"$:/core/modules/filters/field.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/field.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for comparing fields for equality\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.field = function(source,operator,options) {\\n\\tvar results = [],indexedResults,\\n\\t\\tfieldname = operator.suffix || operator.operator || \\\"title\\\";\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tif(operator.regexp) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvar text = tiddler.getFieldString(fieldname);\\n\\t\\t\\t\\t\\tif(text !== null && !operator.regexp.exec(text)) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvar text = tiddler.getFieldString(fieldname);\\n\\t\\t\\t\\t\\tif(text !== null && text !== operator.operand) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(operator.regexp) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvar text = tiddler.getFieldString(fieldname);\\n\\t\\t\\t\\t\\tif(text !== null && !!operator.regexp.exec(text)) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tif(source.byField && operator.operand) {\\n\\t\\t\\t\\tindexedResults = source.byField(fieldname,operator.operand);\\n\\t\\t\\t\\tif(indexedResults) {\\n\\t\\t\\t\\t\\treturn indexedResults\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tvar text = tiddler.getFieldString(fieldname);\\n\\t\\t\\t\\t\\tif(text !== null && text === operator.operand) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/fields.js\":{\"title\":\"$:/core/modules/filters/fields.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/fields.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the fields on the selected tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.fields = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tfieldName,\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [],\\n\\t\\toperand = $tw.utils.parseStringArray(operator.operand);\\n\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(tiddler) {\\n\\t\\t\\tif(suffixes.indexOf(\\\"include\\\") !== -1) {\\n\\t\\t\\t\\tfor(fieldName in tiddler.fields) {\\n\\t\\t\\t\\t\\t(operand.indexOf(fieldName) !== -1) ? $tw.utils.pushTop(results,fieldName) : \\\"\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else if (suffixes.indexOf(\\\"exclude\\\") !== -1) {\\n\\t\\t\\t\\tfor(fieldName in tiddler.fields) {\\n\\t\\t\\t\\t\\t(operand.indexOf(fieldName) !== -1) ? \\\"\\\" : $tw.utils.pushTop(results,fieldName);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} // else if\\n\\t\\t\\telse {\\n\\t\\t\\t\\tfor(fieldName in tiddler.fields) {\\n\\t\\t\\t\\t\\t$tw.utils.pushTop(results,fieldName);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} // else\\n\\t\\t} // if (tiddler)\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/filter.js\":{\"title\":\"$:/core/modules/filters/filter.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/filter.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning those input titles that pass a subfilter\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.filter = function(source,operator,options) {\\n\\tvar filterFn = options.wiki.compileFilter(operator.operand),\\n\\t\\tresults = [],\\n\\t\\ttarget = operator.prefix !== \\\"!\\\";\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar list = filterFn.call(options.wiki,options.wiki.makeTiddlerIterator([title]),options.widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\\"..currentTiddler\\\": options.widget.getVariable(\\\"currentTiddler\\\",\\\"\\\")\\n\\t\\t}));\\n\\t\\tif((list.length > 0) === target) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/format/date.js\":{\"title\":\"$:/core/modules/filters/format/date.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format/date.js\\ntype: application/javascript\\nmodule-type: formatfilteroperator\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.date = function(source,operand,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar value = $tw.utils.parseDate(title);\\n\\t\\tif(value && $tw.utils.isDate(value) && value.toString() !== \\\"Invalid Date\\\") {\\n\\t\\t\\tresults.push($tw.utils.formatDateString(value,operand || \\\"YYYY MM DD 0hh:0mm\\\"));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"formatfilteroperator\"},\"$:/core/modules/filters/format/json.js\":{\"title\":\"$:/core/modules/filters/format/json.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format/json.js\\ntype: application/javascript\\nmodule-type: formatfilteroperator\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.json = function(source,operand,options) {\\n\\tvar results = [],\\n\\t\\tspaces = null;\\n\\tif(operand) {\\n\\t\\tspaces = /^\\\\d+$/.test(operand) ? parseInt(operand,10) : operand;\\n\\t}\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = $tw.utils.parseJSONSafe(title);\\n\\t\\ttry {\\n\\t\\t\\tdata = JSON.parse(title);\\n\\t\\t} catch(e) {\\n\\t\\t\\tdata = undefined;\\n\\t\\t}\\n\\t\\tif(data !== undefined) {\\n\\t\\t\\tresults.push(JSON.stringify(data,null,spaces));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"formatfilteroperator\"},\"$:/core/modules/filters/format/relativedate.js\":{\"title\":\"$:/core/modules/filters/format/relativedate.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format/relativedate.js\\ntype: application/javascript\\nmodule-type: formatfilteroperator\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.relativedate = function(source,operand,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar value = $tw.utils.parseDate(title);\\n\\t\\tif(value && $tw.utils.isDate(value) && value.toString() !== \\\"Invalid Date\\\") {\\n\\t\\t\\tresults.push($tw.utils.getRelativeDate((new Date()) - (new Date(value))).description);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"formatfilteroperator\"},\"$:/core/modules/filters/format/timestamp.js\":{\"title\":\"$:/core/modules/filters/format/timestamp.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format/timestamp.js\\ntype: application/javascript\\nmodule-type: formatfilteroperator\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.timestamp = function(source,operand,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tif (title.match(/^-?\\\\d+$/)) {\\n\\t\\t\\tvar value = new Date(Number(title));\\n\\t\\t\\tresults.push($tw.utils.formatDateString(value,operand || \\\"[UTC]YYYY0MM0DD0hh0mm0ss0XXX\\\"));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"formatfilteroperator\"},\"$:/core/modules/filters/format/titlelist.js\":{\"title\":\"$:/core/modules/filters/format/titlelist.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format/titlelist.js\\ntype: application/javascript\\nmodule-type: formatfilteroperator\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.titlelist = function(source,operand,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(title && title.length) {\\n\\t\\t\\tresults.push($tw.utils.stringifyList([title]));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"formatfilteroperator\"},\"$:/core/modules/filters/format.js\":{\"title\":\"$:/core/modules/filters/format.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/format.js\\ntype: application/javascript\\nmodule-type: filteroperator\\nFilter operator for formatting strings\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar formatFilterOperators;\\n\\nfunction getFormatFilterOperators() {\\n\\tif(!formatFilterOperators) {\\n\\t\\tformatFilterOperators = {};\\n\\t\\t$tw.modules.applyMethods(\\\"formatfilteroperator\\\",formatFilterOperators);\\n\\t}\\n\\treturn formatFilterOperators;\\n}\\n\\n/*\\nExport our filter function\\n*/\\nexports.format = function(source,operator,options) {\\n\\t// Dispatch to the correct formatfilteroperator\\n\\tvar formatFilterOperators = getFormatFilterOperators();\\n\\tif(operator.suffix) {\\n\\t\\tvar formatFilterOperator = formatFilterOperators[operator.suffix];\\n\\t\\tif(formatFilterOperator) {\\n\\t\\t\\treturn formatFilterOperator(source,operator.operand,options);\\n\\t\\t} else {\\n\\t\\t\\treturn [$tw.language.getString(\\\"Error/FormatFilterOperator\\\")];\\n\\t\\t}\\n\\t} else {\\n\\t\\t// Return all unchanged if the suffix is missing\\n\\t\\tvar results = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t\\treturn results;\\n\\t}\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/function.js\":{\"title\":\"$:/core/modules/filters/function.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/function.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning those input titles that are returned from a function\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.function = function(source,operator,options) {\\n\\tvar functionName = operator.operands[0],\\n\\t\\tparams = [];\\n\\t$tw.utils.each(operator.operands.slice(1),function(param) {\\n\\t\\tparams.push({value: param});\\n\\t});\\n\\tvar variableInfo = options.widget && options.widget.getVariableInfo && options.widget.getVariableInfo(functionName,{params: params, source: source});\\n\\tif(variableInfo && variableInfo.srcVariable && variableInfo.srcVariable.isFunctionDefinition) {\\n\\t\\treturn variableInfo.resultList ? variableInfo.resultList : [variableInfo.text];\\n\\t}\\n\\t// Return the input list if the function wasn't found\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/get.js\":{\"title\":\"$:/core/modules/filters/get.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/get.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for replacing tiddler titles by the value of the field specified in the operand.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.get = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(tiddler) {\\n\\t\\t\\tvar value = tiddler.getFieldString(operator.operand);\\n\\t\\t\\tif(value) {\\n\\t\\t\\t\\tresults.push(value);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/getindex.js\":{\"title\":\"$:/core/modules/filters/getindex.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/getindex.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nreturns the value at a given index of datatiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.getindex = function(source,operator,options) {\\n\\tvar data,title,results = [];\\n\\tif(operator.operand){\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\ttitle = tiddler ? tiddler.fields.title : title;\\n\\t\\t\\tdata = options.wiki.extractTiddlerDataItem(tiddler,operator.operand);\\n\\t\\t\\tif(data) {\\n\\t\\t\\t\\tresults.push(data);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/getvariable.js\":{\"title\":\"$:/core/modules/filters/getvariable.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/getvariable.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for replacing input values by the value of the variable with the same name, or blank if the variable is missing\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.getvariable = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(options.widget.getVariable(title) || \\\"\\\");\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/has.js\":{\"title\":\"$:/core/modules/filters/has.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/has.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking if a tiddler has the specified field or index\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.has = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tinvert = operator.prefix === \\\"!\\\";\\n\\n\\tif(operator.suffix === \\\"field\\\") {\\n\\t\\tif(invert) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(!tiddler || (tiddler && (!$tw.utils.hop(tiddler.fields,operator.operand)))) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler && $tw.utils.hop(tiddler.fields,operator.operand)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\telse if(operator.suffix === \\\"index\\\") {\\n\\t\\tif(invert) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(!tiddler || (tiddler && (!$tw.utils.hop(options.wiki.getTiddlerDataCached(tiddler,Object.create(null)),operator.operand)))) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler && $tw.utils.hop(options.wiki.getTiddlerDataCached(tiddler,Object.create(null)),operator.operand)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\telse {\\n\\t\\tif(invert) {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(!tiddler || !$tw.utils.hop(tiddler.fields,operator.operand) || (tiddler.fields[operator.operand].length === 0)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddler && $tw.utils.hop(tiddler.fields,operator.operand) && (tiddler.fields[operator.operand].length !== 0)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/haschanged.js\":{\"title\":\"$:/core/modules/filters/haschanged.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/haschanged.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returns tiddlers from the list that have a non-zero changecount.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.haschanged = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.getChangeCount(title) === 0) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.getChangeCount(title) > 0) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/indexes.js\":{\"title\":\"$:/core/modules/filters/indexes.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/indexes.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the indexes of a data tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.indexes = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = options.wiki.getTiddlerDataCached(title);\\n\\t\\tif(data) {\\n\\t\\t\\t$tw.utils.pushTop(results,Object.keys(data));\\n\\t\\t}\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/insertafter.js\":{\"title\":\"$:/core/modules/filters/insertafter.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/insertafter.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nInsert an item after another item in a list\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nOrder a list\\n*/\\nexports.insertafter = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tvar target = operator.operands[1] || (options.widget && options.widget.getVariable(operator.suffix || \\\"currentTiddler\\\"));\\n\\tif(target !== operator.operand) {\\n\\t\\t// Remove the entry from the list if it is present\\n\\t\\tvar pos = results.indexOf(operator.operand);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tresults.splice(pos,1);\\n\\t\\t}\\n\\t\\t// Insert the entry after the target marker\\n\\t\\tpos = results.indexOf(target);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tresults.splice(pos+1,0,operator.operand);\\n\\t\\t} else {\\n\\t\\t\\tvar suffix = operator.operands.length > 1 ? operator.suffix : \\\"\\\";\\n\\t\\t\\tif(suffix === \\\"start\\\") {\\n\\t\\t\\t\\tresults.splice(0,0,operator.operand);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tresults.push(operator.operand);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/insertbefore.js\":{\"title\":\"$:/core/modules/filters/insertbefore.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/insertbefore.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nInsert an item before another item in a list\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nOrder a list\\n*/\\nexports.insertbefore = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tvar target = operator.operands[1] || (options.widget && options.widget.getVariable(operator.suffix || \\\"currentTiddler\\\"));\\n\\tif(target !== operator.operand) {\\n\\t\\t// Remove the entry from the list if it is present\\n\\t\\tvar pos = results.indexOf(operator.operand);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tresults.splice(pos,1);\\n\\t\\t}\\n\\t\\t// Insert the entry before the target marker\\n\\t\\tpos = results.indexOf(target);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tresults.splice(pos,0,operator.operand);\\n\\t\\t} else {\\n\\t\\t\\tvar suffix = operator.operands.length > 1 ? operator.suffix : \\\"\\\";\\n\\t\\t\\tif(suffix == \\\"start\\\") {\\n\\t\\t\\t\\tresults.splice(0,0,operator.operand);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tresults.push(operator.operand);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/is/binary.js\":{\"title\":\"$:/core/modules/filters/is/binary.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/binary.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[binary]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.binary = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.isBinaryTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.isBinaryTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/blank.js\":{\"title\":\"$:/core/modules/filters/is/blank.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/blank.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[blank]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.blank = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!title) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/current.js\":{\"title\":\"$:/core/modules/filters/is/current.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/current.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[current]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.current = function(source,prefix,options) {\\n\\tvar results = [],\\n\\t\\tcurrTiddlerTitle = options.widget && options.widget.getVariable(\\\"currentTiddler\\\");\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title !== currTiddlerTitle) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title === currTiddlerTitle) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/draft.js\":{\"title\":\"$:/core/modules/filters/is/draft.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/draft.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[draft]] analagous to [has[draft.of]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.draft = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!tiddler || !tiddler.isDraft()) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler && tiddler.isDraft()) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/image.js\":{\"title\":\"$:/core/modules/filters/is/image.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/image.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[image]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.image = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.isImageTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.isImageTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/missing.js\":{\"title\":\"$:/core/modules/filters/is/missing.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/missing.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[missing]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.missing = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.tiddlerExists(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.tiddlerExists(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/orphan.js\":{\"title\":\"$:/core/modules/filters/is/orphan.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/orphan.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[orphan]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.orphan = function(source,prefix,options) {\\n\\tvar results = [],\\n\\t\\torphanTitles = options.wiki.getOrphanTitles();\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(orphanTitles.indexOf(title) === -1) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(orphanTitles.indexOf(title) !== -1) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/shadow.js\":{\"title\":\"$:/core/modules/filters/is/shadow.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/shadow.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[shadow]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.shadow = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.isShadowTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.isShadowTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/system.js\":{\"title\":\"$:/core/modules/filters/is/system.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/system.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[system]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.system = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.isSystemTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.isSystemTiddler(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/tag.js\":{\"title\":\"$:/core/modules/filters/is/tag.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/tag.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[tag]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tag = function(source,prefix,options) {\\n\\tvar results = [],\\n\\t\\ttagMap = options.wiki.getTagMap();\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!$tw.utils.hop(tagMap,title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif($tw.utils.hop(tagMap,title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/tiddler.js\":{\"title\":\"$:/core/modules/filters/is/tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/tiddler.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[tiddler]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tiddler = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(!options.wiki.tiddlerExists(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.wiki.tiddlerExists(title)) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is/variable.js\":{\"title\":\"$:/core/modules/filters/is/variable.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is/variable.js\\ntype: application/javascript\\nmodule-type: isfilteroperator\\n\\nFilter function for [is[variable]]\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.variable = function(source,prefix,options) {\\n\\tvar results = [];\\n\\tif(prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.widget.getVariable(title) === undefined) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(options.widget.getVariable(title) !== undefined) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"isfilteroperator\"},\"$:/core/modules/filters/is.js\":{\"title\":\"$:/core/modules/filters/is.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/is.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking tiddler properties\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar isFilterOperators;\\n\\nfunction getIsFilterOperators() {\\n\\tif(!isFilterOperators) {\\n\\t\\tisFilterOperators = {};\\n\\t\\t$tw.modules.applyMethods(\\\"isfilteroperator\\\",isFilterOperators);\\n\\t}\\n\\treturn isFilterOperators;\\n}\\n\\n/*\\nExport our filter function\\n*/\\nexports.is = function(source,operator,options) {\\n\\t// Dispatch to the correct isfilteroperator\\n\\tvar isFilterOperators = getIsFilterOperators();\\n\\tif(operator.operand) {\\n\\t\\tvar isFilterOperator = isFilterOperators[operator.operand];\\n\\t\\tif(isFilterOperator) {\\n\\t\\t\\treturn isFilterOperator(source,operator.prefix,options);\\n\\t\\t} else {\\n\\t\\t\\treturn [$tw.language.getString(\\\"Error/IsFilterOperator\\\")];\\n\\t\\t}\\n\\t} else {\\n\\t\\t// Return all tiddlers if the operand is missing\\n\\t\\tvar results = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t\\treturn results;\\n\\t}\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/json-ops.js\":{\"title\":\"$:/core/modules/filters/json-ops.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/json-ops.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operators for JSON operations\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports[\\\"jsonget\\\"] = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = $tw.utils.parseJSONSafe(title,title);\\n\\t\\tif(data) {\\n\\t\\t\\tvar items = getDataItemValueAsStrings(data,operator.operands);\\n\\t\\t\\tif(items !== undefined) {\\n\\t\\t\\t\\tresults.push.apply(results,items);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nexports[\\\"jsonextract\\\"] = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = $tw.utils.parseJSONSafe(title,title);\\n\\t\\tif(data) {\\n\\t\\t\\tvar item = getDataItem(data,operator.operands);\\n\\t\\t\\tif(item !== undefined) {\\n\\t\\t\\t\\tresults.push(JSON.stringify(item));\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nexports[\\\"jsonindexes\\\"] = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = $tw.utils.parseJSONSafe(title,title);\\n\\t\\tif(data) {\\n\\t\\t\\tvar items = getDataItemKeysAsStrings(data,operator.operands);\\n\\t\\t\\tif(items !== undefined) {\\n\\t\\t\\t\\tresults.push.apply(results,items);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nexports[\\\"jsontype\\\"] = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar data = $tw.utils.parseJSONSafe(title,title);\\n\\t\\tif(data) {\\n\\t\\t\\tvar item = getDataItemType(data,operator.operands);\\n\\t\\t\\tif(item !== undefined) {\\n\\t\\t\\t\\tresults.push(item);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n/*\\nGiven a JSON data structure and an array of index strings, return an array of the string representation of the values at the end of the index chain, or \\\"undefined\\\" if any of the index strings are invalid\\n*/\\nfunction getDataItemValueAsStrings(data,indexes) {\\n\\t// Get the item\\n\\tvar item = getDataItem(data,indexes);\\n\\t// Return the item as a string list\\n\\treturn convertDataItemValueToStrings(item);\\n}\\n\\n/*\\nGiven a JSON data structure and an array of index strings, return an array of the string representation of the keys of the item at the end of the index chain, or \\\"undefined\\\" if any of the index strings are invalid\\n*/\\nfunction getDataItemKeysAsStrings(data,indexes) {\\n\\t// Get the item\\n\\tvar item = getDataItem(data,indexes);\\n\\t// Return the item keys as a string\\n\\treturn convertDataItemKeysToStrings(item);\\n}\\n\\n/*\\nReturn an array of the string representation of the values of a data item, or \\\"undefined\\\" if the item is undefined\\n*/\\nfunction convertDataItemValueToStrings(item) {\\n\\t// Return the item as a string\\n\\tif(item === undefined) {\\n\\t\\treturn undefined;\\n\\t} else if(item === null) {\\n\\t\\treturn [\\\"null\\\"]\\n\\t} else if(typeof item === \\\"object\\\") {\\n\\t\\tvar results = [],i,t;\\n\\t\\tif($tw.utils.isArray(item)) {\\n\\t\\t\\t// Return all the items in arrays recursively\\n\\t\\t\\tfor(i=0; i\u003Citem.length; i++) {\\n\\t\\t\\t\\tt = convertDataItemValueToStrings(item[i])\\n\\t\\t\\t\\tif(t !== undefined) {\\n\\t\\t\\t\\t\\tresults.push.apply(results,t);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\t// Return all the values in objects recursively\\n\\t\\t\\t$tw.utils.each(Object.keys(item).sort(),function(key) {\\n\\t\\t\\t\\tt = convertDataItemValueToStrings(item[key]);\\n\\t\\t\\t\\tif(t !== undefined) {\\n\\t\\t\\t\\t\\tresults.push.apply(results,t);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\treturn results;\\n\\t}\\n\\treturn [item.toString()];\\n}\\n\\n/*\\nReturn an array of the string representation of the keys of a data item, or \\\"undefined\\\" if the item is undefined\\n*/\\nfunction convertDataItemKeysToStrings(item) {\\n\\t// Return the item as a string\\n\\tif(item === undefined) {\\n\\t\\treturn item;\\n\\t} else if(typeof item === \\\"object\\\") {\\n\\t\\tif(item === null) {\\n\\t\\t\\treturn [];\\n\\t\\t}\\n\\t\\tvar results = [];\\n\\t\\tif($tw.utils.isArray(item)) {\\n\\t\\t\\tfor(var i=0; i\u003Citem.length; i++) {\\n\\t\\t\\t\\tresults.push(i.toString());\\n\\t\\t\\t}\\n\\t\\t\\treturn results;\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.each(Object.keys(item).sort(),function(key) {\\n\\t\\t\\t\\tresults.push(key);\\n\\t\\t\\t});\\n\\t\\t\\treturn results;\\n\\t\\t}\\n\\t}\\n\\treturn [];\\n}\\n\\nfunction getDataItemType(data,indexes) {\\n\\t// Get the item\\n\\tvar item = getDataItem(data,indexes);\\n\\t// Return the item type\\n\\tif(item === undefined) {\\n\\t\\treturn item;\\n\\t} else if(item === null) {\\n\\t\\treturn \\\"null\\\";\\n\\t} else if($tw.utils.isArray(item)) {\\n\\t\\treturn \\\"array\\\";\\n\\t} else if(typeof item === \\\"object\\\") {\\n\\t\\treturn \\\"object\\\";\\n\\t} else {\\n\\t\\treturn typeof item;\\n\\t}\\n}\\n\\n/*\\nGiven a JSON data structure and an array of index strings, return the value at the end of the index chain, or \\\"undefined\\\" if any of the index strings are invalid\\n*/\\nfunction getDataItem(data,indexes) {\\n\\tif(indexes.length === 0 || (indexes.length === 1 && indexes[0] === \\\"\\\")) {\\n\\t\\treturn data;\\n\\t}\\n\\t// Get the item\\n\\tvar item = data;\\n\\tfor(var i=0; i\u003Cindexes.length; i++) {\\n\\t\\tif(item !== undefined) {\\n\\t\\t\\tif(item !== null && [\\\"number\\\",\\\"string\\\",\\\"boolean\\\"].indexOf(typeof item) === -1) {\\n\\t\\t\\t\\titem = item[indexes[i]];\\n\\t\\t\\t} else {\\n\\t\\t\\t\\titem = undefined;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn item;\\n}\\n\\n})();\\n\\t\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/limit.js\":{\"title\":\"$:/core/modules/filters/limit.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/limit.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for chopping the results to a specified maximum number of entries\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.limit = function(source,operator,options) {\\n\\tvar results = [];\\n\\t// Convert to an array\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\t// Slice the array if necessary\\n\\tvar limit = Math.min(results.length,parseInt(operator.operand,10));\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tresults = results.slice(-limit);\\n\\t} else {\\n\\t\\tresults = results.slice(0,limit);\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/links.js\":{\"title\":\"$:/core/modules/filters/links.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/links.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning all the links from a tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.links = function(source,operator,options) {\\n\\tvar results = new $tw.utils.LinkedList();\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.pushTop(options.wiki.getTiddlerLinks(title));\\n\\t});\\n\\treturn results.makeTiddlerIterator(options.wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/list.js\":{\"title\":\"$:/core/modules/filters/list.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/list.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the tiddlers whose title is listed in the operand tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.list = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\ttr = $tw.utils.parseTextReference(operator.operand),\\n\\t\\tcurrTiddlerTitle = options.widget && options.widget.getVariable(\\\"currentTiddler\\\"),\\n\\t\\tlist = options.wiki.getTiddlerList(tr.title || currTiddlerTitle,tr.field,tr.index);\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(list.indexOf(title) === -1) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tresults = list;\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/listed.js\":{\"title\":\"$:/core/modules/filters/listed.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/listed.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning all tiddlers that have the selected tiddlers in a list\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.listed = function(source,operator,options) {\\n\\tvar field = operator.operand || \\\"list\\\",\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\t$tw.utils.pushTop(results,options.wiki.findListingsOfTiddler(title,field));\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/listops.js\":{\"title\":\"$:/core/modules/filters/listops.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/listops.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operators for manipulating the current selection list\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nOrder a list\\n*/\\nexports.order = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif(operator.operand.toLowerCase() === \\\"reverse\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.unshift(title);\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n/*\\nReverse list\\n*/\\nexports.reverse = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.unshift(title);\\n\\t});\\n\\treturn results;\\n};\\n\\n/*\\nFirst entry/entries in list\\n*/\\nexports.first = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,1),\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results.slice(0,count);\\n};\\n\\n/*\\nLast entry/entries in list\\n*/\\nexports.last = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,1),\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results.slice(-count);\\n};\\n\\n/*\\nAll but the first entry/entries of the list\\n*/\\nexports.rest = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,1),\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results.slice(count);\\n};\\nexports.butfirst = exports.rest;\\nexports.bf = exports.rest;\\n\\n/*\\nAll but the last entry/entries of the list\\n*/\\nexports.butlast = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,1),\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\tvar index = count === 0 ? results.length : -count;\\n\\treturn results.slice(0,index);\\n};\\nexports.bl = exports.butlast;\\n\\n/*\\nThe nth member of the list\\n*/\\nexports.nth = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,1),\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results.slice(count - 1,count);\\n};\\n\\n/*\\nThe zero based nth member of the list\\n*/\\nexports.zth = function(source,operator,options) {\\n\\tvar count = $tw.utils.getInt(operator.operand,0),\\n\\t\\tresults = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results.slice(count,count + 1);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/lookup.js\":{\"title\":\"$:/core/modules/filters/lookup.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/lookup.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that looks up values via a title prefix\\n\\n[lookup:\u003Cdefaultvalue>:\u003Cfield OR index>[\u003Cprefix>],[\u003Cfield-name OR index-name>]]\\n\\nPrepends the prefix to the selected items and returns the specified \\nfield or index value. If the 2nd suffix does not exist, it defaults to field.\\nIf the second operand is missing it defaults to \\\"text\\\" for fields, and \\\"0\\\" for indexes\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.lookup = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = operator.suffixes || [],\\n\\t\\tdefaultSuffix = suffixes[0] ? (suffixes[0][0] || \\\"\\\") : \\\"\\\",\\n\\t\\tindexSuffix = (suffixes[1] && suffixes[1][0] === \\\"index\\\") ? true : false,\\n\\t\\ttarget;\\n\\tif(operator.operands.length == 2) {\\n\\t\\ttarget = operator.operands[1]\\n\\t} else {\\n\\t\\ttarget = indexSuffix ? \\\"0\\\": \\\"text\\\";\\n\\t}\\n\\tif(indexSuffix) {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tvar data = options.wiki.extractTiddlerDataItem(operator.operands[0]+title,target,defaultSuffix);\\n\\t\\t\\tresults.push(data);\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tvar value = defaultSuffix;\\n\\t\\t\\tvar targetTiddler = options.wiki.getTiddler(operator.operands[0]+title);\\n\\t\\t\\tif(targetTiddler && targetTiddler.getFieldString(target)) {\\n\\t\\t\\t\\tvalue = targetTiddler.getFieldString(target);\\n\\t\\t\\t}\\n\\t\\t\\tresults.push(value);\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/match.js\":{\"title\":\"$:/core/modules/filters/match.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/match.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking if a title matches a string\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.match = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [];\\n\\tif(suffixes.indexOf(\\\"caseinsensitive\\\") !== -1) {\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase() !== (operator.operand || \\\"\\\").toLowerCase()) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase() === (operator.operand || \\\"\\\").toLowerCase()) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title !== operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title === operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/math.js\":{\"title\":\"$:/core/modules/filters/math.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/math.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operators for math. Unary/binary operators work on each item in turn, and return a new item list.\\n\\nSum/product/maxall/minall operate on the entire list, returning a single item.\\n\\nNote that strings are converted to numbers automatically. Trailing non-digits are ignored.\\n\\n* \\\"\\\" converts to 0\\n* \\\"12kk\\\" converts to 12\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.negate = makeNumericBinaryOperator(\\n\\tfunction(a) {return -a}\\n);\\n\\nexports.abs = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.abs(a)}\\n);\\n\\nexports.ceil = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.ceil(a)}\\n);\\n\\nexports.floor = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.floor(a)}\\n);\\n\\nexports.round = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.round(a)}\\n);\\n\\nexports.trunc = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.trunc(a)}\\n);\\n\\nexports.untrunc = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.ceil(Math.abs(a)) * Math.sign(a)}\\n);\\n\\nexports.sign = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.sign(a)}\\n);\\n\\nexports.add = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return a + b;}\\n);\\n\\nexports.subtract = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return a - b;}\\n);\\n\\nexports.multiply = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return a * b;}\\n);\\n\\nexports.divide = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return a / b;}\\n);\\n\\nexports.remainder = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return a % b;}\\n);\\n\\nexports.max = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Math.max(a,b);}\\n);\\n\\nexports.min = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Math.min(a,b);}\\n);\\n\\nexports.fixed = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Number.prototype.toFixed.call(a,Math.min(Math.max(b,0),100));}\\n);\\n\\nexports.precision = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Number.prototype.toPrecision.call(a,Math.min(Math.max(b,1),100));}\\n);\\n\\nexports.exponential = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Number.prototype.toExponential.call(a,Math.min(Math.max(b,0),100));}\\n);\\n\\nexports.power = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Math.pow(a,b);}\\n);\\n\\nexports.log = makeNumericBinaryOperator(\\n\\tfunction(a,b) {\\n\\t\\tif(b) {\\n\\t\\t\\treturn Math.log(a)/Math.log(b);\\n\\t\\t} else {\\n\\t\\t\\treturn Math.log(a);\\n\\t\\t}\\n\\t}\\n);\\n\\nexports.sum = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return accumulator + value},\\n\\t0 // Initial value\\n);\\n\\nexports.product = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return accumulator * value},\\n\\t1 // Initial value\\n);\\n\\nexports.maxall = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return Math.max(accumulator,value)},\\n\\t-Infinity // Initial value\\n);\\n\\nexports.minall = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return Math.min(accumulator,value)},\\n\\tInfinity // Initial value\\n);\\n\\nexports.median = makeNumericArrayOperator(\\n\\tfunction(values) {\\n\\t\\tvar len = values.length, median;\\n\\t\\tvalues.sort();\\n\\t\\tif(len % 2) { \\n\\t\\t\\t// Odd, return the middle number\\n\\t\\t\\tmedian = values[(len - 1) / 2];\\n\\t\\t} else {\\n\\t\\t\\t// Even, return average of two middle numbers\\n\\t\\t\\tmedian = (values[len / 2 - 1] + values[len / 2]) / 2;\\n\\t\\t}\\n\\t\\treturn [median];\\n\\t}\\n);\\n\\nexports.average = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return accumulator + value},\\n\\t0, // Initial value\\n\\tfunction(finalValue,numberOfValues) {\\n\\t\\treturn finalValue/numberOfValues;\\n\\t}\\n);\\n\\nexports.variance = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return accumulator + value},\\n\\t0,\\n\\tfunction(finalValue,numberOfValues,originalValues) {\\n\\t\\treturn getVarianceFromArray(originalValues,finalValue/numberOfValues);\\n\\t}\\n);\\n\\nexports[\\\"standard-deviation\\\"] = makeNumericReducingOperator(\\n\\tfunction(accumulator,value) {return accumulator + value},\\n\\t0,\\n\\tfunction(finalValue,numberOfValues,originalValues) {\\n\\t\\tvar variance = getVarianceFromArray(originalValues,finalValue/numberOfValues);\\n\\t\\treturn Math.sqrt(variance);\\n\\t}\\n);\\n\\n//trigonometry\\nexports.cos = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.cos(a)}\\n);\\n\\nexports.sin = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.sin(a)}\\n);\\n\\nexports.tan = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.tan(a)}\\n);\\n\\nexports.acos = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.acos(a)}\\n);\\n\\nexports.asin = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.asin(a)}\\n);\\n\\nexports.atan = makeNumericBinaryOperator(\\n\\tfunction(a) {return Math.atan(a)}\\n);\\n\\nexports.atan2 = makeNumericBinaryOperator(\\n\\tfunction(a,b) {return Math.atan2(a,b)}\\n);\\n\\n//Calculate the variance of a population of numbers in an array given its mean\\nfunction getVarianceFromArray(values,mean) {\\n\\tvar deviationTotal = values.reduce(function(accumulator,value) {\\n\\t\\treturn accumulator + Math.pow(value - mean, 2);\\n\\t},0);\\n\\treturn deviationTotal/values.length;\\n};\\n\\nfunction makeNumericBinaryOperator(fnCalc) {\\n\\treturn function(source,operator,options) {\\n\\t\\tvar result = [],\\n\\t\\t\\tnumOperand = $tw.utils.parseNumber(operator.operand);\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresult.push($tw.utils.stringifyNumber(fnCalc($tw.utils.parseNumber(title),numOperand)));\\n\\t\\t});\\n\\t\\treturn result;\\n\\t};\\n};\\n\\nfunction makeNumericReducingOperator(fnCalc,initialValue,fnFinal) {\\n\\tinitialValue = initialValue || 0;\\n\\treturn function(source,operator,options) {\\n\\t\\tvar result = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresult.push($tw.utils.parseNumber(title));\\n\\t\\t});\\n\\t\\tvar value = result.reduce(function(accumulator,currentValue) {\\n\\t\\t\\t\\treturn fnCalc(accumulator,currentValue);\\n\\t\\t\\t},initialValue);\\n\\t\\tif(fnFinal) {\\n\\t\\t\\tvalue = fnFinal(value,result.length,result);\\n\\t\\t}\\n\\t\\treturn [$tw.utils.stringifyNumber(value)];\\n\\t};\\n};\\n\\nfunction makeNumericArrayOperator(fnCalc) {\\n\\treturn function(source,operator,options) {\\n\\t\\tvar results = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push($tw.utils.parseNumber(title));\\n\\t\\t});\\n\\t\\tresults = fnCalc(results);\\n\\t\\t$tw.utils.each(results,function(value,index) {\\n\\t\\t\\tresults[index] = $tw.utils.stringifyNumber(value);\\n\\t\\t});\\n\\t\\treturn results;\\n\\t};\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/minlength.js\":{\"title\":\"$:/core/modules/filters/minlength.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/minlength.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for filtering out titles that don't meet the minimum length in the operand\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.minlength = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tminLength = parseInt(operator.operand || \\\"\\\",10) || 0;\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(title.length >= minLength) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/moduleproperty.js\":{\"title\":\"$:/core/modules/filters/moduleproperty.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/moduleproperty.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter [[module-name]moduleproperty[name]] retrieve a module property\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.moduleproperty = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar value = require(title)[operator.operand || \\\"\\\"];\\n\\t\\tif(value !== undefined) {\\n\\t\\t\\tresults.push(value);\\n\\t\\t}\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/modules.js\":{\"title\":\"$:/core/modules/filters/modules.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/modules.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the titles of the modules of a given type in this wiki\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.modules = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif(operator.operands.length >= 2) {\\n\\t\\t// Return the modules that have the module property specified in the first operand with the value in the second operand\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t$tw.utils.each($tw.modules.types[title],function(moduleInfo,moduleName) {\\n\\t\\t\\t\\tif(require(moduleName)[operator.operands[0]] === operator.operands[1]) {\\n\\t\\t\\t\\t\\tresults.push(moduleName);\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t});\\n\\t} else {\\n\\t\\t// Return all the module names without filtering\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t$tw.utils.each($tw.modules.types[title],function(moduleInfo,moduleName) {\\n\\t\\t\\t\\tresults.push(moduleName);\\n\\t\\t\\t});\\n\\t\\t});\\n\\t}\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/moduletypes.js\":{\"title\":\"$:/core/modules/filters/moduletypes.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/moduletypes.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the module types in this wiki\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.moduletypes = function(source,operator,options) {\\n\\tvar results = [];\\n\\t$tw.utils.each($tw.modules.types,function(moduleInfo,type) {\\n\\t\\tresults.push(type);\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/next.js\":{\"title\":\"$:/core/modules/filters/next.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/next.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the tiddler whose title occurs next in the list supplied in the operand tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.next = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tlist = options.wiki.getTiddlerList(operator.operand);\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar match = list.indexOf(title);\\n\\t\\t// increment match and then test if result is in range\\n\\t\\tmatch++;\\n\\t\\tif(match > 0 && match \u003C list.length) {\\n\\t\\t\\tresults.push(list[match]);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/plugintiddlers.js\":{\"title\":\"$:/core/modules/filters/plugintiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/plugintiddlers.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the titles of the shadow tiddlers within a plugin\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.plugintiddlers = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar pluginInfo = options.wiki.getPluginInfo(title) || options.wiki.getTiddlerDataCached(title,{tiddlers:[]});\\n\\t\\tif(pluginInfo && pluginInfo.tiddlers) {\\n\\t\\t\\t$tw.utils.each(pluginInfo.tiddlers,function(fields,title) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/prefix.js\":{\"title\":\"$:/core/modules/filters/prefix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/prefix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking if a title starts with a prefix\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.prefix = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [];\\n\\tif(suffixes.indexOf(\\\"caseinsensitive\\\") !== -1) {\\n\\t\\tvar operand = operator.operand.toLowerCase();\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase().substr(0,operand.length) !== operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase().substr(0,operand.length) === operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.substr(0,operator.operand.length) !== operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.substr(0,operator.operand.length) === operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/previous.js\":{\"title\":\"$:/core/modules/filters/previous.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/previous.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning the tiddler whose title occurs immediately prior in the list supplied in the operand tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.previous = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tlist = options.wiki.getTiddlerList(operator.operand);\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar match = list.indexOf(title);\\n\\t\\t// increment match and then test if result is in range\\n\\t\\tmatch--;\\n\\t\\tif(match >= 0) {\\n\\t\\t\\tresults.push(list[match]);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/range.js\":{\"title\":\"$:/core/modules/filters/range.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/range.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for generating a numeric range.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.range = function(source,operator,options) {\\n\\tvar results = [];\\n\\t// For backwards compatibility, if there is only one operand, try to split it using one of the delimiters\\n\\tvar parts = operator.operands || [];\\n\\tif(parts.length === 1) {\\n\\t\\tparts = operator.operand.split(/[,:;]/g);\\n\\t}\\n\\t// Process the parts\\n\\tvar beg, end, inc, i, fixed = 0;\\n\\tfor (i=0; i\u003Cparts.length; i++) {\\n\\t\\t// Validate real number\\n\\t\\tif(!/^\\\\s*[+-]?((\\\\d+(\\\\.\\\\d*)?)|(\\\\.\\\\d+))\\\\s*$/.test(parts[i])) {\\n\\t\\t\\treturn [\\\"range: bad number \\\\\\\"\\\" + parts[i] + \\\"\\\\\\\"\\\"];\\n\\t\\t}\\n\\t\\t// Count digits; the most precise number determines decimal places in output.\\n\\t\\tvar frac = /\\\\.\\\\d+/.exec(parts[i]);\\n\\t\\tif(frac) {\\n\\t\\t\\tfixed = Math.max(fixed,frac[0].length-1);\\n\\t\\t}\\n\\t\\tparts[i] = parseFloat(parts[i]);\\n\\t}\\n\\tswitch(parts.length) {\\n\\t\\tcase 1:\\n\\t\\t\\tend = parts[0];\\n\\t\\t\\tif (end >= 1) {\\n\\t\\t\\t\\tbeg = 1;\\n\\t\\t\\t}\\n\\t\\t\\telse if (end \u003C= -1) {\\n\\t\\t\\t\\tbeg = -1;\\n\\t\\t\\t}\\n\\t\\t\\telse {\\n\\t\\t\\t\\treturn [];\\n\\t\\t\\t}\\n\\t\\t\\tinc = 1;\\n\\t\\t\\tbreak;\\n\\t\\tcase 2:\\n\\t\\t\\tbeg = parts[0];\\n\\t\\t\\tend = parts[1];\\n\\t\\t\\tinc = 1;\\n\\t\\t\\tbreak;\\n\\t\\tcase 3:\\n\\t\\t\\tbeg = parts[0];\\n\\t\\t\\tend = parts[1];\\n\\t\\t\\tinc = Math.abs(parts[2]);\\n\\t\\t\\tbreak;\\n\\t}\\n\\tif(inc === 0) {\\n\\t\\treturn [\\\"range: increment 0 causes infinite loop\\\"];\\n\\t}\\n\\t// May need to count backwards\\n\\tvar direction = ((end \u003C beg) ? -1 : 1);\\n\\tinc *= direction;\\n\\t// Estimate number of resulting elements\\n\\tif((end - beg) / inc > 10000) {\\n\\t\\treturn [\\\"range: too many steps (over 10K)\\\"];\\n\\t}\\n\\t// Avoid rounding error on last step\\n\\tend += direction * 0.5 * Math.pow(0.1,fixed);\\n\\tvar safety = 10010;\\n\\t// Enumerate the range\\n\\tif (end\u003Cbeg) {\\n\\t\\tfor(i=beg; i>end; i+=inc) {\\n\\t\\t\\tresults.push(i.toFixed(fixed));\\n\\t\\t\\tif(--safety\u003C0) {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\tfor(i=beg; i\u003Cend; i+=inc) {\\n\\t\\t\\tresults.push(i.toFixed(fixed));\\n\\t\\t\\tif(--safety\u003C0) {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\tif(safety\u003C0) {\\n\\t\\treturn [\\\"range: unexpectedly large output\\\"];\\n\\t}\\n\\t// Reverse?\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tresults.reverse();\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/reduce.js\":{\"title\":\"$:/core/modules/filters/reduce.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/reduce.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator evaluates a subfilter for each item, making the running total available in the variable `accumulator`, and the current index available in the variable `index`\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.reduce = function(source,operator,options) {\\n\\t// Accumulate the list\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\t// Run the filter over each item\\n\\tvar filterFn = options.wiki.compileFilter(operator.operand),\\n\\t\\taccumulator = operator.operands[1] || \\\"\\\";\\n\\tfor(var index=0; index\u003Cresults.length; index++) {\\n\\t\\tvar title = results[index],\\n\\t\\t\\tlist = filterFn.call(options.wiki,options.wiki.makeTiddlerIterator([title]),options.widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\t\\\"..currentTiddler\\\": options.widget.getVariable(\\\"currentTiddler\\\"),\\n\\t\\t\\t\\t\\\"accumulator\\\": \\\"\\\" + accumulator,\\n\\t\\t\\t\\t\\\"index\\\": \\\"\\\" + index,\\n\\t\\t\\t\\t\\\"revIndex\\\": \\\"\\\" + (results.length - 1 - index),\\n\\t\\t\\t\\t\\\"length\\\": \\\"\\\" + results.length\\n\\t\\t\\t}));\\n\\t\\tif(list.length > 0) {\\n\\t\\t\\taccumulator = \\\"\\\" + list[0];\\n\\t\\t}\\n\\t}\\n\\tif(results.length > 0) {\\n\\t\\treturn [accumulator];\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/regexp.js\":{\"title\":\"$:/core/modules/filters/regexp.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/regexp.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for regexp matching\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.regexp = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tfieldname = operator.suffix || \\\"title\\\",\\n\\t\\tregexpString, regexp, flags = \\\"\\\", match,\\n\\t\\tgetFieldString = function(tiddler,title) {\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\treturn tiddler.getFieldString(fieldname);\\n\\t\\t\\t} else if(fieldname === \\\"title\\\") {\\n\\t\\t\\t\\treturn title;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn null;\\n\\t\\t\\t}\\n\\t\\t};\\n\\t// Process flags and construct regexp\\n\\tregexpString = operator.operand;\\n\\tmatch = /^\\\\(\\\\?([gim]+)\\\\)/.exec(regexpString);\\n\\tif(match) {\\n\\t\\tflags = match[1];\\n\\t\\tregexpString = regexpString.substr(match[0].length);\\n\\t} else {\\n\\t\\tmatch = /\\\\(\\\\?([gim]+)\\\\)$/.exec(regexpString);\\n\\t\\tif(match) {\\n\\t\\t\\tflags = match[1];\\n\\t\\t\\tregexpString = regexpString.substr(0,regexpString.length - match[0].length);\\n\\t\\t}\\n\\t}\\n\\ttry {\\n\\t\\tregexp = new RegExp(regexpString,flags);\\n\\t} catch(e) {\\n\\t\\treturn [\\\"\\\" + e];\\n\\t}\\n\\t// Process the incoming tiddlers\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tvar text = getFieldString(tiddler,title);\\n\\t\\t\\tif(text !== null) {\\n\\t\\t\\t\\tif(!regexp.exec(text)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tvar text = getFieldString(tiddler,title);\\n\\t\\t\\tif(text !== null) {\\n\\t\\t\\t\\tif(!!regexp.exec(text)) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/removeprefix.js\":{\"title\":\"$:/core/modules/filters/removeprefix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/removeprefix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for removing a prefix from each title in the list. Titles that do not start with the prefix are removed.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.removeprefix = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [];\\n\\tif(suffixes.indexOf(\\\"caseinsensitive\\\") !== -1) {\\n\\t\\tvar operand = operator.operand.toLowerCase();\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title.toLowerCase().substr(0,operand.length) === operand) {\\n\\t\\t\\t\\tresults.push(title.substr(operand.length));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title.substr(0,operator.operand.length) === operator.operand) {\\n\\t\\t\\t\\tresults.push(title.substr(operator.operand.length));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/removesuffix.js\":{\"title\":\"$:/core/modules/filters/removesuffix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/removesuffix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for removing a suffix from each title in the list. Titles that do not end with the suffix are removed.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.removesuffix = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [];\\n\\tif (!operator.operand) {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t} else if(suffixes.indexOf(\\\"caseinsensitive\\\") !== -1) {\\n\\t\\tvar operand = operator.operand.toLowerCase();\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title && title.toLowerCase().substr(-operand.length) === operand) {\\n\\t\\t\\t\\tresults.push(title.substr(0,title.length - operand.length));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(title && title.substr(-operator.operand.length) === operator.operand) {\\n\\t\\t\\t\\tresults.push(title.substr(0,title.length - operator.operand.length));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/sameday.js\":{\"title\":\"$:/core/modules/filters/sameday.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/sameday.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that selects tiddlers with a modified date field on the same day as the provided value.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.sameday = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tfieldName = operator.suffix || \\\"modified\\\",\\n\\t\\ttargetDate = (new Date($tw.utils.parseDate(operator.operand))).setHours(0,0,0,0);\\n\\t// Function to convert a date/time to a date integer\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(tiddler) {\\n\\t\\t\\tif(tiddler.getFieldDay(fieldName) === targetDate) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/search.js\":{\"title\":\"$:/core/modules/filters/search.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/search.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for searching for the text in the operand tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.search = function(source,operator,options) {\\n\\tvar invert = operator.prefix === \\\"!\\\";\\n\\tif(operator.suffixes) {\\n\\t\\tvar hasFlag = function(flag) {\\n\\t\\t\\t\\treturn (operator.suffixes[1] || []).indexOf(flag) !== -1;\\n\\t\\t\\t},\\n\\t\\t\\texcludeFields = false,\\n\\t\\t\\tfieldList = operator.suffixes[0] || [],\\n\\t\\t\\tfirstField = fieldList[0] || \\\"\\\", \\n\\t\\t\\tfirstChar = firstField.charAt(0),\\n\\t\\t\\tfields;\\n\\t\\tif(firstChar === \\\"-\\\") {\\n\\t\\t\\tfields = [firstField.slice(1)].concat(fieldList.slice(1));\\n\\t\\t\\texcludeFields = true;\\n\\t\\t} else if(fieldList[0] === \\\"*\\\"){\\n\\t\\t\\tfields = [];\\n\\t\\t\\texcludeFields = true;\\n\\t\\t} else {\\n\\t\\t\\tfields = fieldList.slice(0);\\n\\t\\t}\\n\\t\\treturn options.wiki.search(operator.operand,{\\n\\t\\t\\tsource: source,\\n\\t\\t\\tinvert: invert,\\n\\t\\t\\tfield: fields,\\n\\t\\t\\texcludeField: excludeFields,\\n\\t\\t\\tsome: hasFlag(\\\"some\\\"),\\n\\t\\t\\tcaseSensitive: hasFlag(\\\"casesensitive\\\"),\\n\\t\\t\\tliteral: hasFlag(\\\"literal\\\"),\\n\\t\\t\\twhitespace: hasFlag(\\\"whitespace\\\"),\\n\\t\\t\\tanchored: hasFlag(\\\"anchored\\\"),\\n\\t\\t\\tregexp: hasFlag(\\\"regexp\\\"),\\n\\t\\t\\twords: hasFlag(\\\"words\\\")\\n\\t\\t});\\n\\t} else {\\n\\t\\treturn options.wiki.search(operator.operand,{\\n\\t\\t\\tsource: source,\\n\\t\\t\\tinvert: invert\\n\\t\\t});\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/shadowsource.js\":{\"title\":\"$:/core/modules/filters/shadowsource.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/shadowsource.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the source plugins for shadow tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.shadowsource = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar source = options.wiki.getShadowSource(title);\\n\\t\\tif(source) {\\n\\t\\t\\t$tw.utils.pushTop(results,source);\\n\\t\\t}\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/slugify.js\":{\"title\":\"$:/core/modules/filters/slugify.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/slugify.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for slugifying a tiddler title\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.slugify = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(options.wiki.slugify(title));\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/sort.js\":{\"title\":\"$:/core/modules/filters/sort.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/sort.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for sorting\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.sort = function(source,operator,options) {\\n\\tvar results = prepare_results(source);\\n\\toptions.wiki.sortTiddlers(results,operator.operand || \\\"title\\\",operator.prefix === \\\"!\\\",false,false);\\n\\treturn results;\\n};\\n\\nexports.nsort = function(source,operator,options) {\\n\\tvar results = prepare_results(source);\\n\\toptions.wiki.sortTiddlers(results,operator.operand || \\\"title\\\",operator.prefix === \\\"!\\\",false,true);\\n\\treturn results;\\n};\\n\\nexports.sortan = function(source, operator, options) {\\n\\tvar results = prepare_results(source);\\n\\toptions.wiki.sortTiddlers(results, operator.operand || \\\"title\\\", operator.prefix === \\\"!\\\",false,false,true);\\n\\treturn results;\\n};\\n\\nexports.sortcs = function(source,operator,options) {\\n\\tvar results = prepare_results(source);\\n\\toptions.wiki.sortTiddlers(results,operator.operand || \\\"title\\\",operator.prefix === \\\"!\\\",true,false);\\n\\treturn results;\\n};\\n\\nexports.nsortcs = function(source,operator,options) {\\n\\tvar results = prepare_results(source);\\n\\toptions.wiki.sortTiddlers(results,operator.operand || \\\"title\\\",operator.prefix === \\\"!\\\",true,true);\\n\\treturn results;\\n};\\n\\nvar prepare_results = function (source) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(title);\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/sortsub.js\":{\"title\":\"$:/core/modules/filters/sortsub.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/sortsub.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for sorting by a subfilter\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.sortsub = function(source,operator,options) {\\n\\t// Compile the subfilter\\n\\tvar filterFn = options.wiki.compileFilter(operator.operand);\\n\\t// Collect the input titles and the corresponding sort keys\\n\\tvar inputTitles = [],\\n\\t\\tsortKeys = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tinputTitles.push(title);\\n\\t\\tvar r = filterFn.call(options.wiki,function(iterator) {\\n\\t\\t\\titerator(options.wiki.getTiddler(title),title);\\n\\t\\t},options.widget.makeFakeWidgetWithVariables({\\n\\t\\t\\t\\\"currentTiddler\\\": \\\"\\\" + title,\\n\\t\\t\\t\\\"..currentTiddler\\\": options.widget.getVariable(\\\"currentTiddler\\\")\\n\\t\\t}));\\n\\t\\tsortKeys.push(r[0] || \\\"\\\");\\n\\t});\\n\\t// Rather than sorting the titles array, we'll sort the indexes so that we can consult both arrays\\n\\tvar indexes = new Array(inputTitles.length);\\n\\tfor(var t=0; t\u003CinputTitles.length; t++) {\\n\\t\\tindexes[t] = t;\\n\\t}\\n\\t// Sort the indexes\\n\\tvar compareFn = $tw.utils.makeCompareFunction(operator.suffix,{defaultType: \\\"string\\\",invert: operator.prefix === \\\"!\\\"});\\n\\tindexes = indexes.sort(function(a,b) {\\n\\t\\treturn compareFn(sortKeys[a],sortKeys[b]);\\n\\t});\\n\\t// Make the results array in order\\n\\tvar results = [];\\n\\t$tw.utils.each(indexes,function(index) {\\n\\t\\tresults.push(inputTitles[index]);\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/splitbefore.js\":{\"title\":\"$:/core/modules/filters/splitbefore.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/splitbefore.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator that splits each result on the first occurance of the specified separator and returns the unique values.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.splitbefore = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar parts = title.split(operator.operand);\\n\\t\\tif(parts.length === 1) {\\n\\t\\t\\t$tw.utils.pushTop(results,parts[0]);\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.pushTop(results,parts[0] + operator.operand);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/storyviews.js\":{\"title\":\"$:/core/modules/filters/storyviews.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/storyviews.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the story views in this wiki\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.storyviews = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tstoryviews = {};\\n\\t$tw.modules.applyMethods(\\\"storyview\\\",storyviews);\\n\\t$tw.utils.each(storyviews,function(info,name) {\\n\\t\\tresults.push(name);\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/strings.js\":{\"title\":\"$:/core/modules/filters/strings.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/strings.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operators for strings. Unary/binary operators work on each item in turn, and return a new item list.\\n\\nSum/product/maxall/minall operate on the entire list, returning a single item.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.length = makeStringBinaryOperator(\\n\\tfunction(a) {return [\\\"\\\" + (\\\"\\\" + a).length];}\\n);\\n\\nexports.uppercase = makeStringBinaryOperator(\\n\\tfunction(a) {return [(\\\"\\\" + a).toUpperCase()];}\\n);\\n\\nexports.lowercase = makeStringBinaryOperator(\\n\\tfunction(a) {return [(\\\"\\\" + a).toLowerCase()];}\\n);\\n\\nexports.sentencecase = makeStringBinaryOperator(\\n\\tfunction(a) {return [$tw.utils.toSentenceCase(a)];}\\n);\\n\\nexports.titlecase = makeStringBinaryOperator(\\n\\tfunction(a) {return [$tw.utils.toTitleCase(a)];}\\n);\\n\\nexports.trim = function(source,operator,options) {\\n\\tvar result = [],\\n\\t\\tsuffix = operator.suffix || \\\"\\\",\\n\\t\\toperand = (operator.operand || \\\"\\\"),\\n\\t\\tfnCalc;\\n\\tif(suffix === \\\"prefix\\\") {\\n\\t\\tfnCalc = function(a,b) {return [$tw.utils.trimPrefix(a,b)];}\\n\\t} else if(suffix === \\\"suffix\\\") {\\n\\t\\tfnCalc = function(a,b) {return [$tw.utils.trimSuffix(a,b)];}\\n\\t} else {\\n\\t\\tif(operand === \\\"\\\") {\\n\\t\\t\\tfnCalc = function(a) {return [$tw.utils.trim(a)];}\\n\\t\\t} else {\\n\\t\\t\\tfnCalc = function(a,b) {return [$tw.utils.trimSuffix($tw.utils.trimPrefix(a,b),b)];}\\n\\t\\t}\\n\\t}\\n\\tsource(function(tiddler,title) {\\n\\t\\tArray.prototype.push.apply(result,fnCalc(title,operand));\\n\\t});\\n\\treturn result;\\n};\\n\\nexports.split = makeStringBinaryOperator(\\n\\tfunction(a,b) {return (\\\"\\\" + a).split(b);}\\n);\\n\\nexports[\\\"enlist-input\\\"] = makeStringBinaryOperator(\\n\\tfunction(a,o,s) {return $tw.utils.parseStringArray(\\\"\\\" + a,(s === \\\"raw\\\"));}\\n);\\n\\nexports.join = makeStringReducingOperator(\\n\\tfunction(accumulator,value,operand) {\\n\\t\\tif(accumulator === null) {\\n\\t\\t\\treturn value;\\n\\t\\t} else {\\n\\t\\t\\treturn accumulator + operand + value;\\n\\t\\t}\\n\\t},null\\n);\\n\\nvar dmp = require(\\\"$:/core/modules/utils/diff-match-patch/diff_match_patch.js\\\");\\n\\nexports.levenshtein = makeStringBinaryOperator(\\n\\tfunction(a,b) {\\n\\t\\tvar dmpObject = new dmp.diff_match_patch(),\\n\\t\\t\\tdiffs = dmpObject.diff_main(a,b);\\n\\t\\treturn [dmpObject.diff_levenshtein(diffs) + \\\"\\\"];\\n\\t}\\n);\\n\\n// these two functions are adapted from https://github.com/google/diff-match-patch/wiki/Line-or-Word-Diffs\\nfunction diffLineWordMode(text1,text2,mode) {\\n\\tvar dmpObject = new dmp.diff_match_patch();\\n\\tvar a = diffPartsToChars(text1,text2,mode);\\n\\tvar lineText1 = a.chars1;\\n\\tvar lineText2 = a.chars2;\\n\\tvar lineArray = a.lineArray;\\n\\tvar diffs = dmpObject.diff_main(lineText1,lineText2,false);\\n\\tdmpObject.diff_charsToLines_(diffs,lineArray);\\n\\treturn diffs;\\n}\\n\\nfunction diffPartsToChars(text1,text2,mode) {\\n\\tvar lineArray = [];\\n\\tvar lineHash = {};\\n\\tlineArray[0] = '';\\n\\n function diff_linesToPartsMunge_(text,mode) {\\n var chars = '';\\n var lineStart = 0;\\n var lineEnd = -1;\\n var lineArrayLength = lineArray.length,\\n regexpResult;\\n var searchRegexp = /\\\\W+/g;\\n while(lineEnd \u003C text.length - 1) {\\n\\t if(mode === \\\"words\\\") {\\n regexpResult = searchRegexp.exec(text);\\n lineEnd = searchRegexp.lastIndex;\\n if(regexpResult === null) {\\n lineEnd = text.length;\\n }\\n lineEnd = --lineEnd;\\n } else {\\n lineEnd = text.indexOf('\\\\n', lineStart);\\n if(lineEnd == -1) {\\n lineEnd = text.length - 1;\\n }\\n }\\n var line = text.substring(lineStart, lineEnd + 1);\\n\\n if(lineHash.hasOwnProperty ? lineHash.hasOwnProperty(line) : (lineHash[line] !== undefined)) {\\n\\t\\t\\t\\tchars += String.fromCharCode(lineHash[line]);\\n } else {\\n if (lineArrayLength == maxLines) {\\n line = text.substring(lineStart);\\n lineEnd = text.length;\\n }\\n chars += String.fromCharCode(lineArrayLength);\\n lineHash[line] = lineArrayLength;\\n lineArray[lineArrayLength++] = line;\\n }\\n lineStart = lineEnd + 1;\\n }\\n return chars;\\n }\\n var maxLines = 40000;\\n var chars1 = diff_linesToPartsMunge_(text1,mode);\\n maxLines = 65535;\\n var chars2 = diff_linesToPartsMunge_(text2,mode);\\n return {chars1: chars1, chars2: chars2, lineArray: lineArray};\\n};\\n\\nexports.makepatches = function(source,operator,options) {\\n\\tvar dmpObject = new dmp.diff_match_patch(),\\n\\t\\tsuffix = operator.suffix || \\\"\\\",\\n\\t\\tresult = [];\\n\\t\\t\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tvar diffs, patches;\\n\\t\\t\\tif(suffix === \\\"lines\\\" || suffix === \\\"words\\\") {\\n\\t\\t\\t\\tdiffs = diffLineWordMode(title,operator.operand,suffix);\\n\\t\\t\\t\\tpatches = dmpObject.patch_make(title,diffs);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tpatches = dmpObject.patch_make(title,operator.operand);\\n\\t\\t\\t}\\n\\t\\t\\tArray.prototype.push.apply(result,[dmpObject.patch_toText(patches)]);\\n\\t\\t});\\n\\n\\treturn result;\\n};\\n\\nexports.applypatches = makeStringBinaryOperator(\\n\\tfunction(a,b) {\\n\\t\\tvar dmpObject = new dmp.diff_match_patch(),\\n\\t\\t\\tpatches;\\n\\t\\ttry {\\n\\t\\t\\tpatches = dmpObject.patch_fromText(b);\\n\\t\\t} catch(e) {\\n\\t\\t}\\n\\t\\tif(patches) {\\n\\t\\t\\treturn [dmpObject.patch_apply(patches,a)[0]];\\n\\t\\t} else {\\n\\t\\t\\treturn [a];\\n\\t\\t}\\n\\t}\\n);\\n\\nfunction makeStringBinaryOperator(fnCalc) {\\n\\treturn function(source,operator,options) {\\n\\t\\tvar result = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tArray.prototype.push.apply(result,fnCalc(title,operator.operand || \\\"\\\",operator.suffix || \\\"\\\"));\\n\\t\\t});\\n\\t\\treturn result;\\n\\t};\\n}\\n\\nfunction makeStringReducingOperator(fnCalc,initialValue) {\\n\\treturn function(source,operator,options) {\\n\\t\\tvar result = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresult.push(title);\\n\\t\\t});\\n\\t\\tif(result.length === 0) {\\n\\t\\t\\treturn [];\\n\\t\\t}\\n\\t\\treturn [result.reduce(function(accumulator,currentValue) {\\n\\t\\t\\treturn fnCalc(accumulator,currentValue,operator.operand || \\\"\\\");\\n\\t\\t},initialValue) || \\\"\\\"];\\n\\t};\\n}\\n\\nexports.splitregexp = function(source,operator,options) {\\n\\tvar result = [],\\n\\t\\tsuffix = operator.suffix || \\\"\\\",\\n\\t\\tflags = (suffix.indexOf(\\\"m\\\") !== -1 ? \\\"m\\\" : \\\"\\\") + (suffix.indexOf(\\\"i\\\") !== -1 ? \\\"i\\\" : \\\"\\\"),\\n\\t\\tregExp;\\n\\ttry {\\n\\t\\tregExp = new RegExp(operator.operand || \\\"\\\",flags);\\n\\t} catch(ex) {\\n\\t\\treturn [\\\"RegExp error: \\\" + ex];\\n\\t}\\n\\tsource(function(tiddler,title) {\\n\\t\\tArray.prototype.push.apply(result,title.split(regExp));\\n\\t});\\n\\treturn result;\\n};\\n\\nexports[\\\"search-replace\\\"] = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = operator.suffixes || [],\\n\\t\\tflagSuffix = (suffixes[0] ? (suffixes[0][0] || \\\"\\\") : \\\"\\\"),\\n\\t\\tflags = (flagSuffix.indexOf(\\\"g\\\") !== -1 ? \\\"g\\\" : \\\"\\\") + (flagSuffix.indexOf(\\\"i\\\") !== -1 ? \\\"i\\\" : \\\"\\\") + (flagSuffix.indexOf(\\\"m\\\") !== -1 ? \\\"m\\\" : \\\"\\\"),\\n\\t\\tisRegExp = (suffixes[1] && suffixes[1][0] === \\\"regexp\\\") ? true : false,\\n\\t\\t//Escape regexp characters if the operand is not a regular expression\\n\\t\\tsearchTerm = isRegExp ? operator.operand : $tw.utils.escapeRegExp(operator.operand),\\n\\t\\t//Escape $ character in replacement string if not in regular expression mode\\n\\t\\treplacement = isRegExp ? operator.operands[1] : (operator.operands[1]||\\\"\\\").replace(/\\\\$/g,\\\"$$$$\\\"),\\n\\t\\tregExp;\\n\\ttry {\\n\\t\\tregExp = new RegExp(searchTerm,flags);\\n\\t} catch(ex) {\\n\\t\\treturn [\\\"RegExp error: \\\" + ex];\\n\\t}\\n\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(title && (operator.operands.length > 1)) {\\n\\t\\t\\tresults.push(\\n\\t\\t\\t\\ttitle.replace(regExp,replacement)\\n\\t\\t\\t);\\n\\t\\t\\tregExp.lastIndex = 0;\\n\\t\\t} else {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\nexports.pad = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\ttargetLength = operator.operand ? parseInt(operator.operand) : 0,\\n\\t\\tfill = operator.operands[1] || \\\"0\\\";\\n\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(title && title.length) {\\n\\t\\t\\tif(title.length >= targetLength) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvar padString = \\\"\\\",\\n\\t\\t\\t\\t\\tpadStringLength = targetLength - title.length;\\n\\t\\t\\t\\twhile (padStringLength > padString.length) {\\n\\t\\t\\t\\t\\tpadString += fill;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t//make sure we do not exceed the specified length\\n\\t\\t\\t\\tpadString = padString.slice(0,padStringLength);\\n\\t\\t\\t\\tif(operator.suffix && (operator.suffix === \\\"suffix\\\")) {\\n\\t\\t\\t\\t\\ttitle = title + padString;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\ttitle = padString + title;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n}\\n\\nexports.charcode = function(source,operator,options) {\\n\\tvar chars = [];\\n\\t$tw.utils.each(operator.operands,function(operand) {\\n\\t\\tif(operand !== \\\"\\\") {\\n\\t\\t\\tchars.push(String.fromCharCode($tw.utils.parseInt(operand)));\\n\\t\\t}\\n\\t});\\n\\treturn [chars.join(\\\"\\\")];\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/subfilter.js\":{\"title\":\"$:/core/modules/filters/subfilter.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/subfilter.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning its operand evaluated as a filter\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.subfilter = function(source,operator,options) {\\n\\tvar list = options.wiki.filterTiddlers(operator.operand,options.widget,source);\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tvar results = [];\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(list.indexOf(title) === -1) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn results;\\n\\t} else {\\n\\t\\treturn list;\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/substitute.js\":{\"title\":\"$:/core/modules/filters/substitute.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/substitute.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for substituting variables and embedded filter expressions with their corresponding values\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.substitute = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\toperands = [];\\n\\t$tw.utils.each(operator.operands,function(operand,index){\\n\\t\\toperands.push({\\n\\t\\t\\tname: (index + 1).toString(),\\n\\t\\t\\tvalue: operand\\n\\t\\t});\\n\\t});\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(title) {\\n\\t\\t\\tresults.push(options.wiki.getSubstitutedText(title,options.widget,{substitutions:operands}));\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n \",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/subtiddlerfields.js\":{\"title\":\"$:/core/modules/filters/subtiddlerfields.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/subtiddlerfields.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the fields on the selected subtiddlers of the plugin named in the operand\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.subtiddlerfields = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar subtiddler = options.wiki.getSubTiddler(operator.operand,title);\\n\\t\\tif(subtiddler) {\\n\\t\\t\\tfor(var fieldName in subtiddler.fields) {\\n\\t\\t\\t\\t$tw.utils.pushTop(results,fieldName);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/suffix.js\":{\"title\":\"$:/core/modules/filters/suffix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/suffix.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking if a title ends with a suffix\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.suffix = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\tsuffixes = (operator.suffixes || [])[0] || [];\\n\\tif (!operator.operand) {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t} else if(suffixes.indexOf(\\\"caseinsensitive\\\") !== -1) {\\n\\t\\tvar operand = operator.operand.toLowerCase();\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase().substr(-operand.length) !== operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.toLowerCase().substr(-operand.length) === operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.substr(-operator.operand.length) !== operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(title.substr(-operator.operand.length) === operator.operand) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/tag.js\":{\"title\":\"$:/core/modules/filters/tag.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/tag.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for checking for the presence of a tag\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tag = function(source,operator,options) {\\n\\tvar results = [],indexedResults;\\n\\tif((operator.suffix || \\\"\\\").toLowerCase() === \\\"strict\\\" && !operator.operand) {\\n\\t\\t// New semantics:\\n\\t\\t// Always return copy of input if operator.operand is missing\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t} else {\\n\\t\\t// Old semantics:\\n\\t\\tvar tiddlers;\\n\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\t// Returns a copy of the input if operator.operand is missing\\n\\t\\t\\ttiddlers = options.wiki.getTiddlersWithTag(operator.operand);\\n\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\tif(tiddlers.indexOf(title) === -1) {\\n\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\t// Returns empty results if operator.operand is missing\\n\\t\\t\\tif(source.byTag) {\\n\\t\\t\\t\\tindexedResults = source.byTag(operator.operand);\\n\\t\\t\\t\\tif(indexedResults) {\\n\\t\\t\\t\\t\\treturn indexedResults;\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\ttiddlers = options.wiki.getTiddlersWithTag(operator.operand);\\n\\t\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\t\\tif(tiddlers.indexOf(title) !== -1) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tresults = options.wiki.sortByList(results,operator.operand);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/tagging.js\":{\"title\":\"$:/core/modules/filters/tagging.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/tagging.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning all tiddlers that are tagged with the selected tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tagging = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\t$tw.utils.pushTop(results,options.wiki.getTiddlersWithTag(title));\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/tags.js\":{\"title\":\"$:/core/modules/filters/tags.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/tags.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning all the tags of the selected tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.tags = function(source,operator,options) {\\n\\tvar tags = {};\\n\\tsource(function(tiddler,title) {\\n\\t\\tvar t, length;\\n\\t\\tif(tiddler && tiddler.fields.tags) {\\n\\t\\t\\tfor(t=0, length=tiddler.fields.tags.length; t\u003Clength; t++) {\\n\\t\\t\\t\\ttags[tiddler.fields.tags[t]] = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn Object.keys(tags);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/then.js\":{\"title\":\"$:/core/modules/filters/then.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/then.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for replacing any titles with a constant\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.then = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tresults.push(operator.operand);\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/title.js\":{\"title\":\"$:/core/modules/filters/title.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/title.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for comparing title fields for equality\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.title = function(source,operator,options) {\\n\\tvar results = [];\\n\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\tif(tiddler && tiddler.fields.title !== operator.operand) {\\n\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tresults.push(operator.operand);\\n\\t}\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/unknown.js\":{\"title\":\"$:/core/modules/filters/unknown.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/unknown.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for handling unknown filter operators.\\n\\nNot intended to be used directly by end users, hence the square brackets around the name.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar fieldFilterOperatorFn = require(\\\"$:/core/modules/filters/field.js\\\").field;\\n\\n/*\\nExport our filter function\\n*/\\nexports[\\\"[unknown]\\\"] = function(source,operator,options) {\\n\\t// Check for a user defined filter operator\\n\\tif(operator.operator.indexOf(\\\".\\\") !== -1) {\\n\\t\\tvar params = [];\\n\\t\\t$tw.utils.each(operator.operands,function(param) {\\n\\t\\t\\tparams.push({value: param});\\n\\t\\t});\\t\\n\\t\\tvar variableInfo = options.widget && options.widget.getVariableInfo && options.widget.getVariableInfo(operator.operator,{params: params, source: source});\\n\\t\\tif(variableInfo && variableInfo.srcVariable) {\\n\\t\\t\\tvar list = variableInfo.resultList ? variableInfo.resultList : [variableInfo.text];\\n\\t\\t\\tif(operator.prefix === \\\"!\\\") {\\n\\t\\t\\t\\tvar results = [];\\n\\t\\t\\t\\tsource(function(tiddler,title) {\\n\\t\\t\\t\\t\\tif(list.indexOf(title) === -1) {\\n\\t\\t\\t\\t\\t\\tresults.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\treturn results;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn list;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Otherwise, use the \\\"field\\\" operator\\n\\treturn fieldFilterOperatorFn(source,operator,options);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/untagged.js\":{\"title\":\"$:/core/modules/filters/untagged.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/untagged.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator returning all the selected tiddlers that are untagged\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.untagged = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\texpected = (operator.prefix === \\\"!\\\");\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(((tiddler && $tw.utils.isArray(tiddler.fields.tags) && tiddler.fields.tags.length > 0) === expected) || (!tiddler && !expected)) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/variables.js\":{\"title\":\"$:/core/modules/filters/variables.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/variables.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the active variables\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.variables = function(source,operator,options) {\\n\\tvar names = [],\\n\\t\\twidget = options.widget;\\n\\twhile(widget && !widget.hasOwnProperty(\\\"variables\\\")) {\\n\\t\\twidget = widget.parentWidget;\\n\\t}\\n\\tif(widget && widget.variables) {\\n\\t\\tfor(var variable in widget.variables) {\\n\\t\\t\\tnames.push(variable);\\n\\t\\t}\\n\\t}\\n\\treturn names.sort();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/wikiparserrules.js\":{\"title\":\"$:/core/modules/filters/wikiparserrules.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/wikiparserrules.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nFilter operator for returning the names of the wiki parser rules in this wiki\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports.wikiparserrules = function(source,operator,options) {\\n\\tvar results = [],\\n\\t\\toperand = operator.operand;\\n\\t$tw.utils.each($tw.modules.types.wikirule,function(mod) {\\n\\t\\tvar exp = mod.exports;\\n\\t\\tif(!operand || exp.types[operand]) {\\n\\t\\t\\tresults.push(exp.name);\\n\\t\\t}\\n\\t});\\n\\tresults.sort();\\n\\treturn results;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters/x-listops.js\":{\"title\":\"$:/core/modules/filters/x-listops.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters/x-listops.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nExtended filter operators to manipulate the current list.\\n\\n\\\\*/\\n(function () {\\n\\n\\t/*jslint node: true, browser: true */\\n\\t/*global $tw: false */\\n\\t\\\"use strict\\\";\\n\\n\\t/*\\n\\tFetch titles from the current list\\n\\t*/\\n\\tvar prepare_results = function (source) {\\n\\tvar results = [];\\n\\t\\tsource(function (tiddler, title) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t});\\n\\t\\treturn results;\\n\\t};\\n\\n\\t/*\\n\\tMoves a number of items from the tail of the current list before the item named in the operand\\n\\t*/\\n\\texports.putbefore = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1);\\n\\t\\treturn (index === -1) ?\\n\\t\\t\\tresults.slice(0, -1) :\\n\\t\\t\\tresults.slice(0, index).concat(results.slice(-count)).concat(results.slice(index, -count));\\n\\t};\\n\\n\\t/*\\n\\tMoves a number of items from the tail of the current list after the item named in the operand\\n\\t*/\\n\\texports.putafter = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1);\\n\\t\\treturn (index === -1) ?\\n\\t\\t\\tresults.slice(0, -1) :\\n\\t\\t\\tresults.slice(0, index + 1).concat(results.slice(-count)).concat(results.slice(index + 1, -count));\\n\\t};\\n\\n\\t/*\\n\\tReplaces the item named in the operand with a number of items from the tail of the current list\\n\\t*/\\n\\texports.replace = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1);\\n\\t\\treturn (index === -1) ?\\n\\t\\t\\tresults.slice(0, -count) :\\n\\t\\t\\tresults.slice(0, index).concat(results.slice(-count)).concat(results.slice(index + 1, -count));\\n\\t};\\n\\n\\t/*\\n\\tMoves a number of items from the tail of the current list to the head of the list\\n\\t*/\\n\\texports.putfirst = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1);\\n\\t\\treturn results.slice(-count).concat(results.slice(0, -count));\\n\\t};\\n\\n\\t/*\\n\\tMoves a number of items from the head of the current list to the tail of the list\\n\\t*/\\n\\texports.putlast = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1);\\n\\t\\treturn results.slice(count).concat(results.slice(0, count));\\n\\t};\\n\\n\\t/*\\n\\tMoves the item named in the operand a number of places forward or backward in the list\\n\\t*/\\n\\texports.move = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,1),\\n\\t\\t\\tmarker = results.splice(index, 1),\\n\\t\\t\\toffset = (index + count) > 0 ? index + count : 0;\\n\\t\\treturn results.slice(0, offset).concat(marker).concat(results.slice(offset));\\n\\t};\\n\\n\\t/*\\n\\tReturns the items from the current list that are after the item named in the operand\\n\\t*/\\n\\texports.allafter = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand);\\n\\t\\treturn (index === -1) ? [] :\\n\\t\\t\\t(operator.suffix) ? results.slice(index) :\\n\\t\\t\\tresults.slice(index + 1);\\n\\t};\\n\\n\\t/*\\n\\tReturns the items from the current list that are before the item named in the operand\\n\\t*/\\n\\texports.allbefore = function (source, operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\tindex = results.indexOf(operator.operand);\\n\\t\\treturn (index === -1) ? [] :\\n\\t\\t\\t(operator.suffix) ? results.slice(0, index + 1) :\\n\\t\\t\\tresults.slice(0, index);\\n\\t};\\n\\n\\t/*\\n\\tAppends the items listed in the operand array to the tail of the current list\\n\\t*/\\n\\texports.append = function (source, operator) {\\n\\t\\tvar append = $tw.utils.parseStringArray(operator.operand, \\\"true\\\"),\\n\\t\\t\\tresults = prepare_results(source),\\n\\t\\t\\tcount = parseInt(operator.suffix) || append.length;\\n\\t\\treturn (append.length === 0) ? results :\\n\\t\\t\\t(operator.prefix) ? results.concat(append.slice(-count)) :\\n\\t\\t\\tresults.concat(append.slice(0, count));\\n\\t};\\n\\n\\t/*\\n\\tPrepends the items listed in the operand array to the head of the current list\\n\\t*/\\n\\texports.prepend = function (source, operator) {\\n\\t\\tvar prepend = $tw.utils.parseStringArray(operator.operand, \\\"true\\\"),\\n\\t\\t\\tresults = prepare_results(source),\\n\\t\\t\\tcount = $tw.utils.getInt(operator.suffix,prepend.length);\\n\\t\\treturn (prepend.length === 0) ? results :\\n\\t\\t\\t(operator.prefix) ? prepend.slice(-count).concat(results) :\\n\\t\\t\\tprepend.slice(0, count).concat(results);\\n\\t};\\n\\n\\t/*\\n\\tReturns all items from the current list except the items listed in the operand array\\n\\t*/\\n\\texports.remove = function (source, operator) {\\n\\t\\tvar array = $tw.utils.parseStringArray(operator.operand, \\\"true\\\"),\\n\\t\\t\\tresults = prepare_results(source),\\n\\t\\t\\tcount = parseInt(operator.suffix) || array.length,\\n\\t\\t\\tp,\\n\\t\\t\\tlen,\\n\\t\\t\\tindex;\\n\\t\\tlen = array.length - 1;\\n\\t\\tfor (p = 0; p \u003C count; ++p) {\\n\\t\\t\\tif (operator.prefix) {\\n\\t\\t\\t\\tindex = results.indexOf(array[len - p]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tindex = results.indexOf(array[p]);\\n\\t\\t\\t}\\n\\t\\t\\tif (index !== -1) {\\n\\t\\t\\t\\tresults.splice(index, 1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn results;\\n\\t};\\n\\n\\t/*\\n\\tReturns all items from the current list sorted in the order of the items in the operand array\\n\\t*/\\n\\texports.sortby = function (source, operator) {\\n\\t\\tvar results = prepare_results(source);\\n\\t\\tif (!results || results.length \u003C 2) {\\n\\t\\t\\treturn results;\\n\\t\\t}\\n\\t\\tvar lookup = $tw.utils.parseStringArray(operator.operand, \\\"true\\\");\\n\\t\\tresults.sort(function (a, b) {\\n\\t\\t\\treturn lookup.indexOf(a) - lookup.indexOf(b);\\n\\t\\t});\\n\\t\\treturn results;\\n\\t};\\n\\n\\t/*\\n\\tRemoves all duplicate items from the current list\\n\\t*/\\n\\texports.unique = function (source, operator) {\\n\\t\\tvar results = prepare_results(source);\\n\\t\\tvar set = results.reduce(function (a, b) {\\n\\t\\t\\tif (a.indexOf(b) \u003C 0) {\\n\\t\\t\\t\\ta.push(b);\\n\\t\\t\\t}\\n\\t\\t\\treturn a;\\n\\t\\t}, []);\\n\\t\\treturn set;\\n\\t};\\n\\n\\tvar cycleValueInArray = function(results,operands,stepSize) {\\n\\t\\tvar resultsIndex,\\n\\t\\t\\tstep = stepSize || 1,\\n\\t\\t\\ti = 0,\\n\\t\\t\\topLength = operands.length,\\n\\t\\t\\tnextOperandIndex;\\n\\t\\tfor(i; i \u003C opLength; i++) {\\n\\t\\t\\tresultsIndex = results.indexOf(operands[i]);\\n\\t\\t\\tif(resultsIndex !== -1) {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(resultsIndex !== -1) {\\n\\t\\t\\ti = i + step;\\n\\t\\t\\tnextOperandIndex = (i \u003C opLength ? i : i - opLength);\\n\\t\\t\\tif(operands.length > 1) {\\n\\t\\t\\t\\tresults.splice(resultsIndex,1,operands[nextOperandIndex]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tresults.splice(resultsIndex,1);\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tresults.push(operands[0]);\\n\\t\\t}\\n\\t\\treturn results;\\n\\t}\\n\\n\\t/*\\n\\tToggles an item in the current list.\\n\\t*/\\n\\texports.toggle = function(source,operator) {\\n\\t\\treturn cycleValueInArray(prepare_results(source),operator.operands);\\n\\t}\\n\\n\\texports.cycle = function(source,operator) {\\n\\t\\tvar results = prepare_results(source),\\n\\t\\t\\toperands = (operator.operand.length ? $tw.utils.parseStringArray(operator.operand, \\\"true\\\") : [\\\"\\\"]),\\n\\t\\t\\tstep = $tw.utils.getInt(operator.operands[1]||\\\"\\\",1);\\n\\t\\tif(step \u003C 0) {\\n\\t\\t\\toperands.reverse();\\n\\t\\t\\tstep = Math.abs(step);\\n\\t\\t}\\n\\t\\treturn cycleValueInArray(results,operands,step);\\n\\t}\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"filteroperator\"},\"$:/core/modules/filters.js\":{\"title\":\"$:/core/modules/filters.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/filters.js\\ntype: application/javascript\\nmodule-type: wikimethod\\n\\nAdds tiddler filtering methods to the $tw.Wiki object.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar widgetClass = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\n/* Maximum permitted filter recursion depth */\\nvar MAX_FILTER_DEPTH = 300;\\n\\n/*\\nParses an operation (i.e. a run) within a filter string\\n\\toperators: Array of array of operator nodes into which results should be inserted\\n\\tfilterString: filter string\\n\\tp: start position within the string\\nReturns the new start position, after the parsed operation\\n*/\\nfunction parseFilterOperation(operators,filterString,p) {\\n\\tvar nextBracketPos, operator;\\n\\t// Skip the starting square bracket\\n\\tif(filterString.charAt(p++) !== \\\"[\\\") {\\n\\t\\tthrow \\\"Missing [ in filter expression\\\";\\n\\t}\\n\\t// Process each operator in turn\\n\\tdo {\\n\\t\\toperator = {};\\n\\t\\t// Check for an operator prefix\\n\\t\\tif(filterString.charAt(p) === \\\"!\\\") {\\n\\t\\t\\toperator.prefix = filterString.charAt(p++);\\n\\t\\t}\\n\\t\\t// Get the operator name\\n\\t\\tnextBracketPos = filterString.substring(p).search(/[\\\\[\\\\{\u003C\\\\/]/);\\n\\t\\tif(nextBracketPos === -1) {\\n\\t\\t\\tthrow \\\"Missing [ in filter expression\\\";\\n\\t\\t}\\n\\t\\tnextBracketPos += p;\\n\\t\\tvar bracket = filterString.charAt(nextBracketPos);\\n\\t\\toperator.operator = filterString.substring(p,nextBracketPos);\\n\\t\\t// Any suffix?\\n\\t\\tvar colon = operator.operator.indexOf(':');\\n\\t\\tif(colon > -1) {\\n\\t\\t\\t// The raw suffix for older filters\\n\\t\\t\\toperator.suffix = operator.operator.substring(colon + 1);\\n\\t\\t\\toperator.operator = operator.operator.substring(0,colon) || \\\"field\\\";\\n\\t\\t\\t// The processed suffix for newer filters\\n\\t\\t\\toperator.suffixes = [];\\n\\t\\t\\t$tw.utils.each(operator.suffix.split(\\\":\\\"),function(subsuffix) {\\n\\t\\t\\t\\toperator.suffixes.push([]);\\n\\t\\t\\t\\t$tw.utils.each(subsuffix.split(\\\",\\\"),function(entry) {\\n\\t\\t\\t\\t\\tentry = $tw.utils.trim(entry);\\n\\t\\t\\t\\t\\tif(entry) {\\n\\t\\t\\t\\t\\t\\toperator.suffixes[operator.suffixes.length - 1].push(entry); \\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\t// Empty operator means: title\\n\\t\\telse if(operator.operator === \\\"\\\") {\\n\\t\\t\\toperator.operator = \\\"title\\\";\\n\\t\\t}\\n\\t\\toperator.operands = [];\\n\\t\\tvar parseOperand = function(bracketType) {\\n\\t\\t\\tvar operand = {};\\n\\t\\t\\tswitch (bracketType) {\\n\\t\\t\\t\\tcase \\\"{\\\": // Curly brackets\\n\\t\\t\\t\\t\\toperand.indirect = true;\\n\\t\\t\\t\\t\\tnextBracketPos = filterString.indexOf(\\\"}\\\",p);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"[\\\": // Square brackets\\n\\t\\t\\t\\t\\tnextBracketPos = filterString.indexOf(\\\"]\\\",p);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"\u003C\\\": // Angle brackets\\n\\t\\t\\t\\t\\toperand.variable = true;\\n\\t\\t\\t\\t\\tnextBracketPos = filterString.indexOf(\\\">\\\",p);\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"/\\\": // regexp brackets\\n\\t\\t\\t\\t\\tvar rex = /^((?:[^\\\\\\\\\\\\/]|\\\\\\\\.)*)\\\\/(?:\\\\(([mygi]+)\\\\))?/g,\\n\\t\\t\\t\\t\\t\\trexMatch = rex.exec(filterString.substring(p));\\n\\t\\t\\t\\t\\tif(rexMatch) {\\n\\t\\t\\t\\t\\t\\toperator.regexp = new RegExp(rexMatch[1], rexMatch[2]);\\n\\t// DEPRECATION WARNING\\n\\tconsole.log(\\\"WARNING: Filter\\\",operator.operator,\\\"has a deprecated regexp operand\\\",operator.regexp);\\n\\t\\t\\t\\t\\t\\tnextBracketPos = p + rex.lastIndex - 1;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse {\\n\\t\\t\\t\\t\\t\\tthrow \\\"Unterminated regular expression in filter expression\\\";\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\n\\t\\t\\tif(nextBracketPos === -1) {\\n\\t\\t\\t\\tthrow \\\"Missing closing bracket in filter expression\\\";\\n\\t\\t\\t}\\n\\t\\t\\tif(operator.regexp) {\\n\\t\\t\\t\\toperand.text = \\\"\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\toperand.text = filterString.substring(p,nextBracketPos);\\n\\t\\t\\t}\\n\\t\\t\\toperator.operands.push(operand);\\n\\t\\t\\tp = nextBracketPos + 1;\\n\\t\\t}\\n\\n\\t\\tp = nextBracketPos + 1;\\n\\t\\tparseOperand(bracket);\\n\\n\\t\\t// Check for multiple operands\\n\\t\\twhile(filterString.charAt(p) === \\\",\\\") {\\n\\t\\t\\tp++;\\n\\t\\t\\tif(/^[\\\\[\\\\{\u003C\\\\/]/.test(filterString.substring(p))) {\\n\\t\\t\\t\\tnextBracketPos = p;\\n\\t\\t\\t\\tp++;\\n\\t\\t\\t\\tparseOperand(filterString.charAt(nextBracketPos));\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tthrow \\\"Missing [ in filter expression\\\";\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t// Push this operator\\n\\t\\toperators.push(operator);\\n\\t} while(filterString.charAt(p) !== \\\"]\\\");\\n\\t// Skip the ending square bracket\\n\\tif(filterString.charAt(p++) !== \\\"]\\\") {\\n\\t\\tthrow \\\"Missing ] in filter expression\\\";\\n\\t}\\n\\t// Return the parsing position\\n\\treturn p;\\n}\\n\\n/*\\nParse a filter string\\n*/\\nexports.parseFilter = function(filterString) {\\n\\tfilterString = filterString || \\\"\\\";\\n\\tvar results = [], // Array of arrays of operator nodes {operator:,operand:}\\n\\t\\tp = 0, // Current position in the filter string\\n\\t\\tmatch;\\n\\tvar whitespaceRegExp = /(\\\\s+)/mg,\\n\\t\\toperandRegExp = /((?:\\\\+|\\\\-|~|=|\\\\:(\\\\w+)(?:\\\\:([\\\\w\\\\:, ]*))?)?)(?:(\\\\[)|(?:\\\"([^\\\"]*)\\\")|(?:'([^']*)')|([^\\\\s\\\\[\\\\]]+))/mg;\\n\\twhile(p \u003C filterString.length) {\\n\\t\\t// Skip any whitespace\\n\\t\\twhitespaceRegExp.lastIndex = p;\\n\\t\\tmatch = whitespaceRegExp.exec(filterString);\\n\\t\\tif(match && match.index === p) {\\n\\t\\t\\tp = p + match[0].length;\\n\\t\\t}\\n\\t\\t// Match the start of the operation\\n\\t\\tif(p \u003C filterString.length) {\\n\\t\\t\\toperandRegExp.lastIndex = p;\\n\\t\\t\\tmatch = operandRegExp.exec(filterString);\\n\\t\\t\\tif(!match || match.index !== p) {\\n\\t\\t\\t\\tthrow $tw.language.getString(\\\"Error/FilterSyntax\\\");\\n\\t\\t\\t}\\n\\t\\t\\tvar operation = {\\n\\t\\t\\t\\tprefix: \\\"\\\",\\n\\t\\t\\t\\toperators: []\\n\\t\\t\\t};\\n\\t\\t\\tif(match[1]) {\\n\\t\\t\\t\\toperation.prefix = match[1];\\n\\t\\t\\t\\tp = p + operation.prefix.length;\\n\\t\\t\\t\\tif(match[2]) {\\n\\t\\t\\t\\t\\toperation.namedPrefix = match[2];\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(match[3]) {\\n\\t\\t\\t\\t\\toperation.suffixes = [];\\n\\t\\t\\t\\t\\t $tw.utils.each(match[3].split(\\\":\\\"),function(subsuffix) {\\n\\t\\t\\t\\t\\t\\toperation.suffixes.push([]);\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(subsuffix.split(\\\",\\\"),function(entry) {\\n\\t\\t\\t\\t\\t\\t\\tentry = $tw.utils.trim(entry);\\n\\t\\t\\t\\t\\t\\t\\tif(entry) {\\n\\t\\t\\t\\t\\t\\t\\t\\toperation.suffixes[operation.suffixes.length -1].push(entry);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t });\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(match[4]) { // Opening square bracket\\n\\t\\t\\t\\tp = parseFilterOperation(operation.operators,filterString,p);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tp = match.index + match[0].length;\\n\\t\\t\\t}\\n\\t\\t\\tif(match[5] || match[6] || match[7]) { // Double quoted string, single quoted string or unquoted title\\n\\t\\t\\t\\toperation.operators.push(\\n\\t\\t\\t\\t\\t{operator: \\\"title\\\", operands: [{text: match[5] || match[6] || match[7]}]}\\n\\t\\t\\t\\t);\\n\\t\\t\\t}\\n\\t\\t\\tresults.push(operation);\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\nexports.getFilterOperators = function() {\\n\\tif(!this.filterOperators) {\\n\\t\\t$tw.Wiki.prototype.filterOperators = {};\\n\\t\\t$tw.modules.applyMethods(\\\"filteroperator\\\",this.filterOperators);\\n\\t}\\n\\treturn this.filterOperators;\\n};\\n\\nexports.getFilterRunPrefixes = function() {\\n\\tif(!this.filterRunPrefixes) {\\n\\t\\t$tw.Wiki.prototype.filterRunPrefixes = {};\\n\\t\\t$tw.modules.applyMethods(\\\"filterrunprefix\\\",this.filterRunPrefixes);\\n\\t}\\n\\treturn this.filterRunPrefixes;\\n}\\n\\nexports.filterTiddlers = function(filterString,widget,source) {\\n\\tvar fn = this.compileFilter(filterString);\\n\\treturn fn.call(this,source,widget);\\n};\\n\\n/*\\nCompile a filter into a function with the signature fn(source,widget) where:\\nsource: an iterator function for the source tiddlers, called source(iterator), where iterator is called as iterator(tiddler,title)\\nwidget: an optional widget node for retrieving the current tiddler etc.\\n*/\\nexports.compileFilter = function(filterString) {\\n\\tif(!this.filterCache) {\\n\\t\\tthis.filterCache = Object.create(null);\\n\\t\\tthis.filterCacheCount = 0;\\n\\t}\\n\\tif(this.filterCache[filterString] !== undefined) {\\n\\t\\treturn this.filterCache[filterString];\\n\\t}\\n\\tvar filterParseTree;\\n\\ttry {\\n\\t\\tfilterParseTree = this.parseFilter(filterString);\\n\\t} catch(e) {\\n\\t\\t// We do not cache this result, so it adjusts along with localization changes\\n\\t\\treturn function(source,widget) {\\n\\t\\t\\treturn [$tw.language.getString(\\\"Error/Filter\\\") + \\\": \\\" + e];\\n\\t\\t};\\n\\t}\\n\\t// Get the hashmap of filter operator functions\\n\\tvar filterOperators = this.getFilterOperators();\\n\\t// Assemble array of functions, one for each operation\\n\\tvar operationFunctions = [];\\n\\t// Step through the operations\\n\\tvar self = this;\\n\\t$tw.utils.each(filterParseTree,function(operation) {\\n\\t\\t// Create a function for the chain of operators in the operation\\n\\t\\tvar operationSubFunction = function(source,widget) {\\n\\t\\t\\tvar accumulator = source,\\n\\t\\t\\t\\tresults = [],\\n\\t\\t\\t\\tcurrTiddlerTitle = widget && widget.getVariable(\\\"currentTiddler\\\");\\n\\t\\t\\t$tw.utils.each(operation.operators,function(operator) {\\n\\t\\t\\t\\tvar operands = [],\\n\\t\\t\\t\\t\\toperatorFunction;\\n\\t\\t\\t\\tif(!operator.operator) {\\n\\t\\t\\t\\t\\t// Use the \\\"title\\\" operator if no operator is specified\\n\\t\\t\\t\\t\\toperatorFunction = filterOperators.title;\\n\\t\\t\\t\\t} else if(!filterOperators[operator.operator]) {\\n\\t\\t\\t\\t\\t// Unknown operators treated as \\\"[unknown]\\\" - at run time we can distinguish between a custom operator and falling back to the default \\\"field\\\" operator\\n\\t\\t\\t\\t\\toperatorFunction = filterOperators[\\\"[unknown]\\\"];\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Use the operator function\\n\\t\\t\\t\\t\\toperatorFunction = filterOperators[operator.operator];\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t$tw.utils.each(operator.operands,function(operand) {\\n\\t\\t\\t\\t\\tif(operand.indirect) {\\n\\t\\t\\t\\t\\t\\toperand.value = self.getTextReference(operand.text,\\\"\\\",currTiddlerTitle);\\n\\t\\t\\t\\t\\t} else if(operand.variable) {\\n\\t\\t\\t\\t\\t\\tvar varTree = $tw.utils.parseFilterVariable(operand.text);\\n\\t\\t\\t\\t\\t\\toperand.value = widgetClass.evaluateVariable(widget,varTree.name,{params: varTree.params, source: source})[0] || \\\"\\\";\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\toperand.value = operand.text;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\toperands.push(operand.value);\\n\\t\\t\\t\\t});\\n\\n\\t\\t\\t\\t// Invoke the appropriate filteroperator module\\n\\t\\t\\t\\tresults = operatorFunction(accumulator,{\\n\\t\\t\\t\\t\\t\\t\\toperator: operator.operator,\\n\\t\\t\\t\\t\\t\\t\\toperand: operands.length > 0 ? operands[0] : undefined,\\n\\t\\t\\t\\t\\t\\t\\toperands: operands,\\n\\t\\t\\t\\t\\t\\t\\tprefix: operator.prefix,\\n\\t\\t\\t\\t\\t\\t\\tsuffix: operator.suffix,\\n\\t\\t\\t\\t\\t\\t\\tsuffixes: operator.suffixes,\\n\\t\\t\\t\\t\\t\\t\\tregexp: operator.regexp\\n\\t\\t\\t\\t\\t\\t},{\\n\\t\\t\\t\\t\\t\\t\\twiki: self,\\n\\t\\t\\t\\t\\t\\t\\twidget: widget\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\tif($tw.utils.isArray(results)) {\\n\\t\\t\\t\\t\\taccumulator = self.makeTiddlerIterator(results);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\taccumulator = results;\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\tif($tw.utils.isArray(results)) {\\n\\t\\t\\t\\treturn results;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvar resultArray = [];\\n\\t\\t\\t\\tresults(function(tiddler,title) {\\n\\t\\t\\t\\t\\tresultArray.push(title);\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\treturn resultArray;\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\tvar filterRunPrefixes = self.getFilterRunPrefixes();\\n\\t\\t// Wrap the operator functions in a wrapper function that depends on the prefix\\n\\t\\toperationFunctions.push((function() {\\n\\t\\t\\tvar options = {wiki: self, suffixes: operation.suffixes || []};\\n\\t\\t\\tswitch(operation.prefix || \\\"\\\") {\\n\\t\\t\\t\\tcase \\\"\\\": // No prefix means that the operation is unioned into the result\\n\\t\\t\\t\\t\\treturn filterRunPrefixes[\\\"or\\\"](operationSubFunction, options);\\n\\t\\t\\t\\tcase \\\"=\\\": // The results of the operation are pushed into the result without deduplication\\n\\t\\t\\t\\t\\treturn filterRunPrefixes[\\\"all\\\"](operationSubFunction, options);\\n\\t\\t\\t\\tcase \\\"-\\\": // The results of this operation are removed from the main result\\n\\t\\t\\t\\t\\treturn filterRunPrefixes[\\\"except\\\"](operationSubFunction, options);\\n\\t\\t\\t\\tcase \\\"+\\\": // This operation is applied to the main results so far\\n\\t\\t\\t\\t\\treturn filterRunPrefixes[\\\"and\\\"](operationSubFunction, options);\\n\\t\\t\\t\\tcase \\\"~\\\": // This operation is unioned into the result only if the main result so far is empty\\n\\t\\t\\t\\t\\treturn filterRunPrefixes[\\\"else\\\"](operationSubFunction, options);\\n\\t\\t\\t\\tdefault: \\n\\t\\t\\t\\t\\tif(operation.namedPrefix && filterRunPrefixes[operation.namedPrefix]) {\\n\\t\\t\\t\\t\\t\\treturn filterRunPrefixes[operation.namedPrefix](operationSubFunction, options);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\treturn function(results,source,widget) {\\n\\t\\t\\t\\t\\t\\t\\tresults.clear();\\n\\t\\t\\t\\t\\t\\t\\tresults.push($tw.language.getString(\\\"Error/FilterRunPrefix\\\"));\\n\\t\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t})());\\n\\t});\\n\\t// Return a function that applies the operations to a source iterator of tiddler titles\\n\\tvar fnMeasured = $tw.perf.measure(\\\"filter: \\\" + filterString,function filterFunction(source,widget) {\\n\\t\\tif(!source) {\\n\\t\\t\\tsource = self.each;\\n\\t\\t} else if(typeof source === \\\"object\\\") { // Array or hashmap\\n\\t\\t\\tsource = self.makeTiddlerIterator(source);\\n\\t\\t}\\n\\t\\tif(!widget) {\\n\\t\\t\\twidget = $tw.rootWidget;\\n\\t\\t}\\n\\t\\tvar results = new $tw.utils.LinkedList();\\n\\t\\tself.filterRecursionCount = (self.filterRecursionCount || 0) + 1;\\n\\t\\tif(self.filterRecursionCount \u003C MAX_FILTER_DEPTH) {\\n\\t\\t\\t$tw.utils.each(operationFunctions,function(operationFunction) {\\n\\t\\t\\t\\toperationFunction(results,source,widget);\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tresults.push(\\\"/**-- Excessive filter recursion --**/\\\");\\n\\t\\t}\\n\\t\\tself.filterRecursionCount = self.filterRecursionCount - 1;\\n\\t\\treturn results.toArray();\\n\\t});\\n\\tif(this.filterCacheCount >= 2000) {\\n\\t\\t// To prevent memory leak, we maintain an upper limit for cache size.\\n\\t\\t// Reset if exceeded. This should give us 95% of the benefit\\n\\t\\t// that no cache limit would give us.\\n\\t\\tthis.filterCache = Object.create(null);\\n\\t\\tthis.filterCacheCount = 0;\\n\\t}\\n\\tthis.filterCache[filterString] = fnMeasured;\\n\\tthis.filterCacheCount++;\\n\\treturn fnMeasured;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikimethod\"},\"$:/core/modules/indexers/backlinks-indexer.js\":{\"title\":\"$:/core/modules/indexers/backlinks-indexer.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/indexers/backlinks-indexer.js\\ntype: application/javascript\\nmodule-type: indexer\\n\\nIndexes the tiddlers' backlinks\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global modules: false */\\n\\\"use strict\\\";\\n\\n\\nfunction BacklinksIndexer(wiki) {\\n\\tthis.wiki = wiki;\\n}\\n\\nBacklinksIndexer.prototype.init = function() {\\n\\tthis.index = null;\\n}\\n\\nBacklinksIndexer.prototype.rebuild = function() {\\n\\tthis.index = null;\\n}\\n\\nBacklinksIndexer.prototype._getLinks = function(tiddler) {\\n\\tvar parser = this.wiki.parseText(tiddler.fields.type, tiddler.fields.text, {});\\n\\tif(parser) {\\n\\t\\treturn this.wiki.extractLinks(parser.tree);\\n\\t}\\n\\treturn [];\\n}\\n\\nBacklinksIndexer.prototype.update = function(updateDescriptor) {\\n\\tif(!this.index) {\\n\\t\\treturn;\\n\\t}\\n\\tvar newLinks = [],\\n\\t oldLinks = [],\\n\\t self = this;\\n\\tif(updateDescriptor.old.exists) {\\n\\t\\toldLinks = this._getLinks(updateDescriptor.old.tiddler);\\n\\t}\\n\\tif(updateDescriptor.new.exists) {\\n\\t\\tnewLinks = this._getLinks(updateDescriptor.new.tiddler);\\n\\t}\\n\\n\\t$tw.utils.each(oldLinks,function(link) {\\n\\t\\tif(self.index[link]) {\\n\\t\\t\\tdelete self.index[link][updateDescriptor.old.tiddler.fields.title];\\n\\t\\t}\\n\\t});\\n\\t$tw.utils.each(newLinks,function(link) {\\n\\t\\tif(!self.index[link]) {\\n\\t\\t\\tself.index[link] = Object.create(null);\\n\\t\\t}\\n\\t\\tself.index[link][updateDescriptor.new.tiddler.fields.title] = true;\\n\\t});\\n}\\n\\nBacklinksIndexer.prototype.lookup = function(title) {\\n\\tif(!this.index) {\\n\\t\\tthis.index = Object.create(null);\\n\\t\\tvar self = this;\\n\\t\\tthis.wiki.forEachTiddler(function(title,tiddler) {\\n\\t\\t\\tvar links = self._getLinks(tiddler);\\n\\t\\t\\t$tw.utils.each(links, function(link) {\\n\\t\\t\\t\\tif(!self.index[link]) {\\n\\t\\t\\t\\t\\tself.index[link] = Object.create(null);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tself.index[link][title] = true;\\n\\t\\t\\t});\\n\\t\\t});\\n\\t}\\n\\tif(this.index[title]) {\\n\\t\\treturn Object.keys(this.index[title]);\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n}\\n\\nexports.BacklinksIndexer = BacklinksIndexer;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"indexer\"},\"$:/core/modules/indexers/field-indexer.js\":{\"title\":\"$:/core/modules/indexers/field-indexer.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/indexers/field-indexer.js\\ntype: application/javascript\\nmodule-type: indexer\\n\\nIndexes the tiddlers with each field value\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global modules: false */\\n\\\"use strict\\\";\\n\\nvar DEFAULT_MAXIMUM_INDEXED_VALUE_LENGTH = 128;\\n\\nfunction FieldIndexer(wiki) {\\n\\tthis.wiki = wiki;\\n}\\n\\nFieldIndexer.prototype.init = function() {\\n\\tthis.index = null;\\n\\tthis.maxIndexedValueLength = DEFAULT_MAXIMUM_INDEXED_VALUE_LENGTH;\\n\\tthis.addIndexMethods();\\n}\\n\\n// Provided for testing\\nFieldIndexer.prototype.setMaxIndexedValueLength = function(length) {\\n\\tthis.index = null;\\n\\tthis.maxIndexedValueLength = length;\\n};\\n\\nFieldIndexer.prototype.addIndexMethods = function() {\\n\\tvar self = this;\\n\\t// get all tiddlers, including those overwrite shadow tiddlers\\n\\tthis.wiki.each.byField = function(name,value) {\\n\\t\\tvar lookup = self.lookup(name,value);\\n\\t\\treturn lookup && lookup.filter(function(title) {\\n\\t\\t\\treturn self.wiki.tiddlerExists(title)\\n\\t\\t});\\n\\t};\\n\\t// get shadow tiddlers, including shadow tiddlers that is overwritten\\n\\tthis.wiki.eachShadow.byField = function(name,value) {\\n\\t\\tvar lookup = self.lookup(name,value);\\n\\t\\treturn lookup && lookup.filter(function(title) {\\n\\t\\t\\treturn self.wiki.isShadowTiddler(title)\\n\\t\\t});\\n\\t};\\n\\tthis.wiki.eachTiddlerPlusShadows.byField = function(name,value) {\\n\\t\\tvar lookup = self.lookup(name,value);\\n\\t\\treturn lookup ? lookup.slice(0) : null;\\n\\t};\\n\\tthis.wiki.eachShadowPlusTiddlers.byField = function(name,value) {\\n\\t\\tvar lookup = self.lookup(name,value);\\n\\t\\treturn lookup ? lookup.slice(0) : null;\\n\\t};\\n};\\n\\n/*\\nTear down and then rebuild the index as if all tiddlers have changed\\n*/\\nFieldIndexer.prototype.rebuild = function() {\\n\\t// Invalidate the index so that it will be rebuilt when it is next used\\n\\tthis.index = null;\\n};\\n\\n/*\\nBuild the index for a particular field\\n*/\\nFieldIndexer.prototype.buildIndexForField = function(name) {\\n\\tvar self = this;\\n\\t// Hashmap by field name of hashmap by field value of array of tiddler titles\\n\\tthis.index = this.index || Object.create(null);\\n\\tthis.index[name] = Object.create(null);\\n\\tvar baseIndex = this.index[name];\\n\\t// Update the index for each tiddler\\n\\tthis.wiki.eachTiddlerPlusShadows(function(tiddler,title) {\\n\\t\\tif(name in tiddler.fields) {\\n\\t\\t\\tvar value = tiddler.getFieldString(name);\\n\\t\\t\\t// Skip any values above the maximum length\\n\\t\\t\\tif(value.length \u003C self.maxIndexedValueLength) {\\n\\t\\t\\t\\tbaseIndex[value] = baseIndex[value] || [];\\n\\t\\t\\t\\tbaseIndex[value].push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nUpdate the index in the light of a tiddler value changing; note that the title must be identical. (Renames are handled as a separate delete and create)\\nupdateDescriptor: {old: {tiddler: \u003Ctiddler>, shadow: \u003Cboolean>, exists: \u003Cboolean>},new: {tiddler: \u003Ctiddler>, shadow: \u003Cboolean>, exists: \u003Cboolean>}}\\n*/\\nFieldIndexer.prototype.update = function(updateDescriptor) {\\n\\tvar self = this;\\n\\t// Don't do anything if the index hasn't been built yet\\n\\tif(this.index === null) {\\n\\t\\treturn;\\n\\t}\\n\\t// Remove the old tiddler from the index\\n\\tif(updateDescriptor.old.tiddler) {\\n\\t\\t$tw.utils.each(this.index,function(indexEntry,name) {\\n\\t\\t\\tif(name in updateDescriptor.old.tiddler.fields) {\\n\\t\\t\\t\\tvar value = updateDescriptor.old.tiddler.getFieldString(name),\\n\\t\\t\\t\\t\\ttiddlerList = indexEntry[value];\\n\\t\\t\\t\\tif(tiddlerList) {\\n\\t\\t\\t\\t\\tvar index = tiddlerList.indexOf(updateDescriptor.old.tiddler.fields.title);\\n\\t\\t\\t\\t\\tif(index !== -1) {\\n\\t\\t\\t\\t\\t\\ttiddlerList.splice(index,1);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\t// Add the new tiddler to the index\\n\\tif(updateDescriptor[\\\"new\\\"].tiddler) {\\n\\t\\t$tw.utils.each(this.index,function(indexEntry,name) {\\n\\t\\t\\tif(name in updateDescriptor[\\\"new\\\"].tiddler.fields) {\\n\\t\\t\\t\\tvar value = updateDescriptor[\\\"new\\\"].tiddler.getFieldString(name);\\n\\t\\t\\t\\tif(value.length \u003C self.maxIndexedValueLength) {\\n\\t\\t\\t\\t\\tindexEntry[value] = indexEntry[value] || [];\\n\\t\\t\\t\\t\\tindexEntry[value].push(updateDescriptor[\\\"new\\\"].tiddler.fields.title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n// Lookup the given field returning a list of tiddler titles\\nFieldIndexer.prototype.lookup = function(name,value) {\\n\\t// Fail the lookup if the value is too long\\n\\tif(value.length >= this.maxIndexedValueLength) {\\n\\t\\treturn null;\\n\\t}\\n\\t// Update the index if it has yet to be built\\n\\tif(this.index === null || !this.index[name]) {\\n\\t\\tthis.buildIndexForField(name);\\n\\t}\\n\\treturn this.index[name][value] || [];\\n};\\n\\nexports.FieldIndexer = FieldIndexer;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"indexer\"},\"$:/core/modules/indexers/tag-indexer.js\":{\"title\":\"$:/core/modules/indexers/tag-indexer.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/indexers/tag-indexer.js\\ntype: application/javascript\\nmodule-type: indexer\\n\\nIndexes the tiddlers with each tag\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global modules: false */\\n\\\"use strict\\\";\\n\\nfunction TagIndexer(wiki) {\\n\\tthis.wiki = wiki;\\n}\\n\\nTagIndexer.prototype.init = function() {\\n\\tthis.subIndexers = [\\n\\t\\tnew TagSubIndexer(this,\\\"each\\\"),\\n\\t\\tnew TagSubIndexer(this,\\\"eachShadow\\\"),\\n\\t\\tnew TagSubIndexer(this,\\\"eachTiddlerPlusShadows\\\"),\\n\\t\\tnew TagSubIndexer(this,\\\"eachShadowPlusTiddlers\\\")\\n\\t];\\n\\t$tw.utils.each(this.subIndexers,function(subIndexer) {\\n\\t\\tsubIndexer.addIndexMethod();\\n\\t});\\n};\\n\\nTagIndexer.prototype.rebuild = function() {\\n\\t$tw.utils.each(this.subIndexers,function(subIndexer) {\\n\\t\\tsubIndexer.rebuild();\\n\\t});\\n};\\n\\nTagIndexer.prototype.update = function(updateDescriptor) {\\n\\t$tw.utils.each(this.subIndexers,function(subIndexer) {\\n\\t\\tsubIndexer.update(updateDescriptor);\\n\\t});\\n};\\n\\nfunction TagSubIndexer(indexer,iteratorMethod) {\\n\\tthis.indexer = indexer;\\n\\tthis.iteratorMethod = iteratorMethod;\\n\\tthis.index = null; // Hashmap of tag title to {isSorted: bool, titles: [array]} or null if not yet initialised\\n}\\n\\nTagSubIndexer.prototype.addIndexMethod = function() {\\n\\tvar self = this;\\n\\tthis.indexer.wiki[this.iteratorMethod].byTag = function(tag) {\\n\\t\\treturn self.lookup(tag).slice(0);\\n\\t};\\n};\\n\\nTagSubIndexer.prototype.rebuild = function() {\\n\\tvar self = this;\\n\\t// Hashmap by tag of array of {isSorted:, titles:[]}\\n\\tthis.index = Object.create(null);\\n\\t// Add all the tags\\n\\tthis.indexer.wiki[this.iteratorMethod](function(tiddler,title) {\\n\\t\\t$tw.utils.each(tiddler.fields.tags,function(tag) {\\n\\t\\t\\tif(!self.index[tag]) {\\n\\t\\t\\t\\tself.index[tag] = {isSorted: false, titles: [title]};\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tself.index[tag].titles.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t});\\n};\\n\\nTagSubIndexer.prototype.update = function(updateDescriptor) {\\n\\tthis.index = null;\\n};\\n\\nTagSubIndexer.prototype.lookup = function(tag) {\\n\\t// Update the index if it has yet to be built\\n\\tif(this.index === null) {\\n\\t\\tthis.rebuild();\\n\\t}\\n\\tvar indexRecord = this.index[tag];\\n\\tif(indexRecord) {\\n\\t\\tif(!indexRecord.isSorted) {\\n\\t\\t\\tif(this.indexer.wiki.sortByList) {\\n\\t\\t\\t\\tindexRecord.titles = this.indexer.wiki.sortByList(indexRecord.titles,tag);\\n\\t\\t\\t}\\n\\t\\t\\tindexRecord.isSorted = true;\\n\\t\\t}\\n\\t\\treturn indexRecord.titles;\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n};\\n\\n\\nexports.TagIndexer = TagIndexer;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"indexer\"},\"$:/core/modules/info/platform.js\":{\"title\":\"$:/core/modules/info/platform.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/info/platform.js\\ntype: application/javascript\\nmodule-type: info\\n\\nInitialise basic platform $:/info/ tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.getInfoTiddlerFields = function(updateInfoTiddlersCallback) {\\n\\tvar mapBoolean = function(value) {return value ? \\\"yes\\\" : \\\"no\\\";},\\n\\t\\tinfoTiddlerFields = [];\\n\\t// Basics\\n\\tinfoTiddlerFields.push({title: \\\"$:/info/browser\\\", text: mapBoolean(!!$tw.browser)});\\n\\tinfoTiddlerFields.push({title: \\\"$:/info/node\\\", text: mapBoolean(!!$tw.node)});\\n\\tinfoTiddlerFields.push({title: \\\"$:/info/startup-timestamp\\\", text: $tw.utils.stringifyDate(new Date())});\\n\\tif($tw.browser) {\\n\\t\\t// Document location\\n\\t\\tvar setLocationProperty = function(name,value) {\\n\\t\\t\\t\\tinfoTiddlerFields.push({title: \\\"$:/info/url/\\\" + name, text: value});\\n\\t\\t\\t},\\n\\t\\t\\tlocation = document.location;\\n\\t\\tsetLocationProperty(\\\"full\\\", (location.toString()).split(\\\"#\\\")[0]);\\n\\t\\tsetLocationProperty(\\\"host\\\", location.host);\\n\\t\\tsetLocationProperty(\\\"hostname\\\", location.hostname);\\n\\t\\tsetLocationProperty(\\\"protocol\\\", location.protocol);\\n\\t\\tsetLocationProperty(\\\"port\\\", location.port);\\n\\t\\tsetLocationProperty(\\\"pathname\\\", location.pathname);\\n\\t\\tsetLocationProperty(\\\"search\\\", location.search);\\n\\t\\tsetLocationProperty(\\\"origin\\\", location.origin);\\n\\t\\t// Screen size\\n\\t\\tinfoTiddlerFields.push({title: \\\"$:/info/browser/screen/width\\\", text: window.screen.width.toString()});\\n\\t\\tinfoTiddlerFields.push({title: \\\"$:/info/browser/screen/height\\\", text: window.screen.height.toString()});\\n \\t\\t// Dark mode through event listener on MediaQueryList\\n \\t\\tvar mqList = window.matchMedia(\\\"(prefers-color-scheme: dark)\\\"),\\n \\t\\t\\tgetDarkModeTiddler = function() {return {title: \\\"$:/info/darkmode\\\", text: mqList.matches ? \\\"yes\\\" : \\\"no\\\"};};\\n \\t\\tinfoTiddlerFields.push(getDarkModeTiddler());\\n \\t\\tmqList.addListener(function(event) {\\n \\t\\t\\tupdateInfoTiddlersCallback([getDarkModeTiddler()]);\\n \\t\\t});\\n\\t\\t// Language\\n\\t\\tinfoTiddlerFields.push({title: \\\"$:/info/browser/language\\\", text: navigator.language || \\\"\\\"});\\n\\t}\\n\\treturn infoTiddlerFields;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"info\"},\"$:/core/modules/keyboard.js\":{\"title\":\"$:/core/modules/keyboard.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/keyboard.js\\ntype: application/javascript\\nmodule-type: global\\n\\nKeyboard handling utilities\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar namedKeys = {\\n\\t\\\"cancel\\\": 3,\\n\\t\\\"help\\\": 6,\\n\\t\\\"backspace\\\": 8,\\n\\t\\\"tab\\\": 9,\\n\\t\\\"clear\\\": 12,\\n\\t\\\"return\\\": 13,\\n\\t\\\"enter\\\": 13,\\n\\t\\\"pause\\\": 19,\\n\\t\\\"escape\\\": 27,\\n\\t\\\"space\\\": 32,\\n\\t\\\"page_up\\\": 33,\\n\\t\\\"page_down\\\": 34,\\n\\t\\\"end\\\": 35,\\n\\t\\\"home\\\": 36,\\n\\t\\\"left\\\": 37,\\n\\t\\\"up\\\": 38,\\n\\t\\\"right\\\": 39,\\n\\t\\\"down\\\": 40,\\n\\t\\\"printscreen\\\": 44,\\n\\t\\\"insert\\\": 45,\\n\\t\\\"delete\\\": 46,\\n\\t\\\"0\\\": 48,\\n\\t\\\"1\\\": 49,\\n\\t\\\"2\\\": 50,\\n\\t\\\"3\\\": 51,\\n\\t\\\"4\\\": 52,\\n\\t\\\"5\\\": 53,\\n\\t\\\"6\\\": 54,\\n\\t\\\"7\\\": 55,\\n\\t\\\"8\\\": 56,\\n\\t\\\"9\\\": 57,\\n\\t\\\"firefoxsemicolon\\\": 59,\\n\\t\\\"firefoxequals\\\": 61,\\n\\t\\\"a\\\": 65,\\n\\t\\\"b\\\": 66,\\n\\t\\\"c\\\": 67,\\n\\t\\\"d\\\": 68,\\n\\t\\\"e\\\": 69,\\n\\t\\\"f\\\": 70,\\n\\t\\\"g\\\": 71,\\n\\t\\\"h\\\": 72,\\n\\t\\\"i\\\": 73,\\n\\t\\\"j\\\": 74,\\n\\t\\\"k\\\": 75,\\n\\t\\\"l\\\": 76,\\n\\t\\\"m\\\": 77,\\n\\t\\\"n\\\": 78,\\n\\t\\\"o\\\": 79,\\n\\t\\\"p\\\": 80,\\n\\t\\\"q\\\": 81,\\n\\t\\\"r\\\": 82,\\n\\t\\\"s\\\": 83,\\n\\t\\\"t\\\": 84,\\n\\t\\\"u\\\": 85,\\n\\t\\\"v\\\": 86,\\n\\t\\\"w\\\": 87,\\n\\t\\\"x\\\": 88,\\n\\t\\\"y\\\": 89,\\n\\t\\\"z\\\": 90,\\n\\t\\\"numpad0\\\": 96,\\n\\t\\\"numpad1\\\": 97,\\n\\t\\\"numpad2\\\": 98,\\n\\t\\\"numpad3\\\": 99,\\n\\t\\\"numpad4\\\": 100,\\n\\t\\\"numpad5\\\": 101,\\n\\t\\\"numpad6\\\": 102,\\n\\t\\\"numpad7\\\": 103,\\n\\t\\\"numpad8\\\": 104,\\n\\t\\\"numpad9\\\": 105,\\n\\t\\\"multiply\\\": 106,\\n\\t\\\"add\\\": 107,\\n\\t\\\"separator\\\": 108,\\n\\t\\\"subtract\\\": 109,\\n\\t\\\"decimal\\\": 110,\\n\\t\\\"divide\\\": 111,\\n\\t\\\"f1\\\": 112,\\n\\t\\\"f2\\\": 113,\\n\\t\\\"f3\\\": 114,\\n\\t\\\"f4\\\": 115,\\n\\t\\\"f5\\\": 116,\\n\\t\\\"f6\\\": 117,\\n\\t\\\"f7\\\": 118,\\n\\t\\\"f8\\\": 119,\\n\\t\\\"f9\\\": 120,\\n\\t\\\"f10\\\": 121,\\n\\t\\\"f11\\\": 122,\\n\\t\\\"f12\\\": 123,\\n\\t\\\"f13\\\": 124,\\n\\t\\\"f14\\\": 125,\\n\\t\\\"f15\\\": 126,\\n\\t\\\"f16\\\": 127,\\n\\t\\\"f17\\\": 128,\\n\\t\\\"f18\\\": 129,\\n\\t\\\"f19\\\": 130,\\n\\t\\\"f20\\\": 131,\\n\\t\\\"f21\\\": 132,\\n\\t\\\"f22\\\": 133,\\n\\t\\\"f23\\\": 134,\\n\\t\\\"f24\\\": 135,\\n\\t\\\"firefoxminus\\\": 173,\\n\\t\\\"semicolon\\\": 186,\\n\\t\\\"equals\\\": 187,\\n\\t\\\"comma\\\": 188,\\n\\t\\\"dash\\\": 189,\\n\\t\\\"period\\\": 190,\\n\\t\\\"slash\\\": 191,\\n\\t\\\"backquote\\\": 192,\\n\\t\\\"openbracket\\\": 219,\\n\\t\\\"backslash\\\": 220,\\n\\t\\\"closebracket\\\": 221,\\n\\t\\\"quote\\\": 222\\n};\\n\\nfunction KeyboardManager(options) {\\n\\tvar self = this;\\n\\toptions = options || \\\"\\\";\\n\\t// Save the named key hashmap\\n\\tthis.namedKeys = namedKeys;\\n\\t// Create a reverse mapping of code to keyname\\n\\tthis.keyNames = [];\\n\\t$tw.utils.each(namedKeys,function(keyCode,name) {\\n\\t\\tself.keyNames[keyCode] = name.substr(0,1).toUpperCase() + name.substr(1);\\n\\t});\\n\\t// Save the platform-specific name of the \\\"meta\\\" key\\n\\tthis.metaKeyName = $tw.platform.isMac ? \\\"cmd-\\\" : \\\"win-\\\";\\n\\tthis.shortcutKeysList = [], // Stores the shortcut-key descriptors\\n\\tthis.shortcutActionList = [], // Stores the corresponding action strings\\n\\tthis.shortcutParsedList = []; // Stores the parsed key descriptors\\n\\tthis.shortcutPriorityList = []; // Stores the parsed shortcut priority\\n\\tthis.lookupNames = [\\\"shortcuts\\\"];\\n\\tthis.lookupNames.push($tw.platform.isMac ? \\\"shortcuts-mac\\\" : \\\"shortcuts-not-mac\\\")\\n\\tthis.lookupNames.push($tw.platform.isWindows ? \\\"shortcuts-windows\\\" : \\\"shortcuts-not-windows\\\");\\n\\tthis.lookupNames.push($tw.platform.isLinux ? \\\"shortcuts-linux\\\" : \\\"shortcuts-not-linux\\\");\\n\\tthis.updateShortcutLists(this.getShortcutTiddlerList());\\n\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\tself.handleShortcutChanges(changes);\\n\\t});\\n}\\n\\n/*\\nReturn an array of keycodes for the modifier keys ctrl, shift, alt, meta\\n*/\\nKeyboardManager.prototype.getModifierKeys = function() {\\n\\treturn [\\n\\t\\t16, // Shift\\n\\t\\t17, // Ctrl\\n\\t\\t18, // Alt\\n\\t\\t20, // CAPS LOCK\\n\\t\\t91, // Meta (left)\\n\\t\\t93, // Meta (right)\\n\\t\\t224 // Meta (Firefox)\\n\\t]\\n};\\n\\n/*\\nParses a key descriptor into the structure:\\n{\\n\\tkeyCode: numeric keycode\\n\\tshiftKey: boolean\\n\\taltKey: boolean\\n\\tctrlKey: boolean\\n\\tmetaKey: boolean\\n}\\nKey descriptors have the following format:\\n\\tctrl+enter\\n\\tctrl+shift+alt+A\\n*/\\nKeyboardManager.prototype.parseKeyDescriptor = function(keyDescriptor,options) {\\n\\tvar components = keyDescriptor.split(/\\\\+|\\\\-/),\\n\\t\\tinfo = {\\n\\t\\t\\tkeyCode: 0,\\n\\t\\t\\tshiftKey: false,\\n\\t\\t\\taltKey: false,\\n\\t\\t\\tctrlKey: false,\\n\\t\\t\\tmetaKey: false\\n\\t\\t};\\n\\tfor(var t=0; t\u003Ccomponents.length; t++) {\\n\\t\\tvar s = components[t].toLowerCase(),\\n\\t\\t\\tc = s.charCodeAt(0);\\n\\t\\t// Look for modifier keys\\n\\t\\tif(s === \\\"ctrl\\\") {\\n\\t\\t\\tinfo.ctrlKey = true;\\n\\t\\t} else if(s === \\\"shift\\\") {\\n\\t\\t\\tinfo.shiftKey = true;\\n\\t\\t} else if(s === \\\"alt\\\") {\\n\\t\\t\\tinfo.altKey = true;\\n\\t\\t} else if(s === \\\"meta\\\" || s === \\\"cmd\\\" || s === \\\"win\\\") {\\n\\t\\t\\tinfo.metaKey = true;\\n\\t\\t}\\n\\t\\t// Replace named keys with their code\\n\\t\\tif(this.namedKeys[s]) {\\n\\t\\t\\tinfo.keyCode = this.namedKeys[s];\\n\\t\\t}\\n\\t}\\n\\tif(options.keyDescriptor) {\\n\\t\\tinfo.keyDescriptor = options.keyDescriptor;\\n\\t}\\n\\tif(info.keyCode) {\\n\\t\\treturn info;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n/*\\nParse a list of key descriptors into an array of keyInfo objects. The key descriptors can be passed as an array of strings or a space separated string\\n*/\\nKeyboardManager.prototype.parseKeyDescriptors = function(keyDescriptors,options) {\\n\\tvar self = this;\\n\\toptions = options || {};\\n\\toptions.stack = options.stack || [];\\n\\tvar wiki = options.wiki || $tw.wiki;\\n\\tif(typeof keyDescriptors === \\\"string\\\" && keyDescriptors === \\\"\\\") {\\n\\t\\treturn [];\\n\\t}\\n\\tif(!$tw.utils.isArray(keyDescriptors)) {\\n\\t\\tkeyDescriptors = keyDescriptors.split(\\\" \\\");\\n\\t}\\n\\tvar result = [];\\n\\t$tw.utils.each(keyDescriptors,function(keyDescriptor) {\\n\\t\\t// Look for a named shortcut\\n\\t\\tif(keyDescriptor.substr(0,2) === \\\"((\\\" && keyDescriptor.substr(-2,2) === \\\"))\\\") {\\n\\t\\t\\tif(options.stack.indexOf(keyDescriptor) === -1) {\\n\\t\\t\\t\\toptions.stack.push(keyDescriptor);\\n\\t\\t\\t\\tvar name = keyDescriptor.substring(2,keyDescriptor.length - 2),\\n\\t\\t\\t\\t\\tlookupName = function(configName) {\\n\\t\\t\\t\\t\\t\\tvar keyDescriptors = wiki.getTiddlerText(\\\"$:/config/\\\" + configName + \\\"/\\\" + name);\\n\\t\\t\\t\\t\\t\\tif(keyDescriptors) {\\n\\t\\t\\t\\t\\t\\t\\toptions.keyDescriptor = keyDescriptor;\\n\\t\\t\\t\\t\\t\\t\\tresult.push.apply(result,self.parseKeyDescriptors(keyDescriptors,options));\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t$tw.utils.each(self.lookupNames,function(platformDescriptor) {\\n\\t\\t\\t\\t\\tlookupName(platformDescriptor);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tresult.push(self.parseKeyDescriptor(keyDescriptor,options));\\n\\t\\t}\\n\\t});\\n\\treturn result;\\n};\\n\\nKeyboardManager.prototype.getPrintableShortcuts = function(keyInfoArray) {\\n\\tvar self = this,\\n\\t\\tresult = [];\\n\\t$tw.utils.each(keyInfoArray,function(keyInfo) {\\n\\t\\tif(keyInfo) {\\n\\t\\t\\tresult.push((keyInfo.ctrlKey ? \\\"ctrl-\\\" : \\\"\\\") + \\n\\t\\t\\t\\t (keyInfo.shiftKey ? \\\"shift-\\\" : \\\"\\\") + \\n\\t\\t\\t\\t (keyInfo.altKey ? \\\"alt-\\\" : \\\"\\\") + \\n\\t\\t\\t\\t (keyInfo.metaKey ? self.metaKeyName : \\\"\\\") + \\n\\t\\t\\t\\t (self.keyNames[keyInfo.keyCode]));\\n\\t\\t}\\n\\t});\\n\\treturn result;\\n}\\n\\nKeyboardManager.prototype.checkKeyDescriptor = function(event,keyInfo) {\\n\\treturn keyInfo &&\\n\\t\\t\\tevent.keyCode === keyInfo.keyCode && \\n\\t\\t\\tevent.shiftKey === keyInfo.shiftKey && \\n\\t\\t\\tevent.altKey === keyInfo.altKey && \\n\\t\\t\\tevent.ctrlKey === keyInfo.ctrlKey && \\n\\t\\t\\tevent.metaKey === keyInfo.metaKey;\\n};\\n\\nKeyboardManager.prototype.checkKeyDescriptors = function(event,keyInfoArray) {\\n\\treturn (this.getMatchingKeyDescriptor(event,keyInfoArray) !== null);\\n};\\n\\nKeyboardManager.prototype.getMatchingKeyDescriptor = function(event,keyInfoArray) {\\n\\tfor(var t=0; t\u003CkeyInfoArray.length; t++) {\\n\\t\\tif(this.checkKeyDescriptor(event,keyInfoArray[t])) {\\n\\t\\t\\treturn keyInfoArray[t];\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\nKeyboardManager.prototype.getEventModifierKeyDescriptor = function(event) {\\n\\treturn event.ctrlKey && !event.shiftKey\\t&& !event.altKey && !event.metaKey ? \\\"ctrl\\\" : \\n\\t\\tevent.shiftKey && !event.ctrlKey && !event.altKey && !event.metaKey ? \\\"shift\\\" : \\n\\t\\tevent.ctrlKey && event.shiftKey && !event.altKey && !event.metaKey ? \\\"ctrl-shift\\\" : \\n\\t\\tevent.altKey && !event.shiftKey && !event.ctrlKey && !event.metaKey ? \\\"alt\\\" : \\n\\t\\tevent.altKey && event.shiftKey && !event.ctrlKey && !event.metaKey ? \\\"alt-shift\\\" : \\n\\t\\tevent.altKey && event.ctrlKey && !event.shiftKey && !event.metaKey ? \\\"ctrl-alt\\\" : \\n\\t\\tevent.altKey && event.shiftKey && event.ctrlKey && !event.metaKey ? \\\"ctrl-alt-shift\\\" : \\n\\t\\tevent.metaKey && !event.ctrlKey && !event.shiftKey && !event.altKey ? \\\"meta\\\" : \\n\\t\\tevent.metaKey && event.ctrlKey && !event.shiftKey && !event.altKey ? \\\"meta-ctrl\\\" :\\n\\t\\tevent.metaKey && event.ctrlKey && event.shiftKey && !event.altKey ? \\\"meta-ctrl-shift\\\" :\\n\\t\\tevent.metaKey && event.ctrlKey && event.shiftKey && event.altKey ? \\\"meta-ctrl-alt-shift\\\" : \\\"normal\\\";\\n};\\n\\nKeyboardManager.prototype.getShortcutTiddlerList = function() {\\n\\treturn $tw.wiki.getTiddlersWithTag(\\\"$:/tags/KeyboardShortcut\\\");\\n};\\n\\nKeyboardManager.prototype.updateShortcutLists = function(tiddlerList) {\\n\\tthis.shortcutTiddlers = tiddlerList;\\n\\tfor(var i=0; i\u003CtiddlerList.length; i++) {\\n\\t\\tvar title = tiddlerList[i],\\n\\t\\t\\ttiddlerFields = $tw.wiki.getTiddler(title).fields;\\n\\t\\tthis.shortcutKeysList[i] = tiddlerFields.key !== undefined ? tiddlerFields.key : undefined;\\n\\t\\tthis.shortcutActionList[i] = tiddlerFields.text;\\n\\t\\tthis.shortcutParsedList[i] = this.shortcutKeysList[i] !== undefined ? this.parseKeyDescriptors(this.shortcutKeysList[i]) : undefined;\\n\\t\\tthis.shortcutPriorityList[i] = tiddlerFields.priority === \\\"yes\\\" ? true : false;\\n\\t}\\n};\\n\\n/*\\nevent: the keyboard event object\\noptions:\\n\\tonlyPriority: true if only priority global shortcuts should be invoked\\n*/\\nKeyboardManager.prototype.handleKeydownEvent = function(event, options) {\\n\\toptions = options || {};\\n\\tvar key, action;\\n\\tfor(var i=0; i\u003Cthis.shortcutTiddlers.length; i++) {\\n\\t\\tif(options.onlyPriority && this.shortcutPriorityList[i] !== true) {\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\n\\t\\tif(this.shortcutParsedList[i] !== undefined && this.checkKeyDescriptors(event,this.shortcutParsedList[i])) {\\n\\t\\t\\tkey = this.shortcutParsedList[i];\\n\\t\\t\\taction = this.shortcutActionList[i];\\n\\t\\t}\\n\\t}\\n\\tif(key !== undefined) {\\n\\t\\tevent.preventDefault();\\n\\t\\tevent.stopPropagation();\\n\\t\\t$tw.rootWidget.invokeActionString(action,$tw.rootWidget,event);\\n\\t\\treturn true;\\n\\t}\\n\\treturn false;\\n};\\n\\nKeyboardManager.prototype.detectNewShortcuts = function(changedTiddlers) {\\n\\tvar shortcutConfigTiddlers = [],\\n\\t\\thandled = false;\\n\\t$tw.utils.each(this.lookupNames,function(platformDescriptor) {\\n\\t\\tvar descriptorString = \\\"$:/config/\\\" + platformDescriptor + \\\"/\\\";\\n\\t\\tObject.keys(changedTiddlers).forEach(function(configTiddler) {\\n\\t\\t\\tvar configString = configTiddler.substr(0, configTiddler.lastIndexOf(\\\"/\\\") + 1);\\n\\t\\t\\tif(configString === descriptorString) {\\n\\t\\t\\t\\tshortcutConfigTiddlers.push(configTiddler);\\n\\t\\t\\t\\thandled = true;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t});\\n\\tif(handled) {\\n\\t\\treturn $tw.utils.hopArray(changedTiddlers,shortcutConfigTiddlers);\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nKeyboardManager.prototype.handleShortcutChanges = function(changedTiddlers) {\\n\\tvar newList = this.getShortcutTiddlerList();\\n\\tvar hasChanged = $tw.utils.hopArray(changedTiddlers,this.shortcutTiddlers) ? true :\\n\\t\\t($tw.utils.hopArray(changedTiddlers,newList) ? true :\\n\\t\\t(this.detectNewShortcuts(changedTiddlers))\\n\\t);\\n\\t// Re-cache shortcuts if something changed\\n\\tif(hasChanged) {\\n\\t\\tthis.updateShortcutLists(newList);\\n\\t}\\n};\\n\\nexports.KeyboardManager = KeyboardManager;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/language.js\":{\"title\":\"$:/core/modules/language.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/language.js\\ntype: application/javascript\\nmodule-type: global\\n\\nThe $tw.Language() manages translateable strings\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nCreate an instance of the language manager. Options include:\\nwiki: wiki from which to retrieve translation tiddlers\\n*/\\nfunction Language(options) {\\n\\toptions = options || \\\"\\\";\\n\\tthis.wiki = options.wiki || $tw.wiki;\\n}\\n\\n/*\\nReturn a wikified translateable string. The title is automatically prefixed with \\\"$:/language/\\\"\\nOptions include:\\nvariables: optional hashmap of variables to supply to the language wikification\\n*/\\nLanguage.prototype.getString = function(title,options) {\\n\\toptions = options || {};\\n\\ttitle = \\\"$:/language/\\\" + title;\\n\\treturn this.wiki.renderTiddler(\\\"text/plain\\\",title,{variables: options.variables});\\n};\\n\\n/*\\nReturn a raw, unwikified translateable string. The title is automatically prefixed with \\\"$:/language/\\\"\\n*/\\nLanguage.prototype.getRawString = function(title) {\\n\\ttitle = \\\"$:/language/\\\" + title;\\n\\treturn this.wiki.getTiddlerText(title);\\n};\\n\\nexports.Language = Language;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/macros/changecount.js\":{\"title\":\"$:/core/modules/macros/changecount.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/changecount.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to return the changecount for the current tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"changecount\\\";\\n\\nexports.params = [];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function() {\\n\\treturn this.wiki.getChangeCount(this.getVariable(\\\"currentTiddler\\\")) + \\\"\\\";\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/contrastcolour.js\":{\"title\":\"$:/core/modules/macros/contrastcolour.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/contrastcolour.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to choose which of two colours has the highest contrast with a base colour\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"contrastcolour\\\";\\n\\nexports.params = [\\n\\t{name: \\\"target\\\"},\\n\\t{name: \\\"fallbackTarget\\\"},\\n\\t{name: \\\"colourA\\\"},\\n\\t{name: \\\"colourB\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(target,fallbackTarget,colourA,colourB) {\\n\\tvar rgbTarget = $tw.utils.parseCSSColor(target) || $tw.utils.parseCSSColor(fallbackTarget);\\n\\tif(!rgbTarget) {\\n\\t\\treturn colourA;\\n\\t}\\n\\tvar rgbColourA = $tw.utils.parseCSSColor(colourA),\\n\\t\\trgbColourB = $tw.utils.parseCSSColor(colourB);\\n\\tif(rgbColourA && !rgbColourB) {\\n\\t\\treturn rgbColourA;\\n\\t}\\n\\tif(rgbColourB && !rgbColourA) {\\n\\t\\treturn rgbColourB;\\n\\t}\\n\\tif(!rgbColourA && !rgbColourB) {\\n\\t\\t// If neither colour is readable, return a crude inverse of the target\\n\\t\\treturn [255 - rgbTarget[0],255 - rgbTarget[1],255 - rgbTarget[2],rgbTarget[3]];\\n\\t}\\n\\t// Colour brightness formula derived from http://www.w3.org/WAI/ER/WD-AERT/#color-contrast\\n\\tvar brightnessTarget = rgbTarget[0] * 0.299 + rgbTarget[1] * 0.587 + rgbTarget[2] * 0.114,\\n\\t\\tbrightnessA = rgbColourA[0] * 0.299 + rgbColourA[1] * 0.587 + rgbColourA[2] * 0.114,\\n\\t\\tbrightnessB = rgbColourB[0] * 0.299 + rgbColourB[1] * 0.587 + rgbColourB[2] * 0.114;\\n\\treturn Math.abs(brightnessTarget - brightnessA) > Math.abs(brightnessTarget - brightnessB) ? colourA : colourB;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/csvtiddlers.js\":{\"title\":\"$:/core/modules/macros/csvtiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/csvtiddlers.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to output tiddlers matching a filter to CSV\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"csvtiddlers\\\";\\n\\nexports.params = [\\n\\t{name: \\\"filter\\\"},\\n\\t{name: \\\"format\\\"},\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(filter,format) {\\n\\tvar self = this,\\n\\t\\ttiddlers = this.wiki.filterTiddlers(filter),\\n\\t\\ttiddler,\\n\\t\\tfields = [],\\n\\t\\tt,f;\\n\\t// Collect all the fields\\n\\tfor(t=0;t\u003Ctiddlers.length; t++) {\\n\\t\\ttiddler = this.wiki.getTiddler(tiddlers[t]);\\n\\t\\tfor(f in tiddler.fields) {\\n\\t\\t\\tif(fields.indexOf(f) === -1) {\\n\\t\\t\\t\\tfields.push(f);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Sort the fields and bring the standard ones to the front\\n\\tfields.sort();\\n\\t\\\"title text modified modifier created creator\\\".split(\\\" \\\").reverse().forEach(function(value,index) {\\n\\t\\tvar p = fields.indexOf(value);\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tfields.splice(p,1);\\n\\t\\t\\tfields.unshift(value)\\n\\t\\t}\\n\\t});\\n\\t// Output the column headings\\n\\tvar output = [], row = [];\\n\\tfields.forEach(function(value) {\\n\\t\\trow.push(quoteAndEscape(value))\\n\\t});\\n\\toutput.push(row.join(\\\",\\\"));\\n\\t// Output each tiddler\\n\\tfor(var t=0;t\u003Ctiddlers.length; t++) {\\n\\t\\trow = [];\\n\\t\\ttiddler = this.wiki.getTiddler(tiddlers[t]);\\n\\t\\t\\tfor(f=0; f\u003Cfields.length; f++) {\\n\\t\\t\\t\\trow.push(quoteAndEscape(tiddler ? tiddler.getFieldString(fields[f]) || \\\"\\\" : \\\"\\\"));\\n\\t\\t\\t}\\n\\t\\toutput.push(row.join(\\\",\\\"));\\n\\t}\\n\\treturn output.join(\\\"\\\\n\\\");\\n};\\n\\nfunction quoteAndEscape(value) {\\n\\treturn \\\"\\\\\\\"\\\" + value.replace(/\\\"/mg,\\\"\\\\\\\"\\\\\\\"\\\") + \\\"\\\\\\\"\\\";\\n}\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/displayshortcuts.js\":{\"title\":\"$:/core/modules/macros/displayshortcuts.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/displayshortcuts.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to display a list of keyboard shortcuts in human readable form. Notably, it resolves named shortcuts like `((bold))` to the underlying keystrokes.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"displayshortcuts\\\";\\n\\nexports.params = [\\n\\t{name: \\\"shortcuts\\\"},\\n\\t{name: \\\"prefix\\\"},\\n\\t{name: \\\"separator\\\"},\\n\\t{name: \\\"suffix\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(shortcuts,prefix,separator,suffix) {\\n\\tvar shortcutArray = $tw.keyboardManager.getPrintableShortcuts($tw.keyboardManager.parseKeyDescriptors(shortcuts,{\\n\\t\\twiki: this.wiki\\n\\t}));\\n\\tif(shortcutArray.length > 0) {\\n\\t\\tshortcutArray.sort(function(a,b) {\\n\\t\\t return a.toLowerCase().localeCompare(b.toLowerCase());\\n\\t\\t})\\n\\t\\treturn prefix + shortcutArray.join(separator) + suffix;\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/jsontiddler.js\":{\"title\":\"$:/core/modules/macros/jsontiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/jsontiddler.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to output a single tiddler to JSON\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"jsontiddler\\\";\\n\\nexports.params = [\\n\\t{name: \\\"title\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(title) {\\n\\ttitle = title || this.getVariable(\\\"currentTiddler\\\");\\n\\tvar tiddler = !!title && this.wiki.getTiddler(title),\\n\\t\\tfields = new Object();\\n\\tif(tiddler) {\\n\\t\\tfor(var field in tiddler.fields) {\\n\\t\\t\\tfields[field] = tiddler.getFieldString(field);\\n\\t\\t}\\n\\t}\\n\\treturn JSON.stringify(fields,null,$tw.config.preferences.jsonSpaces);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/jsontiddlers.js\":{\"title\":\"$:/core/modules/macros/jsontiddlers.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/jsontiddlers.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to output tiddlers matching a filter to JSON\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"jsontiddlers\\\";\\n\\nexports.params = [\\n\\t{name: \\\"filter\\\"},\\n\\t{name: \\\"spaces\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(filter,spaces) {\\n\\treturn this.wiki.getTiddlersAsJson(filter,$tw.utils.parseInt(spaces));\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/makedatauri.js\":{\"title\":\"$:/core/modules/macros/makedatauri.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/makedatauri.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to convert a string of text to a data URI\\n\\n\u003C\u003Cmakedatauri text:\\\"Text to be converted\\\" type:\\\"text/vnd.tiddlywiki\\\">>\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"makedatauri\\\";\\n\\nexports.params = [\\n\\t{name: \\\"text\\\"},\\n\\t{name: \\\"type\\\"},\\n\\t{name: \\\"_canonical_uri\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(text,type,_canonical_uri) {\\n\\treturn $tw.utils.makeDataUri(text,type,_canonical_uri);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/now.js\":{\"title\":\"$:/core/modules/macros/now.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/now.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to return a formatted version of the current time\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"now\\\";\\n\\nexports.params = [\\n\\t{name: \\\"format\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(format) {\\n\\treturn $tw.utils.formatDateString(new Date(),format || \\\"0hh:0mm, DDth MMM YYYY\\\");\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/qualify.js\":{\"title\":\"$:/core/modules/macros/qualify.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/qualify.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to qualify a state tiddler title according\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"qualify\\\";\\n\\nexports.params = [\\n\\t{name: \\\"title\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(title) {\\n\\treturn title + \\\"-\\\" + this.getStateQualifier();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/resolvepath.js\":{\"title\":\"$:/core/modules/macros/resolvepath.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/resolvepath.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nResolves a relative path for an absolute rootpath.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"resolvepath\\\";\\n\\nexports.params = [\\n\\t{name: \\\"source\\\"},\\n\\t{name: \\\"root\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(source, root) {\\n\\treturn $tw.utils.resolvePath(source, root);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/unusedtitle.js\":{\"title\":\"$:/core/modules/macros/unusedtitle.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/unusedtitle.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to return a new title that is unused in the wiki. It can be given a name as a base.\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"unusedtitle\\\";\\n\\nexports.params = [\\n\\t{name: \\\"baseName\\\"},\\n\\t{name: \\\"separator\\\"},\\n\\t{name: \\\"template\\\"}\\n];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function(baseName,separator,template) {\\n\\tseparator = separator || \\\" \\\";\\n\\tif(!baseName) {\\n\\t\\tbaseName = $tw.language.getString(\\\"DefaultNewTiddlerTitle\\\");\\n\\t}\\n\\t// $tw.wiki.generateNewTitle = function(baseTitle,options)\\n\\t// options.prefix must be a string! \\n\\treturn this.wiki.generateNewTitle(baseName, {\\\"prefix\\\": separator, \\\"template\\\": template});\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/macros/version.js\":{\"title\":\"$:/core/modules/macros/version.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/macros/version.js\\ntype: application/javascript\\nmodule-type: macro\\n\\nMacro to return the TiddlyWiki core version number\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nInformation about this macro\\n*/\\n\\nexports.name = \\\"version\\\";\\n\\nexports.params = [];\\n\\n/*\\nRun the macro\\n*/\\nexports.run = function() {\\n\\treturn $tw.version;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"macro\"},\"$:/core/modules/parsers/audioparser.js\":{\"title\":\"$:/core/modules/parsers/audioparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/audioparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe audio parser parses an audio tiddler into an embeddable HTML element\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar AudioParser = function(type,text,options) {\\n\\tvar element = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"audio\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tcontrols: {type: \\\"string\\\", value: \\\"controls\\\"},\\n\\t\\t\\t\\tstyle: {type: \\\"string\\\", value: \\\"width: 100%; object-fit: contain\\\"}\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\tsrc;\\n\\tif(options._canonical_uri) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: options._canonical_uri};\\n\\t} else if(text) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: \\\"data:\\\" + type + \\\";base64,\\\" + text};\\n\\t}\\n\\tthis.tree = [element];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"audio/ogg\\\"] = AudioParser;\\nexports[\\\"audio/mpeg\\\"] = AudioParser;\\nexports[\\\"audio/mp3\\\"] = AudioParser;\\nexports[\\\"audio/mp4\\\"] = AudioParser;\\n\\n})();\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/binaryparser.js\":{\"title\":\"$:/core/modules/parsers/binaryparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/binaryparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe binary parser parses a binary tiddler into a warning message and download link\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar BINARY_WARNING_MESSAGE = \\\"$:/core/ui/BinaryWarning\\\";\\nvar EXPORT_BUTTON_IMAGE = \\\"$:/core/images/export-button\\\";\\n\\nvar BinaryParser = function(type,text,options) {\\n\\t// Transclude the binary data tiddler warning message\\n\\tvar warn = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"p\\\",\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\\"$tiddler\\\": {type: \\\"string\\\", value: BINARY_WARNING_MESSAGE}\\n\\t\\t\\t}\\n\\t\\t}]\\n\\t};\\n\\t// Create download link based on binary tiddler title\\n\\tvar link = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"a\\\",\\n\\t\\tattributes: {\\n\\t\\t\\ttitle: {type: \\\"indirect\\\", textReference: \\\"!!title\\\"},\\n\\t\\t\\tdownload: {type: \\\"indirect\\\", textReference: \\\"!!title\\\"}\\n\\t\\t},\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\\"$tiddler\\\": {type: \\\"string\\\", value: EXPORT_BUTTON_IMAGE}\\n\\t\\t\\t}\\n\\t\\t}]\\n\\t};\\n\\t// Set the link href to external or internal data URI\\n\\tif(options._canonical_uri) {\\n\\t\\tlink.attributes.href = {\\n\\t\\t\\ttype: \\\"string\\\", \\n\\t\\t\\tvalue: options._canonical_uri\\n\\t\\t};\\n\\t} else if(text) {\\n\\t\\tlink.attributes.href = {\\n\\t\\t\\ttype: \\\"string\\\", \\n\\t\\t\\tvalue: \\\"data:\\\" + type + \\\";base64,\\\" + text\\n\\t\\t};\\n\\t}\\n\\t// Combine warning message and download link in a div\\n\\tvar element = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"div\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tclass: {type: \\\"string\\\", value: \\\"tc-binary-warning\\\"}\\n\\t\\t},\\n\\t\\tchildren: [warn, link]\\n\\t}\\n\\tthis.tree = [element];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"application/octet-stream\\\"] = BinaryParser;\\n\\n})();\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/csvparser.js\":{\"title\":\"$:/core/modules/parsers/csvparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/csvparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe CSV text parser processes CSV files into a table wrapped in a scrollable widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar CsvParser = function(type,text,options) {\\n\\t// Special handler for tab-delimited files\\n\\tif (type === 'text/tab-delimited-values' && !options.separator) {\\n\\t\\toptions.separator = \\\"\\\\t\\\";\\n\\t}\\n\\t\\n\\t// Table framework\\n\\tthis.tree = [{\\n\\t\\t\\\"type\\\": \\\"scrollable\\\", \\\"children\\\": [{\\n\\t\\t\\t\\\"type\\\": \\\"element\\\", \\\"tag\\\": \\\"table\\\", \\\"children\\\": [{\\n\\t\\t\\t\\t\\\"type\\\": \\\"element\\\", \\\"tag\\\": \\\"tbody\\\", \\\"children\\\": []\\n\\t\\t\\t}], \\\"attributes\\\": {\\n\\t\\t\\t\\t\\\"class\\\": {\\\"type\\\": \\\"string\\\", \\\"value\\\": \\\"tc-csv-table\\\"}\\n\\t\\t\\t}\\n\\t\\t}]\\n\\t}];\\n\\t// Split the text into lines\\n\\tvar lines = $tw.utils.parseCsvString(text, options),\\n\\t\\ttag = \\\"th\\\";\\n\\tvar maxColumns = 0;\\n\\t$tw.utils.each(lines, function(columns) {\\n\\t\\tmaxColumns = Math.max(columns.length, maxColumns);\\n\\t});\\n\\t\\n\\tfor(var line=0; line\u003Clines.length; line++) {\\n\\t\\tvar columns = lines[line];\\n\\t\\tvar row = {\\n\\t\\t\\t\\\"type\\\": \\\"element\\\", \\\"tag\\\": \\\"tr\\\", \\\"children\\\": []\\n\\t\\t};\\n\\t\\tfor(var column=0; column\u003CmaxColumns; column++) {\\n\\t\\t\\trow.children.push({\\n\\t\\t\\t\\t\\\"type\\\": \\\"element\\\", \\\"tag\\\": tag, \\\"children\\\": [{\\n\\t\\t\\t\\t\\t\\\"type\\\": \\\"text\\\",\\n\\t\\t\\t\\t\\t\\\"text\\\": columns[column] || ''\\n\\t\\t\\t\\t}]\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\ttag = \\\"td\\\";\\n\\t\\tthis.tree[0].children[0].children[0].children.push(row);\\n\\t}\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"text/csv\\\"] = CsvParser;\\nexports[\\\"text/tab-delimited-values\\\"] = CsvParser;\\n\\n})();\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/htmlparser.js\":{\"title\":\"$:/core/modules/parsers/htmlparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/htmlparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe HTML parser displays text as raw HTML\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar HtmlParser = function(type,text,options) {\\n\\tvar src;\\n\\tif(options._canonical_uri) {\\n\\t\\tsrc = options._canonical_uri;\\n\\t} else if(text) {\\n\\t\\tsrc = \\\"data:text/html;charset=utf-8,\\\" + encodeURIComponent(text);\\n\\t}\\n\\tthis.tree = [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"iframe\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tsrc: {type: \\\"string\\\", value: src}\\n\\t\\t}\\n\\t}];\\n\\tif($tw.wiki.getTiddlerText(\\\"$:/config/HtmlParser/DisableSandbox\\\",\\\"no\\\") !== \\\"yes\\\") {\\n\\t\\tthis.tree[0].attributes.sandbox = {type: \\\"string\\\", value: $tw.wiki.getTiddlerText(\\\"$:/config/HtmlParser/SandboxTokens\\\",\\\"\\\")};\\n\\t}\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"text/html\\\"] = HtmlParser;\\n\\n})();\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/imageparser.js\":{\"title\":\"$:/core/modules/parsers/imageparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/imageparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe image parser parses an image into an embeddable HTML element\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar ImageParser = function(type,text,options) {\\n\\tvar element = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"img\\\",\\n\\t\\t\\tattributes: {}\\n\\t\\t};\\n\\tif(options._canonical_uri) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: options._canonical_uri};\\n\\t} else if(text) {\\n\\t\\tif(type === \\\"image/svg+xml\\\" || type === \\\".svg\\\") {\\n\\t\\t\\telement.attributes.src = {type: \\\"string\\\", value: \\\"data:image/svg+xml,\\\" + encodeURIComponent(text)};\\n\\t\\t} else {\\n\\t\\t\\telement.attributes.src = {type: \\\"string\\\", value: \\\"data:\\\" + type + \\\";base64,\\\" + text};\\n\\t\\t}\\n\\t}\\n\\tthis.tree = [element];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"image/svg+xml\\\"] = ImageParser;\\nexports[\\\"image/jpg\\\"] = ImageParser;\\nexports[\\\"image/jpeg\\\"] = ImageParser;\\nexports[\\\"image/png\\\"] = ImageParser;\\nexports[\\\"image/gif\\\"] = ImageParser;\\nexports[\\\"image/webp\\\"] = ImageParser;\\nexports[\\\"image/heic\\\"] = ImageParser;\\nexports[\\\"image/heif\\\"] = ImageParser;\\nexports[\\\"image/x-icon\\\"] = ImageParser;\\nexports[\\\"image/vnd.microsoft.icon\\\"] = ImageParser;\\n\\n})();\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/utils/parseutils.js\":{\"title\":\"$:/core/modules/utils/parseutils.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/parseutils.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nUtility functions concerned with parsing text into tokens.\\n\\nMost functions have the following pattern:\\n\\n* The parameters are:\\n** `source`: the source string being parsed\\n** `pos`: the current parse position within the string\\n** Any further parameters are used to identify the token that is being parsed\\n* The return value is:\\n** null if the token was not found at the specified position\\n** an object representing the token with the following standard fields:\\n*** `type`: string indicating the type of the token\\n*** `start`: start position of the token in the source string\\n*** `end`: end position of the token in the source string\\n*** Any further fields required to describe the token\\n\\nThe exception is `skipWhiteSpace`, which just returns the position after the whitespace.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nLook for a whitespace token. Returns null if not found, otherwise returns {type: \\\"whitespace\\\", start:, end:,}\\n*/\\nexports.parseWhiteSpace = function(source,pos) {\\n\\tvar p = pos,c;\\n\\twhile(true) {\\n\\t\\tc = source.charAt(p);\\n\\t\\tif((c === \\\" \\\") || (c === \\\"\\\\f\\\") || (c === \\\"\\\\n\\\") || (c === \\\"\\\\r\\\") || (c === \\\"\\\\t\\\") || (c === \\\"\\\\v\\\") || (c === \\\"\\\\u00a0\\\")) { // Ignores some obscure unicode spaces\\n\\t\\t\\tp++;\\n\\t\\t} else {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\\n\\tif(p === pos) {\\n\\t\\treturn null;\\n\\t} else {\\n\\t\\treturn {\\n\\t\\t\\ttype: \\\"whitespace\\\",\\n\\t\\t\\tstart: pos,\\n\\t\\t\\tend: p\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nConvenience wrapper for parseWhiteSpace. Returns the position after the whitespace\\n*/\\nexports.skipWhiteSpace = function(source,pos) {\\n\\tvar c;\\n\\twhile(true) {\\n\\t\\tc = source.charAt(pos);\\n\\t\\tif((c === \\\" \\\") || (c === \\\"\\\\f\\\") || (c === \\\"\\\\n\\\") || (c === \\\"\\\\r\\\") || (c === \\\"\\\\t\\\") || (c === \\\"\\\\v\\\") || (c === \\\"\\\\u00a0\\\")) { // Ignores some obscure unicode spaces\\n\\t\\t\\tpos++;\\n\\t\\t} else {\\n\\t\\t\\treturn pos;\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nLook for a given string token. Returns null if not found, otherwise returns {type: \\\"token\\\", value:, start:, end:,}\\n*/\\nexports.parseTokenString = function(source,pos,token) {\\n\\tvar match = source.indexOf(token,pos) === pos;\\n\\tif(match) {\\n\\t\\treturn {\\n\\t\\t\\ttype: \\\"token\\\",\\n\\t\\t\\tvalue: token,\\n\\t\\t\\tstart: pos,\\n\\t\\t\\tend: pos + token.length\\n\\t\\t};\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nLook for a token matching a regex. Returns null if not found, otherwise returns {type: \\\"regexp\\\", match:, start:, end:,}\\n*/\\nexports.parseTokenRegExp = function(source,pos,reToken) {\\n\\tvar node = {\\n\\t\\ttype: \\\"regexp\\\",\\n\\t\\tstart: pos\\n\\t};\\n\\treToken.lastIndex = pos;\\n\\tnode.match = reToken.exec(source);\\n\\tif(node.match && node.match.index === pos) {\\n\\t\\tnode.end = pos + node.match[0].length;\\n\\t\\treturn node;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n/*\\nLook for a string literal. Returns null if not found, otherwise returns {type: \\\"string\\\", value:, start:, end:,}\\n*/\\nexports.parseStringLiteral = function(source,pos) {\\n\\tvar node = {\\n\\t\\ttype: \\\"string\\\",\\n\\t\\tstart: pos\\n\\t};\\n\\tvar reString = /(?:\\\"\\\"\\\"([\\\\s\\\\S]*?)\\\"\\\"\\\"|\\\"([^\\\"]*)\\\")|(?:'([^']*)')/g;\\n\\treString.lastIndex = pos;\\n\\tvar match = reString.exec(source);\\n\\tif(match && match.index === pos) {\\n\\t\\tnode.value = match[1] !== undefined ? match[1] :(\\n\\t\\t\\tmatch[2] !== undefined ? match[2] : match[3] \\n\\t\\t\\t\\t\\t);\\n\\t\\tnode.end = pos + match[0].length;\\n\\t\\treturn node;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n/*\\nReturns an array of {name:} with an optional \\\"default\\\" property. Options include:\\nrequireParenthesis: require the parameter definition to be wrapped in parenthesis\\n*/\\nexports.parseParameterDefinition = function(paramString,options) {\\n\\toptions = options || {};\\n\\tif(options.requireParenthesis) {\\n\\t\\tvar parenMatch = /^\\\\s*\\\\((.*)\\\\)\\\\s*$/g.exec(paramString);\\n\\t\\tif(!parenMatch) {\\n\\t\\t\\treturn [];\\n\\t\\t}\\n\\t\\tparamString = parenMatch[1];\\n\\t}\\n\\tvar params = [],\\n\\t\\treParam = /\\\\s*([^:),\\\\s]+)(?:\\\\s*:\\\\s*(?:\\\"\\\"\\\"([\\\\s\\\\S]*?)\\\"\\\"\\\"|\\\"([^\\\"]*)\\\"|'([^']*)'|([^,\\\"'\\\\s]+)))?/mg,\\n\\t\\tparamMatch = reParam.exec(paramString);\\n\\twhile(paramMatch) {\\n\\t\\t// Save the parameter details\\n\\t\\tvar paramInfo = {name: paramMatch[1]},\\n\\t\\t\\tdefaultValue = paramMatch[2] || paramMatch[3] || paramMatch[4] || paramMatch[5];\\n\\t\\tif(defaultValue !== undefined) {\\n\\t\\t\\tparamInfo[\\\"default\\\"] = defaultValue;\\n\\t\\t}\\n\\t\\tparams.push(paramInfo);\\n\\t\\t// Look for the next parameter\\n\\t\\tparamMatch = reParam.exec(paramString);\\n\\t}\\n\\treturn params;\\n};\\n\\nexports.parseMacroParameters = function(node,source,pos) {\\n\\t// Process parameters\\n\\tvar parameter = $tw.utils.parseMacroParameter(source,pos);\\n\\twhile(parameter) {\\n\\t\\tnode.params.push(parameter);\\n\\t\\tpos = parameter.end;\\n\\t\\t// Get the next parameter\\n\\t\\tparameter = $tw.utils.parseMacroParameter(source,pos);\\n\\t}\\n\\tnode.end = pos;\\n\\treturn node;\\n}\\n\\n/*\\nLook for a macro invocation parameter. Returns null if not found, or {type: \\\"macro-parameter\\\", name:, value:, start:, end:}\\n*/\\nexports.parseMacroParameter = function(source,pos) {\\n\\tvar node = {\\n\\t\\ttype: \\\"macro-parameter\\\",\\n\\t\\tstart: pos\\n\\t};\\n\\t// Define our regexp\\n\\tvar reMacroParameter = /(?:([A-Za-z0-9\\\\-_]+)\\\\s*:)?(?:\\\\s*(?:\\\"\\\"\\\"([\\\\s\\\\S]*?)\\\"\\\"\\\"|\\\"([^\\\"]*)\\\"|'([^']*)'|\\\\[\\\\[([^\\\\]]*)\\\\]\\\\]|((?:(?:>(?!>))|[^\\\\s>\\\"'])+)))/g;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for the parameter\\n\\tvar token = $tw.utils.parseTokenRegExp(source,pos,reMacroParameter);\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Get the parameter details\\n\\tnode.value = token.match[2] !== undefined ? token.match[2] : (\\n\\t\\t\\t\\t\\ttoken.match[3] !== undefined ? token.match[3] : (\\n\\t\\t\\t\\t\\t\\ttoken.match[4] !== undefined ? token.match[4] : (\\n\\t\\t\\t\\t\\t\\t\\ttoken.match[5] !== undefined ? token.match[5] : (\\n\\t\\t\\t\\t\\t\\t\\t\\ttoken.match[6] !== undefined ? token.match[6] : (\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t)\\n\\t\\t\\t\\t\\t\\t\\t)\\n\\t\\t\\t\\t\\t\\t)\\n\\t\\t\\t\\t\\t)\\n\\t\\t\\t\\t);\\n\\tif(token.match[1]) {\\n\\t\\tnode.name = token.match[1];\\n\\t}\\n\\t// Update the end position\\n\\tnode.end = pos;\\n\\treturn node;\\n};\\n\\n/*\\nLook for a macro invocation. Returns null if not found, or {type: \\\"transclude\\\", attributes:, start:, end:}\\n*/\\nexports.parseMacroInvocationAsTransclusion = function(source,pos) {\\n\\tvar node = $tw.utils.parseMacroInvocation(source,pos);\\n\\tif(node) {\\n\\t\\tvar positionalName = 0,\\n\\t\\t\\ttransclusion = {\\n\\t\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\t\\tstart: node.start,\\n\\t\\t\\t\\tend: node.end\\n\\t\\t\\t};\\n\\t\\t$tw.utils.addAttributeToParseTreeNode(transclusion,\\\"$variable\\\",node.name);\\n\\t\\t$tw.utils.each(node.params,function(param) {\\n\\t\\t\\tvar name = param.name;\\n\\t\\t\\tif(name) {\\n\\t\\t\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\t\\t\\tname = \\\"$\\\" + name;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(transclusion,{name: name,type: \\\"string\\\", value: param.value, start: param.start, end: param.end});\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(transclusion,{name: (positionalName++) + \\\"\\\",type: \\\"string\\\", value: param.value, start: param.start, end: param.end});\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn transclusion;\\n\\t}\\n\\treturn node;\\n};\\n\\n/*\\nLook for a macro invocation. Returns null if not found, or {type: \\\"macrocall\\\", name:, params:, start:, end:}\\n*/\\nexports.parseMacroInvocation = function(source,pos) {\\n\\tvar node = {\\n\\t\\ttype: \\\"macrocall\\\",\\n\\t\\tstart: pos,\\n\\t\\tparams: []\\n\\t};\\n\\t// Define our regexps\\n\\tvar reMacroName = /([^\\\\s>\\\"'=]+)/g;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for a double less than sign\\n\\tvar token = $tw.utils.parseTokenString(source,pos,\\\"\u003C\u003C\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Get the macro name\\n\\tvar name = $tw.utils.parseTokenRegExp(source,pos,reMacroName);\\n\\tif(!name) {\\n\\t\\treturn null;\\n\\t}\\n\\tnode.name = name.match[1];\\n\\tpos = name.end;\\n\\tnode = $tw.utils.parseMacroParameters(node,source,pos);\\n\\tpos = node.end;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for a double greater than sign\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\">>\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Update the end position\\n\\tnode.end = pos;\\n\\treturn node;\\n};\\n\\nexports.parseFilterVariable = function(source) {\\n\\tvar node = {\\n\\t\\t\\tname: \\\"\\\",\\n\\t\\t\\tparams: [],\\n\\t\\t},\\n\\t\\tpos = 0,\\n\\t\\treName = /([^\\\\s\\\"']+)/g;\\n\\t// If there is no whitespace or it is an empty string then there are no macro parameters\\n\\tif(/^\\\\S*$/.test(source)) {\\n\\t\\tnode.name = source;\\n\\t\\treturn node;\\n\\t}\\n\\t// Get the variable name\\n\\tvar nameMatch = $tw.utils.parseTokenRegExp(source,pos,reName);\\n\\tif(nameMatch) {\\n\\t\\tnode.name = nameMatch.match[1];\\n\\t\\tpos = nameMatch.end;\\n\\t\\tnode = $tw.utils.parseMacroParameters(node,source,pos);\\n\\t\\tdelete node.end;\\n\\t}\\n\\treturn node;\\n};\\n\\n/*\\nLook for an HTML attribute definition. Returns null if not found, otherwise returns {type: \\\"attribute\\\", name:, type: \\\"filtered|string|indirect|macro\\\", value|filter|textReference:, start:, end:,}\\n*/\\nexports.parseAttribute = function(source,pos) {\\n\\tvar node = {\\n\\t\\tstart: pos\\n\\t};\\n\\t// Define our regexps\\n\\tvar reAttributeName = /([^\\\\/\\\\s>\\\"'`=]+)/g,\\n\\t\\treUnquotedAttribute = /([^\\\\/\\\\s\u003C>\\\"'`=]+)/g,\\n\\t\\treFilteredValue = /\\\\{\\\\{\\\\{([\\\\S\\\\s]+?)\\\\}\\\\}\\\\}/g,\\n\\t\\treIndirectValue = /\\\\{\\\\{([^\\\\}]+)\\\\}\\\\}/g,\\n\\t\\treSubstitutedValue = /(?:```([\\\\s\\\\S]*?)```|`([^`]|[\\\\S\\\\s]*?)`)/g;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Get the attribute name\\n\\tvar name = $tw.utils.parseTokenRegExp(source,pos,reAttributeName);\\n\\tif(!name) {\\n\\t\\treturn null;\\n\\t}\\n\\tnode.name = name.match[1];\\n\\tpos = name.end;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for an equals sign\\n\\tvar token = $tw.utils.parseTokenString(source,pos,\\\"=\\\");\\n\\tif(token) {\\n\\t\\tpos = token.end;\\n\\t\\t// Skip whitespace\\n\\t\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t\\t// Look for a string literal\\n\\t\\tvar stringLiteral = $tw.utils.parseStringLiteral(source,pos);\\n\\t\\tif(stringLiteral) {\\n\\t\\t\\tpos = stringLiteral.end;\\n\\t\\t\\tnode.type = \\\"string\\\";\\n\\t\\t\\tnode.value = stringLiteral.value;\\n\\t\\t} else {\\n\\t\\t\\t// Look for a filtered value\\n\\t\\t\\tvar filteredValue = $tw.utils.parseTokenRegExp(source,pos,reFilteredValue);\\n\\t\\t\\tif(filteredValue) {\\n\\t\\t\\t\\tpos = filteredValue.end;\\n\\t\\t\\t\\tnode.type = \\\"filtered\\\";\\n\\t\\t\\t\\tnode.filter = filteredValue.match[1];\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Look for an indirect value\\n\\t\\t\\t\\tvar indirectValue = $tw.utils.parseTokenRegExp(source,pos,reIndirectValue);\\n\\t\\t\\t\\tif(indirectValue) {\\n\\t\\t\\t\\t\\tpos = indirectValue.end;\\n\\t\\t\\t\\t\\tnode.type = \\\"indirect\\\";\\n\\t\\t\\t\\t\\tnode.textReference = indirectValue.match[1];\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Look for a unquoted value\\n\\t\\t\\t\\t\\tvar unquotedValue = $tw.utils.parseTokenRegExp(source,pos,reUnquotedAttribute);\\n\\t\\t\\t\\t\\tif(unquotedValue) {\\n\\t\\t\\t\\t\\t\\tpos = unquotedValue.end;\\n\\t\\t\\t\\t\\t\\tnode.type = \\\"string\\\";\\n\\t\\t\\t\\t\\t\\tnode.value = unquotedValue.match[1];\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t// Look for a macro invocation value\\n\\t\\t\\t\\t\\t\\tvar macroInvocation = $tw.utils.parseMacroInvocation(source,pos);\\n\\t\\t\\t\\t\\t\\tif(macroInvocation) {\\n\\t\\t\\t\\t\\t\\t\\tpos = macroInvocation.end;\\n\\t\\t\\t\\t\\t\\t\\tnode.type = \\\"macro\\\";\\n\\t\\t\\t\\t\\t\\t\\tnode.value = macroInvocation;\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\tvar substitutedValue = $tw.utils.parseTokenRegExp(source,pos,reSubstitutedValue);\\n\\t\\t\\t\\t\\t\\t\\tif(substitutedValue) {\\n\\t\\t\\t\\t\\t\\t\\t\\tpos = substitutedValue.end;\\n\\t\\t\\t\\t\\t\\t\\t\\tnode.type = \\\"substituted\\\";\\n\\t\\t\\t\\t\\t\\t\\t\\tnode.rawValue = substitutedValue.match[1] || substitutedValue.match[2];\\n\\t\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t\\tnode.type = \\\"string\\\";\\n\\t\\t\\t\\t\\t\\t\\t\\tnode.value = \\\"true\\\";\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\tnode.type = \\\"string\\\";\\n\\t\\tnode.value = \\\"true\\\";\\n\\t}\\n\\t// Update the end position\\n\\tnode.end = pos;\\n\\treturn node;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/parsers/pdfparser.js\":{\"title\":\"$:/core/modules/parsers/pdfparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/pdfparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe PDF parser embeds a PDF viewer\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar ImageParser = function(type,text,options) {\\n\\tvar element = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"iframe\\\",\\n\\t\\t\\tattributes: {}\\n\\t\\t},\\n\\t\\tsrc;\\n\\tif(options._canonical_uri) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: options._canonical_uri};\\n\\t} else if(text) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: \\\"data:application/pdf;base64,\\\" + text};\\n\\t}\\n\\tthis.tree = [element];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"application/pdf\\\"] = ImageParser;\\n\\n})();\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/textparser.js\":{\"title\":\"$:/core/modules/parsers/textparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/textparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe plain text parser processes blocks of source text into a degenerate parse tree consisting of a single text node\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar TextParser = function(type,text,options) {\\n\\tthis.tree = [{\\n\\t\\ttype: \\\"codeblock\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tcode: {type: \\\"string\\\", value: text},\\n\\t\\t\\tlanguage: {type: \\\"string\\\", value: type}\\n\\t\\t}\\n\\t}];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"text/plain\\\"] = TextParser;\\nexports[\\\"text/x-tiddlywiki\\\"] = TextParser;\\nexports[\\\"application/javascript\\\"] = TextParser;\\nexports[\\\"application/json\\\"] = TextParser;\\nexports[\\\"text/css\\\"] = TextParser;\\nexports[\\\"application/x-tiddler-dictionary\\\"] = TextParser;\\n\\n})();\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/videoparser.js\":{\"title\":\"$:/core/modules/parsers/videoparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/videoparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe video parser parses a video tiddler into an embeddable HTML element\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar VideoParser = function(type,text,options) {\\n\\tvar element = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"video\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tcontrols: {type: \\\"string\\\", value: \\\"controls\\\"},\\n\\t\\t\\t\\tstyle: {type: \\\"string\\\", value: \\\"width: 100%; object-fit: contain\\\"}\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\tsrc;\\n\\tif(options._canonical_uri) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: options._canonical_uri};\\n\\t} else if(text) {\\n\\t\\telement.attributes.src = {type: \\\"string\\\", value: \\\"data:\\\" + type + \\\";base64,\\\" + text};\\n\\t}\\n\\tthis.tree = [element];\\n\\tthis.source = text;\\n\\tthis.type = type;\\n};\\n\\nexports[\\\"video/ogg\\\"] = VideoParser;\\nexports[\\\"video/webm\\\"] = VideoParser;\\nexports[\\\"video/mp4\\\"] = VideoParser;\\nexports[\\\"video/quicktime\\\"] = VideoParser;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/wikiparser/rules/codeblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/codeblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/codeblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for code blocks. For example:\\n\\n```\\n\\t```\\n\\tThis text will not be //wikified//\\n\\t```\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"codeblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match and get language if defined\\n\\tthis.matchRegExp = /```([\\\\w-]*)\\\\r?\\\\n/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar reEnd = /(\\\\r?\\\\n```$)/mg;\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Look for the end of the block\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar match = reEnd.exec(this.parser.source),\\n\\t\\ttext;\\n\\t// Process the block\\n\\tif(match) {\\n\\t\\ttext = this.parser.source.substring(this.parser.pos,match.index);\\n\\t\\tthis.parser.pos = match.index + match[0].length;\\n\\t} else {\\n\\t\\ttext = this.parser.source.substr(this.parser.pos);\\n\\t\\tthis.parser.pos = this.parser.sourceLength;\\n\\t}\\n\\t// Return the $codeblock widget\\n\\treturn [{\\n\\t\\t\\ttype: \\\"codeblock\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\tcode: {type: \\\"string\\\", value: text},\\n\\t\\t\\t\\t\\tlanguage: {type: \\\"string\\\", value: this.match[1]}\\n\\t\\t\\t}\\n\\t}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/codeinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/codeinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/codeinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for code runs. For example:\\n\\n```\\n\\tThis is a `code run`.\\n\\tThis is another ``code run``\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"codeinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /(``?)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tvar reEnd = new RegExp(this.match[1], \\\"mg\\\");\\n\\t// Look for the end marker\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar match = reEnd.exec(this.parser.source),\\n\\t\\ttext;\\n\\t// Process the text\\n\\tif(match) {\\n\\t\\ttext = this.parser.source.substring(this.parser.pos,match.index);\\n\\t\\tthis.parser.pos = match.index + match[0].length;\\n\\t} else {\\n\\t\\ttext = this.parser.source.substr(this.parser.pos);\\n\\t\\tthis.parser.pos = this.parser.sourceLength;\\n\\t}\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"code\\\",\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\ttext: text\\n\\t\\t}]\\n\\t}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/commentblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/commentblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/commentblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for HTML comments. For example:\\n\\n```\\n\u003C!-- This is a comment -->\\n\\\\define macroX()\\n\u003C!-- This is a comment -->\\nxxxx\\n\\\\end\\n\u003C!-- This is a comment -->\\n\\n```\\n\\nNote that the syntax for comments is simplified to an opening \\\"\u003C!--\\\" sequence and a closing \\\"-->\\\" sequence -- HTML itself implements a more complex format (see http://ostermiller.org/findhtmlcomment.html)\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"commentblock\\\";\\nexports.types = {block:true, pragma:true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\tthis.matchRegExp = /\u003C!--/mg;\\n\\tthis.endMatchRegExp = /-->/mg;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\tthis.matchRegExp.lastIndex = startPos;\\n\\tthis.match = this.matchRegExp.exec(this.parser.source);\\n\\tif(this.match) {\\n\\t\\tthis.endMatchRegExp.lastIndex = this.match.index + this.match[0].length;\\n\\t\\tthis.endMatch = this.endMatchRegExp.exec(this.parser.source);\\n\\t\\tif(this.endMatch) {\\n\\t\\t\\treturn this.match.index;\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.endMatchRegExp.lastIndex;\\n\\t// Don't return any elements\\n\\treturn [];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/commentinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/commentinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/commentinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for HTML comments. For example:\\n\\n```\\n\u003C!-- This is a comment -->\\n```\\n\\nNote that the syntax for comments is simplified to an opening \\\"\u003C!--\\\" sequence and a closing \\\"-->\\\" sequence -- HTML itself implements a more complex format (see http://ostermiller.org/findhtmlcomment.html)\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"commentinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\tthis.matchRegExp = /\u003C!--/mg;\\n\\tthis.endMatchRegExp = /-->/mg;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\tthis.matchRegExp.lastIndex = startPos;\\n\\tthis.match = this.matchRegExp.exec(this.parser.source);\\n\\tif(this.match) {\\n\\t\\tthis.endMatchRegExp.lastIndex = this.match.index + this.match[0].length;\\n\\t\\tthis.endMatch = this.endMatchRegExp.exec(this.parser.source);\\n\\t\\tif(this.endMatch) {\\n\\t\\t\\treturn this.match.index;\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.endMatchRegExp.lastIndex;\\n\\t// Don't return any elements\\n\\treturn [];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/dash.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/dash.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/dash.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for dashes. For example:\\n\\n```\\nThis is an en-dash: --\\n\\nThis is an em-dash: ---\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"dash\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /-{2,3}(?!-)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tvar dash = this.match[0].length === 2 ? \\\"–\\\" : \\\"—\\\";\\n\\treturn [{\\n\\t\\ttype: \\\"entity\\\",\\n\\t\\tentity: dash\\n\\t}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/bold.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/bold.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/bold.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - bold. For example:\\n\\n```\\n\\tThis is ''bold'' text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except bold \\n\\\\rules only bold \\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"bold\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /''/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/''/mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"strong\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/italic.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/italic.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/italic.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - italic. For example:\\n\\n```\\n\\tThis is //italic// text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except italic\\n\\\\rules only italic\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"italic\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\/\\\\//mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/\\\\/\\\\//mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"em\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/strikethrough.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/strikethrough.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/strikethrough.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - strikethrough. For example:\\n\\n```\\n\\tThis is ~~strikethrough~~ text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except strikethrough \\n\\\\rules only strikethrough \\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"strikethrough\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /~~/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/~~/mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"strike\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/subscript.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/subscript.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/subscript.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - subscript. For example:\\n\\n```\\n\\tThis is ,,subscript,, text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except subscript \\n\\\\rules only subscript \\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"subscript\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /,,/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/,,/mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"sub\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/superscript.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/superscript.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/superscript.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - superscript. For example:\\n\\n```\\n\\tThis is ^^superscript^^ text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except superscript \\n\\\\rules only superscript \\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"superscript\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\^\\\\^/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/\\\\^\\\\^/mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"sup\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/emphasis/underscore.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/emphasis/underscore.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/underscore.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for emphasis - underscore. For example:\\n\\n```\\n\\tThis is __underscore__ text\\n```\\n\\nThis wikiparser can be modified using the rules eg:\\n\\n```\\n\\\\rules except underscore \\n\\\\rules only underscore\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"underscore\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /__/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\n\\t// Parse the run including the terminator\\n\\tvar tree = this.parser.parseInlineRun(/__/mg,{eatTerminator: true});\\n\\n\\t// Return the classed span\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"u\\\",\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/entity.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/entity.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/entity.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for HTML entities. For example:\\n\\n```\\n\\tThis is a copyright symbol: ©\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"entity\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /(&#?[a-zA-Z0-9]{2,8};)/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Get all the details of the match\\n\\tvar entityString = this.match[1];\\n\\t// Move past the macro call\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Return the entity\\n\\treturn [{type: \\\"entity\\\", entity: this.match[0]}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/extlink.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/extlink.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/extlink.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for external links. For example:\\n\\n```\\nAn external link: https://www.tiddlywiki.com/\\n\\nA suppressed external link: ~http://www.tiddlyspace.com/\\n```\\n\\nExternal links can be suppressed by preceding them with `~`.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"extlink\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /~?(?:file|http|https|mailto|ftp|irc|news|data|skype):[^\\\\s\u003C>{}\\\\[\\\\]`|\\\"\\\\\\\\^]+(?:\\\\/|\\\\b)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Create the link unless it is suppressed\\n\\tif(this.match[0].substr(0,1) === \\\"~\\\") {\\n\\t\\treturn [{type: \\\"text\\\", text: this.match[0].substr(1)}];\\n\\t} else {\\n\\t\\treturn [{\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"a\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\thref: {type: \\\"string\\\", value: this.match[0]},\\n\\t\\t\\t\\t\\\"class\\\": {type: \\\"string\\\", value: \\\"tc-tiddlylink-external\\\"},\\n\\t\\t\\t\\ttarget: {type: \\\"string\\\", value: \\\"_blank\\\"},\\n\\t\\t\\t\\trel: {type: \\\"string\\\", value: \\\"noopener noreferrer\\\"}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\", text: this.match[0]\\n\\t\\t\\t}]\\n\\t\\t}];\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for block-level filtered transclusion. For example:\\n\\n```\\n{{{ [tag[docs]] }}}\\n{{{ [tag[docs]] |tooltip}}}\\n{{{ [tag[docs]] ||TemplateTitle}}}\\n{{{ [tag[docs]] |tooltip||TemplateTitle}}}\\n{{{ [tag[docs]] }}width:40;height:50;}.class.class\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"filteredtranscludeblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\{\\\\{\\\\{([^\\\\|]+?)(?:\\\\|([^\\\\|\\\\{\\\\}]+))?(?:\\\\|\\\\|([^\\\\|\\\\{\\\\}]+))?\\\\}\\\\}([^\\\\}]*)\\\\}(?:\\\\.(\\\\S+))?(?:\\\\r?\\\\n|$)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Get the match details\\n\\tvar filter = this.match[1],\\n\\t\\ttooltip = this.match[2],\\n\\t\\ttemplate = $tw.utils.trim(this.match[3]),\\n\\t\\tstyle = this.match[4],\\n\\t\\tclasses = this.match[5];\\n\\t// Return the list widget\\n\\tvar node = {\\n\\t\\ttype: \\\"list\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tfilter: {type: \\\"string\\\", value: filter}\\n\\t\\t},\\n\\t\\tisBlock: true\\n\\t};\\n\\tif(tooltip) {\\n\\t\\tnode.attributes.tooltip = {type: \\\"string\\\", value: tooltip};\\n\\t}\\n\\tif(template) {\\n\\t\\tnode.attributes.template = {type: \\\"string\\\", value: template};\\n\\t}\\n\\tif(style) {\\n\\t\\tnode.attributes.style = {type: \\\"string\\\", value: style};\\n\\t}\\n\\tif(classes) {\\n\\t\\tnode.attributes.itemClass = {type: \\\"string\\\", value: classes.split(\\\".\\\").join(\\\" \\\")};\\n\\t}\\n\\treturn [node];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for inline filtered transclusion. For example:\\n\\n```\\n{{{ [tag[docs]] }}}\\n{{{ [tag[docs]] |tooltip}}}\\n{{{ [tag[docs]] ||TemplateTitle}}}\\n{{{ [tag[docs]] |tooltip||TemplateTitle}}}\\n{{{ [tag[docs]] }}width:40;height:50;}.class.class\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"filteredtranscludeinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\{\\\\{\\\\{([^\\\\|]+?)(?:\\\\|([^\\\\|\\\\{\\\\}]+))?(?:\\\\|\\\\|([^\\\\|\\\\{\\\\}]+))?\\\\}\\\\}([^\\\\}]*)\\\\}(?:\\\\.(\\\\S+))?/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Get the match details\\n\\tvar filter = this.match[1],\\n\\t\\ttooltip = this.match[2],\\n\\t\\ttemplate = $tw.utils.trim(this.match[3]),\\n\\t\\tstyle = this.match[4],\\n\\t\\tclasses = this.match[5];\\n\\t// Return the list widget\\n\\tvar node = {\\n\\t\\ttype: \\\"list\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tfilter: {type: \\\"string\\\", value: filter}\\n\\t\\t}\\n\\t};\\n\\tif(tooltip) {\\n\\t\\tnode.attributes.tooltip = {type: \\\"string\\\", value: tooltip};\\n\\t}\\n\\tif(template) {\\n\\t\\tnode.attributes.template = {type: \\\"string\\\", value: template};\\n\\t}\\n\\tif(style) {\\n\\t\\tnode.attributes.style = {type: \\\"string\\\", value: style};\\n\\t}\\n\\tif(classes) {\\n\\t\\tnode.attributes.itemClass = {type: \\\"string\\\", value: classes.split(\\\".\\\").join(\\\" \\\")};\\n\\t}\\n\\treturn [node];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/fnprocdef.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/fnprocdef.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/fnprocdef.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for function, procedure and widget definitions\\n\\n```\\n\\\\function name(param:defaultvalue,param2:defaultvalue)\\ndefinition text\\n\\\\end\\n\\n\\\\procedure name(param:defaultvalue,param2:defaultvalue)\\ndefinition text\\n\\\\end\\n\\n\\\\widget $mywidget(param:defaultvalue,param2:defaultvalue)\\ndefinition text\\n\\\\end\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"fnprocdef\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\(function|procedure|widget)\\\\s+([^(\\\\s]+)\\\\((\\\\s*([^)]*))?\\\\)(\\\\s*\\\\r?\\\\n)?/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Move past the macro name and parameters\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse the parameters\\n\\tvar params = [];\\n\\tif(this.match[3]) {\\n\\t\\tparams = $tw.utils.parseParameterDefinition(this.match[4]);\\n\\t}\\n\\t// Is this a multiline definition?\\n\\tvar reEnd;\\n\\tif(this.match[5]) {\\n\\t\\t// If so, the end of the body is marked with \\\\end\\n\\t\\treEnd = new RegExp(\\\"(\\\\\\\\r?\\\\\\\\n[^\\\\\\\\S\\\\\\\\n\\\\\\\\r]*\\\\\\\\\\\\\\\\end[^\\\\\\\\S\\\\\\\\n\\\\\\\\r]*(?:\\\" + $tw.utils.escapeRegExp(this.match[2]) + \\\")?(?:$|\\\\\\\\r?\\\\\\\\n))\\\",\\\"mg\\\");\\n\\t} else {\\n\\t\\t// Otherwise, the end of the definition is marked by the end of the line\\n\\t\\treEnd = /($|\\\\r?\\\\n)/mg;\\n\\t\\t// Move past any whitespace\\n\\t\\tthis.parser.pos = $tw.utils.skipWhiteSpace(this.parser.source,this.parser.pos);\\n\\t}\\n\\t// Find the end of the definition\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar text,\\n\\t\\tendMatch = reEnd.exec(this.parser.source);\\n\\tif(endMatch) {\\n\\t\\ttext = this.parser.source.substring(this.parser.pos,endMatch.index);\\n\\t\\tthis.parser.pos = endMatch.index + endMatch[0].length;\\n\\t} else {\\n\\t\\t// We didn't find the end of the definition, so we'll make it blank\\n\\t\\ttext = \\\"\\\";\\n\\t}\\n\\t// Save the macro definition\\n\\tvar parseTreeNodes = [{\\n\\t\\ttype: \\\"set\\\",\\n\\t\\tattributes: {},\\n\\t\\tchildren: [],\\n\\t\\tparams: params\\n\\t}];\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"name\\\",this.match[2]);\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"value\\\",text);\\n\\tif(this.match[1] === \\\"function\\\") {\\n\\t\\tparseTreeNodes[0].isFunctionDefinition = true;\\n\\t} else if(this.match[1] === \\\"procedure\\\") {\\n\\t\\tparseTreeNodes[0].isProcedureDefinition = true;\\n\\t} else if(this.match[1] === \\\"widget\\\") {\\n\\t\\tparseTreeNodes[0].isWidgetDefinition = true;\\n\\t}\\n\\tif(this.parser.configTrimWhiteSpace) {\\n\\t\\tparseTreeNodes[0].configTrimWhiteSpace = true;\\n\\t}\\n\\treturn parseTreeNodes;\\n};\\n\\n})();\\n\\t\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/hardlinebreaks.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/hardlinebreaks.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/hardlinebreaks.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for marking areas with hard line breaks. For example:\\n\\n```\\n\\\"\\\"\\\"\\nThis is some text\\nThat is set like\\nIt is a Poem\\nWhen it is\\nClearly\\nNot\\n\\\"\\\"\\\"\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"hardlinebreaks\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\"\\\"\\\"(?:\\\\r?\\\\n)?/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar reEnd = /(\\\"\\\"\\\")|(\\\\r?\\\\n)/mg,\\n\\t\\ttree = [],\\n\\t\\tmatch;\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\tdo {\\n\\t\\t// Parse the run up to the terminator\\n\\t\\ttree.push.apply(tree,this.parser.parseInlineRun(reEnd,{eatTerminator: false}));\\n\\t\\t// Redo the terminator match\\n\\t\\treEnd.lastIndex = this.parser.pos;\\n\\t\\tmatch = reEnd.exec(this.parser.source);\\n\\t\\tif(match) {\\n\\t\\t\\tthis.parser.pos = reEnd.lastIndex;\\n\\t\\t\\t// Add a line break if the terminator was a line break\\n\\t\\t\\tif(match[2]) {\\n\\t\\t\\t\\ttree.push({type: \\\"element\\\", tag: \\\"br\\\"});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} while(match && !match[1]);\\n\\t// Return the nodes\\n\\treturn tree;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/heading.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/heading.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/heading.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for headings\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"heading\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /(!{1,6})/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Get all the details of the match\\n\\tvar headingLevel = this.match[1].length;\\n\\t// Move past the !s\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse any classes, whitespace and then the heading itself\\n\\tvar classes = this.parser.parseClasses();\\n\\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\\n\\tvar tree = this.parser.parseInlineRun(/(\\\\r?\\\\n)/mg);\\n\\t// Return the heading\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"h\\\" + headingLevel, \\n\\t\\tattributes: {\\n\\t\\t\\t\\\"class\\\": {type: \\\"string\\\", value: classes.join(\\\" \\\")}\\n\\t\\t},\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/horizrule.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/horizrule.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/horizrule.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for rules. For example:\\n\\n```\\n---\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"horizrule\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /-{3,}\\\\r?(?:\\\\n|$)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\treturn [{type: \\\"element\\\", tag: \\\"hr\\\"}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/html.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/html.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/html.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki rule for HTML elements and widgets. For example:\\n\\n{{{\\n\u003Caside>\\nThis is an HTML5 aside element\\n\u003C/aside>\\n\\n\u003C$slider target=\\\"MyTiddler\\\">\\nThis is a widget invocation\\n\u003C/$slider>\\n\\n}}}\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"html\\\";\\nexports.types = {inline: true, block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\t// Find the next tag\\n\\tthis.nextTag = this.findNextTag(this.parser.source,startPos,{\\n\\t\\trequireLineBreak: this.is.block\\n\\t});\\n\\treturn this.nextTag ? this.nextTag.start : undefined;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Retrieve the most recent match so that recursive calls don't overwrite it\\n\\tvar tag = this.nextTag;\\n\\tthis.nextTag = null;\\n\\t// Advance the parser position to past the tag\\n\\tthis.parser.pos = tag.end;\\n\\t// Check for an immediately following double linebreak\\n\\tvar hasLineBreak = !tag.isSelfClosing && !!$tw.utils.parseTokenRegExp(this.parser.source,this.parser.pos,/([^\\\\S\\\\n\\\\r]*\\\\r?\\\\n(?:[^\\\\S\\\\n\\\\r]*\\\\r?\\\\n|$))/g);\\n\\t// Set whether we're in block mode\\n\\ttag.isBlock = this.is.block || hasLineBreak;\\n\\t// Parse the body if we need to\\n\\tif(!tag.isSelfClosing && $tw.config.htmlVoidElements.indexOf(tag.tag) === -1) {\\n\\t\\tvar reEndString = \\\"\u003C/\\\" + $tw.utils.escapeRegExp(tag.tag) + \\\">\\\";\\n\\t\\tif(hasLineBreak) {\\n\\t\\t\\ttag.children = this.parser.parseBlocks(reEndString);\\n\\t\\t} else {\\n\\t\\t\\tvar reEnd = new RegExp(\\\"(\\\" + reEndString + \\\")\\\",\\\"mg\\\");\\n\\t\\t\\ttag.children = this.parser.parseInlineRun(reEnd,{eatTerminator: true});\\n\\t\\t}\\n\\t}\\n\\t// Return the tag\\n\\treturn [tag];\\n};\\n\\n/*\\nLook for an HTML tag. Returns null if not found, otherwise returns {type: \\\"element\\\", name:, attributes: {}, orderedAttributes: [], isSelfClosing:, start:, end:,}\\n*/\\nexports.parseTag = function(source,pos,options) {\\n\\toptions = options || {};\\n\\tvar token,\\n\\t\\tnode = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\tstart: pos,\\n\\t\\t\\tattributes: {},\\n\\t\\t\\torderedAttributes: []\\n\\t\\t};\\n\\t// Define our regexps\\n\\tvar reTagName = /([a-zA-Z0-9\\\\-\\\\$\\\\.]+)/g;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for a less than sign\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\"\u003C\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Get the tag name\\n\\ttoken = $tw.utils.parseTokenRegExp(source,pos,reTagName);\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tnode.tag = token.match[1];\\n\\tif(node.tag.charAt(0) === \\\"$\\\") {\\n\\t\\tnode.type = node.tag.substr(1);\\n\\t}\\n\\tpos = token.end;\\n\\t// Check that the tag is terminated by a space, / or >\\n\\tif(!$tw.utils.parseWhiteSpace(source,pos) && !(source.charAt(pos) === \\\"/\\\") && !(source.charAt(pos) === \\\">\\\") ) {\\n\\t\\treturn null;\\n\\t}\\n\\t// Process attributes\\n\\tvar attribute = $tw.utils.parseAttribute(source,pos);\\n\\twhile(attribute) {\\n\\t\\tnode.orderedAttributes.push(attribute);\\n\\t\\tnode.attributes[attribute.name] = attribute;\\n\\t\\tpos = attribute.end;\\n\\t\\t// Get the next attribute\\n\\t\\tattribute = $tw.utils.parseAttribute(source,pos);\\n\\t}\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for a closing slash\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\"/\\\");\\n\\tif(token) {\\n\\t\\tpos = token.end;\\n\\t\\tnode.isSelfClosing = true;\\n\\t}\\n\\t// Look for a greater than sign\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\">\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Check for a required line break\\n\\tif(options.requireLineBreak) {\\n\\t\\ttoken = $tw.utils.parseTokenRegExp(source,pos,/([^\\\\S\\\\n\\\\r]*\\\\r?\\\\n(?:[^\\\\S\\\\n\\\\r]*\\\\r?\\\\n|$))/g);\\n\\t\\tif(!token) {\\n\\t\\t\\treturn null;\\n\\t\\t}\\n\\t}\\n\\t// Update the end position\\n\\tnode.end = pos;\\n\\treturn node;\\n};\\n\\nexports.findNextTag = function(source,pos,options) {\\n\\t// A regexp for finding candidate HTML tags\\n\\tvar reLookahead = /\u003C([a-zA-Z\\\\-\\\\$\\\\.]+)/g;\\n\\t// Find the next candidate\\n\\treLookahead.lastIndex = pos;\\n\\tvar match = reLookahead.exec(source);\\n\\twhile(match) {\\n\\t\\t// Try to parse the candidate as a tag\\n\\t\\tvar tag = this.parseTag(source,match.index,options);\\n\\t\\t// Return success\\n\\t\\tif(tag && this.isLegalTag(tag)) {\\n\\t\\t\\treturn tag;\\n\\t\\t}\\n\\t\\t// Look for the next match\\n\\t\\treLookahead.lastIndex = match.index + 1;\\n\\t\\tmatch = reLookahead.exec(source);\\n\\t}\\n\\t// Failed\\n\\treturn null;\\n};\\n\\nexports.isLegalTag = function(tag) {\\n\\t// Widgets are always OK\\n\\tif(tag.type !== \\\"element\\\") {\\n\\t\\treturn true;\\n\\t// If it's an HTML tag that starts with a dash then it's not legal\\n\\t} else if(tag.tag.charAt(0) === \\\"-\\\") {\\n\\t\\treturn false;\\n\\t} else {\\n\\t\\t// Otherwise it's OK\\n\\t\\treturn true;\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/image.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/image.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/image.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for embedding images. For example:\\n\\n```\\n[img[https://tiddlywiki.com/fractalveg.jpg]]\\n[img width=23 height=24 [https://tiddlywiki.com/fractalveg.jpg]]\\n[img width={{!!width}} height={{!!height}} [https://tiddlywiki.com/fractalveg.jpg]]\\n[img[Description of image|https://tiddlywiki.com/fractalveg.jpg]]\\n[img[TiddlerTitle]]\\n[img[Description of image|TiddlerTitle]]\\n```\\n\\nGenerates the `\u003C$image>` widget.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"image\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\t// Find the next tag\\n\\tthis.nextImage = this.findNextImage(this.parser.source,startPos);\\n\\treturn this.nextImage ? this.nextImage.start : undefined;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.nextImage.end;\\n\\tvar node = {\\n\\t\\ttype: \\\"image\\\",\\n\\t\\tattributes: this.nextImage.attributes\\n\\t};\\n\\treturn [node];\\n};\\n\\n/*\\nFind the next image from the current position\\n*/\\nexports.findNextImage = function(source,pos) {\\n\\t// A regexp for finding candidate HTML tags\\n\\tvar reLookahead = /(\\\\[img)/g;\\n\\t// Find the next candidate\\n\\treLookahead.lastIndex = pos;\\n\\tvar match = reLookahead.exec(source);\\n\\twhile(match) {\\n\\t\\t// Try to parse the candidate as a tag\\n\\t\\tvar tag = this.parseImage(source,match.index);\\n\\t\\t// Return success\\n\\t\\tif(tag) {\\n\\t\\t\\treturn tag;\\n\\t\\t}\\n\\t\\t// Look for the next match\\n\\t\\treLookahead.lastIndex = match.index + 1;\\n\\t\\tmatch = reLookahead.exec(source);\\n\\t}\\n\\t// Failed\\n\\treturn null;\\n};\\n\\n/*\\nLook for an image at the specified position. Returns null if not found, otherwise returns {type: \\\"image\\\", attributes: [], isSelfClosing:, start:, end:,}\\n*/\\nexports.parseImage = function(source,pos) {\\n\\tvar token,\\n\\t\\tnode = {\\n\\t\\t\\ttype: \\\"image\\\",\\n\\t\\t\\tstart: pos,\\n\\t\\t\\tattributes: {}\\n\\t\\t};\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for the `[img`\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\"[img\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Process attributes\\n\\tif(source.charAt(pos) !== \\\"[\\\") {\\n\\t\\tvar attribute = $tw.utils.parseAttribute(source,pos);\\n\\t\\twhile(attribute) {\\n\\t\\t\\tnode.attributes[attribute.name] = attribute;\\n\\t\\t\\tpos = attribute.end;\\n\\t\\t\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t\\t\\tif(source.charAt(pos) !== \\\"[\\\") {\\n\\t\\t\\t\\t// Get the next attribute\\n\\t\\t\\t\\tattribute = $tw.utils.parseAttribute(source,pos);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tattribute = null;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for the `[` after the attributes\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\"[\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Get the source up to the terminating `]]`\\n\\ttoken = $tw.utils.parseTokenRegExp(source,pos,/(?:([^|\\\\]]*?)\\\\|)?([^\\\\]]+?)\\\\]\\\\]/g);\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\tif(token.match[1]) {\\n\\t\\tnode.attributes.tooltip = {type: \\\"string\\\", value: token.match[1].trim()};\\n\\t}\\n\\tnode.attributes.source = {type: \\\"string\\\", value: (token.match[2] || \\\"\\\").trim()};\\n\\t// Update the end position\\n\\tnode.end = pos;\\n\\treturn node;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/import.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/import.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/import.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for importing variable definitions\\n\\n```\\n\\\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"import\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\import[^\\\\S\\\\n]/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\tvar self = this;\\n\\t// Move past the pragma invocation\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse the filter terminated by a line break\\n\\tvar reMatch = /(.*)(?:$|\\\\r?\\\\n)/mg;\\n\\treMatch.lastIndex = this.parser.pos;\\n\\tvar match = reMatch.exec(this.parser.source);\\n\\tthis.parser.pos = reMatch.lastIndex;\\n\\t// Parse tree nodes to return\\n\\treturn [{\\n\\t\\ttype: \\\"importvariables\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tfilter: {type: \\\"string\\\", value: match[1]}\\n\\t\\t},\\n\\t\\tchildren: []\\n\\t}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/list.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/list.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/list.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for lists. For example:\\n\\n```\\n* This is an unordered list\\n* It has two items\\n\\n# This is a numbered list\\n## With a subitem\\n# And a third item\\n\\n; This is a term that is being defined\\n: This is the definition of that term\\n```\\n\\nNote that lists can be nested arbitrarily:\\n\\n```\\n#** One\\n#* Two\\n#** Three\\n#**** Four\\n#**# Five\\n#**## Six\\n## Seven\\n### Eight\\n## Nine\\n```\\n\\nA CSS class can be applied to a list item as follows:\\n\\n```\\n* List item one\\n*.active List item two has the class `active`\\n* List item three\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"list\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /([\\\\*#;:>]+)/mg;\\n};\\n\\nvar listTypes = {\\n\\t\\\"*\\\": {listTag: \\\"ul\\\", itemTag: \\\"li\\\"},\\n\\t\\\"#\\\": {listTag: \\\"ol\\\", itemTag: \\\"li\\\"},\\n\\t\\\";\\\": {listTag: \\\"dl\\\", itemTag: \\\"dt\\\"},\\n\\t\\\":\\\": {listTag: \\\"dl\\\", itemTag: \\\"dd\\\"},\\n\\t\\\">\\\": {listTag: \\\"blockquote\\\", itemTag: \\\"div\\\"}\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Array of parse tree nodes for the previous row of the list\\n\\tvar listStack = [];\\n\\t// Cycle through the items in the list\\n\\twhile(true) {\\n\\t\\t// Match the list marker\\n\\t\\tvar reMatch = /([\\\\*#;:>]+)/mg;\\n\\t\\treMatch.lastIndex = this.parser.pos;\\n\\t\\tvar match = reMatch.exec(this.parser.source);\\n\\t\\tif(!match || match.index !== this.parser.pos) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Check whether the list type of the top level matches\\n\\t\\tvar listInfo = listTypes[match[0].charAt(0)];\\n\\t\\tif(listStack.length > 0 && listStack[0].tag !== listInfo.listTag) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Move past the list marker\\n\\t\\tthis.parser.pos = match.index + match[0].length;\\n\\t\\t// Walk through the list markers for the current row\\n\\t\\tfor(var t=0; t\u003Cmatch[0].length; t++) {\\n\\t\\t\\tlistInfo = listTypes[match[0].charAt(t)];\\n\\t\\t\\t// Remove any stacked up element if we can't re-use it because the list type doesn't match\\n\\t\\t\\tif(listStack.length > t && listStack[t].tag !== listInfo.listTag) {\\n\\t\\t\\t\\tlistStack.splice(t,listStack.length - t);\\n\\t\\t\\t}\\n\\t\\t\\t// Construct the list element or reuse the previous one at this level\\n\\t\\t\\tif(listStack.length \u003C= t) {\\n\\t\\t\\t\\tvar listElement = {type: \\\"element\\\", tag: listInfo.listTag, children: [\\n\\t\\t\\t\\t\\t{type: \\\"element\\\", tag: listInfo.itemTag, children: []}\\n\\t\\t\\t\\t]};\\n\\t\\t\\t\\t// Link this list element into the last child item of the parent list item\\n\\t\\t\\t\\tif(t) {\\n\\t\\t\\t\\t\\tvar prevListItem = listStack[t-1].children[listStack[t-1].children.length-1];\\n\\t\\t\\t\\t\\tprevListItem.children.push(listElement);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Save this element in the stack\\n\\t\\t\\t\\tlistStack[t] = listElement;\\n\\t\\t\\t} else if(t === (match[0].length - 1)) {\\n\\t\\t\\t\\tlistStack[t].children.push({type: \\\"element\\\", tag: listInfo.itemTag, children: []});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(listStack.length > match[0].length) {\\n\\t\\t\\tlistStack.splice(match[0].length,listStack.length - match[0].length);\\n\\t\\t}\\n\\t\\t// Process the body of the list item into the last list item\\n\\t\\tvar lastListChildren = listStack[listStack.length-1].children,\\n\\t\\t\\tlastListItem = lastListChildren[lastListChildren.length-1],\\n\\t\\t\\tclasses = this.parser.parseClasses();\\n\\t\\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\\n\\t\\tvar tree = this.parser.parseInlineRun(/(\\\\r?\\\\n)/mg);\\n\\t\\tlastListItem.children.push.apply(lastListItem.children,tree);\\n\\t\\tif(classes.length > 0) {\\n\\t\\t\\t$tw.utils.addClassToParseTreeNode(lastListItem,classes.join(\\\" \\\"));\\n\\t\\t}\\n\\t\\t// Consume any whitespace following the list item\\n\\t\\tthis.parser.skipWhitespace();\\n\\t}\\n\\t// Return the root element of the list\\n\\treturn [listStack[0]];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/macrocallblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/macrocallblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/macrocallblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki rule for block macro calls\\n\\n```\\n\u003C\u003Cname value value2>>\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"macrocallblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\tvar nextStart = startPos;\\n\\t// Try parsing at all possible macrocall openers until we match\\n\\twhile((nextStart = this.parser.source.indexOf(\\\"\u003C\u003C\\\",nextStart)) >= 0) {\\n\\t\\tvar nextCall = $tw.utils.parseMacroInvocationAsTransclusion(this.parser.source,nextStart);\\n\\t\\tif(nextCall) {\\n\\t\\t\\tvar c = this.parser.source.charAt(nextCall.end);\\n\\t\\t\\t// Ensure EOL after parsed macro\\n\\t\\t\\t// If we didn't need to support IE, we'd just use /(?:\\\\r?\\\\n|$)/ym\\n\\t\\t\\tif ((c === \\\"\\\") || (c === \\\"\\\\n\\\") || ((c === \\\"\\\\r\\\") && this.parser.source.charAt(nextCall.end+1) === \\\"\\\\n\\\")) {\\n\\t\\t\\t\\tthis.nextCall = nextCall;\\n\\t\\t\\t\\treturn nextStart;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tnextStart += 2;\\n\\t}\\n\\treturn undefined;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\tvar call = this.nextCall;\\n\\tcall.isBlock = true;\\n\\tthis.nextCall = null;\\n\\tthis.parser.pos = call.end;\\n\\treturn [call];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/macrocallinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/macrocallinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/macrocallinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki rule for macro calls\\n\\n```\\n\u003C\u003Cname value value2>>\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"macrocallinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\tvar nextStart = startPos;\\n\\t// Try parsing at all possible macrocall openers until we match\\n\\twhile((nextStart = this.parser.source.indexOf(\\\"\u003C\u003C\\\",nextStart)) >= 0) {\\n\\t\\tthis.nextCall = $tw.utils.parseMacroInvocationAsTransclusion(this.parser.source,nextStart);\\n\\t\\tif(this.nextCall) {\\n\\t\\t\\treturn nextStart;\\n\\t\\t}\\n\\t\\tnextStart += 2;\\n\\t}\\n\\treturn undefined;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\tvar call = this.nextCall;\\n\\tthis.nextCall = null;\\n\\tthis.parser.pos = call.end;\\n\\treturn [call];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/macrodef.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/macrodef.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/macrodef.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for macro definitions\\n\\n```\\n\\\\define name(param:defaultvalue,param2:defaultvalue)\\ndefinition text, including $param$ markers\\n\\\\end\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"macrodef\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\define\\\\s+([^(\\\\s]+)\\\\(\\\\s*([^)]*)\\\\)(\\\\s*\\\\r?\\\\n)?/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Move past the macro name and parameters\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse the parameters\\n\\tvar paramString = this.match[2],\\n\\t\\tparams = [];\\n\\tif(paramString !== \\\"\\\") {\\n\\t\\tvar reParam = /\\\\s*([A-Za-z0-9\\\\-_]+)(?:\\\\s*:\\\\s*(?:\\\"\\\"\\\"([\\\\s\\\\S]*?)\\\"\\\"\\\"|\\\"([^\\\"]*)\\\"|'([^']*)'|\\\\[\\\\[([^\\\\]]*)\\\\]\\\\]|([^\\\"'\\\\s]+)))?/mg,\\n\\t\\t\\tparamMatch = reParam.exec(paramString);\\n\\t\\twhile(paramMatch) {\\n\\t\\t\\t// Save the parameter details\\n\\t\\t\\tvar paramInfo = {name: paramMatch[1]},\\n\\t\\t\\t\\tdefaultValue = paramMatch[2] || paramMatch[3] || paramMatch[4] || paramMatch[5] || paramMatch[6];\\n\\t\\t\\tif(defaultValue) {\\n\\t\\t\\t\\tparamInfo[\\\"default\\\"] = defaultValue;\\n\\t\\t\\t}\\n\\t\\t\\tparams.push(paramInfo);\\n\\t\\t\\t// Look for the next parameter\\n\\t\\t\\tparamMatch = reParam.exec(paramString);\\n\\t\\t}\\n\\t}\\n\\t// Is this a multiline definition?\\n\\tvar reEnd;\\n\\tif(this.match[3]) {\\n\\t\\t// If so, the end of the body is marked with \\\\end\\n\\t\\treEnd = new RegExp(\\\"(\\\\\\\\r?\\\\\\\\n[^\\\\\\\\S\\\\\\\\n\\\\\\\\r]*\\\\\\\\\\\\\\\\end[^\\\\\\\\S\\\\\\\\n\\\\\\\\r]*(?:\\\" + $tw.utils.escapeRegExp(this.match[1]) + \\\")?(?:$|\\\\\\\\r?\\\\\\\\n))\\\",\\\"mg\\\");\\n\\t} else {\\n\\t\\t// Otherwise, the end of the definition is marked by the end of the line\\n\\t\\treEnd = /($|\\\\r?\\\\n)/mg;\\n\\t\\t// Move past any whitespace\\n\\t\\tthis.parser.pos = $tw.utils.skipWhiteSpace(this.parser.source,this.parser.pos);\\n\\t}\\n\\t// Find the end of the definition\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar text,\\n\\t\\tendMatch = reEnd.exec(this.parser.source);\\n\\tif(endMatch) {\\n\\t\\ttext = this.parser.source.substring(this.parser.pos,endMatch.index);\\n\\t\\tthis.parser.pos = endMatch.index + endMatch[0].length;\\n\\t} else {\\n\\t\\t// We didn't find the end of the definition, so we'll make it blank\\n\\t\\ttext = \\\"\\\";\\n\\t}\\n\\t// Save the macro definition\\n\\tvar parseTreeNodes = [{\\n\\t\\ttype: \\\"set\\\",\\n\\t\\tattributes: {},\\n\\t\\tchildren: [],\\n\\t\\tparams: params,\\n\\t\\tisMacroDefinition: true\\n\\t}];\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"name\\\",this.match[1]);\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"value\\\",text);\\n\\treturn parseTreeNodes;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/parameters.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/parameters.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/parameters.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for parameter definitions\\n\\n```\\n\\\\parameters(param:defaultvalue,param2:defaultvalue)\\ndefinition text\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"parameters\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\parameters\\\\s*\\\\(([^)]*)\\\\)(\\\\s*\\\\r?\\\\n)?/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Move past the macro name and parameters\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse the parameters\\n\\tvar params = $tw.utils.parseParameterDefinition(this.match[1]);\\n\\tvar attributes = Object.create(null),\\n\\t\\torderedAttributes = [];\\n\\t$tw.utils.each(params,function(param) {\\n\\t\\tvar name = param.name;\\n\\t\\t// Parameter names starting with dollar must be escaped to double dollars for the parameters widget\\n\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\tname = \\\"$\\\" + name;\\n\\t\\t}\\n\\t\\tvar attribute = {name: name, type: \\\"string\\\", value: param[\\\"default\\\"] || \\\"\\\"};\\n\\t\\tattributes[name] = attribute;\\n\\t\\torderedAttributes.push(attribute);\\n\\t});\\n\\t// Save the macro definition\\n\\treturn [{\\n\\t\\ttype: \\\"parameters\\\",\\n\\t\\tattributes: attributes,\\n\\t\\torderedAttributes: orderedAttributes\\n\\t}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/parsermode.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/parsermode.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/parsermode.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for parser mode specifications\\n\\n```\\n\\\\parsermode block\\n\\\\parsermode inline\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"parsermode\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\parsermode[^\\\\S\\\\n]/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Move past the pragma invocation\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse whitespace delimited tokens terminated by a line break\\n\\tvar reMatch = /[^\\\\S\\\\n]*(\\\\S+)|(\\\\r?\\\\n)/mg,\\n\\t\\tparserMode = undefined;\\n\\treMatch.lastIndex = this.parser.pos;\\n\\tvar match = reMatch.exec(this.parser.source);\\n\\twhile(match && match.index === this.parser.pos) {\\n\\t\\tthis.parser.pos = reMatch.lastIndex;\\n\\t\\t// Exit if we've got the line break\\n\\t\\tif(match[2]) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Process the token\\n\\t\\tif(match[1]) {\\n\\t\\t\\tparserMode = match[1];\\n\\t\\t}\\n\\t\\t// Match the next token\\n\\t\\tmatch = reMatch.exec(this.parser.source);\\n\\t}\\n\\t// Process the tokens\\n\\tif(parserMode !== undefined) {\\n\\t\\tif(parserMode === \\\"block\\\") {\\n\\t\\t\\tthis.parser.parseAsInline = false;\\n\\t\\t} else if(parserMode === \\\"inline\\\") {\\n\\t\\t\\tthis.parser.parseAsInline = true;\\n\\t\\t}\\n\\t}\\n\\t// No parse tree nodes to return\\n\\treturn [];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/prettyextlink.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/prettyextlink.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/prettyextlink.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for external links. For example:\\n\\n```\\n[ext[https://tiddlywiki.com/fractalveg.jpg]]\\n[ext[Tooltip|https://tiddlywiki.com/fractalveg.jpg]]\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"prettyextlink\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\nexports.findNextMatch = function(startPos) {\\n\\t// Find the next tag\\n\\tthis.nextLink = this.findNextLink(this.parser.source,startPos);\\n\\treturn this.nextLink ? this.nextLink.start : undefined;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.nextLink.end;\\n\\treturn [this.nextLink];\\n};\\n\\n/*\\nFind the next link from the current position\\n*/\\nexports.findNextLink = function(source,pos) {\\n\\t// A regexp for finding candidate links\\n\\tvar reLookahead = /(\\\\[ext\\\\[)/g;\\n\\t// Find the next candidate\\n\\treLookahead.lastIndex = pos;\\n\\tvar match = reLookahead.exec(source);\\n\\twhile(match) {\\n\\t\\t// Try to parse the candidate as a link\\n\\t\\tvar link = this.parseLink(source,match.index);\\n\\t\\t// Return success\\n\\t\\tif(link) {\\n\\t\\t\\treturn link;\\n\\t\\t}\\n\\t\\t// Look for the next match\\n\\t\\treLookahead.lastIndex = match.index + 1;\\n\\t\\tmatch = reLookahead.exec(source);\\n\\t}\\n\\t// Failed\\n\\treturn null;\\n};\\n\\n/*\\nLook for an link at the specified position. Returns null if not found, otherwise returns {type: \\\"element\\\", tag: \\\"a\\\", attributes: [], isSelfClosing:, start:, end:,}\\n*/\\nexports.parseLink = function(source,pos) {\\n\\tvar token,\\n\\t\\ttextNode = {\\n\\t\\t\\ttype: \\\"text\\\"\\n\\t\\t},\\n\\t\\tnode = {\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"a\\\",\\n\\t\\t\\tstart: pos,\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\\"class\\\": {type: \\\"string\\\", value: \\\"tc-tiddlylink-external\\\"},\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [textNode]\\n\\t\\t};\\n\\t// Skip whitespace\\n\\tpos = $tw.utils.skipWhiteSpace(source,pos);\\n\\t// Look for the `[ext[`\\n\\ttoken = $tw.utils.parseTokenString(source,pos,\\\"[ext[\\\");\\n\\tif(!token) {\\n\\t\\treturn null;\\n\\t}\\n\\tpos = token.end;\\n\\t// Look ahead for the terminating `]]`\\n\\tvar closePos = source.indexOf(\\\"]]\\\",pos);\\n\\tif(closePos === -1) {\\n\\t\\treturn null;\\n\\t}\\n\\t// Look for a `|` separating the tooltip\\n\\tvar splitPos = source.indexOf(\\\"|\\\",pos);\\n\\tif(splitPos === -1 || splitPos > closePos) {\\n\\t\\tsplitPos = null;\\n\\t}\\n\\t// Pull out the tooltip and URL\\n\\tvar tooltip, URL;\\n\\tif(splitPos) {\\n\\t\\tURL = source.substring(splitPos + 1,closePos).trim();\\n\\t\\ttextNode.text = source.substring(pos,splitPos).trim();\\n\\t} else {\\n\\t\\tURL = source.substring(pos,closePos).trim();\\n\\t\\ttextNode.text = URL;\\n\\t}\\n\\tnode.attributes.href = {type: \\\"string\\\", value: URL};\\n\\tnode.attributes.target = {type: \\\"string\\\", value: \\\"_blank\\\"};\\n\\tnode.attributes.rel = {type: \\\"string\\\", value: \\\"noopener noreferrer\\\"};\\n\\t// Update the end position\\n\\tnode.end = closePos + 2;\\n\\treturn node;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/prettylink.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/prettylink.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/prettylink.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for pretty links. For example:\\n\\n```\\n[[Introduction]]\\n\\n[[Link description|TiddlerTitle]]\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"prettylink\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\[\\\\[(.*?)(?:\\\\|(.*?))?\\\\]\\\\]/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Process the link\\n\\tvar text = this.match[1],\\n\\t\\tlink = this.match[2] || text;\\n\\tif($tw.utils.isLinkExternal(link)) {\\n\\t\\treturn [{\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"a\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\thref: {type: \\\"string\\\", value: link},\\n\\t\\t\\t\\t\\\"class\\\": {type: \\\"string\\\", value: \\\"tc-tiddlylink-external\\\"},\\n\\t\\t\\t\\ttarget: {type: \\\"string\\\", value: \\\"_blank\\\"},\\n\\t\\t\\t\\trel: {type: \\\"string\\\", value: \\\"noopener noreferrer\\\"}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\", text: text\\n\\t\\t\\t}]\\n\\t\\t}];\\n\\t} else {\\n\\t\\treturn [{\\n\\t\\t\\ttype: \\\"link\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tto: {type: \\\"string\\\", value: link}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\", text: text\\n\\t\\t\\t}]\\n\\t\\t}];\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/quoteblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/quoteblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/quoteblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for quote blocks. For example:\\n\\n```\\n\\t\u003C\u003C\u003C.optionalClass(es) optional cited from\\n\\ta quote\\n\\t\u003C\u003C\u003C\\n\\t\\n\\t\u003C\u003C\u003C.optionalClass(es)\\n\\ta quote\\n\\t\u003C\u003C\u003C optional cited from\\n```\\n\\nQuotes can be quoted by putting more \u003Cs\\n\\n```\\n\\t\u003C\u003C\u003C\\n\\tQuote Level 1\\n\\t\\n\\t\u003C\u003C\u003C\u003C\\n\\tQuoteLevel 2\\n\\t\u003C\u003C\u003C\u003C\\n\\t\\n\\t\u003C\u003C\u003C\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"quoteblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /(\u003C\u003C\u003C+)/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar classes = [\\\"tc-quote\\\"];\\n\\t// Get all the details of the match\\n\\tvar reEndString = \\\"^\\\" + this.match[1] + \\\"(?!\u003C)\\\";\\n\\t// Move past the \u003Cs\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t\\n\\t// Parse any classes, whitespace and then the optional cite itself\\n\\tclasses.push.apply(classes, this.parser.parseClasses());\\n\\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\\n\\tvar cite = this.parser.parseInlineRun(/(\\\\r?\\\\n)/mg);\\n\\t// before handling the cite, parse the body of the quote\\n\\tvar tree= this.parser.parseBlocks(reEndString);\\n\\t// If we got a cite, put it before the text\\n\\tif(cite.length > 0) {\\n\\t\\ttree.unshift({\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"cite\\\",\\n\\t\\t\\tchildren: cite\\n\\t\\t});\\n\\t}\\n\\t// Parse any optional cite\\n\\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\\n\\tcite = this.parser.parseInlineRun(/(\\\\r?\\\\n)/mg);\\n\\t// If we got a cite, push it\\n\\tif(cite.length > 0) {\\n\\t\\ttree.push({\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"cite\\\",\\n\\t\\t\\tchildren: cite\\n\\t\\t});\\n\\t}\\n\\t// Return the blockquote element\\n\\treturn [{\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"blockquote\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tclass: { type: \\\"string\\\", value: classes.join(\\\" \\\") },\\n\\t\\t},\\n\\t\\tchildren: tree\\n\\t}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/rules.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/rules.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/rules.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for rules specifications\\n\\n```\\n\\\\rules except ruleone ruletwo rulethree\\n\\\\rules only ruleone ruletwo rulethree\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"rules\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\rules[^\\\\S\\\\n]/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Move past the pragma invocation\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse whitespace delimited tokens terminated by a line break\\n\\tvar reMatch = /[^\\\\S\\\\n]*(\\\\S+)|(\\\\r?\\\\n)/mg,\\n\\t\\ttokens = [];\\n\\treMatch.lastIndex = this.parser.pos;\\n\\tvar match = reMatch.exec(this.parser.source);\\n\\twhile(match && match.index === this.parser.pos) {\\n\\t\\tthis.parser.pos = reMatch.lastIndex;\\n\\t\\t// Exit if we've got the line break\\n\\t\\tif(match[2]) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Process the token\\n\\t\\tif(match[1]) {\\n\\t\\t\\ttokens.push(match[1]);\\n\\t\\t}\\n\\t\\t// Match the next token\\n\\t\\tmatch = reMatch.exec(this.parser.source);\\n\\t}\\n\\t// Process the tokens\\n\\tif(tokens.length > 0) {\\n\\t\\tthis.parser.amendRules(tokens[0],tokens.slice(1));\\n\\t}\\n\\t// No parse tree nodes to return\\n\\treturn [];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/styleblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/styleblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/styleblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for assigning styles and classes to paragraphs and other blocks. For example:\\n\\n```\\n@@.myClass\\n@@background-color:red;\\nThis paragraph will have the CSS class `myClass`.\\n\\n* The `\u003Cul>` around this list will also have the class `myClass`\\n* List item 2\\n\\n@@\\n```\\n\\nNote that classes and styles can be mixed subject to the rule that styles must precede classes. For example\\n\\n```\\n@@.myFirstClass.mySecondClass\\n@@width:100px;.myThirdClass\\nThis is a paragraph\\n@@\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"styleblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /@@((?:[^\\\\.\\\\r\\\\n\\\\s:]+:[^\\\\r\\\\n;]+;)+)?(?:\\\\.([^\\\\r\\\\n\\\\s]+))?\\\\r?\\\\n/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar reEndString = \\\"^@@(?:\\\\\\\\r?\\\\\\\\n)?\\\";\\n\\tvar classes = [], styles = [];\\n\\tdo {\\n\\t\\t// Get the class and style\\n\\t\\tif(this.match[1]) {\\n\\t\\t\\tstyles.push(this.match[1]);\\n\\t\\t}\\n\\t\\tif(this.match[2]) {\\n\\t\\t\\tclasses.push(this.match[2].split(\\\".\\\").join(\\\" \\\"));\\n\\t\\t}\\n\\t\\t// Move past the match\\n\\t\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t\\t// Look for another line of classes and styles\\n\\t\\tthis.match = this.matchRegExp.exec(this.parser.source);\\n\\t} while(this.match && this.match.index === this.parser.pos);\\n\\t// Parse the body\\n\\tvar tree = this.parser.parseBlocks(reEndString);\\n\\tfor(var t=0; t\u003Ctree.length; t++) {\\n\\t\\tif(classes.length > 0) {\\n\\t\\t\\t$tw.utils.addClassToParseTreeNode(tree[t],classes.join(\\\" \\\"));\\n\\t\\t}\\n\\t\\tif(styles.length > 0) {\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(tree[t],\\\"style\\\",styles.join(\\\"\\\"));\\n\\t\\t}\\n\\t}\\n\\treturn tree;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/styleinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/styleinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/styleinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for assigning styles and classes to inline runs. For example:\\n\\n```\\n@@.myClass This is some text with a class@@\\n@@background-color:red;This is some text with a background colour@@\\n@@width:100px;.myClass This is some text with a class and a width@@\\n```\\n\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"styleinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /@@((?:[^\\\\.\\\\r\\\\n\\\\s:]+:[^\\\\r\\\\n;]+;)+)?(\\\\.(?:[^\\\\r\\\\n\\\\s]+)\\\\s+)?/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar reEnd = /@@/g;\\n\\t// Get the styles and class\\n\\tvar stylesString = this.match[1],\\n\\t\\tclassString = this.match[2] ? this.match[2].split(\\\".\\\").join(\\\" \\\") : undefined;\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse the run up to the terminator\\n\\tvar tree = this.parser.parseInlineRun(reEnd,{eatTerminator: true});\\n\\t// Return the classed span\\n\\tvar node = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"span\\\",\\n\\t\\tchildren: tree\\n\\t};\\n\\tif(classString) {\\n\\t\\t$tw.utils.addClassToParseTreeNode(node,classString);\\n\\t}\\n\\tif(stylesString) {\\n\\t\\t$tw.utils.addAttributeToParseTreeNode(node,\\\"style\\\",stylesString);\\n\\t}\\n\\tif(!classString && !stylesString) {\\n\\t\\t$tw.utils.addClassToParseTreeNode(node,\\\"tc-inline-style\\\");\\n\\t}\\n\\treturn [node];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/syslink.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/syslink.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/syslink.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for system tiddler links.\\nCan be suppressed preceding them with `~`.\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"syslink\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = new RegExp(\\n\\t\\t\\\"~?\\\\\\\\$:\\\\\\\\/[\\\" +\\n\\t\\t$tw.config.textPrimitives.anyLetter.substr(1,$tw.config.textPrimitives.anyLetter.length - 2) +\\n\\t\\t\\\"\\\\/._-]+\\\",\\n\\t\\t\\\"mg\\\"\\n\\t);\\n};\\n\\nexports.parse = function() {\\n\\tvar match = this.match[0];\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Create the link unless it is suppressed\\n\\tif(match.substr(0,1) === \\\"~\\\") {\\n\\t\\treturn [{type: \\\"text\\\", text: match.substr(1)}];\\n\\t} else {\\n\\t\\treturn [{\\n\\t\\t\\ttype: \\\"link\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tto: {type: \\\"string\\\", value: match}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\ttext: match\\n\\t\\t\\t}]\\n\\t\\t}];\\n\\t}\\n};\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/table.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/table.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/table.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text block rule for tables.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"table\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /^\\\\|(?:[^\\\\n]*)\\\\|(?:[fhck]?)\\\\r?(?:\\\\n|$)/mg;\\n};\\n\\nvar processRow = function(prevColumns) {\\n\\tvar cellRegExp = /(?:\\\\|([^\\\\n\\\\|]*)\\\\|)|(\\\\|[fhck]?\\\\r?(?:\\\\n|$))/mg,\\n\\t\\tcellTermRegExp = /((?:\\\\x20*)\\\\|)/mg,\\n\\t\\ttree = [],\\n\\t\\tcol = 0,\\n\\t\\tcolSpanCount = 1,\\n\\t\\tprevCell,\\n\\t\\tvAlign;\\n\\t// Match a single cell\\n\\tcellRegExp.lastIndex = this.parser.pos;\\n\\tvar cellMatch = cellRegExp.exec(this.parser.source);\\n\\twhile(cellMatch && cellMatch.index === this.parser.pos) {\\n\\t\\tif(cellMatch[1] === \\\"~\\\") {\\n\\t\\t\\t// Rowspan\\n\\t\\t\\tvar last = prevColumns[col];\\n\\t\\t\\tif(last) {\\n\\t\\t\\t\\tlast.rowSpanCount++;\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(last.element,\\\"rowspan\\\",last.rowSpanCount);\\n\\t\\t\\t\\tvAlign = $tw.utils.getAttributeValueFromParseTreeNode(last.element,\\\"valign\\\",\\\"center\\\");\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(last.element,\\\"valign\\\",vAlign);\\n\\t\\t\\t\\tif(colSpanCount > 1) {\\n\\t\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(last.element,\\\"colspan\\\",colSpanCount);\\n\\t\\t\\t\\t\\tcolSpanCount = 1;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Move to just before the `|` terminating the cell\\n\\t\\t\\tthis.parser.pos = cellRegExp.lastIndex - 1;\\n\\t\\t} else if(cellMatch[1] === \\\">\\\") {\\n\\t\\t\\t// Colspan\\n\\t\\t\\tcolSpanCount++;\\n\\t\\t\\t// Move to just before the `|` terminating the cell\\n\\t\\t\\tthis.parser.pos = cellRegExp.lastIndex - 1;\\n\\t\\t} else if(cellMatch[1] === \\\"\u003C\\\" && prevCell) {\\n\\t\\t\\tcolSpanCount = 1 + $tw.utils.getAttributeValueFromParseTreeNode(prevCell,\\\"colspan\\\",1);\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(prevCell,\\\"colspan\\\",colSpanCount);\\n\\t\\t\\tcolSpanCount = 1;\\n\\t\\t\\t// Move to just before the `|` terminating the cell\\n\\t\\t\\tthis.parser.pos = cellRegExp.lastIndex - 1;\\n\\t\\t} else if(cellMatch[2]) {\\n\\t\\t\\t// End of row\\n\\t\\t\\tif(prevCell && colSpanCount > 1) {\\n\\t\\t\\t\\tif(prevCell.attributes && prevCell.attributes && prevCell.attributes.colspan) {\\n\\t\\t\\t\\t\\t\\tcolSpanCount += prevCell.attributes.colspan.value;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tcolSpanCount -= 1;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(prevCell,\\\"colspan\\\",colSpanCount);\\n\\t\\t\\t}\\n\\t\\t\\tthis.parser.pos = cellRegExp.lastIndex - 1;\\n\\t\\t\\tbreak;\\n\\t\\t} else {\\n\\t\\t\\t// For ordinary cells, step beyond the opening `|`\\n\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t// Look for a space at the start of the cell\\n\\t\\t\\tvar spaceLeft = false;\\n\\t\\t\\tvAlign = null;\\n\\t\\t\\tif(this.parser.source.substr(this.parser.pos).search(/^\\\\^([^\\\\^]|\\\\^\\\\^)/) === 0) {\\n\\t\\t\\t\\tvAlign = \\\"top\\\";\\n\\t\\t\\t} else if(this.parser.source.substr(this.parser.pos).search(/^,([^,]|,,)/) === 0) {\\n\\t\\t\\t\\tvAlign = \\\"bottom\\\";\\n\\t\\t\\t}\\n\\t\\t\\tif(vAlign) {\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t}\\n\\t\\t\\tvar chr = this.parser.source.substr(this.parser.pos,1);\\n\\t\\t\\twhile(chr === \\\" \\\") {\\n\\t\\t\\t\\tspaceLeft = true;\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t\\tchr = this.parser.source.substr(this.parser.pos,1);\\n\\t\\t\\t}\\n\\t\\t\\t// Check whether this is a heading cell\\n\\t\\t\\tvar cell;\\n\\t\\t\\tif(chr === \\\"!\\\") {\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t\\tcell = {type: \\\"element\\\", tag: \\\"th\\\", children: []};\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tcell = {type: \\\"element\\\", tag: \\\"td\\\", children: []};\\n\\t\\t\\t}\\n\\t\\t\\ttree.push(cell);\\n\\t\\t\\t// Record information about this cell\\n\\t\\t\\tprevCell = cell;\\n\\t\\t\\tprevColumns[col] = {rowSpanCount:1,element:cell};\\n\\t\\t\\t// Check for a colspan\\n\\t\\t\\tif(colSpanCount > 1) {\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(cell,\\\"colspan\\\",colSpanCount);\\n\\t\\t\\t\\tcolSpanCount = 1;\\n\\t\\t\\t}\\n\\t\\t\\t// Parse the cell\\n\\t\\t\\tcell.children = this.parser.parseInlineRun(cellTermRegExp,{eatTerminator: true});\\n\\t\\t\\t// Set the alignment for the cell\\n\\t\\t\\tif(vAlign) {\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(cell,\\\"valign\\\",vAlign);\\n\\t\\t\\t}\\n\\t\\t\\tif(this.parser.source.substr(this.parser.pos - 2,1) === \\\" \\\") { // spaceRight\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(cell,\\\"align\\\",spaceLeft ? \\\"center\\\" : \\\"left\\\");\\n\\t\\t\\t} else if(spaceLeft) {\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(cell,\\\"align\\\",\\\"right\\\");\\n\\t\\t\\t}\\n\\t\\t\\t// Move back to the closing `|`\\n\\t\\t\\tthis.parser.pos--;\\n\\t\\t}\\n\\t\\tcol++;\\n\\t\\tcellRegExp.lastIndex = this.parser.pos;\\n\\t\\tcellMatch = cellRegExp.exec(this.parser.source);\\n\\t}\\n\\treturn tree;\\n};\\n\\nexports.parse = function() {\\n\\tvar rowContainerTypes = {\\\"c\\\":\\\"caption\\\", \\\"h\\\":\\\"thead\\\", \\\"\\\":\\\"tbody\\\", \\\"f\\\":\\\"tfoot\\\"},\\n\\t\\ttable = {type: \\\"element\\\", tag: \\\"table\\\", children: []},\\n\\t\\trowRegExp = /^\\\\|([^\\\\n]*)\\\\|([fhck]?)\\\\r?(?:\\\\n|$)/mg,\\n\\t\\trowTermRegExp = /(\\\\|(?:[fhck]?)\\\\r?(?:\\\\n|$))/mg,\\n\\t\\tprevColumns = [],\\n\\t\\tcurrRowType,\\n\\t\\trowContainer,\\n\\t\\trowCount = 0;\\n\\t// Match the row\\n\\trowRegExp.lastIndex = this.parser.pos;\\n\\tvar rowMatch = rowRegExp.exec(this.parser.source);\\n\\twhile(rowMatch && rowMatch.index === this.parser.pos) {\\n\\t\\tvar rowType = rowMatch[2];\\n\\t\\t// Check if it is a class assignment\\n\\t\\tif(rowType === \\\"k\\\") {\\n\\t\\t\\t$tw.utils.addClassToParseTreeNode(table,rowMatch[1]);\\n\\t\\t\\tthis.parser.pos = rowMatch.index + rowMatch[0].length;\\n\\t\\t} else {\\n\\t\\t\\t// Otherwise, create a new row if this one is of a different type\\n\\t\\t\\tif(rowType !== currRowType) {\\n\\t\\t\\t\\trowContainer = {type: \\\"element\\\", tag: rowContainerTypes[rowType], children: []};\\n\\t\\t\\t\\ttable.children.push(rowContainer);\\n\\t\\t\\t\\tcurrRowType = rowType;\\n\\t\\t\\t}\\n\\t\\t\\t// Is this a caption row?\\n\\t\\t\\tif(currRowType === \\\"c\\\") {\\n\\t\\t\\t\\t// If so, move past the opening `|` of the row\\n\\t\\t\\t\\tthis.parser.pos++;\\n\\t\\t\\t\\t// Move the caption to the first row if it isn't already\\n\\t\\t\\t\\tif(table.children.length !== 1) {\\n\\t\\t\\t\\t\\ttable.children.pop(); // Take rowContainer out of the children array\\n\\t\\t\\t\\t\\ttable.children.splice(0,0,rowContainer); // Insert it at the bottom\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Set the alignment - TODO: figure out why TW did this\\n//\\t\\t\\t\\trowContainer.attributes.align = rowCount === 0 ? \\\"top\\\" : \\\"bottom\\\";\\n\\t\\t\\t\\t// Parse the caption\\n\\t\\t\\t\\trowContainer.children = this.parser.parseInlineRun(rowTermRegExp,{eatTerminator: true});\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Create the row\\n\\t\\t\\t\\tvar theRow = {type: \\\"element\\\", tag: \\\"tr\\\", children: []};\\n\\t\\t\\t\\t$tw.utils.addClassToParseTreeNode(theRow,rowCount%2 ? \\\"oddRow\\\" : \\\"evenRow\\\");\\n\\t\\t\\t\\trowContainer.children.push(theRow);\\n\\t\\t\\t\\t// Process the row\\n\\t\\t\\t\\ttheRow.children = processRow.call(this,prevColumns);\\n\\t\\t\\t\\tthis.parser.pos = rowMatch.index + rowMatch[0].length;\\n\\t\\t\\t\\t// Increment the row count\\n\\t\\t\\t\\trowCount++;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\trowMatch = rowRegExp.exec(this.parser.source);\\n\\t}\\n\\treturn [table];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/transcludeblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/transcludeblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/transcludeblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for block-level transclusion. For example:\\n\\n```\\n{{MyTiddler}}\\n{{MyTiddler||TemplateTitle}}\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"transcludeblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\{\\\\{([^\\\\{\\\\}\\\\|]*)(?:\\\\|\\\\|([^\\\\|\\\\{\\\\}]+))?(?:\\\\|([^\\\\{\\\\}]+))?\\\\}\\\\}(?:\\\\r?\\\\n|$)/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Get the match details\\n\\tvar template = $tw.utils.trim(this.match[2]),\\n\\t\\ttextRef = $tw.utils.trim(this.match[1]),\\n\\t\\tparams = this.match[3] ? this.match[3].split(\\\"|\\\") : [];\\n\\t// Prepare the transclude widget\\n\\tvar transcludeNode = {\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {},\\n\\t\\t\\tisBlock: true\\n\\t\\t};\\n\\t$tw.utils.each(params,function(paramValue,index) {\\n\\t\\tvar name = \\\"\\\" + index;\\n\\t\\ttranscludeNode.attributes[name] = {\\n\\t\\t\\tname: name,\\n\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\tvalue: paramValue\\n\\t\\t}\\n\\t});\\n\\t// Prepare the tiddler widget\\n\\tvar tr, targetTitle, targetField, targetIndex, tiddlerNode;\\n\\tif(textRef) {\\n\\t\\ttr = $tw.utils.parseTextReference(textRef);\\n\\t\\ttargetTitle = tr.title;\\n\\t\\ttargetField = tr.field;\\n\\t\\ttargetIndex = tr.index;\\n\\t\\ttiddlerNode = {\\n\\t\\t\\ttype: \\\"tiddler\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttiddler: {name: \\\"tiddler\\\", type: \\\"string\\\", value: targetTitle}\\n\\t\\t\\t},\\n\\t\\t\\tisBlock: true,\\n\\t\\t\\tchildren: [transcludeNode]\\n\\t\\t};\\n\\t}\\n\\tif(template) {\\n\\t\\ttranscludeNode.attributes[\\\"$tiddler\\\"] = {name: \\\"$tiddler\\\", type: \\\"string\\\", value: template};\\n\\t\\tif(textRef) {\\n\\t\\t\\treturn [tiddlerNode];\\n\\t\\t} else {\\n\\t\\t\\treturn [transcludeNode];\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(textRef) {\\n\\t\\t\\ttranscludeNode.attributes[\\\"$tiddler\\\"] = {name: \\\"$tiddler\\\", type: \\\"string\\\", value: targetTitle};\\n\\t\\t\\tif(targetField) {\\n\\t\\t\\t\\ttranscludeNode.attributes[\\\"$field\\\"] = {name: \\\"$field\\\", type: \\\"string\\\", value: targetField};\\n\\t\\t\\t}\\n\\t\\t\\tif(targetIndex) {\\n\\t\\t\\t\\ttranscludeNode.attributes[\\\"$index\\\"] = {name: \\\"$index\\\", type: \\\"string\\\", value: targetIndex};\\n\\t\\t\\t}\\n\\t\\t\\treturn [tiddlerNode];\\n\\t\\t} else {\\n\\t\\t\\treturn [transcludeNode];\\n\\t\\t}\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/transcludeinline.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/transcludeinline.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/transcludeinline.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for inline-level transclusion. For example:\\n\\n```\\n{{MyTiddler}}\\n{{MyTiddler||TemplateTitle}}\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"transcludeinline\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\{\\\\{([^\\\\{\\\\}\\\\|]*)(?:\\\\|\\\\|([^\\\\|\\\\{\\\\}]+))?(?:\\\\|([^\\\\{\\\\}]+))?\\\\}\\\\}/mg;\\n};\\n\\nexports.parse = function() {\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Get the match details\\n\\tvar template = $tw.utils.trim(this.match[2]),\\n\\t\\ttextRef = $tw.utils.trim(this.match[1]),\\n\\t\\tparams = this.match[3] ? this.match[3].split(\\\"|\\\") : [];\\n\\t// Prepare the transclude widget\\n\\tvar transcludeNode = {\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {}\\n\\t\\t};\\n\\t$tw.utils.each(params,function(paramValue,index) {\\n\\t\\tvar name = \\\"\\\" + index;\\n\\t\\ttranscludeNode.attributes[name] = {\\n\\t\\t\\tname: name,\\n\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\tvalue: paramValue\\n\\t\\t}\\n\\t});\\n\\t// Prepare the tiddler widget\\n\\tvar tr, targetTitle, targetField, targetIndex, tiddlerNode;\\n\\tif(textRef) {\\n\\t\\ttr = $tw.utils.parseTextReference(textRef);\\n\\t\\ttargetTitle = tr.title;\\n\\t\\ttargetField = tr.field;\\n\\t\\ttargetIndex = tr.index;\\n\\t\\ttiddlerNode = {\\n\\t\\t\\ttype: \\\"tiddler\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttiddler: {name: \\\"tiddler\\\", type: \\\"string\\\", value: targetTitle}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [transcludeNode]\\n\\t\\t};\\n\\t}\\n\\tif(template) {\\n\\t\\ttranscludeNode.attributes[\\\"$tiddler\\\"] = {name: \\\"$tiddler\\\", type: \\\"string\\\", value: template};\\n\\t\\tif(textRef) {\\n\\t\\t\\treturn [tiddlerNode];\\n\\t\\t} else {\\n\\t\\t\\treturn [transcludeNode];\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(textRef) {\\n\\t\\t\\ttranscludeNode.attributes[\\\"$tiddler\\\"] = {name: \\\"$tiddler\\\", type: \\\"string\\\", value: targetTitle};\\n\\t\\t\\tif(targetField) {\\n\\t\\t\\t\\ttranscludeNode.attributes[\\\"$field\\\"] = {name: \\\"$field\\\", type: \\\"string\\\", value: targetField};\\n\\t\\t\\t}\\n\\t\\t\\tif(targetIndex) {\\n\\t\\t\\t\\ttranscludeNode.attributes[\\\"$index\\\"] = {name: \\\"$index\\\", type: \\\"string\\\", value: targetIndex};\\n\\t\\t\\t}\\n\\t\\t\\treturn [tiddlerNode];\\n\\t\\t} else {\\n\\t\\t\\treturn [transcludeNode];\\n\\t\\t}\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/typedblock.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/typedblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/typedblock.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text rule for typed blocks. For example:\\n\\n```\\n$$$.js\\nThis will be rendered as JavaScript\\n$$$\\n\\n$$$.svg\\n\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"150\\\" height=\\\"100\\\">\\n \u003Ccircle cx=\\\"100\\\" cy=\\\"50\\\" r=\\\"40\\\" stroke=\\\"black\\\" stroke-width=\\\"2\\\" fill=\\\"red\\\" />\\n\u003C/svg>\\n$$$\\n\\n$$$text/vnd.tiddlywiki>text/html\\nThis will be rendered as an //HTML representation// of WikiText\\n$$$\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nexports.name = \\\"typedblock\\\";\\nexports.types = {block: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\$\\\\$\\\\$([^ >\\\\r\\\\n]*)(?: *> *([^ \\\\r\\\\n]+))?\\\\r?\\\\n/mg;\\n};\\n\\nexports.parse = function() {\\n\\tvar reEnd = /\\\\r?\\\\n\\\\$\\\\$\\\\$\\\\r?(?:\\\\n|$)/mg;\\n\\t// Save the type\\n\\tvar parseType = this.match[1],\\n\\t\\trenderType = this.match[2];\\n\\t// Move past the match\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Look for the end of the block\\n\\treEnd.lastIndex = this.parser.pos;\\n\\tvar match = reEnd.exec(this.parser.source),\\n\\t\\ttext;\\n\\t// Process the block\\n\\tif(match) {\\n\\t\\ttext = this.parser.source.substring(this.parser.pos,match.index);\\n\\t\\tthis.parser.pos = match.index + match[0].length;\\n\\t} else {\\n\\t\\ttext = this.parser.source.substr(this.parser.pos);\\n\\t\\tthis.parser.pos = this.parser.sourceLength;\\n\\t}\\n\\t// Parse the block according to the specified type\\n\\tvar parser = this.parser.wiki.parseText(parseType,text,{defaultType: \\\"text/plain\\\"});\\n\\t// If there's no render type, just return the parse tree\\n\\tif(!renderType) {\\n\\t\\treturn parser.tree;\\n\\t} else {\\n\\t\\t// Otherwise, render to the rendertype and return in a \u003CPRE> tag\\n\\t\\tvar widgetNode = this.parser.wiki.makeWidget(parser),\\n\\t\\t\\tcontainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t\\twidgetNode.render(container,null);\\n\\t\\ttext = renderType === \\\"text/html\\\" ? container.innerHTML : container.textContent;\\n\\t\\treturn [{\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"pre\\\",\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\ttext: text\\n\\t\\t\\t}]\\n\\t\\t}];\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/whitespace.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/whitespace.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/whitespace.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki pragma rule for whitespace specifications\\n\\n```\\n\\\\whitespace trim\\n\\\\whitespace notrim\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"whitespace\\\";\\nexports.types = {pragma: true};\\n\\n/*\\nInstantiate parse rule\\n*/\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = /\\\\\\\\whitespace[^\\\\S\\\\n]/mg;\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\tvar self = this;\\n\\t// Move past the pragma invocation\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Parse whitespace delimited tokens terminated by a line break\\n\\tvar reMatch = /[^\\\\S\\\\n]*(\\\\S+)|(\\\\r?\\\\n)/mg,\\n\\t\\ttokens = [];\\n\\treMatch.lastIndex = this.parser.pos;\\n\\tvar match = reMatch.exec(this.parser.source);\\n\\twhile(match && match.index === this.parser.pos) {\\n\\t\\tthis.parser.pos = reMatch.lastIndex;\\n\\t\\t// Exit if we've got the line break\\n\\t\\tif(match[2]) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Process the token\\n\\t\\tif(match[1]) {\\n\\t\\t\\ttokens.push(match[1]);\\n\\t\\t}\\n\\t\\t// Match the next token\\n\\t\\tmatch = reMatch.exec(this.parser.source);\\n\\t}\\n\\t// Process the tokens\\n\\t$tw.utils.each(tokens,function(token) {\\n\\t\\tswitch(token) {\\n\\t\\t\\tcase \\\"trim\\\":\\n\\t\\t\\t\\tself.parser.configTrimWhiteSpace = true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"notrim\\\":\\n\\t\\t\\t\\tself.parser.configTrimWhiteSpace = false;\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t});\\n\\t// No parse tree nodes to return\\n\\treturn [];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/wikilink.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/wikilink.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/wikilink.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for wiki links. For example:\\n\\n```\\nAWikiLink\\nAnotherLink\\n~SuppressedLink\\n```\\n\\nPrecede a camel case word with `~` to prevent it from being recognised as a link.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"wikilink\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = new RegExp($tw.config.textPrimitives.unWikiLink + \\\"?\\\" + $tw.config.textPrimitives.wikiLink,\\\"mg\\\");\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Get the details of the match\\n\\tvar linkText = this.match[0];\\n\\t// Move past the macro call\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// If the link starts with the unwikilink character then just output it as plain text\\n\\tif(linkText.substr(0,1) === $tw.config.textPrimitives.unWikiLink) {\\n\\t\\treturn [{type: \\\"text\\\", text: linkText.substr(1)}];\\n\\t}\\n\\t// If the link has been preceded with a blocked letter then don't treat it as a link\\n\\tif(this.match.index > 0) {\\n\\t\\tvar preRegExp = new RegExp($tw.config.textPrimitives.blockPrefixLetters,\\\"mg\\\");\\n\\t\\tpreRegExp.lastIndex = this.match.index-1;\\n\\t\\tvar preMatch = preRegExp.exec(this.parser.source);\\n\\t\\tif(preMatch && preMatch.index === this.match.index-1) {\\n\\t\\t\\treturn [{type: \\\"text\\\", text: linkText}];\\n\\t\\t}\\n\\t}\\n\\treturn [{\\n\\t\\ttype: \\\"link\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tto: {type: \\\"string\\\", value: linkText}\\n\\t\\t},\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\ttext: linkText\\n\\t\\t}]\\n\\t}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/rules/wikilinkprefix.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/wikilinkprefix.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/wikilinkprefix.js\\ntype: application/javascript\\nmodule-type: wikirule\\n\\nWiki text inline rule for suppressed wiki links. For example:\\n\\n```\\n~SuppressedLink\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.name = \\\"wikilinkprefix\\\";\\nexports.types = {inline: true};\\n\\nexports.init = function(parser) {\\n\\tthis.parser = parser;\\n\\t// Regexp to match\\n\\tthis.matchRegExp = new RegExp($tw.config.textPrimitives.unWikiLink + $tw.config.textPrimitives.wikiLink,\\\"mg\\\");\\n};\\n\\n/*\\nParse the most recent match\\n*/\\nexports.parse = function() {\\n\\t// Get the details of the match\\n\\tvar linkText = this.match[0];\\n\\t// Move past the wikilink\\n\\tthis.parser.pos = this.matchRegExp.lastIndex;\\n\\t// Return the link without unwikilink character as plain text\\n\\treturn [{type: \\\"text\\\", text: linkText.substr(1)}];\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikirule\"},\"$:/core/modules/parsers/wikiparser/wikiparser.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/wikiparser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/wikiparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe wiki text parser processes blocks of source text into a parse tree.\\n\\nThe parse tree is made up of nested arrays of these JavaScript objects:\\n\\n\\t{type: \\\"element\\\", tag: \u003Cstring>, attributes: {}, children: []} - an HTML element\\n\\t{type: \\\"text\\\", text: \u003Cstring>} - a text node\\n\\t{type: \\\"entity\\\", value: \u003Cstring>} - an entity\\n\\t{type: \\\"raw\\\", html: \u003Cstring>} - raw HTML\\n\\nAttributes are stored as hashmaps of the following objects:\\n\\n\\t{type: \\\"string\\\", value: \u003Cstring>} - literal string\\n\\t{type: \\\"indirect\\\", textReference: \u003CtextReference>} - indirect through a text reference\\n\\t{type: \\\"macro\\\", macro: \u003CTBD>} - indirect through a macro invocation\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\ntype: content type of text\\ntext: text to be parsed\\noptions: see below:\\n\\tparseAsInline: true to parse text as inline instead of block\\n\\twiki: reference to wiki to use\\n\\t_canonical_uri: optional URI of content if text is missing or empty\\n\\tconfigTrimWhiteSpace: true to trim whitespace\\n*/\\nvar WikiParser = function(type,text,options) {\\n\\tthis.wiki = options.wiki;\\n\\tvar self = this;\\n\\t// Check for an externally linked tiddler\\n\\tif($tw.browser && (text || \\\"\\\") === \\\"\\\" && options._canonical_uri) {\\n\\t\\tthis.loadRemoteTiddler(options._canonical_uri);\\n\\t\\ttext = $tw.language.getRawString(\\\"LazyLoadingWarning\\\");\\n\\t}\\n\\t// Save the parse text\\n\\tthis.type = type || \\\"text/vnd.tiddlywiki\\\";\\n\\tthis.source = text || \\\"\\\";\\n\\tthis.sourceLength = this.source.length;\\n\\t// Flag for ignoring whitespace\\n\\tthis.configTrimWhiteSpace = options.configTrimWhiteSpace !== undefined ? options.configTrimWhiteSpace : false;\\n\\t// Parser mode\\n\\tthis.parseAsInline = options.parseAsInline;\\n\\t// Set current parse position\\n\\tthis.pos = 0;\\n\\t// Start with empty output\\n\\tthis.tree = [];\\n\\t// Assemble the rule classes we're going to use\\n\\tvar pragmaRuleClasses, blockRuleClasses, inlineRuleClasses;\\n\\tif(options.rules) {\\n\\t\\tpragmaRuleClasses = options.rules.pragma;\\n\\t\\tblockRuleClasses = options.rules.block;\\n\\t\\tinlineRuleClasses = options.rules.inline;\\n\\t} else {\\n\\t\\t// Setup the rule classes if we don't have them already\\n\\t\\tif(!this.pragmaRuleClasses) {\\n\\t\\t\\tWikiParser.prototype.pragmaRuleClasses = $tw.modules.createClassesFromModules(\\\"wikirule\\\",\\\"pragma\\\",$tw.WikiRuleBase);\\n\\t\\t\\tthis.setupRules(WikiParser.prototype.pragmaRuleClasses,\\\"$:/config/WikiParserRules/Pragmas/\\\");\\n\\t\\t}\\n\\t\\tpragmaRuleClasses = this.pragmaRuleClasses;\\n\\t\\tif(!this.blockRuleClasses) {\\n\\t\\t\\tWikiParser.prototype.blockRuleClasses = $tw.modules.createClassesFromModules(\\\"wikirule\\\",\\\"block\\\",$tw.WikiRuleBase);\\n\\t\\t\\tthis.setupRules(WikiParser.prototype.blockRuleClasses,\\\"$:/config/WikiParserRules/Block/\\\");\\n\\t\\t}\\n\\t\\tblockRuleClasses = this.blockRuleClasses;\\n\\t\\tif(!this.inlineRuleClasses) {\\n\\t\\t\\tWikiParser.prototype.inlineRuleClasses = $tw.modules.createClassesFromModules(\\\"wikirule\\\",\\\"inline\\\",$tw.WikiRuleBase);\\n\\t\\t\\tthis.setupRules(WikiParser.prototype.inlineRuleClasses,\\\"$:/config/WikiParserRules/Inline/\\\");\\n\\t\\t}\\n\\t\\tinlineRuleClasses = this.inlineRuleClasses;\\n\\t}\\n\\t// Instantiate the pragma parse rules\\n\\tthis.pragmaRules = this.instantiateRules(pragmaRuleClasses,\\\"pragma\\\",0);\\n\\t// Instantiate the parser block and inline rules\\n\\tthis.blockRules = this.instantiateRules(blockRuleClasses,\\\"block\\\",0);\\n\\tthis.inlineRules = this.instantiateRules(inlineRuleClasses,\\\"inline\\\",0);\\n\\t// Parse any pragmas\\n\\tvar topBranch = this.parsePragmas();\\n\\t// Parse the text into inline runs or blocks\\n\\tif(this.parseAsInline) {\\n\\t\\ttopBranch.push.apply(topBranch,this.parseInlineRun());\\n\\t} else {\\n\\t\\ttopBranch.push.apply(topBranch,this.parseBlocks());\\n\\t}\\n\\t// Return the parse tree\\n};\\n\\n/*\\n*/\\nWikiParser.prototype.loadRemoteTiddler = function(url) {\\n\\tvar self = this;\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: url,\\n\\t\\ttype: \\\"GET\\\",\\n\\t\\tcallback: function(err,data) {\\n\\t\\t\\tif(!err) {\\n\\t\\t\\t\\tvar tiddlers = self.wiki.deserializeTiddlers(\\\".tid\\\",data,self.wiki.getCreationFields());\\n\\t\\t\\t\\t$tw.utils.each(tiddlers,function(tiddler) {\\n\\t\\t\\t\\t\\ttiddler[\\\"_canonical_uri\\\"] = url;\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tif(tiddlers) {\\n\\t\\t\\t\\t\\tself.wiki.addTiddlers(tiddlers);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\n*/\\nWikiParser.prototype.setupRules = function(proto,configPrefix) {\\n\\tvar self = this;\\n\\tif(!$tw.safeMode) {\\n\\t\\t$tw.utils.each(proto,function(object,name) {\\n\\t\\t\\tif(self.wiki.getTiddlerText(configPrefix + name,\\\"enable\\\") !== \\\"enable\\\") {\\n\\t\\t\\t\\tdelete proto[name];\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nInstantiate an array of parse rules\\n*/\\nWikiParser.prototype.instantiateRules = function(classes,type,startPos) {\\n\\tvar rulesInfo = [],\\n\\t\\tself = this;\\n\\t$tw.utils.each(classes,function(RuleClass) {\\n\\t\\t// Instantiate the rule\\n\\t\\tvar rule = new RuleClass(self);\\n\\t\\trule.is = {};\\n\\t\\trule.is[type] = true;\\n\\t\\trule.init(self);\\n\\t\\tvar matchIndex = rule.findNextMatch(startPos);\\n\\t\\tif(matchIndex !== undefined) {\\n\\t\\t\\trulesInfo.push({\\n\\t\\t\\t\\trule: rule,\\n\\t\\t\\t\\tmatchIndex: matchIndex\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\treturn rulesInfo;\\n};\\n\\n/*\\nSkip any whitespace at the current position. Options are:\\n\\ttreatNewlinesAsNonWhitespace: true if newlines are NOT to be treated as whitespace\\n*/\\nWikiParser.prototype.skipWhitespace = function(options) {\\n\\toptions = options || {};\\n\\tvar whitespaceRegExp = options.treatNewlinesAsNonWhitespace ? /([^\\\\S\\\\n]+)/mg : /(\\\\s+)/mg;\\n\\twhitespaceRegExp.lastIndex = this.pos;\\n\\tvar whitespaceMatch = whitespaceRegExp.exec(this.source);\\n\\tif(whitespaceMatch && whitespaceMatch.index === this.pos) {\\n\\t\\tthis.pos = whitespaceRegExp.lastIndex;\\n\\t}\\n};\\n\\n/*\\nGet the next match out of an array of parse rule instances\\n*/\\nWikiParser.prototype.findNextMatch = function(rules,startPos) {\\n\\t// Find the best matching rule by finding the closest match position\\n\\tvar matchingRule,\\n\\t\\tmatchingRulePos = this.sourceLength;\\n\\t// Step through each rule\\n\\tfor(var t=0; t\u003Crules.length; t++) {\\n\\t\\tvar ruleInfo = rules[t];\\n\\t\\t// Ask the rule to get the next match if we've moved past the current one\\n\\t\\tif(ruleInfo.matchIndex !== undefined && ruleInfo.matchIndex \u003C startPos) {\\n\\t\\t\\truleInfo.matchIndex = ruleInfo.rule.findNextMatch(startPos);\\n\\t\\t}\\n\\t\\t// Adopt this match if it's closer than the current best match\\n\\t\\tif(ruleInfo.matchIndex !== undefined && ruleInfo.matchIndex \u003C= matchingRulePos) {\\n\\t\\t\\tmatchingRule = ruleInfo;\\n\\t\\t\\tmatchingRulePos = ruleInfo.matchIndex;\\n\\t\\t}\\n\\t}\\n\\treturn matchingRule;\\n};\\n\\n/*\\nParse any pragmas at the beginning of a block of parse text\\n*/\\nWikiParser.prototype.parsePragmas = function() {\\n\\tvar currentTreeBranch = this.tree;\\n\\twhile(true) {\\n\\t\\t// Skip whitespace\\n\\t\\tthis.skipWhitespace();\\n\\t\\t// Check for the end of the text\\n\\t\\tif(this.pos >= this.sourceLength) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Check if we've arrived at a pragma rule match\\n\\t\\tvar nextMatch = this.findNextMatch(this.pragmaRules,this.pos);\\n\\t\\t// If not, just exit\\n\\t\\tif(!nextMatch || nextMatch.matchIndex !== this.pos) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t// Process the pragma rule\\n\\t\\tvar subTree = nextMatch.rule.parse();\\n\\t\\tif(subTree.length > 0) {\\n\\t\\t\\t// Quick hack; we only cope with a single parse tree node being returned, which is true at the moment\\n\\t\\t\\tcurrentTreeBranch.push.apply(currentTreeBranch,subTree);\\n\\t\\t\\tsubTree[0].children = [];\\n\\t\\t\\tcurrentTreeBranch = subTree[0].children;\\n\\t\\t}\\n\\t}\\n\\treturn currentTreeBranch;\\n};\\n\\n/*\\nParse a block from the current position\\n\\tterminatorRegExpString: optional regular expression string that identifies the end of plain paragraphs. Must not include capturing parenthesis\\n*/\\nWikiParser.prototype.parseBlock = function(terminatorRegExpString) {\\n\\tvar terminatorRegExp = terminatorRegExpString ? new RegExp(\\\"(\\\" + terminatorRegExpString + \\\"|\\\\\\\\r?\\\\\\\\n\\\\\\\\r?\\\\\\\\n)\\\",\\\"mg\\\") : /(\\\\r?\\\\n\\\\r?\\\\n)/mg;\\n\\tthis.skipWhitespace();\\n\\tif(this.pos >= this.sourceLength) {\\n\\t\\treturn [];\\n\\t}\\n\\t// Look for a block rule that applies at the current position\\n\\tvar nextMatch = this.findNextMatch(this.blockRules,this.pos);\\n\\tif(nextMatch && nextMatch.matchIndex === this.pos) {\\n\\t\\treturn nextMatch.rule.parse();\\n\\t}\\n\\t// Treat it as a paragraph if we didn't find a block rule\\n\\tvar start = this.pos;\\n\\tvar children = this.parseInlineRun(terminatorRegExp);\\n\\tvar end = this.pos;\\n\\treturn [{type: \\\"element\\\", tag: \\\"p\\\", children: children, start: start, end: end }];\\n};\\n\\n/*\\nParse a series of blocks of text until a terminating regexp is encountered or the end of the text\\n\\tterminatorRegExpString: terminating regular expression\\n*/\\nWikiParser.prototype.parseBlocks = function(terminatorRegExpString) {\\n\\tif(terminatorRegExpString) {\\n\\t\\treturn this.parseBlocksTerminated(terminatorRegExpString);\\n\\t} else {\\n\\t\\treturn this.parseBlocksUnterminated();\\n\\t}\\n};\\n\\n/*\\nParse a block from the current position to the end of the text\\n*/\\nWikiParser.prototype.parseBlocksUnterminated = function() {\\n\\tvar tree = [];\\n\\twhile(this.pos \u003C this.sourceLength) {\\n\\t\\ttree.push.apply(tree,this.parseBlock());\\n\\t}\\n\\treturn tree;\\n};\\n\\n/*\\nParse blocks of text until a terminating regexp is encountered\\n*/\\nWikiParser.prototype.parseBlocksTerminated = function(terminatorRegExpString) {\\n\\tvar terminatorRegExp = new RegExp(\\\"(\\\" + terminatorRegExpString + \\\")\\\",\\\"mg\\\"),\\n\\t\\ttree = [];\\n\\t// Skip any whitespace\\n\\tthis.skipWhitespace();\\n\\t// Check if we've got the end marker\\n\\tterminatorRegExp.lastIndex = this.pos;\\n\\tvar match = terminatorRegExp.exec(this.source);\\n\\t// Parse the text into blocks\\n\\twhile(this.pos \u003C this.sourceLength && !(match && match.index === this.pos)) {\\n\\t\\tvar blocks = this.parseBlock(terminatorRegExpString);\\n\\t\\ttree.push.apply(tree,blocks);\\n\\t\\t// Skip any whitespace\\n\\t\\tthis.skipWhitespace();\\n\\t\\t// Check if we've got the end marker\\n\\t\\tterminatorRegExp.lastIndex = this.pos;\\n\\t\\tmatch = terminatorRegExp.exec(this.source);\\n\\t}\\n\\tif(match && match.index === this.pos) {\\n\\t\\tthis.pos = match.index + match[0].length;\\n\\t}\\n\\treturn tree;\\n};\\n\\n/*\\nParse a run of text at the current position\\n\\tterminatorRegExp: a regexp at which to stop the run\\n\\toptions: see below\\nOptions available:\\n\\teatTerminator: move the parse position past any encountered terminator (default false)\\n*/\\nWikiParser.prototype.parseInlineRun = function(terminatorRegExp,options) {\\n\\tif(terminatorRegExp) {\\n\\t\\treturn this.parseInlineRunTerminated(terminatorRegExp,options);\\n\\t} else {\\n\\t\\treturn this.parseInlineRunUnterminated(options);\\n\\t}\\n};\\n\\nWikiParser.prototype.parseInlineRunUnterminated = function(options) {\\n\\tvar tree = [];\\n\\t// Find the next occurrence of an inline rule\\n\\tvar nextMatch = this.findNextMatch(this.inlineRules,this.pos);\\n\\t// Loop around the matches until we've reached the end of the text\\n\\twhile(this.pos \u003C this.sourceLength && nextMatch) {\\n\\t\\t// Process the text preceding the run rule\\n\\t\\tif(nextMatch.matchIndex > this.pos) {\\n\\t\\t\\tthis.pushTextWidget(tree,this.source.substring(this.pos,nextMatch.matchIndex),this.pos,nextMatch.matchIndex);\\n\\t\\t\\tthis.pos = nextMatch.matchIndex;\\n\\t\\t}\\n\\t\\t// Process the run rule\\n\\t\\ttree.push.apply(tree,nextMatch.rule.parse());\\n\\t\\t// Look for the next run rule\\n\\t\\tnextMatch = this.findNextMatch(this.inlineRules,this.pos);\\n\\t}\\n\\t// Process the remaining text\\n\\tif(this.pos \u003C this.sourceLength) {\\n\\t\\tthis.pushTextWidget(tree,this.source.substr(this.pos),this.pos,this.sourceLength);\\n\\t}\\n\\tthis.pos = this.sourceLength;\\n\\treturn tree;\\n};\\n\\nWikiParser.prototype.parseInlineRunTerminated = function(terminatorRegExp,options) {\\n\\toptions = options || {};\\n\\tvar tree = [];\\n\\t// Find the next occurrence of the terminator\\n\\tterminatorRegExp.lastIndex = this.pos;\\n\\tvar terminatorMatch = terminatorRegExp.exec(this.source);\\n\\t// Find the next occurrence of a inlinerule\\n\\tvar inlineRuleMatch = this.findNextMatch(this.inlineRules,this.pos);\\n\\t// Loop around until we've reached the end of the text\\n\\twhile(this.pos \u003C this.sourceLength && (terminatorMatch || inlineRuleMatch)) {\\n\\t\\t// Return if we've found the terminator, and it precedes any inline rule match\\n\\t\\tif(terminatorMatch) {\\n\\t\\t\\tif(!inlineRuleMatch || inlineRuleMatch.matchIndex >= terminatorMatch.index) {\\n\\t\\t\\t\\tif(terminatorMatch.index > this.pos) {\\n\\t\\t\\t\\t\\tthis.pushTextWidget(tree,this.source.substring(this.pos,terminatorMatch.index),this.pos,terminatorMatch.index);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tthis.pos = terminatorMatch.index;\\n\\t\\t\\t\\tif(options.eatTerminator) {\\n\\t\\t\\t\\t\\tthis.pos += terminatorMatch[0].length;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn tree;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Process any inline rule, along with the text preceding it\\n\\t\\tif(inlineRuleMatch) {\\n\\t\\t\\t// Preceding text\\n\\t\\t\\tif(inlineRuleMatch.matchIndex > this.pos) {\\n\\t\\t\\t\\tthis.pushTextWidget(tree,this.source.substring(this.pos,inlineRuleMatch.matchIndex),this.pos,inlineRuleMatch.matchIndex);\\n\\t\\t\\t\\tthis.pos = inlineRuleMatch.matchIndex;\\n\\t\\t\\t}\\n\\t\\t\\t// Process the inline rule\\n\\t\\t\\ttree.push.apply(tree,inlineRuleMatch.rule.parse());\\n\\t\\t\\t// Look for the next inline rule\\n\\t\\t\\tinlineRuleMatch = this.findNextMatch(this.inlineRules,this.pos);\\n\\t\\t\\t// Look for the next terminator match\\n\\t\\t\\tterminatorRegExp.lastIndex = this.pos;\\n\\t\\t\\tterminatorMatch = terminatorRegExp.exec(this.source);\\n\\t\\t}\\n\\t}\\n\\t// Process the remaining text\\n\\tif(this.pos \u003C this.sourceLength) {\\n\\t\\tthis.pushTextWidget(tree,this.source.substr(this.pos),this.pos,this.sourceLength);\\n\\t}\\n\\tthis.pos = this.sourceLength;\\n\\treturn tree;\\n};\\n\\n/*\\nPush a text widget onto an array, respecting the configTrimWhiteSpace setting\\n*/\\nWikiParser.prototype.pushTextWidget = function(array,text,start,end) {\\n\\tif(this.configTrimWhiteSpace) {\\n\\t\\ttext = $tw.utils.trim(text);\\n\\t}\\n\\tif(text) {\\n\\t\\tarray.push({type: \\\"text\\\", text: text, start: start, end: end});\\t\\t\\n\\t}\\n};\\n\\n/*\\nParse zero or more class specifiers `.classname`\\n*/\\nWikiParser.prototype.parseClasses = function() {\\n\\tvar classRegExp = /\\\\.([^\\\\s\\\\.]+)/mg,\\n\\t\\tclassNames = [];\\n\\tclassRegExp.lastIndex = this.pos;\\n\\tvar match = classRegExp.exec(this.source);\\n\\twhile(match && match.index === this.pos) {\\n\\t\\tthis.pos = match.index + match[0].length;\\n\\t\\tclassNames.push(match[1]);\\n\\t\\tmatch = classRegExp.exec(this.source);\\n\\t}\\n\\treturn classNames;\\n};\\n\\n/*\\nAmend the rules used by this instance of the parser\\n\\ttype: `only` keeps just the named rules, `except` keeps all but the named rules\\n\\tnames: array of rule names\\n*/\\nWikiParser.prototype.amendRules = function(type,names) {\\n\\tnames = names || [];\\n\\t// Define the filter function\\n\\tvar target;\\n\\tif(type === \\\"only\\\") {\\n\\t\\ttarget = true;\\n\\t} else if(type === \\\"except\\\") {\\n\\t\\ttarget = false;\\n\\t} else {\\n\\t\\treturn;\\n\\t}\\n\\t// Define a function to process each of our rule arrays\\n\\tvar processRuleArray = function(ruleArray) {\\n\\t\\tfor(var t=ruleArray.length-1; t>=0; t--) {\\n\\t\\t\\tif((names.indexOf(ruleArray[t].rule.name) === -1) === target) {\\n\\t\\t\\t\\truleArray.splice(t,1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n\\t// Process each rule array\\n\\tprocessRuleArray(this.pragmaRules);\\n\\tprocessRuleArray(this.blockRules);\\n\\tprocessRuleArray(this.inlineRules);\\n};\\n\\nexports[\\\"text/vnd.tiddlywiki\\\"] = WikiParser;\\n\\n})();\\n\\n\",\"type\":\"application/javascript\",\"module-type\":\"parser\"},\"$:/core/modules/parsers/wikiparser/rules/wikirulebase.js\":{\"title\":\"$:/core/modules/parsers/wikiparser/rules/wikirulebase.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/parsers/wikiparser/rules/wikirulebase.js\\ntype: application/javascript\\nmodule-type: global\\n\\nBase class for wiki parser rules\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nThis constructor is always overridden with a blank constructor, and so shouldn't be used\\n*/\\nvar WikiRuleBase = function() {\\n};\\n\\n/*\\nTo be overridden by individual rules\\n*/\\nWikiRuleBase.prototype.init = function(parser) {\\n\\tthis.parser = parser;\\n};\\n\\n/*\\nDefault implementation of findNextMatch uses RegExp matching\\n*/\\nWikiRuleBase.prototype.findNextMatch = function(startPos) {\\n\\tthis.matchRegExp.lastIndex = startPos;\\n\\tthis.match = this.matchRegExp.exec(this.parser.source);\\n\\treturn this.match ? this.match.index : undefined;\\n};\\n\\nexports.WikiRuleBase = WikiRuleBase;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/pluginswitcher.js\":{\"title\":\"$:/core/modules/pluginswitcher.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/pluginswitcher.js\\ntype: application/javascript\\nmodule-type: global\\n\\nManages switching plugins for themes and languages.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\noptions:\\nwiki: wiki store to be used\\npluginType: type of plugin to be switched\\ncontrollerTitle: title of tiddler used to control switching of this resource\\ndefaultPlugins: array of default plugins to be used if nominated plugin isn't found\\nonSwitch: callback when plugin is switched (single parameter is array of plugin titles)\\n*/\\nfunction PluginSwitcher(options) {\\n\\tthis.wiki = options.wiki;\\n\\tthis.pluginType = options.pluginType;\\n\\tthis.controllerTitle = options.controllerTitle;\\n\\tthis.defaultPlugins = options.defaultPlugins || [];\\n\\tthis.onSwitch = options.onSwitch;\\n\\t// Switch to the current plugin\\n\\tthis.switchPlugins();\\n\\t// Listen for changes to the selected plugin\\n\\tvar self = this;\\n\\tthis.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\tif($tw.utils.hop(changes,self.controllerTitle)) {\\n\\t\\t\\tself.switchPlugins();\\n\\t\\t}\\n\\t});\\n}\\n\\nPluginSwitcher.prototype.switchPlugins = function() {\\n\\t// Get the name of the current theme\\n\\tvar selectedPluginTitle = this.wiki.getTiddlerText(this.controllerTitle);\\n\\t// If it doesn't exist, then fallback to one of the default themes\\n\\tvar index = 0;\\n\\twhile(!this.wiki.getTiddler(selectedPluginTitle) && index \u003C this.defaultPlugins.length) {\\n\\t\\tselectedPluginTitle = this.defaultPlugins[index++];\\n\\t}\\n\\t// Accumulate the titles of the plugins that we need to load\\n\\tvar plugins = [],\\n\\t\\tself = this,\\n\\t\\taccumulatePlugin = function(title) {\\n\\t\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\t\\tif(tiddler && tiddler.isPlugin() && plugins.indexOf(title) === -1) {\\n\\t\\t\\t\\tplugins.push(title);\\n\\t\\t\\t\\tvar pluginInfo = $tw.utils.parseJSONSafe(self.wiki.getTiddlerText(title)),\\n\\t\\t\\t\\t\\tdependents = $tw.utils.parseStringArray(tiddler.fields.dependents || \\\"\\\");\\n\\t\\t\\t\\t$tw.utils.each(dependents,function(title) {\\n\\t\\t\\t\\t\\taccumulatePlugin(title);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t};\\n\\taccumulatePlugin(selectedPluginTitle);\\n\\t// Read the plugin info for the incoming plugins\\n\\tvar changes = $tw.wiki.readPluginInfo(plugins);\\n\\t// Unregister any existing theme tiddlers\\n\\tvar unregisteredTiddlers = $tw.wiki.unregisterPluginTiddlers(this.pluginType);\\n\\t// Register any new theme tiddlers\\n\\tvar registeredTiddlers = $tw.wiki.registerPluginTiddlers(this.pluginType,plugins);\\n\\t// Unpack the current theme tiddlers\\n\\t$tw.wiki.unpackPluginTiddlers();\\n\\t// Call the switch handler\\n\\tif(this.onSwitch) {\\n\\t\\tthis.onSwitch(plugins);\\n\\t}\\n};\\n\\nexports.PluginSwitcher = PluginSwitcher;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/saver-handler.js\":{\"title\":\"$:/core/modules/saver-handler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/saver-handler.js\\ntype: application/javascript\\nmodule-type: global\\n\\nThe saver handler tracks changes to the store and handles saving the entire wiki via saver modules.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nInstantiate the saver handler with the following options:\\nwiki: wiki to be synced\\ndirtyTracking: true if dirty tracking should be performed\\n*/\\nfunction SaverHandler(options) {\\n\\tvar self = this;\\n\\tthis.wiki = options.wiki;\\n\\tthis.dirtyTracking = options.dirtyTracking;\\n\\tthis.preloadDirty = options.preloadDirty || [];\\n\\tthis.pendingAutoSave = false;\\n\\t// Make a logger\\n\\tthis.logger = new $tw.utils.Logger(\\\"saver-handler\\\");\\n\\t// Initialise our savers\\n\\tif($tw.browser) {\\n\\t\\tthis.initSavers();\\n\\t}\\n\\t// Only do dirty tracking if required\\n\\tif($tw.browser && this.dirtyTracking) {\\n\\t\\t// Compile the dirty tiddler filter\\n\\t\\tthis.filterFn = this.wiki.compileFilter(this.wiki.getTiddlerText(this.titleSyncFilter));\\n\\t\\t// Count of changes that have not yet been saved\\n\\t\\tvar filteredChanges = self.filterFn.call(self.wiki,function(iterator) {\\n\\t\\t\\t\\t$tw.utils.each(self.preloadDirty,function(title) {\\n\\t\\t\\t\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\t\\t\\t\\titerator(tiddler,title);\\n\\t\\t\\t\\t});\\n\\t\\t});\\n\\t\\tthis.numChanges = filteredChanges.length;\\n\\t\\t// Listen out for changes to tiddlers\\n\\t\\tthis.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\t\\t// Filter the changes so that we only count changes to tiddlers that we care about\\n\\t\\t\\tvar filteredChanges = self.filterFn.call(self.wiki,function(iterator) {\\n\\t\\t\\t\\t$tw.utils.each(changes,function(change,title) {\\n\\t\\t\\t\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\t\\t\\t\\titerator(tiddler,title);\\n\\t\\t\\t\\t});\\n\\t\\t\\t});\\n\\t\\t\\t// Adjust the number of changes\\n\\t\\t\\tself.numChanges += filteredChanges.length;\\n\\t\\t\\tself.updateDirtyStatus();\\n\\t\\t\\t// Do any autosave if one is pending and there's no more change events\\n\\t\\t\\tif(self.pendingAutoSave && self.wiki.getSizeOfTiddlerEventQueue() === 0) {\\n\\t\\t\\t\\t// Check if we're dirty\\n\\t\\t\\t\\tif(self.numChanges > 0) {\\n\\t\\t\\t\\t\\tself.saveWiki({\\n\\t\\t\\t\\t\\t\\tmethod: \\\"autosave\\\",\\n\\t\\t\\t\\t\\t\\tdownloadType: \\\"text/plain\\\"\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tself.pendingAutoSave = false;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Listen for the autosave event\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-auto-save-wiki\\\",function(event) {\\n\\t\\t\\t// Do the autosave unless there are outstanding tiddler change events\\n\\t\\t\\tif(self.wiki.getSizeOfTiddlerEventQueue() === 0) {\\n\\t\\t\\t\\t// Check if we're dirty\\n\\t\\t\\t\\tif(self.numChanges > 0) {\\n\\t\\t\\t\\t\\tself.saveWiki({\\n\\t\\t\\t\\t\\t\\tmethod: \\\"autosave\\\",\\n\\t\\t\\t\\t\\t\\tdownloadType: \\\"text/plain\\\"\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Otherwise put ourselves in the \\\"pending autosave\\\" state and wait for the change event before we do the autosave\\n\\t\\t\\t\\tself.pendingAutoSave = true;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Set up our beforeunload handler\\n\\t\\t$tw.addUnloadTask(function(event) {\\n\\t\\t\\tvar confirmationMessage;\\n\\t\\t\\tif(self.isDirty()) {\\n\\t\\t\\t\\tconfirmationMessage = $tw.language.getString(\\\"UnsavedChangesWarning\\\");\\n\\t\\t\\t\\tevent.returnValue = confirmationMessage; // Gecko\\n\\t\\t\\t}\\n\\t\\t\\treturn confirmationMessage;\\n\\t\\t});\\n\\t}\\n\\t// Install the save action handlers\\n\\tif($tw.browser) {\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-save-wiki\\\",function(event) {\\n\\t\\t\\tself.saveWiki({\\n\\t\\t\\t\\ttemplate: event.param,\\n\\t\\t\\t\\tdownloadType: \\\"text/plain\\\",\\n\\t\\t\\t\\tvariables: event.paramObject\\n\\t\\t\\t});\\n\\t\\t});\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-download-file\\\",function(event) {\\n\\t\\t\\tself.saveWiki({\\n\\t\\t\\t\\tmethod: \\\"download\\\",\\n\\t\\t\\t\\ttemplate: event.param,\\n\\t\\t\\t\\tdownloadType: \\\"text/plain\\\",\\n\\t\\t\\t\\tvariables: event.paramObject\\n\\t\\t\\t});\\n\\t\\t});\\n\\t}\\n}\\n\\nSaverHandler.prototype.titleSyncFilter = \\\"$:/config/SaverFilter\\\";\\nSaverHandler.prototype.titleAutoSave = \\\"$:/config/AutoSave\\\";\\nSaverHandler.prototype.titleSavedNotification = \\\"$:/language/Notifications/Save/Done\\\";\\n\\n/*\\nSelect the appropriate saver modules and set them up\\n*/\\nSaverHandler.prototype.initSavers = function(moduleType) {\\n\\tmoduleType = moduleType || \\\"saver\\\";\\n\\t// Instantiate the available savers\\n\\tthis.savers = [];\\n\\tvar self = this;\\n\\t$tw.modules.forEachModuleOfType(moduleType,function(title,module) {\\n\\t\\tif(module.canSave(self)) {\\n\\t\\t\\tself.savers.push(module.create(self.wiki));\\n\\t\\t}\\n\\t});\\n\\t// Sort the savers into priority order\\n\\tthis.savers.sort(function(a,b) {\\n\\t\\tif(a.info.priority \u003C b.info.priority) {\\n\\t\\t\\treturn -1;\\n\\t\\t} else {\\n\\t\\t\\tif(a.info.priority > b.info.priority) {\\n\\t\\t\\t\\treturn +1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nSave the wiki contents. Options are:\\n\\tmethod: \\\"save\\\", \\\"autosave\\\" or \\\"download\\\"\\n\\ttemplate: the tiddler containing the template to save\\n\\tdownloadType: the content type for the saved file\\n*/\\nSaverHandler.prototype.saveWiki = function(options) {\\n\\toptions = options || {};\\n\\tvar self = this,\\n\\t\\tmethod = options.method || \\\"save\\\";\\n\\t// Ignore autosave if disabled\\n\\tif(method === \\\"autosave\\\" && ($tw.config.disableAutoSave || this.wiki.getTiddlerText(this.titleAutoSave,\\\"yes\\\") !== \\\"yes\\\")) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar\\tvariables = options.variables || {},\\n\\t\\ttemplate = (options.template || \\n\\t\\t this.wiki.getTiddlerText(\\\"$:/config/SaveWikiButton/Template\\\",\\\"$:/core/save/all\\\")).trim(),\\n\\t\\tdownloadType = options.downloadType || \\\"text/plain\\\",\\n\\t\\ttext = this.wiki.renderTiddler(downloadType,template,options),\\n\\t\\tcallback = function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\talert($tw.language.getString(\\\"Error/WhileSaving\\\") + \\\":\\\\n\\\\n\\\" + err);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Clear the task queue if we're saving (rather than downloading)\\n\\t\\t\\t\\tif(method !== \\\"download\\\") {\\n\\t\\t\\t\\t\\tself.numChanges = 0;\\n\\t\\t\\t\\t\\tself.updateDirtyStatus();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t$tw.notifier.display(self.titleSavedNotification);\\n\\t\\t\\t\\tif(options.callback) {\\n\\t\\t\\t\\t\\toptions.callback();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\t// Call the highest priority saver that supports this method\\n\\tfor(var t=this.savers.length-1; t>=0; t--) {\\n\\t\\tvar saver = this.savers[t];\\n\\t\\tif(saver.info.capabilities.indexOf(method) !== -1 && saver.save(text,method,callback,{variables: {filename: variables.filename}})) {\\n\\t\\t\\tthis.logger.log(\\\"Saving wiki with method\\\",method,\\\"through saver\\\",saver.info.name);\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n/*\\nChecks whether the wiki is dirty (ie the window shouldn't be closed)\\n*/\\nSaverHandler.prototype.isDirty = function() {\\n\\treturn this.numChanges > 0;\\n};\\n\\n/*\\nUpdate the document body with the class \\\"tc-dirty\\\" if the wiki has unsaved/unsynced changes\\n*/\\nSaverHandler.prototype.updateDirtyStatus = function() {\\n\\tvar self = this;\\n\\tif($tw.browser) {\\n\\t\\t$tw.utils.toggleClass(document.body,\\\"tc-dirty\\\",this.isDirty());\\n\\t\\t$tw.utils.each($tw.windows,function(win) {\\n\\t\\t\\t$tw.utils.toggleClass(win.document.body,\\\"tc-dirty\\\",self.isDirty());\\n\\t\\t});\\n\\t}\\n};\\n\\nexports.SaverHandler = SaverHandler;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/savers/andtidwiki.js\":{\"title\":\"$:/core/modules/savers/andtidwiki.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/andtidwiki.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via the AndTidWiki Android app\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false, netscape: false, Components: false */\\n\\\"use strict\\\";\\n\\nvar AndTidWiki = function(wiki) {\\n};\\n\\nAndTidWiki.prototype.save = function(text,method,callback,options) {\\n\\tvar filename = options && options.variables ? options.variables.filename : null;\\n\\tif (method === \\\"download\\\") {\\n\\t\\t// Support download\\n\\t\\tif (window.twi.saveDownload) {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\twindow.twi.saveDownload(text,filename);\\n\\t\\t\\t} catch(err) {\\n\\t\\t\\t\\tif (err.message === \\\"Method not found\\\") {\\n\\t\\t\\t\\t\\twindow.twi.saveDownload(text);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tvar link = document.createElement(\\\"a\\\");\\n\\t\\t\\tlink.setAttribute(\\\"href\\\",\\\"data:text/plain,\\\" + encodeURIComponent(text));\\n\\t\\t\\tif (filename) {\\n\\t\\t\\t link.setAttribute(\\\"download\\\",filename);\\n\\t\\t\\t}\\n\\t\\t\\tdocument.body.appendChild(link);\\n\\t\\t\\tlink.click();\\n\\t\\t\\tdocument.body.removeChild(link);\\n\\t\\t}\\n\\t} else if (window.twi.saveWiki) {\\n\\t\\t// Direct save in Tiddloid\\n\\t\\twindow.twi.saveWiki(text);\\n\\t} else {\\n\\t\\t// Get the pathname of this document\\n\\t\\tvar pathname = $tw.utils.decodeURIComponentSafe(document.location.toString().split(\\\"#\\\")[0]);\\n\\t\\t// Strip the file://\\n\\t\\tif(pathname.indexOf(\\\"file://\\\") === 0) {\\n\\t\\t\\tpathname = pathname.substr(7);\\n\\t\\t}\\n\\t\\t// Strip any query or location part\\n\\t\\tvar p = pathname.indexOf(\\\"?\\\");\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tpathname = pathname.substr(0,p);\\n\\t\\t}\\n\\t\\tp = pathname.indexOf(\\\"#\\\");\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tpathname = pathname.substr(0,p);\\n\\t\\t}\\n\\t\\t// Save the file\\n\\t\\twindow.twi.saveFile(pathname,text);\\n\\t}\\n\\t// Call the callback\\n\\tcallback(null);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nAndTidWiki.prototype.info = {\\n\\tname: \\\"andtidwiki\\\",\\n\\tpriority: 1600,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\", \\\"download\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn !!window.twi && !!window.twi.saveFile;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new AndTidWiki(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/custom.js\":{\"title\":\"$:/core/modules/savers/custom.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/custom.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nLooks for `window.$tw.customSaver` first on the current window, then\\non the parent window (of an iframe). If present, the saver must define\\n\\tsave: function(text,method,callback) { ... }\\nand the saver may define\\n\\tpriority: number\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar findSaver = function(window) {\\n\\ttry {\\n\\t\\treturn window && window.$tw && window.$tw.customSaver;\\n\\t} catch (err) {\\n\\t\\t// Catching the exception is the most reliable way to detect cross-origin iframe errors.\\n\\t\\t// For example, instead of saying that `window.parent.$tw` is undefined, Firefox will throw\\n\\t\\t// Uncaught DOMException: Permission denied to access property \\\"$tw\\\" on cross-origin object\\n\\t\\tconsole.log({ msg: \\\"custom saver is disabled\\\", reason: err });\\n\\t\\treturn null;\\n\\t}\\n}\\nvar saver = findSaver(window) || findSaver(window.parent) || {};\\n\\nvar CustomSaver = function(wiki) {\\n};\\n\\nCustomSaver.prototype.save = function(text,method,callback) {\\n\\treturn saver.save(text, method, callback);\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nCustomSaver.prototype.info = {\\n\\tname: \\\"custom\\\",\\n\\tpriority: saver.priority || 4000,\\n\\tcapabilities: [\\\"save\\\",\\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn !!(saver.save);\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new CustomSaver(wiki);\\n};\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/download.js\":{\"title\":\"$:/core/modules/savers/download.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/download.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via HTML5's download APIs\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar DownloadSaver = function(wiki) {\\n};\\n\\nDownloadSaver.prototype.save = function(text,method,callback,options) {\\n\\toptions = options || {};\\n\\t// Get the current filename\\n\\tvar filename = options.variables.filename;\\n\\tif(!filename) {\\n\\t\\tvar p = document.location.pathname.lastIndexOf(\\\"/\\\");\\n\\t\\tif(p !== -1) {\\n\\t\\t\\t// We decode the pathname because document.location is URL encoded by the browser\\n\\t\\t\\tfilename = $tw.utils.decodeURIComponentSafe(document.location.pathname.substr(p+1));\\n\\t\\t}\\n\\t}\\n\\tif(!filename) {\\n\\t\\tfilename = \\\"tiddlywiki.html\\\";\\n\\t}\\n\\t// Set up the link\\n\\tvar link = document.createElement(\\\"a\\\");\\n\\tif(Blob !== undefined) {\\n\\t\\tvar blob = new Blob([text], {type: \\\"text/html\\\"});\\n\\t\\tlink.setAttribute(\\\"href\\\", URL.createObjectURL(blob));\\n\\t} else {\\n\\t\\tlink.setAttribute(\\\"href\\\",\\\"data:text/html,\\\" + encodeURIComponent(text));\\n\\t}\\n\\tlink.setAttribute(\\\"download\\\",filename);\\n\\tdocument.body.appendChild(link);\\n\\tlink.click();\\n\\tdocument.body.removeChild(link);\\n\\t// Callback that we succeeded\\n\\tcallback(null);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nDownloadSaver.prototype.info = {\\n\\tname: \\\"download\\\",\\n\\tpriority: 100\\n};\\n\\nObject.defineProperty(DownloadSaver.prototype.info, \\\"capabilities\\\", {\\n\\tget: function() {\\n\\t\\tvar capabilities = [\\\"save\\\", \\\"download\\\"];\\n\\t\\tif(($tw.wiki.getTextReference(\\\"$:/config/DownloadSaver/AutoSave\\\") || \\\"\\\").toLowerCase() === \\\"yes\\\") {\\n\\t\\t\\tcapabilities.push(\\\"autosave\\\");\\n\\t\\t}\\n\\t\\treturn capabilities;\\n\\t}\\n});\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn document.createElement(\\\"a\\\").download !== undefined;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new DownloadSaver(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/fsosaver.js\":{\"title\":\"$:/core/modules/savers/fsosaver.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/fsosaver.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via MS FileSystemObject ActiveXObject\\n\\nNote: Since TiddlyWiki's markup contains the MOTW, the FileSystemObject normally won't be available. \\nHowever, if the wiki is loaded as an .HTA file (Windows HTML Applications) then the FSO can be used.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar FSOSaver = function(wiki) {\\n};\\n\\nFSOSaver.prototype.save = function(text,method,callback) {\\n\\t// Get the pathname of this document\\n\\tvar pathname = unescape(document.location.pathname);\\n\\t// Test for a Windows path of the form /x:\\\\blah...\\n\\tif(/^\\\\/[A-Z]\\\\:\\\\\\\\[^\\\\\\\\]+/i.test(pathname)) {\\t// ie: ^/[a-z]:/[^/]+\\n\\t\\t// Remove the leading slash\\n\\t\\tpathname = pathname.substr(1);\\n\\t} else if(document.location.hostname !== \\\"\\\" && /^\\\\/\\\\\\\\[^\\\\\\\\]+\\\\\\\\[^\\\\\\\\]+/i.test(pathname)) {\\t// test for \\\\\\\\server\\\\share\\\\blah... - ^/[^/]+/[^/]+\\n\\t\\t// Remove the leading slash\\n\\t\\tpathname = pathname.substr(1);\\n\\t\\t// reconstruct UNC path\\n\\t\\tpathname = \\\"\\\\\\\\\\\\\\\\\\\" + document.location.hostname + pathname;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n\\t// Save the file (as UTF-16)\\n\\tvar fso = new ActiveXObject(\\\"Scripting.FileSystemObject\\\");\\n\\tvar file = fso.OpenTextFile(pathname,2,-1,-1);\\n\\tfile.Write(text);\\n\\tfile.Close();\\n\\t// Callback that we succeeded\\n\\tcallback(null);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nFSOSaver.prototype.info = {\\n\\tname: \\\"FSOSaver\\\",\\n\\tpriority: 120,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\ttry {\\n\\t\\treturn (window.location.protocol === \\\"file:\\\") && !!(new ActiveXObject(\\\"Scripting.FileSystemObject\\\"));\\n\\t} catch(e) { return false; }\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new FSOSaver(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/gitea.js\":{\"title\":\"$:/core/modules/savers/gitea.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/gitea.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nSaves wiki by pushing a commit to the gitea\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar GiteaSaver = function(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\nGiteaSaver.prototype.save = function(text,method,callback) {\\n\\tvar self = this,\\n\\t\\tusername = this.wiki.getTiddlerText(\\\"$:/Gitea/Username\\\"),\\n\\t\\tpassword = $tw.utils.getPassword(\\\"Gitea\\\"),\\n\\t\\trepo = this.wiki.getTiddlerText(\\\"$:/Gitea/Repo\\\"),\\n\\t\\tpath = this.wiki.getTiddlerText(\\\"$:/Gitea/Path\\\",\\\"\\\"),\\n\\t\\tfilename = this.wiki.getTiddlerText(\\\"$:/Gitea/Filename\\\"),\\n\\t\\tbranch = this.wiki.getTiddlerText(\\\"$:/Gitea/Branch\\\") || \\\"master\\\",\\n\\t\\tendpoint = this.wiki.getTiddlerText(\\\"$:/Gitea/ServerURL\\\") || \\\"https://gitea\\\",\\n\\t\\theaders = {\\n\\t\\t\\t\\\"Accept\\\": \\\"application/json\\\",\\n\\t\\t\\t\\\"Content-Type\\\": \\\"application/json;charset=UTF-8\\\",\\n\\t\\t\\t\\\"Authorization\\\": \\\"token \\\" + password\\n\\t\\t};\\n\\t// Bail if we don't have everything we need\\n\\tif(!username || !password || !repo || !filename) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Make sure the path start and ends with a slash\\n\\tif(path.substring(0,1) !== \\\"/\\\") {\\n\\t\\tpath = \\\"/\\\" + path;\\n\\t}\\n\\tif(path.substring(path.length - 1) !== \\\"/\\\") {\\n\\t\\tpath = path + \\\"/\\\";\\n\\t}\\n\\t// Compose the base URI\\n\\tvar uri = endpoint + \\\"/repos/\\\" + repo + \\\"/contents\\\" + path;\\n\\t// Perform a get request to get the details (inc shas) of files in the same path as our file\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: uri,\\n\\t\\ttype: \\\"GET\\\",\\n\\t\\theaders: headers,\\n\\t\\tdata: {\\n\\t\\t\\tref: branch\\n\\t\\t},\\n\\t\\tcallback: function(err,getResponseDataJson,xhr) {\\n\\t\\t\\tvar getResponseData,sha = \\\"\\\";\\n\\t\\t\\tif(err && xhr.status !== 404) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tvar use_put = true;\\n\\t\\t\\tif(xhr.status !== 404) {\\n\\t\\t\\t\\tgetResponseData = $tw.utils.parseJSONSafe(getResponseDataJson);\\n\\t\\t\\t\\t$tw.utils.each(getResponseData,function(details) {\\n\\t\\t\\t\\t\\tif(details.name === filename) {\\n\\t\\t\\t\\t\\t\\tsha = details.sha;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tif(sha === \\\"\\\"){\\n\\t\\t\\t\\t\\tuse_put = false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tvar data = {\\n\\t\\t\\t\\tmessage: $tw.language.getString(\\\"ControlPanel/Saving/GitService/CommitMessage\\\"),\\n\\t\\t\\t\\tcontent: $tw.utils.base64Encode(text),\\n\\t\\t\\t\\tsha: sha\\n\\t\\t\\t};\\n\\t\\t\\t$tw.utils.httpRequest({\\n\\t\\t\\t\\turl: endpoint + \\\"/repos/\\\" + repo + \\\"/branches/\\\" + branch,\\n\\t\\t\\t\\ttype: \\\"GET\\\",\\n\\t\\t\\t\\theaders: headers,\\n\\t\\t\\t\\tcallback: function(err,getResponseDataJson,xhr) {\\n\\t\\t\\t\\t\\tif(xhr.status === 404) {\\n\\t\\t\\t\\t\\t\\tcallback(\\\"Please ensure the branch in the Gitea repo exists\\\");\\n\\t\\t\\t\\t\\t}else{\\n\\t\\t\\t\\t\\t\\tdata[\\\"branch\\\"] = branch;\\n\\t\\t\\t\\t\\t\\tself.upload(uri + filename, use_put?\\\"PUT\\\":\\\"POST\\\", headers, data, callback);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\treturn true;\\n};\\n\\nGiteaSaver.prototype.upload = function(uri,method,headers,data,callback) {\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: uri,\\n\\t\\ttype: method,\\n\\t\\theaders: headers,\\n\\t\\tdata: JSON.stringify(data),\\n\\t\\tcallback: function(err,putResponseDataJson,xhr) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tvar putResponseData = $tw.utils.parseJSONSafe(putResponseDataJson);\\n\\t\\t\\tcallback(null);\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nGiteaSaver.prototype.info = {\\n\\tname: \\\"Gitea\\\",\\n\\tpriority: 2000,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new GiteaSaver(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/github.js\":{\"title\":\"$:/core/modules/savers/github.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/github.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nSaves wiki by pushing a commit to the GitHub v3 REST API\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar GitHubSaver = function(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\nGitHubSaver.prototype.save = function(text,method,callback) {\\n\\tvar self = this,\\n\\t\\tusername = this.wiki.getTiddlerText(\\\"$:/GitHub/Username\\\"),\\n\\t\\tpassword = $tw.utils.getPassword(\\\"github\\\"),\\n\\t\\trepo = this.wiki.getTiddlerText(\\\"$:/GitHub/Repo\\\"),\\n\\t\\tpath = this.wiki.getTiddlerText(\\\"$:/GitHub/Path\\\",\\\"\\\"),\\n\\t\\tfilename = this.wiki.getTiddlerText(\\\"$:/GitHub/Filename\\\"),\\n\\t\\tbranch = this.wiki.getTiddlerText(\\\"$:/GitHub/Branch\\\") || \\\"main\\\",\\n\\t\\tendpoint = this.wiki.getTiddlerText(\\\"$:/GitHub/ServerURL\\\") || \\\"https://api.github.com\\\",\\n\\t\\theaders = {\\n\\t\\t\\t\\\"Accept\\\": \\\"application/vnd.github.v3+json\\\",\\n\\t\\t\\t\\\"Content-Type\\\": \\\"application/json;charset=UTF-8\\\",\\n\\t\\t\\t\\\"Authorization\\\": \\\"Basic \\\" + window.btoa(username + \\\":\\\" + password),\\n\\t\\t\\t\\\"If-None-Match\\\": \\\"\\\"\\n\\t\\t};\\n\\t// Bail if we don't have everything we need\\n\\tif(!username || !password || !repo || !filename) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Make sure the path start and ends with a slash\\n\\tif(path.substring(0,1) !== \\\"/\\\") {\\n\\t\\tpath = \\\"/\\\" + path;\\n\\t}\\n\\tif(path.substring(path.length - 1) !== \\\"/\\\") {\\n\\t\\tpath = path + \\\"/\\\";\\n\\t}\\n\\t// Compose the base URI\\n\\tvar uri = endpoint + \\\"/repos/\\\" + repo + \\\"/contents\\\" + path;\\n\\t// Perform a get request to get the details (inc shas) of files in the same path as our file\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: uri,\\n\\t\\ttype: \\\"GET\\\",\\n\\t\\theaders: headers,\\n\\t\\tdata: {\\n\\t\\t\\tref: branch\\n\\t\\t},\\n\\t\\tcallback: function(err,getResponseDataJson,xhr) {\\n\\t\\t\\tvar getResponseData,sha = \\\"\\\";\\n\\t\\t\\tif(err && xhr.status !== 404) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tif(xhr.status !== 404) {\\n\\t\\t\\t\\tgetResponseData = $tw.utils.parseJSONSafe(getResponseDataJson);\\n\\t\\t\\t\\t$tw.utils.each(getResponseData,function(details) {\\n\\t\\t\\t\\t\\tif(details.name === filename) {\\n\\t\\t\\t\\t\\t\\tsha = details.sha;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t\\tvar data = {\\n\\t\\t\\t\\tmessage: $tw.language.getString(\\\"ControlPanel/Saving/GitService/CommitMessage\\\"),\\n\\t\\t\\t\\tcontent: $tw.utils.base64Encode(text),\\n\\t\\t\\t\\tbranch: branch,\\n\\t\\t\\t\\tsha: sha\\n\\t\\t\\t};\\n\\t\\t\\t// Perform a PUT request to save the file\\n\\t\\t\\t$tw.utils.httpRequest({\\n\\t\\t\\t\\turl: uri + filename,\\n\\t\\t\\t\\ttype: \\\"PUT\\\",\\n\\t\\t\\t\\theaders: headers,\\n\\t\\t\\t\\tdata: JSON.stringify(data),\\n\\t\\t\\t\\tcallback: function(err,putResponseDataJson,xhr) {\\n\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tvar putResponseData = $tw.utils.parseJSONSafe(putResponseDataJson);\\n\\t\\t\\t\\t\\tcallback(null);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nGitHubSaver.prototype.info = {\\n\\tname: \\\"github\\\",\\n\\tpriority: 2000,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new GitHubSaver(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/gitlab.js\":{\"title\":\"$:/core/modules/savers/gitlab.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/gitlab.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nSaves wiki by pushing a commit to the GitLab REST API\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: true */\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar GitLabSaver = function(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\nGitLabSaver.prototype.save = function(text,method,callback) {\\n\\t/* See https://docs.gitlab.com/ee/api/repository_files.html */\\n\\tvar self = this,\\n\\t\\tusername = this.wiki.getTiddlerText(\\\"$:/GitLab/Username\\\"),\\n\\t\\tpassword = $tw.utils.getPassword(\\\"gitlab\\\"),\\n\\t\\trepo = this.wiki.getTiddlerText(\\\"$:/GitLab/Repo\\\"),\\n\\t\\tpath = this.wiki.getTiddlerText(\\\"$:/GitLab/Path\\\",\\\"\\\"),\\n\\t\\tfilename = this.wiki.getTiddlerText(\\\"$:/GitLab/Filename\\\"),\\n\\t\\tbranch = this.wiki.getTiddlerText(\\\"$:/GitLab/Branch\\\") || \\\"master\\\",\\n\\t\\tendpoint = this.wiki.getTiddlerText(\\\"$:/GitLab/ServerURL\\\") || \\\"https://gitlab.com/api/v4\\\",\\n\\t\\theaders = {\\n\\t\\t\\t\\\"Content-Type\\\": \\\"application/json;charset=UTF-8\\\",\\n\\t\\t\\t\\\"Private-Token\\\": password\\n\\t\\t};\\n\\t// Bail if we don't have everything we need\\n\\tif(!username || !password || !repo || !filename) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Make sure the path start and ends with a slash\\n\\tif(path.substring(0,1) !== \\\"/\\\") {\\n\\t\\tpath = \\\"/\\\" + path;\\n\\t}\\n\\tif(path.substring(path.length - 1) !== \\\"/\\\") {\\n\\t\\tpath = path + \\\"/\\\";\\n\\t}\\n\\t// Compose the base URI\\n\\tvar uri = endpoint + \\\"/projects/\\\" + encodeURIComponent(repo) + \\\"/repository/\\\";\\n\\t// Perform a get request to get the details (inc shas) of files in the same path as our file\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: uri + \\\"tree/?path=\\\" + encodeURIComponent(path.replace(/^\\\\/+|\\\\/$/g, '')) + \\\"&branch=\\\" + encodeURIComponent(branch.replace(/^\\\\/+|\\\\/$/g, '')),\\n\\t\\ttype: \\\"GET\\\",\\n\\t\\theaders: headers,\\n\\t\\tcallback: function(err,getResponseDataJson,xhr) {\\n\\t\\t\\tvar getResponseData,sha = \\\"\\\";\\n\\t\\t\\tif(err && xhr.status !== 404) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tvar requestType = \\\"POST\\\";\\n\\t\\t\\tif(xhr.status !== 404) {\\n\\t\\t\\t\\tgetResponseData = $tw.utils.parseJSONSafe(getResponseDataJson);\\n\\t\\t\\t\\t$tw.utils.each(getResponseData,function(details) {\\n\\t\\t\\t\\t\\tif(details.name === filename) {\\n\\t\\t\\t\\t\\t\\trequestType = \\\"PUT\\\";\\n\\t\\t\\t\\t\\t\\tsha = details.sha;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t\\tvar data = {\\n\\t\\t\\t\\tcommit_message: $tw.language.getString(\\\"ControlPanel/Saving/GitService/CommitMessage\\\"),\\n\\t\\t\\t\\tcontent: text,\\n\\t\\t\\t\\tbranch: branch,\\n\\t\\t\\t\\tsha: sha\\n\\t\\t\\t};\\n\\t\\t\\t// Perform a request to save the file\\n\\t\\t\\t$tw.utils.httpRequest({\\n\\t\\t\\t\\turl: uri + \\\"files/\\\" + encodeURIComponent(path.replace(/^\\\\/+/, '') + filename),\\n\\t\\t\\t\\ttype: requestType,\\n\\t\\t\\t\\theaders: headers,\\n\\t\\t\\t\\tdata: JSON.stringify(data),\\n\\t\\t\\t\\tcallback: function(err,putResponseDataJson,xhr) {\\n\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tvar putResponseData = $tw.utils.parseJSONSafe(putResponseDataJson);\\n\\t\\t\\t\\t\\tcallback(null);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nGitLabSaver.prototype.info = {\\n\\tname: \\\"gitlab\\\",\\n\\tpriority: 2000,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new GitLabSaver(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/manualdownload.js\":{\"title\":\"$:/core/modules/savers/manualdownload.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/manualdownload.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via HTML5's download APIs\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Title of the tiddler containing the download message\\nvar downloadInstructionsTitle = \\\"$:/language/Modals/Download\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar ManualDownloadSaver = function(wiki) {\\n};\\n\\nManualDownloadSaver.prototype.save = function(text,method,callback) {\\n\\t$tw.modal.display(downloadInstructionsTitle,{\\n\\t\\tdownloadLink: \\\"data:text/html,\\\" + encodeURIComponent(text)\\n\\t});\\n\\t// Callback that we succeeded\\n\\tcallback(null);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nManualDownloadSaver.prototype.info = {\\n\\tname: \\\"manualdownload\\\",\\n\\tpriority: 0,\\n\\tcapabilities: [\\\"save\\\", \\\"download\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new ManualDownloadSaver(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/msdownload.js\":{\"title\":\"$:/core/modules/savers/msdownload.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/msdownload.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via window.navigator.msSaveBlob()\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar MsDownloadSaver = function(wiki) {\\n};\\n\\nMsDownloadSaver.prototype.save = function(text,method,callback) {\\n\\t// Get the current filename\\n\\tvar filename = \\\"tiddlywiki.html\\\",\\n\\t\\tp = document.location.pathname.lastIndexOf(\\\"/\\\");\\n\\tif(p !== -1) {\\n\\t\\tfilename = document.location.pathname.substr(p+1);\\n\\t}\\n\\t// Set up the link\\n\\tvar blob = new Blob([text], {type: \\\"text/html\\\"});\\n\\twindow.navigator.msSaveBlob(blob,filename);\\n\\t// Callback that we succeeded\\n\\tcallback(null);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nMsDownloadSaver.prototype.info = {\\n\\tname: \\\"msdownload\\\",\\n\\tpriority: 110,\\n\\tcapabilities: [\\\"save\\\", \\\"download\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn !!window.navigator.msSaveBlob;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new MsDownloadSaver(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/put.js\":{\"title\":\"$:/core/modules/savers/put.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/put.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nSaves wiki by performing a PUT request to the server\\n\\nWorks with any server which accepts a PUT request\\nto the current URL, such as a WebDAV server.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nRetrieve ETag if available\\n*/\\nvar retrieveETag = function(self) {\\n\\tvar headers = {\\n\\t\\tAccept: \\\"*/*;charset=UTF-8\\\"\\n\\t};\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: self.uri(),\\n\\t\\ttype: \\\"HEAD\\\",\\n\\t\\theaders: headers,\\n\\t\\tcallback: function(err,data,xhr) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\tvar etag = xhr.getResponseHeader(\\\"ETag\\\");\\n\\t\\t\\tif(!etag) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\tself.etag = etag.replace(/^W\\\\//,\\\"\\\");\\n\\t\\t}\\n\\t});\\n};\\n\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar PutSaver = function(wiki) {\\n\\tthis.wiki = wiki;\\n\\tvar self = this;\\n\\tvar uri = this.uri();\\n\\t// Async server probe. Until probe finishes, save will fail fast\\n\\t// See also https://github.com/Jermolene/TiddlyWiki5/issues/2276\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: uri,\\n\\t\\ttype: \\\"OPTIONS\\\",\\n\\t\\tcallback: function(err,data,xhr) {\\n\\t\\t\\t// Check DAV header http://www.webdav.org/specs/rfc2518.html#rfc.section.9.1\\n\\t\\t\\tif(!err) {\\n\\t\\t\\t\\tself.serverAcceptsPuts = xhr.status === 200 && !!xhr.getResponseHeader(\\\"dav\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\tretrieveETag(this);\\n};\\n\\nPutSaver.prototype.uri = function() {\\n\\treturn document.location.toString().split(\\\"#\\\")[0];\\n};\\n\\n// TODO: in case of edit conflict\\n// Prompt: Do you want to save over this? Y/N\\n// Merging would be ideal, and may be possible using future generic merge flow\\nPutSaver.prototype.save = function(text,method,callback) {\\n\\tif(!this.serverAcceptsPuts) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar self = this;\\n\\tvar headers = {\\n\\t\\t\\\"Content-Type\\\": \\\"text/html;charset=UTF-8\\\"\\n\\t};\\n\\tif(this.etag) {\\n\\t\\theaders[\\\"If-Match\\\"] = this.etag;\\n\\t}\\n\\t$tw.notifier.display(\\\"$:/language/Notifications/Save/Starting\\\");\\n\\t$tw.utils.httpRequest({\\n\\t\\turl: this.uri(),\\n\\t\\ttype: \\\"PUT\\\",\\n\\t\\theaders: headers,\\n\\t\\tdata: text,\\n\\t\\tcallback: function(err,data,xhr) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tvar status = xhr.status,\\n\\t\\t\\t\\t\\terrorMsg = err;\\n\\t\\t\\t\\tif(status === 412) { // file changed on server\\n\\t\\t\\t\\t\\terrorMsg = $tw.language.getString(\\\"Error/PutEditConflict\\\");\\n\\t\\t\\t\\t} else if(status === 401) { // authentication required\\n\\t\\t\\t\\t\\terrorMsg = $tw.language.getString(\\\"Error/PutUnauthorized\\\");\\n\\t\\t\\t\\t} else if(status === 403) { // permission denied\\n\\t\\t\\t\\t\\terrorMsg = $tw.language.getString(\\\"Error/PutForbidden\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (xhr.responseText) {\\n\\t\\t\\t\\t\\t// treat any server response like a plain text error explanation\\n\\t\\t\\t\\t\\terrorMsg = errorMsg + \\\"\\\\n\\\\n\\\" + xhr.responseText;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcallback(errorMsg); // fail\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tself.etag = xhr.getResponseHeader(\\\"ETag\\\");\\n\\t\\t\\t\\tif(self.etag == null) {\\n\\t\\t\\t\\t\\tretrieveETag(self);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcallback(null); // success\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nPutSaver.prototype.info = {\\n\\tname: \\\"put\\\",\\n\\tpriority: 2000,\\n\\tcapabilities: [\\\"save\\\",\\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn /^https?:/.test(location.protocol);\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new PutSaver(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/tiddlyfox.js\":{\"title\":\"$:/core/modules/savers/tiddlyfox.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/tiddlyfox.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via the TiddlyFox file extension\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false, netscape: false, Components: false */\\n\\\"use strict\\\";\\n\\nvar TiddlyFoxSaver = function(wiki) {\\n};\\n\\nTiddlyFoxSaver.prototype.save = function(text,method,callback) {\\n\\tvar messageBox = document.getElementById(\\\"tiddlyfox-message-box\\\");\\n\\tif(messageBox) {\\n\\t\\t// Get the pathname of this document\\n\\t\\tvar pathname = document.location.toString().split(\\\"#\\\")[0];\\n\\t\\t// Replace file://localhost/ with file:///\\n\\t\\tif(pathname.indexOf(\\\"file://localhost/\\\") === 0) {\\n\\t\\t\\tpathname = \\\"file://\\\" + pathname.substr(16);\\n\\t\\t}\\n\\t\\t// Windows path file:///x:/blah/blah --> x:\\\\blah\\\\blah\\n\\t\\tif(/^file\\\\:\\\\/\\\\/\\\\/[A-Z]\\\\:\\\\//i.test(pathname)) {\\n\\t\\t\\t// Remove the leading slash and convert slashes to backslashes\\n\\t\\t\\tpathname = pathname.substr(8).replace(/\\\\//g,\\\"\\\\\\\\\\\");\\n\\t\\t// Firefox Windows network path file://///server/share/blah/blah --> //server/share/blah/blah\\n\\t\\t} else if(pathname.indexOf(\\\"file://///\\\") === 0) {\\n\\t\\t\\tpathname = \\\"\\\\\\\\\\\\\\\\\\\" + unescape(pathname.substr(10)).replace(/\\\\//g,\\\"\\\\\\\\\\\");\\n\\t\\t// Mac/Unix local path file:///path/path --> /path/path\\n\\t\\t} else if(pathname.indexOf(\\\"file:///\\\") === 0) {\\n\\t\\t\\tpathname = unescape(pathname.substr(7));\\n\\t\\t// Mac/Unix local path file:/path/path --> /path/path\\n\\t\\t} else if(pathname.indexOf(\\\"file:/\\\") === 0) {\\n\\t\\t\\tpathname = unescape(pathname.substr(5));\\n\\t\\t// Otherwise Windows networth path file://server/share/path/path --> \\\\\\\\server\\\\share\\\\path\\\\path\\n\\t\\t} else {\\n\\t\\t\\tpathname = \\\"\\\\\\\\\\\\\\\\\\\" + unescape(pathname.substr(7)).replace(new RegExp(\\\"/\\\",\\\"g\\\"),\\\"\\\\\\\\\\\");\\n\\t\\t}\\n\\t\\t// Create the message element and put it in the message box\\n\\t\\tvar message = document.createElement(\\\"div\\\");\\n\\t\\tmessage.setAttribute(\\\"data-tiddlyfox-path\\\",$tw.utils.decodeURIComponentSafe(pathname));\\n\\t\\tmessage.setAttribute(\\\"data-tiddlyfox-content\\\",text);\\n\\t\\tmessageBox.appendChild(message);\\n\\t\\t// Add an event handler for when the file has been saved\\n\\t\\tmessage.addEventListener(\\\"tiddlyfox-have-saved-file\\\",function(event) {\\n\\t\\t\\tcallback(null);\\n\\t\\t}, false);\\n\\t\\t// Create and dispatch the custom event to the extension\\n\\t\\tvar event = document.createEvent(\\\"Events\\\");\\n\\t\\tevent.initEvent(\\\"tiddlyfox-save-file\\\",true,false);\\n\\t\\tmessage.dispatchEvent(event);\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nTiddlyFoxSaver.prototype.info = {\\n\\tname: \\\"tiddlyfox\\\",\\n\\tpriority: 1500,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new TiddlyFoxSaver(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/tiddlyie.js\":{\"title\":\"$:/core/modules/savers/tiddlyie.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/tiddlyie.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via Internet Explorer BHO extenion (TiddlyIE)\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar TiddlyIESaver = function(wiki) {\\n};\\n\\nTiddlyIESaver.prototype.save = function(text,method,callback) {\\n\\t// Check existence of TiddlyIE BHO extension (note: only works after document is complete)\\n\\tif(typeof(window.TiddlyIE) != \\\"undefined\\\") {\\n\\t\\t// Get the pathname of this document\\n\\t\\tvar pathname = unescape(document.location.pathname);\\n\\t\\t// Test for a Windows path of the form /x:/blah...\\n\\t\\tif(/^\\\\/[A-Z]\\\\:\\\\/[^\\\\/]+/i.test(pathname)) {\\t// ie: ^/[a-z]:/[^/]+ (is this better?: ^/[a-z]:/[^/]+(/[^/]+)*\\\\.[^/]+ )\\n\\t\\t\\t// Remove the leading slash\\n\\t\\t\\tpathname = pathname.substr(1);\\n\\t\\t\\t// Convert slashes to backslashes\\n\\t\\t\\tpathname = pathname.replace(/\\\\//g,\\\"\\\\\\\\\\\");\\n\\t\\t} else if(document.hostname !== \\\"\\\" && /^\\\\/[^\\\\/]+\\\\/[^\\\\/]+/i.test(pathname)) {\\t// test for \\\\\\\\server\\\\share\\\\blah... - ^/[^/]+/[^/]+\\n\\t\\t\\t// Convert slashes to backslashes\\n\\t\\t\\tpathname = pathname.replace(/\\\\//g,\\\"\\\\\\\\\\\");\\n\\t\\t\\t// reconstruct UNC path\\n\\t\\t\\tpathname = \\\"\\\\\\\\\\\\\\\\\\\" + document.location.hostname + pathname;\\n\\t\\t} else return false;\\n\\t\\t// Prompt the user to save the file\\n\\t\\twindow.TiddlyIE.save(pathname, text);\\n\\t\\t// Callback that we succeeded\\n\\t\\tcallback(null);\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nTiddlyIESaver.prototype.info = {\\n\\tname: \\\"tiddlyiesaver\\\",\\n\\tpriority: 1500,\\n\\tcapabilities: [\\\"save\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn (window.location.protocol === \\\"file:\\\");\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new TiddlyIESaver(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/twedit.js\":{\"title\":\"$:/core/modules/savers/twedit.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/twedit.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via the TWEdit iOS app\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false, netscape: false, Components: false */\\n\\\"use strict\\\";\\n\\nvar TWEditSaver = function(wiki) {\\n};\\n\\nTWEditSaver.prototype.save = function(text,method,callback) {\\n\\t// Bail if we're not running under TWEdit\\n\\tif(typeof DeviceInfo !== \\\"object\\\") {\\n\\t\\treturn false;\\n\\t}\\n\\t// Get the pathname of this document\\n\\tvar pathname = $tw.utils.decodeURIComponentSafe(document.location.pathname);\\n\\t// Strip any query or location part\\n\\tvar p = pathname.indexOf(\\\"?\\\");\\n\\tif(p !== -1) {\\n\\t\\tpathname = pathname.substr(0,p);\\n\\t}\\n\\tp = pathname.indexOf(\\\"#\\\");\\n\\tif(p !== -1) {\\n\\t\\tpathname = pathname.substr(0,p);\\n\\t}\\n\\t// Remove the leading \\\"/Documents\\\" from path\\n\\tvar prefix = \\\"/Documents\\\";\\n\\tif(pathname.indexOf(prefix) === 0) {\\n\\t\\tpathname = pathname.substr(prefix.length);\\n\\t}\\n\\t// Error handler\\n\\tvar errorHandler = function(event) {\\n\\t\\t// Error\\n\\t\\tcallback($tw.language.getString(\\\"Error/SavingToTWEdit\\\") + \\\": \\\" + event.target.error.code);\\n\\t};\\n\\t// Get the file system\\n\\twindow.requestFileSystem(LocalFileSystem.PERSISTENT,0,function(fileSystem) {\\n\\t\\t// Now we've got the filesystem, get the fileEntry\\n\\t\\tfileSystem.root.getFile(pathname, {create: true}, function(fileEntry) {\\n\\t\\t\\t// Now we've got the fileEntry, create the writer\\n\\t\\t\\tfileEntry.createWriter(function(writer) {\\n\\t\\t\\t\\twriter.onerror = errorHandler;\\n\\t\\t\\t\\twriter.onwrite = function() {\\n\\t\\t\\t\\t\\tcallback(null);\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\twriter.position = 0;\\n\\t\\t\\t\\twriter.write(text);\\n\\t\\t\\t},errorHandler);\\n\\t\\t}, errorHandler);\\n\\t}, errorHandler);\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nTWEditSaver.prototype.info = {\\n\\tname: \\\"twedit\\\",\\n\\tpriority: 1600,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new TWEditSaver(wiki);\\n};\\n\\n/////////////////////////// Hack\\n// HACK: This ensures that TWEdit recognises us as a TiddlyWiki document\\nif($tw.browser) {\\n\\twindow.version = {title: \\\"TiddlyWiki\\\"};\\n}\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/savers/upload.js\":{\"title\":\"$:/core/modules/savers/upload.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/savers/upload.js\\ntype: application/javascript\\nmodule-type: saver\\n\\nHandles saving changes via upload to a server.\\n\\nDesigned to be compatible with BidiX's UploadPlugin at http://tiddlywiki.bidix.info/#UploadPlugin\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nSelect the appropriate saver module and set it up\\n*/\\nvar UploadSaver = function(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\nUploadSaver.prototype.save = function(text,method,callback) {\\n\\t// Get the various parameters we need\\n\\tvar backupDir = this.wiki.getTextReference(\\\"$:/UploadBackupDir\\\") || \\\".\\\",\\n\\t\\tusername = this.wiki.getTextReference(\\\"$:/UploadName\\\"),\\n\\t\\tpassword = $tw.utils.getPassword(\\\"upload\\\"),\\n\\t\\tuploadDir = this.wiki.getTextReference(\\\"$:/UploadDir\\\") || \\\".\\\",\\n\\t\\tuploadFilename = this.wiki.getTextReference(\\\"$:/UploadFilename\\\") || \\\"index.html\\\",\\n\\t\\tuploadWithUrlOnly = this.wiki.getTextReference(\\\"$:/UploadWithUrlOnly\\\") || \\\"no\\\",\\n\\t\\turl = this.wiki.getTextReference(\\\"$:/UploadURL\\\");\\n\\t// Bail out if we don't have the bits we need\\n\\tif (uploadWithUrlOnly === \\\"yes\\\") {\\n\\t\\t// The url is good enough. No need for a username and password.\\n\\t\\t// Assume the server uses some other kind of auth mechanism.\\n\\t\\tif(!url || url.toString().trim() === \\\"\\\") {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\\n\\telse {\\n\\t\\t// Require username and password to be present.\\n\\t\\t// Assume the server uses the standard UploadPlugin username/password.\\n\\t\\tif(!username || username.toString().trim() === \\\"\\\" || !password || password.toString().trim() === \\\"\\\") {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\\n\\t// Construct the url if not provided\\n\\tif(!url) {\\n\\t\\turl = \\\"http://\\\" + username + \\\".tiddlyspot.com/store.cgi\\\";\\n\\t}\\n\\t// Assemble the header\\n\\tvar boundary = \\\"---------------------------\\\" + \\\"AaB03x\\\";\\n\\tvar uploadFormName = \\\"UploadPlugin\\\";\\n\\tvar head = [];\\n\\thead.push(\\\"--\\\" + boundary + \\\"\\\\r\\\\nContent-disposition: form-data; name=\\\\\\\"UploadPlugin\\\\\\\"\\\\r\\\\n\\\");\\n\\thead.push(\\\"backupDir=\\\" + backupDir + \\\";user=\\\" + username + \\\";password=\\\" + password + \\\";uploaddir=\\\" + uploadDir + \\\";;\\\"); \\n\\thead.push(\\\"\\\\r\\\\n\\\" + \\\"--\\\" + boundary);\\n\\thead.push(\\\"Content-disposition: form-data; name=\\\\\\\"userfile\\\\\\\"; filename=\\\\\\\"\\\" + uploadFilename + \\\"\\\\\\\"\\\");\\n\\thead.push(\\\"Content-Type: text/html;charset=UTF-8\\\");\\n\\thead.push(\\\"Content-Length: \\\" + text.length + \\\"\\\\r\\\\n\\\");\\n\\thead.push(\\\"\\\");\\n\\t// Assemble the tail and the data itself\\n\\tvar tail = \\\"\\\\r\\\\n--\\\" + boundary + \\\"--\\\\r\\\\n\\\",\\n\\t\\tdata = head.join(\\\"\\\\r\\\\n\\\") + text + tail;\\n\\t// Do the HTTP post\\n\\t$tw.notifier.display(\\\"$:/language/Notifications/Save/Starting\\\");\\n\\tvar http = new XMLHttpRequest();\\n\\thttp.open(\\\"POST\\\",url,true,username,password);\\n\\thttp.setRequestHeader(\\\"Content-Type\\\",\\\"multipart/form-data; charset=UTF-8; boundary=\\\" + boundary);\\n\\thttp.onreadystatechange = function() {\\n\\t\\tif(http.readyState == 4 && http.status == 200) {\\n\\t\\t\\tif(http.responseText.substr(0,4) === \\\"0 - \\\") {\\n\\t\\t\\t\\tcallback(null);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tcallback(http.responseText);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n\\ttry {\\n\\t\\thttp.send(data);\\n\\t} catch(ex) {\\n\\t\\treturn callback($tw.language.getString(\\\"Error/Caption\\\") + \\\":\\\" + ex);\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nInformation about this saver\\n*/\\nUploadSaver.prototype.info = {\\n\\tname: \\\"upload\\\",\\n\\tpriority: 2000,\\n\\tcapabilities: [\\\"save\\\", \\\"autosave\\\"]\\n};\\n\\n/*\\nStatic method that returns true if this saver is capable of working\\n*/\\nexports.canSave = function(wiki) {\\n\\treturn true;\\n};\\n\\n/*\\nCreate an instance of this saver\\n*/\\nexports.create = function(wiki) {\\n\\treturn new UploadSaver(wiki);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"saver\"},\"$:/core/modules/server/authenticators/basic.js\":{\"title\":\"$:/core/modules/server/authenticators/basic.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/authenticators/basic.js\\ntype: application/javascript\\nmodule-type: authenticator\\n\\nAuthenticator for WWW basic authentication\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nif($tw.node) {\\n\\tvar util = require(\\\"util\\\"),\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\turl = require(\\\"url\\\"),\\n\\t\\tpath = require(\\\"path\\\");\\n}\\n\\nfunction BasicAuthenticator(server) {\\n\\tthis.server = server;\\n\\tthis.credentialsData = [];\\n}\\n\\n/*\\nReturns true if the authenticator is active, false if it is inactive, or a string if there is an error\\n*/\\nBasicAuthenticator.prototype.init = function() {\\n\\t// Read the credentials data\\n\\tthis.credentialsFilepath = this.server.get(\\\"credentials\\\");\\n\\tif(this.credentialsFilepath) {\\n\\t\\tvar resolveCredentialsFilepath = path.resolve(this.server.boot.wikiPath,this.credentialsFilepath);\\n\\t\\tif(fs.existsSync(resolveCredentialsFilepath) && !fs.statSync(resolveCredentialsFilepath).isDirectory()) {\\n\\t\\t\\tvar credentialsText = fs.readFileSync(resolveCredentialsFilepath,\\\"utf8\\\"),\\n\\t\\t\\t\\tcredentialsData = $tw.utils.parseCsvStringWithHeader(credentialsText);\\n\\t\\t\\tif(typeof credentialsData === \\\"string\\\") {\\n\\t\\t\\t\\treturn \\\"Error: \\\" + credentialsData + \\\" reading credentials from '\\\" + resolveCredentialsFilepath + \\\"'\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tthis.credentialsData = credentialsData;\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\treturn \\\"Error: Unable to load user credentials from '\\\" + resolveCredentialsFilepath + \\\"'\\\";\\n\\t\\t}\\n\\t}\\n\\t// Add the hardcoded username and password if specified\\n\\tif(this.server.get(\\\"username\\\") && this.server.get(\\\"password\\\")) {\\n\\t\\tthis.credentialsData = this.credentialsData || [];\\n\\t\\tthis.credentialsData.push({\\n\\t\\t\\tusername: this.server.get(\\\"username\\\"),\\n\\t\\t\\tpassword: this.server.get(\\\"password\\\")\\n\\t\\t});\\n\\t}\\n\\treturn this.credentialsData.length > 0;\\n};\\n\\n/*\\nReturns true if the request is authenticated and assigns the \\\"authenticatedUsername\\\" state variable.\\nReturns false if the request couldn't be authenticated having sent an appropriate response to the browser\\n*/\\nBasicAuthenticator.prototype.authenticateRequest = function(request,response,state) {\\n\\t// Extract the incoming username and password from the request\\n\\tvar header = request.headers.authorization || \\\"\\\";\\n\\tif(!header && state.allowAnon) {\\n\\t\\t// If there's no header and anonymous access is allowed then we don't set authenticatedUsername\\n\\t\\treturn true;\\n\\t}\\n\\tvar token = header.split(/\\\\s+/).pop() || \\\"\\\",\\n\\t\\tauth = $tw.utils.base64Decode(token),\\n\\t\\tparts = auth.split(/:/),\\n\\t\\tincomingUsername = parts[0],\\n\\t\\tincomingPassword = parts[1];\\n\\t// Check that at least one of the credentials matches\\n\\tvar matchingCredentials = this.credentialsData.find(function(credential) {\\n\\t\\treturn credential.username === incomingUsername && credential.password === incomingPassword;\\n\\t});\\n\\tif(matchingCredentials) {\\n\\t\\t// If so, add the authenticated username to the request state\\n\\t\\tstate.authenticatedUsername = incomingUsername;\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\t// If not, return an authentication challenge\\n\\t\\tresponse.writeHead(401,\\\"Authentication required\\\",{\\n\\t\\t\\t\\\"WWW-Authenticate\\\": 'Basic realm=\\\"Please provide your username and password to login to ' + state.server.servername + '\\\"'\\n\\t\\t});\\n\\t\\tresponse.end();\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.AuthenticatorClass = BasicAuthenticator;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"authenticator\"},\"$:/core/modules/server/authenticators/header.js\":{\"title\":\"$:/core/modules/server/authenticators/header.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/authenticators/header.js\\ntype: application/javascript\\nmodule-type: authenticator\\n\\nAuthenticator for trusted header authentication\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nfunction HeaderAuthenticator(server) {\\n\\tthis.server = server;\\n\\tthis.header = server.get(\\\"authenticated-user-header\\\") ? server.get(\\\"authenticated-user-header\\\").toLowerCase() : undefined;\\n}\\n\\n/*\\nReturns true if the authenticator is active, false if it is inactive, or a string if there is an error\\n*/\\nHeaderAuthenticator.prototype.init = function() {\\n\\treturn !!this.header;\\n};\\n\\n/*\\nReturns true if the request is authenticated and assigns the \\\"authenticatedUsername\\\" state variable.\\nReturns false if the request couldn't be authenticated having sent an appropriate response to the browser\\n*/\\nHeaderAuthenticator.prototype.authenticateRequest = function(request,response,state) {\\n\\t// Otherwise, authenticate as the username in the specified header\\n\\tvar username = request.headers[this.header];\\n\\tif(!username && !state.allowAnon) {\\n\\t\\tresponse.writeHead(401,\\\"Authorization header required to login to '\\\" + state.server.servername + \\\"'\\\");\\n\\t\\tresponse.end();\\n\\t\\treturn false;\\n\\t} else {\\n\\t\\t// authenticatedUsername will be undefined for anonymous users\\n\\t\\tstate.authenticatedUsername = $tw.utils.decodeURIComponentSafe(username);\\n\\t\\treturn true;\\n\\t}\\n};\\n\\nexports.AuthenticatorClass = HeaderAuthenticator;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"authenticator\"},\"$:/core/modules/server/routes/delete-tiddler.js\":{\"title\":\"$:/core/modules/server/routes/delete-tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/delete-tiddler.js\\ntype: application/javascript\\nmodule-type: route\\n\\nDELETE /recipes/default/tiddlers/:title\\n\\n\\\\*/\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.method = \\\"DELETE\\\";\\n\\nexports.path = /^\\\\/bags\\\\/default\\\\/tiddlers\\\\/(.+)$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar title = $tw.utils.decodeURIComponentSafe(state.params[0]);\\n\\tstate.wiki.deleteTiddler(title);\\n\\tresponse.writeHead(204, \\\"OK\\\", {\\n\\t\\t\\\"Content-Type\\\": \\\"text/plain\\\"\\n\\t});\\n\\tresponse.end();\\n};\\n\\n}());\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-favicon.js\":{\"title\":\"$:/core/modules/server/routes/get-favicon.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-favicon.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /favicon.ico\\n\\n\\\\*/\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/favicon.ico$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar buffer = state.wiki.getTiddlerText(\\\"$:/favicon.ico\\\",\\\"\\\");\\n\\tstate.sendResponse(200,{\\\"Content-Type\\\": \\\"image/x-icon\\\"},buffer,\\\"base64\\\");\\n};\\n\\n}());\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-file.js\":{\"title\":\"$:/core/modules/server/routes/get-file.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-file.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /files/:filepath\\n\\n\\\\*/\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/files\\\\/(.+)$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar path = require(\\\"path\\\"),\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\tutil = require(\\\"util\\\"),\\n\\t\\tsuppliedFilename = $tw.utils.decodeURIComponentSafe(state.params[0]),\\n\\t\\tbaseFilename = path.resolve(state.boot.wikiPath,\\\"files\\\"),\\n\\t\\tfilename = path.resolve(baseFilename,suppliedFilename),\\n\\t\\textension = path.extname(filename);\\n\\t// Check that the filename is inside the wiki files folder\\n\\tif(path.relative(baseFilename,filename).indexOf(\\\"..\\\") !== 0) {\\n\\t\\t// Send the file\\n\\t\\tfs.readFile(filename,function(err,content) {\\n\\t\\t\\tvar status,content,type = \\\"text/plain\\\";\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tconsole.log(\\\"Error accessing file \\\" + filename + \\\": \\\" + err.toString());\\n\\t\\t\\t\\tstatus = 404;\\n\\t\\t\\t\\tcontent = \\\"File '\\\" + suppliedFilename + \\\"' not found\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tstatus = 200;\\n\\t\\t\\t\\tcontent = content;\\n\\t\\t\\t\\ttype = ($tw.config.fileExtensionInfo[extension] ? $tw.config.fileExtensionInfo[extension].type : \\\"application/octet-stream\\\");\\n\\t\\t\\t}\\n\\t\\t\\tstate.sendResponse(status,{\\\"Content-Type\\\": type},content);\\n\\t\\t});\\n\\t} else {\\n\\t\\tstate.sendResponse(404,{\\\"Content-Type\\\": \\\"text/plain\\\"},\\\"File '\\\" + suppliedFilename + \\\"' not found\\\");\\n\\t}\\n};\\n\\n}());\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-index.js\":{\"title\":\"$:/core/modules/server/routes/get-index.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-index.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /\\n\\n\\\\*/\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar text = state.wiki.renderTiddler(state.server.get(\\\"root-render-type\\\"),state.server.get(\\\"root-tiddler\\\")),\\n\\t\\tresponseHeaders = {\\n\\t\\t\\\"Content-Type\\\": state.server.get(\\\"root-serve-type\\\")\\n\\t};\\n\\tstate.sendResponse(200,responseHeaders,text);\\n};\\n\\n}());\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-login-basic.js\":{\"title\":\"$:/core/modules/server/routes/get-login-basic.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-login-basic.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /login-basic -- force a Basic Authentication challenge\\n\\n\\\\*/\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/login-basic$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tif(!state.authenticatedUsername) {\\n\\t\\t// Challenge if there's no username\\n\\t\\tresponse.writeHead(401,{\\n\\t\\t\\t\\\"WWW-Authenticate\\\": 'Basic realm=\\\"Please provide your username and password to login to ' + state.server.servername + '\\\"'\\n\\t\\t});\\n\\t\\tresponse.end();\\n\\t} else {\\n\\t\\t// Redirect to the root wiki if login worked\\n\\t\\tvar location = ($tw.syncadaptor && $tw.syncadaptor.host)? $tw.syncadaptor.host: \\\"/\\\";\\n\\t\\tresponse.writeHead(302,{\\n\\t\\t\\tLocation: location\\n\\t\\t});\\n\\t\\tresponse.end();\\n\\t}\\n};\\n\\n}());\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-status.js\":{\"title\":\"$:/core/modules/server/routes/get-status.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-status.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /status\\n\\n\\\\*/\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/status$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar text = JSON.stringify({\\n\\t\\tusername: state.authenticatedUsername || state.server.get(\\\"anon-username\\\") || \\\"\\\",\\n\\t\\tanonymous: !state.authenticatedUsername,\\n\\t\\tread_only: !state.server.isAuthorized(\\\"writers\\\",state.authenticatedUsername),\\n\\t\\tlogout_is_available: false,\\n\\t\\tspace: {\\n\\t\\t\\trecipe: \\\"default\\\"\\n\\t\\t},\\n\\t\\ttiddlywiki_version: $tw.version\\n\\t});\\n\\tstate.sendResponse(200,{\\\"Content-Type\\\": \\\"application/json\\\"},text,\\\"utf8\\\");\\n};\\n\\n}());\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-tiddler-html.js\":{\"title\":\"$:/core/modules/server/routes/get-tiddler-html.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-tiddler-html.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /:title\\n\\n\\\\*/\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/([^\\\\/]+)$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar title = $tw.utils.decodeURIComponentSafe(state.params[0]),\\n\\t\\ttiddler = state.wiki.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\tvar renderType = tiddler.getFieldString(\\\"_render_type\\\"),\\n\\t\\t\\trenderTemplate = tiddler.getFieldString(\\\"_render_template\\\");\\n\\t\\t// Tiddler fields '_render_type' and '_render_template' overwrite\\n\\t\\t// system wide settings for render type and template\\n\\t\\tif(state.wiki.isSystemTiddler(title)) {\\n\\t\\t\\trenderType = renderType || state.server.get(\\\"system-tiddler-render-type\\\");\\n\\t\\t\\trenderTemplate = renderTemplate || state.server.get(\\\"system-tiddler-render-template\\\");\\n\\t\\t} else {\\n\\t\\t\\trenderType = renderType || state.server.get(\\\"tiddler-render-type\\\");\\n\\t\\t\\trenderTemplate = renderTemplate || state.server.get(\\\"tiddler-render-template\\\");\\n\\t\\t}\\n\\t\\tvar text = state.wiki.renderTiddler(renderType,renderTemplate,{parseAsInline: true, variables: {currentTiddler: title}});\\n\\n\\t\\t// Naughty not to set a content-type, but it's the easiest way to ensure the browser will see HTML pages as HTML, and accept plain text tiddlers as CSS or JS\\n\\t\\tstate.sendResponse(200,{},text,\\\"utf8\\\");\\n\\t} else {\\n\\t\\tresponse.writeHead(404);\\n\\t\\tresponse.end();\\n\\t}\\n};\\n\\n}());\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-tiddler.js\":{\"title\":\"$:/core/modules/server/routes/get-tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-tiddler.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /recipes/default/tiddlers/:title\\n\\n\\\\*/\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/recipes\\\\/default\\\\/tiddlers\\\\/(.+)$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar title = $tw.utils.decodeURIComponentSafe(state.params[0]),\\n\\t\\ttiddler = state.wiki.getTiddler(title),\\n\\t\\ttiddlerFields = {},\\n\\t\\tknownFields = [\\n\\t\\t\\t\\\"bag\\\", \\\"created\\\", \\\"creator\\\", \\\"modified\\\", \\\"modifier\\\", \\\"permissions\\\", \\\"recipe\\\", \\\"revision\\\", \\\"tags\\\", \\\"text\\\", \\\"title\\\", \\\"type\\\", \\\"uri\\\"\\n\\t\\t];\\n\\tif(tiddler) {\\n\\t\\t$tw.utils.each(tiddler.fields,function(field,name) {\\n\\t\\t\\tvar value = tiddler.getFieldString(name);\\n\\t\\t\\tif(knownFields.indexOf(name) !== -1) {\\n\\t\\t\\t\\ttiddlerFields[name] = value;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\ttiddlerFields.fields = tiddlerFields.fields || {};\\n\\t\\t\\t\\ttiddlerFields.fields[name] = value;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\ttiddlerFields.revision = state.wiki.getChangeCount(title);\\n\\t\\ttiddlerFields.bag = \\\"default\\\";\\n\\t\\ttiddlerFields.type = tiddlerFields.type || \\\"text/vnd.tiddlywiki\\\";\\n\\t\\tstate.sendResponse(200,{\\\"Content-Type\\\": \\\"application/json\\\"},JSON.stringify(tiddlerFields),\\\"utf8\\\");\\n\\t} else {\\n\\t\\tresponse.writeHead(404);\\n\\t\\tresponse.end();\\n\\t}\\n};\\n\\n}());\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/get-tiddlers-json.js\":{\"title\":\"$:/core/modules/server/routes/get-tiddlers-json.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/get-tiddlers-json.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /recipes/default/tiddlers.json?filter=\u003Cfilter>\\n\\n\\\\*/\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar DEFAULT_FILTER = \\\"[all[tiddlers]!is[system]sort[title]]\\\";\\n\\nexports.method = \\\"GET\\\";\\n\\nexports.path = /^\\\\/recipes\\\\/default\\\\/tiddlers.json$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar filter = state.queryParameters.filter || DEFAULT_FILTER;\\n\\tif(state.wiki.getTiddlerText(\\\"$:/config/Server/AllowAllExternalFilters\\\") !== \\\"yes\\\") {\\n\\t\\tif(state.wiki.getTiddlerText(\\\"$:/config/Server/ExternalFilters/\\\" + filter) !== \\\"yes\\\") {\\n\\t\\t\\tconsole.log(\\\"Blocked attempt to GET /recipes/default/tiddlers.json with filter: \\\" + filter);\\n\\t\\t\\tresponse.writeHead(403);\\n\\t\\t\\tresponse.end();\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t}\\n\\tif(state.wiki.getTiddlerText(\\\"$:/config/SyncSystemTiddlersFromServer\\\") === \\\"no\\\") {\\n\\t\\tfilter += \\\"+[!is[system]]\\\";\\n\\t}\\n\\tvar excludeFields = (state.queryParameters.exclude || \\\"text\\\").split(\\\",\\\"),\\n\\t\\ttitles = state.wiki.filterTiddlers(filter);\\n\\tvar tiddlers = [];\\n\\t$tw.utils.each(titles,function(title) {\\n\\t\\tvar tiddler = state.wiki.getTiddler(title);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tvar tiddlerFields = tiddler.getFieldStrings({exclude: excludeFields});\\n\\t\\t\\ttiddlerFields.revision = state.wiki.getChangeCount(title);\\n\\t\\t\\ttiddlerFields.type = tiddlerFields.type || \\\"text/vnd.tiddlywiki\\\";\\n\\t\\t\\ttiddlers.push(tiddlerFields);\\n\\t\\t}\\n\\t});\\n\\tvar text = JSON.stringify(tiddlers);\\n\\tstate.sendResponse(200,{\\\"Content-Type\\\": \\\"application/json\\\"},text,\\\"utf8\\\");\\n};\\n\\n}());\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/routes/put-tiddler.js\":{\"title\":\"$:/core/modules/server/routes/put-tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/routes/put-tiddler.js\\ntype: application/javascript\\nmodule-type: route\\n\\nPUT /recipes/default/tiddlers/:title\\n\\n\\\\*/\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.method = \\\"PUT\\\";\\n\\nexports.path = /^\\\\/recipes\\\\/default\\\\/tiddlers\\\\/(.+)$/;\\n\\nexports.handler = function(request,response,state) {\\n\\tvar title = $tw.utils.decodeURIComponentSafe(state.params[0]),\\n\\tfields = $tw.utils.parseJSONSafe(state.data);\\n\\t// Pull up any subfields in the `fields` object\\n\\tif(fields.fields) {\\n\\t\\t$tw.utils.each(fields.fields,function(field,name) {\\n\\t\\t\\tfields[name] = field;\\n\\t\\t});\\n\\t\\tdelete fields.fields;\\n\\t}\\n\\t// Remove any revision field\\n\\tif(fields.revision) {\\n\\t\\tdelete fields.revision;\\n\\t}\\n\\t// If this is a skinny tiddler, it means the client never got the full\\n\\t// version of the tiddler to edit. So we must preserve whatever text\\n\\t// already exists on the server, or else we'll inadvertently delete it.\\n\\tif(fields._is_skinny !== undefined) {\\n\\t\\tvar tiddler = state.wiki.getTiddler(title);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tfields.text = tiddler.fields.text;\\n\\t\\t}\\n\\t\\tdelete fields._is_skinny;\\n\\t}\\n\\tstate.wiki.addTiddler(new $tw.Tiddler(fields,{title: title}));\\n\\tvar changeCount = state.wiki.getChangeCount(title).toString();\\n\\tresponse.writeHead(204, \\\"OK\\\",{\\n\\t\\tEtag: \\\"\\\\\\\"default/\\\" + encodeURIComponent(title) + \\\"/\\\" + changeCount + \\\":\\\\\\\"\\\",\\n\\t\\t\\\"Content-Type\\\": \\\"text/plain\\\"\\n\\t});\\n\\tresponse.end();\\n};\\n\\n}());\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/core/modules/server/server.js\":{\"title\":\"$:/core/modules/server/server.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/server/server.js\\ntype: application/javascript\\nmodule-type: library\\n\\nServe tiddlers over http\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nif($tw.node) {\\n\\tvar util = require(\\\"util\\\"),\\n\\t\\tfs = require(\\\"fs\\\"),\\n\\t\\turl = require(\\\"url\\\"),\\n\\t\\tpath = require(\\\"path\\\"),\\n\\t\\tquerystring = require(\\\"querystring\\\"),\\n\\t\\tcrypto = require(\\\"crypto\\\"),\\n\\t\\tzlib = require(\\\"zlib\\\");\\n}\\n\\n/*\\nA simple HTTP server with regexp-based routes\\noptions: variables - optional hashmap of variables to set (a misnomer - they are really constant parameters)\\n\\t\\t routes - optional array of routes to use\\n\\t\\t wiki - reference to wiki object\\n*/\\nfunction Server(options) {\\n\\tvar self = this;\\n\\tthis.routes = options.routes || [];\\n\\tthis.authenticators = options.authenticators || [];\\n\\tthis.wiki = options.wiki;\\n\\tthis.boot = options.boot || $tw.boot;\\n\\t// Initialise the variables\\n\\tthis.variables = $tw.utils.extend({},this.defaultVariables);\\n\\tif(options.variables) {\\n\\t\\tfor(var variable in options.variables) {\\n\\t\\t\\tif(options.variables[variable]) {\\n\\t\\t\\t\\tthis.variables[variable] = options.variables[variable];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Setup the default required plugins\\n\\tthis.requiredPlugins = this.get(\\\"required-plugins\\\").split(',');\\n\\t// Initialise CSRF\\n\\tthis.csrfDisable = this.get(\\\"csrf-disable\\\") === \\\"yes\\\";\\n\\t// Initialize Gzip compression\\n\\tthis.enableGzip = this.get(\\\"gzip\\\") === \\\"yes\\\";\\n\\t// Initialize browser-caching\\n\\tthis.enableBrowserCache = this.get(\\\"use-browser-cache\\\") === \\\"yes\\\";\\n\\t// Initialise authorization\\n\\tvar authorizedUserName;\\n\\tif(this.get(\\\"username\\\") && this.get(\\\"password\\\")) {\\n\\t\\tauthorizedUserName = this.get(\\\"username\\\");\\n\\t} else if(this.get(\\\"credentials\\\")) {\\n\\t\\tauthorizedUserName = \\\"(authenticated)\\\";\\n\\t} else {\\n\\t\\tauthorizedUserName = \\\"(anon)\\\";\\n\\t}\\n\\tthis.authorizationPrincipals = {\\n\\t\\treaders: (this.get(\\\"readers\\\") || authorizedUserName).split(\\\",\\\").map($tw.utils.trim),\\n\\t\\twriters: (this.get(\\\"writers\\\") || authorizedUserName).split(\\\",\\\").map($tw.utils.trim)\\n\\t}\\n\\tif(this.get(\\\"admin\\\") || authorizedUserName !== \\\"(anon)\\\") {\\n\\t\\tthis.authorizationPrincipals[\\\"admin\\\"] = (this.get(\\\"admin\\\") || authorizedUserName).split(',').map($tw.utils.trim)\\n\\t}\\n\\t// Load and initialise authenticators\\n\\t$tw.modules.forEachModuleOfType(\\\"authenticator\\\", function(title,authenticatorDefinition) {\\n\\t\\t// console.log(\\\"Loading authenticator \\\" + title);\\n\\t\\tself.addAuthenticator(authenticatorDefinition.AuthenticatorClass);\\n\\t});\\n\\t// Load route handlers\\n\\t$tw.modules.forEachModuleOfType(\\\"route\\\", function(title,routeDefinition) {\\n\\t\\t// console.log(\\\"Loading server route \\\" + title);\\n\\t\\tself.addRoute(routeDefinition);\\n\\t});\\n\\t// Initialise the http vs https\\n\\tthis.listenOptions = null;\\n\\tthis.protocol = \\\"http\\\";\\n\\tvar tlsKeyFilepath = this.get(\\\"tls-key\\\"),\\n\\t\\ttlsCertFilepath = this.get(\\\"tls-cert\\\"),\\n\\t\\ttlsPassphrase = this.get(\\\"tls-passphrase\\\");\\n\\tif(tlsCertFilepath && tlsKeyFilepath) {\\n\\t\\tthis.listenOptions = {\\n\\t\\t\\tkey: fs.readFileSync(path.resolve(this.boot.wikiPath,tlsKeyFilepath),\\\"utf8\\\"),\\n\\t\\t\\tcert: fs.readFileSync(path.resolve(this.boot.wikiPath,tlsCertFilepath),\\\"utf8\\\"),\\n\\t\\t\\tpassphrase: tlsPassphrase || ''\\n\\t\\t};\\n\\t\\tthis.protocol = \\\"https\\\";\\n\\t}\\n\\tthis.transport = require(this.protocol);\\n\\t// Name the server and init the boot state\\n\\tthis.servername = $tw.utils.transliterateToSafeASCII(this.get(\\\"server-name\\\") || this.wiki.getTiddlerText(\\\"$:/SiteTitle\\\") || \\\"TiddlyWiki5\\\");\\n\\tthis.boot.origin = this.get(\\\"origin\\\")? this.get(\\\"origin\\\"): this.protocol+\\\"://\\\"+this.get(\\\"host\\\")+\\\":\\\"+this.get(\\\"port\\\");\\n\\tthis.boot.pathPrefix = this.get(\\\"path-prefix\\\") || \\\"\\\";\\n}\\n\\n/*\\nSend a response to the client. This method checks if the response must be sent\\nor if the client alrady has the data cached. If that's the case only a 304\\nresponse will be transmitted and the browser will use the cached data.\\nOnly requests with status code 200 are considdered for caching.\\nrequest: request instance passed to the handler\\nresponse: response instance passed to the handler\\nstatusCode: stauts code to send to the browser\\nheaders: response headers (they will be augmented with an `Etag` header)\\ndata: the data to send (passed to the end method of the response instance)\\nencoding: the encoding of the data to send (passed to the end method of the response instance)\\n*/\\nfunction sendResponse(request,response,statusCode,headers,data,encoding) {\\n\\tif(this.enableBrowserCache && (statusCode == 200)) {\\n\\t\\tvar hash = crypto.createHash('md5');\\n\\t\\t// Put everything into the hash that could change and invalidate the data that\\n\\t\\t// the browser already stored. The headers the data and the encoding.\\n\\t\\thash.update(data);\\n\\t\\thash.update(JSON.stringify(headers));\\n\\t\\tif(encoding) {\\n\\t\\t\\thash.update(encoding);\\n\\t\\t}\\n\\t\\tvar contentDigest = hash.digest(\\\"hex\\\");\\n\\t\\t// RFC 7232 section 2.3 mandates for the etag to be enclosed in quotes\\n\\t\\theaders[\\\"Etag\\\"] = '\\\"' + contentDigest + '\\\"';\\n\\t\\theaders[\\\"Cache-Control\\\"] = \\\"max-age=0, must-revalidate\\\";\\n\\t\\t// Check if any of the hashes contained within the if-none-match header\\n\\t\\t// matches the current hash.\\n\\t\\t// If one matches, do not send the data but tell the browser to use the\\n\\t\\t// cached data.\\n\\t\\t// We do not implement \\\"*\\\" as it makes no sense here.\\n\\t\\tvar ifNoneMatch = request.headers[\\\"if-none-match\\\"];\\n\\t\\tif(ifNoneMatch) {\\n\\t\\t\\tvar matchParts = ifNoneMatch.split(\\\",\\\").map(function(etag) {\\n\\t\\t\\t\\treturn etag.replace(/^[ \\\"]+|[ \\\"]+$/g, \\\"\\\");\\n\\t\\t\\t});\\n\\t\\t\\tif(matchParts.indexOf(contentDigest) != -1) {\\n\\t\\t\\t\\tresponse.writeHead(304,headers);\\n\\t\\t\\t\\tresponse.end();\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t/*\\n\\tIf the gzip=yes is set, check if the user agent permits compression. If so,\\n\\tcompress our response if the raw data is bigger than 2k. Compressing less\\n\\tdata is inefficient. Note that we use the synchronous functions from zlib\\n\\tto stay in the imperative style. The current `Server` doesn't depend on\\n\\tthis, and we may just as well use the async versions.\\n\\t*/\\n\\tif(this.enableGzip && (data.length > 2048)) {\\n\\t\\tvar acceptEncoding = request.headers[\\\"accept-encoding\\\"] || \\\"\\\";\\n\\t\\tif(/\\\\bdeflate\\\\b/.test(acceptEncoding)) {\\n\\t\\t\\theaders[\\\"Content-Encoding\\\"] = \\\"deflate\\\";\\n\\t\\t\\tdata = zlib.deflateSync(data);\\n\\t\\t} else if(/\\\\bgzip\\\\b/.test(acceptEncoding)) {\\n\\t\\t\\theaders[\\\"Content-Encoding\\\"] = \\\"gzip\\\";\\n\\t\\t\\tdata = zlib.gzipSync(data);\\n\\t\\t}\\n\\t}\\n\\n\\tresponse.writeHead(statusCode,headers);\\n\\tresponse.end(data,encoding);\\n}\\n\\nServer.prototype.defaultVariables = {\\n\\tport: \\\"8080\\\",\\n\\thost: \\\"127.0.0.1\\\",\\n\\t\\\"required-plugins\\\": \\\"$:/plugins/tiddlywiki/filesystem,$:/plugins/tiddlywiki/tiddlyweb\\\",\\n\\t\\\"root-tiddler\\\": \\\"$:/core/save/all\\\",\\n\\t\\\"root-render-type\\\": \\\"text/plain\\\",\\n\\t\\\"root-serve-type\\\": \\\"text/html\\\",\\n\\t\\\"tiddler-render-type\\\": \\\"text/html\\\",\\n\\t\\\"tiddler-render-template\\\": \\\"$:/core/templates/server/static.tiddler.html\\\",\\n\\t\\\"system-tiddler-render-type\\\": \\\"text/plain\\\",\\n\\t\\\"system-tiddler-render-template\\\": \\\"$:/core/templates/wikified-tiddler\\\",\\n\\t\\\"debug-level\\\": \\\"none\\\",\\n\\t\\\"gzip\\\": \\\"no\\\",\\n\\t\\\"use-browser-cache\\\": \\\"no\\\"\\n};\\n\\nServer.prototype.get = function(name) {\\n\\treturn this.variables[name];\\n};\\n\\nServer.prototype.addRoute = function(route) {\\n\\tthis.routes.push(route);\\n};\\n\\nServer.prototype.addAuthenticator = function(AuthenticatorClass) {\\n\\t// Instantiate and initialise the authenticator\\n\\tvar authenticator = new AuthenticatorClass(this),\\n\\t\\tresult = authenticator.init();\\n\\tif(typeof result === \\\"string\\\") {\\n\\t\\t$tw.utils.error(\\\"Error: \\\" + result);\\n\\t} else if(result) {\\n\\t\\t// Only use the authenticator if it initialised successfully\\n\\t\\tthis.authenticators.push(authenticator);\\n\\t}\\n};\\n\\nServer.prototype.findMatchingRoute = function(request,state) {\\n\\tfor(var t=0; t\u003Cthis.routes.length; t++) {\\n\\t\\tvar potentialRoute = this.routes[t],\\n\\t\\t\\tpathRegExp = potentialRoute.path,\\n\\t\\t\\tpathname = state.urlInfo.pathname,\\n\\t\\t\\tmatch;\\n\\t\\tif(state.pathPrefix) {\\n\\t\\t\\tif(pathname.substr(0,state.pathPrefix.length) === state.pathPrefix) {\\n\\t\\t\\t\\tpathname = pathname.substr(state.pathPrefix.length) || \\\"/\\\";\\n\\t\\t\\t\\tmatch = potentialRoute.path.exec(pathname);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tmatch = false;\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tmatch = potentialRoute.path.exec(pathname);\\n\\t\\t}\\n\\t\\tif(match && request.method === potentialRoute.method) {\\n\\t\\t\\tstate.params = [];\\n\\t\\t\\tfor(var p=1; p\u003Cmatch.length; p++) {\\n\\t\\t\\t\\tstate.params.push(match[p]);\\n\\t\\t\\t}\\n\\t\\t\\treturn potentialRoute;\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\nServer.prototype.methodMappings = {\\n\\t\\\"GET\\\": \\\"readers\\\",\\n\\t\\\"OPTIONS\\\": \\\"readers\\\",\\n\\t\\\"HEAD\\\": \\\"readers\\\",\\n\\t\\\"PUT\\\": \\\"writers\\\",\\n\\t\\\"POST\\\": \\\"writers\\\",\\n\\t\\\"DELETE\\\": \\\"writers\\\"\\n};\\n\\n/*\\nCheck whether a given user is authorized for the specified authorizationType (\\\"readers\\\" or \\\"writers\\\"). Pass null or undefined as the username to check for anonymous access\\n*/\\nServer.prototype.isAuthorized = function(authorizationType,username) {\\n\\tvar principals = this.authorizationPrincipals[authorizationType] || [];\\n\\treturn principals.indexOf(\\\"(anon)\\\") !== -1 || (username && (principals.indexOf(\\\"(authenticated)\\\") !== -1 || principals.indexOf(username) !== -1));\\n}\\n\\nServer.prototype.requestHandler = function(request,response,options) {\\n\\toptions = options || {};\\n\\t// Compose the state object\\n\\tvar self = this;\\n\\tvar state = {};\\n\\tstate.wiki = options.wiki || self.wiki;\\n\\tstate.boot = options.boot || self.boot;\\n\\tstate.server = self;\\n\\tstate.urlInfo = url.parse(request.url);\\n\\tstate.queryParameters = querystring.parse(state.urlInfo.query);\\n\\tstate.pathPrefix = options.pathPrefix || this.get(\\\"path-prefix\\\") || \\\"\\\";\\n\\tstate.sendResponse = sendResponse.bind(self,request,response);\\n\\t// Get the principals authorized to access this resource\\n\\tstate.authorizationType = options.authorizationType || this.methodMappings[request.method] || \\\"readers\\\";\\n\\t// Check for the CSRF header if this is a write\\n\\tif(!this.csrfDisable && state.authorizationType === \\\"writers\\\" && request.headers[\\\"x-requested-with\\\"] !== \\\"TiddlyWiki\\\") {\\n\\t\\tresponse.writeHead(403,\\\"'X-Requested-With' header required to login to '\\\" + this.servername + \\\"'\\\");\\n\\t\\tresponse.end();\\n\\t\\treturn;\\n\\t}\\n\\t// Check whether anonymous access is granted\\n\\tstate.allowAnon = this.isAuthorized(state.authorizationType,null);\\n\\t// Authenticate with the first active authenticator\\n\\tif(this.authenticators.length > 0) {\\n\\t\\tif(!this.authenticators[0].authenticateRequest(request,response,state)) {\\n\\t\\t\\t// Bail if we failed (the authenticator will have sent the response)\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t}\\n\\t// Authorize with the authenticated username\\n\\tif(!this.isAuthorized(state.authorizationType,state.authenticatedUsername)) {\\n\\t\\tresponse.writeHead(401,\\\"'\\\" + state.authenticatedUsername + \\\"' is not authorized to access '\\\" + this.servername + \\\"'\\\");\\n\\t\\tresponse.end();\\n\\t\\treturn;\\n\\t}\\n\\t// Find the route that matches this path\\n\\tvar route = self.findMatchingRoute(request,state);\\n\\t// Optionally output debug info\\n\\tif(self.get(\\\"debug-level\\\") !== \\\"none\\\") {\\n\\t\\tconsole.log(\\\"Request path:\\\",JSON.stringify(state.urlInfo));\\n\\t\\tconsole.log(\\\"Request headers:\\\",JSON.stringify(request.headers));\\n\\t\\tconsole.log(\\\"authenticatedUsername:\\\",state.authenticatedUsername);\\n\\t}\\n\\t// Return a 404 if we didn't find a route\\n\\tif(!route) {\\n\\t\\tresponse.writeHead(404);\\n\\t\\tresponse.end();\\n\\t\\treturn;\\n\\t}\\n\\t// Receive the request body if necessary and hand off to the route handler\\n\\tif(route.bodyFormat === \\\"stream\\\" || request.method === \\\"GET\\\" || request.method === \\\"HEAD\\\") {\\n\\t\\t// Let the route handle the request stream itself\\n\\t\\troute.handler(request,response,state);\\n\\t} else if(route.bodyFormat === \\\"string\\\" || !route.bodyFormat) {\\n\\t\\t// Set the encoding for the incoming request\\n\\t\\trequest.setEncoding(\\\"utf8\\\");\\n\\t\\tvar data = \\\"\\\";\\n\\t\\trequest.on(\\\"data\\\",function(chunk) {\\n\\t\\t\\tdata += chunk.toString();\\n\\t\\t});\\n\\t\\trequest.on(\\\"end\\\",function() {\\n\\t\\t\\tstate.data = data;\\n\\t\\t\\troute.handler(request,response,state);\\n\\t\\t});\\n\\t} else if(route.bodyFormat === \\\"buffer\\\") {\\n\\t\\tvar data = [];\\n\\t\\trequest.on(\\\"data\\\",function(chunk) {\\n\\t\\t\\tdata.push(chunk);\\n\\t\\t});\\n\\t\\trequest.on(\\\"end\\\",function() {\\n\\t\\t\\tstate.data = Buffer.concat(data);\\n\\t\\t\\troute.handler(request,response,state);\\n\\t\\t})\\n\\t} else {\\n\\t\\tresponse.writeHead(400,\\\"Invalid bodyFormat \\\" + route.bodyFormat + \\\" in route \\\" + route.method + \\\" \\\" + route.path.source);\\n\\t\\tresponse.end();\\n\\t}\\n};\\n\\n/*\\nListen for requests\\nport: optional port number (falls back to value of \\\"port\\\" variable)\\nhost: optional host address (falls back to value of \\\"host\\\" variable)\\nprefix: optional prefix (falls back to value of \\\"path-prefix\\\" variable)\\n*/\\nServer.prototype.listen = function(port,host,prefix) {\\n\\tvar self = this;\\n\\t// Handle defaults for port and host\\n\\tport = port || this.get(\\\"port\\\");\\n\\thost = host || this.get(\\\"host\\\");\\n\\tprefix = prefix || this.get(\\\"path-prefix\\\") || \\\"\\\";\\n\\t// Check for the port being a string and look it up as an environment variable\\n\\tif(parseInt(port,10).toString() !== port) {\\n\\t\\tport = process.env[port] || 8080;\\n\\t}\\n\\t// Warn if required plugins are missing\\n\\tvar missing = [];\\n\\tfor (var index=0; index\u003Cthis.requiredPlugins.length; index++) {\\n\\t\\tif (!this.wiki.getTiddler(this.requiredPlugins[index])) {\\n\\t\\t\\tmissing.push(this.requiredPlugins[index]);\\n\\t\\t}\\n\\t}\\n\\tif(missing.length > 0) {\\n\\t\\tvar error = \\\"Warning: Plugin(s) required for client-server operation are missing.\\\\n\\\"+\\n\\t\\t\\t\\\"\\\\\\\"\\\"+ missing.join(\\\"\\\\\\\", \\\\\\\"\\\")+\\\"\\\\\\\"\\\";\\n\\t\\t$tw.utils.warning(error);\\n\\t}\\n\\t// Create the server\\n\\tvar server;\\n\\tif(this.listenOptions) {\\n\\t\\tserver = this.transport.createServer(this.listenOptions,this.requestHandler.bind(this));\\n\\t} else {\\n\\t\\tserver = this.transport.createServer(this.requestHandler.bind(this));\\n\\t}\\n\\t// Display the port number after we've started listening (the port number might have been specified as zero, in which case we will get an assigned port)\\n\\tserver.on(\\\"listening\\\",function() {\\n\\t\\tvar address = server.address(),\\n\\t\\t\\turl = self.protocol + \\\"://\\\" + (address.family === \\\"IPv6\\\" ? \\\"[\\\" + address.address + \\\"]\\\" : address.address) + \\\":\\\" + address.port + prefix;\\n\\t\\t$tw.utils.log(\\\"Serving on \\\" + url,\\\"brown/orange\\\");\\n\\t\\t$tw.utils.log(\\\"(press ctrl-C to exit)\\\",\\\"red\\\");\\n\\t});\\n\\t// Listen\\n\\treturn server.listen(port,host);\\n};\\n\\nexports.Server = Server;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"library\"},\"$:/core/modules/browser-messaging.js\":{\"title\":\"$:/core/modules/browser-messaging.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/browser-messaging.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nBrowser message handling\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"browser-messaging\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\n/*\\nLoad a specified url as an iframe and call the callback when it is loaded. If the url is already loaded then the existing iframe instance is used\\n*/\\nfunction loadIFrame(url,callback) {\\n\\t// Check if iframe already exists\\n\\tvar iframeInfo = $tw.browserMessaging.iframeInfoMap[url];\\n\\tif(iframeInfo) {\\n\\t\\t// We've already got the iframe\\n\\t\\tcallback(null,iframeInfo);\\n\\t} else {\\n\\t\\t// Create the iframe and save it in the list\\n\\t\\tvar iframe = document.createElement(\\\"iframe\\\");\\n\\t\\tiframeInfo = {\\n\\t\\t\\turl: url,\\n\\t\\t\\tstatus: \\\"loading\\\",\\n\\t\\t\\tdomNode: iframe\\n\\t\\t};\\n\\t\\t$tw.browserMessaging.iframeInfoMap[url] = iframeInfo;\\n\\t\\tsaveIFrameInfoTiddler(iframeInfo);\\n\\t\\t// Add the iframe to the DOM and hide it\\n\\t\\tiframe.style.display = \\\"none\\\";\\n\\t\\tiframe.setAttribute(\\\"library\\\",\\\"true\\\");\\n\\t\\tdocument.body.appendChild(iframe);\\n\\t\\t// Set up onload\\n\\t\\tiframe.onload = function() {\\n\\t\\t\\tiframeInfo.status = \\\"loaded\\\";\\n\\t\\t\\tsaveIFrameInfoTiddler(iframeInfo);\\n\\t\\t\\tcallback(null,iframeInfo);\\n\\t\\t};\\n\\t\\tiframe.onerror = function() {\\n\\t\\t\\tcallback(\\\"Cannot load iframe\\\");\\n\\t\\t};\\n\\t\\ttry {\\n\\t\\t\\tiframe.src = url;\\n\\t\\t} catch(ex) {\\n\\t\\t\\tcallback(ex);\\n\\t\\t}\\n\\t}\\n}\\n\\n/*\\nUnload library iframe for given url\\n*/\\nfunction unloadIFrame(url){\\n\\tvar iframes = document.getElementsByTagName('iframe');\\n\\tfor(var t=iframes.length-1; t--; t>=0) {\\n\\t\\tvar iframe = iframes[t];\\n\\t\\tif(iframe.getAttribute(\\\"library\\\") === \\\"true\\\" &&\\n\\t\\t iframe.getAttribute(\\\"src\\\") === url) {\\n\\t\\t\\tiframe.parentNode.removeChild(iframe);\\n\\t\\t}\\n\\t}\\n}\\n\\nfunction saveIFrameInfoTiddler(iframeInfo) {\\n\\t$tw.wiki.addTiddler(new $tw.Tiddler($tw.wiki.getCreationFields(),{\\n\\t\\ttitle: \\\"$:/temp/ServerConnection/\\\" + iframeInfo.url,\\n\\t\\ttext: iframeInfo.status,\\n\\t\\ttags: [\\\"$:/tags/ServerConnection\\\"],\\n\\t\\turl: iframeInfo.url\\n\\t},$tw.wiki.getModificationFields()));\\n}\\n\\nexports.startup = function() {\\n\\t// Initialise the store of iframes we've created\\n\\t$tw.browserMessaging = {\\n\\t\\tiframeInfoMap: {} // Hashmap by URL of {url:,status:\\\"loading/loaded\\\",domNode:}\\n\\t};\\n\\t// Listen for widget messages to control loading the plugin library\\n\\t$tw.rootWidget.addEventListener(\\\"tm-load-plugin-library\\\",function(event) {\\n\\t\\tvar paramObject = event.paramObject || {},\\n\\t\\t\\turl = paramObject.url;\\n\\t\\tif(url) {\\n\\t\\t\\tloadIFrame(url,function(err,iframeInfo) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\talert($tw.language.getString(\\\"Error/LoadingPluginLibrary\\\") + \\\": \\\" + url);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tiframeInfo.domNode.contentWindow.postMessage({\\n\\t\\t\\t\\t\\t\\tverb: \\\"GET\\\",\\n\\t\\t\\t\\t\\t\\turl: \\\"recipes/library/tiddlers.json\\\",\\n\\t\\t\\t\\t\\t\\tcookies: {\\n\\t\\t\\t\\t\\t\\t\\ttype: \\\"save-info\\\",\\n\\t\\t\\t\\t\\t\\t\\tinfoTitlePrefix: paramObject.infoTitlePrefix || \\\"$:/temp/RemoteAssetInfo/\\\",\\n\\t\\t\\t\\t\\t\\t\\turl: url\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t},\\\"*\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\t// Listen for widget messages to control unloading the plugin library\\n\\t$tw.rootWidget.addEventListener(\\\"tm-unload-plugin-library\\\",function(event) {\\n\\t\\tvar paramObject = event.paramObject || {},\\n\\t\\t\\turl = paramObject.url;\\n\\t\\t$tw.browserMessaging.iframeInfoMap[url] = undefined;\\n\\t\\tif(url) {\\n\\t\\t\\tunloadIFrame(url);\\n\\t\\t\\t$tw.utils.each(\\n\\t\\t\\t\\t$tw.wiki.filterTiddlers(\\\"[[$:/temp/ServerConnection/\\\" + url + \\\"]] [prefix[$:/temp/RemoteAssetInfo/\\\" + url + \\\"/]]\\\"),\\n\\t\\t\\t\\tfunction(title) {\\n\\t\\t\\t\\t\\t$tw.wiki.deleteTiddler(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t);\\n\\t\\t}\\n\\t});\\n\\t$tw.rootWidget.addEventListener(\\\"tm-load-plugin-from-library\\\",function(event) {\\n\\t\\tvar paramObject = event.paramObject || {},\\n\\t\\t\\turl = paramObject.url,\\n\\t\\t\\ttitle = paramObject.title;\\n\\t\\tif(url && title) {\\n\\t\\t\\tloadIFrame(url,function(err,iframeInfo) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\talert($tw.language.getString(\\\"Error/LoadingPluginLibrary\\\") + \\\": \\\" + url);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tiframeInfo.domNode.contentWindow.postMessage({\\n\\t\\t\\t\\t\\t\\tverb: \\\"GET\\\",\\n\\t\\t\\t\\t\\t\\turl: \\\"recipes/library/tiddlers/\\\" + encodeURIComponent(title) + \\\".json\\\",\\n\\t\\t\\t\\t\\t\\tcookies: {\\n\\t\\t\\t\\t\\t\\t\\ttype: \\\"save-tiddler\\\",\\n\\t\\t\\t\\t\\t\\t\\turl: url\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t},\\\"*\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n\\t// Listen for window messages from other windows\\n\\twindow.addEventListener(\\\"message\\\",function listener(event){\\n\\t\\t// console.log(\\\"browser-messaging: \\\",document.location.toString())\\n\\t\\t// console.log(\\\"browser-messaging: Received message from\\\",event.origin);\\n\\t\\t// console.log(\\\"browser-messaging: Message content\\\",event.data);\\n\\t\\tswitch(event.data.verb) {\\n\\t\\t\\tcase \\\"GET-RESPONSE\\\":\\n\\t\\t\\t\\tif(event.data.status.charAt(0) === \\\"2\\\") {\\n\\t\\t\\t\\t\\tif(event.data.cookies) {\\n\\t\\t\\t\\t\\t\\tif(event.data.cookies.type === \\\"save-info\\\") {\\n\\t\\t\\t\\t\\t\\t\\tvar tiddlers = $tw.utils.parseJSONSafe(event.data.body);\\n\\t\\t\\t\\t\\t\\t\\t$tw.utils.each(tiddlers,function(tiddler) {\\n\\t\\t\\t\\t\\t\\t\\t\\t$tw.wiki.addTiddler(new $tw.Tiddler($tw.wiki.getCreationFields(),tiddler,{\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttitle: event.data.cookies.infoTitlePrefix + event.data.cookies.url + \\\"/\\\" + tiddler.title,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"original-title\\\": tiddler.title,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttext: \\\"\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttype: \\\"text/vnd.tiddlywiki\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"original-type\\\": tiddler.type,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"plugin-type\\\": undefined,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"original-plugin-type\\\": tiddler[\\\"plugin-type\\\"],\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"module-type\\\": undefined,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"original-module-type\\\": tiddler[\\\"module-type\\\"],\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttags: [\\\"$:/tags/RemoteAssetInfo\\\"],\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"original-tags\\\": $tw.utils.stringifyList(tiddler.tags || []),\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"server-url\\\": event.data.cookies.url\\n\\t\\t\\t\\t\\t\\t\\t\\t},$tw.wiki.getModificationFields()));\\n\\t\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t\\t} else if(event.data.cookies.type === \\\"save-tiddler\\\") {\\n\\t\\t\\t\\t\\t\\t\\tvar tiddler = $tw.utils.parseJSONSafe(event.data.body);\\n\\t\\t\\t\\t\\t\\t\\t$tw.wiki.addTiddler(new $tw.Tiddler(tiddler));\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t},false);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/commands.js\":{\"title\":\"$:/core/modules/startup/commands.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/commands.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nCommand processing\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"commands\\\";\\nexports.platforms = [\\\"node\\\"];\\nexports.after = [\\\"story\\\"];\\nexports.synchronous = false;\\n\\nexports.startup = function(callback) {\\n\\t// On the server, start a commander with the command line arguments\\n\\tvar commander = new $tw.Commander(\\n\\t\\t$tw.boot.argv,\\n\\t\\tfunction(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn $tw.utils.error(\\\"Error: \\\" + err);\\n\\t\\t\\t}\\n\\t\\t\\tcallback();\\n\\t\\t},\\n\\t\\t$tw.wiki,\\n\\t\\t{output: process.stdout, error: process.stderr}\\n\\t);\\n\\tcommander.execute();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/favicon.js\":{\"title\":\"$:/core/modules/startup/favicon.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/favicon.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nFavicon handling\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"favicon\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\n// Favicon tiddler\\nvar FAVICON_TITLE = \\\"$:/favicon.ico\\\";\\n\\nexports.startup = function() {\\n\\t// Set up the favicon\\n\\tsetFavicon();\\n\\t// Reset the favicon when the tiddler changes\\n\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\tif($tw.utils.hop(changes,FAVICON_TITLE)) {\\n\\t\\t\\tsetFavicon();\\n\\t\\t}\\n\\t});\\n};\\n\\nfunction setFavicon() {\\n\\tvar tiddler = $tw.wiki.getTiddler(FAVICON_TITLE);\\n\\tif(tiddler) {\\n\\t\\tvar faviconLink = document.getElementById(\\\"faviconLink\\\");\\n\\t\\tfaviconLink.setAttribute(\\\"href\\\",$tw.utils.makeDataUri(tiddler.fields.text,tiddler.fields.type,tiddler.fields._canonical_uri));\\n\\t}\\n}\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/info.js\":{\"title\":\"$:/core/modules/startup/info.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/info.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nInitialise $:/info tiddlers via $:/temp/info-plugin pseudo-plugin\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"info\\\";\\nexports.before = [\\\"startup\\\"];\\nexports.after = [\\\"load-modules\\\"];\\nexports.synchronous = true;\\n\\nvar TITLE_INFO_PLUGIN = \\\"$:/temp/info-plugin\\\";\\n\\nexports.startup = function() {\\n\\t// Function to bake the info plugin with new tiddlers\\n\\tvar updateInfoPlugin = function(tiddlerFieldsArray) {\\n\\t\\t// Get the existing tiddlers\\n\\t\\tvar json = $tw.wiki.getTiddlerData(TITLE_INFO_PLUGIN,{tiddlers: {}});\\n\\t\\t// Add the new ones\\n\\t\\t$tw.utils.each(tiddlerFieldsArray,function(fields) {\\n\\t\\t\\tif(fields && fields.title) {\\n\\t\\t\\t\\tjson.tiddlers[fields.title] = fields;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Bake the info tiddlers into a plugin. We use the non-standard plugin-type \\\"info\\\" because ordinary plugins are only registered asynchronously after being loaded dynamically\\n\\t\\tvar fields = {\\n\\t\\t\\ttitle: TITLE_INFO_PLUGIN,\\n\\t\\t\\ttype: \\\"application/json\\\",\\n\\t\\t\\t\\\"plugin-type\\\": \\\"info\\\",\\n\\t\\t\\ttext: JSON.stringify(json,null,$tw.config.preferences.jsonSpaces)\\n\\t\\t};\\n\\t\\t$tw.wiki.addTiddler(new $tw.Tiddler(fields));\\n\\n\\t};\\n\\t// Collect up the info tiddlers\\n\\tvar tiddlerFieldsArray = [];\\n\\t// Give each info module a chance to provide as many info tiddlers as they want as an array, and give them a callback for dynamically updating them\\n\\t$tw.modules.forEachModuleOfType(\\\"info\\\",function(title,moduleExports) {\\n\\t\\tif(moduleExports && moduleExports.getInfoTiddlerFields) {\\n\\t\\t\\tArray.prototype.push.apply(tiddlerFieldsArray,moduleExports.getInfoTiddlerFields(updateInfoPlugin));\\n\\t\\t}\\n\\t});\\n\\tupdateInfoPlugin(tiddlerFieldsArray);\\n\\tvar changes = $tw.wiki.readPluginInfo([TITLE_INFO_PLUGIN]);\\n\\t$tw.wiki.registerPluginTiddlers(\\\"info\\\",[TITLE_INFO_PLUGIN]);\\n\\t$tw.wiki.unpackPluginTiddlers();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/load-modules.js\":{\"title\":\"$:/core/modules/startup/load-modules.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/load-modules.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nLoad core modules\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"load-modules\\\";\\nexports.synchronous = true;\\n\\nexports.startup = function() {\\n\\t// Load modules\\n\\t$tw.modules.applyMethods(\\\"utils\\\",$tw.utils);\\n\\tif($tw.node) {\\n\\t\\t$tw.modules.applyMethods(\\\"utils-node\\\",$tw.utils);\\n\\t}\\n\\tif($tw.browser) {\\n\\t\\t$tw.modules.applyMethods(\\\"utils-browser\\\",$tw.utils);\\n\\t}\\n\\t$tw.modules.applyMethods(\\\"global\\\",$tw);\\n\\t$tw.modules.applyMethods(\\\"config\\\",$tw.config);\\n\\t$tw.Tiddler.fieldModules = $tw.modules.getModulesByTypeAsHashmap(\\\"tiddlerfield\\\");\\n\\t$tw.modules.applyMethods(\\\"tiddlermethod\\\",$tw.Tiddler.prototype);\\n\\t$tw.modules.applyMethods(\\\"wikimethod\\\",$tw.Wiki.prototype);\\n\\t$tw.wiki.addIndexersToWiki();\\n\\t$tw.modules.applyMethods(\\\"tiddlerdeserializer\\\",$tw.Wiki.tiddlerDeserializerModules);\\n\\t$tw.macros = $tw.modules.getModulesByTypeAsHashmap(\\\"macro\\\");\\n\\t$tw.wiki.initParsers();\\n\\t$tw.Commander.initCommands();\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/password.js\":{\"title\":\"$:/core/modules/startup/password.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/password.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nPassword handling\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"password\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\nexports.startup = function() {\\n\\t$tw.rootWidget.addEventListener(\\\"tm-set-password\\\",function(event) {\\n\\t\\t$tw.passwordPrompt.createPrompt({\\n\\t\\t\\tserviceName: $tw.language.getString(\\\"Encryption/PromptSetPassword\\\"),\\n\\t\\t\\tnoUserName: true,\\n\\t\\t\\tsubmitText: $tw.language.getString(\\\"Encryption/SetPassword\\\"),\\n\\t\\t\\tcanCancel: true,\\n\\t\\t\\trepeatPassword: true,\\n\\t\\t\\tcallback: function(data) {\\n\\t\\t\\t\\tif(data) {\\n\\t\\t\\t\\t\\t$tw.crypto.setPassword(data.password);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn true; // Get rid of the password prompt\\n\\t\\t\\t}\\n\\t\\t});\\n\\t});\\n\\t$tw.rootWidget.addEventListener(\\\"tm-clear-password\\\",function(event) {\\n\\t\\tif($tw.browser) {\\n\\t\\t\\tif(!confirm($tw.language.getString(\\\"Encryption/ConfirmClearPassword\\\"))) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t$tw.crypto.setPassword(null);\\n\\t});\\n\\t// Ensure that $:/isEncrypted is maintained properly\\n\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\tif($tw.utils.hop(changes,\\\"$:/isEncrypted\\\")) {\\n\\t\\t\\t$tw.crypto.updateCryptoStateTiddler();\\n\\t\\t}\\n\\t});\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/plugins.js\":{\"title\":\"$:/core/modules/startup/plugins.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/plugins.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nStartup logic concerned with managing plugins\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"plugins\\\";\\nexports.after = [\\\"load-modules\\\"];\\nexports.before = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\nvar TITLE_REQUIRE_RELOAD_DUE_TO_PLUGIN_CHANGE = \\\"$:/status/RequireReloadDueToPluginChange\\\";\\n\\nvar PREFIX_CONFIG_REGISTER_PLUGIN_TYPE = \\\"$:/config/RegisterPluginType/\\\";\\n\\nexports.startup = function() {\\n\\t$tw.wiki.addTiddler({title: TITLE_REQUIRE_RELOAD_DUE_TO_PLUGIN_CHANGE,text: \\\"no\\\"});\\n\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\t// Work out which of the changed tiddlers are plugins that we need to reregister\\n\\t\\tvar changesToProcess = [],\\n\\t\\t\\trequireReloadDueToPluginChange = false;\\n\\t\\t$tw.utils.each(Object.keys(changes),function(title) {\\n\\t\\t\\tvar tiddler = $tw.wiki.getTiddler(title),\\n\\t\\t\\t\\trequiresReload = $tw.wiki.doesPluginRequireReload(title);\\n\\t\\t\\tif(requiresReload) {\\n\\t\\t\\t\\trequireReloadDueToPluginChange = true;\\n\\t\\t\\t} else if(tiddler) {\\n\\t\\t\\t\\tvar pluginType = tiddler.fields[\\\"plugin-type\\\"];\\n\\t\\t\\t\\tif($tw.wiki.getTiddlerText(PREFIX_CONFIG_REGISTER_PLUGIN_TYPE + (tiddler.fields[\\\"plugin-type\\\"] || \\\"\\\"),\\\"no\\\") === \\\"yes\\\") {\\n\\t\\t\\t\\t\\tchangesToProcess.push(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Issue warning if any of the tiddlers require a reload\\n\\t\\tif(requireReloadDueToPluginChange) {\\n\\t\\t\\t$tw.wiki.addTiddler({title: TITLE_REQUIRE_RELOAD_DUE_TO_PLUGIN_CHANGE,text: \\\"yes\\\"});\\n\\t\\t}\\n\\t\\t// Read or delete the plugin info of the changed tiddlers\\n\\t\\tif(changesToProcess.length > 0) {\\n\\t\\t\\tvar changes = $tw.wiki.readPluginInfo(changesToProcess);\\n\\t\\t\\tif(changes.modifiedPlugins.length > 0 || changes.deletedPlugins.length > 0) {\\n\\t\\t\\t\\tvar changedShadowTiddlers = {};\\n\\t\\t\\t\\t// Collect the shadow tiddlers of any deleted plugins\\n\\t\\t\\t\\t$tw.utils.each(changes.deletedPlugins,function(pluginTitle) {\\n\\t\\t\\t\\t\\tvar pluginInfo = $tw.wiki.getPluginInfo(pluginTitle);\\n\\t\\t\\t\\t\\tif(pluginInfo) {\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(Object.keys(pluginInfo.tiddlers),function(title) {\\n\\t\\t\\t\\t\\t\\t\\tchangedShadowTiddlers[title] = true;\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\t// Collect the shadow tiddlers of any modified plugins\\n\\t\\t\\t\\t$tw.utils.each(changes.modifiedPlugins,function(pluginTitle) {\\n\\t\\t\\t\\t\\tvar pluginInfo = $tw.wiki.getPluginInfo(pluginTitle);\\n\\t\\t\\t\\t\\tif(pluginInfo) {\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(Object.keys(pluginInfo.tiddlers),function(title) {\\n\\t\\t\\t\\t\\t\\t\\tchangedShadowTiddlers[title] = false;\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\t// (Re-)register any modified plugins\\n\\t\\t\\t\\t$tw.wiki.registerPluginTiddlers(null,changes.modifiedPlugins);\\n\\t\\t\\t\\t// Unregister any deleted plugins\\n\\t\\t\\t\\t$tw.wiki.unregisterPluginTiddlers(null,changes.deletedPlugins);\\n\\t\\t\\t\\t// Unpack the shadow tiddlers\\n\\t\\t\\t\\t$tw.wiki.unpackPluginTiddlers();\\n\\t\\t\\t\\t// Queue change events for the changed shadow tiddlers\\n\\t\\t\\t\\t$tw.utils.each(Object.keys(changedShadowTiddlers),function(title) {\\n\\t\\t\\t\\t\\t$tw.wiki.enqueueTiddlerEvent(title,changedShadowTiddlers[title]);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/render.js\":{\"title\":\"$:/core/modules/startup/render.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/render.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nTitle, stylesheet and page rendering\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"render\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"story\\\"];\\nexports.synchronous = true;\\n\\n// Default story and history lists\\nvar PAGE_TITLE_TITLE = \\\"$:/core/wiki/title\\\";\\nvar PAGE_STYLESHEET_TITLE = \\\"$:/core/ui/PageStylesheet\\\";\\nvar PAGE_TEMPLATE_TITLE = \\\"$:/core/ui/RootTemplate\\\";\\n\\n// Time (in ms) that we defer refreshing changes to draft tiddlers\\nvar DRAFT_TIDDLER_TIMEOUT_TITLE = \\\"$:/config/Drafts/TypingTimeout\\\";\\nvar THROTTLE_REFRESH_TIMEOUT = 400;\\n\\nexports.startup = function() {\\n\\t// Set up the title\\n\\t$tw.titleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TITLE_TITLE,{document: $tw.fakeDocument, parseAsInline: true});\\n\\t$tw.titleContainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t$tw.titleWidgetNode.render($tw.titleContainer,null);\\n\\tdocument.title = $tw.titleContainer.textContent;\\n\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\tif($tw.titleWidgetNode.refresh(changes,$tw.titleContainer,null)) {\\n\\t\\t\\tdocument.title = $tw.titleContainer.textContent;\\n\\t\\t}\\n\\t});\\n\\t// Set up the styles\\n\\t$tw.styleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_STYLESHEET_TITLE,{document: $tw.fakeDocument});\\n\\t$tw.styleContainer = $tw.fakeDocument.createElement(\\\"style\\\");\\n\\t$tw.styleWidgetNode.render($tw.styleContainer,null);\\n\\t$tw.styleWidgetNode.assignedStyles = $tw.styleContainer.textContent;\\n\\t$tw.styleElement = document.createElement(\\\"style\\\");\\n\\t$tw.styleElement.innerHTML = $tw.styleWidgetNode.assignedStyles;\\n\\tdocument.head.insertBefore($tw.styleElement,document.head.firstChild);\\n\\t$tw.wiki.addEventListener(\\\"change\\\",$tw.perf.report(\\\"styleRefresh\\\",function(changes) {\\n\\t\\tif($tw.styleWidgetNode.refresh(changes,$tw.styleContainer,null)) {\\n\\t\\t\\tvar newStyles = $tw.styleContainer.textContent;\\n\\t\\t\\tif(newStyles !== $tw.styleWidgetNode.assignedStyles) {\\n\\t\\t\\t\\t$tw.styleWidgetNode.assignedStyles = newStyles;\\n\\t\\t\\t\\t$tw.styleElement.innerHTML = $tw.styleWidgetNode.assignedStyles;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}));\\n\\t// Display the $:/core/ui/PageTemplate tiddler to kick off the display\\n\\t$tw.perf.report(\\\"mainRender\\\",function() {\\n\\t\\t$tw.pageWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TEMPLATE_TITLE,{document: document, parentWidget: $tw.rootWidget, recursionMarker: \\\"no\\\"});\\n\\t\\t$tw.pageContainer = document.createElement(\\\"div\\\");\\n\\t\\t$tw.utils.addClass($tw.pageContainer,\\\"tc-page-container-wrapper\\\");\\n\\t\\tdocument.body.insertBefore($tw.pageContainer,document.body.firstChild);\\n\\t\\t$tw.pageWidgetNode.render($tw.pageContainer,null);\\n \\t\\t$tw.hooks.invokeHook(\\\"th-page-refreshed\\\");\\n\\t})();\\n\\t// Remove any splash screen elements\\n\\tvar removeList = document.querySelectorAll(\\\".tc-remove-when-wiki-loaded\\\");\\n\\t$tw.utils.each(removeList,function(removeItem) {\\n\\t\\tif(removeItem.parentNode) {\\n\\t\\t\\tremoveItem.parentNode.removeChild(removeItem);\\n\\t\\t}\\n\\t});\\n\\t// Prepare refresh mechanism\\n\\tvar deferredChanges = Object.create(null),\\n\\t\\ttimerId;\\n\\tfunction refresh() {\\n\\t\\t// Process the refresh\\n\\t\\t$tw.hooks.invokeHook(\\\"th-page-refreshing\\\");\\n\\t\\t$tw.pageWidgetNode.refresh(deferredChanges);\\n\\t\\tdeferredChanges = Object.create(null);\\n\\t\\t$tw.hooks.invokeHook(\\\"th-page-refreshed\\\");\\n\\t}\\n\\t// Add the change event handler\\n\\t$tw.wiki.addEventListener(\\\"change\\\",$tw.perf.report(\\\"mainRefresh\\\",function(changes) {\\n\\t\\t// Check if only tiddlers that are throttled have changed\\n\\t\\tvar onlyThrottledTiddlersHaveChanged = true;\\n\\t\\tfor(var title in changes) {\\n\\t\\t\\tvar tiddler = $tw.wiki.getTiddler(title);\\n\\t\\t\\tif(!$tw.wiki.isVolatileTiddler(title) && (!tiddler || !(tiddler.hasField(\\\"draft.of\\\") || tiddler.hasField(\\\"throttle.refresh\\\")))) {\\n\\t\\t\\t\\tonlyThrottledTiddlersHaveChanged = false;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Defer the change if only drafts have changed\\n\\t\\tif(timerId) {\\n\\t\\t\\tclearTimeout(timerId);\\n\\t\\t}\\n\\t\\ttimerId = null;\\n\\t\\tif(onlyThrottledTiddlersHaveChanged) {\\n\\t\\t\\tvar timeout = parseInt($tw.wiki.getTiddlerText(DRAFT_TIDDLER_TIMEOUT_TITLE,\\\"\\\"),10);\\n\\t\\t\\tif(isNaN(timeout)) {\\n\\t\\t\\t\\ttimeout = THROTTLE_REFRESH_TIMEOUT;\\n\\t\\t\\t}\\n\\t\\t\\ttimerId = setTimeout(refresh,timeout);\\n\\t\\t\\t$tw.utils.extend(deferredChanges,changes);\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.extend(deferredChanges,changes);\\n\\t\\t\\trefresh();\\n\\t\\t}\\n\\t}));\\n\\t// Fix up the link between the root widget and the page container\\n\\t$tw.rootWidget.domNodes = [$tw.pageContainer];\\n\\t$tw.rootWidget.children = [$tw.pageWidgetNode];\\n\\t// Run any post-render startup actions\\n\\t$tw.rootWidget.invokeActionsByTag(\\\"$:/tags/StartupAction/PostRender\\\");\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/rootwidget.js\":{\"title\":\"$:/core/modules/startup/rootwidget.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/rootwidget.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nSetup the root widget and the core root widget handlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"rootwidget\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"startup\\\"];\\nexports.before = [\\\"story\\\"];\\nexports.synchronous = true;\\n\\nexports.startup = function() {\\n\\t// Install the HTTP client event handler\\n\\t$tw.httpClient = new $tw.utils.HttpClient();\\n\\tvar getPropertiesWithPrefix = function(properties,prefix) {\\n\\t\\tvar result = Object.create(null);\\n\\t\\t$tw.utils.each(properties,function(value,name) {\\n\\t\\t\\tif(name.indexOf(prefix) === 0) {\\n\\t\\t\\t\\tresult[name.substring(prefix.length)] = properties[name];\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn result;\\n\\t};\\n\\t$tw.rootWidget.addEventListener(\\\"tm-http-request\\\",function(event) {\\n\\t\\tvar params = event.paramObject || {};\\n\\t\\t$tw.httpClient.initiateHttpRequest({\\n\\t\\t\\twiki: event.widget.wiki,\\n\\t\\t\\turl: params.url,\\n\\t\\t\\tmethod: params.method,\\n\\t\\t\\tbody: params.body,\\n\\t\\t\\tbinary: params.binary,\\n\\t\\t\\toncompletion: params.oncompletion,\\n\\t\\t\\tonprogress: params.onprogress,\\n\\t\\t\\tbindStatus: params[\\\"bind-status\\\"],\\n\\t\\t\\tbindProgress: params[\\\"bind-progress\\\"],\\n\\t\\t\\tvariables: getPropertiesWithPrefix(params,\\\"var-\\\"),\\n\\t\\t\\theaders: getPropertiesWithPrefix(params,\\\"header-\\\"),\\n\\t\\t\\tpasswordHeaders: getPropertiesWithPrefix(params,\\\"password-header-\\\"),\\n\\t\\t\\tqueryStrings: getPropertiesWithPrefix(params,\\\"query-\\\"),\\n\\t\\t\\tpasswordQueryStrings: getPropertiesWithPrefix(params,\\\"password-query-\\\")\\n\\t\\t});\\n\\t});\\n\\t$tw.rootWidget.addEventListener(\\\"tm-http-cancel-all-requests\\\",function(event) {\\n\\t\\t$tw.httpClient.cancelAllHttpRequests();\\n\\t});\\n\\t// Install the modal message mechanism\\n\\t$tw.modal = new $tw.utils.Modal($tw.wiki);\\n\\t$tw.rootWidget.addEventListener(\\\"tm-modal\\\",function(event) {\\n\\t\\t$tw.modal.display(event.param,{variables: event.paramObject, event: event});\\n\\t});\\n\\t$tw.rootWidget.addEventListener(\\\"tm-show-switcher\\\",function(event) {\\n\\t\\t$tw.modal.display(\\\"$:/core/ui/SwitcherModal\\\",{variables: event.paramObject, event: event});\\n\\t});\\n\\t// Install the notification mechanism\\n\\t$tw.notifier = new $tw.utils.Notifier($tw.wiki);\\n\\t$tw.rootWidget.addEventListener(\\\"tm-notify\\\",function(event) {\\n\\t\\t$tw.notifier.display(event.param,{variables: event.paramObject});\\n\\t});\\n\\t// Install the copy-to-clipboard mechanism\\n\\t$tw.rootWidget.addEventListener(\\\"tm-copy-to-clipboard\\\",function(event) {\\n\\t\\t$tw.utils.copyToClipboard(event.param);\\n\\t});\\n\\t// Install the tm-focus-selector message\\n\\t$tw.rootWidget.addEventListener(\\\"tm-focus-selector\\\",function(event) {\\n\\t\\tvar selector = event.param || \\\"\\\",\\n\\t\\t\\telement,\\n\\t\\t \\tbaseElement = event.event && event.event.target ? event.event.target.ownerDocument : document;\\n\\t\\telement = $tw.utils.querySelectorSafe(selector,baseElement);\\n\\t\\tif(element && element.focus) {\\n\\t\\t\\telement.focus(event.paramObject);\\n\\t\\t}\\n\\t});\\n\\t// Install the tm-rename-tiddler and tm-relink-tiddler messages\\n\\tvar makeRenameHandler = function(method) {\\n\\t\\treturn function(event) {\\n\\t\\t\\tvar options = {},\\n\\t\\t\\t\\tparamObject = event.paramObject || {},\\n\\t\\t\\t\\tfrom = paramObject.from || event.tiddlerTitle,\\n\\t\\t\\t\\tto = paramObject.to;\\n\\t\\t\\toptions.dontRenameInTags = (paramObject.renameInTags === \\\"false\\\" || paramObject.renameInTags === \\\"no\\\") ? true : false;\\n\\t\\t\\toptions.dontRenameInLists = (paramObject.renameInLists === \\\"false\\\" || paramObject.renameInLists === \\\"no\\\") ? true : false;\\n\\t\\t\\t$tw.wiki[method](from,to,options);\\n\\t\\t};\\n\\t};\\n\\t$tw.rootWidget.addEventListener(\\\"tm-rename-tiddler\\\",makeRenameHandler(\\\"renameTiddler\\\"));\\n\\t$tw.rootWidget.addEventListener(\\\"tm-relink-tiddler\\\",makeRenameHandler(\\\"relinkTiddler\\\"));\\n\\t// Install the scroller\\n\\t$tw.pageScroller = new $tw.utils.PageScroller();\\n\\t$tw.rootWidget.addEventListener(\\\"tm-scroll\\\",function(event) {\\n\\t\\t$tw.pageScroller.handleEvent(event);\\n\\t});\\n\\tvar fullscreen = $tw.utils.getFullScreenApis();\\n\\tif(fullscreen) {\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-full-screen\\\",function(event) {\\n\\t\\t\\tvar fullScreenDocument = event.event ? event.event.target.ownerDocument : document;\\n\\t\\t\\tif(event.param === \\\"enter\\\") {\\n\\t\\t\\t\\tfullScreenDocument.documentElement[fullscreen._requestFullscreen](Element.ALLOW_KEYBOARD_INPUT);\\n\\t\\t\\t} else if(event.param === \\\"exit\\\") {\\n\\t\\t\\t\\tfullScreenDocument[fullscreen._exitFullscreen]();\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(fullScreenDocument[fullscreen._fullscreenElement]) {\\n\\t\\t\\t\\t\\tfullScreenDocument[fullscreen._exitFullscreen]();\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tfullScreenDocument.documentElement[fullscreen._requestFullscreen](Element.ALLOW_KEYBOARD_INPUT);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup.js\":{\"title\":\"$:/core/modules/startup.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nMiscellaneous startup logic for both the client and server.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"startup\\\";\\nexports.after = [\\\"load-modules\\\"];\\nexports.synchronous = true;\\n\\n// Set to `true` to enable performance instrumentation\\nvar PERFORMANCE_INSTRUMENTATION_CONFIG_TITLE = \\\"$:/config/Performance/Instrumentation\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nexports.startup = function() {\\n\\t// Minimal browser detection\\n\\tif($tw.browser) {\\n\\t\\t$tw.browser.isIE = (/msie|trident/i.test(navigator.userAgent));\\n\\t\\t$tw.browser.isFirefox = !!document.mozFullScreenEnabled;\\n\\t\\t// 2023-07-21 Edge returns UA below. So we use \\\"isChromeLike\\\"\\n\\t\\t//'mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/114.0.0.0 safari/537.36 edg/114.0.1823.82'\\n\\t\\t$tw.browser.isChromeLike = navigator.userAgent.toLowerCase().indexOf(\\\"chrome\\\") > -1;\\n\\t\\t$tw.browser.hasTouch = !!window.matchMedia && window.matchMedia(\\\"(pointer: coarse)\\\").matches;\\n\\t\\t$tw.browser.isMobileChrome = $tw.browser.isChromeLike && $tw.browser.hasTouch;\\n\\t}\\n\\t// Platform detection\\n\\t$tw.platform = {};\\n\\tif($tw.browser) {\\n\\t\\t$tw.platform.isMac = /Mac/.test(navigator.platform);\\n\\t\\t$tw.platform.isWindows = /win/i.test(navigator.platform);\\n\\t\\t$tw.platform.isLinux = /Linux/i.test(navigator.platform);\\n\\t} else {\\n\\t\\tswitch(require(\\\"os\\\").platform()) {\\n\\t\\t\\tcase \\\"darwin\\\":\\n\\t\\t\\t\\t$tw.platform.isMac = true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"win32\\\":\\n\\t\\t\\t\\t$tw.platform.isWindows = true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"freebsd\\\":\\n\\t\\t\\t\\t$tw.platform.isLinux = true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"linux\\\":\\n\\t\\t\\t\\t$tw.platform.isLinux = true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\\n\\t// Initialise version\\n\\t$tw.version = $tw.utils.extractVersionInfo();\\n\\t// Set up the performance framework\\n\\t$tw.perf = new $tw.Performance($tw.wiki.getTiddlerText(PERFORMANCE_INSTRUMENTATION_CONFIG_TITLE,\\\"no\\\") === \\\"yes\\\");\\n\\t// Create a root widget for attaching event handlers. By using it as the parentWidget for another widget tree, one can reuse the event handlers\\n\\t$tw.rootWidget = new widget.widget({\\n\\t\\ttype: \\\"widget\\\",\\n\\t\\tchildren: []\\n\\t},{\\n\\t\\twiki: $tw.wiki,\\n\\t\\tdocument: $tw.browser ? document : $tw.fakeDocument\\n\\t});\\n\\t// Execute any startup actions\\n\\t$tw.rootWidget.invokeActionsByTag(\\\"$:/tags/StartupAction\\\");\\n\\tif($tw.browser) {\\n\\t\\t$tw.rootWidget.invokeActionsByTag(\\\"$:/tags/StartupAction/Browser\\\");\\n\\t}\\n\\tif($tw.node) {\\n\\t\\t$tw.rootWidget.invokeActionsByTag(\\\"$:/tags/StartupAction/Node\\\");\\n\\t}\\n\\t// Kick off the language manager and switcher\\n\\t$tw.language = new $tw.Language();\\n\\t$tw.languageSwitcher = new $tw.PluginSwitcher({\\n\\t\\twiki: $tw.wiki,\\n\\t\\tpluginType: \\\"language\\\",\\n\\t\\tcontrollerTitle: \\\"$:/language\\\",\\n\\t\\tdefaultPlugins: [\\n\\t\\t\\t\\\"$:/languages/en-GB\\\"\\n\\t\\t],\\n\\t\\tonSwitch: function(plugins) {\\n\\t\\t\\tif($tw.browser) {\\n\\t\\t\\t\\tvar pluginTiddler = $tw.wiki.getTiddler(plugins[0]);\\n\\t\\t\\t\\tif(pluginTiddler) {\\n\\t\\t\\t\\t\\tdocument.documentElement.setAttribute(\\\"dir\\\",pluginTiddler.getFieldString(\\\"text-direction\\\") || \\\"auto\\\");\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tdocument.documentElement.removeAttribute(\\\"dir\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\t// Kick off the theme manager\\n\\t$tw.themeManager = new $tw.PluginSwitcher({\\n\\t\\twiki: $tw.wiki,\\n\\t\\tpluginType: \\\"theme\\\",\\n\\t\\tcontrollerTitle: \\\"$:/theme\\\",\\n\\t\\tdefaultPlugins: [\\n\\t\\t\\t\\\"$:/themes/tiddlywiki/snowwhite\\\",\\n\\t\\t\\t\\\"$:/themes/tiddlywiki/vanilla\\\"\\n\\t\\t]\\n\\t});\\n\\t// Kick off the keyboard manager\\n\\t$tw.keyboardManager = new $tw.KeyboardManager();\\n\\t// Listen for shortcuts\\n\\tif($tw.browser) {\\n\\t\\t$tw.utils.addEventListeners(document,[{\\n\\t\\t\\tname: \\\"keydown\\\",\\n\\t\\t\\thandlerObject: $tw.keyboardManager,\\n\\t\\t\\thandlerMethod: \\\"handleKeydownEvent\\\"\\n\\t\\t}]);\\n\\t}\\n\\t// Clear outstanding tiddler store change events to avoid an unnecessary refresh cycle at startup\\n\\t$tw.wiki.clearTiddlerEventQueue();\\n\\t// Find a working syncadaptor\\n\\t$tw.syncadaptor = undefined;\\n\\t$tw.modules.forEachModuleOfType(\\\"syncadaptor\\\",function(title,module) {\\n\\t\\tif(!$tw.syncadaptor && module.adaptorClass) {\\n\\t\\t\\t$tw.syncadaptor = new module.adaptorClass({wiki: $tw.wiki});\\n\\t\\t}\\n\\t});\\n\\t// Set up the syncer object if we've got a syncadaptor\\n\\tif($tw.syncadaptor) {\\n\\t\\t$tw.syncer = new $tw.Syncer({\\n\\t\\t\\twiki: $tw.wiki,\\n\\t\\t\\tsyncadaptor: $tw.syncadaptor,\\n\\t\\t\\tlogging: $tw.wiki.getTiddlerText('$:/config/SyncLogging', \\\"yes\\\") === \\\"yes\\\"\\n\\t\\t});\\n\\t}\\n\\t// Setup the saver handler\\n\\t$tw.saverHandler = new $tw.SaverHandler({\\n\\t\\twiki: $tw.wiki,\\n\\t\\tdirtyTracking: !$tw.syncadaptor,\\n\\t\\tpreloadDirty: $tw.boot.preloadDirty || []\\n\\t});\\n\\t// Host-specific startup\\n\\tif($tw.browser) {\\n\\t\\t// Install the popup manager\\n\\t\\t$tw.popup = new $tw.utils.Popup();\\n\\t\\t// Install the animator\\n\\t\\t$tw.anim = new $tw.utils.Animator();\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/story.js\":{\"title\":\"$:/core/modules/startup/story.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/story.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nLoad core modules\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"story\\\";\\nexports.after = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\n// Default story and history lists\\nvar DEFAULT_STORY_TITLE = \\\"$:/StoryList\\\";\\nvar DEFAULT_HISTORY_TITLE = \\\"$:/HistoryList\\\";\\n\\n// Default tiddlers\\nvar DEFAULT_TIDDLERS_TITLE = \\\"$:/DefaultTiddlers\\\";\\n\\n// Config\\nvar CONFIG_UPDATE_ADDRESS_BAR = \\\"$:/config/Navigation/UpdateAddressBar\\\"; // Can be \\\"no\\\", \\\"permalink\\\", \\\"permaview\\\"\\nvar CONFIG_UPDATE_HISTORY = \\\"$:/config/Navigation/UpdateHistory\\\"; // Can be \\\"yes\\\" or \\\"no\\\"\\nvar CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD = \\\"$:/config/Navigation/Permalinkview/CopyToClipboard\\\"; // Can be \\\"yes\\\" (default) or \\\"no\\\"\\nvar CONFIG_PERMALINKVIEW_UPDATE_ADDRESS_BAR = \\\"$:/config/Navigation/Permalinkview/UpdateAddressBar\\\"; // Can be \\\"yes\\\" (default) or \\\"no\\\"\\n\\n\\n// Links to help, if there is no param\\nvar HELP_OPEN_EXTERNAL_WINDOW = \\\"http://tiddlywiki.com/#WidgetMessage%3A%20tm-open-external-window\\\";\\n\\nexports.startup = function() {\\n\\t// Open startup tiddlers\\n\\topenStartupTiddlers({\\n\\t\\tdisableHistory: $tw.boot.disableStartupNavigation\\n\\t});\\n\\tif($tw.browser) {\\n\\t\\t// Set up location hash update\\n\\t\\t$tw.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\t\\tif($tw.utils.hop(changes,DEFAULT_STORY_TITLE) || $tw.utils.hop(changes,DEFAULT_HISTORY_TITLE)) {\\n\\t\\t\\t\\tupdateLocationHash({\\n\\t\\t\\t\\t\\tupdateAddressBar: $tw.wiki.getTiddlerText(CONFIG_UPDATE_ADDRESS_BAR,\\\"permaview\\\").trim(),\\n\\t\\t\\t\\t\\tupdateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,\\\"no\\\").trim()\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Listen for changes to the browser location hash\\n\\t\\twindow.addEventListener(\\\"hashchange\\\",function() {\\n\\t\\t\\tvar hash = $tw.utils.getLocationHash();\\n\\t\\t\\tif(hash !== $tw.locationHash) {\\n\\t\\t\\t\\t$tw.locationHash = hash;\\n\\t\\t\\t\\tif(hash !== \\\"#\\\") {\\n\\t\\t\\t\\t\\topenStartupTiddlers({defaultToCurrentStory: true});\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t},false);\\n\\t\\t// Listen for the tm-browser-refresh message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-browser-refresh\\\",function(event) {\\n\\t\\t\\twindow.location.reload(true);\\n\\t\\t});\\n\\t\\t// Listen for tm-open-external-window message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-open-external-window\\\",function(event) {\\n\\t\\t\\tvar paramObject = event.paramObject || {},\\n\\t\\t\\t\\tstrUrl = event.param || HELP_OPEN_EXTERNAL_WINDOW,\\n\\t\\t\\t\\tstrWindowName = paramObject.windowName,\\n\\t\\t\\t\\tstrWindowFeatures = paramObject.windowFeatures;\\n\\t\\t\\twindow.open(strUrl, strWindowName, strWindowFeatures);\\n\\t\\t});\\n\\t\\t// Listen for the tm-print message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-print\\\",function(event) {\\n\\t\\t\\t(event.event.view || window).print();\\n\\t\\t});\\n\\t\\t// Listen for the tm-home message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-home\\\",function(event) {\\n\\t\\t\\twindow.location.hash = \\\"\\\";\\n\\t\\t\\tvar storyFilter = $tw.wiki.getTiddlerText(DEFAULT_TIDDLERS_TITLE),\\n\\t\\t\\t\\tstoryList = $tw.wiki.filterTiddlers(storyFilter);\\n\\t\\t\\t//invoke any hooks that might change the default story list\\n\\t\\t\\tstoryList = $tw.hooks.invokeHook(\\\"th-opening-default-tiddlers-list\\\",storyList);\\n\\t\\t\\t$tw.wiki.addTiddler({title: DEFAULT_STORY_TITLE, text: \\\"\\\", list: storyList},$tw.wiki.getModificationFields());\\n\\t\\t\\tif(storyList[0]) {\\n\\t\\t\\t\\t$tw.wiki.addToHistory(storyList[0]);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t// Listen for the tm-permalink message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-permalink\\\",function(event) {\\n\\t\\t\\tupdateLocationHash({\\n\\t\\t\\t\\tupdateAddressBar: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_UPDATE_ADDRESS_BAR,\\\"yes\\\").trim() === \\\"yes\\\" ? \\\"permalink\\\" : \\\"none\\\",\\n\\t\\t\\t\\tupdateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,\\\"no\\\").trim(),\\n\\t\\t\\t\\ttargetTiddler: event.param || event.tiddlerTitle,\\n\\t\\t\\t\\tcopyToClipboard: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD,\\\"yes\\\").trim() === \\\"yes\\\" ? \\\"permalink\\\" : \\\"none\\\"\\n\\t\\t\\t});\\n\\t\\t});\\n\\t\\t// Listen for the tm-permaview message\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-permaview\\\",function(event) {\\n\\t\\t\\tupdateLocationHash({\\n\\t\\t\\t\\tupdateAddressBar: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_UPDATE_ADDRESS_BAR,\\\"yes\\\").trim() === \\\"yes\\\" ? \\\"permaview\\\" : \\\"none\\\",\\n\\t\\t\\t\\tupdateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,\\\"no\\\").trim(),\\n\\t\\t\\t\\ttargetTiddler: event.param || event.tiddlerTitle,\\n\\t\\t\\t\\tcopyToClipboard: $tw.wiki.getTiddlerText(CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD,\\\"yes\\\").trim() === \\\"yes\\\" ? \\\"permaview\\\" : \\\"none\\\"\\n\\t\\t\\t});\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nProcess the location hash to open the specified tiddlers. Options:\\ndisableHistory: if true $:/History is NOT updated\\ndefaultToCurrentStory: If true, the current story is retained as the default, instead of opening the default tiddlers\\n*/\\nfunction openStartupTiddlers(options) {\\n\\toptions = options || {};\\n\\t// Work out the target tiddler and the story filter. \\\"null\\\" means \\\"unspecified\\\"\\n\\tvar target = null,\\n\\t\\tstoryFilter = null;\\n\\tif($tw.locationHash.length > 1) {\\n\\t\\tvar hash = $tw.locationHash.substr(1),\\n\\t\\t\\tsplit = hash.indexOf(\\\":\\\");\\n\\t\\tif(split === -1) {\\n\\t\\t\\ttarget = $tw.utils.decodeURIComponentSafe(hash.trim());\\n\\t\\t} else {\\n\\t\\t\\ttarget = $tw.utils.decodeURIComponentSafe(hash.substr(0,split).trim());\\n\\t\\t\\tstoryFilter = $tw.utils.decodeURIComponentSafe(hash.substr(split + 1).trim());\\n\\t\\t}\\n\\t}\\n\\t// If the story wasn't specified use the current tiddlers or a blank story\\n\\tif(storyFilter === null) {\\n\\t\\tif(options.defaultToCurrentStory) {\\n\\t\\t\\tvar currStoryList = $tw.wiki.getTiddlerList(DEFAULT_STORY_TITLE);\\n\\t\\t\\tstoryFilter = $tw.utils.stringifyList(currStoryList);\\n\\t\\t} else {\\n\\t\\t\\tif(target && target !== \\\"\\\") {\\n\\t\\t\\t\\tstoryFilter = \\\"\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tstoryFilter = $tw.wiki.getTiddlerText(DEFAULT_TIDDLERS_TITLE);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Process the story filter to get the story list\\n\\tvar storyList = $tw.wiki.filterTiddlers(storyFilter);\\n\\t// Invoke any hooks that want to change the default story list\\n\\tstoryList = $tw.hooks.invokeHook(\\\"th-opening-default-tiddlers-list\\\",storyList);\\n\\t// If the target tiddler isn't included then splice it in at the top\\n\\tif(target && storyList.indexOf(target) === -1) {\\n\\t\\tstoryList.unshift(target);\\n\\t}\\n\\t// Save the story list\\n\\t$tw.wiki.addTiddler({title: DEFAULT_STORY_TITLE, text: \\\"\\\", list: storyList},$tw.wiki.getModificationFields());\\n\\t// Update history\\n\\tvar story = new $tw.Story({\\n\\t\\twiki: $tw.wiki,\\n\\t\\tstoryTitle: DEFAULT_STORY_TITLE,\\n\\t\\thistoryTitle: DEFAULT_HISTORY_TITLE\\n\\t});\\n\\tif(!options.disableHistory) {\\n\\t\\t// If a target tiddler was specified add it to the history stack\\n\\t\\tif(target && target !== \\\"\\\") {\\n\\t\\t\\t// The target tiddler doesn't need double square brackets, but we'll silently remove them if they're present\\n\\t\\t\\tif(target.indexOf(\\\"[[\\\") === 0 && target.substr(-2) === \\\"]]\\\") {\\n\\t\\t\\t\\ttarget = target.substr(2,target.length - 4);\\n\\t\\t\\t}\\n\\t\\t\\tstory.addToHistory(target);\\n\\t\\t} else if(storyList.length > 0) {\\n\\t\\t\\tstory.addToHistory(storyList[0]);\\n\\t\\t}\\n\\t}\\n}\\n\\n/*\\noptions: See below\\noptions.updateAddressBar: \\\"permalink\\\", \\\"permaview\\\" or \\\"no\\\" (defaults to \\\"permaview\\\")\\noptions.updateHistory: \\\"yes\\\" or \\\"no\\\" (defaults to \\\"no\\\")\\noptions.copyToClipboard: \\\"permalink\\\", \\\"permaview\\\" or \\\"no\\\" (defaults to \\\"no\\\")\\noptions.targetTiddler: optional title of target tiddler for permalink\\n*/\\nfunction updateLocationHash(options) {\\n\\t// Get the story and the history stack\\n\\tvar storyList = $tw.wiki.getTiddlerList(DEFAULT_STORY_TITLE),\\n\\t\\thistoryList = $tw.wiki.getTiddlerData(DEFAULT_HISTORY_TITLE,[]),\\n\\t\\ttargetTiddler = \\\"\\\";\\n\\tif(options.targetTiddler) {\\n\\t\\ttargetTiddler = options.targetTiddler;\\n\\t} else {\\n\\t\\t// The target tiddler is the one at the top of the stack\\n\\t\\tif(historyList.length > 0) {\\n\\t\\t\\ttargetTiddler = historyList[historyList.length-1].title;\\n\\t\\t}\\n\\t\\t// Blank the target tiddler if it isn't present in the story\\n\\t\\tif(storyList.indexOf(targetTiddler) === -1) {\\n\\t\\t\\ttargetTiddler = \\\"\\\";\\n\\t\\t}\\n\\t}\\n\\t// Assemble the location hash\\n\\tswitch(options.updateAddressBar) {\\n\\t\\tcase \\\"permalink\\\":\\n\\t\\t\\t$tw.locationHash = \\\"#\\\" + encodeURIComponent(targetTiddler);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"permaview\\\":\\n\\t\\t\\t$tw.locationHash = \\\"#\\\" + encodeURIComponent(targetTiddler) + \\\":\\\" + encodeURIComponent($tw.utils.stringifyList(storyList));\\n\\t\\t\\tbreak;\\n\\t}\\n\\t// Copy URL to the clipboard\\n\\tswitch(options.copyToClipboard) {\\n\\t\\tcase \\\"permalink\\\":\\n\\t\\t\\t$tw.utils.copyToClipboard($tw.utils.getLocationPath() + \\\"#\\\" + encodeURIComponent(targetTiddler));\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"permaview\\\":\\n\\t\\t\\t$tw.utils.copyToClipboard($tw.utils.getLocationPath() + \\\"#\\\" + encodeURIComponent(targetTiddler) + \\\":\\\" + encodeURIComponent($tw.utils.stringifyList(storyList)));\\n\\t\\t\\tbreak;\\n\\t}\\n\\t// Only change the location hash if we must, thus avoiding unnecessary onhashchange events\\n\\tif($tw.utils.getLocationHash() !== $tw.locationHash) {\\n\\t\\tif(options.updateHistory === \\\"yes\\\") {\\n\\t\\t\\t// Assign the location hash so that history is updated\\n\\t\\t\\twindow.location.hash = $tw.locationHash;\\n\\t\\t} else {\\n\\t\\t\\t// We use replace so that browser history isn't affected\\n\\t\\t\\twindow.location.replace(window.location.toString().split(\\\"#\\\")[0] + $tw.locationHash);\\n\\t\\t}\\n\\t}\\n}\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/startup/windows.js\":{\"title\":\"$:/core/modules/startup/windows.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/startup/windows.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nSetup root widget handlers for the messages concerned with opening external browser windows\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"windows\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\n// Global to keep track of open windows (hashmap by title)\\n$tw.windows = {};\\n// Default template to use for new windows\\nvar DEFAULT_WINDOW_TEMPLATE = \\\"$:/core/templates/single.tiddler.window\\\";\\n\\nexports.startup = function() {\\n\\t// Handle open window message\\n\\t$tw.rootWidget.addEventListener(\\\"tm-open-window\\\",function(event) {\\n\\t\\t// Get the parameters\\n\\t\\tvar refreshHandler,\\n\\t\\t\\ttitle = event.param || event.tiddlerTitle,\\n\\t\\t\\tparamObject = event.paramObject || {},\\n\\t\\t\\twindowTitle = paramObject.windowTitle || title,\\n\\t\\t\\twindowID = paramObject.windowID || title,\\n\\t\\t\\ttemplate = paramObject.template || DEFAULT_WINDOW_TEMPLATE,\\n\\t\\t\\twidth = paramObject.width || \\\"700\\\",\\n\\t\\t\\theight = paramObject.height || \\\"600\\\",\\n\\t\\t\\ttop = paramObject.top,\\n\\t\\t\\tleft = paramObject.left,\\n\\t\\t\\tvariables = $tw.utils.extend({},paramObject,{currentTiddler: title, \\\"tv-window-id\\\": windowID});\\n\\t\\t// Open the window\\n\\t\\tvar srcWindow,\\n\\t\\t srcDocument;\\n\\t\\t// In case that popup blockers deny opening a new window\\n\\t\\ttry {\\n\\t\\t\\tsrcWindow = window.open(\\\"\\\",\\\"external-\\\" + windowID,\\\"scrollbars,width=\\\" + width + \\\",height=\\\" + height + (top ? \\\",top=\\\" + top : \\\"\\\" ) + (left ? \\\",left=\\\" + left : \\\"\\\" )),\\n\\t\\t\\tsrcDocument = srcWindow.document;\\n\\t\\t}\\n\\t\\tcatch(e) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t$tw.windows[windowID] = srcWindow;\\n\\t\\t// Check for reopening the same window\\n\\t\\tif(srcWindow.haveInitialisedWindow) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t// Initialise the document\\n\\t\\tsrcDocument.write(\\\"\u003Chtml>\u003Chead>\u003C/head>\u003Cbody class='tc-body tc-single-tiddler-window'>\u003C/body>\u003C/html>\\\");\\n\\t\\tsrcDocument.close();\\n\\t\\tsrcDocument.title = windowTitle;\\n\\t\\tsrcWindow.addEventListener(\\\"beforeunload\\\",function(event) {\\n\\t\\t\\tdelete $tw.windows[windowID];\\n\\t\\t\\t$tw.wiki.removeEventListener(\\\"change\\\",refreshHandler);\\n\\t\\t},false);\\n\\t\\t// Set up the styles\\n\\t\\tvar styleWidgetNode = $tw.wiki.makeTranscludeWidget(\\\"$:/core/ui/PageStylesheet\\\",{\\n\\t\\t\\t\\tdocument: $tw.fakeDocument,\\n\\t\\t\\t\\tvariables: variables,\\n\\t\\t\\t\\timportPageMacros: true}),\\n\\t\\t\\tstyleContainer = $tw.fakeDocument.createElement(\\\"style\\\");\\n\\t\\tstyleWidgetNode.render(styleContainer,null);\\n\\t\\tvar styleElement = srcDocument.createElement(\\\"style\\\");\\n\\t\\tstyleElement.innerHTML = styleContainer.textContent;\\n\\t\\tsrcDocument.head.insertBefore(styleElement,srcDocument.head.firstChild);\\n\\t\\t// Render the text of the tiddler\\n\\t\\tvar parser = $tw.wiki.parseTiddler(template),\\n\\t\\t\\twidgetNode = $tw.wiki.makeWidget(parser,{document: srcDocument, parentWidget: $tw.rootWidget, variables: variables});\\n\\t\\twidgetNode.render(srcDocument.body,srcDocument.body.firstChild);\\n\\t\\t// Function to handle refreshes\\n\\t\\trefreshHandler = function(changes) {\\n\\t\\t\\tif(styleWidgetNode.refresh(changes,styleContainer,null)) {\\n\\t\\t\\t\\tstyleElement.innerHTML = styleContainer.textContent;\\n\\t\\t\\t}\\n\\t\\t\\twidgetNode.refresh(changes);\\n\\t\\t};\\n\\t\\t$tw.wiki.addEventListener(\\\"change\\\",refreshHandler);\\n\\t\\t// Listen for keyboard shortcuts\\n\\t\\t$tw.utils.addEventListeners(srcDocument,[{\\n\\t\\t\\tname: \\\"keydown\\\",\\n\\t\\t\\thandlerObject: $tw.keyboardManager,\\n\\t\\t\\thandlerMethod: \\\"handleKeydownEvent\\\"\\n\\t\\t}]);\\n\\t\\tsrcWindow.document.documentElement.addEventListener(\\\"click\\\",$tw.popup,true);\\n\\t\\tsrcWindow.haveInitialisedWindow = true;\\n\\t});\\n\\t$tw.rootWidget.addEventListener(\\\"tm-close-window\\\",function(event) {\\n\\t\\tvar windowID = event.param,\\n\\t\\t\\twin = $tw.windows[windowID];\\n\\t\\t\\tif(win) {\\n\\t\\t\\t\\twin.close();\\n\\t\\t\\t}\\n\\t});\\n\\tvar closeAllWindows = function() {\\n\\t\\t$tw.utils.each($tw.windows,function(win) {\\n\\t\\t\\twin.close();\\n\\t\\t});\\n\\t}\\n\\t$tw.rootWidget.addEventListener(\\\"tm-close-all-windows\\\",closeAllWindows);\\n\\t// Close open windows when unloading main window\\n\\t$tw.addUnloadTask(closeAllWindows);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"},\"$:/core/modules/story.js\":{\"title\":\"$:/core/modules/story.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/story.js\\ntype: application/javascript\\nmodule-type: global\\n\\nLightweight object for managing interactions with the story and history lists.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nConstruct Story object with options:\\nwiki: reference to wiki object to use to resolve tiddler titles\\nstoryTitle: title of story list tiddler\\nhistoryTitle: title of history list tiddler\\n*/\\nfunction Story(options) {\\n\\toptions = options || {};\\n\\tthis.wiki = options.wiki || $tw.wiki;\\n\\tthis.storyTitle = options.storyTitle || \\\"$:/StoryList\\\";\\n\\tthis.historyTitle = options.historyTitle || \\\"$:/HistoryList\\\";\\n};\\n\\nStory.prototype.navigateTiddler = function(navigateTo,navigateFromTitle,navigateFromClientRect) {\\n\\tthis.addToStory(navigateTo,navigateFromTitle);\\n\\tthis.addToHistory(navigateTo,navigateFromClientRect);\\n};\\n\\nStory.prototype.getStoryList = function() {\\n\\treturn this.wiki.getTiddlerList(this.storyTitle) || [];\\n};\\n\\nStory.prototype.addToStory = function(navigateTo,navigateFromTitle,options) {\\n\\toptions = options || {};\\n\\tvar storyList = this.getStoryList();\\n\\t// See if the tiddler is already there\\n\\tvar slot = storyList.indexOf(navigateTo);\\n\\t// Quit if it already exists in the story river\\n\\tif(slot >= 0) {\\n\\t\\treturn;\\n\\t}\\n\\t// First we try to find the position of the story element we navigated from\\n\\tvar fromIndex = storyList.indexOf(navigateFromTitle);\\n\\tif(fromIndex >= 0) {\\n\\t\\t// The tiddler is added from inside the river\\n\\t\\t// Determine where to insert the tiddler; Fallback is \\\"below\\\"\\n\\t\\tswitch(options.openLinkFromInsideRiver) {\\n\\t\\t\\tcase \\\"top\\\":\\n\\t\\t\\t\\tslot = 0;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"bottom\\\":\\n\\t\\t\\t\\tslot = storyList.length;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"above\\\":\\n\\t\\t\\t\\tslot = fromIndex;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase \\\"below\\\": // Intentional fall-through\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tslot = fromIndex + 1;\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t} else {\\n\\t\\t// The tiddler is opened from outside the river. Determine where to insert the tiddler; default is \\\"top\\\"\\n\\t\\tif(options.openLinkFromOutsideRiver === \\\"bottom\\\") {\\n\\t\\t\\t// Insert at bottom\\n\\t\\t\\tslot = storyList.length;\\n\\t\\t} else {\\n\\t\\t\\t// Insert at top\\n\\t\\t\\tslot = 0;\\n\\t\\t}\\n\\t}\\n\\t// Add the tiddler\\n\\tstoryList.splice(slot,0,navigateTo);\\n\\t// Save the story\\n\\tthis.saveStoryList(storyList);\\n};\\n\\nStory.prototype.saveStoryList = function(storyList) {\\n\\tvar storyTiddler = this.wiki.getTiddler(this.storyTitle);\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(\\n\\t\\tthis.wiki.getCreationFields(),\\n\\t\\t{title: this.storyTitle},\\n\\t\\tstoryTiddler,\\n\\t\\t{list: storyList},\\n\\t\\tthis.wiki.getModificationFields()\\n\\t));\\n};\\n\\nStory.prototype.addToHistory = function(navigateTo,navigateFromClientRect) {\\n\\tvar titles = $tw.utils.isArray(navigateTo) ? navigateTo : [navigateTo];\\n\\t// Add a new record to the top of the history stack\\n\\tvar historyList = this.wiki.getTiddlerData(this.historyTitle,[]);\\n\\t$tw.utils.each(titles,function(title) {\\n\\t\\thistoryList.push({title: title, fromPageRect: navigateFromClientRect});\\n\\t});\\n\\tthis.wiki.setTiddlerData(this.historyTitle,historyList,{\\\"current-tiddler\\\": titles[titles.length-1]});\\n};\\n\\nStory.prototype.storyCloseTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storyCloseAllTiddlers = function() {\\n// TBD\\n};\\n\\nStory.prototype.storyCloseOtherTiddlers = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storyEditTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storyDeleteTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storySaveTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storyCancelTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nStory.prototype.storyNewTiddler = function(targetTitle) {\\n// TBD\\n};\\n\\nexports.Story = Story;\\n\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/storyviews/classic.js\":{\"title\":\"$:/core/modules/storyviews/classic.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/storyviews/classic.js\\ntype: application/javascript\\nmodule-type: storyview\\n\\nViews the story as a linear sequence\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar easing = \\\"cubic-bezier(0.645, 0.045, 0.355, 1)\\\"; // From http://easings.net/#easeInOutCubic\\n\\nvar ClassicStoryView = function(listWidget) {\\n\\tthis.listWidget = listWidget;\\n};\\n\\nClassicStoryView.prototype.navigateTo = function(historyInfo) {\\n\\tvar duration = $tw.utils.getAnimationDuration()\\n\\tvar listElementIndex = this.listWidget.findListItem(0,historyInfo.title);\\n\\tif(listElementIndex === undefined) {\\n\\t\\treturn;\\n\\t}\\n\\tvar listItemWidget = this.listWidget.children[listElementIndex],\\n\\t\\ttargetElement = listItemWidget.findFirstDomNode();\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\treturn;\\n\\t}\\n\\tif(duration) {\\n\\t\\t// Scroll the node into view\\n\\t\\tthis.listWidget.dispatchEvent({type: \\\"tm-scroll\\\", target: targetElement});\\n\\t} else {\\n\\t\\ttargetElement.scrollIntoView();\\n\\t}\\n};\\n\\nClassicStoryView.prototype.insert = function(widget) {\\n\\tvar duration = $tw.utils.getAnimationDuration();\\n\\tif(duration) {\\n\\t\\tvar targetElement = widget.findFirstDomNode();\\n\\t\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\t\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t// Get the current height of the tiddler\\n\\t\\tvar computedStyle = window.getComputedStyle(targetElement),\\n\\t\\t\\tcurrMarginBottom = parseInt(computedStyle.marginBottom,10),\\n\\t\\t\\tcurrMarginTop = parseInt(computedStyle.marginTop,10),\\n\\t\\t\\tcurrHeight = targetElement.offsetHeight + currMarginTop;\\n\\t\\t// Reset the margin once the transition is over\\n\\t\\tsetTimeout(function() {\\n\\t\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t\\t{marginBottom: \\\"\\\"}\\n\\t\\t\\t]);\\n\\t\\t},duration);\\n\\t\\t// Set up the initial position of the element\\n\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t{marginBottom: (-currHeight) + \\\"px\\\"},\\n\\t\\t\\t{opacity: \\\"0.0\\\"}\\n\\t\\t]);\\n\\t\\t$tw.utils.forceLayout(targetElement);\\n\\t\\t// Transition to the final position\\n\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t{transition: \\\"opacity \\\" + duration + \\\"ms \\\" + easing + \\\", \\\" +\\n\\t\\t\\t\\t\\t\\t\\\"margin-bottom \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t\\t{marginBottom: currMarginBottom + \\\"px\\\"},\\n\\t\\t\\t{opacity: \\\"1.0\\\"}\\n\\t]);\\n\\t}\\n};\\n\\nClassicStoryView.prototype.remove = function(widget) {\\n\\tvar duration = $tw.utils.getAnimationDuration();\\n\\tif(duration) {\\n\\t\\tvar targetElement = widget.findFirstDomNode(),\\n\\t\\t\\tremoveElement = function() {\\n\\t\\t\\t\\twidget.removeChildDomNodes();\\n\\t\\t\\t};\\n\\t\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\t\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\t\\tremoveElement();\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t// Get the current height of the tiddler\\n\\t\\tvar currWidth = targetElement.offsetWidth,\\n\\t\\t\\tcomputedStyle = window.getComputedStyle(targetElement),\\n\\t\\t\\tcurrMarginBottom = parseInt(computedStyle.marginBottom,10),\\n\\t\\t\\tcurrMarginTop = parseInt(computedStyle.marginTop,10),\\n\\t\\t\\tcurrHeight = targetElement.offsetHeight + currMarginTop;\\n\\t\\t// Remove the dom nodes of the widget at the end of the transition\\n\\t\\tsetTimeout(removeElement,duration);\\n\\t\\t// Animate the closure\\n\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t{transform: \\\"translateX(0px)\\\"},\\n\\t\\t\\t{marginBottom: currMarginBottom + \\\"px\\\"},\\n\\t\\t\\t{opacity: \\\"1.0\\\"}\\n\\t\\t]);\\n\\t\\t$tw.utils.forceLayout(targetElement);\\n\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms \\\" + easing + \\\", \\\" +\\n\\t\\t\\t\\t\\t\\t\\\"opacity \\\" + duration + \\\"ms \\\" + easing + \\\", \\\" +\\n\\t\\t\\t\\t\\t\\t\\\"margin-bottom \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t\\t{transform: \\\"translateX(-\\\" + currWidth + \\\"px)\\\"},\\n\\t\\t\\t{marginBottom: (-currHeight) + \\\"px\\\"},\\n\\t\\t\\t{opacity: \\\"0.0\\\"}\\n\\t\\t]);\\n\\t} else {\\n\\t\\twidget.removeChildDomNodes();\\n\\t}\\n};\\n\\nexports.classic = ClassicStoryView;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"storyview\"},\"$:/core/modules/storyviews/pop.js\":{\"title\":\"$:/core/modules/storyviews/pop.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/storyviews/pop.js\\ntype: application/javascript\\nmodule-type: storyview\\n\\nAnimates list insertions and removals\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar PopStoryView = function(listWidget) {\\n\\tthis.listWidget = listWidget;\\n};\\n\\nPopStoryView.prototype.navigateTo = function(historyInfo) {\\n\\tvar listElementIndex = this.listWidget.findListItem(0,historyInfo.title);\\n\\tif(listElementIndex === undefined) {\\n\\t\\treturn;\\n\\t}\\n\\tvar listItemWidget = this.listWidget.children[listElementIndex],\\n\\t\\ttargetElement = listItemWidget.findFirstDomNode();\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\treturn;\\n\\t}\\n\\t// Scroll the node into view\\n\\tthis.listWidget.dispatchEvent({type: \\\"tm-scroll\\\", target: targetElement});\\n};\\n\\nPopStoryView.prototype.insert = function(widget) {\\n\\tvar targetElement = widget.findFirstDomNode(),\\n\\t\\tduration = $tw.utils.getAnimationDuration();\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\treturn;\\n\\t}\\n\\t// Reset once the transition is over\\n\\tsetTimeout(function() {\\n\\t\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t{transform: \\\"none\\\"}\\n\\t\\t]);\\n\\t\\t$tw.utils.setStyle(widget.document.body,[\\n\\t\\t\\t{\\\"overflow-x\\\": \\\"\\\"}\\n\\t\\t]);\\n\\t},duration);\\n\\t// Prevent the page from overscrolling due to the zoom factor\\n\\t$tw.utils.setStyle(widget.document.body,[\\n\\t\\t{\\\"overflow-x\\\": \\\"hidden\\\"}\\n\\t]);\\n\\t// Set up the initial position of the element\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transition: \\\"none\\\"},\\n\\t\\t{transform: \\\"scale(2)\\\"},\\n\\t\\t{opacity: \\\"0.0\\\"}\\n\\t]);\\n\\t$tw.utils.forceLayout(targetElement);\\n\\t// Transition to the final position\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"opacity \\\" + duration + \\\"ms ease-in-out\\\"},\\n\\t\\t{transform: \\\"scale(1)\\\"},\\n\\t\\t{opacity: \\\"1.0\\\"}\\n\\t]);\\n};\\n\\nPopStoryView.prototype.remove = function(widget) {\\n\\tvar targetElement = widget.findFirstDomNode(),\\n\\t\\tduration = $tw.utils.getAnimationDuration(),\\n\\t\\tremoveElement = function() {\\n\\t\\t\\tif(targetElement && targetElement.parentNode) {\\n\\t\\t\\t\\twidget.removeChildDomNodes();\\n\\t\\t\\t}\\n\\t\\t};\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\tremoveElement();\\n\\t\\treturn;\\n\\t}\\n\\t// Remove the element at the end of the transition\\n\\tsetTimeout(removeElement,duration);\\n\\t// Animate the closure\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transition: \\\"none\\\"},\\n\\t\\t{transform: \\\"scale(1)\\\"},\\n\\t\\t{opacity: \\\"1.0\\\"}\\n\\t]);\\n\\t$tw.utils.forceLayout(targetElement);\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"opacity \\\" + duration + \\\"ms ease-in-out\\\"},\\n\\t\\t{transform: \\\"scale(0.1)\\\"},\\n\\t\\t{opacity: \\\"0.0\\\"}\\n\\t]);\\n};\\n\\nexports.pop = PopStoryView;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"storyview\"},\"$:/core/modules/storyviews/zoomin.js\":{\"title\":\"$:/core/modules/storyviews/zoomin.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/storyviews/zoomin.js\\ntype: application/javascript\\nmodule-type: storyview\\n\\nZooms between individual tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar easing = \\\"cubic-bezier(0.645, 0.045, 0.355, 1)\\\"; // From http://easings.net/#easeInOutCubic\\n\\nvar ZoominListView = function(listWidget) {\\n\\tvar self = this;\\n\\tthis.listWidget = listWidget;\\n\\tthis.textNodeLogger = new $tw.utils.Logger(\\\"zoomin story river view\\\", {\\n\\t\\tenable: true,\\n\\t\\tcolour: 'red'\\n\\t});\\n\\t// Get the index of the tiddler that is at the top of the history\\n\\tvar history = this.listWidget.wiki.getTiddlerDataCached(this.listWidget.historyTitle,[]),\\n\\t\\ttargetTiddler;\\n\\tif(history.length > 0) {\\n\\t\\ttargetTiddler = history[history.length-1].title;\\n\\t}\\n\\t// Make all the tiddlers position absolute, and hide all but the top (or first) one\\n\\t$tw.utils.each(this.listWidget.children,function(itemWidget,index) {\\n\\t\\tvar domNode = itemWidget.findFirstDomNode();\\n\\t\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\t\\tif(!(domNode instanceof Element)) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tif((targetTiddler && targetTiddler !== itemWidget.parseTreeNode.itemTitle) || (!targetTiddler && index)) {\\n\\t\\t\\tdomNode.style.display = \\\"none\\\";\\n\\t\\t} else {\\n\\t\\t\\tself.currentTiddlerDomNode = domNode;\\n\\t\\t}\\n\\t\\t$tw.utils.addClass(domNode,\\\"tc-storyview-zoomin-tiddler\\\");\\n\\t});\\n};\\n\\nZoominListView.prototype.navigateTo = function(historyInfo) {\\n\\tvar duration = $tw.utils.getAnimationDuration(),\\n\\t\\tlistElementIndex = this.listWidget.findListItem(0,historyInfo.title);\\n\\tif(listElementIndex === undefined) {\\n\\t\\treturn;\\n\\t}\\n\\tvar listItemWidget = this.listWidget.children[listElementIndex],\\n\\t\\ttargetElement = listItemWidget.findFirstDomNode();\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement) {\\n\\t\\treturn;\\n\\t} else if (targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\tthis.logTextNodeRoot(targetElement);\\n\\t\\treturn;\\n\\t}\\n\\t// Make the new tiddler be position absolute and visible so that we can measure it\\n\\t$tw.utils.addClass(targetElement,\\\"tc-storyview-zoomin-tiddler\\\");\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{display: \\\"block\\\"},\\n\\t\\t{transformOrigin: \\\"0 0\\\"},\\n\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(1)\\\"},\\n\\t\\t{transition: \\\"none\\\"},\\n\\t\\t{opacity: \\\"0.0\\\"}\\n\\t]);\\n\\t// Get the position of the source node, or use the centre of the window as the source position\\n\\tvar sourceBounds = historyInfo.fromPageRect || {\\n\\t\\t\\tleft: window.innerWidth/2 - 2,\\n\\t\\t\\ttop: window.innerHeight/2 - 2,\\n\\t\\t\\twidth: window.innerWidth/8,\\n\\t\\t\\theight: window.innerHeight/8\\n\\t\\t};\\n\\t// Try to find the title node in the target tiddler\\n\\tvar titleDomNode = findTitleDomNode(listItemWidget) || listItemWidget.findFirstDomNode(),\\n\\t\\tzoomBounds = titleDomNode.getBoundingClientRect();\\n\\t// Compute the transform for the target tiddler to make the title lie over the source rectange\\n\\tvar targetBounds = targetElement.getBoundingClientRect(),\\n\\t\\tscale = sourceBounds.width / zoomBounds.width,\\n\\t\\tx = sourceBounds.left - targetBounds.left - (zoomBounds.left - targetBounds.left) * scale,\\n\\t\\ty = sourceBounds.top - targetBounds.top - (zoomBounds.top - targetBounds.top) * scale;\\n\\t// Transform the target tiddler to its starting position\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transform: \\\"translateX(\\\" + x + \\\"px) translateY(\\\" + y + \\\"px) scale(\\\" + scale + \\\")\\\"}\\n\\t]);\\n\\t// Force layout\\n\\t$tw.utils.forceLayout(targetElement);\\n\\t// Apply the ending transitions with a timeout to ensure that the previously applied transformations are applied first\\n\\tvar self = this,\\n\\t\\tprevCurrentTiddler = this.currentTiddlerDomNode;\\n\\tthis.currentTiddlerDomNode = targetElement;\\n\\t// Transform the target tiddler to its natural size\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms \\\" + easing + \\\", opacity \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t{opacity: \\\"1.0\\\"},\\n\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(1)\\\"},\\n\\t\\t{zIndex: \\\"500\\\"},\\n\\t]);\\n\\t// Transform the previous tiddler out of the way and then hide it\\n\\tif(prevCurrentTiddler && prevCurrentTiddler !== targetElement) {\\n\\t\\tscale = zoomBounds.width / sourceBounds.width;\\n\\t\\tx = zoomBounds.left - targetBounds.left - (sourceBounds.left - targetBounds.left) * scale;\\n\\t\\ty = zoomBounds.top - targetBounds.top - (sourceBounds.top - targetBounds.top) * scale;\\n\\t\\t$tw.utils.setStyle(prevCurrentTiddler,[\\n\\t\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms \\\" + easing + \\\", opacity \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t\\t{opacity: \\\"0.0\\\"},\\n\\t\\t\\t{transformOrigin: \\\"0 0\\\"},\\n\\t\\t\\t{transform: \\\"translateX(\\\" + x + \\\"px) translateY(\\\" + y + \\\"px) scale(\\\" + scale + \\\")\\\"},\\n\\t\\t\\t{zIndex: \\\"0\\\"}\\n\\t\\t]);\\n\\t\\t// Hide the tiddler when the transition has finished\\n\\t\\tsetTimeout(function() {\\n\\t\\t\\tif(self.currentTiddlerDomNode !== prevCurrentTiddler) {\\n\\t\\t\\t\\tprevCurrentTiddler.style.display = \\\"none\\\";\\n\\t\\t\\t}\\n\\t\\t},duration);\\n\\t}\\n\\t// Scroll the target into view\\n//\\t$tw.pageScroller.scrollIntoView(targetElement);\\n};\\n\\n/*\\nFind the first child DOM node of a widget that has the class \\\"tc-title\\\"\\n*/\\nfunction findTitleDomNode(widget,targetClass) {\\n\\ttargetClass = targetClass || \\\"tc-title\\\";\\n\\tvar domNode = widget.findFirstDomNode();\\n\\tif(domNode && domNode.querySelector) {\\n\\t\\treturn $tw.utils.querySelectorSafe(\\\".\\\" + targetClass,domNode);\\n\\t}\\n\\treturn null;\\n}\\n\\nZoominListView.prototype.insert = function(widget) {\\n\\tvar targetElement = widget.findFirstDomNode();\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement) {\\n\\t\\treturn;\\n\\t} else if (targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\tthis.logTextNodeRoot(targetElement);\\n\\t\\treturn;\\n\\t}\\n\\t// Make the newly inserted node position absolute and hidden\\n\\t$tw.utils.addClass(targetElement,\\\"tc-storyview-zoomin-tiddler\\\");\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{display: \\\"none\\\"}\\n\\t]);\\n};\\n\\nZoominListView.prototype.remove = function(widget) {\\n\\tvar targetElement = widget.findFirstDomNode(),\\n\\t\\tduration = $tw.utils.getAnimationDuration(),\\n\\t\\tremoveElement = function() {\\n\\t\\t\\twidget.removeChildDomNodes();\\n\\t\\t};\\n\\t// Abandon if the list entry isn't a DOM element (it might be a text node)\\n\\tif(!targetElement || targetElement.nodeType === Node.TEXT_NODE) {\\n\\t\\tremoveElement();\\n\\t\\treturn;\\n\\t}\\n\\t// Abandon if hidden\\n\\tif(targetElement.style.display != \\\"block\\\" ) {\\n\\t\\tremoveElement();\\n\\t\\treturn;\\n\\t}\\n\\t// Set up the tiddler that is being closed\\n\\t$tw.utils.addClass(targetElement,\\\"tc-storyview-zoomin-tiddler\\\");\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{display: \\\"block\\\"},\\n\\t\\t{transformOrigin: \\\"50% 50%\\\"},\\n\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(1)\\\"},\\n\\t\\t{transition: \\\"none\\\"},\\n\\t\\t{zIndex: \\\"0\\\"}\\n\\t]);\\n\\t// We'll move back to the previous or next element in the story\\n\\tvar toWidget = widget.previousSibling();\\n\\tif(!toWidget) {\\n\\t\\ttoWidget = widget.nextSibling();\\n\\t}\\n\\tvar toWidgetDomNode = toWidget && toWidget.findFirstDomNode();\\n\\t// Set up the tiddler we're moving back in\\n\\tif(toWidgetDomNode) {\\n\\t\\tif (toWidgetDomNode.nodeType === Node.TEXT_NODE) {\\n\\t\\t\\tthis.logTextNodeRoot(toWidgetDomNode);\\n\\t\\t\\ttoWidgetDomNode = null;\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.addClass(toWidgetDomNode,\\\"tc-storyview-zoomin-tiddler\\\");\\n\\t\\t\\t$tw.utils.setStyle(toWidgetDomNode,[\\n\\t\\t\\t\\t{display: \\\"block\\\"},\\n\\t\\t\\t\\t{transformOrigin: \\\"50% 50%\\\"},\\n\\t\\t\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(10)\\\"},\\n\\t\\t\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms \\\" + easing + \\\", opacity \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t\\t\\t{opacity: \\\"0\\\"},\\n\\t\\t\\t\\t{zIndex: \\\"500\\\"}\\n\\t\\t\\t]);\\n\\t\\t\\tthis.currentTiddlerDomNode = toWidgetDomNode;\\n\\t\\t}\\n\\t}\\n\\t// Animate them both\\n\\t// Force layout\\n\\t$tw.utils.forceLayout(this.listWidget.parentDomNode);\\n\\t// First, the tiddler we're closing\\n\\t$tw.utils.setStyle(targetElement,[\\n\\t\\t{transformOrigin: \\\"50% 50%\\\"},\\n\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(0.1)\\\"},\\n\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms \\\" + easing + \\\", opacity \\\" + duration + \\\"ms \\\" + easing},\\n\\t\\t{opacity: \\\"0\\\"},\\n\\t\\t{zIndex: \\\"0\\\"}\\n\\t]);\\n\\tsetTimeout(removeElement,duration);\\n\\t// Now the tiddler we're going back to\\n\\tif(toWidgetDomNode) {\\n\\t\\t$tw.utils.setStyle(toWidgetDomNode,[\\n\\t\\t\\t{transform: \\\"translateX(0px) translateY(0px) scale(1)\\\"},\\n\\t\\t\\t{opacity: \\\"1\\\"}\\n\\t\\t]);\\n\\t}\\n\\treturn true; // Indicate that we'll delete the DOM node\\n};\\n\\nZoominListView.prototype.logTextNodeRoot = function(node) {\\n\\tthis.textNodeLogger.log($tw.language.getString(\\\"Error/ZoominTextNode\\\") + \\\" \\\" + node.textContent);\\n};\\n\\nexports.zoomin = ZoominListView;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"storyview\"},\"$:/core/modules/syncer.js\":{\"title\":\"$:/core/modules/syncer.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/syncer.js\\ntype: application/javascript\\nmodule-type: global\\n\\nThe syncer tracks changes to the store and synchronises them to a remote data store represented as a \\\"sync adaptor\\\"\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nDefaults\\n*/\\nSyncer.prototype.titleIsLoggedIn = \\\"$:/status/IsLoggedIn\\\";\\nSyncer.prototype.titleIsAnonymous = \\\"$:/status/IsAnonymous\\\";\\nSyncer.prototype.titleIsReadOnly = \\\"$:/status/IsReadOnly\\\";\\nSyncer.prototype.titleUserName = \\\"$:/status/UserName\\\";\\nSyncer.prototype.titleSyncFilter = \\\"$:/config/SyncFilter\\\";\\nSyncer.prototype.titleSyncPollingInterval = \\\"$:/config/SyncPollingInterval\\\";\\nSyncer.prototype.titleSyncDisableLazyLoading = \\\"$:/config/SyncDisableLazyLoading\\\";\\nSyncer.prototype.titleSavedNotification = \\\"$:/language/Notifications/Save/Done\\\";\\nSyncer.prototype.titleSyncThrottleInterval = \\\"$:/config/SyncThrottleInterval\\\";\\nSyncer.prototype.taskTimerInterval = 1 * 1000; // Interval for sync timer\\nSyncer.prototype.throttleInterval = 1 * 1000; // Defer saving tiddlers if they've changed in the last 1s...\\nSyncer.prototype.errorRetryInterval = 5 * 1000; // Interval to retry after an error\\nSyncer.prototype.fallbackInterval = 10 * 1000; // Unless the task is older than 10s\\nSyncer.prototype.pollTimerInterval = 60 * 1000; // Interval for polling for changes from the adaptor\\n\\n/*\\nInstantiate the syncer with the following options:\\nsyncadaptor: reference to syncadaptor to be used\\nwiki: wiki to be synced\\n*/\\nfunction Syncer(options) {\\n\\tvar self = this;\\n\\tthis.wiki = options.wiki;\\n\\t// Save parameters\\n\\tthis.syncadaptor = options.syncadaptor;\\n\\tthis.disableUI = !!options.disableUI;\\n\\tthis.titleIsLoggedIn = options.titleIsLoggedIn || this.titleIsLoggedIn;\\n\\tthis.titleUserName = options.titleUserName || this.titleUserName;\\n\\tthis.titleSyncFilter = options.titleSyncFilter || this.titleSyncFilter;\\n\\tthis.titleSavedNotification = options.titleSavedNotification || this.titleSavedNotification;\\n\\tthis.taskTimerInterval = options.taskTimerInterval || this.taskTimerInterval;\\n\\tthis.throttleInterval = options.throttleInterval || parseInt(this.wiki.getTiddlerText(this.titleSyncThrottleInterval,\\\"\\\"),10) || this.throttleInterval;\\n\\tthis.errorRetryInterval = options.errorRetryInterval || this.errorRetryInterval;\\n\\tthis.fallbackInterval = options.fallbackInterval || this.fallbackInterval;\\n\\tthis.pollTimerInterval = options.pollTimerInterval || parseInt(this.wiki.getTiddlerText(this.titleSyncPollingInterval,\\\"\\\"),10) || this.pollTimerInterval;\\n\\tthis.logging = \\\"logging\\\" in options ? options.logging : true;\\n\\t// Make a logger\\n\\tthis.logger = new $tw.utils.Logger(\\\"syncer\\\" + ($tw.browser ? \\\"-browser\\\" : \\\"\\\") + ($tw.node ? \\\"-server\\\" : \\\"\\\") + (this.syncadaptor.name ? (\\\"-\\\" + this.syncadaptor.name) : \\\"\\\"),{\\n\\t\\tcolour: \\\"cyan\\\",\\n\\t\\tenable: this.logging,\\n\\t\\tsaveHistory: true\\n\\t});\\n\\t// Make another logger for connection errors\\n\\tthis.loggerConnection = new $tw.utils.Logger(\\\"syncer\\\" + ($tw.browser ? \\\"-browser\\\" : \\\"\\\") + ($tw.node ? \\\"-server\\\" : \\\"\\\") + (this.syncadaptor.name ? (\\\"-\\\" + this.syncadaptor.name) : \\\"\\\") + \\\"-connection\\\",{\\n\\t\\tcolour: \\\"cyan\\\",\\n\\t\\tenable: this.logging\\n\\t});\\n\\t// Ask the syncadaptor to use the main logger\\n\\tif(this.syncadaptor.setLoggerSaveBuffer) {\\n\\t\\tthis.syncadaptor.setLoggerSaveBuffer(this.logger);\\n\\t}\\n\\t// Compile the dirty tiddler filter\\n\\tthis.filterFn = this.wiki.compileFilter(this.wiki.getTiddlerText(this.titleSyncFilter));\\n\\t// Record information for known tiddlers\\n\\tthis.readTiddlerInfo();\\n\\tthis.titlesToBeLoaded = {}; // Hashmap of titles of tiddlers that need loading from the server\\n\\tthis.titlesHaveBeenLazyLoaded = {}; // Hashmap of titles of tiddlers that have already been lazily loaded from the server\\n\\t// Timers\\n\\tthis.taskTimerId = null; // Timer for task dispatch\\n\\tthis.pollTimerId = null; // Timer for polling server\\n\\t// Number of outstanding requests\\n\\tthis.numTasksInProgress = 0;\\n\\t// Listen out for changes to tiddlers\\n\\tthis.wiki.addEventListener(\\\"change\\\",function(changes) {\\n\\t\\t// Filter the changes to just include ones that are being synced\\n\\t\\tvar filteredChanges = self.getSyncedTiddlers(function(callback) {\\n\\t\\t\\t$tw.utils.each(changes,function(change,title) {\\n\\t\\t\\t\\tvar tiddler = self.wiki.tiddlerExists(title) && self.wiki.getTiddler(title);\\n\\t\\t\\t\\tcallback(tiddler,title);\\n\\t\\t\\t});\\n\\t\\t});\\n\\t\\tif(filteredChanges.length > 0) {\\n\\t\\t\\tself.processTaskQueue();\\n\\t\\t} else {\\n\\t\\t\\t// Look for deletions of tiddlers we're already syncing\\t\\n\\t\\t\\tvar outstandingDeletion = false\\n\\t\\t\\t$tw.utils.each(changes,function(change,title,object) {\\n\\t\\t\\t\\tif(change.deleted && $tw.utils.hop(self.tiddlerInfo,title)) {\\n\\t\\t\\t\\t\\toutstandingDeletion = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\tif(outstandingDeletion) {\\n\\t\\t\\t\\tself.processTaskQueue();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\t// Browser event handlers\\n\\tif($tw.browser && !this.disableUI) {\\n\\t\\t// Set up our beforeunload handler\\n\\t\\t$tw.addUnloadTask(function(event) {\\n\\t\\t\\tvar confirmationMessage;\\n\\t\\t\\tif(self.isDirty()) {\\n\\t\\t\\t\\tconfirmationMessage = $tw.language.getString(\\\"UnsavedChangesWarning\\\");\\n\\t\\t\\t\\tevent.returnValue = confirmationMessage; // Gecko\\n\\t\\t\\t}\\n\\t\\t\\treturn confirmationMessage;\\n\\t\\t});\\n\\t\\t// Listen out for login/logout/refresh events in the browser\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-login\\\",function(event) {\\n\\t\\t\\tvar username = event && event.paramObject && event.paramObject.username,\\n\\t\\t\\t\\tpassword = event && event.paramObject && event.paramObject.password;\\n\\t\\t\\tif(username && password) {\\n\\t\\t\\t\\t// Login with username and password\\n\\t\\t\\t\\tself.login(username,password,function() {});\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// No username and password, so we display a prompt\\n\\t\\t\\t\\tself.handleLoginEvent();\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-logout\\\",function() {\\n\\t\\t\\tself.handleLogoutEvent();\\n\\t\\t});\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-server-refresh\\\",function() {\\n\\t\\t\\tself.handleRefreshEvent();\\n\\t\\t});\\n\\t\\t$tw.rootWidget.addEventListener(\\\"tm-copy-syncer-logs-to-clipboard\\\",function() {\\n\\t\\t\\t$tw.utils.copyToClipboard($tw.utils.getSystemInfo() + \\\"\\\\n\\\\nLog:\\\\n\\\" + self.logger.getBuffer());\\n\\t\\t});\\n\\t}\\n\\t// Listen out for lazyLoad events\\n\\tif(!this.disableUI && this.wiki.getTiddlerText(this.titleSyncDisableLazyLoading) !== \\\"yes\\\") {\\n\\t\\tthis.wiki.addEventListener(\\\"lazyLoad\\\",function(title) {\\n\\t\\t\\tself.handleLazyLoadEvent(title);\\n\\t\\t});\\t\\t\\n\\t}\\n\\t// Get the login status\\n\\tthis.getStatus(function(err,isLoggedIn) {\\n\\t\\t// Do a sync from the server\\n\\t\\tself.syncFromServer();\\n\\t});\\n}\\n\\n/*\\nShow a generic network error alert\\n*/\\nSyncer.prototype.displayError = function(msg,err) {\\n\\tif(err === ($tw.language.getString(\\\"Error/XMLHttpRequest\\\") + \\\": 0\\\")) {\\n\\t\\tthis.loggerConnection.alert($tw.language.getString(\\\"Error/NetworkErrorAlert\\\"));\\n\\t\\tthis.logger.log(msg + \\\":\\\",err);\\n\\t} else {\\n\\t\\tthis.logger.alert(msg + \\\":\\\",err);\\n\\t}\\n};\\n\\n/*\\nReturn an array of the tiddler titles that are subjected to syncing\\n*/\\nSyncer.prototype.getSyncedTiddlers = function(source) {\\n\\treturn this.filterFn.call(this.wiki,source);\\n};\\n\\n/*\\nReturn an array of the tiddler titles that are subjected to syncing\\n*/\\nSyncer.prototype.getTiddlerRevision = function(title) {\\n\\tif(this.syncadaptor && this.syncadaptor.getTiddlerRevision) {\\n\\t\\treturn this.syncadaptor.getTiddlerRevision(title);\\n\\t} else {\\n\\t\\treturn this.wiki.getTiddler(title).fields.revision;\\t\\n\\t} \\n};\\n\\n/*\\nRead (or re-read) the latest tiddler info from the store\\n*/\\nSyncer.prototype.readTiddlerInfo = function() {\\n\\t// Hashmap by title of {revision:,changeCount:,adaptorInfo:}\\n\\t// \\\"revision\\\" is the revision of the tiddler last seen on the server, and \\\"changecount\\\" is the corresponding local changecount\\n\\tthis.tiddlerInfo = {};\\n\\t// Record information for known tiddlers\\n\\tvar self = this,\\n\\t\\ttiddlers = this.getSyncedTiddlers();\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar tiddler = self.wiki.getTiddler(title);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tself.tiddlerInfo[title] = {\\n\\t\\t\\t\\trevision: self.getTiddlerRevision(title),\\n\\t\\t\\t\\tadaptorInfo: self.syncadaptor && self.syncadaptor.getTiddlerInfo(tiddler),\\n\\t\\t\\t\\tchangeCount: self.wiki.getChangeCount(title)\\n\\t\\t\\t};\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nChecks whether the wiki is dirty (ie the window shouldn't be closed)\\n*/\\nSyncer.prototype.isDirty = function() {\\n\\tthis.logger.log(\\\"Checking dirty status\\\");\\n\\t// Check tiddlers that are in the store and included in the filter function\\n\\tvar titles = this.getSyncedTiddlers();\\n\\tfor(var index=0; index\u003Ctitles.length; index++) {\\n\\t\\tvar title = titles[index],\\n\\t\\t\\ttiddlerInfo = this.tiddlerInfo[title];\\n\\t\\tif(this.wiki.tiddlerExists(title)) {\\n\\t\\t\\tif(tiddlerInfo) {\\n\\t\\t\\t\\t// If the tiddler is known on the server and has been modified locally then it needs to be saved to the server\\n\\t\\t\\t\\tif(this.wiki.getChangeCount(title) > tiddlerInfo.changeCount) {\\n\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// If the tiddler isn't known on the server then it needs to be saved to the server\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Check tiddlers that are known from the server but not currently in the store\\n\\ttitles = Object.keys(this.tiddlerInfo);\\n\\tfor(index=0; index\u003Ctitles.length; index++) {\\n\\t\\tif(!this.wiki.tiddlerExists(titles[index])) {\\n\\t\\t\\t// There must be a pending delete\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n/*\\nUpdate the document body with the class \\\"tc-dirty\\\" if the wiki has unsaved/unsynced changes\\n*/\\nSyncer.prototype.updateDirtyStatus = function() {\\n\\tif($tw.browser && !this.disableUI) {\\n\\t\\tvar dirty = this.isDirty();\\n\\t\\t$tw.utils.toggleClass(document.body,\\\"tc-dirty\\\",dirty);\\n\\t\\tif(!dirty) {\\n\\t\\t\\tthis.loggerConnection.clearAlerts();\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nSave an incoming tiddler in the store, and updates the associated tiddlerInfo\\n*/\\nSyncer.prototype.storeTiddler = function(tiddlerFields) {\\n\\t// Save the tiddler\\n\\tvar tiddler = new $tw.Tiddler(tiddlerFields);\\n\\tthis.wiki.addTiddler(tiddler);\\n\\t// Save the tiddler revision and changeCount details\\n\\tthis.tiddlerInfo[tiddlerFields.title] = {\\n\\t\\trevision: this.getTiddlerRevision(tiddlerFields.title),\\n\\t\\tadaptorInfo: this.syncadaptor.getTiddlerInfo(tiddler),\\n\\t\\tchangeCount: this.wiki.getChangeCount(tiddlerFields.title)\\n\\t};\\n};\\n\\nSyncer.prototype.getStatus = function(callback) {\\n\\tvar self = this;\\n\\t// Check if the adaptor supports getStatus()\\n\\tif(this.syncadaptor && this.syncadaptor.getStatus) {\\n\\t\\t// Mark us as not logged in\\n\\t\\tthis.wiki.addTiddler({title: this.titleIsLoggedIn,text: \\\"no\\\"});\\n\\t\\t// Get login status\\n\\t\\tthis.syncadaptor.getStatus(function(err,isLoggedIn,username,isReadOnly,isAnonymous) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tself.displayError(\\\"Get Status Error\\\",err);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Set the various status tiddlers\\n\\t\\t\\t\\tself.wiki.addTiddler({title: self.titleIsReadOnly,text: isReadOnly ? \\\"yes\\\" : \\\"no\\\"});\\n\\t\\t\\t\\tself.wiki.addTiddler({title: self.titleIsAnonymous,text: isAnonymous ? \\\"yes\\\" : \\\"no\\\"});\\n\\t\\t\\t\\tself.wiki.addTiddler({title: self.titleIsLoggedIn,text: isLoggedIn ? \\\"yes\\\" : \\\"no\\\"});\\n\\t\\t\\t\\tif(isLoggedIn) {\\n\\t\\t\\t\\t\\tself.wiki.addTiddler({title: self.titleUserName,text: username || \\\"\\\"});\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Invoke the callback\\n\\t\\t\\tif(callback) {\\n\\t\\t\\t\\tcallback(err,isLoggedIn,username);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else {\\n\\t\\tcallback(null,true,\\\"UNAUTHENTICATED\\\");\\n\\t}\\n};\\n\\n/*\\nSynchronise from the server by reading the skinny tiddler list and queuing up loads for any tiddlers that we don't already have up to date\\n*/\\nSyncer.prototype.syncFromServer = function() {\\n\\tvar self = this,\\n\\t\\tcancelNextSync = function() {\\n\\t\\t\\tif(self.pollTimerId) {\\n\\t\\t\\t\\tclearTimeout(self.pollTimerId);\\n\\t\\t\\t\\tself.pollTimerId = null;\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\ttriggerNextSync = function() {\\n\\t\\t\\tself.pollTimerId = setTimeout(function() {\\n\\t\\t\\t\\tself.pollTimerId = null;\\n\\t\\t\\t\\tself.syncFromServer.call(self);\\n\\t\\t\\t},self.pollTimerInterval);\\n\\t\\t},\\n\\t\\tsyncSystemFromServer = (self.wiki.getTiddlerText(\\\"$:/config/SyncSystemTiddlersFromServer\\\") === \\\"yes\\\" ? true : false);\\n\\tif(this.syncadaptor && this.syncadaptor.getUpdatedTiddlers) {\\n\\t\\tthis.logger.log(\\\"Retrieving updated tiddler list\\\");\\n\\t\\tcancelNextSync();\\n\\t\\tthis.syncadaptor.getUpdatedTiddlers(self,function(err,updates) {\\n\\t\\t\\ttriggerNextSync();\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tself.displayError($tw.language.getString(\\\"Error/RetrievingSkinny\\\"),err);\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\tif(updates) {\\n\\t\\t\\t\\t$tw.utils.each(updates.modifications,function(title) {\\n\\t\\t\\t\\t\\tself.titlesToBeLoaded[title] = true;\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\t$tw.utils.each(updates.deletions,function(title) {\\n\\t\\t\\t\\t\\tif(syncSystemFromServer || !self.wiki.isSystemTiddler(title)) {\\n\\t\\t\\t\\t\\t\\tdelete self.tiddlerInfo[title];\\n\\t\\t\\t\\t\\t\\tself.logger.log(\\\"Deleting tiddler missing from server:\\\",title);\\n\\t\\t\\t\\t\\t\\tself.wiki.deleteTiddler(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tif(updates.modifications.length > 0 || updates.deletions.length > 0) {\\n\\t\\t\\t\\t\\tself.processTaskQueue();\\n\\t\\t\\t\\t}\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t});\\n\\t} else if(this.syncadaptor && this.syncadaptor.getSkinnyTiddlers) {\\n\\t\\tthis.logger.log(\\\"Retrieving skinny tiddler list\\\");\\n\\t\\tcancelNextSync();\\n\\t\\tthis.syncadaptor.getSkinnyTiddlers(function(err,tiddlers) {\\n\\t\\t\\ttriggerNextSync();\\n\\t\\t\\t// Check for errors\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tself.displayError($tw.language.getString(\\\"Error/RetrievingSkinny\\\"),err);\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\t// Keep track of which tiddlers we already know about have been reported this time\\n\\t\\t\\tvar previousTitles = Object.keys(self.tiddlerInfo);\\n\\t\\t\\t// Process each incoming tiddler\\n\\t\\t\\tfor(var t=0; t\u003Ctiddlers.length; t++) {\\n\\t\\t\\t\\t// Get the incoming tiddler fields, and the existing tiddler\\n\\t\\t\\t\\tvar tiddlerFields = tiddlers[t],\\n\\t\\t\\t\\t\\tincomingRevision = tiddlerFields.revision + \\\"\\\",\\n\\t\\t\\t\\t\\ttiddler = self.wiki.tiddlerExists(tiddlerFields.title) && self.wiki.getTiddler(tiddlerFields.title),\\n\\t\\t\\t\\t\\ttiddlerInfo = self.tiddlerInfo[tiddlerFields.title],\\n\\t\\t\\t\\t\\tcurrRevision = tiddlerInfo ? tiddlerInfo.revision : null,\\n\\t\\t\\t\\t\\tindexInPreviousTitles = previousTitles.indexOf(tiddlerFields.title);\\n\\t\\t\\t\\tif(indexInPreviousTitles !== -1) {\\n\\t\\t\\t\\t\\tpreviousTitles.splice(indexInPreviousTitles,1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Ignore the incoming tiddler if it's the same as the revision we've already got\\n\\t\\t\\t\\tif(currRevision !== incomingRevision) {\\n\\t\\t\\t\\t\\t// Only load the skinny version if we don't already have a fat version of the tiddler\\n\\t\\t\\t\\t\\tif(!tiddler || tiddler.fields.text === undefined) {\\n\\t\\t\\t\\t\\t\\tself.storeTiddler(tiddlerFields);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t// Do a full load of this tiddler\\n\\t\\t\\t\\t\\tself.titlesToBeLoaded[tiddlerFields.title] = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Delete any tiddlers that were previously reported but missing this time\\n\\t\\t\\t$tw.utils.each(previousTitles,function(title) {\\n\\t\\t\\t\\tif(syncSystemFromServer || !self.wiki.isSystemTiddler(title)) {\\n\\t\\t\\t\\t\\tdelete self.tiddlerInfo[title];\\n\\t\\t\\t\\t\\tself.logger.log(\\\"Deleting tiddler missing from server:\\\",title);\\n\\t\\t\\t\\t\\tself.wiki.deleteTiddler(title);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\tself.processTaskQueue();\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nForce load a tiddler from the server\\n*/\\nSyncer.prototype.enqueueLoadTiddler = function(title) {\\n\\tthis.titlesToBeLoaded[title] = true;\\n\\tthis.processTaskQueue();\\n};\\n\\n/*\\nLazily load a skinny tiddler if we can\\n*/\\nSyncer.prototype.handleLazyLoadEvent = function(title) {\\n\\t// Ignore if the syncadaptor doesn't handle it\\n\\tif(!this.syncadaptor.supportsLazyLoading) {\\n\\t\\treturn;\\n\\t}\\n\\t// Don't lazy load the same tiddler twice\\n\\tif(!this.titlesHaveBeenLazyLoaded[title]) {\\n\\t\\t// Don't lazy load if the tiddler isn't included in the sync filter\\n\\t\\tif(this.getSyncedTiddlers().indexOf(title) !== -1) {\\n\\t\\t\\t// Mark the tiddler as needing loading, and having already been lazily loaded\\n\\t\\t\\tthis.titlesToBeLoaded[title] = true;\\n\\t\\t\\tthis.titlesHaveBeenLazyLoaded[title] = true;\\n\\t\\t\\tthis.processTaskQueue();\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nDispay a password prompt and allow the user to login\\n*/\\nSyncer.prototype.handleLoginEvent = function() {\\n\\tvar self = this;\\n\\tthis.getStatus(function(err,isLoggedIn,username) {\\n\\t\\tif(!err && !isLoggedIn) {\\n\\t\\t\\tif(self.syncadaptor && self.syncadaptor.displayLoginPrompt) {\\n\\t\\t\\t\\tself.syncadaptor.displayLoginPrompt(self);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tself.displayLoginPrompt();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nDispay a password prompt\\n*/\\nSyncer.prototype.displayLoginPrompt = function() {\\n\\tvar self = this;\\n\\tvar promptInfo = $tw.passwordPrompt.createPrompt({\\n\\t\\tserviceName: $tw.language.getString(\\\"LoginToTiddlySpace\\\"),\\n\\t\\tcallback: function(data) {\\n\\t\\t\\tself.login(data.username,data.password,function(err,isLoggedIn) {\\n\\t\\t\\t\\tself.syncFromServer();\\n\\t\\t\\t});\\n\\t\\t\\treturn true; // Get rid of the password prompt\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nAttempt to login to TiddlyWeb.\\n\\tusername: username\\n\\tpassword: password\\n\\tcallback: invoked with arguments (err,isLoggedIn)\\n*/\\nSyncer.prototype.login = function(username,password,callback) {\\n\\tthis.logger.log(\\\"Attempting to login as\\\",username);\\n\\tvar self = this;\\n\\tif(this.syncadaptor.login) {\\n\\t\\tthis.syncadaptor.login(username,password,function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tself.getStatus(function(err,isLoggedIn,username) {\\n\\t\\t\\t\\tif(callback) {\\n\\t\\t\\t\\t\\tcallback(err,isLoggedIn);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t});\\n\\t} else {\\n\\t\\tcallback(null,true);\\n\\t}\\n};\\n\\n/*\\nAttempt to log out of TiddlyWeb\\n*/\\nSyncer.prototype.handleLogoutEvent = function() {\\n\\tthis.logger.log(\\\"Attempting to logout\\\");\\n\\tvar self = this;\\n\\tif(this.syncadaptor.logout) {\\n\\t\\tthis.syncadaptor.logout(function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tself.displayError(\\\"Logout Error\\\",err);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tself.getStatus();\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nImmediately refresh from the server\\n*/\\nSyncer.prototype.handleRefreshEvent = function() {\\n\\tthis.syncFromServer();\\n};\\n\\n/*\\nProcess the next task\\n*/\\nSyncer.prototype.processTaskQueue = function() {\\n\\tvar self = this;\\n\\t// Only process a task if the sync adaptor is fully initialised and we're not already performing\\n\\t// a task. If we are already performing a task then we'll dispatch the next one when it completes\\n\\tif((!this.syncadaptor.isReady || this.syncadaptor.isReady()) && this.numTasksInProgress === 0) {\\n\\t\\t// Choose the next task to perform\\n\\t\\tvar task = this.chooseNextTask();\\n\\t\\t// Perform the task if we had one\\n\\t\\tif(typeof task === \\\"object\\\" && task !== null) {\\n\\t\\t\\tthis.numTasksInProgress += 1;\\n\\t\\t\\ttask.run(function(err) {\\n\\t\\t\\t\\tself.numTasksInProgress -= 1;\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\tself.displayError(\\\"Sync error while processing \\\" + task.type + \\\" of '\\\" + task.title + \\\"'\\\",err);\\n\\t\\t\\t\\t\\tself.updateDirtyStatus();\\n\\t\\t\\t\\t\\tself.triggerTimeout(self.errorRetryInterval);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tself.updateDirtyStatus();\\n\\t\\t\\t\\t\\t// Process the next task\\n\\t\\t\\t\\t\\tself.processTaskQueue.call(self);\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\t// No task is ready so update the status\\n\\t\\t\\tthis.updateDirtyStatus();\\n\\t\\t\\t// And trigger a timeout if there is a pending task\\n\\t\\t\\tif(task === true) {\\n\\t\\t\\t\\tthis.triggerTimeout();\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\tthis.updateDirtyStatus();\\t\\t\\n\\t}\\n};\\n\\nSyncer.prototype.triggerTimeout = function(interval) {\\n\\tvar self = this;\\n\\tif(!this.taskTimerId) {\\n\\t\\tthis.taskTimerId = setTimeout(function() {\\n\\t\\t\\tself.taskTimerId = null;\\n\\t\\t\\tself.processTaskQueue.call(self);\\n\\t\\t},interval || self.taskTimerInterval);\\n\\t}\\n};\\n\\n/*\\nChoose the next sync task. We prioritise saves, then deletes, then loads from the server\\n\\nReturns either a task object, null if there's no upcoming tasks, or the boolean true if there are pending tasks that aren't yet due\\n*/\\nSyncer.prototype.chooseNextTask = function() {\\n\\tvar thresholdLastSaved = (new Date()) - this.throttleInterval,\\n\\t\\thavePending = null;\\n\\t// First we look for tiddlers that have been modified locally and need saving back to the server\\n\\tvar titles = this.getSyncedTiddlers();\\n\\tfor(var index=0; index\u003Ctitles.length; index++) {\\n\\t\\tvar title = titles[index],\\n\\t\\t\\ttiddler = this.wiki.tiddlerExists(title) && this.wiki.getTiddler(title),\\n\\t\\t\\ttiddlerInfo = this.tiddlerInfo[title];\\n\\t\\tif(tiddler) {\\n\\t\\t\\t// If the tiddler is not known on the server, or has been modified locally no more recently than the threshold then it needs to be saved to the server\\n\\t\\t\\tvar hasChanged = !tiddlerInfo || this.wiki.getChangeCount(title) > tiddlerInfo.changeCount,\\n\\t\\t\\t\\tisReadyToSave = !tiddlerInfo || !tiddlerInfo.timestampLastSaved || tiddlerInfo.timestampLastSaved \u003C thresholdLastSaved;\\n\\t\\t\\tif(hasChanged) {\\n\\t\\t\\t\\tif(isReadyToSave) {\\n\\t\\t\\t\\t\\treturn new SaveTiddlerTask(this,title); \\t\\t\\t\\t\\t\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\thavePending = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Second, we check tiddlers that are known from the server but not currently in the store, and so need deleting on the server\\n\\ttitles = Object.keys(this.tiddlerInfo);\\n\\tfor(index=0; index\u003Ctitles.length; index++) {\\n\\t\\ttitle = titles[index];\\n\\t\\ttiddlerInfo = this.tiddlerInfo[title];\\n\\t\\ttiddler = this.wiki.tiddlerExists(title) && this.wiki.getTiddler(title);\\n\\t\\tif(!tiddler) {\\n\\t\\t\\treturn new DeleteTiddlerTask(this,title);\\n\\t\\t}\\n\\t}\\n\\t// Check for tiddlers that need loading\\n\\ttitle = Object.keys(this.titlesToBeLoaded)[0];\\n\\tif(title) {\\n\\t\\tdelete this.titlesToBeLoaded[title];\\n\\t\\treturn new LoadTiddlerTask(this,title);\\n\\t}\\n\\t// No tasks are ready\\n\\treturn havePending;\\n};\\n\\nfunction SaveTiddlerTask(syncer,title) {\\n\\tthis.syncer = syncer;\\n\\tthis.title = title;\\n\\tthis.type = \\\"save\\\";\\n}\\n\\nSaveTiddlerTask.prototype.run = function(callback) {\\n\\tvar self = this,\\n\\t\\tchangeCount = this.syncer.wiki.getChangeCount(this.title),\\n\\t\\ttiddler = this.syncer.wiki.tiddlerExists(this.title) && this.syncer.wiki.getTiddler(this.title);\\n\\tthis.syncer.logger.log(\\\"Dispatching 'save' task:\\\",this.title);\\n\\tif(tiddler) {\\n\\t\\tthis.syncer.syncadaptor.saveTiddler(tiddler,function(err,adaptorInfo,revision) {\\n\\t\\t\\t// If there's an error, exit without changing any internal state\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\t// Adjust the info stored about this tiddler\\n\\t\\t\\tself.syncer.tiddlerInfo[self.title] = {\\n\\t\\t\\t\\tchangeCount: changeCount,\\n\\t\\t\\t\\tadaptorInfo: adaptorInfo,\\n\\t\\t\\t\\trevision: revision,\\n\\t\\t\\t\\ttimestampLastSaved: new Date()\\n\\t\\t\\t};\\n\\t\\t\\t// Invoke the callback\\n\\t\\t\\tcallback(null);\\n\\t\\t},{\\n\\t\\t\\ttiddlerInfo: self.syncer.tiddlerInfo[self.title]\\n\\t\\t});\\n\\t} else {\\n\\t\\tthis.syncer.logger.log(\\\" Not Dispatching 'save' task:\\\",this.title,\\\"tiddler does not exist\\\");\\n\\t\\t$tw.utils.nextTick(callback(null));\\n\\t}\\n};\\n\\nfunction DeleteTiddlerTask(syncer,title) {\\n\\tthis.syncer = syncer;\\n\\tthis.title = title;\\n\\tthis.type = \\\"delete\\\";\\n}\\n\\nDeleteTiddlerTask.prototype.run = function(callback) {\\n\\tvar self = this;\\n\\tthis.syncer.logger.log(\\\"Dispatching 'delete' task:\\\",this.title);\\n\\tthis.syncer.syncadaptor.deleteTiddler(this.title,function(err) {\\n\\t\\t// If there's an error, exit without changing any internal state\\n\\t\\tif(err) {\\n\\t\\t\\treturn callback(err);\\n\\t\\t}\\n\\t\\t// Remove the info stored about this tiddler\\n\\t\\tdelete self.syncer.tiddlerInfo[self.title];\\n\\t\\t// Invoke the callback\\n\\t\\tcallback(null);\\n\\t},{\\n\\t\\ttiddlerInfo: self.syncer.tiddlerInfo[this.title]\\n\\t});\\n};\\n\\nfunction LoadTiddlerTask(syncer,title) {\\n\\tthis.syncer = syncer;\\n\\tthis.title = title;\\n\\tthis.type = \\\"load\\\";\\n}\\n\\nLoadTiddlerTask.prototype.run = function(callback) {\\n\\tvar self = this;\\n\\tthis.syncer.logger.log(\\\"Dispatching 'load' task:\\\",this.title);\\n\\tthis.syncer.syncadaptor.loadTiddler(this.title,function(err,tiddlerFields) {\\n\\t\\t// If there's an error, exit without changing any internal state\\n\\t\\tif(err) {\\n\\t\\t\\treturn callback(err);\\n\\t\\t}\\n\\t\\t// Update the info stored about this tiddler\\n\\t\\tif(tiddlerFields) {\\n\\t\\t\\tself.syncer.storeTiddler(tiddlerFields);\\n\\t\\t}\\n\\t\\t// Invoke the callback\\n\\t\\tcallback(null);\\n\\t});\\n};\\n\\nexports.Syncer = Syncer;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/tiddler.js\":{\"title\":\"$:/core/modules/tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/tiddler.js\\ntype: application/javascript\\nmodule-type: tiddlermethod\\n\\nExtension methods for the $tw.Tiddler object (constructor and methods required at boot time are in boot/boot.js)\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.hasTag = function(tag) {\\n\\treturn this.fields.tags && this.fields.tags.indexOf(tag) !== -1;\\n};\\n\\nexports.isPlugin = function() {\\n\\treturn this.fields.type === \\\"application/json\\\" && this.hasField(\\\"plugin-type\\\");\\n};\\n\\nexports.isDraft = function() {\\n\\treturn this.hasField(\\\"draft.of\\\");\\n};\\n\\nexports.getFieldString = function(field,defaultValue) {\\n\\tvar value = this.fields[field];\\n\\t// Check for a missing field\\n\\tif(value === undefined || value === null) {\\n\\t\\treturn defaultValue || \\\"\\\";\\n\\t}\\n\\t// Stringify the field with the associated tiddler field module (if any)\\n\\tvar fieldModule = $tw.Tiddler.fieldModules[field];\\n\\tif(fieldModule && fieldModule.stringify) {\\n\\t\\treturn fieldModule.stringify.call(this,value);\\n\\t} else {\\n\\t\\treturn value.toString();\\n\\t}\\n};\\n\\n/*\\nGet the value of a field as a list\\n*/\\nexports.getFieldList = function(field) {\\n\\tvar value = this.fields[field];\\n\\t// Check for a missing field\\n\\tif(value === undefined || value === null) {\\n\\t\\treturn [];\\n\\t}\\n\\treturn $tw.utils.parseStringArray(value);\\n};\\n\\n/*\\nGet all the fields as a hashmap of strings. Options:\\n\\texclude: an array of field names to exclude\\n*/\\nexports.getFieldStrings = function(options) {\\n\\toptions = options || {};\\n\\tvar exclude = options.exclude || [];\\n\\tvar fields = {};\\n\\tfor(var field in this.fields) {\\n\\t\\tif($tw.utils.hop(this.fields,field)) {\\n\\t\\t\\tif(exclude.indexOf(field) === -1) {\\n\\t\\t\\t\\tfields[field] = this.getFieldString(field);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn fields;\\n};\\n\\n/*\\nGet all the fields as a name:value block. Options:\\n\\texclude: an array of field names to exclude\\n*/\\nexports.getFieldStringBlock = function(options) {\\n\\toptions = options || {};\\n\\tvar exclude = options.exclude || [],\\n\\t\\tfields = Object.keys(this.fields).sort(),\\n\\t\\tresult = [];\\n\\tfor(var t=0; t\u003Cfields.length; t++) {\\n\\t\\tvar field = fields[t];\\n\\t\\tif(exclude.indexOf(field) === -1) {\\n\\t\\t\\tresult.push(field + \\\": \\\" + this.getFieldString(field));\\n\\t\\t}\\n\\t}\\n\\treturn result.join(\\\"\\\\n\\\");\\n};\\n\\nexports.getFieldDay = function(field) {\\n\\tif(this.cache && this.cache.day && $tw.utils.hop(this.cache.day,field) ) {\\n\\t\\treturn this.cache.day[field];\\n\\t}\\n\\tvar day = \\\"\\\";\\n\\tif(this.fields[field]) {\\n\\t\\tday = (new Date($tw.utils.parseDate(this.fields[field]))).setHours(0,0,0,0);\\n\\t}\\n\\tthis.cache.day = this.cache.day || {};\\n\\tthis.cache.day[field] = day;\\n\\treturn day;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"tiddlermethod\"},\"$:/core/modules/upgraders/plugins.js\":{\"title\":\"$:/core/modules/upgraders/plugins.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/upgraders/plugins.js\\ntype: application/javascript\\nmodule-type: upgrader\\n\\nUpgrader module that checks that plugins are newer than any already installed version\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar UPGRADE_LIBRARY_TITLE = \\\"$:/UpgradeLibrary\\\";\\n\\nvar BLOCKED_PLUGINS = {\\n\\t\\\"$:/themes/tiddlywiki/stickytitles\\\": {\\n\\t\\tversions: [\\\"*\\\"]\\n\\t},\\n\\t\\\"$:/plugins/tiddlywiki/fullscreen\\\": {\\n\\t\\tversions: [\\\"*\\\"]\\n\\t}\\n};\\n\\nexports.upgrade = function(wiki,titles,tiddlers) {\\n\\tvar self = this,\\n\\t\\tmessages = {},\\n\\t\\tupgradeLibrary,\\n\\t\\tgetLibraryTiddler = function(title) {\\n\\t\\t\\tif(!upgradeLibrary) {\\n\\t\\t\\t\\tupgradeLibrary = wiki.getTiddlerData(UPGRADE_LIBRARY_TITLE,{});\\n\\t\\t\\t\\tupgradeLibrary.tiddlers = upgradeLibrary.tiddlers || {};\\n\\t\\t\\t}\\n\\t\\t\\treturn upgradeLibrary.tiddlers[title];\\n\\t\\t};\\n\\n\\t// Go through all the incoming tiddlers\\n\\t$tw.utils.each(titles,function(title) {\\n\\t\\tvar incomingTiddler = tiddlers[title];\\n\\t\\t// Check if we're dealing with a plugin\\n\\t\\tif(incomingTiddler && incomingTiddler[\\\"plugin-type\\\"]) {\\n\\t\\t\\t// Check whether the plugin contains JS modules\\n\\t\\t\\tvar requiresReload = wiki.doesPluginInfoRequireReload($tw.utils.parseJSONSafe(incomingTiddler.text)) ? (wiki.getTiddlerText(\\\"$:/language/ControlPanel/Plugins/PluginWillRequireReload\\\") + \\\" \\\") : \\\"\\\";\\n\\t\\t\\tmessages[title] = requiresReload;\\n\\t\\t\\tif(incomingTiddler.version) {\\n\\t\\t\\t\\t// Upgrade the incoming plugin if it is in the upgrade library\\n\\t\\t\\t\\tvar libraryTiddler = getLibraryTiddler(title);\\n\\t\\t\\t\\tif(libraryTiddler && libraryTiddler[\\\"plugin-type\\\"] && libraryTiddler.version) {\\n\\t\\t\\t\\t\\ttiddlers[title] = libraryTiddler;\\n\\t\\t\\t\\t\\tmessages[title] = requiresReload + $tw.language.getString(\\\"Import/Upgrader/Plugins/Upgraded\\\",{variables: {incoming: incomingTiddler.version, upgraded: libraryTiddler.version}});\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Suppress the incoming plugin if it is older than the currently installed one\\n\\t\\t\\t\\tvar existingTiddler = wiki.getTiddler(title);\\n\\t\\t\\t\\tif(existingTiddler && existingTiddler.hasField(\\\"plugin-type\\\") && existingTiddler.hasField(\\\"version\\\")) {\\n\\t\\t\\t\\t\\t// Reject the incoming plugin by blanking all its fields\\n\\t\\t\\t\\t\\tif($tw.utils.checkVersions(existingTiddler.fields.version,incomingTiddler.version)) {\\n\\t\\t\\t\\t\\t\\ttiddlers[title] = Object.create(null);\\n\\t\\t\\t\\t\\t\\tmessages[title] = $tw.language.getString(\\\"Import/Upgrader/Plugins/Suppressed/Version\\\",{variables: {incoming: incomingTiddler.version, existing: existingTiddler.fields.version}});\\n\\t\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Check whether the plugin is on the blocked list\\n\\t\\t\\tvar blockInfo = BLOCKED_PLUGINS[title];\\n\\t\\t\\tif(blockInfo) {\\n\\t\\t\\t\\tif(blockInfo.versions.indexOf(\\\"*\\\") !== -1 || (incomingTiddler.version && blockInfo.versions.indexOf(incomingTiddler.version) !== -1)) {\\n\\t\\t\\t\\t\\ttiddlers[title] = Object.create(null);\\n\\t\\t\\t\\t\\tmessages[title] = $tw.language.getString(\\\"Import/Upgrader/Plugins/Suppressed/Incompatible\\\");\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn messages;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"upgrader\"},\"$:/core/modules/upgraders/system.js\":{\"title\":\"$:/core/modules/upgraders/system.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/upgraders/system.js\\ntype: application/javascript\\nmodule-type: upgrader\\n\\nUpgrader module that suppresses certain system tiddlers that shouldn't be imported\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar DONT_IMPORT_LIST = [\\\"$:/Import\\\"],\\n\\tUNSELECT_PREFIX_LIST = [\\\"$:/temp/\\\",\\\"$:/state/\\\",\\\"$:/StoryList\\\",\\\"$:/HistoryList\\\"],\\n\\tWARN_IMPORT_PREFIX_LIST = [\\\"$:/core/modules/\\\"];\\n\\nexports.upgrade = function(wiki,titles,tiddlers) {\\n\\tvar self = this,\\n\\t\\tmessages = {},\\n\\t\\tshowAlert = false;\\n\\t// Check for tiddlers on our list\\n\\t$tw.utils.each(titles,function(title) {\\n\\t\\tif(DONT_IMPORT_LIST.indexOf(title) !== -1) {\\n\\t\\t\\ttiddlers[title] = Object.create(null);\\n\\t\\t\\tmessages[title] = $tw.language.getString(\\\"Import/Upgrader/System/Suppressed\\\");\\n\\t\\t} else {\\n\\t\\t\\tfor(var t=0; t\u003CUNSELECT_PREFIX_LIST.length; t++) {\\n\\t\\t\\t\\tvar prefix = UNSELECT_PREFIX_LIST[t];\\n\\t\\t\\t\\tif(title.substr(0,prefix.length) === prefix) {\\n\\t\\t\\t\\t\\tmessages[title] = $tw.language.getString(\\\"Import/Upgrader/Tiddler/Unselected\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tfor(var t=0; t\u003CWARN_IMPORT_PREFIX_LIST.length; t++) {\\n\\t\\t\\t\\tvar prefix = WARN_IMPORT_PREFIX_LIST[t];\\n\\t\\t\\t\\tif(title.substr(0,prefix.length) === prefix && wiki.isShadowTiddler(title)) {\\n\\t\\t\\t\\t\\tshowAlert = true;\\n\\t\\t\\t\\t\\tmessages[title] = $tw.language.getString(\\\"Import/Upgrader/System/Warning\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\tif(showAlert) {\\n\\t\\tvar logger = new $tw.utils.Logger(\\\"import\\\");\\n\\t\\tlogger.alert($tw.language.getString(\\\"Import/Upgrader/System/Alert\\\"));\\n\\t}\\n\\treturn messages;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"upgrader\"},\"$:/core/modules/upgraders/themetweaks.js\":{\"title\":\"$:/core/modules/upgraders/themetweaks.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/upgraders/themetweaks.js\\ntype: application/javascript\\nmodule-type: upgrader\\n\\nUpgrader module that handles the change in theme tweak storage introduced in 5.0.14-beta.\\n\\nPreviously, theme tweaks were stored in two data tiddlers:\\n\\n* $:/themes/tiddlywiki/vanilla/metrics\\n* $:/themes/tiddlywiki/vanilla/settings\\n\\nNow, each tweak is stored in its own separate tiddler.\\n\\nThis upgrader copies any values from the old format to the new. The old data tiddlers are not deleted in case they have been used to store additional indexes.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar MAPPINGS = {\\n\\t\\\"$:/themes/tiddlywiki/vanilla/metrics\\\": {\\n\\t\\t\\\"fontsize\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/fontsize\\\",\\n\\t\\t\\\"lineheight\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/lineheight\\\",\\n\\t\\t\\\"storyleft\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\\\",\\n\\t\\t\\\"storytop\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/storytop\\\",\\n\\t\\t\\\"storyright\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/storyright\\\",\\n\\t\\t\\\"storywidth\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\\\",\\n\\t\\t\\\"tiddlerwidth\\\": \\\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\\\"\\n\\t},\\n\\t\\\"$:/themes/tiddlywiki/vanilla/settings\\\": {\\n\\t\\t\\\"fontfamily\\\": \\\"$:/themes/tiddlywiki/vanilla/settings/fontfamily\\\"\\n\\t}\\n};\\n\\nexports.upgrade = function(wiki,titles,tiddlers) {\\n\\tvar self = this,\\n\\t\\tmessages = {};\\n\\t// Check for tiddlers on our list\\n\\t$tw.utils.each(titles,function(title) {\\n\\t\\tvar mapping = MAPPINGS[title];\\n\\t\\tif(mapping) {\\n\\t\\t\\tvar tiddler = new $tw.Tiddler(tiddlers[title]),\\n\\t\\t\\t\\ttiddlerData = wiki.getTiddlerDataCached(tiddler,{});\\n\\t\\t\\tfor(var index in mapping) {\\n\\t\\t\\t\\tvar mappedTitle = mapping[index];\\n\\t\\t\\t\\tif(!tiddlers[mappedTitle] || tiddlers[mappedTitle].title !== mappedTitle) {\\n\\t\\t\\t\\t\\ttiddlers[mappedTitle] = {\\n\\t\\t\\t\\t\\t\\ttitle: mappedTitle,\\n\\t\\t\\t\\t\\t\\ttext: tiddlerData[index]\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\tmessages[mappedTitle] = $tw.language.getString(\\\"Import/Upgrader/ThemeTweaks/Created\\\",{variables: {\\n\\t\\t\\t\\t\\t\\tfrom: title + \\\"##\\\" + index\\n\\t\\t\\t\\t\\t}});\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn messages;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"upgrader\"},\"$:/core/modules/utils/base64-utf8/base64-utf8.module.js\":{\"text\":\"(function(){// From https://gist.github.com/Nijikokun/5192472\\n//\\n// UTF8 Module\\n//\\n// Cleaner and modularized utf-8 encoding and decoding library for javascript.\\n//\\n// copyright: MIT\\n// author: Nijiko Yonskai, @nijikokun, nijikokun@gmail.com\\n!function(r,e,o,t){void 0!==o.module&&o.module.exports?o.module.exports=e.apply(o):void 0!==o.define&&\\\"function\\\"===o.define&&o.define.amd?define(\\\"utf8\\\",[],e):o.utf8=e.apply(o)}(0,function(){return{encode:function(r){if(\\\"string\\\"!=typeof r)return r;r=r.replace(/\\\\r\\\\n/g,\\\"\\\\n\\\");for(var e,o=\\\"\\\",t=0;t\u003Cr.length;t++)if((e=r.charCodeAt(t))\u003C128)o+=String.fromCharCode(e);else if(e>127&&e\u003C2048)o+=String.fromCharCode(e>>6|192),o+=String.fromCharCode(63&e|128);else if(e>55295&&e\u003C57344&&r.length>t+1){var i=e,n=r.charCodeAt(t+1);t++;var d=65536+(i-55296\u003C\u003C10|n-56320);o+=String.fromCharCode(d>>18|240),o+=String.fromCharCode(d>>12&63|128),o+=String.fromCharCode(d>>6&63|128),o+=String.fromCharCode(63&d|128)}else o+=String.fromCharCode(e>>12|224),o+=String.fromCharCode(e>>6&63|128),o+=String.fromCharCode(63&e|128);return o},decode:function(r){if(\\\"string\\\"!=typeof r)return r;for(var e=\\\"\\\",o=0,t=0;o\u003Cr.length;)if((t=r.charCodeAt(o))\u003C128)e+=String.fromCharCode(t),o++;else if(t>191&&t\u003C224)e+=String.fromCharCode((31&t)\u003C\u003C6|63&r.charCodeAt(o+1)),o+=2;else if(t>223&&t\u003C240)e+=String.fromCharCode((15&t)\u003C\u003C12|(63&r.charCodeAt(o+1))\u003C\u003C6|63&r.charCodeAt(o+2)),o+=3;else{var i=(7&t)\u003C\u003C18|(63&r.charCodeAt(o+1))\u003C\u003C12|(63&r.charCodeAt(o+2))\u003C\u003C6|63&r.charCodeAt(o+3);e+=String.fromCharCode(55296+(i-65536>>10))+String.fromCharCode(56320+(i-65536&1023)),o+=4}return e}}},this),function(r,e,o,t){if(void 0!==o.module&&o.module.exports){if(t&&o.require)for(var i=0;i\u003Ct.length;i++)o[t[i]]=o.require(t[i]);o.module.exports=e.apply(o)}else void 0!==o.define&&\\\"function\\\"===o.define&&o.define.amd?define(\\\"base64\\\",t||[],e):o.base64=e.apply(o)}(0,function(r){var e=r||this.utf8,o=\\\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\\\";return{encode:function(r){if(void 0===e)throw{error:\\\"MissingMethod\\\",message:\\\"UTF8 Module is missing.\\\"};if(\\\"string\\\"!=typeof r)return r;r=e.encode(r);for(var t,i,n,d,f,a,h,C=\\\"\\\",c=0;c\u003Cr.length;)d=(t=r.charCodeAt(c++))>>2,f=(3&t)\u003C\u003C4|(i=r.charCodeAt(c++))>>4,a=(15&i)\u003C\u003C2|(n=r.charCodeAt(c++))>>6,h=63&n,isNaN(i)?a=h=64:isNaN(n)&&(h=64),C+=o.charAt(d)+o.charAt(f)+o.charAt(a)+o.charAt(h);return C},decode:function(r){if(void 0===e)throw{error:\\\"MissingMethod\\\",message:\\\"UTF8 Module is missing.\\\"};if(\\\"string\\\"!=typeof r)return r;r=r.replace(/[^A-Za-z0-9\\\\+\\\\/\\\\=]/g,\\\"\\\");for(var t,i,n,d,f,a,h=\\\"\\\",C=0;C\u003Cr.length;)t=o.indexOf(r.charAt(C++))\u003C\u003C2|(d=o.indexOf(r.charAt(C++)))>>4,i=(15&d)\u003C\u003C4|(f=o.indexOf(r.charAt(C++)))>>2,n=(3&f)\u003C\u003C6|(a=o.indexOf(r.charAt(C++))),h+=String.fromCharCode(t),64!=f&&(h+=String.fromCharCode(i)),64!=a&&(h+=String.fromCharCode(n));return e.decode(h)}}},this,[\\\"utf8\\\"]);}).call(exports);\",\"type\":\"application/javascript\",\"title\":\"$:/core/modules/utils/base64-utf8/base64-utf8.module.js\",\"module-type\":\"library\"},\"$:/core/modules/utils/crypto.js\":{\"title\":\"$:/core/modules/utils/crypto.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/crypto.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nUtility functions related to crypto.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nLook for an encrypted store area in the text of a TiddlyWiki file\\n*/\\nexports.extractEncryptedStoreArea = function(text) {\\n\\tvar encryptedStoreAreaStartMarker = \\\"\u003Cpre id=\\\\\\\"encryptedStoreArea\\\\\\\" type=\\\\\\\"text/plain\\\\\\\" style=\\\\\\\"display:none;\\\\\\\">\\\",\\n\\t\\tencryptedStoreAreaStart = text.indexOf(encryptedStoreAreaStartMarker);\\n\\tif(encryptedStoreAreaStart !== -1) {\\n\\t\\tvar encryptedStoreAreaEnd = text.indexOf(\\\"\u003C/pre>\\\",encryptedStoreAreaStart);\\n\\t\\tif(encryptedStoreAreaEnd !== -1) {\\n\\t\\t\\treturn $tw.utils.htmlDecode(text.substring(encryptedStoreAreaStart + encryptedStoreAreaStartMarker.length,encryptedStoreAreaEnd));\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nAttempt to extract the tiddlers from an encrypted store area using the current password. If the password is not provided then the password in the password store will be used\\n*/\\nexports.decryptStoreArea = function(encryptedStoreArea,password) {\\n\\tvar decryptedText = $tw.crypto.decrypt(encryptedStoreArea,password);\\n\\tif(decryptedText) {\\n\\t\\tvar json = $tw.utils.parseJSONSafe(decryptedText),\\n\\t\\t\\ttiddlers = [];\\n\\t\\tfor(var title in json) {\\n\\t\\t\\tif(title !== \\\"$:/isEncrypted\\\") {\\n\\t\\t\\t\\ttiddlers.push(json[title]);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn tiddlers;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n\\n/*\\nAttempt to extract the tiddlers from an encrypted store area using the current password. If that fails, the user is prompted for a password.\\nencryptedStoreArea: text of the TiddlyWiki encrypted store area\\ncallback: function(tiddlers) called with the array of decrypted tiddlers\\n\\nThe following configuration settings are supported:\\n\\n$tw.config.usePasswordVault: causes any password entered by the user to also be put into the system password vault\\n*/\\nexports.decryptStoreAreaInteractive = function(encryptedStoreArea,callback,options) {\\n\\t// Try to decrypt with the current password\\n\\tvar tiddlers = $tw.utils.decryptStoreArea(encryptedStoreArea);\\n\\tif(tiddlers) {\\n\\t\\tcallback(tiddlers);\\n\\t} else {\\n\\t\\t// Prompt for a new password and keep trying\\n\\t\\t$tw.passwordPrompt.createPrompt({\\n\\t\\t\\tserviceName: \\\"Enter a password to decrypt the imported TiddlyWiki\\\",\\n\\t\\t\\tnoUserName: true,\\n\\t\\t\\tcanCancel: true,\\n\\t\\t\\tsubmitText: \\\"Decrypt\\\",\\n\\t\\t\\tcallback: function(data) {\\n\\t\\t\\t\\t// Exit if the user cancelled\\n\\t\\t\\t\\tif(!data) {\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Attempt to decrypt the tiddlers\\n\\t\\t\\t\\tvar tiddlers = $tw.utils.decryptStoreArea(encryptedStoreArea,data.password);\\n\\t\\t\\t\\tif(tiddlers) {\\n\\t\\t\\t\\t\\tif($tw.config.usePasswordVault) {\\n\\t\\t\\t\\t\\t\\t$tw.crypto.setPassword(data.password);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcallback(tiddlers);\\n\\t\\t\\t\\t\\t// Exit and remove the password prompt\\n\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// We didn't decrypt everything, so continue to prompt for password\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/csv.js\":{\"title\":\"$:/core/modules/utils/csv.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/csv.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nA barebones CSV parser\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar QUOTE = '\\\"';\\n\\nvar getCellInfo = function(text, start, length, SEPARATOR) {\\n\\tvar isCellQuoted = text.charAt(start) === QUOTE;\\n\\tvar cellStart = isCellQuoted ? start + 1 : start;\\n\\t\\n\\tif (text.charAt(i) === SEPARATOR) {\\n\\t\\treturn [cellStart, cellStart, false];\\n\\t}\\n\\t\\n\\tfor (var i = cellStart; i \u003C length; i++) {\\n\\t\\tvar cellCharacter = text.charAt(i);\\n\\t\\tvar isEOL = cellCharacter === \\\"\\\\n\\\" || cellCharacter === \\\"\\\\r\\\";\\n\\t\\t\\n\\t\\tif (isEOL && !isCellQuoted) {\\n\\t\\t\\treturn [cellStart, i, false];\\n\\t\\t\\t\\n\\t\\t} else if (cellCharacter === SEPARATOR && !isCellQuoted) {\\n\\t\\t\\treturn [cellStart, i, false];\\n\\t\\t\\t\\n\\t\\t} else if (cellCharacter === QUOTE && isCellQuoted) {\\n\\t\\t\\tvar nextCharacter = i + 1 \u003C length ? text.charAt(i + 1) : '';\\n\\t\\t\\tif (nextCharacter !== QUOTE) {\\n\\t\\t\\t\\treturn [cellStart, i, true];\\n\\t\\t\\t} else {\\n\\t\\t\\t\\ti++;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t\\n\\treturn [cellStart, i, isCellQuoted];\\n}\\n\\t\\nexports.parseCsvString = function(text, options) {\\n\\tif (!text) {\\n\\t\\treturn [];\\n\\t}\\n\\t\\n\\toptions = options || {};\\n\\tvar SEPARATOR = options.separator || \\\",\\\",\\n\\t\\tlength = text.length,\\n\\t\\trows = [],\\n\\t\\tnextRow = [];\\n\\t\\t\\n\\tfor (var i = 0; i \u003C length; i++) {\\n\\t\\tvar cellInfo = getCellInfo(text, i, length, SEPARATOR);\\n\\t\\tvar cellText = text.substring(cellInfo[0], cellInfo[1]);\\n\\t\\tif (cellInfo[2]) {\\n\\t\\t\\tcellText = cellText.replace(/\\\"\\\"/g, '\\\"');\\n\\t\\t\\tcellInfo[1]++;\\n\\t\\t}\\n\\t\\tnextRow.push(cellText);\\n\\t\\t\\n\\t\\ti = cellInfo[1];\\n\\t\\t\\n\\t\\tvar character = text.charAt(i);\\n\\t\\tvar nextCharacter = i + 1 \u003C length ? text.charAt(i + 1) : '';\\n\\t\\t\\n\\t\\tif (character === \\\"\\\\r\\\" || character === \\\"\\\\n\\\") {\\n\\t\\t\\t// Edge case for empty rows\\n\\t\\t\\tif (nextRow.length === 1 && nextRow[0] === '') {\\n\\t\\t\\t\\tnextRow.length = 0;\\n\\t\\t\\t}\\n\\t\\t\\trows.push(nextRow);\\n\\t\\t\\tnextRow = [];\\n\\t\\t\\t\\n\\t\\t\\tif (character === \\\"\\\\r\\\") {\\n\\t\\t\\t\\tvar nextCharacter = i + 1 \u003C length ? text.charAt(i + 1) : '';\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif (nextCharacter === \\\"\\\\n\\\") {\\n\\t\\t\\t\\t\\ti++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t\\n\\t// Special case if last cell in last row is an empty cell\\n\\tif (text.charAt(length - 1) === SEPARATOR) {\\n\\t\\tnextRow.push(\\\"\\\");\\n\\t}\\n\\t\\n\\trows.push(nextRow);\\n\\t\\n\\treturn rows;\\n}\\n\\n/*\\nParse a CSV string with a header row and return an array of hashmaps.\\n*/\\nexports.parseCsvStringWithHeader = function(text,options) {\\n\\tvar csv = $tw.utils.parseCsvString(text, options);\\n\\tvar headers = csv[0];\\n\\t\\n\\tcsv = csv.slice(1);\\n\\tfor (var i = 0; i \u003C csv.length; i++) {\\n\\t\\tvar row = csv[i];\\n\\t\\tvar rowObject = Object.create(null);\\n\\n\\t\\tfor(var columnIndex=0; columnIndex\u003Cheaders.length; columnIndex++) {\\n\\t\\t\\tvar columnName = headers[columnIndex];\\n\\t\\t\\tif (columnName) {\\n\\t\\t\\t\\trowObject[columnName] = $tw.utils.trim(row[columnIndex] || \\\"\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcsv[i] = rowObject;\\n\\t}\\n\\treturn csv;\\n}\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/diff-match-patch/diff_match_patch.js\":{\"text\":\"(function(){function diff_match_patch(){this.Diff_Timeout=1;this.Diff_EditCost=4;this.Match_Threshold=.5;this.Match_Distance=1E3;this.Patch_DeleteThreshold=.5;this.Patch_Margin=4;this.Match_MaxBits=32}var DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0;\\ndiff_match_patch.prototype.diff_main=function(a,b,c,d){\\\"undefined\\\"==typeof d&&(d=0>=this.Diff_Timeout?Number.MAX_VALUE:(new Date).getTime()+1E3*this.Diff_Timeout);if(null==a||null==b)throw Error(\\\"Null input. (diff_main)\\\");if(a==b)return a?[[DIFF_EQUAL,a]]:[];\\\"undefined\\\"==typeof c&&(c=!0);var e=c,f=this.diff_commonPrefix(a,b);c=a.substring(0,f);a=a.substring(f);b=b.substring(f);f=this.diff_commonSuffix(a,b);var g=a.substring(a.length-f);a=a.substring(0,a.length-f);b=b.substring(0,b.length-f);a=this.diff_compute_(a,\\nb,e,d);c&&a.unshift([DIFF_EQUAL,c]);g&&a.push([DIFF_EQUAL,g]);this.diff_cleanupMerge(a);return a};\\ndiff_match_patch.prototype.diff_compute_=function(a,b,c,d){if(!a)return[[DIFF_INSERT,b]];if(!b)return[[DIFF_DELETE,a]];var e=a.length>b.length?a:b,f=a.length>b.length?b:a,g=e.indexOf(f);return-1!=g?(c=[[DIFF_INSERT,e.substring(0,g)],[DIFF_EQUAL,f],[DIFF_INSERT,e.substring(g+f.length)]],a.length>b.length&&(c[0][0]=c[2][0]=DIFF_DELETE),c):1==f.length?[[DIFF_DELETE,a],[DIFF_INSERT,b]]:(e=this.diff_halfMatch_(a,b))?(b=e[1],f=e[3],a=e[4],e=this.diff_main(e[0],e[2],c,d),c=this.diff_main(b,f,c,d),e.concat([[DIFF_EQUAL,\\na]],c)):c&&100\u003Ca.length&&100\u003Cb.length?this.diff_lineMode_(a,b,d):this.diff_bisect_(a,b,d)};\\ndiff_match_patch.prototype.diff_lineMode_=function(a,b,c){var d=this.diff_linesToChars_(a,b);a=d.chars1;b=d.chars2;d=d.lineArray;a=this.diff_main(a,b,!1,c);this.diff_charsToLines_(a,d);this.diff_cleanupSemantic(a);a.push([DIFF_EQUAL,\\\"\\\"]);for(var e=d=b=0,f=\\\"\\\",g=\\\"\\\";b\u003Ca.length;){switch(a[b][0]){case DIFF_INSERT:e++;g+=a[b][1];break;case DIFF_DELETE:d++;f+=a[b][1];break;case DIFF_EQUAL:if(1\u003C=d&&1\u003C=e){a.splice(b-d-e,d+e);b=b-d-e;d=this.diff_main(f,g,!1,c);for(e=d.length-1;0\u003C=e;e--)a.splice(b,0,d[e]);b+=\\nd.length}d=e=0;g=f=\\\"\\\"}b++}a.pop();return a};\\ndiff_match_patch.prototype.diff_bisect_=function(a,b,c){for(var d=a.length,e=b.length,f=Math.ceil((d+e)/2),g=2*f,h=Array(g),l=Array(g),k=0;k\u003Cg;k++)h[k]=-1,l[k]=-1;h[f+1]=0;l[f+1]=0;k=d-e;for(var m=0!=k%2,p=0,x=0,w=0,q=0,t=0;t\u003Cf&&!((new Date).getTime()>c);t++){for(var v=-t+p;v\u003C=t-x;v+=2){var n=f+v;var r=v==-t||v!=t&&h[n-1]\u003Ch[n+1]?h[n+1]:h[n-1]+1;for(var y=r-v;r\u003Cd&&y\u003Ce&&a.charAt(r)==b.charAt(y);)r++,y++;h[n]=r;if(r>d)x+=2;else if(y>e)p+=2;else if(m&&(n=f+k-v,0\u003C=n&&n\u003Cg&&-1!=l[n])){var u=d-l[n];if(r>=\\nu)return this.diff_bisectSplit_(a,b,r,y,c)}}for(v=-t+w;v\u003C=t-q;v+=2){n=f+v;u=v==-t||v!=t&&l[n-1]\u003Cl[n+1]?l[n+1]:l[n-1]+1;for(r=u-v;u\u003Cd&&r\u003Ce&&a.charAt(d-u-1)==b.charAt(e-r-1);)u++,r++;l[n]=u;if(u>d)q+=2;else if(r>e)w+=2;else if(!m&&(n=f+k-v,0\u003C=n&&n\u003Cg&&-1!=h[n]&&(r=h[n],y=f+r-n,u=d-u,r>=u)))return this.diff_bisectSplit_(a,b,r,y,c)}}return[[DIFF_DELETE,a],[DIFF_INSERT,b]]};\\ndiff_match_patch.prototype.diff_bisectSplit_=function(a,b,c,d,e){var f=a.substring(0,c),g=b.substring(0,d);a=a.substring(c);b=b.substring(d);f=this.diff_main(f,g,!1,e);e=this.diff_main(a,b,!1,e);return f.concat(e)};\\ndiff_match_patch.prototype.diff_linesToChars_=function(a,b){function c(a){for(var b=\\\"\\\",c=0,f=-1,g=d.length;f\u003Ca.length-1;){f=a.indexOf(\\\"\\\\n\\\",c);-1==f&&(f=a.length-1);var h=a.substring(c,f+1);c=f+1;(e.hasOwnProperty?e.hasOwnProperty(h):void 0!==e[h])?b+=String.fromCharCode(e[h]):(b+=String.fromCharCode(g),e[h]=g,d[g++]=h)}return b}var d=[],e={};d[0]=\\\"\\\";var f=c(a),g=c(b);return{chars1:f,chars2:g,lineArray:d}};\\ndiff_match_patch.prototype.diff_charsToLines_=function(a,b){for(var c=0;c\u003Ca.length;c++){for(var d=a[c][1],e=[],f=0;f\u003Cd.length;f++)e[f]=b[d.charCodeAt(f)];a[c][1]=e.join(\\\"\\\")}};diff_match_patch.prototype.diff_commonPrefix=function(a,b){if(!a||!b||a.charAt(0)!=b.charAt(0))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,f=0;c\u003Ce;)a.substring(f,e)==b.substring(f,e)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e};\\ndiff_match_patch.prototype.diff_commonSuffix=function(a,b){if(!a||!b||a.charAt(a.length-1)!=b.charAt(b.length-1))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,f=0;c\u003Ce;)a.substring(a.length-e,a.length-f)==b.substring(b.length-e,b.length-f)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e};\\ndiff_match_patch.prototype.diff_commonOverlap_=function(a,b){var c=a.length,d=b.length;if(0==c||0==d)return 0;c>d?a=a.substring(c-d):c\u003Cd&&(b=b.substring(0,c));c=Math.min(c,d);if(a==b)return c;d=0;for(var e=1;;){var f=a.substring(c-e);f=b.indexOf(f);if(-1==f)return d;e+=f;if(0==f||a.substring(c-e)==b.substring(0,e))d=e,e++}};\\ndiff_match_patch.prototype.diff_halfMatch_=function(a,b){function c(a,b,c){for(var d=a.substring(c,c+Math.floor(a.length/4)),e=-1,g=\\\"\\\",h,k,l,m;-1!=(e=b.indexOf(d,e+1));){var p=f.diff_commonPrefix(a.substring(c),b.substring(e)),u=f.diff_commonSuffix(a.substring(0,c),b.substring(0,e));g.length\u003Cu+p&&(g=b.substring(e-u,e)+b.substring(e,e+p),h=a.substring(0,c-u),k=a.substring(c+p),l=b.substring(0,e-u),m=b.substring(e+p))}return 2*g.length>=a.length?[h,k,l,m,g]:null}if(0>=this.Diff_Timeout)return null;\\nvar d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(4>d.length||2*e.length\u003Cd.length)return null;var f=this,g=c(d,e,Math.ceil(d.length/4));d=c(d,e,Math.ceil(d.length/2));if(g||d)g=d?g?g[4].length>d[4].length?g:d:d:g;else return null;if(a.length>b.length){d=g[0];e=g[1];var h=g[2];var l=g[3]}else h=g[0],l=g[1],d=g[2],e=g[3];return[d,e,h,l,g[4]]};\\ndiff_match_patch.prototype.diff_cleanupSemantic=function(a){for(var b=!1,c=[],d=0,e=null,f=0,g=0,h=0,l=0,k=0;f\u003Ca.length;)a[f][0]==DIFF_EQUAL?(c[d++]=f,g=l,h=k,k=l=0,e=a[f][1]):(a[f][0]==DIFF_INSERT?l+=a[f][1].length:k+=a[f][1].length,e&&e.length\u003C=Math.max(g,h)&&e.length\u003C=Math.max(l,k)&&(a.splice(c[d-1],0,[DIFF_DELETE,e]),a[c[d-1]+1][0]=DIFF_INSERT,d--,d--,f=0\u003Cd?c[d-1]:-1,k=l=h=g=0,e=null,b=!0)),f++;b&&this.diff_cleanupMerge(a);this.diff_cleanupSemanticLossless(a);for(f=1;f\u003Ca.length;){if(a[f-1][0]==\\nDIFF_DELETE&&a[f][0]==DIFF_INSERT){b=a[f-1][1];c=a[f][1];d=this.diff_commonOverlap_(b,c);e=this.diff_commonOverlap_(c,b);if(d>=e){if(d>=b.length/2||d>=c.length/2)a.splice(f,0,[DIFF_EQUAL,c.substring(0,d)]),a[f-1][1]=b.substring(0,b.length-d),a[f+1][1]=c.substring(d),f++}else if(e>=b.length/2||e>=c.length/2)a.splice(f,0,[DIFF_EQUAL,b.substring(0,e)]),a[f-1][0]=DIFF_INSERT,a[f-1][1]=c.substring(0,c.length-e),a[f+1][0]=DIFF_DELETE,a[f+1][1]=b.substring(e),f++;f++}f++}};\\ndiff_match_patch.prototype.diff_cleanupSemanticLossless=function(a){function b(a,b){if(!a||!b)return 6;var c=a.charAt(a.length-1),d=b.charAt(0),e=c.match(diff_match_patch.nonAlphaNumericRegex_),f=d.match(diff_match_patch.nonAlphaNumericRegex_),g=e&&c.match(diff_match_patch.whitespaceRegex_),h=f&&d.match(diff_match_patch.whitespaceRegex_);c=g&&c.match(diff_match_patch.linebreakRegex_);d=h&&d.match(diff_match_patch.linebreakRegex_);var k=c&&a.match(diff_match_patch.blanklineEndRegex_),l=d&&b.match(diff_match_patch.blanklineStartRegex_);\\nreturn k||l?5:c||d?4:e&&!g&&h?3:g||h?2:e||f?1:0}for(var c=1;c\u003Ca.length-1;){if(a[c-1][0]==DIFF_EQUAL&&a[c+1][0]==DIFF_EQUAL){var d=a[c-1][1],e=a[c][1],f=a[c+1][1],g=this.diff_commonSuffix(d,e);if(g){var h=e.substring(e.length-g);d=d.substring(0,d.length-g);e=h+e.substring(0,e.length-g);f=h+f}g=d;h=e;for(var l=f,k=b(d,e)+b(e,f);e.charAt(0)===f.charAt(0);){d+=e.charAt(0);e=e.substring(1)+f.charAt(0);f=f.substring(1);var m=b(d,e)+b(e,f);m>=k&&(k=m,g=d,h=e,l=f)}a[c-1][1]!=g&&(g?a[c-1][1]=g:(a.splice(c-\\n1,1),c--),a[c][1]=h,l?a[c+1][1]=l:(a.splice(c+1,1),c--))}c++}};diff_match_patch.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/;diff_match_patch.whitespaceRegex_=/\\\\s/;diff_match_patch.linebreakRegex_=/[\\\\r\\\\n]/;diff_match_patch.blanklineEndRegex_=/\\\\n\\\\r?\\\\n$/;diff_match_patch.blanklineStartRegex_=/^\\\\r?\\\\n\\\\r?\\\\n/;\\ndiff_match_patch.prototype.diff_cleanupEfficiency=function(a){for(var b=!1,c=[],d=0,e=null,f=0,g=!1,h=!1,l=!1,k=!1;f\u003Ca.length;)a[f][0]==DIFF_EQUAL?(a[f][1].length\u003Cthis.Diff_EditCost&&(l||k)?(c[d++]=f,g=l,h=k,e=a[f][1]):(d=0,e=null),l=k=!1):(a[f][0]==DIFF_DELETE?k=!0:l=!0,e&&(g&&h&&l&&k||e.length\u003Cthis.Diff_EditCost/2&&3==g+h+l+k)&&(a.splice(c[d-1],0,[DIFF_DELETE,e]),a[c[d-1]+1][0]=DIFF_INSERT,d--,e=null,g&&h?(l=k=!0,d=0):(d--,f=0\u003Cd?c[d-1]:-1,l=k=!1),b=!0)),f++;b&&this.diff_cleanupMerge(a)};\\ndiff_match_patch.prototype.diff_cleanupMerge=function(a){a.push([DIFF_EQUAL,\\\"\\\"]);for(var b=0,c=0,d=0,e=\\\"\\\",f=\\\"\\\",g;b\u003Ca.length;)switch(a[b][0]){case DIFF_INSERT:d++;f+=a[b][1];b++;break;case DIFF_DELETE:c++;e+=a[b][1];b++;break;case DIFF_EQUAL:1\u003Cc+d?(0!==c&&0!==d&&(g=this.diff_commonPrefix(f,e),0!==g&&(0\u003Cb-c-d&&a[b-c-d-1][0]==DIFF_EQUAL?a[b-c-d-1][1]+=f.substring(0,g):(a.splice(0,0,[DIFF_EQUAL,f.substring(0,g)]),b++),f=f.substring(g),e=e.substring(g)),g=this.diff_commonSuffix(f,e),0!==g&&(a[b][1]=f.substring(f.length-\\ng)+a[b][1],f=f.substring(0,f.length-g),e=e.substring(0,e.length-g))),0===c?a.splice(b-d,c+d,[DIFF_INSERT,f]):0===d?a.splice(b-c,c+d,[DIFF_DELETE,e]):a.splice(b-c-d,c+d,[DIFF_DELETE,e],[DIFF_INSERT,f]),b=b-c-d+(c?1:0)+(d?1:0)+1):0!==b&&a[b-1][0]==DIFF_EQUAL?(a[b-1][1]+=a[b][1],a.splice(b,1)):b++,c=d=0,f=e=\\\"\\\"}\\\"\\\"===a[a.length-1][1]&&a.pop();c=!1;for(b=1;b\u003Ca.length-1;)a[b-1][0]==DIFF_EQUAL&&a[b+1][0]==DIFF_EQUAL&&(a[b][1].substring(a[b][1].length-a[b-1][1].length)==a[b-1][1]?(a[b][1]=a[b-1][1]+a[b][1].substring(0,\\na[b][1].length-a[b-1][1].length),a[b+1][1]=a[b-1][1]+a[b+1][1],a.splice(b-1,1),c=!0):a[b][1].substring(0,a[b+1][1].length)==a[b+1][1]&&(a[b-1][1]+=a[b+1][1],a[b][1]=a[b][1].substring(a[b+1][1].length)+a[b+1][1],a.splice(b+1,1),c=!0)),b++;c&&this.diff_cleanupMerge(a)};\\ndiff_match_patch.prototype.diff_xIndex=function(a,b){var c=0,d=0,e=0,f=0,g;for(g=0;g\u003Ca.length;g++){a[g][0]!==DIFF_INSERT&&(c+=a[g][1].length);a[g][0]!==DIFF_DELETE&&(d+=a[g][1].length);if(c>b)break;e=c;f=d}return a.length!=g&&a[g][0]===DIFF_DELETE?f:f+(b-e)};\\ndiff_match_patch.prototype.diff_prettyHtml=function(a){for(var b=[],c=/&/g,d=/\u003C/g,e=/>/g,f=/\\\\n/g,g=0;g\u003Ca.length;g++){var h=a[g][0],l=a[g][1].replace(c,\\\"&\\\").replace(d,\\\"<\\\").replace(e,\\\">\\\").replace(f,\\\"¶\u003Cbr>\\\");switch(h){case DIFF_INSERT:b[g]='\u003Cins style=\\\"background:#e6ffe6;\\\">'+l+\\\"\u003C/ins>\\\";break;case DIFF_DELETE:b[g]='\u003Cdel style=\\\"background:#ffe6e6;\\\">'+l+\\\"\u003C/del>\\\";break;case DIFF_EQUAL:b[g]=\\\"\u003Cspan>\\\"+l+\\\"\u003C/span>\\\"}}return b.join(\\\"\\\")};\\ndiff_match_patch.prototype.diff_text1=function(a){for(var b=[],c=0;c\u003Ca.length;c++)a[c][0]!==DIFF_INSERT&&(b[c]=a[c][1]);return b.join(\\\"\\\")};diff_match_patch.prototype.diff_text2=function(a){for(var b=[],c=0;c\u003Ca.length;c++)a[c][0]!==DIFF_DELETE&&(b[c]=a[c][1]);return b.join(\\\"\\\")};\\ndiff_match_patch.prototype.diff_levenshtein=function(a){for(var b=0,c=0,d=0,e=0;e\u003Ca.length;e++){var f=a[e][1];switch(a[e][0]){case DIFF_INSERT:c+=f.length;break;case DIFF_DELETE:d+=f.length;break;case DIFF_EQUAL:b+=Math.max(c,d),d=c=0}}return b+=Math.max(c,d)};\\ndiff_match_patch.prototype.diff_toDelta=function(a){for(var b=[],c=0;c\u003Ca.length;c++)switch(a[c][0]){case DIFF_INSERT:b[c]=\\\"+\\\"+encodeURI(a[c][1]);break;case DIFF_DELETE:b[c]=\\\"-\\\"+a[c][1].length;break;case DIFF_EQUAL:b[c]=\\\"=\\\"+a[c][1].length}return b.join(\\\"\\\\t\\\").replace(/%20/g,\\\" \\\")};\\ndiff_match_patch.prototype.diff_fromDelta=function(a,b){for(var c=[],d=0,e=0,f=b.split(/\\\\t/g),g=0;g\u003Cf.length;g++){var h=f[g].substring(1);switch(f[g].charAt(0)){case \\\"+\\\":try{c[d++]=[DIFF_INSERT,decodeURI(h)]}catch(k){throw Error(\\\"Illegal escape in diff_fromDelta: \\\"+h);}break;case \\\"-\\\":case \\\"=\\\":var l=parseInt(h,10);if(isNaN(l)||0>l)throw Error(\\\"Invalid number in diff_fromDelta: \\\"+h);h=a.substring(e,e+=l);\\\"=\\\"==f[g].charAt(0)?c[d++]=[DIFF_EQUAL,h]:c[d++]=[DIFF_DELETE,h];break;default:if(f[g])throw Error(\\\"Invalid diff operation in diff_fromDelta: \\\"+\\nf[g]);}}if(e!=a.length)throw Error(\\\"Delta length (\\\"+e+\\\") does not equal source text length (\\\"+a.length+\\\").\\\");return c};diff_match_patch.prototype.match_main=function(a,b,c){if(null==a||null==b||null==c)throw Error(\\\"Null input. (match_main)\\\");c=Math.max(0,Math.min(c,a.length));return a==b?0:a.length?a.substring(c,c+b.length)==b?c:this.match_bitap_(a,b,c):-1};\\ndiff_match_patch.prototype.match_bitap_=function(a,b,c){function d(a,d){var e=a/b.length,g=Math.abs(c-d);return f.Match_Distance?e+g/f.Match_Distance:g?1:e}if(b.length>this.Match_MaxBits)throw Error(\\\"Pattern too long for this browser.\\\");var e=this.match_alphabet_(b),f=this,g=this.Match_Threshold,h=a.indexOf(b,c);-1!=h&&(g=Math.min(d(0,h),g),h=a.lastIndexOf(b,c+b.length),-1!=h&&(g=Math.min(d(0,h),g)));var l=1\u003C\u003Cb.length-1;h=-1;for(var k,m,p=b.length+a.length,x,w=0;w\u003Cb.length;w++){k=0;for(m=p;k\u003Cm;)d(w,\\nc+m)\u003C=g?k=m:p=m,m=Math.floor((p-k)/2+k);p=m;k=Math.max(1,c-m+1);var q=Math.min(c+m,a.length)+b.length;m=Array(q+2);for(m[q+1]=(1\u003C\u003Cw)-1;q>=k;q--){var t=e[a.charAt(q-1)];m[q]=0===w?(m[q+1]\u003C\u003C1|1)&t:(m[q+1]\u003C\u003C1|1)&t|(x[q+1]|x[q])\u003C\u003C1|1|x[q+1];if(m[q]&l&&(t=d(w,q-1),t\u003C=g))if(g=t,h=q-1,h>c)k=Math.max(1,2*c-h);else break}if(d(w+1,c)>g)break;x=m}return h};\\ndiff_match_patch.prototype.match_alphabet_=function(a){for(var b={},c=0;c\u003Ca.length;c++)b[a.charAt(c)]=0;for(c=0;c\u003Ca.length;c++)b[a.charAt(c)]|=1\u003C\u003Ca.length-c-1;return b};\\ndiff_match_patch.prototype.patch_addContext_=function(a,b){if(0!=b.length){for(var c=b.substring(a.start2,a.start2+a.length1),d=0;b.indexOf(c)!=b.lastIndexOf(c)&&c.length\u003Cthis.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)d+=this.Patch_Margin,c=b.substring(a.start2-d,a.start2+a.length1+d);d+=this.Patch_Margin;(c=b.substring(a.start2-d,a.start2))&&a.diffs.unshift([DIFF_EQUAL,c]);(d=b.substring(a.start2+a.length1,a.start2+a.length1+d))&&a.diffs.push([DIFF_EQUAL,d]);a.start1-=c.length;a.start2-=\\nc.length;a.length1+=c.length+d.length;a.length2+=c.length+d.length}};\\ndiff_match_patch.prototype.patch_make=function(a,b,c){if(\\\"string\\\"==typeof a&&\\\"string\\\"==typeof b&&\\\"undefined\\\"==typeof c){var d=a;b=this.diff_main(d,b,!0);2\u003Cb.length&&(this.diff_cleanupSemantic(b),this.diff_cleanupEfficiency(b))}else if(a&&\\\"object\\\"==typeof a&&\\\"undefined\\\"==typeof b&&\\\"undefined\\\"==typeof c)b=a,d=this.diff_text1(b);else if(\\\"string\\\"==typeof a&&b&&\\\"object\\\"==typeof b&&\\\"undefined\\\"==typeof c)d=a;else if(\\\"string\\\"==typeof a&&\\\"string\\\"==typeof b&&c&&\\\"object\\\"==typeof c)d=a,b=c;else throw Error(\\\"Unknown call format to patch_make.\\\");\\nif(0===b.length)return[];c=[];a=new diff_match_patch.patch_obj;for(var e=0,f=0,g=0,h=d,l=0;l\u003Cb.length;l++){var k=b[l][0],m=b[l][1];e||k===DIFF_EQUAL||(a.start1=f,a.start2=g);switch(k){case DIFF_INSERT:a.diffs[e++]=b[l];a.length2+=m.length;d=d.substring(0,g)+m+d.substring(g);break;case DIFF_DELETE:a.length1+=m.length;a.diffs[e++]=b[l];d=d.substring(0,g)+d.substring(g+m.length);break;case DIFF_EQUAL:m.length\u003C=2*this.Patch_Margin&&e&&b.length!=l+1?(a.diffs[e++]=b[l],a.length1+=m.length,a.length2+=m.length):\\nm.length>=2*this.Patch_Margin&&e&&(this.patch_addContext_(a,h),c.push(a),a=new diff_match_patch.patch_obj,e=0,h=d,f=g)}k!==DIFF_INSERT&&(f+=m.length);k!==DIFF_DELETE&&(g+=m.length)}e&&(this.patch_addContext_(a,h),c.push(a));return c};\\ndiff_match_patch.prototype.patch_deepCopy=function(a){for(var b=[],c=0;c\u003Ca.length;c++){var d=a[c],e=new diff_match_patch.patch_obj;e.diffs=[];for(var f=0;f\u003Cd.diffs.length;f++)e.diffs[f]=d.diffs[f].slice();e.start1=d.start1;e.start2=d.start2;e.length1=d.length1;e.length2=d.length2;b[c]=e}return b};\\ndiff_match_patch.prototype.patch_apply=function(a,b){if(0==a.length)return[b,[]];a=this.patch_deepCopy(a);var c=this.patch_addPadding(a);b=c+b+c;this.patch_splitMax(a);for(var d=0,e=[],f=0;f\u003Ca.length;f++){var g=a[f].start2+d,h=this.diff_text1(a[f].diffs),l=-1;if(h.length>this.Match_MaxBits){var k=this.match_main(b,h.substring(0,this.Match_MaxBits),g);-1!=k&&(l=this.match_main(b,h.substring(h.length-this.Match_MaxBits),g+h.length-this.Match_MaxBits),-1==l||k>=l)&&(k=-1)}else k=this.match_main(b,h,\\ng);if(-1==k)e[f]=!1,d-=a[f].length2-a[f].length1;else if(e[f]=!0,d=k-g,g=-1==l?b.substring(k,k+h.length):b.substring(k,l+this.Match_MaxBits),h==g)b=b.substring(0,k)+this.diff_text2(a[f].diffs)+b.substring(k+h.length);else if(g=this.diff_main(h,g,!1),h.length>this.Match_MaxBits&&this.diff_levenshtein(g)/h.length>this.Patch_DeleteThreshold)e[f]=!1;else{this.diff_cleanupSemanticLossless(g);h=0;var m;for(l=0;l\u003Ca[f].diffs.length;l++){var p=a[f].diffs[l];p[0]!==DIFF_EQUAL&&(m=this.diff_xIndex(g,h));p[0]===\\nDIFF_INSERT?b=b.substring(0,k+m)+p[1]+b.substring(k+m):p[0]===DIFF_DELETE&&(b=b.substring(0,k+m)+b.substring(k+this.diff_xIndex(g,h+p[1].length)));p[0]!==DIFF_DELETE&&(h+=p[1].length)}}}b=b.substring(c.length,b.length-c.length);return[b,e]};\\ndiff_match_patch.prototype.patch_addPadding=function(a){for(var b=this.Patch_Margin,c=\\\"\\\",d=1;d\u003C=b;d++)c+=String.fromCharCode(d);for(d=0;d\u003Ca.length;d++)a[d].start1+=b,a[d].start2+=b;d=a[0];var e=d.diffs;if(0==e.length||e[0][0]!=DIFF_EQUAL)e.unshift([DIFF_EQUAL,c]),d.start1-=b,d.start2-=b,d.length1+=b,d.length2+=b;else if(b>e[0][1].length){var f=b-e[0][1].length;e[0][1]=c.substring(e[0][1].length)+e[0][1];d.start1-=f;d.start2-=f;d.length1+=f;d.length2+=f}d=a[a.length-1];e=d.diffs;0==e.length||e[e.length-\\n1][0]!=DIFF_EQUAL?(e.push([DIFF_EQUAL,c]),d.length1+=b,d.length2+=b):b>e[e.length-1][1].length&&(f=b-e[e.length-1][1].length,e[e.length-1][1]+=c.substring(0,f),d.length1+=f,d.length2+=f);return c};\\ndiff_match_patch.prototype.patch_splitMax=function(a){for(var b=this.Match_MaxBits,c=0;c\u003Ca.length;c++)if(!(a[c].length1\u003C=b)){var d=a[c];a.splice(c--,1);for(var e=d.start1,f=d.start2,g=\\\"\\\";0!==d.diffs.length;){var h=new diff_match_patch.patch_obj,l=!0;h.start1=e-g.length;h.start2=f-g.length;\\\"\\\"!==g&&(h.length1=h.length2=g.length,h.diffs.push([DIFF_EQUAL,g]));for(;0!==d.diffs.length&&h.length1\u003Cb-this.Patch_Margin;){g=d.diffs[0][0];var k=d.diffs[0][1];g===DIFF_INSERT?(h.length2+=k.length,f+=k.length,h.diffs.push(d.diffs.shift()),\\nl=!1):g===DIFF_DELETE&&1==h.diffs.length&&h.diffs[0][0]==DIFF_EQUAL&&k.length>2*b?(h.length1+=k.length,e+=k.length,l=!1,h.diffs.push([g,k]),d.diffs.shift()):(k=k.substring(0,b-h.length1-this.Patch_Margin),h.length1+=k.length,e+=k.length,g===DIFF_EQUAL?(h.length2+=k.length,f+=k.length):l=!1,h.diffs.push([g,k]),k==d.diffs[0][1]?d.diffs.shift():d.diffs[0][1]=d.diffs[0][1].substring(k.length))}g=this.diff_text2(h.diffs);g=g.substring(g.length-this.Patch_Margin);k=this.diff_text1(d.diffs).substring(0,\\nthis.Patch_Margin);\\\"\\\"!==k&&(h.length1+=k.length,h.length2+=k.length,0!==h.diffs.length&&h.diffs[h.diffs.length-1][0]===DIFF_EQUAL?h.diffs[h.diffs.length-1][1]+=k:h.diffs.push([DIFF_EQUAL,k]));l||a.splice(++c,0,h)}}};diff_match_patch.prototype.patch_toText=function(a){for(var b=[],c=0;c\u003Ca.length;c++)b[c]=a[c];return b.join(\\\"\\\")};\\ndiff_match_patch.prototype.patch_fromText=function(a){var b=[];if(!a)return b;a=a.split(\\\"\\\\n\\\");for(var c=0,d=/^@@ -(\\\\d+),?(\\\\d*) \\\\+(\\\\d+),?(\\\\d*) @@$/;c\u003Ca.length;){var e=a[c].match(d);if(!e)throw Error(\\\"Invalid patch string: \\\"+a[c]);var f=new diff_match_patch.patch_obj;b.push(f);f.start1=parseInt(e[1],10);\\\"\\\"===e[2]?(f.start1--,f.length1=1):\\\"0\\\"==e[2]?f.length1=0:(f.start1--,f.length1=parseInt(e[2],10));f.start2=parseInt(e[3],10);\\\"\\\"===e[4]?(f.start2--,f.length2=1):\\\"0\\\"==e[4]?f.length2=0:(f.start2--,f.length2=\\nparseInt(e[4],10));for(c++;c\u003Ca.length;){e=a[c].charAt(0);try{var g=decodeURI(a[c].substring(1))}catch(h){throw Error(\\\"Illegal escape in patch_fromText: \\\"+g);}if(\\\"-\\\"==e)f.diffs.push([DIFF_DELETE,g]);else if(\\\"+\\\"==e)f.diffs.push([DIFF_INSERT,g]);else if(\\\" \\\"==e)f.diffs.push([DIFF_EQUAL,g]);else if(\\\"@\\\"==e)break;else if(\\\"\\\"!==e)throw Error('Invalid patch mode \\\"'+e+'\\\" in: '+g);c++}}return b};diff_match_patch.patch_obj=function(){this.diffs=[];this.start2=this.start1=null;this.length2=this.length1=0};\\ndiff_match_patch.patch_obj.prototype.toString=function(){for(var a=[\\\"@@ -\\\"+(0===this.length1?this.start1+\\\",0\\\":1==this.length1?this.start1+1:this.start1+1+\\\",\\\"+this.length1)+\\\" +\\\"+(0===this.length2?this.start2+\\\",0\\\":1==this.length2?this.start2+1:this.start2+1+\\\",\\\"+this.length2)+\\\" @@\\\\n\\\"],b,c=0;c\u003Cthis.diffs.length;c++){switch(this.diffs[c][0]){case DIFF_INSERT:b=\\\"+\\\";break;case DIFF_DELETE:b=\\\"-\\\";break;case DIFF_EQUAL:b=\\\" \\\"}a[c+1]=b+encodeURI(this.diffs[c][1])+\\\"\\\\n\\\"}return a.join(\\\"\\\").replace(/%20/g,\\\" \\\")};\\nthis.diff_match_patch=diff_match_patch;this.DIFF_DELETE=DIFF_DELETE;this.DIFF_INSERT=DIFF_INSERT;this.DIFF_EQUAL=DIFF_EQUAL;\\n}).call(exports);\",\"type\":\"application/javascript\",\"title\":\"$:/core/modules/utils/diff-match-patch/diff_match_patch.js\",\"module-type\":\"library\"},\"$:/core/modules/utils/dom/animations/slide.js\":{\"title\":\"$:/core/modules/utils/dom/animations/slide.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/animations/slide.js\\ntype: application/javascript\\nmodule-type: animation\\n\\nA simple slide animation that varies the height of the element\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nfunction slideOpen(domNode,options) {\\n\\toptions = options || {};\\n\\tvar duration = options.duration || $tw.utils.getAnimationDuration();\\n\\t// Get the current height of the domNode\\n\\tvar computedStyle = window.getComputedStyle(domNode),\\n\\t\\tcurrMarginBottom = parseInt(computedStyle.marginBottom,10),\\n\\t\\tcurrMarginTop = parseInt(computedStyle.marginTop,10),\\n\\t\\tcurrPaddingBottom = parseInt(computedStyle.paddingBottom,10),\\n\\t\\tcurrPaddingTop = parseInt(computedStyle.paddingTop,10),\\n\\t\\tcurrHeight = domNode.offsetHeight;\\n\\t// Reset the margin once the transition is over\\n\\tsetTimeout(function() {\\n\\t\\t$tw.utils.setStyle(domNode,[\\n\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t{marginBottom: \\\"\\\"},\\n\\t\\t\\t{marginTop: \\\"\\\"},\\n\\t\\t\\t{paddingBottom: \\\"\\\"},\\n\\t\\t\\t{paddingTop: \\\"\\\"},\\n\\t\\t\\t{height: \\\"auto\\\"},\\n\\t\\t\\t{opacity: \\\"\\\"}\\n\\t\\t]);\\n\\t\\tif(options.callback) {\\n\\t\\t\\toptions.callback();\\n\\t\\t}\\n\\t},duration);\\n\\t// Set up the initial position of the element\\n\\t$tw.utils.setStyle(domNode,[\\n\\t\\t{transition: \\\"none\\\"},\\n\\t\\t{marginTop: \\\"0px\\\"},\\n\\t\\t{marginBottom: \\\"0px\\\"},\\n\\t\\t{paddingTop: \\\"0px\\\"},\\n\\t\\t{paddingBottom: \\\"0px\\\"},\\n\\t\\t{height: \\\"0px\\\"},\\n\\t\\t{opacity: \\\"0\\\"}\\n\\t]);\\n\\t$tw.utils.forceLayout(domNode);\\n\\t// Transition to the final position\\n\\t$tw.utils.setStyle(domNode,[\\n\\t\\t{transition: \\\"margin-top \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"margin-bottom \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"padding-top \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"padding-bottom \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"height \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"opacity \\\" + duration + \\\"ms ease-in-out\\\"},\\n\\t\\t{marginBottom: currMarginBottom + \\\"px\\\"},\\n\\t\\t{marginTop: currMarginTop + \\\"px\\\"},\\n\\t\\t{paddingBottom: currPaddingBottom + \\\"px\\\"},\\n\\t\\t{paddingTop: currPaddingTop + \\\"px\\\"},\\n\\t\\t{height: currHeight + \\\"px\\\"},\\n\\t\\t{opacity: \\\"1\\\"}\\n\\t]);\\n}\\n\\nfunction slideClosed(domNode,options) {\\n\\toptions = options || {};\\n\\tvar duration = options.duration || $tw.utils.getAnimationDuration(),\\n\\t\\tcurrHeight = domNode.offsetHeight;\\n\\t// Clear the properties we've set when the animation is over\\n\\tsetTimeout(function() {\\n\\t\\t$tw.utils.setStyle(domNode,[\\n\\t\\t\\t{transition: \\\"none\\\"},\\n\\t\\t\\t{marginBottom: \\\"\\\"},\\n\\t\\t\\t{marginTop: \\\"\\\"},\\n\\t\\t\\t{paddingBottom: \\\"\\\"},\\n\\t\\t\\t{paddingTop: \\\"\\\"},\\n\\t\\t\\t{height: \\\"auto\\\"},\\n\\t\\t\\t{opacity: \\\"\\\"}\\n\\t\\t]);\\n\\t\\tif(options.callback) {\\n\\t\\t\\toptions.callback();\\n\\t\\t}\\n\\t},duration);\\n\\t// Set up the initial position of the element\\n\\t$tw.utils.setStyle(domNode,[\\n\\t\\t{height: currHeight + \\\"px\\\"},\\n\\t\\t{opacity: \\\"1\\\"}\\n\\t]);\\n\\t$tw.utils.forceLayout(domNode);\\n\\t// Transition to the final position\\n\\t$tw.utils.setStyle(domNode,[\\n\\t\\t{transition: \\\"margin-top \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"margin-bottom \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"padding-top \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"padding-bottom \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"height \\\" + duration + \\\"ms ease-in-out, \\\" +\\n\\t\\t\\t\\t\\t\\\"opacity \\\" + duration + \\\"ms ease-in-out\\\"},\\n\\t\\t{marginTop: \\\"0px\\\"},\\n\\t\\t{marginBottom: \\\"0px\\\"},\\n\\t\\t{paddingTop: \\\"0px\\\"},\\n\\t\\t{paddingBottom: \\\"0px\\\"},\\n\\t\\t{height: \\\"0px\\\"},\\n\\t\\t{opacity: \\\"0\\\"}\\n\\t]);\\n}\\n\\nexports.slide = {\\n\\topen: slideOpen,\\n\\tclose: slideClosed\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"animation\"},\"$:/core/modules/utils/dom/animator.js\":{\"title\":\"$:/core/modules/utils/dom/animator.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/animator.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nOrchestrates animations and transitions\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nfunction Animator() {\\n\\t// Get the registered animation modules\\n\\tthis.animations = {};\\n\\t$tw.modules.applyMethods(\\\"animation\\\",this.animations);\\n}\\n\\nAnimator.prototype.perform = function(type,domNode,options) {\\n\\toptions = options || {};\\n\\t// Find an animation that can handle this type\\n\\tvar chosenAnimation;\\n\\t$tw.utils.each(this.animations,function(animation,name) {\\n\\t\\tif($tw.utils.hop(animation,type)) {\\n\\t\\t\\tchosenAnimation = animation[type];\\n\\t\\t}\\n\\t});\\n\\tif(!chosenAnimation) {\\n\\t\\tchosenAnimation = function(domNode,options) {\\n\\t\\t\\tif(options.callback) {\\n\\t\\t\\t\\toptions.callback();\\n\\t\\t\\t}\\n\\t\\t};\\n\\t}\\n\\t// Call the animation\\n\\tchosenAnimation(domNode,options);\\n};\\n\\nexports.Animator = Animator;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/browser.js\":{\"title\":\"$:/core/modules/utils/dom/browser.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/browser.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nBrowser feature detection\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nSet style properties of an element\\n\\telement: dom node\\n\\tstyles: ordered array of {name: value} pairs\\n*/\\nexports.setStyle = function(element,styles) {\\n\\tif(element.nodeType === 1) { // Element.ELEMENT_NODE\\n\\t\\tfor(var t=0; t\u003Cstyles.length; t++) {\\n\\t\\t\\tfor(var styleName in styles[t]) {\\n\\t\\t\\t\\telement.style[$tw.utils.convertStyleNameToPropertyName(styleName)] = styles[t][styleName];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nConverts a standard CSS property name into the local browser-specific equivalent. For example:\\n\\t\\\"background-color\\\" --> \\\"backgroundColor\\\"\\n\\t\\\"transition\\\" --> \\\"webkitTransition\\\"\\n*/\\n\\nvar styleNameCache = {}; // We'll cache the style name conversions\\n\\nexports.convertStyleNameToPropertyName = function(styleName) {\\n\\t// Return from the cache if we can\\n\\tif(styleNameCache[styleName]) {\\n\\t\\treturn styleNameCache[styleName];\\n\\t}\\n\\t// Convert it by first removing any hyphens\\n\\tvar propertyName = $tw.utils.unHyphenateCss(styleName);\\n\\t// Then check if it needs a prefix\\n\\tif($tw.browser && document.body.style[propertyName] === undefined) {\\n\\t\\tvar prefixes = [\\\"O\\\",\\\"MS\\\",\\\"Moz\\\",\\\"webkit\\\"];\\n\\t\\tfor(var t=0; t\u003Cprefixes.length; t++) {\\n\\t\\t\\tvar prefixedName = prefixes[t] + propertyName.substr(0,1).toUpperCase() + propertyName.substr(1);\\n\\t\\t\\tif(document.body.style[prefixedName] !== undefined) {\\n\\t\\t\\t\\tpropertyName = prefixedName;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Put it in the cache too\\n\\tstyleNameCache[styleName] = propertyName;\\n\\treturn propertyName;\\n};\\n\\n/*\\nConverts a JS format CSS property name back into the dashed form used in CSS declarations. For example:\\n\\t\\\"backgroundColor\\\" --> \\\"background-color\\\"\\n\\t\\\"webkitTransform\\\" --> \\\"-webkit-transform\\\"\\n*/\\nexports.convertPropertyNameToStyleName = function(propertyName) {\\n\\t// Rehyphenate the name\\n\\tvar styleName = $tw.utils.hyphenateCss(propertyName);\\n\\t// If there's a webkit prefix, add a dash (other browsers have uppercase prefixes, and so get the dash automatically)\\n\\tif(styleName.indexOf(\\\"webkit\\\") === 0) {\\n\\t\\tstyleName = \\\"-\\\" + styleName;\\n\\t} else if(styleName.indexOf(\\\"-m-s\\\") === 0) {\\n\\t\\tstyleName = \\\"-ms\\\" + styleName.substr(4);\\n\\t}\\n\\treturn styleName;\\n};\\n\\n/*\\nRound trip a stylename to a property name and back again. For example:\\n\\t\\\"transform\\\" --> \\\"webkitTransform\\\" --> \\\"-webkit-transform\\\"\\n*/\\nexports.roundTripPropertyName = function(propertyName) {\\n\\treturn $tw.utils.convertPropertyNameToStyleName($tw.utils.convertStyleNameToPropertyName(propertyName));\\n};\\n\\n/*\\nConverts a standard event name into the local browser specific equivalent. For example:\\n\\t\\\"animationEnd\\\" --> \\\"webkitAnimationEnd\\\"\\n*/\\n\\nvar eventNameCache = {}; // We'll cache the conversions\\n\\nvar eventNameMappings = {\\n\\t\\\"transitionEnd\\\": {\\n\\t\\tcorrespondingCssProperty: \\\"transition\\\",\\n\\t\\tmappings: {\\n\\t\\t\\ttransition: \\\"transitionend\\\",\\n\\t\\t\\tOTransition: \\\"oTransitionEnd\\\",\\n\\t\\t\\tMSTransition: \\\"msTransitionEnd\\\",\\n\\t\\t\\tMozTransition: \\\"transitionend\\\",\\n\\t\\t\\twebkitTransition: \\\"webkitTransitionEnd\\\"\\n\\t\\t}\\n\\t},\\n\\t\\\"animationEnd\\\": {\\n\\t\\tcorrespondingCssProperty: \\\"animation\\\",\\n\\t\\tmappings: {\\n\\t\\t\\tanimation: \\\"animationend\\\",\\n\\t\\t\\tOAnimation: \\\"oAnimationEnd\\\",\\n\\t\\t\\tMSAnimation: \\\"msAnimationEnd\\\",\\n\\t\\t\\tMozAnimation: \\\"animationend\\\",\\n\\t\\t\\twebkitAnimation: \\\"webkitAnimationEnd\\\"\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.convertEventName = function(eventName) {\\n\\tif(eventNameCache[eventName]) {\\n\\t\\treturn eventNameCache[eventName];\\n\\t}\\n\\tvar newEventName = eventName,\\n\\t\\tmappings = eventNameMappings[eventName];\\n\\tif(mappings) {\\n\\t\\tvar convertedProperty = $tw.utils.convertStyleNameToPropertyName(mappings.correspondingCssProperty);\\n\\t\\tif(mappings.mappings[convertedProperty]) {\\n\\t\\t\\tnewEventName = mappings.mappings[convertedProperty];\\n\\t\\t}\\n\\t}\\n\\t// Put it in the cache too\\n\\teventNameCache[eventName] = newEventName;\\n\\treturn newEventName;\\n};\\n\\n/*\\nReturn the names of the fullscreen APIs\\n*/\\nexports.getFullScreenApis = function() {\\n\\tvar d = document,\\n\\t\\tdb = d.body,\\n\\t\\tresult = {\\n\\t\\t\\\"_requestFullscreen\\\": db.webkitRequestFullscreen !== undefined ? \\\"webkitRequestFullscreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\tdb.mozRequestFullScreen !== undefined ? \\\"mozRequestFullScreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\tdb.msRequestFullscreen !== undefined ? \\\"msRequestFullscreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\tdb.requestFullscreen !== undefined ? \\\"requestFullscreen\\\" : \\\"\\\",\\n\\t\\t\\\"_exitFullscreen\\\": d.webkitExitFullscreen !== undefined ? \\\"webkitExitFullscreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.mozCancelFullScreen !== undefined ? \\\"mozCancelFullScreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.msExitFullscreen !== undefined ? \\\"msExitFullscreen\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.exitFullscreen !== undefined ? \\\"exitFullscreen\\\" : \\\"\\\",\\n\\t\\t\\\"_fullscreenElement\\\": d.webkitFullscreenElement !== undefined ? \\\"webkitFullscreenElement\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.mozFullScreenElement !== undefined ? \\\"mozFullScreenElement\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.msFullscreenElement !== undefined ? \\\"msFullscreenElement\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.fullscreenElement !== undefined ? \\\"fullscreenElement\\\" : \\\"\\\",\\n\\t\\t\\\"_fullscreenChange\\\": d.webkitFullscreenElement !== undefined ? \\\"webkitfullscreenchange\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.mozFullScreenElement !== undefined ? \\\"mozfullscreenchange\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.msFullscreenElement !== undefined ? \\\"MSFullscreenChange\\\" :\\n\\t\\t\\t\\t\\t\\t\\td.fullscreenElement !== undefined ? \\\"fullscreenchange\\\" : \\\"\\\"\\n\\t};\\n\\tif(!result._requestFullscreen || !result._exitFullscreen || !result._fullscreenElement || !result._fullscreenChange) {\\n\\t\\treturn null;\\n\\t} else {\\n\\t\\treturn result;\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/csscolorparser.js\":{\"title\":\"$:/core/modules/utils/dom/csscolorparser.js\",\"text\":\"// (c) Dean McNamee \u003Cdean@gmail.com>, 2012.\\n//\\n// https://github.com/deanm/css-color-parser-js\\n//\\n// Permission is hereby granted, free of charge, to any person obtaining a copy\\n// of this software and associated documentation files (the \\\"Software\\\"), to\\n// deal in the Software without restriction, including without limitation the\\n// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\\n// sell copies of the Software, and to permit persons to whom the Software is\\n// furnished to do so, subject to the following conditions:\\n//\\n// The above copyright notice and this permission notice shall be included in\\n// all copies or substantial portions of the Software.\\n//\\n// THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\\n// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\\n// IN THE SOFTWARE.\\n\\n// http://www.w3.org/TR/css3-color/\\nvar kCSSColorTable = {\\n \\\"transparent\\\": [0,0,0,0], \\\"aliceblue\\\": [240,248,255,1],\\n \\\"antiquewhite\\\": [250,235,215,1], \\\"aqua\\\": [0,255,255,1],\\n \\\"aquamarine\\\": [127,255,212,1], \\\"azure\\\": [240,255,255,1],\\n \\\"beige\\\": [245,245,220,1], \\\"bisque\\\": [255,228,196,1],\\n \\\"black\\\": [0,0,0,1], \\\"blanchedalmond\\\": [255,235,205,1],\\n \\\"blue\\\": [0,0,255,1], \\\"blueviolet\\\": [138,43,226,1],\\n \\\"brown\\\": [165,42,42,1], \\\"burlywood\\\": [222,184,135,1],\\n \\\"cadetblue\\\": [95,158,160,1], \\\"chartreuse\\\": [127,255,0,1],\\n \\\"chocolate\\\": [210,105,30,1], \\\"coral\\\": [255,127,80,1],\\n \\\"cornflowerblue\\\": [100,149,237,1], \\\"cornsilk\\\": [255,248,220,1],\\n \\\"crimson\\\": [220,20,60,1], \\\"cyan\\\": [0,255,255,1],\\n \\\"darkblue\\\": [0,0,139,1], \\\"darkcyan\\\": [0,139,139,1],\\n \\\"darkgoldenrod\\\": [184,134,11,1], \\\"darkgray\\\": [169,169,169,1],\\n \\\"darkgreen\\\": [0,100,0,1], \\\"darkgrey\\\": [169,169,169,1],\\n \\\"darkkhaki\\\": [189,183,107,1], \\\"darkmagenta\\\": [139,0,139,1],\\n \\\"darkolivegreen\\\": [85,107,47,1], \\\"darkorange\\\": [255,140,0,1],\\n \\\"darkorchid\\\": [153,50,204,1], \\\"darkred\\\": [139,0,0,1],\\n \\\"darksalmon\\\": [233,150,122,1], \\\"darkseagreen\\\": [143,188,143,1],\\n \\\"darkslateblue\\\": [72,61,139,1], \\\"darkslategray\\\": [47,79,79,1],\\n \\\"darkslategrey\\\": [47,79,79,1], \\\"darkturquoise\\\": [0,206,209,1],\\n \\\"darkviolet\\\": [148,0,211,1], \\\"deeppink\\\": [255,20,147,1],\\n \\\"deepskyblue\\\": [0,191,255,1], \\\"dimgray\\\": [105,105,105,1],\\n \\\"dimgrey\\\": [105,105,105,1], \\\"dodgerblue\\\": [30,144,255,1],\\n \\\"firebrick\\\": [178,34,34,1], \\\"floralwhite\\\": [255,250,240,1],\\n \\\"forestgreen\\\": [34,139,34,1], \\\"fuchsia\\\": [255,0,255,1],\\n \\\"gainsboro\\\": [220,220,220,1], \\\"ghostwhite\\\": [248,248,255,1],\\n \\\"gold\\\": [255,215,0,1], \\\"goldenrod\\\": [218,165,32,1],\\n \\\"gray\\\": [128,128,128,1], \\\"green\\\": [0,128,0,1],\\n \\\"greenyellow\\\": [173,255,47,1], \\\"grey\\\": [128,128,128,1],\\n \\\"honeydew\\\": [240,255,240,1], \\\"hotpink\\\": [255,105,180,1],\\n \\\"indianred\\\": [205,92,92,1], \\\"indigo\\\": [75,0,130,1],\\n \\\"ivory\\\": [255,255,240,1], \\\"khaki\\\": [240,230,140,1],\\n \\\"lavender\\\": [230,230,250,1], \\\"lavenderblush\\\": [255,240,245,1],\\n \\\"lawngreen\\\": [124,252,0,1], \\\"lemonchiffon\\\": [255,250,205,1],\\n \\\"lightblue\\\": [173,216,230,1], \\\"lightcoral\\\": [240,128,128,1],\\n \\\"lightcyan\\\": [224,255,255,1], \\\"lightgoldenrodyellow\\\": [250,250,210,1],\\n \\\"lightgray\\\": [211,211,211,1], \\\"lightgreen\\\": [144,238,144,1],\\n \\\"lightgrey\\\": [211,211,211,1], \\\"lightpink\\\": [255,182,193,1],\\n \\\"lightsalmon\\\": [255,160,122,1], \\\"lightseagreen\\\": [32,178,170,1],\\n \\\"lightskyblue\\\": [135,206,250,1], \\\"lightslategray\\\": [119,136,153,1],\\n \\\"lightslategrey\\\": [119,136,153,1], \\\"lightsteelblue\\\": [176,196,222,1],\\n \\\"lightyellow\\\": [255,255,224,1], \\\"lime\\\": [0,255,0,1],\\n \\\"limegreen\\\": [50,205,50,1], \\\"linen\\\": [250,240,230,1],\\n \\\"magenta\\\": [255,0,255,1], \\\"maroon\\\": [128,0,0,1],\\n \\\"mediumaquamarine\\\": [102,205,170,1], \\\"mediumblue\\\": [0,0,205,1],\\n \\\"mediumorchid\\\": [186,85,211,1], \\\"mediumpurple\\\": [147,112,219,1],\\n \\\"mediumseagreen\\\": [60,179,113,1], \\\"mediumslateblue\\\": [123,104,238,1],\\n \\\"mediumspringgreen\\\": [0,250,154,1], \\\"mediumturquoise\\\": [72,209,204,1],\\n \\\"mediumvioletred\\\": [199,21,133,1], \\\"midnightblue\\\": [25,25,112,1],\\n \\\"mintcream\\\": [245,255,250,1], \\\"mistyrose\\\": [255,228,225,1],\\n \\\"moccasin\\\": [255,228,181,1], \\\"navajowhite\\\": [255,222,173,1],\\n \\\"navy\\\": [0,0,128,1], \\\"oldlace\\\": [253,245,230,1],\\n \\\"olive\\\": [128,128,0,1], \\\"olivedrab\\\": [107,142,35,1],\\n \\\"orange\\\": [255,165,0,1], \\\"orangered\\\": [255,69,0,1],\\n \\\"orchid\\\": [218,112,214,1], \\\"palegoldenrod\\\": [238,232,170,1],\\n \\\"palegreen\\\": [152,251,152,1], \\\"paleturquoise\\\": [175,238,238,1],\\n \\\"palevioletred\\\": [219,112,147,1], \\\"papayawhip\\\": [255,239,213,1],\\n \\\"peachpuff\\\": [255,218,185,1], \\\"peru\\\": [205,133,63,1],\\n \\\"pink\\\": [255,192,203,1], \\\"plum\\\": [221,160,221,1],\\n \\\"powderblue\\\": [176,224,230,1], \\\"purple\\\": [128,0,128,1],\\n \\\"red\\\": [255,0,0,1], \\\"rosybrown\\\": [188,143,143,1],\\n \\\"royalblue\\\": [65,105,225,1], \\\"saddlebrown\\\": [139,69,19,1],\\n \\\"salmon\\\": [250,128,114,1], \\\"sandybrown\\\": [244,164,96,1],\\n \\\"seagreen\\\": [46,139,87,1], \\\"seashell\\\": [255,245,238,1],\\n \\\"sienna\\\": [160,82,45,1], \\\"silver\\\": [192,192,192,1],\\n \\\"skyblue\\\": [135,206,235,1], \\\"slateblue\\\": [106,90,205,1],\\n \\\"slategray\\\": [112,128,144,1], \\\"slategrey\\\": [112,128,144,1],\\n \\\"snow\\\": [255,250,250,1], \\\"springgreen\\\": [0,255,127,1],\\n \\\"steelblue\\\": [70,130,180,1], \\\"tan\\\": [210,180,140,1],\\n \\\"teal\\\": [0,128,128,1], \\\"thistle\\\": [216,191,216,1],\\n \\\"tomato\\\": [255,99,71,1], \\\"turquoise\\\": [64,224,208,1],\\n \\\"violet\\\": [238,130,238,1], \\\"wheat\\\": [245,222,179,1],\\n \\\"white\\\": [255,255,255,1], \\\"whitesmoke\\\": [245,245,245,1],\\n \\\"yellow\\\": [255,255,0,1], \\\"yellowgreen\\\": [154,205,50,1]}\\n\\nfunction clamp_css_byte(i) { // Clamp to integer 0 .. 255.\\n i = Math.round(i); // Seems to be what Chrome does (vs truncation).\\n return i \u003C 0 ? 0 : i > 255 ? 255 : i;\\n}\\n\\nfunction clamp_css_float(f) { // Clamp to float 0.0 .. 1.0.\\n return f \u003C 0 ? 0 : f > 1 ? 1 : f;\\n}\\n\\nfunction parse_css_int(str) { // int or percentage.\\n if (str[str.length - 1] === '%')\\n return clamp_css_byte(parseFloat(str) / 100 * 255);\\n return clamp_css_byte(parseInt(str));\\n}\\n\\nfunction parse_css_float(str) { // float or percentage.\\n if (str[str.length - 1] === '%')\\n return clamp_css_float(parseFloat(str) / 100);\\n return clamp_css_float(parseFloat(str));\\n}\\n\\nfunction css_hue_to_rgb(m1, m2, h) {\\n if (h \u003C 0) h += 1;\\n else if (h > 1) h -= 1;\\n\\n if (h * 6 \u003C 1) return m1 + (m2 - m1) * h * 6;\\n if (h * 2 \u003C 1) return m2;\\n if (h * 3 \u003C 2) return m1 + (m2 - m1) * (2/3 - h) * 6;\\n return m1;\\n}\\n\\nfunction parseCSSColor(css_str) {\\n // Remove all whitespace, not compliant, but should just be more accepting.\\n var str = css_str.replace(/ /g, '').toLowerCase();\\n\\n // Color keywords (and transparent) lookup.\\n if (str in kCSSColorTable) return kCSSColorTable[str].slice(); // dup.\\n\\n // #abc and #abc123 syntax.\\n if (str[0] === '#') {\\n if (str.length === 4) {\\n var iv = parseInt(str.substr(1), 16); // TODO(deanm): Stricter parsing.\\n if (!(iv >= 0 && iv \u003C= 0xfff)) return null; // Covers NaN.\\n return [((iv & 0xf00) >> 4) | ((iv & 0xf00) >> 8),\\n (iv & 0xf0) | ((iv & 0xf0) >> 4),\\n (iv & 0xf) | ((iv & 0xf) \u003C\u003C 4),\\n 1];\\n } else if (str.length === 7) {\\n var iv = parseInt(str.substr(1), 16); // TODO(deanm): Stricter parsing.\\n if (!(iv >= 0 && iv \u003C= 0xffffff)) return null; // Covers NaN.\\n return [(iv & 0xff0000) >> 16,\\n (iv & 0xff00) >> 8,\\n iv & 0xff,\\n 1];\\n }\\n\\n return null;\\n }\\n\\n var op = str.indexOf('('), ep = str.indexOf(')');\\n if (op !== -1 && ep + 1 === str.length) {\\n var fname = str.substr(0, op);\\n var params = str.substr(op+1, ep-(op+1)).split(',');\\n var alpha = 1; // To allow case fallthrough.\\n switch (fname) {\\n case 'rgba':\\n if (params.length !== 4) return null;\\n alpha = parse_css_float(params.pop());\\n // Fall through.\\n case 'rgb':\\n if (params.length !== 3) return null;\\n return [parse_css_int(params[0]),\\n parse_css_int(params[1]),\\n parse_css_int(params[2]),\\n alpha];\\n case 'hsla':\\n if (params.length !== 4) return null;\\n alpha = parse_css_float(params.pop());\\n // Fall through.\\n case 'hsl':\\n if (params.length !== 3) return null;\\n var h = (((parseFloat(params[0]) % 360) + 360) % 360) / 360; // 0 .. 1\\n // NOTE(deanm): According to the CSS spec s/l should only be\\n // percentages, but we don't bother and let float or percentage.\\n var s = parse_css_float(params[1]);\\n var l = parse_css_float(params[2]);\\n var m2 = l \u003C= 0.5 ? l * (s + 1) : l + s - l * s;\\n var m1 = l * 2 - m2;\\n return [clamp_css_byte(css_hue_to_rgb(m1, m2, h+1/3) * 255),\\n clamp_css_byte(css_hue_to_rgb(m1, m2, h) * 255),\\n clamp_css_byte(css_hue_to_rgb(m1, m2, h-1/3) * 255),\\n alpha];\\n default:\\n return null;\\n }\\n }\\n\\n return null;\\n}\\n\\ntry { exports.parseCSSColor = parseCSSColor } catch(e) { }\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom.js\":{\"title\":\"$:/core/modules/utils/dom.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nVarious static DOM-related utility functions.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Popup = require(\\\"$:/core/modules/utils/dom/popup.js\\\");\\n\\n/*\\nDetermines whether element 'a' contains element 'b'\\nCode thanks to John Resig, http://ejohn.org/blog/comparing-document-position/\\n*/\\nexports.domContains = function(a,b) {\\n\\treturn a.contains ?\\n\\t\\ta !== b && a.contains(b) :\\n\\t\\t!!(a.compareDocumentPosition(b) & 16);\\n};\\n\\nexports.domMatchesSelector = function(node,selector) {\\n\\treturn node.matches ? node.matches(selector) : node.msMatchesSelector(selector);\\n};\\n\\n/*\\nSelect text in a an input or textarea (setSelectionRange crashes on certain input types)\\n*/\\nexports.setSelectionRangeSafe = function(node,start,end,direction) {\\n\\ttry {\\n\\t\\tnode.setSelectionRange(start,end,direction);\\n\\t} catch(e) {\\n\\t\\tnode.select();\\n\\t}\\n};\\n\\n/*\\nSelect the text in an input or textarea by position\\n*/\\nexports.setSelectionByPosition = function(node,selectFromStart,selectFromEnd) {\\n\\t$tw.utils.setSelectionRangeSafe(node,selectFromStart,node.value.length - selectFromEnd);\\n};\\n\\nexports.removeChildren = function(node) {\\n\\twhile(node.hasChildNodes()) {\\n\\t\\tnode.removeChild(node.firstChild);\\n\\t}\\n};\\n\\nexports.hasClass = function(el,className) {\\n\\treturn el && el.hasAttribute && el.hasAttribute(\\\"class\\\") && el.getAttribute(\\\"class\\\").split(\\\" \\\").indexOf(className) !== -1;\\n};\\n\\nexports.addClass = function(el,className) {\\n\\tvar c = (el.getAttribute(\\\"class\\\") || \\\"\\\").split(\\\" \\\");\\n\\tif(c.indexOf(className) === -1) {\\n\\t\\tc.push(className);\\n\\t\\tel.setAttribute(\\\"class\\\",c.join(\\\" \\\"));\\n\\t}\\n};\\n\\nexports.removeClass = function(el,className) {\\n\\tvar c = (el.getAttribute(\\\"class\\\") || \\\"\\\").split(\\\" \\\"),\\n\\t\\tp = c.indexOf(className);\\n\\tif(p !== -1) {\\n\\t\\tc.splice(p,1);\\n\\t\\tel.setAttribute(\\\"class\\\",c.join(\\\" \\\"));\\n\\t}\\n};\\n\\nexports.toggleClass = function(el,className,status) {\\n\\tif(status === undefined) {\\n\\t\\tstatus = !exports.hasClass(el,className);\\n\\t}\\n\\tif(status) {\\n\\t\\texports.addClass(el,className);\\n\\t} else {\\n\\t\\texports.removeClass(el,className);\\n\\t}\\n};\\n\\n/*\\nGet the first parent element that has scrollbars or use the body as fallback.\\n*/\\nexports.getScrollContainer = function(el) {\\n\\tvar doc = el.ownerDocument;\\n\\twhile(el.parentNode) {\\n\\t\\tel = el.parentNode;\\n\\t\\tif(el.scrollTop) {\\n\\t\\t\\treturn el;\\n\\t\\t}\\n\\t}\\n\\treturn doc.body;\\n};\\n\\n/*\\nGet the scroll position of the viewport\\nReturns:\\n\\t{\\n\\t\\tx: horizontal scroll position in pixels,\\n\\t\\ty: vertical scroll position in pixels\\n\\t}\\n*/\\nexports.getScrollPosition = function(srcWindow) {\\n\\tvar scrollWindow = srcWindow || window;\\n\\tif(\\\"scrollX\\\" in scrollWindow) {\\n\\t\\treturn {x: scrollWindow.scrollX, y: scrollWindow.scrollY};\\n\\t} else {\\n\\t\\treturn {x: scrollWindow.document.documentElement.scrollLeft, y: scrollWindow.document.documentElement.scrollTop};\\n\\t}\\n};\\n\\n/*\\nAdjust the height of a textarea to fit its content, preserving scroll position, and return the height\\n*/\\nexports.resizeTextAreaToFit = function(domNode,minHeight) {\\n\\t// Get the scroll container and register the current scroll position\\n\\tvar container = $tw.utils.getScrollContainer(domNode),\\n\\t\\tscrollTop = container.scrollTop;\\n // Measure the specified minimum height\\n\\tdomNode.style.height = minHeight;\\n\\tvar measuredHeight = domNode.offsetHeight || parseInt(minHeight,10);\\n\\t// Set its height to auto so that it snaps to the correct height\\n\\tdomNode.style.height = \\\"auto\\\";\\n\\t// Calculate the revised height\\n\\tvar newHeight = Math.max(domNode.scrollHeight + domNode.offsetHeight - domNode.clientHeight,measuredHeight);\\n\\t// Only try to change the height if it has changed\\n\\tif(newHeight !== domNode.offsetHeight) {\\n\\t\\tdomNode.style.height = newHeight + \\\"px\\\";\\n\\t\\t// Make sure that the dimensions of the textarea are recalculated\\n\\t\\t$tw.utils.forceLayout(domNode);\\n\\t\\t// Set the container to the position we registered at the beginning\\n\\t\\tcontainer.scrollTop = scrollTop;\\n\\t}\\n\\treturn newHeight;\\n};\\n\\n/*\\nGets the bounding rectangle of an element in absolute page coordinates\\n*/\\nexports.getBoundingPageRect = function(element) {\\n\\tvar scrollPos = $tw.utils.getScrollPosition(element.ownerDocument.defaultView),\\n\\t\\tclientRect = element.getBoundingClientRect();\\n\\treturn {\\n\\t\\tleft: clientRect.left + scrollPos.x,\\n\\t\\twidth: clientRect.width,\\n\\t\\tright: clientRect.right + scrollPos.x,\\n\\t\\ttop: clientRect.top + scrollPos.y,\\n\\t\\theight: clientRect.height,\\n\\t\\tbottom: clientRect.bottom + scrollPos.y\\n\\t};\\n};\\n\\n/*\\nSaves a named password in the browser\\n*/\\nexports.savePassword = function(name,password) {\\n\\tvar done = false;\\n\\ttry {\\n\\t\\twindow.localStorage.setItem(\\\"tw5-password-\\\" + name,password);\\n\\t\\tdone = true;\\n\\t} catch(e) {\\n\\t}\\n\\tif(!done) {\\n\\t\\t$tw.savedPasswords = $tw.savedPasswords || Object.create(null);\\n\\t\\t$tw.savedPasswords[name] = password;\\n\\t}\\n};\\n\\n/*\\nRetrieve a named password from the browser\\n*/\\nexports.getPassword = function(name) {\\n\\tvar value;\\n\\ttry {\\n\\t\\tvalue = window.localStorage.getItem(\\\"tw5-password-\\\" + name);\\n\\t} catch(e) {\\n\\t}\\n\\tif(value !== undefined) {\\n\\t\\treturn value;\\n\\t} else {\\n\\t\\treturn ($tw.savedPasswords || Object.create(null))[name] || \\\"\\\";\\n\\t}\\n};\\n\\n/*\\nForce layout of a dom node and its descendents\\n*/\\nexports.forceLayout = function(element) {\\n\\tvar dummy = element.offsetWidth;\\n};\\n\\n/*\\nPulse an element for debugging purposes\\n*/\\nexports.pulseElement = function(element) {\\n\\t// Event handler to remove the class at the end\\n\\telement.addEventListener($tw.browser.animationEnd,function handler(event) {\\n\\t\\telement.removeEventListener($tw.browser.animationEnd,handler,false);\\n\\t\\t$tw.utils.removeClass(element,\\\"pulse\\\");\\n\\t},false);\\n\\t// Apply the pulse class\\n\\t$tw.utils.removeClass(element,\\\"pulse\\\");\\n\\t$tw.utils.forceLayout(element);\\n\\t$tw.utils.addClass(element,\\\"pulse\\\");\\n};\\n\\n/*\\nAttach specified event handlers to a DOM node\\ndomNode: where to attach the event handlers\\nevents: array of event handlers to be added (see below)\\nEach entry in the events array is an object with these properties:\\nhandlerFunction: optional event handler function\\nhandlerObject: optional event handler object\\nhandlerMethod: optionally specifies object handler method name (defaults to `handleEvent`)\\n*/\\nexports.addEventListeners = function(domNode,events) {\\n\\t$tw.utils.each(events,function(eventInfo) {\\n\\t\\tvar handler;\\n\\t\\tif(eventInfo.handlerFunction) {\\n\\t\\t\\thandler = eventInfo.handlerFunction;\\n\\t\\t} else if(eventInfo.handlerObject) {\\n\\t\\t\\tif(eventInfo.handlerMethod) {\\n\\t\\t\\t\\thandler = function(event) {\\n\\t\\t\\t\\t\\teventInfo.handlerObject[eventInfo.handlerMethod].call(eventInfo.handlerObject,event);\\n\\t\\t\\t\\t};\\n\\t\\t\\t} else {\\n\\t\\t\\t\\thandler = eventInfo.handlerObject;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tdomNode.addEventListener(eventInfo.name,handler,false);\\n\\t});\\n};\\n\\n/*\\nGet the computed styles applied to an element as an array of strings of individual CSS properties\\n*/\\nexports.getComputedStyles = function(domNode) {\\n\\tvar textAreaStyles = window.getComputedStyle(domNode,null),\\n\\t\\tstyleDefs = [],\\n\\t\\tname;\\n\\tfor(var t=0; t\u003CtextAreaStyles.length; t++) {\\n\\t\\tname = textAreaStyles[t];\\n\\t\\tstyleDefs.push(name + \\\": \\\" + textAreaStyles.getPropertyValue(name) + \\\";\\\");\\n\\t}\\n\\treturn styleDefs;\\n};\\n\\n/*\\nApply a set of styles passed as an array of strings of individual CSS properties\\n*/\\nexports.setStyles = function(domNode,styleDefs) {\\n\\tdomNode.style.cssText = styleDefs.join(\\\"\\\");\\n};\\n\\n/*\\nCopy the computed styles from a source element to a destination element\\n*/\\nexports.copyStyles = function(srcDomNode,dstDomNode) {\\n\\t$tw.utils.setStyles(dstDomNode,$tw.utils.getComputedStyles(srcDomNode));\\n};\\n\\n/*\\nCopy plain text to the clipboard on browsers that support it\\n*/\\nexports.copyToClipboard = function(text,options) {\\n\\toptions = options || {};\\n\\tvar textArea = document.createElement(\\\"textarea\\\");\\n\\ttextArea.style.position = \\\"fixed\\\";\\n\\ttextArea.style.top = 0;\\n\\ttextArea.style.left = 0;\\n\\ttextArea.style.fontSize = \\\"12pt\\\";\\n\\ttextArea.style.width = \\\"2em\\\";\\n\\ttextArea.style.height = \\\"2em\\\";\\n\\ttextArea.style.padding = 0;\\n\\ttextArea.style.border = \\\"none\\\";\\n\\ttextArea.style.outline = \\\"none\\\";\\n\\ttextArea.style.boxShadow = \\\"none\\\";\\n\\ttextArea.style.background = \\\"transparent\\\";\\n\\ttextArea.value = text;\\n\\tdocument.body.appendChild(textArea);\\n\\ttextArea.select();\\n\\ttextArea.setSelectionRange(0,text.length);\\n\\tvar succeeded = false;\\n\\ttry {\\n\\t\\tsucceeded = document.execCommand(\\\"copy\\\");\\n\\t} catch (err) {\\n\\t}\\n\\tif(!options.doNotNotify) {\\n\\t\\t$tw.notifier.display(succeeded ? \\\"$:/language/Notifications/CopiedToClipboard/Succeeded\\\" : \\\"$:/language/Notifications/CopiedToClipboard/Failed\\\");\\n\\t}\\n\\tdocument.body.removeChild(textArea);\\n};\\n\\nexports.getLocationPath = function() {\\n\\treturn window.location.toString().split(\\\"#\\\")[0];\\n};\\n\\n/*\\nCollect DOM variables\\n*/\\nexports.collectDOMVariables = function(selectedNode,domNode,event) {\\n\\tvar variables = {},\\n\\t selectedNodeRect,\\n\\t domNodeRect;\\n\\tif(selectedNode) {\\n\\t\\t$tw.utils.each(selectedNode.attributes,function(attribute) {\\n\\t\\t\\tvariables[\\\"dom-\\\" + attribute.name] = attribute.value.toString();\\n\\t\\t});\\n\\t\\t\\n\\t\\tif(selectedNode.offsetLeft) {\\n\\t\\t\\t// Add variables with a (relative and absolute) popup coordinate string for the selected node\\n\\t\\t\\tvar nodeRect = {\\n\\t\\t\\t\\tleft: selectedNode.offsetLeft,\\n\\t\\t\\t\\ttop: selectedNode.offsetTop,\\n\\t\\t\\t\\twidth: selectedNode.offsetWidth,\\n\\t\\t\\t\\theight: selectedNode.offsetHeight\\n\\t\\t\\t};\\n\\t\\t\\tvariables[\\\"tv-popup-coords\\\"] = Popup.buildCoordinates(Popup.coordinatePrefix.csOffsetParent,nodeRect);\\n\\n\\t\\t\\tvar absRect = $tw.utils.extend({}, nodeRect);\\n\\t\\t\\tfor (var currentNode = selectedNode.offsetParent; currentNode; currentNode = currentNode.offsetParent) {\\n\\t\\t\\t\\tabsRect.left += currentNode.offsetLeft;\\n\\t\\t\\t\\tabsRect.top += currentNode.offsetTop;\\n\\t\\t\\t}\\n\\t\\t\\tvariables[\\\"tv-popup-abs-coords\\\"] = Popup.buildCoordinates(Popup.coordinatePrefix.csAbsolute,absRect);\\n\\n\\t\\t\\t// Add variables for offset of selected node\\n\\t\\t\\tvariables[\\\"tv-selectednode-posx\\\"] = selectedNode.offsetLeft.toString();\\n\\t\\t\\tvariables[\\\"tv-selectednode-posy\\\"] = selectedNode.offsetTop.toString();\\n\\t\\t\\tvariables[\\\"tv-selectednode-width\\\"] = selectedNode.offsetWidth.toString();\\n\\t\\t\\tvariables[\\\"tv-selectednode-height\\\"] = selectedNode.offsetHeight.toString();\\n\\t\\t}\\n\\t}\\n\\t\\n\\tif(domNode && domNode.offsetWidth) {\\n\\t\\tvariables[\\\"tv-widgetnode-width\\\"] = domNode.offsetWidth.toString();\\n\\t\\tvariables[\\\"tv-widgetnode-height\\\"] = domNode.offsetHeight.toString();\\n\\t}\\n\\n\\tif(event && event.clientX && event.clientY) {\\n\\t\\tif(selectedNode) {\\n\\t\\t\\t// Add variables for event X and Y position relative to selected node\\n\\t\\t\\tselectedNodeRect = selectedNode.getBoundingClientRect();\\n\\t\\t\\tvariables[\\\"event-fromselected-posx\\\"] = (event.clientX - selectedNodeRect.left).toString();\\n\\t\\t\\tvariables[\\\"event-fromselected-posy\\\"] = (event.clientY - selectedNodeRect.top).toString();\\n\\t\\t}\\n\\t\\t\\n\\t\\tif(domNode) {\\n\\t\\t\\t// Add variables for event X and Y position relative to event catcher node\\n\\t\\t\\tdomNodeRect = domNode.getBoundingClientRect();\\n\\t\\t\\tvariables[\\\"event-fromcatcher-posx\\\"] = (event.clientX - domNodeRect.left).toString();\\n\\t\\t\\tvariables[\\\"event-fromcatcher-posy\\\"] = (event.clientY - domNodeRect.top).toString();\\n\\t\\t}\\n\\n\\t\\t// Add variables for event X and Y position relative to the viewport\\n\\t\\tvariables[\\\"event-fromviewport-posx\\\"] = event.clientX.toString();\\n\\t\\tvariables[\\\"event-fromviewport-posy\\\"] = event.clientY.toString();\\n\\t}\\n\\treturn variables;\\n};\\n\\n/*\\nMake sure the CSS selector is not invalid\\n*/\\nexports.querySelectorSafe = function(selector,baseElement) {\\n\\tbaseElement = baseElement || document;\\n\\ttry {\\n\\t\\treturn baseElement.querySelector(selector);\\n\\t} catch(e) {\\n\\t\\tconsole.log(\\\"Invalid selector: \\\",selector);\\n\\t}\\n};\\n\\nexports.querySelectorAllSafe = function(selector,baseElement) {\\n\\tbaseElement = baseElement || document;\\n\\ttry {\\n\\t\\treturn baseElement.querySelectorAll(selector);\\n\\t} catch(e) {\\n\\t\\tconsole.log(\\\"Invalid selector: \\\",selector);\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/dragndrop.js\":{\"title\":\"$:/core/modules/utils/dom/dragndrop.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/dragndrop.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nBrowser data transfer utilities, used with the clipboard and drag and drop\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nOptions:\\n\\ndomNode: dom node to make draggable\\nselector: CSS selector to identify element within domNode to be used as drag handle (optional)\\ndragImageType: \\\"pill\\\", \\\"blank\\\" or \\\"dom\\\" (the default)\\ndragTiddlerFn: optional function to retrieve the title of tiddler to drag\\ndragFilterFn: optional function to retreive the filter defining a list of tiddlers to drag\\nwidget: widget to use as the context for the filter\\n*/\\nexports.makeDraggable = function(options) {\\n\\tvar dragImageType = options.dragImageType || \\\"dom\\\",\\n\\t\\tdragImage,\\n\\t\\tdomNode = options.domNode;\\n\\t// Make the dom node draggable (not necessary for anchor tags)\\n\\tif(!options.selector && ((domNode.tagName || \\\"\\\").toLowerCase() !== \\\"a\\\")) {\\n\\t\\tdomNode.setAttribute(\\\"draggable\\\",\\\"true\\\");\\n\\t}\\n\\t// Add event handlers\\n\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t{name: \\\"dragstart\\\", handlerFunction: function(event) {\\n\\t\\t\\tif(event.dataTransfer === undefined) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\t// Collect the tiddlers being dragged\\n\\t\\t\\tvar dragTiddler = options.dragTiddlerFn && options.dragTiddlerFn(),\\n\\t\\t\\t\\tdragFilter = options.dragFilterFn && options.dragFilterFn(),\\n\\t\\t\\t\\ttitles = dragTiddler ? [dragTiddler] : [],\\n\\t\\t\\t\\tstartActions = options.startActions,\\n\\t\\t\\t\\tvariables,\\n\\t\\t\\t\\tdomNodeRect;\\n\\t\\t\\tif(dragFilter) {\\n\\t\\t\\t\\ttitles.push.apply(titles,options.widget.wiki.filterTiddlers(dragFilter,options.widget));\\n\\t\\t\\t}\\n\\t\\t\\tvar titleString = $tw.utils.stringifyList(titles);\\n\\t\\t\\t// Check that we've something to drag\\n\\t\\t\\tif(titles.length > 0 && (options.selector && $tw.utils.domMatchesSelector(event.target,options.selector) || event.target === domNode)) {\\n\\t\\t\\t\\t// Mark the drag in progress\\n\\t\\t\\t\\t$tw.dragInProgress = domNode;\\n\\t\\t\\t\\t// Set the dragging class on the element being dragged\\n\\t\\t\\t\\t$tw.utils.addClass(domNode,\\\"tc-dragging\\\");\\n\\t\\t\\t\\t// Invoke drag-start actions if given\\n\\t\\t\\t\\tif(startActions !== undefined) {\\n\\t\\t\\t\\t\\t// Collect our variables\\n\\t\\t\\t\\t\\tvariables = $tw.utils.collectDOMVariables(domNode,null,event);\\n\\t\\t\\t\\t\\tvariables.modifier = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\t\\t\\t\\tvariables[\\\"actionTiddler\\\"] = titleString;\\n\\t\\t\\t\\t\\toptions.widget.invokeActionString(startActions,options.widget,event,variables);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Create the drag image elements\\n\\t\\t\\t\\tdragImage = options.widget.document.createElement(\\\"div\\\");\\n\\t\\t\\t\\tdragImage.className = \\\"tc-tiddler-dragger\\\";\\n\\t\\t\\t\\tvar inner = options.widget.document.createElement(\\\"div\\\");\\n\\t\\t\\t\\tinner.className = \\\"tc-tiddler-dragger-inner\\\";\\n\\t\\t\\t\\tinner.appendChild(options.widget.document.createTextNode(\\n\\t\\t\\t\\t\\ttitles.length === 1 ? \\n\\t\\t\\t\\t\\t\\ttitles[0] :\\n\\t\\t\\t\\t\\t\\ttitles.length + \\\" tiddlers\\\"\\n\\t\\t\\t\\t));\\n\\t\\t\\t\\tdragImage.appendChild(inner);\\n\\t\\t\\t\\toptions.widget.document.body.appendChild(dragImage);\\n\\t\\t\\t\\t// Set the data transfer properties\\n\\t\\t\\t\\tvar dataTransfer = event.dataTransfer;\\n\\t\\t\\t\\t// Set up the image\\n\\t\\t\\t\\tdataTransfer.effectAllowed = \\\"all\\\";\\n\\t\\t\\t\\tif(dataTransfer.setDragImage) {\\n\\t\\t\\t\\t\\tif(dragImageType === \\\"pill\\\") {\\n\\t\\t\\t\\t\\t\\tdataTransfer.setDragImage(dragImage.firstChild,-16,-16);\\n\\t\\t\\t\\t\\t} else if(dragImageType === \\\"blank\\\") {\\n\\t\\t\\t\\t\\t\\tdragImage.removeChild(dragImage.firstChild);\\n\\t\\t\\t\\t\\t\\tdataTransfer.setDragImage(dragImage,0,0);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tvar r = domNode.getBoundingClientRect();\\n\\t\\t\\t\\t\\t\\tdataTransfer.setDragImage(domNode,event.clientX-r.left,event.clientY-r.top);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Set up the data transfer\\n\\t\\t\\t\\tif(dataTransfer.clearData) {\\n\\t\\t\\t\\t\\tdataTransfer.clearData();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar jsonData = [];\\n\\t\\t\\t\\tif(titles.length > 1) {\\n\\t\\t\\t\\t\\ttitles.forEach(function(title) {\\n\\t\\t\\t\\t\\t\\tjsonData.push(options.widget.wiki.getTiddlerAsJson(title));\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\tjsonData = \\\"[\\\" + jsonData.join(\\\",\\\") + \\\"]\\\";\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tjsonData = options.widget.wiki.getTiddlerAsJson(titles[0]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// IE doesn't like these content types\\n\\t\\t\\t\\tif(!$tw.browser.isIE) {\\n\\t\\t\\t\\t\\tdataTransfer.setData(\\\"text/vnd.tiddler\\\",jsonData);\\n\\t\\t\\t\\t\\tdataTransfer.setData(\\\"text/plain\\\",titleString);\\n\\t\\t\\t\\t\\tdataTransfer.setData(\\\"text/x-moz-url\\\",\\\"data:text/vnd.tiddler,\\\" + encodeURIComponent(jsonData));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// If browser is Chrome-like and has a touch-input device do NOT .setData\\n\\t\\t\\t\\tif(!($tw.browser.isMobileChrome)) {\\n\\t\\t\\t\\t\\tdataTransfer.setData(\\\"URL\\\",\\\"data:text/vnd.tiddler,\\\" + encodeURIComponent(jsonData));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tdataTransfer.setData(\\\"Text\\\",titleString);\\n\\t\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\t}\\n\\t\\t\\treturn false;\\n\\t\\t}},\\n\\t\\t{name: \\\"dragend\\\", handlerFunction: function(event) {\\n\\t\\t\\tif((options.selector && $tw.utils.domMatchesSelector(event.target,options.selector)) || event.target === domNode) {\\n\\t\\t\\t\\t// Collect the tiddlers being dragged\\n\\t\\t\\t\\tvar dragTiddler = options.dragTiddlerFn && options.dragTiddlerFn(),\\n\\t\\t\\t\\t\\tdragFilter = options.dragFilterFn && options.dragFilterFn(),\\n\\t\\t\\t\\t\\ttitles = dragTiddler ? [dragTiddler] : [],\\n\\t\\t\\t\\t\\tendActions = options.endActions,\\n\\t\\t\\t\\t\\tvariables;\\n\\t\\t\\t\\tif(dragFilter) {\\n\\t\\t\\t\\t\\ttitles.push.apply(titles,options.widget.wiki.filterTiddlers(dragFilter,options.widget));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar titleString = $tw.utils.stringifyList(titles);\\n\\t\\t\\t\\t$tw.dragInProgress = null;\\n\\t\\t\\t\\t// Invoke drag-end actions if given\\n\\t\\t\\t\\tif(endActions !== undefined) {\\n\\t\\t\\t\\t\\tvariables = $tw.utils.collectDOMVariables(domNode,null,event);\\n\\t\\t\\t\\t\\tvariables.modifier = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\t\\t\\t\\tvariables[\\\"actionTiddler\\\"] = titleString;\\n\\t\\t\\t\\t\\toptions.widget.invokeActionString(endActions,options.widget,event,variables);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Remove the dragging class on the element being dragged\\n\\t\\t\\t\\t$tw.utils.removeClass(domNode,\\\"tc-dragging\\\");\\n\\t\\t\\t\\t// Delete the drag image element\\n\\t\\t\\t\\tif(dragImage) {\\n\\t\\t\\t\\t\\tdragImage.parentNode.removeChild(dragImage);\\n\\t\\t\\t\\t\\tdragImage = null;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\treturn false;\\n\\t\\t}}\\n\\t]);\\n};\\n\\nexports.importDataTransfer = function(dataTransfer,fallbackTitle,callback) {\\n\\t// Try each provided data type in turn\\n\\tif($tw.log.IMPORT) {\\n\\t\\tconsole.log(\\\"Available data types:\\\");\\n\\t\\tfor(var type=0; type\u003CdataTransfer.types.length; type++) {\\n\\t\\t\\tconsole.log(\\\"type\\\",dataTransfer.types[type],dataTransfer.getData(dataTransfer.types[type]))\\n\\t\\t}\\n\\t}\\n\\tfor(var t=0; t\u003CimportDataTypes.length; t++) {\\n\\t\\tif(!$tw.browser.isIE || importDataTypes[t].IECompatible) {\\n\\t\\t\\t// Get the data\\n\\t\\t\\tvar dataType = importDataTypes[t];\\n\\t\\t\\tvar data = dataTransfer.getData(dataType.type);\\n\\t\\t\\t// Import the tiddlers in the data\\n\\t\\t\\tif(data !== \\\"\\\" && data !== null) {\\n\\t\\t\\t\\tif($tw.log.IMPORT) {\\n\\t\\t\\t\\t\\tconsole.log(\\\"Importing data type '\\\" + dataType.type + \\\"', data: '\\\" + data + \\\"'\\\")\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar tiddlerFields = dataType.toTiddlerFieldsArray(data,fallbackTitle);\\n\\t\\t\\t\\tcallback(tiddlerFields);\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.importPaste = function(item,fallbackTitle,callback) {\\n\\t// Try each provided data type in turn\\n\\tfor(var t=0; t\u003CimportDataTypes.length; t++) {\\n\\t\\tif(item.type === importDataTypes[t].type) {\\n\\t\\t\\t// Get the data\\n\\t\\t\\tvar dataType = importDataTypes[t];\\n\\n\\t\\t\\titem.getAsString(function(data){\\n\\t\\t\\t\\tif($tw.log.IMPORT) {\\n\\t\\t\\t\\t\\tconsole.log(\\\"Importing data type '\\\" + dataType.type + \\\"', data: '\\\" + data + \\\"'\\\")\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar tiddlerFields = dataType.toTiddlerFieldsArray(data,fallbackTitle);\\n\\t\\t\\t\\tcallback(tiddlerFields);\\n\\t\\t\\t});\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.itemHasValidDataType = function(item) {\\n\\tfor(var t=0; t\u003CimportDataTypes.length; t++) {\\n\\t\\tif(!$tw.browser.isIE || importDataTypes[t].IECompatible) {\\n\\t\\t\\tif(item.type === importDataTypes[t].type) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n}\\n\\nvar importDataTypes = [\\n\\t{type: \\\"text/vnd.tiddler\\\", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\treturn parseJSONTiddlers(data,fallbackTitle);\\n\\t}},\\n\\t{type: \\\"URL\\\", IECompatible: true, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\t// Check for tiddler data URI\\n\\t\\tvar match = $tw.utils.decodeURIComponentSafe(data).match(/^data\\\\:text\\\\/vnd\\\\.tiddler,(.*)/i);\\n\\t\\tif(match) {\\n\\t\\t\\treturn parseJSONTiddlers(match[1],fallbackTitle);\\n\\t\\t} else {\\n\\t\\t\\treturn [{title: fallbackTitle, text: data}]; // As URL string\\n\\t\\t}\\n\\t}},\\n\\t{type: \\\"text/x-moz-url\\\", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\t// Check for tiddler data URI\\n\\t\\tvar match = $tw.utils.decodeURIComponentSafe(data).match(/^data\\\\:text\\\\/vnd\\\\.tiddler,(.*)/i);\\n\\t\\tif(match) {\\n\\t\\t\\treturn parseJSONTiddlers(match[1],fallbackTitle);\\n\\t\\t} else {\\n\\t\\t\\treturn [{title: fallbackTitle, text: data}]; // As URL string\\n\\t\\t}\\n\\t}},\\n\\t{type: \\\"text/html\\\", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\treturn [{title: fallbackTitle, text: data}];\\n\\t}},\\n\\t{type: \\\"text/plain\\\", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\treturn [{title: fallbackTitle, text: data}];\\n\\t}},\\n\\t{type: \\\"Text\\\", IECompatible: true, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\treturn [{title: fallbackTitle, text: data}];\\n\\t}},\\n\\t{type: \\\"text/uri-list\\\", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {\\n\\t\\t// Check for tiddler data URI\\n\\t\\tvar match = $tw.utils.decodeURIComponentSafe(data).match(/^data\\\\:text\\\\/vnd\\\\.tiddler,(.*)/i);\\n\\t\\tif(match) {\\n\\t\\t\\treturn parseJSONTiddlers(match[1],fallbackTitle);\\n\\t\\t} else {\\n\\t\\t\\treturn [{title: fallbackTitle, text: data}]; // As URL string\\n\\t\\t}\\n\\t}}\\n];\\n\\nfunction parseJSONTiddlers(json,fallbackTitle) {\\n\\tvar data = $tw.utils.parseJSONSafe(json);\\n\\tif(!$tw.utils.isArray(data)) {\\n\\t\\tdata = [data];\\n\\t}\\n\\tdata.forEach(function(fields) {\\n\\t\\tfields.title = fields.title || fallbackTitle;\\n\\t});\\n\\treturn data;\\n};\\n\\nfunction dragEventContainsType(event,targetType) {\\n\\tif(event.dataTransfer.types) {\\n\\t\\tfor(var i=0; i\u003Cevent.dataTransfer.types.length; i++) {\\n\\t\\t\\tif(event.dataTransfer.types[i] === targetType) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\nexports.dragEventContainsFiles = function(event) {\\n\\treturn (dragEventContainsType(event,\\\"Files\\\") && !dragEventContainsType(event,\\\"text/plain\\\"));\\n};\\n\\nexports.dragEventContainsType = dragEventContainsType;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/http.js\":{\"title\":\"$:/core/modules/utils/dom/http.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/http.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nHTTP support\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nManage tm-http-request events. Options include:\\nwiki: Reference to the wiki to be used for state tiddler tracking\\nstateTrackerTitle: Title of tiddler to be used for state tiddler tracking\\n*/\\nfunction HttpClient(options) {\\n\\toptions = options || {};\\n\\tthis.nextId = 1;\\n\\tthis.wiki = options.wiki || $tw.wiki;\\n\\tthis.stateTrackerTitle = options.stateTrackerTitle || \\\"$:/state/http-requests\\\";\\n\\tthis.requests = []; // Array of {id: string,request: HttpClientRequest}\\n\\tthis.updateRequestTracker();\\n}\\n\\n/*\\nReturn the index into this.requests[] corresponding to a given ID. Returns null if not found\\n*/\\nHttpClient.prototype.getRequestIndex = function(targetId) {\\n\\tvar targetIndex = null;\\n\\t$tw.utils.each(this.requests,function(requestInfo,index) {\\n\\t\\tif(requestInfo.id === targetId) {\\n\\t\\t\\ttargetIndex = index;\\n\\t\\t}\\n\\t});\\n\\treturn targetIndex;\\n};\\n\\n/*\\nUpdate the state tiddler that is tracking the outstanding requests\\n*/\\nHttpClient.prototype.updateRequestTracker = function() {\\n\\tthis.wiki.addTiddler({title: this.stateTrackerTitle, text: \\\"\\\" + this.requests.length});\\n};\\n\\nHttpClient.prototype.initiateHttpRequest = function(options) {\\n\\tvar self = this,\\n\\t\\tid = this.nextId,\\n\\t\\trequest = new HttpClientRequest(options);\\n\\tthis.nextId += 1;\\n\\tthis.requests.push({id: id, request: request});\\n\\tthis.updateRequestTracker();\\n\\trequest.send(function(err) {\\n\\t\\tvar targetIndex = self.getRequestIndex(id);\\n\\t\\tif(targetIndex !== null) {\\n\\t\\t\\tself.requests.splice(targetIndex,1);\\n\\t\\t\\tself.updateRequestTracker();\\n\\t\\t}\\n\\t});\\n\\treturn id;\\n};\\n\\nHttpClient.prototype.cancelAllHttpRequests = function() {\\n\\tvar self = this;\\n\\tif(this.requests.length > 0) {\\n\\t\\tfor(var t=this.requests.length - 1; t--; t>=0) {\\n\\t\\t\\tvar requestInfo = this.requests[t];\\n\\t\\t\\trequestInfo.request.cancel();\\n\\t\\t}\\t\\n\\t}\\n\\tthis.requests = [];\\n\\tthis.updateRequestTracker();\\n};\\n\\nHttpClient.prototype.cancelHttpRequest = function(targetId) {\\n\\tvar targetIndex = this.getRequestIndex(targetId);\\n\\tif(targetIndex !== null) {\\n\\t\\tthis.requests[targetIndex].request.cancel();\\n\\t\\tthis.requests.splice(targetIndex,1);\\n\\t\\tthis.updateRequestTracker();\\n\\t}\\n};\\n\\n/*\\nInitiate an HTTP request. Options:\\nwiki: wiki to be used for executing action strings\\nurl: URL for request\\nmethod: method eg GET, POST\\nbody: text of request body\\nbinary: set to \\\"yes\\\" to force binary processing of response payload\\noncompletion: action string to be invoked on completion\\nonprogress: action string to be invoked on progress updates\\nbindStatus: optional title of tiddler to which status (\\\"pending\\\", \\\"complete\\\", \\\"error\\\") should be written\\nbindProgress: optional title of tiddler to which the progress of the request (0 to 100) should be bound\\nvariables: hashmap of variable name to string value passed to action strings\\nheaders: hashmap of header name to header value to be sent with the request\\npasswordHeaders: hashmap of header name to password store name to be sent with the request\\nqueryStrings: hashmap of query string parameter name to parameter value to be sent with the request\\npasswordQueryStrings: hashmap of query string parameter name to password store name to be sent with the request\\n*/\\nfunction HttpClientRequest(options) {\\n\\tvar self = this;\\n\\tconsole.log(\\\"Initiating an HTTP request\\\",options)\\n\\tthis.wiki = options.wiki;\\n\\tthis.completionActions = options.oncompletion;\\n\\tthis.progressActions = options.onprogress;\\n\\tthis.bindStatus = options[\\\"bindStatus\\\"];\\n\\tthis.bindProgress = options[\\\"bindProgress\\\"];\\n\\tthis.method = options.method || \\\"GET\\\";\\n\\tthis.body = options.body || \\\"\\\";\\n\\tthis.binary = options.binary || \\\"\\\";\\n\\tthis.variables = options.variables;\\n\\tvar url = options.url;\\n\\t$tw.utils.each(options.queryStrings,function(value,name) {\\n\\t\\turl = $tw.utils.setQueryStringParameter(url,name,value);\\n\\t});\\n\\t$tw.utils.each(options.passwordQueryStrings,function(value,name) {\\n\\t\\turl = $tw.utils.setQueryStringParameter(url,name,$tw.utils.getPassword(value) || \\\"\\\");\\n\\t});\\n\\tthis.url = url;\\n\\tthis.requestHeaders = {};\\n\\t$tw.utils.each(options.headers,function(value,name) {\\n\\t\\tself.requestHeaders[name] = value;\\n\\t});\\n\\t$tw.utils.each(options.passwordHeaders,function(value,name) {\\n\\t\\tself.requestHeaders[name] = $tw.utils.getPassword(value) || \\\"\\\";\\n\\t});\\n}\\n\\nHttpClientRequest.prototype.send = function(callback) {\\n\\tvar self = this,\\n\\t\\tsetBinding = function(title,text) {\\n\\t\\t\\tif(title) {\\n\\t\\t\\t\\tself.wiki.addTiddler(new $tw.Tiddler({title: title, text: text}));\\n\\t\\t\\t}\\n\\t\\t};\\n\\tif(this.url) {\\n\\t\\tsetBinding(this.bindStatus,\\\"pending\\\");\\n\\t\\tsetBinding(this.bindProgress,\\\"0\\\");\\n\\t\\t// Set the request tracker tiddler\\n\\t\\tvar requestTrackerTitle = this.wiki.generateNewTitle(\\\"$:/temp/HttpRequest\\\");\\n\\t\\tthis.wiki.addTiddler({\\n\\t\\t\\ttitle: requestTrackerTitle,\\n\\t\\t\\ttags: \\\"$:/tags/HttpRequest\\\",\\n\\t\\t\\ttext: JSON.stringify({\\n\\t\\t\\t\\turl: this.url,\\n\\t\\t\\t\\ttype: this.method,\\n\\t\\t\\t\\tstatus: \\\"inprogress\\\",\\n\\t\\t\\t\\theaders: this.requestHeaders,\\n\\t\\t\\t\\tdata: this.body\\n\\t\\t\\t})\\n\\t\\t});\\n\\t\\tthis.xhr = $tw.utils.httpRequest({\\n\\t\\t\\turl: this.url,\\n\\t\\t\\ttype: this.method,\\n\\t\\t\\theaders: this.requestHeaders,\\n\\t\\t\\tdata: this.body,\\n\\t\\t\\treturnProp: this.binary === \\\"\\\" ? \\\"responseText\\\" : \\\"response\\\",\\n\\t\\t\\tresponseType: this.binary === \\\"\\\" ? \\\"text\\\" : \\\"arraybuffer\\\",\\n\\t\\t\\tcallback: function(err,data,xhr) {\\n\\t\\t\\t\\tvar hasSucceeded = xhr.status >= 200 && xhr.status \u003C 300,\\n\\t\\t\\t\\t\\tcompletionCode = hasSucceeded ? \\\"complete\\\" : \\\"error\\\",\\n\\t\\t\\t\\t\\theaders = {};\\n\\t\\t\\t\\t$tw.utils.each(xhr.getAllResponseHeaders().split(\\\"\\\\r\\\\n\\\"),function(line) {\\n\\t\\t\\t\\t\\tvar pos = line.indexOf(\\\":\\\");\\n\\t\\t\\t\\t\\tif(pos !== -1) {\\n\\t\\t\\t\\t\\t\\theaders[line.substr(0,pos)] = line.substr(pos + 1).trim();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tsetBinding(self.bindStatus,completionCode);\\n\\t\\t\\t\\tsetBinding(self.bindProgress,\\\"100\\\");\\n\\t\\t\\t\\tvar resultVariables = {\\n\\t\\t\\t\\t\\tstatus: xhr.status.toString(),\\n\\t\\t\\t\\t\\tstatusText: xhr.statusText,\\n\\t\\t\\t\\t\\terror: (err || \\\"\\\").toString(),\\n\\t\\t\\t\\t\\tdata: (data || \\\"\\\").toString(),\\n\\t\\t\\t\\t\\theaders: JSON.stringify(headers)\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\t/* Convert data from binary to base64 */\\n\\t\\t\\t\\tif (xhr.responseType === \\\"arraybuffer\\\") {\\n\\t\\t\\t\\t\\tvar binary = \\\"\\\",\\n\\t\\t\\t\\t\\t\\tbytes = new Uint8Array(data),\\n\\t\\t\\t\\t\\t\\tlen = bytes.byteLength;\\n\\t\\t\\t\\t\\tfor (var i=0; i\u003Clen; i++) {\\n\\t\\t\\t\\t\\t\\tbinary += String.fromCharCode(bytes[i]);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tresultVariables.data = window.btoa(binary);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tself.wiki.addTiddler(new $tw.Tiddler(self.wiki.getTiddler(requestTrackerTitle),{\\n\\t\\t\\t\\t\\tstatus: completionCode,\\n\\t\\t\\t\\t}));\\n\\t\\t\\t\\tself.wiki.invokeActionString(self.completionActions,undefined,$tw.utils.extend({},self.variables,resultVariables),{parentWidget: $tw.rootWidget});\\n\\t\\t\\t\\tcallback(hasSucceeded ? null : xhr.statusText);\\n\\t\\t\\t\\t// console.log(\\\"Back!\\\",err,data,xhr);\\n\\t\\t\\t},\\n\\t\\t\\tprogress: function(lengthComputable,loaded,total) {\\n\\t\\t\\t\\tif(lengthComputable) {\\n\\t\\t\\t\\t\\tsetBinding(self.bindProgress,\\\"\\\" + Math.floor((loaded/total) * 100))\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tself.wiki.invokeActionString(self.progressActions,undefined,{\\n\\t\\t\\t\\t\\tlengthComputable: lengthComputable ? \\\"yes\\\" : \\\"no\\\",\\n\\t\\t\\t\\t\\tloaded: loaded,\\n\\t\\t\\t\\t\\ttotal: total\\n\\t\\t\\t\\t},{parentWidget: $tw.rootWidget});\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\nHttpClientRequest.prototype.cancel = function() {\\n\\tif(this.xhr) {\\n\\t\\tthis.xhr.abort();\\n\\t}\\n};\\n\\nexports.HttpClient = HttpClient;\\n\\n/*\\nMake an HTTP request. Options are:\\n\\turl: URL to retrieve\\n\\theaders: hashmap of headers to send\\n\\ttype: GET, PUT, POST etc\\n\\tcallback: function invoked with (err,data,xhr)\\n\\tprogress: optional function invoked with (lengthComputable,loaded,total)\\n\\treturnProp: string name of the property to return as first argument of callback\\n\\tresponseType: \\\"text\\\" or \\\"arraybuffer\\\"\\n*/\\nexports.httpRequest = function(options) {\\n\\tvar type = options.type || \\\"GET\\\",\\n\\t\\turl = options.url,\\n\\t\\theaders = options.headers || {accept: \\\"application/json\\\"},\\n\\t\\thasHeader = function(targetHeader) {\\n\\t\\t\\ttargetHeader = targetHeader.toLowerCase();\\n\\t\\t\\tvar result = false;\\n\\t\\t\\t$tw.utils.each(headers,function(header,headerTitle,object) {\\n\\t\\t\\t\\tif(headerTitle.toLowerCase() === targetHeader) {\\n\\t\\t\\t\\t\\tresult = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\treturn result;\\n\\t\\t},\\n\\t\\tgetHeader = function(targetHeader) {\\n\\t\\t\\treturn headers[targetHeader] || headers[targetHeader.toLowerCase()];\\n\\t\\t},\\n\\t\\tisSimpleRequest = function(type,headers) {\\n\\t\\t\\tif([\\\"GET\\\",\\\"HEAD\\\",\\\"POST\\\"].indexOf(type) === -1) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\tfor(var header in headers) {\\n\\t\\t\\t\\tif([\\\"accept\\\",\\\"accept-language\\\",\\\"content-language\\\",\\\"content-type\\\"].indexOf(header.toLowerCase()) === -1) {\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(hasHeader(\\\"Content-Type\\\") && [\\\"application/x-www-form-urlencoded\\\",\\\"multipart/form-data\\\",\\\"text/plain\\\"].indexOf(getHeader[\\\"Content-Type\\\"]) === -1) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\treturn true;\\t\\n\\t\\t},\\n\\t\\treturnProp = options.returnProp || \\\"responseText\\\",\\n\\t\\trequest = new XMLHttpRequest(),\\n\\t\\tdata = \\\"\\\",\\n\\t\\tf,results;\\n\\t// Massage the data hashmap into a string\\n\\tif(options.data) {\\n\\t\\tif(typeof options.data === \\\"string\\\") { // Already a string\\n\\t\\t\\tdata = options.data;\\n\\t\\t} else { // A hashmap of strings\\n\\t\\t\\tresults = [];\\n\\t\\t\\t$tw.utils.each(options.data,function(dataItem,dataItemTitle) {\\n\\t\\t\\t\\tresults.push(dataItemTitle + \\\"=\\\" + encodeURIComponent(dataItem));\\n\\t\\t\\t});\\n\\t\\t\\tif(type === \\\"GET\\\" || type === \\\"HEAD\\\") {\\n\\t\\t\\t\\turl += \\\"?\\\" + results.join(\\\"&\\\");\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tdata = results.join(\\\"&\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\trequest.responseType = options.responseType || \\\"text\\\";\\n\\t// Set up the state change handler\\n\\trequest.onreadystatechange = function() {\\n\\t\\tif(this.readyState === 4) {\\n\\t\\t\\tif(this.status === 200 || this.status === 201 || this.status === 204) {\\n\\t\\t\\t\\t// Success!\\n\\t\\t\\t\\toptions.callback(null,this[returnProp],this);\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t// Something went wrong\\n\\t\\toptions.callback($tw.language.getString(\\\"Error/XMLHttpRequest\\\") + \\\": \\\" + this.status,null,this);\\n\\t\\t}\\n\\t};\\n\\t// Handle progress\\n\\tif(options.progress) {\\n\\t\\trequest.onprogress = function(event) {\\n\\t\\t\\tconsole.log(\\\"Progress event\\\",event)\\n\\t\\t\\toptions.progress(event.lengthComputable,event.loaded,event.total);\\n\\t\\t};\\n\\t}\\n\\t// Make the request\\n\\trequest.open(type,url,true);\\n\\t// Headers\\n\\tif(headers) {\\n\\t\\t$tw.utils.each(headers,function(header,headerTitle,object) {\\n\\t\\t\\trequest.setRequestHeader(headerTitle,header);\\n\\t\\t});\\n\\t}\\n\\tif(data && !hasHeader(\\\"Content-Type\\\")) {\\n\\t\\trequest.setRequestHeader(\\\"Content-Type\\\",\\\"application/x-www-form-urlencoded; charset=UTF-8\\\");\\n\\t}\\n\\tif(!hasHeader(\\\"X-Requested-With\\\") && !isSimpleRequest(type,headers)) {\\n\\t\\trequest.setRequestHeader(\\\"X-Requested-With\\\",\\\"TiddlyWiki\\\");\\n\\t}\\n\\t// Send data\\n\\ttry {\\n\\t\\trequest.send(data);\\n\\t} catch(e) {\\n\\t\\toptions.callback(e,null,this);\\n\\t}\\n\\treturn request;\\n};\\n\\nexports.setQueryStringParameter = function(url,paramName,paramValue) {\\n\\tvar URL = $tw.browser ? window.URL : require(\\\"url\\\").URL,\\n\\t\\tnewUrl;\\n\\ttry {\\n\\t\\tnewUrl = new URL(url);\\n\\t} catch(e) {\\n\\t}\\n\\tif(newUrl && paramName) {\\n\\t\\tnewUrl.searchParams.set(paramName,paramValue || \\\"\\\");\\n\\t\\treturn newUrl.toString();\\n\\t} else {\\n\\t\\treturn url;\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/keyboard.js\":{\"title\":\"$:/core/modules/utils/dom/keyboard.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/keyboard.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nKeyboard utilities; now deprecated. Instead, use $tw.keyboardManager\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n[\\\"parseKeyDescriptor\\\",\\\"checkKeyDescriptor\\\"].forEach(function(method) {\\n\\texports[method] = function() {\\n\\t\\tif($tw.keyboardManager) {\\n\\t\\t\\treturn $tw.keyboardManager[method].apply($tw.keyboardManager,Array.prototype.slice.call(arguments,0));\\n\\t\\t} else {\\n\\t\\t\\treturn null\\n\\t\\t}\\n\\t};\\n});\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/modal.js\":{\"title\":\"$:/core/modules/utils/dom/modal.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/modal.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nModal message mechanism\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\nvar navigator = require(\\\"$:/core/modules/widgets/navigator.js\\\");\\n\\nvar Modal = function(wiki) {\\n\\tthis.wiki = wiki;\\n\\tthis.modalCount = 0;\\n};\\n\\n/*\\nDisplay a modal dialogue\\n\\ttitle: Title of tiddler to display\\n\\toptions: see below\\nOptions include:\\n\\tdownloadLink: Text of a big download link to include\\n\\tevent: widget event\\n\\tvariables: from event.paramObject\\n*/\\nModal.prototype.display = function(title,options) {\\n\\toptions = options || {};\\n\\tthis.srcDocument = options.variables && (options.variables.rootwindow === \\\"true\\\" ||\\n\\t\\t\\t\\toptions.variables.rootwindow === \\\"yes\\\") ? document :\\n\\t\\t\\t\\t(options.event && options.event.event && options.event.event.target ? options.event.event.target.ownerDocument : document);\\n\\tthis.srcWindow = this.srcDocument.defaultView;\\n\\tvar self = this,\\n\\t\\trefreshHandler,\\n\\t\\tduration = $tw.utils.getAnimationDuration(),\\n\\t\\ttiddler = this.wiki.getTiddler(title);\\n\\t// Don't do anything if the tiddler doesn't exist\\n\\tif(!tiddler) {\\n\\t\\treturn;\\n\\t}\\n\\t// Create the variables\\n\\tvar variables = $tw.utils.extend({\\n\\t\\t\\tcurrentTiddler: title,\\n\\t\\t\\t\\\"tv-story-list\\\": (options.event && options.event.widget ? options.event.widget.getVariable(\\\"tv-story-list\\\") : \\\"\\\"),\\n\\t\\t\\t\\\"tv-history-list\\\": (options.event && options.event.widget ? options.event.widget.getVariable(\\\"tv-history-list\\\") : \\\"\\\")\\n\\t\\t},options.variables);\\n\\n\\t// Create the wrapper divs\\n\\tvar wrapper = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\tmodalBackdrop = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\tmodalWrapper = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\tmodalHeader = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\theaderTitle = this.srcDocument.createElement(\\\"h3\\\"),\\n\\t\\tmodalBody = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\tmodalLink = this.srcDocument.createElement(\\\"a\\\"),\\n\\t\\tmodalFooter = this.srcDocument.createElement(\\\"div\\\"),\\n\\t\\tmodalFooterHelp = this.srcDocument.createElement(\\\"span\\\"),\\n\\t\\tmodalFooterButtons = this.srcDocument.createElement(\\\"span\\\");\\n\\t// Up the modal count and adjust the body class\\n\\tthis.modalCount++;\\n\\tthis.adjustPageClass();\\n\\t// Add classes\\n\\t$tw.utils.addClass(wrapper,\\\"tc-modal-wrapper\\\");\\n\\tif(tiddler.fields && tiddler.fields.class) {\\n\\t\\t$tw.utils.addClass(wrapper,tiddler.fields.class);\\n\\t}\\n\\t$tw.utils.addClass(modalBackdrop,\\\"tc-modal-backdrop\\\");\\n\\t$tw.utils.addClass(modalWrapper,\\\"tc-modal\\\");\\n\\t$tw.utils.addClass(modalHeader,\\\"tc-modal-header\\\");\\n\\t$tw.utils.addClass(modalBody,\\\"tc-modal-body\\\");\\n\\t$tw.utils.addClass(modalFooter,\\\"tc-modal-footer\\\");\\n\\t// Join them together\\n\\twrapper.appendChild(modalBackdrop);\\n\\twrapper.appendChild(modalWrapper);\\n\\tmodalHeader.appendChild(headerTitle);\\n\\tmodalWrapper.appendChild(modalHeader);\\n\\tmodalWrapper.appendChild(modalBody);\\n\\tmodalFooter.appendChild(modalFooterHelp);\\n\\tmodalFooter.appendChild(modalFooterButtons);\\n\\tmodalWrapper.appendChild(modalFooter);\\n\\tvar navigatorTree = {\\n\\t\\t\\\"type\\\": \\\"navigator\\\",\\n\\t\\t\\\"attributes\\\": {\\n\\t\\t\\t\\\"story\\\": {\\n\\t\\t\\t\\t\\\"name\\\": \\\"story\\\",\\n\\t\\t\\t\\t\\\"type\\\": \\\"string\\\",\\n\\t\\t\\t\\t\\\"value\\\": variables[\\\"tv-story-list\\\"]\\n\\t\\t\\t},\\n\\t\\t\\t\\\"history\\\": {\\n\\t\\t\\t\\t\\\"name\\\": \\\"history\\\",\\n\\t\\t\\t\\t\\\"type\\\": \\\"string\\\",\\n\\t\\t\\t\\t\\\"value\\\": variables[\\\"tv-history-list\\\"]\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\\"tag\\\": \\\"$navigator\\\",\\n\\t\\t\\\"isBlock\\\": true,\\n\\t\\t\\\"children\\\": []\\n\\t};\\n\\tvar navigatorWidgetNode = new navigator.navigator(navigatorTree, {\\n\\t\\twiki: this.wiki,\\n\\t\\tdocument : this.srcDocument,\\n\\t\\tparentWidget: $tw.rootWidget\\n\\t});\\n\\tnavigatorWidgetNode.render(modalBody,null);\\n\\n\\t// Render the title of the message\\n\\tvar headerWidgetNode = this.wiki.makeTranscludeWidget(title,{\\n\\t\\tfield: \\\"subtitle\\\",\\n\\t\\tmode: \\\"inline\\\",\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttext: {\\n\\t\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\t\\tvalue: title\\n\\t\\t}}}],\\n\\t\\tparentWidget: navigatorWidgetNode,\\n\\t\\tdocument: this.srcDocument,\\n\\t\\tvariables: variables,\\n\\t\\timportPageMacros: true\\n\\t});\\n\\theaderWidgetNode.render(headerTitle,null);\\n\\t// Render the body of the message\\n\\tvar bodyWidgetNode = this.wiki.makeTranscludeWidget(title,{\\n\\t\\tparentWidget: navigatorWidgetNode,\\n\\t\\tdocument: this.srcDocument,\\n\\t\\tvariables: variables,\\n\\t\\timportPageMacros: true\\n\\t});\\n\\n\\tbodyWidgetNode.render(modalBody,null);\\n\\t// Setup the link if present\\n\\tif(options.downloadLink) {\\n\\t\\tmodalLink.href = options.downloadLink;\\n\\t\\tmodalLink.appendChild(this.srcDocument.createTextNode(\\\"Right-click to save changes\\\"));\\n\\t\\tmodalBody.appendChild(modalLink);\\n\\t}\\n\\t// Render the footer of the message\\n\\tif(tiddler.fields && tiddler.fields.help) {\\n\\t\\tvar link = this.srcDocument.createElement(\\\"a\\\");\\n\\t\\tlink.setAttribute(\\\"href\\\",tiddler.fields.help);\\n\\t\\tlink.setAttribute(\\\"target\\\",\\\"_blank\\\");\\n\\t\\tlink.setAttribute(\\\"rel\\\",\\\"noopener noreferrer\\\");\\n\\t\\tlink.appendChild(this.srcDocument.createTextNode(\\\"Help\\\"));\\n\\t\\tmodalFooterHelp.appendChild(link);\\n\\t\\tmodalFooterHelp.style.float = \\\"left\\\";\\n\\t}\\n\\tvar footerWidgetNode = this.wiki.makeTranscludeWidget(title,{\\n\\t\\tfield: \\\"footer\\\",\\n\\t\\tmode: \\\"inline\\\",\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"button\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tmessage: {\\n\\t\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\t\\tvalue: \\\"tm-close-tiddler\\\"\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [{\\n\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\ttext: {\\n\\t\\t\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\t\\t\\tvalue: $tw.language.getString(\\\"Buttons/Close/Caption\\\")\\n\\t\\t\\t}}}\\n\\t\\t]}],\\n\\t\\tparentWidget: navigatorWidgetNode,\\n\\t\\tdocument: this.srcDocument,\\n\\t\\tvariables: variables,\\n\\t\\timportPageMacros: true\\n\\t});\\n\\tfooterWidgetNode.render(modalFooterButtons,null);\\n\\t// Set up the refresh handler\\n\\trefreshHandler = function(changes) {\\n\\t\\theaderWidgetNode.refresh(changes,modalHeader,null);\\n\\t\\tbodyWidgetNode.refresh(changes,modalBody,null);\\n\\t\\tfooterWidgetNode.refresh(changes,modalFooterButtons,null);\\n\\t};\\n\\tthis.wiki.addEventListener(\\\"change\\\",refreshHandler);\\n\\t// Add the close event handler\\n\\tvar closeHandler = function(event) {\\n\\t\\t// Remove our refresh handler\\n\\t\\tself.wiki.removeEventListener(\\\"change\\\",refreshHandler);\\n\\t\\t// Decrease the modal count and adjust the body class\\n\\t\\tself.modalCount--;\\n\\t\\tself.adjustPageClass();\\n\\t\\t// Force layout and animate the modal message away\\n\\t\\t$tw.utils.forceLayout(modalBackdrop);\\n\\t\\t$tw.utils.forceLayout(modalWrapper);\\n\\t\\t$tw.utils.setStyle(modalBackdrop,[\\n\\t\\t\\t{opacity: \\\"0\\\"}\\n\\t\\t]);\\n\\t\\t$tw.utils.setStyle(modalWrapper,[\\n\\t\\t\\t{transform: \\\"translateY(\\\" + self.srcWindow.innerHeight + \\\"px)\\\"}\\n\\t\\t]);\\n\\t\\t// Set up an event for the transition end\\n\\t\\tself.srcWindow.setTimeout(function() {\\n\\t\\t\\tif(wrapper.parentNode) {\\n\\t\\t\\t\\t// Remove the modal message from the DOM\\n\\t\\t\\t\\tself.srcDocument.body.removeChild(wrapper);\\n\\t\\t\\t}\\n\\t\\t},duration);\\n\\t\\t// Don't let anyone else handle the tm-close-tiddler message\\n\\t\\treturn false;\\n\\t};\\n\\theaderWidgetNode.addEventListener(\\\"tm-close-tiddler\\\",closeHandler,false);\\n\\tbodyWidgetNode.addEventListener(\\\"tm-close-tiddler\\\",closeHandler,false);\\n\\tfooterWidgetNode.addEventListener(\\\"tm-close-tiddler\\\",closeHandler,false);\\n\\t// Whether to close the modal dialog when the mask (area outside the modal) is clicked\\n\\tif(tiddler.fields && (tiddler.fields[\\\"mask-closable\\\"] === \\\"yes\\\" || tiddler.fields[\\\"mask-closable\\\"] === \\\"true\\\")) {\\n\\t\\tmodalBackdrop.addEventListener(\\\"click\\\",closeHandler,false);\\n\\t}\\n\\t// Set the initial styles for the message\\n\\t$tw.utils.setStyle(modalBackdrop,[\\n\\t\\t{opacity: \\\"0\\\"}\\n\\t]);\\n\\t$tw.utils.setStyle(modalWrapper,[\\n\\t\\t{transformOrigin: \\\"0% 0%\\\"},\\n\\t\\t{transform: \\\"translateY(\\\" + (-this.srcWindow.innerHeight) + \\\"px)\\\"}\\n\\t]);\\n\\t// Put the message into the document\\n\\tthis.srcDocument.body.appendChild(wrapper);\\n\\t// Set up animation for the styles\\n\\t$tw.utils.setStyle(modalBackdrop,[\\n\\t\\t{transition: \\\"opacity \\\" + duration + \\\"ms ease-out\\\"}\\n\\t]);\\n\\t$tw.utils.setStyle(modalWrapper,[\\n\\t\\t{transition: $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms ease-in-out\\\"}\\n\\t]);\\n\\t// Force layout\\n\\t$tw.utils.forceLayout(modalBackdrop);\\n\\t$tw.utils.forceLayout(modalWrapper);\\n\\t// Set final animated styles\\n\\t$tw.utils.setStyle(modalBackdrop,[\\n\\t\\t{opacity: \\\"0.7\\\"}\\n\\t]);\\n\\t$tw.utils.setStyle(modalWrapper,[\\n\\t\\t{transform: \\\"translateY(0px)\\\"}\\n\\t]);\\n};\\n\\nModal.prototype.adjustPageClass = function() {\\n\\tvar windowContainer = $tw.pageContainer ? ($tw.pageContainer === this.srcDocument.body.firstChild ? $tw.pageContainer : this.srcDocument.body.firstChild) : null;\\n\\tif(windowContainer) {\\n\\t\\t$tw.utils.toggleClass(windowContainer,\\\"tc-modal-displayed\\\",this.modalCount > 0);\\n\\t}\\n\\t$tw.utils.toggleClass(this.srcDocument.body,\\\"tc-modal-prevent-scroll\\\",this.modalCount > 0);\\n};\\n\\nexports.Modal = Modal;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/notifier.js\":{\"title\":\"$:/core/modules/utils/dom/notifier.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/notifier.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nNotifier mechanism\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nvar Notifier = function(wiki) {\\n\\tthis.wiki = wiki;\\n};\\n\\n/*\\nDisplay a notification\\n\\ttitle: Title of tiddler containing the notification text\\n\\toptions: see below\\nOptions include:\\n*/\\nNotifier.prototype.display = function(title,options) {\\n\\toptions = options || {};\\n\\t// Create the wrapper divs\\n\\tvar self = this,\\n\\t\\tnotification = document.createElement(\\\"div\\\"),\\n\\t\\ttiddler = this.wiki.getTiddler(title),\\n\\t\\tduration = $tw.utils.getAnimationDuration(),\\n\\t\\trefreshHandler;\\n\\t// Don't do anything if the tiddler doesn't exist\\n\\tif(!tiddler) {\\n\\t\\treturn;\\n\\t}\\n\\t// Add classes and roles\\n\\t$tw.utils.addClass(notification,\\\"tc-notification\\\");\\n\\tnotification.setAttribute(\\\"role\\\",\\\"alert\\\");\\n\\t// Create the variables\\n\\tvar variables = $tw.utils.extend({currentTiddler: title},options.variables);\\n\\t// Render the body of the notification\\n\\tvar widgetNode = this.wiki.makeTranscludeWidget(title,{\\n\\t\\tparentWidget: $tw.rootWidget,\\n\\t\\tdocument: document,\\n\\t\\tvariables: variables,\\n\\t\\timportPageMacros: true});\\n\\twidgetNode.render(notification,null);\\n\\trefreshHandler = function(changes) {\\n\\t\\twidgetNode.refresh(changes,notification,null);\\n\\t};\\n\\tthis.wiki.addEventListener(\\\"change\\\",refreshHandler);\\n\\t// Set the initial styles for the notification\\n\\t$tw.utils.setStyle(notification,[\\n\\t\\t{opacity: \\\"0\\\"},\\n\\t\\t{transformOrigin: \\\"0% 0%\\\"},\\n\\t\\t{transform: \\\"translateY(\\\" + (-window.innerHeight) + \\\"px)\\\"},\\n\\t\\t{transition: \\\"opacity \\\" + duration + \\\"ms ease-out, \\\" + $tw.utils.roundTripPropertyName(\\\"transform\\\") + \\\" \\\" + duration + \\\"ms ease-in-out\\\"}\\n\\t]);\\n\\t// Add the notification to the DOM\\n\\tdocument.body.appendChild(notification);\\n\\t// Force layout\\n\\t$tw.utils.forceLayout(notification);\\n\\t// Set final animated styles\\n\\t$tw.utils.setStyle(notification,[\\n\\t\\t{opacity: \\\"1.0\\\"},\\n\\t\\t{transform: \\\"translateY(0px)\\\"}\\n\\t]);\\n\\t// Set a timer to remove the notification\\n\\twindow.setTimeout(function() {\\n\\t\\t// Remove our change event handler\\n\\t\\tself.wiki.removeEventListener(\\\"change\\\",refreshHandler);\\n\\t\\t// Force layout and animate the notification away\\n\\t\\t$tw.utils.forceLayout(notification);\\n\\t\\t$tw.utils.setStyle(notification,[\\n\\t\\t\\t{opacity: \\\"0.0\\\"},\\n\\t\\t\\t{transform: \\\"translateX(\\\" + (notification.offsetWidth) + \\\"px)\\\"}\\n\\t\\t]);\\n\\t\\t// Remove the modal message from the DOM once the transition ends\\n\\t\\tsetTimeout(function() {\\n\\t\\t\\tif(notification.parentNode) {\\n\\t\\t\\t\\tdocument.body.removeChild(notification);\\n\\t\\t\\t}\\n\\t\\t},duration);\\n\\t},$tw.config.preferences.notificationDuration);\\n};\\n\\nexports.Notifier = Notifier;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/popup.js\":{\"title\":\"$:/core/modules/utils/dom/popup.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/popup.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nModule that creates a $tw.utils.Popup object prototype that manages popups in the browser\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nCreates a Popup object with these options:\\n\\trootElement: the DOM element to which the popup zapper should be attached\\n*/\\nvar Popup = function(options) {\\n\\toptions = options || {};\\n\\tthis.rootElement = options.rootElement || document.documentElement;\\n\\tthis.popups = []; // Array of {title:,wiki:,domNode:} objects\\n};\\n\\n/*\\nGlobal regular expression for parsing the location of a popup.\\nThis is also used by the Reveal widget.\\n*/\\nexports.popupLocationRegExp = /^(@?)\\\\((-?[0-9\\\\.E]+),(-?[0-9\\\\.E]+),(-?[0-9\\\\.E]+),(-?[0-9\\\\.E]+)\\\\)$/\\n\\n/*\\nObjekt containing the available prefixes for coordinates build with the `buildCoordinates` function:\\n - csOffsetParent: Uses a coordinate system based on the offset parent (no prefix).\\n - csAbsolute: Use an absolute coordinate system (prefix \\\"@\\\").\\n*/\\nexports.coordinatePrefix = { csOffsetParent: \\\"\\\", csAbsolute: \\\"@\\\" }\\n\\n/*\\nTrigger a popup open or closed. Parameters are in a hashmap:\\n\\ttitle: title of the tiddler where the popup details are stored\\n\\tdomNode: dom node to which the popup will be positioned (one of domNode or domNodeRect is required)\\n\\tdomNodeRect: rectangle to which the popup will be positioned\\n\\twiki: wiki\\n\\tforce: if specified, forces the popup state to true or false (instead of toggling it)\\n\\tfloating: if true, skips registering the popup, meaning that it will need manually clearing\\n*/\\nPopup.prototype.triggerPopup = function(options) {\\n\\t// Check if this popup is already active\\n\\tvar index = this.findPopup(options.title);\\n\\t// Compute the new state\\n\\tvar state = index === -1;\\n\\tif(options.force !== undefined) {\\n\\t\\tstate = options.force;\\n\\t}\\n\\t// Show or cancel the popup according to the new state\\n\\tif(state) {\\n\\t\\tthis.show(options);\\n\\t} else {\\n\\t\\tthis.cancel(index);\\n\\t}\\n};\\n\\nPopup.prototype.findPopup = function(title) {\\n\\tvar index = -1;\\n\\tfor(var t=0; t\u003Cthis.popups.length; t++) {\\n\\t\\tif(this.popups[t].title === title) {\\n\\t\\t\\tindex = t;\\n\\t\\t}\\n\\t}\\n\\treturn index;\\n};\\n\\nPopup.prototype.handleEvent = function(event) {\\n\\tif(event.type === \\\"click\\\") {\\n\\t\\t// Find out what was clicked on\\n\\t\\tvar info = this.popupInfo(event.target),\\n\\t\\t\\tcancelLevel = info.popupLevel - 1;\\n\\t\\t// Don't remove the level that was clicked on if we clicked on a handle\\n\\t\\tif(info.isHandle) {\\n\\t\\t\\tcancelLevel++;\\n\\t\\t}\\n\\t\\t// Cancel\\n\\t\\tthis.cancel(cancelLevel);\\n\\t}\\n};\\n\\n/*\\nFind the popup level containing a DOM node. Returns:\\npopupLevel: count of the number of nested popups containing the specified element\\nisHandle: true if the specified element is within a popup handle\\n*/\\nPopup.prototype.popupInfo = function(domNode) {\\n\\tvar isHandle = false,\\n\\t\\tpopupCount = 0,\\n\\t\\tnode = domNode;\\n\\t// First check ancestors to see if we're within a popup handle\\n\\twhile(node) {\\n\\t\\tif($tw.utils.hasClass(node,\\\"tc-popup-handle\\\")) {\\n\\t\\t\\tisHandle = true;\\n\\t\\t\\tpopupCount++;\\n\\t\\t}\\n\\t\\tif($tw.utils.hasClass(node,\\\"tc-popup-keep\\\")) {\\n\\t\\t\\tisHandle = true;\\n\\t\\t}\\n\\t\\tnode = node.parentNode;\\n\\t}\\n\\t// Then count the number of ancestor popups\\n\\tnode = domNode;\\n\\twhile(node) {\\n\\t\\tif($tw.utils.hasClass(node,\\\"tc-popup\\\")) {\\n\\t\\t\\tpopupCount++;\\n\\t\\t}\\n\\t\\tnode = node.parentNode;\\n\\t}\\n\\tvar info = {\\n\\t\\tpopupLevel: popupCount,\\n\\t\\tisHandle: isHandle\\n\\t};\\n\\treturn info;\\n};\\n\\n/*\\nDisplay a popup by adding it to the stack\\n*/\\nPopup.prototype.show = function(options) {\\n\\t// Find out what was clicked on\\n\\tvar info = this.popupInfo(options.domNode);\\n\\t// Cancel any higher level popups\\n\\tthis.cancel(info.popupLevel);\\n\\n\\t// Store the popup details if not already there\\n\\tif(!options.floating && this.findPopup(options.title) === -1) {\\n\\t\\tthis.popups.push({\\n\\t\\t\\ttitle: options.title,\\n\\t\\t\\twiki: options.wiki,\\n\\t\\t\\tdomNode: options.domNode,\\n\\t\\t\\tnoStateReference: options.noStateReference\\n\\t\\t});\\n\\t}\\n\\t// Set the state tiddler\\n\\tvar rect;\\n\\tif(options.domNodeRect) {\\n\\t\\trect = options.domNodeRect;\\n\\t} else {\\n\\t\\trect = {\\n\\t\\t\\tleft: options.domNode.offsetLeft,\\n\\t\\t\\ttop: options.domNode.offsetTop,\\n\\t\\t\\twidth: options.domNode.offsetWidth,\\n\\t\\t\\theight: options.domNode.offsetHeight\\n\\t\\t};\\n\\t}\\n\\tif(options.absolute && options.domNode) {\\n\\t\\t// Walk the offsetParent chain and add the position of the offsetParents to make\\n\\t\\t// the position absolute to the root node of the page.\\n\\t\\tvar currentNode = options.domNode.offsetParent;\\n\\t\\twhile(currentNode) {\\n\\t\\t\\trect.left += currentNode.offsetLeft;\\n\\t\\t\\trect.top += currentNode.offsetTop;\\n\\t\\t\\tcurrentNode = currentNode.offsetParent;\\n\\t\\t}\\n\\t}\\n\\tvar popupRect = exports.buildCoordinates(options.absolute?exports.coordinatePrefix.csAbsolute:exports.coordinatePrefix.csOffsetParent,rect);\\n\\tif(options.noStateReference) {\\n\\t\\toptions.wiki.setText(options.title,\\\"text\\\",undefined,popupRect);\\n\\t} else {\\n\\t\\toptions.wiki.setTextReference(options.title,popupRect);\\n\\t}\\n\\t// Add the click handler if we have any popups\\n\\tif(this.popups.length > 0) {\\n\\t\\tthis.rootElement.addEventListener(\\\"click\\\",this,true);\\n\\t}\\n};\\n\\n/*\\nCancel all popups at or above a specified level or DOM node\\nlevel: popup level to cancel (0 cancels all popups)\\n*/\\nPopup.prototype.cancel = function(level) {\\n\\tvar numPopups = this.popups.length;\\n\\tlevel = Math.max(0,Math.min(level,numPopups));\\n\\tfor(var t=level; t\u003CnumPopups; t++) {\\n\\t\\tvar popup = this.popups.pop();\\n\\t\\tif(popup.title) {\\n\\t\\t\\tif(popup.noStateReference) {\\n\\t\\t\\t\\tpopup.wiki.deleteTiddler(popup.title);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tpopup.wiki.deleteTiddler($tw.utils.parseTextReference(popup.title).title);\\n \\t\\t}\\n\\t\\t}\\n\\t}\\n\\tif(this.popups.length === 0) {\\n\\t\\tthis.rootElement.removeEventListener(\\\"click\\\",this,false);\\n\\t}\\n};\\n\\n/*\\nReturns true if the specified title and text identifies an active popup.\\nThis function is safe to call, even if the popup class was not initialized.\\n*/\\nexports.readPopupState = function(text) {\\n\\treturn exports.popupLocationRegExp.test(text);\\n};\\n\\n/*\\nParses a coordinate string in the format `(x,y,w,h)` or `@(x,y,z,h)` and returns\\nan object containing the position, width and height. The absolute-Mark is boolean\\nvalue that indicates the coordinate system of the coordinates. If they start with\\nan `@`, `absolute` is set to true and the coordinates are relative to the root\\nelement. If the initial `@` is missing, they are relative to the offset parent\\nelement and `absoute` is false.\\nThis function is safe to call, even if the popup class was not initialized.\\n*/\\nexports.parseCoordinates = function(coordinates) {\\n\\tvar match = exports.popupLocationRegExp.exec(coordinates);\\n\\tif(match) {\\n\\t\\treturn {\\n\\t\\t\\tabsolute: (match[1] === \\\"@\\\"),\\n\\t\\t\\tleft: parseFloat(match[2]),\\n\\t\\t\\ttop: parseFloat(match[3]),\\n\\t\\t\\twidth: parseFloat(match[4]),\\n\\t\\t\\theight: parseFloat(match[5])\\n\\t\\t};\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n}\\n\\n/*\\nBuilds a coordinate string from a coordinate system identifier and an object\\ncontaining the left, top, width and height values.\\nUse constants defined in coordinatePrefix to specify a coordinate system.\\nIf one of the parameters is invalid for building a coordinate string `(0,0,0,0)`\\nwill be returned.\\nThis function is safe to call, even if the popup class was not initialized.\\n*/\\nexports.buildCoordinates = function(prefix,position) {\\n\\tvar coord = prefix + \\\"(\\\" + position.left + \\\",\\\" + position.top + \\\",\\\" + position.width + \\\",\\\" + position.height + \\\")\\\";\\n\\tif (exports.popupLocationRegExp.test(coord)) {\\n\\t\\treturn coord;\\n\\t} else {\\n\\t\\treturn \\\"(0,0,0,0)\\\";\\n\\t}\\n}\\n\\nexports.Popup = Popup;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/dom/scroller.js\":{\"title\":\"$:/core/modules/utils/dom/scroller.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/dom/scroller.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nModule that creates a $tw.utils.Scroller object prototype that manages scrolling in the browser\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nEvent handler for when the `tm-scroll` event hits the document body\\n*/\\nvar PageScroller = function() {\\n\\tthis.idRequestFrame = null;\\n\\tthis.requestAnimationFrame = window.requestAnimationFrame ||\\n\\t\\twindow.webkitRequestAnimationFrame ||\\n\\t\\twindow.mozRequestAnimationFrame ||\\n\\t\\tfunction(callback) {\\n\\t\\t\\treturn window.setTimeout(callback, 1000/60);\\n\\t\\t};\\n\\tthis.cancelAnimationFrame = window.cancelAnimationFrame ||\\n\\t\\twindow.webkitCancelAnimationFrame ||\\n\\t\\twindow.webkitCancelRequestAnimationFrame ||\\n\\t\\twindow.mozCancelAnimationFrame ||\\n\\t\\twindow.mozCancelRequestAnimationFrame ||\\n\\t\\tfunction(id) {\\n\\t\\t\\twindow.clearTimeout(id);\\n\\t\\t};\\n};\\n\\nPageScroller.prototype.isScrolling = function() {\\n\\treturn this.idRequestFrame !== null;\\n}\\n\\nPageScroller.prototype.cancelScroll = function(srcWindow) {\\n\\tif(this.idRequestFrame) {\\n\\t\\tthis.cancelAnimationFrame.call(srcWindow,this.idRequestFrame);\\n\\t\\tthis.idRequestFrame = null;\\n\\t}\\n};\\n\\n/*\\nHandle an event\\n*/\\nPageScroller.prototype.handleEvent = function(event) {\\n\\tif(event.type === \\\"tm-scroll\\\") {\\n\\t\\tvar options = {};\\n\\t\\tif($tw.utils.hop(event.paramObject,\\\"animationDuration\\\")) {\\n\\t\\t\\toptions.animationDuration = event.paramObject.animationDuration;\\n\\t\\t}\\n\\t\\tif(event.paramObject && event.paramObject.selector) {\\n\\t\\t\\tthis.scrollSelectorIntoView(null,event.paramObject.selector,null,options);\\n\\t\\t} else {\\n\\t\\t\\tthis.scrollIntoView(event.target,null,options);\\n\\t\\t}\\n\\t\\treturn false; // Event was handled\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nHandle a scroll event hitting the page document\\n*/\\nPageScroller.prototype.scrollIntoView = function(element,callback,options) {\\n\\tvar self = this,\\n\\t\\tduration = $tw.utils.hop(options,\\\"animationDuration\\\") ? parseInt(options.animationDuration) : $tw.utils.getAnimationDuration(),\\n\\t\\tsrcWindow = element ? element.ownerDocument.defaultView : window;\\n\\t// Now get ready to scroll the body\\n\\tthis.cancelScroll(srcWindow);\\n\\tthis.startTime = Date.now();\\n\\t// Get the height of any position:fixed toolbars\\n\\tvar toolbar = srcWindow.document.querySelector(\\\".tc-adjust-top-of-scroll\\\"),\\n\\t\\toffset = 0;\\n\\tif(toolbar) {\\n\\t\\toffset = toolbar.offsetHeight;\\n\\t}\\n\\t// Get the client bounds of the element and adjust by the scroll position\\n\\tvar getBounds = function() {\\n\\t\\t\\tvar clientBounds = typeof callback === 'function' ? callback() : element.getBoundingClientRect(),\\n\\t\\t\\t\\tscrollPosition = $tw.utils.getScrollPosition(srcWindow);\\n\\t\\t\\treturn {\\n\\t\\t\\t\\tleft: clientBounds.left + scrollPosition.x,\\n\\t\\t\\t\\ttop: clientBounds.top + scrollPosition.y - offset,\\n\\t\\t\\t\\twidth: clientBounds.width,\\n\\t\\t\\t\\theight: clientBounds.height\\n\\t\\t\\t};\\n\\t\\t},\\n\\t\\t// We'll consider the horizontal and vertical scroll directions separately via this function\\n\\t\\t// targetPos/targetSize - position and size of the target element\\n\\t\\t// currentPos/currentSize - position and size of the current scroll viewport\\n\\t\\t// returns: new position of the scroll viewport\\n\\t\\tgetEndPos = function(targetPos,targetSize,currentPos,currentSize) {\\n\\t\\t\\tvar newPos = targetPos;\\n\\t\\t\\t// If we are scrolling within 50 pixels of the top/left then snap to zero\\n\\t\\t\\tif(newPos \u003C 50) {\\n\\t\\t\\t\\tnewPos = 0;\\n\\t\\t\\t}\\n\\t\\t\\treturn newPos;\\n\\t\\t},\\n\\t\\tdrawFrame = function drawFrame() {\\n\\t\\t\\tvar t;\\n\\t\\t\\tif(duration \u003C= 0) {\\n\\t\\t\\t\\tt = 1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tt = ((Date.now()) - self.startTime) / duration;\\n\\t\\t\\t}\\n\\t\\t\\tif(t >= 1) {\\n\\t\\t\\t\\tself.cancelScroll(srcWindow);\\n\\t\\t\\t\\tt = 1;\\n\\t\\t\\t}\\n\\t\\t\\tt = $tw.utils.slowInSlowOut(t);\\n\\t\\t\\tvar scrollPosition = $tw.utils.getScrollPosition(srcWindow),\\n\\t\\t\\t\\tbounds = getBounds(),\\n\\t\\t\\t\\tendX = getEndPos(bounds.left,bounds.width,scrollPosition.x,srcWindow.innerWidth),\\n\\t\\t\\t\\tendY = getEndPos(bounds.top,bounds.height,scrollPosition.y,srcWindow.innerHeight);\\n\\t\\t\\tsrcWindow.scrollTo(scrollPosition.x + (endX - scrollPosition.x) * t,scrollPosition.y + (endY - scrollPosition.y) * t);\\n\\t\\t\\tif(t \u003C 1) {\\n\\t\\t\\t\\tself.idRequestFrame = self.requestAnimationFrame.call(srcWindow,drawFrame);\\n\\t\\t\\t}\\n\\t\\t};\\n\\tdrawFrame();\\n};\\n\\nPageScroller.prototype.scrollSelectorIntoView = function(baseElement,selector,callback,options) {\\n\\tbaseElement = baseElement || document;\\n\\tvar element = $tw.utils.querySelectorSafe(selector,baseElement);\\n\\tif(element) {\\n\\t\\tthis.scrollIntoView(element,callback,options);\\n\\t}\\n};\\n\\nexports.PageScroller = PageScroller;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/edition-info.js\":{\"title\":\"$:/core/modules/utils/edition-info.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/edition-info.js\\ntype: application/javascript\\nmodule-type: utils-node\\n\\nInformation about the available editions\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar fs = require(\\\"fs\\\"),\\n\\tpath = require(\\\"path\\\");\\n\\nvar editionInfo;\\n\\nexports.getEditionInfo = function() {\\n\\tif(!editionInfo) {\\n\\t\\t// Enumerate the edition paths\\n\\t\\tvar editionPaths = $tw.getLibraryItemSearchPaths($tw.config.editionsPath,$tw.config.editionsEnvVar);\\n\\t\\teditionInfo = {};\\n\\t\\tfor(var editionIndex=0; editionIndex\u003CeditionPaths.length; editionIndex++) {\\n\\t\\t\\tvar editionPath = editionPaths[editionIndex];\\n\\t\\t\\t// Enumerate the folders\\n\\t\\t\\tvar entries = fs.readdirSync(editionPath);\\n\\t\\t\\tfor(var entryIndex=0; entryIndex\u003Centries.length; entryIndex++) {\\n\\t\\t\\t\\tvar entry = entries[entryIndex];\\n\\t\\t\\t\\t// Check if directories have a valid tiddlywiki.info\\n\\t\\t\\t\\tif(!editionInfo[entry] && $tw.utils.isDirectory(path.resolve(editionPath,entry))) {\\n\\t\\t\\t\\t\\tvar info = $tw.utils.parseJSONSafe(fs.readFileSync(path.resolve(editionPath,entry,\\\"tiddlywiki.info\\\"),\\\"utf8\\\"),null);\\n\\t\\t\\t\\t\\tif(info) {\\n\\t\\t\\t\\t\\t\\teditionInfo[entry] = info;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn editionInfo;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils-node\"},\"$:/core/modules/utils/escapecss.js\":{\"title\":\"$:/core/modules/utils/escapecss.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/escapecss.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nProvides CSS.escape() functionality.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false, window: false */\\n\\\"use strict\\\";\\n\\nexports.escapeCSS = (function() {\\n\\t// use browser's native CSS.escape() function if available\\n\\tif ($tw.browser && window.CSS && window.CSS.escape) {\\n\\t\\treturn window.CSS.escape;\\n\\t}\\n\\n\\t// otherwise, a utility method is provided\\n\\t// see also https://drafts.csswg.org/cssom/#serialize-an-identifier\\n\\n\\t/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */\\n\\treturn function(value) {\\n\\t\\tif (arguments.length == 0) {\\n\\t\\t\\tthrow new TypeError('`CSS.escape` requires an argument.');\\n\\t\\t}\\n\\t\\tvar string = String(value);\\n\\t\\tvar length = string.length;\\n\\t\\tvar index = -1;\\n\\t\\tvar codeUnit;\\n\\t\\tvar result = '';\\n\\t\\tvar firstCodeUnit = string.charCodeAt(0);\\n\\t\\twhile (++index \u003C length) {\\n\\t\\t\\tcodeUnit = string.charCodeAt(index);\\n\\t\\t\\t// Note: there’s no need to special-case astral symbols, surrogate\\n\\t\\t\\t// pairs, or lone surrogates.\\n\\n\\t\\t\\t// If the character is NULL (U+0000), then the REPLACEMENT CHARACTER\\n\\t\\t\\t// (U+FFFD).\\n\\t\\t\\tif (codeUnit == 0x0000) {\\n\\t\\t\\t\\tresult += '\\\\uFFFD';\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\n\\t\\t\\tif (\\n\\t\\t\\t\\t// If the character is in the range [\\\\1-\\\\1F] (U+0001 to U+001F) or is\\n\\t\\t\\t\\t// U+007F, […]\\n\\t\\t\\t\\t(codeUnit >= 0x0001 && codeUnit \u003C= 0x001F) || codeUnit == 0x007F ||\\n\\t\\t\\t\\t// If the character is the first character and is in the range [0-9]\\n\\t\\t\\t\\t// (U+0030 to U+0039), […]\\n\\t\\t\\t\\t(index == 0 && codeUnit >= 0x0030 && codeUnit \u003C= 0x0039) ||\\n\\t\\t\\t\\t// If the character is the second character and is in the range [0-9]\\n\\t\\t\\t\\t// (U+0030 to U+0039) and the first character is a `-` (U+002D), […]\\n\\t\\t\\t\\t(\\n\\t\\t\\t\\t\\tindex == 1 &&\\n\\t\\t\\t\\t\\tcodeUnit >= 0x0030 && codeUnit \u003C= 0x0039 &&\\n\\t\\t\\t\\t\\tfirstCodeUnit == 0x002D\\n\\t\\t\\t\\t)\\n\\t\\t\\t) {\\n\\t\\t\\t\\t// https://drafts.csswg.org/cssom/#escape-a-character-as-code-point\\n\\t\\t\\t\\tresult += '\\\\\\\\' + codeUnit.toString(16) + ' ';\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\n\\t\\t\\tif (\\n\\t\\t\\t\\t// If the character is the first character and is a `-` (U+002D), and\\n\\t\\t\\t\\t// there is no second character, […]\\n\\t\\t\\t\\tindex == 0 &&\\n\\t\\t\\t\\tlength == 1 &&\\n\\t\\t\\t\\tcodeUnit == 0x002D\\n\\t\\t\\t) {\\n\\t\\t\\t\\tresult += '\\\\\\\\' + string.charAt(index);\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\n\\t\\t\\t// If the character is not handled by one of the above rules and is\\n\\t\\t\\t// greater than or equal to U+0080, is `-` (U+002D) or `_` (U+005F), or\\n\\t\\t\\t// is in one of the ranges [0-9] (U+0030 to U+0039), [A-Z] (U+0041 to\\n\\t\\t\\t// U+005A), or [a-z] (U+0061 to U+007A), […]\\n\\t\\t\\tif (\\n\\t\\t\\t\\tcodeUnit >= 0x0080 ||\\n\\t\\t\\t\\tcodeUnit == 0x002D ||\\n\\t\\t\\t\\tcodeUnit == 0x005F ||\\n\\t\\t\\t\\tcodeUnit >= 0x0030 && codeUnit \u003C= 0x0039 ||\\n\\t\\t\\t\\tcodeUnit >= 0x0041 && codeUnit \u003C= 0x005A ||\\n\\t\\t\\t\\tcodeUnit >= 0x0061 && codeUnit \u003C= 0x007A\\n\\t\\t\\t) {\\n\\t\\t\\t\\t// the character itself\\n\\t\\t\\t\\tresult += string.charAt(index);\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\n\\t\\t\\t// Otherwise, the escaped character.\\n\\t\\t\\t// https://drafts.csswg.org/cssom/#escape-a-character\\n\\t\\t\\tresult += '\\\\\\\\' + string.charAt(index);\\n\\n\\t\\t}\\n\\t\\treturn result;\\n\\t};\\n})();\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/fakedom.js\":{\"title\":\"$:/core/modules/utils/fakedom.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/fakedom.js\\ntype: application/javascript\\nmodule-type: global\\n\\nA barebones implementation of DOM interfaces needed by the rendering mechanism.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Sequence number used to enable us to track objects for testing\\nvar sequenceNumber = null;\\n\\nvar bumpSequenceNumber = function(object) {\\n\\tif(sequenceNumber !== null) {\\n\\t\\tobject.sequenceNumber = sequenceNumber++;\\n\\t}\\n};\\n\\nvar TW_Node = function (){\\n\\tthrow TypeError(\\\"Illegal constructor\\\");\\n};\\n\\nObject.defineProperty(TW_Node.prototype, 'ELEMENT_NODE', {\\n\\tget: function() {\\n\\t\\treturn 1;\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Node.prototype, 'TEXT_NODE', {\\n\\tget: function() {\\n\\t\\treturn 3;\\n\\t}\\n});\\n\\nvar TW_TextNode = function(text) {\\n\\tbumpSequenceNumber(this);\\n\\tthis.textContent = text + \\\"\\\";\\n};\\n\\nObject.setPrototypeOf(TW_TextNode,TW_Node.prototype);\\n\\nObject.defineProperty(TW_TextNode.prototype, \\\"nodeType\\\", {\\n\\tget: function() {\\n\\t\\treturn this.TEXT_NODE;\\n\\t}\\n});\\n\\nObject.defineProperty(TW_TextNode.prototype, \\\"formattedTextContent\\\", {\\n\\tget: function() {\\n\\t\\treturn this.textContent.replace(/(\\\\r?\\\\n)/g,\\\"\\\");\\n\\t}\\n});\\n\\nvar TW_Element = function(tag,namespace) {\\n\\tbumpSequenceNumber(this);\\n\\tthis.isTiddlyWikiFakeDom = true;\\n\\tthis.tag = tag;\\n\\tthis.attributes = {};\\n\\tthis.isRaw = false;\\n\\tthis.children = [];\\n\\tthis._style = {};\\n\\tthis.namespaceURI = namespace || \\\"http://www.w3.org/1999/xhtml\\\";\\n};\\n\\nObject.setPrototypeOf(TW_Element,TW_Node.prototype);\\n\\nObject.defineProperty(TW_Element.prototype, \\\"style\\\", {\\n\\tget: function() {\\n\\t\\treturn this._style;\\n\\t},\\n\\tset: function(str) {\\n\\t\\tvar self = this;\\n\\t\\tstr = str || \\\"\\\";\\n\\t\\t$tw.utils.each(str.split(\\\";\\\"),function(declaration) {\\n\\t\\t\\tvar parts = declaration.split(\\\":\\\"),\\n\\t\\t\\t\\tname = $tw.utils.trim(parts[0]),\\n\\t\\t\\t\\tvalue = $tw.utils.trim(parts[1]);\\n\\t\\t\\tif(name && value) {\\n\\t\\t\\t\\tself._style[$tw.utils.convertStyleNameToPropertyName(name)] = value;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"nodeType\\\", {\\n\\tget: function() {\\n\\t\\treturn this.ELEMENT_NODE;\\n\\t}\\n});\\n\\nTW_Element.prototype.getAttribute = function(name) {\\n\\tif(this.isRaw) {\\n\\t\\tthrow \\\"Cannot getAttribute on a raw TW_Element\\\";\\n\\t}\\n\\treturn this.attributes[name];\\n};\\n\\nTW_Element.prototype.setAttribute = function(name,value) {\\n\\tif(this.isRaw) {\\n\\t\\tthrow \\\"Cannot setAttribute on a raw TW_Element\\\";\\n\\t}\\n\\tthis.attributes[name] = value + \\\"\\\";\\n};\\n\\nTW_Element.prototype.setAttributeNS = function(namespace,name,value) {\\n\\tthis.setAttribute(name,value);\\n};\\n\\nTW_Element.prototype.removeAttribute = function(name) {\\n\\tif(this.isRaw) {\\n\\t\\tthrow \\\"Cannot removeAttribute on a raw TW_Element\\\";\\n\\t}\\n\\tif($tw.utils.hop(this.attributes,name)) {\\n\\t\\tdelete this.attributes[name];\\n\\t}\\n};\\n\\nTW_Element.prototype.appendChild = function(node) {\\n\\tthis.children.push(node);\\n\\tnode.parentNode = this;\\n};\\n\\nTW_Element.prototype.insertBefore = function(node,nextSibling) {\\n\\tif(nextSibling) {\\n\\t\\tvar p = this.children.indexOf(nextSibling);\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tthis.children.splice(p,0,node);\\n\\t\\t\\tnode.parentNode = this;\\n\\t\\t} else {\\n\\t\\t\\tthis.appendChild(node);\\n\\t\\t}\\n\\t} else {\\n\\t\\tthis.appendChild(node);\\n\\t}\\n};\\n\\nTW_Element.prototype.removeChild = function(node) {\\n\\tvar p = this.children.indexOf(node);\\n\\tif(p !== -1) {\\n\\t\\tthis.children.splice(p,1);\\n\\t}\\n};\\n\\nTW_Element.prototype.hasChildNodes = function() {\\n\\treturn !!this.children.length;\\n};\\n\\nObject.defineProperty(TW_Element.prototype, \\\"childNodes\\\", {\\n\\tget: function() {\\n\\t\\treturn this.children;\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"firstChild\\\", {\\n\\tget: function() {\\n\\t\\treturn this.children[0];\\n\\t}\\n});\\n\\nTW_Element.prototype.addEventListener = function(type,listener,useCapture) {\\n\\t// Do nothing\\n};\\n\\nObject.defineProperty(TW_Element.prototype, \\\"tagName\\\", {\\n\\tget: function() {\\n\\t\\treturn this.tag || \\\"\\\";\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"className\\\", {\\n\\tget: function() {\\n\\t\\treturn this.attributes[\\\"class\\\"] || \\\"\\\";\\n\\t},\\n\\tset: function(value) {\\n\\t\\tthis.attributes[\\\"class\\\"] = value + \\\"\\\";\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"value\\\", {\\n\\tget: function() {\\n\\t\\treturn this.attributes.value || \\\"\\\";\\n\\t},\\n\\tset: function(value) {\\n\\t\\tthis.attributes.value = value + \\\"\\\";\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"outerHTML\\\", {\\n\\tget: function() {\\n\\t\\tvar output = [],attr,a,v;\\n\\t\\toutput.push(\\\"\u003C\\\",this.tag);\\n\\t\\tif(this.attributes) {\\n\\t\\t\\tattr = [];\\n\\t\\t\\tfor(a in this.attributes) {\\n\\t\\t\\t\\tattr.push(a);\\n\\t\\t\\t}\\n\\t\\t\\tattr.sort();\\n\\t\\t\\tfor(a=0; a\u003Cattr.length; a++) {\\n\\t\\t\\t\\tv = this.attributes[attr[a]];\\n\\t\\t\\t\\tif(v !== undefined) {\\n\\t\\t\\t\\t\\toutput.push(\\\" \\\",attr[a],\\\"=\\\\\\\"\\\",$tw.utils.htmlEncode(v),\\\"\\\\\\\"\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(this._style) {\\n\\t\\t\\tvar style = [];\\n\\t\\t\\tfor(var s in this._style) {\\n\\t\\t\\t\\tstyle.push($tw.utils.convertPropertyNameToStyleName(s) + \\\":\\\" + this._style[s] + \\\";\\\");\\n\\t\\t\\t}\\n\\t\\t\\tif(style.length > 0) {\\n\\t\\t\\t\\toutput.push(\\\" style=\\\\\\\"\\\",style.join(\\\"\\\"),\\\"\\\\\\\"\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\toutput.push(\\\">\\\");\\n\\t\\tif($tw.config.htmlVoidElements.indexOf(this.tag) === -1) {\\n\\t\\t\\toutput.push(this.innerHTML);\\n\\t\\t\\toutput.push(\\\"\u003C/\\\",this.tag,\\\">\\\");\\n\\t\\t}\\n\\t\\treturn output.join(\\\"\\\");\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"innerHTML\\\", {\\n\\tget: function() {\\n\\t\\tif(this.isRaw) {\\n\\t\\t\\treturn this.rawHTML;\\n\\t\\t} else {\\n\\t\\t\\tvar b = [];\\n\\t\\t\\t$tw.utils.each(this.children,function(node) {\\n\\t\\t\\t\\tif(node instanceof TW_Element) {\\n\\t\\t\\t\\t\\tb.push(node.outerHTML);\\n\\t\\t\\t\\t} else if(node instanceof TW_TextNode) {\\n\\t\\t\\t\\t\\tb.push($tw.utils.htmlTextEncode(node.textContent));\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\treturn b.join(\\\"\\\");\\n\\t\\t}\\n\\t},\\n\\tset: function(value) {\\n\\t\\tthis.isRaw = true;\\n\\t\\tthis.rawHTML = value;\\n\\t\\tthis.rawTextContent = null;\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"textInnerHTML\\\", {\\n\\tset: function(value) {\\n\\t\\tif(this.isRaw) {\\n\\t\\t\\tthis.rawTextContent = value;\\n\\t\\t} else {\\n\\t\\t\\tthrow \\\"Cannot set textInnerHTML of a non-raw TW_Element\\\";\\n\\t\\t}\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"textContent\\\", {\\n\\tget: function() {\\n\\t\\tif(this.isRaw) {\\n\\t\\t\\tif(this.rawTextContent === null) {\\n\\t\\t\\t\\treturn \\\"\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn this.rawTextContent;\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tvar b = [];\\n\\t\\t\\t$tw.utils.each(this.children,function(node) {\\n\\t\\t\\t\\tb.push(node.textContent);\\n\\t\\t\\t});\\n\\t\\t\\treturn b.join(\\\"\\\");\\n\\t\\t}\\n\\t},\\n\\tset: function(value) {\\n\\t\\tthis.children = [new TW_TextNode(value)];\\n\\t}\\n});\\n\\nObject.defineProperty(TW_Element.prototype, \\\"formattedTextContent\\\", {\\n\\tget: function() {\\n\\t\\tif(this.isRaw) {\\n\\t\\t\\treturn \\\"\\\";\\n\\t\\t} else {\\n\\t\\t\\tvar b = [],\\n\\t\\t\\t\\tisBlock = $tw.config.htmlBlockElements.indexOf(this.tag) !== -1;\\n\\t\\t\\tif(isBlock) {\\n\\t\\t\\t\\tb.push(\\\"\\\\n\\\");\\n\\t\\t\\t}\\n\\t\\t\\tif(this.tag === \\\"li\\\") {\\n\\t\\t\\t\\tb.push(\\\"* \\\");\\n\\t\\t\\t}\\n\\t\\t\\t$tw.utils.each(this.children,function(node) {\\n\\t\\t\\t\\tb.push(node.formattedTextContent);\\n\\t\\t\\t});\\n\\t\\t\\tif(isBlock) {\\n\\t\\t\\t\\tb.push(\\\"\\\\n\\\");\\n\\t\\t\\t}\\n\\t\\t\\treturn b.join(\\\"\\\");\\n\\t\\t}\\n\\t}\\n});\\n\\nvar document = {\\n\\tsetSequenceNumber: function(value) {\\n\\t\\tsequenceNumber = value;\\n\\t},\\n\\tcreateElementNS: function(namespace,tag) {\\n\\t\\treturn new TW_Element(tag,namespace);\\n\\t},\\n\\tcreateElement: function(tag) {\\n\\t\\treturn new TW_Element(tag);\\n\\t},\\n\\tcreateTextNode: function(text) {\\n\\t\\treturn new TW_TextNode(text);\\n\\t},\\n\\tcompatMode: \\\"CSS1Compat\\\", // For KaTeX to know that we're not a browser in quirks mode\\n\\tisTiddlyWikiFakeDom: true\\n};\\n\\nexports.fakeDocument = document;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/utils/filesystem.js\":{\"title\":\"$:/core/modules/utils/filesystem.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/filesystem.js\\ntype: application/javascript\\nmodule-type: utils-node\\n\\nFile system utilities\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar fs = require(\\\"fs\\\"),\\n\\tpath = require(\\\"path\\\");\\n\\n/*\\nReturn the subdirectories of a path\\n*/\\nexports.getSubdirectories = function(dirPath) {\\n\\tif(!$tw.utils.isDirectory(dirPath)) {\\n\\t\\treturn null;\\n\\t}\\n\\tvar subdirs = [];\\n\\t$tw.utils.each(fs.readdirSync(dirPath),function(item) {\\n\\t\\tif($tw.utils.isDirectory(path.resolve(dirPath,item))) {\\n\\t\\t\\tsubdirs.push(item);\\n\\t\\t}\\n\\t});\\n\\treturn subdirs;\\n}\\n\\n/*\\nRecursively (and synchronously) copy a directory and all its content\\n*/\\nexports.copyDirectory = function(srcPath,dstPath) {\\n\\t// Remove any trailing path separators\\n\\tsrcPath = path.resolve($tw.utils.removeTrailingSeparator(srcPath));\\n\\tdstPath = path.resolve($tw.utils.removeTrailingSeparator(dstPath));\\n\\t// Check that neither director is within the other\\n\\tif(srcPath.substring(0,dstPath.length) === dstPath || dstPath.substring(0,srcPath.length) === srcPath) {\\n\\t\\treturn \\\"Cannot copy nested directories\\\";\\n\\t}\\n\\t// Create the destination directory\\n\\tvar err = $tw.utils.createDirectory(dstPath);\\n\\tif(err) {\\n\\t\\treturn err;\\n\\t}\\n\\t// Function to copy a folder full of files\\n\\tvar copy = function(srcPath,dstPath) {\\n\\t\\tvar srcStats = fs.lstatSync(srcPath),\\n\\t\\t\\tdstExists = fs.existsSync(dstPath);\\n\\t\\tif(srcStats.isFile()) {\\n\\t\\t\\t$tw.utils.copyFile(srcPath,dstPath);\\n\\t\\t} else if(srcStats.isDirectory()) {\\n\\t\\t\\tvar items = fs.readdirSync(srcPath);\\n\\t\\t\\tfor(var t=0; t\u003Citems.length; t++) {\\n\\t\\t\\t\\tvar item = items[t],\\n\\t\\t\\t\\t\\terr = copy(srcPath + path.sep + item,dstPath + path.sep + item);\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn err;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n\\tcopy(srcPath,dstPath);\\n\\treturn null;\\n};\\n\\n/*\\nCopy a file\\n*/\\nvar FILE_BUFFER_LENGTH = 64 * 1024,\\n\\tfileBuffer;\\n\\nexports.copyFile = function(srcPath,dstPath) {\\n\\t// Create buffer if required\\n\\tif(!fileBuffer) {\\n\\t\\tfileBuffer = Buffer.alloc(FILE_BUFFER_LENGTH);\\n\\t}\\n\\t// Create any directories in the destination\\n\\t$tw.utils.createDirectory(path.dirname(dstPath));\\n\\t// Copy the file\\n\\tvar srcFile = fs.openSync(srcPath,\\\"r\\\"),\\n\\t\\tdstFile = fs.openSync(dstPath,\\\"w\\\"),\\n\\t\\tbytesRead = 1,\\n\\t\\tpos = 0;\\n\\twhile (bytesRead > 0) {\\n\\t\\tbytesRead = fs.readSync(srcFile,fileBuffer,0,FILE_BUFFER_LENGTH,pos);\\n\\t\\tfs.writeSync(dstFile,fileBuffer,0,bytesRead);\\n\\t\\tpos += bytesRead;\\n\\t}\\n\\tfs.closeSync(srcFile);\\n\\tfs.closeSync(dstFile);\\n\\treturn null;\\n};\\n\\n/*\\nRemove trailing path separator\\n*/\\nexports.removeTrailingSeparator = function(dirPath) {\\n\\tvar len = dirPath.length;\\n\\tif(dirPath.charAt(len-1) === path.sep) {\\n\\t\\tdirPath = dirPath.substr(0,len-1);\\n\\t}\\n\\treturn dirPath;\\n};\\n\\n/*\\nRecursively create a directory\\n*/\\nexports.createDirectory = function(dirPath) {\\n\\tif(dirPath.substr(dirPath.length-1,1) !== path.sep) {\\n\\t\\tdirPath = dirPath + path.sep;\\n\\t}\\n\\tvar pos = 1;\\n\\tpos = dirPath.indexOf(path.sep,pos);\\n\\twhile(pos !== -1) {\\n\\t\\tvar subDirPath = dirPath.substr(0,pos);\\n\\t\\tif(!$tw.utils.isDirectory(subDirPath)) {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tfs.mkdirSync(subDirPath);\\n\\t\\t\\t} catch(e) {\\n\\t\\t\\t\\treturn \\\"Error creating directory '\\\" + subDirPath + \\\"'\\\";\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tpos = dirPath.indexOf(path.sep,pos + 1);\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nRecursively create directories needed to contain a specified file\\n*/\\nexports.createFileDirectories = function(filePath) {\\n\\treturn $tw.utils.createDirectory(path.dirname(filePath));\\n};\\n\\n/*\\nRecursively delete a directory\\n*/\\nexports.deleteDirectory = function(dirPath) {\\n\\tif(fs.existsSync(dirPath)) {\\n\\t\\tvar entries = fs.readdirSync(dirPath);\\n\\t\\tfor(var entryIndex=0; entryIndex\u003Centries.length; entryIndex++) {\\n\\t\\t\\tvar currPath = dirPath + path.sep + entries[entryIndex];\\n\\t\\t\\tif(fs.lstatSync(currPath).isDirectory()) {\\n\\t\\t\\t\\t$tw.utils.deleteDirectory(currPath);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tfs.unlinkSync(currPath);\\n\\t\\t\\t}\\n\\t\\t}\\n\\tfs.rmdirSync(dirPath);\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nCheck if a path identifies a directory\\n*/\\nexports.isDirectory = function(dirPath) {\\n\\treturn fs.existsSync(dirPath) && fs.statSync(dirPath).isDirectory();\\n};\\n\\n/*\\nCheck if a path identifies a directory that is empty\\n*/\\nexports.isDirectoryEmpty = function(dirPath) {\\n\\tif(!$tw.utils.isDirectory(dirPath)) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar files = fs.readdirSync(dirPath),\\n\\t\\tempty = true;\\n\\t$tw.utils.each(files,function(file,index) {\\n\\t\\tif(file.charAt(0) !== \\\".\\\") {\\n\\t\\t\\tempty = false;\\n\\t\\t}\\n\\t});\\n\\treturn empty;\\n};\\n\\n/*\\nRecursively delete a tree of empty directories\\n*/\\nexports.deleteEmptyDirs = function(dirpath,callback) {\\n\\tvar self = this;\\n\\tfs.readdir(dirpath,function(err,files) {\\n\\t\\tif(err) {\\n\\t\\t\\treturn callback(err);\\n\\t\\t}\\n\\t\\tif(files.length > 0) {\\n\\t\\t\\treturn callback(null);\\n\\t\\t}\\n\\t\\tfs.rmdir(dirpath,function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tself.deleteEmptyDirs(path.dirname(dirpath),callback);\\n\\t\\t});\\n\\t});\\n};\\n\\n/*\\nCreate a fileInfo object for saving a tiddler:\\n\\tfilepath: the absolute path to the file containing the tiddler\\n\\ttype: the type of the tiddler file on disk (NOT the type of the tiddler)\\n\\thasMetaFile: true if the file also has a companion .meta file\\n\\tisEditableFile: true if the tiddler was loaded via non-standard options & marked editable\\nOptions include:\\n\\tdirectory: absolute path of root directory to which we are saving\\n\\tpathFilters: optional array of filters to be used to generate the base path\\n\\textFilters: optional array of filters to be used to generate the base path\\n\\twiki: optional wiki for evaluating the pathFilters,\\n\\tfileInfo: an existing fileInfo to check against\\n*/\\nexports.generateTiddlerFileInfo = function(tiddler,options) {\\n\\tvar fileInfo = {}, metaExt;\\n\\t// Propagate the isEditableFile flag\\n\\tif(options.fileInfo && !!options.fileInfo.isEditableFile) {\\n\\t\\tfileInfo.isEditableFile = true;\\n\\t\\tfileInfo.originalpath = options.fileInfo.originalpath;\\n\\t}\\n\\t// Check if the tiddler has any unsafe fields that can't be expressed in a .tid or .meta file: containing control characters, or leading/trailing whitespace\\n\\tvar hasUnsafeFields = false;\\n\\t$tw.utils.each(tiddler.getFieldStrings(),function(value,fieldName) {\\n\\t\\tif(fieldName !== \\\"text\\\") {\\n\\t\\t\\thasUnsafeFields = hasUnsafeFields || /[\\\\x00-\\\\x1F]/mg.test(value);\\n\\t\\t\\thasUnsafeFields = hasUnsafeFields || ($tw.utils.trim(value) !== value);\\n\\t\\t}\\n\\t\\thasUnsafeFields = hasUnsafeFields || /:|#/mg.test(fieldName);\\n\\t});\\n\\t// Check for field values \\n\\tif(hasUnsafeFields) {\\n\\t\\t// Save as a JSON file\\n\\t\\tfileInfo.type = \\\"application/json\\\";\\n\\t\\tfileInfo.hasMetaFile = false;\\n\\t} else {\\n\\t\\t// Save as a .tid or a text/binary file plus a .meta file\\n\\t\\tvar tiddlerType = tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\";\\n\\t\\tif(tiddlerType === \\\"text/vnd.tiddlywiki\\\" || tiddler.hasField(\\\"_canonical_uri\\\")) {\\n\\t\\t\\t// Save as a .tid file\\n\\t\\t\\tfileInfo.type = \\\"application/x-tiddler\\\";\\n\\t\\t\\tfileInfo.hasMetaFile = false;\\n\\t\\t} else {\\n\\t\\t\\t// Save as a text/binary file and a .meta file\\n\\t\\t\\tfileInfo.type = tiddlerType;\\n\\t\\t\\tfileInfo.hasMetaFile = true;\\n\\t\\t}\\n\\t\\tif(options.extFilters) {\\n\\t\\t\\t// Check for extension overrides\\n\\t\\t\\tmetaExt = $tw.utils.generateTiddlerExtension(tiddler.fields.title,{\\n\\t\\t\\t\\textFilters: options.extFilters,\\n\\t\\t\\t\\twiki: options.wiki\\n\\t\\t\\t});\\n\\t\\t\\tif(metaExt) {\\n\\t\\t\\t\\tif(metaExt === \\\".tid\\\") {\\n\\t\\t\\t\\t\\t// Overriding to the .tid extension needs special handling\\n\\t\\t\\t\\t\\tfileInfo.type = \\\"application/x-tiddler\\\";\\n\\t\\t\\t\\t\\tfileInfo.hasMetaFile = false;\\n\\t\\t\\t\\t} else if (metaExt === \\\".json\\\") {\\n\\t\\t\\t\\t\\t// Overriding to the .json extension needs special handling\\n\\t\\t\\t\\t\\tfileInfo.type = \\\"application/json\\\";\\n\\t\\t\\t\\t\\tfileInfo.hasMetaFile = false;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t//If the new type matches a known extention, use that MIME type's encoding\\n\\t\\t\\t\\t\\tvar extInfo = $tw.utils.getFileExtensionInfo(metaExt);\\n\\t\\t\\t\\t\\tfileInfo.type = extInfo ? extInfo.type : null;\\n\\t\\t\\t\\t\\tfileInfo.encoding = $tw.utils.getTypeEncoding(metaExt);\\n\\t\\t\\t\\t\\tfileInfo.hasMetaFile = true;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Take the file extension from the tiddler content type or metaExt\\n\\tvar contentTypeInfo = $tw.config.contentTypeInfo[fileInfo.type] || {extension: \\\"\\\"};\\n\\t// Generate the filepath\\n\\tfileInfo.filepath = $tw.utils.generateTiddlerFilepath(tiddler.fields.title,{\\n\\t\\textension: metaExt || contentTypeInfo.extension,\\n\\t\\tdirectory: options.directory,\\n\\t\\tpathFilters: options.pathFilters,\\n\\t\\twiki: options.wiki,\\n\\t\\tfileInfo: options.fileInfo\\n\\t});\\n\\treturn fileInfo;\\n};\\n\\n/*\\nGenerate the file extension for saving a tiddler\\nOptions include:\\n\\textFilters: optional array of filters to be used to generate the extention\\n\\twiki: optional wiki for evaluating the extFilters\\n*/\\nexports.generateTiddlerExtension = function(title,options) {\\n\\tvar extension;\\n\\t// Check if any of the extFilters applies\\n\\tif(options.extFilters && options.wiki) { \\n\\t\\t$tw.utils.each(options.extFilters,function(filter) {\\n\\t\\t\\tif(!extension) {\\n\\t\\t\\t\\tvar source = options.wiki.makeTiddlerIterator([title]),\\n\\t\\t\\t\\t\\tresult = options.wiki.filterTiddlers(filter,null,source);\\n\\t\\t\\t\\tif(result.length > 0) {\\n\\t\\t\\t\\t\\textension = result[0];\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn extension;\\n};\\n\\n/*\\nGenerate the filepath for saving a tiddler\\nOptions include:\\n\\textension: file extension to be added the finished filepath\\n\\tdirectory: absolute path of root directory to which we are saving\\n\\tpathFilters: optional array of filters to be used to generate the base path\\n\\twiki: optional wiki for evaluating the pathFilters\\n\\tfileInfo: an existing fileInfo object to check against\\n*/\\nexports.generateTiddlerFilepath = function(title,options) {\\n\\tvar directory = options.directory || \\\"\\\",\\n\\t\\textension = options.extension || \\\"\\\",\\n\\t\\toriginalpath = (options.fileInfo && options.fileInfo.originalpath) ? options.fileInfo.originalpath : \\\"\\\",\\n\\t\\tfilepath;\\n\\t// Check if any of the pathFilters applies\\n\\tif(options.pathFilters && options.wiki) {\\n\\t\\t$tw.utils.each(options.pathFilters,function(filter) {\\n\\t\\t\\tif(!filepath) {\\n\\t\\t\\t\\tvar source = options.wiki.makeTiddlerIterator([title]),\\n\\t\\t\\t\\t\\tresult = options.wiki.filterTiddlers(filter,null,source);\\n\\t\\t\\t\\tif(result.length > 0) {\\n\\t\\t\\t\\t\\tfilepath = result[0];\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\tif(!filepath && !!originalpath) {\\n\\t\\t//Use the originalpath without the extension\\n\\t\\tvar ext = path.extname(originalpath);\\n\\t\\tfilepath = originalpath.substring(0,originalpath.length - ext.length);\\n\\t} else if(!filepath) {\\n\\t\\tfilepath = title;\\n\\t\\t// Remove any forward or backward slashes so we don't create directories\\n\\t\\tfilepath = filepath.replace(/\\\\/|\\\\\\\\/g,\\\"_\\\");\\n\\t}\\n\\t// Replace any Windows control codes\\n\\tfilepath = filepath.replace(/^(con|prn|aux|nul|com[0-9]|lpt[0-9])$/i,\\\"_$1_\\\");\\n\\t// Replace any leading spaces with the same number of underscores\\n\\tfilepath = filepath.replace(/^ +/,function (u) { return u.replace(/ /g, \\\"_\\\")});\\n\\t//If the path does not start with \\\".\\\" or \\\"..\\\" && a path seperator, then\\n\\tif(!/^\\\\.{1,2}[/\\\\\\\\]/g.test(filepath)) {\\n\\t\\t// Don't let the filename start with any dots because such files are invisible on *nix\\n\\t\\tfilepath = filepath.replace(/^\\\\.+/g,function (u) { return u.replace(/\\\\./g, \\\"_\\\")});\\n\\t}\\n\\t// Replace any Unicode control codes\\n\\tfilepath = filepath.replace(/[\\\\x00-\\\\x1f\\\\x80-\\\\x9f]/g,\\\"_\\\");\\n\\t// Replace any characters that can't be used in cross-platform filenames\\n\\tfilepath = $tw.utils.transliterate(filepath.replace(/\u003C|>|~|\\\\:|\\\\\\\"|\\\\||\\\\?|\\\\*|\\\\^/g,\\\"_\\\"));\\n\\t// Replace any dots or spaces at the end of the extension with the same number of underscores\\n\\textension = extension.replace(/[\\\\. ]+$/, function (u) { return u.replace(/[\\\\. ]/g, \\\"_\\\")});\\n\\t// Truncate the extension if it is too long\\n\\tif(extension.length > 32) {\\n\\t\\textension = extension.substr(0,32);\\n\\t}\\n\\t// If the filepath already ends in the extension then remove it\\n\\tif(filepath.substring(filepath.length - extension.length) === extension) {\\n\\t\\tfilepath = filepath.substring(0,filepath.length - extension.length);\\n\\t}\\n\\t// Truncate the filename if it is too long\\n\\tif(filepath.length > 200) {\\n\\t\\tfilepath = filepath.substr(0,200);\\n\\t}\\n\\t// If the resulting filename is blank (eg because the title is just punctuation)\\n\\tif(!filepath || /^_+$/g.test(filepath)) {\\n\\t\\t// ...then just use the character codes of the title\\n\\t\\tfilepath = \\\"\\\";\\n\\t\\t$tw.utils.each(title.split(\\\"\\\"),function(char) {\\n\\t\\t\\tif(filepath) {\\n\\t\\t\\t\\tfilepath += \\\"-\\\";\\n\\t\\t\\t}\\n\\t\\t\\tfilepath += char.charCodeAt(0).toString();\\n\\t\\t});\\n\\t}\\n\\t// Add a uniquifier if the file already exists\\n\\tvar fullPath, oldPath = (options.fileInfo) ? options.fileInfo.filepath : undefined,\\n\\t\\tcount = 0;\\n\\tdo {\\n\\t\\tfullPath = path.resolve(directory,filepath + (count ? \\\"_\\\" + count : \\\"\\\") + extension);\\n\\t\\tif(oldPath && oldPath == fullPath) {\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\tcount++;\\n\\t} while(fs.existsSync(fullPath));\\n\\t// If the last write failed with an error, or if path does not start with:\\n\\t//\\tthe resolved options.directory, the resolved wikiPath directory, the wikiTiddlersPath directory, \\n\\t//\\tor the 'originalpath' directory, then $tw.utils.encodeURIComponentExtended() and resolve to tiddler directory.\\n\\tvar writePath = $tw.hooks.invokeHook(\\\"th-make-tiddler-path\\\",fullPath,fullPath),\\n\\t\\tencode = (options.fileInfo || {writeError: false}).writeError == true;\\n\\tif(!encode) {\\n\\t\\tencode = !(writePath.indexOf($tw.boot.wikiTiddlersPath) == 0 ||\\n\\t\\t\\twritePath.indexOf(path.resolve(directory)) == 0 ||\\n\\t\\t\\twritePath.indexOf(path.resolve($tw.boot.wikiPath)) == 0 ||\\n\\t\\t\\twritePath.indexOf(path.resolve($tw.boot.wikiTiddlersPath,originalpath)) == 0 );\\n\\t\\t}\\n\\tif(encode) {\\n\\t\\twritePath = path.resolve(directory,$tw.utils.encodeURIComponentExtended(fullPath));\\n\\t}\\n\\t// Return the full path to the file\\n\\treturn writePath;\\n};\\n\\n/*\\nSave a tiddler to a file described by the fileInfo:\\n\\tfilepath: the absolute path to the file containing the tiddler\\n\\ttype: the type of the tiddler file (NOT the type of the tiddler)\\n\\thasMetaFile: true if the file also has a companion .meta file\\n*/\\nexports.saveTiddlerToFile = function(tiddler,fileInfo,callback) {\\n\\t$tw.utils.createDirectory(path.dirname(fileInfo.filepath));\\n\\tif(fileInfo.hasMetaFile) {\\n\\t\\t// Save the tiddler as a separate body and meta file\\n\\t\\tvar typeInfo = $tw.config.contentTypeInfo[tiddler.fields.type || \\\"text/plain\\\"] || {encoding: \\\"utf8\\\"};\\n\\t\\tfs.writeFile(fileInfo.filepath,tiddler.fields.text || \\\"\\\",typeInfo.encoding,function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t}\\n\\t\\t\\tfs.writeFile(fileInfo.filepath + \\\".meta\\\",tiddler.getFieldStringBlock({exclude: [\\\"text\\\",\\\"bag\\\"]}),\\\"utf8\\\",function(err) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn callback(null,fileInfo);\\n\\t\\t\\t});\\n\\t\\t});\\n\\t} else {\\n\\t\\t// Save the tiddler as a self contained templated file\\n\\t\\tif(fileInfo.type === \\\"application/x-tiddler\\\") {\\n\\t\\t\\tfs.writeFile(fileInfo.filepath,tiddler.getFieldStringBlock({exclude: [\\\"text\\\",\\\"bag\\\"]}) + (!!tiddler.fields.text ? \\\"\\\\n\\\\n\\\" + tiddler.fields.text : \\\"\\\"),\\\"utf8\\\",function(err) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn callback(null,fileInfo);\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tfs.writeFile(fileInfo.filepath,JSON.stringify([tiddler.getFieldStrings({exclude: [\\\"bag\\\"]})],null,$tw.config.preferences.jsonSpaces),\\\"utf8\\\",function(err) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn callback(null,fileInfo);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nSave a tiddler to a file described by the fileInfo:\\n\\tfilepath: the absolute path to the file containing the tiddler\\n\\ttype: the type of the tiddler file (NOT the type of the tiddler)\\n\\thasMetaFile: true if the file also has a companion .meta file\\n*/\\nexports.saveTiddlerToFileSync = function(tiddler,fileInfo) {\\n\\t$tw.utils.createDirectory(path.dirname(fileInfo.filepath));\\n\\tif(fileInfo.hasMetaFile) {\\n\\t\\t// Save the tiddler as a separate body and meta file\\n\\t\\tvar typeInfo = $tw.config.contentTypeInfo[tiddler.fields.type || \\\"text/plain\\\"] || {encoding: \\\"utf8\\\"};\\n\\t\\tfs.writeFileSync(fileInfo.filepath,tiddler.fields.text || \\\"\\\",typeInfo.encoding);\\n\\t\\tfs.writeFileSync(fileInfo.filepath + \\\".meta\\\",tiddler.getFieldStringBlock({exclude: [\\\"text\\\",\\\"bag\\\"]}),\\\"utf8\\\");\\n\\t} else {\\n\\t\\t// Save the tiddler as a self contained templated file\\n\\t\\tif(fileInfo.type === \\\"application/x-tiddler\\\") {\\n\\t\\t\\tfs.writeFileSync(fileInfo.filepath,tiddler.getFieldStringBlock({exclude: [\\\"text\\\",\\\"bag\\\"]}) + (!!tiddler.fields.text ? \\\"\\\\n\\\\n\\\" + tiddler.fields.text : \\\"\\\"),\\\"utf8\\\");\\n\\t\\t} else {\\n\\t\\t\\tfs.writeFileSync(fileInfo.filepath,JSON.stringify([tiddler.getFieldStrings({exclude: [\\\"bag\\\"]})],null,$tw.config.preferences.jsonSpaces),\\\"utf8\\\");\\n\\t\\t}\\n\\t}\\n\\treturn fileInfo;\\n};\\n\\n/*\\nDelete a file described by the fileInfo if it exits\\n*/\\nexports.deleteTiddlerFile = function(fileInfo,callback) {\\n\\t//Only attempt to delete files that exist on disk\\n\\tif(!fileInfo.filepath || !fs.existsSync(fileInfo.filepath)) {\\n\\t\\t//For some reason, the tiddler is only in memory or we can't modify the file at this path\\n\\t\\t$tw.syncer.displayError(\\\"Server deleteTiddlerFile task failed for filepath: \\\"+fileInfo.filepath);\\n\\t\\treturn callback(null,fileInfo);\\n\\t}\\n\\t// Delete the file\\n\\tfs.unlink(fileInfo.filepath,function(err) {\\n\\t\\tif(err) {\\n\\t\\t\\treturn callback(err);\\n\\t\\t}\\n\\t\\t// Delete the metafile if present\\n\\t\\tif(fileInfo.hasMetaFile && fs.existsSync(fileInfo.filepath + \\\".meta\\\")) {\\n\\t\\t\\tfs.unlink(fileInfo.filepath + \\\".meta\\\",function(err) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn $tw.utils.deleteEmptyDirs(path.dirname(fileInfo.filepath),function(err) {\\n\\t\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\treturn callback(null,fileInfo);\\n\\t\\t\\t\\t});\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\treturn $tw.utils.deleteEmptyDirs(path.dirname(fileInfo.filepath),function(err) {\\n\\t\\t\\t\\tif(err) {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn callback(null,fileInfo);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t});\\n};\\n\\n/*\\nCleanup old files on disk, by comparing the options values:\\n\\tadaptorInfo from $tw.syncer.tiddlerInfo\\n\\tbootInfo from $tw.boot.files\\n*/\\nexports.cleanupTiddlerFiles = function(options,callback) {\\n\\tvar adaptorInfo = options.adaptorInfo || {},\\n\\tbootInfo = options.bootInfo || {},\\n\\ttitle = options.title || \\\"undefined\\\";\\n\\tif(adaptorInfo.filepath && bootInfo.filepath && adaptorInfo.filepath !== bootInfo.filepath) {\\n\\t\\t$tw.utils.deleteTiddlerFile(adaptorInfo,function(err) {\\n\\t\\t\\tif(err) {\\n\\t\\t\\t\\tif ((err.code == \\\"EPERM\\\" || err.code == \\\"EACCES\\\") && err.syscall == \\\"unlink\\\") {\\n\\t\\t\\t\\t\\t// Error deleting the previous file on disk, should fail gracefully\\n\\t\\t\\t\\t\\t$tw.syncer.displayError(\\\"Server desynchronized. Error cleaning up previous file for tiddler: \\\\\\\"\\\"+title+\\\"\\\\\\\"\\\",err);\\n\\t\\t\\t\\t\\treturn callback(null,bootInfo);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\treturn callback(err);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\treturn callback(null,bootInfo);\\n\\t\\t});\\n\\t} else {\\n\\t\\treturn callback(null,bootInfo);\\n\\t}\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils-node\"},\"$:/core/modules/utils/linkedlist.js\":{\"title\":\"$:/core/modules/utils/linkedlist.js\",\"text\":\"/*\\\\\\nmodule-type: utils\\ntitle: $:/core/modules/utils/linkedlist.js\\ntype: application/javascript\\n\\nThis is a doubly-linked indexed list intended for manipulation, particularly\\npushTop, which it does with significantly better performance than an array.\\n\\n\\\\*/\\n(function(){\\n\\nfunction LinkedList() {\\n\\tthis.clear();\\n};\\n\\nLinkedList.prototype.clear = function() {\\n\\t// LinkedList performs the duty of both the head and tail node\\n\\tthis.next = new LLMap();\\n\\tthis.prev = new LLMap();\\n\\t// Linked list head initially points to itself\\n\\tthis.next.set(null, null);\\n\\tthis.prev.set(null, null);\\n\\tthis.length = 0;\\n};\\n\\nLinkedList.prototype.remove = function(value) {\\n\\tif($tw.utils.isArray(value)) {\\n\\t\\tfor(var t=0; t\u003Cvalue.length; t++) {\\n\\t\\t\\t_assertString(value[t]);\\n\\t\\t}\\n\\t\\tfor(var t=0; t\u003Cvalue.length; t++) {\\n\\t\\t\\t_removeOne(this,value[t]);\\n\\t\\t}\\n\\t} else {\\n\\t\\t_assertString(value);\\n\\t\\t_removeOne(this,value);\\n\\t}\\n};\\n\\n/*\\nPush behaves like array.push and accepts multiple string arguments. But it also\\naccepts a single array argument too, to be consistent with its other methods.\\n*/\\nLinkedList.prototype.push = function(/* values */) {\\n\\tvar i, values = arguments;\\n\\tif($tw.utils.isArray(values[0])) {\\n\\t\\tvalues = values[0];\\n\\t}\\n\\tfor(i = 0; i \u003C values.length; i++) {\\n\\t\\t_assertString(values[i]);\\n\\t}\\n\\tfor(i = 0; i \u003C values.length; i++) {\\n\\t\\t_linkToEnd(this,values[i]);\\n\\t}\\n\\treturn this.length;\\n};\\n\\nLinkedList.prototype.pushTop = function(value) {\\n\\tvar t;\\n\\tif($tw.utils.isArray(value)) {\\n\\t\\tfor (t=0; t\u003Cvalue.length; t++) {\\n\\t\\t\\t_assertString(value[t]);\\n\\t\\t}\\n\\t\\tfor(t=0; t\u003Cvalue.length; t++) {\\n\\t\\t\\t_removeOne(this,value[t]);\\n\\t\\t}\\n\\t\\tfor(t=0; t\u003Cvalue.length; t++) {\\n\\t\\t\\t_linkToEnd(this,value[t]);\\n\\t\\t}\\n\\t} else {\\n\\t\\t_assertString(value);\\n\\t\\t_removeOne(this,value);\\n\\t\\t_linkToEnd(this,value);\\n\\t}\\n};\\n\\nLinkedList.prototype.each = function(callback) {\\n\\tvar visits = Object.create(null),\\n\\t\\tvalue = this.next.get(null);\\n\\twhile(value !== null) {\\n\\t\\tcallback(value);\\n\\t\\tvar next = this.next.get(value);\\n\\t\\tif(Array.isArray(next)) {\\n\\t\\t\\tvar i = visits[value] || 0;\\n\\t\\t\\tvisits[value] = i+1;\\n\\t\\t\\tvalue = next[i];\\n\\t\\t} else {\\n\\t\\t\\tvalue = next;\\n\\t\\t}\\n\\t}\\n};\\n\\nLinkedList.prototype.toArray = function() {\\n\\tvar output = new Array(this.length),\\n\\t\\tindex = 0;\\n\\tthis.each(function(value) { output[index++] = value; });\\n\\treturn output;\\n};\\n\\nLinkedList.prototype.makeTiddlerIterator = function(wiki) {\\n\\tvar self = this;\\n\\treturn function(callback) {\\n\\t\\tself.each(function(title) {\\n\\t\\t\\tcallback(wiki.getTiddler(title),title);\\n\\t\\t});\\n\\t};\\n};\\n\\nfunction _removeOne(list,value) {\\n\\tvar nextEntry = list.next.get(value);\\n\\tif(nextEntry === undefined) {\\n\\t\\treturn;\\n\\t}\\n\\tvar prevEntry = list.prev.get(value),\\n\\t\\tprev = prevEntry,\\n\\t\\tnext = nextEntry,\\n\\t\\tref;\\n\\tif(Array.isArray(nextEntry)) {\\n\\t\\tnext = nextEntry[0];\\n\\t\\tprev = prevEntry[0];\\n\\t}\\n\\t// Relink preceding element.\\n\\tref = list.next.get(prev);\\n\\tif(Array.isArray(ref)) {\\n\\t\\tvar i = ref.indexOf(value);\\n\\t\\tref[i] = next;\\n\\t} else {\\n\\t\\tlist.next.set(prev,next);\\n\\t}\\n\\n\\t// Now relink following element\\n\\tref = list.prev.get(next);\\n\\tif(Array.isArray(ref)) {\\n\\t\\tvar i = ref.indexOf(value);\\n\\t\\tref[i] = prev;\\n\\t} else {\\n\\t\\tlist.prev.set(next,prev);\\n\\t}\\n\\n\\t// Delink actual value. If it uses arrays, just remove first entries.\\n\\tif(Array.isArray(nextEntry) && nextEntry.length > 1) {\\n\\t\\tnextEntry.shift();\\n\\t\\tprevEntry.shift();\\n\\t} else {\\n\\t\\tlist.next.set(value,undefined);\\n\\t\\tlist.prev.set(value,undefined);\\n\\t}\\n\\tlist.length -= 1;\\n};\\n\\n// Sticks the given node onto the end of the list.\\nfunction _linkToEnd(list,value) {\\n\\tvar old = list.next.get(value);\\n\\tvar last = list.prev.get(null);\\n\\t// Does it already exists?\\n\\tif(old !== undefined) {\\n\\t\\tif(!Array.isArray(old)) {\\n\\t\\t\\told = [old];\\n\\t\\t\\tlist.next.set(value,old);\\n\\t\\t\\tlist.prev.set(value,[list.prev.get(value)]);\\n\\t\\t}\\n\\t\\told.push(null);\\n\\t\\tlist.prev.get(value).push(last);\\n\\t} else {\\n\\t\\tlist.next.set(value,null);\\n\\t\\tlist.prev.set(value,last);\\n\\t}\\n\\t// Make the old last point to this new one.\\n\\tif(value !== last) {\\n\\t\\tvar array = list.next.get(last);\\n\\t\\tif(Array.isArray(array)) {\\n\\t\\t\\tarray[array.length-1] = value;\\n\\t\\t} else {\\n\\t\\t\\tlist.next.set(last,value);\\n\\t\\t}\\n\\t\\tlist.prev.set(null,value);\\n\\t} else {\\n\\t\\t// Edge case, the pushed value was already the last value.\\n\\t\\t// The second-to-last nextPtr for that value must point to itself now.\\n\\t\\tvar array = list.next.get(last);\\n\\t\\tarray[array.length-2] = value;\\n\\t}\\n\\tlist.length += 1;\\n};\\n\\nfunction _assertString(value) {\\n\\tif(typeof value !== \\\"string\\\") {\\n\\t\\tthrow \\\"Linked List only accepts string values, not \\\" + value;\\n\\t}\\n};\\n\\nvar LLMap = function() {\\n\\tthis.map = Object.create(null);\\n};\\n\\n// Just a wrapper so our object map can also accept null.\\nLLMap.prototype = {\\n\\tset: function(key,val) {\\n\\t\\t(key === null) ? (this.null = val) : (this.map[key] = val);\\n\\t},\\n\\tget: function(key) {\\n\\t\\treturn (key === null) ? this.null : this.map[key];\\n\\t}\\n};\\n\\nexports.LinkedList = LinkedList;\\n\\n})();\\n\",\"module-type\":\"utils\",\"type\":\"application/javascript\"},\"$:/core/modules/utils/logger.js\":{\"title\":\"$:/core/modules/utils/logger.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/logger.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nA basic logging implementation\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar ALERT_TAG = \\\"$:/tags/Alert\\\";\\n\\n/*\\nMake a new logger\\n*/\\nfunction Logger(componentName,options) {\\n\\toptions = options || {};\\n\\tthis.componentName = componentName || \\\"\\\";\\n\\tthis.colour = options.colour || \\\"white\\\";\\n\\tthis.enable = \\\"enable\\\" in options ? options.enable : true;\\n\\tthis.save = \\\"save\\\" in options ? options.save : true;\\n\\tthis.saveLimit = options.saveLimit || 100 * 1024;\\n\\tthis.saveBufferLogger = this;\\n\\tthis.buffer = \\\"\\\";\\n\\tthis.alertCount = 0;\\n}\\n\\nLogger.prototype.setSaveBuffer = function(logger) {\\n\\tthis.saveBufferLogger = logger;\\n};\\n\\n/*\\nLog a message\\n*/\\nLogger.prototype.log = function(/* args */) {\\n\\tvar self = this;\\n\\tif(this.enable) {\\n\\t\\tif(this.saveBufferLogger.save) {\\n\\t\\t\\tthis.saveBufferLogger.buffer += $tw.utils.formatDateString(new Date(),\\\"YYYY MM DD 0hh:0mm:0ss.0XXX\\\") + \\\":\\\";\\n\\t\\t\\t$tw.utils.each(Array.prototype.slice.call(arguments,0),function(arg,index) {\\n\\t\\t\\t\\tself.saveBufferLogger.buffer += \\\" \\\" + arg;\\n\\t\\t\\t});\\n\\t\\t\\tthis.saveBufferLogger.buffer += \\\"\\\\n\\\";\\n\\t\\t\\tthis.saveBufferLogger.buffer = this.saveBufferLogger.buffer.slice(-this.saveBufferLogger.saveLimit);\\n\\t\\t}\\n\\t\\tif(console !== undefined && console.log !== undefined) {\\n\\t\\t\\tvar logMessage = [$tw.utils.terminalColour(this.colour) + this.componentName + \\\":\\\"].concat(Array.prototype.slice.call(arguments,0));\\n\\t\\t\\tlogMessage[logMessage.length-1] += $tw.utils.terminalColour();\\n\\t\\t\\treturn Function.apply.call(console.log, console, logMessage);\\n\\t\\t}\\n\\t} \\n};\\n\\n/*\\nRead the message buffer\\n*/\\nLogger.prototype.getBuffer = function() {\\n\\treturn this.saveBufferLogger.buffer;\\n};\\n\\n/*\\nLog a structure as a table\\n*/\\nLogger.prototype.table = function(value) {\\n\\t(console.table || console.log)(value);\\n};\\n\\n/*\\nAlert a message\\n*/\\nLogger.prototype.alert = function(/* args */) {\\n\\tif(this.enable) {\\n\\t\\t// Prepare the text of the alert\\n\\t\\tvar text = Array.prototype.join.call(arguments,\\\" \\\");\\n\\t\\t// Create alert tiddlers in the browser\\n\\t\\tif($tw.browser) {\\n\\t\\t\\t// Check if there is an existing alert with the same text and the same component\\n\\t\\t\\tvar existingAlerts = $tw.wiki.getTiddlersWithTag(ALERT_TAG),\\n\\t\\t\\t\\talertFields,\\n\\t\\t\\t\\texistingCount,\\n\\t\\t\\t\\tself = this;\\n\\t\\t\\t$tw.utils.each(existingAlerts,function(title) {\\n\\t\\t\\t\\tvar tiddler = $tw.wiki.getTiddler(title);\\n\\t\\t\\t\\tif(tiddler.fields.text === text && tiddler.fields.component === self.componentName && tiddler.fields.modified && (!alertFields || tiddler.fields.modified \u003C alertFields.modified)) {\\n\\t\\t\\t\\t\\t\\talertFields = $tw.utils.extend({},tiddler.fields);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\tif(alertFields) {\\n\\t\\t\\t\\texistingCount = alertFields.count || 1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\talertFields = {\\n\\t\\t\\t\\t\\ttitle: $tw.wiki.generateNewTitle(\\\"$:/temp/alerts/alert\\\",{prefix: \\\"\\\"}),\\n\\t\\t\\t\\t\\ttext: text,\\n\\t\\t\\t\\t\\ttags: [ALERT_TAG],\\n\\t\\t\\t\\t\\tcomponent: this.componentName\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\texistingCount = 0;\\n\\t\\t\\t\\tthis.alertCount += 1;\\n\\t\\t\\t}\\n\\t\\t\\talertFields.modified = new Date();\\n\\t\\t\\tif(++existingCount > 1) {\\n\\t\\t\\t\\talertFields.count = existingCount;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\talertFields.count = undefined;\\n\\t\\t\\t}\\n\\t\\t\\t$tw.wiki.addTiddler(new $tw.Tiddler(alertFields));\\n\\t\\t\\t// Log the alert as well\\n\\t\\t\\tthis.log.apply(this,Array.prototype.slice.call(arguments,0));\\n\\t\\t} else {\\n\\t\\t\\t// Print an orange message to the console if not in the browser\\n\\t\\t\\tconsole.error(\\\"\\\\x1b[1;33m\\\" + text + \\\"\\\\x1b[0m\\\");\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nClear outstanding alerts\\n*/\\nLogger.prototype.clearAlerts = function() {\\n\\tvar self = this;\\n\\tif($tw.browser && this.alertCount > 0) {\\n\\t\\t$tw.utils.each($tw.wiki.getTiddlersWithTag(ALERT_TAG),function(title) {\\n\\t\\t\\tvar tiddler = $tw.wiki.getTiddler(title);\\n\\t\\t\\tif(tiddler.fields.component === self.componentName) {\\n\\t\\t\\t\\t$tw.wiki.deleteTiddler(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tthis.alertCount = 0;\\n\\t}\\n};\\n\\nexports.Logger = Logger;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/parsetree.js\":{\"title\":\"$:/core/modules/utils/parsetree.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/parsetree.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nParse tree utility functions.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nAdd attribute to parse tree node\\nCan be invoked as (node,name,value) or (node,attr)\\n*/\\nexports.addAttributeToParseTreeNode = function(node,name,value) {\\n\\tvar attribute = typeof name === \\\"object\\\" ? name : {name: name, type: \\\"string\\\", value: value};\\n\\tname = attribute.name;\\n\\tnode.attributes = node.attributes || {};\\n\\tnode.orderedAttributes = node.orderedAttributes || [];\\n\\tnode.attributes[name] = attribute;\\n\\tvar foundIndex = -1;\\n\\t$tw.utils.each(node.orderedAttributes,function(attr,index) {\\n\\t\\tif(attr.name === name) {\\n\\t\\t\\tfoundIndex = index;\\n\\t\\t}\\n\\t});\\n\\tif(foundIndex === -1) {\\n\\t\\tnode.orderedAttributes.push(attribute);\\n\\t} else {\\n\\t\\tnode.orderedAttributes[foundIndex] = attribute;\\n\\t}\\n};\\n\\nexports.getOrderedAttributesFromParseTreeNode = function(node) {\\n\\tif(node.orderedAttributes) {\\n\\t\\treturn node.orderedAttributes;\\n\\t} else {\\n\\t\\tvar attributes = [];\\n\\t\\t$tw.utils.each(node.attributes,function(attribute) {\\n\\t\\t\\tattributes.push(attribute);\\n\\t\\t});\\n\\t\\treturn attributes.sort(function(a,b) {\\n\\t\\t\\treturn a.name \u003C b.name ? -1 : (a.name > b.name ? 1 : 0);\\n\\t\\t});\\n\\t}\\n};\\n\\nexports.getAttributeValueFromParseTreeNode = function(node,name,defaultValue) {\\n\\tif(node.attributes && node.attributes[name] && node.attributes[name].value !== undefined) {\\n\\t\\treturn node.attributes[name].value;\\n\\t}\\n\\treturn defaultValue;\\n};\\n\\nexports.addClassToParseTreeNode = function(node,classString) {\\n\\tvar classes = [],\\n\\t\\tattribute;\\n\\tnode.attributes = node.attributes || {};\\n\\tattribute = node.attributes[\\\"class\\\"];\\n\\tif(!attribute) {\\n\\t\\t// If the class attribute does not exist, we must create it first.\\n\\t\\tattribute = {name: \\\"class\\\", type: \\\"string\\\", value: \\\"\\\"};\\n\\t\\tnode.attributes[\\\"class\\\"] = attribute;\\n\\t\\tnode.orderedAttributes = node.orderedAttributes || [];\\n\\t\\tnode.orderedAttributes.push(attribute);\\n\\t}\\n\\tif(attribute.type === \\\"string\\\") {\\n\\t\\tif(attribute.value !== \\\"\\\") {\\n\\t\\t\\tclasses = attribute.value.split(\\\" \\\");\\n\\t\\t}\\n\\t\\tif(classString !== \\\"\\\") {\\n\\t\\t\\t$tw.utils.pushTop(classes,classString.split(\\\" \\\"));\\n\\t\\t}\\n\\t\\tattribute.value = classes.join(\\\" \\\");\\n\\t}\\n};\\n\\nexports.addStyleToParseTreeNode = function(node,name,value) {\\n\\tvar attribute;\\n\\tnode.attributes = node.attributes || {};\\n\\tattribute = node.attributes.style;\\n\\tif(!attribute) {\\n\\t\\tattribute = {name: \\\"style\\\", type: \\\"string\\\", value: \\\"\\\"};\\n\\t\\tnode.attributes.style = attribute;\\n\\t\\tnode.orderedAttributes = node.orderedAttributes || [];\\n\\t\\tnode.orderedAttributes.push(attribute);\\n\\t}\\n\\tif(attribute.type === \\\"string\\\") {\\n\\t\\tattribute.value += name + \\\":\\\" + value + \\\";\\\";\\n\\t}\\n};\\n\\nexports.findParseTreeNode = function(nodeArray,search) {\\n\\tfor(var t=0; t\u003CnodeArray.length; t++) {\\n\\t\\tif(nodeArray[t].type === search.type && nodeArray[t].tag === search.tag) {\\n\\t\\t\\treturn nodeArray[t];\\n\\t\\t}\\n\\t}\\n\\treturn undefined;\\n};\\n\\n/*\\nHelper to get the text of a parse tree node or array of nodes\\n*/\\nexports.getParseTreeText = function getParseTreeText(tree) {\\n\\tvar output = [];\\n\\tif($tw.utils.isArray(tree)) {\\n\\t\\t$tw.utils.each(tree,function(node) {\\n\\t\\t\\toutput.push(getParseTreeText(node));\\n\\t\\t});\\n\\t} else {\\n\\t\\tif(tree.type === \\\"text\\\") {\\n\\t\\t\\toutput.push(tree.text);\\n\\t\\t}\\n\\t\\tif(tree.children) {\\n\\t\\t\\treturn getParseTreeText(tree.children);\\n\\t\\t}\\n\\t}\\n\\treturn output.join(\\\"\\\");\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/performance.js\":{\"title\":\"$:/core/modules/utils/performance.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/performance.js\\ntype: application/javascript\\nmodule-type: global\\n\\nPerformance measurement.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nfunction Performance(enabled) {\\n\\tthis.enabled = !!enabled;\\n\\tthis.measures = {}; // Hashmap by measurement name of {time:, invocations:}\\n\\tthis.logger = new $tw.utils.Logger(\\\"performance\\\");\\n\\tthis.showGreeting();\\n}\\n\\nPerformance.prototype.showGreeting = function() {\\n\\tif($tw.browser) {\\n\\t\\tthis.logger.log(\\\"Execute $tw.perf.log(); to see filter execution timings\\\");\\n\\t}\\n};\\n\\n/*\\nWrap performance reporting around a top level function\\n*/\\nPerformance.prototype.report = function(name,fn) {\\n\\tvar self = this;\\n\\tif(this.enabled) {\\n\\t\\treturn function() {\\n\\t\\t\\tvar startTime = $tw.utils.timer(),\\n\\t\\t\\t\\tresult = fn.apply(this,arguments);\\n\\t\\t\\tself.logger.log(name + \\\": \\\" + $tw.utils.timer(startTime).toFixed(2) + \\\"ms\\\");\\n\\t\\t\\treturn result;\\n\\t\\t};\\n\\t} else {\\n\\t\\treturn fn;\\n\\t}\\n};\\n\\nPerformance.prototype.log = function() {\\n\\tvar self = this,\\n\\t\\ttotalTime = 0,\\n\\t\\torderedMeasures = Object.keys(this.measures).sort(function(a,b) {\\n\\t\\t\\tif(self.measures[a].time > self.measures[b].time) {\\n\\t\\t\\t\\treturn -1;\\n\\t\\t\\t} else if (self.measures[a].time \u003C self.measures[b].time) {\\n\\t\\t\\t\\treturn + 1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t$tw.utils.each(orderedMeasures,function(name) {\\n\\t\\ttotalTime += self.measures[name].time;\\n\\t});\\n\\tvar results = []\\n\\t$tw.utils.each(orderedMeasures,function(name) {\\n\\t\\tvar measure = self.measures[name];\\n\\t\\tresults.push({name: name,invocations: measure.invocations, avgTime: measure.time / measure.invocations, totalTime: measure.time, percentTime: (measure.time / totalTime) * 100})\\n\\t});\\n\\tself.logger.table(results);\\n};\\n\\n/*\\nWrap performance measurements around a subfunction\\n*/\\nPerformance.prototype.measure = function(name,fn) {\\n\\tvar self = this;\\n\\tif(this.enabled) {\\n\\t\\treturn function() {\\n\\t\\t\\tvar startTime = $tw.utils.timer(),\\n\\t\\t\\t\\tresult = fn.apply(this,arguments);\\n\\t\\t\\tif(!(name in self.measures)) {\\n\\t\\t\\t\\tself.measures[name] = {time: 0, invocations: 0};\\n\\t\\t\\t}\\n\\t\\t\\tself.measures[name].time += $tw.utils.timer(startTime);\\n\\t\\t\\tself.measures[name].invocations++;\\n\\t\\t\\treturn result;\\n\\t\\t};\\n\\t} else {\\n\\t\\treturn fn;\\n\\t}\\n};\\n\\nexports.Performance = Performance;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"global\"},\"$:/core/modules/utils/pluginmaker.js\":{\"title\":\"$:/core/modules/utils/pluginmaker.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/pluginmaker.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nA quick and dirty way to pack up plugins within the browser.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nRepack a plugin, and then delete any non-shadow payload tiddlers\\n*/\\nexports.repackPlugin = function(title,additionalTiddlers,excludeTiddlers) {\\n\\tadditionalTiddlers = additionalTiddlers || [];\\n\\texcludeTiddlers = excludeTiddlers || [];\\n\\t// Get the plugin tiddler\\n\\tvar pluginTiddler = $tw.wiki.getTiddler(title);\\n\\tif(!pluginTiddler) {\\n\\t\\tthrow \\\"No such tiddler as \\\" + title;\\n\\t}\\n\\t// Extract the JSON\\n\\tvar jsonPluginTiddler = $tw.utils.parseJSONSafe(pluginTiddler.fields.text,null);\\n\\tif(!jsonPluginTiddler) {\\n\\t\\tthrow \\\"Cannot parse plugin tiddler \\\" + title + \\\"\\\\n\\\" + $tw.language.getString(\\\"Error/Caption\\\") + \\\": \\\" + e;\\n\\t}\\n\\t// Get the list of tiddlers\\n\\tvar tiddlers = Object.keys(jsonPluginTiddler.tiddlers);\\n\\t// Add the additional tiddlers\\n\\t$tw.utils.pushTop(tiddlers,additionalTiddlers);\\n\\t// Remove any excluded tiddlers\\n\\tfor(var t=tiddlers.length-1; t>=0; t--) {\\n\\t\\tif(excludeTiddlers.indexOf(tiddlers[t]) !== -1) {\\n\\t\\t\\ttiddlers.splice(t,1);\\n\\t\\t}\\n\\t}\\n\\t// Pack up the tiddlers into a block of JSON\\n\\tvar plugins = {};\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar tiddler = $tw.wiki.getTiddler(title),\\n\\t\\t\\tfields = {};\\n\\t\\t$tw.utils.each(tiddler.fields,function (value,name) {\\n\\t\\t\\tfields[name] = tiddler.getFieldString(name);\\n\\t\\t});\\n\\t\\tplugins[title] = fields;\\n\\t});\\n\\t// Retrieve and bump the version number\\n\\tvar pluginVersion = $tw.utils.parseVersion(pluginTiddler.getFieldString(\\\"version\\\") || \\\"0.0.0\\\") || {\\n\\t\\t\\tmajor: \\\"0\\\",\\n\\t\\t\\tminor: \\\"0\\\",\\n\\t\\t\\tpatch: \\\"0\\\"\\n\\t\\t};\\n\\tpluginVersion.patch++;\\n\\tvar version = pluginVersion.major + \\\".\\\" + pluginVersion.minor + \\\".\\\" + pluginVersion.patch;\\n\\tif(pluginVersion.prerelease) {\\n\\t\\tversion += \\\"-\\\" + pluginVersion.prerelease;\\n\\t}\\n\\tif(pluginVersion.build) {\\n\\t\\tversion += \\\"+\\\" + pluginVersion.build;\\n\\t}\\n\\t// Save the tiddler\\n\\t$tw.wiki.addTiddler(new $tw.Tiddler(pluginTiddler,{text: JSON.stringify({tiddlers: plugins},null,4), version: version}));\\n\\t// Delete any non-shadow constituent tiddlers\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tif($tw.wiki.tiddlerExists(title)) {\\n\\t\\t\\t$tw.wiki.deleteTiddler(title);\\n\\t\\t}\\n\\t});\\n\\t// Trigger an autosave\\n\\t$tw.rootWidget.dispatchEvent({type: \\\"tm-auto-save-wiki\\\"});\\n\\t// Return a heartwarming confirmation\\n\\treturn \\\"Plugin \\\" + title + \\\" successfully saved\\\";\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/transliterate.js\":{\"title\":\"$:/core/modules/utils/transliterate.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/transliterate.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nTransliteration static utility functions.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nTransliterate string to ASCII\\n\\n(Some pairs taken from http://semplicewebsites.com/removing-accents-javascript)\\n*/\\nexports.transliterationPairs = {\\n\\t\\\"Á\\\":\\\"A\\\",\\n\\t\\\"Ă\\\":\\\"A\\\",\\n\\t\\\"Ắ\\\":\\\"A\\\",\\n\\t\\\"Ặ\\\":\\\"A\\\",\\n\\t\\\"Ằ\\\":\\\"A\\\",\\n\\t\\\"Ẳ\\\":\\\"A\\\",\\n\\t\\\"Ẵ\\\":\\\"A\\\",\\n\\t\\\"Ǎ\\\":\\\"A\\\",\\n\\t\\\"Â\\\":\\\"A\\\",\\n\\t\\\"Ấ\\\":\\\"A\\\",\\n\\t\\\"Ậ\\\":\\\"A\\\",\\n\\t\\\"Ầ\\\":\\\"A\\\",\\n\\t\\\"Ẩ\\\":\\\"A\\\",\\n\\t\\\"Ẫ\\\":\\\"A\\\",\\n\\t\\\"Ä\\\":\\\"A\\\",\\n\\t\\\"Ǟ\\\":\\\"A\\\",\\n\\t\\\"Ȧ\\\":\\\"A\\\",\\n\\t\\\"Ǡ\\\":\\\"A\\\",\\n\\t\\\"Ạ\\\":\\\"A\\\",\\n\\t\\\"Ȁ\\\":\\\"A\\\",\\n\\t\\\"À\\\":\\\"A\\\",\\n\\t\\\"Ả\\\":\\\"A\\\",\\n\\t\\\"Ȃ\\\":\\\"A\\\",\\n\\t\\\"Ā\\\":\\\"A\\\",\\n\\t\\\"Ą\\\":\\\"A\\\",\\n\\t\\\"Å\\\":\\\"A\\\",\\n\\t\\\"Ǻ\\\":\\\"A\\\",\\n\\t\\\"Ḁ\\\":\\\"A\\\",\\n\\t\\\"Ⱥ\\\":\\\"A\\\",\\n\\t\\\"Ã\\\":\\\"A\\\",\\n\\t\\\"Ꜳ\\\":\\\"AA\\\",\\n\\t\\\"Æ\\\":\\\"AE\\\",\\n\\t\\\"Ǽ\\\":\\\"AE\\\",\\n\\t\\\"Ǣ\\\":\\\"AE\\\",\\n\\t\\\"Ꜵ\\\":\\\"AO\\\",\\n\\t\\\"Ꜷ\\\":\\\"AU\\\",\\n\\t\\\"Ꜹ\\\":\\\"AV\\\",\\n\\t\\\"Ꜻ\\\":\\\"AV\\\",\\n\\t\\\"Ꜽ\\\":\\\"AY\\\",\\n\\t\\\"Ḃ\\\":\\\"B\\\",\\n\\t\\\"Ḅ\\\":\\\"B\\\",\\n\\t\\\"Ɓ\\\":\\\"B\\\",\\n\\t\\\"Ḇ\\\":\\\"B\\\",\\n\\t\\\"Ƀ\\\":\\\"B\\\",\\n\\t\\\"Ƃ\\\":\\\"B\\\",\\n\\t\\\"Ć\\\":\\\"C\\\",\\n\\t\\\"Č\\\":\\\"C\\\",\\n\\t\\\"Ç\\\":\\\"C\\\",\\n\\t\\\"Ḉ\\\":\\\"C\\\",\\n\\t\\\"Ĉ\\\":\\\"C\\\",\\n\\t\\\"Ċ\\\":\\\"C\\\",\\n\\t\\\"Ƈ\\\":\\\"C\\\",\\n\\t\\\"Ȼ\\\":\\\"C\\\",\\n\\t\\\"Ď\\\":\\\"D\\\",\\n\\t\\\"Ḑ\\\":\\\"D\\\",\\n\\t\\\"Ḓ\\\":\\\"D\\\",\\n\\t\\\"Ḋ\\\":\\\"D\\\",\\n\\t\\\"Ḍ\\\":\\\"D\\\",\\n\\t\\\"Ɗ\\\":\\\"D\\\",\\n\\t\\\"Ḏ\\\":\\\"D\\\",\\n\\t\\\"Dz\\\":\\\"D\\\",\\n\\t\\\"Dž\\\":\\\"D\\\",\\n\\t\\\"Đ\\\":\\\"D\\\",\\n\\t\\\"Ƌ\\\":\\\"D\\\",\\n\\t\\\"DZ\\\":\\\"DZ\\\",\\n\\t\\\"DŽ\\\":\\\"DZ\\\",\\n\\t\\\"É\\\":\\\"E\\\",\\n\\t\\\"Ĕ\\\":\\\"E\\\",\\n\\t\\\"Ě\\\":\\\"E\\\",\\n\\t\\\"Ȩ\\\":\\\"E\\\",\\n\\t\\\"Ḝ\\\":\\\"E\\\",\\n\\t\\\"Ê\\\":\\\"E\\\",\\n\\t\\\"Ế\\\":\\\"E\\\",\\n\\t\\\"Ệ\\\":\\\"E\\\",\\n\\t\\\"Ề\\\":\\\"E\\\",\\n\\t\\\"Ể\\\":\\\"E\\\",\\n\\t\\\"Ễ\\\":\\\"E\\\",\\n\\t\\\"Ḙ\\\":\\\"E\\\",\\n\\t\\\"Ë\\\":\\\"E\\\",\\n\\t\\\"Ė\\\":\\\"E\\\",\\n\\t\\\"Ẹ\\\":\\\"E\\\",\\n\\t\\\"Ȅ\\\":\\\"E\\\",\\n\\t\\\"È\\\":\\\"E\\\",\\n\\t\\\"Ẻ\\\":\\\"E\\\",\\n\\t\\\"Ȇ\\\":\\\"E\\\",\\n\\t\\\"Ē\\\":\\\"E\\\",\\n\\t\\\"Ḗ\\\":\\\"E\\\",\\n\\t\\\"Ḕ\\\":\\\"E\\\",\\n\\t\\\"Ę\\\":\\\"E\\\",\\n\\t\\\"Ɇ\\\":\\\"E\\\",\\n\\t\\\"Ẽ\\\":\\\"E\\\",\\n\\t\\\"Ḛ\\\":\\\"E\\\",\\n\\t\\\"Ꝫ\\\":\\\"ET\\\",\\n\\t\\\"Ḟ\\\":\\\"F\\\",\\n\\t\\\"Ƒ\\\":\\\"F\\\",\\n\\t\\\"Ǵ\\\":\\\"G\\\",\\n\\t\\\"Ğ\\\":\\\"G\\\",\\n\\t\\\"Ǧ\\\":\\\"G\\\",\\n\\t\\\"Ģ\\\":\\\"G\\\",\\n\\t\\\"Ĝ\\\":\\\"G\\\",\\n\\t\\\"Ġ\\\":\\\"G\\\",\\n\\t\\\"Ɠ\\\":\\\"G\\\",\\n\\t\\\"Ḡ\\\":\\\"G\\\",\\n\\t\\\"Ǥ\\\":\\\"G\\\",\\n\\t\\\"Ḫ\\\":\\\"H\\\",\\n\\t\\\"Ȟ\\\":\\\"H\\\",\\n\\t\\\"Ḩ\\\":\\\"H\\\",\\n\\t\\\"Ĥ\\\":\\\"H\\\",\\n\\t\\\"Ⱨ\\\":\\\"H\\\",\\n\\t\\\"Ḧ\\\":\\\"H\\\",\\n\\t\\\"Ḣ\\\":\\\"H\\\",\\n\\t\\\"Ḥ\\\":\\\"H\\\",\\n\\t\\\"Ħ\\\":\\\"H\\\",\\n\\t\\\"Í\\\":\\\"I\\\",\\n\\t\\\"Ĭ\\\":\\\"I\\\",\\n\\t\\\"Ǐ\\\":\\\"I\\\",\\n\\t\\\"Î\\\":\\\"I\\\",\\n\\t\\\"Ï\\\":\\\"I\\\",\\n\\t\\\"Ḯ\\\":\\\"I\\\",\\n\\t\\\"İ\\\":\\\"I\\\",\\n\\t\\\"Ị\\\":\\\"I\\\",\\n\\t\\\"Ȉ\\\":\\\"I\\\",\\n\\t\\\"Ì\\\":\\\"I\\\",\\n\\t\\\"Ỉ\\\":\\\"I\\\",\\n\\t\\\"Ȋ\\\":\\\"I\\\",\\n\\t\\\"Ī\\\":\\\"I\\\",\\n\\t\\\"Į\\\":\\\"I\\\",\\n\\t\\\"Ɨ\\\":\\\"I\\\",\\n\\t\\\"Ĩ\\\":\\\"I\\\",\\n\\t\\\"Ḭ\\\":\\\"I\\\",\\n\\t\\\"Ꝺ\\\":\\\"D\\\",\\n\\t\\\"Ꝼ\\\":\\\"F\\\",\\n\\t\\\"Ᵹ\\\":\\\"G\\\",\\n\\t\\\"Ꞃ\\\":\\\"R\\\",\\n\\t\\\"Ꞅ\\\":\\\"S\\\",\\n\\t\\\"Ꞇ\\\":\\\"T\\\",\\n\\t\\\"Ꝭ\\\":\\\"IS\\\",\\n\\t\\\"Ĵ\\\":\\\"J\\\",\\n\\t\\\"Ɉ\\\":\\\"J\\\",\\n\\t\\\"Ḱ\\\":\\\"K\\\",\\n\\t\\\"Ǩ\\\":\\\"K\\\",\\n\\t\\\"Ķ\\\":\\\"K\\\",\\n\\t\\\"Ⱪ\\\":\\\"K\\\",\\n\\t\\\"Ꝃ\\\":\\\"K\\\",\\n\\t\\\"Ḳ\\\":\\\"K\\\",\\n\\t\\\"Ƙ\\\":\\\"K\\\",\\n\\t\\\"Ḵ\\\":\\\"K\\\",\\n\\t\\\"Ꝁ\\\":\\\"K\\\",\\n\\t\\\"Ꝅ\\\":\\\"K\\\",\\n\\t\\\"Ĺ\\\":\\\"L\\\",\\n\\t\\\"Ƚ\\\":\\\"L\\\",\\n\\t\\\"Ľ\\\":\\\"L\\\",\\n\\t\\\"Ļ\\\":\\\"L\\\",\\n\\t\\\"Ḽ\\\":\\\"L\\\",\\n\\t\\\"Ḷ\\\":\\\"L\\\",\\n\\t\\\"Ḹ\\\":\\\"L\\\",\\n\\t\\\"Ⱡ\\\":\\\"L\\\",\\n\\t\\\"Ꝉ\\\":\\\"L\\\",\\n\\t\\\"Ḻ\\\":\\\"L\\\",\\n\\t\\\"Ŀ\\\":\\\"L\\\",\\n\\t\\\"Ɫ\\\":\\\"L\\\",\\n\\t\\\"Lj\\\":\\\"L\\\",\\n\\t\\\"Ł\\\":\\\"L\\\",\\n\\t\\\"LJ\\\":\\\"LJ\\\",\\n\\t\\\"Ḿ\\\":\\\"M\\\",\\n\\t\\\"Ṁ\\\":\\\"M\\\",\\n\\t\\\"Ṃ\\\":\\\"M\\\",\\n\\t\\\"Ɱ\\\":\\\"M\\\",\\n\\t\\\"Ń\\\":\\\"N\\\",\\n\\t\\\"Ň\\\":\\\"N\\\",\\n\\t\\\"Ņ\\\":\\\"N\\\",\\n\\t\\\"Ṋ\\\":\\\"N\\\",\\n\\t\\\"Ṅ\\\":\\\"N\\\",\\n\\t\\\"Ṇ\\\":\\\"N\\\",\\n\\t\\\"Ǹ\\\":\\\"N\\\",\\n\\t\\\"Ɲ\\\":\\\"N\\\",\\n\\t\\\"Ṉ\\\":\\\"N\\\",\\n\\t\\\"Ƞ\\\":\\\"N\\\",\\n\\t\\\"Nj\\\":\\\"N\\\",\\n\\t\\\"Ñ\\\":\\\"N\\\",\\n\\t\\\"NJ\\\":\\\"NJ\\\",\\n\\t\\\"ð\\\":\\\"d\\\",\\n\\t\\\"Ð\\\":\\\"D\\\",\\n\\t\\\"Ó\\\":\\\"O\\\",\\n\\t\\\"Ŏ\\\":\\\"O\\\",\\n\\t\\\"Ǒ\\\":\\\"O\\\",\\n\\t\\\"Ô\\\":\\\"O\\\",\\n\\t\\\"Ố\\\":\\\"O\\\",\\n\\t\\\"Ộ\\\":\\\"O\\\",\\n\\t\\\"Ồ\\\":\\\"O\\\",\\n\\t\\\"Ổ\\\":\\\"O\\\",\\n\\t\\\"Ỗ\\\":\\\"O\\\",\\n\\t\\\"Ö\\\":\\\"O\\\",\\n\\t\\\"Ȫ\\\":\\\"O\\\",\\n\\t\\\"Ȯ\\\":\\\"O\\\",\\n\\t\\\"Ȱ\\\":\\\"O\\\",\\n\\t\\\"Ọ\\\":\\\"O\\\",\\n\\t\\\"Ő\\\":\\\"O\\\",\\n\\t\\\"Ȍ\\\":\\\"O\\\",\\n\\t\\\"Ò\\\":\\\"O\\\",\\n\\t\\\"Ỏ\\\":\\\"O\\\",\\n\\t\\\"Ơ\\\":\\\"O\\\",\\n\\t\\\"Ớ\\\":\\\"O\\\",\\n\\t\\\"Ợ\\\":\\\"O\\\",\\n\\t\\\"Ờ\\\":\\\"O\\\",\\n\\t\\\"Ở\\\":\\\"O\\\",\\n\\t\\\"Ỡ\\\":\\\"O\\\",\\n\\t\\\"Ȏ\\\":\\\"O\\\",\\n\\t\\\"Ꝋ\\\":\\\"O\\\",\\n\\t\\\"Ꝍ\\\":\\\"O\\\",\\n\\t\\\"Ō\\\":\\\"O\\\",\\n\\t\\\"Ṓ\\\":\\\"O\\\",\\n\\t\\\"Ṑ\\\":\\\"O\\\",\\n\\t\\\"Ɵ\\\":\\\"O\\\",\\n\\t\\\"Ǫ\\\":\\\"O\\\",\\n\\t\\\"Ǭ\\\":\\\"O\\\",\\n\\t\\\"Ø\\\":\\\"O\\\",\\n\\t\\\"Ǿ\\\":\\\"O\\\",\\n\\t\\\"Õ\\\":\\\"O\\\",\\n\\t\\\"Ṍ\\\":\\\"O\\\",\\n\\t\\\"Ṏ\\\":\\\"O\\\",\\n\\t\\\"Ȭ\\\":\\\"O\\\",\\n\\t\\\"Ƣ\\\":\\\"OI\\\",\\n\\t\\\"Ꝏ\\\":\\\"OO\\\",\\n\\t\\\"Ɛ\\\":\\\"E\\\",\\n\\t\\\"Ɔ\\\":\\\"O\\\",\\n\\t\\\"Ȣ\\\":\\\"OU\\\",\\n\\t\\\"Ṕ\\\":\\\"P\\\",\\n\\t\\\"Ṗ\\\":\\\"P\\\",\\n\\t\\\"Ꝓ\\\":\\\"P\\\",\\n\\t\\\"Ƥ\\\":\\\"P\\\",\\n\\t\\\"Ꝕ\\\":\\\"P\\\",\\n\\t\\\"Ᵽ\\\":\\\"P\\\",\\n\\t\\\"Ꝑ\\\":\\\"P\\\",\\n\\t\\\"Ꝙ\\\":\\\"Q\\\",\\n\\t\\\"Ꝗ\\\":\\\"Q\\\",\\n\\t\\\"Ŕ\\\":\\\"R\\\",\\n\\t\\\"Ř\\\":\\\"R\\\",\\n\\t\\\"Ŗ\\\":\\\"R\\\",\\n\\t\\\"Ṙ\\\":\\\"R\\\",\\n\\t\\\"Ṛ\\\":\\\"R\\\",\\n\\t\\\"Ṝ\\\":\\\"R\\\",\\n\\t\\\"Ȑ\\\":\\\"R\\\",\\n\\t\\\"Ȓ\\\":\\\"R\\\",\\n\\t\\\"Ṟ\\\":\\\"R\\\",\\n\\t\\\"Ɍ\\\":\\\"R\\\",\\n\\t\\\"Ɽ\\\":\\\"R\\\",\\n\\t\\\"Ꜿ\\\":\\\"C\\\",\\n\\t\\\"Ǝ\\\":\\\"E\\\",\\n\\t\\\"ß\\\":\\\"ss\\\",\\n\\t\\\"ẞ\\\":\\\"SS\\\",\\n\\t\\\"Ś\\\":\\\"S\\\",\\n\\t\\\"Ṥ\\\":\\\"S\\\",\\n\\t\\\"Š\\\":\\\"S\\\",\\n\\t\\\"Ṧ\\\":\\\"S\\\",\\n\\t\\\"Ş\\\":\\\"S\\\",\\n\\t\\\"Ŝ\\\":\\\"S\\\",\\n\\t\\\"Ș\\\":\\\"S\\\",\\n\\t\\\"Ṡ\\\":\\\"S\\\",\\n\\t\\\"Ṣ\\\":\\\"S\\\",\\n\\t\\\"Ṩ\\\":\\\"S\\\",\\n\\t\\\"þ\\\": \\\"th\\\",\\n\\t\\\"Þ\\\": \\\"TH\\\",\\n\\t\\\"Ť\\\":\\\"T\\\",\\n\\t\\\"Ţ\\\":\\\"T\\\",\\n\\t\\\"Ṱ\\\":\\\"T\\\",\\n\\t\\\"Ț\\\":\\\"T\\\",\\n\\t\\\"Ⱦ\\\":\\\"T\\\",\\n\\t\\\"Ṫ\\\":\\\"T\\\",\\n\\t\\\"Ṭ\\\":\\\"T\\\",\\n\\t\\\"Ƭ\\\":\\\"T\\\",\\n\\t\\\"Ṯ\\\":\\\"T\\\",\\n\\t\\\"Ʈ\\\":\\\"T\\\",\\n\\t\\\"Ŧ\\\":\\\"T\\\",\\n\\t\\\"Ɐ\\\":\\\"A\\\",\\n\\t\\\"Ꞁ\\\":\\\"L\\\",\\n\\t\\\"Ɯ\\\":\\\"M\\\",\\n\\t\\\"Ʌ\\\":\\\"V\\\",\\n\\t\\\"Ꜩ\\\":\\\"TZ\\\",\\n\\t\\\"Ú\\\":\\\"U\\\",\\n\\t\\\"Ŭ\\\":\\\"U\\\",\\n\\t\\\"Ǔ\\\":\\\"U\\\",\\n\\t\\\"Û\\\":\\\"U\\\",\\n\\t\\\"Ṷ\\\":\\\"U\\\",\\n\\t\\\"Ü\\\":\\\"U\\\",\\n\\t\\\"Ǘ\\\":\\\"U\\\",\\n\\t\\\"Ǚ\\\":\\\"U\\\",\\n\\t\\\"Ǜ\\\":\\\"U\\\",\\n\\t\\\"Ǖ\\\":\\\"U\\\",\\n\\t\\\"Ṳ\\\":\\\"U\\\",\\n\\t\\\"Ụ\\\":\\\"U\\\",\\n\\t\\\"Ű\\\":\\\"U\\\",\\n\\t\\\"Ȕ\\\":\\\"U\\\",\\n\\t\\\"Ù\\\":\\\"U\\\",\\n\\t\\\"Ủ\\\":\\\"U\\\",\\n\\t\\\"Ư\\\":\\\"U\\\",\\n\\t\\\"Ứ\\\":\\\"U\\\",\\n\\t\\\"Ự\\\":\\\"U\\\",\\n\\t\\\"Ừ\\\":\\\"U\\\",\\n\\t\\\"Ử\\\":\\\"U\\\",\\n\\t\\\"Ữ\\\":\\\"U\\\",\\n\\t\\\"Ȗ\\\":\\\"U\\\",\\n\\t\\\"Ū\\\":\\\"U\\\",\\n\\t\\\"Ṻ\\\":\\\"U\\\",\\n\\t\\\"Ų\\\":\\\"U\\\",\\n\\t\\\"Ů\\\":\\\"U\\\",\\n\\t\\\"Ũ\\\":\\\"U\\\",\\n\\t\\\"Ṹ\\\":\\\"U\\\",\\n\\t\\\"Ṵ\\\":\\\"U\\\",\\n\\t\\\"Ꝟ\\\":\\\"V\\\",\\n\\t\\\"Ṿ\\\":\\\"V\\\",\\n\\t\\\"Ʋ\\\":\\\"V\\\",\\n\\t\\\"Ṽ\\\":\\\"V\\\",\\n\\t\\\"Ꝡ\\\":\\\"VY\\\",\\n\\t\\\"Ẃ\\\":\\\"W\\\",\\n\\t\\\"Ŵ\\\":\\\"W\\\",\\n\\t\\\"Ẅ\\\":\\\"W\\\",\\n\\t\\\"Ẇ\\\":\\\"W\\\",\\n\\t\\\"Ẉ\\\":\\\"W\\\",\\n\\t\\\"Ẁ\\\":\\\"W\\\",\\n\\t\\\"Ⱳ\\\":\\\"W\\\",\\n\\t\\\"Ẍ\\\":\\\"X\\\",\\n\\t\\\"Ẋ\\\":\\\"X\\\",\\n\\t\\\"Ý\\\":\\\"Y\\\",\\n\\t\\\"Ŷ\\\":\\\"Y\\\",\\n\\t\\\"Ÿ\\\":\\\"Y\\\",\\n\\t\\\"Ẏ\\\":\\\"Y\\\",\\n\\t\\\"Ỵ\\\":\\\"Y\\\",\\n\\t\\\"Ỳ\\\":\\\"Y\\\",\\n\\t\\\"Ƴ\\\":\\\"Y\\\",\\n\\t\\\"Ỷ\\\":\\\"Y\\\",\\n\\t\\\"Ỿ\\\":\\\"Y\\\",\\n\\t\\\"Ȳ\\\":\\\"Y\\\",\\n\\t\\\"Ɏ\\\":\\\"Y\\\",\\n\\t\\\"Ỹ\\\":\\\"Y\\\",\\n\\t\\\"Ź\\\":\\\"Z\\\",\\n\\t\\\"Ž\\\":\\\"Z\\\",\\n\\t\\\"Ẑ\\\":\\\"Z\\\",\\n\\t\\\"Ⱬ\\\":\\\"Z\\\",\\n\\t\\\"Ż\\\":\\\"Z\\\",\\n\\t\\\"Ẓ\\\":\\\"Z\\\",\\n\\t\\\"Ȥ\\\":\\\"Z\\\",\\n\\t\\\"Ẕ\\\":\\\"Z\\\",\\n\\t\\\"Ƶ\\\":\\\"Z\\\",\\n\\t\\\"IJ\\\":\\\"IJ\\\",\\n\\t\\\"Œ\\\":\\\"OE\\\",\\n\\t\\\"ᴀ\\\":\\\"A\\\",\\n\\t\\\"ᴁ\\\":\\\"AE\\\",\\n\\t\\\"ʙ\\\":\\\"B\\\",\\n\\t\\\"ᴃ\\\":\\\"B\\\",\\n\\t\\\"ᴄ\\\":\\\"C\\\",\\n\\t\\\"ᴅ\\\":\\\"D\\\",\\n\\t\\\"ᴇ\\\":\\\"E\\\",\\n\\t\\\"ꜰ\\\":\\\"F\\\",\\n\\t\\\"ɢ\\\":\\\"G\\\",\\n\\t\\\"ʛ\\\":\\\"G\\\",\\n\\t\\\"ʜ\\\":\\\"H\\\",\\n\\t\\\"ɪ\\\":\\\"I\\\",\\n\\t\\\"ʁ\\\":\\\"R\\\",\\n\\t\\\"ᴊ\\\":\\\"J\\\",\\n\\t\\\"ᴋ\\\":\\\"K\\\",\\n\\t\\\"ʟ\\\":\\\"L\\\",\\n\\t\\\"ᴌ\\\":\\\"L\\\",\\n\\t\\\"ᴍ\\\":\\\"M\\\",\\n\\t\\\"ɴ\\\":\\\"N\\\",\\n\\t\\\"ᴏ\\\":\\\"O\\\",\\n\\t\\\"ɶ\\\":\\\"OE\\\",\\n\\t\\\"ᴐ\\\":\\\"O\\\",\\n\\t\\\"ᴕ\\\":\\\"OU\\\",\\n\\t\\\"ᴘ\\\":\\\"P\\\",\\n\\t\\\"ʀ\\\":\\\"R\\\",\\n\\t\\\"ᴎ\\\":\\\"N\\\",\\n\\t\\\"ᴙ\\\":\\\"R\\\",\\n\\t\\\"ꜱ\\\":\\\"S\\\",\\n\\t\\\"ᴛ\\\":\\\"T\\\",\\n\\t\\\"ⱻ\\\":\\\"E\\\",\\n\\t\\\"ᴚ\\\":\\\"R\\\",\\n\\t\\\"ᴜ\\\":\\\"U\\\",\\n\\t\\\"ᴠ\\\":\\\"V\\\",\\n\\t\\\"ᴡ\\\":\\\"W\\\",\\n\\t\\\"ʏ\\\":\\\"Y\\\",\\n\\t\\\"ᴢ\\\":\\\"Z\\\",\\n\\t\\\"á\\\":\\\"a\\\",\\n\\t\\\"ă\\\":\\\"a\\\",\\n\\t\\\"ắ\\\":\\\"a\\\",\\n\\t\\\"ặ\\\":\\\"a\\\",\\n\\t\\\"ằ\\\":\\\"a\\\",\\n\\t\\\"ẳ\\\":\\\"a\\\",\\n\\t\\\"ẵ\\\":\\\"a\\\",\\n\\t\\\"ǎ\\\":\\\"a\\\",\\n\\t\\\"â\\\":\\\"a\\\",\\n\\t\\\"ấ\\\":\\\"a\\\",\\n\\t\\\"ậ\\\":\\\"a\\\",\\n\\t\\\"ầ\\\":\\\"a\\\",\\n\\t\\\"ẩ\\\":\\\"a\\\",\\n\\t\\\"ẫ\\\":\\\"a\\\",\\n\\t\\\"ä\\\":\\\"a\\\",\\n\\t\\\"ǟ\\\":\\\"a\\\",\\n\\t\\\"ȧ\\\":\\\"a\\\",\\n\\t\\\"ǡ\\\":\\\"a\\\",\\n\\t\\\"ạ\\\":\\\"a\\\",\\n\\t\\\"ȁ\\\":\\\"a\\\",\\n\\t\\\"à\\\":\\\"a\\\",\\n\\t\\\"ả\\\":\\\"a\\\",\\n\\t\\\"ȃ\\\":\\\"a\\\",\\n\\t\\\"ā\\\":\\\"a\\\",\\n\\t\\\"ą\\\":\\\"a\\\",\\n\\t\\\"ᶏ\\\":\\\"a\\\",\\n\\t\\\"ẚ\\\":\\\"a\\\",\\n\\t\\\"å\\\":\\\"a\\\",\\n\\t\\\"ǻ\\\":\\\"a\\\",\\n\\t\\\"ḁ\\\":\\\"a\\\",\\n\\t\\\"ⱥ\\\":\\\"a\\\",\\n\\t\\\"ã\\\":\\\"a\\\",\\n\\t\\\"ꜳ\\\":\\\"aa\\\",\\n\\t\\\"æ\\\":\\\"ae\\\",\\n\\t\\\"ǽ\\\":\\\"ae\\\",\\n\\t\\\"ǣ\\\":\\\"ae\\\",\\n\\t\\\"ꜵ\\\":\\\"ao\\\",\\n\\t\\\"ꜷ\\\":\\\"au\\\",\\n\\t\\\"ꜹ\\\":\\\"av\\\",\\n\\t\\\"ꜻ\\\":\\\"av\\\",\\n\\t\\\"ꜽ\\\":\\\"ay\\\",\\n\\t\\\"ḃ\\\":\\\"b\\\",\\n\\t\\\"ḅ\\\":\\\"b\\\",\\n\\t\\\"ɓ\\\":\\\"b\\\",\\n\\t\\\"ḇ\\\":\\\"b\\\",\\n\\t\\\"ᵬ\\\":\\\"b\\\",\\n\\t\\\"ᶀ\\\":\\\"b\\\",\\n\\t\\\"ƀ\\\":\\\"b\\\",\\n\\t\\\"ƃ\\\":\\\"b\\\",\\n\\t\\\"ɵ\\\":\\\"o\\\",\\n\\t\\\"ć\\\":\\\"c\\\",\\n\\t\\\"č\\\":\\\"c\\\",\\n\\t\\\"ç\\\":\\\"c\\\",\\n\\t\\\"ḉ\\\":\\\"c\\\",\\n\\t\\\"ĉ\\\":\\\"c\\\",\\n\\t\\\"ɕ\\\":\\\"c\\\",\\n\\t\\\"ċ\\\":\\\"c\\\",\\n\\t\\\"ƈ\\\":\\\"c\\\",\\n\\t\\\"ȼ\\\":\\\"c\\\",\\n\\t\\\"ď\\\":\\\"d\\\",\\n\\t\\\"ḑ\\\":\\\"d\\\",\\n\\t\\\"ḓ\\\":\\\"d\\\",\\n\\t\\\"ȡ\\\":\\\"d\\\",\\n\\t\\\"ḋ\\\":\\\"d\\\",\\n\\t\\\"ḍ\\\":\\\"d\\\",\\n\\t\\\"ɗ\\\":\\\"d\\\",\\n\\t\\\"ᶑ\\\":\\\"d\\\",\\n\\t\\\"ḏ\\\":\\\"d\\\",\\n\\t\\\"ᵭ\\\":\\\"d\\\",\\n\\t\\\"ᶁ\\\":\\\"d\\\",\\n\\t\\\"đ\\\":\\\"d\\\",\\n\\t\\\"ɖ\\\":\\\"d\\\",\\n\\t\\\"ƌ\\\":\\\"d\\\",\\n\\t\\\"ı\\\":\\\"i\\\",\\n\\t\\\"ȷ\\\":\\\"j\\\",\\n\\t\\\"ɟ\\\":\\\"j\\\",\\n\\t\\\"ʄ\\\":\\\"j\\\",\\n\\t\\\"dz\\\":\\\"dz\\\",\\n\\t\\\"dž\\\":\\\"dz\\\",\\n\\t\\\"é\\\":\\\"e\\\",\\n\\t\\\"ĕ\\\":\\\"e\\\",\\n\\t\\\"ě\\\":\\\"e\\\",\\n\\t\\\"ȩ\\\":\\\"e\\\",\\n\\t\\\"ḝ\\\":\\\"e\\\",\\n\\t\\\"ê\\\":\\\"e\\\",\\n\\t\\\"ế\\\":\\\"e\\\",\\n\\t\\\"ệ\\\":\\\"e\\\",\\n\\t\\\"ề\\\":\\\"e\\\",\\n\\t\\\"ể\\\":\\\"e\\\",\\n\\t\\\"ễ\\\":\\\"e\\\",\\n\\t\\\"ḙ\\\":\\\"e\\\",\\n\\t\\\"ë\\\":\\\"e\\\",\\n\\t\\\"ė\\\":\\\"e\\\",\\n\\t\\\"ẹ\\\":\\\"e\\\",\\n\\t\\\"ȅ\\\":\\\"e\\\",\\n\\t\\\"è\\\":\\\"e\\\",\\n\\t\\\"ẻ\\\":\\\"e\\\",\\n\\t\\\"ȇ\\\":\\\"e\\\",\\n\\t\\\"ē\\\":\\\"e\\\",\\n\\t\\\"ḗ\\\":\\\"e\\\",\\n\\t\\\"ḕ\\\":\\\"e\\\",\\n\\t\\\"ⱸ\\\":\\\"e\\\",\\n\\t\\\"ę\\\":\\\"e\\\",\\n\\t\\\"ᶒ\\\":\\\"e\\\",\\n\\t\\\"ɇ\\\":\\\"e\\\",\\n\\t\\\"ẽ\\\":\\\"e\\\",\\n\\t\\\"ḛ\\\":\\\"e\\\",\\n\\t\\\"ꝫ\\\":\\\"et\\\",\\n\\t\\\"ḟ\\\":\\\"f\\\",\\n\\t\\\"ƒ\\\":\\\"f\\\",\\n\\t\\\"ᵮ\\\":\\\"f\\\",\\n\\t\\\"ᶂ\\\":\\\"f\\\",\\n\\t\\\"ǵ\\\":\\\"g\\\",\\n\\t\\\"ğ\\\":\\\"g\\\",\\n\\t\\\"ǧ\\\":\\\"g\\\",\\n\\t\\\"ģ\\\":\\\"g\\\",\\n\\t\\\"ĝ\\\":\\\"g\\\",\\n\\t\\\"ġ\\\":\\\"g\\\",\\n\\t\\\"ɠ\\\":\\\"g\\\",\\n\\t\\\"ḡ\\\":\\\"g\\\",\\n\\t\\\"ᶃ\\\":\\\"g\\\",\\n\\t\\\"ǥ\\\":\\\"g\\\",\\n\\t\\\"ḫ\\\":\\\"h\\\",\\n\\t\\\"ȟ\\\":\\\"h\\\",\\n\\t\\\"ḩ\\\":\\\"h\\\",\\n\\t\\\"ĥ\\\":\\\"h\\\",\\n\\t\\\"ⱨ\\\":\\\"h\\\",\\n\\t\\\"ḧ\\\":\\\"h\\\",\\n\\t\\\"ḣ\\\":\\\"h\\\",\\n\\t\\\"ḥ\\\":\\\"h\\\",\\n\\t\\\"ɦ\\\":\\\"h\\\",\\n\\t\\\"ẖ\\\":\\\"h\\\",\\n\\t\\\"ħ\\\":\\\"h\\\",\\n\\t\\\"ƕ\\\":\\\"hv\\\",\\n\\t\\\"í\\\":\\\"i\\\",\\n\\t\\\"ĭ\\\":\\\"i\\\",\\n\\t\\\"ǐ\\\":\\\"i\\\",\\n\\t\\\"î\\\":\\\"i\\\",\\n\\t\\\"ï\\\":\\\"i\\\",\\n\\t\\\"ḯ\\\":\\\"i\\\",\\n\\t\\\"ị\\\":\\\"i\\\",\\n\\t\\\"ȉ\\\":\\\"i\\\",\\n\\t\\\"ì\\\":\\\"i\\\",\\n\\t\\\"ỉ\\\":\\\"i\\\",\\n\\t\\\"ȋ\\\":\\\"i\\\",\\n\\t\\\"ī\\\":\\\"i\\\",\\n\\t\\\"į\\\":\\\"i\\\",\\n\\t\\\"ᶖ\\\":\\\"i\\\",\\n\\t\\\"ɨ\\\":\\\"i\\\",\\n\\t\\\"ĩ\\\":\\\"i\\\",\\n\\t\\\"ḭ\\\":\\\"i\\\",\\n\\t\\\"ꝺ\\\":\\\"d\\\",\\n\\t\\\"ꝼ\\\":\\\"f\\\",\\n\\t\\\"ᵹ\\\":\\\"g\\\",\\n\\t\\\"ꞃ\\\":\\\"r\\\",\\n\\t\\\"ꞅ\\\":\\\"s\\\",\\n\\t\\\"ꞇ\\\":\\\"t\\\",\\n\\t\\\"ꝭ\\\":\\\"is\\\",\\n\\t\\\"ǰ\\\":\\\"j\\\",\\n\\t\\\"ĵ\\\":\\\"j\\\",\\n\\t\\\"ʝ\\\":\\\"j\\\",\\n\\t\\\"ɉ\\\":\\\"j\\\",\\n\\t\\\"ḱ\\\":\\\"k\\\",\\n\\t\\\"ǩ\\\":\\\"k\\\",\\n\\t\\\"ķ\\\":\\\"k\\\",\\n\\t\\\"ⱪ\\\":\\\"k\\\",\\n\\t\\\"ꝃ\\\":\\\"k\\\",\\n\\t\\\"ḳ\\\":\\\"k\\\",\\n\\t\\\"ƙ\\\":\\\"k\\\",\\n\\t\\\"ḵ\\\":\\\"k\\\",\\n\\t\\\"ᶄ\\\":\\\"k\\\",\\n\\t\\\"ꝁ\\\":\\\"k\\\",\\n\\t\\\"ꝅ\\\":\\\"k\\\",\\n\\t\\\"ĺ\\\":\\\"l\\\",\\n\\t\\\"ƚ\\\":\\\"l\\\",\\n\\t\\\"ɬ\\\":\\\"l\\\",\\n\\t\\\"ľ\\\":\\\"l\\\",\\n\\t\\\"ļ\\\":\\\"l\\\",\\n\\t\\\"ḽ\\\":\\\"l\\\",\\n\\t\\\"ȴ\\\":\\\"l\\\",\\n\\t\\\"ḷ\\\":\\\"l\\\",\\n\\t\\\"ḹ\\\":\\\"l\\\",\\n\\t\\\"ⱡ\\\":\\\"l\\\",\\n\\t\\\"ꝉ\\\":\\\"l\\\",\\n\\t\\\"ḻ\\\":\\\"l\\\",\\n\\t\\\"ŀ\\\":\\\"l\\\",\\n\\t\\\"ɫ\\\":\\\"l\\\",\\n\\t\\\"ᶅ\\\":\\\"l\\\",\\n\\t\\\"ɭ\\\":\\\"l\\\",\\n\\t\\\"ł\\\":\\\"l\\\",\\n\\t\\\"lj\\\":\\\"lj\\\",\\n\\t\\\"ſ\\\":\\\"s\\\",\\n\\t\\\"ẜ\\\":\\\"s\\\",\\n\\t\\\"ẛ\\\":\\\"s\\\",\\n\\t\\\"ẝ\\\":\\\"s\\\",\\n\\t\\\"ḿ\\\":\\\"m\\\",\\n\\t\\\"ṁ\\\":\\\"m\\\",\\n\\t\\\"ṃ\\\":\\\"m\\\",\\n\\t\\\"ɱ\\\":\\\"m\\\",\\n\\t\\\"ᵯ\\\":\\\"m\\\",\\n\\t\\\"ᶆ\\\":\\\"m\\\",\\n\\t\\\"ń\\\":\\\"n\\\",\\n\\t\\\"ň\\\":\\\"n\\\",\\n\\t\\\"ņ\\\":\\\"n\\\",\\n\\t\\\"ṋ\\\":\\\"n\\\",\\n\\t\\\"ȵ\\\":\\\"n\\\",\\n\\t\\\"ṅ\\\":\\\"n\\\",\\n\\t\\\"ṇ\\\":\\\"n\\\",\\n\\t\\\"ǹ\\\":\\\"n\\\",\\n\\t\\\"ɲ\\\":\\\"n\\\",\\n\\t\\\"ṉ\\\":\\\"n\\\",\\n\\t\\\"ƞ\\\":\\\"n\\\",\\n\\t\\\"ᵰ\\\":\\\"n\\\",\\n\\t\\\"ᶇ\\\":\\\"n\\\",\\n\\t\\\"ɳ\\\":\\\"n\\\",\\n\\t\\\"ñ\\\":\\\"n\\\",\\n\\t\\\"nj\\\":\\\"nj\\\",\\n\\t\\\"ó\\\":\\\"o\\\",\\n\\t\\\"ŏ\\\":\\\"o\\\",\\n\\t\\\"ǒ\\\":\\\"o\\\",\\n\\t\\\"ô\\\":\\\"o\\\",\\n\\t\\\"ố\\\":\\\"o\\\",\\n\\t\\\"ộ\\\":\\\"o\\\",\\n\\t\\\"ồ\\\":\\\"o\\\",\\n\\t\\\"ổ\\\":\\\"o\\\",\\n\\t\\\"ỗ\\\":\\\"o\\\",\\n\\t\\\"ö\\\":\\\"o\\\",\\n\\t\\\"ȫ\\\":\\\"o\\\",\\n\\t\\\"ȯ\\\":\\\"o\\\",\\n\\t\\\"ȱ\\\":\\\"o\\\",\\n\\t\\\"ọ\\\":\\\"o\\\",\\n\\t\\\"ő\\\":\\\"o\\\",\\n\\t\\\"ȍ\\\":\\\"o\\\",\\n\\t\\\"ò\\\":\\\"o\\\",\\n\\t\\\"ỏ\\\":\\\"o\\\",\\n\\t\\\"ơ\\\":\\\"o\\\",\\n\\t\\\"ớ\\\":\\\"o\\\",\\n\\t\\\"ợ\\\":\\\"o\\\",\\n\\t\\\"ờ\\\":\\\"o\\\",\\n\\t\\\"ở\\\":\\\"o\\\",\\n\\t\\\"ỡ\\\":\\\"o\\\",\\n\\t\\\"ȏ\\\":\\\"o\\\",\\n\\t\\\"ꝋ\\\":\\\"o\\\",\\n\\t\\\"ꝍ\\\":\\\"o\\\",\\n\\t\\\"ⱺ\\\":\\\"o\\\",\\n\\t\\\"ō\\\":\\\"o\\\",\\n\\t\\\"ṓ\\\":\\\"o\\\",\\n\\t\\\"ṑ\\\":\\\"o\\\",\\n\\t\\\"ǫ\\\":\\\"o\\\",\\n\\t\\\"ǭ\\\":\\\"o\\\",\\n\\t\\\"ø\\\":\\\"o\\\",\\n\\t\\\"ǿ\\\":\\\"o\\\",\\n\\t\\\"õ\\\":\\\"o\\\",\\n\\t\\\"ṍ\\\":\\\"o\\\",\\n\\t\\\"ṏ\\\":\\\"o\\\",\\n\\t\\\"ȭ\\\":\\\"o\\\",\\n\\t\\\"ƣ\\\":\\\"oi\\\",\\n\\t\\\"ꝏ\\\":\\\"oo\\\",\\n\\t\\\"ɛ\\\":\\\"e\\\",\\n\\t\\\"ᶓ\\\":\\\"e\\\",\\n\\t\\\"ɔ\\\":\\\"o\\\",\\n\\t\\\"ᶗ\\\":\\\"o\\\",\\n\\t\\\"ȣ\\\":\\\"ou\\\",\\n\\t\\\"ṕ\\\":\\\"p\\\",\\n\\t\\\"ṗ\\\":\\\"p\\\",\\n\\t\\\"ꝓ\\\":\\\"p\\\",\\n\\t\\\"ƥ\\\":\\\"p\\\",\\n\\t\\\"ᵱ\\\":\\\"p\\\",\\n\\t\\\"ᶈ\\\":\\\"p\\\",\\n\\t\\\"ꝕ\\\":\\\"p\\\",\\n\\t\\\"ᵽ\\\":\\\"p\\\",\\n\\t\\\"ꝑ\\\":\\\"p\\\",\\n\\t\\\"ꝙ\\\":\\\"q\\\",\\n\\t\\\"ʠ\\\":\\\"q\\\",\\n\\t\\\"ɋ\\\":\\\"q\\\",\\n\\t\\\"ꝗ\\\":\\\"q\\\",\\n\\t\\\"ŕ\\\":\\\"r\\\",\\n\\t\\\"ř\\\":\\\"r\\\",\\n\\t\\\"ŗ\\\":\\\"r\\\",\\n\\t\\\"ṙ\\\":\\\"r\\\",\\n\\t\\\"ṛ\\\":\\\"r\\\",\\n\\t\\\"ṝ\\\":\\\"r\\\",\\n\\t\\\"ȑ\\\":\\\"r\\\",\\n\\t\\\"ɾ\\\":\\\"r\\\",\\n\\t\\\"ᵳ\\\":\\\"r\\\",\\n\\t\\\"ȓ\\\":\\\"r\\\",\\n\\t\\\"ṟ\\\":\\\"r\\\",\\n\\t\\\"ɼ\\\":\\\"r\\\",\\n\\t\\\"ᵲ\\\":\\\"r\\\",\\n\\t\\\"ᶉ\\\":\\\"r\\\",\\n\\t\\\"ɍ\\\":\\\"r\\\",\\n\\t\\\"ɽ\\\":\\\"r\\\",\\n\\t\\\"ↄ\\\":\\\"c\\\",\\n\\t\\\"ꜿ\\\":\\\"c\\\",\\n\\t\\\"ɘ\\\":\\\"e\\\",\\n\\t\\\"ɿ\\\":\\\"r\\\",\\n\\t\\\"ś\\\":\\\"s\\\",\\n\\t\\\"ṥ\\\":\\\"s\\\",\\n\\t\\\"š\\\":\\\"s\\\",\\n\\t\\\"ṧ\\\":\\\"s\\\",\\n\\t\\\"ş\\\":\\\"s\\\",\\n\\t\\\"ŝ\\\":\\\"s\\\",\\n\\t\\\"ș\\\":\\\"s\\\",\\n\\t\\\"ṡ\\\":\\\"s\\\",\\n\\t\\\"ṣ\\\":\\\"s\\\",\\n\\t\\\"ṩ\\\":\\\"s\\\",\\n\\t\\\"ʂ\\\":\\\"s\\\",\\n\\t\\\"ᵴ\\\":\\\"s\\\",\\n\\t\\\"ᶊ\\\":\\\"s\\\",\\n\\t\\\"ȿ\\\":\\\"s\\\",\\n\\t\\\"ɡ\\\":\\\"g\\\",\\n\\t\\\"ᴑ\\\":\\\"o\\\",\\n\\t\\\"ᴓ\\\":\\\"o\\\",\\n\\t\\\"ᴝ\\\":\\\"u\\\",\\n\\t\\\"ť\\\":\\\"t\\\",\\n\\t\\\"ţ\\\":\\\"t\\\",\\n\\t\\\"ṱ\\\":\\\"t\\\",\\n\\t\\\"ț\\\":\\\"t\\\",\\n\\t\\\"ȶ\\\":\\\"t\\\",\\n\\t\\\"ẗ\\\":\\\"t\\\",\\n\\t\\\"ⱦ\\\":\\\"t\\\",\\n\\t\\\"ṫ\\\":\\\"t\\\",\\n\\t\\\"ṭ\\\":\\\"t\\\",\\n\\t\\\"ƭ\\\":\\\"t\\\",\\n\\t\\\"ṯ\\\":\\\"t\\\",\\n\\t\\\"ᵵ\\\":\\\"t\\\",\\n\\t\\\"ƫ\\\":\\\"t\\\",\\n\\t\\\"ʈ\\\":\\\"t\\\",\\n\\t\\\"ŧ\\\":\\\"t\\\",\\n\\t\\\"ᵺ\\\":\\\"th\\\",\\n\\t\\\"ɐ\\\":\\\"a\\\",\\n\\t\\\"ᴂ\\\":\\\"ae\\\",\\n\\t\\\"ǝ\\\":\\\"e\\\",\\n\\t\\\"ᵷ\\\":\\\"g\\\",\\n\\t\\\"ɥ\\\":\\\"h\\\",\\n\\t\\\"ʮ\\\":\\\"h\\\",\\n\\t\\\"ʯ\\\":\\\"h\\\",\\n\\t\\\"ᴉ\\\":\\\"i\\\",\\n\\t\\\"ʞ\\\":\\\"k\\\",\\n\\t\\\"ꞁ\\\":\\\"l\\\",\\n\\t\\\"ɯ\\\":\\\"m\\\",\\n\\t\\\"ɰ\\\":\\\"m\\\",\\n\\t\\\"ᴔ\\\":\\\"oe\\\",\\n\\t\\\"ɹ\\\":\\\"r\\\",\\n\\t\\\"ɻ\\\":\\\"r\\\",\\n\\t\\\"ɺ\\\":\\\"r\\\",\\n\\t\\\"ⱹ\\\":\\\"r\\\",\\n\\t\\\"ʇ\\\":\\\"t\\\",\\n\\t\\\"ʌ\\\":\\\"v\\\",\\n\\t\\\"ʍ\\\":\\\"w\\\",\\n\\t\\\"ʎ\\\":\\\"y\\\",\\n\\t\\\"ꜩ\\\":\\\"tz\\\",\\n\\t\\\"ú\\\":\\\"u\\\",\\n\\t\\\"ŭ\\\":\\\"u\\\",\\n\\t\\\"ǔ\\\":\\\"u\\\",\\n\\t\\\"û\\\":\\\"u\\\",\\n\\t\\\"ṷ\\\":\\\"u\\\",\\n\\t\\\"ü\\\":\\\"u\\\",\\n\\t\\\"ǘ\\\":\\\"u\\\",\\n\\t\\\"ǚ\\\":\\\"u\\\",\\n\\t\\\"ǜ\\\":\\\"u\\\",\\n\\t\\\"ǖ\\\":\\\"u\\\",\\n\\t\\\"ṳ\\\":\\\"u\\\",\\n\\t\\\"ụ\\\":\\\"u\\\",\\n\\t\\\"ű\\\":\\\"u\\\",\\n\\t\\\"ȕ\\\":\\\"u\\\",\\n\\t\\\"ù\\\":\\\"u\\\",\\n\\t\\\"ủ\\\":\\\"u\\\",\\n\\t\\\"ư\\\":\\\"u\\\",\\n\\t\\\"ứ\\\":\\\"u\\\",\\n\\t\\\"ự\\\":\\\"u\\\",\\n\\t\\\"ừ\\\":\\\"u\\\",\\n\\t\\\"ử\\\":\\\"u\\\",\\n\\t\\\"ữ\\\":\\\"u\\\",\\n\\t\\\"ȗ\\\":\\\"u\\\",\\n\\t\\\"ū\\\":\\\"u\\\",\\n\\t\\\"ṻ\\\":\\\"u\\\",\\n\\t\\\"ų\\\":\\\"u\\\",\\n\\t\\\"ᶙ\\\":\\\"u\\\",\\n\\t\\\"ů\\\":\\\"u\\\",\\n\\t\\\"ũ\\\":\\\"u\\\",\\n\\t\\\"ṹ\\\":\\\"u\\\",\\n\\t\\\"ṵ\\\":\\\"u\\\",\\n\\t\\\"ᵫ\\\":\\\"ue\\\",\\n\\t\\\"ꝸ\\\":\\\"um\\\",\\n\\t\\\"ⱴ\\\":\\\"v\\\",\\n\\t\\\"ꝟ\\\":\\\"v\\\",\\n\\t\\\"ṿ\\\":\\\"v\\\",\\n\\t\\\"ʋ\\\":\\\"v\\\",\\n\\t\\\"ᶌ\\\":\\\"v\\\",\\n\\t\\\"ⱱ\\\":\\\"v\\\",\\n\\t\\\"ṽ\\\":\\\"v\\\",\\n\\t\\\"ꝡ\\\":\\\"vy\\\",\\n\\t\\\"ẃ\\\":\\\"w\\\",\\n\\t\\\"ŵ\\\":\\\"w\\\",\\n\\t\\\"ẅ\\\":\\\"w\\\",\\n\\t\\\"ẇ\\\":\\\"w\\\",\\n\\t\\\"ẉ\\\":\\\"w\\\",\\n\\t\\\"ẁ\\\":\\\"w\\\",\\n\\t\\\"ⱳ\\\":\\\"w\\\",\\n\\t\\\"ẘ\\\":\\\"w\\\",\\n\\t\\\"ẍ\\\":\\\"x\\\",\\n\\t\\\"ẋ\\\":\\\"x\\\",\\n\\t\\\"ᶍ\\\":\\\"x\\\",\\n\\t\\\"ý\\\":\\\"y\\\",\\n\\t\\\"ŷ\\\":\\\"y\\\",\\n\\t\\\"ÿ\\\":\\\"y\\\",\\n\\t\\\"ẏ\\\":\\\"y\\\",\\n\\t\\\"ỵ\\\":\\\"y\\\",\\n\\t\\\"ỳ\\\":\\\"y\\\",\\n\\t\\\"ƴ\\\":\\\"y\\\",\\n\\t\\\"ỷ\\\":\\\"y\\\",\\n\\t\\\"ỿ\\\":\\\"y\\\",\\n\\t\\\"ȳ\\\":\\\"y\\\",\\n\\t\\\"ẙ\\\":\\\"y\\\",\\n\\t\\\"ɏ\\\":\\\"y\\\",\\n\\t\\\"ỹ\\\":\\\"y\\\",\\n\\t\\\"ź\\\":\\\"z\\\",\\n\\t\\\"ž\\\":\\\"z\\\",\\n\\t\\\"ẑ\\\":\\\"z\\\",\\n\\t\\\"ʑ\\\":\\\"z\\\",\\n\\t\\\"ⱬ\\\":\\\"z\\\",\\n\\t\\\"ż\\\":\\\"z\\\",\\n\\t\\\"ẓ\\\":\\\"z\\\",\\n\\t\\\"ȥ\\\":\\\"z\\\",\\n\\t\\\"ẕ\\\":\\\"z\\\",\\n\\t\\\"ᵶ\\\":\\\"z\\\",\\n\\t\\\"ᶎ\\\":\\\"z\\\",\\n\\t\\\"ʐ\\\":\\\"z\\\",\\n\\t\\\"ƶ\\\":\\\"z\\\",\\n\\t\\\"ɀ\\\":\\\"z\\\",\\n\\t\\\"ff\\\":\\\"ff\\\",\\n\\t\\\"ffi\\\":\\\"ffi\\\",\\n\\t\\\"ffl\\\":\\\"ffl\\\",\\n\\t\\\"fi\\\":\\\"fi\\\",\\n\\t\\\"fl\\\":\\\"fl\\\",\\n\\t\\\"ij\\\":\\\"ij\\\",\\n\\t\\\"œ\\\":\\\"oe\\\",\\n\\t\\\"st\\\":\\\"st\\\",\\n\\t\\\"ₐ\\\":\\\"a\\\",\\n\\t\\\"ₑ\\\":\\\"e\\\",\\n\\t\\\"ᵢ\\\":\\\"i\\\",\\n\\t\\\"ⱼ\\\":\\\"j\\\",\\n\\t\\\"ₒ\\\":\\\"o\\\",\\n\\t\\\"ᵣ\\\":\\\"r\\\",\\n\\t\\\"ᵤ\\\":\\\"u\\\",\\n\\t\\\"ᵥ\\\":\\\"v\\\",\\n\\t\\\"ₓ\\\":\\\"x\\\",\\n\\t\\\"Ё\\\":\\\"YO\\\",\\n\\t\\\"Й\\\":\\\"I\\\",\\n\\t\\\"Ц\\\":\\\"TS\\\",\\n\\t\\\"У\\\":\\\"U\\\",\\n\\t\\\"К\\\":\\\"K\\\",\\n\\t\\\"Е\\\":\\\"E\\\",\\n\\t\\\"Н\\\":\\\"N\\\",\\n\\t\\\"Г\\\":\\\"G\\\",\\n\\t\\\"Ш\\\":\\\"SH\\\",\\n\\t\\\"Щ\\\":\\\"SCH\\\",\\n\\t\\\"З\\\":\\\"Z\\\",\\n\\t\\\"Х\\\":\\\"H\\\",\\n\\t\\\"Ъ\\\":\\\"'\\\",\\n\\t\\\"ё\\\":\\\"yo\\\",\\n\\t\\\"й\\\":\\\"i\\\",\\n\\t\\\"ц\\\":\\\"ts\\\",\\n\\t\\\"у\\\":\\\"u\\\",\\n\\t\\\"к\\\":\\\"k\\\",\\n\\t\\\"е\\\":\\\"e\\\",\\n\\t\\\"н\\\":\\\"n\\\",\\n\\t\\\"г\\\":\\\"g\\\",\\n\\t\\\"ш\\\":\\\"sh\\\",\\n\\t\\\"щ\\\":\\\"sch\\\",\\n\\t\\\"з\\\":\\\"z\\\",\\n\\t\\\"х\\\":\\\"h\\\",\\n\\t\\\"ъ\\\":\\\"'\\\",\\n\\t\\\"Ф\\\":\\\"F\\\",\\n\\t\\\"Ы\\\":\\\"I\\\",\\n\\t\\\"В\\\":\\\"V\\\",\\n\\t\\\"А\\\":\\\"a\\\",\\n\\t\\\"П\\\":\\\"P\\\",\\n\\t\\\"Р\\\":\\\"R\\\",\\n\\t\\\"О\\\":\\\"O\\\",\\n\\t\\\"Л\\\":\\\"L\\\",\\n\\t\\\"Д\\\":\\\"D\\\",\\n\\t\\\"Ж\\\":\\\"ZH\\\",\\n\\t\\\"Э\\\":\\\"E\\\",\\n\\t\\\"ф\\\":\\\"f\\\",\\n\\t\\\"ы\\\":\\\"i\\\",\\n\\t\\\"в\\\":\\\"v\\\",\\n\\t\\\"а\\\":\\\"a\\\",\\n\\t\\\"п\\\":\\\"p\\\",\\n\\t\\\"р\\\":\\\"r\\\",\\n\\t\\\"о\\\":\\\"o\\\",\\n\\t\\\"л\\\":\\\"l\\\",\\n\\t\\\"д\\\":\\\"d\\\",\\n\\t\\\"ж\\\":\\\"zh\\\",\\n\\t\\\"э\\\":\\\"e\\\",\\n\\t\\\"Я\\\":\\\"Ya\\\",\\n\\t\\\"Ч\\\":\\\"CH\\\",\\n\\t\\\"С\\\":\\\"S\\\",\\n\\t\\\"М\\\":\\\"M\\\",\\n\\t\\\"И\\\":\\\"I\\\",\\n\\t\\\"Т\\\":\\\"T\\\",\\n\\t\\\"Ь\\\":\\\"'\\\",\\n\\t\\\"Б\\\":\\\"B\\\",\\n\\t\\\"Ю\\\":\\\"YU\\\",\\n\\t\\\"я\\\":\\\"ya\\\",\\n\\t\\\"ч\\\":\\\"ch\\\",\\n\\t\\\"с\\\":\\\"s\\\",\\n\\t\\\"м\\\":\\\"m\\\",\\n\\t\\\"и\\\":\\\"i\\\",\\n\\t\\\"т\\\":\\\"t\\\",\\n\\t\\\"ь\\\":\\\"'\\\",\\n\\t\\\"б\\\":\\\"b\\\",\\n\\t\\\"ю\\\":\\\"yu\\\",\\n\\t\\\"…\\\":\\\"...\\\"\\n};\\n\\nexports.transliterate = function(str) {\\n\\treturn str.replace(/[^A-Za-z0-9\\\\[\\\\] ]/g,function(ch) {\\n\\t\\treturn exports.transliterationPairs[ch] || ch\\n\\t});\\n};\\n\\nexports.transliterateToSafeASCII = function(str) {\\n\\treturn str.replace(/[^\\\\x00-\\\\x7F]/g,function(ch) {\\n\\t\\treturn exports.transliterationPairs[ch] || \\\"\\\"\\n\\t});\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/utils/utils.js\":{\"title\":\"$:/core/modules/utils/utils.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/utils/utils.js\\ntype: application/javascript\\nmodule-type: utils\\n\\nVarious static utility functions.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar base64utf8 = require(\\\"$:/core/modules/utils/base64-utf8/base64-utf8.module.js\\\");\\n\\n/*\\nDisplay a message, in colour if we're on a terminal\\n*/\\nexports.log = function(text,colour) {\\n\\tconsole.log($tw.node ? exports.terminalColour(colour) + text + exports.terminalColour() : text);\\n};\\n\\nexports.terminalColour = function(colour) {\\n\\tif(!$tw.browser && $tw.node && process.stdout.isTTY) {\\n\\t\\tif(colour) {\\n\\t\\t\\tvar code = exports.terminalColourLookup[colour];\\n\\t\\t\\tif(code) {\\n\\t\\t\\t\\treturn \\\"\\\\x1b[\\\" + code + \\\"m\\\";\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\treturn \\\"\\\\x1b[0m\\\"; // Cancel colour\\n\\t\\t}\\n\\t}\\n\\treturn \\\"\\\";\\n};\\n\\nexports.terminalColourLookup = {\\n\\t\\\"black\\\": \\\"0;30\\\",\\n\\t\\\"red\\\": \\\"0;31\\\",\\n\\t\\\"green\\\": \\\"0;32\\\",\\n\\t\\\"brown/orange\\\": \\\"0;33\\\",\\n\\t\\\"blue\\\": \\\"0;34\\\",\\n\\t\\\"purple\\\": \\\"0;35\\\",\\n\\t\\\"cyan\\\": \\\"0;36\\\",\\n\\t\\\"light gray\\\": \\\"0;37\\\"\\n};\\n\\n/*\\nDisplay a warning, in colour if we're on a terminal\\n*/\\nexports.warning = function(text) {\\n\\texports.log(text,\\\"brown/orange\\\");\\n};\\n\\n/*\\nLog a table of name: value pairs\\n*/\\nexports.logTable = function(data) {\\n\\tif(console.table) {\\n\\t\\tconsole.table(data);\\n\\t} else {\\n\\t\\t$tw.utils.each(data,function(value,name) {\\n\\t\\t\\tconsole.log(name + \\\": \\\" + value);\\n\\t\\t});\\n\\t}\\n}\\n\\n/*\\nReturn the integer represented by the str (string).\\nReturn the dflt (default) parameter if str is not a base-10 number.\\n*/\\nexports.getInt = function(str,deflt) {\\n\\tvar i = parseInt(str,10);\\n\\treturn isNaN(i) ? deflt : i;\\n}\\n\\n/*\\nRepeatedly replaces a substring within a string. Like String.prototype.replace, but without any of the default special handling of $ sequences in the replace string\\n*/\\nexports.replaceString = function(text,search,replace) {\\n\\treturn text.replace(search,function() {\\n\\t\\treturn replace;\\n\\t});\\n};\\n\\n/*\\nRepeats a string\\n*/\\nexports.repeat = function(str,count) {\\n\\tvar result = \\\"\\\";\\n\\tfor(var t=0;t\u003Ccount;t++) {\\n\\t\\tresult += str;\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nCheck if a string starts with another string\\n*/\\nexports.startsWith = function(str,search) {\\n\\treturn str.substring(0, search.length) === search;\\n};\\n\\n/*\\nCheck if a string ends with another string\\n*/\\nexports.endsWith = function(str,search) {\\n\\treturn str.substring(str.length - search.length) === search;\\n};\\n\\n/*\\nTrim whitespace from the start and end of a string\\nThanks to Steven Levithan, http://blog.stevenlevithan.com/archives/faster-trim-javascript\\n*/\\nexports.trim = function(str) {\\n\\tif(typeof str === \\\"string\\\") {\\n\\t\\treturn str.replace(/^\\\\s\\\\s*/, '').replace(/\\\\s\\\\s*$/, '');\\n\\t} else {\\n\\t\\treturn str;\\n\\t}\\n};\\n\\nexports.trimPrefix = function(str,unwanted) {\\n\\tif(typeof str === \\\"string\\\" && typeof unwanted === \\\"string\\\") {\\n\\t\\tif(unwanted === \\\"\\\") {\\n\\t\\t\\treturn str.replace(/^\\\\s\\\\s*/, '');\\n\\t\\t} else {\\n\\t\\t\\t// Safely regexp-escape the unwanted text\\n\\t\\t\\tunwanted = unwanted.replace(/[\\\\\\\\^$*+?.()|[\\\\]{}]/g, '\\\\\\\\$&');\\n\\t\\t\\tvar regex = new RegExp('^(' + unwanted + ')+');\\n\\t\\t\\treturn str.replace(regex, '');\\n\\t\\t}\\n\\t} else {\\n\\t\\treturn str;\\n\\t}\\n};\\n\\nexports.trimSuffix = function(str,unwanted) {\\n\\tif(typeof str === \\\"string\\\" && typeof unwanted === \\\"string\\\") {\\n\\t\\tif(unwanted === \\\"\\\") {\\n\\t\\t\\treturn str.replace(/\\\\s\\\\s*$/, '');\\n\\t\\t} else {\\n\\t\\t\\t// Safely regexp-escape the unwanted text\\n\\t\\t\\tunwanted = unwanted.replace(/[\\\\\\\\^$*+?.()|[\\\\]{}]/g, '\\\\\\\\$&');\\n\\t\\t\\tvar regex = new RegExp('(' + unwanted + ')+$');\\n\\t\\t\\treturn str.replace(regex, '');\\n\\t\\t}\\n\\t} else {\\n\\t\\treturn str;\\n\\t}\\n};\\n\\n/*\\nConvert a string to sentence case (ie capitalise first letter)\\n*/\\nexports.toSentenceCase = function(str) {\\n\\treturn (str || \\\"\\\").replace(/^\\\\S/, function(c) {return c.toUpperCase();});\\n}\\n\\n/*\\nConvert a string to title case (ie capitalise each initial letter)\\n*/\\nexports.toTitleCase = function(str) {\\n\\treturn (str || \\\"\\\").replace(/(^|\\\\s)\\\\S/g, function(c) {return c.toUpperCase();});\\n}\\n\\n/*\\nFind the line break preceding a given position in a string\\nReturns position immediately after that line break, or the start of the string\\n*/\\nexports.findPrecedingLineBreak = function(text,pos) {\\n\\tvar result = text.lastIndexOf(\\\"\\\\n\\\",pos - 1);\\n\\tif(result === -1) {\\n\\t\\tresult = 0;\\n\\t} else {\\n\\t\\tresult++;\\n\\t\\tif(text.charAt(result) === \\\"\\\\r\\\") {\\n\\t\\t\\tresult++;\\n\\t\\t}\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nFind the line break following a given position in a string\\n*/\\nexports.findFollowingLineBreak = function(text,pos) {\\n\\t// Cut to just past the following line break, or to the end of the text\\n\\tvar result = text.indexOf(\\\"\\\\n\\\",pos);\\n\\tif(result === -1) {\\n\\t\\tresult = text.length;\\n\\t} else {\\n\\t\\tif(text.charAt(result) === \\\"\\\\r\\\") {\\n\\t\\t\\tresult++;\\n\\t\\t}\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nReturn the number of keys in an object\\n*/\\nexports.count = function(object) {\\n\\treturn Object.keys(object || {}).length;\\n};\\n\\n/*\\nDetermine whether an array-item is an object-property\\n*/\\nexports.hopArray = function(object,array) {\\n\\tfor(var i=0; i\u003Carray.length; i++) {\\n\\t\\tif($tw.utils.hop(object,array[i])) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n/*\\nRemove entries from an array\\n\\tarray: array to modify\\n\\tvalue: a single value to remove, or an array of values to remove\\n*/\\nexports.removeArrayEntries = function(array,value) {\\n\\tvar t,p;\\n\\tif($tw.utils.isArray(value)) {\\n\\t\\tfor(t=0; t\u003Cvalue.length; t++) {\\n\\t\\t\\tp = array.indexOf(value[t]);\\n\\t\\t\\tif(p !== -1) {\\n\\t\\t\\t\\tarray.splice(p,1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\tp = array.indexOf(value);\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tarray.splice(p,1);\\n\\t\\t}\\n\\t}\\n\\treturn array;\\n};\\n\\n/*\\nCheck whether any members of a hashmap are present in another hashmap\\n*/\\nexports.checkDependencies = function(dependencies,changes) {\\n\\tvar hit = false;\\n\\t$tw.utils.each(changes,function(change,title) {\\n\\t\\tif($tw.utils.hop(dependencies,title)) {\\n\\t\\t\\thit = true;\\n\\t\\t}\\n\\t});\\n\\treturn hit;\\n};\\n\\nexports.extend = function(object /* [, src] */) {\\n\\t$tw.utils.each(Array.prototype.slice.call(arguments, 1), function(source) {\\n\\t\\tif(source) {\\n\\t\\t\\tfor(var property in source) {\\n\\t\\t\\t\\tobject[property] = source[property];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\treturn object;\\n};\\n\\nexports.deepCopy = function(object) {\\n\\tvar result,t;\\n\\tif($tw.utils.isArray(object)) {\\n\\t\\t// Copy arrays\\n\\t\\tresult = object.slice(0);\\n\\t} else if(typeof object === \\\"object\\\") {\\n\\t\\tresult = {};\\n\\t\\tfor(t in object) {\\n\\t\\t\\tif(object[t] !== undefined) {\\n\\t\\t\\t\\tresult[t] = $tw.utils.deepCopy(object[t]);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\tresult = object;\\n\\t}\\n\\treturn result;\\n};\\n\\nexports.extendDeepCopy = function(object,extendedProperties) {\\n\\tvar result = $tw.utils.deepCopy(object),t;\\n\\tfor(t in extendedProperties) {\\n\\t\\tif(extendedProperties[t] !== undefined) {\\n\\t\\t\\tresult[t] = $tw.utils.deepCopy(extendedProperties[t]);\\n\\t\\t}\\n\\t}\\n\\treturn result;\\n};\\n\\nexports.deepFreeze = function deepFreeze(object) {\\n\\tvar property, key;\\n\\tif(object) {\\n\\t\\tObject.freeze(object);\\n\\t\\tfor(key in object) {\\n\\t\\t\\tproperty = object[key];\\n\\t\\t\\tif($tw.utils.hop(object,key) && (typeof property === \\\"object\\\") && !Object.isFrozen(property)) {\\n\\t\\t\\t\\tdeepFreeze(property);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.slowInSlowOut = function(t) {\\n\\treturn (1 - ((Math.cos(t * Math.PI) + 1) / 2));\\n};\\n\\nexports.formatTitleString = function(template,options) {\\n\\tvar base = options.base || \\\"\\\",\\n\\t\\tseparator = options.separator || \\\"\\\",\\n\\t\\tcounter = options.counter || \\\"\\\";\\n\\tvar result = \\\"\\\",\\n\\t\\tt = template,\\n\\t\\tmatches = [\\n\\t\\t\\t[/^\\\\$basename\\\\$/i, function() {\\n\\t\\t\\t\\treturn base;\\n\\t\\t\\t}],\\n\\t\\t\\t[/^\\\\$count:(\\\\d+)\\\\$/i, function(match) {\\n\\t\\t\\t\\treturn $tw.utils.pad(counter,match[1]);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^\\\\$separator\\\\$/i, function() {\\n\\t\\t\\t\\treturn separator;\\n\\t\\t\\t}],\\n\\t\\t\\t[/^\\\\$count\\\\$/i, function() {\\n\\t\\t\\t\\treturn counter + \\\"\\\";\\n\\t\\t\\t}]\\n\\t\\t];\\n\\twhile(t.length){\\n\\t\\tvar matchString = \\\"\\\";\\n\\t\\t$tw.utils.each(matches, function(m) {\\n\\t\\t\\tvar match = m[0].exec(t);\\n\\t\\t\\tif(match) {\\n\\t\\t\\t\\tmatchString = m[1].call(null,match);\\n\\t\\t\\t\\tt = t.substr(match[0].length);\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tif(matchString) {\\n\\t\\t\\tresult += matchString;\\n\\t\\t} else {\\n\\t\\t\\tresult += t.charAt(0);\\n\\t\\t\\tt = t.substr(1);\\n\\t\\t}\\n\\t}\\n\\tresult = result.replace(/\\\\\\\\(.)/g,\\\"$1\\\");\\n\\treturn result;\\n};\\n\\nexports.formatDateString = function(date,template) {\\n\\tvar result = \\\"\\\",\\n\\t\\tt = template,\\n\\t\\tmatches = [\\n\\t\\t\\t[/^TIMESTAMP/, function() {\\n\\t\\t\\t\\treturn date.getTime();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0hh12/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad($tw.utils.getHours12(date));\\n\\t\\t\\t}],\\n\\t\\t\\t[/^wYYYY/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad($tw.utils.getYearForWeekNo(date),4);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^hh12/, function() {\\n\\t\\t\\t\\treturn $tw.utils.getHours12(date);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^DDth/, function() {\\n\\t\\t\\t\\treturn date.getDate() + $tw.utils.getDaySuffix(date);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^YYYY/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getFullYear(),4);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^aYYYY/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(Math.abs(date.getFullYear()),4);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^\\\\{era:([^,\\\\|}]*)\\\\|([^}\\\\|]*)\\\\|([^}]*)\\\\}/, function(match) {\\n\\t\\t\\t\\tvar year = date.getFullYear();\\n\\t\\t\\t\\treturn year === 0 ? match[2] : (year \u003C 0 ? match[1] : match[3]);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0hh/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getHours());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0mm/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getMinutes());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0ss/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getSeconds());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0XXX/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getMilliseconds(),3);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0DD/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getDate());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0MM/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getMonth()+1);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0WW/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad($tw.utils.getWeek(date));\\n\\t\\t\\t}],\\n\\t\\t\\t[/^0ddddd/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(Math.floor((date - new Date(date.getFullYear(), 0, 0)) / 1000 / 60 / 60 / 24),3);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^ddddd/, function() {\\n\\t\\t\\t\\treturn Math.floor((date - new Date(date.getFullYear(), 0, 0)) / 1000 / 60 / 60 / 24);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^dddd/, function() {\\n\\t\\t\\t\\treturn [7,1,2,3,4,5,6][date.getDay()];\\n\\t\\t\\t}],\\n\\t\\t\\t[/^ddd/, function() {\\n\\t\\t\\t\\treturn $tw.language.getString(\\\"Date/Short/Day/\\\" + date.getDay());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^mmm/, function() {\\n\\t\\t\\t\\treturn $tw.language.getString(\\\"Date/Short/Month/\\\" + (date.getMonth() + 1));\\n\\t\\t\\t}],\\n\\t\\t\\t[/^DDD/, function() {\\n\\t\\t\\t\\treturn $tw.language.getString(\\\"Date/Long/Day/\\\" + date.getDay());\\n\\t\\t\\t}],\\n\\t\\t\\t[/^MMM/, function() {\\n\\t\\t\\t\\treturn $tw.language.getString(\\\"Date/Long/Month/\\\" + (date.getMonth() + 1));\\n\\t\\t\\t}],\\n\\t\\t\\t[/^TZD/, function() {\\n\\t\\t\\t\\tvar tz = date.getTimezoneOffset(),\\n\\t\\t\\t\\tatz = Math.abs(tz);\\n\\t\\t\\t\\treturn (tz \u003C 0 ? '+' : '-') + $tw.utils.pad(Math.floor(atz / 60)) + ':' + $tw.utils.pad(atz % 60);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^wYY/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad($tw.utils.getYearForWeekNo(date) - 2000);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^[ap]m/, function() {\\n\\t\\t\\t\\treturn $tw.utils.getAmPm(date).toLowerCase();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^hh/, function() {\\n\\t\\t\\t\\treturn date.getHours();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^mm/, function() {\\n\\t\\t\\t\\treturn date.getMinutes();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^ss/, function() {\\n\\t\\t\\t\\treturn date.getSeconds();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^XXX/, function() {\\n\\t\\t\\t\\treturn date.getMilliseconds();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^[AP]M/, function() {\\n\\t\\t\\t\\treturn $tw.utils.getAmPm(date).toUpperCase();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^DD/, function() {\\n\\t\\t\\t\\treturn date.getDate();\\n\\t\\t\\t}],\\n\\t\\t\\t[/^MM/, function() {\\n\\t\\t\\t\\treturn date.getMonth() + 1;\\n\\t\\t\\t}],\\n\\t\\t\\t[/^WW/, function() {\\n\\t\\t\\t\\treturn $tw.utils.getWeek(date);\\n\\t\\t\\t}],\\n\\t\\t\\t[/^YY/, function() {\\n\\t\\t\\t\\treturn $tw.utils.pad(date.getFullYear() - 2000);\\n\\t\\t\\t}]\\n\\t\\t];\\n\\t// If the user wants everything in UTC, shift the datestamp\\n\\t// Optimize for format string that essentially means\\n\\t// 'return raw UTC (tiddlywiki style) date string.'\\n\\tif(t.indexOf(\\\"[UTC]\\\") == 0 ) {\\n\\t\\tif(t == \\\"[UTC]YYYY0MM0DD0hh0mm0ssXXX\\\")\\n\\t\\t\\treturn $tw.utils.stringifyDate(date || new Date());\\n\\t\\tvar offset = date.getTimezoneOffset() ; // in minutes\\n\\t\\tdate = new Date(date.getTime()+offset*60*1000) ;\\n\\t\\tt = t.substr(5) ;\\n\\t}\\n\\twhile(t.length){\\n\\t\\tvar matchString = \\\"\\\";\\n\\t\\t$tw.utils.each(matches, function(m) {\\n\\t\\t\\tvar match = m[0].exec(t);\\n\\t\\t\\tif(match) {\\n\\t\\t\\t\\tmatchString = m[1].call(null,match);\\n\\t\\t\\t\\tt = t.substr(match[0].length);\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tif(matchString) {\\n\\t\\t\\tresult += matchString;\\n\\t\\t} else {\\n\\t\\t\\tresult += t.charAt(0);\\n\\t\\t\\tt = t.substr(1);\\n\\t\\t}\\n\\t}\\n\\tresult = result.replace(/\\\\\\\\(.)/g,\\\"$1\\\");\\n\\treturn result;\\n};\\n\\nexports.getAmPm = function(date) {\\n\\treturn $tw.language.getString(\\\"Date/Period/\\\" + (date.getHours() >= 12 ? \\\"pm\\\" : \\\"am\\\"));\\n};\\n\\nexports.getDaySuffix = function(date) {\\n\\treturn $tw.language.getString(\\\"Date/DaySuffix/\\\" + date.getDate());\\n};\\n\\nexports.getWeek = function(date) {\\n\\tvar dt = new Date(date.getTime());\\n\\tvar d = dt.getDay();\\n\\tif(d === 0) {\\n\\t\\td = 7; // JavaScript Sun=0, ISO Sun=7\\n\\t}\\n\\tdt.setTime(dt.getTime() + (4 - d) * 86400000);// shift day to Thurs of same week to calculate weekNo\\n\\tvar x = new Date(dt.getFullYear(),0,1);\\n\\tvar n = Math.floor((dt.getTime() - x.getTime()) / 86400000);\\n\\treturn Math.floor(n / 7) + 1;\\n};\\n\\nexports.getYearForWeekNo = function(date) {\\n\\tvar dt = new Date(date.getTime());\\n\\tvar d = dt.getDay();\\n\\tif(d === 0) {\\n\\t\\td = 7; // JavaScript Sun=0, ISO Sun=7\\n\\t}\\n\\tdt.setTime(dt.getTime() + (4 - d) * 86400000);// shift day to Thurs of same week\\n\\treturn dt.getFullYear();\\n};\\n\\nexports.getHours12 = function(date) {\\n\\tvar h = date.getHours();\\n\\treturn h > 12 ? h-12 : ( h > 0 ? h : 12 );\\n};\\n\\n/*\\nConvert a date delta in milliseconds into a string representation of \\\"23 seconds ago\\\", \\\"27 minutes ago\\\" etc.\\n\\tdelta: delta in milliseconds\\nReturns an object with these members:\\n\\tdescription: string describing the delta period\\n\\tupdatePeriod: time in millisecond until the string will be inaccurate\\n*/\\nexports.getRelativeDate = function(delta) {\\n\\tvar futurep = false;\\n\\tif(delta \u003C 0) {\\n\\t\\tdelta = -1 * delta;\\n\\t\\tfuturep = true;\\n\\t}\\n\\tvar units = [\\n\\t\\t{name: \\\"Years\\\", duration: 365 * 24 * 60 * 60 * 1000},\\n\\t\\t{name: \\\"Months\\\", duration: (365/12) * 24 * 60 * 60 * 1000},\\n\\t\\t{name: \\\"Days\\\", duration: 24 * 60 * 60 * 1000},\\n\\t\\t{name: \\\"Hours\\\", duration: 60 * 60 * 1000},\\n\\t\\t{name: \\\"Minutes\\\", duration: 60 * 1000},\\n\\t\\t{name: \\\"Seconds\\\", duration: 1000}\\n\\t];\\n\\tfor(var t=0; t\u003Cunits.length; t++) {\\n\\t\\tvar result = Math.floor(delta / units[t].duration);\\n\\t\\tif(result >= 2) {\\n\\t\\t\\treturn {\\n\\t\\t\\t\\tdelta: delta,\\n\\t\\t\\t\\tdescription: $tw.language.getString(\\n\\t\\t\\t\\t\\t\\\"RelativeDate/\\\" + (futurep ? \\\"Future\\\" : \\\"Past\\\") + \\\"/\\\" + units[t].name,\\n\\t\\t\\t\\t\\t{variables:\\n\\t\\t\\t\\t\\t\\t{period: result.toString()}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t),\\n\\t\\t\\t\\tupdatePeriod: units[t].duration\\n\\t\\t\\t};\\n\\t\\t}\\n\\t}\\n\\treturn {\\n\\t\\tdelta: delta,\\n\\t\\tdescription: $tw.language.getString(\\n\\t\\t\\t\\\"RelativeDate/\\\" + (futurep ? \\\"Future\\\" : \\\"Past\\\") + \\\"/Second\\\",\\n\\t\\t\\t{variables:\\n\\t\\t\\t\\t{period: \\\"1\\\"}\\n\\t\\t\\t}\\n\\t\\t),\\n\\t\\tupdatePeriod: 1000\\n\\t};\\n};\\n\\n// Convert & to \\\"&\\\", \u003C to \\\"<\\\", > to \\\">\\\", \\\" to \\\""\\\"\\nexports.htmlEncode = function(s) {\\n\\tif(s) {\\n\\t\\treturn s.toString().replace(/&/mg,\\\"&\\\").replace(/\u003C/mg,\\\"<\\\").replace(/>/mg,\\\">\\\").replace(/\\\\\\\"/mg,\\\""\\\");\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\n// Converts like htmlEncode, but forgets the double quote for brevity\\nexports.htmlTextEncode = function(s) {\\n\\tif(s) {\\n\\t\\treturn s.toString().replace(/&/mg,\\\"&\\\").replace(/\u003C/mg,\\\"<\\\").replace(/>/mg,\\\">\\\");\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\n// Converts all HTML entities to their character equivalents\\nexports.entityDecode = function(s) {\\n\\tvar converter = String.fromCodePoint || String.fromCharCode,\\n\\t\\te = s.substr(1,s.length-2), // Strip the & and the ;\\n\\t\\tc;\\n\\tif(e.charAt(0) === \\\"#\\\") {\\n\\t\\tif(e.charAt(1) === \\\"x\\\" || e.charAt(1) === \\\"X\\\") {\\n\\t\\t\\tc = parseInt(e.substr(2),16);\\n\\t\\t} else {\\n\\t\\t\\tc = parseInt(e.substr(1),10);\\n\\t\\t}\\n\\t\\tif(isNaN(c)) {\\n\\t\\t\\treturn s;\\n\\t\\t} else {\\n\\t\\t\\treturn converter(c);\\n\\t\\t}\\n\\t} else {\\n\\t\\tc = $tw.config.htmlEntities[e];\\n\\t\\tif(c) {\\n\\t\\t\\treturn converter(c);\\n\\t\\t} else {\\n\\t\\t\\treturn s; // Couldn't convert it as an entity, just return it raw\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.unescapeLineBreaks = function(s) {\\n\\treturn s.replace(/\\\\\\\\n/mg,\\\"\\\\n\\\").replace(/\\\\\\\\b/mg,\\\" \\\").replace(/\\\\\\\\s/mg,\\\"\\\\\\\\\\\").replace(/\\\\r/mg,\\\"\\\");\\n};\\n\\n/*\\n * Returns an escape sequence for given character. Uses \\\\x for characters \u003C=\\n * 0xFF to save space, \\\\u for the rest.\\n *\\n * The code needs to be in sync with th code template in the compilation\\n * function for \\\"action\\\" nodes.\\n */\\n// Copied from peg.js, thanks to David Majda\\nexports.escape = function(ch) {\\n\\tvar charCode = ch.charCodeAt(0);\\n\\tif(charCode \u003C= 0xFF) {\\n\\t\\treturn '\\\\\\\\x' + $tw.utils.pad(charCode.toString(16).toUpperCase());\\n\\t} else {\\n\\t\\treturn '\\\\\\\\u' + $tw.utils.pad(charCode.toString(16).toUpperCase(),4);\\n\\t}\\n};\\n\\n// Turns a string into a legal JavaScript string\\n// Copied from peg.js, thanks to David Majda\\nexports.stringify = function(s, rawUnicode) {\\n\\t/*\\n\\t* ECMA-262, 5th ed., 7.8.4: All characters may appear literally in a string\\n\\t* literal except for the closing quote character, backslash, carriage return,\\n\\t* line separator, paragraph separator, and line feed. Any character may\\n\\t* appear in the form of an escape sequence.\\n\\t*\\n\\t* For portability, we also escape all non-ASCII characters.\\n\\t*/\\n\\tvar regex = rawUnicode ? /[\\\\x00-\\\\x1f]/g : /[\\\\x00-\\\\x1f\\\\x80-\\\\uFFFF]/g;\\n\\treturn (s || \\\"\\\")\\n\\t\\t.replace(/\\\\\\\\/g, '\\\\\\\\\\\\\\\\') // backslash\\n\\t\\t.replace(/\\\"/g, '\\\\\\\\\\\"') // double quote character\\n\\t\\t.replace(/'/g, \\\"\\\\\\\\'\\\") // single quote character\\n\\t\\t.replace(/\\\\r/g, '\\\\\\\\r') // carriage return\\n\\t\\t.replace(/\\\\n/g, '\\\\\\\\n') // line feed\\n\\t\\t.replace(regex, exports.escape); // non-ASCII characters\\n};\\n\\n// Turns a string into a legal JSON string\\n// Derived from peg.js, thanks to David Majda\\nexports.jsonStringify = function(s, rawUnicode) {\\n\\t// See http://www.json.org/\\n\\tvar regex = rawUnicode ? /[\\\\x00-\\\\x1f]/g : /[\\\\x00-\\\\x1f\\\\x80-\\\\uFFFF]/g;\\n\\treturn (s || \\\"\\\")\\n\\t\\t.replace(/\\\\\\\\/g, '\\\\\\\\\\\\\\\\') // backslash\\n\\t\\t.replace(/\\\"/g, '\\\\\\\\\\\"') // double quote character\\n\\t\\t.replace(/\\\\r/g, '\\\\\\\\r') // carriage return\\n\\t\\t.replace(/\\\\n/g, '\\\\\\\\n') // line feed\\n\\t\\t.replace(/\\\\x08/g, '\\\\\\\\b') // backspace\\n\\t\\t.replace(/\\\\x0c/g, '\\\\\\\\f') // formfeed\\n\\t\\t.replace(/\\\\t/g, '\\\\\\\\t') // tab\\n\\t\\t.replace(regex,function(s) {\\n\\t\\t\\treturn '\\\\\\\\u' + $tw.utils.pad(s.charCodeAt(0).toString(16).toUpperCase(),4);\\n\\t\\t}); // non-ASCII characters\\n};\\n\\n/*\\nEscape the RegExp special characters with a preceding backslash\\n*/\\nexports.escapeRegExp = function(s) {\\n return s.replace(/[\\\\-\\\\/\\\\\\\\\\\\^\\\\$\\\\*\\\\+\\\\?\\\\.\\\\(\\\\)\\\\|\\\\[\\\\]\\\\{\\\\}]/g, '\\\\\\\\$&');\\n};\\n\\n/*\\nExtended version of encodeURIComponent that encodes additional characters including\\nthose that are illegal within filepaths on various platforms including Windows\\n*/\\nexports.encodeURIComponentExtended = function(s) {\\n\\treturn encodeURIComponent(s).replace(/[!'()*]/g,function(c) {\\n\\t\\treturn \\\"%\\\" + c.charCodeAt(0).toString(16).toUpperCase();\\n\\t});\\n};\\n\\n// Checks whether a link target is external, i.e. not a tiddler title\\nexports.isLinkExternal = function(to) {\\n\\tvar externalRegExp = /^(?:file|http|https|mailto|ftp|irc|news|obsidian|data|skype):[^\\\\s\u003C>{}\\\\[\\\\]`|\\\"\\\\\\\\^]+(?:\\\\/|\\\\b)/i;\\n\\treturn externalRegExp.test(to);\\n};\\n\\nexports.nextTick = function(fn) {\\n/*global window: false */\\n\\tif(typeof process === \\\"undefined\\\") {\\n\\t\\t// Apparently it would be faster to use postMessage - http://dbaron.org/log/20100309-faster-timeouts\\n\\t\\twindow.setTimeout(fn,0);\\n\\t} else {\\n\\t\\tprocess.nextTick(fn);\\n\\t}\\n};\\n\\n/*\\nConvert a hyphenated CSS property name into a camel case one\\n*/\\nexports.unHyphenateCss = function(propName) {\\n\\treturn propName.replace(/-([a-z])/gi, function(match0,match1) {\\n\\t\\treturn match1.toUpperCase();\\n\\t});\\n};\\n\\n/*\\nConvert a camelcase CSS property name into a dashed one (\\\"backgroundColor\\\" --> \\\"background-color\\\")\\n*/\\nexports.hyphenateCss = function(propName) {\\n\\treturn propName.replace(/([A-Z])/g, function(match0,match1) {\\n\\t\\treturn \\\"-\\\" + match1.toLowerCase();\\n\\t});\\n};\\n\\n/*\\nParse a text reference of one of these forms:\\n* title\\n* !!field\\n* title!!field\\n* title##index\\n* etc\\nReturns an object with the following fields, all optional:\\n* title: tiddler title\\n* field: tiddler field name\\n* index: JSON property index\\n*/\\nexports.parseTextReference = function(textRef) {\\n\\t// Separate out the title, field name and/or JSON indices\\n\\tvar reTextRef = /(?:(.*?)!!(.+))|(?:(.*?)##(.+))|(.*)/mg,\\n\\t\\tmatch = reTextRef.exec(textRef),\\n\\t\\tresult = {};\\n\\tif(match && reTextRef.lastIndex === textRef.length) {\\n\\t\\t// Return the parts\\n\\t\\tif(match[1]) {\\n\\t\\t\\tresult.title = match[1];\\n\\t\\t}\\n\\t\\tif(match[2]) {\\n\\t\\t\\tresult.field = match[2];\\n\\t\\t}\\n\\t\\tif(match[3]) {\\n\\t\\t\\tresult.title = match[3];\\n\\t\\t}\\n\\t\\tif(match[4]) {\\n\\t\\t\\tresult.index = match[4];\\n\\t\\t}\\n\\t\\tif(match[5]) {\\n\\t\\t\\tresult.title = match[5];\\n\\t\\t}\\n\\t} else {\\n\\t\\t// If we couldn't parse it\\n\\t\\tresult.title = textRef\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nChecks whether a string is a valid fieldname\\n*/\\nexports.isValidFieldName = function(name) {\\n\\tif(!name || typeof name !== \\\"string\\\") {\\n\\t\\treturn false;\\n\\t}\\n\\t// Since v5.2.x, there are no restrictions on characters in field names\\n\\treturn name;\\n};\\n\\n/*\\nExtract the version number from the meta tag or from the boot file\\n*/\\n\\n// Browser version\\nexports.extractVersionInfo = function() {\\n\\tif($tw.packageInfo) {\\n\\t\\treturn $tw.packageInfo.version;\\n\\t} else {\\n\\t\\tvar metatags = document.getElementsByTagName(\\\"meta\\\");\\n\\t\\tfor(var t=0; t\u003Cmetatags.length; t++) {\\n\\t\\t\\tvar m = metatags[t];\\n\\t\\t\\tif(m.name === \\\"tiddlywiki-version\\\") {\\n\\t\\t\\t\\treturn m.content;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nGet the animation duration in ms\\n*/\\nexports.getAnimationDuration = function() {\\n\\treturn parseInt($tw.wiki.getTiddlerText(\\\"$:/config/AnimationDuration\\\",\\\"400\\\"),10) || 0;\\n};\\n\\n/*\\nHash a string to a number\\nDerived from http://stackoverflow.com/a/15710692\\n*/\\nexports.hashString = function(str) {\\n\\treturn str.split(\\\"\\\").reduce(function(a,b) {\\n\\t\\ta = ((a \u003C\u003C 5) - a) + b.charCodeAt(0);\\n\\t\\treturn a & a;\\n\\t},0);\\n};\\n\\n/*\\nDecode a base64 string\\n*/\\nexports.base64Decode = function(string64) {\\n\\treturn base64utf8.base64.decode.call(base64utf8,string64);\\n};\\n\\n/*\\nEncode a string to base64\\n*/\\nexports.base64Encode = function(string64) {\\n\\treturn base64utf8.base64.encode.call(base64utf8,string64);\\n};\\n\\n/*\\nConvert a hashmap into a tiddler dictionary format sequence of name:value pairs\\n*/\\nexports.makeTiddlerDictionary = function(data) {\\n\\tvar output = [];\\n\\tfor(var name in data) {\\n\\t\\toutput.push(name + \\\": \\\" + data[name]);\\n\\t}\\n\\treturn output.join(\\\"\\\\n\\\");\\n};\\n\\n/*\\nHigh resolution microsecond timer for profiling\\n*/\\nexports.timer = function(base) {\\n\\tvar m;\\n\\tif($tw.node) {\\n\\t\\tvar r = process.hrtime();\\n\\t\\tm = r[0] * 1e3 + (r[1] / 1e6);\\n\\t} else if(window.performance) {\\n\\t\\tm = performance.now();\\n\\t} else {\\n\\t\\tm = Date.now();\\n\\t}\\n\\tif(typeof base !== \\\"undefined\\\") {\\n\\t\\tm = m - base;\\n\\t}\\n\\treturn m;\\n};\\n\\n/*\\nConvert text and content type to a data URI\\n*/\\nexports.makeDataUri = function(text,type,_canonical_uri) {\\n\\ttype = type || \\\"text/vnd.tiddlywiki\\\";\\n\\tvar typeInfo = $tw.config.contentTypeInfo[type] || $tw.config.contentTypeInfo[\\\"text/plain\\\"],\\n\\t\\tisBase64 = typeInfo.encoding === \\\"base64\\\",\\n\\t\\tparts = [];\\n\\tif(_canonical_uri) {\\n\\t\\tparts.push(_canonical_uri);\\n\\t} else {\\n\\t\\tparts.push(\\\"data:\\\");\\n\\t\\tparts.push(type);\\n\\t\\tparts.push(isBase64 ? \\\";base64\\\" : \\\"\\\");\\n\\t\\tparts.push(\\\",\\\");\\n\\t\\tparts.push(isBase64 ? text : encodeURIComponent(text));\\n\\t}\\n\\treturn parts.join(\\\"\\\");\\n};\\n\\n/*\\nUseful for finding out the fully escaped CSS selector equivalent to a given tag. For example:\\n\\n$tw.utils.tagToCssSelector(\\\"$:/tags/Stylesheet\\\") --> tc-tagged-\\\\%24\\\\%3A\\\\%2Ftags\\\\%2FStylesheet\\n*/\\nexports.tagToCssSelector = function(tagName) {\\n\\treturn \\\"tc-tagged-\\\" + encodeURIComponent(tagName).replace(/[!\\\"#$%&'()*+,\\\\-./:;\u003C=>?@[\\\\\\\\\\\\]^`{\\\\|}~,]/mg,function(c) {\\n\\t\\treturn \\\"\\\\\\\\\\\" + c;\\n\\t});\\n};\\n\\n/*\\nIE does not have sign function\\n*/\\nexports.sign = Math.sign || function(x) {\\n\\tx = +x; // convert to a number\\n\\tif (x === 0 || isNaN(x)) {\\n\\t\\treturn x;\\n\\t}\\n\\treturn x > 0 ? 1 : -1;\\n};\\n\\n/*\\nIE does not have an endsWith function\\n*/\\nexports.strEndsWith = function(str,ending,position) {\\n\\tif(str.endsWith) {\\n\\t\\treturn str.endsWith(ending,position);\\n\\t} else {\\n\\t\\tif (typeof position !== 'number' || !isFinite(position) || Math.floor(position) !== position || position > str.length) {\\n\\t\\t\\tposition = str.length;\\n\\t\\t}\\n\\t\\tposition -= ending.length;\\n\\t\\tvar lastIndex = str.indexOf(ending, position);\\n\\t\\treturn lastIndex !== -1 && lastIndex === position;\\n\\t}\\n};\\n\\n/*\\nReturn system information useful for debugging\\n*/\\nexports.getSystemInfo = function(str,ending,position) {\\n\\tvar results = [],\\n\\t\\tsave = function(desc,value) {\\n\\t\\t\\tresults.push(desc + \\\": \\\" + value);\\n\\t\\t};\\n\\tif($tw.browser) {\\n\\t\\tsave(\\\"User Agent\\\",navigator.userAgent);\\n\\t\\tsave(\\\"Online Status\\\",window.navigator.onLine);\\n\\t}\\n\\tif($tw.node) {\\n\\t\\tsave(\\\"Node Version\\\",process.version);\\n\\t}\\n\\treturn results.join(\\\"\\\\n\\\");\\n};\\n\\nexports.parseNumber = function(str) {\\n\\treturn parseFloat(str) || 0;\\n};\\n\\nexports.parseInt = function(str) {\\n\\treturn parseInt(str,10) || 0;\\n};\\n\\nexports.stringifyNumber = function(num) {\\n\\treturn num + \\\"\\\";\\n};\\n\\nexports.makeCompareFunction = function(type,options) {\\n\\toptions = options || {};\\n\\t// set isCaseSensitive to true if not defined in options\\n\\tvar isCaseSensitive = (options.isCaseSensitive === false) ? false : true,\\n\\t\\tgt = options.invert ? -1 : +1,\\n\\t\\tlt = options.invert ? +1 : -1,\\n\\t\\tcompare = function(a,b) {\\n\\t\\t\\tif(a > b) {\\n\\t\\t\\t\\treturn gt ;\\n\\t\\t\\t} else if(a \u003C b) {\\n\\t\\t\\t\\treturn lt;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\ttypes = {\\n\\t\\t\\t\\\"number\\\": function(a,b) {\\n\\t\\t\\t\\treturn compare($tw.utils.parseNumber(a),$tw.utils.parseNumber(b));\\n\\t\\t\\t},\\n\\t\\t\\t\\\"integer\\\": function(a,b) {\\n\\t\\t\\t\\treturn compare($tw.utils.parseInt(a),$tw.utils.parseInt(b));\\n\\t\\t\\t},\\n\\t\\t\\t\\\"string\\\": function(a,b) {\\n\\t\\t\\t\\tif(!isCaseSensitive) {\\n\\t\\t\\t\\t\\ta = a.toLowerCase();\\n\\t\\t\\t\\t\\tb = b.toLowerCase();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn compare(\\\"\\\" + a,\\\"\\\" + b);\\n\\t\\t\\t},\\n\\t\\t\\t\\\"date\\\": function(a,b) {\\n\\t\\t\\t\\tvar dateA = $tw.utils.parseDate(a),\\n\\t\\t\\t\\t\\tdateB = $tw.utils.parseDate(b);\\n\\t\\t\\t\\tif(!isFinite(dateA)) {\\n\\t\\t\\t\\t\\tdateA = new Date(0);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(!isFinite(dateB)) {\\n\\t\\t\\t\\t\\tdateB = new Date(0);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn compare(dateA,dateB);\\n\\t\\t\\t},\\n\\t\\t\\t\\\"version\\\": function(a,b) {\\n\\t\\t\\t\\treturn $tw.utils.compareVersions(a,b);\\n\\t\\t\\t},\\n\\t\\t\\t\\\"alphanumeric\\\": function(a,b) {\\n\\t\\t\\t\\tif(!isCaseSensitive) {\\n\\t\\t\\t\\t\\ta = a.toLowerCase();\\n\\t\\t\\t\\t\\tb = b.toLowerCase();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn options.invert ? b.localeCompare(a,undefined,{numeric: true,sensitivity: \\\"base\\\"}) : a.localeCompare(b,undefined,{numeric: true,sensitivity: \\\"base\\\"});\\n\\t\\t\\t}\\n\\t\\t};\\n\\treturn (types[type] || types[options.defaultType] || types.number);\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"utils\"},\"$:/core/modules/widgets/action-confirm.js\":{\"title\":\"$:/core/modules/widgets/action-confirm.js\",\"text\":\"/*\\\\\\n\\ntitle: $:/core/modules/widgets/action-confirm.js\\ntype: application/javascript\\nmodule-type: widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ConfirmWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nConfirmWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nConfirmWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.parentDomNode = parent;\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nConfirmWidget.prototype.execute = function() {\\n\\tthis.message = this.getAttribute(\\\"$message\\\",$tw.language.getString(\\\"ConfirmAction\\\"));\\n\\tthis.prompt = (this.getAttribute(\\\"$prompt\\\",\\\"yes\\\") == \\\"no\\\" ? false : true);\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nConfirmWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$message\\\"] || changedAttributes[\\\"$prompt\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nConfirmWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar invokeActions = true,\\n\\t\\thandled = true,\\n\\t \\twin = event && event.event && event.event.view ? event.event.view : window;\\n\\tif(this.prompt) {\\n\\t\\tinvokeActions = win.confirm(this.message);\\n\\t}\\n\\tif(invokeActions) {\\n\\t\\thandled = this.invokeActions(triggeringWidget,event);\\n\\t}\\n\\treturn handled;\\n};\\n\\nConfirmWidget.prototype.allowActionPropagation = function() {\\n\\treturn false;\\n};\\n\\nexports[\\\"action-confirm\\\"] = ConfirmWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-createtiddler.js\":{\"title\":\"$:/core/modules/widgets/action-createtiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-createtiddler.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to create a new tiddler with a unique name and specified fields.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw:false, require:false, exports:false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar CreateTiddlerWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nCreateTiddlerWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nCreateTiddlerWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Render children\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nCreateTiddlerWidget.prototype.execute = function() {\\n\\tthis.actionBaseTitle = this.getAttribute(\\\"$basetitle\\\");\\n\\tthis.hasBase = !!this.actionBaseTitle;\\n\\tthis.actionSaveTitle = this.getAttribute(\\\"$savetitle\\\");\\n\\tthis.actionSaveDraftTitle = this.getAttribute(\\\"$savedrafttitle\\\");\\n\\tthis.actionTimestamp = this.getAttribute(\\\"$timestamp\\\",\\\"yes\\\") === \\\"yes\\\";\\n\\t//Following params are new since 5.1.22\\n\\tthis.actionTemplate = this.getAttribute(\\\"$template\\\");\\n\\tthis.useTemplate = !!this.actionTemplate;\\n\\tthis.actionOverwrite = this.getAttribute(\\\"$overwrite\\\",\\\"no\\\");\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nCreateTiddlerWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nCreateTiddlerWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar title = this.wiki.getTiddlerText(\\\"$:/language/DefaultNewTiddlerTitle\\\"), // Get the initial new-tiddler title\\n\\t\\tfields = {},\\n\\t\\tcreationFields,\\n\\t\\tmodificationFields;\\n\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\tif(name.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\tfields[name] = attribute;\\n\\t\\t}\\n\\t});\\n\\tif(this.actionTimestamp) {\\n\\t\\tcreationFields = this.wiki.getCreationFields();\\n\\t\\tmodificationFields = this.wiki.getModificationFields();\\n\\t}\\n\\tif(this.hasBase && this.actionOverwrite === \\\"no\\\") {\\n\\t\\ttitle = this.wiki.generateNewTitle(this.actionBaseTitle);\\n\\t} else if (this.hasBase && this.actionOverwrite === \\\"yes\\\") {\\n\\t\\ttitle = this.actionBaseTitle\\n\\t}\\n\\t// NO $basetitle BUT $template parameter is available\\n\\t// the title MUST be unique, otherwise the template would be overwritten\\n\\tif (!this.hasBase && this.useTemplate) {\\n\\t\\ttitle = this.wiki.generateNewTitle(this.actionTemplate);\\n\\t} else if (!this.hasBase && !this.useTemplate) {\\n\\t\\t// If no $basetitle and no $template then use initial title\\n\\t\\ttitle = this.wiki.generateNewTitle(title);\\n\\t}\\n\\tvar templateTiddler = this.wiki.getTiddler(this.actionTemplate) || {};\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(templateTiddler.fields,creationFields,fields,modificationFields,{title: title}));\\n\\tvar draftTitle = this.wiki.generateDraftTitle(title);\\n\\tif(this.actionSaveTitle) {\\n\\t\\tthis.wiki.setTextReference(this.actionSaveTitle,title,this.getVariable(\\\"currentTiddler\\\"));\\n\\t}\\n\\tif(this.actionSaveDraftTitle) {\\n\\t\\tthis.wiki.setTextReference(this.actionSaveDraftTitle,draftTitle,this.getVariable(\\\"currentTiddler\\\"));\\n\\t}\\n\\tthis.setVariable(\\\"createTiddler-title\\\",title);\\n\\tthis.setVariable(\\\"createTiddler-draftTitle\\\",draftTitle);\\n\\tthis.refreshChildren();\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-createtiddler\\\"] = CreateTiddlerWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-deletefield.js\":{\"title\":\"$:/core/modules/widgets/action-deletefield.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-deletefield.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to delete fields of a tiddler.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar DeleteFieldWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDeleteFieldWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDeleteFieldWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDeleteFieldWidget.prototype.execute = function() {\\n\\tthis.actionTiddler = this.getAttribute(\\\"$tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.actionField = this.getAttribute(\\\"$field\\\",null);\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nDeleteFieldWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$tiddler\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nDeleteFieldWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar self = this,\\n\\t\\ttiddler = this.wiki.getTiddler(self.actionTiddler),\\n\\t\\tremoveFields = {},\\n\\t\\thasChanged = false;\\n\\tif((this.actionField !== null) && tiddler) {\\n\\t\\tremoveFields[this.actionField] = undefined;\\n\\t\\tif(this.actionField in tiddler.fields) {\\n\\t\\t\\thasChanged = true;\\n\\t\\t}\\n\\t}\\n\\tif(tiddler) {\\n\\t\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\t\\tif(name.charAt(0) !== \\\"$\\\" && name !== \\\"title\\\") {\\n\\t\\t\\t\\tremoveFields[name] = undefined;\\n\\t\\t\\t\\thasChanged = true;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tif(hasChanged) {\\n\\t\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(this.wiki.getCreationFields(),tiddler,removeFields,this.wiki.getModificationFields()));\\n\\t\\t}\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-deletefield\\\"] = DeleteFieldWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-deletetiddler.js\":{\"title\":\"$:/core/modules/widgets/action-deletetiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-deletetiddler.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to delete a tiddler.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar DeleteTiddlerWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDeleteTiddlerWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDeleteTiddlerWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDeleteTiddlerWidget.prototype.execute = function() {\\n\\tthis.actionFilter = this.getAttribute(\\\"$filter\\\");\\n\\tthis.actionTiddler = this.getAttribute(\\\"$tiddler\\\");\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nDeleteTiddlerWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$filter\\\"] || changedAttributes[\\\"$tiddler\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nDeleteTiddlerWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar tiddlers = [];\\n\\tif(this.actionFilter) {\\n\\t\\ttiddlers = this.wiki.filterTiddlers(this.actionFilter,this);\\n\\t}\\n\\tif(this.actionTiddler) {\\n\\t\\ttiddlers.push(this.actionTiddler);\\n\\t}\\n\\tfor(var t=0; t\u003Ctiddlers.length; t++) {\\n\\t\\tthis.wiki.deleteTiddler(tiddlers[t]);\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-deletetiddler\\\"] = DeleteTiddlerWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-listops.js\":{\"title\":\"$:/core/modules/widgets/action-listops.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-listops.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to apply list operations to any tiddler field (defaults to the 'list' field of the current tiddler)\\n\\n\\\\*/\\n(function() {\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\nvar ActionListopsWidget = function(parseTreeNode, options) {\\n\\tthis.initialise(parseTreeNode, options);\\n};\\n/**\\n * Inherit from the base widget class\\n */\\nActionListopsWidget.prototype = new Widget();\\n/**\\n * Render this widget into the DOM\\n */\\nActionListopsWidget.prototype.render = function(parent, nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n/**\\n * Compute the internal state of the widget\\n */\\nActionListopsWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.target = this.getAttribute(\\\"$tiddler\\\", this.getVariable(\\n\\t\\t\\\"currentTiddler\\\"));\\n\\tthis.filter = this.getAttribute(\\\"$filter\\\");\\n\\tthis.subfilter = this.getAttribute(\\\"$subfilter\\\");\\n\\tthis.listField = this.getAttribute(\\\"$field\\\", \\\"list\\\");\\n\\tthis.listIndex = this.getAttribute(\\\"$index\\\");\\n\\tthis.filtertags = this.getAttribute(\\\"$tags\\\");\\n};\\n/**\\n * \\tRefresh the widget by ensuring our attributes are up to date\\n */\\nActionListopsWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n/**\\n * \\tInvoke the action associated with this widget\\n */\\nActionListopsWidget.prototype.invokeAction = function(triggeringWidget,\\n\\tevent) {\\n\\t//Apply the specified filters to the lists\\n\\tvar field = this.listField,\\n\\t\\tindex,\\n\\t\\tlist = this.listField;\\n\\tif(this.listIndex) {\\n\\t\\tfield = undefined;\\n\\t\\tindex = this.listIndex;\\n\\t\\tlist = this.listIndex;\\n\\t}\\n\\tif(this.filter) {\\n\\t\\tthis.wiki.setText(this.target, field, index, $tw.utils.stringifyList(\\n\\t\\t\\tthis.wiki\\n\\t\\t\\t.filterTiddlers(this.filter, this)));\\n\\t}\\n\\tif(this.subfilter) {\\n\\t\\tvar inputList = this.wiki.getTiddlerList(this.target,field,index),\\n\\t\\t\\tsubfilter = \\\"[all[]] \\\" + this.subfilter;\\n\\t\\tthis.wiki.setText(this.target, field, index, $tw.utils.stringifyList(this.wiki.filterTiddlers(subfilter,this,this.wiki.makeTiddlerIterator(inputList))));\\n\\t}\\n\\tif(this.filtertags) {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.target),\\n\\t\\t\\toldtags = tiddler ? (tiddler.fields.tags || []).slice(0) : [],\\n\\t\\t\\ttagfilter = $tw.utils.stringifyList(oldtags) + \\\" \\\" + this.filtertags,\\n\\t\\t\\tnewtags = this.wiki.filterTiddlers(tagfilter,this);\\n\\t\\tif($tw.utils.stringifyList(oldtags.sort()) !== $tw.utils.stringifyList(newtags.sort())) {\\n\\t\\t\\tthis.wiki.setText(this.target,\\\"tags\\\",undefined,$tw.utils.stringifyList(newtags));\\n\\t\\t}\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-listops\\\"] = ActionListopsWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-log.js\":{\"title\":\"$:/core/modules/widgets/action-log.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-log.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to log debug messages\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar LogWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nLogWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nLogWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\nLogWidget.prototype.execute = function(){\\n\\tthis.message = this.getAttribute(\\\"$$message\\\",\\\"debug\\\");\\n\\tthis.logAll = this.getAttribute(\\\"$$all\\\",\\\"no\\\") === \\\"yes\\\" ? true : false;\\n\\tthis.filter = this.getAttribute(\\\"$$filter\\\");\\n}\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nLogWidget.prototype.refresh = function(changedTiddlers) {\\n\\tthis.refreshSelf();\\n\\treturn true;\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nLogWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tthis.log();\\n\\treturn true; // Action was invoked\\n};\\n\\nLogWidget.prototype.log = function() {\\n\\tvar data = {},\\n\\t\\tdataCount,\\n\\t\\tallVars = {},\\n\\t\\tfilteredVars;\\n\\n\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\tif(name.substring(0,2) !== \\\"$$\\\") {\\n\\t\\t\\tdata[name] = attribute;\\n\\t\\t}\\n\\t});\\n\\n\\tfor(var v in this.variables) {\\n\\t\\tallVars[v] = this.getVariable(v,{defaultValue:\\\"\\\"});\\n\\t}\\n\\tif(this.filter) {\\n\\t\\tfilteredVars = this.wiki.compileFilter(this.filter).call(this.wiki,this.wiki.makeTiddlerIterator(allVars));\\n\\t\\t$tw.utils.each(filteredVars,function(name) {\\n\\t\\t\\tdata[name] = allVars[name];\\n\\t\\t});\\n\\t}\\n\\tdataCount = $tw.utils.count(data);\\n\\n\\tconsole.group(this.message);\\n\\tif(dataCount > 0) {\\n\\t\\t$tw.utils.logTable(data);\\n\\t}\\n\\tif(this.logAll || !dataCount) {\\n\\t\\tconsole.groupCollapsed(\\\"All variables\\\");\\n\\t\\t$tw.utils.logTable(allVars);\\n\\t\\tconsole.groupEnd();\\n\\t}\\n\\tconsole.groupEnd();\\n}\\n\\nexports[\\\"action-log\\\"] = LogWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-navigate.js\":{\"title\":\"$:/core/modules/widgets/action-navigate.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-navigate.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to navigate to a tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar NavigateWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nNavigateWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nNavigateWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nNavigateWidget.prototype.execute = function() {\\n\\tthis.actionTo = this.getAttribute(\\\"$to\\\");\\n\\tthis.actionScroll = this.getAttribute(\\\"$scroll\\\");\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nNavigateWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$to\\\"] || changedAttributes[\\\"$scroll\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nNavigateWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tevent = event || {};\\n\\tvar bounds = triggeringWidget && triggeringWidget.getBoundingClientRect && triggeringWidget.getBoundingClientRect(),\\n\\t\\tsuppressNavigation = event.metaKey || event.ctrlKey || (event.button === 1);\\n\\tif(this.actionScroll === \\\"yes\\\") {\\n\\t\\tsuppressNavigation = false;\\n\\t} else if(this.actionScroll === \\\"no\\\") {\\n\\t\\tsuppressNavigation = true;\\n\\t}\\n\\tthis.dispatchEvent({\\n\\t\\ttype: \\\"tm-navigate\\\",\\n\\t\\tnavigateTo: this.actionTo === undefined ? this.getVariable(\\\"currentTiddler\\\") : this.actionTo,\\n\\t\\tnavigateFromTitle: this.getVariable(\\\"storyTiddler\\\"),\\n\\t\\tnavigateFromNode: triggeringWidget,\\n\\t\\tnavigateFromClientRect: bounds && { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height\\n\\t\\t},\\n\\t\\tnavigateFromClientTop: bounds && bounds.top,\\n\\t\\tnavigateFromClientLeft: bounds && bounds.left,\\n\\t\\tnavigateFromClientWidth: bounds && bounds.width,\\n\\t\\tnavigateFromClientRight: bounds && bounds.right,\\n\\t\\tnavigateFromClientBottom: bounds && bounds.bottom,\\n\\t\\tnavigateFromClientHeight: bounds && bounds.height,\\n\\t\\tnavigateSuppressNavigation: suppressNavigation,\\n\\t\\tmetaKey: event.metaKey,\\n\\t\\tctrlKey: event.ctrlKey,\\n\\t\\taltKey: event.altKey,\\n\\t\\tshiftKey: event.shiftKey,\\n\\t\\tevent: event\\n\\t});\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-navigate\\\"] = NavigateWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-popup.js\":{\"title\":\"$:/core/modules/widgets/action-popup.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-popup.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to trigger a popup.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar Popup = require(\\\"$:/core/modules/utils/dom/popup.js\\\");\\n\\nvar ActionPopupWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nActionPopupWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nActionPopupWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nActionPopupWidget.prototype.execute = function() {\\n\\tthis.actionState = this.getAttribute(\\\"$state\\\");\\n\\tthis.actionCoords = this.getAttribute(\\\"$coords\\\");\\n\\tthis.floating = this.getAttribute(\\\"$floating\\\",\\\"no\\\") === \\\"yes\\\";\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nActionPopupWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$state\\\"] || changedAttributes[\\\"$coords\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nActionPopupWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\t// Trigger the popup\\n\\tvar coordinates = Popup.parseCoordinates(this.actionCoords || \\\"\\\");\\n\\tif(coordinates) {\\n\\t\\t$tw.popup.triggerPopup({\\n\\t\\t\\tdomNode: null,\\n\\t\\t\\tdomNodeRect: {\\n\\t\\t\\t\\tleft: coordinates.left,\\n\\t\\t\\t\\ttop: coordinates.top,\\n\\t\\t\\t\\twidth: coordinates.width,\\n\\t\\t\\t\\theight: coordinates.height\\n\\t\\t\\t},\\n\\t\\t\\ttitle: this.actionState,\\n\\t\\t\\twiki: this.wiki,\\n\\t\\t\\tfloating: this.floating,\\n\\t\\t\\tabsolute: coordinates.absolute\\n\\t\\t});\\n\\t} else {\\n\\t\\t$tw.popup.cancel(0);\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-popup\\\"] = ActionPopupWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-sendmessage.js\":{\"title\":\"$:/core/modules/widgets/action-sendmessage.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-sendmessage.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to send a message\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SendMessageWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSendMessageWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSendMessageWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSendMessageWidget.prototype.execute = function() {\\n\\tthis.actionMessage = this.getAttribute(\\\"$message\\\");\\n\\tthis.actionParam = this.getAttribute(\\\"$param\\\");\\n\\tthis.actionName = this.getAttribute(\\\"$name\\\");\\n\\tthis.actionValue = this.getAttribute(\\\"$value\\\",\\\"\\\");\\n\\tthis.actionNames = this.getAttribute(\\\"$names\\\");\\n\\tthis.actionValues = this.getAttribute(\\\"$values\\\");\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nSendMessageWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(Object.keys(changedAttributes).length) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nSendMessageWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\t// Get the string parameter\\n\\tvar param = this.actionParam;\\n\\t// Assemble the parameters as a hashmap\\n\\tvar paramObject = Object.create(null);\\n\\t// Add names/values pairs if present\\n\\tif(this.actionNames && this.actionValues) {\\n\\t\\tvar names = this.wiki.filterTiddlers(this.actionNames,this),\\n\\t\\t\\tvalues = this.wiki.filterTiddlers(this.actionValues,this);\\n\\t\\t$tw.utils.each(names,function(name,index) {\\n\\t\\t\\tparamObject[name] = values[index] || \\\"\\\";\\n\\t\\t});\\n\\t}\\n\\t// Add raw parameters\\n\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\tif(name.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\tparamObject[name] = attribute;\\n\\t\\t}\\n\\t});\\n\\t// Add name/value pair if present\\n\\tif(this.actionName) {\\n\\t\\tparamObject[this.actionName] = this.actionValue;\\n\\t}\\n\\t// Dispatch the message\\n\\tvar params = {\\n\\t\\ttype: this.actionMessage,\\n\\t\\tparam: param,\\n\\t\\tparamObject: paramObject,\\n\\t\\tevent: event,\\n\\t\\ttiddlerTitle: this.getVariable(\\\"currentTiddler\\\"),\\n\\t\\tnavigateFromTitle: this.getVariable(\\\"storyTiddler\\\")\\n\\t};\\n\\tthis.dispatchEvent(params);\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-sendmessage\\\"] = SendMessageWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-setfield.js\":{\"title\":\"$:/core/modules/widgets/action-setfield.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-setfield.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to set a single field or index on a tiddler.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SetFieldWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSetFieldWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSetFieldWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSetFieldWidget.prototype.execute = function() {\\n\\tthis.actionTiddler = this.getAttribute(\\\"$tiddler\\\") || (!this.hasParseTreeNodeAttribute(\\\"$tiddler\\\") && this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.actionField = this.getAttribute(\\\"$field\\\");\\n\\tthis.actionIndex = this.getAttribute(\\\"$index\\\");\\n\\tthis.actionValue = this.getAttribute(\\\"$value\\\");\\n\\tthis.actionTimestamp = this.getAttribute(\\\"$timestamp\\\",\\\"yes\\\") === \\\"yes\\\";\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nSetFieldWidget.prototype.refresh = function(changedTiddlers) {\\n\\t// Nothing to refresh\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nSetFieldWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar self = this,\\n\\t\\toptions = {};\\n\\tif(this.actionTiddler) {\\n\\t\\toptions.suppressTimestamp = !this.actionTimestamp;\\n\\t\\tif((typeof this.actionField == \\\"string\\\") || (typeof this.actionIndex == \\\"string\\\") || (typeof this.actionValue == \\\"string\\\")) {\\n\\t\\t\\tthis.wiki.setText(this.actionTiddler,this.actionField,this.actionIndex,this.actionValue,options);\\n\\t\\t}\\n\\t\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\t\\tif(name.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\t\\tself.wiki.setText(self.actionTiddler,name,undefined,attribute,options);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-setfield\\\"] = SetFieldWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/action-setmultiplefields.js\":{\"title\":\"$:/core/modules/widgets/action-setmultiplefields.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/action-setmultiplefields.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nAction widget to set multiple fields or indexes on a tiddler\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SetMultipleFieldsWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSetMultipleFieldsWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSetMultipleFieldsWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSetMultipleFieldsWidget.prototype.execute = function() {\\n\\tthis.actionTiddler = this.getAttribute(\\\"$tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.actionFields = this.getAttribute(\\\"$fields\\\");\\n\\tthis.actionIndexes = this.getAttribute(\\\"$indexes\\\");\\n\\tthis.actionValues = this.getAttribute(\\\"$values\\\");\\n\\tthis.actionTimestamp = this.getAttribute(\\\"$timestamp\\\",\\\"yes\\\") === \\\"yes\\\";\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nSetMultipleFieldsWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$tiddler\\\"] || changedAttributes[\\\"$fields\\\"] || changedAttributes[\\\"$indexes\\\"] || changedAttributes[\\\"$values\\\"] || changedAttributes[\\\"$timestamp\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nInvoke the action associated with this widget\\n*/\\nSetMultipleFieldsWidget.prototype.invokeAction = function(triggeringWidget,event) {\\n\\tvar tiddler = this.wiki.getTiddler(this.actionTiddler),\\n\\t\\tnames, values = this.wiki.filterTiddlers(this.actionValues,this);\\n\\tif(this.actionFields) {\\n\\t\\tvar additions = {};\\n\\t\\tnames = this.wiki.filterTiddlers(this.actionFields,this);\\n\\t\\t$tw.utils.each(names,function(fieldname,index) {\\n\\t\\t\\tadditions[fieldname] = values[index] || \\\"\\\";\\n\\t\\t});\\n\\t\\tvar creationFields = this.actionTimestamp ? this.wiki.getCreationFields() : undefined,\\n\\t\\t\\tmodificationFields = this.actionTimestamp ? this.wiki.getModificationFields() : undefined;\\n\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(creationFields,tiddler,{title: this.actionTiddler},modificationFields,additions));\\n\\t} else if(this.actionIndexes) {\\n\\t\\tvar data = this.wiki.getTiddlerData(this.actionTiddler,Object.create(null));\\n\\t\\tnames = this.wiki.filterTiddlers(this.actionIndexes,this);\\n\\t\\t$tw.utils.each(names,function(name,index) {\\n\\t\\t\\tdata[name] = values[index] || \\\"\\\";\\n\\t\\t});\\n\\t\\tthis.wiki.setTiddlerData(this.actionTiddler,data,{},{suppressTimestamp: !this.actionTimestamp});\\n\\t}\\n\\treturn true; // Action was invoked\\n};\\n\\nexports[\\\"action-setmultiplefields\\\"] = SetMultipleFieldsWidget;\\n\\n})();\\n\\t\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/browse.js\":{\"title\":\"$:/core/modules/widgets/browse.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/browse.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nBrowse widget for browsing for files to import\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar BrowseWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nBrowseWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nBrowseWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create element\\n\\tvar domNode = this.document.createElement(\\\"input\\\");\\n\\tdomNode.setAttribute(\\\"type\\\",\\\"file\\\");\\n\\tif(this.browseMultiple) {\\n\\t\\tdomNode.setAttribute(\\\"multiple\\\",\\\"multiple\\\");\\n\\t}\\n\\tif(this.tooltip) {\\n\\t\\tdomNode.setAttribute(\\\"title\\\",this.tooltip);\\n\\t}\\n\\t// Nw.js supports \\\"nwsaveas\\\" to force a \\\"save as\\\" dialogue that allows a new or existing file to be selected\\n\\tif(this.nwsaveas) {\\n\\t\\tdomNode.setAttribute(\\\"nwsaveas\\\",this.nwsaveas);\\n\\t}\\n\\tif(this.accept) {\\n\\t\\tdomNode.setAttribute(\\\"accept\\\",this.accept);\\n\\t}\\n\\t// Nw.js supports \\\"webkitdirectory\\\" and \\\"nwdirectory\\\" to allow a directory to be selected\\n\\tif(this.webkitdirectory) {\\n\\t\\tdomNode.setAttribute(\\\"webkitdirectory\\\",this.webkitdirectory);\\n\\t}\\n\\tif(this.nwdirectory) {\\n\\t\\tdomNode.setAttribute(\\\"nwdirectory\\\",this.nwdirectory);\\n\\t}\\n\\t// Add a click event handler\\n\\tdomNode.addEventListener(\\\"change\\\",function (event) {\\n\\t\\tif(self.message) {\\n\\t\\t\\tself.dispatchEvent({type: self.message, param: self.param, files: event.target.files});\\n\\t\\t} else {\\n\\t\\t\\tself.wiki.readFiles(event.target.files,{\\n\\t\\t\\t\\tcallback: function(tiddlerFieldsArray) {\\n\\t\\t\\t\\t\\tself.dispatchEvent({type: \\\"tm-import-tiddlers\\\", param: JSON.stringify(tiddlerFieldsArray)});\\n\\t\\t\\t\\t},\\n\\t\\t\\t\\tdeserializer: self.deserializer\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\treturn false;\\n\\t},false);\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nBrowseWidget.prototype.execute = function() {\\n\\tthis.browseMultiple = this.getAttribute(\\\"multiple\\\");\\n\\tthis.deserializer = this.getAttribute(\\\"deserializer\\\");\\n\\tthis.message = this.getAttribute(\\\"message\\\");\\n\\tthis.param = this.getAttribute(\\\"param\\\");\\n\\tthis.tooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis.nwsaveas = this.getAttribute(\\\"nwsaveas\\\");\\n\\tthis.accept = this.getAttribute(\\\"accept\\\");\\n\\tthis.webkitdirectory = this.getAttribute(\\\"webkitdirectory\\\");\\n\\tthis.nwdirectory = this.getAttribute(\\\"nwdirectory\\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nBrowseWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn false;\\n};\\n\\nexports.browse = BrowseWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/button.js\":{\"title\":\"$:/core/modules/widgets/button.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/button.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nButton widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar Popup = require(\\\"$:/core/modules/utils/dom/popup.js\\\");\\n\\nvar ButtonWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nButtonWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nButtonWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this,\\n\\t\\ttag = \\\"button\\\",\\n\\t\\tdomNode;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create element\\n\\tif(this.buttonTag && $tw.config.htmlUnsafeElements.indexOf(this.buttonTag) === -1) {\\n\\t\\ttag = this.buttonTag;\\n\\t}\\n\\tdomNode = this.document.createElement(tag);\\n\\tthis.domNode = domNode;\\n\\t// Assign classes\\n\\tvar classes = this[\\\"class\\\"].split(\\\" \\\") || [],\\n\\t\\tisPoppedUp = (this.popup || this.popupTitle) && this.isPoppedUp();\\n\\tif(this.selectedClass) {\\n\\t\\tif((this.set || this.setTitle) && this.setTo && this.isSelected()) {\\n\\t\\t\\t$tw.utils.pushTop(classes, this.selectedClass.split(\\\" \\\"));\\n\\t\\t\\tdomNode.setAttribute(\\\"aria-checked\\\", \\\"true\\\");\\n\\t\\t}\\n\\t\\tif(isPoppedUp) {\\n\\t\\t\\t$tw.utils.pushTop(classes,this.selectedClass.split(\\\" \\\"));\\n\\t\\t}\\n\\t}\\n\\tif(isPoppedUp) {\\n\\t\\t$tw.utils.pushTop(classes,\\\"tc-popup-handle\\\");\\n\\t}\\n\\tdomNode.className = classes.join(\\\" \\\");\\n\\t// Assign other attributes\\n\\tif(this.style) {\\n\\t\\tdomNode.setAttribute(\\\"style\\\",this.style);\\n\\t}\\n\\tif(this.tooltip) {\\n\\t\\tdomNode.setAttribute(\\\"title\\\",this.tooltip);\\n\\t}\\n\\tif(this[\\\"aria-label\\\"]) {\\n\\t\\tdomNode.setAttribute(\\\"aria-label\\\",this[\\\"aria-label\\\"]);\\n\\t}\\n\\tif (this.role) {\\n\\t\\tdomNode.setAttribute(\\\"role\\\", this.role);\\n\\t}\\n\\tif(this.popup || this.popupTitle) {\\n\\t\\tdomNode.setAttribute(\\\"aria-expanded\\\",isPoppedUp ? \\\"true\\\" : \\\"false\\\");\\n\\t}\\n\\t// Set the tabindex\\n\\tif(this.tabIndex) {\\n\\t\\tdomNode.setAttribute(\\\"tabindex\\\",this.tabIndex);\\n\\t}\\n\\tif(this.isDisabled === \\\"yes\\\") {\\n\\t\\tdomNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\t// Add a click event handler\\n\\tdomNode.addEventListener(\\\"click\\\",function (event) {\\n\\t\\tvar handled = false;\\n\\t\\tif(self.invokeActions(self,event)) {\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t\\tif(self.to) {\\n\\t\\t\\tself.navigateTo(event);\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t\\tif(self.message) {\\n\\t\\t\\tself.dispatchMessage(event);\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t\\tif(self.popup || self.popupTitle) {\\n\\t\\t\\tself.triggerPopup(event);\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t\\tif(self.set || self.setTitle) {\\n\\t\\t\\tself.setTiddler();\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t\\tif(self.actions) {\\n\\t\\t\\tvar modifierKey = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\t\\tself.invokeActionString(self.actions,self,event,{modifier: modifierKey});\\n\\t\\t}\\n\\t\\tif(handled) {\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\tevent.stopPropagation();\\n\\t\\t}\\n\\t\\treturn handled;\\n\\t},false);\\n\\t// Make it draggable if required\\n\\tif(this.dragTiddler || this.dragFilter) {\\n\\t\\t$tw.utils.makeDraggable({\\n\\t\\t\\tdomNode: domNode,\\n\\t\\t\\tdragTiddlerFn: function() {return self.dragTiddler;},\\n\\t\\t\\tdragFilterFn: function() {return self.dragFilter;},\\n\\t\\t\\twidget: this\\n\\t\\t});\\n\\t}\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nWe don't allow actions to propagate because we trigger actions ourselves\\n*/\\nButtonWidget.prototype.allowActionPropagation = function() {\\n\\treturn false;\\n};\\n\\nButtonWidget.prototype.getBoundingClientRect = function() {\\n\\treturn this.domNodes[0].getBoundingClientRect();\\n};\\n\\nButtonWidget.prototype.isSelected = function() {\\n return this.setTitle ? (this.setField ? this.wiki.getTiddler(this.setTitle).getFieldString(this.setField) === this.setTo :\\n\\t\\t(this.setIndex ? this.wiki.extractTiddlerDataItem(this.setTitle,this.setIndex) === this.setTo :\\n\\t\\t\\tthis.wiki.getTiddlerText(this.setTitle))) || this.defaultSetValue || this.getVariable(\\\"currentTiddler\\\") :\\n\\t\\tthis.wiki.getTextReference(this.set,this.defaultSetValue,this.getVariable(\\\"currentTiddler\\\")) === this.setTo;\\n};\\n\\nButtonWidget.prototype.isPoppedUp = function() {\\n\\tvar tiddler = this.popupTitle ? this.wiki.getTiddler(this.popupTitle) : this.wiki.getTiddler(this.popup);\\n\\tvar result = tiddler && tiddler.fields.text ? Popup.readPopupState(tiddler.fields.text) : false;\\n\\treturn result;\\n};\\n\\nButtonWidget.prototype.navigateTo = function(event) {\\n\\tvar bounds = this.getBoundingClientRect();\\n\\tthis.dispatchEvent({\\n\\t\\ttype: \\\"tm-navigate\\\",\\n\\t\\tnavigateTo: this.to,\\n\\t\\tnavigateFromTitle: this.getVariable(\\\"storyTiddler\\\"),\\n\\t\\tnavigateFromNode: this,\\n\\t\\tnavigateFromClientRect: { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height\\n\\t\\t},\\n\\t\\tnavigateSuppressNavigation: event.metaKey || event.ctrlKey || (event.button === 1),\\n\\t\\tevent: event\\n\\t});\\n};\\n\\nButtonWidget.prototype.dispatchMessage = function(event) {\\n\\tthis.dispatchEvent({type: this.message, param: this.param, tiddlerTitle: this.getVariable(\\\"currentTiddler\\\"), event: event});\\n};\\n\\nButtonWidget.prototype.triggerPopup = function(event) {\\n\\tif(this.popupTitle) {\\n\\t\\t$tw.popup.triggerPopup({\\n\\t\\t\\tdomNode: this.domNodes[0],\\n\\t\\t\\tabsolute: (this.popupAbsCoords === \\\"yes\\\"),\\n\\t\\t\\ttitle: this.popupTitle,\\n\\t\\t\\twiki: this.wiki,\\n\\t\\t\\tnoStateReference: true\\n\\t\\t});\\n\\t} else {\\n\\t\\t$tw.popup.triggerPopup({\\n\\t\\t\\tdomNode: this.domNodes[0],\\n\\t\\t\\tabsolute: (this.popupAbsCoords === \\\"yes\\\"),\\n\\t\\t\\ttitle: this.popup,\\n\\t\\t\\twiki: this.wiki\\n\\t\\t});\\n\\t}\\n};\\n\\nButtonWidget.prototype.setTiddler = function() {\\n\\tif(this.setTitle) {\\n\\t\\tthis.setField ? this.wiki.setText(this.setTitle,this.setField,undefined,this.setTo) :\\n\\t\\t\\t\\t(this.setIndex ? this.wiki.setText(this.setTitle,undefined,this.setIndex,this.setTo) :\\n\\t\\t\\t\\tthis.wiki.setText(this.setTitle,\\\"text\\\",undefined,this.setTo));\\n\\t} else {\\n\\t\\tthis.wiki.setTextReference(this.set,this.setTo,this.getVariable(\\\"currentTiddler\\\"));\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nButtonWidget.prototype.execute = function() {\\n\\t// Get attributes\\n\\tthis.actions = this.getAttribute(\\\"actions\\\");\\n\\tthis.to = this.getAttribute(\\\"to\\\");\\n\\tthis.message = this.getAttribute(\\\"message\\\");\\n\\tthis.param = this.getAttribute(\\\"param\\\");\\n\\tthis.set = this.getAttribute(\\\"set\\\");\\n\\tthis.setTo = this.getAttribute(\\\"setTo\\\");\\n\\tthis.popup = this.getAttribute(\\\"popup\\\");\\n\\tthis.hover = this.getAttribute(\\\"hover\\\");\\n\\tthis[\\\"aria-label\\\"] = this.getAttribute(\\\"aria-label\\\");\\n\\tthis.role = this.getAttribute(\\\"role\\\");\\n\\tthis.tooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis.style = this.getAttribute(\\\"style\\\");\\n\\tthis[\\\"class\\\"] = this.getAttribute(\\\"class\\\",\\\"\\\");\\n\\tthis.selectedClass = this.getAttribute(\\\"selectedClass\\\");\\n\\tthis.defaultSetValue = this.getAttribute(\\\"default\\\",\\\"\\\");\\n\\tthis.buttonTag = this.getAttribute(\\\"tag\\\");\\n\\tthis.dragTiddler = this.getAttribute(\\\"dragTiddler\\\");\\n\\tthis.dragFilter = this.getAttribute(\\\"dragFilter\\\");\\n\\tthis.setTitle = this.getAttribute(\\\"setTitle\\\");\\n\\tthis.setField = this.getAttribute(\\\"setField\\\");\\n\\tthis.setIndex = this.getAttribute(\\\"setIndex\\\");\\n\\tthis.popupTitle = this.getAttribute(\\\"popupTitle\\\");\\n\\tthis.popupAbsCoords = this.getAttribute(\\\"popupAbsCoords\\\", \\\"no\\\");\\n\\tthis.tabIndex = this.getAttribute(\\\"tabindex\\\");\\n\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\",\\\"no\\\");\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\nButtonWidget.prototype.updateDomNodeClasses = function() {\\n\\tvar domNodeClasses = this.domNode.className.split(\\\" \\\"),\\n\\t\\toldClasses = this.class.split(\\\" \\\"),\\n\\t\\tnewClasses;\\n\\tthis[\\\"class\\\"] = this.getAttribute(\\\"class\\\",\\\"\\\");\\n\\tnewClasses = this.class.split(\\\" \\\");\\n\\t//Remove classes assigned from the old value of class attribute\\n\\t$tw.utils.each(oldClasses,function(oldClass){\\n\\t\\tvar i = domNodeClasses.indexOf(oldClass);\\n\\t\\tif(i !== -1) {\\n\\t\\t\\tdomNodeClasses.splice(i,1);\\n\\t\\t}\\n\\t});\\n\\t//Add new classes from updated class attribute.\\n\\t$tw.utils.pushTop(domNodeClasses,newClasses);\\n\\tthis.domNode.className = domNodeClasses.join(\\\" \\\");\\n}\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nButtonWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.actions || changedAttributes.to || changedAttributes.message || changedAttributes.param || changedAttributes.set || changedAttributes.setTo || changedAttributes.popup || changedAttributes.hover || changedAttributes.selectedClass || changedAttributes.style || changedAttributes.dragFilter || changedAttributes.dragTiddler || (this.set && changedTiddlers[this.set]) || (this.popup && changedTiddlers[this.popup]) || (this.popupTitle && changedTiddlers[this.popupTitle]) || changedAttributes.popupAbsCoords || changedAttributes.setTitle || changedAttributes.setField || changedAttributes.setIndex || changedAttributes.popupTitle || changedAttributes.disabled || changedAttributes[\\\"default\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else if(changedAttributes[\\\"class\\\"]) {\\n\\t\\tthis.updateDomNodeClasses();\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.button = ButtonWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/checkbox.js\":{\"title\":\"$:/core/modules/widgets/checkbox.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/checkbox.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nCheckbox widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar CheckboxWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nCheckboxWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nCheckboxWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar isChecked;\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Create our elements\\n\\tthis.labelDomNode = this.document.createElement(\\\"label\\\");\\n\\tthis.labelDomNode.setAttribute(\\\"class\\\",\\\"tc-checkbox \\\" + this.checkboxClass);\\n\\tthis.inputDomNode = this.document.createElement(\\\"input\\\");\\n\\tthis.inputDomNode.setAttribute(\\\"type\\\",\\\"checkbox\\\");\\n\\tisChecked = this.getValue();\\n\\tif(isChecked) {\\n\\t\\tthis.inputDomNode.setAttribute(\\\"checked\\\",\\\"true\\\");\\n\\t\\t$tw.utils.addClass(this.labelDomNode,\\\"tc-checkbox-checked\\\");\\n\\t}\\n\\tif(isChecked === undefined && this.checkboxIndeterminate === \\\"yes\\\") {\\n\\t\\tthis.inputDomNode.indeterminate = true;\\n\\t}\\n\\tif(this.isDisabled === \\\"yes\\\") {\\n\\t\\tthis.inputDomNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\tthis.labelDomNode.appendChild(this.inputDomNode);\\n\\tthis.spanDomNode = this.document.createElement(\\\"span\\\");\\n\\tthis.labelDomNode.appendChild(this.spanDomNode);\\n\\t// Add a click event handler\\n\\t$tw.utils.addEventListeners(this.inputDomNode,[\\n\\t\\t{name: \\\"change\\\", handlerObject: this, handlerMethod: \\\"handleChangeEvent\\\"}\\n\\t]);\\n\\t// Insert the label into the DOM and render any children\\n\\tparent.insertBefore(this.labelDomNode,nextSibling);\\n\\tthis.renderChildren(this.spanDomNode,null);\\n\\tthis.domNodes.push(this.labelDomNode);\\n};\\n\\nCheckboxWidget.prototype.getValue = function() {\\n\\tvar tiddler = this.wiki.getTiddler(this.checkboxTitle);\\n\\tif(tiddler || this.checkboxFilter) {\\n\\t\\tif(tiddler && this.checkboxTag) {\\n\\t\\t\\tif(this.checkboxInvertTag === \\\"yes\\\") {\\n\\t\\t\\t\\treturn !tiddler.hasTag(this.checkboxTag);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn tiddler.hasTag(this.checkboxTag);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(tiddler && (this.checkboxField || this.checkboxIndex)) {\\n\\t\\t\\t// Same logic applies to fields and indexes\\n\\t\\t\\tvar value;\\n\\t\\t\\tif(this.checkboxField) {\\n\\t\\t\\t\\tif($tw.utils.hop(tiddler.fields,this.checkboxField)) {\\n\\t\\t\\t\\t\\tvalue = tiddler.fields[this.checkboxField] || \\\"\\\";\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tvalue = this.checkboxDefault || \\\"\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvalue = this.wiki.extractTiddlerDataItem(tiddler,this.checkboxIndex,this.checkboxDefault || \\\"\\\");\\n\\t\\t\\t}\\n\\t\\t\\tif(value === this.checkboxChecked) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t\\tif(value === this.checkboxUnchecked) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\t// Neither value found: were both specified?\\n\\t\\t\\tif(this.checkboxChecked && !this.checkboxUnchecked) {\\n\\t\\t\\t\\treturn false; // Absence of checked value\\n\\t\\t\\t}\\n\\t\\t\\tif(this.checkboxUnchecked && !this.checkboxChecked) {\\n\\t\\t\\t\\treturn true; // Absence of unchecked value\\n\\t\\t\\t}\\n\\t\\t\\tif(this.checkboxChecked && this.checkboxUnchecked) {\\n\\t\\t\\t\\t// Both specified but neither found: indeterminate or false, depending\\n\\t\\t\\t\\tif(this.checkboxIndeterminate === \\\"yes\\\") {\\n\\t\\t\\t\\t\\treturn undefined;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(this.checkboxListField || this.checkboxListIndex || this.checkboxFilter) {\\n\\t\\t\\t// Same logic applies to lists and filters\\n\\t\\t\\tvar list;\\n\\t\\t\\tif(this.checkboxListField) {\\n\\t\\t\\t\\tif($tw.utils.hop(tiddler.fields,this.checkboxListField)) {\\n\\t\\t\\t\\t\\tlist = tiddler.getFieldList(this.checkboxListField) || [];\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tlist = $tw.utils.parseStringArray(this.checkboxDefault || \\\"\\\") || [];\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else if(this.checkboxListIndex) {\\n\\t\\t\\t\\tlist = $tw.utils.parseStringArray(this.wiki.extractTiddlerDataItem(tiddler,this.checkboxListIndex,this.checkboxDefault || \\\"\\\")) || [];\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tlist = this.wiki.filterTiddlers(this.checkboxFilter,this) || [];\\n\\t\\t\\t}\\n\\t\\t\\tif(list.indexOf(this.checkboxChecked) !== -1) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t\\tif(list.indexOf(this.checkboxUnchecked) !== -1) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\t// Neither one present\\n\\t\\t\\tif(this.checkboxChecked && !this.checkboxUnchecked) {\\n\\t\\t\\t\\treturn false; // Absence of checked value\\n\\t\\t\\t}\\n\\t\\t\\tif(this.checkboxUnchecked && !this.checkboxChecked) {\\n\\t\\t\\t\\treturn true; // Absence of unchecked value\\n\\t\\t\\t}\\n\\t\\t\\tif(this.checkboxChecked && this.checkboxUnchecked) {\\n\\t\\t\\t\\t// Both specified but neither found: indeterminate or false, depending\\n\\t\\t\\t\\tif(this.checkboxIndeterminate === \\\"yes\\\") {\\n\\t\\t\\t\\t\\treturn undefined;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Neither specified, so empty list is false, non-empty is true\\n\\t\\t\\treturn !!list.length;\\n\\t\\t}\\n\\t} else {\\n\\t\\tif(this.checkboxTag) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t\\tif(this.checkboxField) {\\n\\t\\t\\tif(this.checkboxDefault === this.checkboxChecked) {\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t\\tif(this.checkboxDefault === this.checkboxUnchecked) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\nCheckboxWidget.prototype.handleChangeEvent = function(event) {\\n\\tvar checked = this.inputDomNode.checked,\\n\\t\\ttiddler = this.wiki.getTiddler(this.checkboxTitle),\\n\\t\\tfallbackFields = {text: \\\"\\\"},\\n\\t\\tnewFields = {title: this.checkboxTitle},\\n\\t\\thasChanged = false,\\n\\t\\ttagCheck = false,\\n\\t\\thasTag = tiddler && tiddler.hasTag(this.checkboxTag),\\n\\t\\tvalue = checked ? this.checkboxChecked : this.checkboxUnchecked,\\n\\t\\tnotValue = checked ? this.checkboxUnchecked : this.checkboxChecked;\\n\\tif(this.checkboxTag && this.checkboxInvertTag === \\\"yes\\\") {\\n\\t\\ttagCheck = hasTag === checked;\\n\\t} else {\\n\\t\\ttagCheck = hasTag !== checked;\\n\\t}\\n\\t// Set the tag if specified\\n\\tif(this.checkboxTag && (!tiddler || tagCheck)) {\\n\\t\\tnewFields.tags = tiddler ? (tiddler.fields.tags || []).slice(0) : [];\\n\\t\\tvar pos = newFields.tags.indexOf(this.checkboxTag);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tnewFields.tags.splice(pos,1);\\n\\t\\t}\\n\\t\\tif(this.checkboxInvertTag === \\\"yes\\\" && !checked) {\\n\\t\\t\\tnewFields.tags.push(this.checkboxTag);\\n\\t\\t} else if(this.checkboxInvertTag !== \\\"yes\\\" && checked) {\\n\\t\\t\\tnewFields.tags.push(this.checkboxTag);\\n\\t\\t}\\n\\t\\thasChanged = true;\\n\\t}\\n\\t// Set the field if specified\\n\\tif(this.checkboxField) {\\n\\t\\tif(!tiddler || tiddler.fields[this.checkboxField] !== value) {\\n\\t\\t\\tnewFields[this.checkboxField] = value;\\n\\t\\t\\thasChanged = true;\\n\\t\\t}\\n\\t}\\n\\t// Set the index if specified\\n\\tif(this.checkboxIndex) {\\n\\t\\tvar indexValue = this.wiki.extractTiddlerDataItem(this.checkboxTitle,this.checkboxIndex);\\n\\t\\tif(!tiddler || indexValue !== value) {\\n\\t\\t\\thasChanged = true;\\n\\t\\t}\\n\\t}\\n\\t// Set the list field (or index) if specified\\n\\tif(this.checkboxListField || this.checkboxListIndex) {\\n\\t\\tvar fieldContents, listContents, oldPos, newPos;\\n\\t\\tif(this.checkboxListField) {\\n\\t\\t\\tfieldContents = (tiddler ? tiddler.fields[this.checkboxListField] : undefined) || [];\\n\\t\\t} else {\\n\\t\\t\\tfieldContents = this.wiki.extractTiddlerDataItem(this.checkboxTitle,this.checkboxListIndex);\\n\\t\\t}\\n\\t\\tif($tw.utils.isArray(fieldContents)) {\\n\\t\\t\\t// Make a copy so we can modify it without changing original that's refrenced elsewhere\\n\\t\\t\\tlistContents = fieldContents.slice(0);\\n\\t\\t} else if(fieldContents === undefined) {\\n\\t\\t\\tlistContents = [];\\n\\t\\t} else if(typeof fieldContents === \\\"string\\\") {\\n\\t\\t\\tlistContents = $tw.utils.parseStringArray(fieldContents);\\n\\t\\t\\t// No need to copy since parseStringArray returns a fresh array, not refrenced elsewhere\\n\\t\\t} else {\\n\\t\\t\\t// Field was neither an array nor a string; it's probably something that shouldn't become\\n\\t\\t\\t// an array (such as a date field), so bail out *without* triggering actions\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\toldPos = notValue ? listContents.indexOf(notValue) : -1;\\n\\t\\tnewPos = value ? listContents.indexOf(value) : -1;\\n\\t\\tif(oldPos === -1 && newPos !== -1) {\\n\\t\\t\\t// old value absent, new value present: no change needed\\n\\t\\t} else if(oldPos === -1) {\\n\\t\\t\\t// neither one was present\\n\\t\\t\\tif(value) {\\n\\t\\t\\t\\tlistContents.push(value);\\n\\t\\t\\t\\thasChanged = true;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// value unspecified? then leave list unchanged\\n\\t\\t\\t}\\n\\t\\t} else if(newPos === -1) {\\n\\t\\t\\t// old value present, new value absent\\n\\t\\t\\tif(value) {\\n\\t\\t\\t\\tlistContents[oldPos] = value;\\n\\t\\t\\t\\thasChanged = true;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tlistContents.splice(oldPos, 1)\\n\\t\\t\\t\\thasChanged = true;\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\t// both were present: just remove the old one, leave new alone\\n\\t\\t\\tlistContents.splice(oldPos, 1)\\n\\t\\t\\thasChanged = true;\\n\\t\\t}\\n\\t\\tif(this.checkboxListField) {\\n\\t\\t\\tnewFields[this.checkboxListField] = $tw.utils.stringifyList(listContents);\\n\\t\\t}\\n\\t\\t// The listIndex case will be handled in the if(hasChanged) block below\\n\\t}\\n\\tif(hasChanged) {\\n\\t\\tif(this.checkboxIndex) {\\n\\t\\t\\tthis.wiki.setText(this.checkboxTitle,\\\"\\\",this.checkboxIndex,value);\\n\\t\\t} else if(this.checkboxListIndex) {\\n\\t\\t\\tvar listIndexValue = (listContents && listContents.length) ? $tw.utils.stringifyList(listContents) : undefined;\\n\\t\\t\\tthis.wiki.setText(this.checkboxTitle,\\\"\\\",this.checkboxListIndex,listIndexValue);\\n\\t\\t} else {\\n\\t\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(this.wiki.getCreationFields(),fallbackFields,tiddler,newFields,this.wiki.getModificationFields()));\\n\\t\\t}\\n\\t}\\n\\t// Trigger actions\\n\\tif(this.checkboxActions) {\\n\\t\\tthis.invokeActionString(this.checkboxActions,this,event);\\n\\t}\\n\\tif(this.checkboxCheckActions && checked) {\\n\\t\\tthis.invokeActionString(this.checkboxCheckActions,this,event);\\n\\t}\\n\\tif(this.checkboxUncheckActions && !checked) {\\n\\t\\tthis.invokeActionString(this.checkboxUncheckActions,this,event);\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nCheckboxWidget.prototype.execute = function() {\\n\\t// Get the parameters from the attributes\\n\\tthis.checkboxActions = this.getAttribute(\\\"actions\\\");\\n\\tthis.checkboxCheckActions = this.getAttribute(\\\"checkactions\\\");\\n\\tthis.checkboxUncheckActions = this.getAttribute(\\\"uncheckactions\\\");\\n\\tthis.checkboxTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.checkboxTag = this.getAttribute(\\\"tag\\\");\\n\\tthis.checkboxField = this.getAttribute(\\\"field\\\");\\n\\tthis.checkboxIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.checkboxListField = this.getAttribute(\\\"listField\\\");\\n\\tthis.checkboxListIndex = this.getAttribute(\\\"listIndex\\\");\\n\\tthis.checkboxFilter = this.getAttribute(\\\"filter\\\");\\n\\tthis.checkboxChecked = this.getAttribute(\\\"checked\\\");\\n\\tthis.checkboxUnchecked = this.getAttribute(\\\"unchecked\\\");\\n\\tthis.checkboxDefault = this.getAttribute(\\\"default\\\");\\n\\tthis.checkboxIndeterminate = this.getAttribute(\\\"indeterminate\\\",\\\"no\\\");\\n\\tthis.checkboxClass = this.getAttribute(\\\"class\\\",\\\"\\\");\\n\\tthis.checkboxInvertTag = this.getAttribute(\\\"invertTag\\\",\\\"\\\");\\n\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\",\\\"no\\\");\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nCheckboxWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tiddler || changedAttributes.tag || changedAttributes.invertTag || changedAttributes.field || changedAttributes.index || changedAttributes.listField || changedAttributes.listIndex || changedAttributes.filter || changedAttributes.checked || changedAttributes.unchecked || changedAttributes[\\\"default\\\"] || changedAttributes.indeterminate || changedAttributes[\\\"class\\\"] || changedAttributes.disabled) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tvar refreshed = false;\\n\\t\\tif(changedTiddlers[this.checkboxTitle]) {\\n\\t\\t\\tvar isChecked = this.getValue();\\n\\t\\t\\tthis.inputDomNode.checked = !!isChecked;\\n\\t\\t\\tthis.inputDomNode.indeterminate = (isChecked === undefined);\\n\\t\\t\\trefreshed = true;\\n\\t\\t\\tif(isChecked) {\\n\\t\\t\\t\\t$tw.utils.addClass(this.labelDomNode,\\\"tc-checkbox-checked\\\");\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t$tw.utils.removeClass(this.labelDomNode,\\\"tc-checkbox-checked\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn this.refreshChildren(changedTiddlers) || refreshed;\\n\\t}\\n};\\n\\nexports.checkbox = CheckboxWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/codeblock.js\":{\"title\":\"$:/core/modules/widgets/codeblock.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/codeblock.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nCode block node widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar CodeBlockWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nCodeBlockWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nCodeBlockWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar codeNode = this.document.createElement(\\\"code\\\"),\\n\\t\\tdomNode = this.document.createElement(\\\"pre\\\");\\n\\tcodeNode.appendChild(this.document.createTextNode(this.getAttribute(\\\"code\\\")));\\n\\tdomNode.appendChild(codeNode);\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.domNodes.push(domNode);\\n\\tif(this.postRender) {\\n\\t\\tthis.postRender();\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nCodeBlockWidget.prototype.execute = function() {\\n\\tthis.language = this.getAttribute(\\\"language\\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nCodeBlockWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.code || changedAttributes.language) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.codeblock = CodeBlockWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/count.js\":{\"title\":\"$:/core/modules/widgets/count.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/count.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nCount widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar CountWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nCountWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nCountWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar textNode = this.document.createTextNode(this.currentCount);\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nCountWidget.prototype.execute = function() {\\n\\t// Get parameters from our attributes\\n\\tthis.filter = this.getAttribute(\\\"filter\\\");\\n\\t// Execute the filter\\n\\tif(this.filter) {\\n\\t\\tthis.currentCount = this.wiki.filterTiddlers(this.filter,this).length;\\n\\t} else {\\n\\t\\tthis.currentCount = \\\"0\\\";\\n\\t}\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nCountWidget.prototype.refresh = function(changedTiddlers) {\\n\\t// Re-execute the filter to get the count\\n\\tthis.computeAttributes();\\n\\tvar oldCount = this.currentCount;\\n\\tthis.execute();\\n\\tif(this.currentCount !== oldCount) {\\n\\t\\t// Regenerate and rerender the widget and replace the existing DOM node\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n\\n};\\n\\nexports.count = CountWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/diff-text.js\":{\"title\":\"$:/core/modules/widgets/diff-text.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/diff-text.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget to display a diff between two texts\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget,\\n\\tdmp = require(\\\"$:/core/modules/utils/diff-match-patch/diff_match_patch.js\\\");\\n\\nvar DiffTextWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDiffTextWidget.prototype = new Widget();\\n\\nDiffTextWidget.prototype.invisibleCharacters = {\\n\\t\\\"\\\\n\\\": \\\"↩︎\\\\n\\\",\\n\\t\\\"\\\\r\\\": \\\"⇠\\\",\\n\\t\\\"\\\\t\\\": \\\"⇥\\\\t\\\"\\n};\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDiffTextWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create the diff\\n\\tvar dmpObject = new dmp.diff_match_patch(),\\n\\t\\tdiffs = dmpObject.diff_main(this.getAttribute(\\\"source\\\",\\\"\\\"),this.getAttribute(\\\"dest\\\",\\\"\\\"));\\n\\t// Apply required cleanup\\n\\tswitch(this.getAttribute(\\\"cleanup\\\",\\\"semantic\\\")) {\\n\\t\\tcase \\\"none\\\":\\n\\t\\t\\t// No cleanup\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"efficiency\\\":\\n\\t\\t\\tdmpObject.diff_cleanupEfficiency(diffs);\\n\\t\\t\\tbreak;\\n\\t\\tdefault: // case \\\"semantic\\\"\\n\\t\\t\\tdmpObject.diff_cleanupSemantic(diffs);\\n\\t\\t\\tbreak;\\n\\t}\\n\\t// Create the elements\\n\\tvar domContainer = this.document.createElement(\\\"div\\\"), \\n\\t\\tdomDiff = this.createDiffDom(diffs);\\n\\tparent.insertBefore(domContainer,nextSibling);\\n\\t// Set variables\\n\\tthis.setVariable(\\\"diff-count\\\",diffs.reduce(function(acc,diff) {\\n\\t\\tif(diff[0] !== dmp.DIFF_EQUAL) {\\n\\t\\t\\tacc++;\\n\\t\\t}\\n\\t\\treturn acc;\\n\\t},0).toString());\\n\\t// Render child widgets\\n\\tthis.renderChildren(domContainer,null);\\n\\t// Render the diff\\n\\tdomContainer.appendChild(domDiff);\\n\\t// Save our container\\n\\tthis.domNodes.push(domContainer);\\n};\\n\\n/*\\nCreate DOM elements representing a list of diffs\\n*/\\nDiffTextWidget.prototype.createDiffDom = function(diffs) {\\n\\tvar self = this;\\n\\t// Create the element and assign the attributes\\n\\tvar domPre = this.document.createElement(\\\"pre\\\"),\\n\\t\\tdomCode = this.document.createElement(\\\"code\\\");\\n\\t$tw.utils.each(diffs,function(diff) {\\n\\t\\tvar tag = diff[0] === dmp.DIFF_INSERT ? \\\"ins\\\" : (diff[0] === dmp.DIFF_DELETE ? \\\"del\\\" : \\\"span\\\"),\\n\\t\\t\\tclassName = diff[0] === dmp.DIFF_INSERT ? \\\"tc-diff-insert\\\" : (diff[0] === dmp.DIFF_DELETE ? \\\"tc-diff-delete\\\" : \\\"tc-diff-equal\\\"),\\n\\t\\t\\tdom = self.document.createElement(tag),\\n\\t\\t\\ttext = diff[1],\\n\\t\\t\\tcurrPos = 0,\\n\\t\\t\\tre = /([\\\\x00-\\\\x1F])/mg,\\n\\t\\t\\tmatch = re.exec(text),\\n\\t\\t\\tspan,\\n\\t\\t\\tprintable;\\n\\t\\tdom.className = className;\\n\\t\\twhile(match) {\\n\\t\\t\\tif(currPos \u003C match.index) {\\n\\t\\t\\t\\tdom.appendChild(self.document.createTextNode(text.slice(currPos,match.index)));\\n\\t\\t\\t}\\n\\t\\t\\tspan = self.document.createElement(\\\"span\\\");\\n\\t\\t\\tspan.className = \\\"tc-diff-invisible\\\";\\n\\t\\t\\tprintable = self.invisibleCharacters[match[0]] || (\\\"[0x\\\" + match[0].charCodeAt(0).toString(16) + \\\"]\\\");\\n\\t\\t\\tspan.appendChild(self.document.createTextNode(printable));\\n\\t\\t\\tdom.appendChild(span);\\n\\t\\t\\tcurrPos = match.index + match[0].length;\\n\\t\\t\\tmatch = re.exec(text);\\n\\t\\t}\\n\\t\\tif(currPos \u003C text.length) {\\n\\t\\t\\tdom.appendChild(self.document.createTextNode(text.slice(currPos)));\\n\\t\\t}\\n\\t\\tdomCode.appendChild(dom);\\n\\t});\\n\\tdomPre.appendChild(domCode);\\n\\treturn domPre;\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDiffTextWidget.prototype.execute = function() {\\n\\t// Make child widgets\\n\\tvar parseTreeNodes;\\n\\tif(this.parseTreeNode && this.parseTreeNode.children && this.parseTreeNode.children.length > 0) {\\n\\t\\tparseTreeNodes = this.parseTreeNode.children;\\n\\t} else {\\n\\t\\tparseTreeNodes = [{\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttiddler: {type: \\\"string\\\", value: \\\"$:/language/Diffs/CountMessage\\\"}\\n\\t\\t\\t}\\n\\t\\t}];\\n\\t}\\n\\tthis.makeChildWidgets(parseTreeNodes);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nDiffTextWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.source || changedAttributes.dest || changedAttributes.cleanup) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports[\\\"diff-text\\\"] = DiffTextWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/draggable.js\":{\"title\":\"$:/core/modules/widgets/draggable.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/draggable.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nDraggable widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar DraggableWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDraggableWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDraggableWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this,\\n\\t\\ttag,\\n\\t\\tdomNode,\\n\\t\\tclasses = [];\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Sanitise the specified tag\\n\\ttag = this.draggableTag;\\n\\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\\n\\t\\ttag = \\\"div\\\";\\n\\t}\\n\\t// Create our element\\n\\tdomNode = this.document.createElement(tag);\\n\\t// Assign classes\\n\\tif(this.draggableClasses) {\\n\\t\\tclasses.push(this.draggableClasses);\\n\\t}\\n\\tif(!this.dragHandleSelector && this.dragEnable) {\\n\\t\\tclasses.push(\\\"tc-draggable\\\");\\n\\t}\\n\\tdomNode.setAttribute(\\\"class\\\",classes.join(\\\" \\\"));\\n\\t// Insert the node into the DOM and render any children\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\t// Add event handlers\\n\\tif(this.dragEnable) {\\n\\t\\t$tw.utils.makeDraggable({\\n\\t\\t\\tdomNode: domNode,\\n\\t\\t\\tdragTiddlerFn: function() {return self.getAttribute(\\\"tiddler\\\");},\\n\\t\\t\\tdragFilterFn: function() {return self.getAttribute(\\\"filter\\\");},\\n\\t\\t\\tstartActions: self.startActions,\\n\\t\\t\\tendActions: self.endActions,\\n\\t\\t\\tdragImageType: self.dragImageType,\\n\\t\\t\\twidget: this,\\n\\t\\t\\tselector: self.dragHandleSelector\\n\\t\\t});\\n\\t}\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDraggableWidget.prototype.execute = function() {\\n\\t// Pick up our attributes\\n\\tthis.draggableTag = this.getAttribute(\\\"tag\\\",\\\"div\\\");\\n\\tthis.draggableClasses = this.getAttribute(\\\"class\\\");\\n\\tthis.startActions = this.getAttribute(\\\"startactions\\\");\\n\\tthis.endActions = this.getAttribute(\\\"endactions\\\");\\n\\tthis.dragImageType = this.getAttribute(\\\"dragimagetype\\\");\\n\\tthis.dragHandleSelector = this.getAttribute(\\\"selector\\\");\\n\\tthis.dragEnable = this.getAttribute(\\\"enable\\\",\\\"yes\\\") === \\\"yes\\\";\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n\\nDraggableWidget.prototype.updateDomNodeClasses = function() {\\n\\tvar domNodeClasses = this.domNodes[0].className.split(\\\" \\\"),\\n\\t\\toldClasses = this.draggableClasses.split(\\\" \\\");\\n\\tthis.draggableClasses = this.getAttribute(\\\"class\\\");\\n\\t//Remove classes assigned from the old value of class attribute\\n\\t$tw.utils.each(oldClasses,function(oldClass){\\n\\t\\tvar i = domNodeClasses.indexOf(oldClass);\\n\\t\\tif(i !== -1) {\\n\\t\\t\\tdomNodeClasses.splice(i,1);\\n\\t\\t}\\n\\t});\\n\\t//Add new classes from updated class attribute.\\n\\t$tw.utils.pushTop(domNodeClasses,this.draggableClasses);\\n\\tthis.domNodes[0].setAttribute(\\\"class\\\",domNodeClasses.join(\\\" \\\"))\\n}\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nDraggableWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\tchangedAttributesCount = $tw.utils.count(changedAttributes);\\n\\tif(changedAttributesCount === 1 && changedAttributes[\\\"class\\\"]) {\\n\\t\\tthis.updateDomNodeClasses();\\n\\t} else if(changedAttributesCount > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.draggable = DraggableWidget;\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/droppable.js\":{\"title\":\"$:/core/modules/widgets/droppable.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/droppable.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nDroppable widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar DroppableWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDroppableWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDroppableWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this,\\n\\t\\ttag = this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\",\\n\\t\\tdomNode;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tif(this.droppableTag && $tw.config.htmlUnsafeElements.indexOf(this.droppableTag) === -1) {\\n\\t\\ttag = this.droppableTag;\\n\\t}\\n\\t// Create element and assign classes\\n\\tdomNode = this.document.createElement(tag);\\n\\tthis.domNode = domNode;\\n\\tthis.assignDomNodeClasses();\\n\\t// Add event handlers\\n\\tif(this.droppableEnable) {\\n\\t\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t\\t{name: \\\"dragenter\\\", handlerObject: this, handlerMethod: \\\"handleDragEnterEvent\\\"},\\n\\t\\t\\t{name: \\\"dragover\\\", handlerObject: this, handlerMethod: \\\"handleDragOverEvent\\\"},\\n\\t\\t\\t{name: \\\"dragleave\\\", handlerObject: this, handlerMethod: \\\"handleDragLeaveEvent\\\"},\\n\\t\\t\\t{name: \\\"drop\\\", handlerObject: this, handlerMethod: \\\"handleDropEvent\\\"}\\n\\t\\t]);\\n\\t} else {\\n\\t\\t$tw.utils.addClass(this.domNode,this.disabledClass);\\n\\t}\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n\\t// Stack of outstanding enter/leave events\\n\\tthis.currentlyEntered = [];\\n};\\n\\nDroppableWidget.prototype.enterDrag = function(event) {\\n\\tif(this.currentlyEntered.indexOf(event.target) === -1) {\\n\\t\\tthis.currentlyEntered.push(event.target);\\n\\t}\\n\\t// If we're entering for the first time we need to apply highlighting\\n\\t$tw.utils.addClass(this.domNodes[0],\\\"tc-dragover\\\");\\n};\\n\\nDroppableWidget.prototype.leaveDrag = function(event) {\\n\\tvar pos = this.currentlyEntered.indexOf(event.target);\\n\\tif(pos !== -1) {\\n\\t\\tthis.currentlyEntered.splice(pos,1);\\n\\t}\\n\\t// Remove highlighting if we're leaving externally. The hacky second condition is to resolve a problem with Firefox whereby there is an erroneous dragenter event if the node being dragged is within the dropzone\\n\\tif(this.currentlyEntered.length === 0 || (this.currentlyEntered.length === 1 && this.currentlyEntered[0] === $tw.dragInProgress)) {\\n\\t\\tthis.currentlyEntered = [];\\n\\t\\tif(this.domNodes[0]) {\\n\\t\\t\\t$tw.utils.removeClass(this.domNodes[0],\\\"tc-dragover\\\");\\n\\t\\t}\\n\\t}\\n};\\n\\nDroppableWidget.prototype.handleDragEnterEvent = function(event) {\\n\\tthis.enterDrag(event);\\n\\t// Tell the browser that we're ready to handle the drop\\n\\tevent.preventDefault();\\n\\t// Tell the browser not to ripple the drag up to any parent drop handlers\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nDroppableWidget.prototype.handleDragOverEvent = function(event) {\\n\\t// Check for being over a TEXTAREA or INPUT\\n\\tif([\\\"TEXTAREA\\\",\\\"INPUT\\\"].indexOf(event.target.tagName) !== -1) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Tell the browser that we're still interested in the drop\\n\\tevent.preventDefault();\\n\\t// Set the drop effect\\n\\tevent.dataTransfer.dropEffect = this.droppableEffect;\\n\\treturn false;\\n};\\n\\nDroppableWidget.prototype.handleDragLeaveEvent = function(event) {\\n\\tthis.leaveDrag(event);\\n\\treturn false;\\n};\\n\\nDroppableWidget.prototype.handleDropEvent = function(event) {\\n\\tvar self = this;\\n\\tthis.leaveDrag(event);\\n\\t// Check for being over a TEXTAREA or INPUT\\n\\tif([\\\"TEXTAREA\\\",\\\"INPUT\\\"].indexOf(event.target.tagName) !== -1) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar dataTransfer = event.dataTransfer;\\n\\t// Remove highlighting\\n\\t$tw.utils.removeClass(this.domNodes[0],\\\"tc-dragover\\\");\\n\\t// Try to import the various data types we understand\\n\\t$tw.utils.importDataTransfer(dataTransfer,null,function(fieldsArray) {\\n\\t\\tfieldsArray.forEach(function(fields) {\\n\\t\\t\\tself.performActions(fields.title || fields.text,event);\\n\\t\\t});\\n\\t});\\n\\t// Tell the browser that we handled the drop\\n\\tevent.preventDefault();\\n\\t// Stop the drop ripple up to any parent handlers\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nDroppableWidget.prototype.performActions = function(title,event) {\\n\\tif(this.droppableActions) {\\n\\t\\tvar modifierKey = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\tthis.invokeActionString(this.droppableActions,this,event,{actionTiddler: title, modifier: modifierKey});\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDroppableWidget.prototype.execute = function() {\\n\\tthis.droppableActions = this.getAttribute(\\\"actions\\\");\\n\\tthis.droppableEffect = this.getAttribute(\\\"effect\\\",\\\"copy\\\");\\n\\tthis.droppableTag = this.getAttribute(\\\"tag\\\");\\n\\tthis.droppableEnable = (this.getAttribute(\\\"enable\\\") || \\\"yes\\\") === \\\"yes\\\";\\n\\tthis.disabledClass = this.getAttribute(\\\"disabledClass\\\",\\\"\\\");\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\nDroppableWidget.prototype.assignDomNodeClasses = function() {\\n\\tvar classes = this.getAttribute(\\\"class\\\",\\\"\\\").split(\\\" \\\");\\n\\tclasses.push(\\\"tc-droppable\\\");\\n\\tthis.domNode.className = classes.join(\\\" \\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nDroppableWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tag || changedAttributes.enable || changedAttributes.disabledClass || changedAttributes.actions || changedAttributes.effect) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else if(changedAttributes[\\\"class\\\"]) {\\n\\t\\tthis.assignDomNodeClasses();\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.droppable = DroppableWidget;\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/dropzone.js\":{\"title\":\"$:/core/modules/widgets/dropzone.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/dropzone.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nDropzone widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar IMPORT_TITLE = \\\"$:/Import\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar DropZoneWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nDropZoneWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nDropZoneWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create element\\n\\tvar domNode = this.document.createElement(\\\"div\\\");\\n\\tthis.domNode = domNode;\\n\\tdomNode.className = this.dropzoneClass || \\\"tc-dropzone\\\";\\n\\t// Add event handlers\\n\\tif(this.dropzoneEnable) {\\n\\t\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t\\t{name: \\\"dragenter\\\", handlerObject: this, handlerMethod: \\\"handleDragEnterEvent\\\"},\\n\\t\\t\\t{name: \\\"dragover\\\", handlerObject: this, handlerMethod: \\\"handleDragOverEvent\\\"},\\n\\t\\t\\t{name: \\\"dragleave\\\", handlerObject: this, handlerMethod: \\\"handleDragLeaveEvent\\\"},\\n\\t\\t\\t{name: \\\"drop\\\", handlerObject: this, handlerMethod: \\\"handleDropEvent\\\"},\\n\\t\\t\\t{name: \\\"paste\\\", handlerObject: this, handlerMethod: \\\"handlePasteEvent\\\"},\\n\\t\\t\\t{name: \\\"dragend\\\", handlerObject: this, handlerMethod: \\\"handleDragEndEvent\\\"}\\n\\t\\t]);\\n\\t}\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n\\t// Stack of outstanding enter/leave events\\n\\tthis.currentlyEntered = [];\\n};\\n\\n// Handler for transient event listeners added when the dropzone has an active drag in progress\\nDropZoneWidget.prototype.handleEvent = function(event) {\\n\\tif(event.type === \\\"click\\\") {\\n\\t\\tif(this.currentlyEntered.length) {\\n\\t\\t\\tthis.resetState();\\n\\t\\t}\\n\\t} else if(event.type === \\\"dragenter\\\") {\\n\\t\\tif(event.target && event.target !== this.domNode && !$tw.utils.domContains(this.domNode,event.target)) {\\n\\t\\t\\tthis.resetState();\\n\\t\\t}\\n\\t} else if(event.type === \\\"dragleave\\\") {\\n\\t\\t// Check if drag left the window\\n\\t\\tif(event.relatedTarget === null || (event.relatedTarget && event.relatedTarget.nodeName === \\\"HTML\\\")) {\\n\\t\\t\\tthis.resetState();\\n\\t\\t}\\n\\t}\\n};\\n\\n// Reset the state of the dropzone after a drag has ended\\nDropZoneWidget.prototype.resetState = function() {\\n\\t$tw.utils.removeClass(this.domNode,\\\"tc-dragover\\\");\\n\\tthis.currentlyEntered = [];\\n\\tthis.document.body.removeEventListener(\\\"click\\\",this,true);\\n\\tthis.document.body.removeEventListener(\\\"dragenter\\\",this,true);\\n\\tthis.document.body.removeEventListener(\\\"dragleave\\\",this,true);\\n\\tthis.dragInProgress = false;\\n};\\n\\nDropZoneWidget.prototype.enterDrag = function(event) {\\n\\tif(this.currentlyEntered.indexOf(event.target) === -1) {\\n\\t\\tthis.currentlyEntered.push(event.target);\\n\\t}\\n\\tif(!this.dragInProgress) {\\n\\t\\tthis.dragInProgress = true;\\n\\t\\t// If we're entering for the first time we need to apply highlighting\\n\\t\\t$tw.utils.addClass(this.domNodes[0],\\\"tc-dragover\\\");\\n\\t\\tthis.document.body.addEventListener(\\\"click\\\",this,true);\\n\\t\\tthis.document.body.addEventListener(\\\"dragenter\\\",this,true);\\n\\t\\tthis.document.body.addEventListener(\\\"dragleave\\\",this,true);\\n\\t}\\n};\\n\\nDropZoneWidget.prototype.leaveDrag = function(event) {\\n\\tvar pos = this.currentlyEntered.indexOf(event.target);\\n\\tif(pos !== -1) {\\n\\t\\tthis.currentlyEntered.splice(pos,1);\\n\\t}\\n\\t// Remove highlighting if we're leaving externally\\n\\tif(this.currentlyEntered.length === 0) {\\n\\t\\tthis.resetState();\\n\\t}\\n};\\n\\nDropZoneWidget.prototype.handleDragEnterEvent = function(event) {\\n\\tif($tw.dragInProgress) {\\n\\t\\treturn false;\\n\\t}\\n\\tif(this.filesOnly && !$tw.utils.dragEventContainsFiles(event)) {\\n\\t\\treturn false;\\n\\t}\\n\\tthis.enterDrag(event);\\n\\t// Tell the browser that we're ready to handle the drop\\n\\tevent.preventDefault();\\n\\t// Tell the browser not to ripple the drag up to any parent drop handlers\\n\\tevent.stopPropagation();\\n};\\n\\nDropZoneWidget.prototype.handleDragOverEvent = function(event) {\\n\\t// Check for being over a TEXTAREA or INPUT\\n\\tif([\\\"TEXTAREA\\\",\\\"INPUT\\\"].indexOf(event.target.tagName) !== -1) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Check for this window being the source of the drag\\n\\tif($tw.dragInProgress) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Tell the browser that we're still interested in the drop\\n\\tevent.preventDefault();\\n\\t// Check if this is a synthetic event, IE does not allow accessing dropEffect outside of original event handler\\n\\tif(event.isTrusted) {\\n\\t\\tevent.dataTransfer.dropEffect = \\\"copy\\\"; // Explicitly show this is a copy\\n\\t}\\n};\\n\\nDropZoneWidget.prototype.handleDragLeaveEvent = function(event) {\\n\\tthis.leaveDrag(event);\\n};\\n\\nDropZoneWidget.prototype.handleDragEndEvent = function(event) {\\n\\tthis.resetState();\\n};\\n\\nDropZoneWidget.prototype.filterByContentTypes = function(tiddlerFieldsArray) {\\n\\tvar filteredTypes,\\n\\t\\tfiltered = [],\\n\\t\\ttypes = [];\\n\\t$tw.utils.each(tiddlerFieldsArray,function(tiddlerFields) {\\n\\t\\ttypes.push(tiddlerFields.type || \\\"\\\");\\n\\t});\\n\\tfilteredTypes = this.wiki.filterTiddlers(this.contentTypesFilter,this,this.wiki.makeTiddlerIterator(types));\\n\\t$tw.utils.each(tiddlerFieldsArray,function(tiddlerFields) {\\n\\t\\tif(filteredTypes.indexOf(tiddlerFields.type) !== -1) {\\n\\t\\t\\tfiltered.push(tiddlerFields);\\n\\t\\t}\\n\\t});\\n\\treturn filtered;\\n};\\n\\nDropZoneWidget.prototype.readFileCallback = function(tiddlerFieldsArray) {\\n\\tif(this.contentTypesFilter) {\\n\\t\\ttiddlerFieldsArray = this.filterByContentTypes(tiddlerFieldsArray);\\n\\t}\\n\\tif(tiddlerFieldsArray.length) {\\n\\t\\tthis.dispatchEvent({type: \\\"tm-import-tiddlers\\\", param: JSON.stringify(tiddlerFieldsArray), autoOpenOnImport: this.autoOpenOnImport, importTitle: this.importTitle});\\n\\t\\tif(this.actions) {\\n\\t\\t\\tthis.invokeActionString(this.actions,this,event,{importTitle: this.importTitle});\\n\\t\\t}\\n\\t}\\n};\\n\\nDropZoneWidget.prototype.handleDropEvent = function(event) {\\n\\tvar self = this,\\n\\t\\treadFileCallback = function(tiddlerFieldsArray) {\\n\\t\\t\\tself.readFileCallback(tiddlerFieldsArray);\\n\\t\\t};\\n\\tthis.leaveDrag(event);\\n\\t// Check for being over a TEXTAREA or INPUT\\n\\tif([\\\"TEXTAREA\\\",\\\"INPUT\\\"].indexOf(event.target.tagName) !== -1) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Check for this window being the source of the drag\\n\\tif($tw.dragInProgress) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar self = this,\\n\\t\\tdataTransfer = event.dataTransfer;\\n\\t// Remove highlighting\\n\\tthis.resetState();\\n\\t// Import any files in the drop\\n\\tvar numFiles = 0;\\n\\t// If we have type text/vnd.tiddlywiki then skip trying to import files\\n\\tif(dataTransfer.files && !$tw.utils.dragEventContainsType(event,\\\"text/vnd.tiddler\\\")) {\\n\\t\\tnumFiles = this.wiki.readFiles(dataTransfer.files,{\\n\\t\\t\\tcallback: readFileCallback,\\n\\t\\t\\tdeserializer: this.dropzoneDeserializer\\n\\t\\t});\\n\\t}\\n\\t// Try to import the various data types we understand\\n\\tif(numFiles === 0) {\\n\\t\\tvar fallbackTitle = self.wiki.generateNewTitle(\\\"Untitled\\\");\\n\\t\\t//Use the deserializer specified if any\\n\\t\\tif(this.dropzoneDeserializer) {\\n\\t\\t\\tfor(var t= 0; t\u003CdataTransfer.items.length; t++) {\\n\\t\\t\\t\\tvar item = dataTransfer.items[t];\\n\\t\\t\\t\\tif(item.kind === \\\"string\\\") {\\n\\t\\t\\t\\t\\titem.getAsString(function(str){\\n\\t\\t\\t\\t\\t\\tvar tiddlerFields = self.wiki.deserializeTiddlers(null,str,{title: fallbackTitle},{deserializer:self.dropzoneDeserializer});\\n\\t\\t\\t\\t\\t\\tif(tiddlerFields && tiddlerFields.length) {\\n\\t\\t\\t\\t\\t\\t\\treadFileCallback(tiddlerFields);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t})\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.importDataTransfer(dataTransfer,fallbackTitle,readFileCallback);\\n\\t\\t}\\n\\t}\\n\\t// Tell the browser that we handled the drop\\n\\tevent.preventDefault();\\n\\t// Stop the drop ripple up to any parent handlers\\n\\tevent.stopPropagation();\\n};\\n\\nDropZoneWidget.prototype.handlePasteEvent = function(event) {\\n\\tvar self = this;\\n\\tvar\\treadFileCallback = function(tiddlerFieldsArray) {\\n\\t\\t\\tself.readFileCallback(tiddlerFieldsArray);\\n\\t\\t};\\n\\tvar getItem = function(type) {\\n\\t\\t\\ttype = type || \\\"text/plain\\\";\\n\\t\\t\\treturn function(str) {\\n\\t\\t\\t\\t// Use the deserializer specified if any\\n\\t\\t\\t\\tif(self.dropzoneDeserializer) {\\n\\t\\t\\t\\t\\ttiddlerFields = self.wiki.deserializeTiddlers(null,str,{title: self.wiki.generateNewTitle(\\\"Untitled \\\" + type)},{deserializer:self.dropzoneDeserializer});\\n\\t\\t\\t\\t\\tif(tiddlerFields && tiddlerFields.length) {\\n\\t\\t\\t\\t\\t\\treadFileCallback(tiddlerFields);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\ttiddlerFields = {\\n\\t\\t\\t\\t\\t\\ttitle: self.wiki.generateNewTitle(\\\"Untitled \\\" + type),\\n\\t\\t\\t\\t\\t\\ttext: str,\\n\\t\\t\\t\\t\\t\\ttype: type\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\tif($tw.log.IMPORT) {\\n\\t\\t\\t\\t\\t\\tconsole.log(\\\"Importing string '\\\" + str + \\\"', type: '\\\" + type + \\\"'\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\treadFileCallback([tiddlerFields]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\t// Let the browser handle it if we're in a textarea or input box\\n\\tif([\\\"TEXTAREA\\\",\\\"INPUT\\\"].indexOf(event.target.tagName) == -1 && !event.target.isContentEditable && !event.twEditor) {\\n\\t\\tvar self = this,\\n\\t\\t\\titems = event.clipboardData.items;\\n\\t\\t// Enumerate the clipboard items\\n\\t\\tfor(var t = 0; t\u003Citems.length; t++) {\\n\\t\\t\\tvar item = items[t];\\n\\t\\t\\tif(item.kind === \\\"file\\\") {\\n\\t\\t\\t\\t// Import any files\\n\\t\\t\\t\\tthis.wiki.readFile(item.getAsFile(),{\\n\\t\\t\\t\\t\\tcallback: readFileCallback,\\n\\t\\t\\t\\t\\tdeserializer: this.dropzoneDeserializer\\n\\t\\t\\t\\t});\\n\\t\\t\\t} else if(item.kind === \\\"string\\\" && ![\\\"text/html\\\", \\\"text/plain\\\", \\\"Text\\\"].includes(item.type) && $tw.utils.itemHasValidDataType(item)) {\\n\\t\\t\\t\\t// Try to import the various data types we understand\\n\\t\\t\\t\\tvar fallbackTitle = self.wiki.generateNewTitle(\\\"Untitled\\\");\\n\\t\\t\\t\\t//Use the deserializer specified if any\\n\\t\\t\\t\\tif(this.dropzoneDeserializer) {\\n\\t\\t\\t\\t\\titem.getAsString(function(str){\\n\\t\\t\\t\\t\\t\\tvar tiddlerFields = self.wiki.deserializeTiddlers(null,str,{title: fallbackTitle},{deserializer:self.dropzoneDeserializer});\\n\\t\\t\\t\\t\\t\\tif(tiddlerFields && tiddlerFields.length) {\\n\\t\\t\\t\\t\\t\\t\\treadFileCallback(tiddlerFields);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t$tw.utils.importPaste(item,fallbackTitle,readFileCallback);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else if(item.kind === \\\"string\\\") {\\n\\t\\t\\t\\t// Create tiddlers from string items\\n\\t\\t\\t\\tvar tiddlerFields;\\n\\t\\t\\t\\t// It's important to give getAsString a closure with the right type\\n\\t\\t\\t\\t// So it can be added to the import queue\\n\\t\\t\\t\\titem.getAsString(getItem(item.type));\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Tell the browser that we've handled the paste\\n\\t\\tevent.stopPropagation();\\n\\t\\tevent.preventDefault();\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nDropZoneWidget.prototype.execute = function() {\\n\\tthis.dropzoneClass = this.getAttribute(\\\"class\\\");\\n\\tthis.dropzoneDeserializer = this.getAttribute(\\\"deserializer\\\");\\n\\tthis.dropzoneEnable = (this.getAttribute(\\\"enable\\\") || \\\"yes\\\") === \\\"yes\\\";\\n\\tthis.autoOpenOnImport = this.getAttribute(\\\"autoOpenOnImport\\\");\\n\\tthis.importTitle = this.getAttribute(\\\"importTitle\\\",IMPORT_TITLE);\\n\\tthis.actions = this.getAttribute(\\\"actions\\\");\\n\\tthis.contentTypesFilter = this.getAttribute(\\\"contentTypesFilter\\\");\\n\\tthis.filesOnly = this.getAttribute(\\\"filesOnly\\\",\\\"no\\\") === \\\"yes\\\";\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nDropZoneWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.dropzone = DropZoneWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/edit-binary.js\":{\"title\":\"$:/core/modules/widgets/edit-binary.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/edit-binary.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEdit-binary widget; placeholder for editing binary tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar BINARY_WARNING_MESSAGE = \\\"$:/core/ui/BinaryWarning\\\";\\nvar EXPORT_BUTTON_IMAGE = \\\"$:/core/images/export-button\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EditBinaryWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEditBinaryWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEditBinaryWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEditBinaryWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tvar editTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tvar tiddler = this.wiki.getTiddler(editTitle);\\n\\tvar type = tiddler.fields.type;\\n\\tvar text = tiddler.fields.text;\\n\\t// Transclude the binary data tiddler warning message\\n\\tvar warn = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"p\\\",\\n\\t\\tchildren: [{\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttiddler: {type: \\\"string\\\", value: BINARY_WARNING_MESSAGE}\\n\\t\\t\\t}\\n\\t\\t}]\\n\\t};\\n\\t// Create download link based on draft tiddler title\\n\\tvar link = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"a\\\",\\n\\t\\tattributes: {\\n\\t\\t\\ttitle: {type: \\\"indirect\\\", textReference: \\\"!!draft.title\\\"},\\n\\t\\t\\tdownload: {type: \\\"indirect\\\", textReference: \\\"!!draft.title\\\"}\\n\\t\\t},\\n\\t\\tchildren: [{\\n\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\ttiddler: {type: \\\"string\\\", value: EXPORT_BUTTON_IMAGE}\\n\\t\\t\\t}\\n\\t\\t}]\\n\\t};\\n\\t// Set the link href to internal data URI (no external)\\n\\tif(text) {\\n\\t\\tlink.attributes.href = {\\n\\t\\t\\ttype: \\\"string\\\", \\n\\t\\t\\tvalue: \\\"data:\\\" + type + \\\";base64,\\\" + text\\n\\t\\t};\\n\\t}\\n\\t// Combine warning message and download link in a div\\n\\tvar element = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"div\\\",\\n\\t\\tattributes: {\\n\\t\\t\\tclass: {type: \\\"string\\\", value: \\\"tc-binary-warning\\\"}\\n\\t\\t},\\n\\t\\tchildren: [warn, link]\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets([element]);\\n};\\n\\n/*\\nRefresh by refreshing our child widget\\n*/\\nEditBinaryWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports[\\\"edit-binary\\\"] = EditBinaryWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/edit-bitmap.js\":{\"title\":\"$:/core/modules/widgets/edit-bitmap.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/edit-bitmap.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEdit-bitmap widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Default image sizes\\nvar DEFAULT_IMAGE_WIDTH = 600,\\n\\tDEFAULT_IMAGE_HEIGHT = 370,\\n\\tDEFAULT_IMAGE_TYPE = \\\"image/png\\\";\\n\\n// Configuration tiddlers\\nvar LINE_WIDTH_TITLE = \\\"$:/config/BitmapEditor/LineWidth\\\",\\n\\tLINE_COLOUR_TITLE = \\\"$:/config/BitmapEditor/Colour\\\",\\n\\tLINE_OPACITY_TITLE = \\\"$:/config/BitmapEditor/Opacity\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EditBitmapWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEditBitmapWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEditBitmapWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Initialise the editor operations if they've not been done already\\n\\tif(!this.editorOperations) {\\n\\t\\tEditBitmapWidget.prototype.editorOperations = {};\\n\\t\\t$tw.modules.applyMethods(\\\"bitmapeditoroperation\\\",this.editorOperations);\\n\\t}\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Create the wrapper for the toolbar and render its content\\n\\tthis.toolbarNode = this.document.createElement(\\\"div\\\");\\n\\tthis.toolbarNode.className = \\\"tc-editor-toolbar\\\";\\n\\tparent.insertBefore(this.toolbarNode,nextSibling);\\n\\tthis.domNodes.push(this.toolbarNode);\\n\\t// Create the on-screen canvas\\n\\tthis.canvasDomNode = $tw.utils.domMaker(\\\"canvas\\\",{\\n\\t\\tdocument: this.document,\\n\\t\\t\\\"class\\\":\\\"tc-edit-bitmapeditor\\\",\\n\\t\\teventListeners: [{\\n\\t\\t\\tname: \\\"touchstart\\\", handlerObject: this, handlerMethod: \\\"handleTouchStartEvent\\\"\\n\\t\\t},{\\n\\t\\t\\tname: \\\"touchmove\\\", handlerObject: this, handlerMethod: \\\"handleTouchMoveEvent\\\"\\n\\t\\t},{\\n\\t\\t\\tname: \\\"touchend\\\", handlerObject: this, handlerMethod: \\\"handleTouchEndEvent\\\"\\n\\t\\t},{\\n\\t\\t\\tname: \\\"mousedown\\\", handlerObject: this, handlerMethod: \\\"handleMouseDownEvent\\\"\\n\\t\\t},{\\n\\t\\t\\tname: \\\"mousemove\\\", handlerObject: this, handlerMethod: \\\"handleMouseMoveEvent\\\"\\n\\t\\t},{\\n\\t\\t\\tname: \\\"mouseup\\\", handlerObject: this, handlerMethod: \\\"handleMouseUpEvent\\\"\\n\\t\\t}]\\n\\t});\\n\\t// Set the width and height variables\\n\\tthis.setVariable(\\\"tv-bitmap-editor-width\\\",this.canvasDomNode.width + \\\"px\\\");\\n\\tthis.setVariable(\\\"tv-bitmap-editor-height\\\",this.canvasDomNode.height + \\\"px\\\");\\n\\t// Render toolbar child widgets\\n\\tthis.renderChildren(this.toolbarNode,null);\\n\\t// // Insert the elements into the DOM\\n\\tparent.insertBefore(this.canvasDomNode,nextSibling);\\n\\tthis.domNodes.push(this.canvasDomNode);\\n\\t// Load the image into the canvas\\n\\tif($tw.browser) {\\n\\t\\tthis.loadCanvas();\\n\\t}\\n\\t// Add widget message listeners\\n\\tthis.addEventListeners([\\n\\t\\t{type: \\\"tm-edit-bitmap-operation\\\", handler: \\\"handleEditBitmapOperationMessage\\\"}\\n\\t]);\\n};\\n\\n/*\\nHandle an edit bitmap operation message from the toolbar\\n*/\\nEditBitmapWidget.prototype.handleEditBitmapOperationMessage = function(event) {\\n\\t// Invoke the handler\\n\\tvar handler = this.editorOperations[event.param];\\n\\tif(handler) {\\n\\t\\thandler.call(this,event);\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEditBitmapWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.editTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nJust refresh the toolbar\\n*/\\nEditBitmapWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nSet the bitmap size variables and refresh the toolbar\\n*/\\nEditBitmapWidget.prototype.refreshToolbar = function() {\\n\\t// Set the width and height variables\\n\\tthis.setVariable(\\\"tv-bitmap-editor-width\\\",this.canvasDomNode.width + \\\"px\\\");\\n\\tthis.setVariable(\\\"tv-bitmap-editor-height\\\",this.canvasDomNode.height + \\\"px\\\");\\n\\t// Refresh each of our child widgets\\n\\t$tw.utils.each(this.children,function(childWidget) {\\n\\t\\tchildWidget.refreshSelf();\\n\\t});\\n};\\n\\nEditBitmapWidget.prototype.loadCanvas = function() {\\n\\tvar tiddler = this.wiki.getTiddler(this.editTitle),\\n\\t\\tcurrImage = new Image();\\n\\t// Set up event handlers for loading the image\\n\\tvar self = this;\\n\\tcurrImage.onload = function() {\\n\\t\\t// Copy the image to the on-screen canvas\\n\\t\\tself.initCanvas(self.canvasDomNode,currImage.width,currImage.height,currImage);\\n\\t\\t// And also copy the current bitmap to the off-screen canvas\\n\\t\\tself.currCanvas = self.document.createElement(\\\"canvas\\\");\\n\\t\\tself.initCanvas(self.currCanvas,currImage.width,currImage.height,currImage);\\n\\t\\t// Set the width and height input boxes\\n\\t\\tself.refreshToolbar();\\n\\t};\\n\\tcurrImage.onerror = function() {\\n\\t\\t// Set the on-screen canvas size and clear it\\n\\t\\tself.initCanvas(self.canvasDomNode,DEFAULT_IMAGE_WIDTH,DEFAULT_IMAGE_HEIGHT);\\n\\t\\t// Set the off-screen canvas size and clear it\\n\\t\\tself.currCanvas = self.document.createElement(\\\"canvas\\\");\\n\\t\\tself.initCanvas(self.currCanvas,DEFAULT_IMAGE_WIDTH,DEFAULT_IMAGE_HEIGHT);\\n\\t\\t// Set the width and height input boxes\\n\\t\\tself.refreshToolbar();\\n\\t};\\n\\t// Get the current bitmap into an image object\\n\\tif(tiddler && tiddler.fields.type && tiddler.fields.text) {\\n\\t\\tcurrImage.src = \\\"data:\\\" + tiddler.fields.type + \\\";base64,\\\" + tiddler.fields.text;\\n\\t} else {\\n\\t\\tcurrImage.width = DEFAULT_IMAGE_WIDTH;\\n\\t\\tcurrImage.height = DEFAULT_IMAGE_HEIGHT;\\n\\t\\tcurrImage.onerror();\\n\\t}\\n};\\n\\nEditBitmapWidget.prototype.initCanvas = function(canvas,width,height,image) {\\n\\tcanvas.width = width;\\n\\tcanvas.height = height;\\n\\tvar ctx = canvas.getContext(\\\"2d\\\");\\n\\tif(image) {\\n\\t\\tctx.drawImage(image,0,0);\\n\\t} else {\\n\\t\\tctx.fillStyle = \\\"#fff\\\";\\n\\t\\tctx.fillRect(0,0,canvas.width,canvas.height);\\n\\t}\\n};\\n\\n/*\\n** Change the size of the canvas, preserving the current image\\n*/\\nEditBitmapWidget.prototype.changeCanvasSize = function(newWidth,newHeight) {\\n\\t// Create and size a new canvas\\n\\tvar newCanvas = this.document.createElement(\\\"canvas\\\");\\n\\tthis.initCanvas(newCanvas,newWidth,newHeight);\\n\\t// Copy the old image\\n\\tvar ctx = newCanvas.getContext(\\\"2d\\\");\\n\\tctx.drawImage(this.currCanvas,0,0);\\n\\t// Set the new canvas as the current one\\n\\tthis.currCanvas = newCanvas;\\n\\t// Set the size of the onscreen canvas\\n\\tthis.canvasDomNode.width = newWidth;\\n\\tthis.canvasDomNode.height = newHeight;\\n\\t// Paint the onscreen canvas with the offscreen canvas\\n\\tctx = this.canvasDomNode.getContext(\\\"2d\\\");\\n\\tctx.drawImage(this.currCanvas,0,0);\\n};\\n\\n/*\\n** Rotate the canvas left by 90 degrees\\n*/\\nEditBitmapWidget.prototype.rotateCanvasLeft = function() {\\n\\t// Get the current size of the image\\n\\tvar origWidth = this.currCanvas.width,\\n\\t\\torigHeight = this.currCanvas.height;\\n\\t// Create and size a new canvas\\n\\tvar newCanvas = this.document.createElement(\\\"canvas\\\"),\\n\\t\\tnewWidth = origHeight,\\n\\t\\tnewHeight = origWidth;\\n\\tthis.initCanvas(newCanvas,newWidth,newHeight);\\n\\t// Copy the old image\\n\\tvar ctx = newCanvas.getContext(\\\"2d\\\");\\n\\tctx.save();\\n\\tctx.translate(newWidth / 2,newHeight / 2);\\n\\tctx.rotate(-Math.PI / 2);\\n\\tctx.drawImage(this.currCanvas,-origWidth / 2,-origHeight / 2);\\n\\tctx.restore();\\n\\t// Set the new canvas as the current one\\n\\tthis.currCanvas = newCanvas;\\n\\t// Set the size of the onscreen canvas\\n\\tthis.canvasDomNode.width = newWidth;\\n\\tthis.canvasDomNode.height = newHeight;\\n\\t// Paint the onscreen canvas with the offscreen canvas\\n\\tctx = this.canvasDomNode.getContext(\\\"2d\\\");\\n\\tctx.drawImage(this.currCanvas,0,0);\\n};\\n\\nEditBitmapWidget.prototype.handleTouchStartEvent = function(event) {\\n\\tthis.brushDown = true;\\n\\tthis.strokeStart(event.touches[0].clientX,event.touches[0].clientY);\\n\\tevent.preventDefault();\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nEditBitmapWidget.prototype.handleTouchMoveEvent = function(event) {\\n\\tif(this.brushDown) {\\n\\t\\tthis.strokeMove(event.touches[0].clientX,event.touches[0].clientY);\\n\\t}\\n\\tevent.preventDefault();\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nEditBitmapWidget.prototype.handleTouchEndEvent = function(event) {\\n\\tif(this.brushDown) {\\n\\t\\tthis.brushDown = false;\\n\\t\\tthis.strokeEnd();\\n\\t}\\n\\tevent.preventDefault();\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nEditBitmapWidget.prototype.handleMouseDownEvent = function(event) {\\n\\tthis.strokeStart(event.clientX,event.clientY);\\n\\tthis.brushDown = true;\\n\\tevent.preventDefault();\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\nEditBitmapWidget.prototype.handleMouseMoveEvent = function(event) {\\n\\tif(this.brushDown) {\\n\\t\\tthis.strokeMove(event.clientX,event.clientY);\\n\\t\\tevent.preventDefault();\\n\\t\\tevent.stopPropagation();\\n\\t\\treturn false;\\n\\t}\\n\\treturn true;\\n};\\n\\nEditBitmapWidget.prototype.handleMouseUpEvent = function(event) {\\n\\tif(this.brushDown) {\\n\\t\\tthis.brushDown = false;\\n\\t\\tthis.strokeEnd();\\n\\t\\tevent.preventDefault();\\n\\t\\tevent.stopPropagation();\\n\\t\\treturn false;\\n\\t}\\n\\treturn true;\\n};\\n\\nEditBitmapWidget.prototype.adjustCoordinates = function(x,y) {\\n\\tvar canvasRect = this.canvasDomNode.getBoundingClientRect(),\\n\\t\\tscale = this.canvasDomNode.width/canvasRect.width;\\n\\treturn {x: (x - canvasRect.left) * scale, y: (y - canvasRect.top) * scale};\\n};\\n\\nEditBitmapWidget.prototype.strokeStart = function(x,y) {\\n\\t// Start off a new stroke\\n\\tthis.stroke = [this.adjustCoordinates(x,y)];\\n};\\n\\nEditBitmapWidget.prototype.strokeMove = function(x,y) {\\n\\tvar ctx = this.canvasDomNode.getContext(\\\"2d\\\"),\\n\\t\\tt;\\n\\t// Add the new position to the end of the stroke\\n\\tthis.stroke.push(this.adjustCoordinates(x,y));\\n\\t// Redraw the previous image\\n\\tctx.drawImage(this.currCanvas,0,0);\\n\\t// Render the stroke\\n\\tctx.globalAlpha = parseFloat(this.wiki.getTiddlerText(LINE_OPACITY_TITLE,\\\"1.0\\\"));\\n\\tctx.strokeStyle = this.wiki.getTiddlerText(LINE_COLOUR_TITLE,\\\"#ff0\\\");\\n\\tctx.lineWidth = parseFloat(this.wiki.getTiddlerText(LINE_WIDTH_TITLE,\\\"3\\\"));\\n\\tctx.lineCap = \\\"round\\\";\\n\\tctx.lineJoin = \\\"round\\\";\\n\\tctx.beginPath();\\n\\tctx.moveTo(this.stroke[0].x,this.stroke[0].y);\\n\\tfor(t=1; t\u003Cthis.stroke.length-1; t++) {\\n\\t\\tvar s1 = this.stroke[t],\\n\\t\\t\\ts2 = this.stroke[t-1],\\n\\t\\t\\ttx = (s1.x + s2.x)/2,\\n\\t\\t\\tty = (s1.y + s2.y)/2;\\n\\t\\tctx.quadraticCurveTo(s2.x,s2.y,tx,ty);\\n\\t}\\n\\tctx.stroke();\\n};\\n\\nEditBitmapWidget.prototype.strokeEnd = function() {\\n\\t// Copy the bitmap to the off-screen canvas\\n\\tvar ctx = this.currCanvas.getContext(\\\"2d\\\");\\n\\tctx.drawImage(this.canvasDomNode,0,0);\\n\\t// Save the image into the tiddler\\n\\tthis.saveChanges();\\n};\\n\\nEditBitmapWidget.prototype.saveChanges = function() {\\n\\tvar tiddler = this.wiki.getTiddler(this.editTitle) || new $tw.Tiddler({title: this.editTitle,type: DEFAULT_IMAGE_TYPE});\\n\\t// data URIs look like \\\"data:\u003Ctype>;base64,\u003Ctext>\\\"\\n\\tvar dataURL = this.canvasDomNode.toDataURL(tiddler.fields.type),\\n\\t\\tposColon = dataURL.indexOf(\\\":\\\"),\\n\\t\\tposSemiColon = dataURL.indexOf(\\\";\\\"),\\n\\t\\tposComma = dataURL.indexOf(\\\",\\\"),\\n\\t\\ttype = dataURL.substring(posColon+1,posSemiColon),\\n\\t\\ttext = dataURL.substring(posComma+1);\\n\\tvar update = {type: type, text: text};\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(this.wiki.getModificationFields(),tiddler,update,this.wiki.getCreationFields()));\\n};\\n\\nexports[\\\"edit-bitmap\\\"] = EditBitmapWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/edit-shortcut.js\":{\"title\":\"$:/core/modules/widgets/edit-shortcut.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/edit-shortcut.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget to display an editable keyboard shortcut\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EditShortcutWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEditShortcutWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEditShortcutWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.inputNode = this.document.createElement(\\\"input\\\");\\n\\t// Assign classes\\n\\tif(this.shortcutClass) {\\n\\t\\tthis.inputNode.className = this.shortcutClass;\\n\\t}\\n\\t// Assign other attributes\\n\\tif(this.shortcutStyle) {\\n\\t\\tthis.inputNode.setAttribute(\\\"style\\\",this.shortcutStyle);\\n\\t}\\n\\tif(this.shortcutTooltip) {\\n\\t\\tthis.inputNode.setAttribute(\\\"title\\\",this.shortcutTooltip);\\n\\t}\\n\\tif(this.shortcutPlaceholder) {\\n\\t\\tthis.inputNode.setAttribute(\\\"placeholder\\\",this.shortcutPlaceholder);\\n\\t}\\n\\tif(this.shortcutAriaLabel) {\\n\\t\\tthis.inputNode.setAttribute(\\\"aria-label\\\",this.shortcutAriaLabel);\\n\\t}\\n\\t// Assign the current shortcut\\n\\tthis.updateInputNode();\\n\\t// Add event handlers\\n\\t$tw.utils.addEventListeners(this.inputNode,[\\n\\t\\t{name: \\\"keydown\\\", handlerObject: this, handlerMethod: \\\"handleKeydownEvent\\\"}\\n\\t]);\\n\\t// Link into the DOM\\n\\tparent.insertBefore(this.inputNode,nextSibling);\\n\\tthis.domNodes.push(this.inputNode);\\n\\t// Focus the input Node if focus === \\\"yes\\\" or focus === \\\"true\\\"\\n\\tif(this.shortcutFocus === \\\"yes\\\" || this.shortcutFocus === \\\"true\\\") {\\n\\t\\tthis.focus();\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEditShortcutWidget.prototype.execute = function() {\\n\\tthis.shortcutTiddler = this.getAttribute(\\\"tiddler\\\");\\n\\tthis.shortcutField = this.getAttribute(\\\"field\\\");\\n\\tthis.shortcutIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.shortcutPlaceholder = this.getAttribute(\\\"placeholder\\\");\\n\\tthis.shortcutDefault = this.getAttribute(\\\"default\\\",\\\"\\\");\\n\\tthis.shortcutClass = this.getAttribute(\\\"class\\\");\\n\\tthis.shortcutStyle = this.getAttribute(\\\"style\\\");\\n\\tthis.shortcutTooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis.shortcutAriaLabel = this.getAttribute(\\\"aria-label\\\");\\n\\tthis.shortcutFocus = this.getAttribute(\\\"focus\\\");\\n};\\n\\n/*\\nUpdate the value of the input node\\n*/\\nEditShortcutWidget.prototype.updateInputNode = function() {\\n\\tif(this.shortcutField) {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.shortcutTiddler);\\n\\t\\tif(tiddler && $tw.utils.hop(tiddler.fields,this.shortcutField)) {\\n\\t\\t\\tthis.inputNode.value = tiddler.getFieldString(this.shortcutField);\\n\\t\\t} else {\\n\\t\\t\\tthis.inputNode.value = this.shortcutDefault;\\n\\t\\t}\\n\\t} else if(this.shortcutIndex) {\\n\\t\\tthis.inputNode.value = this.wiki.extractTiddlerDataItem(this.shortcutTiddler,this.shortcutIndex,this.shortcutDefault);\\n\\t} else {\\n\\t\\tthis.inputNode.value = this.wiki.getTiddlerText(this.shortcutTiddler,this.shortcutDefault);\\n\\t}\\n};\\n\\n/*\\nHandle a dom \\\"keydown\\\" event\\n*/\\nEditShortcutWidget.prototype.handleKeydownEvent = function(event) {\\n\\t// Ignore shift, ctrl, meta, alt\\n\\tif(event.keyCode && $tw.keyboardManager.getModifierKeys().indexOf(event.keyCode) === -1) {\\n\\t\\t// Get the shortcut text representation\\n\\t\\tvar value = $tw.keyboardManager.getPrintableShortcuts([{\\n\\t\\t\\tctrlKey: event.ctrlKey,\\n\\t\\t\\tshiftKey: event.shiftKey,\\n\\t\\t\\taltKey: event.altKey,\\n\\t\\t\\tmetaKey: event.metaKey,\\n\\t\\t\\tkeyCode: event.keyCode\\n\\t\\t}]);\\n\\t\\tif(value.length > 0) {\\n\\t\\t\\tthis.wiki.setText(this.shortcutTiddler,this.shortcutField,this.shortcutIndex,value[0]);\\n\\t\\t}\\n\\t\\t// Ignore the keydown if it was already handled\\n\\t\\tevent.preventDefault();\\n\\t\\tevent.stopPropagation();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\n/*\\nfocus the input node\\n*/\\nEditShortcutWidget.prototype.focus = function() {\\n\\tif(this.inputNode.focus && this.inputNode.select) {\\n\\t\\tthis.inputNode.focus();\\n\\t\\tthis.inputNode.select();\\n\\t}\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget needed re-rendering\\n*/\\nEditShortcutWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.placeholder || changedAttributes[\\\"default\\\"] || changedAttributes[\\\"class\\\"] || changedAttributes.style || changedAttributes.tooltip || changedAttributes[\\\"aria-label\\\"] || changedAttributes.focus) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else if(changedTiddlers[this.shortcutTiddler]) {\\n\\t\\tthis.updateInputNode();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports[\\\"edit-shortcut\\\"] = EditShortcutWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/edit-text.js\":{\"title\":\"$:/core/modules/widgets/edit-text.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/edit-text.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEdit-text widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar editTextWidgetFactory = require(\\\"$:/core/modules/editor/factory.js\\\").editTextWidgetFactory,\\n\\tFramedEngine = require(\\\"$:/core/modules/editor/engines/framed.js\\\").FramedEngine,\\n\\tSimpleEngine = require(\\\"$:/core/modules/editor/engines/simple.js\\\").SimpleEngine;\\n\\nexports[\\\"edit-text\\\"] = editTextWidgetFactory(FramedEngine,SimpleEngine);\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/edit.js\":{\"title\":\"$:/core/modules/widgets/edit.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/edit.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEdit widget is a meta-widget chooses the appropriate actual editting widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EditWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEditWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEditWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n// Mappings from content type to editor type are stored in tiddlers with this prefix\\nvar EDITOR_MAPPING_PREFIX = \\\"$:/config/EditorTypeMappings/\\\";\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEditWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.editTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.editField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\tthis.editIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.editClass = this.getAttribute(\\\"class\\\");\\n\\tthis.editPlaceholder = this.getAttribute(\\\"placeholder\\\");\\n\\tthis.editTabIndex = this.getAttribute(\\\"tabindex\\\");\\n\\tthis.editFocus = this.getAttribute(\\\"focus\\\",\\\"\\\");\\n\\tthis.editCancelPopups = this.getAttribute(\\\"cancelPopups\\\",\\\"\\\");\\n\\tthis.editInputActions = this.getAttribute(\\\"inputActions\\\");\\n\\tthis.editRefreshTitle = this.getAttribute(\\\"refreshTitle\\\");\\n\\tthis.editAutoComplete = this.getAttribute(\\\"autocomplete\\\");\\n\\t// Choose the appropriate edit widget\\n\\tthis.editorType = this.getEditorType();\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets([{\\n\\t\\ttype: \\\"edit-\\\" + this.editorType,\\n\\t\\tattributes: this.parseTreeNode.attributes,\\n\\t\\tchildren: this.parseTreeNode.children\\n\\t}]);\\n};\\n\\nEditWidget.prototype.getEditorType = function() {\\n\\t// Get the content type of the thing we're editing\\n\\tvar type;\\n\\tif(this.editField === \\\"text\\\") {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.editTitle);\\n\\t\\tif(tiddler) {\\n\\t\\t\\ttype = tiddler.fields.type;\\n\\t\\t}\\n\\t}\\n\\ttype = type || \\\"text/vnd.tiddlywiki\\\";\\n\\tvar editorType = this.wiki.getTiddlerText(EDITOR_MAPPING_PREFIX + type);\\n\\tif(!editorType) {\\n\\t\\tvar typeInfo = $tw.config.contentTypeInfo[type];\\n\\t\\tif(typeInfo && typeInfo.encoding === \\\"base64\\\") {\\n\\t\\t\\teditorType = \\\"binary\\\";\\n\\t\\t} else {\\n\\t\\t\\teditorType = \\\"text\\\";\\n\\t\\t}\\n\\t}\\n\\treturn editorType;\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nEditWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\t// Refresh if an attribute has changed, or the type associated with the target tiddler has changed\\n\\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.tabindex || changedAttributes.cancelPopups || changedAttributes.inputActions || changedAttributes.refreshTitle || changedAttributes.autocomplete || (changedTiddlers[this.editTitle] && this.getEditorType() !== this.editorType)) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.edit = EditWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/element.js\":{\"title\":\"$:/core/modules/widgets/element.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/element.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nElement widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ElementWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nElementWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nElementWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\t// Neuter blacklisted elements\\n\\tthis.tag = this.parseTreeNode.tag;\\n\\tif($tw.config.htmlUnsafeElements.indexOf(this.tag) !== -1) {\\n\\t\\tthis.tag = \\\"safe-\\\" + this.tag;\\n\\t}\\n\\t// Restrict tag name to digits, letts and dashes\\n\\tthis.tag = this.tag.replace(/[^0-9a-zA-Z\\\\-]/mg,\\\"\\\");\\n\\t// Default to a span\\n\\tthis.tag = this.tag || \\\"span\\\";\\n\\t// Adjust headings by the current base level\\n\\tvar headingLevel = [\\\"h1\\\",\\\"h2\\\",\\\"h3\\\",\\\"h4\\\",\\\"h5\\\",\\\"h6\\\"].indexOf(this.tag);\\n\\tif(headingLevel !== -1) {\\n\\t\\tvar baseLevel = parseInt(this.getVariable(\\\"tv-adjust-heading-level\\\",\\\"0\\\"),10) || 0;\\n\\t\\theadingLevel = Math.min(Math.max(headingLevel + 1 + baseLevel,1),6);\\n\\t\\tthis.tag = \\\"h\\\" + headingLevel;\\n\\t}\\n\\t// Select the namespace for the tag\\n\\tvar XHTML_NAMESPACE = \\\"http://www.w3.org/1999/xhtml\\\",\\n\\t\\ttagNamespaces = {\\n\\t\\t\\tsvg: \\\"http://www.w3.org/2000/svg\\\",\\n\\t\\t\\tmath: \\\"http://www.w3.org/1998/Math/MathML\\\",\\n\\t\\t\\tbody: XHTML_NAMESPACE\\n\\t\\t};\\n\\tthis.namespace = tagNamespaces[this.tag];\\n\\tif(this.namespace) {\\n\\t\\tthis.setVariable(\\\"namespace\\\",this.namespace);\\n\\t} else {\\n\\t\\tif(this.hasAttribute(\\\"xmlns\\\")) {\\n\\t\\t\\tthis.namespace = this.getAttribute(\\\"xmlns\\\");\\n\\t\\t\\tthis.setVariable(\\\"namespace\\\",this.namespace);\\n\\t\\t} else {\\n\\t\\t\\tthis.namespace = this.getVariable(\\\"namespace\\\",{defaultValue: XHTML_NAMESPACE});\\n\\t\\t}\\n\\t}\\n\\t// Invoke the th-rendering-element hook\\n\\tvar parseTreeNodes = $tw.hooks.invokeHook(\\\"th-rendering-element\\\",null,this);\\n\\tthis.isReplaced = !!parseTreeNodes;\\n\\tif(parseTreeNodes) {\\n\\t\\t// Use the parse tree nodes provided by the hook\\n\\t\\tthis.makeChildWidgets(parseTreeNodes);\\n\\t\\tthis.renderChildren(this.parentDomNode,null);\\n\\t\\treturn;\\n\\t}\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n\\t// Create the DOM node and render children\\n\\tvar domNode = this.document.createElementNS(this.namespace,this.tag);\\n\\tthis.assignAttributes(domNode,{excludeEventAttributes: true});\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nElementWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\thasChangedAttributes = $tw.utils.count(changedAttributes) > 0;\\n\\tif(hasChangedAttributes) {\\n\\t\\tif(!this.isReplaced) {\\n\\t\\t\\t// Update our attributes\\n\\t\\t\\tthis.assignAttributes(this.domNodes[0],{excludeEventAttributes: true});\\n\\t\\t} else {\\n\\t\\t\\t// If we were replaced then completely refresh ourselves\\n\\t\\t\\treturn this.refreshSelf();\\n\\t\\t}\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers) || hasChangedAttributes;\\n};\\n\\nexports.element = ElementWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/encrypt.js\":{\"title\":\"$:/core/modules/widgets/encrypt.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/encrypt.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEncrypt widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EncryptWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEncryptWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEncryptWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar textNode = this.document.createTextNode(this.encryptedText);\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEncryptWidget.prototype.execute = function() {\\n\\t// Get parameters from our attributes\\n\\tthis.filter = this.getAttribute(\\\"filter\\\",\\\"[!is[system]]\\\");\\n\\t// Encrypt the filtered tiddlers\\n\\tvar tiddlers = this.wiki.filterTiddlers(this.filter),\\n\\t\\tjson = {},\\n\\t\\tself = this;\\n\\t$tw.utils.each(tiddlers,function(title) {\\n\\t\\tvar tiddler = self.wiki.getTiddler(title),\\n\\t\\t\\tjsonTiddler = {};\\n\\t\\tfor(var f in tiddler.fields) {\\n\\t\\t\\tjsonTiddler[f] = tiddler.getFieldString(f);\\n\\t\\t}\\n\\t\\tjson[title] = jsonTiddler;\\n\\t});\\n\\tthis.encryptedText = $tw.utils.htmlEncode($tw.crypto.encrypt(JSON.stringify(json)));\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nEncryptWidget.prototype.refresh = function(changedTiddlers) {\\n\\t// We don't need to worry about refreshing because the encrypt widget isn't for interactive use\\n\\treturn false;\\n};\\n\\nexports.encrypt = EncryptWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/entity.js\":{\"title\":\"$:/core/modules/widgets/entity.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/entity.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nHTML entity widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EntityWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEntityWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEntityWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar entityString = this.getAttribute(\\\"entity\\\",this.parseTreeNode.entity || \\\"\\\"),\\n\\t\\ttextNode = this.document.createTextNode($tw.utils.entityDecode(entityString));\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEntityWidget.prototype.execute = function() {\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nEntityWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.entity) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.entity = EntityWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/error.js\":{\"title\":\"$:/core/modules/widgets/error.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/error.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nError widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ErrorWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nErrorWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nErrorWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar message = this.getAttribute(\\\"$message\\\",\\\"Unknown error\\\"),\\n\\t\\tdomNode = this.document.createElement(\\\"span\\\");\\n\\tdomNode.appendChild(this.document.createTextNode(message));\\n\\tdomNode.className = \\\"tc-error\\\";\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nErrorWidget.prototype.execute = function() {\\n\\t// Nothing to do for a text node\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nErrorWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$message\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.error = ErrorWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/eventcatcher.js\":{\"title\":\"$:/core/modules/widgets/eventcatcher.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/eventcatcher.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nEvent handler widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar EventWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nEventWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nEventWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create element\\n\\tvar tag = this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\";\\n\\tif(this.elementTag && $tw.config.htmlUnsafeElements.indexOf(this.elementTag) === -1) {\\n\\t\\ttag = this.elementTag;\\n\\t}\\n\\tvar domNode = this.document.createElement(tag);\\n\\tthis.domNode = domNode;\\n\\t// Assign classes\\n\\tthis.assignDomNodeClasses();\\n\\t// Add our event handler\\n\\t$tw.utils.each(this.types,function(type) {\\n\\t\\tdomNode.addEventListener(type,function(event) {\\n\\t\\t\\tvar selector = self.getAttribute(\\\"selector\\\"),\\n\\t\\t\\t\\tmatchSelector = self.getAttribute(\\\"matchSelector\\\"),\\n\\t\\t\\t\\tactions = self.getAttribute(\\\"$\\\"+type) || self.getAttribute(\\\"actions-\\\"+type),\\n\\t\\t\\t\\tstopPropagation = self.getAttribute(\\\"stopPropagation\\\",\\\"onaction\\\"),\\n\\t\\t\\t\\tselectedNode = event.target,\\n\\t\\t\\t\\tselectedNodeRect,\\n\\t\\t\\t\\tcatcherNodeRect,\\n\\t\\t\\t\\tvariables = {};\\n\\t\\t\\t// Firefox can fire dragover and dragenter events on text nodes instead of their parents\\n\\t\\t\\tif(selectedNode.nodeType === 3) {\\n\\t\\t\\t\\tselectedNode = selectedNode.parentNode;\\n\\t\\t\\t}\\n\\t\\t\\t// Check that the selected node matches any matchSelector\\n\\t\\t\\tif(matchSelector && !$tw.utils.domMatchesSelector(selectedNode,matchSelector)) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t\\tif(selector) {\\n\\t\\t\\t\\t// Search ancestors for a node that matches the selector\\n\\t\\t\\t\\twhile(!$tw.utils.domMatchesSelector(selectedNode,selector) && selectedNode !== domNode) {\\n\\t\\t\\t\\t\\tselectedNode = selectedNode.parentNode;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Exit if we didn't find one\\n\\t\\t\\t\\tif(selectedNode === domNode) {\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Only set up variables if we have actions to invoke\\n\\t\\t\\t\\tif(actions) {\\n\\t\\t\\t\\t\\tvariables = $tw.utils.collectDOMVariables(selectedNode,self.domNode,event);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// Execute our actions with the variables\\n\\t\\t\\tif(actions) {\\n\\t\\t\\t\\t// Add a variable for the modifier key\\n\\t\\t\\t\\tvariables.modifier = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\t\\t\\t// Add a variable for the mouse button\\n\\t\\t\\t\\tif(\\\"button\\\" in event) {\\n\\t\\t\\t\\t\\tif(event.button === 0) {\\n\\t\\t\\t\\t\\t\\tvariables[\\\"event-mousebutton\\\"] = \\\"left\\\";\\n\\t\\t\\t\\t\\t} else if(event.button === 1) {\\n\\t\\t\\t\\t\\t\\tvariables[\\\"event-mousebutton\\\"] = \\\"middle\\\";\\n\\t\\t\\t\\t\\t} else if(event.button === 2) {\\n\\t\\t\\t\\t\\t\\tvariables[\\\"event-mousebutton\\\"] = \\\"right\\\";\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvariables[\\\"event-type\\\"] = event.type.toString();\\n\\t\\t\\t\\tif(typeof event.detail === \\\"object\\\" && !!event.detail) {\\n\\t\\t\\t\\t\\t$tw.utils.each(event.detail,function(detailValue,detail) {\\n\\t\\t\\t\\t\\t\\tvariables[\\\"event-detail-\\\" + detail] = detailValue.toString();\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t} else if(!!event.detail) {\\n\\t\\t\\t\\t\\tvariables[\\\"event-detail\\\"] = event.detail.toString();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tself.invokeActionString(actions,self,event,variables);\\n\\t\\t\\t}\\n\\t\\t\\tif((actions && stopPropagation === \\\"onaction\\\") || stopPropagation === \\\"always\\\") {\\n\\t\\t\\t\\tevent.preventDefault();\\n\\t\\t\\t\\tevent.stopPropagation();\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t\\treturn false;\\n\\t\\t},false);\\n\\t});\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nEventWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\t// Get attributes that require a refresh on change\\n\\tthis.types = [];\\n\\t$tw.utils.each(this.attributes,function(value,key) {\\n\\t\\tif(key.charAt(0) === \\\"$\\\") {\\n\\t\\t\\tself.types.push(key.slice(1));\\n\\t\\t}\\n\\t});\\n\\tif(!this.types.length) {\\n\\t\\tthis.types = this.getAttribute(\\\"events\\\",\\\"\\\").split(\\\" \\\");\\n\\t}\\n\\tthis.elementTag = this.getAttribute(\\\"tag\\\");\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\nEventWidget.prototype.assignDomNodeClasses = function() {\\n\\tvar classes = this.getAttribute(\\\"class\\\",\\\"\\\").split(\\\" \\\");\\n\\tclasses.push(\\\"tc-eventcatcher\\\");\\n\\tthis.domNode.className = classes.join(\\\" \\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nEventWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\tchangedAttributesCount = $tw.utils.count(changedAttributes);\\n\\tif(changedAttributesCount === 1 && changedAttributes[\\\"class\\\"]) {\\n\\t\\tthis.assignDomNodeClasses();\\n\\t} else if(changedAttributesCount > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.eventcatcher = EventWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/fieldmangler.js\":{\"title\":\"$:/core/modules/widgets/fieldmangler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/fieldmangler.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nField mangler widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar FieldManglerWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nFieldManglerWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nFieldManglerWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.addEventListeners([\\n\\t\\t{type: \\\"tm-remove-field\\\", handler: \\\"handleRemoveFieldEvent\\\"},\\n\\t\\t{type: \\\"tm-add-field\\\", handler: \\\"handleAddFieldEvent\\\"},\\n\\t\\t{type: \\\"tm-remove-tag\\\", handler: \\\"handleRemoveTagEvent\\\"},\\n\\t\\t{type: \\\"tm-add-tag\\\", handler: \\\"handleAddTagEvent\\\"}\\n\\t]);\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nFieldManglerWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.mangleTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nFieldManglerWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tiddler) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nFieldManglerWidget.prototype.handleRemoveFieldEvent = function(event) {\\n\\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\\n\\t\\tdeletion = {};\\n\\tdeletion[event.param] = undefined;\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,deletion));\\n\\treturn false;\\n};\\n\\nFieldManglerWidget.prototype.handleAddFieldEvent = function(event) {\\n\\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\\n\\t\\taddition = this.wiki.getModificationFields(),\\n\\t\\taddField = function(name,value) {\\n\\t\\t\\tvar trimmedName = name.trim();\\n\\t\\t\\tif(!value && tiddler) {\\n\\t\\t\\t\\tvalue = tiddler.fields[trimmedName];\\n\\t\\t\\t}\\n\\t\\t\\taddition[trimmedName] = value || \\\"\\\";\\n\\t\\t\\treturn;\\n\\t\\t};\\n\\taddition.title = this.mangleTitle;\\n\\tif(typeof event.param === \\\"string\\\") {\\n\\t\\taddField(event.param,\\\"\\\");\\n\\t}\\n\\tif(typeof event.paramObject === \\\"object\\\") {\\n\\t\\tfor(var name in event.paramObject) {\\n\\t\\t\\taddField(name,event.paramObject[name]);\\n\\t\\t}\\n\\t}\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,addition));\\n\\treturn false;\\n};\\n\\nFieldManglerWidget.prototype.handleRemoveTagEvent = function(event) {\\n\\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\\n\\t\\tmodification = this.wiki.getModificationFields();\\n\\tif(tiddler && tiddler.fields.tags) {\\n\\t\\tvar p = tiddler.fields.tags.indexOf(event.param);\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tmodification.tags = (tiddler.fields.tags || []).slice(0);\\n\\t\\t\\tmodification.tags.splice(p,1);\\n\\t\\t\\tif(modification.tags.length === 0) {\\n\\t\\t\\t\\tmodification.tags = undefined;\\n\\t\\t\\t}\\n\\t\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,modification));\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\nFieldManglerWidget.prototype.handleAddTagEvent = function(event) {\\n\\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\\n\\t\\tmodification = this.wiki.getModificationFields();\\n\\tif(tiddler && typeof event.param === \\\"string\\\") {\\n\\t\\tvar tag = event.param.trim();\\n\\t\\tif(tag !== \\\"\\\") {\\n\\t\\t\\tmodification.tags = (tiddler.fields.tags || []).slice(0);\\n\\t\\t\\t$tw.utils.pushTop(modification.tags,tag);\\n\\t\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,modification));\\n\\t\\t}\\n\\t} else if(typeof event.param === \\\"string\\\" && event.param.trim() !== \\\"\\\" && this.mangleTitle.trim() !== \\\"\\\") {\\n\\t\\tvar tag = [];\\n\\t\\ttag.push(event.param.trim());\\n\\t\\tthis.wiki.addTiddler(new $tw.Tiddler({title: this.mangleTitle, tags: tag},modification));\\n\\t}\\n\\treturn false;\\n};\\n\\nexports.fieldmangler = FieldManglerWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/fields.js\":{\"title\":\"$:/core/modules/widgets/fields.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/fields.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nFields widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar FieldsWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nFieldsWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nFieldsWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar textNode = this.document.createTextNode(this.text);\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nFieldsWidget.prototype.execute = function() {\\n\\t// Get parameters from our attributes\\n\\tthis.tiddlerTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.template = this.getAttribute(\\\"template\\\");\\n\\tthis.sort = this.getAttribute(\\\"sort\\\",\\\"yes\\\") === \\\"yes\\\";\\n\\tthis.sortReverse = this.getAttribute(\\\"sortReverse\\\",\\\"no\\\") === \\\"yes\\\";\\n\\tthis.exclude = this.getAttribute(\\\"exclude\\\");\\n\\tthis.include = this.getAttribute(\\\"include\\\",null);\\n\\tthis.stripTitlePrefix = this.getAttribute(\\\"stripTitlePrefix\\\",\\\"no\\\") === \\\"yes\\\";\\n\\t// Get the value to display\\n\\tvar tiddler = this.wiki.getTiddler(this.tiddlerTitle);\\n\\n\\t// Get the inclusion and exclusion list\\n\\tvar excludeArr = (this.exclude) ? this.exclude.split(\\\" \\\") : [\\\"text\\\"];\\n\\t// Include takes precedence\\n\\tvar includeArr = (this.include) ? this.include.split(\\\" \\\") : null;\\n\\n\\t// Compose the template\\n\\tvar text = [];\\n\\tif(this.template && tiddler) {\\n\\t\\tvar fields = [];\\n\\t\\tif (includeArr) { // Include takes precedence\\n\\t\\t\\tfor(var i=0; i\u003CincludeArr.length; i++) {\\n\\t\\t\\t\\tif(tiddler.fields[includeArr[i]]) {\\n\\t\\t\\t\\t\\tfields.push(includeArr[i]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tfor(var fieldName in tiddler.fields) {\\n\\t\\t\\t\\tif(excludeArr.indexOf(fieldName) === -1) {\\n\\t\\t\\t\\t\\tfields.push(fieldName);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (this.sort) fields.sort();\\n\\t\\tif (this.sortReverse) fields.reverse();\\n\\t\\tfor(var f=0, fmax=fields.length; f\u003Cfmax; f++) {\\n\\t\\t\\tfieldName = fields[f];\\n\\t\\t\\tvar row = this.template,\\n\\t\\t\\t\\tvalue = tiddler.getFieldString(fieldName);\\n\\t\\t\\tif(this.stripTitlePrefix && fieldName === \\\"title\\\") {\\n\\t\\t\\t\\tvar reStrip = /^\\\\{[^\\\\}]+\\\\}(.+)/mg,\\n\\t\\t\\t\\t\\treMatch = reStrip.exec(value);\\n\\t\\t\\t\\tif(reMatch) {\\n\\t\\t\\t\\t\\tvalue = reMatch[1];\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\trow = $tw.utils.replaceString(row,\\\"$name$\\\",fieldName);\\n\\t\\t\\trow = $tw.utils.replaceString(row,\\\"$value$\\\",value);\\n\\t\\t\\trow = $tw.utils.replaceString(row,\\\"$encoded_value$\\\",$tw.utils.htmlEncode(value));\\n\\t\\t\\ttext.push(row);\\n\\t\\t}\\n\\t}\\n\\tthis.text = text.join(\\\"\\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nFieldsWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif( changedAttributes.tiddler || changedAttributes.template || changedAttributes.exclude ||\\n\\t\\tchangedAttributes.include || changedAttributes.sort || changedAttributes.sortReverse ||\\n\\t\\tchangedTiddlers[this.tiddlerTitle] || changedAttributes.stripTitlePrefix) {\\n\\t\\t\\tthis.refreshSelf();\\n\\t\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.fields = FieldsWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/fill.js\":{\"title\":\"$:/core/modules/widgets/fill.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/fill.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nSub-widget used by the transclude widget for specifying values for slots within transcluded content. It doesn't do anything by itself because the transclude widget only ever deals with the parse tree nodes, and doesn't instantiate the widget itself\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar FillWidget = function(parseTreeNode,options) {\\n\\t// Initialise\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nFillWidget.prototype = new Widget();\\n\\nexports.fill = FillWidget;\\n\\n})();\\n\\t\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/genesis.js\":{\"title\":\"$:/core/modules/widgets/genesis.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/genesis.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nGenesis widget for dynamically creating widgets\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar GenesisWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nGenesisWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nGenesisWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes({filterFn: function(name) {\\n\\t\\t// Only compute our own attributes which start with a single dollar\\n\\t\\treturn name.charAt(0) === \\\"$\\\" && name.charAt(1) !== \\\"$\\\";\\n\\t}});\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nGenesisWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\t// Collect attributes\\n\\tthis.genesisType = this.getAttribute(\\\"$type\\\");\\n\\tthis.genesisRemappable = this.getAttribute(\\\"$remappable\\\",\\\"yes\\\") === \\\"yes\\\";\\n\\tthis.genesisNames = this.getAttribute(\\\"$names\\\",\\\"\\\");\\n\\tthis.genesisValues = this.getAttribute(\\\"$values\\\",\\\"\\\");\\n\\tthis.genesisIsBlock = this.getAttribute(\\\"$mode\\\",this.parseTreeNode.isBlock && \\\"block\\\") === \\\"block\\\";\\n\\t// Do not create a child widget if the $type attribute is missing or blank\\n\\tif(!this.genesisType) {\\n\\t\\tthis.makeChildWidgets(this.parseTreeNode.children);\\n\\t\\treturn;\\n\\t}\\n\\t// Construct parse tree\\n\\tvar isElementWidget = this.genesisType.charAt(0) !== \\\"$\\\",\\n\\t\\tnodeType = isElementWidget ? \\\"element\\\" : this.genesisType.substr(1),\\n\\t\\tnodeTag = isElementWidget ? this.genesisType : undefined;\\n\\tvar parseTreeNodes = [{\\n\\t\\ttype: nodeType,\\n\\t\\ttag: nodeTag,\\n\\t\\tattributes: {},\\n\\t\\torderedAttributes: [],\\n\\t\\tisBlock: this.genesisIsBlock,\\n\\t\\tchildren: this.parseTreeNode.children || [],\\n\\t\\tisNotRemappable: !this.genesisRemappable\\n\\t}];\\n\\t// Apply explicit attributes\\n\\t$tw.utils.each($tw.utils.getOrderedAttributesFromParseTreeNode(this.parseTreeNode),function(attribute) {\\n\\t\\tvar name = attribute.name;\\n\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\tif(name.charAt(1) === \\\"$\\\") {\\n\\t\\t\\t\\t// Double $$ is changed to a single $\\n\\t\\t\\t\\tname = name.substr(1);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Single dollar is ignored\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],$tw.utils.extend({},attribute,{name: name}));\\n\\t});\\n\\t// Apply attributes in $names/$values\\n\\tthis.attributeNames = [];\\n\\tthis.attributeValues = [];\\n\\tif(this.genesisNames && this.genesisValues) {\\n\\t\\tthis.attributeNames = this.wiki.filterTiddlers(self.genesisNames,this);\\n\\t\\tthis.attributeValues = this.wiki.filterTiddlers(self.genesisValues,this);\\n\\t\\t$tw.utils.each(this.attributeNames,function(varname,index) {\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],varname,self.attributeValues[index] || \\\"\\\");\\n\\t\\t});\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets(parseTreeNodes);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nGenesisWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\tfilterNames = this.getAttribute(\\\"$names\\\",\\\"\\\"),\\n\\t\\tfilterValues = this.getAttribute(\\\"$values\\\",\\\"\\\"),\\n\\t\\tattributeNames = this.wiki.filterTiddlers(filterNames,this),\\n\\t\\tattributeValues = this.wiki.filterTiddlers(filterValues,this);\\n\\tif($tw.utils.count(changedAttributes) > 0 || !$tw.utils.isArrayEqual(this.attributeNames,attributeNames) || !$tw.utils.isArrayEqual(this.attributeValues,attributeValues)) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.genesis = GenesisWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/image.js\":{\"title\":\"$:/core/modules/widgets/image.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/image.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nThe image widget displays an image referenced with an external URI or with a local tiddler title.\\n\\n```\\n\u003C$image src=\\\"TiddlerTitle\\\" width=\\\"320\\\" height=\\\"400\\\" class=\\\"classnames\\\">\\n```\\n\\nThe image source can be the title of an existing tiddler or the URL of an external image.\\n\\nExternal images always generate an HTML `\u003Cimg>` tag.\\n\\nTiddlers that have a _canonical_uri field generate an HTML `\u003Cimg>` tag with the src attribute containing the URI.\\n\\nTiddlers that contain image data generate an HTML `\u003Cimg>` tag with the src attribute containing a base64 representation of the image.\\n\\nTiddlers that contain wikitext could be rendered to a DIV of the usual size of a tiddler, and then transformed to the size requested.\\n\\nThe width and height attributes are interpreted as a number of pixels, and do not need to include the \\\"px\\\" suffix.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ImageWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nImageWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nImageWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create element\\n\\t// Determine what type of image it is\\n\\tvar tag = \\\"img\\\", src = \\\"\\\",\\n\\t\\ttiddler = this.wiki.getTiddler(this.imageSource);\\n\\tif(!tiddler) {\\n\\t\\t// The source isn't the title of a tiddler, so we'll assume it's a URL\\n\\t\\tsrc = this.getVariable(\\\"tv-get-export-image-link\\\",{params: [{name: \\\"src\\\",value: this.imageSource}],defaultValue: this.imageSource});\\n\\t} else {\\n\\t\\t// Check if it is an image tiddler\\n\\t\\tif(this.wiki.isImageTiddler(this.imageSource)) {\\n\\t\\t\\tvar type = tiddler.fields.type,\\n\\t\\t\\t\\ttext = tiddler.fields.text,\\n\\t\\t\\t\\t_canonical_uri = tiddler.fields._canonical_uri;\\n\\t\\t\\t// If the tiddler has body text then it doesn't need to be lazily loaded\\n\\t\\t\\tif(text) {\\n\\t\\t\\t\\t// Render the appropriate element for the image type\\n\\t\\t\\t\\tswitch(type) {\\n\\t\\t\\t\\t\\tcase \\\"application/pdf\\\":\\n\\t\\t\\t\\t\\t\\ttag = \\\"embed\\\";\\n\\t\\t\\t\\t\\t\\tsrc = \\\"data:application/pdf;base64,\\\" + text;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tcase \\\"image/svg+xml\\\":\\n\\t\\t\\t\\t\\t\\tsrc = \\\"data:image/svg+xml,\\\" + encodeURIComponent(text);\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tdefault:\\n\\t\\t\\t\\t\\t\\tsrc = \\\"data:\\\" + type + \\\";base64,\\\" + text;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else if(_canonical_uri) {\\n\\t\\t\\t\\tswitch(type) {\\n\\t\\t\\t\\t\\tcase \\\"application/pdf\\\":\\n\\t\\t\\t\\t\\t\\ttag = \\\"embed\\\";\\n\\t\\t\\t\\t\\t\\tsrc = _canonical_uri;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tcase \\\"image/svg+xml\\\":\\n\\t\\t\\t\\t\\t\\tsrc = _canonical_uri;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tdefault:\\n\\t\\t\\t\\t\\t\\tsrc = _canonical_uri;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Just trigger loading of the tiddler\\n\\t\\t\\t\\tthis.wiki.getTiddlerText(this.imageSource);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Create the element and assign the attributes\\n\\tvar domNode = this.document.createElement(tag);\\n\\tdomNode.setAttribute(\\\"src\\\",src);\\n\\tif(this.imageClass) {\\n\\t\\tdomNode.setAttribute(\\\"class\\\",this.imageClass);\\n\\t}\\n\\tif(this.imageWidth) {\\n\\t\\tdomNode.setAttribute(\\\"width\\\",this.imageWidth);\\n\\t}\\n\\tif(this.imageHeight) {\\n\\t\\tdomNode.setAttribute(\\\"height\\\",this.imageHeight);\\n\\t}\\n\\tif(this.imageTooltip) {\\n\\t\\tdomNode.setAttribute(\\\"title\\\",this.imageTooltip);\\n\\t}\\n\\tif(this.imageAlt) {\\n\\t\\tdomNode.setAttribute(\\\"alt\\\",this.imageAlt);\\n\\t}\\n\\tif(this.lazyLoading && tag === \\\"img\\\") {\\n\\t\\tdomNode.setAttribute(\\\"loading\\\",this.lazyLoading);\\n\\t}\\n\\t// Add classes when the image loads or fails\\n\\t$tw.utils.addClass(domNode,\\\"tc-image-loading\\\");\\n\\tdomNode.addEventListener(\\\"load\\\",function() {\\n\\t\\t$tw.utils.removeClass(domNode,\\\"tc-image-loading\\\");\\n\\t\\t$tw.utils.addClass(domNode,\\\"tc-image-loaded\\\");\\n\\t},false);\\n\\tdomNode.addEventListener(\\\"error\\\",function() {\\n\\t\\t$tw.utils.removeClass(domNode,\\\"tc-image-loading\\\");\\n\\t\\t$tw.utils.addClass(domNode,\\\"tc-image-error\\\");\\n\\t},false);\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nImageWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.imageSource = this.getAttribute(\\\"source\\\");\\n\\tthis.imageWidth = this.getAttribute(\\\"width\\\");\\n\\tthis.imageHeight = this.getAttribute(\\\"height\\\");\\n\\tthis.imageClass = this.getAttribute(\\\"class\\\");\\n\\tthis.imageTooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis.imageAlt = this.getAttribute(\\\"alt\\\");\\n\\tthis.lazyLoading = this.getAttribute(\\\"loading\\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nImageWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.source || changedAttributes.width || changedAttributes.height || changedAttributes[\\\"class\\\"] || changedAttributes.tooltip || changedTiddlers[this.imageSource]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.image = ImageWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/importvariables.js\":{\"title\":\"$:/core/modules/widgets/importvariables.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/importvariables.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nImport variable definitions from other tiddlers\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ImportVariablesWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nImportVariablesWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nImportVariablesWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nImportVariablesWidget.prototype.execute = function(tiddlerList) {\\n\\tvar widgetPointer = this;\\n\\t// Got to flush all the accumulated variables\\n\\tthis.variables = Object.create(null);\\n\\tif(this.parentWidget) {\\n\\t\\tObject.setPrototypeOf(this.variables,this.parentWidget.variables);\\n\\t}\\n\\t// Get our parameters\\n\\tthis.filter = this.getAttribute(\\\"filter\\\");\\n\\t// Compute the filter\\n\\tthis.tiddlerList = tiddlerList || this.wiki.filterTiddlers(this.filter,this);\\n\\t// Accumulate the \u003C$set> widgets from each tiddler\\n\\t$tw.utils.each(this.tiddlerList,function(title) {\\n\\t\\tvar parser = widgetPointer.wiki.parseTiddler(title,{parseAsInline:true, configTrimWhiteSpace:true});\\n\\t\\tif(parser) {\\n\\t\\t\\tvar parseTreeNode = parser.tree[0];\\n\\t\\t\\twhile(parseTreeNode && [\\\"setvariable\\\",\\\"set\\\",\\\"parameters\\\"].indexOf(parseTreeNode.type) !== -1) {\\n\\t\\t\\t\\tvar node = {\\n\\t\\t\\t\\t\\ttype: \\\"set\\\",\\n\\t\\t\\t\\t\\tattributes: parseTreeNode.attributes,\\n\\t\\t\\t\\t\\tparams: parseTreeNode.params,\\n\\t\\t\\t\\t\\tisMacroDefinition: parseTreeNode.isMacroDefinition,\\n\\t\\t\\t\\t\\tisFunctionDefinition: parseTreeNode.isFunctionDefinition,\\n\\t\\t\\t\\t\\tisProcedureDefinition: parseTreeNode.isProcedureDefinition,\\n\\t\\t\\t\\t\\tisWidgetDefinition: parseTreeNode.isWidgetDefinition,\\n\\t\\t\\t\\t\\tconfigTrimWhiteSpace: parseTreeNode.configTrimWhiteSpace\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\tif(parseTreeNode.type === \\\"set\\\" || parseTreeNode.type === \\\"setvariable\\\") {\\n\\t\\t\\t\\t\\tif(parseTreeNode.isMacroDefinition || parseTreeNode.isProcedureDefinition || parseTreeNode.isWidgetDefinition || parseTreeNode.isFunctionDefinition) {\\n\\t\\t\\t\\t\\t\\t// Macro definitions can be folded into\\n\\t\\t\\t\\t\\t\\t// current widget instead of adding\\n\\t\\t\\t\\t\\t\\t// another link to the chain.\\n\\t\\t\\t\\t\\t\\tvar widget = widgetPointer.makeChildWidget(node);\\n\\t\\t\\t\\t\\t\\twidget.computeAttributes();\\n\\t\\t\\t\\t\\t\\twidget.execute();\\n\\t\\t\\t\\t\\t\\t// We SHALLOW copy over all variables\\n\\t\\t\\t\\t\\t\\t// in widget. We can't use\\n\\t\\t\\t\\t\\t\\t// $tw.utils.assign, because that copies\\n\\t\\t\\t\\t\\t\\t// up the prototype chain, which we\\n\\t\\t\\t\\t\\t\\t// don't want.\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(Object.keys(widget.variables), function(key) {\\n\\t\\t\\t\\t\\t\\t\\twidgetPointer.variables[key] = widget.variables[key];\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\twidgetPointer.children = [widgetPointer.makeChildWidget(node)];\\n\\t\\t\\t\\t\\t\\t// No more regenerating children for\\n\\t\\t\\t\\t\\t\\t// this widget. If it needs to refresh,\\n\\t\\t\\t\\t\\t\\t// it'll do so along with the the whole\\n\\t\\t\\t\\t\\t\\t// importvariable tree.\\n\\t\\t\\t\\t\\t\\tif (widgetPointer != this) {\\n\\t\\t\\t\\t\\t\\t\\twidgetPointer.makeChildWidgets = function(){};\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\twidgetPointer = widgetPointer.children[0];\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tparseTreeNode = parseTreeNode.children && parseTreeNode.children[0];\\n\\t\\t\\t}\\n\\t\\t} \\n\\t});\\n\\n\\tif (widgetPointer != this) {\\n\\t\\twidgetPointer.parseTreeNode.children = this.parseTreeNode.children;\\n\\t} else {\\n\\t\\twidgetPointer.makeChildWidgets();\\n\\t}\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nImportVariablesWidget.prototype.refresh = function(changedTiddlers) {\\n\\t// Recompute our attributes and the filter list\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\ttiddlerList = this.wiki.filterTiddlers(this.getAttribute(\\\"filter\\\"),this);\\n\\t// Refresh if the filter has changed, or the list of tiddlers has changed, or any of the tiddlers in the list has changed\\n\\tfunction haveListedTiddlersChanged() {\\n\\t\\tvar changed = false;\\n\\t\\ttiddlerList.forEach(function(title) {\\n\\t\\t\\tif(changedTiddlers[title]) {\\n\\t\\t\\t\\tchanged = true;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn changed;\\n\\t}\\n\\tif(changedAttributes.filter || !$tw.utils.isArrayEqual(this.tiddlerList,tiddlerList) || haveListedTiddlersChanged()) {\\n\\t\\t// Compute the filter\\n\\t\\tthis.removeChildDomNodes();\\n\\t\\tthis.execute(tiddlerList);\\n\\t\\tthis.renderChildren(this.parentDomNode,this.findNextSiblingDomNode());\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.importvariables = ImportVariablesWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/jsontiddler.js\":{\"title\":\"$:/core/modules/widgets/jsontiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/jsontiddler.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nRender a tiddler as JSON text\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar JSONTiddlerWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nJSONTiddlerWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nJSONTiddlerWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Collect the fields from the optional base tiddler\\n\\tvar fields = this.getTiddlerFields();\\n\\t// Add custom fields specified in attributes starting with $\\n\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\tfields[name.slice(1)] = attribute;\\n\\t\\t}\\n\\t});\\n\\t// JSONify\\n\\tvar json = JSON.stringify(fields);\\n\\t// Escape unsafe script characters\\n\\tif(this.attEscapeUnsafeScriptChars) {\\n\\t\\tjson = json.replace(/\u003C/g,\\\"\\\\\\\\u003C\\\");\\n\\t}\\n\\t// Update the DOM\\n\\tvar textNode = this.document.createTextNode(json);\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nJSONTiddlerWidget.prototype.execute = function() {\\n\\tthis.attTiddler = this.getAttribute(\\\"tiddler\\\");\\n\\tthis.attExclude = this.getAttribute(\\\"exclude\\\",\\\"\\\");\\n\\tthis.attEscapeUnsafeScriptChars = this.getAttribute(\\\"escapeUnsafeScriptChars\\\",\\\"no\\\") === \\\"yes\\\";\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nJSONTiddlerWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0 || (this.attTiddler && changedTiddlers[this.attTiddler])) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nJSONTiddlerWidget.prototype.getTiddlerFields = function() {\\n\\tvar fields = {};\\n\\tif(this.attTiddler) {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.attTiddler);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tfields = tiddler.getFieldStrings({exclude: this.attExclude.split(\\\" \\\")});\\n\\t\\t} else {\\n\\t\\t\\tfields = {title: this.attTiddler};\\n\\t\\t}\\n\\t}\\n\\treturn fields;\\n};\\n\\nexports.jsontiddler = JSONTiddlerWidget;\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/keyboard.js\":{\"title\":\"$:/core/modules/widgets/keyboard.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/keyboard.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nKeyboard shortcut widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar KeyboardWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nKeyboardWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nKeyboardWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar tag = this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\";\\n\\tif(this.tag && $tw.config.htmlUnsafeElements.indexOf(this.tag) === -1) {\\n\\t\\ttag = this.tag;\\n\\t}\\n\\t// Create element\\n\\tvar domNode = this.document.createElement(tag);\\n\\t// Assign classes\\n\\tthis.domNode = domNode;\\n\\tthis.assignDomNodeClasses();\\n\\t// Add a keyboard event handler\\n\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t{name: \\\"keydown\\\", handlerObject: this, handlerMethod: \\\"handleChangeEvent\\\"}\\n\\t]);\\n\\t// Insert element\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\nKeyboardWidget.prototype.handleChangeEvent = function(event) {\\n\\tif ($tw.keyboardManager.handleKeydownEvent(event, {onlyPriority: true})) {\\n\\t\\treturn true;\\n\\t}\\n\\n\\tvar keyInfo = $tw.keyboardManager.getMatchingKeyDescriptor(event,this.keyInfoArray);\\n\\tif(keyInfo) {\\n\\t\\tvar handled = this.invokeActions(this,event);\\n\\t\\tif(this.actions) {\\n\\t\\t\\tvar variables = {\\n\\t\\t\\t\\t\\t\\\"event-key\\\": event.key,\\n\\t\\t\\t\\t\\t\\\"event-code\\\": event.code,\\n\\t\\t\\t\\t\\t\\\"modifier\\\": $tw.keyboardManager.getEventModifierKeyDescriptor(event)\\n\\t\\t\\t\\t};\\n\\t\\t\\tif(keyInfo.keyDescriptor) {\\n\\t\\t\\t\\tvariables[\\\"event-key-descriptor\\\"] = keyInfo.keyDescriptor;\\n\\t\\t\\t}\\n\\t\\t\\tthis.invokeActionString(this.actions,this,event,variables);\\n\\t\\t}\\n\\t\\tthis.dispatchMessage(event);\\n\\t\\tif(handled || this.actions || this.message) {\\n\\t\\t\\tevent.preventDefault();\\n\\t\\t\\tevent.stopPropagation();\\n\\t\\t}\\n\\t\\treturn true;\\n\\t}\\n\\treturn false;\\n}\\n\\nKeyboardWidget.prototype.dispatchMessage = function(event) {\\n\\tthis.dispatchEvent({type: this.message, param: this.param, tiddlerTitle: this.getVariable(\\\"currentTiddler\\\")});\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nKeyboardWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\t// Get attributes\\n\\tthis.actions = this.getAttribute(\\\"actions\\\",\\\"\\\");\\n\\tthis.message = this.getAttribute(\\\"message\\\",\\\"\\\");\\n\\tthis.param = this.getAttribute(\\\"param\\\",\\\"\\\");\\n\\tthis.key = this.getAttribute(\\\"key\\\",\\\"\\\");\\n\\tthis.tag = this.getAttribute(\\\"tag\\\",\\\"\\\");\\n\\tthis.keyInfoArray = $tw.keyboardManager.parseKeyDescriptors(this.key);\\n\\tif(this.key.substr(0,2) === \\\"((\\\" && this.key.substr(-2,2) === \\\"))\\\") {\\n\\t\\tthis.shortcutTiddlers = [];\\n\\t\\tvar name = this.key.substring(2,this.key.length -2);\\n\\t\\t$tw.utils.each($tw.keyboardManager.lookupNames,function(platformDescriptor) {\\n\\t\\t\\tself.shortcutTiddlers.push(\\\"$:/config/\\\" + platformDescriptor + \\\"/\\\" + name);\\n\\t\\t});\\n\\t}\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\nKeyboardWidget.prototype.assignDomNodeClasses = function() {\\n\\tvar classes = this.getAttribute(\\\"class\\\",\\\"\\\").split(\\\" \\\");\\n\\tclasses.push(\\\"tc-keyboard\\\");\\n\\tthis.domNode.className = classes.join(\\\" \\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nKeyboardWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.message || changedAttributes.param || changedAttributes.key || changedAttributes.tag) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else if(changedAttributes[\\\"class\\\"]) {\\n\\t\\tthis.assignDomNodeClasses();\\n\\t}\\n\\t// Update the keyInfoArray if one of its shortcut-config-tiddlers has changed\\n\\tif(this.shortcutTiddlers && $tw.utils.hopArray(changedTiddlers,this.shortcutTiddlers)) {\\n\\t\\tthis.keyInfoArray = $tw.keyboardManager.parseKeyDescriptors(this.key);\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.keyboard = KeyboardWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/let.js\":{\"title\":\"$:/core/modules/widgets/let.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/let.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nThis widget allows defining multiple variables at once, while allowing\\nthe later variables to depend upon the earlier ones.\\n\\n```\\n\\\\define helloworld() Hello world!\\n\u003C$let currentTiddler=\\\"target\\\" value={{!!value}} currentTiddler=\\\"different\\\">\\n {{!!value}} will be different from \u003C\u003Cvalue>>\\n\u003C/$let>\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar LetWidget = function(parseTreeNode,options) {\\n\\t// Initialise\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nLetWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nLetWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\nLetWidget.prototype.computeAttributes = function() {\\n\\t// Before computing attributes, we must make clear that none of the\\n\\t// existing attributes are staged for lookup, even on a refresh\\n\\tvar changedAttributes = {},\\n\\t\\tself = this;\\n\\tthis.currentValueFor = Object.create(null);\\n\\t$tw.utils.each($tw.utils.getOrderedAttributesFromParseTreeNode(this.parseTreeNode),function(attribute) {\\n\\t\\tvar value = self.computeAttribute(attribute),\\n\\t\\t\\tname = attribute.name;\\n\\t\\t// Now that it's prepped, we're allowed to look this variable up\\n\\t\\t// when defining later variables\\n\\t\\tif(value !== undefined) {\\n\\t\\t\\tself.currentValueFor[name] = value;\\n\\t\\t}\\n\\t});\\n\\t// Run through again, setting variables and looking for differences\\n\\t$tw.utils.each(this.currentValueFor,function(value,name) {\\n\\t\\tif (self.attributes[name] !== value) {\\n\\t\\t\\tself.attributes[name] = value;\\n\\t\\t\\tself.setVariable(name,value);\\n\\t\\t\\tchangedAttributes[name] = true;\\n\\t\\t}\\n\\t});\\n\\treturn changedAttributes;\\n};\\n\\nLetWidget.prototype.getVariableInfo = function(name,options) {\\n\\t// Special handling: If this variable exists in this very $let, we can\\n\\t// use it, but only if it's been staged.\\n\\tif ($tw.utils.hop(this.currentValueFor,name)) {\\n\\t\\treturn {\\n\\t\\t\\ttext: this.currentValueFor[name]\\n\\t\\t};\\n\\t}\\n\\treturn Widget.prototype.getVariableInfo.call(this,name,options);\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nLetWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports[\\\"let\\\"] = LetWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/link.js\":{\"title\":\"$:/core/modules/widgets/link.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/link.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nLink widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar LinkWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nLinkWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nLinkWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Get the value of the tv-wikilinks configuration macro\\n\\tvar wikiLinksMacro = this.getVariable(\\\"tv-wikilinks\\\"),\\n\\t\\tuseWikiLinks = wikiLinksMacro ? (wikiLinksMacro.trim() !== \\\"no\\\") : true,\\n\\t\\tmissingLinksEnabled = !(this.hideMissingLinks && this.isMissing && !this.isShadow);\\n\\t// Render the link if required\\n\\tif(useWikiLinks && missingLinksEnabled) {\\n\\t\\tthis.renderLink(parent,nextSibling);\\n\\t} else {\\n\\t\\t// Just insert the link text\\n\\t\\tvar domNode = this.document.createElement(\\\"span\\\");\\n\\t\\tparent.insertBefore(domNode,nextSibling);\\n\\t\\tthis.renderChildren(domNode,null);\\n\\t\\tthis.domNodes.push(domNode);\\n\\t}\\n};\\n\\n/*\\nRender this widget into the DOM\\n*/\\nLinkWidget.prototype.renderLink = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Sanitise the specified tag\\n\\tvar tag = this.linkTag;\\n\\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\\n\\t\\ttag = \\\"a\\\";\\n\\t}\\n\\t// Create our element\\n\\tvar namespace = this.getVariable(\\\"namespace\\\",{defaultValue: \\\"http://www.w3.org/1999/xhtml\\\"}),\\n\\t\\tdomNode = this.document.createElementNS(namespace,tag);\\n\\t// Assign classes\\n\\tvar classes = [];\\n\\tif(this.overrideClasses === undefined) {\\n\\t\\tclasses.push(\\\"tc-tiddlylink\\\");\\n\\t\\tif(this.isShadow) {\\n\\t\\t\\tclasses.push(\\\"tc-tiddlylink-shadow\\\");\\n\\t\\t}\\n\\t\\tif(this.isMissing && !this.isShadow) {\\n\\t\\t\\tclasses.push(\\\"tc-tiddlylink-missing\\\");\\n\\t\\t} else {\\n\\t\\t\\tif(!this.isMissing) {\\n\\t\\t\\t\\tclasses.push(\\\"tc-tiddlylink-resolves\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(this.linkClasses) {\\n\\t\\t\\tclasses.push(this.linkClasses);\\n\\t\\t}\\n\\t} else if(this.overrideClasses !== \\\"\\\") {\\n\\t\\tclasses.push(this.overrideClasses)\\n\\t}\\n\\tif(classes.length > 0) {\\n\\t\\tdomNode.setAttribute(\\\"class\\\",classes.join(\\\" \\\"));\\n\\t}\\n\\t// Set an href\\n\\tvar wikilinkTransformFilter = this.getVariable(\\\"tv-filter-export-link\\\"),\\n\\t\\twikiLinkText;\\n\\tif(wikilinkTransformFilter) {\\n\\t\\t// Use the filter to construct the href\\n\\t\\twikiLinkText = this.wiki.filterTiddlers(wikilinkTransformFilter,this,function(iterator) {\\n\\t\\t\\titerator(self.wiki.getTiddler(self.to),self.to)\\n\\t\\t})[0];\\n\\t} else {\\n\\t\\t// Expand the tv-wikilink-template variable to construct the href\\n\\t\\tvar wikiLinkTemplateMacro = this.getVariable(\\\"tv-wikilink-template\\\"),\\n\\t\\t\\twikiLinkTemplate = wikiLinkTemplateMacro ? wikiLinkTemplateMacro.trim() : \\\"#$uri_encoded$\\\";\\n\\t\\twikiLinkText = $tw.utils.replaceString(wikiLinkTemplate,\\\"$uri_encoded$\\\",$tw.utils.encodeURIComponentExtended(this.to));\\n\\t\\twikiLinkText = $tw.utils.replaceString(wikiLinkText,\\\"$uri_doubleencoded$\\\",$tw.utils.encodeURIComponentExtended($tw.utils.encodeURIComponentExtended(this.to)));\\n\\t}\\n\\t// Override with the value of tv-get-export-link if defined\\n\\twikiLinkText = this.getVariable(\\\"tv-get-export-link\\\",{params: [{name: \\\"to\\\",value: this.to}],defaultValue: wikiLinkText});\\n\\tif(tag === \\\"a\\\") {\\n\\t\\tvar namespaceHref = (namespace === \\\"http://www.w3.org/2000/svg\\\") ? \\\"http://www.w3.org/1999/xlink\\\" : undefined;\\n\\t\\tdomNode.setAttributeNS(namespaceHref,\\\"href\\\",wikiLinkText);\\n\\t}\\n\\t// Set the tabindex\\n\\tif(this.tabIndex) {\\n\\t\\tdomNode.setAttribute(\\\"tabindex\\\",this.tabIndex);\\n\\t}\\n\\t// Set the tooltip\\n\\t// HACK: Performance issues with re-parsing the tooltip prevent us defaulting the tooltip to \\\"\u003C$transclude field='tooltip'>\u003C$transclude field='title'/>\u003C/$transclude>\\\"\\n\\tvar tooltipWikiText = this.tooltip || this.getVariable(\\\"tv-wikilink-tooltip\\\");\\n\\tif(tooltipWikiText) {\\n\\t\\tvar tooltipText = this.wiki.renderText(\\\"text/plain\\\",\\\"text/vnd.tiddlywiki\\\",tooltipWikiText,{\\n\\t\\t\\t\\tparseAsInline: true,\\n\\t\\t\\t\\tvariables: {\\n\\t\\t\\t\\t\\tcurrentTiddler: this.to\\n\\t\\t\\t\\t},\\n\\t\\t\\t\\tparentWidget: this\\n\\t\\t\\t});\\n\\t\\tdomNode.setAttribute(\\\"title\\\",tooltipText);\\n\\t}\\n\\tif(this[\\\"aria-label\\\"]) {\\n\\t\\tdomNode.setAttribute(\\\"aria-label\\\",this[\\\"aria-label\\\"]);\\n\\t}\\n\\t// Add a click event handler\\n\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t{name: \\\"click\\\", handlerObject: this, handlerMethod: \\\"handleClickEvent\\\"},\\n\\t]);\\n\\t// Make the link draggable if required\\n\\tif(this.draggable === \\\"yes\\\") {\\n\\t\\t$tw.utils.makeDraggable({\\n\\t\\t\\tdomNode: domNode,\\n\\t\\t\\tdragTiddlerFn: function() {return self.to;},\\n\\t\\t\\twidget: this\\n\\t\\t});\\n\\t}\\n\\t// Insert the link into the DOM and render any children\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\nLinkWidget.prototype.handleClickEvent = function(event) {\\n\\t// Send the click on its way as a navigate event\\n\\tvar bounds = this.domNodes[0].getBoundingClientRect();\\n\\tthis.dispatchEvent({\\n\\t\\ttype: \\\"tm-navigate\\\",\\n\\t\\tnavigateTo: this.to,\\n\\t\\tnavigateFromTitle: this.getVariable(\\\"storyTiddler\\\"),\\n\\t\\tnavigateFromNode: this,\\n\\t\\tnavigateFromClientRect: { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height\\n\\t\\t},\\n\\t\\tnavigateFromClientTop: bounds.top,\\n\\t\\tnavigateFromClientLeft: bounds.left,\\n\\t\\tnavigateFromClientWidth: bounds.width,\\n\\t\\tnavigateFromClientRight: bounds.right,\\n\\t\\tnavigateFromClientBottom: bounds.bottom,\\n\\t\\tnavigateFromClientHeight: bounds.height,\\n\\t\\tnavigateSuppressNavigation: event.metaKey || event.ctrlKey || (event.button === 1),\\n\\t\\tmetaKey: event.metaKey,\\n\\t\\tctrlKey: event.ctrlKey,\\n\\t\\taltKey: event.altKey,\\n\\t\\tshiftKey: event.shiftKey,\\n\\t\\tevent: event\\n\\t});\\n\\tif(this.domNodes[0].hasAttribute(\\\"href\\\")) {\\n\\t\\tevent.preventDefault();\\n\\t}\\n\\tevent.stopPropagation();\\n\\treturn false;\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nLinkWidget.prototype.execute = function() {\\n\\t// Pick up our attributes\\n\\tthis.to = this.getAttribute(\\\"to\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.tooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis[\\\"aria-label\\\"] = this.getAttribute(\\\"aria-label\\\");\\n\\tthis.linkClasses = this.getAttribute(\\\"class\\\");\\n\\tthis.overrideClasses = this.getAttribute(\\\"overrideClass\\\");\\n\\tthis.tabIndex = this.getAttribute(\\\"tabindex\\\");\\n\\tthis.draggable = this.getAttribute(\\\"draggable\\\",\\\"yes\\\");\\n\\tthis.linkTag = this.getAttribute(\\\"tag\\\",\\\"a\\\");\\n\\t// Determine the link characteristics\\n\\tthis.isMissing = !this.wiki.tiddlerExists(this.to);\\n\\tthis.isShadow = this.wiki.isShadowTiddler(this.to);\\n\\tthis.hideMissingLinks = (this.getVariable(\\\"tv-show-missing-links\\\") || \\\"yes\\\") === \\\"no\\\";\\n\\t// Make the child widgets\\n\\tvar templateTree;\\n\\tif(this.parseTreeNode.children && this.parseTreeNode.children.length > 0) {\\n\\t\\ttemplateTree = this.parseTreeNode.children;\\n\\t} else {\\n\\t\\t// Default template is a link to the title\\n\\t\\ttemplateTree = [{type: \\\"text\\\", text: this.to}];\\n\\t}\\n\\tthis.makeChildWidgets(templateTree);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nLinkWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.to || changedTiddlers[this.to] || changedAttributes[\\\"aria-label\\\"] || changedAttributes.tooltip ||\\n\\t\\tchangedAttributes[\\\"class\\\"] || changedAttributes.tabindex || changedAttributes.draggable || changedAttributes.tag) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.link = LinkWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/linkcatcher.js\":{\"title\":\"$:/core/modules/widgets/linkcatcher.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/linkcatcher.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nLinkcatcher widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar LinkCatcherWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nLinkCatcherWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nLinkCatcherWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.addEventListeners([\\n\\t\\t{type: \\\"tm-navigate\\\", handler: \\\"handleNavigateEvent\\\"}\\n\\t]);\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nLinkCatcherWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.catchTo = this.getAttribute(\\\"to\\\");\\n\\tthis.catchMessage = this.getAttribute(\\\"message\\\");\\n\\tthis.catchSet = this.getAttribute(\\\"set\\\");\\n\\tthis.catchSetTo = this.getAttribute(\\\"setTo\\\");\\n\\tthis.catchActions = this.getAttribute(\\\"actions\\\");\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n\\t// When executing actions we avoid trapping navigate events, so that we don't trigger ourselves recursively\\n\\tthis.executingActions = false;\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nLinkCatcherWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.to || changedAttributes.message || changedAttributes.set || changedAttributes.setTo) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\n/*\\nHandle a tm-navigate event\\n*/\\nLinkCatcherWidget.prototype.handleNavigateEvent = function(event) {\\n\\tif(!this.executingActions) {\\n\\t\\t// Execute the actions\\n\\t\\tif(this.catchTo) {\\n\\t\\t\\tthis.wiki.setTextReference(this.catchTo,event.navigateTo,this.getVariable(\\\"currentTiddler\\\"));\\n\\t\\t}\\n\\t\\tif(this.catchMessage && this.parentWidget) {\\n\\t\\t\\tthis.parentWidget.dispatchEvent({\\n\\t\\t\\t\\ttype: this.catchMessage,\\n\\t\\t\\t\\tparam: event.navigateTo,\\n\\t\\t\\t\\tnavigateTo: event.navigateTo\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\tif(this.catchSet) {\\n\\t\\t\\tvar tiddler = this.wiki.getTiddler(this.catchSet);\\n\\t\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,{title: this.catchSet, text: this.catchSetTo}));\\n\\t\\t}\\n\\t\\tif(this.catchActions) {\\n\\t\\t\\tthis.executingActions = true;\\n\\t\\t\\tvar modifierKey = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\\n\\t\\t\\tthis.invokeActionString(this.catchActions,this,event,{navigateTo: event.navigateTo, modifier: modifierKey});\\n\\t\\t\\tthis.executingActions = false;\\n\\t\\t}\\n\\t} else {\\n\\t\\t\\t// This is a navigate event generated by the actions of this linkcatcher,\\n\\t\\t\\t// so we don't trap it again, but just pass it to the parent\\n\\t\\t\\tthis.parentWidget.dispatchEvent(event);\\n\\t}\\n\\treturn false;\\n};\\n\\nexports.linkcatcher = LinkCatcherWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/list.js\":{\"title\":\"$:/core/modules/widgets/list.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/list.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nList and list item widgets\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\n/*\\nThe list widget creates list element sub-widgets that reach back into the list widget for their configuration\\n*/\\n\\nvar ListWidget = function(parseTreeNode,options) {\\n\\t// Main initialisation inherited from widget.js\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nListWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nListWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Initialise the storyviews if they've not been done already\\n\\tif(!this.storyViews) {\\n\\t\\tListWidget.prototype.storyViews = {};\\n\\t\\t$tw.modules.applyMethods(\\\"storyview\\\",this.storyViews);\\n\\t}\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n\\t// Construct the storyview\\n\\tvar StoryView = this.storyViews[this.storyViewName];\\n\\tif(this.storyViewName && !StoryView) {\\n\\t\\tStoryView = this.storyViews[\\\"classic\\\"];\\n\\t}\\n\\tif(StoryView && !this.document.isTiddlyWikiFakeDom) {\\n\\t\\tthis.storyview = new StoryView(this);\\n\\t} else {\\n\\t\\tthis.storyview = null;\\n\\t}\\n\\tif(this.storyview && this.storyview.renderEnd) {\\n\\t\\tthis.storyview.renderEnd();\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nListWidget.prototype.execute = function() {\\n\\t// Get our attributes\\n\\tthis.template = this.getAttribute(\\\"template\\\");\\n\\tthis.editTemplate = this.getAttribute(\\\"editTemplate\\\");\\n\\tthis.variableName = this.getAttribute(\\\"variable\\\",\\\"currentTiddler\\\");\\n\\tthis.counterName = this.getAttribute(\\\"counter\\\");\\n\\tthis.storyViewName = this.getAttribute(\\\"storyview\\\");\\n\\tthis.historyTitle = this.getAttribute(\\\"history\\\");\\n\\t// Compose the list elements\\n\\tthis.list = this.getTiddlerList();\\n\\tvar members = [],\\n\\t\\tself = this;\\n\\t// Check for an empty list\\n\\tif(this.list.length === 0) {\\n\\t\\tmembers = this.getEmptyMessage();\\n\\t} else {\\n\\t\\t$tw.utils.each(this.list,function(title,index) {\\n\\t\\t\\tmembers.push(self.makeItemTemplate(title,index));\\n\\t\\t});\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets(members);\\n\\t// Clear the last history\\n\\tthis.history = [];\\n};\\n\\nListWidget.prototype.getTiddlerList = function() {\\n\\tvar defaultFilter = \\\"[!is[system]sort[title]]\\\";\\n\\treturn this.wiki.filterTiddlers(this.getAttribute(\\\"filter\\\",defaultFilter),this);\\n};\\n\\nListWidget.prototype.getEmptyMessage = function() {\\n\\tvar parser,\\n\\t\\temptyMessage = this.getAttribute(\\\"emptyMessage\\\",\\\"\\\");\\n\\t// this.wiki.parseText() calls \\n\\t// new Parser(..), which should only be done, if needed, because it's heavy!\\n\\tif (emptyMessage === \\\"\\\") {\\n\\t\\treturn [];\\n\\t}\\n\\tparser = this.wiki.parseText(\\\"text/vnd.tiddlywiki\\\",emptyMessage,{parseAsInline: true});\\n\\tif(parser) {\\n\\t\\treturn parser.tree;\\n\\t} else {\\n\\t\\treturn [];\\n\\t}\\n};\\n\\n/*\\nCompose the template for a list item\\n*/\\nListWidget.prototype.makeItemTemplate = function(title,index) {\\n\\t// Check if the tiddler is a draft\\n\\tvar tiddler = this.wiki.getTiddler(title),\\n\\t\\tisDraft = tiddler && tiddler.hasField(\\\"draft.of\\\"),\\n\\t\\ttemplate = this.template,\\n\\t\\ttemplateTree;\\n\\tif(isDraft && this.editTemplate) {\\n\\t\\ttemplate = this.editTemplate;\\n\\t}\\n\\t// Compose the transclusion of the template\\n\\tif(template) {\\n\\t\\ttemplateTree = [{type: \\\"transclude\\\", attributes: {tiddler: {type: \\\"string\\\", value: template}}}];\\n\\t} else {\\n\\t\\tif(this.parseTreeNode.children && this.parseTreeNode.children.length > 0) {\\n\\t\\t\\ttemplateTree = this.parseTreeNode.children;\\n\\t\\t} else {\\n\\t\\t\\t// Default template is a link to the title\\n\\t\\t\\ttemplateTree = [{type: \\\"element\\\", tag: this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\", children: [{type: \\\"link\\\", attributes: {to: {type: \\\"string\\\", value: title}}, children: [\\n\\t\\t\\t\\t\\t{type: \\\"text\\\", text: title}\\n\\t\\t\\t]}]}];\\n\\t\\t}\\n\\t}\\n\\t// Return the list item\\n\\tvar parseTreeNode = {type: \\\"listitem\\\", itemTitle: title, variableName: this.variableName, children: templateTree};\\n\\tif(this.counterName) {\\n\\t\\tparseTreeNode.counter = (index + 1).toString();\\n\\t\\tparseTreeNode.counterName = this.counterName;\\n\\t\\tparseTreeNode.isFirst = index === 0;\\n\\t\\tparseTreeNode.isLast = index === this.list.length - 1;\\n\\t}\\n\\treturn parseTreeNode;\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nListWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\tresult;\\n\\t// Call the storyview\\n\\tif(this.storyview && this.storyview.refreshStart) {\\n\\t\\tthis.storyview.refreshStart(changedTiddlers,changedAttributes);\\n\\t}\\n\\t// Completely refresh if any of our attributes have changed\\n\\tif(changedAttributes.filter || changedAttributes.variable || changedAttributes.counter || changedAttributes.template || changedAttributes.editTemplate || changedAttributes.emptyMessage || changedAttributes.storyview || changedAttributes.history) {\\n\\t\\tthis.refreshSelf();\\n\\t\\tresult = true;\\n\\t} else {\\n\\t\\t// Handle any changes to the list\\n\\t\\tresult = this.handleListChanges(changedTiddlers);\\n\\t\\t// Handle any changes to the history stack\\n\\t\\tif(this.historyTitle && changedTiddlers[this.historyTitle]) {\\n\\t\\t\\tthis.handleHistoryChanges();\\n\\t\\t}\\n\\t}\\n\\t// Call the storyview\\n\\tif(this.storyview && this.storyview.refreshEnd) {\\n\\t\\tthis.storyview.refreshEnd(changedTiddlers,changedAttributes);\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nHandle any changes to the history list\\n*/\\nListWidget.prototype.handleHistoryChanges = function() {\\n\\t// Get the history data\\n\\tvar newHistory = this.wiki.getTiddlerDataCached(this.historyTitle,[]);\\n\\t// Ignore any entries of the history that match the previous history\\n\\tvar entry = 0;\\n\\twhile(entry \u003C newHistory.length && entry \u003C this.history.length && newHistory[entry].title === this.history[entry].title) {\\n\\t\\tentry++;\\n\\t}\\n\\t// Navigate forwards to each of the new tiddlers\\n\\twhile(entry \u003C newHistory.length) {\\n\\t\\tif(this.storyview && this.storyview.navigateTo) {\\n\\t\\t\\tthis.storyview.navigateTo(newHistory[entry]);\\n\\t\\t}\\n\\t\\tentry++;\\n\\t}\\n\\t// Update the history\\n\\tthis.history = newHistory;\\n};\\n\\n/*\\nProcess any changes to the list\\n*/\\nListWidget.prototype.handleListChanges = function(changedTiddlers) {\\n\\t// Get the new list\\n\\tvar prevList = this.list;\\n\\tthis.list = this.getTiddlerList();\\n\\t// Check for an empty list\\n\\tif(this.list.length === 0) {\\n\\t\\t// Check if it was empty before\\n\\t\\tif(prevList.length === 0) {\\n\\t\\t\\t// If so, just refresh the empty message\\n\\t\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t\\t} else {\\n\\t\\t\\t// Replace the previous content with the empty message\\n\\t\\t\\tfor(t=this.children.length-1; t>=0; t--) {\\n\\t\\t\\t\\tthis.removeListItem(t);\\n\\t\\t\\t}\\n\\t\\t\\tvar nextSibling = this.findNextSiblingDomNode();\\n\\t\\t\\tthis.makeChildWidgets(this.getEmptyMessage());\\n\\t\\t\\tthis.renderChildren(this.parentDomNode,nextSibling);\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t} else {\\n\\t\\t// If the list was empty then we need to remove the empty message\\n\\t\\tif(prevList.length === 0) {\\n\\t\\t\\tthis.removeChildDomNodes();\\n\\t\\t\\tthis.children = [];\\n\\t\\t}\\n\\t\\t// If we are providing an counter variable then we must refresh the items, otherwise we can rearrange them\\n\\t\\tvar hasRefreshed = false,t;\\n\\t\\tif(this.counterName) {\\n\\t\\t\\t// Cycle through the list and remove and re-insert the first item that has changed, and all the remaining items\\n\\t\\t\\tfor(t=0; t\u003Cthis.list.length; t++) {\\n\\t\\t\\t\\tif(hasRefreshed || !this.children[t] || this.children[t].parseTreeNode.itemTitle !== this.list[t]) {\\n\\t\\t\\t\\t\\tif(this.children[t]) {\\n\\t\\t\\t\\t\\t\\tthis.removeListItem(t);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tthis.insertListItem(t,this.list[t]);\\n\\t\\t\\t\\t\\thasRefreshed = true;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Refresh the item we're reusing\\n\\t\\t\\t\\t\\tvar refreshed = this.children[t].refresh(changedTiddlers);\\n\\t\\t\\t\\t\\thasRefreshed = hasRefreshed || refreshed;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t// If there are items to remove and we have not refreshed then recreate the item that will now be at the last position\\n\\t\\t\\tif(!hasRefreshed && this.children.length > this.list.length) {\\n\\t\\t\\t\\tthis.removeListItem(this.list.length-1);\\n\\t\\t\\t\\tthis.insertListItem(this.list.length-1,this.list[this.list.length-1]);\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\t// Cycle through the list, inserting and removing list items as needed\\n\\t\\t\\tfor(t=0; t\u003Cthis.list.length; t++) {\\n\\t\\t\\t\\tvar index = this.findListItem(t,this.list[t]);\\n\\t\\t\\t\\tif(index === undefined) {\\n\\t\\t\\t\\t\\t// The list item must be inserted\\n\\t\\t\\t\\t\\tthis.insertListItem(t,this.list[t]);\\n\\t\\t\\t\\t\\thasRefreshed = true;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// There are intervening list items that must be removed\\n\\t\\t\\t\\t\\tfor(var n=index-1; n>=t; n--) {\\n\\t\\t\\t\\t\\t\\tthis.removeListItem(n);\\n\\t\\t\\t\\t\\t\\thasRefreshed = true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t// Refresh the item we're reusing\\n\\t\\t\\t\\t\\tvar refreshed = this.children[t].refresh(changedTiddlers);\\n\\t\\t\\t\\t\\thasRefreshed = hasRefreshed || refreshed;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Remove any left over items\\n\\t\\tfor(t=this.children.length-1; t>=this.list.length; t--) {\\n\\t\\t\\tthis.removeListItem(t);\\n\\t\\t\\thasRefreshed = true;\\n\\t\\t}\\n\\t\\treturn hasRefreshed;\\n\\t}\\n};\\n\\n/*\\nFind the list item with a given title, starting from a specified position\\n*/\\nListWidget.prototype.findListItem = function(startIndex,title) {\\n\\twhile(startIndex \u003C this.children.length) {\\n\\t\\tif(this.children[startIndex].parseTreeNode.itemTitle === title) {\\n\\t\\t\\treturn startIndex;\\n\\t\\t}\\n\\t\\tstartIndex++;\\n\\t}\\n\\treturn undefined;\\n};\\n\\n/*\\nInsert a new list item at the specified index\\n*/\\nListWidget.prototype.insertListItem = function(index,title) {\\n\\t// Create, insert and render the new child widgets\\n\\tvar widget = this.makeChildWidget(this.makeItemTemplate(title,index));\\n\\twidget.parentDomNode = this.parentDomNode; // Hack to enable findNextSiblingDomNode() to work\\n\\tthis.children.splice(index,0,widget);\\n\\tvar nextSibling = widget.findNextSiblingDomNode();\\n\\twidget.render(this.parentDomNode,nextSibling);\\n\\t// Animate the insertion if required\\n\\tif(this.storyview && this.storyview.insert) {\\n\\t\\tthis.storyview.insert(widget);\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nRemove the specified list item\\n*/\\nListWidget.prototype.removeListItem = function(index) {\\n\\tvar widget = this.children[index];\\n\\t// Animate the removal if required\\n\\tif(this.storyview && this.storyview.remove) {\\n\\t\\tthis.storyview.remove(widget);\\n\\t} else {\\n\\t\\twidget.removeChildDomNodes();\\n\\t}\\n\\t// Remove the child widget\\n\\tthis.children.splice(index,1);\\n};\\n\\nexports.list = ListWidget;\\n\\nvar ListItemWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nListItemWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nListItemWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nListItemWidget.prototype.execute = function() {\\n\\t// Set the current list item title\\n\\tthis.setVariable(this.parseTreeNode.variableName,this.parseTreeNode.itemTitle);\\n\\tif(this.parseTreeNode.counterName) {\\n\\t\\tthis.setVariable(this.parseTreeNode.counterName,this.parseTreeNode.counter);\\n\\t\\tthis.setVariable(this.parseTreeNode.counterName + \\\"-first\\\",this.parseTreeNode.isFirst ? \\\"yes\\\" : \\\"no\\\");\\n\\t\\tthis.setVariable(this.parseTreeNode.counterName + \\\"-last\\\",this.parseTreeNode.isLast ? \\\"yes\\\" : \\\"no\\\");\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nListItemWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.listitem = ListItemWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/log.js\":{\"title\":\"$:/core/modules/widgets/log.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/log.js\\ntype: application/javascript\\nmodule-type: widget-subclass\\n\\nWidget to log debug messages\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nexports.baseClass = \\\"action-log\\\";\\n\\nexports.name = \\\"log\\\";\\n\\nexports.constructor = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n}\\n\\nexports.prototype = {};\\n\\nexports.prototype.render = function(event) {\\n\\tObject.getPrototypeOf(Object.getPrototypeOf(this)).render.call(this,event);\\n\\tObject.getPrototypeOf(Object.getPrototypeOf(this)).log.call(this);\\n}\\n\\n})();\",\"type\":\"application/javascript\",\"module-type\":\"widget-subclass\"},\"$:/core/modules/widgets/macrocall.js\":{\"title\":\"$:/core/modules/widgets/macrocall.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/macrocall.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nMacrocall widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar MacroCallWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nMacroCallWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nMacroCallWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nMacroCallWidget.prototype.execute = function() {\\n\\tthis.macroName = this.parseTreeNode.name || this.getAttribute(\\\"$name\\\"),\\n\\tthis.parseType = this.getAttribute(\\\"$type\\\",\\\"text/vnd.tiddlywiki\\\");\\n\\tthis.renderOutput = this.getAttribute(\\\"$output\\\",\\\"text/html\\\");\\n\\t// Merge together the parameters specified in the parse tree with the specified attributes\\n\\tvar params = this.parseTreeNode.params ? this.parseTreeNode.params.slice(0) : [];\\n\\t$tw.utils.each(this.attributes,function(attribute,name) {\\n\\t\\tif(name.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\tparams.push({name: name, value: attribute});\\n\\t\\t}\\n\\t});\\n\\t// Make a transclude widget\\n\\tvar positionalName = 0,\\n\\t\\tparseTreeNodes = [{\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tisBlock: this.parseTreeNode.isBlock,\\n\\t\\t\\tchildren: this.parseTreeNode.children\\n\\t\\t}];\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"$variable\\\",this.macroName);\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"$type\\\",this.parseType);\\n\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],\\\"$output\\\",this.renderOutput);\\n\\t$tw.utils.each(params,function(param) {\\n\\t\\tvar name = param.name;\\n\\t\\tif(name) {\\n\\t\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\t\\tname = \\\"$\\\" + name;\\n\\t\\t\\t}\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],name,param.value);\\n\\t\\t} else {\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],(positionalName++) + \\\"\\\",param.value);\\n\\t\\t}\\n\\t});\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets(parseTreeNodes);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nMacroCallWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\t// Rerender ourselves\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.macrocall = MacroCallWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/messagecatcher.js\":{\"title\":\"$:/core/modules/widgets/messagecatcher.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/messagecatcher.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nMessage catcher widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar MessageCatcherWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nMessageCatcherWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nMessageCatcherWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Helper to add an event handler\\n\\tvar addEventHandler = function(type,actions) {\\n\\t\\tif(type && actions) {\\n\\t\\t\\tvar isActionStringExecuting = false;\\n\\t\\t\\tself.addEventListener(\\n\\t\\t\\t\\ttype,\\n\\t\\t\\t\\tfunction(event) {\\n\\t\\t\\t\\t\\t// Don't trap the event if it came from one of our action handlers\\n\\t\\t\\t\\t\\tif(isActionStringExecuting) {\\n\\t\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t// Collect all the event properties into variables\\n\\t\\t\\t\\t\\tvar collectProps = function(obj,prefix) {\\n\\t\\t\\t\\t\\t\\tprefix = prefix || \\\"\\\";\\n\\t\\t\\t\\t\\t\\tvar props = {},\\n\\t\\t\\t\\t\\t\\t\\tnames = [];\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(obj,function(value,name) {\\n\\t\\t\\t\\t\\t\\t\\tif([\\\"string\\\",\\\"boolean\\\",\\\"number\\\"].indexOf(typeof value) !== -1) {\\n\\t\\t\\t\\t\\t\\t\\t\\tnames.push(name);\\n\\t\\t\\t\\t\\t\\t\\t\\tprops[prefix + \\\"-\\\" + name] = value.toString();\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t\\tprops[\\\"list-\\\" + prefix] = $tw.utils.stringifyList(names);\\n\\t\\t\\t\\t\\t\\treturn props;\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\tvar variables = $tw.utils.extend(\\n\\t\\t\\t\\t\\t\\t{},\\n\\t\\t\\t\\t\\t\\tcollectProps(event.paramObject,\\\"event-paramObject\\\"),\\n\\t\\t\\t\\t\\t\\tcollectProps(event,\\\"event\\\"),\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\tmodifier: $tw.keyboardManager.getEventModifierKeyDescriptor(event)\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\tisActionStringExecuting = true;\\n\\t\\t\\t\\t\\tself.invokeActionString(actions,self,event,variables);\\n\\t\\t\\t\\t\\tisActionStringExecuting = false;\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t}\\n\\t\\t\\t);\\n\\t\\t}\\n\\t}\\n\\t// Add the main event handler\\n\\taddEventHandler(this.getAttribute(\\\"type\\\"),this.getAttribute(\\\"actions\\\"));\\n\\t// Add any other event handlers\\n\\t$tw.utils.each(this.attributes,function(value,key) {\\n\\t\\tif(key.charAt(0) === \\\"$\\\") {\\n\\t\\t\\taddEventHandler(key.slice(1),value);\\n\\t\\t}\\n\\t});\\n\\t// Render children\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nMessageCatcherWidget.prototype.execute = function() {\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nMessageCatcherWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.messagecatcher = MessageCatcherWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/navigator.js\":{\"title\":\"$:/core/modules/widgets/navigator.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/navigator.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nNavigator widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar IMPORT_TITLE = \\\"$:/Import\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar NavigatorWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nNavigatorWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nNavigatorWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.addEventListeners([\\n\\t\\t{type: \\\"tm-navigate\\\", handler: \\\"handleNavigateEvent\\\"},\\n\\t\\t{type: \\\"tm-edit-tiddler\\\", handler: \\\"handleEditTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-delete-tiddler\\\", handler: \\\"handleDeleteTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-save-tiddler\\\", handler: \\\"handleSaveTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-cancel-tiddler\\\", handler: \\\"handleCancelTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-close-tiddler\\\", handler: \\\"handleCloseTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-close-all-tiddlers\\\", handler: \\\"handleCloseAllTiddlersEvent\\\"},\\n\\t\\t{type: \\\"tm-close-other-tiddlers\\\", handler: \\\"handleCloseOtherTiddlersEvent\\\"},\\n\\t\\t{type: \\\"tm-new-tiddler\\\", handler: \\\"handleNewTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-import-tiddlers\\\", handler: \\\"handleImportTiddlersEvent\\\"},\\n\\t\\t{type: \\\"tm-perform-import\\\", handler: \\\"handlePerformImportEvent\\\"},\\n\\t\\t{type: \\\"tm-fold-tiddler\\\", handler: \\\"handleFoldTiddlerEvent\\\"},\\n\\t\\t{type: \\\"tm-fold-other-tiddlers\\\", handler: \\\"handleFoldOtherTiddlersEvent\\\"},\\n\\t\\t{type: \\\"tm-fold-all-tiddlers\\\", handler: \\\"handleFoldAllTiddlersEvent\\\"},\\n\\t\\t{type: \\\"tm-unfold-all-tiddlers\\\", handler: \\\"handleUnfoldAllTiddlersEvent\\\"}\\n\\t]);\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nNavigatorWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.storyTitle = this.getAttribute(\\\"story\\\");\\n\\tthis.historyTitle = this.getAttribute(\\\"history\\\");\\n\\tthis.setVariable(\\\"tv-story-list\\\",this.storyTitle);\\n\\tthis.setVariable(\\\"tv-history-list\\\",this.historyTitle);\\n\\tthis.story = new $tw.Story({\\n\\t\\twiki: this.wiki,\\n\\t\\tstoryTitle: this.storyTitle,\\n\\t\\thistoryTitle: this.historyTitle\\n\\t});\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nNavigatorWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.story || changedAttributes.history) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nNavigatorWidget.prototype.getStoryList = function() {\\n\\treturn this.storyTitle ? this.wiki.getTiddlerList(this.storyTitle) : null;\\n};\\n\\nNavigatorWidget.prototype.saveStoryList = function(storyList) {\\n\\tif(this.storyTitle) {\\n\\t\\tvar storyTiddler = this.wiki.getTiddler(this.storyTitle);\\n\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(\\n\\t\\t\\t{title: this.storyTitle},\\n\\t\\t\\tstoryTiddler,\\n\\t\\t\\t{list: storyList}\\n\\t\\t));\\n\\t}\\n};\\n\\nNavigatorWidget.prototype.removeTitleFromStory = function(storyList,title) {\\n\\tif(storyList) {\\n\\t\\tvar p = storyList.indexOf(title);\\n\\t\\twhile(p !== -1) {\\n\\t\\t\\tstoryList.splice(p,1);\\n\\t\\t\\tp = storyList.indexOf(title);\\n\\t\\t}\\n\\t}\\n};\\n\\nNavigatorWidget.prototype.replaceFirstTitleInStory = function(storyList,oldTitle,newTitle) {\\n\\tif(storyList) {\\n\\t\\tvar pos = storyList.indexOf(oldTitle);\\n\\t\\tif(pos !== -1) {\\n\\t\\t\\tstoryList[pos] = newTitle;\\n\\t\\t\\tdo {\\n\\t\\t\\t\\tpos = storyList.indexOf(oldTitle,pos + 1);\\n\\t\\t\\t\\tif(pos !== -1) {\\n\\t\\t\\t\\t\\tstoryList.splice(pos,1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} while(pos !== -1);\\n\\t\\t} else {\\n\\t\\t\\tstoryList.splice(0,0,newTitle);\\n\\t\\t}\\n\\t}\\n};\\n\\nNavigatorWidget.prototype.addToStory = function(title,fromTitle) {\\n\\tif(this.storyTitle) {\\n\\t\\tthis.story.addToStory(title,fromTitle,{\\n\\t\\t\\topenLinkFromInsideRiver: this.getAttribute(\\\"openLinkFromInsideRiver\\\",\\\"top\\\"),\\n\\t\\t\\topenLinkFromOutsideRiver: this.getAttribute(\\\"openLinkFromOutsideRiver\\\",\\\"top\\\")\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nAdd a new record to the top of the history stack\\ntitle: a title string or an array of title strings\\nfromPageRect: page coordinates of the origin of the navigation\\n*/\\nNavigatorWidget.prototype.addToHistory = function(title,fromPageRect) {\\n\\tthis.story.addToHistory(title,fromPageRect,this.historyTitle);\\n};\\n\\n/*\\nHandle a tm-navigate event\\n*/\\nNavigatorWidget.prototype.handleNavigateEvent = function(event) {\\n\\tevent = $tw.hooks.invokeHook(\\\"th-navigating\\\",event);\\n\\tif(event.navigateTo) {\\n\\t\\tthis.addToStory(event.navigateTo,event.navigateFromTitle);\\n\\t\\tif(!event.navigateSuppressNavigation) {\\n\\t\\t\\tthis.addToHistory(event.navigateTo,event.navigateFromClientRect);\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n// Close a specified tiddler\\nNavigatorWidget.prototype.handleCloseTiddlerEvent = function(event) {\\n\\tevent = $tw.hooks.invokeHook(\\\"th-closing-tiddler\\\",event);\\n\\tvar title = event.param || event.tiddlerTitle,\\n\\t\\tstoryList = this.getStoryList();\\n\\t// Look for tiddlers with this title to close\\n\\tthis.removeTitleFromStory(storyList,title);\\n\\tthis.saveStoryList(storyList);\\n\\treturn false;\\n};\\n\\n// Close all tiddlers\\nNavigatorWidget.prototype.handleCloseAllTiddlersEvent = function(event) {\\n\\tthis.saveStoryList([]);\\n\\treturn false;\\n};\\n\\n// Close other tiddlers\\nNavigatorWidget.prototype.handleCloseOtherTiddlersEvent = function(event) {\\n\\tvar title = event.param || event.tiddlerTitle;\\n\\tthis.saveStoryList([title]);\\n\\treturn false;\\n};\\n\\n// Place a tiddler in edit mode\\nNavigatorWidget.prototype.handleEditTiddlerEvent = function(event) {\\n\\tvar editTiddler = $tw.hooks.invokeHook(\\\"th-editing-tiddler\\\",event),\\n\\t win = event.event && event.event.view ? event.event.view : window;\\n\\tif(!editTiddler) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar self = this;\\n\\tfunction isUnmodifiedShadow(title) {\\n\\t\\treturn self.wiki.isShadowTiddler(title) && !self.wiki.tiddlerExists(title);\\n\\t}\\n\\tfunction confirmEditShadow(title) {\\n\\t\\treturn win.confirm($tw.language.getString(\\n\\t\\t\\t\\\"ConfirmEditShadowTiddler\\\",\\n\\t\\t\\t{variables:\\n\\t\\t\\t\\t{title: title}\\n\\t\\t\\t}\\n\\t\\t));\\n\\t}\\n\\tvar title = event.param || event.tiddlerTitle;\\n\\tif(isUnmodifiedShadow(title) && !confirmEditShadow(title)) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Replace the specified tiddler with a draft in edit mode\\n\\tvar draftTiddler = this.makeDraftTiddler(title);\\n\\t// Update the story and history if required\\n\\tif(!event.paramObject || event.paramObject.suppressNavigation !== \\\"yes\\\") {\\n\\t\\tvar draftTitle = draftTiddler.fields.title,\\n\\t\\t\\tstoryList = this.getStoryList();\\n\\t\\tthis.removeTitleFromStory(storyList,draftTitle);\\n\\t\\tthis.replaceFirstTitleInStory(storyList,title,draftTitle);\\n\\t\\tthis.addToHistory(draftTitle,event.navigateFromClientRect);\\n\\t\\tthis.saveStoryList(storyList);\\n\\t\\treturn false;\\n\\t}\\n};\\n\\n// Delete a tiddler\\nNavigatorWidget.prototype.handleDeleteTiddlerEvent = function(event) {\\n\\t// Get the tiddler we're deleting\\n\\tvar title = event.param || event.tiddlerTitle,\\n\\t\\ttiddler = this.wiki.getTiddler(title),\\n\\t\\tstoryList = this.getStoryList(),\\n\\t\\toriginalTitle = tiddler ? tiddler.fields[\\\"draft.of\\\"] : \\\"\\\",\\n\\t\\toriginalTiddler = originalTitle ? this.wiki.getTiddler(originalTitle) : undefined,\\n\\t\\tconfirmationTitle,\\n\\t\\twin = event.event && event.event.view ? event.event.view : window;\\n\\t// Check if the tiddler we're deleting is in draft mode\\n\\tif(originalTitle) {\\n\\t\\t// If so, we'll prompt for confirmation referencing the original tiddler\\n\\t\\tconfirmationTitle = originalTitle;\\n\\t} else {\\n\\t\\t// If not a draft, then prompt for confirmation referencing the specified tiddler\\n\\t\\tconfirmationTitle = title;\\n\\t}\\n\\t// Seek confirmation\\n\\tif(((originalTitle && this.wiki.getTiddler(originalTitle)) || (tiddler && ((tiddler.fields.text || \\\"\\\") !== \\\"\\\"))) && !win.confirm($tw.language.getString(\\n\\t\\t\\t\\t\\\"ConfirmDeleteTiddler\\\",\\n\\t\\t\\t\\t{variables:\\n\\t\\t\\t\\t\\t{title: confirmationTitle}\\n\\t\\t\\t\\t}\\n\\t\\t\\t))) {\\n\\t\\treturn false;\\n\\t}\\n\\t// Delete the original tiddler\\n\\tif(originalTitle) {\\n\\t\\tif(originalTiddler) {\\n\\t\\t\\t$tw.hooks.invokeHook(\\\"th-deleting-tiddler\\\",originalTiddler);\\n\\t\\t}\\n\\t\\tthis.wiki.deleteTiddler(originalTitle);\\n\\t\\tthis.removeTitleFromStory(storyList,originalTitle);\\n\\t}\\n\\t// Invoke the hook function and delete this tiddler\\n\\tif(tiddler) {\\n\\t\\t$tw.hooks.invokeHook(\\\"th-deleting-tiddler\\\",tiddler);\\n\\t\\tthis.wiki.deleteTiddler(title);\\t\\n\\t}\\n\\t// Remove the closed tiddler from the story\\n\\tthis.removeTitleFromStory(storyList,title);\\n\\tthis.saveStoryList(storyList);\\n\\t// Trigger an autosave\\n\\t$tw.rootWidget.dispatchEvent({type: \\\"tm-auto-save-wiki\\\"});\\n\\treturn false;\\n};\\n\\n/*\\nCreate/reuse the draft tiddler for a given title\\n*/\\nNavigatorWidget.prototype.makeDraftTiddler = function(targetTitle) {\\n\\t// See if there is already a draft tiddler for this tiddler\\n\\tvar draftTitle = this.wiki.findDraft(targetTitle);\\n\\tif(draftTitle) {\\n\\t\\treturn this.wiki.getTiddler(draftTitle);\\n\\t}\\n\\t// Get the current value of the tiddler we're editing\\n\\tvar tiddler = this.wiki.getTiddler(targetTitle);\\n\\t// Save the initial value of the draft tiddler\\n\\tdraftTitle = this.generateDraftTitle(targetTitle);\\n\\tvar draftTiddler = new $tw.Tiddler({\\n\\t\\t\\t\\ttext: \\\"\\\",\\n\\t\\t\\t},\\n\\t\\t\\ttiddler,\\n\\t\\t\\t{\\n\\t\\t\\t\\ttitle: draftTitle,\\n\\t\\t\\t\\t\\\"draft.title\\\": targetTitle,\\n\\t\\t\\t\\t\\\"draft.of\\\": targetTitle\\n\\t\\t\\t},\\n\\t\\t\\tthis.wiki.getModificationFields()\\n\\t\\t);\\n\\tthis.wiki.addTiddler(draftTiddler);\\n\\treturn draftTiddler;\\n};\\n\\n/*\\nGenerate a title for the draft of a given tiddler\\n*/\\nNavigatorWidget.prototype.generateDraftTitle = function(title) {\\n\\treturn this.wiki.generateDraftTitle(title);\\n};\\n\\n// Take a tiddler out of edit mode, saving the changes\\nNavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) {\\n\\tvar title = event.param || event.tiddlerTitle,\\n\\t\\ttiddler = this.wiki.getTiddler(title),\\n\\t\\tstoryList = this.getStoryList(),\\n\\t \\twin = event.event && event.event.view ? event.event.view : window;\\n\\t// Replace the original tiddler with the draft\\n\\tif(tiddler) {\\n\\t\\tvar draftTitle = (tiddler.fields[\\\"draft.title\\\"] || \\\"\\\").trim(),\\n\\t\\t\\tdraftOf = (tiddler.fields[\\\"draft.of\\\"] || \\\"\\\").trim();\\n\\t\\tif(draftTitle) {\\n\\t\\t\\tvar isRename = draftOf !== draftTitle,\\n\\t\\t\\t\\tisConfirmed = true;\\n\\t\\t\\tif(isRename && this.wiki.tiddlerExists(draftTitle)) {\\n\\t\\t\\t\\tisConfirmed = win.confirm($tw.language.getString(\\n\\t\\t\\t\\t\\t\\\"ConfirmOverwriteTiddler\\\",\\n\\t\\t\\t\\t\\t{variables:\\n\\t\\t\\t\\t\\t\\t{title: draftTitle}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t));\\n\\t\\t\\t}\\n\\t\\t\\tif(isConfirmed) {\\n\\t\\t\\t\\t// Create the new tiddler and pass it through the th-saving-tiddler hook\\n\\t\\t\\t\\tvar newTiddler = new $tw.Tiddler(this.wiki.getCreationFields(),tiddler,{\\n\\t\\t\\t\\t\\ttitle: draftTitle,\\n\\t\\t\\t\\t\\t\\\"draft.title\\\": undefined,\\n\\t\\t\\t\\t\\t\\\"draft.of\\\": undefined\\n\\t\\t\\t\\t},this.wiki.getModificationFields());\\n\\t\\t\\t\\tnewTiddler = $tw.hooks.invokeHook(\\\"th-saving-tiddler\\\",newTiddler,tiddler);\\n\\t\\t\\t\\tthis.wiki.addTiddler(newTiddler);\\n\\t\\t\\t\\t// If enabled, relink references to renamed tiddler\\n\\t\\t\\t\\tvar shouldRelink = this.getAttribute(\\\"relinkOnRename\\\",\\\"no\\\").toLowerCase().trim() === \\\"yes\\\";\\n\\t\\t\\t\\tif(isRename && shouldRelink && this.wiki.tiddlerExists(draftOf)) {\\n\\t\\t\\t\\t\\tthis.wiki.relinkTiddler(draftOf,draftTitle);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Remove the draft tiddler\\n\\t\\t\\t\\tthis.wiki.deleteTiddler(title);\\n\\t\\t\\t\\t// Remove the original tiddler if we're renaming it\\n\\t\\t\\t\\tif(isRename) {\\n\\t\\t\\t\\t\\tthis.wiki.deleteTiddler(draftOf);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// #2381 always remove new title & old\\n\\t\\t\\t\\tthis.removeTitleFromStory(storyList,draftTitle);\\n\\t\\t\\t\\tthis.removeTitleFromStory(storyList,draftOf);\\n\\t\\t\\t\\tif(!event.paramObject || event.paramObject.suppressNavigation !== \\\"yes\\\") {\\n\\t\\t\\t\\t\\t// Replace the draft in the story with the original\\n\\t\\t\\t\\t\\tthis.replaceFirstTitleInStory(storyList,title,draftTitle);\\n\\t\\t\\t\\t\\tthis.addToHistory(draftTitle,event.navigateFromClientRect);\\n\\t\\t\\t\\t\\tif(draftTitle !== this.storyTitle) {\\n\\t\\t\\t\\t\\t\\tthis.saveStoryList(storyList);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// Trigger an autosave\\n\\t\\t\\t\\t$tw.rootWidget.dispatchEvent({type: \\\"tm-auto-save-wiki\\\"});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n// Take a tiddler out of edit mode without saving the changes\\nNavigatorWidget.prototype.handleCancelTiddlerEvent = function(event) {\\n\\tevent = $tw.hooks.invokeHook(\\\"th-cancelling-tiddler\\\", event);\\n\\tvar win = event.event && event.event.view ? event.event.view : window;\\n\\t// Flip the specified tiddler from draft back to the original\\n\\tvar draftTitle = event.param || event.tiddlerTitle,\\n\\t\\tdraftTiddler = this.wiki.getTiddler(draftTitle),\\n\\t\\toriginalTitle = draftTiddler && draftTiddler.fields[\\\"draft.of\\\"];\\n\\tif(draftTiddler && originalTitle) {\\n\\t\\t// Ask for confirmation if the tiddler text has changed\\n\\t\\tvar isConfirmed = true,\\n\\t\\t\\toriginalTiddler = this.wiki.getTiddler(originalTitle),\\n\\t\\t\\tstoryList = this.getStoryList();\\n\\t\\tif(this.wiki.isDraftModified(draftTitle)) {\\n\\t\\t\\tisConfirmed = win.confirm($tw.language.getString(\\n\\t\\t\\t\\t\\\"ConfirmCancelTiddler\\\",\\n\\t\\t\\t\\t{variables:\\n\\t\\t\\t\\t\\t{title: draftTitle}\\n\\t\\t\\t\\t}\\n\\t\\t\\t));\\n\\t\\t}\\n\\t\\t// Remove the draft tiddler\\n\\t\\tif(isConfirmed) {\\n\\t\\t\\tthis.wiki.deleteTiddler(draftTitle);\\n\\t\\t\\tif(!event.paramObject || event.paramObject.suppressNavigation !== \\\"yes\\\") {\\n\\t\\t\\t\\tif(originalTiddler) {\\n\\t\\t\\t\\t\\tthis.replaceFirstTitleInStory(storyList,draftTitle,originalTitle);\\n\\t\\t\\t\\t\\tthis.addToHistory(originalTitle,event.navigateFromClientRect);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tthis.removeTitleFromStory(storyList,draftTitle);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tthis.saveStoryList(storyList);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn false;\\n};\\n\\n// Create a new draft tiddler\\n// event.param can either be the title of a template tiddler, or a hashmap of fields.\\n//\\n// The title of the newly created tiddler follows these rules:\\n// * If a hashmap was used and a title field was specified, use that title\\n// * If a hashmap was used without a title field, use a default title, if necessary making it unique with a numeric suffix\\n// * If a template tiddler was used, use the title of the template, if necessary making it unique with a numeric suffix\\n//\\n// If a draft of the target tiddler already exists then it is reused\\nNavigatorWidget.prototype.handleNewTiddlerEvent = function(event) {\\n\\tevent = $tw.hooks.invokeHook(\\\"th-new-tiddler\\\", event);\\n\\t// Get the story details\\n\\tvar storyList = this.getStoryList(),\\n\\t\\ttemplateTiddler, additionalFields, title, draftTitle, existingTiddler;\\n\\t// Get the template tiddler (if any)\\n\\tif(typeof event.param === \\\"string\\\") {\\n\\t\\t// Get the template tiddler\\n\\t\\ttemplateTiddler = this.wiki.getTiddler(event.param);\\n\\t\\t// Generate a new title\\n\\t\\ttitle = this.wiki.generateNewTitle(event.param || $tw.language.getString(\\\"DefaultNewTiddlerTitle\\\"));\\n\\t}\\n\\t// Get the specified additional fields\\n\\tif(typeof event.paramObject === \\\"object\\\") {\\n\\t\\tadditionalFields = event.paramObject;\\n\\t}\\n\\tif(typeof event.param === \\\"object\\\") { // Backwards compatibility with 5.1.3\\n\\t\\tadditionalFields = event.param;\\n\\t}\\n\\tif(additionalFields && additionalFields.title) {\\n\\t\\ttitle = additionalFields.title;\\n\\t}\\n\\t// Make a copy of the additional fields excluding any blank ones\\n\\tvar filteredAdditionalFields = $tw.utils.extend({},additionalFields);\\n\\tObject.keys(filteredAdditionalFields).forEach(function(fieldName) {\\n\\t\\tif(filteredAdditionalFields[fieldName] === \\\"\\\") {\\n\\t\\t\\tdelete filteredAdditionalFields[fieldName];\\n\\t\\t}\\n\\t});\\n\\t// Generate a title if we don't have one\\n\\ttitle = title || this.wiki.generateNewTitle($tw.language.getString(\\\"DefaultNewTiddlerTitle\\\"));\\n\\t// Find any existing draft for this tiddler\\n\\tdraftTitle = this.wiki.findDraft(title);\\n\\t// Pull in any existing tiddler\\n\\tif(draftTitle) {\\n\\t\\texistingTiddler = this.wiki.getTiddler(draftTitle);\\n\\t} else {\\n\\t\\tdraftTitle = this.generateDraftTitle(title);\\n\\t\\texistingTiddler = this.wiki.getTiddler(title);\\n\\t}\\n\\t// Merge the tags\\n\\tvar mergedTags = [];\\n\\tif(existingTiddler && existingTiddler.fields.tags) {\\n\\t\\t$tw.utils.pushTop(mergedTags,existingTiddler.fields.tags);\\n\\t}\\n\\tif(additionalFields && additionalFields.tags) {\\n\\t\\t// Merge tags\\n\\t\\tmergedTags = $tw.utils.pushTop(mergedTags,$tw.utils.parseStringArray(additionalFields.tags));\\n\\t}\\n\\tif(templateTiddler && templateTiddler.fields.tags) {\\n\\t\\t// Merge tags\\n\\t\\tmergedTags = $tw.utils.pushTop(mergedTags,templateTiddler.fields.tags);\\n\\t}\\n\\t// Save the draft tiddler\\n\\tvar draftTiddler = new $tw.Tiddler({\\n\\t\\t\\ttext: \\\"\\\",\\n\\t\\t\\t\\\"draft.title\\\": title\\n\\t\\t},\\n\\t\\ttemplateTiddler,\\n\\t\\tadditionalFields,\\n\\t\\tthis.wiki.getCreationFields(),\\n\\t\\texistingTiddler,\\n\\t\\tfilteredAdditionalFields,\\n\\t\\t{\\n\\t\\t\\ttitle: draftTitle,\\n\\t\\t\\t\\\"draft.of\\\": title,\\n\\t\\t\\ttags: mergedTags\\n\\t\\t},this.wiki.getModificationFields());\\n\\tthis.wiki.addTiddler(draftTiddler);\\n\\t// Update the story to insert the new draft at the top and remove any existing tiddler\\n\\tif(storyList && storyList.indexOf(draftTitle) === -1) {\\n\\t\\tvar slot = storyList.indexOf(event.navigateFromTitle);\\n\\t\\tif(slot === -1) {\\n\\t\\t\\tslot = this.getAttribute(\\\"openLinkFromOutsideRiver\\\",\\\"top\\\") === \\\"bottom\\\" ? storyList.length - 1 : slot;\\n\\t\\t}\\n\\t\\tstoryList.splice(slot + 1,0,draftTitle);\\n\\t}\\n\\tif(storyList && storyList.indexOf(title) !== -1) {\\n\\t\\tstoryList.splice(storyList.indexOf(title),1);\\n\\t}\\n\\tthis.saveStoryList(storyList);\\n\\t// Add a new record to the top of the history stack\\n\\tthis.addToHistory(draftTitle);\\n\\treturn false;\\n};\\n\\n// Import JSON tiddlers into a pending import tiddler\\nNavigatorWidget.prototype.handleImportTiddlersEvent = function(event) {\\n\\t// Get the tiddlers\\n\\tvar tiddlers = $tw.utils.parseJSONSafe(event.param,[]);\\n\\t// Get the current $:/Import tiddler\\n\\tvar paramObject = event.paramObject || {},\\n\\t\\timportTitle = event.importTitle || paramObject.importTitle || IMPORT_TITLE,\\n\\t\\timportTiddler = this.wiki.getTiddler(importTitle),\\n\\t\\timportData = this.wiki.getTiddlerData(importTitle,{}),\\n\\t\\tnewFields = new Object({\\n\\t\\t\\ttitle: importTitle,\\n\\t\\t\\ttype: \\\"application/json\\\",\\n\\t\\t\\t\\\"plugin-type\\\": \\\"import\\\",\\n\\t\\t\\t\\\"status\\\": \\\"pending\\\"\\n\\t\\t}),\\n\\t\\tincomingTiddlers = [];\\n\\t// Process each tiddler\\n\\timportData.tiddlers = importData.tiddlers || {};\\n\\t$tw.utils.each(tiddlers,function(tiddlerFields) {\\n\\t\\ttiddlerFields.title = $tw.utils.trim(tiddlerFields.title);\\n\\t\\tvar title = tiddlerFields.title;\\n\\t\\tif(title) {\\n\\t\\t\\tincomingTiddlers.push(title);\\n\\t\\t\\timportData.tiddlers[title] = tiddlerFields;\\n\\t\\t}\\n\\t});\\n\\t// Give the active upgrader modules a chance to process the incoming tiddlers\\n\\tvar messages = this.wiki.invokeUpgraders(incomingTiddlers,importData.tiddlers);\\n\\t// Deselect any disabled, but _not_ suppressed tiddlers\\n\\tvar systemMessage = $tw.language.getString(\\\"Import/Upgrader/Tiddler/Unselected\\\");\\n\\t$tw.utils.each(messages,function(message,title) {\\n\\t\\tnewFields[\\\"message-\\\" + title] = message;\\n\\t\\tif (message.indexOf(systemMessage) !== -1) {\\n\\t\\t\\tnewFields[\\\"selection-\\\" + title] = \\\"unchecked\\\";\\n\\t\\t}\\n\\t});\\n\\t// Deselect suppressed tiddlers ... they have been removed and can't be selected anymore\\n\\t$tw.utils.each(importData.tiddlers,function(tiddler,title) {\\n\\t\\tif($tw.utils.count(tiddler) === 0) {\\n\\t\\t\\tnewFields[\\\"selection-\\\" + title] = \\\"unchecked\\\";\\n\\t\\t\\tnewFields[\\\"suppressed-\\\" + title] = \\\"yes\\\";\\n\\t\\t}\\n\\t});\\n\\t// Save the $:/Import tiddler\\n\\tnewFields.text = JSON.stringify(importData,null,$tw.config.preferences.jsonSpaces);\\n\\tthis.wiki.addTiddler(new $tw.Tiddler(importTiddler,newFields));\\n\\t// Update the story and history details\\n\\tvar autoOpenOnImport = event.autoOpenOnImport || paramObject.autoOpenOnImport || this.getVariable(\\\"tv-auto-open-on-import\\\");\\n\\tif(autoOpenOnImport !== \\\"no\\\") {\\n\\t\\tvar storyList = this.getStoryList(),\\n\\t\\t\\thistory = [];\\n\\t\\t// Add it to the story\\n\\t\\tif(storyList && storyList.indexOf(importTitle) === -1) {\\n\\t\\t\\tstoryList.unshift(importTitle);\\n\\t\\t}\\n\\t\\t// And to history\\n\\t\\thistory.push(importTitle);\\n\\t\\t// Save the updated story and history\\n\\t\\tthis.saveStoryList(storyList);\\n\\t\\tthis.addToHistory(history);\\n\\t}\\n\\treturn false;\\n};\\n\\n//\\nNavigatorWidget.prototype.handlePerformImportEvent = function(event) {\\n\\tvar self = this,\\n\\t\\timportTiddler = this.wiki.getTiddler(event.param),\\n\\t\\timportData,\\n\\t\\timportReport = [];\\n\\timportReport.push($tw.language.getString(\\\"Import/Imported/Hint\\\") + \\\"\\\\n\\\");\\n\\t// If you need to modify the import tiddler payload then consider th-importing-tiddler instead\\n\\timportTiddler = $tw.hooks.invokeHook(\\\"th-before-importing\\\",importTiddler);\\n\\timportData = this.wiki.getTiddlerDataCached(event.param,{tiddlers: {}}),\\n\\t$tw.utils.each(importData.tiddlers,function(tiddlerFields) {\\n\\t\\tvar title = tiddlerFields.title;\\n\\t\\tif(title && importTiddler && importTiddler.fields[\\\"selection-\\\" + title] !== \\\"unchecked\\\") {\\n\\t\\t\\tif($tw.utils.hop(importTiddler.fields,[\\\"rename-\\\" + title])) {\\n\\t\\t\\t\\tvar tiddler = new $tw.Tiddler(tiddlerFields,{title : importTiddler.fields[\\\"rename-\\\" + title]});\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvar tiddler = new $tw.Tiddler(tiddlerFields);\\n\\t\\t\\t}\\n\\t\\t\\t// th-importing-tiddler doesn't allow user interaction by default\\n\\t\\t\\t// If you want to use the default UI then use: $:/core/modules/upgraders/ instead\\n\\t\\t\\ttiddler = $tw.hooks.invokeHook(\\\"th-importing-tiddler\\\",tiddler);\\n\\t\\t\\t// Add the tiddlers to the store\\n\\t\\t\\tself.wiki.addTiddler(tiddler);\\n\\t\\t\\timportReport.push(\\\"# [[\\\" + tiddler.fields.title + \\\"]]\\\");\\n\\t\\t}\\n\\t});\\n\\t// Replace the $:/Import tiddler with an import report\\n\\tthis.wiki.addTiddler(new $tw.Tiddler({\\n\\t\\ttitle: event.param,\\n\\t\\ttext: importReport.join(\\\"\\\\n\\\"),\\n\\t\\t\\\"status\\\": \\\"complete\\\"\\n\\t}));\\n\\t// Navigate to the $:/Import tiddler\\n\\tthis.addToHistory([event.param]);\\n\\t// Trigger an autosave\\n\\t$tw.rootWidget.dispatchEvent({type: \\\"tm-auto-save-wiki\\\"});\\n};\\n\\nNavigatorWidget.prototype.handleFoldTiddlerEvent = function(event) {\\n\\tvar paramObject = event.paramObject || {};\\n\\tif(paramObject.foldedState) {\\n\\t\\tvar foldedState = this.wiki.getTiddlerText(paramObject.foldedState,\\\"show\\\") === \\\"show\\\" ? \\\"hide\\\" : \\\"show\\\";\\n\\t\\tthis.wiki.setText(paramObject.foldedState,\\\"text\\\",null,foldedState);\\n\\t}\\n};\\n\\nNavigatorWidget.prototype.handleFoldOtherTiddlersEvent = function(event) {\\n\\tvar self = this,\\n\\t\\tparamObject = event.paramObject || {},\\n\\t\\tprefix = paramObject.foldedStatePrefix;\\n\\t$tw.utils.each(this.getStoryList(),function(title) {\\n\\t\\tself.wiki.setText(prefix + title,\\\"text\\\",null,event.param === title ? \\\"show\\\" : \\\"hide\\\");\\n\\t});\\n};\\n\\nNavigatorWidget.prototype.handleFoldAllTiddlersEvent = function(event) {\\n\\tvar self = this,\\n\\t\\tparamObject = event.paramObject || {},\\n\\t\\tprefix = paramObject.foldedStatePrefix || \\\"$:/state/folded/\\\";\\n\\t$tw.utils.each(this.getStoryList(),function(title) {\\n\\t\\tself.wiki.setText(prefix + title,\\\"text\\\",null,\\\"hide\\\");\\n\\t});\\n};\\n\\nNavigatorWidget.prototype.handleUnfoldAllTiddlersEvent = function(event) {\\n\\tvar self = this,\\n\\t\\tparamObject = event.paramObject || {},\\n\\t\\tprefix = paramObject.foldedStatePrefix;\\n\\t$tw.utils.each(this.getStoryList(),function(title) {\\n\\t\\tself.wiki.setText(prefix + title,\\\"text\\\",null,\\\"show\\\");\\n\\t});\\n};\\n\\nexports.navigator = NavigatorWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/parameters.js\":{\"title\":\"$:/core/modules/widgets/parameters.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/parameters.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget for definition of transclusion parameters\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget,\\n\\tTranscludeWidget = require(\\\"$:/core/modules/widgets/transclude.js\\\").transclude;\\n\\nvar ParametersWidget = function(parseTreeNode,options) {\\n\\t// Initialise\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nParametersWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nParametersWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Call the constructor\\n\\tWidget.call(this);\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nParametersWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\tthis.parametersDepth = Math.max(parseInt(this.getAttribute(\\\"$depth\\\",\\\"1\\\"),10) || 1,1);\\n\\t// Find the parent transclusions\\n\\tvar pointer = this.parentWidget,\\n\\t\\tdepth = this.parametersDepth;\\n\\twhile(pointer) {\\n\\t\\tif(pointer instanceof TranscludeWidget) {\\n\\t\\t\\tdepth--;\\n\\t\\t\\tif(depth \u003C= 0) {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tpointer = pointer.parentWidget;\\n\\t}\\n\\t// Process each parameter\\n\\tif(pointer instanceof TranscludeWidget) {\\n\\t\\t// Get the value for each defined parameter\\n\\t\\t$tw.utils.each($tw.utils.getOrderedAttributesFromParseTreeNode(self.parseTreeNode),function(attr,index) {\\n\\t\\t\\tvar name = attr.name;\\n\\t\\t\\t// If the attribute name starts with $$ then reduce to a single dollar\\n\\t\\t\\tif(name.substr(0,2) === \\\"$$\\\") {\\n\\t\\t\\t\\tname = name.substr(1);\\n\\t\\t\\t}\\n\\t\\t\\tvar value = pointer.getTransclusionParameter(name,index,self.getAttribute(attr.name,\\\"\\\"));\\n\\t\\t\\tself.setVariable(name,value);\\n\\t\\t});\\n\\t\\t// Assign any metaparameters\\n\\t\\t$tw.utils.each(pointer.getTransclusionMetaParameters(),function(getValue,name) {\\n\\t\\t\\tvar variableName = self.getAttribute(\\\"$\\\" + name);\\n\\t\\t\\tif(variableName) {\\n\\t\\t\\t\\tself.setVariable(variableName,getValue(name));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nParametersWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(Object.keys(changedAttributes).length) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.parameters = ParametersWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/password.js\":{\"title\":\"$:/core/modules/widgets/password.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/password.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nPassword widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar PasswordWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nPasswordWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nPasswordWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Get the current password\\n\\tvar password = $tw.browser ? $tw.utils.getPassword(this.passwordName) || \\\"\\\" : \\\"\\\";\\n\\t// Create our element\\n\\tvar domNode = this.document.createElement(\\\"input\\\");\\n\\tdomNode.setAttribute(\\\"type\\\",\\\"password\\\");\\n\\tdomNode.setAttribute(\\\"value\\\",password);\\n\\t// Add a click event handler\\n\\t$tw.utils.addEventListeners(domNode,[\\n\\t\\t{name: \\\"change\\\", handlerObject: this, handlerMethod: \\\"handleChangeEvent\\\"}\\n\\t]);\\n\\t// Insert the label into the DOM and render any children\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tthis.domNodes.push(domNode);\\n};\\n\\nPasswordWidget.prototype.handleChangeEvent = function(event) {\\n\\tvar password = this.domNodes[0].value;\\n\\treturn $tw.utils.savePassword(this.passwordName,password);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nPasswordWidget.prototype.execute = function() {\\n\\t// Get the parameters from the attributes\\n\\tthis.passwordName = this.getAttribute(\\\"name\\\",\\\"\\\");\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nPasswordWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.name) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.password = PasswordWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/qualify.js\":{\"title\":\"$:/core/modules/widgets/qualify.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/qualify.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nQualify text to a variable \\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar QualifyWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nQualifyWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nQualifyWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nQualifyWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.qualifyName = this.getAttribute(\\\"name\\\");\\n\\tthis.qualifyTitle = this.getAttribute(\\\"title\\\");\\n\\t// Set context variable\\n\\tif(this.qualifyName) {\\n\\t\\tthis.setVariable(this.qualifyName,this.qualifyTitle + \\\"-\\\" + this.getStateQualifier());\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nQualifyWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.name || changedAttributes.title) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.qualify = QualifyWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/radio.js\":{\"title\":\"$:/core/modules/widgets/radio.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/radio.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nSet a field or index at a given tiddler via radio buttons\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\nvar RadioWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nRadioWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nRadioWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\tvar isChecked = this.getValue() === this.radioValue;\\n\\t// Create our elements\\n\\tthis.labelDomNode = this.document.createElement(\\\"label\\\");\\n\\tthis.labelDomNode.setAttribute(\\\"class\\\",\\n\\t\\t\\\"tc-radio \\\" + this.radioClass + (isChecked ? \\\" tc-radio-selected\\\" : \\\"\\\")\\n\\t);\\n\\tthis.inputDomNode = this.document.createElement(\\\"input\\\");\\n\\tthis.inputDomNode.setAttribute(\\\"type\\\",\\\"radio\\\");\\n\\tif(isChecked) {\\n\\t\\tthis.inputDomNode.checked = true;\\n\\t}\\n\\tif(this.isDisabled === \\\"yes\\\") {\\n\\t\\tthis.inputDomNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\tthis.labelDomNode.appendChild(this.inputDomNode);\\n\\tthis.spanDomNode = this.document.createElement(\\\"span\\\");\\n\\tthis.labelDomNode.appendChild(this.spanDomNode);\\n\\t// Add a click event handler\\n\\t$tw.utils.addEventListeners(this.inputDomNode,[\\n\\t\\t{name: \\\"change\\\", handlerObject: this, handlerMethod: \\\"handleChangeEvent\\\"}\\n\\t]);\\n\\t// Insert the label into the DOM and render any children\\n\\tparent.insertBefore(this.labelDomNode,nextSibling);\\n\\tthis.renderChildren(this.spanDomNode,null);\\n\\tthis.domNodes.push(this.labelDomNode);\\n};\\n\\nRadioWidget.prototype.getValue = function() {\\n\\tvar value,\\n\\t\\ttiddler = this.wiki.getTiddler(this.radioTitle);\\n\\tif(tiddler) {\\n\\t\\tif(this.radioIndex) {\\n\\t\\t\\tvalue = this.wiki.extractTiddlerDataItem(this.radioTitle,this.radioIndex,this.radioDefault);\\n\\t\\t} else {\\n\\t\\t\\tvalue = tiddler.getFieldString(this.radioField,this.radioDefault);\\n\\t\\t}\\n\\t} else {\\n\\t\\tvalue = this.radioDefault;\\n\\t}\\n\\treturn value;\\n};\\n\\nRadioWidget.prototype.setValue = function() {\\n\\tif(this.radioIndex) {\\n\\t\\tthis.wiki.setText(this.radioTitle,\\\"\\\",this.radioIndex,this.radioValue);\\n\\t} else {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.radioTitle),\\n\\t\\t\\taddition = {};\\n\\t\\taddition[this.radioField] = this.radioValue;\\n\\t\\tthis.wiki.addTiddler(new $tw.Tiddler(this.wiki.getCreationFields(),{title: this.radioTitle},tiddler,addition,this.wiki.getModificationFields()));\\n\\t}\\n};\\n\\nRadioWidget.prototype.handleChangeEvent = function(event) {\\n\\tif(this.inputDomNode.checked) {\\n\\t\\tthis.setValue();\\n\\t}\\n\\t// Trigger actions\\n\\tif(this.radioActions) {\\n\\t\\tthis.invokeActionString(this.radioActions,this,event,{\\\"actionValue\\\": this.radioValue});\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nRadioWidget.prototype.execute = function() {\\n\\t// Get the parameters from the attributes\\n\\tthis.radioTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.radioField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\tthis.radioIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.radioValue = this.getAttribute(\\\"value\\\");\\n\\tthis.radioClass = this.getAttribute(\\\"class\\\",\\\"\\\");\\n\\tthis.radioDefault = this.getAttribute(\\\"default\\\");\\n\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\",\\\"no\\\");\\n\\tthis.radioActions = this.getAttribute(\\\"actions\\\",\\\"\\\");\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nRadioWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(($tw.utils.count(changedAttributes) > 0)) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else if(changedTiddlers[this.radioTitle]) {\\n\\t\\tthis.inputDomNode.checked = this.getValue() === this.radioValue;\\n\\t\\t$tw.utils.toggleClass(this.labelDomNode,\\\"tc-radio-selected\\\",this.inputDomNode.checked);\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.radio = RadioWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/range.js\":{\"title\":\"$:/core/modules/widgets/range.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/range.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nRange widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar RangeWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nRangeWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nRangeWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Save the parent dom node\\n\\tthis.parentDomNode = parent;\\n\\t// Compute our attributes\\n\\tthis.computeAttributes();\\n\\t// Execute our logic\\n\\tthis.execute();\\n\\t// Create our elements\\n\\tthis.inputDomNode = this.document.createElement(\\\"input\\\");\\n\\tthis.inputDomNode.setAttribute(\\\"type\\\",\\\"range\\\");\\n\\tthis.inputDomNode.setAttribute(\\\"class\\\",this.elementClass);\\n\\tif(this.minValue){\\n\\t\\tthis.inputDomNode.setAttribute(\\\"min\\\", this.minValue);\\n\\t}\\n\\tif(this.maxValue){\\n\\t\\tthis.inputDomNode.setAttribute(\\\"max\\\", this.maxValue);\\n\\t}\\n\\tif(this.increment){\\n\\t\\tthis.inputDomNode.setAttribute(\\\"step\\\", this.increment);\\n\\t}\\n\\tif(this.isDisabled === \\\"yes\\\") {\\n\\t\\tthis.inputDomNode.setAttribute(\\\"disabled\\\",true);\\n\\t}\\n\\tthis.inputDomNode.value = this.getValue();\\n\\t// Add a click event handler\\n\\t$tw.utils.addEventListeners(this.inputDomNode,[\\n\\t\\t{name:\\\"mousedown\\\", handlerObject:this, handlerMethod:\\\"handleMouseDownEvent\\\"},\\n\\t\\t{name:\\\"mouseup\\\", handlerObject:this, handlerMethod:\\\"handleMouseUpEvent\\\"},\\n\\t\\t{name:\\\"change\\\", handlerObject:this, handlerMethod:\\\"handleChangeEvent\\\"},\\n\\t\\t{name:\\\"input\\\", handlerObject:this, handlerMethod:\\\"handleInputEvent\\\"},\\n\\t]);\\n\\t// Insert the label into the DOM and render any children\\n\\tparent.insertBefore(this.inputDomNode,nextSibling);\\n\\tthis.domNodes.push(this.inputDomNode);\\n};\\n\\nRangeWidget.prototype.getValue = function() {\\n\\tvar tiddler = this.wiki.getTiddler(this.tiddlerTitle),\\n\\t\\tfieldName = this.tiddlerField,\\n\\t\\tvalue = this.defaultValue;\\n\\tif(tiddler) {\\n\\t\\tif(this.tiddlerIndex) {\\n\\t\\t\\tvalue = this.wiki.extractTiddlerDataItem(tiddler,this.tiddlerIndex,this.defaultValue);\\n\\t\\t} else {\\n\\t\\t\\tif($tw.utils.hop(tiddler.fields,fieldName)) {\\n\\t\\t\\t\\tvalue = tiddler.fields[fieldName] || \\\"\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvalue = this.defaultValue;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn value;\\n};\\n\\nRangeWidget.prototype.getActionVariables = function(options) {\\n\\toptions = options || {};\\n\\tvar hasChanged = (this.startValue !== this.inputDomNode.value) ? \\\"yes\\\" : \\\"no\\\";\\n\\t// Trigger actions. Use variables = {key:value, key:value ...}\\n\\t// the \\\"value\\\" is needed.\\n\\treturn $tw.utils.extend({\\\"actionValue\\\": this.inputDomNode.value, \\\"actionValueHasChanged\\\": hasChanged}, options);\\n}\\n\\n// actionsStart\\nRangeWidget.prototype.handleMouseDownEvent = function(event) {\\n\\tthis.mouseDown = true; // TODO remove once IE is gone.\\n\\tthis.startValue = this.inputDomNode.value; // TODO remove this line once IE is gone!\\n\\tthis.handleEvent(event);\\n\\t// Trigger actions\\n\\tif(this.actionsMouseDown) {\\n\\t\\tvar variables = this.getActionVariables() // TODO this line will go into the function call below.\\n\\t\\tthis.invokeActionString(this.actionsMouseDown,this,event,variables);\\n\\t}\\n}\\n\\n// actionsStop\\nRangeWidget.prototype.handleMouseUpEvent = function(event) {\\n\\tthis.mouseDown = false; // TODO remove once IE is gone.\\n\\tthis.handleEvent(event);\\n\\t// Trigger actions\\n\\tif(this.actionsMouseUp) {\\n\\t\\tvar variables = this.getActionVariables()\\n\\t\\tthis.invokeActionString(this.actionsMouseUp,this,event,variables);\\n\\t}\\n\\t// TODO remove the following if() once IE is gone!\\n\\tif ($tw.browser.isIE) {\\n\\t\\tif (this.startValue !== this.inputDomNode.value) {\\n\\t\\t\\tthis.handleChangeEvent(event);\\n\\t\\t\\tthis.startValue = this.inputDomNode.value;\\n\\t\\t}\\n\\t}\\n}\\n\\nRangeWidget.prototype.handleChangeEvent = function(event) {\\n\\tif (this.mouseDown) { // TODO refactor this function once IE is gone.\\n\\t\\tthis.handleInputEvent(event);\\n\\t}\\n};\\n\\nRangeWidget.prototype.handleInputEvent = function(event) {\\n\\tthis.handleEvent(event);\\n\\t// Trigger actions\\n\\tif(this.actionsInput) {\\n\\t\\t// \\\"tiddler\\\" parameter may be missing. See .execute() below\\n\\t\\tvar variables = this.getActionVariables({\\\"actionValueHasChanged\\\": \\\"yes\\\"}) // TODO this line will go into the function call below.\\n\\t\\tthis.invokeActionString(this.actionsInput,this,event,variables);\\n\\t}\\n};\\n\\nRangeWidget.prototype.handleEvent = function(event) {\\n\\tif(this.getValue() !== this.inputDomNode.value) {\\n\\t\\tif(this.tiddlerIndex) {\\n\\t\\t\\tthis.wiki.setText(this.tiddlerTitle,\\\"\\\",this.tiddlerIndex,this.inputDomNode.value);\\n\\t\\t} else {\\n\\t\\t\\tthis.wiki.setText(this.tiddlerTitle,this.tiddlerField,null,this.inputDomNode.value);\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nRangeWidget.prototype.execute = function() {\\n\\t// TODO remove the next 1 lines once IE is gone!\\n\\tthis.mouseUp = true; // Needed for IE10\\n\\t// Get the parameters from the attributes\\n\\tthis.tiddlerTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.tiddlerField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\tthis.tiddlerIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.minValue = this.getAttribute(\\\"min\\\");\\n\\tthis.maxValue = this.getAttribute(\\\"max\\\");\\n\\tthis.increment = this.getAttribute(\\\"increment\\\");\\n\\tthis.defaultValue = this.getAttribute(\\\"default\\\",\\\"\\\");\\n\\tthis.elementClass = this.getAttribute(\\\"class\\\",\\\"\\\");\\n\\tthis.isDisabled = this.getAttribute(\\\"disabled\\\",\\\"no\\\");\\n\\t// Actions since 5.1.23\\n\\t// Next 2 only fire once!\\n\\tthis.actionsMouseDown = this.getAttribute(\\\"actionsStart\\\",\\\"\\\");\\n\\tthis.actionsMouseUp = this.getAttribute(\\\"actionsStop\\\",\\\"\\\");\\n\\t// Input fires very often!\\n\\tthis.actionsInput = this.getAttribute(\\\"actions\\\",\\\"\\\");\\n\\t// Make the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nRangeWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tvar refreshed = false;\\n\\t\\tif(changedTiddlers[this.tiddlerTitle]) {\\n\\t\\t\\tvar value = this.getValue();\\n\\t\\t\\tif(this.inputDomNode.value !== value) {\\n\\t\\t\\t\\tthis.inputDomNode.value = value;\\n\\t\\t\\t}\\n\\t\\t\\trefreshed = true;\\n\\t\\t}\\n\\t\\treturn this.refreshChildren(changedTiddlers) || refreshed;\\n\\t}\\n};\\n\\nexports.range = RangeWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/raw.js\":{\"title\":\"$:/core/modules/widgets/raw.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/raw.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nRaw widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar RawWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nRawWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nRawWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.execute();\\n\\tvar div = this.document.createElement(\\\"div\\\");\\n\\tdiv.innerHTML=this.parseTreeNode.html;\\n\\tparent.insertBefore(div,nextSibling);\\n\\tthis.domNodes.push(div);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nRawWidget.prototype.execute = function() {\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nRawWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn false;\\n};\\n\\nexports.raw = RawWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/reveal.js\":{\"title\":\"$:/core/modules/widgets/reveal.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/reveal.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nReveal widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar Popup = require(\\\"$:/core/modules/utils/dom/popup.js\\\");\\n\\nvar RevealWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nRevealWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nRevealWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar tag = this.parseTreeNode.isBlock ? \\\"div\\\" : \\\"span\\\";\\n\\tif(this.revealTag && $tw.config.htmlUnsafeElements.indexOf(this.revealTag) === -1) {\\n\\t\\ttag = this.revealTag;\\n\\t}\\n\\tvar domNode = this.document.createElement(tag);\\n\\tthis.domNode = domNode;\\n\\tthis.assignDomNodeClasses();\\n\\tif(this.style) {\\n\\t\\tdomNode.setAttribute(\\\"style\\\",this.style);\\n\\t}\\n\\tparent.insertBefore(domNode,nextSibling);\\n\\tthis.renderChildren(domNode,null);\\n\\tif(!domNode.isTiddlyWikiFakeDom && this.type === \\\"popup\\\" && this.isOpen) {\\n\\t\\tthis.positionPopup(domNode);\\n\\t\\t$tw.utils.addClass(domNode,\\\"tc-popup\\\"); // Make sure that clicks don't dismiss popups within the revealed content\\n\\t}\\n\\tif(!this.isOpen) {\\n\\t\\tdomNode.setAttribute(\\\"hidden\\\",\\\"true\\\");\\n\\t}\\n\\tthis.domNodes.push(domNode);\\n};\\n\\nRevealWidget.prototype.positionPopup = function(domNode) {\\n\\tdomNode.style.position = \\\"absolute\\\";\\n\\tdomNode.style.zIndex = \\\"1000\\\";\\n\\tvar left,top;\\n\\tswitch(this.position) {\\n\\t\\tcase \\\"left\\\":\\n\\t\\t\\tleft = this.popup.left - domNode.offsetWidth;\\n\\t\\t\\ttop = this.popup.top;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"above\\\":\\n\\t\\t\\tleft = this.popup.left;\\n\\t\\t\\ttop = this.popup.top - domNode.offsetHeight;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"aboveright\\\":\\n\\t\\t\\tleft = this.popup.left + this.popup.width;\\n\\t\\t\\ttop = this.popup.top + this.popup.height - domNode.offsetHeight;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"belowright\\\":\\n\\t\\t\\tleft = this.popup.left + this.popup.width;\\n\\t\\t\\ttop = this.popup.top + this.popup.height;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"right\\\":\\n\\t\\t\\tleft = this.popup.left + this.popup.width;\\n\\t\\t\\ttop = this.popup.top;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"belowleft\\\":\\n\\t\\t\\tleft = this.popup.left + this.popup.width - domNode.offsetWidth;\\n\\t\\t\\ttop = this.popup.top + this.popup.height;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"aboveleft\\\":\\n\\t\\t\\tleft = this.popup.left - domNode.offsetWidth;\\n\\t\\t\\ttop = this.popup.top - domNode.offsetHeight;\\n\\t\\t\\tbreak;\\n\\t\\tdefault: // Below\\n\\t\\t\\tleft = this.popup.left;\\n\\t\\t\\ttop = this.popup.top + this.popup.height;\\n\\t\\t\\tbreak;\\n\\t}\\n\\tif(!this.positionAllowNegative) {\\n\\t\\tleft = Math.max(0,left);\\n\\t\\ttop = Math.max(0,top);\\n\\t}\\n\\tif (this.popup.absolute) {\\n\\t\\t// Traverse the offsetParent chain and correct the offset to make it relative to the parent node.\\n\\t\\tfor (var offsetParentDomNode = domNode.offsetParent; offsetParentDomNode; offsetParentDomNode = offsetParentDomNode.offsetParent) {\\n\\t\\t\\tleft -= offsetParentDomNode.offsetLeft;\\n\\t\\t\\ttop -= offsetParentDomNode.offsetTop;\\n\\t\\t}\\n\\t}\\n\\tdomNode.style.left = left + \\\"px\\\";\\n\\tdomNode.style.top = top + \\\"px\\\";\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nRevealWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.state = this.getAttribute(\\\"state\\\");\\n\\tthis.revealTag = this.getAttribute(\\\"tag\\\");\\n\\tthis.type = this.getAttribute(\\\"type\\\");\\n\\tthis.text = this.getAttribute(\\\"text\\\");\\n\\tthis.position = this.getAttribute(\\\"position\\\");\\n\\tthis.positionAllowNegative = this.getAttribute(\\\"positionAllowNegative\\\") === \\\"yes\\\";\\n\\t// class attribute handled in assignDomNodeClasses()\\n\\tthis.style = this.getAttribute(\\\"style\\\",\\\"\\\");\\n\\tthis[\\\"default\\\"] = this.getAttribute(\\\"default\\\",\\\"\\\");\\n\\tthis.animate = this.getAttribute(\\\"animate\\\",\\\"no\\\");\\n\\tthis.retain = this.getAttribute(\\\"retain\\\",\\\"no\\\");\\n\\tthis.openAnimation = this.animate === \\\"no\\\" ? undefined : \\\"open\\\";\\n\\tthis.closeAnimation = this.animate === \\\"no\\\" ? undefined : \\\"close\\\";\\n\\tthis.updatePopupPosition = this.getAttribute(\\\"updatePopupPosition\\\",\\\"no\\\") === \\\"yes\\\";\\n\\t// Compute the title of the state tiddler and read it\\n\\tthis.stateTiddlerTitle = this.state;\\n\\tthis.stateTitle = this.getAttribute(\\\"stateTitle\\\");\\n\\tthis.stateField = this.getAttribute(\\\"stateField\\\");\\n\\tthis.stateIndex = this.getAttribute(\\\"stateIndex\\\");\\n\\tthis.readState();\\n\\t// Construct the child widgets\\n\\tvar childNodes = this.isOpen ? this.parseTreeNode.children : [];\\n\\tthis.hasChildNodes = this.isOpen;\\n\\tthis.makeChildWidgets(childNodes);\\n};\\n\\n/*\\nRead the state tiddler\\n*/\\nRevealWidget.prototype.readState = function() {\\n\\t// Read the information from the state tiddler\\n\\tvar state,\\n\\t defaultState = this[\\\"default\\\"];\\n\\tif(this.stateTitle) {\\n\\t\\tvar stateTitleTiddler = this.wiki.getTiddler(this.stateTitle);\\n\\t\\tif(this.stateField) {\\n\\t\\t\\tstate = stateTitleTiddler ? stateTitleTiddler.getFieldString(this.stateField) || defaultState : defaultState;\\n\\t\\t} else if(this.stateIndex) {\\n\\t\\t\\tstate = stateTitleTiddler ? this.wiki.extractTiddlerDataItem(this.stateTitle,this.stateIndex) || defaultState : defaultState;\\n\\t\\t} else if(stateTitleTiddler) {\\n\\t\\t\\tstate = this.wiki.getTiddlerText(this.stateTitle) || defaultState;\\n\\t\\t} else {\\n\\t\\t\\tstate = defaultState;\\n\\t\\t}\\n\\t} else {\\n\\t\\tstate = this.stateTiddlerTitle ? this.wiki.getTextReference(this.state,this[\\\"default\\\"],this.getVariable(\\\"currentTiddler\\\")) : this[\\\"default\\\"];\\n\\t}\\n\\tif(state === null) {\\n\\t\\tstate = this[\\\"default\\\"];\\n\\t}\\n\\tswitch(this.type) {\\n\\t\\tcase \\\"popup\\\":\\n\\t\\t\\tthis.readPopupState(state);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"match\\\":\\n\\t\\t\\tthis.isOpen = this.text === state;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"nomatch\\\":\\n\\t\\t\\tthis.isOpen = this.text !== state;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"lt\\\":\\n\\t\\t\\tthis.isOpen = !!(this.compareStateText(state) \u003C 0);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"gt\\\":\\n\\t\\t\\tthis.isOpen = !!(this.compareStateText(state) > 0);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"lteq\\\":\\n\\t\\t\\tthis.isOpen = !(this.compareStateText(state) > 0);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"gteq\\\":\\n\\t\\t\\tthis.isOpen = !(this.compareStateText(state) \u003C 0);\\n\\t\\t\\tbreak;\\n\\t}\\n};\\n\\nRevealWidget.prototype.compareStateText = function(state) {\\n\\treturn state.localeCompare(this.text,undefined,{numeric: true,sensitivity: \\\"case\\\"});\\n};\\n\\nRevealWidget.prototype.readPopupState = function(state) {\\n\\tthis.popup = Popup.parseCoordinates(state);\\n\\t// Check if the state matches the location regexp\\n\\tif(this.popup) {\\n\\t\\t// If so, we're open\\n\\t\\tthis.isOpen = true;\\n\\t} else {\\n\\t\\t// If not, we're closed\\n\\t\\tthis.isOpen = false;\\n\\t}\\n};\\n\\nRevealWidget.prototype.assignDomNodeClasses = function() {\\n\\tvar classes = this.getAttribute(\\\"class\\\",\\\"\\\").split(\\\" \\\");\\n\\tclasses.push(\\\"tc-reveal\\\");\\n\\tthis.domNode.className = classes.join(\\\" \\\");\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nRevealWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.state || changedAttributes.type || changedAttributes.text || changedAttributes.position || changedAttributes.positionAllowNegative || changedAttributes[\\\"default\\\"] || changedAttributes.animate || changedAttributes.stateTitle || changedAttributes.stateField || changedAttributes.stateIndex) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\tvar currentlyOpen = this.isOpen;\\n\\t\\tthis.readState();\\n\\t\\tif(this.isOpen !== currentlyOpen) {\\n\\t\\t\\tif(this.retain === \\\"yes\\\") {\\n\\t\\t\\t\\tthis.updateState();\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tthis.refreshSelf();\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t} else if(this.type === \\\"popup\\\" && this.isOpen && this.updatePopupPosition && (changedTiddlers[this.state] || changedTiddlers[this.stateTitle])) {\\n\\t\\t\\tthis.positionPopup(this.domNode);\\n\\t\\t}\\n\\t\\tif(changedAttributes.style) {\\n\\t\\t\\tthis.domNode.style = this.getAttribute(\\\"style\\\",\\\"\\\");\\n\\t\\t}\\n\\t\\tif(changedAttributes[\\\"class\\\"]) {\\n\\t\\t\\tthis.assignDomNodeClasses();\\n\\t\\t}\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\n/*\\nCalled by refresh() to dynamically show or hide the content\\n*/\\nRevealWidget.prototype.updateState = function() {\\n\\tvar self = this;\\n\\t// Read the current state\\n\\tthis.readState();\\n\\t// Construct the child nodes if needed\\n\\tvar domNode = this.domNodes[0];\\n\\tif(this.isOpen && !this.hasChildNodes) {\\n\\t\\tthis.hasChildNodes = true;\\n\\t\\tthis.makeChildWidgets(this.parseTreeNode.children);\\n\\t\\tthis.renderChildren(domNode,null);\\n\\t}\\n\\t// Animate our DOM node\\n\\tif(!domNode.isTiddlyWikiFakeDom && this.type === \\\"popup\\\" && this.isOpen) {\\n\\t\\tthis.positionPopup(domNode);\\n\\t\\t$tw.utils.addClass(domNode,\\\"tc-popup\\\"); // Make sure that clicks don't dismiss popups within the revealed content\\n\\n\\t}\\n\\tif(this.isOpen) {\\n\\t\\tdomNode.removeAttribute(\\\"hidden\\\");\\n $tw.anim.perform(this.openAnimation,domNode);\\n\\t} else {\\n\\t\\t$tw.anim.perform(this.closeAnimation,domNode,{callback: function() {\\n\\t\\t\\t//make sure that the state hasn't changed during the close animation\\n\\t\\t\\tself.readState()\\n\\t\\t\\tif(!self.isOpen) {\\n\\t\\t\\t\\tdomNode.setAttribute(\\\"hidden\\\",\\\"true\\\");\\n\\t\\t\\t}\\n\\t\\t}});\\n\\t}\\n};\\n\\nexports.reveal = RevealWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/scrollable.js\":{\"title\":\"$:/core/modules/widgets/scrollable.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/scrollable.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nScrollable widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ScrollableWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nScrollableWidget.prototype = new Widget();\\n\\nScrollableWidget.prototype.cancelScroll = function() {\\n\\tif(this.idRequestFrame) {\\n\\t\\tthis.cancelAnimationFrame.call(window,this.idRequestFrame);\\n\\t\\tthis.idRequestFrame = null;\\n\\t}\\n};\\n\\n/*\\nHandle a scroll event\\n*/\\nScrollableWidget.prototype.handleScrollEvent = function(event) {\\n\\t// Pass the scroll event through if our offsetsize is larger than our scrollsize\\n\\tif(this.outerDomNode.scrollWidth \u003C= this.outerDomNode.offsetWidth && this.outerDomNode.scrollHeight \u003C= this.outerDomNode.offsetHeight && this.fallthrough === \\\"yes\\\") {\\n\\t\\treturn true;\\n\\t}\\n\\tvar options = {};\\n\\tif($tw.utils.hop(event.paramObject,\\\"animationDuration\\\")) {\\n\\t\\toptions.animationDuration = event.paramObject.animationDuration;\\n\\t}\\n\\tif(event.paramObject && event.paramObject.selector) {\\n\\t\\tthis.scrollSelectorIntoView(null,event.paramObject.selector,null,options);\\n\\t} else {\\n\\t\\tthis.scrollIntoView(event.target,null,options);\\n\\t}\\n\\treturn false; // Handled event\\n};\\n\\n/*\\nScroll an element into view\\n*/\\nScrollableWidget.prototype.scrollIntoView = function(element,callback,options) {\\n\\tvar duration = $tw.utils.hop(options,\\\"animationDuration\\\") ? parseInt(options.animationDuration) : $tw.utils.getAnimationDuration(),\\n\\t\\tsrcWindow = element ? element.ownerDocument.defaultView : window;\\n\\tthis.cancelScroll();\\n\\tthis.startTime = Date.now();\\n\\tvar scrollPosition = {\\n\\t\\tx: this.outerDomNode.scrollLeft,\\n\\t\\ty: this.outerDomNode.scrollTop\\n\\t};\\n\\t// Get the client bounds of the element and adjust by the scroll position\\n\\tvar scrollableBounds = this.outerDomNode.getBoundingClientRect(),\\n\\t\\tclientTargetBounds = element.getBoundingClientRect(),\\n\\t\\tbounds = {\\n\\t\\t\\tleft: clientTargetBounds.left + scrollPosition.x - scrollableBounds.left,\\n\\t\\t\\ttop: clientTargetBounds.top + scrollPosition.y - scrollableBounds.top,\\n\\t\\t\\twidth: clientTargetBounds.width,\\n\\t\\t\\theight: clientTargetBounds.height\\n\\t\\t};\\n\\t// We'll consider the horizontal and vertical scroll directions separately via this function\\n\\tvar getEndPos = function(targetPos,targetSize,currentPos,currentSize) {\\n\\t\\t\\t// If the target is already visible then stay where we are\\n\\t\\t\\tif(targetPos >= currentPos && (targetPos + targetSize) \u003C= (currentPos + currentSize)) {\\n\\t\\t\\t\\treturn currentPos;\\n\\t\\t\\t// If the target is above/left of the current view, then scroll to its top/left\\n\\t\\t\\t} else if(targetPos \u003C= currentPos) {\\n\\t\\t\\t\\treturn targetPos;\\n\\t\\t\\t// If the target is smaller than the window and the scroll position is too far up, then scroll till the target is at the bottom of the window\\n\\t\\t\\t} else if(targetSize \u003C currentSize && currentPos \u003C (targetPos + targetSize - currentSize)) {\\n\\t\\t\\t\\treturn targetPos + targetSize - currentSize;\\n\\t\\t\\t// If the target is big, then just scroll to the top\\n\\t\\t\\t} else if(currentPos \u003C targetPos) {\\n\\t\\t\\t\\treturn targetPos;\\n\\t\\t\\t// Otherwise, stay where we are\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn currentPos;\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\tendX = getEndPos(bounds.left,bounds.width,scrollPosition.x,this.outerDomNode.offsetWidth),\\n\\t\\tendY = getEndPos(bounds.top,bounds.height,scrollPosition.y,this.outerDomNode.offsetHeight);\\n\\t// Only scroll if necessary\\n\\tif(endX !== scrollPosition.x || endY !== scrollPosition.y) {\\n\\t\\tvar self = this,\\n\\t\\t\\tdrawFrame;\\n\\t\\tdrawFrame = function () {\\n\\t\\t\\tvar t;\\n\\t\\t\\tif(duration \u003C= 0) {\\n\\t\\t\\t\\tt = 1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tt = ((Date.now()) - self.startTime) / duration;\\n\\t\\t\\t}\\n\\t\\t\\tif(t >= 1) {\\n\\t\\t\\t\\tself.cancelScroll();\\n\\t\\t\\t\\tt = 1;\\n\\t\\t\\t}\\n\\t\\t\\tt = $tw.utils.slowInSlowOut(t);\\n\\t\\t\\tself.outerDomNode.scrollLeft = scrollPosition.x + (endX - scrollPosition.x) * t;\\n\\t\\t\\tself.outerDomNode.scrollTop = scrollPosition.y + (endY - scrollPosition.y) * t;\\n\\t\\t\\tif(t \u003C 1) {\\n\\t\\t\\t\\tself.idRequestFrame = self.requestAnimationFrame.call(srcWindow,drawFrame);\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\tdrawFrame();\\n\\t}\\n};\\n\\nScrollableWidget.prototype.scrollSelectorIntoView = function(baseElement,selector,callback,options) {\\n\\tbaseElement = baseElement || document;\\n\\tvar element = $tw.utils.querySelectorSafe(selector,baseElement);\\n\\tif(element) {\\n\\t\\tthis.scrollIntoView(element,callback,options);\\n\\t}\\n};\\n\\n/*\\nRender this widget into the DOM\\n*/\\nScrollableWidget.prototype.render = function(parent,nextSibling) {\\n\\tvar self = this;\\n\\tthis.scaleFactor = 1;\\n\\tthis.addEventListeners([\\n\\t\\t{type: \\\"tm-scroll\\\", handler: \\\"handleScrollEvent\\\"}\\n\\t]);\\n\\tif($tw.browser) {\\n\\t\\tthis.requestAnimationFrame = window.requestAnimationFrame ||\\n\\t\\t\\twindow.webkitRequestAnimationFrame ||\\n\\t\\t\\twindow.mozRequestAnimationFrame ||\\n\\t\\t\\tfunction(callback) {\\n\\t\\t\\t\\treturn window.setTimeout(callback, 1000/60);\\n\\t\\t\\t};\\n\\t\\tthis.cancelAnimationFrame = window.cancelAnimationFrame ||\\n\\t\\t\\twindow.webkitCancelAnimationFrame ||\\n\\t\\t\\twindow.webkitCancelRequestAnimationFrame ||\\n\\t\\t\\twindow.mozCancelAnimationFrame ||\\n\\t\\t\\twindow.mozCancelRequestAnimationFrame ||\\n\\t\\t\\tfunction(id) {\\n\\t\\t\\t\\twindow.clearTimeout(id);\\n\\t\\t\\t};\\n\\t}\\n\\t// Remember parent\\n\\tthis.parentDomNode = parent;\\n\\t// Compute attributes and execute state\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\t// Create elements\\n\\tthis.outerDomNode = this.document.createElement(\\\"div\\\");\\n\\t$tw.utils.setStyle(this.outerDomNode,[\\n\\t\\t{overflowY: \\\"auto\\\"},\\n\\t\\t{overflowX: \\\"auto\\\"},\\n\\t\\t{webkitOverflowScrolling: \\\"touch\\\"}\\n\\t]);\\n\\tthis.innerDomNode = this.document.createElement(\\\"div\\\");\\n\\tthis.outerDomNode.appendChild(this.innerDomNode);\\n\\t// Assign classes\\n\\tthis.outerDomNode.className = this[\\\"class\\\"] || \\\"\\\";\\n\\t// Insert element\\n\\tparent.insertBefore(this.outerDomNode,nextSibling);\\n\\tthis.renderChildren(this.innerDomNode,null);\\n\\tthis.domNodes.push(this.outerDomNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nScrollableWidget.prototype.execute = function() {\\n\\t// Get attributes\\n\\tthis.fallthrough = this.getAttribute(\\\"fallthrough\\\",\\\"yes\\\");\\n\\tthis[\\\"class\\\"] = this.getAttribute(\\\"class\\\");\\n\\t// Make child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nScrollableWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"class\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.scrollable = ScrollableWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/select.js\":{\"title\":\"$:/core/modules/widgets/select.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/select.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nSelect widget:\\n\\n```\\n\u003C$select tiddler=\\\"MyTiddler\\\" field=\\\"text\\\">\\n\u003C$list filter=\\\"[tag[chapter]]\\\">\\n\u003Coption value=\u003C\u003CcurrentTiddler>>>\\n\u003C$view field=\\\"description\\\"/>\\n\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SelectWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSelectWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSelectWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n\\tthis.setSelectValue();\\n\\tif(this.selectFocus == \\\"yes\\\") {\\n\\t\\tthis.getSelectDomNode().focus();\\n\\t}\\n\\t$tw.utils.addEventListeners(this.getSelectDomNode(),[\\n\\t\\t{name: \\\"change\\\", handlerObject: this, handlerMethod: \\\"handleChangeEvent\\\"}\\n\\t]);\\n};\\n\\n/*\\nHandle a change event\\n*/\\nSelectWidget.prototype.handleChangeEvent = function(event) {\\n\\t// Get the new value and assign it to the tiddler\\n\\tif(this.selectMultiple == false) {\\n\\t\\tvar value = this.getSelectDomNode().value;\\n\\t} else {\\n\\t\\tvar value = this.getSelectValues()\\n\\t\\t\\t\\tvalue = $tw.utils.stringifyList(value);\\n\\t}\\n\\tthis.wiki.setText(this.selectTitle,this.selectField,this.selectIndex,value);\\n\\t// Trigger actions\\n\\tif(this.selectActions) {\\n\\t\\tthis.invokeActionString(this.selectActions,this,event);\\n\\t}\\n};\\n\\n/*\\nIf necessary, set the value of the select element to the current value\\n*/\\nSelectWidget.prototype.setSelectValue = function() {\\n\\tvar value = this.selectDefault;\\n\\t// Get the value\\n\\tif(this.selectIndex) {\\n\\t\\tvalue = this.wiki.extractTiddlerDataItem(this.selectTitle,this.selectIndex,value);\\n\\t} else {\\n\\t\\tvar tiddler = this.wiki.getTiddler(this.selectTitle);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tif(this.selectField === \\\"text\\\") {\\n\\t\\t\\t\\t// Calling getTiddlerText() triggers lazy loading of skinny tiddlers\\n\\t\\t\\t\\tvalue = this.wiki.getTiddlerText(this.selectTitle);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif($tw.utils.hop(tiddler.fields,this.selectField)) {\\n\\t\\t\\t\\t\\tvalue = tiddler.getFieldString(this.selectField);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tif(this.selectField === \\\"title\\\") {\\n\\t\\t\\t\\tvalue = this.selectTitle;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Assign it to the select element if it's different than the current value\\n\\tif (this.selectMultiple) {\\n\\t\\tvalue = value === undefined ? \\\"\\\" : value;\\n\\t\\tvar select = this.getSelectDomNode();\\n\\t\\tvar values = Array.isArray(value) ? value : $tw.utils.parseStringArray(value);\\n\\t\\tfor(var i=0; i \u003C select.children.length; i++){\\n\\t\\t\\tselect.children[i].selected = values.indexOf(select.children[i].value) !== -1\\n\\t\\t}\\n\\t} else {\\n\\t\\tvar domNode = this.getSelectDomNode();\\n\\t\\tif(domNode.value !== value) {\\n\\t\\t\\tdomNode.value = value;\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nGet the DOM node of the select element\\n*/\\nSelectWidget.prototype.getSelectDomNode = function() {\\n\\treturn this.children[0].domNodes[0];\\n};\\n\\n// Return an array of the selected opion values\\n// select is an HTML select element\\nSelectWidget.prototype.getSelectValues = function() {\\n\\tvar select, result, options, opt;\\n\\tselect = this.getSelectDomNode();\\n\\tresult = [];\\n\\toptions = select && select.options;\\n\\tfor (var i=0; i\u003Coptions.length; i++) {\\n\\t\\topt = options[i];\\n\\t\\tif (opt.selected) {\\n\\t\\t\\tresult.push(opt.value || opt.text);\\n\\t\\t}\\n\\t}\\n\\treturn result;\\n}\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSelectWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.selectActions = this.getAttribute(\\\"actions\\\");\\n\\tthis.selectTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.selectField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\tthis.selectIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.selectClass = this.getAttribute(\\\"class\\\");\\n\\tthis.selectDefault = this.getAttribute(\\\"default\\\");\\n\\tthis.selectMultiple = this.getAttribute(\\\"multiple\\\", false);\\n\\tthis.selectSize = this.getAttribute(\\\"size\\\");\\n\\tthis.selectTabindex = this.getAttribute(\\\"tabindex\\\");\\n\\tthis.selectTooltip = this.getAttribute(\\\"tooltip\\\");\\n\\tthis.selectFocus = this.getAttribute(\\\"focus\\\");\\n\\t// Make the child widgets\\n\\tvar selectNode = {\\n\\t\\ttype: \\\"element\\\",\\n\\t\\ttag: \\\"select\\\",\\n\\t\\tchildren: this.parseTreeNode.children\\n\\t};\\n\\tif(this.selectClass) {\\n\\t\\t$tw.utils.addAttributeToParseTreeNode(selectNode,\\\"class\\\",this.selectClass);\\n\\t}\\n\\tif(this.selectMultiple) {\\n\\t\\t$tw.utils.addAttributeToParseTreeNode(selectNode,\\\"multiple\\\",\\\"multiple\\\");\\n\\t}\\n\\tif(this.selectSize) {\\n\\t\\t$tw.utils.addAttributeToParseTreeNode(selectNode,\\\"size\\\",this.selectSize);\\n\\t}\\n\\tif(this.selectTabindex) {\\n\\t\\t$tw.utils.addAttributeToParseTreeNode(selectNode,\\\"tabindex\\\",this.selectTabindex);\\n\\t}\\n\\tif(this.selectTooltip) {\\n\\t\\t$tw.utils.addAttributeToParseTreeNode(selectNode,\\\"title\\\",this.selectTooltip);\\n\\t}\\n\\tthis.makeChildWidgets([selectNode]);\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nSelectWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\t// If we're using a different tiddler/field/index then completely refresh ourselves\\n\\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.tooltip) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t// If the target tiddler value has changed, just update setting and refresh the children\\n\\t} else {\\n\\t\\tif(changedAttributes.class) {\\n\\t\\t\\tthis.selectClass = this.getAttribute(\\\"class\\\");\\n\\t\\t\\tthis.getSelectDomNode().setAttribute(\\\"class\\\",this.selectClass); \\n\\t\\t}\\n\\t\\t\\n\\t\\tvar childrenRefreshed = this.refreshChildren(changedTiddlers);\\n\\t\\tif(changedTiddlers[this.selectTitle] || childrenRefreshed) {\\n\\t\\t\\tthis.setSelectValue();\\n\\t\\t} \\n\\t\\treturn childrenRefreshed;\\n\\t}\\n};\\n\\nexports.select = SelectWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/setmultiplevariables.js\":{\"title\":\"$:/core/modules/widgets/setmultiplevariables.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/setmultiplevariables.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget to set multiple variables at once from a list of names and a list of values\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SetMultipleVariablesWidget = function(parseTreeNode,options) {\\n this.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSetMultipleVariablesWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSetMultipleVariablesWidget.prototype.render = function(parent,nextSibling) {\\n this.parentDomNode = parent;\\n this.computeAttributes();\\n this.execute();\\n this.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSetMultipleVariablesWidget.prototype.execute = function() {\\n // Setup our variables\\n this.setVariables();\\n // Construct the child widgets\\n this.makeChildWidgets();\\n};\\n\\n\\nSetMultipleVariablesWidget.prototype.setVariables = function() {\\n // Set the variables\\n var self = this,\\n filterNames = this.getAttribute(\\\"$names\\\",\\\"\\\"),\\n filterValues = this.getAttribute(\\\"$values\\\",\\\"\\\");\\n this.variableNames = [];\\n this.variableValues = [];\\n if(filterNames && filterValues) {\\n this.variableNames = this.wiki.filterTiddlers(filterNames,this);\\n this.variableValues = this.wiki.filterTiddlers(filterValues,this);\\n $tw.utils.each(this.variableNames,function(varname,index) {\\n self.setVariable(varname,self.variableValues[index]);\\n });\\n }\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nSetMultipleVariablesWidget.prototype.refresh = function(changedTiddlers) {\\n var filterNames = this.getAttribute(\\\"$names\\\",\\\"\\\"),\\n filterValues = this.getAttribute(\\\"$values\\\",\\\"\\\"),\\n variableNames = this.wiki.filterTiddlers(filterNames,this),\\n variableValues = this.wiki.filterTiddlers(filterValues,this);\\n if(!$tw.utils.isArrayEqual(this.variableNames,variableNames) || !$tw.utils.isArrayEqual(this.variableValues,variableValues)) {\\n this.refreshSelf();\\n return true;\\n }\\n return this.refreshChildren(changedTiddlers);\\n};\\n\\nexports[\\\"setmultiplevariables\\\"] = SetMultipleVariablesWidget;\\n\\n})();\\n \",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/set.js\":{\"title\":\"$:/core/modules/widgets/set.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/set.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nSet variable widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar SetWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSetWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSetWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSetWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.setName = this.getAttribute(\\\"name\\\",\\\"currentTiddler\\\");\\n\\tthis.setFilter = this.getAttribute(\\\"filter\\\");\\n\\tthis.setSelect = this.getAttribute(\\\"select\\\");\\n\\tthis.setTiddler = this.getAttribute(\\\"tiddler\\\");\\n\\tthis.setSubTiddler = this.getAttribute(\\\"subtiddler\\\");\\n\\tthis.setField = this.getAttribute(\\\"field\\\");\\n\\tthis.setIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.setValue = this.getAttribute(\\\"value\\\");\\n\\tthis.setEmptyValue = this.getAttribute(\\\"emptyValue\\\");\\n\\t// Set context variable\\n\\tif(this.parseTreeNode.isMacroDefinition) {\\n\\t\\tthis.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,true);\\n\\t} else if(this.parseTreeNode.isFunctionDefinition) {\\n\\t\\tthis.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,undefined,{isFunctionDefinition: true});\\n\\t} else if(this.parseTreeNode.isProcedureDefinition) {\\n\\t\\tthis.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,undefined,{isProcedureDefinition: true, configTrimWhiteSpace: this.parseTreeNode.configTrimWhiteSpace});\\n\\t} else if(this.parseTreeNode.isWidgetDefinition) {\\n\\t\\tthis.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,undefined,{isWidgetDefinition: true, configTrimWhiteSpace: this.parseTreeNode.configTrimWhiteSpace});\\n\\t} else {\\n\\t\\tthis.setVariable(this.setName,this.getValue());\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nGet the value to be assigned\\n*/\\nSetWidget.prototype.getValue = function() {\\n\\tvar value = this.setValue;\\n\\tif(this.setTiddler) {\\n\\t\\tvar tiddler;\\n\\t\\tif(this.setSubTiddler) {\\n\\t\\t\\ttiddler = this.wiki.getSubTiddler(this.setTiddler,this.setSubTiddler);\\n\\t\\t} else {\\n\\t\\t\\ttiddler = this.wiki.getTiddler(this.setTiddler);\\n\\t\\t}\\n\\t\\tif(!tiddler) {\\n\\t\\t\\tvalue = this.setEmptyValue;\\n\\t\\t} else if(this.setField) {\\n\\t\\t\\tvalue = tiddler.getFieldString(this.setField) || this.setEmptyValue;\\n\\t\\t} else if(this.setIndex) {\\n\\t\\t\\tvalue = this.wiki.extractTiddlerDataItem(this.setTiddler,this.setIndex,this.setEmptyValue);\\n\\t\\t} else {\\n\\t\\t\\tvalue = tiddler.fields.text || this.setEmptyValue ;\\n\\t\\t}\\n\\t} else if(this.setFilter) {\\n\\t\\tvar results = this.wiki.filterTiddlers(this.setFilter,this);\\n\\t\\tif(this.setValue == null) {\\n\\t\\t\\tvar select;\\n\\t\\t\\tif(this.setSelect) {\\n\\t\\t\\t\\tselect = parseInt(this.setSelect,10);\\n\\t\\t\\t}\\n\\t\\t\\tif(select !== undefined) {\\n\\t\\t\\t\\tvalue = results[select] || \\\"\\\";\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tvalue = $tw.utils.stringifyList(results);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(results.length === 0 && this.setEmptyValue !== undefined) {\\n\\t\\t\\tvalue = this.setEmptyValue;\\n\\t\\t}\\n\\t} else if(!value && this.setEmptyValue) {\\n\\t\\tvalue = this.setEmptyValue;\\n\\t}\\n\\treturn value || \\\"\\\";\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nSetWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.name || changedAttributes.filter || changedAttributes.select || changedAttributes.tiddler || (this.setTiddler && changedTiddlers[this.setTiddler]) || changedAttributes.field || changedAttributes.index || changedAttributes.value || changedAttributes.emptyValue ||\\n\\t (this.setFilter && this.getValue() != this.variables[this.setName].value)) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.setvariable = SetWidget;\\nexports.set = SetWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/slot.js\":{\"title\":\"$:/core/modules/widgets/slot.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/slot.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget for definition of slots within transcluded content. The values provided by the translusion are passed to the slot.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget,\\n\\tTranscludeWidget = require(\\\"$:/core/modules/widgets/transclude.js\\\").transclude;\\n\\nvar SlotWidget = function(parseTreeNode,options) {\\n\\t// Initialise\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nSlotWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nSlotWidget.prototype.render = function(parent,nextSibling) {\\n\\t// Call the constructor\\n\\tWidget.call(this);\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nSlotWidget.prototype.execute = function() {\\n\\tvar self = this;\\n\\tthis.slotName = this.getAttribute(\\\"$name\\\");\\n\\tthis.slotDepth = parseInt(this.getAttribute(\\\"$depth\\\",\\\"1\\\"),10) || 1;\\n\\t// Find the parent transclusions\\n\\tvar pointer = this.parentWidget,\\n\\t\\tdepth = this.slotDepth;\\n\\twhile(pointer) {\\n\\t\\tif(pointer instanceof TranscludeWidget && pointer.hasVisibleSlots()) {\\n\\t\\t\\tdepth--;\\n\\t\\t\\tif(depth \u003C= 0) {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tpointer = pointer.parentWidget;\\n\\t}\\n\\tvar parseTreeNodes = [{type: \\\"text\\\", attributes: {text: {type: \\\"string\\\", value: \\\"Missing slot reference!\\\"}}}];\\n\\tif(pointer instanceof TranscludeWidget) {\\n\\t\\t// Get the parse tree nodes comprising the slot contents\\n\\t\\tparseTreeNodes = pointer.getTransclusionSlotFill(this.slotName,this.parseTreeNode.children);\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets(parseTreeNodes);\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nSlotWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes[\\\"$name\\\"] || changedAttributes[\\\"$depth\\\"]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports.slot = SlotWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/text.js\":{\"title\":\"$:/core/modules/widgets/text.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/text.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nText node widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar TextNodeWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nTextNodeWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nTextNodeWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tvar text = this.getAttribute(\\\"text\\\",this.parseTreeNode.text || \\\"\\\");\\n\\ttext = text.replace(/\\\\r/mg,\\\"\\\");\\n\\tvar textNode = this.document.createTextNode(text);\\n\\tparent.insertBefore(textNode,nextSibling);\\n\\tthis.domNodes.push(textNode);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nTextNodeWidget.prototype.execute = function() {\\n\\t// Nothing to do for a text node\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nTextNodeWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.text) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.text = TextNodeWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/tiddler.js\":{\"title\":\"$:/core/modules/widgets/tiddler.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/tiddler.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nTiddler widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar TiddlerWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nTiddlerWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nTiddlerWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nTiddlerWidget.prototype.execute = function() {\\n\\tthis.tiddlerState = this.computeTiddlerState();\\n\\tthis.setVariable(\\\"currentTiddler\\\",this.tiddlerState.currentTiddler);\\n\\tthis.setVariable(\\\"missingTiddlerClass\\\",this.tiddlerState.missingTiddlerClass);\\n\\tthis.setVariable(\\\"shadowTiddlerClass\\\",this.tiddlerState.shadowTiddlerClass);\\n\\tthis.setVariable(\\\"systemTiddlerClass\\\",this.tiddlerState.systemTiddlerClass);\\n\\tthis.setVariable(\\\"tiddlerTagClasses\\\",this.tiddlerState.tiddlerTagClasses);\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nCompute the tiddler state flags\\n*/\\nTiddlerWidget.prototype.computeTiddlerState = function() {\\n\\t// Get our parameters\\n\\tthis.tiddlerTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t// Compute the state\\n\\tvar state = {\\n\\t\\tcurrentTiddler: this.tiddlerTitle || \\\"\\\",\\n\\t\\tmissingTiddlerClass: (this.wiki.tiddlerExists(this.tiddlerTitle) || this.wiki.isShadowTiddler(this.tiddlerTitle)) ? \\\"tc-tiddler-exists\\\" : \\\"tc-tiddler-missing\\\",\\n\\t\\tshadowTiddlerClass: this.wiki.isShadowTiddler(this.tiddlerTitle) ? \\\"tc-tiddler-shadow\\\" : \\\"\\\",\\n\\t\\tsystemTiddlerClass: this.wiki.isSystemTiddler(this.tiddlerTitle) ? \\\"tc-tiddler-system\\\" : \\\"\\\",\\n\\t\\ttiddlerTagClasses: this.getTagClasses()\\n\\t};\\n\\t// Compute a simple hash to make it easier to detect changes\\n\\tstate.hash = state.currentTiddler + state.missingTiddlerClass + state.shadowTiddlerClass + state.systemTiddlerClass + state.tiddlerTagClasses;\\n\\treturn state;\\n};\\n\\n/*\\nCreate a string of CSS classes derived from the tags of the current tiddler\\n*/\\nTiddlerWidget.prototype.getTagClasses = function() {\\n\\tvar tiddler = this.wiki.getTiddler(this.tiddlerTitle);\\n\\tif(tiddler) {\\n\\t\\tvar tags = [];\\n\\t\\t$tw.utils.each(tiddler.fields.tags,function(tag) {\\n\\t\\t\\ttags.push(\\\"tc-tagged-\\\" + encodeURIComponent(tag));\\n\\t\\t});\\n\\t\\treturn tags.join(\\\" \\\");\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nTiddlerWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes(),\\n\\t\\tnewTiddlerState = this.computeTiddlerState();\\n\\tif(changedAttributes.tiddler || newTiddlerState.hash !== this.tiddlerState.hash) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.tiddler = TiddlerWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/transclude.js\":{\"title\":\"$:/core/modules/widgets/transclude.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/transclude.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nTransclude widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar TranscludeWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nTranscludeWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nTranscludeWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nTranscludeWidget.prototype.execute = function() {\\n\\t// Get our attributes, string parameters, and slot values into properties of the widget object\\n\\tthis.collectAttributes();\\n\\tthis.collectStringParameters();\\n\\tthis.collectSlotFillParameters();\\n\\t// Determine whether we're being used in inline or block mode\\n\\tvar parseAsInline = !this.parseTreeNode.isBlock;\\n\\tif(this.transcludeMode === \\\"inline\\\") {\\n\\t\\tparseAsInline = true;\\n\\t} else if(this.transcludeMode === \\\"block\\\") {\\n\\t\\tparseAsInline = false;\\n\\t}\\n\\t// Set 'thisTiddler'\\n\\tthis.setVariable(\\\"thisTiddler\\\",this.transcludeTitle);\\n\\tvar parseTreeNodes, target;\\n\\t// Process the transclusion according to the output type\\n\\tswitch(this.transcludeOutput || \\\"text/html\\\") {\\n\\t\\tcase \\\"text/html\\\":\\n\\t\\t\\t// Return the parse tree nodes of the target\\n\\t\\t\\ttarget = this.parseTransclusionTarget(parseAsInline);\\n\\t\\t\\tthis.parseAsInline = target.parseAsInline;\\n\\t\\t\\tparseTreeNodes = target.parseTreeNodes;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"text/raw\\\":\\n\\t\\t\\t// Just return the raw text\\n\\t\\t\\ttarget = this.getTransclusionTarget();\\n\\t\\t\\tparseTreeNodes = [{type: \\\"text\\\", text: target.text}];\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t\\t\\t// \\\"text/plain\\\" is the plain text result of wikifying the text\\n\\t\\t\\ttarget = this.parseTransclusionTarget(parseAsInline);\\n\\t\\t\\tvar widgetNode = this.wiki.makeWidget(target.parser,{\\n\\t\\t\\t\\tparentWidget: this,\\n\\t\\t\\t\\tdocument: $tw.fakeDocument\\n\\t\\t\\t});\\n\\t\\t\\tvar container = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\t\\t\\twidgetNode.render(container,null);\\n\\t\\t\\tparseTreeNodes = [{type: \\\"text\\\", text: container.textContent}];\\n\\t\\t\\tbreak;\\n\\t}\\n\\tthis.sourceText = target.text;\\n\\tthis.parserType = target.type;\\n\\t// Set the legacy transclusion context variables only if we're not transcluding a variable\\n\\tif(!this.transcludeVariable) {\\n\\t\\tvar recursionMarker = this.makeRecursionMarker();\\n\\t\\tthis.setVariable(\\\"transclusion\\\",recursionMarker);\\n\\t}\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets(parseTreeNodes);\\n};\\n\\n/*\\nCollect the attributes we need, in the process determining whether we're being used in legacy mode\\n*/\\nTranscludeWidget.prototype.collectAttributes = function() {\\n\\tvar self = this;\\n\\t// Detect legacy mode\\n\\tthis.legacyMode = true;\\n\\t$tw.utils.each(this.attributes,function(value,name) {\\n\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\tself.legacyMode = false;\\n\\t\\t}\\n\\t});\\n\\t// Get the attributes for the appropriate mode\\n\\tif(this.legacyMode) {\\n\\t\\tthis.transcludeTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t\\tthis.transcludeSubTiddler = this.getAttribute(\\\"subtiddler\\\");\\n\\t\\tthis.transcludeField = this.getAttribute(\\\"field\\\");\\n\\t\\tthis.transcludeIndex = this.getAttribute(\\\"index\\\");\\n\\t\\tthis.transcludeMode = this.getAttribute(\\\"mode\\\");\\n\\t\\tthis.recursionMarker = this.getAttribute(\\\"recursionMarker\\\",\\\"yes\\\");\\n\\t} else {\\n\\t\\tthis.transcludeVariable = this.getAttribute(\\\"$variable\\\");\\n\\t\\tthis.transcludeType = this.getAttribute(\\\"$type\\\");\\n\\t\\tthis.transcludeOutput = this.getAttribute(\\\"$output\\\",\\\"text/html\\\");\\n\\t\\tthis.transcludeTitle = this.getAttribute(\\\"$tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\t\\tthis.transcludeSubTiddler = this.getAttribute(\\\"$subtiddler\\\");\\n\\t\\tthis.transcludeField = this.getAttribute(\\\"$field\\\");\\n\\t\\tthis.transcludeIndex = this.getAttribute(\\\"$index\\\");\\n\\t\\tthis.transcludeMode = this.getAttribute(\\\"$mode\\\");\\n\\t\\tthis.recursionMarker = this.getAttribute(\\\"$recursionMarker\\\",\\\"yes\\\");\\n\\t}\\n};\\n\\n/*\\nCollect string parameters\\n*/\\nTranscludeWidget.prototype.collectStringParameters = function() {\\n\\tvar self = this;\\n\\tthis.stringParametersByName = Object.create(null);\\n\\tif(!this.legacyMode) {\\n\\t\\t$tw.utils.each(this.attributes,function(value,name) {\\n\\t\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\t\\tif(name.charAt(1) === \\\"$\\\") {\\n\\t\\t\\t\\t\\t// Attributes starting $$ represent parameters starting with a single $\\n\\t\\t\\t\\t\\tname = name.slice(1);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// Attributes starting with a single $ are reserved for the widget\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tself.stringParametersByName[name] = value;\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nCollect slot value parameters\\n*/\\nTranscludeWidget.prototype.collectSlotFillParameters = function() {\\n\\tvar self = this;\\n\\tthis.slotFillParseTrees = Object.create(null);\\n\\tif(this.legacyMode) {\\n\\t\\tthis.slotFillParseTrees[\\\"ts-missing\\\"] = this.parseTreeNode.children;\\n\\t} else {\\n\\t\\tthis.slotFillParseTrees[\\\"ts-raw\\\"] = this.parseTreeNode.children;\\n\\t\\tvar noFillWidgetsFound = true,\\n\\t\\t\\tsearchParseTreeNodes = function(nodes) {\\n\\t\\t\\t\\t$tw.utils.each(nodes,function(node) {\\n\\t\\t\\t\\t\\tif(node.type === \\\"fill\\\") {\\n\\t\\t\\t\\t\\t\\tif(node.attributes[\\\"$name\\\"] && node.attributes[\\\"$name\\\"].type === \\\"string\\\") {\\n\\t\\t\\t\\t\\t\\t\\tvar slotValueName = node.attributes[\\\"$name\\\"].value;\\n\\t\\t\\t\\t\\t\\t\\tself.slotFillParseTrees[slotValueName] = node.children || [];\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\tnoFillWidgetsFound = false;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tsearchParseTreeNodes(node.children);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t};\\n\\t\\tsearchParseTreeNodes(this.parseTreeNode.children);\\n\\t\\tif(noFillWidgetsFound) {\\n\\t\\t\\tthis.slotFillParseTrees[\\\"ts-missing\\\"] = this.parseTreeNode.children;\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nGet transcluded details as an object {text:,type:}\\n*/\\nTranscludeWidget.prototype.getTransclusionTarget = function() {\\n\\tvar self = this;\\n\\tvar text;\\n\\t// Return the text and type of the target\\n\\tif(this.hasAttribute(\\\"$variable\\\")) {\\n\\t\\tif(this.transcludeVariable) {\\n\\t\\t\\t// Transcluding a variable\\n\\t\\t\\tvar variableInfo = this.getVariableInfo(this.transcludeVariable,{params: this.getOrderedTransclusionParameters()});\\n\\t\\t\\ttext = variableInfo.text;\\n\\t\\t\\treturn {\\n\\t\\t\\t\\ttext: variableInfo.text,\\n\\t\\t\\t\\ttype: this.transcludeType\\n\\t\\t\\t};\\n\\t\\t}\\n\\t} else {\\n\\t\\t// Transcluding a text reference\\n\\t\\tvar parserInfo = this.wiki.getTextReferenceParserInfo(\\n\\t\\t\\t\\t\\t\\tthis.transcludeTitle,\\n\\t\\t\\t\\t\\t\\tthis.transcludeField,\\n\\t\\t\\t\\t\\t\\tthis.transcludeIndex,\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\tsubTiddler: this.transcludeSubTiddler,\\n\\t\\t\\t\\t\\t\\t\\tdefaultType: this.transcludeType\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\treturn {\\n\\t\\t\\ttext: parserInfo.text,\\n\\t\\t\\ttype: parserInfo.type\\n\\t\\t};\\n\\t}\\n};\\n\\n/*\\nGet transcluded parse tree nodes as an object {text:,type:,parseTreeNodes:,parseAsInline:}\\n*/\\nTranscludeWidget.prototype.parseTransclusionTarget = function(parseAsInline) {\\n\\tvar self = this;\\n\\tvar parser;\\n\\t// Get the parse tree\\n\\tif(this.hasAttribute(\\\"$variable\\\")) {\\n\\t\\tif(this.transcludeVariable) {\\n\\t\\t\\t// Transcluding a variable\\n\\t\\t\\tvar variableInfo = this.getVariableInfo(this.transcludeVariable,{params: this.getOrderedTransclusionParameters()}),\\n\\t\\t\\t\\tsrcVariable = variableInfo && variableInfo.srcVariable;\\n\\t\\t\\tif(variableInfo.text) {\\n\\t\\t\\t\\tif(srcVariable && srcVariable.isFunctionDefinition) {\\n\\t\\t\\t\\t\\tvar result = (variableInfo.resultList ? variableInfo.resultList[0] : variableInfo.text) || \\\"\\\";\\n\\t\\t\\t\\t\\tparser = {\\n\\t\\t\\t\\t\\t\\ttree: [{\\n\\t\\t\\t\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\t\\t\\t\\ttext: result\\n\\t\\t\\t\\t\\t\\t}],\\n\\t\\t\\t\\t\\t\\tsource: result,\\n\\t\\t\\t\\t\\t\\ttype: \\\"text/vnd.tiddlywiki\\\"\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\tif(parseAsInline) {\\n\\t\\t\\t\\t\\t\\tparser.tree[0] = {\\n\\t\\t\\t\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\t\\t\\t\\ttext: result\\n\\t\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tparser.tree[0] = {\\n\\t\\t\\t\\t\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\t\\t\\t\\t\\ttag: \\\"p\\\",\\n\\t\\t\\t\\t\\t\\t\\tchildren: [{\\n\\t\\t\\t\\t\\t\\t\\t\\ttype: \\\"text\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\ttext: result\\n\\t\\t\\t\\t\\t\\t\\t}]\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tvar cacheKey = (parseAsInline ? \\\"inlineParser\\\" : \\\"blockParser\\\") + (this.transcludeType || \\\"\\\");\\n\\t\\t\\t\\t\\tif(variableInfo.isCacheable && srcVariable[cacheKey]) {\\n\\t\\t\\t\\t\\t\\tparser = srcVariable[cacheKey];\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tparser = this.wiki.parseText(this.transcludeType,variableInfo.text || \\\"\\\",{parseAsInline: parseAsInline, configTrimWhiteSpace: srcVariable && srcVariable.configTrimWhiteSpace});\\n\\t\\t\\t\\t\\t\\tif(variableInfo.isCacheable) {\\n\\t\\t\\t\\t\\t\\t\\tsrcVariable[cacheKey] = parser;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(parser) {\\n\\t\\t\\t\\t\\t// Add parameters widget for procedures and custom widgets\\n\\t\\t\\t\\t\\tif(srcVariable && (srcVariable.isProcedureDefinition || srcVariable.isWidgetDefinition)) {\\n\\t\\t\\t\\t\\t\\tparser = {\\n\\t\\t\\t\\t\\t\\t\\ttree: [\\n\\t\\t\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttype: \\\"parameters\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tchildren: parser.tree\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t],\\n\\t\\t\\t\\t\\t\\t\\tsource: parser.source,\\n\\t\\t\\t\\t\\t\\t\\ttype: parser.type\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(srcVariable.params,function(param) {\\n\\t\\t\\t\\t\\t\\t\\tvar name = param.name;\\n\\t\\t\\t\\t\\t\\t\\t// Parameter names starting with dollar must be escaped to double dollars\\n\\t\\t\\t\\t\\t\\t\\tif(name.charAt(0) === \\\"$\\\") {\\n\\t\\t\\t\\t\\t\\t\\t\\tname = \\\"$\\\" + name;\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(parser.tree[0],name,param[\\\"default\\\"])\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t} else if(srcVariable && !srcVariable.isFunctionDefinition) {\\n\\t\\t\\t\\t\\t\\t// For macros and ordinary variables, wrap the parse tree in a vars widget assigning the parameters to variables named \\\"__paramname__\\\"\\n\\t\\t\\t\\t\\t\\tparser = {\\n\\t\\t\\t\\t\\t\\t\\ttree: [\\n\\t\\t\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttype: \\\"vars\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tchildren: parser.tree\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t],\\n\\t\\t\\t\\t\\t\\t\\tsource: parser.source,\\n\\t\\t\\t\\t\\t\\t\\ttype: parser.type\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t$tw.utils.each(variableInfo.params,function(param) {\\n\\t\\t\\t\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(parser.tree[0],\\\"__\\\" + param.name + \\\"__\\\",param.value)\\n\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else {\\n\\t\\t// Transcluding a text reference\\n\\t\\tparser = this.wiki.parseTextReference(\\n\\t\\t\\t\\t\\t\\tthis.transcludeTitle,\\n\\t\\t\\t\\t\\t\\tthis.transcludeField,\\n\\t\\t\\t\\t\\t\\tthis.transcludeIndex,\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\tparseAsInline: parseAsInline,\\n\\t\\t\\t\\t\\t\\t\\tsubTiddler: this.transcludeSubTiddler,\\n\\t\\t\\t\\t\\t\\t\\tdefaultType: this.transcludeType\\n\\t\\t\\t\\t\\t\\t});\\n\\t}\\n\\t// Return the parse tree\\n\\treturn {\\n\\t\\tparser: parser,\\n\\t\\tparseTreeNodes: parser ? parser.tree : (this.slotFillParseTrees[\\\"ts-missing\\\"] || []),\\n\\t\\tparseAsInline: parseAsInline,\\n\\t\\ttext: parser && parser.source,\\n\\t\\ttype: parser && parser.type\\n\\t};\\n};\\n\\n/*\\nFetch all the string parameters as an ordered array of {name:, value:} where the name is optional\\n*/\\nTranscludeWidget.prototype.getOrderedTransclusionParameters = function() {\\n\\tvar result = [];\\n\\t// Collect the parameters\\n\\tfor(var name in this.stringParametersByName) {\\n\\t\\tvar value = this.stringParametersByName[name];\\n\\t\\tresult.push({name: name, value: value});\\n\\t}\\n\\t// Sort numerical parameter names first\\n\\tresult.sort(function(a,b) {\\n\\t\\tvar aIsNumeric = !isNaN(a.name),\\n\\t\\t\\tbIsNumeric = !isNaN(b.name);\\n\\t\\tif(aIsNumeric && bIsNumeric) {\\n\\t\\t\\treturn a.name - b.name;\\n\\t\\t} else if(aIsNumeric) {\\n\\t\\t\\treturn -1;\\n\\t\\t} else if(bIsNumeric) {\\n\\t\\t\\treturn 1;\\n\\t\\t} else {\\n\\t\\t\\treturn a.name === b.name ? 0 : (a.name \u003C b.name ? -1 : 1);\\n\\t\\t}\\n\\t});\\n\\t// Remove names from numerical parameters\\n\\t$tw.utils.each(result,function(param,index) {\\n\\t\\tif(!isNaN(param.name)) {\\n\\t\\t\\tdelete param.name;\\n\\t\\t}\\n\\t});\\n\\treturn result;\\n};\\n\\n/*\\nFetch the value of a parameter\\n*/\\nTranscludeWidget.prototype.getTransclusionParameter = function(name,index,defaultValue) {\\n\\tif(name in this.stringParametersByName) {\\n\\t\\treturn this.stringParametersByName[name];\\n\\t} else {\\n\\t\\tvar name = \\\"\\\" + index;\\n\\t\\tif(name in this.stringParametersByName) {\\n\\t\\t\\treturn this.stringParametersByName[name];\\n\\t\\t}\\n\\t}\\n\\treturn defaultValue;\\n};\\n\\n/*\\nGet one of the special parameters to be provided by the parameters widget\\n*/\\nTranscludeWidget.prototype.getTransclusionMetaParameters = function() {\\n\\tvar self = this;\\n\\treturn {\\n\\t\\t\\\"parseMode\\\": function() {\\n\\t\\t\\treturn self.parseAsInline ? \\\"inline\\\" : \\\"block\\\";\\n\\t\\t},\\n\\t\\t\\\"parseTreeNodes\\\": function() {\\n\\t\\t\\treturn JSON.stringify(self.parseTreeNode.children || []);\\n\\t\\t},\\n\\t\\t\\\"slotFillParseTreeNodes\\\": function() {\\n\\t\\t\\treturn JSON.stringify(self.slotFillParseTrees);\\n\\t\\t},\\n\\t\\t\\\"params\\\": function() {\\n\\t\\t\\treturn JSON.stringify(self.stringParametersByName);\\n\\t\\t}\\n\\t};\\n};\\n\\n/*\\nFetch the value of a slot\\n*/\\nTranscludeWidget.prototype.getTransclusionSlotFill = function(name,defaultParseTreeNodes) {\\n\\tif(name && this.slotFillParseTrees[name] && this.slotFillParseTrees[name].length > 0) {\\n\\t\\treturn this.slotFillParseTrees[name];\\n\\t} else {\\n\\t\\treturn defaultParseTreeNodes || [];\\n\\t}\\n};\\n\\n/*\\nReturn whether this transclusion should be visible to the slot widget\\n*/\\nTranscludeWidget.prototype.hasVisibleSlots = function() {\\n\\treturn this.getAttribute(\\\"$fillignore\\\",\\\"no\\\") === \\\"no\\\";\\n}\\n\\n/*\\nCompose a string comprising the title, field and/or index to identify this transclusion for recursion detection\\n*/\\nTranscludeWidget.prototype.makeRecursionMarker = function() {\\n\\tvar output = [];\\n\\toutput.push(\\\"{\\\");\\n\\toutput.push(this.getVariable(\\\"currentTiddler\\\",{defaultValue: \\\"\\\"}));\\n\\toutput.push(\\\"|\\\");\\n\\toutput.push(this.transcludeTitle || \\\"\\\");\\n\\toutput.push(\\\"|\\\");\\n\\toutput.push(this.transcludeField || \\\"\\\");\\n\\toutput.push(\\\"|\\\");\\n\\toutput.push(this.transcludeIndex || \\\"\\\");\\n\\toutput.push(\\\"|\\\");\\n\\toutput.push(this.transcludeSubTiddler || \\\"\\\");\\n\\toutput.push(\\\"}\\\");\\n\\treturn output.join(\\\"\\\");\\n};\\n\\nTranscludeWidget.prototype.parserNeedsRefresh = function() {\\n\\t// Doesn't need to consider transcluded variables because a parent variable can't change once a widget has been created\\n\\tvar parserInfo = this.wiki.getTextReferenceParserInfo(this.transcludeTitle,this.transcludeField,this.transcludeIndex,{subTiddler:this.transcludeSubTiddler});\\n\\treturn (this.sourceText === undefined || parserInfo.sourceText !== this.sourceText || parserInfo.parserType !== this.parserType)\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nTranscludeWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(($tw.utils.count(changedAttributes) > 0) || (!this.transcludeVariable && changedTiddlers[this.transcludeTitle] && this.parserNeedsRefresh())) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.transclude = TranscludeWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/vars.js\":{\"title\":\"$:/core/modules/widgets/vars.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/vars.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nThis widget allows multiple variables to be set in one go:\\n\\n```\\n\\\\define helloworld() Hello world!\\n\u003C$vars greeting=\\\"Hi\\\" me={{!!title}} sentence=\u003C\u003Chelloworld>>>\\n \u003C\u003Cgreeting>>! I am \u003C\u003Cme>> and I say: \u003C\u003Csentence>>\\n\u003C/$vars>\\n```\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar VarsWidget = function(parseTreeNode,options) {\\n\\t// Initialise\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nVarsWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nVarsWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nVarsWidget.prototype.execute = function() {\\n\\t// Parse variables\\n\\tvar self = this;\\n\\t$tw.utils.each(this.attributes,function(val,key) {\\n\\t\\tif(key.charAt(0) !== \\\"$\\\") {\\n\\t\\t\\tself.setVariable(key,val);\\n\\t\\t}\\n\\t});\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nRefresh the widget by ensuring our attributes are up to date\\n*/\\nVarsWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif($tw.utils.count(changedAttributes) > 0) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t}\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\nexports[\\\"vars\\\"] = VarsWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/view.js\":{\"title\":\"$:/core/modules/widgets/view.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/view.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nView widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar ViewWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nViewWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nViewWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tif(this.text) {\\n\\t\\tvar textNode = this.document.createTextNode(this.text);\\n\\t\\tparent.insertBefore(textNode,nextSibling);\\n\\t\\tthis.domNodes.push(textNode);\\n\\t} else {\\n\\t\\tthis.makeChildWidgets();\\n\\t\\tthis.renderChildren(parent,nextSibling);\\n\\t}\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nViewWidget.prototype.execute = function() {\\n\\t// Get parameters from our attributes\\n\\tthis.viewTitle = this.getAttribute(\\\"tiddler\\\",this.getVariable(\\\"currentTiddler\\\"));\\n\\tthis.viewSubtiddler = this.getAttribute(\\\"subtiddler\\\");\\n\\tthis.viewField = this.getAttribute(\\\"field\\\",\\\"text\\\");\\n\\tthis.viewIndex = this.getAttribute(\\\"index\\\");\\n\\tthis.viewFormat = this.getAttribute(\\\"format\\\",\\\"text\\\");\\n\\tthis.viewTemplate = this.getAttribute(\\\"template\\\",\\\"\\\");\\n\\tthis.viewMode = this.getAttribute(\\\"mode\\\",\\\"block\\\");\\n\\tswitch(this.viewFormat) {\\n\\t\\tcase \\\"htmlwikified\\\":\\n\\t\\t\\tthis.text = this.getValueAsHtmlWikified(this.viewMode);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"plainwikified\\\":\\n\\t\\t\\tthis.text = this.getValueAsPlainWikified(this.viewMode);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"htmlencodedplainwikified\\\":\\n\\t\\t\\tthis.text = this.getValueAsHtmlEncodedPlainWikified(this.viewMode);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"htmlencoded\\\":\\n\\t\\t\\tthis.text = this.getValueAsHtmlEncoded();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"htmltextencoded\\\":\\n\\t\\t\\tthis.text = this.getValueAsHtmlTextEncoded();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"urlencoded\\\":\\n\\t\\t\\tthis.text = this.getValueAsUrlEncoded();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"doubleurlencoded\\\":\\n\\t\\t\\tthis.text = this.getValueAsDoubleUrlEncoded();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"date\\\":\\n\\t\\t\\tthis.text = this.getValueAsDate(this.viewTemplate);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"relativedate\\\":\\n\\t\\t\\tthis.text = this.getValueAsRelativeDate();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"stripcomments\\\":\\n\\t\\t\\tthis.text = this.getValueAsStrippedComments();\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"jsencoded\\\":\\n\\t\\t\\tthis.text = this.getValueAsJsEncoded();\\n\\t\\t\\tbreak;\\n\\t\\tdefault: // \\\"text\\\"\\n\\t\\t\\tthis.text = this.getValueAsText();\\n\\t\\t\\tbreak;\\n\\t}\\n};\\n\\n/*\\nThe various formatter functions are baked into this widget for the moment. Eventually they will be replaced by macro functions\\n*/\\n\\n/*\\nRetrieve the value of the widget. Options are:\\nasString: Optionally return the value as a string\\n*/\\nViewWidget.prototype.getValue = function(options) {\\n\\toptions = options || {};\\n\\tvar value = options.asString ? \\\"\\\" : undefined;\\n\\tif(this.viewIndex) {\\n\\t\\tvalue = this.wiki.extractTiddlerDataItem(this.viewTitle,this.viewIndex);\\n\\t} else {\\n\\t\\tvar tiddler;\\n\\t\\tif(this.viewSubtiddler) {\\n\\t\\t\\ttiddler = this.wiki.getSubTiddler(this.viewTitle,this.viewSubtiddler);\\n\\t\\t} else {\\n\\t\\t\\ttiddler = this.wiki.getTiddler(this.viewTitle);\\n\\t\\t}\\n\\t\\tif(tiddler) {\\n\\t\\t\\tif(this.viewField === \\\"text\\\" && !this.viewSubtiddler) {\\n\\t\\t\\t\\t// Calling getTiddlerText() triggers lazy loading of skinny tiddlers\\n\\t\\t\\t\\tvalue = this.wiki.getTiddlerText(this.viewTitle);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif($tw.utils.hop(tiddler.fields,this.viewField)) {\\n\\t\\t\\t\\t\\tif(options.asString) {\\n\\t\\t\\t\\t\\t\\tvalue = tiddler.getFieldString(this.viewField);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tvalue = tiddler.fields[this.viewField];\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\tif(this.viewField === \\\"title\\\") {\\n\\t\\t\\t\\tvalue = this.viewTitle;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn value;\\n};\\n\\nViewWidget.prototype.getValueAsText = function() {\\n\\treturn this.getValue({asString: true});\\n};\\n\\nViewWidget.prototype.getValueAsHtmlWikified = function(mode) {\\n\\treturn this.wiki.renderText(\\\"text/html\\\",\\\"text/vnd.tiddlywiki\\\",this.getValueAsText(),{\\n\\t\\tparseAsInline: mode !== \\\"block\\\",\\n\\t\\tparentWidget: this\\n\\t});\\n};\\n\\nViewWidget.prototype.getValueAsPlainWikified = function(mode) {\\n\\treturn this.wiki.renderText(\\\"text/plain\\\",\\\"text/vnd.tiddlywiki\\\",this.getValueAsText(),{\\n\\t\\tparseAsInline: mode !== \\\"block\\\",\\n\\t\\tparentWidget: this\\n\\t});\\n};\\n\\nViewWidget.prototype.getValueAsHtmlEncodedPlainWikified = function(mode) {\\n\\treturn $tw.utils.htmlEncode(this.wiki.renderText(\\\"text/plain\\\",\\\"text/vnd.tiddlywiki\\\",this.getValueAsText(),{\\n\\t\\tparseAsInline: mode !== \\\"block\\\",\\n\\t\\tparentWidget: this\\n\\t}));\\n};\\n\\nViewWidget.prototype.getValueAsHtmlEncoded = function() {\\n\\treturn $tw.utils.htmlEncode(this.getValueAsText());\\n};\\n\\nViewWidget.prototype.getValueAsHtmlTextEncoded = function() {\\n\\treturn $tw.utils.htmlTextEncode(this.getValueAsText());\\n};\\n\\nViewWidget.prototype.getValueAsUrlEncoded = function() {\\n\\treturn $tw.utils.encodeURIComponentExtended(this.getValueAsText());\\n};\\n\\nViewWidget.prototype.getValueAsDoubleUrlEncoded = function() {\\n\\treturn $tw.utils.encodeURIComponentExtended($tw.utils.encodeURIComponentExtended(this.getValueAsText()));\\n};\\n\\nViewWidget.prototype.getValueAsDate = function(format) {\\n\\tformat = format || \\\"YYYY MM DD 0hh:0mm\\\";\\n\\tvar value = $tw.utils.parseDate(this.getValue());\\n\\tif(value && $tw.utils.isDate(value) && value.toString() !== \\\"Invalid Date\\\") {\\n\\t\\treturn $tw.utils.formatDateString(value,format);\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\nViewWidget.prototype.getValueAsRelativeDate = function(format) {\\n\\tvar value = $tw.utils.parseDate(this.getValue());\\n\\tif(value && $tw.utils.isDate(value) && value.toString() !== \\\"Invalid Date\\\") {\\n\\t\\treturn $tw.utils.getRelativeDate((new Date()) - (new Date(value))).description;\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\nViewWidget.prototype.getValueAsStrippedComments = function() {\\n\\tvar lines = this.getValueAsText().split(\\\"\\\\n\\\"),\\n\\t\\tout = [];\\n\\tfor(var line=0; line\u003Clines.length; line++) {\\n\\t\\tvar text = lines[line];\\n\\t\\tif(!/^\\\\s*\\\\/\\\\/#/.test(text)) {\\n\\t\\t\\tout.push(text);\\n\\t\\t}\\n\\t}\\n\\treturn out.join(\\\"\\\\n\\\");\\n};\\n\\nViewWidget.prototype.getValueAsJsEncoded = function() {\\n\\treturn $tw.utils.stringify(this.getValueAsText());\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nViewWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.template || changedAttributes.format || changedTiddlers[this.viewTitle]) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn false;\\n\\t}\\n};\\n\\nexports.view = ViewWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/widget.js\":{\"title\":\"$:/core/modules/widgets/widget.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/widget.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget base class\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/* Maximum permitted depth of the widget tree for recursion detection */\\nvar MAX_WIDGET_TREE_DEPTH = 1000;\\n\\n/*\\nCreate a widget object for a parse tree node\\n\\tparseTreeNode: reference to the parse tree node to be rendered\\n\\toptions: see below\\nOptions include:\\n\\twiki: mandatory reference to wiki associated with this render tree\\n\\tparentWidget: optional reference to a parent renderer node for the context chain\\n\\tdocument: optional document object to use instead of global document\\n*/\\nvar Widget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInitialise widget properties. These steps are pulled out of the constructor so that we can reuse them in subclasses\\n*/\\nWidget.prototype.initialise = function(parseTreeNode,options) {\\n\\t// Bail if parseTreeNode is undefined, meaning that the widget constructor was called without any arguments so that it can be subclassed\\n\\tif(parseTreeNode === undefined) {\\n\\t\\treturn;\\n\\t}\\n\\toptions = options || {};\\n\\t// Save widget info\\n\\tthis.parseTreeNode = parseTreeNode;\\n\\tthis.wiki = options.wiki;\\n\\tthis.parentWidget = options.parentWidget;\\n\\tthis.variables = Object.create(this.parentWidget ? this.parentWidget.variables : null);\\n\\tthis.document = options.document;\\n\\tthis.attributes = {};\\n\\tthis.children = [];\\n\\tthis.domNodes = [];\\n\\tthis.eventListeners = {};\\n\\t// Hashmap of the widget classes\\n\\tif(!this.widgetClasses) {\\n\\t\\t// Get widget classes\\n\\t\\tWidget.prototype.widgetClasses = $tw.modules.applyMethods(\\\"widget\\\");\\n\\t\\t// Process any subclasses\\n\\t\\t$tw.modules.forEachModuleOfType(\\\"widget-subclass\\\",function(title,module) {\\n\\t\\t\\tif(module.baseClass) {\\n\\t\\t\\t\\tvar baseClass = Widget.prototype.widgetClasses[module.baseClass];\\n\\t\\t\\t\\tif(!baseClass) {\\n\\t\\t\\t\\t\\tthrow \\\"Module '\\\" + title + \\\"' is attemping to extend a non-existent base class '\\\" + module.baseClass + \\\"'\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tvar subClass = module.constructor;\\n\\t\\t\\t\\tsubClass.prototype = new baseClass();\\n\\t\\t\\t\\t$tw.utils.extend(subClass.prototype,module.prototype);\\n\\t\\t\\t\\tWidget.prototype.widgetClasses[module.name || module.baseClass] = subClass;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nRender this widget into the DOM\\n*/\\nWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nWidget.prototype.execute = function() {\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nSet the value of a context variable\\nname: name of the variable\\nvalue: value of the variable\\nparams: array of {name:, default:} for each parameter\\nisMacroDefinition: true if the variable is set via a \\\\define macro pragma (and hence should have variable substitution performed)\\noptions includes:\\n\\tisProcedureDefinition: true if the variable is set via a \\\\procedure pragma (and hence should not have variable substitution performed)\\n\\tisFunctionDefinition: true if the variable is set via a \\\\function pragma (and hence should not have variable substitution performed)\\n\\tisWidgetDefinition: true if the variable is set via a \\\\widget pragma (and hence should not have variable substitution performed)\\n*/\\nWidget.prototype.setVariable = function(name,value,params,isMacroDefinition,options) {\\n\\toptions = options || {};\\n\\tthis.variables[name] = {\\n\\t\\tvalue: value,\\n\\t\\tparams: params,\\n\\t\\tisMacroDefinition: !!isMacroDefinition,\\n\\t\\tisFunctionDefinition: !!options.isFunctionDefinition,\\n\\t\\tisProcedureDefinition: !!options.isProcedureDefinition,\\n\\t\\tisWidgetDefinition: !!options.isWidgetDefinition,\\n\\t\\tconfigTrimWhiteSpace: !!options.configTrimWhiteSpace\\n\\t};\\n};\\n\\n/*\\nGet the prevailing value of a context variable\\nname: name of variable\\noptions: see below\\nOptions include\\n\\nparams: array of {name:, value:} for each parameter\\ndefaultValue: default value if the variable is not defined\\nsource: optional source iterator for evaluating function invocations\\nallowSelfAssigned: if true, includes the current widget in the context chain instead of just the parent\\n\\nReturns an object with the following fields:\\n\\nparams: array of {name:,value:} or {value:} of parameters to be applied\\ntext: text of variable, with parameters properly substituted\\nresultList: result of variable evaluation as an array\\nsrcVariable: reference to the object defining the variable\\n*/\\nWidget.prototype.getVariableInfo = function(name,options) {\\n\\toptions = options || {};\\n\\tvar self = this,\\n\\t\\tactualParams = options.params || [],\\n\\t\\tvariable;\\n\\tif(options.allowSelfAssigned) {\\n\\t\\tvariable = this.variables[name];\\n\\t} else {\\n\\t\\tvariable = this.parentWidget && this.parentWidget.variables[name];\\n\\t}\\n\\t// Check for the variable defined in the parent widget (or an ancestor in the prototype chain)\\n\\tif(variable) {\\n\\t\\tvar originalValue = variable.value,\\n\\t\\t\\tvalue = originalValue,\\n\\t\\t\\tparams = [],\\n\\t\\t\\tresultList = [value];\\n\\t\\t// Only substitute parameter and variable references if this variable was defined with the \\\\define pragma\\n\\t\\tif(variable.isMacroDefinition) {\\n\\t\\t\\tparams = self.resolveVariableParameters(variable.params,actualParams);\\n\\t\\t\\t// Substitute any parameters specified in the definition\\n\\t\\t\\t$tw.utils.each(params,function(param) {\\n\\t\\t\\t\\tvalue = $tw.utils.replaceString(value,new RegExp(\\\"\\\\\\\\$\\\" + $tw.utils.escapeRegExp(param.name) + \\\"\\\\\\\\$\\\",\\\"mg\\\"),param.value);\\n\\t\\t\\t});\\n\\t\\t\\tvalue = self.substituteVariableReferences(value,options);\\n\\t\\t\\tresultList = [value];\\n\\t\\t} else if(variable.isFunctionDefinition) {\\n\\t\\t\\t// Function evaluations\\n\\t\\t\\tparams = self.resolveVariableParameters(variable.params,actualParams);\\n\\t\\t\\tvar variables = Object.create(null);\\n\\t\\t\\t// Apply default parameter values\\n\\t\\t\\t$tw.utils.each(variable.params,function(param,index) {\\n\\t\\t\\t\\tif(param[\\\"default\\\"]) {\\n\\t\\t\\t\\t\\tvariables[param.name] = param[\\\"default\\\"];\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t\\t// Parameters are an array of {value:} or {name:, value:} pairs\\n\\t\\t\\t$tw.utils.each(params,function(param) {\\n\\t\\t\\t\\tvariables[param.name] = param.value;\\n\\t\\t\\t});\\n\\t\\t\\tresultList = this.wiki.filterTiddlers(value,this.makeFakeWidgetWithVariables(variables),options.source);\\n\\t\\t\\tvalue = resultList[0] || \\\"\\\";\\n\\t\\t}\\n\\t\\treturn {\\n\\t\\t\\ttext: value,\\n\\t\\t\\tparams: params,\\n\\t\\t\\tresultList: resultList,\\n\\t\\t\\tsrcVariable: variable,\\n\\t\\t\\tisCacheable: originalValue === value\\n\\t\\t};\\n\\t}\\n\\t// If the variable doesn't exist in the parent widget then look for a macro module\\n\\tvar text = this.evaluateMacroModule(name,actualParams);\\n\\tif(text === undefined) {\\n\\t\\ttext = options.defaultValue;\\n\\t}\\n\\treturn {\\n\\t\\ttext: text,\\n\\t\\tresultList: [text]\\n\\t};\\n};\\n\\n/*\\nSimplified version of getVariableInfo() that just returns the text\\n*/\\nWidget.prototype.getVariable = function(name,options) {\\n\\treturn this.getVariableInfo(name,options).text;\\n};\\n\\n/*\\nMaps actual parameters onto formal parameters, returning an array of {name:,value:} objects\\nformalParams - Array of {name:,default:} (default value is optional)\\nactualParams - Array of string values or {name:,value:} (name is optional)\\n*/\\nWidget.prototype.resolveVariableParameters = function(formalParams,actualParams) {\\n\\tformalParams = formalParams || [];\\n\\tactualParams = actualParams || [];\\n\\tvar nextAnonParameter = 0, // Next candidate anonymous parameter in macro call\\n\\t\\tparamInfo, paramValue,\\n\\t\\tresults = [];\\n\\t// Step through each of the parameters in the macro definition\\n\\tfor(var p=0; p\u003CformalParams.length; p++) {\\n\\t\\t// Check if we've got a macro call parameter with the same name\\n\\t\\tparamInfo = formalParams[p];\\n\\t\\tparamValue = undefined;\\n\\t\\tfor(var m=0; m\u003CactualParams.length; m++) {\\n\\t\\t\\tif(typeof actualParams[m] !== \\\"string\\\" && actualParams[m].name === paramInfo.name) {\\n\\t\\t\\t\\tparamValue = actualParams[m].value;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// If not, use the next available anonymous macro call parameter\\n\\t\\twhile(nextAnonParameter \u003C actualParams.length && actualParams[nextAnonParameter].name) {\\n\\t\\t\\tnextAnonParameter++;\\n\\t\\t}\\n\\t\\tif(paramValue === undefined && nextAnonParameter \u003C actualParams.length) {\\n\\t\\t\\tvar param = actualParams[nextAnonParameter++];\\n\\t\\t\\tparamValue = typeof param === \\\"string\\\" ? param : param.value;\\n\\t\\t}\\n\\t\\t// If we've still not got a value, use the default, if any\\n\\t\\tparamValue = paramValue || paramInfo[\\\"default\\\"] || \\\"\\\";\\n\\t\\t// Store the parameter name and value\\n\\t\\tresults.push({name: paramInfo.name, value: paramValue});\\n\\t}\\n\\treturn results;\\n};\\n\\nWidget.prototype.substituteVariableReferences = function(text,options) {\\n\\tvar self = this;\\n\\treturn (text || \\\"\\\").replace(/\\\\$\\\\(([^\\\\)\\\\$]+)\\\\)\\\\$/g,function(match,p1,offset,string) {\\n\\t\\treturn options.variables && options.variables[p1] || (self.getVariable(p1,{defaultValue: \\\"\\\"}));\\n\\t});\\n};\\n\\nWidget.prototype.evaluateMacroModule = function(name,actualParams,defaultValue) {\\n\\tif($tw.utils.hop($tw.macros,name)) {\\n\\t\\tvar macro = $tw.macros[name],\\n\\t\\t\\targs = [];\\n\\t\\tif(macro.params.length > 0) {\\n\\t\\t\\tvar nextAnonParameter = 0, // Next candidate anonymous parameter in macro call\\n\\t\\t\\t\\tparamInfo, paramValue;\\n\\t\\t\\t// Step through each of the parameters in the macro definition\\n\\t\\t\\tfor(var p=0; p\u003Cmacro.params.length; p++) {\\n\\t\\t\\t\\t// Check if we've got a macro call parameter with the same name\\n\\t\\t\\t\\tparamInfo = macro.params[p];\\n\\t\\t\\t\\tparamValue = undefined;\\n\\t\\t\\t\\tfor(var m=0; m\u003CactualParams.length; m++) {\\n\\t\\t\\t\\t\\tif(actualParams[m].name === paramInfo.name) {\\n\\t\\t\\t\\t\\t\\tparamValue = actualParams[m].value;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// If not, use the next available anonymous macro call parameter\\n\\t\\t\\t\\twhile(nextAnonParameter \u003C actualParams.length && actualParams[nextAnonParameter].name) {\\n\\t\\t\\t\\t\\tnextAnonParameter++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(paramValue === undefined && nextAnonParameter \u003C actualParams.length) {\\n\\t\\t\\t\\t\\tparamValue = actualParams[nextAnonParameter++].value;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// If we've still not got a value, use the default, if any\\n\\t\\t\\t\\tparamValue = paramValue || paramInfo[\\\"default\\\"] || \\\"\\\";\\n\\t\\t\\t\\t// Save the parameter\\n\\t\\t\\t\\targs.push(paramValue);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\telse for(var i=0; i\u003CactualParams.length; ++i) {\\n\\t\\t\\targs.push(actualParams[i].value);\\n\\t\\t}\\n\\t\\treturn (macro.run.apply(this,args) || \\\"\\\").toString();\\n\\t} else {\\n\\t\\treturn defaultValue;\\n\\t}\\n};\\n\\n/*\\nCheck whether a given context variable value exists in the parent chain\\n*/\\nWidget.prototype.hasVariable = function(name,value) {\\n\\tvar node = this;\\n\\twhile(node) {\\n\\t\\tif($tw.utils.hop(node.variables,name) && node.variables[name].value === value) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t\\tnode = node.parentWidget;\\n\\t}\\n\\treturn false;\\n};\\n\\n/*\\nConstruct a qualifying string based on a hash of concatenating the values of a given variable in the parent chain\\n*/\\nWidget.prototype.getStateQualifier = function(name) {\\n\\tthis.qualifiers = this.qualifiers || Object.create(null);\\n\\tname = name || \\\"transclusion\\\";\\n\\tif(this.qualifiers[name]) {\\n\\t\\treturn this.qualifiers[name];\\n\\t} else {\\n\\t\\tvar output = [],\\n\\t\\t\\tnode = this;\\n\\t\\twhile(node && node.parentWidget) {\\n\\t\\t\\tif($tw.utils.hop(node.parentWidget.variables,name)) {\\n\\t\\t\\t\\toutput.push(node.getVariable(name));\\n\\t\\t\\t}\\n\\t\\t\\tnode = node.parentWidget;\\n\\t\\t}\\n\\t\\tvar value = $tw.utils.hashString(output.join(\\\"\\\"));\\n\\t\\tthis.qualifiers[name] = value;\\n\\t\\treturn value;\\n\\t}\\n};\\n\\n/*\\nMake a fake widget with specified variables, suitable for variable lookup in filters\\n*/\\nWidget.prototype.makeFakeWidgetWithVariables = function(variables) {\\n\\tvar self = this;\\n\\treturn {\\n\\t\\tgetVariable: function(name,opts) {\\n\\t\\t\\tif($tw.utils.hop(variables,name)) {\\n\\t\\t\\t\\treturn variables[name];\\n\\t\\t\\t} else {\\n\\t\\t\\t\\topts = opts || {};\\n\\t\\t\\t\\topts.variables = variables;\\n\\t\\t\\t\\treturn self.getVariable(name,opts);\\n\\t\\t\\t};\\n\\t\\t},\\n\\t\\tgetVariableInfo: function(name,opts) {\\n\\t\\t\\tif($tw.utils.hop(variables,name)) {\\n\\t\\t\\t\\treturn {\\n\\t\\t\\t\\t\\ttext: variables[name]\\n\\t\\t\\t\\t};\\n\\t\\t\\t} else {\\n\\t\\t\\t\\topts = opts || {};\\n\\t\\t\\t\\topts.variables = variables;\\n\\t\\t\\t\\treturn self.getVariableInfo(name,opts);\\n\\t\\t\\t};\\n\\t\\t},\\n\\t\\tmakeFakeWidgetWithVariables: self.makeFakeWidgetWithVariables,\\n\\t\\tresolveVariableParameters: self.resolveVariableParameters,\\n\\t\\twiki: self.wiki\\n\\t};\\n};\\n\\n/*\\nCompute the current values of the attributes of the widget. Returns a hashmap of the names of the attributes that have changed.\\nOptions include:\\nfilterFn: only include attributes where filterFn(name) returns true\\n*/\\nWidget.prototype.computeAttributes = function(options) {\\n\\toptions = options || {};\\n\\tvar changedAttributes = {},\\n\\t\\tself = this;\\n\\t$tw.utils.each(this.parseTreeNode.attributes,function(attribute,name) {\\n\\t\\tif(options.filterFn) {\\n\\t\\t\\tif(!options.filterFn(name)) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tvar value = self.computeAttribute(attribute);\\n\\t\\tif(self.attributes[name] !== value) {\\n\\t\\t\\tself.attributes[name] = value;\\n\\t\\t\\tchangedAttributes[name] = true;\\n\\t\\t}\\n\\t});\\n\\treturn changedAttributes;\\n};\\n\\nWidget.prototype.computeAttribute = function(attribute) {\\n\\tvar self = this,\\n\\t\\tvalue;\\n\\tif(attribute.type === \\\"filtered\\\") {\\n\\t\\tvalue = this.wiki.filterTiddlers(attribute.filter,this)[0] || \\\"\\\";\\n\\t} else if(attribute.type === \\\"indirect\\\") {\\n\\t\\tvalue = this.wiki.getTextReference(attribute.textReference,\\\"\\\",this.getVariable(\\\"currentTiddler\\\")) || \\\"\\\";\\n\\t} else if(attribute.type === \\\"macro\\\") {\\n\\t\\tvar variableInfo = this.getVariableInfo(attribute.value.name,{params: attribute.value.params});\\n\\t\\tvalue = variableInfo.text;\\n\\t} else if(attribute.type === \\\"substituted\\\") {\\n\\t\\tvalue = this.wiki.getSubstitutedText(attribute.rawValue,this) || \\\"\\\";\\n\\t} else { // String attribute\\n\\t\\tvalue = attribute.value;\\n\\t}\\n\\treturn value;\\n};\\n\\n/*\\nCheck for the presence of an evaluated attribute on the widget. Note that attributes set to a missing variable (ie attr=\u003C\u003Cmissing>>) will be treated as missing\\n*/\\nWidget.prototype.hasAttribute = function(name) {\\n\\treturn $tw.utils.hop(this.attributes,name);\\n};\\n\\n/*\\nCheck for the presence of a raw attribute on the widget parse tree node. Note that attributes set to a missing variable (ie attr=\u003C\u003Cmissing>>) will NOT be treated as missing\\n*/\\nWidget.prototype.hasParseTreeNodeAttribute = function(name) {\\n\\treturn $tw.utils.hop(this.parseTreeNode.attributes,name);\\n};\\n\\n/*\\nGet the value of an attribute\\n*/\\nWidget.prototype.getAttribute = function(name,defaultText) {\\n\\tif($tw.utils.hop(this.attributes,name)) {\\n\\t\\treturn this.attributes[name];\\n\\t} else {\\n\\t\\treturn defaultText;\\n\\t}\\n};\\n\\n/*\\nAssign the computed attributes of the widget to a domNode\\noptions include:\\nexcludeEventAttributes: ignores attributes whose name begins with \\\"on\\\"\\n*/\\nWidget.prototype.assignAttributes = function(domNode,options) {\\n\\toptions = options || {};\\n\\tvar self = this;\\n\\tvar assignAttribute = function(name,value) {\\n\\t\\t// Check for excluded attribute names\\n\\t\\tif(options.excludeEventAttributes && name.substr(0,2) === \\\"on\\\") {\\n\\t\\t\\tvalue = undefined;\\n\\t\\t}\\n\\t\\tif(value !== undefined) {\\n\\t\\t\\t// Handle the xlink: namespace\\n\\t\\t\\tvar namespace = null;\\n\\t\\t\\tif(name.substr(0,6) === \\\"xlink:\\\" && name.length > 6) {\\n\\t\\t\\t\\tnamespace = \\\"http://www.w3.org/1999/xlink\\\";\\n\\t\\t\\t\\tname = name.substr(6);\\n\\t\\t\\t}\\n\\t\\t\\t// Handle styles\\n\\t\\t\\tif(name.substr(0,6) === \\\"style.\\\" && name.length > 6) {\\n\\t\\t\\t\\tdomNode.style[$tw.utils.unHyphenateCss(name.substr(6))] = value;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// Setting certain attributes can cause a DOM error (eg xmlns on the svg element)\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tdomNode.setAttributeNS(namespace,name,value);\\n\\t\\t\\t\\t} catch(e) {\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Not all parse tree nodes have the orderedAttributes property\\n\\tif(this.parseTreeNode.orderedAttributes) {\\n\\t\\t$tw.utils.each(this.parseTreeNode.orderedAttributes,function(attribute,index) {\\n\\t\\t\\tassignAttribute(attribute.name,self.attributes[attribute.name]);\\n\\t\\t});\\t\\n\\t} else {\\n\\t\\t$tw.utils.each(Object.keys(self.attributes).sort(),function(name) {\\n\\t\\t\\tassignAttribute(name,self.attributes[name]);\\n\\t\\t});\\t\\n\\t}\\n};\\n\\n/*\\nGet the number of ancestor widgets for this widget\\n*/\\nWidget.prototype.getAncestorCount = function() {\\n\\tif(this.ancestorCount === undefined) {\\n\\t\\tif(this.parentWidget) {\\n\\t\\t\\tthis.ancestorCount = this.parentWidget.getAncestorCount() + 1;\\n\\t\\t} else {\\n\\t\\t\\tthis.ancestorCount = 0;\\n\\t\\t}\\n\\t}\\n\\treturn this.ancestorCount;\\n};\\n\\n/*\\nMake child widgets correspondng to specified parseTreeNodes\\n*/\\nWidget.prototype.makeChildWidgets = function(parseTreeNodes,options) {\\n\\toptions = options || {};\\n\\tthis.children = [];\\n\\tvar self = this;\\n\\t// Check for too much recursion\\n\\tif(this.getAncestorCount() > MAX_WIDGET_TREE_DEPTH) {\\n\\t\\tthis.children.push(this.makeChildWidget({type: \\\"error\\\", attributes: {\\n\\t\\t\\t\\\"$message\\\": {type: \\\"string\\\", value: $tw.language.getString(\\\"Error/RecursiveTransclusion\\\")}\\n\\t\\t}}));\\n\\t} else {\\n\\t\\t// Create set variable widgets for each variable\\n\\t\\t$tw.utils.each(options.variables,function(value,name) {\\n\\t\\t\\tvar setVariableWidget = {\\n\\t\\t\\t\\ttype: \\\"set\\\",\\n\\t\\t\\t\\tattributes: {\\n\\t\\t\\t\\t\\tname: {type: \\\"string\\\", value: name},\\n\\t\\t\\t\\t\\tvalue: {type: \\\"string\\\", value: value}\\n\\t\\t\\t\\t},\\n\\t\\t\\t\\tchildren: parseTreeNodes\\n\\t\\t\\t};\\n\\t\\t\\tparseTreeNodes = [setVariableWidget];\\n\\t\\t});\\n\\t\\t// Create the child widgets\\n\\t\\t$tw.utils.each(parseTreeNodes || (this.parseTreeNode && this.parseTreeNode.children),function(childNode) {\\n\\t\\t\\tself.children.push(self.makeChildWidget(childNode));\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nConstruct the widget object for a parse tree node\\noptions include:\\n\\tvariables: optional hashmap of variables to wrap around the widget\\n*/\\nWidget.prototype.makeChildWidget = function(parseTreeNode,options) {\\n\\tvar self = this;\\n\\toptions = options || {};\\n\\t// Check whether this node type is defined by a custom widget definition\\n\\tvar variableDefinitionName = \\\"$\\\" + parseTreeNode.type;\\n\\tif(this.variables[variableDefinitionName]) {\\n\\t\\tvar isOverrideable = function() {\\n\\t\\t\\t\\t// Widget is overrideable if its name contains a period, or if it is an existing JS widget and we're not in safe mode\\n\\t\\t\\t\\treturn parseTreeNode.type.indexOf(\\\".\\\") !== -1 || (!!self.widgetClasses[parseTreeNode.type] && !$tw.safeMode);\\n\\t\\t\\t};\\n\\t\\tif(!parseTreeNode.isNotRemappable && isOverrideable()) { \\n\\t\\t\\tvar variableInfo = this.getVariableInfo(variableDefinitionName,{allowSelfAssigned: true});\\n\\t\\t\\tif(variableInfo && variableInfo.srcVariable && variableInfo.srcVariable.value && variableInfo.srcVariable.isWidgetDefinition) {\\n\\t\\t\\t\\tvar newParseTreeNode = {\\n\\t\\t\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\t\\t\\tchildren: parseTreeNode.children,\\n\\t\\t\\t\\t\\tisBlock: parseTreeNode.isBlock\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(newParseTreeNode,\\\"$variable\\\",variableDefinitionName);\\n\\t\\t\\t\\t$tw.utils.each(parseTreeNode.attributes,function(attr,name) {\\n\\t\\t\\t\\t\\t// If the attribute starts with a dollar then add an extra dollar so that it doesn't clash with the $xxx attributes of transclude\\n\\t\\t\\t\\t\\tname = name.charAt(0) === \\\"$\\\" ? \\\"$\\\" + name : name;\\n\\t\\t\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(newParseTreeNode,$tw.utils.extend({},attr,{name: name}));\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\tparseTreeNode = newParseTreeNode;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Get the widget class for this node type\\n\\tvar WidgetClass = this.widgetClasses[parseTreeNode.type];\\n\\tif(!WidgetClass) {\\n\\t\\tWidgetClass = this.widgetClasses.text;\\n\\t\\tparseTreeNode = {type: \\\"text\\\", text: \\\"Undefined widget '\\\" + parseTreeNode.type + \\\"'\\\"};\\n\\t}\\n\\t// Create set variable widgets for each variable\\n\\t$tw.utils.each(options.variables,function(value,name) {\\n\\t\\tvar setVariableWidget = {\\n\\t\\t\\ttype: \\\"set\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tname: {type: \\\"string\\\", value: name},\\n\\t\\t\\t\\tvalue: {type: \\\"string\\\", value: value}\\n\\t\\t\\t},\\n\\t\\t\\tchildren: [\\n\\t\\t\\t\\tparseTreeNode\\n\\t\\t\\t]\\n\\t\\t};\\n\\t\\tparseTreeNode = setVariableWidget;\\n\\t});\\n\\treturn new WidgetClass(parseTreeNode,{\\n\\t\\twiki: this.wiki,\\n\\t\\tparentWidget: this,\\n\\t\\tdocument: this.document\\n\\t});\\n};\\n\\n/*\\nGet the next sibling of this widget\\n*/\\nWidget.prototype.nextSibling = function() {\\n\\tif(this.parentWidget) {\\n\\t\\tvar index = this.parentWidget.children.indexOf(this);\\n\\t\\tif(index !== -1 && index \u003C this.parentWidget.children.length-1) {\\n\\t\\t\\treturn this.parentWidget.children[index+1];\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nGet the previous sibling of this widget\\n*/\\nWidget.prototype.previousSibling = function() {\\n\\tif(this.parentWidget) {\\n\\t\\tvar index = this.parentWidget.children.indexOf(this);\\n\\t\\tif(index !== -1 && index > 0) {\\n\\t\\t\\treturn this.parentWidget.children[index-1];\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nRender the children of this widget into the DOM\\n*/\\nWidget.prototype.renderChildren = function(parent,nextSibling) {\\n\\tvar children = this.children;\\n\\tfor(var i = 0; i \u003C children.length; i++) {\\n\\t\\tchildren[i].render(parent,nextSibling);\\n\\t};\\n};\\n\\n/*\\nAdd a list of event listeners from an array [{type:,handler:},...]\\n*/\\nWidget.prototype.addEventListeners = function(listeners) {\\n\\tvar self = this;\\n\\t$tw.utils.each(listeners,function(listenerInfo) {\\n\\t\\tself.addEventListener(listenerInfo.type,listenerInfo.handler);\\n\\t});\\n};\\n\\n/*\\nAdd an event listener\\n*/\\nWidget.prototype.addEventListener = function(type,handler) {\\n\\tvar self = this;\\n\\tif(typeof handler === \\\"string\\\") { // The handler is a method name on this widget\\n\\t\\tthis.eventListeners[type] = function(event) {\\n\\t\\t\\treturn self[handler].call(self,event);\\n\\t\\t};\\n\\t} else { // The handler is a function\\n\\t\\tthis.eventListeners[type] = function(event) {\\n\\t\\t\\treturn handler.call(self,event);\\n\\t\\t};\\n\\t}\\n};\\n\\n/*\\nDispatch an event to a widget. If the widget doesn't handle the event then it is also dispatched to the parent widget\\n*/\\nWidget.prototype.dispatchEvent = function(event) {\\n\\tevent.widget = event.widget || this;\\n\\t// Dispatch the event if this widget handles it\\n\\tvar listener = this.eventListeners[event.type];\\n\\tif(listener) {\\n\\t\\t// Don't propagate the event if the listener returned false\\n\\t\\tif(!listener(event)) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\\n\\t// Dispatch the event to the parent widget\\n\\tif(this.parentWidget) {\\n\\t\\treturn this.parentWidget.dispatchEvent(event);\\n\\t}\\n\\treturn true;\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nWidget.prototype.refresh = function(changedTiddlers) {\\n\\treturn this.refreshChildren(changedTiddlers);\\n};\\n\\n/*\\nRebuild a previously rendered widget\\n*/\\nWidget.prototype.refreshSelf = function() {\\n\\tvar nextSibling = this.findNextSiblingDomNode();\\n\\tthis.removeChildDomNodes();\\n\\tthis.render(this.parentDomNode,nextSibling);\\n};\\n\\n/*\\nRefresh all the children of a widget\\n*/\\nWidget.prototype.refreshChildren = function(changedTiddlers) {\\n\\tvar children = this.children,\\n\\t\\trefreshed = false;\\n\\tfor (var i = 0; i \u003C children.length; i++) {\\n\\t\\trefreshed = children[i].refresh(changedTiddlers) || refreshed;\\n\\t}\\n\\treturn refreshed;\\n};\\n\\n/*\\nFind the next sibling in the DOM to this widget. This is done by scanning the widget tree through all next siblings and their descendents that share the same parent DOM node\\n*/\\nWidget.prototype.findNextSiblingDomNode = function(startIndex) {\\n\\t// Refer to this widget by its index within its parents children\\n\\tvar parent = this.parentWidget,\\n\\t\\tindex = startIndex !== undefined ? startIndex : parent.children.indexOf(this);\\nif(index === -1) {\\n\\tthrow \\\"node not found in parents children\\\";\\n}\\n\\t// Look for a DOM node in the later siblings\\n\\twhile(++index \u003C parent.children.length) {\\n\\t\\tvar domNode = parent.children[index].findFirstDomNode();\\n\\t\\tif(domNode) {\\n\\t\\t\\treturn domNode;\\n\\t\\t}\\n\\t}\\n\\t// Go back and look for later siblings of our parent if it has the same parent dom node\\n\\tvar grandParent = parent.parentWidget;\\n\\tif(grandParent && parent.parentDomNode === this.parentDomNode) {\\n\\t\\tindex = grandParent.children.indexOf(parent);\\n\\t\\tif(index !== -1) {\\n\\t\\t\\treturn parent.findNextSiblingDomNode(index);\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nFind the first DOM node generated by a widget or its children\\n*/\\nWidget.prototype.findFirstDomNode = function() {\\n\\t// Return the first dom node of this widget, if we've got one\\n\\tif(this.domNodes.length > 0) {\\n\\t\\treturn this.domNodes[0];\\n\\t}\\n\\t// Otherwise, recursively call our children\\n\\tfor(var t=0; t\u003Cthis.children.length; t++) {\\n\\t\\tvar domNode = this.children[t].findFirstDomNode();\\n\\t\\tif(domNode) {\\n\\t\\t\\treturn domNode;\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nRemove any DOM nodes created by this widget or its children\\n*/\\nWidget.prototype.removeChildDomNodes = function() {\\n\\t// If this widget has directly created DOM nodes, delete them and exit. This assumes that any child widgets are contained within the created DOM nodes, which would normally be the case\\n\\tif(this.domNodes.length > 0) {\\n\\t\\t$tw.utils.each(this.domNodes,function(domNode) {\\n\\t\\t\\tdomNode.parentNode.removeChild(domNode);\\n\\t\\t});\\n\\t\\tthis.domNodes = [];\\n\\t} else {\\n\\t\\t// Otherwise, ask the child widgets to delete their DOM nodes\\n\\t\\t$tw.utils.each(this.children,function(childWidget) {\\n\\t\\t\\tchildWidget.removeChildDomNodes();\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nInvoke the action widgets that are descendents of the current widget.\\n*/\\nWidget.prototype.invokeActions = function(triggeringWidget,event) {\\n\\tvar handled = false;\\n\\t// For each child widget\\n\\tfor(var t=0; t\u003Cthis.children.length; t++) {\\n\\t\\tvar child = this.children[t],\\n\\t\\t\\tchildIsActionWidget = !!child.invokeAction,\\n\\t\\t\\tactionRefreshPolicy = child.getVariable(\\\"tv-action-refresh-policy\\\"); // Default is \\\"once\\\"\\n\\t\\t// Refresh the child if required\\n\\t\\tif(childIsActionWidget || actionRefreshPolicy === \\\"always\\\") {\\n\\t\\t\\tchild.refreshSelf();\\n\\t\\t}\\n\\t\\t// Invoke the child if it is an action widget\\n\\t\\tif(childIsActionWidget) {\\n\\t\\t\\tif(child.invokeAction(triggeringWidget,event)) {\\n\\t\\t\\t\\thandled = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Propagate through through the child if it permits it\\n\\t\\tif(child.allowActionPropagation() && child.invokeActions(triggeringWidget,event)) {\\n\\t\\t\\thandled = true;\\n\\t\\t}\\n\\t}\\n\\treturn handled;\\n};\\n\\n/*\\nInvoke the action widgets defined in a string\\n*/\\nWidget.prototype.invokeActionString = function(actions,triggeringWidget,event,variables) {\\n\\tactions = actions || \\\"\\\";\\n\\tvar parser = this.wiki.parseText(\\\"text/vnd.tiddlywiki\\\",actions,{\\n\\t\\t\\tparentWidget: this,\\n\\t\\t\\tdocument: this.document\\n\\t\\t}),\\n\\t\\twidgetNode = this.wiki.makeWidget(parser,{\\n\\t\\t\\tparentWidget: this,\\n\\t\\t\\tdocument: this.document,\\n\\t\\t\\tvariables: variables\\n\\t\\t});\\n\\tvar container = this.document.createElement(\\\"div\\\");\\n\\twidgetNode.render(container,null);\\n\\treturn widgetNode.invokeActions(this,event);\\n};\\n\\n/*\\nExecute action tiddlers by tag\\n*/\\nWidget.prototype.invokeActionsByTag = function(tag,event,variables) {\\n\\tvar self = this;\\n\\t$tw.utils.each(self.wiki.filterTiddlers(\\\"[all[shadows+tiddlers]tag[\\\" + tag + \\\"]!has[draft.of]]\\\"),function(title) {\\n\\t\\tself.invokeActionString(self.wiki.getTiddlerText(title),self,event,variables);\\n\\t});\\n};\\n\\nWidget.prototype.allowActionPropagation = function() {\\n\\treturn true;\\n};\\n\\n/*\\nEvaluate a variable with parameters. This is a static convenience method that attempts to evaluate a variable as a function, returning an array of strings\\n*/\\nWidget.evaluateVariable = function(widget,name,options) {\\n\\tvar result;\\n\\tif(widget.getVariableInfo) {\\n\\t\\tvar variableInfo = widget.getVariableInfo(name,options);\\n\\t\\tresult = variableInfo.resultList || [variableInfo.text];\\n\\t} else {\\n\\t\\tresult = [widget.getVariable(name)];\\n\\t}\\n\\treturn result;\\n};\\n\\nexports.widget = Widget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/widgets/wikify.js\":{\"title\":\"$:/core/modules/widgets/wikify.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/widgets/wikify.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nWidget to wikify text into a variable\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar WikifyWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nWikifyWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nWikifyWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nWikifyWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.wikifyName = this.getAttribute(\\\"name\\\");\\n\\tthis.wikifyText = this.getAttribute(\\\"text\\\");\\n\\tthis.wikifyType = this.getAttribute(\\\"type\\\");\\n\\tthis.wikifyMode = this.getAttribute(\\\"mode\\\",\\\"block\\\");\\n\\tthis.wikifyOutput = this.getAttribute(\\\"output\\\",\\\"text\\\");\\n\\t// Create the parse tree\\n\\tthis.wikifyParser = this.wiki.parseText(this.wikifyType,this.wikifyText,{\\n\\t\\t\\tparseAsInline: this.wikifyMode === \\\"inline\\\"\\n\\t\\t});\\n\\t// Create the widget tree \\n\\tthis.wikifyWidgetNode = this.wiki.makeWidget(this.wikifyParser,{\\n\\t\\t\\tdocument: $tw.fakeDocument,\\n\\t\\t\\tparentWidget: this\\n\\t\\t});\\n\\t// Render the widget tree to the container\\n\\tthis.wikifyContainer = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\tthis.wikifyWidgetNode.render(this.wikifyContainer,null);\\n\\tthis.wikifyResult = this.getResult();\\n\\t// Set context variable\\n\\tthis.setVariable(this.wikifyName,this.wikifyResult);\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nReturn the result string\\n*/\\nWikifyWidget.prototype.getResult = function() {\\n\\tvar result;\\n\\tswitch(this.wikifyOutput) {\\n\\t\\tcase \\\"text\\\":\\n\\t\\t\\tresult = this.wikifyContainer.textContent;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"formattedtext\\\":\\n\\t\\t\\tresult = this.wikifyContainer.formattedTextContent;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"html\\\":\\n\\t\\t\\tresult = this.wikifyContainer.innerHTML;\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"parsetree\\\":\\n\\t\\t\\tresult = JSON.stringify(this.wikifyParser.tree,0,$tw.config.preferences.jsonSpaces);\\n\\t\\t\\tbreak;\\n\\t\\tcase \\\"widgettree\\\":\\n\\t\\t\\tresult = JSON.stringify(this.getWidgetTree(),0,$tw.config.preferences.jsonSpaces);\\n\\t\\t\\tbreak;\\n\\t}\\n\\treturn result;\\n};\\n\\n/*\\nReturn a string of the widget tree\\n*/\\nWikifyWidget.prototype.getWidgetTree = function() {\\n\\tvar copyNode = function(widgetNode,resultNode) {\\n\\t\\t\\tvar type = widgetNode.parseTreeNode.type;\\n\\t\\t\\tresultNode.type = type;\\n\\t\\t\\tswitch(type) {\\n\\t\\t\\t\\tcase \\\"element\\\":\\n\\t\\t\\t\\t\\tresultNode.tag = widgetNode.parseTreeNode.tag;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"text\\\":\\n\\t\\t\\t\\t\\tresultNode.text = widgetNode.parseTreeNode.text;\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tif(Object.keys(widgetNode.attributes || {}).length > 0) {\\n\\t\\t\\t\\tresultNode.attributes = {};\\n\\t\\t\\t\\t$tw.utils.each(widgetNode.attributes,function(attr,attrName) {\\n\\t\\t\\t\\t\\tresultNode.attributes[attrName] = widgetNode.getAttribute(attrName);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t\\tif(Object.keys(widgetNode.children || {}).length > 0) {\\n\\t\\t\\t\\tresultNode.children = [];\\n\\t\\t\\t\\t$tw.utils.each(widgetNode.children,function(widgetChildNode) {\\n\\t\\t\\t\\t\\tvar node = {};\\n\\t\\t\\t\\t\\tresultNode.children.push(node);\\n\\t\\t\\t\\t\\tcopyNode(widgetChildNode,node);\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\tresults = {};\\n\\tcopyNode(this.wikifyWidgetNode,results);\\n\\treturn results;\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nWikifyWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\t// Refresh ourselves entirely if any of our attributes have changed\\n\\tif(changedAttributes.name || changedAttributes.text || changedAttributes.type || changedAttributes.mode || changedAttributes.output) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\t// Refresh the widget tree\\n\\t\\tif(this.wikifyWidgetNode.refresh(changedTiddlers)) {\\n\\t\\t\\t// Check if there was any change\\n\\t\\t\\tvar result = this.getResult();\\n\\t\\t\\tif(result !== this.wikifyResult) {\\n\\t\\t\\t\\t// If so, save the change\\n\\t\\t\\t\\tthis.wikifyResult = result;\\n\\t\\t\\t\\tthis.setVariable(this.wikifyName,this.wikifyResult);\\n\\t\\t\\t\\t// Refresh each of our child widgets\\n\\t\\t\\t\\t$tw.utils.each(this.children,function(childWidget) {\\n\\t\\t\\t\\t\\tchildWidget.refreshSelf();\\n\\t\\t\\t\\t});\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Just refresh the children\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.wikify = WikifyWidget;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"widget\"},\"$:/core/modules/wiki-bulkops.js\":{\"title\":\"$:/core/modules/wiki-bulkops.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/wiki-bulkops.js\\ntype: application/javascript\\nmodule-type: wikimethod\\n\\nBulk tiddler operations such as rename.\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nRename a tiddler, and relink any tags or lists that reference it.\\n*/\\nfunction renameTiddler(fromTitle,toTitle,options) {\\n\\tfromTitle = (fromTitle || \\\"\\\").trim();\\n\\ttoTitle = (toTitle || \\\"\\\").trim();\\n\\toptions = options || {};\\n\\tif(fromTitle && toTitle && fromTitle !== toTitle) {\\n\\t\\t// Rename the tiddler itself\\n\\t\\tvar oldTiddler = this.getTiddler(fromTitle),\\n\\t\\t\\tnewTiddler = new $tw.Tiddler(oldTiddler,{title: toTitle},this.getModificationFields());\\n\\t\\tnewTiddler = $tw.hooks.invokeHook(\\\"th-renaming-tiddler\\\",newTiddler,oldTiddler);\\n\\t\\tthis.addTiddler(newTiddler);\\n\\t\\tthis.deleteTiddler(fromTitle);\\n\\t\\t// Rename any tags or lists that reference it\\n\\t\\tthis.relinkTiddler(fromTitle,toTitle,options)\\n\\t}\\n}\\n\\n/*\\nRelink any tags or lists that reference a given tiddler\\n*/\\nfunction relinkTiddler(fromTitle,toTitle,options) {\\n\\tvar self = this;\\n\\tfromTitle = (fromTitle || \\\"\\\").trim();\\n\\ttoTitle = (toTitle || \\\"\\\").trim();\\n\\toptions = options || {};\\n\\tif(fromTitle && toTitle && fromTitle !== toTitle) {\\n\\t\\tthis.each(function(tiddler,title) {\\n\\t\\t\\tvar type = tiddler.fields.type || \\\"\\\";\\n\\t\\t\\t// Don't touch plugins or JavaScript modules\\n\\t\\t\\tif(!tiddler.fields[\\\"plugin-type\\\"] && type !== \\\"application/javascript\\\") {\\n\\t\\t\\t\\tvar tags = tiddler.fields.tags ? tiddler.fields.tags.slice(0) : undefined,\\n\\t\\t\\t\\t\\tlist = tiddler.fields.list ? tiddler.fields.list.slice(0) : undefined,\\n\\t\\t\\t\\t\\tisModified = false,\\n\\t\\t\\t\\t\\tprocessList = function(listField) {\\n\\t\\t\\t\\t\\t\\tif(listField && listField.indexOf(fromTitle) !== -1) {\\n\\t\\t\\t\\t\\t\\t\\t// Remove any existing instances of the toTitle\\n\\t\\t\\t\\t\\t\\t\\tvar p = listField.indexOf(toTitle);\\n\\t\\t\\t\\t\\t\\t\\twhile(p !== -1) {\\n\\t\\t\\t\\t\\t\\t\\t\\tlistField.splice(p,1);\\n\\t\\t\\t\\t\\t\\t\\t\\tp = listField.indexOf(toTitle);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t// Replace the fromTitle with toTitle\\n\\t\\t\\t\\t\\t\\t\\t$tw.utils.each(listField,function (title,index) {\\n\\t\\t\\t\\t\\t\\t\\t\\tif(title === fromTitle) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tlistField[index] = toTitle;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tisModified = true;\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\tif(!options.dontRenameInTags) {\\n\\t\\t\\t\\t\\t// Rename tags\\n\\t\\t\\t\\t\\tprocessList(tags);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(!options.dontRenameInLists) {\\n\\t\\t\\t\\t\\t// Rename lists\\n\\t\\t\\t\\t\\tprocessList(list);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(isModified) {\\n\\t\\t\\t\\t\\tvar newTiddler = new $tw.Tiddler(tiddler,{tags: tags, list: list},self.getModificationFields())\\n\\t\\t\\t\\t\\tnewTiddler = $tw.hooks.invokeHook(\\\"th-relinking-tiddler\\\",newTiddler,tiddler);\\n\\t\\t\\t\\t\\tself.addTiddler(newTiddler);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\nexports.renameTiddler = renameTiddler;\\nexports.relinkTiddler = relinkTiddler;\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikimethod\"},\"$:/core/modules/wiki.js\":{\"title\":\"$:/core/modules/wiki.js\",\"text\":\"/*\\\\\\ntitle: $:/core/modules/wiki.js\\ntype: application/javascript\\nmodule-type: wikimethod\\n\\nExtension methods for the $tw.Wiki object\\n\\nAdds the following properties to the wiki object:\\n\\n* `eventListeners` is a hashmap by type of arrays of listener functions\\n* `changedTiddlers` is a hashmap describing changes to named tiddlers since wiki change events were last dispatched. Each entry is a hashmap containing two fields:\\n\\tmodified: true/false\\n\\tdeleted: true/false\\n* `changeCount` is a hashmap by tiddler title containing a numerical index that starts at zero and is incremented each time a tiddler is created changed or deleted\\n* `caches` is a hashmap by tiddler title containing a further hashmap of named cache objects. Caches are automatically cleared when a tiddler is modified or deleted\\n* `globalCache` is a hashmap by cache name of cache objects that are cleared whenever any tiddler change occurs\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar widget = require(\\\"$:/core/modules/widgets/widget.js\\\");\\n\\nvar USER_NAME_TITLE = \\\"$:/status/UserName\\\",\\n\\tTIMESTAMP_DISABLE_TITLE = \\\"$:/config/TimestampDisable\\\";\\n\\n/*\\nAdd available indexers to this wiki\\n*/\\nexports.addIndexersToWiki = function() {\\n\\tvar self = this;\\n\\t$tw.utils.each($tw.modules.applyMethods(\\\"indexer\\\"),function(Indexer,name) {\\n\\t\\tself.addIndexer(new Indexer(self),name);\\n\\t});\\n};\\n\\n/*\\nGet the value of a text reference. Text references can have any of these forms:\\n\\t\u003Ctiddlertitle>\\n\\t\u003Ctiddlertitle>!!\u003Cfieldname>\\n\\t!!\u003Cfieldname> - specifies a field of the current tiddlers\\n\\t\u003Ctiddlertitle>##\u003Cindex>\\n*/\\nexports.getTextReference = function(textRef,defaultText,currTiddlerTitle) {\\n\\tvar tr = $tw.utils.parseTextReference(textRef),\\n\\t\\ttitle = tr.title || currTiddlerTitle;\\n\\tif(tr.field) {\\n\\t\\tvar tiddler = this.getTiddler(title);\\n\\t\\tif(tr.field === \\\"title\\\") { // Special case so we can return the title of a non-existent tiddler\\n\\t\\t\\treturn title || defaultText;\\n\\t\\t} else if(tiddler && $tw.utils.hop(tiddler.fields,tr.field)) {\\n\\t\\t\\treturn tiddler.getFieldString(tr.field);\\n\\t\\t} else {\\n\\t\\t\\treturn defaultText;\\n\\t\\t}\\n\\t} else if(tr.index) {\\n\\t\\treturn this.extractTiddlerDataItem(title,tr.index,defaultText);\\n\\t} else {\\n\\t\\treturn this.getTiddlerText(title,defaultText);\\n\\t}\\n};\\n\\nexports.setTextReference = function(textRef,value,currTiddlerTitle) {\\n\\tvar tr = $tw.utils.parseTextReference(textRef),\\n\\t\\ttitle = tr.title || currTiddlerTitle;\\n\\tthis.setText(title,tr.field,tr.index,value);\\n};\\n\\nexports.setText = function(title,field,index,value,options) {\\n\\toptions = options || {};\\n\\tvar creationFields = options.suppressTimestamp ? {} : this.getCreationFields(),\\n\\t\\tmodificationFields = options.suppressTimestamp ? {} : this.getModificationFields();\\n\\t// Check if it is a reference to a tiddler field\\n\\tif(index) {\\n\\t\\tvar data = this.getTiddlerData(title,Object.create(null));\\n\\t\\tif(value !== undefined) {\\n\\t\\t\\tdata[index] = value;\\n\\t\\t} else {\\n\\t\\t\\tdelete data[index];\\n\\t\\t}\\n\\t\\tthis.setTiddlerData(title,data,{},{suppressTimestamp: options.suppressTimestamp});\\n\\t} else {\\n\\t\\tvar tiddler = this.getTiddler(title),\\n\\t\\t\\tfields = {title: title};\\n\\t\\tfields[field || \\\"text\\\"] = value;\\n\\t\\tthis.addTiddler(new $tw.Tiddler(creationFields,tiddler,fields,modificationFields));\\n\\t}\\n};\\n\\nexports.deleteTextReference = function(textRef,currTiddlerTitle) {\\n\\tvar tr = $tw.utils.parseTextReference(textRef),\\n\\t\\ttitle,tiddler,fields;\\n\\t// Check if it is a reference to a tiddler\\n\\tif(tr.title && !tr.field) {\\n\\t\\tthis.deleteTiddler(tr.title);\\n\\t// Else check for a field reference\\n\\t} else if(tr.field) {\\n\\t\\ttitle = tr.title || currTiddlerTitle;\\n\\t\\ttiddler = this.getTiddler(title);\\n\\t\\tif(tiddler && $tw.utils.hop(tiddler.fields,tr.field)) {\\n\\t\\t\\tfields = Object.create(null);\\n\\t\\t\\tfields[tr.field] = undefined;\\n\\t\\t\\tthis.addTiddler(new $tw.Tiddler(tiddler,fields,this.getModificationFields()));\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.addEventListener = function(type,listener) {\\n\\tthis.eventListeners = this.eventListeners || {};\\n\\tthis.eventListeners[type] = this.eventListeners[type] || [];\\n\\tthis.eventListeners[type].push(listener);\\n};\\n\\nexports.removeEventListener = function(type,listener) {\\n\\tvar listeners = this.eventListeners[type];\\n\\tif(listeners) {\\n\\t\\tvar p = listeners.indexOf(listener);\\n\\t\\tif(p !== -1) {\\n\\t\\t\\tlisteners.splice(p,1);\\n\\t\\t}\\n\\t}\\n};\\n\\nexports.dispatchEvent = function(type /*, args */) {\\n\\tvar args = Array.prototype.slice.call(arguments,1),\\n\\t\\tlisteners = this.eventListeners[type];\\n\\tif(listeners) {\\n\\t\\tfor(var p=0; p\u003Clisteners.length; p++) {\\n\\t\\t\\tvar listener = listeners[p];\\n\\t\\t\\tlistener.apply(listener,args);\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nCauses a tiddler to be marked as changed, incrementing the change count, and triggers event handlers.\\nThis method should be called after the changes it describes have been made to the wiki.tiddlers[] array.\\n\\ttitle: Title of tiddler\\n\\tisDeleted: defaults to false (meaning the tiddler has been created or modified),\\n\\t\\ttrue if the tiddler has been deleted\\n*/\\nexports.enqueueTiddlerEvent = function(title,isDeleted) {\\n\\t// Record the touch in the list of changed tiddlers\\n\\tthis.changedTiddlers = this.changedTiddlers || Object.create(null);\\n\\tthis.changedTiddlers[title] = this.changedTiddlers[title] || Object.create(null);\\n\\tthis.changedTiddlers[title][isDeleted ? \\\"deleted\\\" : \\\"modified\\\"] = true;\\n\\t// Increment the change count\\n\\tthis.changeCount = this.changeCount || Object.create(null);\\n\\tif($tw.utils.hop(this.changeCount,title)) {\\n\\t\\tthis.changeCount[title]++;\\n\\t} else {\\n\\t\\tthis.changeCount[title] = 1;\\n\\t}\\n\\t// Trigger events\\n\\tthis.eventListeners = this.eventListeners || {};\\n\\tif(!this.eventsTriggered) {\\n\\t\\tvar self = this;\\n\\t\\t$tw.utils.nextTick(function() {\\n\\t\\t\\tvar changes = self.changedTiddlers;\\n\\t\\t\\tself.changedTiddlers = Object.create(null);\\n\\t\\t\\tself.eventsTriggered = false;\\n\\t\\t\\tif($tw.utils.count(changes) > 0) {\\n\\t\\t\\t\\tself.dispatchEvent(\\\"change\\\",changes);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tthis.eventsTriggered = true;\\n\\t}\\n};\\n\\nexports.getSizeOfTiddlerEventQueue = function() {\\n\\treturn $tw.utils.count(this.changedTiddlers);\\n};\\n\\nexports.clearTiddlerEventQueue = function() {\\n\\tthis.changedTiddlers = Object.create(null);\\n\\tthis.changeCount = Object.create(null);\\n};\\n\\nexports.getChangeCount = function(title) {\\n\\tthis.changeCount = this.changeCount || Object.create(null);\\n\\tif($tw.utils.hop(this.changeCount,title)) {\\n\\t\\treturn this.changeCount[title];\\n\\t} else {\\n\\t\\treturn 0;\\n\\t}\\n};\\n\\n/*\\nGenerate an unused title from the specified base\\noptions.prefix must be a string\\n*/\\nexports.generateNewTitle = function(baseTitle,options) {\\n\\toptions = options || {};\\n\\tvar c = 0,\\n\\t\\ttitle = baseTitle,\\n\\t\\ttemplate = options.template,\\n\\t\\tprefix = (typeof(options.prefix) === \\\"string\\\") ? options.prefix : \\\" \\\";\\n\\tif (template) {\\n\\t\\t// \\\"count\\\" is important to avoid an endless loop in while(...)!!\\n\\t\\ttemplate = (/\\\\$count:?(\\\\d+)?\\\\$/i.test(template)) ? template : template + \\\"$count$\\\";\\n\\t\\ttitle = $tw.utils.formatTitleString(template,{\\\"base\\\":baseTitle,\\\"separator\\\":prefix,\\\"counter\\\":c});\\n\\t\\twhile(this.tiddlerExists(title) || this.isShadowTiddler(title) || this.findDraft(title)) {\\n\\t\\t\\ttitle = $tw.utils.formatTitleString(template,{\\\"base\\\":baseTitle,\\\"separator\\\":prefix,\\\"counter\\\":(++c)});\\n\\t\\t}\\n\\t} else {\\n\\t\\twhile(this.tiddlerExists(title) || this.isShadowTiddler(title) || this.findDraft(title)) {\\n\\t\\t\\ttitle = baseTitle + prefix + (++c);\\n\\t\\t}\\n\\t}\\n\\treturn title;\\n};\\n\\nexports.isSystemTiddler = function(title) {\\n\\treturn title && title.indexOf(\\\"$:/\\\") === 0;\\n};\\n\\nexports.isTemporaryTiddler = function(title) {\\n\\treturn title && title.indexOf(\\\"$:/temp/\\\") === 0;\\n};\\n\\nexports.isVolatileTiddler = function(title) {\\n\\treturn title && title.indexOf(\\\"$:/temp/volatile/\\\") === 0;\\n};\\n\\nexports.isImageTiddler = function(title) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\tvar contentTypeInfo = $tw.config.contentTypeInfo[tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\"];\\n\\t\\treturn !!contentTypeInfo && contentTypeInfo.flags.indexOf(\\\"image\\\") !== -1;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\nexports.isBinaryTiddler = function(title) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\tvar contentTypeInfo = $tw.config.contentTypeInfo[tiddler.fields.type || \\\"text/vnd.tiddlywiki\\\"];\\n\\t\\treturn !!contentTypeInfo && contentTypeInfo.encoding === \\\"base64\\\";\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n/*\\nLike addTiddler() except it will silently reject any plugin tiddlers that are older than the currently loaded version. Returns true if the tiddler was imported\\n*/\\nexports.importTiddler = function(tiddler) {\\n\\tvar existingTiddler = this.getTiddler(tiddler.fields.title);\\n\\t// Check if we're dealing with a plugin\\n\\tif(tiddler && tiddler.hasField(\\\"plugin-type\\\") && tiddler.hasField(\\\"version\\\") && existingTiddler && existingTiddler.hasField(\\\"plugin-type\\\") && existingTiddler.hasField(\\\"version\\\")) {\\n\\t\\t// Reject the incoming plugin if it is older\\n\\t\\tif(!$tw.utils.checkVersions(tiddler.fields.version,existingTiddler.fields.version)) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\\n\\t// Fall through to adding the tiddler\\n\\tthis.addTiddler(tiddler);\\n\\treturn true;\\n};\\n\\n/*\\nReturn a hashmap of the fields that should be set when a tiddler is created\\n*/\\nexports.getCreationFields = function() {\\n\\tif(this.getTiddlerText(TIMESTAMP_DISABLE_TITLE,\\\"\\\").toLowerCase() !== \\\"yes\\\") {\\n\\t\\tvar fields = {\\n\\t\\t\\t\\tcreated: new Date()\\n\\t\\t\\t},\\n\\t\\t\\tcreator = this.getTiddlerText(USER_NAME_TITLE);\\n\\t\\tif(creator) {\\n\\t\\t\\tfields.creator = creator;\\n\\t\\t}\\n\\t\\treturn fields;\\n\\t} else {\\n\\t\\treturn {};\\n\\t}\\n};\\n\\n/*\\nReturn a hashmap of the fields that should be set when a tiddler is modified\\n*/\\nexports.getModificationFields = function() {\\n\\tif(this.getTiddlerText(TIMESTAMP_DISABLE_TITLE,\\\"\\\").toLowerCase() !== \\\"yes\\\") {\\n\\t\\tvar fields = Object.create(null),\\n\\t\\t\\tmodifier = this.getTiddlerText(USER_NAME_TITLE);\\n\\t\\tfields.modified = new Date();\\n\\t\\tif(modifier) {\\n\\t\\t\\tfields.modifier = modifier;\\n\\t\\t}\\n\\t\\treturn fields;\\n\\t} else {\\n\\t\\treturn {};\\n\\t}\\n};\\n\\n/*\\nReturn a sorted array of tiddler titles. Options include:\\nsortField: field to sort by\\nexcludeTag: tag to exclude\\nincludeSystem: whether to include system tiddlers (defaults to false)\\n*/\\nexports.getTiddlers = function(options) {\\n\\toptions = options || Object.create(null);\\n\\tvar self = this,\\n\\t\\tsortField = options.sortField || \\\"title\\\",\\n\\t\\ttiddlers = [], t, titles = [];\\n\\tthis.each(function(tiddler,title) {\\n\\t\\tif(options.includeSystem || !self.isSystemTiddler(title)) {\\n\\t\\t\\tif(!options.excludeTag || !tiddler.hasTag(options.excludeTag)) {\\n\\t\\t\\t\\ttiddlers.push(tiddler);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\ttiddlers.sort(function(a,b) {\\n\\t\\tvar aa = a.fields[sortField].toLowerCase() || \\\"\\\",\\n\\t\\t\\tbb = b.fields[sortField].toLowerCase() || \\\"\\\";\\n\\t\\tif(aa \u003C bb) {\\n\\t\\t\\treturn -1;\\n\\t\\t} else {\\n\\t\\t\\tif(aa > bb) {\\n\\t\\t\\t\\treturn 1;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\tfor(t=0; t\u003Ctiddlers.length; t++) {\\n\\t\\ttitles.push(tiddlers[t].fields.title);\\n\\t}\\n\\treturn titles;\\n};\\n\\nexports.countTiddlers = function(excludeTag) {\\n\\tvar tiddlers = this.getTiddlers({excludeTag: excludeTag});\\n\\treturn $tw.utils.count(tiddlers);\\n};\\n\\n/*\\nReturns a function iterator(callback) that iterates through the specified titles, and invokes the callback with callback(tiddler,title)\\n*/\\nexports.makeTiddlerIterator = function(titles) {\\n\\tvar self = this;\\n\\tif(!$tw.utils.isArray(titles)) {\\n\\t\\ttitles = Object.keys(titles);\\n\\t} else {\\n\\t\\ttitles = titles.slice(0);\\n\\t}\\n\\treturn function(callback) {\\n\\t\\ttitles.forEach(function(title) {\\n\\t\\t\\tcallback(self.getTiddler(title),title);\\n\\t\\t});\\n\\t};\\n};\\n\\n/*\\nSort an array of tiddler titles by a specified field\\n\\ttitles: array of titles (sorted in place)\\n\\tsortField: name of field to sort by\\n\\tisDescending: true if the sort should be descending\\n\\tisCaseSensitive: true if the sort should consider upper and lower case letters to be different\\n*/\\nexports.sortTiddlers = function(titles,sortField,isDescending,isCaseSensitive,isNumeric,isAlphaNumeric) {\\n\\tvar self = this;\\n\\tif(sortField === \\\"title\\\") {\\n\\t\\tif(!isNumeric && !isAlphaNumeric) {\\n\\t\\t\\tif(isCaseSensitive) {\\n\\t\\t\\t\\tif(isDescending) {\\n\\t\\t\\t\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\t\\t\\t\\treturn b.localeCompare(a);\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\t\\t\\t\\treturn a.localeCompare(b);\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t}\\t\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(isDescending) {\\n\\t\\t\\t\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\t\\t\\t\\treturn b.toLowerCase().localeCompare(a.toLowerCase());\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\t\\t\\t\\treturn a.toLowerCase().localeCompare(b.toLowerCase());\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t}\\t\\n\\t\\t\\t}\\n\\t\\t} else {\\n\\t\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\t\\tvar x,y;\\n\\t\\t\\t\\tif(isNumeric) {\\n\\t\\t\\t\\t\\tx = Number(a);\\n\\t\\t\\t\\t\\ty = Number(b);\\n\\t\\t\\t\\t\\tif(isNaN(x)) {\\n\\t\\t\\t\\t\\t\\tif(isNaN(y)) {\\n\\t\\t\\t\\t\\t\\t\\t// If neither value is a number then fall through to a textual comparison\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\treturn isDescending ? -1 : 1;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tif(isNaN(y)) {\\n\\t\\t\\t\\t\\t\\t\\treturn isDescending ? 1 : -1;\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\treturn isDescending ? y - x : x - y;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(isAlphaNumeric) {\\n\\t\\t\\t\\t\\treturn isDescending ? b.localeCompare(a,undefined,{numeric: true,sensitivity: \\\"base\\\"}) : a.localeCompare(b,undefined,{numeric: true,sensitivity: \\\"base\\\"});\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(!isCaseSensitive) {\\n\\t\\t\\t\\t\\ta = a.toLowerCase();\\n\\t\\t\\t\\t\\tb = b.toLowerCase();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn isDescending ? b.localeCompare(a) : a.localeCompare(b);\\n\\t\\t\\t});\\n\\t\\t}\\n\\t} else {\\n\\t\\ttitles.sort(function(a,b) {\\n\\t\\t\\tvar x,y;\\n\\t\\t\\tif(sortField !== \\\"title\\\") {\\n\\t\\t\\t\\tvar tiddlerA = self.getTiddler(a),\\n\\t\\t\\t\\t\\ttiddlerB = self.getTiddler(b);\\n\\t\\t\\t\\tif(tiddlerA) {\\n\\t\\t\\t\\t\\ta = tiddlerA.fields[sortField] || \\\"\\\";\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\ta = \\\"\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(tiddlerB) {\\n\\t\\t\\t\\t\\tb = tiddlerB.fields[sortField] || \\\"\\\";\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tb = \\\"\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(isNumeric) {\\n\\t\\t\\t\\tx = Number(a);\\n\\t\\t\\t\\ty = Number(b);\\n\\t\\t\\t\\tif(isNaN(x)) {\\n\\t\\t\\t\\t\\tif(isNaN(y)) {\\n\\t\\t\\t\\t\\t\\t// If neither value is a number then fall through to a textual comparison\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\treturn isDescending ? -1 : 1;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tif(isNaN(y)) {\\n\\t\\t\\t\\t\\t\\treturn isDescending ? 1 : -1;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\treturn isDescending ? y - x : x - y;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(Object.prototype.toString.call(a) === \\\"[object Date]\\\" && Object.prototype.toString.call(b) === \\\"[object Date]\\\") {\\n\\t\\t\\t\\treturn isDescending ? b - a : a - b;\\n\\t\\t\\t}\\n\\t\\t\\ta = String(a);\\n\\t\\t\\tb = String(b);\\n\\t\\t\\tif(isAlphaNumeric) {\\n\\t\\t\\t\\treturn isDescending ? b.localeCompare(a,undefined,{numeric: true,sensitivity: \\\"base\\\"}) : a.localeCompare(b,undefined,{numeric: true,sensitivity: \\\"base\\\"});\\n\\t\\t\\t}\\n\\t\\t\\tif(!isCaseSensitive) {\\n\\t\\t\\t\\ta = a.toLowerCase();\\n\\t\\t\\t\\tb = b.toLowerCase();\\n\\t\\t\\t}\\n\\t\\t\\treturn isDescending ? b.localeCompare(a) : a.localeCompare(b);\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nFor every tiddler invoke a callback(title,tiddler) with `this` set to the wiki object. Options include:\\nsortField: field to sort by\\nexcludeTag: tag to exclude\\nincludeSystem: whether to include system tiddlers (defaults to false)\\n*/\\nexports.forEachTiddler = function(/* [options,]callback */) {\\n\\tvar arg = 0,\\n\\t\\toptions = arguments.length >= 2 ? arguments[arg++] : {},\\n\\t\\tcallback = arguments[arg++],\\n\\t\\ttitles = this.getTiddlers(options),\\n\\t\\tt, tiddler;\\n\\tfor(t=0; t\u003Ctitles.length; t++) {\\n\\t\\ttiddler = this.getTiddler(titles[t]);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tcallback.call(this,tiddler.fields.title,tiddler);\\n\\t\\t}\\n\\t}\\n};\\n\\n/*\\nReturn an array of tiddler titles that are directly linked within the given parse tree\\n */\\nexports.extractLinks = function(parseTreeRoot) {\\n\\t// Count up the links\\n\\tvar links = [],\\n\\t\\tcheckParseTree = function(parseTree) {\\n\\t\\t\\tfor(var t=0; t\u003CparseTree.length; t++) {\\n\\t\\t\\t\\tvar parseTreeNode = parseTree[t];\\n\\t\\t\\t\\tif(parseTreeNode.type === \\\"link\\\" && parseTreeNode.attributes.to && parseTreeNode.attributes.to.type === \\\"string\\\") {\\n\\t\\t\\t\\t\\tvar value = parseTreeNode.attributes.to.value;\\n\\t\\t\\t\\t\\tif(links.indexOf(value) === -1) {\\n\\t\\t\\t\\t\\t\\tlinks.push(value);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(parseTreeNode.children) {\\n\\t\\t\\t\\t\\tcheckParseTree(parseTreeNode.children);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\tcheckParseTree(parseTreeRoot);\\n\\treturn links;\\n};\\n\\n/*\\nReturn an array of tiddler titles that are directly linked from the specified tiddler\\n*/\\nexports.getTiddlerLinks = function(title) {\\n\\tvar self = this;\\n\\t// We'll cache the links so they only get computed if the tiddler changes\\n\\treturn this.getCacheForTiddler(title,\\\"links\\\",function() {\\n\\t\\t// Parse the tiddler\\n\\t\\tvar parser = self.parseTiddler(title);\\n\\t\\tif(parser) {\\n\\t\\t\\treturn self.extractLinks(parser.tree);\\n\\t\\t}\\n\\t\\treturn [];\\n\\t});\\n};\\n\\n/*\\nReturn an array of tiddler titles that link to the specified tiddler\\n*/\\nexports.getTiddlerBacklinks = function(targetTitle) {\\n\\tvar self = this,\\n\\t\\tbacklinksIndexer = this.getIndexer(\\\"BacklinksIndexer\\\"),\\n\\t\\tbacklinks = backlinksIndexer && backlinksIndexer.lookup(targetTitle);\\n\\n\\tif(!backlinks) {\\n\\t\\tbacklinks = [];\\n\\t\\tthis.forEachTiddler(function(title,tiddler) {\\n\\t\\t\\tvar links = self.getTiddlerLinks(title);\\n\\t\\t\\tif(links.indexOf(targetTitle) !== -1) {\\n\\t\\t\\t\\tbacklinks.push(title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\treturn backlinks;\\n};\\n\\n/*\\nReturn a hashmap of tiddler titles that are referenced but not defined. Each value is the number of times the missing tiddler is referenced\\n*/\\nexports.getMissingTitles = function() {\\n\\tvar self = this,\\n\\t\\tmissing = [];\\n// We should cache the missing tiddler list, even if we recreate it every time any tiddler is modified\\n\\tthis.forEachTiddler(function(title,tiddler) {\\n\\t\\tvar links = self.getTiddlerLinks(title);\\n\\t\\t$tw.utils.each(links,function(link) {\\n\\t\\t\\tif((!self.tiddlerExists(link) && !self.isShadowTiddler(link)) && missing.indexOf(link) === -1) {\\n\\t\\t\\t\\tmissing.push(link);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t});\\n\\treturn missing;\\n};\\n\\nexports.getOrphanTitles = function() {\\n\\tvar self = this,\\n\\t\\torphans = this.getTiddlers();\\n\\tthis.forEachTiddler(function(title,tiddler) {\\n\\t\\tvar links = self.getTiddlerLinks(title);\\n\\t\\t$tw.utils.each(links,function(link) {\\n\\t\\t\\tvar p = orphans.indexOf(link);\\n\\t\\t\\tif(p !== -1) {\\n\\t\\t\\t\\torphans.splice(p,1);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t});\\n\\treturn orphans; // Todo\\n};\\n\\n/*\\nRetrieves a list of the tiddler titles that are tagged with a given tag\\n*/\\nexports.getTiddlersWithTag = function(tag) {\\n\\t// Try to use the indexer\\n\\tvar self = this,\\n\\t\\ttagIndexer = this.getIndexer(\\\"TagIndexer\\\"),\\n\\t\\tresults = tagIndexer && tagIndexer.subIndexers[3].lookup(tag);\\n\\tif(!results) {\\n\\t\\t// If not available, perform a manual scan\\n\\t\\tresults = this.getGlobalCache(\\\"taglist-\\\" + tag,function() {\\n\\t\\t\\tvar tagmap = self.getTagMap();\\n\\t\\t\\treturn self.sortByList(tagmap[tag],tag);\\n\\t\\t});\\n\\t}\\n\\treturn results;\\n};\\n\\n/*\\nGet a hashmap by tag of arrays of tiddler titles\\n*/\\nexports.getTagMap = function() {\\n\\tvar self = this;\\n\\treturn this.getGlobalCache(\\\"tagmap\\\",function() {\\n\\t\\tvar tags = Object.create(null),\\n\\t\\t\\tstoreTags = function(tagArray,title) {\\n\\t\\t\\t\\tif(tagArray) {\\n\\t\\t\\t\\t\\tfor(var index=0; index\u003CtagArray.length; index++) {\\n\\t\\t\\t\\t\\t\\tvar tag = tagArray[index];\\n\\t\\t\\t\\t\\t\\tif($tw.utils.hop(tags,tag)) {\\n\\t\\t\\t\\t\\t\\t\\ttags[tag].push(title);\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\ttags[tag] = [title];\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\ttitle, tiddler;\\n\\t\\t// Collect up all the tags\\n\\t\\tself.eachShadow(function(tiddler,title) {\\n\\t\\t\\tif(!self.tiddlerExists(title)) {\\n\\t\\t\\t\\ttiddler = self.getTiddler(title);\\n\\t\\t\\t\\tstoreTags(tiddler.fields.tags,title);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tself.each(function(tiddler,title) {\\n\\t\\t\\tstoreTags(tiddler.fields.tags,title);\\n\\t\\t});\\n\\t\\treturn tags;\\n\\t});\\n};\\n\\n/*\\nLookup a given tiddler and return a list of all the tiddlers that include it in the specified list field\\n*/\\nexports.findListingsOfTiddler = function(targetTitle,fieldName) {\\n\\tfieldName = fieldName || \\\"list\\\";\\n\\tvar wiki = this;\\n\\tvar listings = this.getGlobalCache(\\\"listings-\\\" + fieldName,function() {\\n\\t\\tvar listings = Object.create(null);\\n\\t\\twiki.each(function(tiddler,title) {\\n\\t\\t\\tvar list = $tw.utils.parseStringArray(tiddler.fields[fieldName]);\\n\\t\\t\\tif(list) {\\n\\t\\t\\t\\tfor(var i = 0; i \u003C list.length; i++) {\\n\\t\\t\\t\\t\\tvar listItem = list[i],\\n\\t\\t\\t\\t\\t\\tlisting = listings[listItem] || [];\\n\\t\\t\\t\\t\\tif (listing.indexOf(title) === -1) {\\n\\t\\t\\t\\t\\t\\tlisting.push(title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tlistings[listItem] = listing;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn listings;\\n\\t});\\n\\treturn listings[targetTitle] || [];\\n};\\n\\n/*\\nSorts an array of tiddler titles according to an ordered list\\n*/\\nexports.sortByList = function(array,listTitle) {\\n\\tvar self = this,\\n\\t\\treplacedTitles = Object.create(null);\\n\\t// Given a title, this function will place it in the correct location\\n\\t// within titles.\\n\\tfunction moveItemInList(title) {\\n\\t\\tif(!$tw.utils.hop(replacedTitles, title)) {\\n\\t\\t\\treplacedTitles[title] = true;\\n\\t\\t\\tvar newPos = -1,\\n\\t\\t\\t\\ttiddler = self.getTiddler(title);\\n\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\tvar beforeTitle = tiddler.fields[\\\"list-before\\\"],\\n\\t\\t\\t\\t\\tafterTitle = tiddler.fields[\\\"list-after\\\"];\\n\\t\\t\\t\\tif(beforeTitle === \\\"\\\") {\\n\\t\\t\\t\\t\\tnewPos = 0;\\n\\t\\t\\t\\t} else if(afterTitle === \\\"\\\") {\\n\\t\\t\\t\\t\\tnewPos = titles.length;\\n\\t\\t\\t\\t} else if(beforeTitle) {\\n\\t\\t\\t\\t\\t// if this title is placed relative\\n\\t\\t\\t\\t\\t// to another title, make sure that\\n\\t\\t\\t\\t\\t// title is placed before we place\\n\\t\\t\\t\\t\\t// this one.\\n\\t\\t\\t\\t\\tmoveItemInList(beforeTitle);\\n\\t\\t\\t\\t\\tnewPos = titles.indexOf(beforeTitle);\\n\\t\\t\\t\\t} else if(afterTitle) {\\n\\t\\t\\t\\t\\t// Same deal\\n\\t\\t\\t\\t\\tmoveItemInList(afterTitle);\\n\\t\\t\\t\\t\\tnewPos = titles.indexOf(afterTitle);\\n\\t\\t\\t\\t\\tif(newPos >= 0) {\\n\\t\\t\\t\\t\\t\\t++newPos;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t// If a new position is specified, let's move it\\n\\t\\t\\t\\tif (newPos !== -1) {\\n\\t\\t\\t\\t\\t// get its current Pos, and make sure\\n\\t\\t\\t\\t\\t// sure that it's _actually_ in the list\\n\\t\\t\\t\\t\\t// and that it would _actually_ move\\n\\t\\t\\t\\t\\t// (#4275) We don't bother calling\\n\\t\\t\\t\\t\\t// indexOf unless we have a new\\n\\t\\t\\t\\t\\t// position to work with\\n\\t\\t\\t\\t\\tvar currPos = titles.indexOf(title);\\n\\t\\t\\t\\t\\tif(currPos >= 0 && newPos !== currPos) {\\n\\t\\t\\t\\t\\t\\t// move it!\\n\\t\\t\\t\\t\\t\\ttitles.splice(currPos,1);\\n\\t\\t\\t\\t\\t\\tif(newPos >= currPos) {\\n\\t\\t\\t\\t\\t\\t\\tnewPos--;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\ttitles.splice(newPos,0,title);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\tvar list = this.getTiddlerList(listTitle);\\n\\tif(!array || array.length === 0) {\\n\\t\\treturn [];\\n\\t} else {\\n\\t\\tvar titles = [], t, title;\\n\\t\\t// First place any entries that are present in the list\\n\\t\\tfor(t=0; t\u003Clist.length; t++) {\\n\\t\\t\\ttitle = list[t];\\n\\t\\t\\tif(array.indexOf(title) !== -1) {\\n\\t\\t\\t\\ttitles.push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Then place any remaining entries\\n\\t\\tfor(t=0; t\u003Carray.length; t++) {\\n\\t\\t\\ttitle = array[t];\\n\\t\\t\\tif(list.indexOf(title) === -1) {\\n\\t\\t\\t\\ttitles.push(title);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Finally obey the list-before and list-after fields of each tiddler in turn\\n\\t\\tvar sortedTitles = titles.slice(0);\\n\\t\\tfor(t=0; t\u003CsortedTitles.length; t++) {\\n\\t\\t\\ttitle = sortedTitles[t];\\n\\t\\t\\tmoveItemInList(title);\\n\\t\\t}\\n\\t\\treturn titles;\\n\\t}\\n};\\n\\nexports.getSubTiddler = function(title,subTiddlerTitle) {\\n\\tvar bundleInfo = this.getPluginInfo(title) || this.getTiddlerDataCached(title);\\n\\tif(bundleInfo && bundleInfo.tiddlers) {\\n\\t\\tvar subTiddler = bundleInfo.tiddlers[subTiddlerTitle];\\n\\t\\tif(subTiddler) {\\n\\t\\t\\treturn new $tw.Tiddler(subTiddler);\\n\\t\\t}\\n\\t}\\n\\treturn null;\\n};\\n\\n/*\\nRetrieve a tiddler as a JSON string of the fields\\n*/\\nexports.getTiddlerAsJson = function(title) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\tvar fields = Object.create(null);\\n\\t\\t$tw.utils.each(tiddler.fields,function(value,name) {\\n\\t\\t\\tfields[name] = tiddler.getFieldString(name);\\n\\t\\t});\\n\\t\\treturn JSON.stringify(fields);\\n\\t} else {\\n\\t\\treturn JSON.stringify({title: title});\\n\\t}\\n};\\n\\nexports.getTiddlersAsJson = function(filter,spaces) {\\n\\tvar tiddlers = this.filterTiddlers(filter),\\n\\t\\tspaces = (spaces === undefined) ? $tw.config.preferences.jsonSpaces : spaces,\\n\\t\\tdata = [];\\n\\tfor(var t=0;t\u003Ctiddlers.length; t++) {\\n\\t\\tvar tiddler = this.getTiddler(tiddlers[t]);\\n\\t\\tif(tiddler) {\\n\\t\\t\\tvar fields = new Object();\\n\\t\\t\\tfor(var field in tiddler.fields) {\\n\\t\\t\\t\\tfields[field] = tiddler.getFieldString(field);\\n\\t\\t\\t}\\n\\t\\t\\tdata.push(fields);\\n\\t\\t}\\n\\t}\\n\\treturn JSON.stringify(data,null,spaces);\\n};\\n\\n/*\\nGet the content of a tiddler as a JavaScript object. How this is done depends on the type of the tiddler:\\n\\napplication/json: the tiddler JSON is parsed into an object\\napplication/x-tiddler-dictionary: the tiddler is parsed as sequence of name:value pairs\\n\\nOther types currently just return null.\\n\\ntitleOrTiddler: string tiddler title or a tiddler object\\ndefaultData: default data to be returned if the tiddler is missing or doesn't contain data\\n\\nNote that the same value is returned for repeated calls for the same tiddler data. The value is frozen to prevent modification; otherwise modifications would be visible to all callers\\n*/\\nexports.getTiddlerDataCached = function(titleOrTiddler,defaultData) {\\n\\tvar self = this,\\n\\t\\ttiddler = titleOrTiddler;\\n\\tif(!(tiddler instanceof $tw.Tiddler)) {\\n\\t\\ttiddler = this.getTiddler(tiddler);\\n\\t}\\n\\tif(tiddler) {\\n\\t\\treturn this.getCacheForTiddler(tiddler.fields.title,\\\"data\\\",function() {\\n\\t\\t\\t// Return the frozen value\\n\\t\\t\\tvar value = self.getTiddlerData(tiddler.fields.title,undefined);\\n\\t\\t\\t$tw.utils.deepFreeze(value);\\n\\t\\t\\treturn value;\\n\\t\\t}) || defaultData;\\n\\t} else {\\n\\t\\treturn defaultData;\\n\\t}\\n};\\n\\n/*\\nAlternative, uncached version of getTiddlerDataCached(). The return value can be mutated freely and reused\\n*/\\nexports.getTiddlerData = function(titleOrTiddler,defaultData) {\\n\\tvar tiddler = titleOrTiddler,\\n\\t\\tdata;\\n\\tif(!(tiddler instanceof $tw.Tiddler)) {\\n\\t\\ttiddler = this.getTiddler(tiddler);\\n\\t}\\n\\tif(tiddler && tiddler.fields.text) {\\n\\t\\tswitch(tiddler.fields.type) {\\n\\t\\t\\tcase \\\"application/json\\\":\\n\\t\\t\\t\\t// JSON tiddler\\n\\t\\t\\t\\treturn $tw.utils.parseJSONSafe(tiddler.fields.text,defaultData);\\n\\t\\t\\tcase \\\"application/x-tiddler-dictionary\\\":\\n\\t\\t\\t\\treturn $tw.utils.parseFields(tiddler.fields.text);\\n\\t\\t}\\n\\t}\\n\\treturn defaultData;\\n};\\n\\n/*\\nExtract an indexed field from within a data tiddler\\n*/\\nexports.extractTiddlerDataItem = function(titleOrTiddler,index,defaultText) {\\n\\tvar data = this.getTiddlerDataCached(titleOrTiddler,Object.create(null)),\\n\\t\\ttext;\\n\\tif(data && $tw.utils.hop(data,index)) {\\n\\t\\ttext = data[index];\\n\\t}\\n\\tif(typeof text === \\\"string\\\" || typeof text === \\\"number\\\") {\\n\\t\\treturn text.toString();\\n\\t} else {\\n\\t\\treturn defaultText;\\n\\t}\\n};\\n\\n/*\\nSet a tiddlers content to a JavaScript object. Currently this is done by setting the tiddler's type to \\\"application/json\\\" and setting the text to the JSON text of the data.\\ntitle: title of tiddler\\ndata: object that can be serialised to JSON\\nfields: optional hashmap of additional tiddler fields to be set\\noptions: optional hashmap of options including:\\n\\tsuppressTimestamp: if true, don't set the creation/modification timestamps\\n*/\\nexports.setTiddlerData = function(title,data,fields,options) {\\n\\toptions = options || {};\\n\\tvar existingTiddler = this.getTiddler(title),\\n\\t\\tcreationFields = options.suppressTimestamp ? {} : this.getCreationFields(),\\n\\t\\tmodificationFields = options.suppressTimestamp ? {} : this.getModificationFields(),\\n\\t\\tnewFields = {\\n\\t\\t\\ttitle: title\\n\\t\\t};\\n\\tif(existingTiddler && existingTiddler.fields.type === \\\"application/x-tiddler-dictionary\\\") {\\n\\t\\tnewFields.text = $tw.utils.makeTiddlerDictionary(data);\\n\\t} else {\\n\\t\\tnewFields.type = \\\"application/json\\\";\\n\\t\\tnewFields.text = JSON.stringify(data,null,$tw.config.preferences.jsonSpaces);\\n\\t}\\n\\tthis.addTiddler(new $tw.Tiddler(creationFields,existingTiddler,fields,newFields,modificationFields));\\n};\\n\\n/*\\nReturn the content of a tiddler as an array containing each line\\n*/\\nexports.getTiddlerList = function(title,field,index) {\\n\\tif(index) {\\n\\t\\treturn $tw.utils.parseStringArray(this.extractTiddlerDataItem(title,index,\\\"\\\"));\\n\\t}\\n\\tfield = field || \\\"list\\\";\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(tiddler) {\\n\\t\\treturn ($tw.utils.parseStringArray(tiddler.fields[field]) || []).slice(0);\\n\\t}\\n\\treturn [];\\n};\\n\\n// Return a named global cache object. Global cache objects are cleared whenever a tiddler change occurs\\nexports.getGlobalCache = function(cacheName,initializer) {\\n\\tthis.globalCache = this.globalCache || Object.create(null);\\n\\tif($tw.utils.hop(this.globalCache,cacheName)) {\\n\\t\\treturn this.globalCache[cacheName];\\n\\t} else {\\n\\t\\tthis.globalCache[cacheName] = initializer();\\n\\t\\treturn this.globalCache[cacheName];\\n\\t}\\n};\\n\\nexports.clearGlobalCache = function() {\\n\\tthis.globalCache = Object.create(null);\\n};\\n\\n// Return the named cache object for a tiddler. If the cache doesn't exist then the initializer function is invoked to create it\\nexports.getCacheForTiddler = function(title,cacheName,initializer) {\\n\\tthis.caches = this.caches || Object.create(null);\\n\\tvar caches = this.caches[title];\\n\\tif(caches && caches[cacheName] !== undefined) {\\n\\t\\treturn caches[cacheName];\\n\\t} else {\\n\\t\\tif(!caches) {\\n\\t\\t\\tcaches = Object.create(null);\\n\\t\\t\\tthis.caches[title] = caches;\\n\\t\\t}\\n\\t\\tcaches[cacheName] = initializer();\\n\\t\\treturn caches[cacheName];\\n\\t}\\n};\\n\\n// Clear all caches associated with a particular tiddler, or, if the title is null, clear all the caches for all the tiddlers\\nexports.clearCache = function(title) {\\n\\tif(title) {\\n\\t\\tthis.caches = this.caches || Object.create(null);\\n\\t\\tif($tw.utils.hop(this.caches,title)) {\\n\\t\\t\\tdelete this.caches[title];\\n\\t\\t}\\n\\t} else {\\n\\t\\tthis.caches = Object.create(null);\\n\\t}\\n};\\n\\nexports.initParsers = function(moduleType) {\\n\\t// Install the parser modules\\n\\t$tw.Wiki.parsers = {};\\n\\tvar self = this;\\n\\t$tw.modules.forEachModuleOfType(\\\"parser\\\",function(title,module) {\\n\\t\\tfor(var f in module) {\\n\\t\\t\\tif($tw.utils.hop(module,f)) {\\n\\t\\t\\t\\t$tw.Wiki.parsers[f] = module[f]; // Store the parser class\\n\\t\\t\\t}\\n\\t\\t}\\n\\t});\\n\\t// Use the generic binary parser for any binary types not registered so far\\n\\tif($tw.Wiki.parsers[\\\"application/octet-stream\\\"]) {\\n\\t\\tObject.keys($tw.config.contentTypeInfo).forEach(function(type) {\\n\\t\\t\\tif(!$tw.utils.hop($tw.Wiki.parsers,type) && $tw.config.contentTypeInfo[type].encoding === \\\"base64\\\") {\\n\\t\\t\\t\\t$tw.Wiki.parsers[type] = $tw.Wiki.parsers[\\\"application/octet-stream\\\"];\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n};\\n\\n/*\\nParse a block of text of a specified MIME type\\n\\ttype: content type of text to be parsed\\n\\ttext: text\\n\\toptions: see below\\nOptions include:\\n\\tparseAsInline: if true, the text of the tiddler will be parsed as an inline run\\n\\t_canonical_uri: optional string of the canonical URI of this content\\n*/\\nexports.parseText = function(type,text,options) {\\n\\ttext = text || \\\"\\\";\\n\\toptions = options || {};\\n\\t// Select a parser\\n\\tvar Parser = $tw.Wiki.parsers[type];\\n\\tif(!Parser && $tw.utils.getFileExtensionInfo(type)) {\\n\\t\\tParser = $tw.Wiki.parsers[$tw.utils.getFileExtensionInfo(type).type];\\n\\t}\\n\\tif(!Parser) {\\n\\t\\tParser = $tw.Wiki.parsers[options.defaultType || \\\"text/vnd.tiddlywiki\\\"];\\n\\t}\\n\\tif(!Parser) {\\n\\t\\treturn null;\\n\\t}\\n\\t// Return the parser instance\\n\\treturn new Parser(type,text,{\\n\\t\\tparseAsInline: options.parseAsInline,\\n\\t\\twiki: this,\\n\\t\\t_canonical_uri: options._canonical_uri,\\n\\t\\tconfigTrimWhiteSpace: options.configTrimWhiteSpace\\n\\t});\\n};\\n\\n/*\\nParse a tiddler according to its MIME type\\n*/\\nexports.parseTiddler = function(title,options) {\\n\\toptions = $tw.utils.extend({},options);\\n\\tvar cacheType = options.parseAsInline ? \\\"inlineParseTree\\\" : \\\"blockParseTree\\\",\\n\\t\\ttiddler = this.getTiddler(title),\\n\\t\\tself = this;\\n\\treturn tiddler ? this.getCacheForTiddler(title,cacheType,function() {\\n\\t\\t\\tif(tiddler.hasField(\\\"_canonical_uri\\\")) {\\n\\t\\t\\t\\toptions._canonical_uri = tiddler.fields._canonical_uri;\\n\\t\\t\\t}\\n\\t\\t\\treturn self.parseText(tiddler.fields.type,tiddler.fields.text,options);\\n\\t\\t}) : null;\\n};\\n\\nexports.parseTextReference = function(title,field,index,options) {\\n\\tvar tiddler,\\n\\t\\ttext,\\n\\t\\tparserInfo;\\n\\tif(!options.subTiddler) {\\n\\t\\ttiddler = this.getTiddler(title);\\n\\t\\tif(field === \\\"text\\\" || (!field && !index)) {\\n\\t\\t\\tthis.getTiddlerText(title); // Force the tiddler to be lazily loaded\\n\\t\\t\\treturn this.parseTiddler(title,options);\\n\\t\\t}\\n\\t} \\n\\tparserInfo = this.getTextReferenceParserInfo(title,field,index,options);\\n\\tif(parserInfo.sourceText !== null) {\\n\\t\\treturn this.parseText(parserInfo.parserType,parserInfo.sourceText,options);\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\nexports.getTextReferenceParserInfo = function(title,field,index,options) {\\n\\tvar defaultType = options.defaultType || \\\"text/vnd.tiddlywiki\\\",\\n\\t\\ttiddler,\\n\\t\\tparserInfo = {\\n\\t\\t\\tsourceText : null,\\n\\t\\t\\tparserType : defaultType\\n\\t\\t};\\n\\tif(options.subTiddler) {\\n\\t\\ttiddler = this.getSubTiddler(title,options.subTiddler);\\n\\t} else {\\n\\t\\ttiddler = this.getTiddler(title);\\n\\t}\\n\\tif(field === \\\"text\\\" || (!field && !index)) {\\n\\t\\tif(tiddler && tiddler.fields) {\\n\\t\\t\\tparserInfo.sourceText = tiddler.fields.text || \\\"\\\";\\n\\t\\t\\tif(tiddler.fields.type) {\\n\\t\\t\\t\\tparserInfo.parserType = tiddler.fields.type;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t} else if(field) {\\n\\t\\tif(field === \\\"title\\\") {\\n\\t\\t\\tparserInfo.sourceText = title;\\n\\t\\t} else if(tiddler && tiddler.fields) {\\n\\t\\t\\tparserInfo.sourceText = tiddler.hasField(field) ? tiddler.fields[field].toString() : null;\\n\\t\\t}\\n\\t} else if(index) {\\n\\t\\tthis.getTiddlerText(title); // Force the tiddler to be lazily loaded\\n\\t\\tparserInfo.sourceText = this.extractTiddlerDataItem(tiddler,index,null);\\n\\t}\\n\\tif(parserInfo.sourceText === null) {\\n\\t\\tparserInfo.parserType = null;\\n\\t}\\n\\treturn parserInfo;\\n}\\n\\n/*\\nParse a block of text of a specified MIME type\\n\\ttext: text on which to perform substitutions\\n\\twidget\\n\\toptions: see below\\nOptions include:\\n\\tsubstitutions: an optional array of substitutions\\n*/\\nexports.getSubstitutedText = function(text,widget,options) {\\n\\toptions = options || {};\\n\\ttext = text || \\\"\\\";\\n\\tvar self = this,\\n\\t\\tsubstitutions = options.substitutions || [],\\n\\t\\toutput;\\n\\t// Evaluate embedded filters and substitute with first result\\n\\toutput = text.replace(/\\\\$\\\\{([\\\\S\\\\s]+?)\\\\}\\\\$/g, function(match,filter) {\\n\\t\\treturn self.filterTiddlers(filter,widget)[0] || \\\"\\\";\\n\\t});\\n\\t// Process any substitutions provided in options\\n\\t$tw.utils.each(substitutions,function(substitute) {\\n\\t\\toutput = $tw.utils.replaceString(output,new RegExp(\\\"\\\\\\\\$\\\" + $tw.utils.escapeRegExp(substitute.name) + \\\"\\\\\\\\$\\\",\\\"mg\\\"),substitute.value);\\n\\t});\\n\\t// Substitute any variable references with their values\\n\\treturn output.replace(/\\\\$\\\\(([^\\\\)\\\\$]+)\\\\)\\\\$/g, function(match,varname) {\\n\\t\\treturn widget.getVariable(varname,{defaultValue: \\\"\\\"})\\n\\t});\\n};\\n\\n/*\\nMake a widget tree for a parse tree\\nparser: parser object\\noptions: see below\\nOptions include:\\ndocument: optional document to use\\nvariables: hashmap of variables to set\\nparentWidget: optional parent widget for the root node\\n*/\\nexports.makeWidget = function(parser,options) {\\n\\toptions = options || {};\\n\\tvar widgetNode = {\\n\\t\\t\\ttype: \\\"widget\\\",\\n\\t\\t\\tchildren: []\\n\\t\\t},\\n\\t\\tcurrWidgetNode = widgetNode;\\n\\t// Create let variable widget for variables\\n\\tif($tw.utils.count(options.variables) > 0) {\\n\\t\\tvar letVariableWidget = {\\n\\t\\t\\ttype: \\\"let\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t},\\n\\t\\t\\tchildren: []\\n\\t\\t};\\n\\t\\t$tw.utils.each(options.variables,function(value,name) {\\n\\t\\t\\t$tw.utils.addAttributeToParseTreeNode(letVariableWidget,name,\\\"\\\" + value);\\n\\t\\t});\\n\\t\\tcurrWidgetNode.children = [letVariableWidget];\\n\\t\\tcurrWidgetNode = letVariableWidget;\\n\\t}\\n\\t// Add in the supplied parse tree nodes\\n\\tcurrWidgetNode.children = parser ? parser.tree : [];\\n\\t// Create the widget\\n\\treturn new widget.widget(widgetNode,{\\n\\t\\twiki: this,\\n\\t\\tdocument: options.document || $tw.fakeDocument,\\n\\t\\tparentWidget: options.parentWidget\\n\\t});\\n};\\n\\n/*\\nMake a widget tree for transclusion\\ntitle: target tiddler title\\noptions: as for wiki.makeWidget() plus:\\noptions.field: optional field to transclude (defaults to \\\"text\\\")\\noptions.mode: transclusion mode \\\"inline\\\" or \\\"block\\\"\\noptions.recursionMarker : optional flag to set a recursion marker, defaults to \\\"yes\\\"\\noptions.children: optional array of children for the transclude widget\\noptions.importVariables: optional importvariables filter string for macros to be included\\noptions.importPageMacros: optional boolean; if true, equivalent to passing \\\"[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\\\" to options.importVariables\\n*/\\nexports.makeTranscludeWidget = function(title,options) {\\n\\toptions = options || {};\\n\\tvar parseTreeDiv = {tree: [{\\n\\t\\t\\ttype: \\\"element\\\",\\n\\t\\t\\ttag: \\\"div\\\",\\n\\t\\t\\tchildren: []}]},\\n\\t\\tparseTreeImportVariables = {\\n\\t\\t\\ttype: \\\"importvariables\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\tfilter: {\\n\\t\\t\\t\\t\\tname: \\\"filter\\\",\\n\\t\\t\\t\\t\\ttype: \\\"string\\\"\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\tisBlock: false,\\n\\t\\t\\tchildren: []},\\n\\t\\tparseTreeTransclude = {\\n\\t\\t\\ttype: \\\"transclude\\\",\\n\\t\\t\\tattributes: {\\n\\t\\t\\t\\trecursionMarker: {\\n\\t\\t\\t\\t\\tname: \\\"recursionMarker\\\",\\n\\t\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\t\\tvalue: options.recursionMarker || \\\"yes\\\"\\n\\t\\t\\t\\t\\t},\\n\\t\\t\\t\\ttiddler: {\\n\\t\\t\\t\\t\\tname: \\\"tiddler\\\",\\n\\t\\t\\t\\t\\ttype: \\\"string\\\",\\n\\t\\t\\t\\t\\tvalue: title\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\tisBlock: !options.parseAsInline};\\n\\tif(options.importVariables || options.importPageMacros) {\\n\\t\\tif(options.importVariables) {\\n\\t\\t\\tparseTreeImportVariables.attributes.filter.value = options.importVariables;\\n\\t\\t} else if(options.importPageMacros) {\\n\\t\\t\\tparseTreeImportVariables.attributes.filter.value = this.getTiddlerText(\\\"$:/core/config/GlobalImportFilter\\\");\\n\\t\\t}\\n\\t\\tparseTreeDiv.tree[0].children.push(parseTreeImportVariables);\\n\\t\\tparseTreeImportVariables.children.push(parseTreeTransclude);\\n\\t} else {\\n\\t\\tparseTreeDiv.tree[0].children.push(parseTreeTransclude);\\n\\t}\\n\\tif(options.field) {\\n\\t\\tparseTreeTransclude.attributes.field = {type: \\\"string\\\", value: options.field};\\n\\t}\\n\\tif(options.mode) {\\n\\t\\tparseTreeTransclude.attributes.mode = {type: \\\"string\\\", value: options.mode};\\n\\t}\\n\\tif(options.children) {\\n\\t\\tparseTreeTransclude.children = options.children;\\n\\t}\\n\\treturn this.makeWidget(parseTreeDiv,options);\\n};\\n\\n/*\\nParse text in a specified format and render it into another format\\n\\toutputType: content type for the output\\n\\ttextType: content type of the input text\\n\\ttext: input text\\n\\toptions: see below\\nOptions include:\\nvariables: hashmap of variables to set\\nparentWidget: optional parent widget for the root node\\n*/\\nexports.renderText = function(outputType,textType,text,options) {\\n\\toptions = options || {};\\n\\tvar parser = this.parseText(textType,text,options),\\n\\t\\twidgetNode = this.makeWidget(parser,options);\\n\\tvar container = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\twidgetNode.render(container,null);\\n\\treturn outputType === \\\"text/html\\\" ? container.innerHTML : container.textContent;\\n};\\n\\n/*\\nParse text from a tiddler and render it into another format\\n\\toutputType: content type for the output\\n\\ttitle: title of the tiddler to be rendered\\n\\toptions: see below\\nOptions include:\\nvariables: hashmap of variables to set\\nparentWidget: optional parent widget for the root node\\n*/\\nexports.renderTiddler = function(outputType,title,options) {\\n\\toptions = options || {};\\n\\tvar parser = this.parseTiddler(title,options),\\n\\t\\twidgetNode = this.makeWidget(parser,options);\\n\\tvar container = $tw.fakeDocument.createElement(\\\"div\\\");\\n\\twidgetNode.render(container,null);\\n\\treturn outputType === \\\"text/html\\\" ? container.innerHTML : (outputType === \\\"text/plain-formatted\\\" ? container.formattedTextContent : container.textContent);\\n};\\n\\n/*\\nReturn an array of tiddler titles that match a search string\\n\\ttext: The text string to search for\\n\\toptions: see below\\nOptions available:\\n\\tsource: an iterator function for the source tiddlers, called source(iterator),\\n\\t\\twhere iterator is called as iterator(tiddler,title)\\n\\texclude: An array of tiddler titles to exclude from the search\\n\\tinvert: If true returns tiddlers that do not contain the specified string\\n\\tcaseSensitive: If true forces a case sensitive search\\n\\tfield: If specified, restricts the search to the specified field, or an array of field names\\n\\tanchored: If true, forces all but regexp searches to be anchored to the start of text\\n\\texcludeField: If true, the field options are inverted to specify the fields that are not to be searched\\n\\n\\tThe search mode is determined by the first of these boolean flags to be true\\n\\t\\tliteral: searches for literal string\\n\\t\\twhitespace: same as literal except runs of whitespace are treated as a single space\\n\\t\\tregexp: treats the search term as a regular expression\\n\\t\\twords: (default) treats search string as a list of tokens, and matches if all tokens are found, \\n\\t\\t\\tregardless of adjacency or ordering\\n\\t\\tsome: treats search string as a list of tokens, and matches if at least ONE token is found\\n*/\\nexports.search = function(text,options) {\\n\\toptions = options || {};\\n\\tvar self = this,\\n\\t\\tt,\\n\\t\\tregExpStr=\\\"\\\",\\n\\t\\tinvert = !!options.invert;\\n\\t// Convert the search string into a regexp for each term\\n\\tvar terms, searchTermsRegExps,\\n\\t\\tflags = options.caseSensitive ? \\\"\\\" : \\\"i\\\",\\n\\t\\tanchor = options.anchored ? \\\"^\\\" : \\\"\\\";\\n\\tif(options.literal) {\\n\\t\\tif(text.length === 0) {\\n\\t\\t\\tsearchTermsRegExps = null;\\n\\t\\t} else {\\n\\t\\t\\tsearchTermsRegExps = [new RegExp(\\\"(\\\" + anchor + $tw.utils.escapeRegExp(text) + \\\")\\\",flags)];\\n\\t\\t}\\n\\t} else if(options.whitespace) {\\n\\t\\tterms = [];\\n\\t\\t$tw.utils.each(text.split(/\\\\s+/g),function(term) {\\n\\t\\t\\tif(term) {\\n\\t\\t\\t\\tterms.push($tw.utils.escapeRegExp(term));\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tsearchTermsRegExps = [new RegExp(\\\"(\\\" + anchor + terms.join(\\\"\\\\\\\\s+\\\") + \\\")\\\",flags)];\\n\\t} else if(options.regexp) {\\n\\t\\ttry {\\n\\t\\t\\tsearchTermsRegExps = [new RegExp(\\\"(\\\" + text + \\\")\\\",flags)];\\n\\t\\t} catch(e) {\\n\\t\\t\\tsearchTermsRegExps = null;\\n\\t\\t\\tconsole.log(\\\"Regexp error parsing /(\\\" + text + \\\")/\\\" + flags + \\\": \\\",e);\\n\\t\\t}\\n\\t} else if(options.some) {\\n\\t\\tterms = text.trim().split(/ +/);\\n\\t\\tif(terms.length === 1 && terms[0] === \\\"\\\") {\\n\\t\\t\\tsearchTermsRegExps = null;\\n\\t\\t} else {\\n\\t\\t\\tsearchTermsRegExps = [];\\n\\t\\t\\tfor(t=0; t\u003Cterms.length; t++) {\\n\\t\\t\\t\\tregExpStr += (t===0) ? anchor + $tw.utils.escapeRegExp(terms[t]) : \\\"|\\\" + anchor + $tw.utils.escapeRegExp(terms[t]);\\n\\t\\t\\t}\\n\\t\\t\\tsearchTermsRegExps.push(new RegExp(\\\"(\\\" + regExpStr + \\\")\\\",flags));\\n\\t\\t}\\n\\t} else { // default: words\\n\\t\\tterms = text.split(/ +/);\\n\\t\\tif(terms.length === 1 && terms[0] === \\\"\\\") {\\n\\t\\t\\tsearchTermsRegExps = null;\\n\\t\\t} else {\\n\\t\\t\\tsearchTermsRegExps = [];\\n\\t\\t\\tfor(t=0; t\u003Cterms.length; t++) {\\n\\t\\t\\t\\tsearchTermsRegExps.push(new RegExp(\\\"(\\\" + anchor + $tw.utils.escapeRegExp(terms[t]) + \\\")\\\",flags));\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n// Accumulate the array of fields to be searched or excluded from the search\\n\\tvar fields = [];\\n\\tif(options.field) {\\n\\t\\tif($tw.utils.isArray(options.field)) {\\n\\t\\t\\t$tw.utils.each(options.field,function(fieldName) {\\n\\t\\t\\t\\tif(fieldName) {\\n\\t\\t\\t\\t\\tfields.push(fieldName);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tfields.push(options.field);\\n\\t\\t}\\n\\t}\\n\\t// Use default fields if none specified and we're not excluding fields (excluding fields with an empty field array is the same as searching all fields)\\n\\tif(fields.length === 0 && !options.excludeField) {\\n\\t\\tfields.push(\\\"title\\\");\\n\\t\\tfields.push(\\\"tags\\\");\\n\\t\\tfields.push(\\\"text\\\");\\n\\t}\\n\\t// Function to check a given tiddler for the search term\\n\\tvar searchTiddler = function(title) {\\n\\t\\tif(!searchTermsRegExps) {\\n\\t\\t\\treturn true;\\n\\t\\t}\\n\\t\\tvar notYetFound = searchTermsRegExps.slice();\\n\\n\\t\\tvar tiddler = self.getTiddler(title);\\n\\t\\tif(!tiddler) {\\n\\t\\t\\ttiddler = new $tw.Tiddler({title: title, text: \\\"\\\", type: \\\"text/vnd.tiddlywiki\\\"});\\n\\t\\t}\\n\\t\\tvar contentTypeInfo = $tw.config.contentTypeInfo[tiddler.fields.type] || $tw.config.contentTypeInfo[\\\"text/vnd.tiddlywiki\\\"],\\n\\t\\t\\tsearchFields;\\n\\t\\t// Get the list of fields we're searching\\n\\t\\tif(options.excludeField) {\\n\\t\\t\\tsearchFields = Object.keys(tiddler.fields);\\n\\t\\t\\t$tw.utils.each(fields,function(fieldName) {\\n\\t\\t\\t\\tvar p = searchFields.indexOf(fieldName);\\n\\t\\t\\t\\tif(p !== -1) {\\n\\t\\t\\t\\t\\tsearchFields.splice(p,1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\tsearchFields = fields;\\n\\t\\t}\\n\\t\\tfor(var fieldIndex=0; notYetFound.length>0 && fieldIndex\u003CsearchFields.length; fieldIndex++) {\\n\\t\\t\\t// Don't search the text field if the content type is binary\\n\\t\\t\\tvar fieldName = searchFields[fieldIndex];\\n\\t\\t\\tif(fieldName === \\\"text\\\" && contentTypeInfo.encoding !== \\\"utf8\\\") {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tvar str = tiddler.fields[fieldName],\\n\\t\\t\\t\\tt;\\n\\t\\t\\tif(str) {\\n\\t\\t\\t\\tif($tw.utils.isArray(str)) {\\n\\t\\t\\t\\t\\t// If the field value is an array, test each regexp against each field array entry and fail if each regexp doesn't match at least one field array entry\\n\\t\\t\\t\\t\\tfor(var s=0; s\u003Cstr.length; s++) {\\n\\t\\t\\t\\t\\t\\tfor(t=0; t\u003CnotYetFound.length;) {\\n\\t\\t\\t\\t\\t\\t\\tif(notYetFound[t].test(str[s])) {\\n\\t\\t\\t\\t\\t\\t\\t\\tnotYetFound.splice(t, 1);\\n\\t\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t\\tt++;\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// If the field isn't an array, force it to a string and test each regexp against it and fail if any do not match\\n\\t\\t\\t\\t\\tstr = tiddler.getFieldString(fieldName);\\n\\t\\t\\t\\t\\tfor(t=0; t\u003CnotYetFound.length;) {\\n\\t\\t\\t\\t\\t\\tif(notYetFound[t].test(str)) {\\n\\t\\t\\t\\t\\t\\t\\tnotYetFound.splice(t, 1);\\n\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\tt++;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\treturn notYetFound.length == 0;\\n\\t};\\n\\t// Loop through all the tiddlers doing the search\\n\\tvar results = [],\\n\\t\\tsource = options.source || this.each;\\n\\tsource(function(tiddler,title) {\\n\\t\\tif(searchTiddler(title) !== invert) {\\n\\t\\t\\tresults.push(title);\\n\\t\\t}\\n\\t});\\n\\t// Remove any of the results we have to exclude\\n\\tif(options.exclude) {\\n\\t\\tfor(t=0; t\u003Coptions.exclude.length; t++) {\\n\\t\\t\\tvar p = results.indexOf(options.exclude[t]);\\n\\t\\t\\tif(p !== -1) {\\n\\t\\t\\t\\tresults.splice(p,1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\treturn results;\\n};\\n\\n/*\\nTrigger a load for a tiddler if it is skinny. Returns the text, or undefined if the tiddler is missing, null if the tiddler is being lazily loaded.\\n*/\\nexports.getTiddlerText = function(title,defaultText) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\t// Return undefined if the tiddler isn't found\\n\\tif(!tiddler) {\\n\\t\\treturn defaultText;\\n\\t}\\n\\tif(!tiddler.hasField(\\\"_is_skinny\\\")) {\\n\\t\\t// Just return the text if we've got it\\n\\t\\treturn tiddler.fields.text || \\\"\\\";\\n\\t} else {\\n\\t\\t// Tell any listeners about the need to lazily load this tiddler\\n\\t\\tthis.dispatchEvent(\\\"lazyLoad\\\",title);\\n\\t\\t// Indicate that the text is being loaded\\n\\t\\treturn null;\\n\\t}\\n};\\n\\n/*\\nCheck whether the text of a tiddler matches a given value. By default, the comparison is case insensitive, and any spaces at either end of the tiddler text is trimmed\\n*/\\nexports.checkTiddlerText = function(title,targetText,options) {\\n\\toptions = options || {};\\n\\tvar text = this.getTiddlerText(title,\\\"\\\");\\n\\tif(!options.noTrim) {\\n\\t\\ttext = text.trim();\\n\\t}\\n\\tif(!options.caseSensitive) {\\n\\t\\ttext = text.toLowerCase();\\n\\t\\ttargetText = targetText.toLowerCase();\\n\\t}\\n\\treturn text === targetText;\\n}\\n\\n/*\\nExecute an action string without an associated context widget\\n*/\\nexports.invokeActionString = function(actions,event,variables,options) {\\n\\tvar widget = this.makeWidget(null,{parentWidget: options.parentWidget});\\n\\twidget.invokeActionString(actions,null,event,variables);\\n};\\n\\n/*\\nRead an array of browser File objects, invoking callback(tiddlerFieldsArray) once they're all read\\n*/\\nexports.readFiles = function(files,options) {\\n\\tvar callback;\\n\\tif(typeof options === \\\"function\\\") {\\n\\t\\tcallback = options;\\n\\t\\toptions = {};\\n\\t} else {\\n\\t\\tcallback = options.callback;\\n\\t}\\n\\tvar result = [],\\n\\t\\toutstanding = files.length,\\n\\t\\treadFileCallback = function(tiddlerFieldsArray) {\\n\\t\\t\\tresult.push.apply(result,tiddlerFieldsArray);\\n\\t\\t\\tif(--outstanding === 0) {\\n\\t\\t\\t\\tcallback(result);\\n\\t\\t\\t}\\n\\t\\t};\\n\\tfor(var f=0; f\u003Cfiles.length; f++) {\\n\\t\\tthis.readFile(files[f],$tw.utils.extend({},options,{callback: readFileCallback}));\\n\\t}\\n\\treturn files.length;\\n};\\n\\n/*\\nRead a browser File object, invoking callback(tiddlerFieldsArray) with an array of tiddler fields objects\\n*/\\nexports.readFile = function(file,options) {\\n\\tvar callback;\\n\\tif(typeof options === \\\"function\\\") {\\n\\t\\tcallback = options;\\n\\t\\toptions = {};\\n\\t} else {\\n\\t\\tcallback = options.callback;\\n\\t}\\n\\t// Get the type, falling back to the filename extension\\n\\tvar self = this,\\n\\t\\ttype = file.type;\\n\\tif(type === \\\"\\\" || !type) {\\n\\t\\tvar dotPos = file.name.lastIndexOf(\\\".\\\");\\n\\t\\tif(dotPos !== -1) {\\n\\t\\t\\tvar fileExtensionInfo = $tw.utils.getFileExtensionInfo(file.name.substr(dotPos));\\n\\t\\t\\tif(fileExtensionInfo) {\\n\\t\\t\\t\\ttype = fileExtensionInfo.type;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\t// Figure out if we're reading a binary file\\n\\tvar contentTypeInfo = $tw.config.contentTypeInfo[type],\\n\\t\\tisBinary = contentTypeInfo ? contentTypeInfo.encoding === \\\"base64\\\" : false;\\n\\t// Log some debugging information\\n\\tif($tw.log.IMPORT) {\\n\\t\\tconsole.log(\\\"Importing file '\\\" + file.name + \\\"', type: '\\\" + type + \\\"', isBinary: \\\" + isBinary);\\n\\t}\\n\\t// Give the hook a chance to process the drag\\n\\tif($tw.hooks.invokeHook(\\\"th-importing-file\\\",{\\n\\t\\tfile: file,\\n\\t\\ttype: type,\\n\\t\\tisBinary: isBinary,\\n\\t\\tcallback: callback\\n\\t}) !== true) {\\n\\t\\tthis.readFileContent(file,type,isBinary,options.deserializer,callback);\\n\\t}\\n};\\n\\n/*\\nLower level utility to read the content of a browser File object, invoking callback(tiddlerFieldsArray) with an array of tiddler fields objects\\n*/\\nexports.readFileContent = function(file,type,isBinary,deserializer,callback) {\\n\\tvar self = this;\\n\\t// Create the FileReader\\n\\tvar reader = new FileReader();\\n\\t// Onload\\n\\treader.onload = function(event) {\\n\\t\\tvar text = event.target.result,\\n\\t\\t\\ttiddlerFields = {title: file.name || \\\"Untitled\\\"};\\n\\t\\tif(isBinary) {\\n\\t\\t\\tvar commaPos = text.indexOf(\\\",\\\");\\n\\t\\t\\tif(commaPos !== -1) {\\n\\t\\t\\t\\ttext = text.substr(commaPos + 1);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Check whether this is an encrypted TiddlyWiki file\\n\\t\\tvar encryptedJson = $tw.utils.extractEncryptedStoreArea(text);\\n\\t\\tif(encryptedJson) {\\n\\t\\t\\t// If so, attempt to decrypt it with the current password\\n\\t\\t\\t$tw.utils.decryptStoreAreaInteractive(encryptedJson,function(tiddlers) {\\n\\t\\t\\t\\tcallback(tiddlers);\\n\\t\\t\\t});\\n\\t\\t} else {\\n\\t\\t\\t// Otherwise, just try to deserialise any tiddlers in the file\\n\\t\\t\\tcallback(self.deserializeTiddlers(type,text,tiddlerFields,{deserializer: deserializer}));\\n\\t\\t}\\n\\t};\\n\\t// Kick off the read\\n\\tif(isBinary) {\\n\\t\\treader.readAsDataURL(file);\\n\\t} else {\\n\\t\\treader.readAsText(file);\\n\\t}\\n};\\n\\n/*\\nFind any existing draft of a specified tiddler\\n*/\\nexports.findDraft = function(targetTitle) {\\n\\tvar draftTitle = undefined;\\n\\tthis.forEachTiddler({includeSystem: true},function(title,tiddler) {\\n\\t\\tif(tiddler.fields[\\\"draft.title\\\"] && tiddler.fields[\\\"draft.of\\\"] === targetTitle) {\\n\\t\\t\\tdraftTitle = title;\\n\\t\\t}\\n\\t});\\n\\treturn draftTitle;\\n}\\n\\n/*\\nCheck whether the specified draft tiddler has been modified.\\nIf the original tiddler doesn't exist, create a vanilla tiddler variable,\\nto check if additional fields have been added.\\n*/\\nexports.isDraftModified = function(title) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(!tiddler.isDraft()) {\\n\\t\\treturn false;\\n\\t}\\n\\tvar ignoredFields = [\\\"created\\\", \\\"modified\\\", \\\"title\\\", \\\"draft.title\\\", \\\"draft.of\\\"],\\n\\t\\torigTiddler = this.getTiddler(tiddler.fields[\\\"draft.of\\\"]) || new $tw.Tiddler({text:\\\"\\\", tags:[]}),\\n\\t\\ttitleModified = tiddler.fields[\\\"draft.title\\\"] !== tiddler.fields[\\\"draft.of\\\"];\\n\\treturn titleModified || !tiddler.isEqual(origTiddler,ignoredFields);\\n};\\n\\n/*\\nAdd a new record to the top of the history stack\\ntitle: a title string or an array of title strings\\nfromPageRect: page coordinates of the origin of the navigation\\nhistoryTitle: title of history tiddler (defaults to $:/HistoryList)\\n*/\\nexports.addToHistory = function(title,fromPageRect,historyTitle) {\\n\\tvar story = new $tw.Story({wiki: this, historyTitle: historyTitle});\\n\\tstory.addToHistory(title,fromPageRect);\\n\\tconsole.log(\\\"$tw.wiki.addToHistory() is deprecated since V5.1.23! Use the this.story.addToHistory() from the story-object!\\\")\\n};\\n\\n/*\\nAdd a new tiddler to the story river\\ntitle: a title string or an array of title strings\\nfromTitle: the title of the tiddler from which the navigation originated\\nstoryTitle: title of story tiddler (defaults to $:/StoryList)\\noptions: see story.js\\n*/\\nexports.addToStory = function(title,fromTitle,storyTitle,options) {\\n\\tvar story = new $tw.Story({wiki: this, storyTitle: storyTitle});\\n\\tstory.addToStory(title,fromTitle,options);\\n\\tconsole.log(\\\"$tw.wiki.addToStory() is deprecated since V5.1.23! Use the this.story.addToStory() from the story-object!\\\")\\n};\\n\\n/*\\nGenerate a title for the draft of a given tiddler\\n*/\\nexports.generateDraftTitle = function(title) {\\n\\tvar c = 0,\\n\\t\\tdraftTitle,\\n\\t\\tusername = this.getTiddlerText(\\\"$:/status/UserName\\\"),\\n\\t\\tattribution = username ? \\\" by \\\" + username : \\\"\\\";\\n\\tdo {\\n\\t\\tdraftTitle = \\\"Draft \\\" + (c ? (c + 1) + \\\" \\\" : \\\"\\\") + \\\"of '\\\" + title + \\\"'\\\" + attribution;\\n\\t\\tc++;\\n\\t} while(this.tiddlerExists(draftTitle));\\n\\treturn draftTitle;\\n};\\n\\n/*\\nInvoke the available upgrader modules\\ntitles: array of tiddler titles to be processed\\ntiddlers: hashmap by title of tiddler fields of pending import tiddlers. These can be modified by the upgraders. An entry with no fields indicates a tiddler that was pending import has been suppressed. When entries are added to the pending import the tiddlers hashmap may have entries that are not present in the titles array\\nReturns a hashmap of messages keyed by tiddler title.\\n*/\\nexports.invokeUpgraders = function(titles,tiddlers) {\\n\\t// Collect up the available upgrader modules\\n\\tvar self = this;\\n\\tif(!this.upgraderModules) {\\n\\t\\tthis.upgraderModules = [];\\n\\t\\t$tw.modules.forEachModuleOfType(\\\"upgrader\\\",function(title,module) {\\n\\t\\t\\tif(module.upgrade) {\\n\\t\\t\\t\\tself.upgraderModules.push(module);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\\n\\t// Invoke each upgrader in turn\\n\\tvar messages = {};\\n\\tfor(var t=0; t\u003Cthis.upgraderModules.length; t++) {\\n\\t\\tvar upgrader = this.upgraderModules[t],\\n\\t\\t\\tupgraderMessages = upgrader.upgrade(this,titles,tiddlers);\\n\\t\\t$tw.utils.extend(messages,upgraderMessages);\\n\\t}\\n\\treturn messages;\\n};\\n\\n// Determine whether a plugin by title is dynamically loadable\\nexports.doesPluginRequireReload = function(title) {\\n\\tvar tiddler = this.getTiddler(title);\\n\\tif(tiddler && tiddler.fields.type === \\\"application/json\\\" && tiddler.fields[\\\"plugin-type\\\"]) {\\n\\t\\tif(tiddler.fields[\\\"plugin-type\\\"] === \\\"import\\\") {\\n\\t\\t\\t// The import plugin never requires reloading\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\\n\\treturn this.doesPluginInfoRequireReload(this.getPluginInfo(title) || this.getTiddlerDataCached(title));\\n};\\n\\n// Determine whether a plugin info structure is dynamically loadable\\nexports.doesPluginInfoRequireReload = function(pluginInfo) {\\n\\tif(pluginInfo) {\\n\\t\\tvar foundModule = false;\\n\\t\\t$tw.utils.each(pluginInfo.tiddlers,function(tiddler) {\\n\\t\\t\\tif(tiddler.type === \\\"application/javascript\\\" && $tw.utils.hop(tiddler,\\\"module-type\\\")) {\\n\\t\\t\\t\\tfoundModule = true;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\treturn foundModule;\\n\\t} else {\\n\\t\\treturn null;\\n\\t}\\n};\\n\\nexports.slugify = function(title,options) {\\n\\tvar tiddler = this.getTiddler(title),\\n\\t\\tslug;\\n\\tif(tiddler && tiddler.fields.slug) {\\n\\t\\tslug = tiddler.fields.slug;\\n\\t} else {\\n\\t\\tslug = $tw.utils.transliterate(title.toString().toLowerCase()) // Replace diacritics with basic lowercase ASCII\\n\\t\\t\\t.replace(/\\\\s+/g,\\\"-\\\") // Replace spaces with -\\n\\t\\t\\t.replace(/[^\\\\w\\\\-\\\\.]+/g,\\\"\\\") // Remove all non-word chars except dash and dot\\n\\t\\t\\t.replace(/\\\\-\\\\-+/g,\\\"-\\\") // Replace multiple - with single -\\n\\t\\t\\t.replace(/^-+/,\\\"\\\") // Trim - from start of text\\n\\t\\t\\t.replace(/-+$/,\\\"\\\"); // Trim - from end of text\\n\\t}\\n\\t// If the resulting slug is blank (eg because the title is just punctuation characters)\\n\\tif(!slug) {\\n\\t\\t// ...then just use the character codes of the title\\n\\t\\tvar result = [];\\n\\t\\t$tw.utils.each(title.split(\\\"\\\"),function(char) {\\n\\t\\t\\tresult.push(char.charCodeAt(0).toString());\\n\\t\\t});\\n\\t\\tslug = result.join(\\\"-\\\");\\n\\t}\\n\\treturn slug;\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"wikimethod\"},\"$:/palettes/Blanca\":{\"title\":\"$:/palettes/Blanca\",\"name\":\"Blanca\",\"color-scheme\":\"light\",\"description\":\"A clean white palette to let you focus\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #ffffff\\nblockquote-bar: \u003C\u003Ccolour muted-foreground>>\\nbutton-background:\\nbutton-foreground:\\nbutton-border:\\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndirty-indicator: #ff0000\\ndownload-background: #66cccc\\ndownload-foreground: \u003C\u003Ccolour background>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: \u003C\u003Ccolour background>>\\ndropdown-border: \u003C\u003Ccolour muted-foreground>>\\ndropdown-tab-background-selected: #fff\\ndropdown-tab-background: #ececec\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nforeground: #333333\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #999999\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #ffffff\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #7897f3\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #000000\\nsidebar-controls-foreground: #ccc\\nsidebar-foreground-shadow: rgba(255,255,255, 0.8)\\nsidebar-foreground: #acacac\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: #c0c0c0\\nsidebar-tab-background-selected: #ffffff\\nsidebar-tab-background: \u003C\u003Ccolour tab-background>>\\nsidebar-tab-border-selected: \u003C\u003Ccolour tab-border-selected>>\\nsidebar-tab-border: \u003C\u003Ccolour tab-border>>\\nsidebar-tab-divider: \u003C\u003Ccolour tab-divider>>\\nsidebar-tab-foreground-selected: \\nsidebar-tab-foreground: \u003C\u003Ccolour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #444444\\nsidebar-tiddler-link-foreground: #7897f3\\nsite-title-foreground: \u003C\u003Ccolour tiddler-title-foreground>>\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: #ffffff\\ntab-background: #eeeeee\\ntab-border-selected: #cccccc\\ntab-border: #cccccc\\ntab-divider: #d8d8d8\\ntab-foreground-selected: \u003C\u003Ccolour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #ffeedd\\ntag-foreground: #000\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: #eee\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #444444\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #f8f8f8\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: #f8f8f8\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #ff9900\\ntoolbar-new-button:\\ntoolbar-options-button:\\ntoolbar-save-button:\\ntoolbar-info-button:\\ntoolbar-edit-button:\\ntoolbar-close-button:\\ntoolbar-delete-button:\\ntoolbar-cancel-button:\\ntoolbar-done-button:\\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\n\"},\"$:/palettes/Blue\":{\"title\":\"$:/palettes/Blue\",\"name\":\"Blue\",\"color-scheme\":\"light\",\"description\":\"A blue theme\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #fff\\nblockquote-bar: \u003C\u003Ccolour muted-foreground>>\\nbutton-background:\\nbutton-foreground:\\nbutton-border:\\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndirty-indicator: #ff0000\\ndownload-background: #34c734\\ndownload-foreground: \u003C\u003Ccolour foreground>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: \u003C\u003Ccolour background>>\\ndropdown-border: \u003C\u003Ccolour muted-foreground>>\\ndropdown-tab-background-selected: #fff\\ndropdown-tab-background: #ececec\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nforeground: #333353\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #999999\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #ddddff\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #5778d8\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #000000\\nsidebar-controls-foreground: #ffffff\\nsidebar-foreground-shadow: rgba(255,255,255, 0.8)\\nsidebar-foreground: #acacac\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: #c0c0c0\\nsidebar-tab-background-selected: \u003C\u003Ccolour page-background>>\\nsidebar-tab-background: \u003C\u003Ccolour tab-background>>\\nsidebar-tab-border-selected: \u003C\u003Ccolour tab-border-selected>>\\nsidebar-tab-border: \u003C\u003Ccolour tab-border>>\\nsidebar-tab-divider: \u003C\u003Ccolour tab-divider>>\\nsidebar-tab-foreground-selected: \\nsidebar-tab-foreground: \u003C\u003Ccolour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #444444\\nsidebar-tiddler-link-foreground: #5959c0\\nsite-title-foreground: \u003C\u003Ccolour tiddler-title-foreground>>\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: \u003C\u003Ccolour background>>\\ntab-background: #ccccdd\\ntab-border-selected: #ccccdd\\ntab-border: #cccccc\\ntab-divider: #d8d8d8\\ntab-foreground-selected: \u003C\u003Ccolour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #eeeeff\\ntag-foreground: #000\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: \u003C\u003Ccolour background>>\\ntiddler-controls-foreground-hover: #666666\\ntiddler-controls-foreground-selected: #444444\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #ffffff\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: #ffffff\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #5959c0\\ntoolbar-new-button: #5eb95e\\ntoolbar-options-button: rgb(128, 88, 165)\\ntoolbar-save-button: #0e90d2\\ntoolbar-info-button: #0e90d2\\ntoolbar-edit-button: rgb(243, 123, 29)\\ntoolbar-close-button: #dd514c\\ntoolbar-delete-button: #dd514c\\ntoolbar-cancel-button: rgb(243, 123, 29)\\ntoolbar-done-button: #5eb95e\\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\n\"},\"$:/palettes/Muted\":{\"title\":\"$:/palettes/Muted\",\"name\":\"Muted\",\"color-scheme\":\"light\",\"description\":\"Bright tiddlers on a muted background\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #ffffff\\nblockquote-bar: \u003C\u003Ccolour muted-foreground>>\\nbutton-background:\\nbutton-foreground:\\nbutton-border:\\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndirty-indicator: #ff0000\\ndownload-background: #34c734\\ndownload-foreground: \u003C\u003Ccolour background>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: \u003C\u003Ccolour background>>\\ndropdown-border: \u003C\u003Ccolour muted-foreground>>\\ndropdown-tab-background-selected: #fff\\ndropdown-tab-background: #ececec\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nforeground: #333333\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #bbb\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #6f6f70\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #29a6ee\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #000000\\nsidebar-controls-foreground: #c2c1c2\\nsidebar-foreground-shadow: rgba(255,255,255,0)\\nsidebar-foreground: #d3d2d4\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: #c0c0c0\\nsidebar-tab-background-selected: #6f6f70\\nsidebar-tab-background: #666667\\nsidebar-tab-border-selected: #999\\nsidebar-tab-border: #515151\\nsidebar-tab-divider: #999\\nsidebar-tab-foreground-selected: \\nsidebar-tab-foreground: #999\\nsidebar-tiddler-link-foreground-hover: #444444\\nsidebar-tiddler-link-foreground: #d1d0d2\\nsite-title-foreground: \u003C\u003Ccolour tiddler-title-foreground>>\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: #ffffff\\ntab-background: #d8d8d8\\ntab-border-selected: #d8d8d8\\ntab-border: #cccccc\\ntab-divider: #d8d8d8\\ntab-foreground-selected: \u003C\u003Ccolour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #d5ad34\\ntag-foreground: #ffffff\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: \u003C\u003Ccolour background>>\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #444444\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #f8f8f8\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: #f8f8f8\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #182955\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\n\"},\"$:/palettes/ContrastLight\":{\"title\":\"$:/palettes/ContrastLight\",\"name\":\"Contrast (Light)\",\"color-scheme\":\"light\",\"description\":\"High contrast and unambiguous (light version)\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #f00\\nalert-border: \u003C\u003Ccolour background>>\\nalert-highlight: \u003C\u003Ccolour foreground>>\\nalert-muted-foreground: #800\\nbackground: #fff\\nblockquote-bar: \u003C\u003Ccolour muted-foreground>>\\nbutton-background: \u003C\u003Ccolour background>>\\nbutton-foreground: \u003C\u003Ccolour foreground>>\\nbutton-border: \u003C\u003Ccolour foreground>>\\ncode-background: \u003C\u003Ccolour background>>\\ncode-border: \u003C\u003Ccolour foreground>>\\ncode-foreground: \u003C\u003Ccolour foreground>>\\ndirty-indicator: #f00\\ndownload-background: #080\\ndownload-foreground: \u003C\u003Ccolour background>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: \u003C\u003Ccolour background>>\\ndropdown-border: \u003C\u003Ccolour muted-foreground>>\\ndropdown-tab-background-selected: \u003C\u003Ccolour foreground>>\\ndropdown-tab-background: \u003C\u003Ccolour foreground>>\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #00a\\nexternal-link-foreground: #00e\\nforeground: #000\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: \u003C\u003Ccolour foreground>>\\nmessage-border: \u003C\u003Ccolour background>>\\nmessage-foreground: \u003C\u003Ccolour background>>\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: \u003C\u003Ccolour foreground>>\\nmodal-footer-background: \u003C\u003Ccolour background>>\\nmodal-footer-border: \u003C\u003Ccolour foreground>>\\nmodal-header-border: \u003C\u003Ccolour foreground>>\\nmuted-foreground: \u003C\u003Ccolour foreground>>\\nnotification-background: \u003C\u003Ccolour background>>\\nnotification-border: \u003C\u003Ccolour foreground>>\\npage-background: \u003C\u003Ccolour background>>\\npre-background: \u003C\u003Ccolour background>>\\npre-border: \u003C\u003Ccolour foreground>>\\nprimary: #00f\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: \u003C\u003Ccolour background>>\\nsidebar-controls-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-foreground-shadow: rgba(0,0,0, 0)\\nsidebar-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-tab-background-selected: \u003C\u003Ccolour background>>\\nsidebar-tab-background: \u003C\u003Ccolour tab-background>>\\nsidebar-tab-border-selected: \u003C\u003Ccolour tab-border-selected>>\\nsidebar-tab-border: \u003C\u003Ccolour tab-border>>\\nsidebar-tab-divider: \u003C\u003Ccolour tab-divider>>\\nsidebar-tab-foreground-selected: \u003C\u003Ccolour foreground>>\\nsidebar-tab-foreground: \u003C\u003Ccolour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: \u003C\u003Ccolour foreground>>\\nsidebar-tiddler-link-foreground: \u003C\u003Ccolour primary>>\\nsite-title-foreground: \u003C\u003Ccolour tiddler-title-foreground>>\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: \u003C\u003Ccolour background>>\\ntab-background: \u003C\u003Ccolour foreground>>\\ntab-border-selected: \u003C\u003Ccolour foreground>>\\ntab-border: \u003C\u003Ccolour foreground>>\\ntab-divider: \u003C\u003Ccolour foreground>>\\ntab-foreground-selected: \u003C\u003Ccolour foreground>>\\ntab-foreground: \u003C\u003Ccolour background>>\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #000\\ntag-foreground: #fff\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: \u003C\u003Ccolour foreground>>\\ntiddler-controls-foreground-hover: #ddd\\ntiddler-controls-foreground-selected: #fdd\\ntiddler-controls-foreground: \u003C\u003Ccolour foreground>>\\ntiddler-editor-background: \u003C\u003Ccolour background>>\\ntiddler-editor-border-image: \u003C\u003Ccolour foreground>>\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: \u003C\u003Ccolour background>>\\ntiddler-editor-fields-odd: \u003C\u003Ccolour background>>\\ntiddler-info-background: \u003C\u003Ccolour background>>\\ntiddler-info-border: \u003C\u003Ccolour foreground>>\\ntiddler-info-tab-background: \u003C\u003Ccolour background>>\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: \u003C\u003Ccolour foreground>>\\ntiddler-title-foreground: \u003C\u003Ccolour foreground>>\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: \u003C\u003Ccolour foreground>>\\nvery-muted-foreground: #888888\\n\"},\"$:/palettes/ContrastDark\":{\"title\":\"$:/palettes/ContrastDark\",\"name\":\"Contrast (Dark)\",\"color-scheme\":\"dark\",\"description\":\"High contrast and unambiguous (dark version)\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #f00\\nalert-border: \u003C\u003Ccolour background>>\\nalert-highlight: \u003C\u003Ccolour foreground>>\\nalert-muted-foreground: #800\\nbackground: #000\\nblockquote-bar: \u003C\u003Ccolour muted-foreground>>\\nbutton-background: \u003C\u003Ccolour background>>\\nbutton-foreground: \u003C\u003Ccolour foreground>>\\nbutton-border: \u003C\u003Ccolour foreground>>\\ncode-background: \u003C\u003Ccolour background>>\\ncode-border: \u003C\u003Ccolour foreground>>\\ncode-foreground: \u003C\u003Ccolour foreground>>\\ndirty-indicator: #f00\\ndownload-background: #080\\ndownload-foreground: \u003C\u003Ccolour background>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: \u003C\u003Ccolour background>>\\ndropdown-border: \u003C\u003Ccolour muted-foreground>>\\ndropdown-tab-background-selected: \u003C\u003Ccolour foreground>>\\ndropdown-tab-background: \u003C\u003Ccolour foreground>>\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #00a\\nexternal-link-foreground: #00e\\nforeground: #fff\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: \u003C\u003Ccolour foreground>>\\nmessage-border: \u003C\u003Ccolour background>>\\nmessage-foreground: \u003C\u003Ccolour background>>\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: \u003C\u003Ccolour foreground>>\\nmodal-footer-background: \u003C\u003Ccolour background>>\\nmodal-footer-border: \u003C\u003Ccolour foreground>>\\nmodal-header-border: \u003C\u003Ccolour foreground>>\\nmuted-foreground: \u003C\u003Ccolour foreground>>\\nnotification-background: \u003C\u003Ccolour background>>\\nnotification-border: \u003C\u003Ccolour foreground>>\\npage-background: \u003C\u003Ccolour background>>\\npre-background: \u003C\u003Ccolour background>>\\npre-border: \u003C\u003Ccolour foreground>>\\nprimary: #00f\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: \u003C\u003Ccolour background>>\\nsidebar-controls-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-foreground-shadow: rgba(0,0,0, 0)\\nsidebar-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-tab-background-selected: \u003C\u003Ccolour background>>\\nsidebar-tab-background: \u003C\u003Ccolour tab-background>>\\nsidebar-tab-border-selected: \u003C\u003Ccolour tab-border-selected>>\\nsidebar-tab-border: \u003C\u003Ccolour tab-border>>\\nsidebar-tab-divider: \u003C\u003Ccolour tab-divider>>\\nsidebar-tab-foreground-selected: \u003C\u003Ccolour foreground>>\\nsidebar-tab-foreground: \u003C\u003Ccolour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: \u003C\u003Ccolour foreground>>\\nsidebar-tiddler-link-foreground: \u003C\u003Ccolour primary>>\\nsite-title-foreground: \u003C\u003Ccolour tiddler-title-foreground>>\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: \u003C\u003Ccolour background>>\\ntab-background: \u003C\u003Ccolour foreground>>\\ntab-border-selected: \u003C\u003Ccolour foreground>>\\ntab-border: \u003C\u003Ccolour foreground>>\\ntab-divider: \u003C\u003Ccolour foreground>>\\ntab-foreground-selected: \u003C\u003Ccolour foreground>>\\ntab-foreground: \u003C\u003Ccolour background>>\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #fff\\ntag-foreground: #000\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: \u003C\u003Ccolour foreground>>\\ntiddler-controls-foreground-hover: #ddd\\ntiddler-controls-foreground-selected: #fdd\\ntiddler-controls-foreground: \u003C\u003Ccolour foreground>>\\ntiddler-editor-background: \u003C\u003Ccolour background>>\\ntiddler-editor-border-image: \u003C\u003Ccolour foreground>>\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: \u003C\u003Ccolour background>>\\ntiddler-editor-fields-odd: \u003C\u003Ccolour background>>\\ntiddler-info-background: \u003C\u003Ccolour background>>\\ntiddler-info-border: \u003C\u003Ccolour foreground>>\\ntiddler-info-tab-background: \u003C\u003Ccolour background>>\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: \u003C\u003Ccolour foreground>>\\ntiddler-title-foreground: \u003C\u003Ccolour foreground>>\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: \u003C\u003Ccolour foreground>>\\nvery-muted-foreground: #888888\\n\"},\"$:/palettes/CupertinoDark\":{\"title\":\"$:/palettes/CupertinoDark\",\"tags\":\"$:/tags/Palette\",\"color-scheme\":\"dark\",\"name\":\"Cupertino Dark\",\"description\":\"A macOS inspired dark palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #FF453A\\nalert-border: #FF453A\\nalert-highlight: #FFD60A\\nalert-muted-foreground: \u003C\u003Ccolour muted-foreground>>\\nbackground: #282828\\nblockquote-bar: \u003C\u003Ccolour page-background>>\\nbutton-foreground: \u003C\u003Ccolour foreground>>\\ncode-background: \u003C\u003Ccolour pre-background>>\\ncode-border: \u003C\u003Ccolour pre-border>>\\ncode-foreground: rgba(255, 255, 255, 0.54)\\ndirty-indicator: #FF453A\\ndownload-background: \u003C\u003Ccolour primary>>\\ndownload-foreground: \u003C\u003Ccolour foreground>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: \u003C\u003Ccolour tiddler-info-background>>\\ndropdown-border: \u003C\u003Ccolour dropdown-background>>\\ndropdown-tab-background-selected: #3F638B\\ndropdown-tab-background: #323232\\ndropzone-background: #30D158\\nexternal-link-background-hover: transparent\\nexternal-link-background-visited: transparent\\nexternal-link-background: transparent\\nexternal-link-foreground-hover: \\nexternal-link-foreground-visited: #BF5AF2\\nexternal-link-foreground: #32D74B\\nforeground: #FFFFFF\\nhighlight-background: #ffff78\\nhighlight-foreground: #000000\\nmenubar-background: #464646\\nmenubar-foreground: #ffffff\\nmessage-background: \u003C\u003Ccolour background>>\\nmessage-border: \u003C\u003Ccolour very-muted-foreground>>\\nmessage-foreground: rgba(255, 255, 255, 0.54)\\nmodal-backdrop: \u003C\u003Ccolour page-background>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: \u003C\u003Ccolour very-muted-foreground>>\\nmodal-footer-background: \u003C\u003Ccolour background>>\\nmodal-footer-border: \u003C\u003Ccolour background>>\\nmodal-header-border: \u003C\u003Ccolour very-muted-foreground>>\\nmuted-foreground: #98989D\\nnotification-background: \u003C\u003Ccolour dropdown-background>>\\nnotification-border: \u003C\u003Ccolour dropdown-background>>\\npage-background: #323232\\npre-background: #464646\\npre-border: transparent\\nprimary: #0A84FF\\nselect-tag-background: \u003C\u003Ccolour background>>\\nselect-tag-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #FF9F0A\\nsidebar-controls-foreground: #8E8E93\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: rgba(255, 255, 255, 0.54)\\nsidebar-muted-foreground-hover: rgba(255, 255, 255, 0.54)\\nsidebar-muted-foreground: rgba(255, 255, 255, 0.38)\\nsidebar-tab-background-selected: #3F638B\\nsidebar-tab-background: \u003C\u003Ccolour background>>\\nsidebar-tab-border-selected: \u003C\u003Ccolour background>>\\nsidebar-tab-border: \u003C\u003Ccolour background>>\\nsidebar-tab-divider: \u003C\u003Ccolour background>>\\nsidebar-tab-foreground-selected: rgba(255, 255, 255, 0.87)\\nsidebar-tab-foreground: rgba(255, 255, 255, 0.54)\\nsidebar-tiddler-link-foreground-hover: rgba(255, 255, 255, 0.7)\\nsidebar-tiddler-link-foreground: rgba(255, 255, 255, 0.54)\\nsite-title-foreground: #ffffff\\nstatic-alert-foreground: #B4B4B4\\ntab-background-selected: #3F638B\\ntab-background: \u003C\u003Ccolour page-background>>\\ntab-border-selected: \u003C\u003Ccolour page-background>>\\ntab-border: \u003C\u003Ccolour page-background>>\\ntab-divider: \u003C\u003Ccolour page-background>>\\ntab-foreground-selected: rgba(255, 255, 255, 0.87)\\ntab-foreground: rgba(255, 255, 255, 0.54)\\ntable-border: #464646\\ntable-footer-background: \u003C\u003Ccolour tiddler-editor-fields-odd>>\\ntable-header-background: \u003C\u003Ccolour tiddler-editor-fields-even>>\\ntag-background: #48484A\\ntag-foreground: #323232\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: transparent\\ntiddler-controls-foreground-hover: \u003C\u003Ccolour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground-selected: \u003C\u003Ccolour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground: #48484A\\ntiddler-editor-background: \u003C\u003Ccolour background>>\\ntiddler-editor-border-image: \\ntiddler-editor-border: rgba(255, 255, 255, 0.08)\\ntiddler-editor-fields-even: rgba(255, 255, 255, 0.1)\\ntiddler-editor-fields-odd: rgba(255, 255, 255, 0.04)\\ntiddler-info-background: #1E1E1E\\ntiddler-info-border: #1E1E1E\\ntiddler-info-tab-background: #3F638B\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: \u003C\u003Ccolour muted-foreground>>\\ntiddler-title-foreground: #FFFFFF\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: \u003C\u003Ccolour very-muted-foreground>>\\nvery-muted-foreground: #464646\\nselection-background: #3F638B\\nselection-foreground: #ffffff\\nwikilist-background: \u003C\u003Ccolour page-background>>\\nwikilist-button-background: #3F638B\\nwikilist-button-foreground: \u003C\u003Ccolour foreground>>\\nwikilist-button-open: #32D74B\\nwikilist-button-open-hover: #32D74B\\nwikilist-button-reveal: #0A84FF\\nwikilist-button-reveal-hover: #0A84FF\\nwikilist-button-remove: #FF453A\\nwikilist-button-remove-hover: #FF453A\\nwikilist-droplink-dragover: #32D74B\\nwikilist-item: \u003C\u003Ccolour background>>\\nwikilist-toolbar-background: \u003C\u003Ccolour background>>\\nwikilist-title: \u003C\u003Ccolour foreground>>\\nwikilist-title-svg: \u003C\u003Ccolour foreground>>\\nwikilist-toolbar-foreground: \u003C\u003Ccolour foreground>>\\nwikilist-url: \u003C\u003Ccolour muted-foreground>>\\n\"},\"$:/palettes/DarkPhotos\":{\"title\":\"$:/palettes/DarkPhotos\",\"created\":\"20150402111612188\",\"description\":\"Good with dark photo backgrounds\",\"modified\":\"20150402112344080\",\"name\":\"DarkPhotos\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"color-scheme\":\"light\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #ffffff\\nblockquote-bar: \u003C\u003Ccolour muted-foreground>>\\nbutton-background: \\nbutton-foreground: \\nbutton-border: \\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndirty-indicator: #ff0000\\ndownload-background: #34c734\\ndownload-foreground: \u003C\u003Ccolour background>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: \u003C\u003Ccolour background>>\\ndropdown-border: \u003C\u003Ccolour muted-foreground>>\\ndropdown-tab-background-selected: #fff\\ndropdown-tab-background: #ececec\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nforeground: #333333\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #ddd\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #336438\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #5778d8\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #ccf\\nsidebar-controls-foreground: #fff\\nsidebar-foreground-shadow: rgba(0,0,0, 0.5)\\nsidebar-foreground: #fff\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: #eee\\nsidebar-tab-background-selected: rgba(255,255,255, 0.8)\\nsidebar-tab-background: rgba(255,255,255, 0.4)\\nsidebar-tab-border-selected: \u003C\u003Ccolour tab-border-selected>>\\nsidebar-tab-border: \u003C\u003Ccolour tab-border>>\\nsidebar-tab-divider: rgba(255,255,255, 0.2)\\nsidebar-tab-foreground-selected: \\nsidebar-tab-foreground: \u003C\u003Ccolour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #aaf\\nsidebar-tiddler-link-foreground: #ddf\\nsite-title-foreground: #fff\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: #ffffff\\ntab-background: #d8d8d8\\ntab-border-selected: #d8d8d8\\ntab-border: #cccccc\\ntab-divider: #d8d8d8\\ntab-foreground-selected: \u003C\u003Ccolour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #ec6\\ntag-foreground: #ffffff\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: \u003C\u003Ccolour background>>\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #444444\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #f8f8f8\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: #f8f8f8\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #182955\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\n\"},\"$:/palettes/DesertSand\":{\"title\":\"$:/palettes/DesertSand\",\"tags\":\"$:/tags/Palette\",\"color-scheme\":\"light\",\"name\":\"Desert Sand\",\"description\":\"A desert sand palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #E9E0C7\\nblockquote-bar: \u003C\u003Ccolour muted-foreground>>\\nbutton-foreground: \u003C\u003Ccolour foreground>>\\ncode-background: #F3EDDF\\ncode-border: #C3BAA1\\ncode-foreground: #ab3250\\ndiff-delete-background: #bd8b8b\\ndiff-delete-foreground: \u003C\u003Ccolour foreground>>\\ndiff-equal-background: \\ndiff-equal-foreground: \u003C\u003Ccolour foreground>>\\ndiff-insert-background: #91c093\\ndiff-insert-foreground: \u003C\u003Ccolour foreground>>\\ndiff-invisible-background: \\ndiff-invisible-foreground: \u003C\u003Ccolour muted-foreground>>\\ndirty-indicator: #ad3434\\ndownload-background: #6ca16c\\ndownload-foreground: \u003C\u003Ccolour background>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: \u003C\u003Ccolour background>>\\ndropdown-border: \u003C\u003Ccolour muted-foreground>>\\ndropdown-tab-background-selected: #E9E0C7\\ndropdown-tab-background: #BAB29C\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #313163\\nexternal-link-foreground: #555592\\nforeground: #2D2A23\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmenubar-background: #CDC2A6\\nmenubar-foreground: #5A5446\\nmessage-background: #ECE5CF\\nmessage-border: #D6CBAA\\nmessage-foreground: #5f6e7d\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: #8A8885\\nmodal-footer-background: #CDC2A6\\nmodal-footer-border: #9D998E\\nmodal-header-border: #9D998E\\nmuted-foreground: #9D998E\\nnotification-background: #F0E9D7\\nnotification-border: #939189\\npage-background: #e0d3af\\npre-background: #D6CBAA\\npre-border: #CDC2A6\\nprimary: #5B6F55\\nselection-background: #9D947B\\nselection-foreground: \u003C\u003Ccolour foreground>>\\nselect-tag-background: #F0E9D7\\nselect-tag-foreground: #2D2A23\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #2D2A23\\nsidebar-controls-foreground: #867F69\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: #867F69\\nsidebar-muted-foreground-hover: #706A58\\nsidebar-muted-foreground: #B3A98C\\nsidebar-tab-background-selected: #e0d3af\\nsidebar-tab-background: #A6A193\\nsidebar-tab-border-selected: #C3BAA1\\nsidebar-tab-border: #C3BAA1\\nsidebar-tab-divider: #CDC2A6\\nsidebar-tab-foreground-selected: \\nsidebar-tab-foreground: #2D2A23\\nsidebar-tiddler-link-foreground-hover: #433F35\\nsidebar-tiddler-link-foreground: #706A58\\nsite-title-foreground: \u003C\u003Ccolour tiddler-title-foreground>>\\nstatic-alert-foreground: #A6A193\\ntab-background-selected: #E9E0C7\\ntab-background: #A6A193\\ntab-border-selected: #C3BAA1\\ntab-border: #C3BAA1\\ntab-divider: #CDC2A6\\ntab-foreground-selected: \u003C\u003Ccolour tab-foreground>>\\ntab-foreground: #2D2A23\\ntable-border: #9D998E\\ntable-footer-background: #8A8885\\ntable-header-background: #B0AA98\\ntag-background: #706A58\\ntag-foreground: #E3D7B7\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: \u003C\u003Ccolour background>>\\ntiddler-controls-foreground-hover: #9D947B\\ntiddler-controls-foreground-selected: #706A58\\ntiddler-controls-foreground: #C3BAA1\\ntiddler-editor-background: #E9E0C7\\ntiddler-editor-border-image: #A6A193\\ntiddler-editor-border: #A6A193\\ntiddler-editor-fields-even: #D6CBAA\\ntiddler-editor-fields-odd: #C3BAA1\\ntiddler-info-background: #E3D7B7\\ntiddler-info-border: #BAB29C\\ntiddler-info-tab-background: #E9E0C7\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: #867F69\\ntiddler-title-foreground: #374464\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: #8A8885\\nvery-muted-foreground: #CDC2A6\\nwikilist-background: \u003C\u003Ccolour page-background>>\\nwikilist-item: #CDC2A6\\nwikilist-info: #161512\\nwikilist-title: #433F35\\nwikilist-title-svg: \u003C\u003Ccolour wikilist-title>>\\nwikilist-url: #706A58\\nwikilist-button-open: #7db66a\\nwikilist-button-open-hover: #56a556\\nwikilist-button-reveal: #5a6c9e\\nwikilist-button-reveal-hover: #454591\\nwikilist-button-remove: #bc5972\\nwikilist-button-remove-hover: #814040\\nwikilist-toolbar-background: #CDC2A6\\nwikilist-toolbar-foreground: #2D2A23\\nwikilist-droplink-dragover: rgba(255,192,192,0.5)\\nwikilist-button-background: #A6A193\\nwikilist-button-foreground: #161512\\n\"},\"$:/palettes/GruvboxDark\":{\"title\":\"$:/palettes/GruvboxDark\",\"name\":\"Gruvbox Dark\",\"color-scheme\":\"dark\",\"description\":\"Retro groove color scheme\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"license\":\"https://github.com/morhetz/gruvbox\",\"text\":\"alert-background: #cc241d\\nalert-border: #cc241d\\nalert-highlight: #d79921\\nalert-muted-foreground: #504945\\nbackground: #3c3836\\nblockquote-bar: \u003C\u003Ccolour muted-foreground>>\\nbutton-foreground: \u003C\u003Ccolour foreground>>\\ncode-background: #504945\\ncode-border: #504945\\ncode-foreground: #fb4934\\ndiff-delete-background: #fb4934\\ndiff-delete-foreground: \u003C\u003Ccolour foreground>>\\ndiff-equal-background: \\ndiff-equal-foreground: \u003C\u003Ccolour foreground>>\\ndiff-insert-background: #b8bb26\\ndiff-insert-foreground: \u003C\u003Ccolour foreground>>\\ndiff-invisible-background: \\ndiff-invisible-foreground: \u003C\u003Ccolour muted-foreground>>\\ndirty-indicator: #fb4934\\ndownload-background: #b8bb26\\ndownload-foreground: \u003C\u003Ccolour background>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: #665c54\\ndropdown-border: \u003C\u003Ccolour background>>\\ndropdown-tab-background-selected: #ebdbb2\\ndropdown-tab-background: #665c54\\ndropzone-background: #98971a\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #d3869b\\nexternal-link-foreground: #8ec07c\\nforeground: #fbf1c7\\nhighlight-background: #ffff79\\nhighlight-foreground: #000000\\nmenubar-background: #504945\\nmenubar-foreground: \u003C\u003Ccolour foreground>>\\nmessage-background: #83a598\\nmessage-border: #83a598\\nmessage-foreground: #3c3836\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: #504945\\nmodal-footer-background: #3c3836\\nmodal-footer-border: #3c3836\\nmodal-header-border: #3c3836\\nmuted-foreground: #d5c4a1\\nnotification-background: \u003C\u003Ccolour primary>>\\nnotification-border: \u003C\u003Ccolour primary>>\\npage-background: #282828\\npre-background: #504945\\npre-border: #504945\\nprimary: #d79921\\nselect-tag-background: #665c54\\nselect-tag-foreground: \u003C\u003Ccolour foreground>>\\nselection-background: #458588\\nselection-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #7c6f64\\nsidebar-controls-foreground: #504945\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: #fbf1c7\\nsidebar-muted-foreground-hover: #7c6f64\\nsidebar-muted-foreground: #504945\\nsidebar-tab-background-selected: #bdae93\\nsidebar-tab-background: #3c3836\\nsidebar-tab-border-selected: \u003C\u003Ccolour tab-border-selected>>\\nsidebar-tab-border: #bdae93\\nsidebar-tab-divider: \u003C\u003Ccolour page-background>>\\nsidebar-tab-foreground-selected: #282828\\nsidebar-tab-foreground: \u003C\u003Ccolour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #458588\\nsidebar-tiddler-link-foreground: #98971a\\nsite-title-foreground: \u003C\u003Ccolour tiddler-title-foreground>>\\nstatic-alert-foreground: #B48EAD\\ntab-background-selected: #ebdbb2\\ntab-background: #665c54\\ntab-border-selected: #665c54\\ntab-border: #665c54\\ntab-divider: #bdae93\\ntab-foreground-selected: #282828\\ntab-foreground: #ebdbb2\\ntable-border: #7c6f64\\ntable-footer-background: #665c54\\ntable-header-background: #504945\\ntag-background: #d3869b\\ntag-foreground: #282828\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: \u003C\u003Ccolour background>>\\ntiddler-controls-foreground-hover: #7c6f64\\ntiddler-controls-foreground-selected: \u003C\u003Ccolour primary>>\\ntiddler-controls-foreground: #665c54\\ntiddler-editor-background: #32302f\\ntiddler-editor-border-image: #282828\\ntiddler-editor-border: #282828\\ntiddler-editor-fields-even: #504945\\ntiddler-editor-fields-odd: #7c6f64\\ntiddler-info-background: #32302f\\ntiddler-info-border: #ebdbb2\\ntiddler-info-tab-background: #ebdbb2\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: #7c6f64\\ntiddler-title-foreground: #a89984\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: #504945\\nvery-muted-foreground: #bdae93\\nwikilist-background: \u003C\u003Ccolour page-background>>\\nwikilist-button-background: #acacac\\nwikilist-button-foreground: \u003C\u003Ccolour button-foreground>>\\nwikilist-item: \u003C\u003Ccolour background>>\\nwikilist-toolbar-background: \u003C\u003Ccolour background>>\\nwikilist-toolbar-foreground: \u003C\u003Ccolour foreground>>\\nwikilist-title: \u003C\u003Ccolour foreground>>\\nwikilist-title-svg: \u003C\u003Ccolour wikilist-title>>\\nwikilist-url: \u003C\u003Ccolour muted-foreground>>\\nwikilist-button-open-hover: \u003C\u003Ccolour primary>>\\nwikilist-button-open: \u003C\u003Ccolour dropzone-background>>\\nwikilist-button-remove: \u003C\u003Ccolour dirty-indicator>>\\nwikilist-button-remove-hover: \u003C\u003Ccolour alert-background>>\\nwikilist-droplink-dragover: \u003C\u003Ccolour dropzone-background>>\\nwikilist-button-reveal: \u003C\u003Ccolour sidebar-tiddler-link-foreground-hover>>\\nwikilist-button-reveal-hover: \u003C\u003Ccolour message-background>>\\n\"},\"$:/palettes/Nord\":{\"title\":\"$:/palettes/Nord\",\"name\":\"Nord\",\"color-scheme\":\"dark\",\"description\":\"An arctic, north-bluish color palette.\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"license\":\"MIT, arcticicestudio, https://github.com/arcticicestudio/nord/blob/develop/LICENSE.md\",\"text\":\"alert-background: #D08770\\nalert-border: #D08770\\nalert-highlight: #B48EAD\\nalert-muted-foreground: #4C566A\\nbackground: #3b4252\\nblockquote-bar: \u003C\u003Ccolour muted-foreground>>\\nbutton-foreground: \u003C\u003Ccolour foreground>>\\ncode-background: #2E3440\\ncode-border: #2E3440\\ncode-foreground: #BF616A\\ndiff-delete-background: #BF616A\\ndiff-delete-foreground: \u003C\u003Ccolour foreground>>\\ndiff-equal-background: \\ndiff-equal-foreground: \u003C\u003Ccolour foreground>>\\ndiff-insert-background: #A3BE8C\\ndiff-insert-foreground: \u003C\u003Ccolour foreground>>\\ndiff-invisible-background: \\ndiff-invisible-foreground: \u003C\u003Ccolour muted-foreground>>\\ndirty-indicator: #BF616A\\ndownload-background: #A3BE8C\\ndownload-foreground: \u003C\u003Ccolour background>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: \u003C\u003Ccolour background>>\\ndropdown-border: \u003C\u003Ccolour background>>\\ndropdown-tab-background-selected: #ECEFF4\\ndropdown-tab-background: #4C566A\\ndropzone-background: #A3BE8C\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #5E81AC\\nexternal-link-foreground: #8FBCBB\\nforeground: #d8dee9\\nhighlight-background: #ffff78\\nhighlight-foreground: #000000\\nmenubar-background: #2E3440\\nmenubar-foreground: #d8dee9\\nmessage-background: #2E3440\\nmessage-border: #2E3440\\nmessage-foreground: #547599\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: #3b4252\\nmodal-footer-background: #3b4252\\nmodal-footer-border: #3b4252\\nmodal-header-border: #3b4252\\nmuted-foreground: #4C566A\\nnotification-background: \u003C\u003Ccolour primary>>\\nnotification-border: #EBCB8B\\npage-background: #2e3440\\npre-background: #2E3440\\npre-border: #2E3440\\nprimary: #5E81AC\\nselect-tag-background: #3b4252\\nselect-tag-foreground: \u003C\u003Ccolour foreground>>\\nselection-background: #5E81AC\\nselection-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #D8DEE9\\nsidebar-controls-foreground: #4C566A\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: #D8DEE9\\nsidebar-muted-foreground-hover: #4C566A\\nsidebar-muted-foreground: #4C566A\\nsidebar-tab-background-selected: #ECEFF4\\nsidebar-tab-background: #4C566A\\nsidebar-tab-border-selected: \u003C\u003Ccolour tab-border-selected>>\\nsidebar-tab-border: #4C566A\\nsidebar-tab-divider: \u003C\u003Ccolour page-background>>\\nsidebar-tab-foreground-selected: #4C566A\\nsidebar-tab-foreground: \u003C\u003Ccolour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #A3BE8C\\nsidebar-tiddler-link-foreground: #81A1C1\\nsite-title-foreground: \u003C\u003Ccolour tiddler-title-foreground>>\\nstatic-alert-foreground: #B48EAD\\ntab-background-selected: #ECEFF4\\ntab-background: #4C566A\\ntab-border-selected: #4C566A\\ntab-border: #4C566A\\ntab-divider: #4C566A\\ntab-foreground-selected: #4C566A\\ntab-foreground: #D8DEE9\\ntable-border: #4C566A\\ntable-footer-background: #2e3440\\ntable-header-background: #2e3440\\ntag-background: #A3BE8C\\ntag-foreground: #4C566A\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: \u003C\u003Ccolour background>>\\ntiddler-controls-foreground-hover: \\ntiddler-controls-foreground-selected: #EBCB8B\\ntiddler-controls-foreground: #4C566A\\ntiddler-editor-background: #2e3440\\ntiddler-editor-border-image: #2e3440\\ntiddler-editor-border: #3b4252\\ntiddler-editor-fields-even: #2e3440\\ntiddler-editor-fields-odd: #2e3440\\ntiddler-info-background: #2e3440\\ntiddler-info-border: #2e3440\\ntiddler-info-tab-background: #2e3440\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: #4C566A\\ntiddler-title-foreground: #81A1C1\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: #2d3038\\nvery-muted-foreground: #2d3038\\nwikilist-background: \u003C\u003Ccolour page-background>>\\nwikilist-toolbar-background: \u003C\u003Ccolour background>>\\nwikilist-item: \u003C\u003Ccolour background>>\\nwikilist-title: \u003C\u003Ccolour foreground>>\\nwikilist-info: \u003C\u003Ccolour muted-foreground>>\\nwikilist-button-open: #A3BE8C\\nwikilist-button-open-hover: #A3BE8C\\nwikilist-button-reveal: #81A1C1\\nwikilist-button-reveal-hover: #81A1C1\\nwikilist-button-remove: #B48EAD\\nwikilist-button-remove-hover: #B48EAD\\n\"},\"$:/palettes/Rocker\":{\"title\":\"$:/palettes/Rocker\",\"name\":\"Rocker\",\"color-scheme\":\"dark\",\"description\":\"A dark theme\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #ffffff\\nblockquote-bar: \u003C\u003Ccolour muted-foreground>>\\nbutton-background:\\nbutton-foreground:\\nbutton-border:\\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndirty-indicator: #ff0000\\ndownload-background: #34c734\\ndownload-foreground: \u003C\u003Ccolour background>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: \u003C\u003Ccolour background>>\\ndropdown-border: \u003C\u003Ccolour muted-foreground>>\\ndropdown-tab-background-selected: #fff\\ndropdown-tab-background: #ececec\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nforeground: #333333\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #999999\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #000\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #cc0000\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #000000\\nsidebar-controls-foreground: #ffffff\\nsidebar-foreground-shadow: rgba(255,255,255, 0.0)\\nsidebar-foreground: #acacac\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: #c0c0c0\\nsidebar-tab-background-selected: #000\\nsidebar-tab-background: \u003C\u003Ccolour tab-background>>\\nsidebar-tab-border-selected: \u003C\u003Ccolour tab-border-selected>>\\nsidebar-tab-border: \u003C\u003Ccolour tab-border>>\\nsidebar-tab-divider: \u003C\u003Ccolour tab-divider>>\\nsidebar-tab-foreground-selected: \\nsidebar-tab-foreground: \u003C\u003Ccolour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #ffbb99\\nsidebar-tiddler-link-foreground: #cc0000\\nsite-title-foreground: \u003C\u003Ccolour tiddler-title-foreground>>\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: #ffffff\\ntab-background: #d8d8d8\\ntab-border-selected: #d8d8d8\\ntab-border: #cccccc\\ntab-divider: #d8d8d8\\ntab-foreground-selected: \u003C\u003Ccolour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #ffbb99\\ntag-foreground: #000\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: \u003C\u003Ccolour background>>\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #444444\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #f8f8f8\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: #f8f8f8\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #cc0000\\ntoolbar-new-button:\\ntoolbar-options-button:\\ntoolbar-save-button:\\ntoolbar-info-button:\\ntoolbar-edit-button:\\ntoolbar-close-button:\\ntoolbar-delete-button:\\ntoolbar-cancel-button:\\ntoolbar-done-button:\\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\n\"},\"$:/palettes/SolarFlare\":{\"title\":\"$:/palettes/SolarFlare\",\"name\":\"Solar Flare\",\"color-scheme\":\"light\",\"description\":\"Warm, relaxing earth colours\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"text\":\": Background Tones\\n\\nbase03: #002b36\\nbase02: #073642\\n\\n: Content Tones\\n\\nbase01: #586e75\\nbase00: #657b83\\nbase0: #839496\\nbase1: #93a1a1\\n\\n: Background Tones\\n\\nbase2: #eee8d5\\nbase3: #fdf6e3\\n\\n: Accent Colors\\n\\nyellow: #b58900\\norange: #cb4b16\\nred: #dc322f\\nmagenta: #d33682\\nviolet: #6c71c4\\nblue: #268bd2\\ncyan: #2aa198\\ngreen: #859900\\n\\n: Additional Tones (RA)\\n\\nbase10: #c0c4bb\\nviolet-muted: #7c81b0\\nblue-muted: #4e7baa\\n\\nyellow-hot: #ffcc44\\norange-hot: #eb6d20\\nred-hot: #ff2222\\nblue-hot: #2298ee\\ngreen-hot: #98ee22\\n\\n: Palette\\n\\n: Do not use colour macro for background and foreground\\nbackground: #fdf6e3\\n download-foreground: \u003C\u003Ccolour background>>\\n dragger-foreground: \u003C\u003Ccolour background>>\\n dropdown-background: \u003C\u003Ccolour background>>\\n modal-background: \u003C\u003Ccolour background>>\\n sidebar-foreground-shadow: \u003C\u003Ccolour background>>\\n tiddler-background: \u003C\u003Ccolour background>>\\n tiddler-border: \u003C\u003Ccolour background>>\\n tiddler-link-background: \u003C\u003Ccolour background>>\\n tab-background-selected: \u003C\u003Ccolour background>>\\n dropdown-tab-background-selected: \u003C\u003Ccolour tab-background-selected>>\\nforeground: #657b83\\n dragger-background: \u003C\u003Ccolour foreground>>\\n tab-foreground: \u003C\u003Ccolour foreground>>\\n tab-foreground-selected: \u003C\u003Ccolour tab-foreground>>\\n sidebar-tab-foreground-selected: \u003C\u003Ccolour tab-foreground-selected>>\\n sidebar-tab-foreground: \u003C\u003Ccolour tab-foreground>>\\n sidebar-button-foreground: \u003C\u003Ccolour foreground>>\\n sidebar-controls-foreground: \u003C\u003Ccolour foreground>>\\n sidebar-foreground: \u003C\u003Ccolour foreground>>\\n: base03\\n: base02\\n: base01\\n alert-muted-foreground: \u003C\u003Ccolour base01>>\\n: base00\\n code-foreground: \u003C\u003Ccolour base00>>\\n message-foreground: \u003C\u003Ccolour base00>>\\n tag-foreground: \u003C\u003Ccolour base00>>\\n: base0\\n sidebar-tiddler-link-foreground: \u003C\u003Ccolour base0>>\\n: base1\\n muted-foreground: \u003C\u003Ccolour base1>>\\n blockquote-bar: \u003C\u003Ccolour muted-foreground>>\\n dropdown-border: \u003C\u003Ccolour muted-foreground>>\\n sidebar-muted-foreground: \u003C\u003Ccolour muted-foreground>>\\n tiddler-title-foreground: \u003C\u003Ccolour muted-foreground>>\\n site-title-foreground: \u003C\u003Ccolour tiddler-title-foreground>>\\n: base2\\n modal-footer-background: \u003C\u003Ccolour base2>>\\n page-background: \u003C\u003Ccolour base2>>\\n modal-backdrop: \u003C\u003Ccolour page-background>>\\n notification-background: \u003C\u003Ccolour page-background>>\\n code-background: \u003C\u003Ccolour page-background>>\\n code-border: \u003C\u003Ccolour code-background>>\\n pre-background: \u003C\u003Ccolour page-background>>\\n pre-border: \u003C\u003Ccolour pre-background>>\\n sidebar-tab-background-selected: \u003C\u003Ccolour page-background>>\\n table-header-background: \u003C\u003Ccolour base2>>\\n tag-background: \u003C\u003Ccolour base2>>\\n tiddler-editor-background: \u003C\u003Ccolour base2>>\\n tiddler-info-background: \u003C\u003Ccolour base2>>\\n tiddler-info-tab-background: \u003C\u003Ccolour base2>>\\n tab-background: \u003C\u003Ccolour base2>>\\n dropdown-tab-background: \u003C\u003Ccolour tab-background>>\\n: base3\\n alert-background: \u003C\u003Ccolour base3>>\\n message-background: \u003C\u003Ccolour base3>>\\n: yellow\\n: orange\\n: red\\n: magenta\\n alert-highlight: \u003C\u003Ccolour magenta>>\\n: violet\\n external-link-foreground: \u003C\u003Ccolour violet>>\\n: blue\\n: cyan\\n: green\\n: base10\\n tiddler-controls-foreground: \u003C\u003Ccolour base10>>\\n: violet-muted\\n external-link-foreground-visited: \u003C\u003Ccolour violet-muted>>\\n: blue-muted\\n primary: \u003C\u003Ccolour blue-muted>>\\n download-background: \u003C\u003Ccolour primary>>\\n tiddler-link-foreground: \u003C\u003Ccolour primary>>\\n\\nalert-border: #b99e2f\\ndirty-indicator: #ff0000\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-border: #cfd6e6\\nmodal-border: #999999\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-controls-foreground-hover:\\nsidebar-muted-foreground-hover:\\nsidebar-tab-background: #ded8c5\\nsidebar-tiddler-link-foreground-hover:\\nstatic-alert-foreground: #aaaaaa\\ntab-border: #cccccc\\n modal-footer-border: \u003C\u003Ccolour tab-border>>\\n modal-header-border: \u003C\u003Ccolour tab-border>>\\n notification-border: \u003C\u003Ccolour tab-border>>\\n sidebar-tab-border: \u003C\u003Ccolour tab-border>>\\n tab-border-selected: \u003C\u003Ccolour tab-border>>\\n sidebar-tab-border-selected: \u003C\u003Ccolour tab-border-selected>>\\ntab-divider: #d8d8d8\\n sidebar-tab-divider: \u003C\u003Ccolour tab-divider>>\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #444444\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-border: #dddddd\\ntiddler-subtitle-foreground: #c0c0c0\\ntoolbar-new-button:\\ntoolbar-options-button:\\ntoolbar-save-button:\\ntoolbar-info-button:\\ntoolbar-edit-button:\\ntoolbar-close-button:\\ntoolbar-delete-button:\\ntoolbar-cancel-button:\\ntoolbar-done-button:\\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\n\"},\"$:/palettes/SolarizedDark\":{\"title\":\"$:/palettes/SolarizedDark\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"description\":\"Precision dark colors for machines and people\",\"license\":\"MIT, Ethan Schoonover, https://github.com/altercation/solarized/blob/master/LICENSE\",\"name\":\"SolarizedDark\",\"color-scheme\":\"dark\",\"text\":\"alert-background: #073642\\nalert-border: #93a1a1\\nalert-highlight: #d33682\\nalert-muted-foreground: #d33682\\nbackground: #073642\\nblockquote-bar: #d33682\\nbutton-background: #073642\\nbutton-border: #586e75\\nbutton-foreground: #93a1a1\\ncode-background: #073642\\ncode-border: #586e75\\ncode-foreground: #93a1a1\\ndirty-indicator: inherit\\ndownload-background: #859900\\ndownload-foreground: #073642\\ndragger-background: #073642\\ndragger-foreground: #839496\\ndropdown-background: #073642\\ndropdown-border: #93a1a1\\ndropdown-tab-background: #002b36\\ndropdown-tab-background-selected: #073642\\ndropzone-background: #859900\\nexternal-link-background: inherit\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-foreground: #268bd2\\nexternal-link-foreground-hover:\\nexternal-link-foreground-visited: #268bd2\\nforeground: #839496\\nhighlight-background: #ffff78\\nhighlight-foreground: #000000\\nmessage-background: #002b36\\nmessage-border: #586e75\\nmessage-foreground: #839496\\nmodal-backdrop: #657b83\\nmodal-background: #002b36\\nmodal-border: #586e75\\nmodal-footer-background: #073642\\nmodal-footer-border: #586e75\\nmodal-header-border: #586e75\\nmuted-foreground: #93a1a1\\nnotification-background: #002b36\\nnotification-border: #586e75\\npage-background: #073642\\npre-background: inherit\\npre-border: #657b83\\nprimary: #859900\\nselect-tag-background: #002b36\\nselect-tag-foreground: #839496\\nsidebar-button-foreground: #93a1a1\\nsidebar-controls-foreground: #93a1a1\\nsidebar-controls-foreground-hover: #eee8d5\\nsidebar-foreground: #93a1a1\\nsidebar-foreground-shadow: transparent\\nsidebar-muted-foreground: #839496\\nsidebar-muted-foreground-hover: #93a1a1\\nsidebar-tab-background: #002b36\\nsidebar-tab-background-selected: #073642\\nsidebar-tab-border: #073642\\nsidebar-tab-border-selected: #839496\\nsidebar-tab-divider: #002b36\\nsidebar-tab-foreground: #657b83\\nsidebar-tab-foreground-selected: #93a1a1\\nsidebar-tiddler-link-foreground: #2aa198\\nsidebar-tiddler-link-foreground-hover: #eee8d5\\nsite-title-foreground: #d33682\\nstatic-alert-foreground: #93a1a1\\ntab-background: #073642\\ntab-background-selected: #002b36\\ntab-border: #586e75\\ntab-border-selected: #93a1a1\\ntab-divider: #93a1a1\\ntab-foreground: #839496\\ntab-foreground-selected: #93a1a1\\ntable-border: #586e75\\ntable-footer-background: #073642\\ntable-header-background: #073642\\ntag-background: #b58900\\ntag-foreground: #002b36\\ntiddler-background: #002b36\\ntiddler-border: #586e75\\ntiddler-controls-foreground: inherit\\ntiddler-controls-foreground-hover: #d33682\\ntiddler-controls-foreground-selected: #2aa198\\ntiddler-editor-background: #002b36\\ntiddler-editor-border: #073642\\ntiddler-editor-border-image: #002b36\\ntiddler-editor-fields-even: #002b36\\ntiddler-editor-fields-odd: #073642\\ntiddler-info-background: #073642\\ntiddler-info-border: #657b83\\ntiddler-info-tab-background: #002b36\\ntiddler-link-background: #002b36\\ntiddler-link-foreground: #2aa198\\ntiddler-subtitle-foreground: #839496\\ntiddler-title-foreground: #d33682\\ntoolbar-cancel-button: #839496\\ntoolbar-close-button: #839496\\ntoolbar-delete-button: #dc322f\\ntoolbar-done-button: #839496\\ntoolbar-edit-button: #839496\\ntoolbar-info-button: #839496\\ntoolbar-new-button: #839496\\ntoolbar-options-button: #839496\\ntoolbar-save-button: inherit\\nuntagged-background: #586e75\\nvery-muted-foreground: #586e75\\n\"},\"$:/palettes/SolarizedLight\":{\"title\":\"$:/palettes/SolarizedLight\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"description\":\"Precision colors for machines and people\",\"license\":\"MIT, Ethan Schoonover, https://github.com/altercation/solarized/blob/master/LICENSE\",\"name\":\"SolarizedLight\",\"color-scheme\":\"light\",\"text\":\"alert-background: #eee8d5\\nalert-border: #586e75\\nalert-highlight: #d33682\\nalert-muted-foreground: #d33682\\nbackground: #eee8d5\\nblockquote-bar: #d33682\\nbutton-background: #eee8d5\\nbutton-border: #93a1a1\\nbutton-foreground: #586e75\\ncode-background: #eee8d5\\ncode-border: #93a1a1\\ncode-foreground: #586e75\\ndirty-indicator: inherit\\ndownload-background: #859900\\ndownload-foreground: #eee8d5\\ndragger-background: #eee8d5\\ndragger-foreground: #657b83\\ndropdown-background: #eee8d5\\ndropdown-border: #586e75\\ndropdown-tab-background: #fdf6e3\\ndropdown-tab-background-selected: #eee8d5\\ndropzone-background: #859900\\nexternal-link-background: inherit\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-foreground: #268bd2\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #268bd2\\nforeground: #657b83\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #fdf6e3\\nmessage-border: #93a1a1\\nmessage-foreground: #657b83\\nmodal-backdrop: #839496\\nmodal-background: #fdf6e3\\nmodal-border: #93a1a1\\nmodal-footer-background: #eee8d5\\nmodal-footer-border: #93a1a1\\nmodal-header-border: #93a1a1\\nmuted-foreground: #586e75\\nnotification-background: #fdf6e3\\nnotification-border: #93a1a1\\npage-background: #eee8d5\\npre-background: #eee8d5\\npre-border: #839496\\nprimary: #859900\\nselect-tag-background: #fdf6e3\\nselect-tag-foreground: #657b83\\nsidebar-button-foreground: #586e75\\nsidebar-controls-foreground: #586e75\\nsidebar-controls-foreground-hover: #d33682\\nsidebar-foreground: #586e75\\nsidebar-foreground-shadow: transparent\\nsidebar-muted-foreground: #657b83\\nsidebar-muted-foreground-hover: #586e75\\nsidebar-tab-background: #fdf6e3\\nsidebar-tab-background-selected: #eee8d5\\nsidebar-tab-border: #eee8d5\\nsidebar-tab-border-selected: #657b83\\nsidebar-tab-divider: #fdf6e3\\nsidebar-tab-foreground: #839496\\nsidebar-tab-foreground-selected: #586e75\\nsidebar-tiddler-link-foreground: #2aa198\\nsidebar-tiddler-link-foreground-hover: #002b36\\nsite-title-foreground: #d33682\\nstatic-alert-foreground: #586e75\\ntab-background: #eee8d5\\ntab-background-selected: #fdf6e3\\ntab-border: #93a1a1\\ntab-border-selected: #586e75\\ntab-divider: #586e75\\ntab-foreground: #657b83\\ntab-foreground-selected: #586e75\\ntable-border: #93a1a1\\ntable-footer-background: #eee8d5\\ntable-header-background: #eee8d5\\ntag-background: #b58900\\ntag-foreground: #fdf6e3\\ntiddler-background: #fdf6e3\\ntiddler-border: #93a1a1\\ntiddler-controls-foreground: inherit\\ntiddler-controls-foreground-hover: #d33682\\ntiddler-controls-foreground-selected: #2aa198\\ntiddler-editor-background: #fdf6e3\\ntiddler-editor-border: #eee8d5\\ntiddler-editor-border-image: #fdf6e3\\ntiddler-editor-fields-even: #fdf6e3\\ntiddler-editor-fields-odd: #eee8d5\\ntiddler-info-background: #eee8d5\\ntiddler-info-border: #839496\\ntiddler-info-tab-background: #fdf6e3\\ntiddler-link-background: #fdf6e3\\ntiddler-link-foreground: #2aa198\\ntiddler-subtitle-foreground: #657b83\\ntiddler-title-foreground: #d33682\\ntoolbar-cancel-button: #657b83\\ntoolbar-close-button: #657b83\\ntoolbar-delete-button: #dc322f\\ntoolbar-done-button: #657b83\\ntoolbar-edit-button: #657b83\\ntoolbar-info-button: #657b83\\ntoolbar-new-button: #657b83\\ntoolbar-options-button: #657b83\\ntoolbar-save-button: inherit\\nuntagged-background: #586e75\\nvery-muted-foreground: #93a1a1\\n\"},\"$:/palettes/SpartanDay\":{\"title\":\"$:/palettes/SpartanDay\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"description\":\"Cold, spartan day colors\",\"name\":\"Spartan Day\",\"color-scheme\":\"light\",\"text\":\"alert-background: \u003C\u003Ccolour background>>\\nalert-border: \u003C\u003Ccolour very-muted-foreground>>\\nalert-highlight: \u003C\u003Ccolour very-muted-foreground>>\\nalert-muted-foreground: \u003C\u003Ccolour muted-foreground>>\\nbackground: #FAFAFA\\nblockquote-bar: \u003C\u003Ccolour page-background>>\\nbutton-background: transparent\\nbutton-foreground: inherit\\nbutton-border: \u003C\u003Ccolour tag-background>>\\ncode-background: #ececec\\ncode-border: #ececec\\ncode-foreground: \\ndirty-indicator: #c80000\\ndownload-background: \u003C\u003Ccolour primary>>\\ndownload-foreground: \u003C\u003Ccolour background>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: #FFFFFF\\ndropdown-border: \u003C\u003Ccolour dropdown-background>>\\ndropdown-tab-background-selected: \u003C\u003Ccolour dropdown-background>>\\ndropdown-tab-background: #F5F5F5\\ndropzone-background: \u003C\u003Ccolour tag-background>>\\nexternal-link-background-hover: transparent\\nexternal-link-background-visited: transparent\\nexternal-link-background: transparent\\nexternal-link-foreground-hover: \\nexternal-link-foreground-visited: \\nexternal-link-foreground: \\nforeground: rgba(0, 0, 0, 0.87)\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: \u003C\u003Ccolour background>>\\nmessage-border: \u003C\u003Ccolour very-muted-foreground>>\\nmessage-foreground: rgba(0, 0, 0, 0.54)\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: \u003C\u003Ccolour very-muted-foreground>>\\nmodal-footer-background: \u003C\u003Ccolour background>>\\nmodal-footer-border: \u003C\u003Ccolour very-muted-foreground>>\\nmodal-header-border: \u003C\u003Ccolour very-muted-foreground>>\\nmuted-foreground: rgba(0, 0, 0, 0.54)\\nnotification-background: \u003C\u003Ccolour dropdown-background>>\\nnotification-border: \u003C\u003Ccolour dropdown-background>>\\npage-background: #f4f4f4\\npre-background: #ececec\\npre-border: #ececec\\nprimary: #3949ab\\nselect-tag-background: \u003C\u003Ccolour background>>\\nselect-tag-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #aeaeae\\nsidebar-controls-foreground: #c6c6c6\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: rgba(0, 0, 0, 0.54)\\nsidebar-muted-foreground-hover: rgba(0, 0, 0, 0.54)\\nsidebar-muted-foreground: rgba(0, 0, 0, 0.38)\\nsidebar-tab-background-selected: \u003C\u003Ccolour page-background>>\\nsidebar-tab-background: transparent\\nsidebar-tab-border-selected: \u003C\u003Ccolour table-border>>\\nsidebar-tab-border: transparent\\nsidebar-tab-divider: \u003C\u003Ccolour table-border>>\\nsidebar-tab-foreground-selected: rgba(0, 0, 0, 0.87)\\nsidebar-tab-foreground: rgba(0, 0, 0, 0.54)\\nsidebar-tiddler-link-foreground-hover: rgba(0, 0, 0, 0.87)\\nsidebar-tiddler-link-foreground: rgba(0, 0, 0, 0.54)\\nsite-title-foreground: rgba(0, 0, 0, 0.87)\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: \u003C\u003Ccolour background>>\\ntab-background: transparent\\ntab-border-selected: \u003C\u003Ccolour table-border>>\\ntab-border: transparent\\ntab-divider: \u003C\u003Ccolour table-border>>\\ntab-foreground-selected: rgba(0, 0, 0, 0.87)\\ntab-foreground: rgba(0, 0, 0, 0.54)\\ntable-border: #d8d8d8\\ntable-footer-background: \u003C\u003Ccolour tiddler-editor-fields-odd>>\\ntable-header-background: \u003C\u003Ccolour tiddler-editor-fields-even>>\\ntag-background: #ec6\\ntag-foreground: \u003C\u003Ccolour button-foreground>>\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: #f9f9f9\\ntiddler-controls-foreground-hover: \u003C\u003Ccolour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground-selected: \u003C\u003Ccolour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground: \u003C\u003Ccolour sidebar-controls-foreground>>\\ntiddler-editor-background: transparent\\ntiddler-editor-border-image: \\ntiddler-editor-border: #e8e7e7\\ntiddler-editor-fields-even: rgba(0, 0, 0, 0.1)\\ntiddler-editor-fields-odd: rgba(0, 0, 0, 0.04)\\ntiddler-info-background: #F5F5F5\\ntiddler-info-border: #F5F5F5\\ntiddler-info-tab-background: \u003C\u003Ccolour tiddler-editor-fields-odd>>\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: \u003C\u003Ccolour muted-foreground>>\\ntiddler-title-foreground: #000000\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: \u003C\u003Ccolour very-muted-foreground>>\\nvery-muted-foreground: rgba(0, 0, 0, 0.12)\\n\"},\"$:/palettes/SpartanNight\":{\"title\":\"$:/palettes/SpartanNight\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"description\":\"Dark spartan colors\",\"name\":\"Spartan Night\",\"color-scheme\":\"dark\",\"text\":\"alert-background: \u003C\u003Ccolour background>>\\nalert-border: \u003C\u003Ccolour very-muted-foreground>>\\nalert-highlight: \u003C\u003Ccolour very-muted-foreground>>\\nalert-muted-foreground: \u003C\u003Ccolour muted-foreground>>\\nbackground: #303030\\nblockquote-bar: \u003C\u003Ccolour page-background>>\\nbutton-background: transparent\\nbutton-foreground: inherit\\nbutton-border: \u003C\u003Ccolour tag-background>>\\ncode-background: \u003C\u003Ccolour pre-background>>\\ncode-border: \u003C\u003Ccolour pre-border>>\\ncode-foreground: rgba(255, 255, 255, 0.54)\\ndirty-indicator: #c80000\\ndownload-background: \u003C\u003Ccolour primary>>\\ndownload-foreground: \u003C\u003Ccolour foreground>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: #424242\\ndropdown-border: \u003C\u003Ccolour dropdown-background>>\\ndropdown-tab-background-selected: \u003C\u003Ccolour dropdown-background>>\\ndropdown-tab-background: #050505\\ndropzone-background: \u003C\u003Ccolour tag-background>>\\nexternal-link-background-hover: transparent\\nexternal-link-background-visited: transparent\\nexternal-link-background: transparent\\nexternal-link-foreground-hover: \\nexternal-link-foreground-visited: #7c318c\\nexternal-link-foreground: #9e3eb3\\nforeground: rgba(255, 255, 255, 0.7)\\nhighlight-background: #ffff78\\nhighlight-foreground: #000000\\nmessage-background: \u003C\u003Ccolour background>>\\nmessage-border: \u003C\u003Ccolour very-muted-foreground>>\\nmessage-foreground: rgba(255, 255, 255, 0.54)\\nmodal-backdrop: \u003C\u003Ccolour page-background>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: \u003C\u003Ccolour very-muted-foreground>>\\nmodal-footer-background: \u003C\u003Ccolour background>>\\nmodal-footer-border: \u003C\u003Ccolour background>>\\nmodal-header-border: \u003C\u003Ccolour very-muted-foreground>>\\nmuted-foreground: rgba(255, 255, 255, 0.54)\\nnotification-background: \u003C\u003Ccolour dropdown-background>>\\nnotification-border: \u003C\u003Ccolour dropdown-background>>\\npage-background: #212121\\npre-background: #2a2a2a\\npre-border: transparent\\nprimary: #5656f3\\nselect-tag-background: \u003C\u003Ccolour background>>\\nselect-tag-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #494949\\nsidebar-controls-foreground: #5d5d5d\\nsidebar-foreground-shadow: transparent\\nsidebar-foreground: rgba(255, 255, 255, 0.54)\\nsidebar-muted-foreground-hover: rgba(255, 255, 255, 0.54)\\nsidebar-muted-foreground: rgba(255, 255, 255, 0.38)\\nsidebar-tab-background-selected: \u003C\u003Ccolour page-background>>\\nsidebar-tab-background: transparent\\nsidebar-tab-border-selected: \u003C\u003Ccolour table-border>>\\nsidebar-tab-border: transparent\\nsidebar-tab-divider: \u003C\u003Ccolour table-border>>\\nsidebar-tab-foreground-selected: rgba(255, 255, 255, 0.87)\\nsidebar-tab-foreground: rgba(255, 255, 255, 0.54)\\nsidebar-tiddler-link-foreground-hover: rgba(255, 255, 255, 0.7)\\nsidebar-tiddler-link-foreground: rgba(255, 255, 255, 0.54)\\nsite-title-foreground: rgba(255, 255, 255, 0.7)\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: \u003C\u003Ccolour background>>\\ntab-background: transparent\\ntab-border-selected: \u003C\u003Ccolour table-border>>\\ntab-border: transparent\\ntab-divider: \u003C\u003Ccolour table-border>>\\ntab-foreground-selected: rgba(255, 255, 255, 0.87)\\ntab-foreground: rgba(255, 255, 255, 0.54)\\ntable-border: #3a3a3a\\ntable-footer-background: \u003C\u003Ccolour tiddler-editor-fields-odd>>\\ntable-header-background: \u003C\u003Ccolour tiddler-editor-fields-even>>\\ntag-background: #ec6\\ntag-foreground: \u003C\u003Ccolour button-foreground>>\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: rgb(55,55,55)\\ntiddler-controls-foreground-hover: \u003C\u003Ccolour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground-selected: \u003C\u003Ccolour sidebar-controls-foreground-hover>>\\ntiddler-controls-foreground: \u003C\u003Ccolour sidebar-controls-foreground>>\\ntiddler-editor-background: transparent\\ntiddler-editor-border-image: \\ntiddler-editor-border: rgba(255, 255, 255, 0.08)\\ntiddler-editor-fields-even: rgba(255, 255, 255, 0.1)\\ntiddler-editor-fields-odd: rgba(255, 255, 255, 0.04)\\ntiddler-info-background: #454545\\ntiddler-info-border: #454545\\ntiddler-info-tab-background: \u003C\u003Ccolour tiddler-editor-fields-odd>>\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: \u003C\u003Ccolour muted-foreground>>\\ntiddler-title-foreground: #FFFFFF\\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\ntoolbar-info-button: \\ntoolbar-edit-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-cancel-button: \\ntoolbar-done-button: \\nuntagged-background: \u003C\u003Ccolour very-muted-foreground>>\\nvery-muted-foreground: rgba(255, 255, 255, 0.12)\\n\"},\"$:/palettes/Twilight\":{\"title\":\"$:/palettes/Twilight\",\"tags\":\"$:/tags/Palette\",\"author\":\"Thomas Elmiger\",\"type\":\"application/x-tiddler-dictionary\",\"name\":\"Twilight\",\"description\":\"Delightful, soft darkness.\",\"color-scheme\":\"dark\",\"text\":\"alert-background: rgb(255, 255, 102)\\nalert-border: rgb(232, 232, 125)\\nalert-highlight: rgb(255, 51, 51)\\nalert-muted-foreground: rgb(224, 82, 82)\\nbackground: rgb(38, 38, 38)\\nblockquote-bar: rgba(240, 196, 117, 0.7)\\nbutton-background: rgb(63, 63, 63)\\nbutton-border: rgb(127, 127, 127)\\nbutton-foreground: rgb(179, 179, 179)\\ncode-background: rgba(0,0,0,0.03)\\ncode-border: rgba(0,0,0,0.08)\\ncode-foreground: rgb(255, 94, 94)\\ndiff-delete-background: #ffc9c9\\ndiff-delete-foreground: \u003C\u003Ccolour foreground>>\\ndiff-equal-background: \\ndiff-equal-foreground: \u003C\u003Ccolour foreground>>\\ndiff-insert-background: #aaefad\\ndiff-insert-foreground: \u003C\u003Ccolour foreground>>\\ndiff-invisible-background: \\ndiff-invisible-foreground: \u003C\u003Ccolour muted-foreground>>\\ndirty-indicator: rgb(255, 94, 94)\\ndownload-background: #19a974\\ndownload-foreground: rgb(38, 38, 38)\\ndragger-background: rgb(179, 179, 179)\\ndragger-foreground: rgb(38, 38, 38)\\ndropdown-background: rgb(38, 38, 38)\\ndropdown-border: rgb(255, 255, 255)\\ndropdown-tab-background: rgba(0,0,0,.1)\\ndropdown-tab-background-selected: rgba(255,255,255,1)\\ndropzone-background: #9eebcf\\nexternal-link-background: inherit\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-foreground: rgb(179, 179, 255)\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: rgb(153, 153, 255)\\nforeground: rgb(179, 179, 179)\\nhighlight-background: #ffff78\\nhighlight-foreground: #000000\\nmessage-background: \u003C\u003Ccolour tag-foreground>>\\nmessage-border: #96ccff\\nmessage-foreground: \u003C\u003Ccolour tag-background>>\\nmodal-backdrop: rgb(179, 179, 179)\\nmodal-background: rgb(38, 38, 38)\\nmodal-border: rgba(0,0,0,.5)\\nmodal-footer-background: #f4f4f4\\nmodal-footer-border: rgba(0,0,0,.1)\\nmodal-header-border: rgba(0,0,0,.2)\\nmuted-foreground: rgb(255, 255, 255)\\nnotification-background: \u003C\u003Ccolour tag-foreground>>\\nnotification-border: \u003C\u003Ccolour tag-background>>\\npage-background: rgb(26, 26, 26)\\npre-background: rgb(25, 25, 25)\\npre-border: rgba(0,0,0,.2)\\nprimary: rgb(255, 201, 102)\\nselect-tag-background: \\nselect-tag-foreground: \\nsidebar-button-foreground: rgb(179, 179, 179)\\nsidebar-controls-foreground: rgb(153, 153, 153)\\nsidebar-controls-foreground-hover: \u003C\u003Ccolour tiddler-controls-foreground-hover>>\\nsidebar-foreground: rgb(141, 141, 141)\\nsidebar-foreground-shadow: transparent\\nsidebar-muted-foreground: rgba(0, 0, 0, 0.5)\\nsidebar-muted-foreground-hover: rgb(141, 141, 141)\\nsidebar-tab-background: rgba(141, 141, 141, 0.2)\\nsidebar-tab-background-selected: rgb(26, 26, 26)\\nsidebar-tab-border: rgb(127, 127, 127)\\nsidebar-tab-border-selected: rgb(127, 127, 127)\\nsidebar-tab-divider: rgb(127, 127, 127)\\nsidebar-tab-foreground: rgb(179, 179, 179)\\nsidebar-tab-foreground-selected: rgb(179, 179, 179)\\nsidebar-tiddler-link-foreground: rgb(179, 179, 179)\\nsidebar-tiddler-link-foreground-hover: rgb(115, 115, 115)\\nsite-title-foreground: rgb(255, 201, 102)\\nstatic-alert-foreground: rgba(0,0,0,.3)\\ntab-background: rgba(0,0,0,0.125)\\ntab-background-selected: rgb(38, 38, 38)\\ntab-border: rgb(255, 201, 102)\\ntab-border-selected: rgb(255, 201, 102)\\ntab-divider: rgb(255, 201, 102)\\ntab-foreground: rgb(179, 179, 179)\\ntab-foreground-selected: rgb(179, 179, 179)\\ntable-border: rgba(255,255,255,.3)\\ntable-footer-background: rgba(0,0,0,.4)\\ntable-header-background: rgba(0,0,0,.1)\\ntag-background: rgb(255, 201, 102)\\ntag-foreground: rgb(25, 25, 25)\\ntiddler-background: rgb(38, 38, 38)\\ntiddler-border: rgba(240, 196, 117, 0.7)\\ntiddler-controls-foreground: rgb(128, 128, 128)\\ntiddler-controls-foreground-hover: rgba(255, 255, 255, 0.8)\\ntiddler-controls-foreground-selected: rgba(255, 255, 255, 0.9)\\ntiddler-editor-background: rgb(33, 33, 33)\\ntiddler-editor-border: rgb(63, 63, 63)\\ntiddler-editor-border-image: rgb(25, 25, 25)\\ntiddler-editor-fields-even: rgb(33, 33, 33)\\ntiddler-editor-fields-odd: rgb(28, 28, 28)\\ntiddler-info-background: rgb(43, 43, 43)\\ntiddler-info-border: rgb(25, 25, 25)\\ntiddler-info-tab-background: rgb(43, 43, 43)\\ntiddler-link-background: rgb(38, 38, 38)\\ntiddler-link-foreground: rgb(204, 204, 255)\\ntiddler-subtitle-foreground: rgb(255, 255, 255)\\ntiddler-title-foreground: rgb(255, 192, 76)\\ntoolbar-cancel-button: \\ntoolbar-close-button: \\ntoolbar-delete-button: \\ntoolbar-done-button: \\ntoolbar-edit-button: \\ntoolbar-info-button: \\ntoolbar-new-button: \\ntoolbar-options-button: \\ntoolbar-save-button: \\nuntagged-background: rgb(255, 255, 255)\\nvery-muted-foreground: rgba(240, 196, 117, 0.7)\\n\"},\"$:/palettes/Vanilla\":{\"title\":\"$:/palettes/Vanilla\",\"name\":\"Vanilla\",\"description\":\"Pale and unobtrusive\",\"tags\":\"$:/tags/Palette\",\"type\":\"application/x-tiddler-dictionary\",\"color-scheme\":\"light\",\"text\":\"alert-background: #ffe476\\nalert-border: #b99e2f\\nalert-highlight: #881122\\nalert-muted-foreground: #b99e2f\\nbackground: #ffffff\\nblockquote-bar: \u003C\u003Ccolour muted-foreground>>\\nbutton-background:\\nbutton-foreground:\\nbutton-border:\\ncode-background: #f7f7f9\\ncode-border: #e1e1e8\\ncode-foreground: #dd1144\\ndiff-delete-background: #ffc9c9\\ndiff-delete-foreground: \u003C\u003Ccolour foreground>>\\ndiff-equal-background: \\ndiff-equal-foreground: \u003C\u003Ccolour foreground>>\\ndiff-insert-background: #aaefad\\ndiff-insert-foreground: \u003C\u003Ccolour foreground>>\\ndiff-invisible-background: \\ndiff-invisible-foreground: \u003C\u003Ccolour muted-foreground>>\\ndirty-indicator: #ff0000\\ndownload-background: #34c734\\ndownload-foreground: \u003C\u003Ccolour background>>\\ndragger-background: \u003C\u003Ccolour foreground>>\\ndragger-foreground: \u003C\u003Ccolour background>>\\ndropdown-background: \u003C\u003Ccolour background>>\\ndropdown-border: \u003C\u003Ccolour muted-foreground>>\\ndropdown-tab-background-selected: #fff\\ndropdown-tab-background: #ececec\\ndropzone-background: rgba(0,200,0,0.7)\\nexternal-link-background-hover: inherit\\nexternal-link-background-visited: inherit\\nexternal-link-background: inherit\\nexternal-link-foreground-hover: inherit\\nexternal-link-foreground-visited: #0000aa\\nexternal-link-foreground: #0000ee\\nforeground: #333333\\nhighlight-background: #ffff00\\nhighlight-foreground: #000000\\nmessage-background: #ecf2ff\\nmessage-border: #cfd6e6\\nmessage-foreground: #547599\\nmodal-backdrop: \u003C\u003Ccolour foreground>>\\nmodal-background: \u003C\u003Ccolour background>>\\nmodal-border: #999999\\nmodal-footer-background: #f5f5f5\\nmodal-footer-border: #dddddd\\nmodal-header-border: #eeeeee\\nmuted-foreground: #bbb\\nnetwork-activity-foreground: #448844\\nnotification-background: #ffffdd\\nnotification-border: #999999\\npage-background: #f4f4f4\\npre-background: #f5f5f5\\npre-border: #cccccc\\nprimary: #5778d8\\nselection-background:\\nselection-foreground:\\nselect-tag-background:\\nselect-tag-foreground:\\nsidebar-button-foreground: \u003C\u003Ccolour foreground>>\\nsidebar-controls-foreground-hover: #000000\\nsidebar-controls-foreground: #aaaaaa\\nsidebar-foreground-shadow: rgba(255,255,255, 0.8)\\nsidebar-foreground: #acacac\\nsidebar-muted-foreground-hover: #444444\\nsidebar-muted-foreground: #c0c0c0\\nsidebar-tab-background-selected: #f4f4f4\\nsidebar-tab-background: #e0e0e0\\nsidebar-tab-border-selected: \u003C\u003Ccolour tab-border-selected>>\\nsidebar-tab-border: \u003C\u003Ccolour tab-border>>\\nsidebar-tab-divider: #e4e4e4\\nsidebar-tab-foreground-selected:\\nsidebar-tab-foreground: \u003C\u003Ccolour tab-foreground>>\\nsidebar-tiddler-link-foreground-hover: #444444\\nsidebar-tiddler-link-foreground: #999999\\nsite-title-foreground: \u003C\u003Ccolour tiddler-title-foreground>>\\nstatic-alert-foreground: #aaaaaa\\ntab-background-selected: #ffffff\\ntab-background: #d8d8d8\\ntab-border-selected: #d8d8d8\\ntab-border: #cccccc\\ntab-divider: #d8d8d8\\ntab-foreground-selected: \u003C\u003Ccolour tab-foreground>>\\ntab-foreground: #666666\\ntable-border: #dddddd\\ntable-footer-background: #a8a8a8\\ntable-header-background: #f0f0f0\\ntag-background: #ec6\\ntag-foreground: #ffffff\\ntiddler-background: \u003C\u003Ccolour background>>\\ntiddler-border: \u003C\u003Ccolour background>>\\ntiddler-controls-foreground-hover: #888888\\ntiddler-controls-foreground-selected: #444444\\ntiddler-controls-foreground: #cccccc\\ntiddler-editor-background: #f8f8f8\\ntiddler-editor-border-image: #ffffff\\ntiddler-editor-border: #cccccc\\ntiddler-editor-fields-even: #e0e8e0\\ntiddler-editor-fields-odd: #f0f4f0\\ntiddler-info-background: #f8f8f8\\ntiddler-info-border: #dddddd\\ntiddler-info-tab-background: #f8f8f8\\ntiddler-link-background: \u003C\u003Ccolour background>>\\ntiddler-link-foreground: \u003C\u003Ccolour primary>>\\ntiddler-subtitle-foreground: #c0c0c0\\ntiddler-title-foreground: #182955\\ntoolbar-new-button:\\ntoolbar-options-button:\\ntoolbar-save-button:\\ntoolbar-info-button:\\ntoolbar-edit-button:\\ntoolbar-close-button:\\ntoolbar-delete-button:\\ntoolbar-cancel-button:\\ntoolbar-done-button:\\nuntagged-background: #999999\\nvery-muted-foreground: #888888\\nwikilist-background: #e5e5e5\\nwikilist-item: #fff\\nwikilist-info: #000\\nwikilist-title: #666\\nwikilist-title-svg: \u003C\u003Ccolour wikilist-title>>\\nwikilist-url: #aaa\\nwikilist-button-open: #4fb82b\\nwikilist-button-open-hover: green\\nwikilist-button-reveal: #5778d8\\nwikilist-button-reveal-hover: blue\\nwikilist-button-remove: #d85778\\nwikilist-button-remove-hover: red\\nwikilist-toolbar-background: #d3d3d3\\nwikilist-toolbar-foreground: #888\\nwikilist-droplink-dragover: rgba(255,192,192,0.5)\\nwikilist-button-background: #acacac\\nwikilist-button-foreground: #000\\n\"},\"$:/core/readme\":{\"title\":\"$:/core/readme\",\"text\":\"This plugin contains TiddlyWiki's core components, comprising:\\n\\n* JavaScript code modules\\n* Icons\\n* Templates needed to create TiddlyWiki's user interface\\n* British English (''en-GB'') translations of the localisable strings used by the core\\n\"},\"$:/library/sjcl.js/license\":{\"title\":\"$:/library/sjcl.js/license\",\"type\":\"text/plain\",\"text\":\"SJCL is open. You can use, modify and redistribute it under a BSD\\nlicense or under the GNU GPL, version 2.0.\\n\\n---------------------------------------------------------------------\\n\\nhttp://opensource.org/licenses/BSD-2-Clause\\n\\nCopyright (c) 2009-2015, Emily Stark, Mike Hamburg and Dan Boneh at\\nStanford University. All rights reserved.\\n\\nRedistribution and use in source and binary forms, with or without\\nmodification, are permitted provided that the following conditions are\\nmet:\\n\\n1. Redistributions of source code must retain the above copyright\\nnotice, this list of conditions and the following disclaimer.\\n\\n2. Redistributions in binary form must reproduce the above copyright\\nnotice, this list of conditions and the following disclaimer in the\\ndocumentation and/or other materials provided with the distribution.\\n\\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \\\"AS\\nIS\\\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\\nPARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\\nHOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\\nTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n\\n---------------------------------------------------------------------\\n\\nhttp://opensource.org/licenses/GPL-2.0\\n\\nThe Stanford Javascript Crypto Library (hosted here on GitHub) is a\\nproject by the Stanford Computer Security Lab to build a secure,\\npowerful, fast, small, easy-to-use, cross-browser library for\\ncryptography in Javascript.\\n\\nCopyright (c) 2009-2015, Emily Stark, Mike Hamburg and Dan Boneh at\\nStanford University.\\n\\nThis program is free software; you can redistribute it and/or modify it\\nunder the terms of the GNU General Public License as published by the\\nFree Software Foundation; either version 2 of the License, or (at your\\noption) any later version.\\n\\nThis program is distributed in the hope that it will be useful, but\\nWITHOUT ANY WARRANTY; without even the implied warranty of\\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\\nPublic License for more details.\\n\\nYou should have received a copy of the GNU General Public License along\\nwith this program; if not, write to the Free Software Foundation, Inc.,\\n59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\"},\"$:/core/templates/MOTW.html\":{\"title\":\"$:/core/templates/MOTW.html\",\"text\":\"\\\\rules only filteredtranscludeinline transcludeinline entity\\n\u003C!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension -->\\n\u003C!-- saved from url=(0021)https://tiddlywiki.com --> \"},\"$:/core/templates/alltiddlers.template.html\":{\"title\":\"$:/core/templates/alltiddlers.template.html\",\"type\":\"text/vnd.tiddlywiki-html\",\"text\":\"\u003C!-- This template is provided for backwards compatibility with older versions of TiddlyWiki -->\\n\\n\u003C$set name=\\\"exportFilter\\\" value=\\\"[!is[system]sort[title]]\\\">\\n\\n{{$:/core/templates/exporters/StaticRiver}}\\n\\n\u003C/$set>\\n\"},\"$:/core/templates/canonical-uri-external-image\":{\"title\":\"$:/core/templates/canonical-uri-external-image\",\"text\":\"\u003C!--\\n\\nThis template is used to assign the ''_canonical_uri'' field to external images.\\n\\nChange the `./images/` part to a different base URI. The URI can be relative or absolute.\\n\\n-->\\n./images/\u003C$view field=\\\"title\\\" format=\\\"doubleurlencoded\\\"/>\"},\"$:/core/templates/canonical-uri-external-raw\":{\"title\":\"$:/core/templates/canonical-uri-external-raw\",\"text\":\"\u003C!--\\n\\nThis template is used to assign the ''_canonical_uri'' field to external raw files that are stored in the same directory\\n\\n-->\\n\u003C$view field=\\\"title\\\" format=\\\"doubleurlencoded\\\"/>\"},\"$:/core/templates/canonical-uri-external-text\":{\"title\":\"$:/core/templates/canonical-uri-external-text\",\"text\":\"\u003C!--\\n\\nThis template is used to assign the ''_canonical_uri'' field to external text files.\\n\\nChange the `./text/` part to a different base URI. The URI can be relative or absolute.\\n\\n-->\\n./text/\u003C$view field=\\\"title\\\" format=\\\"doubleurlencoded\\\"/>.tid\"},\"$:/core/templates/css-tiddler\":{\"title\":\"$:/core/templates/css-tiddler\",\"text\":\"\u003C!--\\n\\nThis template is used for saving CSS tiddlers as a style tag with data attributes representing the tiddler fields.\\n\\n-->`\u003Cstyle`\u003C$fields template=' data-tiddler-$name$=\\\"$encoded_value$\\\"'>\u003C/$fields>` type=\\\"text/css\\\">`\u003C$view field=\\\"text\\\" format=\\\"text\\\" />`\u003C/style>`\"},\"$:/core/templates/exporters/CsvFile\":{\"title\":\"$:/core/templates/exporters/CsvFile\",\"tags\":\"$:/tags/Exporter\",\"description\":\"{{$:/language/Exporters/CsvFile}}\",\"extension\":\".csv\",\"text\":\"\u003C$macrocall $name=\\\"csvtiddlers\\\" filter=\u003C\u003CexportFilter>> format=\\\"quoted-comma-sep\\\" $output=\\\"text/raw\\\"/>\\n\"},\"$:/core/templates/exporters/JsonFile\":{\"title\":\"$:/core/templates/exporters/JsonFile\",\"tags\":\"$:/tags/Exporter\",\"description\":\"{{$:/language/Exporters/JsonFile}}\",\"extension\":\".json\",\"text\":\"\u003C$macrocall $name=\\\"jsontiddlers\\\" filter=\u003C\u003CexportFilter>> $output=\\\"text/raw\\\"/>\\n\"},\"$:/core/templates/exporters/StaticRiver\":{\"title\":\"$:/core/templates/exporters/StaticRiver\",\"tags\":\"$:/tags/Exporter\",\"description\":\"{{$:/language/Exporters/StaticRiver}}\",\"extension\":\".html\",\"text\":\"\\\\define tv-config-static() yes\\n\\\\define tv-wikilink-template() #$uri_encoded$\\n\\\\define tv-config-toolbar-icons() no\\n\\\\define tv-config-toolbar-text() no\\n\\\\define tv-config-toolbar-class() tc-btn-invisible\\n\\\\rules only filteredtranscludeinline transcludeinline\\n\u003C!doctype html>\\n\u003Chtml>\\n\u003Chead>\\n\u003Cmeta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n\u003Cmeta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n\u003Cmeta name=\\\"tiddlywiki-version\\\" content=\\\"{{$:/core/templates/version}}\\\" />\\n\u003Cmeta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n\u003Cmeta name=\\\"format-detection\\\" content=\\\"telephone=no\\\">\\n\u003Clink id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n\u003Ctitle>{{$:/core/wiki/title}}\u003C/title>\\n\u003Cdiv id=\\\"styleArea\\\">\\n{{$:/boot/boot.css||$:/core/templates/css-tiddler}}\\n\u003C/div>\\n\u003Cstyle type=\\\"text/css\\\">\\n{{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}}\\n\u003C/style>\\n\u003C/head>\\n\u003Cbody class=\\\"tc-body\\\">\\n{{$:/StaticBanner||$:/core/templates/html-tiddler}}\\n\u003Csection class=\\\"tc-story-river tc-static-story-river\\\">\\n{{$:/core/templates/exporters/StaticRiver/Content||$:/core/templates/html-tiddler}}\\n\u003C/section>\\n\u003C/body>\\n\u003C/html>\\n\"},\"$:/core/templates/exporters/StaticRiver/Content\":{\"title\":\"$:/core/templates/exporters/StaticRiver/Content\",\"text\":\"\\\\define renderContent()\\n{{{ $(exportFilter)$ ||$:/core/templates/static-tiddler}}}\\n\\\\end\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\u003C\u003CrenderContent>>\\n\"},\"$:/core/templates/exporters/TidFile\":{\"title\":\"$:/core/templates/exporters/TidFile\",\"tags\":\"$:/tags/Exporter\",\"description\":\"{{$:/language/Exporters/TidFile}}\",\"extension\":\".tid\",\"condition\":\"[\u003Ccount>compare:lte[1]]\",\"text\":\"\\\\define renderContent()\\n{{{ $(exportFilter)$ +[limit[1]] ||$:/core/templates/tid-tiddler}}}\\n\\\\end\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\u003C\u003CrenderContent>>\"},\"$:/core/save/all-external-js\":{\"title\":\"$:/core/save/all-external-js\",\"text\":\"\\\\whitespace trim\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\\\define saveTiddlerFilter()\\n[is[tiddler]] -[prefix[$:/state/popup/]] -[prefix[$:/temp/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/core]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$\\n\\\\end\\n\\n\u003C!-- Important: core library is provided by serving URI encoded $:/core/templates/tiddlywiki5.js -->\\n\\\\define defaultCoreURL() %24%3A%2Fcore%2Ftemplates%2Ftiddlywiki5.js\\n\\n\u003C$let coreURL={{{ [[coreURL]is[variable]then\u003CcoreURL>else\u003CdefaultCoreURL>] }}}>\\n\\t{{$:/core/templates/tiddlywiki5-external-js.html}}\\n\u003C/$let>\\n\"},\"$:/core/save/offline-external-js\":{\"title\":\"$:/core/save/offline-external-js\",\"text\":\"\\\\whitespace trim\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\\\define saveTiddlerFilter()\\n[is[tiddler]] -[prefix[$:/state/popup/]] -[prefix[$:/temp/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/core]] -[[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$\\n\\\\end\\n\\\\define defaultCoreURL() tiddlywikicore-$(version)$.js\\n\u003C$let coreURL={{{ [[coreURL]is[variable]then\u003CcoreURL>else\u003CdefaultCoreURL>] }}}>\\n\\t{{$:/core/templates/tiddlywiki5-external-js.html}}\\n\u003C/$let>\\n\"},\"$:/core/templates/tiddlywiki.js/load-tiddler\":{\"title\":\"$:/core/templates/tiddlywiki.js/load-tiddler\",\"text\":\"_load(window,\u003C$macrocall $name=\\\"jsontiddler\\\" $output=\\\"text/raw\\\"/>);\"},\"$:/core/templates/tiddlywiki5.js\":{\"title\":\"$:/core/templates/tiddlywiki5.js\",\"text\":\"\\\\rules only filteredtranscludeinline transcludeinline codeinline\\n\\n`/*\\n`{{ $:/core/copyright.txt ||$:/core/templates/plain-text-tiddler}}`\\n*/\\n\\n$tw = (typeof $tw === 'undefined') ? Object.create(null) : $tw;\\n\\n$tw.preloadTiddlers = $tw.preloadTiddlers || [];\\n\\n_load = function(window,tiddler) {\\n\\t\\\"use strict\\\";\\n\\tvar f;\\n\\t$tw.preloadTiddlers.push(tiddler);\\n\\tif(tiddler.library === \\\"yes\\\") {\\n\\t\\tvar module = { exports:{} };\\n\\t\\tvar moduleName = function moduleName(path) {\\n\\t\\t\\tvar word = path.split(\\\"/\\\").pop();\\n\\t\\t\\tword = word.substring(0,word.indexOf(\\\".\\\")) || word;\\n\\t\\t\\treturn word;\\n\\t\\t}\\n\\t\\tf = new Function(\\\"module\\\",tiddler.text);\\n\\t\\tf(module);\\n\\t\\twindow[moduleName(tiddler.title)] = module.exports;\\n\\t} else {\\n\\t\\tf = new Function(\\\"window\\\",tiddler.text);\\n\\t\\tf(window);\\n\\t}\\n}\\n\\n/* ~~ Library modules ~~ */\\n\\n`{{{ [is[system]type[application/javascript]library[yes]] ||$:/core/templates/tiddlywiki.js/load-tiddler}}}`\\n\\n/* ~~ Boot kernel prologue ~~ */\\n\\n`{{ $:/boot/bootprefix.js ||$:/core/templates/tiddlywiki.js/load-tiddler}}`\\n\\n/* ~~ Core tiddlers ~~ */\\n\\n`{{$:/core/templates/tiddlywiki5.js/tiddlers}}`\\n\\n/* ~~ Boot kernel ~~ */\\n\\n`{{ $:/boot/boot.js ||$:/core/templates/tiddlywiki.js/load-tiddler}}`\\n\"},\"$:/core/templates/tiddlywiki5.js/tiddlers\":{\"title\":\"$:/core/templates/tiddlywiki5.js/tiddlers\",\"text\":\"`\\n$tw.preloadTiddlerArray(`\u003C$text text=\u003C\u003Cjsontiddlers \\\"[[$:/core]]\\\">>/>`);\\n$tw.preloadTiddlerArray([{\\n\\ttitle: \\\"$:/config/SaveWikiButton/Template\\\",\\n\\ttext: \\\"$:/core/save/offline-external-js\\\"\\n}]);\\n`\\n\"},\"$:/core/templates/tiddlywiki5-external-js.html\":{\"title\":\"$:/core/templates/tiddlywiki5-external-js.html\",\"text\":\"\u003C$set name=\\\"saveTiddlerAndShadowsFilter\\\" filter=\\\"[subfilter\u003CsaveTiddlerFilter>] [subfilter\u003CsaveTiddlerFilter>plugintiddlers[]]\\\">\\n`\u003C!doctype html>\\n`{{$:/core/templates/MOTW.html}}`\u003Chtml lang=\\\"`\u003C$text text={{{ [{$:/language}get[name]] }}}/>`\\\">\\n\u003Chead>\\n\u003Cmeta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n\u003C!--~~ Raw markup for the top of the head section ~~-->\\n`{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/TopHead]] ||$:/core/templates/raw-static-tiddler}}}`\\n\u003Cmeta http-equiv=\\\"X-UA-Compatible\\\" content=\\\"IE=Edge\\\"/>\\n\u003Cmeta name=\\\"application-name\\\" content=\\\"TiddlyWiki\\\" />\\n\u003Cmeta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n\u003Cmeta name=\\\"tiddlywiki-version\\\" content=\\\"`{{$:/core/templates/version}}`\\\" />\\n\u003Cmeta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n\u003Cmeta name=\\\"apple-mobile-web-app-capable\\\" content=\\\"yes\\\" />\\n\u003Cmeta name=\\\"apple-mobile-web-app-status-bar-style\\\" content=\\\"black-translucent\\\" />\\n\u003Cmeta name=\\\"mobile-web-app-capable\\\" content=\\\"yes\\\"/>\\n\u003Cmeta name=\\\"format-detection\\\" content=\\\"telephone=no\\\" />\\n\u003Cmeta name=\\\"copyright\\\" content=\\\"`{{$:/core/copyright.txt}}`\\\" />\\n\u003Clink id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n\u003Ctitle>`{{$:/core/wiki/title}}`\u003C/title>\\n\u003C!--~~ This is a Tiddlywiki file. The points of interest in the file are marked with this pattern ~~-->\\n\\n\u003C!--~~ Raw markup ~~-->\\n`{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/core/wiki/rawmarkup]] ||$:/core/templates/plain-text-tiddler}}}`\\n`{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkup]] ||$:/core/templates/plain-text-tiddler}}}`\\n`{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified]] ||$:/core/templates/raw-static-tiddler}}}`\\n\u003C/head>\\n\u003Cbody class=\\\"tc-body\\\">\\n\u003C!--~~ Raw markup for the top of the body section ~~-->\\n`{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/TopBody]] ||$:/core/templates/raw-static-tiddler}}}`\\n\u003C!--~~ Static styles ~~-->\\n\u003Cdiv id=\\\"styleArea\\\">\\n`{{$:/boot/boot.css||$:/core/templates/css-tiddler}}`\\n\u003C/div>\\n\u003C!--~~ Static content for Google and browsers without JavaScript ~~-->\\n\u003Cnoscript>\\n\u003Cdiv id=\\\"splashArea\\\">\\n`{{$:/core/templates/static.area}}`\\n\u003C/div>\\n\u003C/noscript>\\n\u003C!--~~ Ordinary tiddlers ~~-->\\n`{{$:/core/templates/store.area.template.html}}`\\n\u003C!--~~ Raw markup for the bottom of the body section ~~-->\\n`{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/BottomBody]] ||$:/core/templates/raw-static-tiddler}}}`\\n\u003C!--~~ Load external JavaScripts ~~-->\\n\u003Cscript src=\\\"`{{{ [\u003CcoreURL>] }}}`\\\" onerror=\\\"alert('Error: Cannot load `{{{ [\u003CcoreURL>] }}}`');\\\">\u003C/script>\\n\u003C/body>\\n\u003C/html>`\\n\u003C/$set>\"},\"$:/core/templates/html-div-skinny-tiddler\":{\"title\":\"$:/core/templates/html-div-skinny-tiddler\",\"text\":\"\u003C!--\\n\\nThis template is a variant of $:/core/templates/html-div-tiddler used for saving skinny tiddlers (with no text field)\\n\\n-->`\u003Cdiv`\u003C$fields template=' $name$=\\\"$encoded_value$\\\"'>\u003C/$fields>`>\\n\u003Cpre>\u003C/pre>\\n\u003C/div>`\\n\"},\"$:/core/templates/html-div-tiddler\":{\"title\":\"$:/core/templates/html-div-tiddler\",\"text\":\"\u003C!--\\n\\nThis template is used for saving tiddlers as an HTML DIV tag with attributes representing the tiddler fields.\\n\\n-->`\u003Cdiv`\u003C$fields template=' $name$=\\\"$encoded_value$\\\"'>\u003C/$fields>`>\\n\u003Cpre>`\u003C$view field=\\\"text\\\" format=\\\"htmltextencoded\\\" />`\u003C/pre>\\n\u003C/div>`\\n\"},\"$:/core/templates/html-json-skinny-tiddler\":{\"title\":\"$:/core/templates/html-json-skinny-tiddler\",\"text\":\"\u003C$list filter=\\\"[\u003CnumTiddlers>compare:number:gteq[1]] ~[\u003Ccounter>!match[1]]\\\">`,`\u003C$text text=\u003C\u003Cnewline>>/>\u003C/$list>\\n\u003C$jsontiddler tiddler=\u003C\u003CcurrentTiddler>> exclude=\\\"text\\\" escapeUnsafeScriptChars=\\\"yes\\\"/>\\n\"},\"$:/core/templates/html-json-tiddler\":{\"title\":\"$:/core/templates/html-json-tiddler\",\"text\":\"\u003C$list filter=\\\"[\u003Ccounter>!match[1]]\\\">`,`\u003C$text text=\u003C\u003Cnewline>>/>\u003C/$list>\u003C$jsontiddler tiddler=\u003C\u003CcurrentTiddler>> escapeUnsafeScriptChars=\\\"yes\\\"/>\"},\"$:/core/templates/html-tiddler\":{\"title\":\"$:/core/templates/html-tiddler\",\"text\":\"\u003C!--\\n\\nThis template is used for saving tiddlers as raw HTML\\n\\n-->\u003C$view field=\\\"text\\\" format=\\\"htmlwikified\\\" />\"},\"$:/core/templates/javascript-tiddler\":{\"title\":\"$:/core/templates/javascript-tiddler\",\"text\":\"\u003C!--\\n\\nThis template is used for saving JavaScript tiddlers as a script tag with data attributes representing the tiddler fields.\\n\\n-->`\u003Cscript`\u003C$fields template=' data-tiddler-$name$=\\\"$encoded_value$\\\"'>\u003C/$fields>` type=\\\"text/javascript\\\">`\u003C$view field=\\\"text\\\" format=\\\"text\\\" />`\u003C/script>`\"},\"$:/core/templates/json-tiddler\":{\"title\":\"$:/core/templates/json-tiddler\",\"text\":\"\u003C!--\\n\\nThis template is used for saving tiddlers as raw JSON\\n\\n-->\u003C$text text=\u003C\u003Cjsontiddler>>/>\"},\"$:/core/templates/module-tiddler\":{\"title\":\"$:/core/templates/module-tiddler\",\"text\":\"\u003C!--\\n\\nThis template is used for saving JavaScript tiddlers as a script tag with data attributes representing the tiddler fields. The body of the tiddler is wrapped in a call to the `$tw.modules.define` function in order to define the body of the tiddler as a module\\n\\n-->`\u003Cscript`\u003C$fields template=' data-tiddler-$name$=\\\"$encoded_value$\\\"'>\u003C/$fields>` type=\\\"text/javascript\\\" data-module=\\\"yes\\\">$tw.modules.define(\\\"`\u003C$view field=\\\"title\\\" format=\\\"jsencoded\\\" />`\\\",\\\"`\u003C$view field=\\\"module-type\\\" format=\\\"jsencoded\\\" />`\\\",function(module,exports,require) {`\u003C$view field=\\\"text\\\" format=\\\"text\\\" />`});\\n\u003C/script>`\"},\"$:/core/templates/plain-text-tiddler\":{\"title\":\"$:/core/templates/plain-text-tiddler\",\"text\":\"\u003C$view field=\\\"text\\\" format=\\\"text\\\" />\"},\"$:/core/templates/raw-static-tiddler\":{\"title\":\"$:/core/templates/raw-static-tiddler\",\"text\":\"\u003C!--\\n\\nThis template is used for saving tiddlers as static HTML\\n\\n-->\u003C$view field=\\\"text\\\" format=\\\"plainwikified\\\" />\"},\"$:/core/save/all\":{\"title\":\"$:/core/save/all\",\"text\":\"\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\\\define saveTiddlerFilter()\\n[is[tiddler]] -[prefix[$:/state/popup/]] -[prefix[$:/temp/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$\\n\\\\end\\n{{$:/core/templates/tiddlywiki5.html}}\\n\"},\"$:/core/save/empty\":{\"title\":\"$:/core/save/empty\",\"text\":\"\\\\define saveTiddlerFilter()\\n[is[system]] -[prefix[$:/state/popup/]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]\\n\\\\end\\n{{$:/core/templates/tiddlywiki5.html}}\\n\"},\"$:/core/save/lazy-all\":{\"title\":\"$:/core/save/lazy-all\",\"text\":\"\\\\define saveTiddlerFilter()\\n[is[system]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] [is[tiddler]type[application/javascript]] +[sort[title]]\\n\\\\end\\n\\\\define skinnySaveTiddlerFilter()\\n[!is[system]] -[type[application/javascript]]\\n\\\\end\\n{{$:/core/templates/tiddlywiki5.html}}\\n\"},\"$:/core/save/lazy-images\":{\"title\":\"$:/core/save/lazy-images\",\"text\":\"\\\\define saveTiddlerFilter()\\n[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[!is[system]is[image]] +[sort[title]] \\n\\\\end\\n\\\\define skinnySaveTiddlerFilter()\\n[!is[system]is[image]]\\n\\\\end\\n{{$:/core/templates/tiddlywiki5.html}}\\n\"},\"$:/core/templates/server/static.sidebar.wikitext\":{\"title\":\"$:/core/templates/server/static.sidebar.wikitext\",\"text\":\"\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-sidebar-scrollable\\\" style=\\\"overflow: auto;\\\" role=\\\"region\\\" aria-label={{$:/language/SideBar/Caption}}>\\n\u003Cdiv class=\\\"tc-sidebar-header\\\">\\n\u003Ch1 class=\\\"tc-site-title\\\">\\n\u003C$transclude tiddler=\\\"$:/SiteTitle\\\"/>\\n\u003C/h1>\\n\u003Cdiv class=\\\"tc-site-subtitle\\\">\\n\u003C$transclude tiddler=\\\"$:/SiteSubtitle\\\"/>\\n\u003C/div>\\n\u003Ch2>\\n\u003C/h2>\\n\u003Cdiv class=\\\"tc-sidebar-lists\\\">\\n\u003C$list filter={{$:/DefaultTiddlers}}>\\n\u003Cdiv class=\\\"tc-menu-list-subitem\\\">\\n\u003C$link>\u003C$text text=\u003C\u003CcurrentTiddler>>/>\u003C/$link>\\n\u003C/div>\\n\u003C/$list>\\n\u003C/div>\\n\u003C!-- Currently disabled the recent list as it is unweildy when the responsive narrow view kicks in\\n\u003Ch2>\\n{{$:/language/SideBar/Recent/Caption}}\\n\u003C/h2>\\n\u003Cdiv class=\\\"tc-sidebar-lists\\\">\\n\u003C$macrocall $name=\\\"timeline\\\" format={{$:/language/RecentChanges/DateFormat}}/>\\n\u003C/div>\\n\u003C/div>\\n\u003C/div>\\n-->\\n\"},\"$:/core/templates/server/static.tiddler.html\":{\"title\":\"$:/core/templates/server/static.tiddler.html\",\"text\":\"\\\\whitespace trim\\n\\\\define tv-config-static() yes\\n\\\\define tv-wikilink-template() $uri_encoded$\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\u003Chtml>\\n\u003Chead>\\n\u003Cmeta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n\u003Cmeta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n\u003Cmeta name=\\\"tiddlywiki-version\\\" content={{$:/core/templates/version}} />\\n\u003Cmeta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n\u003Cmeta name=\\\"apple-mobile-web-app-capable\\\" content=\\\"yes\\\" />\\n\u003Cmeta name=\\\"apple-mobile-web-app-status-bar-style\\\" content=\\\"black-translucent\\\" />\\n\u003Cmeta name=\\\"mobile-web-app-capable\\\" content=\\\"yes\\\"/>\\n\u003Cmeta name=\\\"format-detection\\\" content=\\\"telephone=no\\\">\\n\u003Clink id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n\u003Clink rel=\\\"stylesheet\\\" href=\\\"%24%3A%2Fcore%2Ftemplates%2Fstatic.template.css\\\">\\n\u003Ctitle>\u003C$view field=\\\"caption\\\" format=\\\"plainwikified\\\">\u003C$view field=\\\"title\\\"/>\u003C/$view>: \u003C$view tiddler=\\\"$:/core/wiki/title\\\" format=\\\"plainwikified\\\"/>\u003C/title>\\n\u003C/head>\\n\u003Cbody class=\\\"tc-body\\\">\\n\u003C$transclude tiddler=\\\"$:/core/templates/server/static.sidebar.wikitext\\\" mode=\\\"inline\\\"/>\\n\u003Csection class=\\\"tc-story-river\\\" role=\\\"main\\\">\\n\u003Cdiv class=\\\"tc-tiddler-frame\\\" role=\\\"article\\\">\\n\u003C$transclude tiddler=\\\"$:/core/templates/server/static.tiddler.wikitext\\\" mode=\\\"inline\\\"/>\\n\u003C/div>\\n\u003C/section>\\n\u003C/body>\\n\u003C/html>\"},\"$:/core/templates/server/static.tiddler.wikitext\":{\"title\":\"$:/core/templates/server/static.tiddler.wikitext\",\"text\":\"\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-tiddler-title\\\">\\n\u003Cdiv class=\\\"tc-titlebar\\\">\\n\u003Ch2>\u003C$text text=\u003C\u003CcurrentTiddler>>/>\u003C/h2>\\n\u003C/div>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-subtitle\\\">\\n\u003C$link to={{!!modifier}}>\\n\u003C$view field=\\\"modifier\\\"/>\\n\u003C/$link> \u003C$view field=\\\"modified\\\" format=\\\"date\\\" template={{$:/language/Tiddler/DateFormat}}/>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-tags-wrapper\\\">\\n\u003C$list filter=\\\"[all[current]tags[]sort[title]]\\\">\\n\u003Ca href={{{ [\u003CcurrentTiddler>encodeuricomponent[]] }}}>\\n\u003C$macrocall $name=\\\"tag-pill\\\" tag=\u003C\u003CcurrentTiddler>>/>\\n\u003C/a>\\n\u003C/$list>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-tiddler-body\\\">\\n\u003C$transclude mode=\\\"block\\\"/>\\n\u003C/div>\\n\"},\"$:/core/templates/single.tiddler.window\":{\"title\":\"$:/core/templates/single.tiddler.window\",\"text\":\"\\\\whitespace trim\\n\\\\define containerClasses()\\ntc-page-container tc-page-view-$(storyviewTitle)$ tc-language-$(languageTitle)$\\n\\\\end\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\n\u003C$vars\\n\\ttv-config-toolbar-icons={{$:/config/Toolbar/Icons}}\\n\\ttv-config-toolbar-text={{$:/config/Toolbar/Text}}\\n\\ttv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}}\\n\\ttv-show-missing-links={{$:/config/MissingLinks}}\\n\\tstoryviewTitle={{$:/view}}\\n\\tlanguageTitle={{{ [{$:/language}get[name]] }}}>\\n\\n\u003Cdiv class=\u003C\u003CcontainerClasses>>>\\n\\n\u003C$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\">\\n\\n\u003C$transclude tiddler=\\\"$:/core/ui/ViewTemplate/body\\\" mode=\\\"block\\\"/>\\n\\n\u003C/$navigator>\\n\\n\u003C/div>\\n\\n\u003C/$vars>\\n\"},\"$:/core/templates/split-recipe\":{\"title\":\"$:/core/templates/split-recipe\",\"text\":\"\u003C$list filter=\\\"[!is[system]]\\\">\\ntiddler: \u003C$view field=\\\"title\\\" format=\\\"urlencoded\\\"/>.tid\\n\u003C/$list>\\n\"},\"$:/core/templates/static-tiddler\":{\"title\":\"$:/core/templates/static-tiddler\",\"text\":\"\u003Ca name=\u003C\u003CcurrentTiddler>>>\\n\u003C$transclude tiddler=\\\"$:/core/ui/ViewTemplate\\\"/>\\n\u003C/a>\"},\"$:/core/templates/static.area\":{\"title\":\"$:/core/templates/static.area\",\"text\":\"\u003C$reveal type=\\\"nomatch\\\" state=\\\"$:/isEncrypted\\\" text=\\\"yes\\\">\\n{{{ [all[shadows+tiddlers]tag[$:/tags/RawStaticContent]!has[draft.of]] ||$:/core/templates/raw-static-tiddler}}}\\n{{$:/core/templates/static.content||$:/core/templates/html-tiddler}}\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" state=\\\"$:/isEncrypted\\\" text=\\\"yes\\\">\\nThis file contains an encrypted ~TiddlyWiki. Enable ~JavaScript and enter the decryption password when prompted.\\n\u003C/$reveal>\\n\u003C!-- ensure splash screen isn't shown when JS is disabled -->\\n`\u003Cstyle>\\n.tc-remove-when-wiki-loaded {display: none;}\\n\u003C/style>`\\n\"},\"$:/core/templates/static.content\":{\"title\":\"$:/core/templates/static.content\",\"text\":\"\u003C!-- For Google, and people without JavaScript-->\\nThis [[TiddlyWiki|https://tiddlywiki.com]] contains the following tiddlers:\\n\\n\u003Cul>\\n\u003C$list filter=\u003C\u003CsaveTiddlerFilter>>>\\n\u003Cli>\u003C$view field=\\\"title\\\" format=\\\"text\\\">\u003C/$view>\u003C/li>\\n\u003C/$list>\\n\u003C/ul>\\n\"},\"$:/core/templates/static.template.css\":{\"title\":\"$:/core/templates/static.template.css\",\"text\":\"{{$:/boot/boot.css||$:/core/templates/plain-text-tiddler}}\\n\\n{{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}}\\n\"},\"$:/core/templates/static.template.html\":{\"title\":\"$:/core/templates/static.template.html\",\"type\":\"text/vnd.tiddlywiki-html\",\"text\":\"\\\\define tv-config-static() yes\\n\\\\define tv-wikilink-template() static/$uri_doubleencoded$.html\\n\\\\define tv-config-toolbar-icons() no\\n\\\\define tv-config-toolbar-text() no\\n\\\\define tv-config-toolbar-class() tc-btn-invisible\\n\\\\rules only filteredtranscludeinline transcludeinline\\n\u003C!doctype html>\\n\u003Chtml>\\n\u003Chead>\\n\u003Cmeta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n\u003Cmeta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n\u003Cmeta name=\\\"tiddlywiki-version\\\" content=\\\"{{$:/core/templates/version}}\\\" />\\n\u003Cmeta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n\u003Cmeta name=\\\"apple-mobile-web-app-capable\\\" content=\\\"yes\\\" />\\n\u003Cmeta name=\\\"apple-mobile-web-app-status-bar-style\\\" content=\\\"black-translucent\\\" />\\n\u003Cmeta name=\\\"mobile-web-app-capable\\\" content=\\\"yes\\\"/>\\n\u003Cmeta name=\\\"format-detection\\\" content=\\\"telephone=no\\\">\\n\u003Clink id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n\u003Ctitle>{{$:/core/wiki/title}}\u003C/title>\\n\u003Cdiv id=\\\"styleArea\\\">\\n{{$:/boot/boot.css||$:/core/templates/css-tiddler}}\\n\u003C/div>\\n\u003Cstyle type=\\\"text/css\\\">\\n{{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}}\\n\u003C/style>\\n\u003C/head>\\n\u003Cbody class=\\\"tc-body\\\">\\n{{$:/StaticBanner||$:/core/templates/html-tiddler}}\\n{{$:/core/ui/PageTemplate||$:/core/templates/html-tiddler}}\\n\u003C/body>\\n\u003C/html>\\n\"},\"$:/core/templates/static.tiddler.html\":{\"title\":\"$:/core/templates/static.tiddler.html\",\"text\":\"\\\\define tv-wikilink-template() $uri_doubleencoded$.html\\n\\\\define tv-config-static() yes\\n\\\\define tv-config-toolbar-icons() no\\n\\\\define tv-config-toolbar-text() no\\n\\\\define tv-config-toolbar-class() tc-btn-invisible\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n`\u003C!doctype html>\\n\u003Chtml>\\n\u003Chead>\\n\u003Cmeta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n\u003Cmeta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n\u003Cmeta name=\\\"tiddlywiki-version\\\" content=\\\"`{{$:/core/templates/version}}`\\\" />\\n\u003Cmeta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n\u003Cmeta name=\\\"apple-mobile-web-app-capable\\\" content=\\\"yes\\\" />\\n\u003Cmeta name=\\\"apple-mobile-web-app-status-bar-style\\\" content=\\\"black-translucent\\\" />\\n\u003Cmeta name=\\\"mobile-web-app-capable\\\" content=\\\"yes\\\"/>\\n\u003Cmeta name=\\\"format-detection\\\" content=\\\"telephone=no\\\">\\n\u003Clink id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n\u003Clink rel=\\\"stylesheet\\\" href=\\\"static.css\\\">\\n\u003Ctitle>`\u003C$view field=\\\"caption\\\">\u003C$view field=\\\"title\\\"/>\u003C/$view>: {{$:/core/wiki/title}}`\u003C/title>\\n\u003C/head>\\n\u003Cbody class=\\\"tc-body\\\">\\n`{{$:/StaticBanner||$:/core/templates/html-tiddler}}`\\n\u003Csection class=\\\"tc-story-river tc-static-story-river\\\">\\n`\u003C$view tiddler=\\\"$:/core/ui/ViewTemplate\\\" format=\\\"htmlwikified\\\"/>`\\n\u003C/section>\\n\u003C/body>\\n\u003C/html>\\n`\\n\"},\"$:/core/templates/store.area.template.html\":{\"title\":\"$:/core/templates/store.area.template.html\",\"text\":\"\\\\whitespace trim\\n\u003C!-- Unencrypted -->\\n\u003C$list filter=\\\"[[$:/isEncrypted]get[text]else[no]match[no]]\\\">\\n \u003C$list filter=\\\"[[storeAreaFormat]is[variable]getvariable[]else[json]match[json]]\\\">\\n \u003C!-- New-style JSON store area, with an old-style store area for compatibility with v5.1.x tooling -->\\n `\u003Cscript class=\\\"tiddlywiki-tiddler-store\\\" type=\\\"application/json\\\">[`\\n \u003C$vars newline={{{ [charcode[10]] }}}>\\n \u003C$text text=\u003C\u003Cnewline>>/>\\n \u003C$list filter=\u003C\u003CsaveTiddlerFilter>> counter=\\\"counter\\\" template=\\\"$:/core/templates/html-json-tiddler\\\"/>\\n \u003C$vars numTiddlers={{{ [subfilter\u003CsaveTiddlerFilter>count[]] }}}>\\n \u003C$list filter={{{ [\u003CskinnySaveTiddlerFilter>] }}} counter=\\\"counter\\\" template=\\\"$:/core/templates/html-json-skinny-tiddler\\\"/>\\n \u003C/$vars>\\n \u003C$text text=\u003C\u003Cnewline>>/>\\n \u003C/$vars>\\n `]\u003C/script>`\\n `\u003Cdiv id=\\\"storeArea\\\" style=\\\"display:none;\\\">`\\n `\u003C/div>`\\n \u003C/$list>\\n \u003C$list filter=\\\"[[storeAreaFormat]is[variable]getvariable[]else[json]match[div]]\\\">\\n \u003C!-- Old-style DIV/PRE-based store area -->\\n \u003C$reveal type=\\\"nomatch\\\" state=\\\"$:/isEncrypted\\\" text=\\\"yes\\\">\\n `\u003Cdiv id=\\\"storeArea\\\" style=\\\"display:none;\\\">`\\n \u003C$list filter=\u003C\u003CsaveTiddlerFilter>> template=\\\"$:/core/templates/html-div-tiddler\\\"/>\\n \u003C$list filter={{{ [\u003CskinnySaveTiddlerFilter>] }}} template=\\\"$:/core/templates/html-div-skinny-tiddler\\\"/>\\n `\u003C/div>`\\n \u003C/$reveal>\\n \u003C/$list>\\n\u003C/$list>\\n\u003C!-- Encrypted -->\\n\u003C$list filter=\\\"[[$:/isEncrypted]get[text]else[no]match[yes]]\\\">\\n `\u003C!--~~ Encrypted tiddlers ~~-->`\\n `\u003Cpre id=\\\"encryptedStoreArea\\\" type=\\\"text/plain\\\" style=\\\"display:none;\\\">`\\n \u003C$encrypt filter=\u003C\u003CsaveTiddlerFilter>>/>\\n `\u003C/pre>`\\n\u003C/$list>\"},\"$:/core/templates/tid-tiddler\":{\"title\":\"$:/core/templates/tid-tiddler\",\"text\":\"\u003C!--\\n\\nThis template is used for saving tiddlers in TiddlyWeb *.tid format\\n\\n-->\u003C$fields exclude='text bag' template='$name$: $value$\\n'>\u003C/$fields>`\\n`\u003C$view field=\\\"text\\\" format=\\\"text\\\" />\"},\"$:/core/templates/tiddler-metadata\":{\"title\":\"$:/core/templates/tiddler-metadata\",\"text\":\"\u003C!--\\n\\nThis template is used for saving tiddler metadata *.meta files\\n\\n-->\u003C$fields exclude='text bag' template='$name$: $value$\\n'>\u003C/$fields>\"},\"$:/core/templates/tiddlywiki5.html\":{\"title\":\"$:/core/templates/tiddlywiki5.html\",\"text\":\"\u003C$set name=\\\"saveTiddlerAndShadowsFilter\\\" filter=\\\"[subfilter\u003CsaveTiddlerFilter>] [subfilter\u003CsaveTiddlerFilter>plugintiddlers[]]\\\">\\n`\u003C!doctype html>\\n`{{$:/core/templates/MOTW.html}}`\u003Chtml lang=\\\"`\u003C$text text={{{ [{$:/language}get[name]] }}}/>`\\\">\\n\u003Chead>\\n\u003Cmeta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\n\u003C!--~~ Raw markup for the top of the head section ~~-->\\n`{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/TopHead]] ||$:/core/templates/raw-static-tiddler}}}`\\n\u003Cmeta http-equiv=\\\"X-UA-Compatible\\\" content=\\\"IE=Edge\\\"/>\\n\u003Cmeta name=\\\"application-name\\\" content=\\\"TiddlyWiki\\\" />\\n\u003Cmeta name=\\\"generator\\\" content=\\\"TiddlyWiki\\\" />\\n\u003Cmeta name=\\\"tiddlywiki-version\\\" content=\\\"`{{$:/core/templates/version}}`\\\" />\\n\u003Cmeta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\" />\\n\u003Cmeta name=\\\"apple-mobile-web-app-capable\\\" content=\\\"yes\\\" />\\n\u003Cmeta name=\\\"apple-mobile-web-app-status-bar-style\\\" content=\\\"black-translucent\\\" />\\n\u003Cmeta name=\\\"mobile-web-app-capable\\\" content=\\\"yes\\\"/>\\n\u003Cmeta name=\\\"format-detection\\\" content=\\\"telephone=no\\\" />\\n\u003Cmeta name=\\\"copyright\\\" content=\\\"`{{$:/core/copyright.txt}}`\\\" />\\n\u003Clink id=\\\"faviconLink\\\" rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\">\\n\u003Ctitle>`{{$:/core/wiki/title}}`\u003C/title>\\n\u003C!--~~ This is a Tiddlywiki file. The points of interest in the file are marked with this pattern ~~-->\\n\\n\u003C!--~~ Raw markup ~~-->\\n`{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/core/wiki/rawmarkup]] ||$:/core/templates/plain-text-tiddler}}}\\n{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkup]] ||$:/core/templates/plain-text-tiddler}}}\\n{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified]] ||$:/core/templates/raw-static-tiddler}}}`\\n\u003C/head>\\n\u003Cbody class=\\\"tc-body\\\">\\n\u003C!--~~ Raw markup for the top of the body section ~~-->\\n`{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/TopBody]] ||$:/core/templates/raw-static-tiddler}}}`\\n\u003C!--~~ Static styles ~~-->\\n\u003Cdiv id=\\\"styleArea\\\">\\n`{{$:/boot/boot.css||$:/core/templates/css-tiddler}}`\\n\u003C/div>\\n\u003C!--~~ Static content for Google and browsers without JavaScript ~~-->\\n\u003Cnoscript>\\n\u003Cdiv id=\\\"splashArea\\\">\\n`{{$:/core/templates/static.area}}`\\n\u003C/div>\\n\u003C/noscript>\\n\u003C!--~~ Ordinary tiddlers ~~-->\\n`{{$:/core/templates/store.area.template.html}}`\\n\u003C!--~~ Library modules ~~-->\\n\u003Cdiv id=\\\"libraryModules\\\" style=\\\"display:none;\\\">\\n`{{{ [is[system]type[application/javascript]library[yes]] ||$:/core/templates/javascript-tiddler}}}`\\n\u003C/div>\\n\u003C!--~~ Boot kernel prologue ~~-->\\n\u003Cdiv id=\\\"bootKernelPrefix\\\" style=\\\"display:none;\\\">\\n`{{ $:/boot/bootprefix.js ||$:/core/templates/javascript-tiddler}}`\\n\u003C/div>\\n\u003C!--~~ Boot kernel ~~-->\\n\u003Cdiv id=\\\"bootKernel\\\" style=\\\"display:none;\\\">\\n`{{ $:/boot/boot.js ||$:/core/templates/javascript-tiddler}}`\\n\u003C/div>\\n\u003C!--~~ Raw markup for the bottom of the body section ~~-->\\n`{{{ [enlist\u003CsaveTiddlerAndShadowsFilter>tag[$:/tags/RawMarkupWikified/BottomBody]] ||$:/core/templates/raw-static-tiddler}}}`\\n\u003C/body>\\n\u003C/html>`\\n\"},\"$:/core/templates/version\":{\"title\":\"$:/core/templates/version\",\"text\":\"\u003C\u003Cversion>>\"},\"$:/core/templates/wikified-tiddler\":{\"title\":\"$:/core/templates/wikified-tiddler\",\"text\":\"\u003C$transclude />\"},\"$:/core/ui/AboveStory/tw2-plugin-check\":{\"title\":\"$:/core/ui/AboveStory/tw2-plugin-check\",\"tags\":\"$:/tags/AboveStory\",\"text\":\"\\\\define lingo-base() $:/language/AboveStory/ClassicPlugin/\\n\u003C$list filter=\\\"[all[system+tiddlers]tag[systemConfig]limit[1]]\\\">\\n\\n\u003Cdiv class=\\\"tc-message-box\\\">\\n\\n\u003C\u003Clingo Warning>>\\n\\n\u003Cul>\\n\\n\u003C$list filter=\\\"[all[system+tiddlers]tag[systemConfig]]\\\">\\n\\n\u003Cli>\\n\\n\u003C$link>\u003C$view field=\\\"title\\\"/>\u003C/$link>\\n\\n\u003C/li>\\n\\n\u003C/$list>\\n\\n\u003C/ul>\\n\\n\u003C/div>\\n\\n\u003C/$list>\\n\"},\"$:/core/ui/Actions/new-image\":{\"title\":\"$:/core/ui/Actions/new-image\",\"tags\":\"$:/tags/Actions\",\"description\":\"create a new image tiddler\",\"text\":\"\\\\whitespace trim\\n\u003C$action-sendmessage $message=\\\"tm-new-tiddler\\\" type={{{ [{$:/config/NewImageType}addprefix[image/]] }}}/>\\n\"},\"$:/core/ui/Actions/new-journal\":{\"title\":\"$:/core/ui/Actions/new-journal\",\"tags\":\"$:/tags/Actions\",\"description\":\"create a new journal tiddler\",\"text\":\"\\\\define get-tags() $(textFieldTags)$ $(tagsFieldTags)$\\n\\\\whitespace trim\\n\u003C$vars journalTitleTemplate={{$:/config/NewJournal/Title}} textFieldTags={{$:/config/NewJournal/Tags}} tagsFieldTags={{$:/config/NewJournal/Tags!!tags}} journalText={{$:/config/NewJournal/Text}}>\\n\u003C$wikify name=\\\"journalTitle\\\" text=\\\"\u003C$macrocall $name='now' format=\u003C\u003CjournalTitleTemplate>>/>\\\">\\n\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003CjournalTitle>> text=\\\"\\\">\\n\u003C$action-sendmessage $message=\\\"tm-new-tiddler\\\" title=\u003C\u003CjournalTitle>> tags=\u003C\u003Cget-tags>> text={{{ [\u003CjournalTitle>get[]] }}}/>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003CjournalTitle>> text=\\\"\\\">\\n\u003C$action-sendmessage $message=\\\"tm-new-tiddler\\\" title=\u003C\u003CjournalTitle>> tags=\u003C\u003Cget-tags>> text=\u003C\u003CjournalText>>/>\\n\u003C/$reveal>\\n\u003C/$wikify>\\n\u003C/$vars>\\n\"},\"$:/core/ui/Actions/new-tiddler\":{\"title\":\"$:/core/ui/Actions/new-tiddler\",\"tags\":\"$:/tags/Actions\",\"description\":\"create a new empty tiddler\",\"text\":\"\\\\define get-tags() $(textFieldTags)$ $(tagsFieldTags)$\\n\\\\whitespace trim\\n\u003C$vars textFieldTags={{$:/config/NewTiddler/Tags}} tagsFieldTags={{$:/config/NewTiddler/Tags!!tags}}>\\n\u003C$action-sendmessage $message=\\\"tm-new-tiddler\\\" tags=\u003C\u003Cget-tags>>/>\\n\u003C/$vars>\\n\"},\"$:/core/ui/AdvancedSearch/Filter\":{\"title\":\"$:/core/ui/AdvancedSearch/Filter\",\"tags\":\"$:/tags/AdvancedSearch\",\"caption\":\"{{$:/language/Search/Filter/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/Search/\\n\\\\define set-next-input-tab(beforeafter:\\\"after\\\")\\n\u003C$macrocall $name=\\\"change-input-tab\\\"\\n\\tstateTitle=\\\"$:/state/tab--1498284803\\\"\\n\\ttag=\\\"$:/tags/AdvancedSearch\\\"\\n\\tbeforeafter=\\\"$beforeafter$\\\"\\n\\tdefaultState=\\\"$:/core/ui/AdvancedSearch/System\\\"\\n\\tactions=\\\"\u003C$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=\u003C\u003CnextTab>>/>\\\"/>\\n\\\\end\\n\\n\\\\define cancel-search-actions()\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[{$:/temp/advancedsearch/input}!match{$:/temp/advancedsearch}]\\\"\\n\\temptyMessage=\\\"\u003C$action-deletetiddler $filter='[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]' />\\\">\\n\\t\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" text={{$:/temp/advancedsearch}}/>\\n\\t\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define input-accept-actions()\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\"\\n\\temptyMessage=\\\"\u003C$list filter='[\u003C__tiddler__>get[text]!is[missing]] ~[\u003C__tiddler__>get[text]is[shadow]]'>\u003C$action-navigate $to={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\\\">\\n\\t\u003C$action-navigate $to={{{ [\u003C__tiddler__>get[text]] }}}/>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define input-accept-variant-actions()\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\"\\n\\temptyMessage=\\\"\u003C$list filter='[\u003C__tiddler__>get[text]!is[missing]] ~[\u003C__tiddler__>get[text]is[shadow]]'>\u003C$list filter='[\u003C__tiddler__>get[text]minlength[1]]'>\u003C$action-sendmessage $message='tm-edit-tiddler' $param={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\u003C/$list>\\\">\\n\\t\u003C$list filter=\\\"[\u003C__tiddler__>get[text]minlength[1]]\\\">\\n\\t\\t\u003C$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [\u003C__tiddler__>get[text]] }}}/>\\n\u003C/$list>\u003C/$list>\\n\\\\end\\n\\n\\\\whitespace trim\\n\u003C\u003Clingo Filter/Hint>>\\n\\n\u003Cdiv class=\\\"tc-search tc-advanced-search\\\">\\n\u003C$keyboard key=\\\"((input-tab-right))\\\" actions=\u003C\u003Cset-next-input-tab>>>\\n\u003C$keyboard key=\\\"((input-tab-left))\\\" actions=\u003C\u003Cset-next-input-tab \\\"before\\\">>>\\n\u003C$macrocall $name=\\\"keyboard-driven-input\\\"\\n\\ttiddler=\\\"$:/temp/advancedsearch/input\\\"\\n\\tstoreTitle=\\\"$:/temp/advancedsearch\\\"\\n\\trefreshTitle=\\\"$:/temp/advancedsearch/refresh\\\"\\n\\tselectionStateTitle=\\\"$:/temp/advancedsearch/selected-item\\\"\\n\\ttype=\\\"search\\\"\\n\\ttag=\\\"input\\\"\\n\\tfocus={{$:/config/Search/AutoFocus}}\\n\\tconfigTiddlerFilter=\\\"[[$:/temp/advancedsearch]]\\\"\\n\\tfirstSearchFilterField=\\\"text\\\"\\n\\tinputAcceptActions=\u003C\u003Cinput-accept-actions>>\\n\\tinputAcceptVariantActions=\u003C\u003Cinput-accept-variant-actions>>\\n\\tinputCancelActions=\u003C\u003Ccancel-search-actions>>/>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n \\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch/FilterButton]!has[draft.of]]\\\">\u003C$transclude/>\u003C/$list>\\n\u003C/div>\\n\\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\u003C$set name=\\\"resultCount\\\" value=\\\"\u003C$count filter={{$:/temp/advancedsearch}}/>\\\">\\n\u003Cdiv class=\\\"tc-search-results\\\">\\n\u003C\u003Clingo Filter/Matches>>\\n\u003C$list filter={{$:/temp/advancedsearch}}>\\n\u003Cspan class={{{[\u003CcurrentTiddler>addsuffix[-primaryList]] -[[$:/temp/advancedsearch/selected-item]get[text]] +[then[]else[tc-list-item-selected]] }}}>\\n\u003C$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$set>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/clear\":{\"title\":\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/clear\",\"tags\":\"$:/tags/AdvancedSearch/FilterButton\",\"text\":\"\\\\whitespace trim\\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\">\\n\u003C\u003Ccancel-search-actions>>\\n\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\"\\\"\\\".tc-advanced-search input\\\"\\\"\\\" />\\n{{$:/core/images/close-button}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/delete\":{\"title\":\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/delete\",\"tags\":\"$:/tags/AdvancedSearch/FilterButton\",\"text\":\"\\\\whitespace trim\\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\u003C$button tooltip={{$:/language/Buttons/DeleteTiddlers/Hint}} popup=\u003C\u003Cqualify \\\"$:/state/filterDeleteDropdown\\\">> class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/delete-button}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/filterDeleteDropdown\\\">> type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n\u003Cdiv class=\\\"tc-block-dropdown-wrapper\\\">\\n\u003Cdiv class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n\u003Cdiv class=\\\"tc-dropdown-item-plain\\\">\\n\u003C$set name=\\\"resultCount\\\" value=\\\"\\\"\\\"\u003C$count filter={{$:/temp/advancedsearch}}/>\\\"\\\"\\\">\\n{{$:/language/ConfirmDeleteTiddlers}}\\n\u003C/$set>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-dropdown-item-plain\\\">\\n\u003C$button class=\\\"tc-btn\\\">\\n\u003C$action-deletetiddler $filter={{$:/temp/advancedsearch}}/>\\n{{$:/language/Buttons/DeleteTiddlers/Hint}}\\n\u003C/$button>\\n\u003C/div>\\n\u003C/div>\\n\u003C/div>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/dropdown\":{\"title\":\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/dropdown\",\"tags\":\"$:/tags/AdvancedSearch/FilterButton\",\"text\":\"\\\\whitespace trim\\n\\n\u003Cspan class=\\\"tc-popup-keep\\\">\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/filterDropdown\\\">> class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/down-arrow}}\\n\u003C/$button>\\n\u003C/span>\\n\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/filterDropdown\\\">> type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n\u003C$set name=\\\"tv-show-missing-links\\\" value=\\\"yes\\\">\\n\u003C$linkcatcher actions=\\\"\u003C$action-setfield $tiddler='$:/temp/advancedsearch' text=\u003C\u003CnavigateTo>>/>\u003C$action-setfield $tiddler='$:/temp/advancedsearch/input' text=\u003C\u003CnavigateTo>>/>\u003C$action-setfield $tiddler='$:/temp/advancedsearch/refresh' text='yes'/>\u003C$action-sendmessage $message='tm-focus-selector' $param='.tc-advanced-search input' />\\\">\\n\u003Cdiv class=\\\"tc-block-dropdown-wrapper\\\">\\n\u003Cdiv class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Filter]!is[draft]]\\\">\\n\u003C$link to={{!!filter}}>\u003C$let tv-wikilinks=\\\"no\\\">\u003C$transclude field=\\\"description\\\"/>\u003C/$let>\u003C/$link>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/div>\\n\u003C/$linkcatcher>\\n\u003C/$set>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/export\":{\"title\":\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/export\",\"tags\":\"$:/tags/AdvancedSearch/FilterButton\",\"text\":\"\\\\whitespace trim\\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\u003C$macrocall $name=\\\"exportButton\\\" exportFilter={{$:/temp/advancedsearch}} lingoBase=\\\"$:/language/Buttons/ExportTiddlers/\\\"/>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Shadows\":{\"title\":\"$:/core/ui/AdvancedSearch/Shadows\",\"tags\":\"$:/tags/AdvancedSearch\",\"caption\":\"{{$:/language/Search/Shadows/Caption}}\",\"first-search-filter\":\"[all[shadows]search\u003CuserInput>sort[title]limit[250]] -[[$:/temp/advancedsearch]] -[[$:/temp/advancedsearch/input]]\",\"text\":\"\\\\define lingo-base() $:/language/Search/\\n\\n\\\\define set-next-input-tab(beforeafter:\\\"after\\\")\\n\u003C$macrocall $name=\\\"change-input-tab\\\"\\n\\tstateTitle=\\\"$:/state/tab--1498284803\\\"\\n\\ttag=\\\"$:/tags/AdvancedSearch\\\"\\n\\tbeforeafter=\\\"$beforeafter$\\\"\\n\\tdefaultState=\\\"$:/core/ui/AdvancedSearch/System\\\"\\n\\tactions=\\\"\u003C$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=\u003C\u003CnextTab>>/>\\\"/>\\n\\\\end\\n\\n\\\\define cancel-search-actions()\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[{$:/temp/advancedsearch}!match{$:/temp/advancedsearch/input}]\\\"\\n\\temptyMessage=\\\"\u003C$action-deletetiddler $filter='[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]' />\\\">\\n\\t\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" text={{$:/temp/advancedsearch}}/>\\n\\t\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/>\\n\u003C/$list>\\n\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-advanced-search input\\\"/>\\n\\\\end\\n\\n\\\\define input-accept-actions()\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\"\\n\\temptyMessage=\\\"\u003C$list filter='[\u003C__tiddler__>get[text]!is[missing]] ~[\u003C__tiddler__>get[text]is[shadow]]'>\u003C$action-navigate $to={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\\\">\\n\\t\u003C$action-navigate $to={{{ [\u003C__tiddler__>get[text]] }}}/>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define input-accept-variant-actions()\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\"\\n\\temptyMessage=\\\"\u003C$list filter='[\u003C__tiddler__>get[text]!is[missing]] ~[\u003C__tiddler__>get[text]is[shadow]]'>\u003C$list filter='[\u003C__tiddler__>get[text]minlength[1]]'>\u003C$action-sendmessage $message='tm-edit-tiddler' $param={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\u003C/$list>\\\">\\n\\t\u003C$list filter=\\\"[\u003C__tiddler__>get[text]minlength[1]]\\\">\\n\\t\\t\u003C$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [\u003C__tiddler__>get[text]] }}}/>\\n\u003C/$list>\u003C/$list>\\n\\\\end\\n\\n\\\\whitespace trim\\n\\n\u003C\u003Clingo Shadows/Hint>>\\n\\n\u003Cdiv class=\\\"tc-search\\\">\\n\u003C$keyboard key=\\\"((input-tab-right))\\\" actions=\u003C\u003Cset-next-input-tab>>>\\n\u003C$keyboard key=\\\"((input-tab-left))\\\" actions=\u003C\u003Cset-next-input-tab \\\"before\\\">>>\\n\u003C$macrocall $name=\\\"keyboard-driven-input\\\"\\n\\ttiddler=\\\"$:/temp/advancedsearch/input\\\"\\n\\tstoreTitle=\\\"$:/temp/advancedsearch\\\"\\n\\trefreshTitle=\\\"$:/temp/advancedsearch/refresh\\\"\\n\\tselectionStateTitle=\\\"$:/temp/advancedsearch/selected-item\\\"\\n\\ttype=\\\"search\\\"\\n\\ttag=\\\"input\\\"\\n\\tfocus={{$:/config/Search/AutoFocus}}\\n\\tconfigTiddlerFilter=\\\"[[$:/core/ui/AdvancedSearch/Shadows]]\\\"\\n\\tinputCancelActions=\u003C\u003Ccancel-search-actions>>\\n\\tinputAcceptActions=\u003C\u003Cinput-accept-actions>>\\n\\tinputAcceptVariantActions=\u003C\u003Cinput-accept-variant-actions>>\\n\\tfilterMinLength={{$:/config/Search/MinLength}}/>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n \\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\">\\n\u003C\u003Ccancel-search-actions>>\\n{{$:/core/images/close-button}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/div>\\n\\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\\n\u003C$list filter=\\\"[{$:/temp/advancedsearch}minlength{$:/config/Search/MinLength}limit[1]]\\\" emptyMessage=\\\"\u003Cdiv class='tc-search-results'>{{$:/language/Search/Search/TooShort}}\u003C/div>\\\" variable=\\\"listItem\\\">\\n\\n\u003C$set name=\\\"resultCount\\\" value=\\\"\u003C$count filter='[all[shadows]search{$:/temp/advancedsearch}] -[[$:/temp/advancedsearch]] -[[$:/temp/advancedsearch/input]]'/>\\\">\\n\\n\u003Cdiv class=\\\"tc-search-results\\\">\\n\\n\u003C\u003Clingo Shadows/Matches>>\\n\\n\u003C$list filter=\\\"[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]] -[[$:/temp/advancedsearch/input]]\\\">\\n\u003Cspan class={{{[\u003CcurrentTiddler>addsuffix[-primaryList]] -[[$:/temp/advancedsearch/selected-item]get[text]] +[then[]else[tc-list-item-selected]] }}}>\\n\u003C$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\u003C/span>\\n\u003C/$list>\\n\\n\u003C/div>\\n\\n\u003C/$set>\\n\\n\u003C/$list>\\n\\n\u003C/$reveal>\\n\\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"match\\\" text=\\\"\\\">\\n\\n\u003C/$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/Standard\":{\"title\":\"$:/core/ui/AdvancedSearch/Standard\",\"tags\":\"$:/tags/AdvancedSearch\",\"caption\":\"{{$:/language/Search/Standard/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/Search/\\n\\\\define set-next-input-tab(beforeafter:\\\"after\\\") \u003C$macrocall $name=\\\"change-input-tab\\\" stateTitle=\\\"$:/state/tab--1498284803\\\" tag=\\\"$:/tags/AdvancedSearch\\\" beforeafter=\\\"$beforeafter$\\\" defaultState=\\\"$:/core/ui/AdvancedSearch/System\\\" actions=\\\"\u003C$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=\u003C\u003CnextTab>>/>\\\"/>\\n\\n\\\\define next-search-tab(beforeafter:\\\"after\\\") \u003C$macrocall $name=\\\"change-input-tab\\\" stateTitle=\\\"$:/state/tab/search-results/advancedsearch\\\" tag=\\\"$:/tags/SearchResults\\\" beforeafter=\\\"$beforeafter$\\\" defaultState={{$:/config/SearchResults/Default}} actions=\\\"\u003C$action-setfield $tiddler='$:/state/advancedsearch/standard/currentTab' text=\u003C\u003CnextTab>>/>\\\"/>\\n\\n\\\\define cancel-search-actions() \u003C$list filter=\\\"[{$:/temp/advancedsearch}!match{$:/temp/advancedsearch/input}]\\\" emptyMessage=\\\"\u003C$action-deletetiddler $filter='[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]' />\\\">\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" text={{$:/temp/advancedsearch}}/>\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/>\u003C/$list>\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-advanced-search input\\\"/>\\n\\n\\\\define input-accept-actions() \u003C$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\" emptyMessage=\\\"\u003C$list filter='[\u003C__tiddler__>get[text]!is[missing]] ~[\u003C__tiddler__>get[text]is[shadow]]'>\u003C$action-navigate $to={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\\\">\u003C$action-navigate $to={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\\n\\n\\\\define input-accept-variant-actions() \u003C$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\" emptyMessage=\\\"\u003C$list filter='[\u003C__tiddler__>get[text]!is[missing]] ~[\u003C__tiddler__>get[text]is[shadow]]'>\u003C$list filter='[\u003C__tiddler__>get[text]minlength[1]]'>\u003C$action-sendmessage $message='tm-edit-tiddler' $param={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\u003C/$list>\\\">\u003C$list filter=\\\"[\u003C__tiddler__>get[text]minlength[1]]\\\">\u003C$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\u003C/$list>\\n\\n\\\\whitespace trim\\n\\n\u003C\u003Clingo Standard/Hint>>\\n\\n\u003Cdiv class=\\\"tc-search\\\">\\n\u003C$keyboard key=\\\"((input-tab-right))\\\" actions=\u003C\u003Cset-next-input-tab>>>\\n\u003C$keyboard key=\\\"((input-tab-left))\\\" actions=\u003C\u003Cset-next-input-tab \\\"before\\\">>>\\n\u003C$keyboard key=\\\"shift-alt-Right\\\" actions=\u003C\u003Cnext-search-tab>>>\\n\u003C$keyboard key=\\\"shift-alt-Left\\\" actions=\u003C\u003Cnext-search-tab \\\"before\\\">>>\\n\u003C$macrocall $name=\\\"keyboard-driven-input\\\"\\n\\ttiddler=\\\"$:/temp/advancedsearch/input\\\"\\n\\tstoreTitle=\\\"$:/temp/advancedsearch\\\"\\n\\trefreshTitle=\\\"$:/temp/advancedsearch/refresh\\\"\\n\\tselectionStateTitle=\\\"$:/temp/advancedsearch/selected-item\\\"\\n\\ttype=\\\"search\\\"\\n\\ttag=\\\"input\\\"\\n\\tfocus={{$:/config/Search/AutoFocus}}\\n\\tinputCancelActions=\u003C\u003Ccancel-search-actions>>\\n\\tinputAcceptActions=\u003C\u003Cinput-accept-actions>>\\n\\tinputAcceptVariantActions=\u003C\u003Cinput-accept-variant-actions>>\\n\\tconfigTiddlerFilter=\\\"[[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}]\\\"\\n\\tfilterMinLength={{$:/config/Search/MinLength}}/>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\">\\n\u003C\u003Ccancel-search-actions>>\\n{{$:/core/images/close-button}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/div>\\n\\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\u003C$list\\n\\tfilter=\\\"[{$:/temp/advancedsearch}minlength{$:/config/Search/MinLength}limit[1]]\\\"\\n\\temptyMessage=\\\"\u003Cdiv class='tc-search-results'>{{$:/language/Search/Search/TooShort}}\u003C/div>\\\"\\n\\tvariable=\\\"listItem\\\">\\n\u003C$vars\\n\\tuserInput={{{ [[$:/temp/advancedsearch]get[text]] }}}\\n\\tconfigTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}] }}}\\n\\tsearchListState=\\\"$:/temp/advancedsearch/selected-item\\\">\\n\u003C$list\\n\\tfilter=\\\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]\\\"\\n\\temptyMessage=\\\"\u003C$list filter='[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]'>\u003C$transclude/>\u003C/$list>\\\">\\n\u003C$macrocall $name=\\\"tabs\\\"\\n\\ttabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\\\"\\n\\tdefault={{$:/config/SearchResults/Default}}\\n\\tactions=\\\"\u003C$action-setfield $tiddler='$:/state/advancedsearch/standard/currentTab' text=\u003C\u003CcurrentTab>>/>\\\"\\n\\texplicitState=\\\"$:/state/tab/search-results/advancedsearch\\\" />\\n\u003C/$list>\\n\u003C/$vars>\\n\u003C/$list>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/AdvancedSearch/System\":{\"title\":\"$:/core/ui/AdvancedSearch/System\",\"tags\":\"$:/tags/AdvancedSearch\",\"caption\":\"{{$:/language/Search/System/Caption}}\",\"first-search-filter\":\"[is[system]search\u003CuserInput>sort[title]limit[250]] -[[$:/temp/advancedsearch]] -[[$:/temp/advancedsearch/input]] -[[$:/temp/advancedsearch/selected-item]]\",\"text\":\"\\\\define lingo-base() $:/language/Search/\\n\\\\define set-next-input-tab(beforeafter:\\\"after\\\",stateTitle,tag,defaultState,currentTabTiddler)\\n\u003C$macrocall $name=\\\"change-input-tab\\\"\\n\\tstateTitle=\\\"$:/state/tab--1498284803\\\"\\n\\ttag=\\\"$:/tags/AdvancedSearch\\\"\\n\\tbeforeafter=\\\"$beforeafter$\\\"\\n\\tdefaultState=\\\"$:/core/ui/AdvancedSearch/System\\\"\\n\\tactions=\\\"\u003C$action-setfield $tiddler='$:/state/advancedsearch/currentTab' text=\u003C\u003CnextTab>>/>\\\"/>\\n\\\\end\\n\\n\\\\define cancel-search-actions()\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[{$:/temp/advancedsearch}!match{$:/temp/advancedsearch/input}]\\\"\\n\\temptyMessage=\\\"\u003C$action-deletetiddler $filter='[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]' />\\\">\\n\\t\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" text={{$:/temp/advancedsearch}}/>\\n\\t\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/>\\n\u003C/$list>\\n\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-advanced-search input\\\"/>\\n\\\\end\\n\\n\\\\define input-accept-actions()\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\"\\n\\temptyMessage=\\\"\u003C$list filter='[\u003C__tiddler__>get[text]!is[missing]] ~[\u003C__tiddler__>get[text]is[shadow]]'>\u003C$action-navigate $to={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\\\">\\n\\t\u003C$action-navigate $to={{{ [\u003C__tiddler__>get[text]] }}}/>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define input-accept-variant-actions()\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\"\\n\\temptyMessage=\\\"\u003C$list filter='[\u003C__tiddler__>get[text]!is[missing]] ~[\u003C__tiddler__>get[text]is[shadow]]'>\u003C$list filter='[\u003C__tiddler__>get[text]minlength[1]]'>\u003C$action-sendmessage $message='tm-edit-tiddler' $param={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\u003C/$list>\\\">\\n\\t\u003C$list filter=\\\"[\u003C__tiddler__>get[text]minlength[1]]\\\">\\n\\t\\t\u003C$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [\u003C__tiddler__>get[text]] }}}/>\\n\u003C/$list>\u003C/$list>\\n\\\\end\\n\\n\\\\whitespace trim\\n\\n\u003C\u003Clingo System/Hint>>\\n\\n\u003Cdiv class=\\\"tc-search\\\">\\n\u003C$keyboard key=\\\"((input-tab-right))\\\" actions=\u003C\u003Cset-next-input-tab>>>\\n\u003C$keyboard key=\\\"((input-tab-left))\\\" actions=\u003C\u003Cset-next-input-tab \\\"before\\\">>>\\n\u003C$macrocall $name=\\\"keyboard-driven-input\\\"\\n\\ttiddler=\\\"$:/temp/advancedsearch/input\\\"\\n\\tstoreTitle=\\\"$:/temp/advancedsearch\\\"\\n\\trefreshTitle=\\\"$:/temp/advancedsearch/refresh\\\"\\n\\tselectionStateTitle=\\\"$:/temp/advancedsearch/selected-item\\\"\\n\\ttype=\\\"search\\\"\\n\\ttag=\\\"input\\\"\\n\\tfocus={{$:/config/Search/AutoFocus}}\\n\\tconfigTiddlerFilter=\\\"[[$:/core/ui/AdvancedSearch/System]]\\\"\\n\\tinputCancelActions=\u003C\u003Ccancel-search-actions>>\\n\\tinputAcceptActions=\u003C\u003Cinput-accept-actions>>\\n\\tinputAcceptVariantActions=\u003C\u003Cinput-accept-variant-actions>>\\n\\tfilterMinLength={{$:/config/Search/MinLength}}/>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n \\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\">\\n\u003C\u003Ccancel-search-actions>>\\n{{$:/core/images/close-button}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/div>\\n\\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\\n\u003C$list filter=\\\"[{$:/temp/advancedsearch}minlength{$:/config/Search/MinLength}limit[1]]\\\" emptyMessage=\\\"\u003Cdiv class='tc-search-results'>{{$:/language/Search/Search/TooShort}}\u003C/div>\\\" variable=\\\"listItem\\\">\\n\\n\u003C$set name=\\\"resultCount\\\" value=\\\"\u003C$count filter='[is[system]search{$:/temp/advancedsearch}] -[[$:/temp/advancedsearch]] -[[$:/temp/advancedsearch/input]] -[[$:/temp/advancedsearch/selected-item]]'/>\\\">\\n\\n\u003Cdiv class=\\\"tc-search-results\\\">\\n\\n\u003C\u003Clingo System/Matches>>\\n\\n\u003C$list filter=\\\"[is[system]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]] -[[$:/temp/advancedsearch/input]] -[[$:/temp/advancedsearch/selected-item]]\\\">\\n\u003Cspan class={{{[\u003CcurrentTiddler>addsuffix[-primaryList]] -[[$:/temp/advancedsearch/selected-item]get[text]] +[then[]else[tc-list-item-selected]] }}}>\\n\u003C$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\u003C/span>\\n\u003C/$list>\\n\\n\u003C/div>\\n\\n\u003C/$set>\\n\\n\u003C/$list>\\n\\n\u003C/$reveal>\\n\\n\u003C$reveal state=\\\"$:/temp/advancedsearch\\\" type=\\\"match\\\" text=\\\"\\\">\\n\\n\u003C/$reveal>\\n\"},\"$:/AdvancedSearch\":{\"title\":\"$:/AdvancedSearch\",\"icon\":\"$:/core/images/advanced-search-button\",\"color\":\"#bbb\",\"text\":\"\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-advanced-search\\\">\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch]!has[draft.of]]\\\" default=\\\"$:/core/ui/AdvancedSearch/System\\\" actions=\\\"\\\"\\\"\u003C$action-setfield $tiddler=\\\"$:/state/advancedsearch/currentTab\\\" text=\u003C\u003CcurrentTab>>/>\\\"\\\"\\\" explicitState=\\\"$:/state/tab--1498284803\\\"/>\\n\u003C/div>\\n\"},\"$:/core/ui/AlertTemplate\":{\"title\":\"$:/core/ui/AlertTemplate\",\"code-body\":\"yes\",\"text\":\"\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-alert\\\">\\n\u003Cdiv class=\\\"tc-alert-toolbar\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\">\u003C$action-deletetiddler $tiddler=\u003C\u003CcurrentTiddler>>/>{{$:/core/images/cancel-button}}\u003C/$button>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-alert-subtitle\\\">\\n\u003C$wikify name=\\\"format\\\" text=\u003C\u003Clingo Tiddler/DateFormat>>>\\n\u003C$view field=\\\"component\\\"/>\\n - \\n\u003C$view field=\\\"modified\\\" format=\\\"date\\\" template=\u003C\u003Cformat>>/>\\n \\n\u003C$reveal type=\\\"nomatch\\\" state=\\\"!!count\\\" text=\\\"\\\">\\n\u003Cspan class=\\\"tc-alert-highlight\\\">\\n({{$:/language/Count}}: \u003C$view field=\\\"count\\\"/>)\\n\u003C/span>\\n\u003C/$reveal>\\n\u003C/$wikify>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-alert-body\\\">\\n\\n\u003C$transclude/>\\n\\n\u003C/div>\\n\u003C/div>\\n\"},\"$:/core/ui/BinaryWarning\":{\"title\":\"$:/core/ui/BinaryWarning\",\"text\":\"\\\\define lingo-base() $:/language/BinaryWarning/\\n\u003C\u003Clingo Prompt>>\\n\"},\"$:/core/ui/VisibleTransclude\":{\"title\":\"$:/core/ui/VisibleTransclude\",\"text\":\"\u003C!--\\nImport this component to make all the child transclusions visible.\\n\\nBlock transclusions are shown in red, and inline transclusions are shown in green.\\n-->\\n\\\\widget $transclude()\\n\u003C!-- Use a parameters widget so that we can access the `$params` data -->\\n\u003C$parameters tiddler=\\\"\\\" $$tiddler=\\\"\\\" mode=\\\"\\\" $$mode=\\\"\\\" $parseMode=\\\"@parseMode\\\" $params=\\\"@params\\\">\\n\\t\u003C!-- Replicate the logic of the transclude widget to determine the output mode, and hence the tag and colour to use for output -->\\n\\t\u003C$let\\n\\t\\tmode={{{ [[$mode]is[variable]then\u003C$mode>!is[blank]] :else[[mode]is[variable]then\u003Cmode>!is[blank]] :else[\u003C@parseMode>] }}}\\n\\t\\toutputTag={{{ [\u003Cmode>match[inline]then[span]else[div]] }}}\\n\\t\\toutputColour={{{ [\u003Cmode>match[inline]then[green]else[red]] }}}\\n\\t>\\n\\t\\t\u003C!-- Use divs or spans according to the mode -->\\n\\t\\t\u003C$genesis $type=\u003C\u003CoutputTag>> style=\\\"color:white;padding:4px;\\\" style.background=\u003C\u003CoutputColour>>>\\n\\t\\t\\t\u003C$genesis $type=\u003C\u003CoutputTag>> style=\\\"display: inline-block;\\\">\\n\\t\\t\\t\\t\u003Cdiv style=\\\"background:white;color:black;font-size: 12px;line-height:1.2;text-align:left;font-weight:normal;padding:4px;margin:4px;\\\">\\n\\t\\t\\t\\t\\t\u003C!-- Render the parameters to the transclusion -->\\n\\t\\t\\t\\t\\t\u003C$list filter=\\\"[\u003C@params>jsonindexes[]]\\\" emptyMessage=\\\"(none)\\\">\\n\\t\\t\\t\\t\\t\\t\u003Cdiv>\\n\\t\\t\\t\\t\\t\\t\\t\u003C$text text=\u003C\u003CcurrentTiddler>>/>\u003C$text text=\\\": \\\"/>\u003C$text text={{{ [\u003C@params>jsonget\u003CcurrentTiddler>] }}}/>\\n\\t\\t\\t\\t\\t\\t\u003C/div>\\n\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\u003C/div>\\n\\t\\t\\t\u003C/$genesis>\\n\\t\\t\\t\u003C$genesis $type=\u003C\u003CoutputTag>> style=\\\"background:white;color:black;padding:4px;\\\">\\n\\t\\t\\t\\t\u003C!-- Look for a parameter starting with $ to determine if we are in legacy mode -->\\n\\t\\t\\t\\t\u003C$list filter=\\\"[\u003C@params>jsonindexes[]] :filter[\u003CcurrentTiddler>prefix[$]] +[limit[1]]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"\\\"\\\"\\n\\t\\t\\t\\t\\t\u003C!-- Legacy mode: we render the transclusion without a dollar sign for recursionMarker and mode -->\\n\\t\\t\\t\\t\\t\u003C$genesis $type=\\\"$transclude\\\" $remappable=\\\"no\\\" $names=\\\"[\u003C@params>jsonindexes[]]\\\" $values=\\\"[\u003C@params>jsonindexes[]] :map[\u003C@params>jsonget\u003CcurrentTiddler>]\\\" recursionMarker=\\\"no\\\" mode=\u003C\u003Cmode>> $$fillignore=\\\"yes\\\">\\n\\t\\t\\t\\t\\t\\t\u003C!-- Reach back up to the grandparent transclusion to get the correct slot value -->\\n\\t\\t\\t\\t\\t\\t\u003C$slot $name=\\\"ts-raw\\\"/>\\n\\t\\t\\t\\t\\t\u003C/$genesis>\\n\\t\\t\\t\\t\\\"\\\"\\\">\\n\\t\\t\\t\\t\\t\u003C!-- Non-legacy mode: we use dollar signs for the recursionMarker and mode -->\\n\\t\\t\\t\\t\\t\u003C$genesis $type=\\\"$transclude\\\" $remappable=\\\"no\\\" $names=\\\"[\u003C@params>jsonindexes[]]\\\" $values=\\\"[\u003C@params>jsonindexes[]] :map[\u003C@params>jsonget\u003CcurrentTiddler>]\\\" $$recursionMarker=\\\"no\\\" $$mode=\u003C\u003Cmode>> $$fillignore=\\\"yes\\\">\\n\\t\\t\\t\\t\\t\\t\u003C!-- Reach back up to the grandparent transclusion to get the correct slot fill value -->\\n\\t\\t\\t\\t\\t\\t\u003C$slot $name=\\\"ts-raw\\\"/>\\n\\t\\t\\t\\t\\t\u003C/$genesis>\\n\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\u003C/$genesis>\\n\\t\\t\u003C/$genesis>\\n\\t\u003C/$let>\\n\u003C/$parameters>\\n\\\\end\\n\"},\"$:/core/ui/Components/plugin-info\":{\"title\":\"$:/core/ui/Components/plugin-info\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Plugins/\\n\\n\\\\define popup-state-macro()\\n$(qualified-state)$-$(currentTiddler)$\\n\\\\end\\n\\n\\\\define tabs-state-macro()\\n$(popup-state)$-$(pluginInfoType)$\\n\\\\end\\n\\n\\\\define plugin-icon-title()\\n$(currentTiddler)$/icon\\n\\\\end\\n\\n\\\\define plugin-disable-title()\\n$:/config/Plugins/Disabled/$(currentTiddler)$\\n\\\\end\\n\\n\\\\define plugin-table-body(type,disabledMessage,default-popup-state)\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-toggle\\\">\\n\\t\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003Cpopup-state>> text=\\\"yes\\\" default=\\\"\\\"\\\"$default-popup-state$\\\"\\\"\\\">\\n\\t\\t\u003C$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=\u003C\u003Cpopup-state>> setTo=\\\"yes\\\">\\n\\t\\t\\t{{$:/core/images/chevron-right}}\\n\\t\\t\u003C/$button>\\n\\t\u003C/$reveal>\\n\\t\u003C$reveal type=\\\"match\\\" state=\u003C\u003Cpopup-state>> text=\\\"yes\\\" default=\\\"\\\"\\\"$default-popup-state$\\\"\\\"\\\">\\n\\t\\t\u003C$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=\u003C\u003Cpopup-state>> setTo=\\\"no\\\">\\n\\t\\t\\t{{$:/core/images/chevron-down}}\\n\\t\\t\u003C/$button>\\n\\t\u003C/$reveal>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-icon\\\">\\n\\t\u003C$transclude tiddler=\u003C\u003CcurrentTiddler>> subtiddler=\u003C\u003Cplugin-icon-title>>>\\n\\t\\t\u003C$transclude tiddler=\\\"$:/core/images/plugin-generic-$type$\\\"/>\\n\\t\u003C/$transclude>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-description\\\">\\n\\t\u003Ch1>\\n\\t\\t''\u003C$text text={{{ [\u003CcurrentTiddler>get[name]] ~[\u003CcurrentTiddler>split[/]last[1]] }}}/>'': \u003C$view field=\\\"description\\\">\u003C$view field=\\\"title\\\"/>\u003C/$view> $disabledMessage$\\n\\t\u003C/h1>\\n\\t\u003Ch2>\\n\\t\\t\u003C$view field=\\\"title\\\"/>\\n\\t\u003C/h2>\\n\\t\u003Ch2>\\n\\t\\t\u003Cdiv>\u003Cem>\u003C$view field=\\\"version\\\"/>\u003C/em>\u003C/div>\\n\\t\u003C/h2>\\n\u003C/div>\\n\\\\end\\n\\n\\\\define plugin-info(type,default-popup-state)\\n\\\\whitespace trim\\n\u003C$set name=\\\"popup-state\\\" value=\u003C\u003Cpopup-state-macro>>>\\n\\t\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003Cplugin-disable-title>> text=\\\"yes\\\">\\n\\t\\t\u003C$link to={{!!title}} class=\\\"tc-plugin-info\\\">\\n\\t\\t\\t\u003C\u003Cplugin-table-body type:\\\"$type$\\\" default-popup-state:\\\"\\\"\\\"$default-popup-state$\\\"\\\"\\\">>\\n\\t\\t\u003C/$link>\\n\\t\u003C/$reveal>\\n\\t\u003C$reveal type=\\\"match\\\" state=\u003C\u003Cplugin-disable-title>> text=\\\"yes\\\">\\n\\t\\t\u003C$link to={{!!title}} class=\\\"tc-plugin-info tc-plugin-info-disabled\\\">\\n\\t\\t\\t\u003C\u003Cplugin-table-body type:\\\"$type$\\\" default-popup-state:\\\"\\\"\\\"$default-popup-state$\\\"\\\"\\\" disabledMessage:\\\"\u003C$macrocall $name='lingo' title='Disabled/Status'/>\\\">>\\n\\t\\t\u003C/$link>\\n\\t\u003C/$reveal>\\n\\t\u003C$reveal type=\\\"match\\\" text=\\\"yes\\\" state=\u003C\u003Cpopup-state>> default=\\\"\\\"\\\"$default-popup-state$\\\"\\\"\\\">\\n\\t\\t\u003Cdiv class=\\\"tc-plugin-info-dropdown\\\">\\n\\t\\t\\t\u003Cdiv class=\\\"tc-plugin-info-dropdown-body\\\">\\n\\t\\t\\t\\t\u003C$list filter=\\\"[all[current]] -[[$:/core]]\\\">\\n\\t\\t\\t\\t\\t\u003Cdiv style=\\\"float:right;\\\">\\n\\t\\t\\t\\t\\t\\t\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003Cplugin-disable-title>> text=\\\"yes\\\">\\n\\t\\t\\t\\t\\t\\t\\t\u003C$button set=\u003C\u003Cplugin-disable-title>> setTo=\\\"yes\\\" tooltip={{$:/language/ControlPanel/Plugins/Disable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Disable/Caption}}>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003C\u003Clingo Disable/Caption>>\\n\\t\\t\\t\\t\\t\\t\\t\u003C/$button>\\n\\t\\t\\t\\t\\t\\t\u003C/$reveal>\\n\\t\\t\\t\\t\\t\\t\u003C$reveal type=\\\"match\\\" state=\u003C\u003Cplugin-disable-title>> text=\\\"yes\\\">\\n\\t\\t\\t\\t\\t\\t\\t\u003C$button set=\u003C\u003Cplugin-disable-title>> setTo=\\\"no\\\" tooltip={{$:/language/ControlPanel/Plugins/Enable Hint}} aria-label={{$:/language/ControlPanel/Plugins/Enable/Caption}}>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003C\u003Clingo Enable/Caption>>\\n\\t\\t\\t\\t\\t\\t\\t\u003C/$button>\\n\\t\\t\\t\\t\\t\\t\u003C/$reveal>\\n\\t\\t\\t\\t\\t\u003C/div>\\n\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\u003C$set name=\\\"tabsList\\\" filter=\\\"[\u003CcurrentTiddler>list[]] contents\\\">\\n\\t\\t\\t\\t\\t\u003C$macrocall $name=\\\"tabs\\\" state=\u003C\u003Ctabs-state-macro>> tabsList=\u003C\u003CtabsList>> default={{{ [enlist\u003CtabsList>] }}} template=\\\"$:/core/ui/PluginInfo\\\"/>\\n\\t\\t\\t\\t\u003C/$set>\\n\\t\\t\\t\u003C/div>\\n\\t\\t\u003C/div>\\n\\t\u003C/$reveal>\\n\u003C/$set>\\n\\\\end\\n\\n\u003C$macrocall $name=\\\"plugin-info\\\" type=\u003C\u003Cplugin-type>> default-popup-state=\u003C\u003Cdefault-popup-state>>/>\\n\"},\"$:/core/ui/Components/tag-link\":{\"title\":\"$:/core/ui/Components/tag-link\",\"text\":\"\\\\whitespace trim\\n\u003C$link>\\n\u003C$set name=\\\"backgroundColor\\\" value={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}>\\n\u003Cspan style=\u003C\u003Ctag-styles>> class=\\\"tc-tag-label\\\">\\n\u003C$view field=\\\"title\\\" format=\\\"text\\\"/>\\n\u003C/span>\\n\u003C/$set>\\n\u003C/$link>\"},\"$:/core/ui/ControlPanel/Advanced\":{\"title\":\"$:/core/ui/ControlPanel/Advanced\",\"tags\":\"$:/tags/ControlPanel/Info\",\"caption\":\"{{$:/language/ControlPanel/Advanced/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Advanced/Hint}}\\n\\n\u003Cdiv class=\\\"tc-control-panel\\\">\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/TiddlerFields\\\" explicitState=\\\"$:/state/tab--959111941\\\"/>\\n\u003C/div>\\n\"},\"$:/core/ui/ControlPanel/Appearance\":{\"title\":\"$:/core/ui/ControlPanel/Appearance\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/Appearance/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Appearance/Hint}}\\n\\n\u003Cdiv class=\\\"tc-control-panel\\\">\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Theme\\\" explicitState=\\\"$:/state/tab--1963855381\\\"/>\\n\u003C/div>\\n\"},\"$:/snippets/retain-story-ordering-button\":{\"title\":\"$:/snippets/retain-story-ordering-button\",\"text\":\"\u003C$button set=\\\"$:/DefaultTiddlers\\\" setTo={{$:/config/ControlPanel/Basics/DefaultTiddlers/RetainStory}} >\u003C\u003CcurrentTiddler>>\u003C/$button>\"},\"$:/core/ui/ControlPanel/Basics\":{\"title\":\"$:/core/ui/ControlPanel/Basics\",\"tags\":\"$:/tags/ControlPanel/Info\",\"caption\":\"{{$:/language/ControlPanel/Basics/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Basics/\\n\\n\\\\define show-filter-count(filter)\\n\\\\whitespace trim\\n\u003C$button class=\\\"tc-btn-invisible\\\">\\n\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch\\\" $value=\\\"\\\"\\\"$filter$\\\"\\\"\\\"/>\\n\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" $value=\\\"\\\"\\\"$filter$\\\"\\\"\\\"/>\\n\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/>\\n\u003C$action-setfield $tiddler=\\\"$:/state/tab--1498284803\\\" $value=\\\"$:/core/ui/AdvancedSearch/Filter\\\"/>\\n\u003C$action-navigate $to=\\\"$:/AdvancedSearch\\\"/>\\n\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-advanced-search input\\\"/>\\n''\u003C$count filter=\\\"\\\"\\\"$filter$\\\"\\\"\\\"/>''\\n \\n{{$:/core/images/advanced-search-button}}\\n\u003C/$button>\\n\\\\end\\n\\\\whitespace trim\\n\\n|tc-max-width tc-edit-max-width|k\\n|\u003C\u003Clingo Version/Prompt>> |''\u003C\u003Cversion>>'' |\\n|\u003C$link to=\\\"$:/SiteTitle\\\">\u003C\u003Clingo Title/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/SiteTitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/SiteSubtitle\\\">\u003C\u003Clingo Subtitle/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/SiteSubtitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/status/UserName\\\">\u003C\u003Clingo Username/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/status/UserName\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/config/AnimationDuration\\\">\u003C\u003Clingo AnimDuration/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/config/AnimationDuration\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/DefaultTiddlers\\\">\u003C\u003Clingo DefaultTiddlers/Prompt>>\u003C/$link> |\u003C\u003Clingo DefaultTiddlers/TopHint>>\u003Cbr> \u003C$edit class=\\\"tc-edit-texteditor\\\" tiddler=\\\"$:/DefaultTiddlers\\\"/>\u003Cbr>//\u003C\u003Clingo DefaultTiddlers/BottomHint>>// |\\n|\u003C$link to=\\\"$:/language/DefaultNewTiddlerTitle\\\">\u003C\u003Clingo NewTiddler/Title/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/language/DefaultNewTiddlerTitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/config/NewJournal/Title\\\">\u003C\u003Clingo NewJournal/Title/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/config/NewJournal/Title\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/config/NewJournal/Text\\\">\u003C\u003Clingo NewJournal/Text/Prompt>>\u003C/$link> |\u003C$edit tiddler=\\\"$:/config/NewJournal/Text\\\" class=\\\"tc-edit-texteditor\\\" default=\\\"\\\"/> |\\n|\u003C$link to=\\\"$:/config/NewTiddler/Tags\\\">\u003C\u003Clingo NewTiddler/Tags/Prompt>>\u003C/$link> |\u003C$vars currentTiddler=\\\"$:/config/NewTiddler/Tags\\\" tagField=\\\"text\\\">{{||$:/core/ui/EditTemplate/tags}}\u003C$list filter=\\\"[\u003CcurrentTiddler>tags[]] +[limit[1]]\\\" variable=\\\"ignore\\\">\u003C$button tooltip={{$:/language/ControlPanel/Basics/RemoveTags/Hint}}>\u003C\u003Clingo RemoveTags>>\u003C$action-listops $tiddler=\u003C\u003CcurrentTiddler>> $field=\\\"text\\\" $subfilter={{{ [\u003CcurrentTiddler>get[tags]] }}}/>\u003C$action-setfield $tiddler=\u003C\u003CcurrentTiddler>> tags=\\\"\\\"/>\u003C/$button>\u003C/$list>\u003C/$vars> |\\n|\u003C$link to=\\\"$:/config/NewJournal/Tags\\\">\u003C\u003Clingo NewJournal/Tags/Prompt>>\u003C/$link> |\u003C$vars currentTiddler=\\\"$:/config/NewJournal/Tags\\\" tagField=\\\"text\\\">{{||$:/core/ui/EditTemplate/tags}}\u003C$list filter=\\\"[\u003CcurrentTiddler>tags[]] +[limit[1]]\\\" variable=\\\"ignore\\\">\u003C$button tooltip={{$:/language/ControlPanel/Basics/RemoveTags/Hint}}>\u003C\u003Clingo RemoveTags>>\u003C$action-listops $tiddler=\u003C\u003CcurrentTiddler>> $field=\\\"text\\\" $subfilter={{{ [\u003CcurrentTiddler>get[tags]] }}}/>\u003C$action-setfield $tiddler=\u003C\u003CcurrentTiddler>> tags=\\\"\\\"/>\u003C/$button>\u003C/$list>\u003C/$vars> |\\n|\u003C$link to=\\\"$:/config/AutoFocus\\\">\u003C\u003Clingo AutoFocus/Prompt>>\u003C/$link> |{{$:/snippets/minifocusswitcher}} |\\n|\u003C\u003Clingo Language/Prompt>> |{{$:/snippets/minilanguageswitcher}} |\\n|\u003C\u003Clingo Tiddlers/Prompt>> |\u003C\u003Cshow-filter-count \\\"[!is[system]sort[title]]\\\">> |\\n|\u003C\u003Clingo Tags/Prompt>> |\u003C\u003Cshow-filter-count \\\"[tags[]sort[title]]\\\">> |\\n|\u003C\u003Clingo SystemTiddlers/Prompt>> |\u003C\u003Cshow-filter-count \\\"[is[system]sort[title]]\\\">> |\\n|\u003C\u003Clingo ShadowTiddlers/Prompt>> |\u003C\u003Cshow-filter-count \\\"[all[shadows]sort[title]]\\\">> |\\n|\u003C\u003Clingo OverriddenShadowTiddlers/Prompt>> |\u003C\u003Cshow-filter-count \\\"[is[tiddler]is[shadow]sort[title]]\\\">> |\\n\"},\"$:/core/ui/ControlPanel/EditTemplateBody\":{\"title\":\"$:/core/ui/ControlPanel/EditTemplateBody\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/EditTemplateBody/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/EditTemplateBody/\\n\\n\u003C\u003Clingo Hint>>\\n\\n{{$:/tags/EditTemplateBodyFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/FieldEditor\":{\"title\":\"$:/core/ui/ControlPanel/FieldEditor\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/FieldEditor/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/FieldEditor/\\n\\n\u003C\u003Clingo Hint>>\\n\\n{{$:/tags/FieldEditorFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/StoryTiddler\":{\"title\":\"$:/core/ui/ControlPanel/StoryTiddler\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/StoryTiddler/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/StoryTiddler/\\n\\n\u003C\u003Clingo Hint>>\\n\\n{{$:/tags/StoryTiddlerTemplateFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/TiddlerColour\":{\"title\":\"$:/core/ui/ControlPanel/TiddlerColour\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/TiddlerColour/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/TiddlerColour/\\n\\n\u003C\u003Clingo Hint>>\\n\\n{{$:/tags/TiddlerColourFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/TiddlerIcon\":{\"title\":\"$:/core/ui/ControlPanel/TiddlerIcon\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/TiddlerIcon/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/TiddlerIcon/\\n\\n\u003C\u003Clingo Hint>>\\n\\n{{$:/tags/TiddlerIconFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/ViewTemplateBody\":{\"title\":\"$:/core/ui/ControlPanel/ViewTemplateBody\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/ViewTemplateBody/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/ViewTemplateBody/\\n\\n\u003C\u003Clingo Hint>>\\n\\n{{$:/tags/ViewTemplateBodyFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/ViewTemplateTitle\":{\"title\":\"$:/core/ui/ControlPanel/ViewTemplateTitle\",\"tags\":\"$:/tags/ControlPanel/Cascades\",\"caption\":\"{{$:/language/ControlPanel/ViewTemplateTitle/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/ViewTemplateTitle/\\n\\n\u003C\u003Clingo Hint>>\\n\\n{{$:/tags/ViewTemplateTitleFilter||$:/snippets/ListTaggedCascade}}\\n\"},\"$:/core/ui/ControlPanel/Cascades\":{\"title\":\"$:/core/ui/ControlPanel/Cascades\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/Cascades/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Cascades/Hint}}\\n\\n\u003Cdiv class=\\\"tc-control-panel\\\">\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Cascades]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/StoryTiddler\\\"/>\\n\u003C/div>\\n\"},\"$:/core/ui/ControlPanel/EditorTypes\":{\"title\":\"$:/core/ui/ControlPanel/EditorTypes\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/EditorTypes/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/EditorTypes/\\n\\\\whitespace trim\\n\\n\u003C\u003Clingo Hint>>\\n\\n\u003Ctable>\\n\u003Ctbody>\\n\u003Ctr>\\n\u003Cth>\u003C\u003Clingo Type/Caption>>\u003C/th>\\n\u003Cth>\u003C\u003Clingo Editor/Caption>>\u003C/th>\\n\u003C/tr>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]prefix[$:/config/EditorTypeMappings/]sort[title]]\\\">\\n\u003Ctr>\\n\u003Ctd>\\n\u003C$link>\\n\u003C$list filter=\\\"[all[current]removeprefix[$:/config/EditorTypeMappings/]]\\\">\\n\u003C$text text={{!!title}}/>\\n\u003C/$list>\\n\u003C/$link>\\n\u003C/td>\\n\u003Ctd>\\n\u003C$view field=\\\"text\\\"/>\\n\u003C/td>\\n\u003C/tr>\\n\u003C/$list>\\n\u003C/tbody>\\n\u003C/table>\\n\"},\"$:/core/ui/ControlPanel/Info\":{\"title\":\"$:/core/ui/ControlPanel/Info\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/Info/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Info/Hint}}\\n\\n\u003Cdiv class=\\\"tc-control-panel\\\">\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Info]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Basics\\\" explicitState=\\\"$:/state/tab--2112689675\\\"/>\\n\u003C/div>\\n\"},\"$:/core/ui/ControlPanel/KeyboardShortcuts\":{\"title\":\"$:/core/ui/ControlPanel/KeyboardShortcuts\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/KeyboardShortcuts/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/KeyboardShortcuts/\\n\\n\\\\define new-shortcut(title)\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-dropdown-item-plain\\\">\\n\u003C$edit-shortcut tiddler=\\\"$title$\\\" placeholder={{$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt}} focus=\\\"true\\\" style=\\\"width:auto;\\\"/>\\n \\n\u003C$button>\\n\u003C\u003Clingo Add/Caption>>\\n\u003C$action-listops\\n\\t$tiddler=\\\"$(shortcutTitle)$\\\"\\n\\t$field=\\\"text\\\"\\n\\t$subfilter=\\\"[{$title$}]\\\"\\n/>\\n\u003C$action-deletetiddler\\n\\t$tiddler=\\\"$title$\\\"\\n/>\\n\u003C/$button>\\n\u003C/div>\\n\\\\end\\n\\n\\\\define shortcut-list-item(caption)\\n\\\\whitespace trim\\n\u003Ctd>\\n\u003C/td>\\n\u003Ctd style=\\\"text-align:right;font-size:0.7em;\\\">\\n\u003C\u003Clingo Platform/$caption$>>\\n\u003C/td>\\n\u003Ctd>\\n\u003Cdiv style=\\\"position:relative;\\\">\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/dropdown/$(shortcutTitle)$\\\">> class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/edit-button}}\\n\u003C/$button>\\n \\n\u003C$macrocall $name=\\\"displayshortcuts\\\" $output=\\\"text/html\\\" shortcuts={{$(shortcutTitle)$}} prefix=\\\"\u003Ckbd>\\\" separator=\\\"\u003C/kbd> \u003Ckbd>\\\" suffix=\\\"\u003C/kbd>\\\"/>\\n\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/dropdown/$(shortcutTitle)$\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n\u003Cdiv class=\\\"tc-block-dropdown-wrapper\\\">\\n\u003Cdiv class=\\\"tc-block-dropdown tc-edit-type-dropdown tc-popup-keep\\\">\\n\u003C$list\\n\\tfilter=\\\"[list[$(shortcutTitle)$!!text]sort[title]]\\\"\\n\\tvariable=\\\"shortcut\\\"\\n\\temptyMessage=\\\"\u003Cdiv class='tc-dropdown-item-plain'>//\u003C\u003Clingo NoShortcuts/Caption>>//\u003C/div>\\\">\\n\u003Cdiv class=\\\"tc-dropdown-item-plain\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\" tooltip={{$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint}}>\\n\u003C$action-listops\\n\\t$tiddler=\\\"$(shortcutTitle)$\\\"\\n\\t$field=\\\"text\\\"\\n\\t$subfilter=\\\"+[remove\u003Cshortcut>]\\\"\\n/>\\n\u003Csmall>{{$:/core/images/close-button}}\u003C/small>\\n\u003C/$button>\\n \\n\u003Ckbd>\\n\u003C$macrocall $name=\\\"displayshortcuts\\\" $output=\\\"text/html\\\" shortcuts=\u003C\u003Cshortcut>>/>\\n\u003C/kbd>\\n\u003C/div>\\n\u003C/$list>\\n\u003Chr/>\\n\u003C$macrocall $name=\\\"new-shortcut\\\" title=\u003C\u003Cqualify \\\"$:/state/new-shortcut/$(shortcutTitle)$\\\">>/>\\n\u003C/div>\\n\u003C/div>\\n\u003C/$reveal>\\n\u003C/div>\\n\u003C/td>\\n\\\\end\\n\\n\\\\define shortcut-list(caption,prefix)\\n\\\\whitespace trim\\n\u003Ctr>\\n\u003C$list filter=\\\"[[$prefix$$(shortcutName)$]]\\\" variable=\\\"shortcutTitle\\\">\\n\u003C\u003Cshortcut-list-item \\\"$caption$\\\">>\\n\u003C/$list>\\n\u003C/tr>\\n\\\\end\\n\\n\\\\define shortcut-editor()\\n\\\\whitespace trim\\n\u003C\u003Cshortcut-list \\\"All\\\" \\\"$:/config/shortcuts/\\\">> \\n\u003C\u003Cshortcut-list \\\"Mac\\\" \\\"$:/config/shortcuts-mac/\\\">>\\n\u003C\u003Cshortcut-list \\\"NonMac\\\" \\\"$:/config/shortcuts-not-mac/\\\">>\\n\u003C\u003Cshortcut-list \\\"Linux\\\" \\\"$:/config/shortcuts-linux/\\\">>\\n\u003C\u003Cshortcut-list \\\"NonLinux\\\" \\\"$:/config/shortcuts-not-linux/\\\">>\\n\u003C\u003Cshortcut-list \\\"Windows\\\" \\\"$:/config/shortcuts-windows/\\\">>\\n\u003C\u003Cshortcut-list \\\"NonWindows\\\" \\\"$:/config/shortcuts-not-windows/\\\">>\\n\\\\end\\n\\n\\\\define shortcut-preview()\\n\u003C$macrocall $name=\\\"displayshortcuts\\\" $output=\\\"text/html\\\" shortcuts={{$(shortcutPrefix)$$(shortcutName)$}} prefix=\\\"\u003Ckbd>\\\" separator=\\\"\u003C/kbd> \u003Ckbd>\\\" suffix=\\\"\u003C/kbd>\\\"/>\\n\\\\end\\n\\n\\\\define shortcut-item-inner()\\n\\\\whitespace trim\\n\u003Ctr>\\n\u003Ctd>\\n\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003CdropdownStateTitle>> text=\\\"open\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\">\\n\u003C$action-setfield\\n\\t$tiddler=\u003C\u003CdropdownStateTitle>>\\n\\t$value=\\\"open\\\"\\n/>\\n{{$:/core/images/right-arrow}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003CdropdownStateTitle>> text=\\\"open\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\">\\n\u003C$action-setfield\\n\\t$tiddler=\u003C\u003CdropdownStateTitle>>\\n\\t$value=\\\"close\\\"\\n/>\\n{{$:/core/images/down-arrow}}\\n\u003C/$button>\\n\u003C/$reveal>\\n \\n''\u003C$text text=\u003C\u003CshortcutName>>/>''\\n\u003C/td>\\n\u003Ctd>\\n\u003C$transclude tiddler=\\\"$:/config/ShortcutInfo/$(shortcutName)$\\\"/>\\n\u003C/td>\\n\u003Ctd>\\n\u003C$list filter=\\\"$:/config/shortcuts/ $:/config/shortcuts-mac/ $:/config/shortcuts-not-mac/ $:/config/shortcuts-linux/ $:/config/shortcuts-not-linux/ $:/config/shortcuts-windows/ $:/config/shortcuts-not-windows/\\\" variable=\\\"shortcutPrefix\\\">\\n\u003C\u003Cshortcut-preview>>\\n\u003C/$list>\\n\u003C/td>\\n\u003C/tr>\\n\u003C$set name=\\\"dropdownState\\\" value={{$(dropdownStateTitle)$}}>\\n\u003C$list filter=\\\"[\u003CdropdownState>match[open]]\\\" variable=\\\"listItem\\\">\\n\u003C\u003Cshortcut-editor>>\\n\u003C/$list>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define shortcut-item()\\n\\\\whitespace trim\\n\u003C$set name=\\\"dropdownStateTitle\\\" value=\u003C\u003Cqualify \\\"$:/state/dropdown/keyboardshortcut/$(shortcutName)$\\\">>>\\n\u003C\u003Cshortcut-item-inner>>\\n\u003C/$set>\\n\\\\end\\n\\\\whitespace trim\\n\\n\u003Ctable>\\n\u003Ctbody>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]removeprefix[$:/config/ShortcutInfo/]]\\\" variable=\\\"shortcutName\\\">\\n\u003C\u003Cshortcut-item>>\\n\u003C/$list>\\n\u003C/tbody>\\n\u003C/table>\\n\"},\"$:/core/ui/ControlPanel/LoadedModules\":{\"title\":\"$:/core/ui/ControlPanel/LoadedModules\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/LoadedModules/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/\\n\u003C\u003Clingo LoadedModules/Hint>>\\n\\n{{$:/snippets/modules}}\\n\"},\"$:/core/ui/ControlPanel/Modals/AddPlugins\":{\"title\":\"$:/core/ui/ControlPanel/Modals/AddPlugins\",\"subtitle\":\"{{$:/core/images/download-button}} {{$:/language/ControlPanel/Plugins/Add/Caption}}\",\"text\":\"\\\\define install-plugin-actions()\\n\\\\whitespace trim\\n\u003C$action-sendmessage $message=\\\"tm-load-plugin-from-library\\\" url={{!!url}} title={{$(assetInfo)$!!original-title}}/>\\n\u003C$set name=\\\"url\\\" value={{!!url}}>\\n\u003C$set name=\\\"currentTiddler\\\" value=\u003C\u003CassetInfo>>>\\n\u003C$list filter=\\\"[enlist{!!dependents}] [{!!parent-plugin}] +[sort[name]]\\\" variable=\\\"dependency\\\">\\n\u003C$action-sendmessage $message=\\\"tm-load-plugin-from-library\\\" url=\u003C\u003Curl>> title=\u003C\u003Cdependency>>/>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define install-plugin-button()\\n\\\\whitespace trim\\n\u003Cdiv>\\n\u003C$set name=\\\"libraryVersion\\\" value={{{ [\u003CassetInfo>get[version]] }}}>\\n\u003C$set name=\\\"installedVersion\\\" value={{{ [\u003CassetInfo>get[original-title]get[version]] }}}>\\n\u003C$set name=\\\"reinstall-type\\\" value={{{ [\u003ClibraryVersion>compare:version:eq\u003CinstalledVersion>then[tc-reinstall]] [\u003ClibraryVersion>compare:version:gt\u003CinstalledVersion>then[tc-reinstall-upgrade]] [\u003ClibraryVersion>compare:version:lt\u003CinstalledVersion>then[tc-reinstall-downgrade]] }}}>\\n\u003C$button actions=\u003C\u003Cinstall-plugin-actions>> class={{{ [\u003CassetInfo>get[original-title]has[version]then\u003Creinstall-type>] tc-btn-invisible tc-install-plugin +[join[ ]] }}}>\\n{{$:/core/images/download-button}}\\n \\n\u003C$list filter=\\\"[\u003CassetInfo>get[original-title]get[version]]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"{{$:/language/ControlPanel/Plugins/Install/Caption}}\\\">\\n\u003C$list filter=\\\"[\u003ClibraryVersion>compare:version:gt\u003CinstalledVersion>]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"\\n\\\\whitespace trim\\n\u003C$list filter='[\u003ClibraryVersion>compare:version:lt\u003CinstalledVersion>]' variable='ignore' emptyMessage='{{$:/language/ControlPanel/Plugins/Reinstall/Caption}}'>\\n{{$:/language/ControlPanel/Plugins/Downgrade/Caption}}\\n\u003C/$list>\\n\\\">\\n{{$:/language/ControlPanel/Plugins/Update/Caption}}\\n\u003C/$list>\\n\u003C/$list>\\n\u003C/$button>\\n\u003Cdiv>\\n\u003C/div>\\n\u003C$reveal stateTitle=\u003C\u003CassetInfo>> stateField=\\\"requires-reload\\\" type=\\\"match\\\" text=\\\"yes\\\">{{$:/language/ControlPanel/Plugins/PluginWillRequireReload}}\u003C/$reveal>\\n\u003C/$set>\\n\u003C/$set>\\n\u003C/$set>\\n\u003C/div>\\n\\\\end\\n\\n\\\\define popup-state-macro()\\n$:/state/add-plugin-info/$(connectionTiddler)$/$(assetInfo)$\\n\\\\end\\n\\n\\\\define display-plugin-info(type)\\n\\\\whitespace trim\\n\u003C$set name=\\\"popup-state\\\" value=\u003C\u003Cpopup-state-macro>>>\\n\u003Cdiv class=\\\"tc-plugin-info\\\">\\n\u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-toggle\\\">\\n\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003Cpopup-state>> text=\\\"yes\\\">\\n\u003C$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=\u003C\u003Cpopup-state>> setTo=\\\"yes\\\">\\n{{$:/core/images/chevron-right}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003Cpopup-state>> text=\\\"yes\\\">\\n\u003C$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=\u003C\u003Cpopup-state>> setTo=\\\"no\\\">\\n{{$:/core/images/chevron-down}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-icon\\\">\\n\u003C$list filter=\\\"[\u003CassetInfo>has[icon]]\\\" emptyMessage=\\\"\\\"\\\"\u003C$transclude tiddler=\\\"$:/core/images/plugin-generic-$type$\\\"/>\\\"\\\"\\\">\\n\u003Cimg src={{$(assetInfo)$!!icon}}/>\\n\u003C/$list>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-description\\\">\\n\u003Ch1>\u003Cstrong>\u003C$text text={{{ [\u003CassetInfo>get[name]] ~[\u003CassetInfo>get[original-title]split[/]last[1]] }}}/>\u003C/strong>:\\n \\n\u003C$view tiddler=\u003C\u003CassetInfo>> field=\\\"description\\\"/>\u003C/h1>\\n\u003Ch2>\u003C$view tiddler=\u003C\u003CassetInfo>> field=\\\"original-title\\\"/>\u003C/h2>\\n\u003Cdiv>\u003Cem>\u003C$view tiddler=\u003C\u003CassetInfo>> field=\\\"version\\\"/>\u003C/em>\u003C/div>\\n\u003C$list filter=\\\"[\u003CassetInfo>get[original-title]get[version]]\\\" variable=\\\"installedVersion\\\">\u003Cdiv>\u003Cem>{{$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint}}\u003C/em>\u003C/div>\u003C/$list>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-buttons\\\">\\n\u003C\u003Cinstall-plugin-button>>\\n\u003C/div>\\n\u003C/div>\\n\u003C$set name=\\\"original-title\\\" value={{{ [\u003CassetInfo>get[original-title]] }}}>\\n\u003C$reveal type=\\\"match\\\" text=\\\"yes\\\" state=\u003C\u003Cpopup-state>>>\\n\u003Cdiv class=\\\"tc-plugin-info-dropdown\\\">\\n\u003C$list filter=\\\"[enlist{!!dependents}] [\u003CcurrentTiddler>get[parent-plugin]] +[limit[1]] ~[\u003CassetInfo>get[original-title]!is[tiddler]]\\\" variable=\\\"ignore\\\">\\n\u003Cdiv class=\\\"tc-plugin-info-dropdown-message\\\">\\n\u003C$list filter=\\\"[\u003CassetInfo>get[original-title]!is[tiddler]]\\\">\\n{{$:/language/ControlPanel/Plugins/NotInstalled/Hint}}\\n\u003C/$list>\\n\u003C$set name=\\\"currentTiddler\\\" value=\u003C\u003CassetInfo>>>\\n\u003C$list filter=\\\"[enlist{!!dependents}] [\u003CcurrentTiddler>get[parent-plugin]] +[limit[1]]\\\" variable=\\\"ignore\\\">\\n\u003Cdiv>\\n{{$:/language/ControlPanel/Plugins/AlsoRequires}} \\n\u003C$list filter=\\\"[enlist{!!dependents}] [{!!parent-plugin}] +[sort[name]]\\\" variable=\\\"dependency\\\">\\n\u003C$text text=\u003C\u003Cdependency>>/> \\n\u003C/$list>\\n\u003C/div>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/div>\\n\u003C/$list>\\n\u003Cdiv class=\\\"tc-plugin-info-dropdown-body\\\">\\n\u003C$transclude tiddler=\u003C\u003CassetInfo>> field=\\\"readme\\\" mode=\\\"block\\\"/>\\n\u003C/div>\\n\u003C$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[$type$]has[parent-plugin]parent-plugin\u003Coriginal-title>limit[1]]\\\" variable=\\\"ignore\\\">\\n\u003Cdiv class=\\\"tc-plugin-info-sub-plugins\\\">\\n\u003C$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[$type$]has[parent-plugin]parent-plugin\u003Coriginal-title>sort[name]]\\\" variable=\\\"assetInfo\\\">\\n\u003C\u003Cdisplay-plugin-info \\\"$type$\\\">>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$reveal>\\n\u003C$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[$type$]has[parent-plugin]parent-plugin\u003Coriginal-title>limit[1]]\\\" variable=\\\"ignore\\\">\\n\u003C$reveal type=\\\"nomatch\\\" text=\\\"yes\\\" state=\u003C\u003Cpopup-state>> tag=\\\"div\\\" class=\\\"tc-plugin-info-sub-plugin-indicator\\\">\\n\u003C$wikify name=\\\"count\\\" text=\\\"\\\"\\\"\u003C$count filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[$type$]has[parent-plugin]parent-plugin\u003Coriginal-title>]\\\"/>\\\"\\\"\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\" set=\u003C\u003Cpopup-state>> setTo=\\\"yes\\\">\\n{{$:/language/ControlPanel/Plugins/SubPluginPrompt}}\\n\u003C/$button>\\n\u003C/$wikify>\\n\u003C/$reveal>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define load-plugin-library-button()\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[\u003CcurrentTiddler>get[enabled]else[yes]match[yes]]\\\" variable=\\\"ignore\\\">\\n\u003C$button class=\\\"tc-btn-big-green\\\">\\n\u003C$action-sendmessage $message=\\\"tm-load-plugin-library\\\" url={{!!url}} infoTitlePrefix=\\\"$:/temp/RemoteAssetInfo/\\\"/>\\n{{$:/core/images/chevron-right}} {{$:/language/ControlPanel/Plugins/OpenPluginLibrary}}\\n\u003C/$button>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define display-server-assets(type)\\n\\\\whitespace trim\\n{{$:/language/Search/Search}}:\\n \\n\u003C$edit-text tiddler=\\\"\\\"\\\"$:/temp/RemoteAssetSearch/$(currentTiddler)$\\\"\\\"\\\" default=\\\"\\\" type=\\\"search\\\" tag=\\\"input\\\"/>\\n \\n\u003C$reveal state=\\\"\\\"\\\"$:/temp/RemoteAssetSearch/$(currentTiddler)$\\\"\\\"\\\" type=\\\"nomatch\\\" text=\\\"\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\">\\n\u003C$action-setfield $tiddler=\\\"\\\"\\\"$:/temp/RemoteAssetSearch/$(currentTiddler)$\\\"\\\"\\\" $field=\\\"text\\\" $value=\\\"\\\"/>\\n{{$:/core/images/close-button}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003Cdiv class=\\\"tc-plugin-library-listing\\\">\\n\u003C$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[$type$]search:author,description,original-title,readme,title{$:/temp/RemoteAssetSearch/$(currentTiddler)$}sort[name]]\\\" variable=\\\"assetInfo\\\">\\n\u003C$list filter=\\\"[[$:/temp/RemoteAssetSearch/$(currentTiddler)$]has[text]] ~[\u003CassetInfo>!has[parent-plugin]]\\\" variable=\\\"ignore\\\">\u003C!-- Hide sub-plugins if we're not searching -->\\n\u003C\u003Cdisplay-plugin-info \\\"$type$\\\">>\\n\u003C/$list>\\n\u003C/$list>\\n\u003C/div>\\n\\\\end\\n\\n\\\\define display-server-connection()\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/ServerConnection]suffix{!!url}]\\\" variable=\\\"connectionTiddler\\\" emptyMessage=\u003C\u003Cload-plugin-library-button>>>\\n\\n\u003C$set name=\\\"transclusion\\\" value=\u003C\u003CconnectionTiddler>>>\\n\\n\u003C\u003Ctabs \\\"[[$:/core/ui/ControlPanel/Plugins/Add/Updates]] [[$:/core/ui/ControlPanel/Plugins/Add/Plugins]] [[$:/core/ui/ControlPanel/Plugins/Add/Themes]] [[$:/core/ui/ControlPanel/Plugins/Add/Languages]]\\\" \\\"$:/core/ui/ControlPanel/Plugins/Add/Plugins\\\">>\\n\\n\u003C/$set>\\n\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define close-library-button()\\n\\\\whitespace trim\\n\u003C$reveal type='nomatch' state='$:/temp/ServerConnection/$(PluginLibraryURL)$' text=''>\\n\u003C$button class='tc-btn-big-green'>\\n\u003C$action-sendmessage $message=\\\"tm-unload-plugin-library\\\" url={{!!url}}/>\\n{{$:/core/images/chevron-left}} {{$:/language/ControlPanel/Plugins/ClosePluginLibrary}}\\n\u003C$action-deletetiddler $filter=\\\"[prefix[$:/temp/ServerConnection/$(PluginLibraryURL)$]][prefix[$:/temp/RemoteAssetInfo/$(PluginLibraryURL)$]]\\\"/>\\n\u003C/$button>\\n\u003C/$reveal>\\n\\\\end\\n\\n\\\\define plugin-library-listing()\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-tab-set\\\">\\n\u003C$set name=\\\"defaultTab\\\" value={{{ [all[tiddlers+shadows]tag[$:/tags/PluginLibrary]] }}}>\\n\u003Cdiv class=\\\"tc-tab-buttons\\\">\\n\u003C$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/PluginLibrary]]\\\">\\n\u003C$button set=\u003C\u003Cqualify \\\"$:/state/addplugins/tab\\\">> setTo=\u003C\u003CcurrentTiddler>> default=\u003C\u003CdefaultTab>> selectedClass=\\\"tc-tab-selected\\\">\\n\u003C$set name=\\\"tv-wikilinks\\\" value=\\\"no\\\">\\n\u003C$transclude field=\\\"caption\\\"/>\\n\u003C/$set>\\n\u003C/$button>\\n\u003C/$list>\\n\u003C/div>\\n\u003Cdiv class=\\\"tc-tab-divider\\\"/>\\n\u003Cdiv class=\\\"tc-tab-content\\\">\\n\u003C$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/PluginLibrary]]\\\">\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003Cqualify \\\"$:/state/addplugins/tab\\\">> text=\u003C\u003CcurrentTiddler>> default=\u003C\u003CdefaultTab>>>\\n\u003Ch2>\u003C$link>\u003C$transclude field=\\\"caption\\\">\u003C$view field=\\\"title\\\"/>\u003C/$transclude>\u003C/$link>\u003C/h2>\\n//\u003C$view field=\\\"url\\\"/>//\\n\u003C$transclude mode=\\\"block\\\"/>\\n\u003C$set name=PluginLibraryURL value={{!!url}}>\\n\u003C\u003Cclose-library-button>>\\n\u003C/$set>\\n \\n\u003C\u003Cdisplay-server-connection>>\\n\u003C/$reveal>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$set>\\n\u003C/div>\\n\\\\end\\n\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\\\whitespace trim\\n\\n\u003Cdiv>\\n\u003C\u003Cplugin-library-listing>>\\n\u003C/div>\\n\"},\"$:/core/ui/ControlPanel/Palette\":{\"title\":\"$:/core/ui/ControlPanel/Palette\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ControlPanel/Palette/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Palette/\\n\\n{{$:/snippets/paletteswitcher}}\\n\\n\u003C$reveal type=\\\"nomatch\\\" state=\\\"$:/state/ShowPaletteEditor\\\" text=\\\"yes\\\">\\n\\n\u003C$button set=\\\"$:/state/ShowPaletteEditor\\\" setTo=\\\"yes\\\">\u003C\u003Clingo ShowEditor/Caption>>\u003C/$button>\\n\\n\u003C/$reveal>\\n\\n\u003C$reveal type=\\\"match\\\" state=\\\"$:/state/ShowPaletteEditor\\\" text=\\\"yes\\\">\\n\\n\u003C$button set=\\\"$:/state/ShowPaletteEditor\\\" setTo=\\\"no\\\">\u003C\u003Clingo HideEditor/Caption>>\u003C/$button>\\n{{$:/PaletteManager}}\\n\\n\u003C/$reveal>\\n\\n\"},\"$:/core/ui/ControlPanel/Parsing\":{\"title\":\"$:/core/ui/ControlPanel/Parsing\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/Parsing/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Parsing/\\n\\n\\\\define toggle(Type)\\n\\\\whitespace trim\\n\u003C$checkbox\\ntiddler=\\\"\\\"\\\"$:/config/WikiParserRules/$Type$/$(rule)$\\\"\\\"\\\"\\nfield=\\\"text\\\"\\nchecked=\\\"enable\\\"\\nunchecked=\\\"disable\\\"\\ndefault=\\\"enable\\\">\\n\u003Cspan class=\\\"tc-small-gap-left\\\">\u003C\u003Crule>>\u003C/span>\\n\u003C/$checkbox>\\n\\\\end\\n\\n\\\\define rules(type,Type)\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[wikiparserrules[$type$]]\\\" variable=\\\"rule\\\">\\n\u003Cdd>\u003C\u003Ctoggle $Type$>>\u003C/dd>\\n\u003C/$list>\\n\\\\end\\n\\\\whitespace trim\\n\\n\u003C\u003Clingo Hint>>\\n\\n\u003Cdl>\\n\u003Cdt>\u003C\u003Clingo Pragma/Caption>>\u003C/dt>\\n\u003C\u003Crules pragma Pragma>>\\n\u003Cdt>\u003C\u003Clingo Inline/Caption>>\u003C/dt>\\n\u003C\u003Crules inline Inline>>\\n\u003Cdt>\u003C\u003Clingo Block/Caption>>\u003C/dt>\\n\u003C\u003Crules block Block>>\\n\u003C/dl>\"},\"$:/core/ui/ControlPanel/Plugins/Add/Languages\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Add/Languages\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Languages/Caption}} (\u003C$count filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[language]]\\\"/>)\",\"text\":\"\u003C\u003Cdisplay-server-assets language>>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Add/Plugins\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Add/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Plugins/Caption}} (\u003C$count filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[plugin]]\\\"/>)\",\"text\":\"\u003C\u003Cdisplay-server-assets plugin>>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Add/Themes\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Add/Themes\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Themes/Caption}} (\u003C$count filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[theme]]\\\"/>)\",\"text\":\"\u003C\u003Cdisplay-server-assets theme>>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Add/Updates\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Add/Updates\",\"caption\":\"\u003C$importvariables filter=\\\"$:/core/ui/ControlPanel/Plugins/Add/Updates\\\">{{$:/language/ControlPanel/Plugins/Updates/Caption}} (\u003C\u003Cupdate-count>>)\u003C/$importvariables>\",\"text\":\"\\\\define each-updateable-plugin(body)\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}sort[title]]\\\" variable=\\\"assetInfo\\\">\\n\u003C$set name=\\\"libraryVersion\\\" value={{{ [\u003CassetInfo>get[version]] }}}>\\n\u003C$list filter=\\\"[\u003CassetInfo>get[original-title]has[version]!version\u003ClibraryVersion>]\\\" variable=\\\"ignore\\\">\\n\u003C$set name=\\\"installedVersion\\\" value={{{ [\u003CassetInfo>get[original-title]get[version]] }}}>\\n\u003C$list filter=\\\"[\u003Cinstalledversion>!match\u003ClibraryVersion>]\\\" variable=\\\"ignore\\\">\\n$body$\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define update-all-actions()\\n\u003C$macrocall $name=\\\"each-updateable-plugin\\\" body=\\\"\\\"\\\"\\n\u003C\u003Cinstall-plugin-actions>>\\n\\\"\\\"\\\"/>\\n\\\\end\\n\\n\\\\define update-count()\\n\u003C$wikify name=\\\"count-filter\\\" text=\u003C\u003Ceach-updateable-plugin \\\"[[\u003C$text text=\u003C\u003CassetInfo>>/>]]\\\">>>\u003C$count filter=\u003C\u003Ccount-filter>>/>\u003C/$wikify>\\n\\\\end\\n\\n\\\\whitespace trim\\n\u003C$button actions=\u003C\u003Cupdate-all-actions>> class=\\\"tc-btn-invisible tc-install-plugin tc-reinstall-upgrade\\\">\\n{{$:/core/images/download-button}}\\n \\n{{||$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption}}\\n\u003C/$button>\\n\\n\u003Cdiv class=\\\"tc-plugin-library-listing\\\">\\n\u003C$macrocall $name=\\\"each-updateable-plugin\\\" body=\\\"\\\"\\\"\\n\u003C$macrocall $name=\\\"display-plugin-info\\\" type={{{ [\u003CassetInfo>get[original-plugin-type]] }}}/>\\n\\\"\\\"\\\"/>\\n\u003C/div>\\n\"},\"$:/core/ui/ControlPanel/Plugins/AddPlugins\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/AddPlugins\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Plugins/\\n\\\\whitespace trim\\n\\n\u003C$button message=\\\"tm-modal\\\" param=\\\"$:/core/ui/ControlPanel/Modals/AddPlugins\\\" tooltip={{$:/language/ControlPanel/Plugins/Add/Hint}} class=\\\"tc-btn-big-green tc-primary-btn\\\">\\n{{$:/core/images/download-button}}\\n \\n\u003C\u003Clingo Add/Caption>>\\n\u003C/$button>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Installed/Languages\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Installed/Languages\",\"tags\":\"$:/tags/ControlPanel/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Languages/Caption}} (\u003C$count filter=\\\"[!has[draft.of]plugin-type[language]]\\\"/>)\",\"text\":\"\u003C\u003Cplugin-table language>>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Installed/Plugins\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Installed/Plugins\",\"tags\":\"$:/tags/ControlPanel/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Plugins/Caption}} (\u003C$count filter=\\\"[!has[draft.of]plugin-type[plugin]]\\\"/>)\",\"text\":\"\u003C\u003Cplugin-table plugin>>\\n\"},\"$:/core/ui/ControlPanel/Plugins/Installed/Themes\":{\"title\":\"$:/core/ui/ControlPanel/Plugins/Installed/Themes\",\"tags\":\"$:/tags/ControlPanel/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Themes/Caption}} (\u003C$count filter=\\\"[!has[draft.of]plugin-type[theme]]\\\"/>)\",\"text\":\"\u003C\u003Cplugin-table theme>>\\n\"},\"$:/core/ui/ControlPanel/Plugins\":{\"title\":\"$:/core/ui/ControlPanel/Plugins\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Plugins/\\n\\n\\\\define plugin-table(type)\\n\\\\whitespace trim\\n\u003C$set name=\\\"plugin-type\\\" value=\\\"\\\"\\\"$type$\\\"\\\"\\\">\\n\u003C$set name=\\\"qualified-state\\\" value=\u003C\u003Cqualify \\\"$:/state/plugin-info\\\">>>\\n\u003C$list filter=\\\"[!has[draft.of]plugin-type[$type$]sort[name]]\\\" emptyMessage=\u003C\u003Clingo \\\"Empty/Hint\\\">> template=\\\"$:/core/ui/Components/plugin-info\\\"/>\\n\u003C/$set>\\n\u003C/$set>\\n\\\\end\\n\\n{{$:/core/ui/ControlPanel/Plugins/AddPlugins}}\\n\\n\u003C\u003Clingo Installed/Hint>>\\n\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[tiddlers+shadows]tag[$:/tags/ControlPanel/Plugins]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Plugins/Installed/Plugins\\\" explicitState=\\\"$:/state/tab--86143343\\\"/>\\n\"},\"$:/core/ui/ControlPanel/Saving/DownloadSaver\":{\"title\":\"$:/core/ui/ControlPanel/Saving/DownloadSaver\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/DownloadSaver/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Saving/DownloadSaver/\\n\\n\u003C\u003Clingo Hint>>\\n\\n!! \u003C$link to=\\\"$:/config/DownloadSaver/AutoSave\\\">\u003C\u003Clingo AutoSave/Hint>>\u003C/$link>\\n\\n\u003C$checkbox tiddler=\\\"$:/config/DownloadSaver/AutoSave\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\"> \u003C\u003Clingo AutoSave/Description>> \u003C/$checkbox>\\n\"},\"$:/core/ui/ControlPanel/Saving/General\":{\"title\":\"$:/core/ui/ControlPanel/Saving/General\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/General/Caption}}\",\"list-before\":\"\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/\\n\\n{{$:/language/ControlPanel/Saving/General/Hint}}\\n\\n!! \u003C$link to=\\\"$:/config/AutoSave\\\">\u003C\u003Clingo AutoSave/Caption>>\u003C/$link>\\n\\n\u003C\u003Clingo AutoSave/Hint>>\\n\\n\u003C$radio tiddler=\\\"$:/config/AutoSave\\\" value=\\\"yes\\\"> \u003C\u003Clingo AutoSave/Enabled/Description>> \u003C/$radio>\\n\\n\u003C$radio tiddler=\\\"$:/config/AutoSave\\\" value=\\\"no\\\"> \u003C\u003Clingo AutoSave/Disabled/Description>> \u003C/$radio>\\n\"},\"$:/core/ui/ControlPanel/Saving/GitHub\":{\"title\":\"$:/core/ui/ControlPanel/Saving/GitHub\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/GitService/GitHub/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Saving/GitService/\\n\\\\define service-name() ~GitHub\\n\\n\u003C\u003Clingo Description>>\\n\\n|\u003C\u003Clingo UserName>> |\u003C$edit-text tiddler=\\\"$:/GitHub/Username\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo GitHub/Password>> |\u003C$password name=\\\"github\\\"/> |\\n|\u003C\u003Clingo Repo>> |\u003C$edit-text tiddler=\\\"$:/GitHub/Repo\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Branch>> |\u003C$edit-text tiddler=\\\"$:/GitHub/Branch\\\" default=\\\"main\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Path>> |\u003C$edit-text tiddler=\\\"$:/GitHub/Path\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Filename>> |\u003C$edit-text tiddler=\\\"$:/GitHub/Filename\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo ServerURL>> |\u003C$edit-text tiddler=\\\"$:/GitHub/ServerURL\\\" default=\\\"https://api.github.com\\\" tag=\\\"input\\\"/> |\"},\"$:/core/ui/ControlPanel/Saving/GitLab\":{\"title\":\"$:/core/ui/ControlPanel/Saving/GitLab\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/GitService/GitLab/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Saving/GitService/\\n\\\\define service-name() ~GitLab\\n\\n\u003C\u003Clingo Description>>\\n\\n|\u003C\u003Clingo UserName>> |\u003C$edit-text tiddler=\\\"$:/GitLab/Username\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo GitLab/Password>> |\u003C$password name=\\\"gitlab\\\"/> |\\n|\u003C\u003Clingo Repo>> |\u003C$edit-text tiddler=\\\"$:/GitLab/Repo\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Branch>> |\u003C$edit-text tiddler=\\\"$:/GitLab/Branch\\\" default=\\\"master\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Path>> |\u003C$edit-text tiddler=\\\"$:/GitLab/Path\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Filename>> |\u003C$edit-text tiddler=\\\"$:/GitLab/Filename\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo ServerURL>> |\u003C$edit-text tiddler=\\\"$:/GitLab/ServerURL\\\" default=\\\"https://gitlab.com/api/v4\\\" tag=\\\"input\\\"/> |\"},\"$:/core/ui/ControlPanel/Saving/TiddlySpot\":{\"title\":\"$:/core/ui/ControlPanel/Saving/TiddlySpot\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/TiddlySpot/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Saving/TiddlySpot/\\n\\n\\\\define siteURL(path)\\nhttp://$(userName)$.tiddlyspot.com/$path$/\\n\\\\end\\n\\\\define siteLink(path)\\n\\\\whitespace trim\\n\u003C$reveal type=\\\"nomatch\\\" state=\\\"$:/UploadName\\\" text=\\\"\\\">\\n\u003C$set name=\\\"userName\\\" value={{$:/UploadName}}>\\n\u003C$reveal type=\\\"match\\\" state=\\\"$:/UploadURL\\\" text=\\\"\\\">\\n\u003C\u003CsiteURL $path$>>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"nomatch\\\" state=\\\"$:/UploadURL\\\" text=\\\"\\\">\\n\u003C$macrocall $name=resolvePath source={{$:/UploadBackupDir}} root={{$:/UploadURL}}/>\\n\u003C/$reveal>\\n\u003C/$set>\\n\u003C/$reveal>\\n\\\\end\\n\\n\u003Cdiv class=\\\"tc-message-box\\\">\\n\\n\u003C\u003Clingo ReadOnly>>\\n\\n\u003C/div>\\n\\n\u003C\u003Clingo Description>>\\n\\n|\u003C\u003Clingo UserName>> |\u003C$edit-text tiddler=\\\"$:/UploadName\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Password>> |\u003C$password name=\\\"upload\\\"/> |\\n\\n''\u003C\u003Clingo Advanced/Heading>>''\\n\\n|\u003C\u003Clingo ServerURL>> |\u003C$edit-text tiddler=\\\"$:/UploadURL\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Filename>> |\u003C$edit-text tiddler=\\\"$:/UploadFilename\\\" default=\\\"index.html\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo UploadDir>> |\u003C$edit-text tiddler=\\\"$:/UploadDir\\\" default=\\\".\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo BackupDir>> |\u003C$edit-text tiddler=\\\"$:/UploadBackupDir\\\" default=\\\".\\\" tag=\\\"input\\\"/> |\\n\\n\u003C\u003Clingo TiddlySpot/Hint>>\\n\"},\"$:/core/ui/ControlPanel/Saving/Gitea\":{\"title\":\"$:/core/ui/ControlPanel/Saving/Gitea\",\"tags\":\"$:/tags/ControlPanel/Saving\",\"caption\":\"{{$:/language/ControlPanel/Saving/GitService/Gitea/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Saving/GitService/\\n\\\\define service-name() ~Gitea\\n\\n\u003C\u003Clingo Description>>\\n\\n|\u003C\u003Clingo UserName>> |\u003C$edit-text tiddler=\\\"$:/Gitea/Username\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Gitea/Password>> |\u003C$password name=\\\"Gitea\\\"/> |\\n|\u003C\u003Clingo Repo>> |\u003C$edit-text tiddler=\\\"$:/Gitea/Repo\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Branch>> |\u003C$edit-text tiddler=\\\"$:/Gitea/Branch\\\" default=\\\"master\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Path>> |\u003C$edit-text tiddler=\\\"$:/Gitea/Path\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo Filename>> |\u003C$edit-text tiddler=\\\"$:/Gitea/Filename\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C\u003Clingo ServerURL>> |\u003C$edit-text tiddler=\\\"$:/Gitea/ServerURL\\\" default=\\\"https://gitea/api/v1\\\" tag=\\\"input\\\"/> |\\n\"},\"$:/core/ui/ControlPanel/Saving\":{\"title\":\"$:/core/ui/ControlPanel/Saving\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/Saving/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Saving/Hint}}\\n\\n\u003Cdiv class=\\\"tc-control-panel\\\">\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Saving]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Saving/General\\\" explicitState=\\\"$:/state/tab-2065006209\\\"/>\\n\u003C/div>\\n\"},\"$:/core/buttonstyles/Borderless\":{\"title\":\"$:/core/buttonstyles/Borderless\",\"tags\":\"$:/tags/ToolbarButtonStyle\",\"caption\":\"{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless}}\",\"text\":\"tc-btn-invisible\"},\"$:/core/buttonstyles/Boxed\":{\"title\":\"$:/core/buttonstyles/Boxed\",\"tags\":\"$:/tags/ToolbarButtonStyle\",\"caption\":\"{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed}}\",\"text\":\"tc-btn-boxed\"},\"$:/core/buttonstyles/Rounded\":{\"title\":\"$:/core/buttonstyles/Rounded\",\"tags\":\"$:/tags/ToolbarButtonStyle\",\"caption\":\"{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded}}\",\"text\":\"tc-btn-rounded\"},\"$:/core/ui/ControlPanel/Settings/CamelCase\":{\"title\":\"$:/core/ui/ControlPanel/Settings/CamelCase\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/CamelCase/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/CamelCase/\\n\u003C\u003Clingo Hint>>\\n\\n\u003C$checkbox tiddler=\\\"$:/config/WikiParserRules/Inline/wikilink\\\" field=\\\"text\\\" checked=\\\"enable\\\" unchecked=\\\"disable\\\" default=\\\"enable\\\"> \u003C$link to=\\\"$:/config/WikiParserRules/Inline/wikilink\\\">\u003C\u003Clingo Description>>\u003C/$link> \u003C/$checkbox>\\n\"},\"$:/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab\":{\"title\":\"$:/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab\",\"caption\":\"{{$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption}}\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/DefaultMoreSidebarTab/\\n\\\\whitespace trim\\n\\n\u003C$link to=\\\"$:/config/DefaultMoreSidebarTab\\\">\u003C\u003Clingo Hint>>\u003C/$link>\\n\\n\u003C$select tiddler=\\\"$:/config/DefaultMoreSidebarTab\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/MoreSideBar]!has[draft.of]]\\\">\\n\u003Coption value=\u003C\u003CcurrentTiddler>>>\u003C$transclude field=\\\"caption\\\">\u003C$text text=\u003C\u003CcurrentTiddler>>/>\u003C/$transclude>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n\"},\"$:/core/ui/ControlPanel/Settings/DefaultSidebarTab\":{\"title\":\"$:/core/ui/ControlPanel/Settings/DefaultSidebarTab\",\"caption\":\"{{$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption}}\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/DefaultSidebarTab/\\n\\\\whitespace trim\\n\\n\u003C$link to=\\\"$:/config/DefaultSidebarTab\\\">\u003C\u003Clingo Hint>>\u003C/$link>\\n\\n\u003C$select tiddler=\\\"$:/config/DefaultSidebarTab\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]\\\">\\n\u003Coption value=\u003C\u003CcurrentTiddler>>>\u003C$transclude field=\\\"caption\\\">\u003C$text text=\u003C\u003CcurrentTiddler>>/>\u003C/$transclude>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n\"},\"$:/core/ui/ControlPanel/Settings/EditorToolbar\":{\"title\":\"$:/core/ui/ControlPanel/Settings/EditorToolbar\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/EditorToolbar/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/EditorToolbar/\\n\u003C\u003Clingo Hint>>\\n\\n\u003C$checkbox tiddler=\\\"$:/config/TextEditor/EnableToolbar\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\"> \u003C$link to=\\\"$:/config/TextEditor/EnableToolbar\\\">\u003C\u003Clingo Description>>\u003C/$link> \u003C/$checkbox>\\n\\n\"},\"$:/core/ui/ControlPanel/Settings/InfoPanelMode\":{\"title\":\"$:/core/ui/ControlPanel/Settings/InfoPanelMode\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/InfoPanelMode/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/InfoPanelMode/\\n\u003C$link to=\\\"$:/config/TiddlerInfo/Mode\\\">\u003C\u003Clingo Hint>>\u003C/$link>\\n\\n\u003C$radio tiddler=\\\"$:/config/TiddlerInfo/Mode\\\" value=\\\"popup\\\"> \u003C\u003Clingo Popup/Description>> \u003C/$radio>\\n\\n\u003C$radio tiddler=\\\"$:/config/TiddlerInfo/Mode\\\" value=\\\"sticky\\\"> \u003C\u003Clingo Sticky/Description>> \u003C/$radio>\\n\"},\"$:/core/ui/ControlPanel/Settings/LinkToBehaviour\":{\"title\":\"$:/core/ui/ControlPanel/Settings/LinkToBehaviour\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/LinkToBehaviour/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/LinkToBehaviour/\\n\\\\whitespace trim\\n\\n\u003C$link to=\\\"$:/config/Navigation/openLinkFromInsideRiver\\\">\u003C\u003Clingo \\\"InsideRiver/Hint\\\">>\u003C/$link>\\n\\n\u003C$select tiddler=\\\"$:/config/Navigation/openLinkFromInsideRiver\\\">\\n \u003Coption value=\\\"above\\\">\u003C\u003Clingo \\\"OpenAbove\\\">>\u003C/option>\\n \u003Coption value=\\\"below\\\">\u003C\u003Clingo \\\"OpenBelow\\\">>\u003C/option>\\n \u003Coption value=\\\"top\\\">\u003C\u003Clingo \\\"OpenAtTop\\\">>\u003C/option>\\n \u003Coption value=\\\"bottom\\\">\u003C\u003Clingo \\\"OpenAtBottom\\\">>\u003C/option>\\n\u003C/$select>\\n\\n\u003C$link to=\\\"$:/config/Navigation/openLinkFromOutsideRiver\\\">\u003C\u003Clingo \\\"OutsideRiver/Hint\\\">>\u003C/$link>\\n\\n\u003C$select tiddler=\\\"$:/config/Navigation/openLinkFromOutsideRiver\\\">\\n \u003Coption value=\\\"top\\\">\u003C\u003Clingo \\\"OpenAtTop\\\">>\u003C/option>\\n \u003Coption value=\\\"bottom\\\">\u003C\u003Clingo \\\"OpenAtBottom\\\">>\u003C/option>\\n\u003C/$select>\\n\"},\"$:/core/ui/ControlPanel/Settings/MissingLinks\":{\"title\":\"$:/core/ui/ControlPanel/Settings/MissingLinks\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/MissingLinks/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/MissingLinks/\\n\u003C\u003Clingo Hint>>\\n\\n\u003C$checkbox tiddler=\\\"$:/config/MissingLinks\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\"> \u003C$link to=\\\"$:/config/MissingLinks\\\">\u003C\u003Clingo Description>>\u003C/$link> \u003C/$checkbox>\\n\\n\"},\"$:/core/ui/ControlPanel/Settings/NavigationAddressBar\":{\"title\":\"$:/core/ui/ControlPanel/Settings/NavigationAddressBar\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/NavigationAddressBar/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/NavigationAddressBar/\\n\\n\u003C$link to=\\\"$:/config/Navigation/UpdateAddressBar\\\">\u003C\u003Clingo Hint>>\u003C/$link>\\n\\n\u003C$radio tiddler=\\\"$:/config/Navigation/UpdateAddressBar\\\" value=\\\"permaview\\\"> \u003C\u003Clingo Permaview/Description>> \u003C/$radio>\\n\\n\u003C$radio tiddler=\\\"$:/config/Navigation/UpdateAddressBar\\\" value=\\\"permalink\\\"> \u003C\u003Clingo Permalink/Description>> \u003C/$radio>\\n\\n\u003C$radio tiddler=\\\"$:/config/Navigation/UpdateAddressBar\\\" value=\\\"no\\\"> \u003C\u003Clingo No/Description>> \u003C/$radio>\\n\"},\"$:/core/ui/ControlPanel/Settings/NavigationHistory\":{\"title\":\"$:/core/ui/ControlPanel/Settings/NavigationHistory\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/NavigationHistory/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/NavigationHistory/\\n\u003C$link to=\\\"$:/config/Navigation/UpdateHistory\\\">\u003C\u003Clingo Hint>>\u003C/$link>\\n\\n\u003C$radio tiddler=\\\"$:/config/Navigation/UpdateHistory\\\" value=\\\"yes\\\"> \u003C\u003Clingo Yes/Description>> \u003C/$radio>\\n\\n\u003C$radio tiddler=\\\"$:/config/Navigation/UpdateHistory\\\" value=\\\"no\\\"> \u003C\u003Clingo No/Description>> \u003C/$radio>\\n\"},\"$:/core/ui/ControlPanel/Settings/NavigationPermalinkviewMode\":{\"title\":\"$:/core/ui/ControlPanel/Settings/NavigationPermalinkviewMode\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/NavigationPermalinkviewMode/\\n\u003C\u003Clingo Hint>>\\n\\n\u003C$checkbox tiddler=\\\"$:/config/Navigation/Permalinkview/CopyToClipboard\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\"> \u003C$link to=\\\"$:/config/Navigation/Permalinkview/CopyToClipboard\\\">\u003C\u003Clingo CopyToClipboard/Description>>\u003C/$link> \u003C/$checkbox>\\n\\n\u003C$checkbox tiddler=\\\"$:/config/Navigation/Permalinkview/UpdateAddressBar\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\"> \u003C$link to=\\\"$:/config/Navigation/Permalinkview/UpdateAddressBar\\\">\u003C\u003Clingo UpdateAddressBar/Description>>\u003C/$link> \u003C/$checkbox>\\n\"},\"$:/core/ui/ControlPanel/Settings/PerformanceInstrumentation\":{\"title\":\"$:/core/ui/ControlPanel/Settings/PerformanceInstrumentation\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/PerformanceInstrumentation/\\n\u003C\u003Clingo Hint>>\\n\\n\u003C$checkbox tiddler=\\\"$:/config/Performance/Instrumentation\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\"> \u003C$link to=\\\"$:/config/Performance/Instrumentation\\\">\u003C\u003Clingo Description>>\u003C/$link> \u003C/$checkbox>\\n\"},\"$:/core/ui/ControlPanel/Settings/TitleLinks\":{\"title\":\"$:/core/ui/ControlPanel/Settings/TitleLinks\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/TitleLinks/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/TitleLinks/\\n\u003C$link to=\\\"$:/config/Tiddlers/TitleLinks\\\">\u003C\u003Clingo Hint>>\u003C/$link>\\n\\n\u003C$radio tiddler=\\\"$:/config/Tiddlers/TitleLinks\\\" value=\\\"yes\\\"> \u003C\u003Clingo Yes/Description>> \u003C/$radio>\\n\\n\u003C$radio tiddler=\\\"$:/config/Tiddlers/TitleLinks\\\" value=\\\"no\\\"> \u003C\u003Clingo No/Description>> \u003C/$radio>\\n\"},\"$:/core/ui/ControlPanel/Settings/ToolbarButtonStyle\":{\"title\":\"$:/core/ui/ControlPanel/Settings/ToolbarButtonStyle\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/ToolbarButtonStyle/\\n\\\\whitespace trim\\n\u003C$link to=\\\"$:/config/Toolbar/ButtonClass\\\">\u003C\u003Clingo \\\"Hint\\\">>\u003C/$link>\\n\\n\u003C$select tiddler=\\\"$:/config/Toolbar/ButtonClass\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ToolbarButtonStyle]]\\\">\\n\u003Coption value={{!!text}}>{{!!caption}}\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n\"},\"$:/core/ui/ControlPanel/Settings/ToolbarButtons\":{\"title\":\"$:/core/ui/ControlPanel/Settings/ToolbarButtons\",\"tags\":\"$:/tags/ControlPanel/Settings\",\"caption\":\"{{$:/language/ControlPanel/Settings/ToolbarButtons/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/ToolbarButtons/\\n\u003C\u003Clingo Hint>>\\n\\n\u003C$checkbox tiddler=\\\"$:/config/Toolbar/Icons\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\"> \u003C$link to=\\\"$:/config/Toolbar/Icons\\\">\u003C\u003Clingo Icons/Description>>\u003C/$link> \u003C/$checkbox>\\n\\n\u003C$checkbox tiddler=\\\"$:/config/Toolbar/Text\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\"> \u003C$link to=\\\"$:/config/Toolbar/Text\\\">\u003C\u003Clingo Text/Description>>\u003C/$link> \u003C/$checkbox>\\n\"},\"$:/core/ui/ControlPanel/Settings\":{\"title\":\"$:/core/ui/ControlPanel/Settings\",\"tags\":\"$:/tags/ControlPanel\",\"caption\":\"{{$:/language/ControlPanel/Settings/Caption}}\",\"text\":\"\u003Cdiv class=\\\"tc-control-panel\\\">\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/SettingsTab]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Settings/TiddlyWiki\\\" explicitState=\\\"$:/state/tab--697582678\\\"/>\\n\u003C/div>\"},\"$:/core/ui/ControlPanel/StoryView\":{\"title\":\"$:/core/ui/ControlPanel/StoryView\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ControlPanel/StoryView/Caption}}\",\"text\":\"{{$:/snippets/viewswitcher}}\\n\"},\"$:/core/ui/ControlPanel/Stylesheets\":{\"title\":\"$:/core/ui/ControlPanel/Stylesheets\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/Stylesheets/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/\\n\\n\u003C\u003Clingo Stylesheets/Hint>>\\n\\n{{$:/snippets/peek-stylesheets}}\\n\"},\"$:/core/ui/ControlPanel/Theme\":{\"title\":\"$:/core/ui/ControlPanel/Theme\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ControlPanel/Theme/Caption}}\",\"text\":\"{{$:/snippets/themeswitcher}}\\n\"},\"$:/core/ui/ControlPanel/TiddlerFields\":{\"title\":\"$:/core/ui/ControlPanel/TiddlerFields\",\"tags\":\"$:/tags/ControlPanel/Advanced\",\"caption\":\"{{$:/language/ControlPanel/TiddlerFields/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/\\n\\n\u003C\u003Clingo TiddlerFields/Hint>>\\n\\n{{$:/snippets/allfields}}\"},\"$:/core/ui/ControlPanel/Settings/TiddlyWiki\":{\"title\":\"$:/core/ui/ControlPanel/Settings/TiddlyWiki\",\"tags\":\"$:/tags/ControlPanel/SettingsTab\",\"caption\":\"TiddlyWiki\",\"list-before\":\"\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Settings/\\n\\n\u003C\u003Clingo Hint>>\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Settings]]\\\">\\n\\n\u003Cdiv style=\\\"border-top:1px solid #eee;\\\">\\n\\n!! \u003C$link>\u003C$transclude field=\\\"caption\\\"/>\u003C/$link>\\n\\n\u003C$transclude/>\\n\\n\u003C/div>\\n\\n\u003C/$list>\\n\"},\"$:/core/ui/ControlPanel/Toolbars/EditToolbar\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/EditToolbar\",\"tags\":\"$:/tags/ControlPanel/Toolbars\",\"caption\":\"{{$:/language/ControlPanel/Toolbars/EditToolbar/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\\n\\\\define config-base() $:/config/EditToolbarButtons/Visibility/\\n\\n{{$:/language/ControlPanel/Toolbars/EditToolbar/Hint}}\\n\\n\u003C$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n\u003C$macrocall $name=\\\"list-tagged-draggable\\\" tag=\\\"$:/tags/EditToolbar\\\" itemTemplate=\\\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\\\"/>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\"},\"$:/core/ui/ControlPanel/Toolbars/EditorItemTemplate\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/EditorItemTemplate\",\"text\":\"\\\\define config-title()\\n$(config-base)$$(currentTiddler)$\\n\\\\end\\n\\\\whitespace trim\\n\\n\u003C$draggable tiddler=\u003C\u003CcurrentTiddler>>>\\n\u003C$checkbox tiddler=\u003C\u003Cconfig-title>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"show\\\"/>\\n \\n\u003Cspan class=\\\"tc-icon-wrapper\\\">\u003C$transclude tiddler={{!!icon}}/>\u003C/span>\\n \\n\u003C$transclude field=\\\"caption\\\"/>\\n -- \\n\u003Ci class=\\\"tc-muted\\\">\u003C$transclude field=\\\"description\\\"/>\u003C/i>\\n\u003C/$draggable>\\n\"},\"$:/core/ui/ControlPanel/Toolbars/EditorToolbar\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/EditorToolbar\",\"tags\":\"$:/tags/ControlPanel/Toolbars\",\"caption\":\"{{$:/language/ControlPanel/Toolbars/EditorToolbar/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\\n\\\\define config-base() $:/config/EditorToolbarButtons/Visibility/\\n\\n{{$:/language/ControlPanel/Toolbars/EditorToolbar/Hint}}\\n\\n\u003C$macrocall $name=\\\"list-tagged-draggable\\\" tag=\\\"$:/tags/EditorToolbar\\\" itemTemplate=\\\"$:/core/ui/ControlPanel/Toolbars/EditorItemTemplate\\\"/>\\n\"},\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\",\"text\":\"\\\\define config-title()\\n$(config-base)$$(currentTiddler)$\\n\\\\end\\n\\\\whitespace trim\\n\\n\u003C$draggable tiddler=\u003C\u003CcurrentTiddler>>>\\n\u003C$checkbox tiddler=\u003C\u003Cconfig-title>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"show\\\"/>\\n \\n\u003Cspan class=\\\"tc-icon-wrapper\\\">\\n \\n\u003C$transclude field=\\\"caption\\\"/>\\n \\n\u003Ci class=\\\"tc-muted\\\">\\n-- \\n\u003C$transclude field=\\\"description\\\"/>\\n\u003C/i>\u003C/span>\\n\u003C/$draggable>\\n\"},\"$:/core/ui/ControlPanel/Toolbars/PageControls\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/PageControls\",\"tags\":\"$:/tags/ControlPanel/Toolbars\",\"caption\":\"{{$:/language/ControlPanel/Toolbars/PageControls/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\\n\\\\define config-base() $:/config/PageControlButtons/Visibility/\\n\\n{{$:/language/ControlPanel/Toolbars/PageControls/Hint}}\\n\\n\u003C$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n\u003C$macrocall $name=\\\"list-tagged-draggable\\\" tag=\\\"$:/tags/PageControls\\\" itemTemplate=\\\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\\\"/>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\"},\"$:/core/ui/ControlPanel/Toolbars/ViewToolbar\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars/ViewToolbar\",\"tags\":\"$:/tags/ControlPanel/Toolbars\",\"caption\":\"{{$:/language/ControlPanel/Toolbars/ViewToolbar/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\\n\\\\define config-base() $:/config/ViewToolbarButtons/Visibility/\\n\\n{{$:/language/ControlPanel/Toolbars/ViewToolbar/Hint}}\\n\\n\u003C$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n\u003C$macrocall $name=\\\"list-tagged-draggable\\\" tag=\\\"$:/tags/ViewToolbar\\\" itemTemplate=\\\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\\\"/>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\"},\"$:/core/ui/ControlPanel/Toolbars\":{\"title\":\"$:/core/ui/ControlPanel/Toolbars\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ControlPanel/Toolbars/Caption}}\",\"text\":\"\\\\whitespace trim\\n{{$:/language/ControlPanel/Toolbars/Hint}}\\n\\n\u003Cdiv class=\\\"tc-control-panel\\\">\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Toolbars]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Toolbars/ViewToolbar\\\" class=\\\"tc-vertical\\\" explicitState=\\\"$:/state/tabs/controlpanel/toolbars-1345989671\\\"/>\\n\u003C/div>\\n\"},\"$:/ControlPanel\":{\"title\":\"$:/ControlPanel\",\"icon\":\"$:/core/images/options-button\",\"color\":\"#bbb\",\"text\":\"\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-control-panel\\\">\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]\\\" default=\\\"$:/core/ui/ControlPanel/Info\\\" explicitState=\\\"$:/state/tab-1749438307\\\"/>\\n\u003C/div>\\n\"},\"$:/core/ui/DefaultSearchResultList\":{\"title\":\"$:/core/ui/DefaultSearchResultList\",\"tags\":\"$:/tags/SearchResults\",\"caption\":\"{{$:/language/Search/DefaultResults/Caption}}\",\"first-search-filter\":\"[!is[system]search:title\u003CuserInput>sort[title]limit[250]]\",\"second-search-filter\":\"[!is[system]search\u003CuserInput>sort[title]limit[250]]\",\"text\":\"\\\\define searchResultList()\\n\\\\whitespace trim\\n//\u003Csmall>{{$:/language/Search/Matches/Title}}\u003C/small>//\\n\\n\u003C$list filter=\\\"[\u003CuserInput>minlength[1]]\\\" variable=\\\"ignore\\\">\\n\u003C$list filter={{{ [\u003CconfigTiddler>get[first-search-filter]] }}}>\\n\u003Cspan class={{{[\u003CcurrentTiddler>addsuffix[-primaryList]] -[\u003CsearchListState>get[text]] +[then[]else[tc-list-item-selected]] }}}>\\n\u003C$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$list>\\n\\n//\u003Csmall>{{$:/language/Search/Matches/All}}\u003C/small>//\\n\\n\u003C$list filter=\\\"[\u003CuserInput>minlength[1]]\\\" variable=\\\"ignore\\\">\\n\u003C$list filter={{{ [\u003CconfigTiddler>get[second-search-filter]] }}}>\\n\u003Cspan class={{{[\u003CcurrentTiddler>addsuffix[-secondaryList]] -[\u003CsearchListState>get[text]] +[then[]else[tc-list-item-selected]] }}}>\\n\u003C$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$list>\\n\\n\\\\end\\n\u003C\u003CsearchResultList>>\\n\"},\"$:/core/ui/DownloadFullWiki\":{\"title\":\"$:/core/ui/DownloadFullWiki\",\"text\":\"\\\\whitespace trim\\n\\\\rules except wikilink\\n\\nTo download the standard single-file version of your wiki:\\n\\n\u003C$wikify name=\\\"site-title\\\" text={{$:/config/SaveWikiButton/Filename}}>\\n\u003C$let publishFilter=\\\"\\\"\\\"-[[$:/config/SaveWikiButton/Template]] -[[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]]\\\"\\\"\\\">\\n\u003C$button tooltip=\\\"Download fully standalone wiki\\\" aria-label=\\\"download full wiki\\\" class=\\\"tc-btn-big-green\\\">\\n\u003C$action-sendmessage $message=\\\"tm-download-file\\\" $param=\\\"$:/core/save/all\\\" publishFilter=\u003C\u003CpublishFilter>> filename=\u003C\u003Csite-title>>/>\\n{{$:/core/images/download-button}}\\n\u003Cspan class=\\\"tc-tiny-gap-left\\\">\\nDownload full wiki\\n\u003C/span>\\n\u003C/$button>\\n\u003C/$let>\\n\u003C/$wikify>\"},\"$:/core/ui/EditTemplate/body/preview/diffs-current\":{\"title\":\"$:/core/ui/EditTemplate/body/preview/diffs-current\",\"tags\":\"$:/tags/EditPreview\",\"caption\":\"{{$:/language/EditTemplate/Body/Preview/Type/DiffCurrent}}\",\"list-after\":\"$:/core/ui/EditTemplate/body/preview/output\",\"text\":\"\u003C$list filter=\\\"[\u003CcurrentTiddler>!is[image]]\\\" emptyMessage={{$:/core/ui/EditTemplate/body/preview/output}}>\\n\\n\u003C$macrocall $name=\\\"compareTiddlerText\\\" sourceTiddlerTitle={{!!draft.of}} destTiddlerTitle=\u003C\u003CcurrentTiddler>>/>\\n\\n\u003C/$list>\\n\\n\"},\"$:/core/ui/EditTemplate/body/preview/diffs-shadow\":{\"title\":\"$:/core/ui/EditTemplate/body/preview/diffs-shadow\",\"tags\":\"$:/tags/EditPreview\",\"caption\":\"{{$:/language/EditTemplate/Body/Preview/Type/DiffShadow}}\",\"list-after\":\"$:/core/ui/EditTemplate/body/preview/output\",\"text\":\"\u003C$list filter=\\\"[\u003CcurrentTiddler>!is[image]]\\\" emptyMessage={{$:/core/ui/EditTemplate/body/preview/output}}>\\n\\n\u003C$macrocall $name=\\\"compareTiddlerText\\\" sourceTiddlerTitle={{{ [{!!draft.of}shadowsource[]] }}} sourceSubTiddlerTitle={{!!draft.of}} destTiddlerTitle=\u003C\u003CcurrentTiddler>>/>\\n\\n\u003C/$list>\\n\\n\"},\"$:/core/ui/EditTemplate/body/preview/output\":{\"title\":\"$:/core/ui/EditTemplate/body/preview/output\",\"tags\":\"$:/tags/EditPreview\",\"caption\":\"{{$:/language/EditTemplate/Body/Preview/Type/Output}}\",\"text\":\"\\\\import [all[shadows+tiddlers]tag[$:/tags/Macro/View]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Macro/View/Body]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View/Body]!is[draft]]\\n\u003C$set name=\\\"tv-tiddler-preview\\\" value=\\\"yes\\\">\\n\\n\u003C$transclude tiddler={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateBodyFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/body/default]] }}} />\\n\\n\u003C/$set>\\n\"},\"$:/state/showeditpreview\":{\"title\":\"$:/state/showeditpreview\",\"text\":\"no\"},\"$:/core/ui/EditTemplate/body/canonical-uri\":{\"title\":\"$:/core/ui/EditTemplate/body/canonical-uri\",\"text\":\"\\\\define lingo-base() $:/language/EditTemplate/Body/\\n\\n\u003Cdiv class=\\\"tc-message-box\\\">\\n\\n\u003C\u003Clingo External/Hint>>\\n\\n\u003Ca href={{!!_canonical_uri}}>\u003C$text text={{!!_canonical_uri}}/>\u003C/a>\\n\\n\u003C$edit-text field=\\\"_canonical_uri\\\" class=\\\"tc-edit-fields\\\" tabindex={{$:/config/EditTabIndex}} cancelPopups=\\\"yes\\\">\u003C/$edit-text>\\n\\n\u003C/div>\\n\"},\"$:/core/ui/EditTemplate/body/default\":{\"title\":\"$:/core/ui/EditTemplate/body/default\",\"text\":\"\\\\define config-visibility-title()\\n$:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$\\n\\\\end\\n\\n\\\\define importFileActions()\\n\u003C$action-popup $state=\u003C\u003CimportState>> $coords=\\\"(0,0,0,0)\\\" $floating=\\\"yes\\\"/>\\n\\\\end\\n\\n\\\\whitespace trim\\n\u003C$let\\n\\tedit-preview-state={{{ [{$:/config/ShowEditPreview/PerTiddler}!match[yes]then[$:/state/showeditpreview]] :else[\u003Cqualify \\\"$:/state/showeditpreview\\\">] }}}\\n\\timportTitle=\u003C\u003Cqualify $:/ImportImage>>\\n\\timportState=\u003C\u003Cqualify $:/state/ImportImage>> >\\n\u003C$dropzone importTitle=\u003C\u003CimportTitle>> autoOpenOnImport=\\\"no\\\" contentTypesFilter={{$:/config/Editor/ImportContentTypesFilter}} class=\\\"tc-dropzone-editor\\\" enable={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}} filesOnly=\\\"yes\\\" actions=\u003C\u003CimportFileActions>> >\\n\u003C$reveal stateTitle=\u003C\u003Cedit-preview-state>> type=\\\"match\\\" text=\\\"yes\\\" tag=\\\"div\\\">\\n\u003Cdiv class=\\\"tc-tiddler-preview\\\">\\n\\n\u003C$transclude tiddler=\\\"$:/core/ui/EditTemplate/body/editor\\\" mode=\\\"inline\\\"/>\\n\\n\u003Cdiv class=\\\"tc-tiddler-preview-preview\\\" data-tiddler-title={{!!draft.title}} data-tags={{!!tags}}>\\n\\n\u003C$transclude tiddler={{$:/state/editpreviewtype}} mode=\\\"inline\\\">\\n\\n\u003C$transclude tiddler=\\\"$:/core/ui/EditTemplate/body/preview/output\\\" mode=\\\"inline\\\"/>\\n\\n\u003C/$transclude>\\n\\n\u003C/div>\\n\\n\u003C/div>\\n\u003C/$reveal>\\n\\n\u003C$reveal stateTitle=\u003C\u003Cedit-preview-state>> type=\\\"nomatch\\\" text=\\\"yes\\\" tag=\\\"div\\\">\\n\\n\u003C$transclude tiddler=\\\"$:/core/ui/EditTemplate/body/editor\\\" mode=\\\"inline\\\"/>\\n\\n\u003C/$reveal>\\n\u003C/$dropzone>\\n\u003C/$let>\\n\"},\"$:/core/ui/EditTemplate/body/editor\":{\"title\":\"$:/core/ui/EditTemplate/body/editor\",\"text\":\"\\\\whitespace trim\\n\\n\u003C$edit\\n\\n field=\\\"text\\\"\\n class=\\\"tc-edit-texteditor tc-edit-texteditor-body\\\"\\n placeholder={{$:/language/EditTemplate/Body/Placeholder}}\\n tabindex={{$:/config/EditTabIndex}}\\n focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}}\\n cancelPopups=\\\"yes\\\"\\n fileDrop={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}}\\n\\n>\u003C$set\\n\\n name=\\\"targetTiddler\\\"\\n value=\u003C\u003CcurrentTiddler>>\\n\\n>\u003C$list\\n\\n filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]\\\"\\n\\n>\u003C$reveal\\n\\n type=\\\"nomatch\\\"\\n state=\u003C\u003Cconfig-visibility-title>>\\n text=\\\"hide\\\"\\n class=\\\"tc-text-editor-toolbar-item-wrapper\\\"\\n\\n>\u003C$transclude\\n\\n tiddler=\\\"$:/core/ui/EditTemplate/body/toolbar/button\\\"\\n mode=\\\"inline\\\"\\n\\n/>\u003C/$reveal>\u003C/$list>\u003C$list\\n\\n filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditorTools]!has[draft.of]]\\\"\\n\\n>\u003C$list\\n\\tfilter={{!!condition}}\\n\\tvariable=\\\"list-condition\\\"\\n>\u003C$transclude/>\\n\u003C/$list>\u003C/$list>\u003C/$set>\u003C/$edit>\\n\"},\"$:/core/ui/EditTemplate/body/toolbar/button\":{\"title\":\"$:/core/ui/EditTemplate/body/toolbar/button\",\"text\":\"\\\\define toolbar-button-icon()\\n\u003C$list\\n\\n filter=\\\"[all[current]!has[custom-icon]]\\\"\\n variable=\\\"no-custom-icon\\\"\\n\\n>\u003C$transclude\\n\\n tiddler={{!!icon}}\\n\\n/>\u003C/$list>\\n\\\\end\\n\\n\\\\define toolbar-button-tooltip()\\n{{!!description}}\u003C$macrocall $name=\\\"displayshortcuts\\\" $output=\\\"text/plain\\\" shortcuts={{!!shortcuts}} prefix=\\\"` - [\\\" separator=\\\"] [\\\" suffix=\\\"]`\\\"/>\\n\\\\end\\n\\n\\\\define toolbar-button()\\n\u003C$list\\n\\n filter={{!!condition}}\\n variable=\\\"list-condition\\\"\\n\\n>\u003C$wikify\\n\\n name=\\\"tooltip-text\\\"\\n text=\u003C\u003Ctoolbar-button-tooltip>>\\n mode=\\\"inline\\\"\\n output=\\\"text\\\"\\n\\n>\u003C$list\\n\\n filter=\\\"[all[current]!has[dropdown]]\\\"\\n variable=\\\"no-dropdown\\\"\\n\\n>\u003C$set name=disabled filter={{!!condition-disabled}}>\u003C$button\\n\\n class=\\\"tc-btn-invisible $(buttonClasses)$\\\"\\n tooltip=\u003C\u003Ctooltip-text>>\\n actions={{!!actions}}\\n disabled=\u003C\u003Cdisabled>>\\n\\n>\u003Cspan\\n\\n data-tw-keyboard-shortcut={{{ [\u003Cdisabled>match[yes]then[]else{!!shortcuts}] }}}\\n\\n/>\u003C\u003Ctoolbar-button-icon>>\u003C$transclude\\n\\n tiddler=\u003C\u003CcurrentTiddler>>\\n field=\\\"text\\\"\\n\\n/>\u003C/$button>\u003C/$set>\u003C/$list>\u003C$list\\n\\n filter=\\\"[all[current]has[dropdown]]\\\"\\n variable=\\\"dropdown\\\"\\n\\n>\u003C$set\\n\\n name=\\\"dropdown-state\\\"\\n value=\u003C\u003Cqualify \\\"$:/state/EditorToolbarDropdown\\\">>\\n\\n>\u003C$set name=disabled filter={{!!condition-disabled}}>\u003C$button\\n\\n popup=\u003C\u003Cdropdown-state>>\\n class=\\\"tc-popup-keep tc-btn-invisible $(buttonClasses)$\\\"\\n selectedClass=\\\"tc-selected\\\"\\n tooltip=\u003C\u003Ctooltip-text>>\\n actions={{!!actions}}\\n disabled=\u003C\u003Cdisabled>>\\n\\n>\u003Cspan\\n\\n data-tw-keyboard-shortcut={{{ [\u003Cdisabled>match[yes]then[]else{!!shortcuts}] }}}\\n\\n/>\u003C\u003Ctoolbar-button-icon>>\u003C$transclude\\n\\n tiddler=\u003C\u003CcurrentTiddler>>\\n field=\\\"text\\\"\\n\\n/>\u003C/$button>\u003C/$set>\u003C$reveal\\n\\n state=\u003C\u003Cdropdown-state>>\\n type=\\\"popup\\\"\\n position=\\\"below\\\"\\n animate=\\\"yes\\\"\\n tag=\\\"span\\\"\\n\\n>\u003Cdiv\\n\\n class=\\\"tc-drop-down tc-popup-keep\\\"\\n\\n>\u003C$transclude\\n\\n tiddler={{!!dropdown}}\\n mode=\\\"block\\\"\\n\\n/>\u003C/div>\u003C/$reveal>\u003C/$set>\u003C/$list>\u003C/$wikify>\u003C/$list>\\n\\\\end\\n\\n\\\\define toolbar-button-outer()\\n\u003C$set\\n\\n name=\\\"buttonClasses\\\"\\n value={{!!button-classes}}\\n\\n>\u003C\u003Ctoolbar-button>>\u003C/$set>\\n\\\\end\\n\\n\u003C\u003Ctoolbar-button-outer>>\"},\"$:/core/ui/EditTemplate/body\":{\"title\":\"$:/core/ui/EditTemplate/body\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\u003C$transclude tiddler={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/EditTemplateBodyFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/EditTemplate/body/default]] }}} />\\n\"},\"$:/core/ui/EditTemplate/controls\":{\"title\":\"$:/core/ui/EditTemplate/controls\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\\\\define config-title()\\n$:/config/EditToolbarButtons/Visibility/$(listItem)$\\n\\\\end\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-tiddler-title tc-tiddler-edit-title\\\">\\n\u003C$view field=\\\"title\\\"/>\\n\u003Cspan class=\\\"tc-tiddler-controls tc-titlebar\\\">\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]\\\" variable=\\\"listItem\\\">\u003C$let tv-config-toolbar-class={{{ [enlist\u003Ctv-config-toolbar-class>] [\u003ClistItem>encodeuricomponent[]addprefix[tc-btn-]] +[join[ ]]}}}>\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003Cconfig-title>> text=\\\"hide\\\">\u003C$transclude tiddler=\u003C\u003ClistItem>>/>\u003C/$reveal>\u003C/$let>\u003C/$list>\u003C/span>\\n\u003Cdiv style=\\\"clear: both;\\\">\u003C/div>\\n\u003C/div>\\n\"},\"$:/core/ui/EditTemplate/fieldEditor/default\":{\"title\":\"$:/core/ui/EditTemplate/fieldEditor/default\",\"text\":\"\u003C$edit-text tiddler=\u003C\u003CcurrentTiddler>> field=\u003C\u003CcurrentField>> tag=\\\"input\\\" default=\\\"\\\" class=\\\"tc-edit-texteditor tc-edit-fieldeditor\\\" placeholder={{$:/language/EditTemplate/Fields/Add/Value/Placeholder}} tabindex={{$:/config/EditTabIndex}} cancelPopups=\\\"yes\\\"/>\"},\"$:/core/ui/EditTemplate/fields\":{\"title\":\"$:/core/ui/EditTemplate/fields\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\\\\define lingo-base() $:/language/EditTemplate/\\n\\\\define config-title()\\n$:/config/EditTemplateFields/Visibility/$(currentField)$\\n\\\\end\\n\\n\\\\define config-filter()\\n[[hide]] -[title{$(config-title)$}]\\n\\\\end\\n\\n\u003C!-- Beware this is duplicated from EditTemplate.tid. For details see bug #7054 -->\\n\\\\define get-field-value-tiddler-filter() [subfilter\u003Cget-field-editor-filter>sha256[16]addprefix[/]addprefix\u003CnewFieldValueTiddlerPrefix>]\\n\\\\define get-field-editor-filter() [\u003CnewFieldNameTiddler>get[text]else[]] :cascade[all[shadows+tiddlers]tag[$:/tags/FieldEditorFilter]!is[draft]get[text]] :and[!is[blank]else{$:/core/ui/EditTemplate/fieldEditor/default}]\\n\\n\\\\define current-tiddler-new-field-selector()\\n[data-tiddler-title=\\\"$(currentTiddlerCSSescaped)$\\\"] .tc-edit-field-add-name-wrapper input\\n\\\\end\\n\\n\\\\define new-field-actions()\\n\\\\whitespace trim\\n\u003C$action-sendmessage $message=\\\"tm-add-field\\\" $name={{{ [\u003CnewFieldNameTiddler>get[text]] }}} $value={{{ [\u003CnewFieldNameTiddler>get[text]] :map[subfilter\u003Cget-field-value-tiddler-filter>get[text]] }}}/>\\n\u003C$set name=\\\"safeNewFieldValueTiddlerPrefix\\\" value=\u003C\u003CnewFieldValueTiddlerPrefix>> emptyValue=\u003C\u003Cqualify \\\"$:/temp/NewFieldValue\\\">> >\\n\\t\u003C$action-deletetiddler $filter=\\\"[\u003CnewFieldNameTiddler>] [prefix[$:/temp/NewFieldValue]prefix\u003CsafeNewFieldValueTiddlerPrefix>] [\u003CstoreTitle>] [\u003CsearchListState>]\\\"/>\\n\u003C/$set>\\n\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\u003C\u003Ccurrent-tiddler-new-field-selector>>/>\\n\\\\end\\n\\n\\\\define delete-state-tiddlers() \u003C$action-deletetiddler $filter=\\\"[\u003CnewFieldNameTiddler>] [\u003CstoreTitle>] [\u003CsearchListState>]\\\"/>\\n\\n\\\\define cancel-search-actions-inner()\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[\u003CstoreTitle>has[text]] [\u003CnewFieldNameTiddler>has[text]]\\\"\\n\\tvariable=\\\"ignore\\\"\\n\\temptyMessage=\\\"\u003C\u003Ccancel-delete-tiddler-actions 'cancel'>>\\\">\\n\u003C\u003Cdelete-state-tiddlers>>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define cancel-search-actions()\\n\\\\whitespace trim\\n\u003C$set name=\\\"userInput\\\" value={{{ [\u003CstoreTitle>get[text]] }}}>\\n\u003C$list\\n\\tfilter=\\\"[\u003CnewFieldNameTiddler>get[text]!match\u003CuserInput>]\\\"\\n\\temptyMessage=\\\"\u003C\u003Ccancel-search-actions-inner>>\\\">\\n\u003C$action-setfield $tiddler=\u003C\u003CnewFieldNameTiddler>> text=\u003C\u003CuserInput>>/>\u003C$action-setfield $tiddler=\u003C\u003CrefreshTitle>> text=\\\"yes\\\"/>\\n\u003C/$list>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define new-field()\\n\\\\whitespace trim\\n\u003C$vars name={{{ [\u003CnewFieldNameTiddler>get[text]] }}}>\\n\u003C$reveal type=\\\"nomatch\\\" text=\\\"\\\" default=\u003C\u003Cname>>>\\n\u003C$button tooltip=\u003C\u003Clingo Fields/Add/Button/Hint>>>\\n\u003C$action-sendmessage $message=\\\"tm-add-field\\\"\\n$name=\u003C\u003Cname>>\\n$value={{{ [subfilter\u003Cget-field-value-tiddler-filter>get[text]] }}}/>\\n\u003C$set name=\\\"safeNewFieldValueTiddlerPrefix\\\" value=\u003C\u003CnewFieldValueTiddlerPrefix>> emptyValue=\u003C\u003Cqualify \\\"$:/temp/NewFieldValue\\\">> >\\n\\t\u003C$action-deletetiddler $filter=\\\"[\u003CnewFieldNameTiddler>] [prefix[$:/temp/NewFieldValue]prefix\u003CsafeNewFieldValueTiddlerPrefix>] [\u003CstoreTitle>] [\u003CsearchListState>]\\\"/>\\n\u003C/$set>\\n\u003C\u003Clingo Fields/Add/Button>>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" text=\\\"\\\" default=\u003C\u003Cname>>>\\n\u003C$button>\\n\u003C\u003Clingo Fields/Add/Button>>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/$vars>\\n\\\\end\\n\\\\whitespace trim\\n\\n\u003C$set name=\\\"newFieldValueTiddlerPrefix\\\" value=\u003C\u003CnewFieldValueTiddlerPrefix>> emptyValue=\u003C\u003Cqualify \\\"$:/temp/NewFieldValue\\\">> >\\n\u003Cdiv class=\\\"tc-edit-fields\\\">\\n\u003Ctable class={{{ [all[current]fields[]] :filter[lookup[$:/config/EditTemplateFields/Visibility/]!match[hide]] +[count[]!match[0]] +[then[tc-edit-fields]] ~[[tc-edit-fields tc-edit-fields-small]] }}}>\\n\u003Ctbody>\\n\u003C$list filter=\\\"[all[current]fields[]] +[sort[title]]\\\" variable=\\\"currentField\\\" storyview=\\\"pop\\\">\\n\u003C$list filter=\u003C\u003Cconfig-filter>> variable=\\\"temp\\\">\\n\u003Ctr class=\\\"tc-edit-field\\\">\\n\u003Ctd class=\\\"tc-edit-field-name\\\">\\n\u003C$text text=\u003C\u003CcurrentField>>/>:\u003C/td>\\n\u003Ctd class=\\\"tc-edit-field-value\\\">\\n\u003C$keyboard key=\\\"((delete-field))\\\" actions=\\\"\\\"\\\"\u003C$action-deletefield $field=\u003C\u003CcurrentField>>/>\u003C$set name=\\\"currentTiddlerCSSescaped\\\" value={{{ [\u003CcurrentTiddler>escapecss[]] }}}>\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\u003C\u003Ccurrent-tiddler-new-field-selector>>/>\u003C/$set>\\\"\\\"\\\">\\n\u003C$transclude tiddler={{{ [\u003CcurrentField>] :cascade[all[shadows+tiddlers]tag[$:/tags/FieldEditorFilter]!is[draft]get[text]] :and[!is[blank]else{$:/core/ui/EditTemplate/fieldEditor/default}] }}} />\\n\u003C/$keyboard>\\n\u003C/td>\\n\u003Ctd class=\\\"tc-edit-field-remove\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\" tooltip={{$:/language/EditTemplate/Field/Remove/Hint}} aria-label={{$:/language/EditTemplate/Field/Remove/Caption}}>\\n\u003C$action-deletefield $field=\u003C\u003CcurrentField>>/>\u003C$set name=\\\"currentTiddlerCSSescaped\\\" value={{{ [\u003CcurrentTiddler>escapecss[]] }}}>\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\u003C\u003Ccurrent-tiddler-new-field-selector>>/>\u003C/$set>\\n{{$:/core/images/delete-button}}\\n\u003C/$button>\\n\u003C/td>\\n\u003C/tr>\\n\u003C/$list>\\n\u003C/$list>\\n\u003C/tbody>\\n\u003C/table>\\n\u003C/div>\\n\\n\u003C$fieldmangler>\\n\u003Cdiv class=\\\"tc-edit-field-add\\\">\\n\u003Cem class=\\\"tc-edit tc-small-gap-right\\\">\\n\u003C\u003Clingo Fields/Add/Prompt>>\\n\u003C/em>\\n\u003C$vars refreshTitle=\u003C\u003Cqualify \\\"$:/temp/fieldname/refresh\\\">> storeTitle=\u003C\u003CnewFieldNameInputTiddler>> searchListState=\u003C\u003CnewFieldNameSelectionTiddler>>>\\n\u003Cdiv class=\\\"tc-edit-field-add-name-wrapper\\\">\\n\u003C$macrocall $name=\\\"keyboard-driven-input\\\" tiddler=\u003C\u003CnewFieldNameTiddler>> storeTitle=\u003C\u003CstoreTitle>> refreshTitle=\u003C\u003CrefreshTitle>>\\n\\t\\tselectionStateTitle=\u003C\u003CsearchListState>> tag=\\\"input\\\" default=\\\"\\\" placeholder={{$:/language/EditTemplate/Fields/Add/Name/Placeholder}}\\n\\t\\tfocusPopup=\u003C\u003Cqualify \\\"$:/state/popup/field-dropdown\\\">> class=\\\"tc-edit-texteditor tc-popup-handle\\\" tabindex={{$:/config/EditTabIndex}}\\n\\t\\tfocus={{{ [{$:/config/AutoFocus}match[fields]then[true]] ~[[false]] }}} cancelPopups=\\\"yes\\\"\\n\\t\\tconfigTiddlerFilter=\\\"[[$:/config/EditMode/fieldname-filter]]\\\" inputCancelActions=\u003C\u003Ccancel-search-actions>> />\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/field-dropdown\\\">> class=\\\"tc-btn-invisible tc-btn-dropdown tc-small-gap\\\" tooltip={{$:/language/EditTemplate/Field/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Field/Dropdown/Caption}}>{{$:/core/images/down-arrow}}\u003C/$button>\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/field-dropdown\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n\u003Cdiv class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n\u003C$set name=\\\"tv-show-missing-links\\\" value=\\\"yes\\\">\\n\u003C$linkcatcher to=\u003C\u003CnewFieldNameTiddler>>>\\n\u003Cdiv class=\\\"tc-dropdown-item\\\">\\n\u003C\u003Clingo Fields/Add/Dropdown/User>>\\n\u003C/div>\\n\u003C$set name=\\\"newFieldName\\\" value={{{ [\u003CstoreTitle>get[text]] }}}>\\n\u003C$list filter=\\\"[!is[shadow]!is[system]fields[]search:title\u003CnewFieldName>sort[]] -created -creator -draft.of -draft.title -modified -modifier -tags -text -title -type\\\" variable=\\\"currentField\\\">\\n\u003C$list filter=\\\"[\u003CcurrentField>addsuffix[-primaryList]] -[\u003CsearchListState>get[text]]\\\" emptyMessage=\\\"\\\"\\\"\u003C$link to=\u003C\u003CcurrentField>> class=\\\"tc-list-item-selected\\\">\u003C$text text=\u003C\u003CcurrentField>>/>\u003C/$link>\\\"\\\"\\\">\\n\u003C$link to=\u003C\u003CcurrentField>>>\\n\u003C$text text=\u003C\u003CcurrentField>>/>\\n\u003C/$link>\\n\u003C/$list>\\n\u003C/$list>\\n\u003Cdiv class=\\\"tc-dropdown-item\\\">\\n\u003C\u003Clingo Fields/Add/Dropdown/System>>\\n\u003C/div>\\n\u003C$list filter=\\\"[fields[]search:title\u003CnewFieldName>sort[]] -[!is[shadow]!is[system]fields[]]\\\" variable=\\\"currentField\\\">\\n\u003C$list filter=\\\"[\u003CcurrentField>addsuffix[-secondaryList]] -[\u003CsearchListState>get[text]]\\\" emptyMessage=\\\"\\\"\\\"\u003C$link to=\u003C\u003CcurrentField>> class=\\\"tc-list-item-selected\\\">\u003C$text text=\u003C\u003CcurrentField>>/>\u003C/$link>\\\"\\\"\\\">\\n\u003C$link to=\u003C\u003CcurrentField>>>\\n\u003C$text text=\u003C\u003CcurrentField>>/>\\n\u003C/$link>\\n\u003C/$list>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/$linkcatcher>\\n\u003C/$set>\\n\u003C/div>\\n\u003C/$reveal>\\n\u003C/div>\\n\u003C$let currentTiddlerCSSescaped={{{ [\u003CcurrentTiddler>escapecss[]] }}} currentTiddler={{{ [subfilter\u003Cget-field-value-tiddler-filter>] }}} currentField=\\\"text\\\" currentFieldName={{{ [\u003CnewFieldNameTiddler>get[text]] }}}>\\n\u003Cspan class=\\\"tc-edit-field-add-value tc-small-gap-right\\\">\\n\u003C$keyboard key=\\\"((add-field))\\\" actions=\u003C\u003Cnew-field-actions>>>\\n\u003C$transclude tiddler={{{ [subfilter\u003Cget-field-editor-filter>] }}} />\\n\u003C/$keyboard>\\n\u003C/span>\\n\u003Cspan class=\\\"tc-edit-field-add-button\\\">\\n\u003C$macrocall $name=\\\"new-field\\\"/>\\n\u003C/span>\\n\u003C/$let>\\n\u003C/$vars>\\n\u003C/div>\\n\u003C/$fieldmangler>\\n\u003C/$set>\"},\"$:/core/ui/EditTemplate/shadow\":{\"title\":\"$:/core/ui/EditTemplate/shadow\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\\\\define lingo-base() $:/language/EditTemplate/Shadow/\\n\\\\define pluginLinkBody()\\n\\\\whitespace trim\\n\u003C$link to=\\\"\\\"\\\"$(pluginTitle)$\\\"\\\"\\\">\\n\u003C$text text=\\\"\\\"\\\"$(pluginTitle)$\\\"\\\"\\\"/>\\n\u003C/$link>\\n\\\\end\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[all[current]get[draft.of]is[shadow]!is[tiddler]]\\\">\\n\\n\u003C$list filter=\\\"[all[current]shadowsource[]]\\\" variable=\\\"pluginTitle\\\">\\n\\n\u003C$set name=\\\"pluginLink\\\" value=\u003C\u003CpluginLinkBody>>>\\n\u003Cdiv class=\\\"tc-message-box\\\">\\n\\n\u003C\u003Clingo Warning>>\\n\\n\u003C/div>\\n\u003C/$set>\\n\u003C/$list>\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[all[current]get[draft.of]is[shadow]is[tiddler]]\\\">\\n\\n\u003C$list filter=\\\"[all[current]shadowsource[]]\\\" variable=\\\"pluginTitle\\\">\\n\\n\u003C$set name=\\\"pluginLink\\\" value=\u003C\u003CpluginLinkBody>>>\\n\u003Cdiv class=\\\"tc-message-box\\\">\\n\\n\u003C\u003Clingo OverriddenWarning>>\\n\\n\u003C/div>\\n\u003C/$set>\\n\u003C/$list>\\n\\n\u003C/$list>\"},\"$:/core/ui/EditTemplate/tags\":{\"title\":\"$:/core/ui/EditTemplate/tags\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\\\\whitespace trim\\n\\n\\\\define lingo-base() $:/language/EditTemplate/\\n\\n\\\\define tag-styles()\\nbackground-color:$(backgroundColor)$;\\nfill:$(foregroundColor)$;\\ncolor:$(foregroundColor)$;\\n\\\\end\\n\\n\\\\define tag-body-inner(colour,fallbackTarget,colourA,colourB,icon,tagField:\\\"tags\\\")\\n\\\\whitespace trim\\n\u003C$vars foregroundColor=\u003C\u003Ccontrastcolour target:\\\"\\\"\\\"$colour$\\\"\\\"\\\" fallbackTarget:\\\"\\\"\\\"$fallbackTarget$\\\"\\\"\\\" colourA:\\\"\\\"\\\"$colourA$\\\"\\\"\\\" colourB:\\\"\\\"\\\"$colourB$\\\"\\\"\\\">> backgroundColor=\\\"\\\"\\\"$colour$\\\"\\\"\\\">\\n\u003Cspan style=\u003C\u003Ctag-styles>> class=\\\"tc-tag-label tc-tag-list-item tc-small-gap-right\\\" data-tag-title=\u003C\u003CcurrentTiddler>>>\\n\u003C$transclude tiddler=\\\"\\\"\\\"$icon$\\\"\\\"\\\"/>\u003C$view field=\\\"title\\\" format=\\\"text\\\"/>\\n\u003C$button class=\\\"tc-btn-invisible tc-remove-tag-button\\\" style=\u003C\u003Ctag-styles>>>\u003C$action-listops $tiddler=\u003C\u003CsaveTiddler>> $field=\u003C\u003C__tagField__>> $subfilter=\\\"-[{!!title}]\\\"/>{{$:/core/images/close-button}}\u003C/$button>\\n\u003C/span>\\n\u003C/$vars>\\n\\\\end\\n\\n\\\\define tag-body(colour,palette,icon,tagField:\\\"tags\\\")\\n\u003C$macrocall $name=\\\"tag-body-inner\\\" colour=\\\"\\\"\\\"$colour$\\\"\\\"\\\" fallbackTarget={{$palette$##tag-background}} colourA={{$palette$##foreground}} colourB={{$palette$##background}} icon=\\\"\\\"\\\"$icon$\\\"\\\"\\\" tagField=\u003C\u003C__tagField__>>/>\\n\\\\end\\n\\n\\\\define edit-tags-template(tagField:\\\"tags\\\")\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-edit-tags\\\">\\n\u003C$list filter=\\\"[list[!!$tagField$]sort[title]]\\\" storyview=\\\"pop\\\">\\n\u003C$macrocall $name=\\\"tag-body\\\" colour={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}} palette={{$:/palette}} icon={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] }}} tagField=\u003C\u003C__tagField__>>/>\\n\u003C/$list>\\n\u003C$vars tabIndex={{$:/config/EditTabIndex}} cancelPopups=\\\"yes\\\">\\n\u003C$macrocall $name=\\\"tag-picker\\\" tagField=\u003C\u003C__tagField__>>/>\\n\u003C/$vars>\\n\u003C/div>\\n\\\\end\\n\u003C$set name=\\\"saveTiddler\\\" value=\u003C\u003CcurrentTiddler>>>\\n\u003C$macrocall $name=\\\"edit-tags-template\\\" tagField=\u003C\u003CtagField>>/>\\n\u003C/$set>\\n\"},\"$:/core/ui/EditTemplate/title\":{\"title\":\"$:/core/ui/EditTemplate/title\",\"tags\":\"$:/tags/EditTemplate\",\"text\":\"\\\\whitespace trim\\n\u003C$edit-text field=\\\"draft.title\\\" class=\\\"tc-titlebar tc-edit-texteditor\\\" focus={{{ [{$:/config/AutoFocus}match[title]then[true]] ~[[false]] }}} tabindex={{$:/config/EditTabIndex}} cancelPopups=\\\"yes\\\"/>\\n\\n\u003C$vars pattern=\\\"\\\"\\\"[\\\\|\\\\[\\\\]{}]\\\"\\\"\\\" bad-chars=\\\"\\\"\\\"`| [ ] { }`\\\"\\\"\\\">\\n\\n\u003C$list filter=\\\"[all[current]regexp:draft.title\u003Cpattern>]\\\" variable=\\\"listItem\\\">\\n\\n\u003Cdiv class=\\\"tc-message-box\\\">\\n\\n{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/BadCharacterWarning}}\\n\\n\u003C/div>\\n\\n\u003C/$list>\\n\\n\u003C/$vars>\\n\\n\u003C$reveal state=\\\"!!draft.title\\\" type=\\\"nomatch\\\" text={{!!draft.of}} tag=\\\"div\\\">\\n\\n\u003C$list filter=\\\"[{!!draft.title}!is[missing]]\\\" variable=\\\"listItem\\\">\\n\\n\u003Cdiv class=\\\"tc-message-box\\\">\\n\\n{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/Exists/Prompt}}: \u003C$link to={{!!draft.title}} />\\n\\n\u003C/div>\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[{!!draft.of}!is[missing]]\\\" variable=\\\"listItem\\\">\\n\\n\u003C$vars fromTitle={{!!draft.of}} toTitle={{!!draft.title}}>\\n\\n\u003C$checkbox tiddler=\\\"$:/config/RelinkOnRename\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\"> {{$:/language/EditTemplate/Title/Relink/Prompt}}\u003C/$checkbox>\\n\\n\u003C$list filter=\\\"[title\u003CfromTitle>backlinks[]limit[1]]\\\" variable=\\\"listItem\\\">\\n\\n\u003C$vars stateTiddler=\u003C\u003Cqualify \\\"$:/state/edit/references\\\">> >\\n\\n\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003CstateTiddler>> text=\\\"show\\\">\\n\u003C$button set=\u003C\u003CstateTiddler>> setTo=\\\"show\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/right-arrow}}\\n \\n\u003C\u003Clingo EditTemplate/Title/References/Prompt>>\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003CstateTiddler>> text=\\\"show\\\">\\n\u003C$button set=\u003C\u003CstateTiddler>> setTo=\\\"hide\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/down-arrow}}\\n \\n\u003C\u003Clingo EditTemplate/Title/References/Prompt>>\u003C/$button>\\n\u003C/$reveal>\\n\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003CstateTiddler>> text=\\\"show\\\">\\n\u003C$tiddler tiddler=\u003C\u003CfromTitle>> >\\n\u003C$transclude tiddler=\\\"$:/core/ui/TiddlerInfo/References\\\"/>\\n\u003C/$tiddler>\\n\u003C/$reveal>\\n\\n\u003C/$vars>\\n\\n\u003C/$list>\\n\\n\u003C/$vars>\\n\\n\u003C/$list>\\n\\n\u003C/$reveal>\\n\"},\"$:/core/ui/EditTemplate/type\":{\"title\":\"$:/core/ui/EditTemplate/type\",\"tags\":\"$:/tags/EditTemplate\",\"first-search-filter\":\"[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]sort[description]sort[group-sort]removeprefix[$:/language/Docs/Types/]search\u003CuserInput>]\",\"text\":\"\\\\define lingo-base() $:/language/EditTemplate/\\n\\\\define input-cancel-actions() \u003C$list filter=\\\"[\u003CstoreTitle>get[text]] [\u003CcurrentTiddler>get[type]] +[limit[1]]\\\" emptyMessage=\\\"\\\"\\\"\u003C\u003Ccancel-delete-tiddler-actions \\\"cancel\\\">>\\\"\\\"\\\">\u003C$action-sendmessage $message=\\\"tm-remove-field\\\" $param=\\\"type\\\"/>\u003C$action-deletetiddler $filter=\\\"[\u003CtypeInputTiddler>] [\u003CrefreshTitle>] [\u003CtypeSelectionTiddler>]\\\"/>\u003C/$list>\\n\\\\whitespace trim\\n\u003C$set name=\\\"refreshTitle\\\" value=\u003C\u003Cqualify \\\"$:/temp/type-search/refresh\\\">>>\\n\u003Cdiv class=\\\"tc-edit-type-selector-wrapper\\\">\\n\u003Cem class=\\\"tc-edit tc-small-gap-right\\\">\u003C\u003Clingo Type/Prompt>>\u003C/em>\\n\u003Cdiv class=\\\"tc-type-selector-dropdown-wrapper\\\">\\n\u003Cdiv class=\\\"tc-type-selector\\\">\u003C$fieldmangler>\\n\u003C$macrocall $name=\\\"keyboard-driven-input\\\" tiddler=\u003C\u003CcurrentTiddler>> storeTitle=\u003C\u003CtypeInputTiddler>> refreshTitle=\u003C\u003CrefreshTitle>> selectionStateTitle=\u003C\u003CtypeSelectionTiddler>> field=\\\"type\\\" tag=\\\"input\\\" default=\\\"\\\" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=\u003C\u003Cqualify \\\"$:/state/popup/type-dropdown\\\">> class=\\\"tc-edit-typeeditor tc-edit-texteditor tc-popup-handle\\\" tabindex={{$:/config/EditTabIndex}} focus={{{ [{$:/config/AutoFocus}match[type]then[true]] ~[[false]] }}} cancelPopups=\\\"yes\\\" configTiddlerFilter=\\\"[[$:/core/ui/EditTemplate/type]]\\\" inputCancelActions=\u003C\u003Cinput-cancel-actions>>/>\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/type-dropdown\\\">> class=\\\"tc-btn-invisible tc-btn-dropdown tc-small-gap\\\" tooltip={{$:/language/EditTemplate/Type/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Type/Dropdown/Caption}}>{{$:/core/images/down-arrow}}\u003C/$button>\u003C$button message=\\\"tm-remove-field\\\" param=\\\"type\\\" class=\\\"tc-btn-invisible tc-btn-icon\\\" tooltip={{$:/language/EditTemplate/Type/Delete/Hint}} aria-label={{$:/language/EditTemplate/Type/Delete/Caption}}>{{$:/core/images/delete-button}}\u003C$action-deletetiddler $filter=\\\"[\u003CstoreTitle>] [\u003CrefreshTitle>] [\u003CselectionStateTitle>]\\\"/>\u003C/$button>\\n\u003C/$fieldmangler>\u003C/div>\\n\\n\u003Cdiv class=\\\"tc-block-dropdown-wrapper\\\">\\n\u003C$set name=\\\"tv-show-missing-links\\\" value=\\\"yes\\\">\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/type-dropdown\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n\u003Cdiv class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n\u003C$linkcatcher to=\\\"!!type\\\">\\n\u003C$list filter='[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]each[group]sort[group-sort]]'>\\n\u003Cdiv class=\\\"tc-dropdown-item\\\">\\n\u003C$text text={{!!group}}/>\\n\u003C/div>\\n\u003C$set name=\\\"userInput\\\" value={{{ [\u003CtypeInputTiddler>get[text]] }}}>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]group{!!group}] +[sort[description]] +[removeprefix[$:/language/Docs/Types/]] +[search\u003CuserInput>]\\\">\u003Cspan class={{{ [\u003CcurrentTiddler>addsuffix[-primaryList]] -[\u003CtypeSelectionTiddler>get[text]] +[then[]else[tc-list-item-selected]] }}}>\u003C$link to={{{ [\u003CcurrentTiddler>addprefix[$:/language/Docs/Types/]get[name]] }}}>\u003C$view tiddler={{{ [\u003CcurrentTiddler>addprefix[$:/language/Docs/Types/]] }}} field=\\\"description\\\"/>\u003C$text text=\\\" \\\"/>(\u003C$view tiddler={{{ [\u003CcurrentTiddler>addprefix[$:/language/Docs/Types/]] }}} field=\\\"name\\\"/>)\u003C/$link>\u003C/span>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/$list>\\n\u003C/$linkcatcher>\\n\u003C/div>\\n\u003C/$reveal>\\n\u003C/$set>\\n\u003C/div>\\n\u003C/div>\\n\u003C/div>\\n\u003C/$set>\\n\"},\"$:/core/ui/EditTemplate\":{\"title\":\"$:/core/ui/EditTemplate\",\"code-body\":\"yes\",\"text\":\"\\\\define delete-edittemplate-state-tiddlers()\\n\u003C$set name=\\\"safeNewFieldValueTiddlerPrefix\\\" value=\u003C\u003CnewFieldValueTiddlerPrefix>> emptyValue=\u003C\u003Cqualify \\\"$:/temp/NewFieldValue\\\">> >\\n\\t\u003C$action-deletetiddler $filter=\\\"[\u003CnewFieldNameTiddler>] [prefix[$:/temp/NewFieldValue]prefix\u003CsafeNewFieldValueTiddlerPrefix>] [\u003CnewFieldNameInputTiddler>] [\u003CnewFieldNameSelectionTiddler>] [\u003CnewTagNameTiddler>] [\u003CnewTagNameInputTiddler>] [\u003CnewTagNameSelectionTiddler>] [\u003CtypeInputTiddler>] [\u003CtypeSelectionTiddler>]\\\"/>\\n\u003C/$set>\\n\\\\end\\n\\n\u003C!-- Beware this is duplicated from fields.tid. For details see bug #7054 -->\\n\\\\define get-field-value-tiddler-filter() [subfilter\u003Cget-field-editor-filter>sha256[16]addprefix[/]addprefix\u003CnewFieldValueTiddlerPrefix>]\\n\\\\define get-field-editor-filter() [\u003CnewFieldNameTiddler>get[text]else[]] :cascade[all[shadows+tiddlers]tag[$:/tags/FieldEditorFilter]!is[draft]get[text]] :and[!is[blank]else{$:/core/ui/EditTemplate/fieldEditor/default}]\\n\\n\\\\define save-tiddler-actions()\\n\\\\whitespace trim\\n\u003C$action-sendmessage $message=\\\"tm-add-tag\\\" $param={{{ [\u003CnewTagNameTiddler>get[text]] }}}/>\\n\u003C$action-sendmessage $message=\\\"tm-add-field\\\" $name={{{ [\u003CnewFieldNameTiddler>get[text]] }}} $value={{{ [\u003CnewFieldNameTiddler>get[text]] :map[subfilter\u003Cget-field-value-tiddler-filter>get[text]] }}}/>\\n\u003C\u003Cdelete-edittemplate-state-tiddlers>>\\n\u003C$action-sendmessage $message=\\\"tm-save-tiddler\\\"/>\\n\\\\end\\n\\n\\\\define cancel-delete-tiddler-actions(message)\\n\\\\whitespace trim\\n\u003C\u003Cdelete-edittemplate-state-tiddlers>>\\n\u003C$action-sendmessage $message=\\\"tm-$message$-tiddler\\\"/>\\n\\\\end\\n\\n\\\\whitespace trim\\n\u003Cdiv\\n\\tdata-tiddler-title=\u003C\u003CcurrentTiddler>>\\n\\tdata-tags={{!!tags}}\\n\\tclass={{{ [all[shadows+tiddlers]tag[$:/tags/ClassFilters/TiddlerTemplate]!is[draft]] :map:flat[subfilter{!!text}] tc-tiddler-frame tc-tiddler-edit-frame [\u003CcurrentTiddler>is[tiddler]then[tc-tiddler-exists]] [\u003CcurrentTiddler>is[missing]!is[shadow]then[tc-tiddler-missing]] [\u003CcurrentTiddler>is[shadow]then[tc-tiddler-exists tc-tiddler-shadow]] [\u003CcurrentTiddler>is[system]then[tc-tiddler-system]] [{!!class}] [\u003CcurrentTiddler>tags[]encodeuricomponent[]addprefix[tc-tagged-]] +[join[ ]] }}}\\n\\trole=\\\"region\\\"\\n\\taria-label={{$:/language/EditTemplate/Caption}}>\\n\u003C$fieldmangler>\\n\u003C$vars\\n\\tstoryTiddler=\u003C\u003CcurrentTiddler>>\\n\\tnewTagNameTiddler=\u003C\u003Cqualify \\\"$:/temp/NewTagName\\\">>\\n\\tnewFieldNameTiddler=\u003C\u003Cqualify \\\"$:/temp/NewFieldName\\\">>\\n\\tnewFieldValueTiddlerPrefix=\u003C\u003Cqualify \\\"$:/temp/NewFieldValue\\\">>\\n\\tnewFieldNameInputTiddler=\u003C\u003Cqualify \\\"$:/temp/NewFieldName/input\\\">>\\n\\tnewFieldNameSelectionTiddler=\u003C\u003Cqualify \\\"$:/temp/NewFieldName/selected-item\\\">>\\n\\tnewTagNameInputTiddler=\u003C\u003Cqualify \\\"$:/temp/NewTagName/input\\\">>\\n\\tnewTagNameSelectionTiddler=\u003C\u003Cqualify \\\"$:/temp/NewTagName/selected-item\\\">>\\n\\ttypeInputTiddler=\u003C\u003Cqualify \\\"$:/temp/Type/input\\\">>\\n\\ttypeSelectionTiddler=\u003C\u003Cqualify \\\"$:/temp/Type/selected-item\\\">>>\\n\u003C$keyboard key=\\\"((cancel-edit-tiddler))\\\" actions=\u003C\u003Ccancel-delete-tiddler-actions \\\"cancel\\\">> tag=\\\"div\\\">\\n\u003C$keyboard key=\\\"((save-tiddler))\\\" actions=\u003C\u003Csave-tiddler-actions>> tag=\\\"div\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditTemplate]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\u003C$transclude tiddler=\u003C\u003ClistItem>>/>\\n\u003C/$list>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n\u003C/$vars>\\n\u003C/$fieldmangler>\\n\u003C/div>\\n\"},\"$:/core/ui/Buttons/cancel\":{\"title\":\"$:/core/ui/Buttons/cancel\",\"tags\":\"$:/tags/EditToolbar\",\"caption\":\"{{$:/core/images/cancel-button}} {{$:/language/Buttons/Cancel/Caption}}\",\"description\":\"{{$:/language/Buttons/Cancel/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button actions=\u003C\u003Ccancel-delete-tiddler-actions \\\"cancel\\\">> tooltip={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/cancel-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Cancel/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\"},\"$:/core/ui/Buttons/delete\":{\"title\":\"$:/core/ui/Buttons/delete\",\"tags\":\"$:/tags/EditToolbar $:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/delete-button}} {{$:/language/Buttons/Delete/Caption}}\",\"description\":\"{{$:/language/Buttons/Delete/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button actions=\u003C\u003Ccancel-delete-tiddler-actions \\\"delete\\\">> tooltip={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/delete-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Delete/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\"},\"$:/core/ui/Buttons/save\":{\"title\":\"$:/core/ui/Buttons/save\",\"tags\":\"$:/tags/EditToolbar\",\"caption\":\"{{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}}\",\"description\":\"{{$:/language/Buttons/Save/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define save-tiddler-button()\\n\\\\whitespace trim\\n\u003C$fieldmangler>\\n\\t\u003C$button\\n\\t\\ttooltip={{$:/language/Buttons/Save/Hint}}\\n\\t\\taria-label={{$:/language/Buttons/Save/Caption}}\\n\\t\\tclass=\u003C\u003Ctv-config-toolbar-class>>\\n\\t>\\n\\t\\t\u003C\u003Csave-tiddler-actions>>\\n\\t\\t\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n\\t\\t\\t{{$:/core/images/done-button}}\\n\\t\\t\u003C/$list>\\n\\t\\t\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\\t\\t\\t\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Save/Caption}}/>\u003C/span>\\n\\t\\t\u003C/$list>\\n\\t\u003C/$button>\\n\u003C/$fieldmangler>\\n\\\\end\\n\u003C\u003Csave-tiddler-button>>\\n\"},\"$:/core/ui/EditorToolbar/bold\":{\"title\":\"$:/core/ui/EditorToolbar/bold\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/bold\",\"caption\":\"{{$:/language/Buttons/Bold/Caption}}\",\"description\":\"{{$:/language/Buttons/Bold/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((bold))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"''\\\"\\n\\tsuffix=\\\"''\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/clear-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/clear-dropdown\",\"text\":\"''{{$:/language/Buttons/Clear/Hint}}''\\n\\n\u003Cdiv class=\\\"tc-colour-chooser\\\">\\n\\n\u003C$macrocall $name=\\\"colour-picker\\\" actions=\\\"\\\"\\\"\\n\\n\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-bitmap-operation\\\"\\n\\t$param=\\\"clear\\\"\\n\\tcolour=\u003C\u003Ccolour-picker-value>>\\n/>\\n\\n\u003C$action-deletetiddler\\n\\t$tiddler=\u003C\u003Cdropdown-state>>\\n/>\\n\\n\\\"\\\"\\\"/>\\n\\n\u003C/div>\\n\"},\"$:/core/ui/EditorToolbar/clear\":{\"title\":\"$:/core/ui/EditorToolbar/clear\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/erase\",\"caption\":\"{{$:/language/Buttons/Clear/Caption}}\",\"description\":\"{{$:/language/Buttons/Clear/Hint}}\",\"condition\":\"[\u003CtargetTiddler>is[image]] -[\u003CtargetTiddler>type[image/svg+xml]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/clear-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/editor-height-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/editor-height-dropdown\",\"text\":\"\\\\define lingo-base() $:/language/Buttons/EditorHeight/\\n''\u003C\u003Clingo Hint>>''\\n\\n\u003C$radio tiddler=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" value=\\\"auto\\\"> {{$:/core/images/auto-height}} \u003C\u003Clingo Caption/Auto>>\u003C/$radio>\\n\\n\u003C$radio tiddler=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" value=\\\"fixed\\\"> {{$:/core/images/fixed-height}} \u003C\u003Clingo Caption/Fixed>> \u003C$edit-text tag=\\\"input\\\" tiddler=\\\"$:/config/TextEditor/EditorHeight/Height\\\" default=\\\"100px\\\"/>\u003C/$radio>\\n\"},\"$:/core/ui/EditorToolbar/editor-height\":{\"title\":\"$:/core/ui/EditorToolbar/editor-height\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/fixed-height\",\"custom-icon\":\"yes\",\"caption\":\"{{$:/language/Buttons/EditorHeight/Caption}}\",\"description\":\"{{$:/language/Buttons/EditorHeight/Hint}}\",\"condition\":\"[\u003CtargetTiddler>type[]] [\u003CtargetTiddler>get[type]prefix[text/]] [\u003CtargetTiddler>get[type]match[application/javascript]] [\u003CtargetTiddler>get[type]match[application/json]] [\u003CtargetTiddler>get[type]match[application/x-tiddler-dictionary]] [\u003CtargetTiddler>get[type]match[image/svg+xml]] +[first[]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/editor-height-dropdown\",\"text\":\"\\\\whitespace trim\\n\u003C$reveal tag=\\\"span\\\" state=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" type=\\\"match\\\" text=\\\"fixed\\\">\\n{{$:/core/images/fixed-height}}\\n\u003C/$reveal>\\n\u003C$reveal tag=\\\"span\\\" state=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" type=\\\"match\\\" text=\\\"auto\\\">\\n{{$:/core/images/auto-height}}\\n\u003C/$reveal>\\n\"},\"$:/core/ui/EditorToolbar/excise-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/excise-dropdown\",\"text\":\"\\\\define lingo-base() $:/language/Buttons/Excise/\\n\\n\\\\define body(config-title)\\n\\\\whitespace trim\\n''\u003C\u003Clingo Hint>>''\\n\\n\u003C\u003Clingo Caption/NewTitle>> \u003C$edit-text tag=\\\"input\\\" tiddler=\\\"$config-title$/new-title\\\" default=\\\"\\\" focus=\\\"true\\\"/>\\n\\n\u003C$set name=\\\"new-title\\\" value={{$config-title$/new-title}}>\\n\u003C$list filter=\\\"\\\"\\\"[\u003Cnew-title>is[tiddler]]\\\"\\\"\\\">\\n\u003Cdiv class=\\\"tc-error\\\">\\n\u003C\u003Clingo Caption/TiddlerExists>>\\n\u003C/div>\\n\u003C/$list>\\n\u003C/$set>\\n\\n\u003C$checkbox tiddler=\\\"\\\"\\\"$config-title$/tagnew\\\"\\\"\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"false\\\"> \u003C\u003Clingo Caption/Tag>>\u003C/$checkbox>\\n\\n\u003C\u003Clingo Caption/Replace>> \u003C$select tiddler=\\\"\\\"\\\"$config-title$/type\\\"\\\"\\\" default=\\\"transclude\\\">\\n\u003Coption value=\\\"link\\\">\u003C\u003Clingo Caption/Replace/Link>>\u003C/option>\\n\u003Coption value=\\\"transclude\\\">\u003C\u003Clingo Caption/Replace/Transclusion>>\u003C/option>\\n\u003Coption value=\\\"macro\\\">\u003C\u003Clingo Caption/Replace/Macro>>\u003C/option>\\n\u003C/$select>\\n\\n\u003C$reveal state=\\\"\\\"\\\"$config-title$/type\\\"\\\"\\\" type=\\\"match\\\" text=\\\"macro\\\">\\n\u003C\u003Clingo Caption/MacroName>> \u003C$edit-text tag=\\\"input\\\" tiddler=\\\"\\\"\\\"$config-title$/macro-title\\\"\\\"\\\" default=\\\"translink\\\"/>\\n\u003C/$reveal>\\n\\n\u003C$button>\\n\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"excise\\\"\\n\\ttitle={{$config-title$/new-title}}\\n\\ttype={{$config-title$/type}}\\n\\tmacro={{$config-title$/macro-title}}\\n\\ttagnew={{$config-title$/tagnew}}\\n/>\\n\u003C$action-deletetiddler\\n\\t$tiddler=\\\"$config-title$/new-title\\\"\\n/>\\n\u003C$action-deletetiddler\\n\\t$tiddler=\u003C\u003Cdropdown-state>>\\n/>\\n\u003C\u003Clingo Caption/Excise>>\\n\u003C/$button>\\n\\\\end\\n\\n\u003C$macrocall $name=\\\"body\\\" config-title=\u003C\u003Cqualify \\\"$:/state/Excise/\\\">>/>\\n\"},\"$:/core/ui/EditorToolbar/excise\":{\"title\":\"$:/core/ui/EditorToolbar/excise\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/excise\",\"caption\":\"{{$:/language/Buttons/Excise/Caption}}\",\"description\":\"{{$:/language/Buttons/Excise/Hint}}\",\"condition\":\"[\u003CtargetTiddler>type[]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]] +[first[]]\",\"shortcuts\":\"((excise))\",\"dropdown\":\"$:/core/ui/EditorToolbar/excise-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/file-import\":{\"title\":\"$:/core/ui/EditorToolbar/file-import\",\"tags\":\"$:/tags/EditorTools\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"text\":\"\\\\define lingo-base() $:/language/Import/\\n\\n\\\\define closePopupActions()\\n\u003C$action-deletetiddler $filter=\\\"[title\u003CimportState>] [title\u003CimportTitle>]\\\"/>\\n\\\\end\\n\\n\\\\define replacement-text-image() [img[$title$]]\\n\\n\\\\define replacement-text-file() [[$title$]]\\n\\n\\\\define postImportActions()\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[\u003CimportTitle>links[]] :reduce[get[type]prefix[image]then\u003Creplacement-text-image>else\u003Creplacement-text-file>search-replace[$title$],\u003CcurrentTiddler>addprefix\u003Caccumulator>]\\\" variable=\\\"imageTitle\\\">\\n\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"insert-text\\\"\\n\\ttext=\u003C\u003CimageTitle>>\\n/>\\n\u003C/$list>\\n\u003C\u003CclosePopupActions>>\\n\\\\end\\n\\n\\\\define buttons()\\n\\\\whitespace trim\\n\u003C$button class=\\\"tc-btn-invisible\\\" actions=\u003C\u003CclosePopupActions>> >\u003C\u003Clingo Listing/Cancel/Caption>>\u003C/$button>\\n \\n\u003C$button class=\\\"tc-btn-invisible\\\" message=\\\"tm-perform-import\\\" param=\u003C\u003CimportTitle>> actions=\u003C\u003CpostImportActions>> >\u003C\u003Clingo Listing/Import/Caption>>\u003C/$button>\\n\\\\end\\n\\n\\\\whitespace trim\\n\u003C$reveal type=\\\"popup\\\" state=\u003C\u003CimportState>> tag=\\\"div\\\" class=\\\"tc-editor-importpopup\\\">\\n\u003Cdiv class=\\\"tc-editor-import\\\">\\n\u003C$list filter=\\\"[\u003CimportTitle>field:plugin-type[import]]\\\">\\n\u003Ch2>\u003C\u003Clingo Editor/Import/Heading>>\u003C/h2>\\n\u003C$tiddler tiddler=\u003C\u003CimportTitle>>>\\n{{||$:/core/ui/ImportListing}}\\n\u003C\u003Cbuttons>>\\n\u003C/$tiddler>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/EditorToolbar/heading-1\":{\"title\":\"$:/core/ui/EditorToolbar/heading-1\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-1\",\"caption\":\"{{$:/language/Buttons/Heading1/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading1/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"button-classes\":\"tc-text-editor-toolbar-item-start-group\",\"shortcuts\":\"((heading-1))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"1\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/heading-2\":{\"title\":\"$:/core/ui/EditorToolbar/heading-2\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-2\",\"caption\":\"{{$:/language/Buttons/Heading2/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading2/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((heading-2))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"2\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/heading-3\":{\"title\":\"$:/core/ui/EditorToolbar/heading-3\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-3\",\"caption\":\"{{$:/language/Buttons/Heading3/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading3/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((heading-3))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"3\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/heading-4\":{\"title\":\"$:/core/ui/EditorToolbar/heading-4\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-4\",\"caption\":\"{{$:/language/Buttons/Heading4/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading4/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((heading-4))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"4\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/heading-5\":{\"title\":\"$:/core/ui/EditorToolbar/heading-5\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-5\",\"caption\":\"{{$:/language/Buttons/Heading5/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading5/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((heading-5))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"5\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/heading-6\":{\"title\":\"$:/core/ui/EditorToolbar/heading-6\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/heading-6\",\"caption\":\"{{$:/language/Buttons/Heading6/Caption}}\",\"description\":\"{{$:/language/Buttons/Heading6/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((heading-6))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"!\\\"\\n\\tcount=\\\"6\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/italic\":{\"title\":\"$:/core/ui/EditorToolbar/italic\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/italic\",\"caption\":\"{{$:/language/Buttons/Italic/Caption}}\",\"description\":\"{{$:/language/Buttons/Italic/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((italic))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"//\\\"\\n\\tsuffix=\\\"//\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/line-width-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/line-width-dropdown\",\"text\":\"\\\\define lingo-base() $:/language/Buttons/LineWidth/\\n\\n\\\\define toolbar-line-width-inner()\\n\u003C$button tag=\\\"a\\\" tooltip=\\\"\\\"\\\"$(line-width)$\\\"\\\"\\\">\\n\\n\u003C$action-setfield\\n\\t$tiddler=\\\"$:/config/BitmapEditor/LineWidth\\\"\\n\\t$value=\\\"$(line-width)$\\\"\\n/>\\n\\n\u003C$action-deletetiddler\\n\\t$tiddler=\u003C\u003Cdropdown-state>>\\n/>\\n\\n\u003Cdiv style=\\\"display: inline-block; margin: 4px calc(80px - $(line-width)$); background-color: #000; width: calc(100px + $(line-width)$ * 2); height: $(line-width)$; border-radius: 120px; vertical-align: middle;\\\"/>\\n\\n\u003Cspan style=\\\"margin-left: 8px;\\\">\\n\\n\u003C$text text=\\\"\\\"\\\"$(line-width)$\\\"\\\"\\\"/>\\n\\n\u003C$reveal state=\\\"$:/config/BitmapEditor/LineWidth\\\" type=\\\"match\\\" text=\\\"\\\"\\\"$(line-width)$\\\"\\\"\\\" tag=\\\"span\\\">\\n\\n\u003C$entity entity=\\\" \\\"/>\\n\\n\u003C$entity entity=\\\"✓\\\"/>\\n\\n\u003C/$reveal>\\n\\n\u003C/span>\\n\\n\u003C/$button>\\n\\\\end\\n\\n''\u003C\u003Clingo Hint>>''\\n\\n\u003C$list filter={{$:/config/BitmapEditor/LineWidths}} variable=\\\"line-width\\\">\\n\\n\u003C\u003Ctoolbar-line-width-inner>>\\n\\n\u003C/$list>\\n\"},\"$:/core/ui/EditorToolbar/line-width\":{\"title\":\"$:/core/ui/EditorToolbar/line-width\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/line-width\",\"caption\":\"{{$:/language/Buttons/LineWidth/Caption}}\",\"description\":\"{{$:/language/Buttons/LineWidth/Hint}}\",\"condition\":\"[\u003CtargetTiddler>is[image]] -[\u003CtargetTiddler>type[image/svg+xml]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/line-width-dropdown\",\"text\":\"\u003C$text text={{$:/config/BitmapEditor/LineWidth}}/>\\n\"},\"$:/core/ui/EditorToolbar/link-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/link-dropdown\",\"text\":\"\\\\define lingo-base() $:/language/Buttons/Link/\\n\\n\\\\define add-link-actions()\\n\\\\whitespace trim\\n\u003C$action-sendmessage $message=\\\"tm-edit-text-operation\\\" $param=\\\"make-link\\\" text={{$(linkTiddler)$}} />\\n\u003C$action-deletetiddler $filter=\\\"[\u003Cdropdown-state>] [\u003CsearchTiddler>] [\u003ClinkTiddler>] [\u003CstoreTitle>] [\u003CsearchListState>]\\\"/>\\n\\\\end\\n\\n\\\\define get-focus-selector() [data-tiddler-title=\\\"$(cssEscapedTitle)$\\\"] .tc-create-wikitext-link input\\n\\n\\\\define cancel-search-actions-inner()\\n\u003C$set name=\\\"userInput\\\" value={{{ [\u003CstoreTitle>get[text]] }}}>\u003C$list filter=\\\"[\u003CsearchTiddler>get[text]!match\u003CuserInput>]\\\" emptyMessage=\\\"\u003C$action-deletetiddler $filter='[\u003CsearchTiddler>] [\u003ClinkTiddler>] [\u003CstoreTitle>] [\u003CsearchListState>]'/>\\\">\u003C$action-setfield $tiddler=\u003C\u003CsearchTiddler>> text=\u003C\u003CuserInput>>/>\u003C$action-setfield $tiddler=\u003C\u003CrefreshTitle>> text=\\\"yes\\\"/>\u003C/$list>\u003C/$set>\\n\\\\end\\n\\n\\\\define cancel-search-actions() \u003C$list filter=\\\"[\u003CstoreTitle>!has[text]] +[\u003CsearchTiddler>!has[text]]\\\" emptyMessage=\\\"\u003C\u003Ccancel-search-actions-inner>>\\\">\u003C$action-sendmessage $message=\\\"tm-edit-text-operation\\\" $param=\\\"focus-editor\\\"/>\u003C/$list>\\n\\n\\\\define external-link()\\n\\\\whitespace trim\\n\u003C$button class=\\\"tc-btn-invisible tc-btn-mini\\\" style=\\\"width: auto; display: inline-block; background-colour: inherit;\\\" actions=\u003C\u003Cadd-link-actions>>>\\n{{$:/core/images/chevron-right}}\\n\u003C/$button>\\n\\\\end\\n\\n\\\\define set-next-input-tab(beforeafter:\\\"after\\\") \u003C$macrocall $name=\\\"change-input-tab\\\" stateTitle=\\\"$:/state/tab/search-results/sidebar\\\" tag=\\\"$:/tags/SearchResults\\\" beforeafter=\\\"$beforeafter$\\\" defaultState={{$:/config/SearchResults/Default}} actions=\\\"\u003C$action-setfield $tiddler='$:/state/search/currentTab' text=\u003C\u003CnextTab>>/>\\\"/>\\n\\n\\\\define body(config-title)\\n\\\\whitespace trim\\n''\u003C\u003Clingo Hint>>''\\n\\n\u003C$vars searchTiddler=\\\"\\\"\\\"$config-title$/search\\\"\\\"\\\" linkTiddler=\\\"\\\"\\\"$config-title$/link\\\"\\\"\\\" linktext=\\\"\\\" searchListState=\u003C\u003Cqualify \\\"$:/temp/link-search/selected-item\\\">> refreshTitle=\u003C\u003Cqualify \\\"$:/temp/link-search/refresh\\\">> storeTitle=\u003C\u003Cqualify \\\"$:/temp/link-search/input\\\">>>\\n\\n\u003C$vars linkTiddler=\u003C\u003CsearchTiddler>>>\\n\u003C$keyboard key=\\\"((input-tab-right))\\\" actions=\u003C\u003Cset-next-input-tab>>>\\n\u003C$keyboard key=\\\"((input-tab-left))\\\" actions=\u003C\u003Cset-next-input-tab \\\"before\\\">> class=\\\"tc-create-wikitext-link\\\">\\n\u003C$macrocall $name=\\\"keyboard-driven-input\\\" tiddler=\u003C\u003CsearchTiddler>> storeTitle=\u003C\u003CstoreTitle>>\\n\\t\\tselectionStateTitle=\u003C\u003CsearchListState>> refreshTitle=\u003C\u003CrefreshTitle>> type=\\\"search\\\" filterMinLength=\\\"1\\\"\\n\\t\\ttag=\\\"input\\\" focus=\\\"true\\\" class=\\\"tc-popup-handle\\\" inputCancelActions=\u003C\u003Ccancel-search-actions>>\\n\\t\\tinputAcceptActions=\u003C\u003Cadd-link-actions>> placeholder={{$:/language/Search/Search}} default=\\\"\\\"\\n\\t\\tconfigTiddlerFilter=\\\"[[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}]\\\" />\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n \\n\u003C$reveal tag=\\\"span\\\" state=\u003C\u003CstoreTitle>> type=\\\"nomatch\\\" text=\\\"\\\">\\n\u003C\u003Cexternal-link>>\\n \\n\u003C$button class=\\\"tc-btn-invisible tc-btn-mini\\\" style=\\\"width: auto; display: inline-block; background-colour: inherit;\\\">\\n\u003C\u003Ccancel-search-actions>>\u003C$set name=\\\"cssEscapedTitle\\\" value={{{ [\u003CstoryTiddler>escapecss[]] }}}>\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\u003C\u003Cget-focus-selector>>/>\u003C/$set>\\n{{$:/core/images/close-button}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/$vars>\\n\\n\u003C$reveal tag=\\\"div\\\" state=\u003C\u003CstoreTitle>> type=\\\"nomatch\\\" text=\\\"\\\">\\n\\n\u003C$linkcatcher actions=\u003C\u003Cadd-link-actions>> to=\u003C\u003ClinkTiddler>>>\\n\\n\u003C$vars userInput={{{ [\u003CstoreTitle>get[text]] }}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}] }}}>\\n\\n{{$:/core/ui/SearchResults}}\\n\\n\u003C/$vars>\\n\\n\u003C/$linkcatcher>\\n\\n\u003C/$reveal>\\n\\n\u003C/$vars>\\n\\n\\\\end\\n\\n\u003C$macrocall $name=\\\"body\\\" config-title=\u003C\u003Cqualify \\\"$:/state/Link/\\\">>/>\\n\"},\"$:/core/ui/EditorToolbar/link\":{\"title\":\"$:/core/ui/EditorToolbar/link\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/link\",\"caption\":\"{{$:/language/Buttons/Link/Caption}}\",\"description\":\"{{$:/language/Buttons/Link/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"button-classes\":\"tc-text-editor-toolbar-item-start-group\",\"shortcuts\":\"((link))\",\"dropdown\":\"$:/core/ui/EditorToolbar/link-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/linkify\":{\"title\":\"$:/core/ui/EditorToolbar/linkify\",\"caption\":\"{{$:/language/Buttons/Linkify/Caption}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"description\":\"{{$:/language/Buttons/Linkify/Hint}}\",\"icon\":\"$:/core/images/linkify\",\"list-before\":\"$:/core/ui/EditorToolbar/mono-block\",\"shortcuts\":\"((linkify))\",\"tags\":\"$:/tags/EditorToolbar\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"[[\\\"\\n\\tsuffix=\\\"]]\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/list-bullet\":{\"title\":\"$:/core/ui/EditorToolbar/list-bullet\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/list-bullet\",\"caption\":\"{{$:/language/Buttons/ListBullet/Caption}}\",\"description\":\"{{$:/language/Buttons/ListBullet/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((list-bullet))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"*\\\"\\n\\tcount=\\\"1\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/list-number\":{\"title\":\"$:/core/ui/EditorToolbar/list-number\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/list-number\",\"caption\":\"{{$:/language/Buttons/ListNumber/Caption}}\",\"description\":\"{{$:/language/Buttons/ListNumber/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((list-number))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"prefix-lines\\\"\\n\\tcharacter=\\\"#\\\"\\n\\tcount=\\\"1\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/mono-block\":{\"title\":\"$:/core/ui/EditorToolbar/mono-block\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/mono-block\",\"caption\":\"{{$:/language/Buttons/MonoBlock/Caption}}\",\"description\":\"{{$:/language/Buttons/MonoBlock/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"button-classes\":\"tc-text-editor-toolbar-item-start-group\",\"shortcuts\":\"((mono-block))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-lines\\\"\\n\\tprefix=\\\"\\n```\\\"\\n\\tsuffix=\\\"```\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/mono-line\":{\"title\":\"$:/core/ui/EditorToolbar/mono-line\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/mono-line\",\"caption\":\"{{$:/language/Buttons/MonoLine/Caption}}\",\"description\":\"{{$:/language/Buttons/MonoLine/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((mono-line))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"`\\\"\\n\\tsuffix=\\\"`\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/more-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/more-dropdown\",\"text\":\"\\\\define config-title()\\n$:/config/EditorToolbarButtons/Visibility/$(toolbarItem)$\\n\\\\end\\n\\n\\\\define conditional-button()\\n\\\\whitespace trim\\n\u003C$list filter={{$(toolbarItem)$!!condition}} variable=\\\"condition\\\">\\n\u003C$transclude tiddler=\\\"$:/core/ui/EditTemplate/body/toolbar/button\\\" mode=\\\"inline\\\"/>\\n \\n\u003C$transclude tiddler=\u003C\u003CtoolbarItem>> field=\\\"description\\\"/>\\n\u003C/$list>\\n\\\\end\\n\\\\whitespace trim\\n\\n\u003Cdiv class=\\\"tc-text-editor-toolbar-more\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]] -[[$:/core/ui/EditorToolbar/more]]\\\">\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003Cconfig-visibility-title>> text=\\\"hide\\\" tag=\\\"div\\\">\\n\u003C\u003Cconditional-button>>\\n\u003C/$reveal>\\n\u003C/$list>\\n\u003C/div>\\n\"},\"$:/core/ui/EditorToolbar/more\":{\"title\":\"$:/core/ui/EditorToolbar/more\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/down-arrow\",\"caption\":\"{{$:/language/Buttons/More/Caption}}\",\"description\":\"{{$:/language/Buttons/More/Hint}}\",\"condition\":\"[\u003CtargetTiddler>]\",\"dropdown\":\"$:/core/ui/EditorToolbar/more-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/opacity-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/opacity-dropdown\",\"text\":\"\\\\define lingo-base() $:/language/Buttons/Opacity/\\n\\n\\\\define toolbar-opacity-inner()\\n\u003C$button tag=\\\"a\\\" tooltip=\\\"\\\"\\\"$(opacity)$\\\"\\\"\\\">\\n\\n\u003C$action-setfield\\n\\t$tiddler=\\\"$:/config/BitmapEditor/Opacity\\\"\\n\\t$value=\\\"$(opacity)$\\\"\\n/>\\n\\n\u003C$action-deletetiddler\\n\\t$tiddler=\u003C\u003Cdropdown-state>>\\n/>\\n\\n\u003Cdiv style=\\\"display: inline-block; vertical-align: middle; background-color: $(current-paint-colour)$; opacity: $(opacity)$; width: 1em; height: 1em; border-radius: 50%;\\\"/>\\n\\n\u003Cspan style=\\\"margin-left: 8px;\\\">\\n\\n\u003C$text text=\\\"\\\"\\\"$(opacity)$\\\"\\\"\\\"/>\\n\\n\u003C$reveal state=\\\"$:/config/BitmapEditor/Opacity\\\" type=\\\"match\\\" text=\\\"\\\"\\\"$(opacity)$\\\"\\\"\\\" tag=\\\"span\\\">\\n\\n\u003C$entity entity=\\\" \\\"/>\\n\\n\u003C$entity entity=\\\"✓\\\"/>\\n\\n\u003C/$reveal>\\n\\n\u003C/span>\\n\\n\u003C/$button>\\n\\\\end\\n\\n\\\\define toolbar-opacity()\\n''\u003C\u003Clingo Hint>>''\\n\\n\u003C$list filter={{$:/config/BitmapEditor/Opacities}} variable=\\\"opacity\\\">\\n\\n\u003C\u003Ctoolbar-opacity-inner>>\\n\\n\u003C/$list>\\n\\\\end\\n\\n\u003C$set name=\\\"current-paint-colour\\\" value={{$:/config/BitmapEditor/Colour}}>\\n\\n\u003C$set name=\\\"current-opacity\\\" value={{$:/config/BitmapEditor/Opacity}}>\\n\\n\u003C\u003Ctoolbar-opacity>>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\"},\"$:/core/ui/EditorToolbar/opacity\":{\"title\":\"$:/core/ui/EditorToolbar/opacity\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/opacity\",\"caption\":\"{{$:/language/Buttons/Opacity/Caption}}\",\"description\":\"{{$:/language/Buttons/Opacity/Hint}}\",\"condition\":\"[\u003CtargetTiddler>is[image]] -[\u003CtargetTiddler>type[image/svg+xml]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/opacity-dropdown\",\"text\":\"\u003C$text text={{$:/config/BitmapEditor/Opacity}}/>\\n\"},\"$:/core/ui/EditorToolbar/paint-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/paint-dropdown\",\"text\":\"''{{$:/language/Buttons/Paint/Hint}}''\\n\\n\u003C$macrocall $name=\\\"colour-picker\\\" actions=\\\"\\\"\\\"\\n\\n\u003C$action-setfield\\n\\t$tiddler=\\\"$:/config/BitmapEditor/Colour\\\"\\n\\t$value=\u003C\u003Ccolour-picker-value>>\\n/>\\n\\n\u003C$action-deletetiddler\\n\\t$tiddler=\u003C\u003Cdropdown-state>>\\n/>\\n\\n\\\"\\\"\\\"/>\\n\"},\"$:/core/ui/EditorToolbar/paint\":{\"title\":\"$:/core/ui/EditorToolbar/paint\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/paint\",\"caption\":\"{{$:/language/Buttons/Paint/Caption}}\",\"description\":\"{{$:/language/Buttons/Paint/Hint}}\",\"condition\":\"[\u003CtargetTiddler>is[image]] -[\u003CtargetTiddler>type[image/svg+xml]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/paint-dropdown\",\"text\":\"\\\\define toolbar-paint()\\n\u003Cdiv style=\\\"display: inline-block; vertical-align: middle; background-color: $(colour-picker-value)$; width: 1em; height: 1em; border-radius: 50%;\\\"/>\\n\\\\end\\n\\\\whitespace trim\\n\u003C$set name=\\\"colour-picker-value\\\" value={{$:/config/BitmapEditor/Colour}}>\\n\u003C\u003Ctoolbar-paint>>\\n\u003C/$set>\\n\"},\"$:/core/ui/EditorToolbar/picture-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/picture-dropdown\",\"text\":\"\\\\define replacement-text()\\n[img[$(imageTitle)$]]\\n\\\\end\\n\\n''{{$:/language/Buttons/Picture/Hint}}''\\n\\n\u003C$macrocall $name=\\\"image-picker\\\" actions=\\\"\\\"\\\"\\n\\n\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"replace-selection\\\"\\n\\ttext=\u003C\u003Creplacement-text>>\\n/>\\n\\n\u003C$action-deletetiddler\\n\\t$tiddler=\u003C\u003Cdropdown-state>>\\n/>\\n\\n\\\"\\\"\\\"/>\\n\"},\"$:/core/ui/EditorToolbar/picture\":{\"title\":\"$:/core/ui/EditorToolbar/picture\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/picture\",\"caption\":\"{{$:/language/Buttons/Picture/Caption}}\",\"description\":\"{{$:/language/Buttons/Picture/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((picture))\",\"dropdown\":\"$:/core/ui/EditorToolbar/picture-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/preview-type-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/preview-type-dropdown\",\"text\":\"\\\\define preview-type-button()\\n\u003C$button tag=\\\"a\\\">\\n\\n\u003C$action-setfield $tiddler=\\\"$:/state/editpreviewtype\\\" $value=\\\"$(previewType)$\\\"/>\\n\\n\u003C$action-deletetiddler\\n\\t$tiddler=\u003C\u003Cdropdown-state>>\\n/>\\n\\n\u003C$transclude tiddler=\u003C\u003CpreviewType>> field=\\\"caption\\\" mode=\\\"inline\\\">\\n\\n\u003C$view tiddler=\u003C\u003CpreviewType>> field=\\\"title\\\" mode=\\\"inline\\\"/>\\n\\n\u003C/$transclude> \\n\\n\u003C$reveal tag=\\\"span\\\" state=\\\"$:/state/editpreviewtype\\\" type=\\\"match\\\" text=\u003C\u003CpreviewType>> default=\\\"$:/core/ui/EditTemplate/body/preview/output\\\">\\n\\n\u003C$entity entity=\\\" \\\"/>\\n\\n\u003C$entity entity=\\\"✓\\\"/>\\n\\n\u003C/$reveal>\\n\\n\u003C/$button>\\n\\\\end\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/EditPreview]!has[draft.of]]\\\" variable=\\\"previewType\\\">\\n\\n\u003C\u003Cpreview-type-button>>\\n\\n\u003C/$list>\\n\"},\"$:/core/ui/EditorToolbar/preview-type\":{\"title\":\"$:/core/ui/EditorToolbar/preview-type\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/chevron-down\",\"caption\":\"{{$:/language/Buttons/PreviewType/Caption}}\",\"description\":\"{{$:/language/Buttons/PreviewType/Hint}}\",\"condition\":\"[all[shadows+tiddlers]tag[$:/tags/EditPreview]!has[draft.of]butfirst[]limit[1]]\",\"button-classes\":\"tc-text-editor-toolbar-item-adjunct\",\"dropdown\":\"$:/core/ui/EditorToolbar/preview-type-dropdown\"},\"$:/core/ui/EditorToolbar/preview\":{\"title\":\"$:/core/ui/EditorToolbar/preview\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/preview-open\",\"custom-icon\":\"yes\",\"caption\":\"{{$:/language/Buttons/Preview/Caption}}\",\"description\":\"{{$:/language/Buttons/Preview/Hint}}\",\"condition\":\"[\u003CtargetTiddler>]\",\"button-classes\":\"tc-text-editor-toolbar-item-start-group\",\"shortcuts\":\"((preview))\",\"text\":\"\\\\whitespace trim\\n\u003C$reveal state=\u003C\u003Cedit-preview-state>> type=\\\"match\\\" text=\\\"yes\\\" tag=\\\"span\\\">\\n{{$:/core/images/preview-open}}\\n\u003C$action-setfield $tiddler=\u003C\u003Cedit-preview-state>> $value=\\\"no\\\"/>\\n\u003C/$reveal>\\n\u003C$reveal state=\u003C\u003Cedit-preview-state>> type=\\\"nomatch\\\" text=\\\"yes\\\" tag=\\\"span\\\">\\n{{$:/core/images/preview-closed}}\\n\u003C$action-setfield $tiddler=\u003C\u003Cedit-preview-state>> $value=\\\"yes\\\"/>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/EditorToolbar/quote\":{\"title\":\"$:/core/ui/EditorToolbar/quote\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/quote\",\"caption\":\"{{$:/language/Buttons/Quote/Caption}}\",\"description\":\"{{$:/language/Buttons/Quote/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((quote))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-lines\\\"\\n\\tprefix=\\\"\\n\u003C\u003C\u003C\\\"\\n\\tsuffix=\\\"\u003C\u003C\u003C\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/rotate-left\":{\"title\":\"$:/core/ui/EditorToolbar/rotate-left\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/rotate-left\",\"caption\":\"{{$:/language/Buttons/RotateLeft/Caption}}\",\"description\":\"{{$:/language/Buttons/RotateLeft/Hint}}\",\"condition\":\"[\u003CtargetTiddler>is[image]] -[\u003CtargetTiddler>type[image/svg+xml]]\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-bitmap-operation\\\"\\n\\t$param=\\\"rotate-left\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/size-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/size-dropdown\",\"text\":\"\\\\define lingo-base() $:/language/Buttons/Size/\\n\\n\\\\define toolbar-button-size-preset(config-title)\\n\u003C$set name=\\\"width\\\" filter=\\\"$(sizePair)$ +[first[]]\\\">\\n\\n\u003C$set name=\\\"height\\\" filter=\\\"$(sizePair)$ +[last[]]\\\">\\n\\n\u003C$button tag=\\\"a\\\">\\n\\n\u003C$action-setfield\\n\\t$tiddler=\\\"\\\"\\\"$config-title$/new-width\\\"\\\"\\\"\\n\\t$value=\u003C\u003Cwidth>>\\n/>\\n\\n\u003C$action-setfield\\n\\t$tiddler=\\\"\\\"\\\"$config-title$/new-height\\\"\\\"\\\"\\n\\t$value=\u003C\u003Cheight>>\\n/>\\n\\n\u003C$action-deletetiddler\\n\\t$tiddler=\\\"\\\"\\\"$config-title$/presets-popup\\\"\\\"\\\"\\n/>\\n\\n\u003C$text text=\u003C\u003Cwidth>>/> × \u003C$text text=\u003C\u003Cheight>>/>\\n\\n\u003C/$button>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define toolbar-button-size(config-title)\\n\\\\whitespace trim\\n''{{$:/language/Buttons/Size/Hint}}''\\n\\n\u003C\u003Clingo Caption/Width>> \u003C$edit-text tag=\\\"input\\\" tiddler=\\\"\\\"\\\"$config-title$/new-width\\\"\\\"\\\" default=\u003C\u003Ctv-bitmap-editor-width>> focus=\\\"true\\\" size=\\\"8\\\"/>\\n \\n\u003C\u003Clingo Caption/Height>> \u003C$edit-text tag=\\\"input\\\" tiddler=\\\"\\\"\\\"$config-title$/new-height\\\"\\\"\\\" default=\u003C\u003Ctv-bitmap-editor-height>> size=\\\"8\\\"/>\\n \\n\u003C$button popup=\\\"\\\"\\\"$config-title$/presets-popup\\\"\\\"\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\" style=\\\"width: auto; display: inline-block; background-colour: inherit;\\\" selectedClass=\\\"tc-selected\\\">\\n{{$:/core/images/down-arrow}}\\n\u003C/$button>\\n\\n\u003C$reveal tag=\\\"span\\\" state=\\\"\\\"\\\"$config-title$/presets-popup\\\"\\\"\\\" type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n\\n\u003Cdiv class=\\\"tc-drop-down tc-popup-keep\\\">\\n\\n\u003C$list filter={{$:/config/BitmapEditor/ImageSizes}} variable=\\\"sizePair\\\">\\n\\n\u003C$macrocall $name=\\\"toolbar-button-size-preset\\\" config-title=\\\"$config-title$\\\"/>\\n\\n\u003C/$list>\\n\\n\u003C/div>\\n\\n\u003C/$reveal>\\n\\n\u003C$button>\\n\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-bitmap-operation\\\"\\n\\t$param=\\\"resize\\\"\\n\\twidth={{$config-title$/new-width}}\\n\\theight={{$config-title$/new-height}}\\n/>\\n\u003C$action-deletetiddler\\n\\t$tiddler=\\\"\\\"\\\"$config-title$/new-width\\\"\\\"\\\"\\n/>\\n\u003C$action-deletetiddler\\n\\t$tiddler=\\\"\\\"\\\"$config-title$/new-height\\\"\\\"\\\"\\n/>\\n\u003C$action-deletetiddler\\n\\t$tiddler=\u003C\u003Cdropdown-state>>\\n/>\\n\u003C\u003Clingo Caption/Resize>>\\n\u003C/$button>\\n\\\\end\\n\\n\u003C$macrocall $name=\\\"toolbar-button-size\\\" config-title=\u003C\u003Cqualify \\\"$:/state/Size/\\\">>/>\\n\"},\"$:/core/ui/EditorToolbar/size\":{\"title\":\"$:/core/ui/EditorToolbar/size\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/size\",\"caption\":\"{{$:/language/Buttons/Size/Caption}}\",\"description\":\"{{$:/language/Buttons/Size/Hint}}\",\"condition\":\"[\u003CtargetTiddler>is[image]] -[\u003CtargetTiddler>type[image/svg+xml]]\",\"dropdown\":\"$:/core/ui/EditorToolbar/size-dropdown\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/StampDropdown/ItemTemplate\":{\"title\":\"$:/core/ui/EditorToolbar/StampDropdown/ItemTemplate\",\"text\":\"\u003C$linkcatcher actions=\\\"\\\"\\\"\\n\\n\u003C$list filter=\\\"[\u003Cmodifier>!match[ctrl]]\\\" variable=\\\"ignore\\\">\\n\\n\u003C$list filter=\\\"[\u003CcurrentTiddler>addsuffix[/prefix]!is[tiddler]!is[shadow]removesuffix[/prefix]addsuffix[/suffix]!is[tiddler]!is[shadow]]\\\" variable=\\\"ignore\\\">\\n\\n\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"replace-selection\\\"\\n\\ttext={{{ [\u003CcurrentTiddler>get[text]] }}}\\n/>\\n\\n\u003C/$list>\\n\\n\\n\u003C$list filter=\\\"[\u003CcurrentTiddler>addsuffix[/prefix]] [\u003CcurrentTiddler>addsuffix[/suffix]] +[is[shadow]] :else[is[tiddler]] +[limit[1]]\\\" variable=\\\"ignore\\\">\\n\\n\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix={{{ [\u003CcurrentTiddler>addsuffix[/prefix]get[text]] }}}\\n suffix={{{ [\u003CcurrentTiddler>addsuffix[/suffix]get[text]] }}}\\n/>\\n\\n\u003C/$list>\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Cmodifier>match[ctrl]]\\\" variable=\\\"ignore\\\">\\n\\n\u003C$action-sendmessage $message=\\\"tm-edit-tiddler\\\"/>\\n\\n\u003C/$list>\\n\\n\u003C$action-deletetiddler\\n\\t$tiddler=\u003C\u003Cdropdown-state>>\\n/>\\n\\n\\\"\\\"\\\">\\n\\n\u003C$link tooltip={{{ [\u003CcurrentTiddler>get[description]] }}}>\\n\\n\u003C$transclude tiddler=\u003C\u003CcurrentTiddler>> field=\\\"caption\\\" mode=\\\"inline\\\">\\n\\n\u003C$view tiddler=\u003C\u003CcurrentTiddler>> field=\\\"title\\\" />\\n\\n\u003C/$transclude>\\n\\n\u003C/$link>\\n\\n\u003C/$linkcatcher>\\n\"},\"$:/core/ui/EditorToolbar/stamp-dropdown\":{\"title\":\"$:/core/ui/EditorToolbar/stamp-dropdown\",\"text\":\"\u003C$macrocall $name=\\\"list-tagged-draggable\\\" tag=\\\"$:/tags/TextEditor/Snippet\\\" subFilter=\\\"!is[draft]\\\" itemTemplate=\\\"$:/core/ui/EditorToolbar/StampDropdown/ItemTemplate\\\"/>\\n\\n----\\n\\n\u003C$button tag=\\\"a\\\">\\n\\n\u003C$action-sendmessage\\n\\t$message=\\\"tm-new-tiddler\\\"\\n\\ttags=\\\"$:/tags/TextEditor/Snippet\\\"\\n\\tcaption={{$:/language/Buttons/Stamp/New/Title}}\\n\\ttext={{$:/language/Buttons/Stamp/New/Text}}\\n/>\\n\\n\u003C$action-deletetiddler\\n\\t$tiddler=\u003C\u003Cdropdown-state>>\\n/>\\n\\n\u003Cem>\\n\\n\u003C$text text={{$:/language/Buttons/Stamp/Caption/New}}/>\\n\\n\u003C/em>\\n\\n\u003C/$button>\\n\"},\"$:/core/ui/EditorToolbar/stamp\":{\"title\":\"$:/core/ui/EditorToolbar/stamp\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/stamp\",\"caption\":\"{{$:/language/Buttons/Stamp/Caption}}\",\"description\":\"{{$:/language/Buttons/Stamp/Hint}}\",\"condition\":\"[\u003CtargetTiddler>type[]] [\u003CtargetTiddler>get[type]prefix[text/]] [\u003CtargetTiddler>get[type]match[application/javascript]] [\u003CtargetTiddler>get[type]match[application/json]] [\u003CtargetTiddler>get[type]match[application/x-tiddler-dictionary]] [\u003CtargetTiddler>get[type]match[image/svg+xml]] +[first[]]\",\"shortcuts\":\"((stamp))\",\"dropdown\":\"$:/core/ui/EditorToolbar/stamp-dropdown\",\"button-classes\":\"tc-editortoolbar-stamp-button\",\"text\":\"\"},\"$:/core/ui/EditorToolbar/strikethrough\":{\"title\":\"$:/core/ui/EditorToolbar/strikethrough\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/strikethrough\",\"caption\":\"{{$:/language/Buttons/Strikethrough/Caption}}\",\"description\":\"{{$:/language/Buttons/Strikethrough/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((strikethrough))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"~~\\\"\\n\\tsuffix=\\\"~~\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/subscript\":{\"title\":\"$:/core/ui/EditorToolbar/subscript\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/subscript\",\"caption\":\"{{$:/language/Buttons/Subscript/Caption}}\",\"description\":\"{{$:/language/Buttons/Subscript/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((subscript))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\",,\\\"\\n\\tsuffix=\\\",,\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/superscript\":{\"title\":\"$:/core/ui/EditorToolbar/superscript\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/superscript\",\"caption\":\"{{$:/language/Buttons/Superscript/Caption}}\",\"description\":\"{{$:/language/Buttons/Superscript/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((superscript))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"^^\\\"\\n\\tsuffix=\\\"^^\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/transcludify\":{\"title\":\"$:/core/ui/EditorToolbar/transcludify\",\"caption\":\"{{$:/language/Buttons/Transcludify/Caption}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"description\":\"{{$:/language/Buttons/Transcludify/Hint}}\",\"icon\":\"$:/core/images/transcludify\",\"list-before\":\"$:/core/ui/EditorToolbar/mono-block\",\"shortcuts\":\"((transcludify))\",\"tags\":\"$:/tags/EditorToolbar\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"{{\\\"\\n\\tsuffix=\\\"}}\\\"\\n/>\\n\"},\"$:/core/ui/EditorToolbar/underline\":{\"title\":\"$:/core/ui/EditorToolbar/underline\",\"tags\":\"$:/tags/EditorToolbar\",\"icon\":\"$:/core/images/underline\",\"caption\":\"{{$:/language/Buttons/Underline/Caption}}\",\"description\":\"{{$:/language/Buttons/Underline/Hint}}\",\"condition\":\"[\u003CtargetTiddler>!has[type]] [\u003CtargetTiddler>type[text/vnd.tiddlywiki]]\",\"shortcuts\":\"((underline))\",\"text\":\"\u003C$action-sendmessage\\n\\t$message=\\\"tm-edit-text-operation\\\"\\n\\t$param=\\\"wrap-selection\\\"\\n\\tprefix=\\\"__\\\"\\n\\tsuffix=\\\"__\\\"\\n/>\\n\"},\"$:/core/ui/ExportTiddlyWikiCore\":{\"title\":\"$:/core/ui/ExportTiddlyWikiCore\",\"text\":\"\\\\define jsFileName() tiddlywikicore-$(version)$.js\\n\\\\define noExportMsg()\\nIt appears that you have a wiki with an external ~TiddlyWiki core. The export action cannot be performed.\\n\u003Cp>You will need to view the page source in your browser. Then go to the very bottom the the source, find the last `\u003Cscript>` \\nelement, and right-click its `src` URI. Save the link as ''$(jsFileName)$''\u003C/p>\\n\\\\end\\n\\n''For advanced users''\\n\\nExport the ~TiddlyWiki core ~JavaScript code for running with external ~JavaScript:\\n\\n\u003C$button tooltip=\\\"Export the ~TiddlyWiki core code for running with external ~JavaScript\\\" aria-label=\\\"export TiddlyWiki core\\\" class=\\\"tc-btn-big-green\\\">\\n\u003C$list filter=\\\"[[$:/boot/boot.js]is[missing]]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"\\\"\\\"\u003C$action-sendmessage $message=\\\"tm-download-file\\\" $param=\\\"$:/core/templates/tiddlywiki5.js\\\" filename=\u003C\u003CjsFileName>>/>\\\"\\\"\\\" >\\n\u003C$action-setfield $tiddler=\u003C\u003Cqualify \\\"$:/temp/alert\\\">> text=\u003C\u003CnoExportMsg>> subtitle=\\\"Export ~TiddllyWiki Core\\\"/>\\n\u003C$action-sendmessage $message=\\\"tm-modal\\\" $param=\u003C\u003Cqualify \\\"$:/temp/alert\\\">>/>\\n\u003C/$list>\\n{{$:/core/images/download-button}} Download ~TiddlyWiki core\\n\u003C/$button>\\n\\n[[Further information|https://tiddlywiki.com/#Using%20the%20external%20JavaScript%20template]]\\n\"},\"$:/core/Filters/AllTags\":{\"title\":\"$:/core/Filters/AllTags\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[tags[]!is[system]sort[title]]\",\"description\":\"{{$:/language/Filters/AllTags}}\",\"text\":\"\"},\"$:/core/Filters/AllTiddlers\":{\"title\":\"$:/core/Filters/AllTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[!is[system]sort[title]]\",\"description\":\"{{$:/language/Filters/AllTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/Drafts\":{\"title\":\"$:/core/Filters/Drafts\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[has[draft.of]sort[title]]\",\"description\":\"{{$:/language/Filters/Drafts}}\",\"text\":\"\"},\"$:/core/Filters/Missing\":{\"title\":\"$:/core/Filters/Missing\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[all[missing]sort[title]]\",\"description\":\"{{$:/language/Filters/Missing}}\",\"text\":\"\"},\"$:/core/Filters/Orphans\":{\"title\":\"$:/core/Filters/Orphans\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[all[orphans]sort[title]]\",\"description\":\"{{$:/language/Filters/Orphans}}\",\"text\":\"\"},\"$:/core/Filters/OverriddenShadowTiddlers\":{\"title\":\"$:/core/Filters/OverriddenShadowTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[is[shadow]]\",\"description\":\"{{$:/language/Filters/OverriddenShadowTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/RecentSystemTiddlers\":{\"title\":\"$:/core/Filters/RecentSystemTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[has[modified]!sort[modified]limit[50]]\",\"description\":\"{{$:/language/Filters/RecentSystemTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/RecentTiddlers\":{\"title\":\"$:/core/Filters/RecentTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[!is[system]has[modified]!sort[modified]limit[50]]\",\"description\":\"{{$:/language/Filters/RecentTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/SessionTiddlers\":{\"title\":\"$:/core/Filters/SessionTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[haschanged[]]\",\"description\":\"{{$:/language/Filters/SessionTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/ShadowTiddlers\":{\"title\":\"$:/core/Filters/ShadowTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[all[shadows]sort[title]]\",\"description\":\"{{$:/language/Filters/ShadowTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/StoryList\":{\"title\":\"$:/core/Filters/StoryList\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[list[$:/StoryList]] -$:/AdvancedSearch\",\"description\":\"{{$:/language/Filters/StoryList}}\",\"text\":\"\"},\"$:/core/Filters/SystemTags\":{\"title\":\"$:/core/Filters/SystemTags\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[all[shadows+tiddlers]tags[]is[system]sort[title]]\",\"description\":\"{{$:/language/Filters/SystemTags}}\",\"text\":\"\"},\"$:/core/Filters/SystemTiddlers\":{\"title\":\"$:/core/Filters/SystemTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[is[system]sort[title]]\",\"description\":\"{{$:/language/Filters/SystemTiddlers}}\",\"text\":\"\"},\"$:/core/Filters/TypedTiddlers\":{\"title\":\"$:/core/Filters/TypedTiddlers\",\"tags\":\"$:/tags/Filter\",\"filter\":\"[!is[system]has[type]each[type]sort[type]] -[type[text/vnd.tiddlywiki]]\",\"description\":\"{{$:/language/Filters/TypedTiddlers}}\",\"text\":\"\"},\"$:/core/ui/ImportListing\":{\"title\":\"$:/core/ui/ImportListing\",\"text\":\"\\\\define lingo-base() $:/language/Import/\\n\\n\\\\define messageField() message-$(payloadTiddler)$\\n\\n\\\\define payloadTitleFilter() [\u003CcurrentTiddler>get\u003CrenameField>minlength[1]else\u003CpayloadTiddler>]\\n\\n\\\\define overWriteWarning()\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[\u003CcurrentTiddler>!has\u003CsuppressedField>]\\\">\\n\u003C$text text={{{[subfilter\u003CpayloadTitleFilter>!is[tiddler]then[]] ~[\u003Clingo-base>addsuffix[Listing/Rename/OverwriteWarning]get[text]]}}}/>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define selectionInfo()\\n\\\\whitespace trim\\n\u003C$set name=\\\"escUnselected\\\" value={{{[{$:/language/Import/Upgrader/Tiddler/Unselected}escaperegexp[]addprefix[(?g)]]}}}>\\n\\t\u003C$list filter=\\\"[all[current]get\u003CmessageField>regexp\u003CescUnselected>]\\\" variable=\\\"ignore\\\">\\n\\t\\t\u003C$text text={{{[all[current]get\u003CselectionField>match[checked]then{$:/language/Import/Upgrader/Tiddler/Selected}else[]]}}}/>\\n\\t\u003C/$list>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define libraryInfo()\\n\\\\whitespace trim\\n\u003C$set name=\\\"escUnselected\\\" value={{{[{$:/language/Import/Upgrader/Tiddler/Unselected}escaperegexp[]addprefix[(?g)]]}}}>\\n\\t\u003C$list filter=\\\"[all[current]get\u003CmessageField>!regexp\u003CescUnselected>]\\\" variable=\\\"ignore\\\">\\n\\t\\t\u003C$text text={{{[all[current]get\u003CmessageField>]}}}/>\\n\\t\u003C/$list>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define selectionField() selection-$(payloadTiddler)$\\n\\n\\\\define renameField() rename-$(payloadTiddler)$\\n\\n\\\\define suppressedField() suppressed-$(payloadTiddler)$\\n\\n\\\\define newImportTitleTiddler() $:/temp/NewImportTitle-$(payloadTiddler)$\\n\\n\\\\define previewPopupState() $(currentTiddler)$!!popup-$(payloadTiddler)$\\n\\n\\\\define renameFieldState() $(currentTiddler)$!!state-rename-$(payloadTiddler)$\\n\\n\\\\define select-all-actions()\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[all[current]plugintiddlers[]sort[title]]\\\" variable=\\\"payloadTiddler\\\">\\n\u003C$action-setfield $field={{{ [\u003CpayloadTiddler>addprefix[selection-]] }}} $value={{$:/state/import/select-all}}/>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\whitespace trim\\n\u003Ctable class=\\\"tc-import-table\\\">\\n\u003Ctbody>\\n\u003Ctr>\\n\u003Cth align=\\\"left\\\">\\n\u003C$checkbox tiddler=\\\"$:/state/import/select-all\\\" field=\\\"text\\\" checked=\\\"checked\\\" unchecked=\\\"unchecked\\\" default=\\\"checked\\\" actions=\u003C\u003Cselect-all-actions>>>\\n \\n\u003C\u003Clingo Listing/Select/Caption>>\\n\u003C/$checkbox>\\n\u003C/th>\\n\u003Cth>\\n\u003C\u003Clingo Listing/Title/Caption>>\\n\u003C/th>\\n\u003Cth>\\n\u003C\u003Clingo Listing/Status/Caption>>\\n\u003C/th>\\n\u003C/tr>\\n\u003C$list filter=\\\"[all[current]plugintiddlers[]sort[title]]\\\" variable=\\\"payloadTiddler\\\">\\n\u003Ctr class={{{[\u003CcurrentTiddler>has\u003CsuppressedField>then[tc-row-disabled]] ~[subfilter\u003CpayloadTitleFilter>is[tiddler]then[tc-row-warning]] }}}>\\n\u003Ctd>\\n\u003C$checkbox field=\u003C\u003CselectionField>> checked=\\\"checked\\\" unchecked=\\\"unchecked\\\" default=\\\"checked\\\" disabled={{{[\u003CcurrentTiddler>has\u003CsuppressedField>then[yes]else[no]]}}}/>\\n\u003C/td>\\n\u003Ctd>\\n\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003CrenameFieldState>> text=\\\"yes\\\" tag=\\\"div\\\">\\n\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003CpreviewPopupState>> text=\\\"yes\\\" tag=\\\"div\\\" class=\\\"tc-flex\\\">\\n\u003C$button class=\\\"tc-btn-invisible tc-btn-dropdown tc-flex-grow-1 tc-word-break\\\" set=\u003C\u003CpreviewPopupState>> setTo=\\\"yes\\\" disabled={{{[\u003CcurrentTiddler>has\u003CsuppressedField>then[yes]else[no]]}}}>\\n\u003Cspan class=\\\"tc-small-gap-right\\\">{{$:/core/images/right-arrow}}\u003C/span>\u003C$text text={{{[subfilter\u003CpayloadTitleFilter>]}}}/>\\n\u003C/$button>\\n\u003C$list filter=\\\"[\u003CcurrentTiddler>!has\u003CsuppressedField>]\\\">\u003C$button class=\\\"tc-btn-invisible\\\" set=\u003C\u003CrenameFieldState>> setTo=\\\"yes\\\" tooltip={{{[\u003Clingo-base>addsuffix[Listing/Rename/Tooltip]get[text]]}}}>{{$:/core/images/edit-button}}\u003C/$button>\u003C/$list>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003CpreviewPopupState>> text=\\\"yes\\\" tag=\\\"div\\\">\\n\u003C$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=\u003C\u003CpreviewPopupState>> setTo=\\\"no\\\">\\n\u003Cspan class=\\\"tc-small-gap-right\\\">{{$:/core/images/down-arrow}}\u003C/span>\u003C$text text={{{[subfilter\u003CpayloadTitleFilter>]}}}/>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003CrenameFieldState>> text=\\\"yes\\\" tag=\\\"div\\\">\\n\u003C$text text={{{[\u003Clingo-base>addsuffix[Listing/Rename/Prompt]get[text]]}}}/>\\n\u003C/$reveal>\\n\u003C/td>\\n\u003Ctd>\\n\u003C\u003CselectionInfo>>\\n \\n\u003C\u003ClibraryInfo>>\\n \\n\u003C\u003CoverWriteWarning>>\\n\u003C/td>\\n\u003C/tr>\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003CrenameFieldState>> text=\\\"yes\\\" tag=\\\"tr\\\">\\n\\t\u003Ctd colspan=\\\"3\\\">\\n\\t\\t\u003Cdiv class=\\\"tc-flex\\\">\\n\\t\\t\\t\u003C$edit-text tiddler=\u003C\u003CnewImportTitleTiddler>> default={{{[subfilter\u003CpayloadTitleFilter>]}}} tag=\\\"input\\\" class=\\\"tc-import-rename tc-flex-grow-1\\\"/>\\n\\t\\t\\t\u003Cspan class=\\\"tc-small-gap-left\\\">\\n\\t\\t\\t\\t\u003C$button class=\\\"tc-btn-invisible\\\" set=\u003C\u003CrenameFieldState>> setTo=\\\"no\\\" tooltip={{{[\u003Clingo-base>addsuffix[Listing/Rename/CancelRename]get[text]]}}}>\\n\\t\\t\\t\\t\\t{{$:/core/images/close-button}}\\n\\t\\t\\t\\t\\t\u003C$action-deletetiddler $tiddler=\u003C\u003CnewImportTitleTiddler>>/>\\n\\t\\t\\t\\t\u003C/$button>\\n\\t\\t\\t\\t\u003Cspan class=\\\"tc-small-gap-right\\\"/>\\n\\t\\t\\t\u003C/span>\\n\\t\\t\\t\u003C$button class=\\\"tc-btn-invisible\\\" set=\u003C\u003CrenameFieldState>> setTo=\\\"no\\\" tooltip={{{[\u003Clingo-base>addsuffix[Listing/Rename/ConfirmRename]get[text]]}}}>\\n\\t\\t\\t\\t{{$:/core/images/done-button}}\\n\\t\\t\\t\\t\u003C$action-setfield $field=\u003C\u003CrenameField>> $value={{{[\u003CnewImportTitleTiddler>get[text]minlength[1]else\u003CpayloadTiddler>]}}} />\\n\\t\\t\\t\\t\u003C$action-deletetiddler $tiddler=\u003C\u003CnewImportTitleTiddler>>/>\\n\\t\\t\\t\u003C/$button>\\n\\t\\t\u003C/div>\\n\\t\u003C/td>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" text=\\\"yes\\\" state=\u003C\u003CpreviewPopupState>> tag=\\\"tr\\\">\\n\u003Ctd colspan=\\\"3\\\">\\n\u003C$list filter=\\\"[{$:/state/importpreviewtype}has[text]]\\\" variable=\\\"listItem\\\" emptyMessage={{$:/core/ui/ImportPreviews/Text}}>\\n\\t\u003Cdiv>\\n\\t\\t\u003C$transclude tiddler={{$:/state/importpreviewtype}}/>\\n\\t\u003C/div>\\n\u003C/$list>\\n\u003C/td>\\n\u003C/$reveal>\\n\u003C/$list>\\n\u003C/tbody>\\n\u003C/table>\\n\"},\"$:/core/ui/ImportPreviews/Diff\":{\"title\":\"$:/core/ui/ImportPreviews/Diff\",\"tags\":\"$:/tags/ImportPreview\",\"caption\":\"{{$:/language/Import/Listing/Preview/Diff}}\",\"text\":\"\u003C$macrocall $name=\\\"compareTiddlerText\\\" sourceTiddlerTitle=\u003C\u003CpayloadTiddler>> destTiddlerTitle=\u003C\u003CcurrentTiddler>> destSubTiddlerTitle=\u003C\u003CpayloadTiddler>>/>\\n\"},\"$:/core/ui/ImportPreviews/DiffFields\":{\"title\":\"$:/core/ui/ImportPreviews/DiffFields\",\"tags\":\"$:/tags/ImportPreview\",\"caption\":\"{{$:/language/Import/Listing/Preview/DiffFields}}\",\"text\":\"\u003C$macrocall $name=\\\"compareTiddlers\\\" sourceTiddlerTitle=\u003C\u003CpayloadTiddler>> destTiddlerTitle=\u003C\u003CcurrentTiddler>> destSubTiddlerTitle=\u003C\u003CpayloadTiddler>> exclude=\\\"text\\\"/>\\n\"},\"$:/core/ui/ImportPreviews/Fields\":{\"title\":\"$:/core/ui/ImportPreviews/Fields\",\"tags\":\"$:/tags/ImportPreview\",\"caption\":\"{{$:/language/Import/Listing/Preview/Fields}}\",\"text\":\"\\\\whitespace trim\\n\u003Ctable class=\\\"tc-view-field-table\\\">\\n\u003Ctbody>\\n\u003C$list filter=\\\"[\u003CpayloadTiddler>subtiddlerfields\u003CcurrentTiddler>sort[]] -text\\\" variable=\\\"fieldName\\\">\\n\u003Ctr class=\\\"tc-view-field\\\">\\n\u003Ctd class=\\\"tc-view-field-name\\\">\\n\u003C$text text=\u003C\u003CfieldName>>/>\\n\u003C/td>\\n\u003Ctd class=\\\"tc-view-field-value\\\">\\n\u003C$view field=\u003C\u003CfieldName>> tiddler=\u003C\u003CcurrentTiddler>> subtiddler=\u003C\u003CpayloadTiddler>>/>\\n\u003C/td>\\n\u003C/tr>\\n\u003C/$list>\\n\u003C/tbody>\\n\u003C/table>\\n\"},\"$:/core/ui/ImportPreviews/Text\":{\"title\":\"$:/core/ui/ImportPreviews/Text\",\"tags\":\"$:/tags/ImportPreview\",\"caption\":\"{{$:/language/Import/Listing/Preview/Text}}\",\"code-body\":\"yes\",\"text\":\"\u003C$transclude tiddler=\u003C\u003CcurrentTiddler>> subtiddler=\u003C\u003CpayloadTiddler>> mode=\\\"block\\\"/>\\n\"},\"$:/core/ui/ImportPreviews/TextRaw\":{\"title\":\"$:/core/ui/ImportPreviews/TextRaw\",\"tags\":\"$:/tags/ImportPreview\",\"caption\":\"{{$:/language/Import/Listing/Preview/TextRaw}}\",\"text\":\"\u003Cpre>\u003Ccode>\u003C$view tiddler=\u003C\u003CcurrentTiddler>> subtiddler=\u003C\u003CpayloadTiddler>> />\u003C/code>\u003C/pre>\"},\"$:/core/ui/KeyboardShortcuts/advanced-search\":{\"title\":\"$:/core/ui/KeyboardShortcuts/advanced-search\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((advanced-search))\",\"text\":\"\\\\whitespace trim\\n\u003C$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\">\\n\u003C$action-navigate $to=\\\"$:/AdvancedSearch\\\" $scroll=\\\"yes\\\"/>\\n\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\"\\\"\\\"[data-tiddler-title=\\\"$:/AdvancedSearch\\\"] .tc-search input\\\"\\\"\\\" preventScroll=\\\"true\\\"/>\\n\u003C/$navigator>\\n\"},\"$:/core/ui/KeyboardShortcuts/change-sidebar-layout\":{\"title\":\"$:/core/ui/KeyboardShortcuts/change-sidebar-layout\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((change-sidebar-layout))\",\"text\":\"\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[{$:/themes/tiddlywiki/vanilla/options/sidebarlayout}match[fixed-fluid]]\\\"\\n\\temptyMessage=\\\"\u003C$action-setfield $tiddler='$:/themes/tiddlywiki/vanilla/options/sidebarlayout' text='fixed-fluid'/>\\\">\\n\u003C$action-setfield $tiddler=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\" text=\\\"fluid-fixed\\\"/>\\n\u003C/$list>\\n\"},\"$:/core/ui/KeyboardShortcuts/new-image\":{\"title\":\"$:/core/ui/KeyboardShortcuts/new-image\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((new-image))\",\"text\":\"\\\\whitespace trim\\n\u003C$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n{{$:/core/ui/Actions/new-image}}\\n\u003C/$navigator>\\n\"},\"$:/core/ui/KeyboardShortcuts/new-journal\":{\"title\":\"$:/core/ui/KeyboardShortcuts/new-journal\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((new-journal))\",\"text\":\"\\\\whitespace trim\\n\u003C$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n{{$:/core/ui/Actions/new-journal}}\\n\u003C/$navigator>\\n\"},\"$:/core/ui/KeyboardShortcuts/new-tiddler\":{\"title\":\"$:/core/ui/KeyboardShortcuts/new-tiddler\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((new-tiddler))\",\"text\":\"\\\\whitespace trim\\n\u003C$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n{{$:/core/ui/Actions/new-tiddler}}\\n\u003C/$navigator>\\n\"},\"$:/core/ui/KeyboardShortcuts/save-wiki\":{\"title\":\"$:/core/ui/KeyboardShortcuts/save-wiki\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((save-wiki))\",\"text\":\"\\\\whitespace trim\\n\u003C$wikify name=\\\"site-title\\\" text={{$:/config/SaveWikiButton/Filename}}>\\n\u003C$action-sendmessage $message=\\\"tm-save-wiki\\\" $param={{$:/config/SaveWikiButton/Template}} filename=\u003C\u003Csite-title>>/>\\n\u003C/$wikify>\\n\"},\"$:/core/ui/KeyboardShortcuts/sidebar-search\":{\"title\":\"$:/core/ui/KeyboardShortcuts/sidebar-search\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((sidebar-search))\",\"text\":\"\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-search input\\\"/>\\n\"},\"$:/core/ui/KeyboardShortcuts/switcher\":{\"title\":\"$:/core/ui/KeyboardShortcuts/switcher\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((layout-switcher))\",\"text\":\"\u003C$action-sendmessage $message=\\\"tm-show-switcher\\\" switch=\\\"layout\\\"/>\"},\"$:/core/ui/KeyboardShortcuts/toggle-sidebar\":{\"title\":\"$:/core/ui/KeyboardShortcuts/toggle-sidebar\",\"tags\":\"$:/tags/KeyboardShortcut\",\"key\":\"((toggle-sidebar))\",\"text\":\"\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[[$:/state/sidebar]is[missing]] [{$:/state/sidebar}removeprefix[yes]]\\\"\\n\\temptyMessage=\\\"\u003C$action-setfield $tiddler='$:/state/sidebar' text='yes'/>\\\">\\n\u003C$action-setfield $tiddler=\\\"$:/state/sidebar\\\" text=\\\"no\\\"/>\\n\u003C/$list>\\n\"},\"$:/snippets/LayoutSwitcher\":{\"title\":\"$:/snippets/LayoutSwitcher\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ControlPanel/LayoutSwitcher/Caption}}\",\"text\":\"\\\\whitespace trim\\n\u003C$linkcatcher to=\\\"$:/layout\\\">\\n\u003Cdiv class=\\\"tc-chooser\\\">\\n\u003C$list filter=\\\"[all[tiddlers+shadows]tag[$:/tags/Layout]] [[$:/core/ui/PageTemplate]] +[!is[draft]sort[name]]\\\">\\n\u003C$list\\n\\tfilter=\\\"[{$:/layout}!has[text]]\\\"\\n\\tvariable=\\\"ignore\\\"\\n\\temptyMessage=\\\"\\\"\\\"\\\\whitespace trim\\n\\t\\t\u003C$set name=\\\"cls\\\" filter=\\\"[all[current]field:title{$:/layout}]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\">\\n\\t\\t\u003Cdiv class=\u003C\u003Ccls>>>\\n\\t\\t\u003C$link to={{!!title}}>\\n\\t\\t''\u003C$transclude tiddler={{{ [\u003CcurrentTiddler>get[icon]] }}}/>\u003C$transclude field=\\\"name\\\"/>'' - \u003C$transclude field=\\\"description\\\"/>\\n\\t\\t\u003C/$link>\u003C/div>\u003C/$set>\\n\\\"\\\"\\\">\\n\u003C$set name=\\\"cls\\\" filter=\\\"[all[current]field:title[$:/core/ui/PageTemplate]]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\">\\n\u003Cdiv class=\u003C\u003Ccls>>>\\n\u003C$link to={{!!title}}>\\n''\u003C$transclude tiddler={{{ [\u003CcurrentTiddler>get[icon]] }}}/>\u003C$transclude field=\\\"name\\\"/>'' - \u003C$transclude field=\\\"description\\\"/>\\n\u003C/$link>\\n\u003C/div>\\n\u003C/$set>\\n\u003C/$list>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$linkcatcher>\\n\"},\"$:/core/ui/ListItemTemplate\":{\"title\":\"$:/core/ui/ListItemTemplate\",\"text\":\"\u003Cdiv class=\\\"tc-menu-list-item\\\">\u003C$link />\u003C/div>\"},\"$:/snippets/ListTaggedCascade\":{\"title\":\"$:/snippets/ListTaggedCascade\",\"text\":\"\\\\whitespace trim\\n{{||$:/language/ControlPanel/Cascades/TagPrompt}}\\n\\n\u003Col>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag\u003CcurrentTiddler>]\\\">\\n\u003Cli>\\n\u003Cdiv>\\n\u003C$link>\u003C$text text=\u003C\u003CcurrentTiddler>>/>\u003C/$link>\\n\u003C/div>\\n\u003C$codeblock code={{!!text}}/>\\n\u003C/li>\\n\u003C/$list>\\n\u003C/ol>\\n\"},\"$:/Manager/ItemMain/Fields\":{\"title\":\"$:/Manager/ItemMain/Fields\",\"tags\":\"$:/tags/Manager/ItemMain\",\"caption\":\"{{$:/language/Manager/Item/Fields}}\",\"text\":\"\\\\whitespace trim\\n\u003Ctable>\\n\u003Ctbody>\\n\u003C$list filter=\\\"[all[current]fields[]sort[title]] -text\\\" template=\\\"$:/core/ui/TiddlerFieldTemplate\\\" variable=\\\"listItem\\\"/>\\n\u003C/tbody>\\n\u003C/table>\\n\"},\"$:/Manager/ItemMain/RawText\":{\"title\":\"$:/Manager/ItemMain/RawText\",\"tags\":\"$:/tags/Manager/ItemMain\",\"caption\":\"{{$:/language/Manager/Item/RawText}}\",\"text\":\"\u003Cpre>\u003Ccode>\u003C$view/>\u003C/code>\u003C/pre>\\n\"},\"$:/Manager/ItemMain/WikifiedText\":{\"title\":\"$:/Manager/ItemMain/WikifiedText\",\"tags\":\"$:/tags/Manager/ItemMain\",\"caption\":\"{{$:/language/Manager/Item/WikifiedText}}\",\"text\":\"\u003C$transclude mode=\\\"block\\\"/>\\n\"},\"$:/Manager/ItemSidebar/Colour\":{\"title\":\"$:/Manager/ItemSidebar/Colour\",\"tags\":\"$:/tags/Manager/ItemSidebar\",\"caption\":\"{{$:/language/Manager/Item/Colour}}\",\"text\":\"\\\\define swatch-styles()\\nheight: 1em;\\nbackground-color: $(colour)$\\n\\\\end\\n\\n\\\\whitespace trim\\n\u003C$vars colour={{!!color}}>\\n\u003Cp style=\u003C\u003Cswatch-styles>>/>\\n\u003C/$vars>\\n\u003Cp>\\n\u003C$edit-text field=\\\"color\\\" tag=\\\"input\\\" type=\\\"color\\\"/>\\n / \\n\u003C$edit-text field=\\\"color\\\" tag=\\\"input\\\" type=\\\"text\\\" size=\\\"9\\\"/>\\n\u003C/p>\\n\"},\"$:/Manager/ItemSidebar/Icon\":{\"title\":\"$:/Manager/ItemSidebar/Icon\",\"tags\":\"$:/tags/Manager/ItemSidebar\",\"caption\":\"{{$:/language/Manager/Item/Icon}}\",\"text\":\"\\\\whitespace trim\\n\u003Cp>\\n\u003Cdiv class=\\\"tc-manager-icon-editor\\\">\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/image-picker\\\">> class=\\\"tc-btn-invisible\\\">\\n\u003C$transclude tiddler={{!!icon}}>\\n{{$:/language/Manager/Item/Icon/None}}\\n\u003C/$transclude>\\n\u003C/$button>\\n\u003Cdiv class=\\\"tc-block-dropdown-wrapper\\\" style=\\\"position: static;\\\">\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/image-picker\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\" tag=\\\"div\\\" class=\\\"tc-popup\\\">\\n\u003Cdiv class=\\\"tc-block-dropdown tc-popup-keep\\\" style=\\\"width: 80%; left: 10%; right: 10%; padding: 0.5em;\\\">\\n\u003C$macrocall\\n\\t$name=\\\"image-picker-include-tagged-images\\\"\\n\\tactions=\\\"\u003C$action-setfield $field='icon' $value=\u003C\u003CimageTitle>>/>\u003C$action-deletetiddler $tiddler=\u003C\u003Cqualify '$:/state/popup/image-picker'>>/>\\\"/>\\n\u003C/div>\\n\u003C/$reveal>\\n\u003C/div>\\n\u003C/div>\\n\u003C/p>\\n\"},\"$:/Manager/ItemSidebar/Tags\":{\"title\":\"$:/Manager/ItemSidebar/Tags\",\"tags\":\"$:/tags/Manager/ItemSidebar\",\"caption\":\"{{$:/language/Manager/Item/Tags}}\",\"text\":\"\\\\whitespace trim\\n\\\\define tag-checkbox-actions()\\n\u003C$action-listops\\n\\t$tiddler=\\\"$:/config/Manager/RecentTags\\\"\\n\\t$subfilter=\\\"[\u003Ctag>] [list[$:/config/Manager/RecentTags]] +[limit[12]]\\\"\\n/>\\n\\\\end\\n\\n\\\\define tag-picker-actions()\\n\u003C\u003Ctag-checkbox-actions>>\\n\\\\end\\n\\n\u003Cp>\\n\u003C$list filter=\\\"[all[current]tags[]] [list[$:/config/Manager/RecentTags]] +[sort[title]] \\\" variable=\\\"tag\\\" storyview=\\\"pop\\\">\\n\u003Cdiv>\\n\u003C$checkbox tiddler=\u003C\u003CcurrentTiddler>> tag=\u003C\u003Ctag>> actions=\u003C\u003Ctag-checkbox-actions>>>\\n\u003C$macrocall $name=\\\"tag-pill\\\" tag=\u003C\u003Ctag>>/>\\n\u003C/$checkbox>\\n\u003C/div>\\n\u003C/$list>\\n\u003C/p>\\n\u003Cp>\\n\u003C$fieldmangler>\\n\u003C$macrocall $name=\\\"tag-picker\\\" actions=\u003C\u003Ctag-picker-actions>>/>\\n\u003C/$fieldmangler>\\n\u003C/p>\\n\"},\"$:/Manager/ItemSidebar/Tools\":{\"title\":\"$:/Manager/ItemSidebar/Tools\",\"tags\":\"$:/tags/Manager/ItemSidebar\",\"caption\":\"{{$:/language/Manager/Item/Tools}}\",\"text\":\"\\\\whitespace trim\\n\u003Cp>\\n\u003C$button to=\u003C\u003CcurrentTiddler>>>\\n{{$:/core/images/link}} open\\n\u003C/$button>\\n\u003C/p>\\n\u003Cp>\\n\u003C$button message=\\\"tm-edit-tiddler\\\" param=\u003C\u003CcurrentTiddler>>>\\n{{$:/core/images/edit-button}} edit\\n\u003C/$button>\\n\u003C/p>\\n\"},\"$:/Manager\":{\"title\":\"$:/Manager\",\"icon\":\"$:/core/images/list\",\"color\":\"#bbb\",\"text\":\"\\\\define lingo-base() $:/language/Manager/\\n\\n\\\\define list-item-content-item()\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-manager-list-item-content-item\\\">\\n\\t\u003C$vars state-title=\\\"\\\"\\\"$:/state/popup/manager/item/$(listItem)$\\\"\\\"\\\">\\n\\t\\t\u003C$reveal state=\u003C\u003Cstate-title>> type=\\\"match\\\" text=\\\"show\\\" default=\\\"show\\\" tag=\\\"div\\\">\\n\\t\\t\\t\u003C$button set=\u003C\u003Cstate-title>> setTo=\\\"hide\\\" class=\\\"tc-btn-invisible tc-manager-list-item-content-item-heading\\\">\\n\\t\\t\\t\\t{{$:/core/images/down-arrow}} \u003C$transclude tiddler=\u003C\u003ClistItem>> field=\\\"caption\\\"/>\\n\\t\\t\\t\u003C/$button>\\n\\t\\t\u003C/$reveal>\\n\\t\\t\u003C$reveal state=\u003C\u003Cstate-title>> type=\\\"nomatch\\\" text=\\\"show\\\" default=\\\"show\\\" tag=\\\"div\\\">\\n\\t\\t\\t\u003C$button set=\u003C\u003Cstate-title>> setTo=\\\"show\\\" class=\\\"tc-btn-invisible tc-manager-list-item-content-item-heading\\\">\\n\\t\\t\\t\\t{{$:/core/images/right-arrow}} \u003C$transclude tiddler=\u003C\u003ClistItem>> field=\\\"caption\\\"/>\\n\\t\\t\\t\u003C/$button>\\n\\t\\t\u003C/$reveal>\\n\\t\\t\u003C$reveal state=\u003C\u003Cstate-title>> type=\\\"match\\\" text=\\\"show\\\" default=\\\"show\\\" tag=\\\"div\\\" class=\\\"tc-manager-list-item-content-item-body\\\">\\n\\t\\t\\t\u003C$transclude tiddler=\u003C\u003ClistItem>>/>\\n\\t\\t\u003C/$reveal>\\n\\t\u003C/$vars>\\n\u003C/div>\\n\\\\end\\n\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-manager-wrapper\\\">\\n\\t\u003Cdiv class=\\\"tc-manager-controls\\\">\\n\\t\\t\u003Cdiv class=\\\"tc-manager-control\\\">\\n\\t\\t\\t\u003C\u003Clingo Controls/Show/Prompt>> \u003C$select tiddler=\\\"$:/config/Manager/Show\\\" default=\\\"tiddlers\\\">\\n\\t\\t\\t\\t\u003Coption value=\\\"tiddlers\\\">\u003C\u003Clingo Controls/Show/Option/Tiddlers>>\u003C/option>\\n\\t\\t\\t\\t\u003Coption value=\\\"tags\\\">\u003C\u003Clingo Controls/Show/Option/Tags>>\u003C/option>\\n\\t\\t\\t\u003C/$select>\\n\\t\\t\u003C/div>\\n\\t\\t\u003Cdiv class=\\\"tc-manager-control\\\">\\n\\t\\t\\t\u003C\u003Clingo Controls/Search/Prompt>> \u003C$edit-text tiddler=\\\"$:/config/Manager/Filter\\\" tag=\\\"input\\\" default=\\\"\\\" placeholder={{$:/language/Manager/Controls/Search/Placeholder}}/>\\n\\t\\t\u003C/div>\\n\\t\\t\u003Cdiv class=\\\"tc-manager-control\\\">\\n\\t\\t\\t\u003C\u003Clingo Controls/FilterByTag/Prompt>> \u003C$select tiddler=\\\"$:/config/Manager/Tag\\\" default=\\\"\\\">\\n\\t\\t\\t\\t\u003Coption value=\\\"\\\">\u003C\u003Clingo Controls/FilterByTag/None>>\u003C/option>\\n\\t\\t\\t\\t\u003C$list filter=\\\"[!is{$:/config/Manager/System}tags[]!is[system]sort[title]]\\\" variable=\\\"tag\\\">\\n\\t\\t\\t\\t\\t\u003Coption value=\u003C\u003Ctag>>>\u003C$text text=\u003C\u003Ctag>>/>\u003C/option>\\n\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\u003C/$select>\\n\\t\\t\u003C/div>\\n\\t\\t\u003Cdiv class=\\\"tc-manager-control\\\">\\n\\t\\t\\t\u003C\u003Clingo Controls/Sort/Prompt>> \u003C$select tiddler=\\\"$:/config/Manager/Sort\\\" default=\\\"title\\\">\\n\\t\\t\\t\\t\u003Coptgroup label=\\\"Common\\\">\\n\\t\\t\\t\\t\\t\u003C$list filter=\\\"title modified modifier created creator created\\\" variable=\\\"field\\\">\\n\\t\\t\\t\\t\\t\\t\u003Coption value=\u003C\u003Cfield>>>\u003C$text text=\u003C\u003Cfield>>/>\u003C/option>\\n\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\u003C/optgroup>\\n\\t\\t\\t\\t\u003Coptgroup label=\\\"All\\\">\\n\\t\\t\\t\\t\\t\u003C$list filter=\\\"[all{$:/config/Manager/Show}!is{$:/config/Manager/System}fields[]sort[title]] -title -modified -modifier -created -creator -created\\\" variable=\\\"field\\\">\\n\\t\\t\\t\\t\\t\\t\u003Coption value=\u003C\u003Cfield>>>\u003C$text text=\u003C\u003Cfield>>/>\u003C/option>\\n\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\u003C/optgroup>\\n\\t\\t\\t\u003C/$select>\\n\\t\\t\\t \\n\\t\\t\\t\u003C$checkbox tiddler=\\\"$:/config/Manager/Order\\\" field=\\\"text\\\" checked=\\\"reverse\\\" unchecked=\\\"forward\\\" default=\\\"forward\\\">\\n\\t\\t\\t\\t \\n\\t\\t\\t\\t\u003C\u003Clingo Controls/Order/Prompt>>\\n\\t\\t\\t\u003C/$checkbox>\\n\\t\\t\u003C/div>\\n\\t\\t\u003Cdiv class=\\\"tc-manager-control\\\">\\n\\t\\t\\t\u003C$checkbox tiddler=\\\"$:/config/Manager/System\\\" field=\\\"text\\\" checked=\\\"\\\" unchecked=\\\"system\\\" default=\\\"system\\\">\\n\\t\\t\\t\\t \\n\\t\\t\\t\\t{{$:/language/SystemTiddlers/Include/Prompt}}\\n\\t\\t\\t\u003C/$checkbox>\\n\\t\\t\u003C/div>\\n\\t\u003C/div>\\n\\t\u003Cdiv class=\\\"tc-manager-list\\\">\\n\\t\\t\u003C$list filter=\\\"[all{$:/config/Manager/Show}!is{$:/config/Manager/System}search{$:/config/Manager/Filter}tag:strict{$:/config/Manager/Tag}sort{$:/config/Manager/Sort}order{$:/config/Manager/Order}]\\\">\\n\\t\\t\\t\u003C$vars transclusion=\u003C\u003CcurrentTiddler>>>\\n\\t\\t\\t\\t\u003Cdiv style=\\\"tc-manager-list-item\\\">\\n\\t\\t\\t\\t\\t\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/manager/popup\\\">> class=\\\"tc-btn-invisible tc-manager-list-item-heading\\\" selectedClass=\\\"tc-manager-list-item-heading-selected\\\">\\n\\t\\t\\t\\t\\t\\t\u003C$text text=\u003C\u003CcurrentTiddler>>/>\\n\\t\\t\\t\\t\\t\u003C/$button>\\n\\t\\t\\t\\t\\t\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/manager/popup\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\" tag=\\\"div\\\" class=\\\"tc-manager-list-item-content tc-popup-handle\\\">\\n\\t\\t\\t\\t\\t\\t\u003Cdiv class=\\\"tc-manager-list-item-content-tiddler\\\">\\n\\t\\t\\t\\t\\t\\t\\t\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Manager/ItemMain]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003C\u003Clist-item-content-item>>\\n\\t\\t\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\\t\\t\u003C/div>\\n\\t\\t\\t\\t\\t\\t\u003Cdiv class=\\\"tc-manager-list-item-content-sidebar\\\">\\n\\t\\t\\t\\t\\t\\t\\t\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Manager/ItemSidebar]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003C\u003Clist-item-content-item>>\\n\\t\\t\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\\t\\t\u003C/div>\\n\\t\\t\\t\\t\\t\u003C/$reveal>\\n\\t\\t\\t\\t\u003C/div>\\n\\t\\t\\t\u003C/$vars>\\n\\t\\t\u003C/$list>\\n\\t\u003C/div>\\n\u003C/div>\\n\"},\"$:/core/ui/MissingTemplate\":{\"title\":\"$:/core/ui/MissingTemplate\",\"text\":\"\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-tiddler-missing\\\">\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/missing\\\">> class=\\\"tc-btn-invisible tc-missing-tiddler-label\\\">\\n\u003C$view field=\\\"title\\\" format=\\\"text\\\" />\\n\u003C/$button>\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/missing\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n\u003Cdiv class=\\\"tc-drop-down\\\">\\n\u003C$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\u003Chr>\\n\u003C$list filter=\\\"[all[current]backlinks[]sort[title]]\\\" template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\u003C/div>\\n\u003C/$reveal>\\n\u003C/div>\\n\"},\"$:/core/ui/MoreSideBar/All\":{\"title\":\"$:/core/ui/MoreSideBar/All\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/All/Caption}}\",\"text\":\"\u003C$list filter={{$:/core/Filters/AllTiddlers!!filter}} template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Drafts\":{\"title\":\"$:/core/ui/MoreSideBar/Drafts\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Drafts/Caption}}\",\"text\":\"\u003C$list filter={{$:/core/Filters/Drafts!!filter}} template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Explorer\":{\"title\":\"$:/core/ui/MoreSideBar/Explorer\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Explorer/Caption}}\",\"text\":\"\u003C\u003Ctree \\\"$:/\\\">>\\n\"},\"$:/core/ui/MoreSideBar/Missing\":{\"title\":\"$:/core/ui/MoreSideBar/Missing\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Missing/Caption}}\",\"text\":\"\u003C$list filter={{$:/core/Filters/Missing!!filter}} template=\\\"$:/core/ui/MissingTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Orphans\":{\"title\":\"$:/core/ui/MoreSideBar/Orphans\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Orphans/Caption}}\",\"text\":\"\u003C$list filter={{$:/core/Filters/Orphans!!filter}} template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Plugins\":{\"title\":\"$:/core/ui/MoreSideBar/Plugins\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Caption}}\",\"text\":\"\\n{{$:/language/ControlPanel/Plugins/Installed/Hint}}\\n\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/MoreSideBar/Plugins]!has[draft.of]]\\\" default=\\\"$:/core/ui/MoreSideBar/Plugins/Plugins\\\" explicitState=\\\"$:/state/tab-1163638994\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Recent\":{\"title\":\"$:/core/ui/MoreSideBar/Recent\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Recent/Caption}}\",\"text\":\"\u003C$macrocall $name=\\\"timeline\\\" format={{$:/language/RecentChanges/DateFormat}}/>\\n\"},\"$:/core/ui/MoreSideBar/Shadows\":{\"title\":\"$:/core/ui/MoreSideBar/Shadows\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Shadows/Caption}}\",\"text\":\"\u003C$list filter={{$:/core/Filters/ShadowTiddlers!!filter}} template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/System\":{\"title\":\"$:/core/ui/MoreSideBar/System\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/System/Caption}}\",\"text\":\"\u003C$list filter={{$:/core/Filters/SystemTiddlers!!filter}} template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/MoreSideBar/Tags\":{\"title\":\"$:/core/ui/MoreSideBar/Tags\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Tags/Caption}}\",\"text\":\"\\\\whitespace trim\\n\u003C$let tv-config-toolbar-icons=\\\"yes\\\" tv-config-toolbar-text=\\\"yes\\\" tv-config-toolbar-class=\\\"\\\">\\n\\t\u003Cdiv class=\\\"tc-tiny-v-gap-bottom\\\">\\n\\t\\t{{$:/core/ui/Buttons/tag-manager}}\\n\\t\u003C/div>\\n\u003C/$let>\\n\u003C$list filter={{$:/core/Filters/AllTags!!filter}}>\\n\\t\u003Cdiv class=\\\"tc-tiny-v-gap-bottom\\\">\\n\\t\\t\u003C$transclude tiddler=\\\"$:/core/ui/TagTemplate\\\"/>\\n\\t\u003C/div>\\n\u003C/$list>\\n\u003Chr class=\\\"tc-untagged-separator\\\">\\n{{$:/core/ui/UntaggedTemplate}}\\n\"},\"$:/core/ui/MoreSideBar/Types\":{\"title\":\"$:/core/ui/MoreSideBar/Types\",\"tags\":\"$:/tags/MoreSideBar\",\"caption\":\"{{$:/language/SideBar/Types/Caption}}\",\"text\":\"\\\\whitespace trim\\n\u003C$list filter={{$:/core/Filters/TypedTiddlers!!filter}}>\\n\u003Cdiv class=\\\"tc-menu-list-item\\\">\\n\u003C$view field=\\\"type\\\"/>\\n\u003C$list filter=\\\"[type{!!type}!is[system]sort[title]]\\\">\\n\u003Cdiv class=\\\"tc-menu-list-subitem\\\">\\n\u003C$link to={{!!title}}>\u003C$view field=\\\"title\\\"/>\u003C/$link>\\n\u003C/div>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$list>\\n\"},\"$:/core/ui/MoreSideBar/Plugins/Languages\":{\"title\":\"$:/core/ui/MoreSideBar/Plugins/Languages\",\"tags\":\"$:/tags/MoreSideBar/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Languages/Caption}}\",\"text\":\"\u003C$list filter=\\\"[!has[draft.of]plugin-type[language]sort[name]]\\\" template=\\\"$:/core/ui/PluginListItemTemplate\\\" emptyMessage={{$:/language/ControlPanel/Plugins/Empty/Hint}}/>\\n\"},\"$:/core/ui/MoreSideBar/Plugins/Plugins\":{\"title\":\"$:/core/ui/MoreSideBar/Plugins/Plugins\",\"tags\":\"$:/tags/MoreSideBar/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Plugins/Caption}}\",\"text\":\"\u003C$list filter=\\\"[!has[draft.of]plugin-type[plugin]sort[name]]\\\" template=\\\"$:/core/ui/PluginListItemTemplate\\\" emptyMessage={{$:/language/ControlPanel/Plugins/Empty/Hint}}>>/>\\n\"},\"$:/core/ui/MoreSideBar/Plugins/Theme\":{\"title\":\"$:/core/ui/MoreSideBar/Plugins/Theme\",\"tags\":\"$:/tags/MoreSideBar/Plugins\",\"caption\":\"{{$:/language/ControlPanel/Plugins/Themes/Caption}}\",\"text\":\"\u003C$list filter=\\\"[!has[draft.of]plugin-type[theme]sort[name]]\\\" template=\\\"$:/core/ui/PluginListItemTemplate\\\" emptyMessage={{$:/language/ControlPanel/Plugins/Empty/Hint}}/>\\n\"},\"$:/core/ui/Buttons/advanced-search\":{\"title\":\"$:/core/ui/Buttons/advanced-search\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/advanced-search-button}} {{$:/language/Buttons/AdvancedSearch/Caption}}\",\"description\":\"{{$:/language/Buttons/AdvancedSearch/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define advanced-search-button(class)\\n\\\\whitespace trim\\n\u003C$button to=\\\"$:/AdvancedSearch\\\" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\\\"\\\"\\\"$(tv-config-toolbar-class)$ $class$\\\"\\\"\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/advanced-search-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/AdvancedSearch/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\\\\end\\n\\n\u003C$list filter=\\\"[list[$:/StoryList]] +[field:title[$:/AdvancedSearch]]\\\" emptyMessage=\u003C\u003Cadvanced-search-button>>>\\n\u003C\u003Cadvanced-search-button \\\"tc-selected\\\">>\\n\u003C/$list>\\n\"},\"$:/core/ui/Buttons/close-all\":{\"title\":\"$:/core/ui/Buttons/close-all\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/close-all-button}} {{$:/language/Buttons/CloseAll/Caption}}\",\"description\":\"{{$:/language/Buttons/CloseAll/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-close-all-tiddlers\\\" tooltip={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/close-all-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/CloseAll/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/control-panel\":{\"title\":\"$:/core/ui/Buttons/control-panel\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/options-button}} {{$:/language/Buttons/ControlPanel/Caption}}\",\"description\":\"{{$:/language/Buttons/ControlPanel/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define control-panel-button(class)\\n\\\\whitespace trim\\n\u003C$button to=\\\"$:/ControlPanel\\\" tooltip={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=\\\"\\\"\\\"$(tv-config-toolbar-class)$ $class$\\\"\\\"\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/options-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/ControlPanel/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\\\\end\\n\\n\u003C$list filter=\\\"[list\u003Ctv-story-list>] +[field:title[$:/ControlPanel]]\\\" emptyMessage=\u003C\u003Ccontrol-panel-button>>>\\n\u003C\u003Ccontrol-panel-button \\\"tc-selected\\\">>\\n\u003C/$list>\\n\"},\"$:/core/ui/Buttons/encryption\":{\"title\":\"$:/core/ui/Buttons/encryption\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/locked-padlock}} {{$:/language/Buttons/Encryption/Caption}}\",\"description\":\"{{$:/language/Buttons/Encryption/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$reveal type=\\\"match\\\" state=\\\"$:/isEncrypted\\\" text=\\\"yes\\\">\\n\u003C$button message=\\\"tm-clear-password\\\" tooltip={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/locked-padlock}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"nomatch\\\" state=\\\"$:/isEncrypted\\\" text=\\\"yes\\\">\\n\u003C$button message=\\\"tm-set-password\\\" tooltip={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/unlocked-padlock}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/Buttons/export-page\":{\"title\":\"$:/core/ui/Buttons/export-page\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/export-button}} {{$:/language/Buttons/ExportPage/Caption}}\",\"description\":\"{{$:/language/Buttons/ExportPage/Hint}}\",\"text\":\"\u003C$macrocall $name=\\\"exportButton\\\" exportFilter=\\\"[!is[system]sort[title]]\\\" lingoBase=\\\"$:/language/Buttons/ExportPage/\\\"/>\"},\"$:/core/ui/Buttons/fold-all\":{\"title\":\"$:/core/ui/Buttons/fold-all\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/fold-all-button}} {{$:/language/Buttons/FoldAll/Caption}}\",\"description\":\"{{$:/language/Buttons/FoldAll/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button tooltip={{$:/language/Buttons/FoldAll/Hint}} aria-label={{$:/language/Buttons/FoldAll/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$action-sendmessage $message=\\\"tm-fold-all-tiddlers\\\" $param=\u003C\u003CcurrentTiddler>> foldedStatePrefix=\\\"$:/state/folded/\\\"/>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\" variable=\\\"listItem\\\">\\n{{$:/core/images/fold-all-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/FoldAll/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/full-screen\":{\"title\":\"$:/core/ui/Buttons/full-screen\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/full-screen-button}} {{$:/language/Buttons/FullScreen/Caption}}\",\"description\":\"{{$:/language/Buttons/FullScreen/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-full-screen\\\" tooltip={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/full-screen-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/FullScreen/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/home\":{\"title\":\"$:/core/ui/Buttons/home\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/home-button}} {{$:/language/Buttons/Home/Caption}}\",\"description\":\"{{$:/language/Buttons/Home/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-home\\\" tooltip={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/home-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Home/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/import\":{\"title\":\"$:/core/ui/Buttons/import\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/import-button}} {{$:/language/Buttons/Import/Caption}}\",\"description\":\"{{$:/language/Buttons/Import/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-file-input-wrapper\\\">\\n\u003C$button tooltip={{$:/language/Buttons/Import/Hint}} aria-label={{$:/language/Buttons/Import/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/import-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Import/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C$browse tooltip={{$:/language/Buttons/Import/Hint}}/>\\n\u003C/div>\"},\"$:/core/ui/Buttons/language\":{\"title\":\"$:/core/ui/Buttons/language\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/globe}} {{$:/language/Buttons/Language/Caption}}\",\"description\":\"{{$:/language/Buttons/Language/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define flag-title()\\n$(languagePluginTitle)$/icon\\n\\\\end\\n\u003Cspan class=\\\"tc-popup-keep\\\">\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/language\\\">> tooltip={{$:/language/Buttons/Language/Hint}} aria-label={{$:/language/Buttons/Language/Caption}} class=\u003C\u003Ctv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-image-button\\\">\\n\u003C$set name=\\\"languagePluginTitle\\\" value={{$:/language}}>\\n\u003C$image source=\u003C\u003Cflag-title>>/>\\n\u003C/$set>\\n\u003C/span>\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Language/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/span>\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/language\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n\u003Cdiv class=\\\"tc-drop-down\\\">\\n{{$:/snippets/languageswitcher}}\\n\u003C/div>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/Buttons/layout\":{\"title\":\"$:/core/ui/Buttons/layout\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/layout-button}} {{$:/language/Buttons/LayoutSwitcher/Caption}}\",\"description\":\"{{$:/language/LayoutSwitcher/Description}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button tooltip={{$:/language/Buttons/LayoutSwitcher/Hint}} aria-label={{$:/language/Buttons/LayoutSwitcher/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$action-sendmessage $message=\\\"tm-show-switcher\\\" switch=\\\"layout\\\"/>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/layout-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/LayoutSwitcher/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\"},\"$:/core/ui/Buttons/manager\":{\"title\":\"$:/core/ui/Buttons/manager\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/list}} {{$:/language/Buttons/Manager/Caption}}\",\"description\":\"{{$:/language/Buttons/Manager/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define manager-button(class)\\n\\\\whitespace trim\\n\u003C$button to=\\\"$:/Manager\\\" tooltip={{$:/language/Buttons/Manager/Hint}} aria-label={{$:/language/Buttons/Manager/Caption}} class=\\\"\\\"\\\"$(tv-config-toolbar-class)$ $class$\\\"\\\"\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/list}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Manager/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\\\\end\\n\\n\u003C$list filter=\\\"[list[$:/StoryList]] +[field:title[$:/Manager]]\\\" emptyMessage=\u003C\u003Cmanager-button>>>\\n\u003C\u003Cmanager-button \\\"tc-selected\\\">>\\n\u003C/$list>\\n\"},\"$:/core/ui/Buttons/more-page-actions\":{\"title\":\"$:/core/ui/Buttons/more-page-actions\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}\",\"description\":\"{{$:/language/Buttons/More/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define config-title()\\n$:/config/PageControlButtons/Visibility/$(listItem)$\\n\\\\end\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/more\\\">> tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=\u003C\u003Ctv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/down-arrow}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/More/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/more\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n\\n\u003Cdiv class=\\\"tc-drop-down\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-class\\\" value=\\\"tc-btn-invisible\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]] -[[$:/core/ui/Buttons/more-page-actions]]\\\" variable=\\\"listItem\\\">\\n\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003Cconfig-title>> text=\\\"hide\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-class\\\" filter=\\\"[\u003Ctv-config-toolbar-class>] [\u003ClistItem>encodeuricomponent[]addprefix[tc-btn-]]\\\">\\n\\n\u003C$transclude tiddler=\u003C\u003ClistItem>> mode=\\\"inline\\\"/>\\n\\n\u003C/$set>\\n\\n\u003C/$reveal>\\n\\n\u003C/$list>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\\n\u003C/div>\\n\\n\u003C/$reveal>\"},\"$:/core/ui/Buttons/network-activity\":{\"title\":\"$:/core/ui/Buttons/network-activity\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/network-activity}} {{$:/language/Buttons/NetworkActivity/Caption}}\",\"description\":\"{{$:/language/Buttons/NetworkActivity/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-http-cancel-all-requests\\\" tooltip={{$:/language/Buttons/NetworkActivity/Hint}} aria-label={{$:/language/Buttons/NetworkActivity/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/network-activity}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/NetworkActivity/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/new-image\":{\"title\":\"$:/core/ui/Buttons/new-image\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/new-image-button}} {{$:/language/Buttons/NewImage/Caption}}\",\"description\":\"{{$:/language/Buttons/NewImage/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button tooltip={{$:/language/Buttons/NewImage/Hint}} aria-label={{$:/language/Buttons/NewImage/Caption}} class=\u003C\u003Ctv-config-toolbar-class>> actions={{$:/core/ui/Actions/new-image}}>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/new-image-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/NewImage/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\"},\"$:/core/ui/Buttons/new-journal\":{\"title\":\"$:/core/ui/Buttons/new-journal\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/new-journal-button}} {{$:/language/Buttons/NewJournal/Caption}}\",\"description\":\"{{$:/language/Buttons/NewJournal/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define journalButton()\\n\\\\whitespace trim\\n\u003C$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:/language/Buttons/NewJournal/Caption}} class=\u003C\u003Ctv-config-toolbar-class>> actions={{$:/core/ui/Actions/new-journal}}>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/new-journal-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/NewJournal/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\\\\end\\n\u003C\u003CjournalButton>>\\n\"},\"$:/core/ui/Buttons/new-tiddler\":{\"title\":\"$:/core/ui/Buttons/new-tiddler\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/new-button}} {{$:/language/Buttons/NewTiddler/Caption}}\",\"description\":\"{{$:/language/Buttons/NewTiddler/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button actions={{$:/core/ui/Actions/new-tiddler}} tooltip={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/new-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/NewTiddler/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\"},\"$:/core/ui/Buttons/palette\":{\"title\":\"$:/core/ui/Buttons/palette\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/palette}} {{$:/language/Buttons/Palette/Caption}}\",\"description\":\"{{$:/language/Buttons/Palette/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003Cspan class=\\\"tc-popup-keep\\\">\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/palette\\\">> tooltip={{$:/language/Buttons/Palette/Hint}} aria-label={{$:/language/Buttons/Palette/Caption}} class=\u003C\u003Ctv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/palette}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Palette/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/span>\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/palette\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n\u003Cdiv class=\\\"tc-drop-down\\\" style=\\\"font-size:0.7em;\\\">\\n{{$:/snippets/paletteswitcher}}\\n\u003C/div>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/Buttons/print\":{\"title\":\"$:/core/ui/Buttons/print\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/print-button}} {{$:/language/Buttons/Print/Caption}}\",\"description\":\"{{$:/language/Buttons/Print/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-print\\\" tooltip={{$:/language/Buttons/Print/Hint}} aria-label={{$:/language/Buttons/Print/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/print-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Print/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/refresh\":{\"title\":\"$:/core/ui/Buttons/refresh\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/refresh-button}} {{$:/language/Buttons/Refresh/Caption}}\",\"description\":\"{{$:/language/Buttons/Refresh/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-browser-refresh\\\" tooltip={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/refresh-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Refresh/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/save-wiki\":{\"title\":\"$:/core/ui/Buttons/save-wiki\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/save-button-dynamic}} {{$:/language/Buttons/SaveWiki/Caption}}\",\"description\":\"{{$:/language/Buttons/SaveWiki/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button tooltip={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$wikify name=\\\"site-title\\\" text={{$:/config/SaveWikiButton/Filename}}>\\n\u003C$action-sendmessage $message=\\\"tm-save-wiki\\\" $param={{$:/config/SaveWikiButton/Template}} filename=\u003C\u003Csite-title>>/>\\n\u003C/$wikify>\\n\u003Cspan class=\\\"tc-dirty-indicator\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/save-button-dynamic}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/SaveWiki/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/span>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/storyview\":{\"title\":\"$:/core/ui/Buttons/storyview\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/storyview-classic}} {{$:/language/Buttons/StoryView/Caption}}\",\"description\":\"{{$:/language/Buttons/StoryView/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define icon()\\n$:/core/images/storyview-$(storyview)$\\n\\\\end\\n\u003Cspan class=\\\"tc-popup-keep\\\">\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/storyview\\\">> tooltip={{$:/language/Buttons/StoryView/Hint}} aria-label={{$:/language/Buttons/StoryView/Caption}} class=\u003C\u003Ctv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n\u003C$set name=\\\"storyview\\\" value={{$:/view}}>\\n\u003C$transclude tiddler=\u003C\u003Cicon>>/>\\n\u003C/$set>\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/StoryView/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/span>\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/storyview\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n\u003Cdiv class=\\\"tc-drop-down\\\">\\n{{$:/snippets/viewswitcher}}\\n\u003C/div>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/Buttons/tag-manager\":{\"title\":\"$:/core/ui/Buttons/tag-manager\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/tag-button}} {{$:/language/Buttons/TagManager/Caption}}\",\"description\":\"{{$:/language/Buttons/TagManager/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define control-panel-button(class)\\n\\\\whitespace trim\\n\u003C$button to=\\\"$:/TagManager\\\" tooltip={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class=\\\"\\\"\\\"$(tv-config-toolbar-class)$ $class$\\\"\\\"\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/tag-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/TagManager/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\\\\end\\n\\n\u003C$list filter=\\\"[list[$:/StoryList]] +[field:title[$:/TagManager]]\\\" emptyMessage=\u003C\u003Ccontrol-panel-button>>>\\n\u003C\u003Ccontrol-panel-button \\\"tc-selected\\\">>\\n\u003C/$list>\\n\"},\"$:/core/ui/Buttons/theme\":{\"title\":\"$:/core/ui/Buttons/theme\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/theme-button}} {{$:/language/Buttons/Theme/Caption}}\",\"description\":\"{{$:/language/Buttons/Theme/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003Cspan class=\\\"tc-popup-keep\\\">\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/theme\\\">> tooltip={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=\u003C\u003Ctv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/theme-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Theme/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/span>\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/theme\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n\u003Cdiv class=\\\"tc-drop-down\\\">\\n\u003C$linkcatcher to=\\\"$:/theme\\\">\\n{{$:/snippets/themeswitcher}}\\n\u003C/$linkcatcher>\\n\u003C/div>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/Buttons/timestamp\":{\"title\":\"$:/core/ui/Buttons/timestamp\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/timestamp-on}} {{$:/language/Buttons/Timestamp/Caption}}\",\"description\":\"{{$:/language/Buttons/Timestamp/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$reveal type=\\\"nomatch\\\" state=\\\"$:/config/TimestampDisable\\\" text=\\\"yes\\\">\\n\u003C$button tooltip={{$:/language/Buttons/Timestamp/On/Hint}} aria-label={{$:/language/Buttons/Timestamp/On/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$action-setfield $tiddler=\\\"$:/config/TimestampDisable\\\" $value=\\\"yes\\\"/>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/timestamp-on}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Timestamp/On/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" state=\\\"$:/config/TimestampDisable\\\" text=\\\"yes\\\">\\n\u003C$button tooltip={{$:/language/Buttons/Timestamp/Off/Hint}} aria-label={{$:/language/Buttons/Timestamp/Off/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$action-setfield $tiddler=\\\"$:/config/TimestampDisable\\\" $value=\\\"no\\\"/>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/timestamp-off}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Timestamp/Off/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/Buttons/unfold-all\":{\"title\":\"$:/core/ui/Buttons/unfold-all\",\"tags\":\"$:/tags/PageControls\",\"caption\":\"{{$:/core/images/unfold-all-button}} {{$:/language/Buttons/UnfoldAll/Caption}}\",\"description\":\"{{$:/language/Buttons/UnfoldAll/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button tooltip={{$:/language/Buttons/UnfoldAll/Hint}} aria-label={{$:/language/Buttons/UnfoldAll/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$action-sendmessage $message=\\\"tm-unfold-all-tiddlers\\\" $param=\u003C\u003CcurrentTiddler>> foldedStatePrefix=\\\"$:/state/folded/\\\"/>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\" variable=\\\"listItem\\\">\\n{{$:/core/images/unfold-all-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/UnfoldAll/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/PageTemplate/pagecontrols\":{\"title\":\"$:/core/ui/PageTemplate/pagecontrols\",\"text\":\"\\\\whitespace trim\\n\\\\define config-title()\\n$:/config/PageControlButtons/Visibility/$(listItem)$\\n\\\\end\\n\u003Cdiv class=\\\"tc-page-controls\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\u003C$set name=\\\"hidden\\\" value=\u003C\u003Cconfig-title>>>\\n\u003C$list filter=\\\"[\u003Chidden>!text[hide]]\\\" storyview=\\\"pop\\\" variable=\\\"ignore\\\">\\n\u003C$set name=\\\"tv-config-toolbar-class\\\" filter=\\\"[\u003Ctv-config-toolbar-class>] [\u003ClistItem>encodeuricomponent[]addprefix[tc-btn-]]\\\">\\n\u003C$transclude tiddler=\u003C\u003ClistItem>> mode=\\\"inline\\\"/>\\n\u003C/$set>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/$list>\\n\u003C/div>\\n\"},\"$:/core/ui/PageStylesheet\":{\"title\":\"$:/core/ui/PageStylesheet\",\"code-body\":\"yes\",\"text\":\"\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\\\whitespace trim\\n\\n\u003C$set name=\\\"currentTiddler\\\" value={{$:/language}}>\\n\\n\u003C$set name=\\\"languageTitle\\\" value={{!!name}}>\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]\\\">\\n\u003C$transclude mode=\\\"block\\\"/>\\n\u003C/$list>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\"},\"$:/core/ui/PageTemplate/alerts\":{\"title\":\"$:/core/ui/PageTemplate/alerts\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\u003Cdiv class=\\\"tc-alerts\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Alert]!has[draft.of]]\\\" template=\\\"$:/core/ui/AlertTemplate\\\" storyview=\\\"pop\\\"/>\\n\\n\u003C/div>\\n\"},\"$:/core/ui/PageTemplate/drafts\":{\"title\":\"$:/core/ui/PageTemplate/drafts\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\\\\whitespace trim\\n\u003C$reveal state=\\\"$:/status/IsReadOnly\\\" type=\\\"nomatch\\\" text=\\\"yes\\\" tag=\\\"div\\\" class=\\\"tc-drafts-list\\\">\\n\u003C$list filter=\\\"[has[draft.of]!sort[modified]] -[list[$:/StoryList]]\\\">\\n\u003C$link>\\n{{$:/core/images/edit-button}} \u003C$text text=\u003C\u003CcurrentTiddler>>/>\\n\u003C/$link>\\n\u003C/$list>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/PageTemplate/pluginreloadwarning\":{\"title\":\"$:/core/ui/PageTemplate/pluginreloadwarning\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\\\\define lingo-base() $:/language/\\n\\n\u003C$list filter=\\\"[{$:/status/RequireReloadDueToPluginChange}match[yes]]\\\">\\n\\n\u003C$reveal type=\\\"nomatch\\\" state=\\\"$:/temp/HidePluginWarning\\\" text=\\\"yes\\\">\\n\\n\u003Cdiv class=\\\"tc-plugin-reload-warning\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-class\\\" value=\\\"\\\">\\n\\n\u003C\u003Clingo PluginReloadWarning>> \u003C$button set=\\\"$:/temp/HidePluginWarning\\\" setTo=\\\"yes\\\" class=\\\"tc-btn-invisible\\\">{{$:/core/images/close-button}}\u003C/$button>\\n\\n\u003C/$set>\\n\\n\u003C/div>\\n\\n\u003C/$reveal>\\n\\n\u003C/$list>\\n\"},\"$:/core/ui/PageTemplate/sidebar\":{\"title\":\"$:/core/ui/PageTemplate/sidebar\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\\\\whitespace trim\\n\\\\define config-title()\\n$:/config/SideBarSegments/Visibility/$(listItem)$\\n\\\\end\\n\\n\u003C$scrollable fallthrough=\\\"no\\\" class=\\\"tc-sidebar-scrollable\\\">\\n\\n\u003Cdiv class=\\\"tc-sidebar-header\\\">\\n\\n\u003C$reveal state=\\\"$:/state/sidebar\\\" type=\\\"match\\\" text=\\\"yes\\\" default=\\\"yes\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\n\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003Cconfig-title>> text=\\\"hide\\\" tag=\\\"div\\\">\\n\\n\u003C$transclude tiddler=\u003C\u003ClistItem>> mode=\\\"block\\\"/>\\n\\n\u003C/$reveal>\\n\\n\u003C/$list>\\n\\n\u003C/$reveal>\\n\\n\u003C/div>\\n\\n\u003C/$scrollable>\\n\"},\"$:/core/ui/PageTemplate/story\":{\"title\":\"$:/core/ui/PageTemplate/story\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\\\\whitespace trim\\n\u003Csection class=\\\"tc-story-river\\\" role=\\\"main\\\">\\n\\n\u003Csection class=\\\"story-backdrop\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/AboveStory]!has[draft.of]]\\\">\\n\\n\u003C$transclude/>\\n\\n\u003C/$list>\\n\\n\u003C/section>\\n\\n\u003C$list filter=\\\"[list[$:/StoryList]]\\\" history=\\\"$:/HistoryList\\\" template=\\\"$:/core/ui/StoryTiddlerTemplate\\\" storyview={{$:/view}} emptyMessage={{$:/config/EmptyStoryMessage}}/>\\n\\n\u003Csection class=\\\"story-frontdrop\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/BelowStory]!has[draft.of]]\\\">\\n\\n\u003C$transclude/>\\n\\n\u003C/$list>\\n\\n\u003C/section>\\n\\n\u003C/section>\\n\"},\"$:/core/ui/PageTemplate/topleftbar\":{\"title\":\"$:/core/ui/PageTemplate/topleftbar\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\u003Cspan class=\\\"tc-topbar tc-topbar-left\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]]\\\" variable=\\\"listItem\\\" storyview=\\\"pop\\\">\\n\\n\u003C$transclude tiddler=\u003C\u003ClistItem>> mode=\\\"inline\\\"/>\\n\\n\u003C/$list>\\n\\n\u003C/span>\\n\"},\"$:/core/ui/PageTemplate/toprightbar\":{\"title\":\"$:/core/ui/PageTemplate/toprightbar\",\"tags\":\"$:/tags/PageTemplate\",\"text\":\"\u003Cspan class=\\\"tc-topbar tc-topbar-right\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TopRightBar]!has[draft.of]]\\\" variable=\\\"listItem\\\" storyview=\\\"pop\\\">\\n\\n\u003C$transclude tiddler=\u003C\u003ClistItem>> mode=\\\"inline\\\"/>\\n\\n\u003C/$list>\\n\\n\u003C/span>\\n\"},\"$:/core/ui/PageTemplate\":{\"title\":\"$:/core/ui/PageTemplate\",\"name\":\"{{$:/language/PageTemplate/Name}}\",\"description\":\"{{$:/language/PageTemplate/Description}}\",\"icon\":\"$:/core/images/layout-button\",\"code-body\":\"yes\",\"text\":\"\\\\whitespace trim\\n\\\\import [subfilter{$:/core/config/GlobalImportFilter}]\\n\\n\u003C$vars\\n\\ttv-config-toolbar-icons={{$:/config/Toolbar/Icons}}\\n\\ttv-config-toolbar-text={{$:/config/Toolbar/Text}}\\n\\ttv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}}\\n\\ttv-enable-drag-and-drop={{$:/config/DragAndDrop/Enable}}\\n\\ttv-show-missing-links={{$:/config/MissingLinks}}\\n\\tstoryviewTitle={{$:/view}}\\n\\tlanguageTitle={{{ [{$:/language}get[name]] }}}>\\n\\n\u003Cdiv class={{{ [all[shadows+tiddlers]tag[$:/tags/ClassFilters/PageTemplate]!is[draft]] :map:flat[subfilter{!!text}] tc-page-container [[tc-page-view-]addsuffix\u003CstoryviewTitle>] [[tc-language-]addsuffix\u003ClanguageTitle>] :and[unique[]join[ ]] }}} >\\n\\n\u003C$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\\n\\n\u003C$dropzone enable=\u003C\u003Ctv-enable-drag-and-drop>>>\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/PageTemplate]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\n\u003C$transclude tiddler=\u003C\u003ClistItem>>/>\\n\\n\u003C/$list>\\n\\n\u003C/$dropzone>\\n\\n\u003C/$navigator>\\n\\n\u003C/div>\\n\\n\u003C/$vars>\\n\"},\"$:/PaletteManager\":{\"title\":\"$:/PaletteManager\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Palette/Editor/\\n\\\\define describePaletteColour(colour)\\n\u003C$transclude tiddler=\\\"$:/language/Docs/PaletteColours/$colour$\\\">\u003C$text text=\\\"$colour$\\\"/>\u003C/$transclude>\\n\\\\end\\n\\\\define edit-colour-placeholder()\\n edit $(colourName)$\\n\\\\end\\n\\\\define colour-tooltip(showhide) $showhide$ editor for $(newColourName)$ \\n\\n\\\\define resolve-colour(macrocall)\\n\\\\import $:/core/macros/utils\\n\\\\whitespace trim\\n\u003C$wikify name=\\\"name\\\" text=\\\"\\\"\\\"$macrocall$\\\"\\\"\\\">\\n\u003C\u003Cname>>\\n\u003C/$wikify>\\n\\\\end\\n\\n\\\\define delete-colour-index-actions() \u003C$action-setfield $index=\u003C\u003CcolourName>>/>\\n\\\\define palette-manager-colour-row-segment()\\n\\\\whitespace trim\\n\u003C$edit-text index=\u003C\u003CcolourName>> tag=\\\"input\\\" placeholder=\u003C\u003Cedit-colour-placeholder>> default=\\\"\\\"/>\\n\u003Cbr>\\n\u003C$edit-text index=\u003C\u003CcolourName>> type=\\\"color\\\" tag=\\\"input\\\" class=\\\"tc-palette-manager-colour-input\\\"/>\\n\u003C$list filter=\\\"[\u003CcurrentTiddler>getindex\u003CcolourName>removeprefix[\u003C\u003C]removesuffix[>>]] [\u003CcurrentTiddler>getindex\u003CcolourName>removeprefix[\u003C$]removesuffix[/>]]\\\" variable=\\\"ignore\\\">\\n\u003C$set name=\\\"state\\\" value={{{ [[$:/state/palettemanager/]addsuffix\u003CcurrentTiddler>addsuffix[/]addsuffix\u003CcolourName>] }}}>\\n\u003C$wikify name=\\\"newColourName\\\" text=\\\"\\\"\\\"\u003C$macrocall $name=\\\"resolve-colour\\\" macrocall={{{ [\u003CcurrentTiddler>getindex\u003CcolourName>] }}}/>\\\"\\\"\\\">\\n\u003C$reveal state=\u003C\u003Cstate>> type=\\\"nomatch\\\" text=\\\"show\\\">\\n\u003C$button tooltip=\u003C\u003Ccolour-tooltip show>> aria-label=\u003C\u003Ccolour-tooltip show>> class=\\\"tc-btn-invisible\\\" set=\u003C\u003Cstate>> setTo=\\\"show\\\">{{$:/core/images/down-arrow}}\u003C$text text=\u003C\u003CnewColourName>> class=\\\"tc-small-gap-left\\\"/>\u003C/$button>\u003Cbr>\\n\u003C/$reveal>\\n\u003C$reveal state=\u003C\u003Cstate>> type=\\\"match\\\" text=\\\"show\\\">\\n\u003C$button tooltip=\u003C\u003Ccolour-tooltip hide>> aria-label=\u003C\u003Ccolour-tooltip show>> class=\\\"tc-btn-invisible\\\" actions=\\\"\\\"\\\"\u003C$action-deletetiddler $tiddler=\u003C\u003Cstate>>/>\\\"\\\"\\\">{{$:/core/images/up-arrow}}\u003C$text text=\u003C\u003CnewColourName>> class=\\\"tc-small-gap-left\\\"/>\u003C/$button>\u003Cbr>\\n\u003C/$reveal>\\n\u003C$reveal state=\u003C\u003Cstate>> type=\\\"match\\\" text=\\\"show\\\">\\n\u003C$set name=\\\"colourName\\\" value=\u003C\u003CnewColourName>>>\\n\u003Cbr>\\n\u003C\u003Cpalette-manager-colour-row-segment>>\\n\u003Cbr>\u003Cbr>\\n\u003C/$set>\\n\u003C/$reveal>\\n\u003C/$wikify>\\n\u003C/$set>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define palette-manager-colour-row()\\n\\\\whitespace trim\\n\u003Ctr>\\n\u003Ctd>\\n\u003Cspan style=\\\"float:right;\\\">\\n\u003C$button tooltip={{$:/language/ControlPanel/Palette/Editor/Delete/Hint}} aria-label={{$:/language/ControlPanel/Palette/Editor/Delete/Hint}} class=\\\"tc-btn-invisible\\\" actions=\u003C\u003Cdelete-colour-index-actions>>>\\n{{$:/core/images/delete-button}}\u003C/$button>\\n\u003C/span>\\n''\u003C$macrocall $name=\\\"describePaletteColour\\\" colour=\u003C\u003CcolourName>>/>''\u003Cbr/>\\n\u003C$macrocall $name=\\\"colourName\\\" $output=\\\"text/plain\\\"/>\\n\u003C/td>\\n\u003Ctd>\\n\u003C\u003Cpalette-manager-colour-row-segment>>\\n\u003C/td>\\n\u003C/tr>\\n\\\\end\\n\\n\\\\define palette-manager-table()\\n\\\\whitespace trim\\n\u003Ctable>\\n\u003Ctbody>\\n\u003C$set name=\\\"colorList\\\" filter=\\\"[{$:/state/palettemanager/showexternal}match[yes]]\\\"\\n value=\\\"[all[shadows+tiddlers]tag[$:/tags/Palette]indexes[]]\\\" emptyValue=\\\"[\u003CcurrentTiddler>indexes[]]\\\">\\n\u003C$list filter=\u003C\u003CcolorList>> variable=\\\"colourName\\\"> \u003C\u003Cpalette-manager-colour-row>> \u003C/$list>\\n\u003C/$set>\\n\u003C/tbody>\\n\u003C/table>\\n\\\\end\\n\\\\whitespace trim\\n\u003C$set name=\\\"currentTiddler\\\" value={{$:/palette}}>\\n\\n\u003C\u003Clingo Prompt>> \u003C$link to={{$:/palette}}>\u003C$macrocall $name=\\\"currentTiddler\\\" $output=\\\"text/plain\\\"/>\u003C/$link>\\n\\n\u003C$list filter=\\\"[all[current]is[shadow]is[tiddler]]\\\" variable=\\\"listItem\\\">\\n\u003C\u003Clingo Prompt/Modified>>\\n \\n\u003C$button message=\\\"tm-delete-tiddler\\\" param={{$:/palette}}>\u003C\u003Clingo Reset/Caption>>\u003C/$button>\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[all[current]is[shadow]!is[tiddler]]\\\" variable=\\\"listItem\\\">\\n\u003C\u003Clingo Clone/Prompt>>\\n\u003C/$list>\\n\\n\u003C$button message=\\\"tm-new-tiddler\\\" param={{$:/palette}}>\u003C\u003Clingo Clone/Caption>>\u003C/$button>\\n\\n\u003C$checkbox tiddler=\\\"$:/state/palettemanager/showexternal\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\">\u003Cspan class=\\\"tc-small-gap-left\\\">\u003C\u003Clingo Names/External/Show>>\u003C/span>\u003C/$checkbox>\\n\\n\u003C\u003Cpalette-manager-table>>\\n\"},\"$:/core/ui/PluginInfo\":{\"title\":\"$:/core/ui/PluginInfo\",\"text\":\"\\\\define localised-info-tiddler-title()\\n$(currentTiddler)$/$(languageTitle)$/$(currentTab)$\\n\\\\end\\n\\\\define info-tiddler-title()\\n$(currentTiddler)$/$(currentTab)$\\n\\\\end\\n\\\\define default-tiddler-title()\\n$:/core/ui/PluginInfo/Default/$(currentTab)$\\n\\\\end\\n\\\\whitespace trim\\n\u003C$transclude tiddler=\u003C\u003Clocalised-info-tiddler-title>> mode=\\\"block\\\">\\n\u003C$transclude tiddler=\u003C\u003CcurrentTiddler>> subtiddler=\u003C\u003Clocalised-info-tiddler-title>> mode=\\\"block\\\">\\n\u003C$transclude tiddler=\u003C\u003CcurrentTiddler>> subtiddler=\u003C\u003Cinfo-tiddler-title>> mode=\\\"block\\\">\\n\u003C$transclude tiddler=\u003C\u003Cdefault-tiddler-title>> mode=\\\"block\\\">\\n{{$:/language/ControlPanel/Plugin/NoInfoFound/Hint}}\\n\u003C/$transclude>\\n\u003C/$transclude>\\n\u003C/$transclude>\\n\u003C/$transclude>\\n\"},\"$:/core/ui/PluginInfo/Default/contents\":{\"title\":\"$:/core/ui/PluginInfo/Default/contents\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/Advanced/PluginInfo/\\n\\\\whitespace trim\\n\u003C\u003Clingo Hint>>\\n\u003Cul>\\n\u003C$list filter=\\\"[all[current]plugintiddlers[]sort[title]]\\\" emptyMessage=\u003C\u003Clingo Empty/Hint>>>\\n\u003Cli>\\n\u003C$link />\\n\u003C/li>\\n\u003C/$list>\\n\u003C/ul>\\n\"},\"$:/core/ui/PluginListItemTemplate\":{\"title\":\"$:/core/ui/PluginListItemTemplate\",\"text\":\"\\\\whitespace trim\\n\u003C$link to={{!!title}} class=\\\"tc-plugin-info\\\">\\n\\t\u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-icon\\\">\\n\\t\\t\u003C$transclude tiddler=\u003C\u003CcurrentTiddler>> subtiddler={{{ [\u003CcurrentTiddler>addsuffix[/icon]] }}}>\\n\\t\\t\\t\u003C$transclude tiddler={{{ [\u003CcurrentTiddler>get[plugin-type]addprefix[$:/core/images/plugin-generic-]] }}}/>\\n\\t\\t\u003C/$transclude>\\n\\t\u003C/div>\\n\\t\u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-description\\\">\\n\\t\\t\u003Ch1>\\n\\t\\t\\t''\u003C$text text={{{ [\u003CcurrentTiddler>get[name]] ~[\u003CcurrentTiddler>split[/]last[1]] }}}/>'': \u003C$view field=\\\"description\\\">\u003C$view field=\\\"title\\\"/>\u003C/$view>\\n\\t\\t\u003C/h1>\\n\\t\u003C/div>\\n\u003C/$link>\\n\"},\"$:/core/ui/RootTemplate\":{\"title\":\"$:/core/ui/RootTemplate\",\"code-body\":\"yes\",\"text\":\"\u003C$transclude tiddler={{{ [{$:/layout}has[text]] ~[[$:/core/ui/PageTemplate]] }}} mode=\\\"inline\\\"/>\\n\\n\"},\"$:/core/ui/SearchResults\":{\"title\":\"$:/core/ui/SearchResults\",\"text\":\"\u003Cdiv class=\\\"tc-search-results\\\">\\n\\n\u003C$list\\n\\tfilter=\\\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]\\\"\\n\\temptyMessage=\\\"\u003C$list filter='[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]'>\u003C$transclude mode='block'/>\u003C/$list>\\\">\\n\\n\u003C$macrocall $name=\\\"tabs\\\"\\n\\ttabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\\\"\\n\\tdefault={{$:/config/SearchResults/Default}}\\n\\tactions=\\\"\u003C$action-setfield $tiddler='$:/state/search/currentTab' text=\u003C\u003CcurrentTab>>/>\\\"\\n\\texplicitState=\\\"$:/state/tab/search-results/sidebar\\\"/>\\n\\n\u003C/$list>\\n\\n\u003C/div>\\n\"},\"$:/core/ui/SideBar/More\":{\"title\":\"$:/core/ui/SideBar/More\",\"tags\":\"$:/tags/SideBar\",\"caption\":\"{{$:/language/SideBar/More/Caption}}\",\"text\":\"\\\\whitespace trim\\n\u003Cdiv class={{{ [{$:/config/ui/SideBar/More/horizontal}match[yes]then[tc-sidebar-tabs]else[tc-more-sidebar]] }}}>\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/MoreSideBar]!has[draft.of]]\\\" default={{$:/config/DefaultMoreSidebarTab}} state=\\\"$:/state/tab/moresidebar\\\" class={{{ [{$:/config/ui/SideBar/More/horizontal}match[yes]then[tc-sidebar-tabs-more]else[tc-vertical tc-sidebar-tabs-more]] }}} explicitState=\\\"$:/state/tab/moresidebar-1850697562\\\"/>\\n\u003C/div>\\n\"},\"$:/core/ui/SideBar/Open\":{\"title\":\"$:/core/ui/SideBar/Open\",\"tags\":\"$:/tags/SideBar\",\"caption\":\"{{$:/language/SideBar/Open/Caption}}\",\"text\":\"\\\\whitespace trim\\n\\\\define lingo-base() $:/language/CloseAll/\\n\\n\\\\define drop-actions()\\n\u003C$action-listops $tiddler=\u003C\u003Ctv-story-list>> $subfilter=\\\"+[insertbefore\u003CactionTiddler>,\u003CcurrentTiddler>]\\\"/>\\n\\\\end\\n\\n\\\\define placeholder()\\n\u003Cdiv class=\\\"tc-droppable-placeholder\\\"/>\\n\\\\end\\n\\n\\\\define droppable-item(button)\\n\\\\whitespace trim\\n\u003C$droppable actions=\u003C\u003Cdrop-actions>> enable=\u003C\u003Ctv-allow-drag-and-drop>> tag=\\\"div\\\">\\n\u003C\u003Cplaceholder>>\\n\u003Cdiv>\\n$button$\\n\u003C/div>\\n\u003C/$droppable>\\n\\\\end\\n\\n\u003Cdiv class=\\\"tc-sidebar-tab-open\\\">\\n\u003C$list filter=\\\"[list\u003Ctv-story-list>]\\\" history=\u003C\u003Ctv-history-list>> storyview=\\\"pop\\\">\\n\u003Cdiv class=\\\"tc-sidebar-tab-open-item\\\">\\n\u003C$macrocall $name=\\\"droppable-item\\\" button=\\\"\u003C$button message='tm-close-tiddler' tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class='tc-btn-invisible tc-btn-mini tc-small-gap-right'>{{$:/core/images/close-button}}\u003C/$button>\u003C$link/>\\\"/>\\n\u003C/div>\\n\u003C/$list>\\n\u003C$tiddler tiddler=\\\"\\\">\\n\u003Cdiv>\\n\u003C$macrocall $name=\\\"droppable-item\\\" button=\\\"\u003C$button message='tm-close-all-tiddlers' class='tc-btn-invisible tc-btn-mini'>\u003C\u003Clingo Button>>\u003C/$button>\\\"/>\\n\u003C/div>\\n\u003C/$tiddler>\\n\u003C/div>\\n\"},\"$:/core/ui/SideBar/Recent\":{\"title\":\"$:/core/ui/SideBar/Recent\",\"tags\":\"$:/tags/SideBar\",\"caption\":\"{{$:/language/SideBar/Recent/Caption}}\",\"text\":\"\u003C$macrocall $name=\\\"timeline\\\" format={{$:/language/RecentChanges/DateFormat}}/>\\n\"},\"$:/core/ui/SideBar/Tools\":{\"title\":\"$:/core/ui/SideBar/Tools\",\"tags\":\"$:/tags/SideBar\",\"caption\":\"{{$:/language/SideBar/Tools/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/\\n\\\\define config-title()\\n$:/config/PageControlButtons/Visibility/$(listItem)$\\n\\\\end\\n\\n\u003C\u003Clingo Basics/Version/Prompt>> \u003C\u003Cversion>>\\n\\n\u003C$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-class\\\" value=\\\"\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\n\u003Cdiv style=\\\"position:relative;\\\" class={{{ [\u003ClistItem>encodeuricomponent[]addprefix[tc-btn-]] }}}>\\n\\n\u003C$checkbox tiddler=\u003C\u003Cconfig-title>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"show\\\"/> \u003C$transclude tiddler=\u003C\u003ClistItem>>/> \u003Ci class=\\\"tc-muted\\\">\u003C$transclude tiddler=\u003C\u003ClistItem>> field=\\\"description\\\"/>\u003C/i>\\n\\n\u003C/div>\\n\\n\u003C/$list>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\"},\"$:/core/ui/SideBarLists\":{\"title\":\"$:/core/ui/SideBarLists\",\"text\":\"\u003C$transclude tiddler=\\\"$:/core/ui/SideBarSegments/search\\\"/>\\n\\n\u003C$transclude tiddler=\\\"$:/core/ui/SideBarSegments/tabs\\\"/>\\n\\n\"},\"$:/core/ui/SideBarSegments/page-controls\":{\"title\":\"$:/core/ui/SideBarSegments/page-controls\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"{{||$:/core/ui/PageTemplate/pagecontrols}}\\n\"},\"$:/core/ui/SideBarSegments/search\":{\"title\":\"$:/core/ui/SideBarSegments/search\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"\\\\whitespace trim\\n\\n\\\\define count-popup-button()\\n\\\\whitespace trim\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/search-dropdown\\\">> class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/down-arrow}}\\n\u003C$list filter=\\\"[{$(searchTiddler)$}minlength{$:/config/Search/MinLength}limit[1]]\\\" variable=\\\"listItem\\\">\\n\u003C$vars userInput={{{ [\u003CsearchTiddler>get[text]] }}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}] }}} replaceRegexp=\\\"limit\\\\[\\\\d+\\\\]\\\">\\n\u003C$vars primaryListFilter={{{ [\u003CconfigTiddler>get[first-search-filter]search-replace:g:regexp\u003CreplaceRegexp>,[]] }}} secondaryListFilter={{{ [\u003CconfigTiddler>get[second-search-filter]search-replace:g:regexp\u003CreplaceRegexp>,[]] }}}>\\n\u003C$set name=\\\"resultCount\\\" value=\\\"\\\"\\\"\u003C$count filter=\\\"[subfilter\u003CprimaryListFilter>] [subfilter\u003CsecondaryListFilter>]\\\"/>\\\"\\\"\\\">\\n{{$:/language/Search/Matches}}\\n\u003C/$set>\\n\u003C/$vars>\\n\u003C/$vars>\\n\u003C/$list>\\n\u003C/$button>\\n\\\\end\\n\\n\\\\define search-results-list()\\n\\\\whitespace trim\\n\u003C$vars userInput={{$(searchTiddler)$}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}] }}}>\\n\u003C$list filter=\\\"[\u003CuserInput>minlength{$:/config/Search/MinLength}limit[1]]\\\" emptyMessage=\\\"\\\"\\\"\u003Cdiv class=\\\"tc-search-results\\\">{{$:/language/Search/Search/TooShort}}\u003C/div>\\\"\\\"\\\" variable=\\\"listItem\\\">\\n\\n\u003C$tiddler tiddler=\u003C\u003CconfigTiddler>>>\\n\\n{{$:/core/ui/SearchResults}}\\n\\n\u003C/$tiddler>\\n\\n\u003C/$list>\\n\u003C/$vars>\\n\\\\end\\n\\n\\\\define cancel-search-actions() \u003C$list filter=\\\"[\u003CsearchTiddler>get[text]!match{$:/temp/search}]\\\" emptyMessage=\\\"\\\"\\\"\u003C$action-deletetiddler $filter=\\\"[[$:/temp/search]] [\u003CsearchTiddler>] [\u003CsearchListState>]\\\"/>\\\"\\\"\\\">\u003C$action-setfield $tiddler=\\\"$:/temp/search\\\" text={{{ [\u003CsearchTiddler>get[text]] }}}/>\u003C$action-setfield $tiddler=\\\"$:/temp/search/refresh\\\" text=\\\"yes\\\"/>\u003C/$list>\\n\\n\\\\define input-accept-actions() \u003C$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\" emptyMessage=\\\"\\\"\\\"\u003C$list filter=\\\"[\u003C__tiddler__>get[text]!is[missing]] ~[\u003C__tiddler__>get[text]is[shadow]]\\\">\u003C$action-navigate $to={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\\\"\\\"\\\">\u003C$action-navigate $to={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\\n\\n\\\\define input-accept-variant-actions() \u003C$list filter=\\\"[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\\\" emptyMessage=\\\"\\\"\\\"\u003C$list filter=\\\"[\u003C__tiddler__>get[text]!is[missing]] ~[\u003C__tiddler__>get[text]is[shadow]]\\\">\u003C$list filter=\\\"[\u003C__tiddler__>get[text]minlength[1]]\\\">\u003C$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\u003C/$list>\\\"\\\"\\\">\u003C$list filter=\\\"[\u003C__tiddler__>get[text]minlength[1]]\\\">\u003C$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param={{{ [\u003C__tiddler__>get[text]] }}}/>\u003C/$list>\u003C/$list>\\n\\n\\\\define set-next-input-tab(beforeafter:\\\"after\\\") \u003C$macrocall $name=\\\"change-input-tab\\\" stateTitle=\\\"$:/state/tab/search-results/sidebar\\\" tag=\\\"$:/tags/SearchResults\\\" beforeafter=\\\"$beforeafter$\\\" defaultState={{$:/config/SearchResults/Default}} actions=\\\"\\\"\\\"\u003C$action-setfield $tiddler=\\\"$:/state/search/currentTab\\\" text=\u003C\u003CnextTab>>/>\\\"\\\"\\\"/>\\n\\n\\\\define advanced-search-actions() \u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch\\\" text={{$:/temp/search/input}}/>\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/input\\\" text={{$:/temp/search/input}}/>\u003C\u003Cdelete-state-tiddlers>>\u003C$action-navigate $to=\\\"$:/AdvancedSearch\\\"/>\u003C$action-setfield $tiddler=\\\"$:/temp/advancedsearch/refresh\\\" text=\\\"yes\\\"/>\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\"\\\"\\\"[data-tiddler-title=\\\"$:/AdvancedSearch\\\"] .tc-search input\\\"\\\"\\\" preventScroll=\\\"true\\\"/>\u003C$action-deletetiddler $filter=\\\"$:/temp/search $:/temp/search/input $:/temp/search/refresh [\u003CsearchListState>]\\\"/>\\n\\n\u003Cdiv class=\\\"tc-sidebar-lists tc-sidebar-search\\\">\\n\\n\u003C$vars editTiddler=\\\"$:/temp/search\\\" searchTiddler=\\\"$:/temp/search/input\\\" searchListState=\u003C\u003Cqualify \\\"$:/state/search-list/selected-item\\\">>>\\n\u003Cdiv class=\\\"tc-search\\\">\\n\u003C$keyboard key=\\\"((input-tab-right))\\\" actions=\u003C\u003Cset-next-input-tab>>>\\n\u003C$keyboard key=\\\"((input-tab-left))\\\" actions=\u003C\u003Cset-next-input-tab \\\"before\\\">>>\\n\u003C$keyboard key=\\\"((advanced-search-sidebar))\\\" actions=\u003C\u003Cadvanced-search-actions>>>\\n\u003Cform class=\\\"tc-form-inline\\\">\\n\u003C$macrocall $name=\\\"keyboard-driven-input\\\" tiddler=\u003C\u003CeditTiddler>> storeTitle=\u003C\u003CsearchTiddler>> \\n\\t\\tselectionStateTitle=\u003C\u003CsearchListState>> refreshTitle=\\\"$:/temp/search/refresh\\\" type=\\\"search\\\" \\n\\t\\ttag=\\\"input\\\" focus={{$:/config/Search/AutoFocus}} focusPopup=\u003C\u003Cqualify \\\"$:/state/popup/search-dropdown\\\">> \\n\\t\\tclass=\\\"tc-popup-handle\\\" filterMinLength={{$:/config/Search/MinLength}} inputCancelActions=\u003C\u003Ccancel-search-actions>> \\n\\t\\tinputAcceptActions=\u003C\u003Cinput-accept-actions>> inputAcceptVariantActions=\u003C\u003Cinput-accept-variant-actions>> cancelPopups=\\\"yes\\\" \\n\\t\\tconfigTiddlerFilter=\\\"[[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}]\\\"/>\\n\u003C/form>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n\u003C$reveal state=\u003C\u003CsearchTiddler>> type=\\\"nomatch\\\" text=\\\"\\\">\\n\u003C$button tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\\\"tc-btn-invisible\\\">\\n\u003C\u003Cadvanced-search-actions>>\\n{{$:/core/images/advanced-search-button}}\\n\u003C/$button>\\n\u003C$button class=\\\"tc-btn-invisible\\\">\\n\u003C\u003Ccancel-search-actions>>\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\\\".tc-search input\\\"/>\\n{{$:/core/images/close-button}}\\n\u003C/$button>\\n\u003C\u003Ccount-popup-button>>\\n\u003C/$reveal>\\n\u003C$reveal state=\u003C\u003CsearchTiddler>> type=\\\"match\\\" text=\\\"\\\">\\n\u003C$button to=\\\"$:/AdvancedSearch\\\" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/advanced-search-button}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/div>\\n\\n\u003C$reveal tag=\\\"div\\\" class=\\\"tc-block-dropdown-wrapper\\\" state=\u003C\u003CsearchTiddler>> type=\\\"nomatch\\\" text=\\\"\\\">\\n\\n\u003C$reveal tag=\\\"div\\\" class=\\\"tc-block-dropdown tc-search-drop-down tc-popup-handle\\\" state=\u003C\u003Cqualify \\\"$:/state/popup/search-dropdown\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n\\n\u003C\u003Csearch-results-list>>\\n\\n\u003C/$reveal>\\n\\n\u003C/$reveal>\\n\\n\u003C/$vars>\\n\\n\u003C/div>\\n\"},\"$:/core/ui/SideBarSegments/site-subtitle\":{\"title\":\"$:/core/ui/SideBarSegments/site-subtitle\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"\u003Cdiv class=\\\"tc-site-subtitle\\\">\\n\\n\u003C$transclude tiddler=\\\"$:/SiteSubtitle\\\" mode=\\\"inline\\\"/>\\n\\n\u003C/div>\\n\"},\"$:/core/ui/SideBarSegments/site-title\":{\"title\":\"$:/core/ui/SideBarSegments/site-title\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"\u003Ch1 class=\\\"tc-site-title\\\">\\n\\n\u003C$transclude tiddler=\\\"$:/SiteTitle\\\" mode=\\\"inline\\\"/>\\n\\n\u003C/h1>\\n\"},\"$:/core/ui/SideBarSegments/tabs\":{\"title\":\"$:/core/ui/SideBarSegments/tabs\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"\u003Cdiv class=\\\"tc-sidebar-lists tc-sidebar-tabs\\\" role=\\\"region\\\" aria-label={{$:/language/SideBar/Caption}}>\\n\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]\\\" default={{$:/config/DefaultSidebarTab}} state=\\\"$:/state/tab/sidebar\\\" class=\\\"tc-sidebar-tabs-main\\\" explicitState=\\\"$:/state/tab/sidebar--595412856\\\"/>\\n\\n\u003C/div>\\n\"},\"$:/core/ui/StoryTiddlerTemplate\":{\"title\":\"$:/core/ui/StoryTiddlerTemplate\",\"code-body\":\"yes\",\"text\":\"\u003C$transclude tiddler={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/StoryTiddlerTemplateFilter]!is[draft]get[text]] :and[has[title]else[$:/core/ui/ViewTemplate]] }}} />\\n\"},\"$:/core/ui/SwitcherModal\":{\"title\":\"$:/core/ui/SwitcherModal\",\"subtitle\":\"\u003C$text text={{{[\u003Cswitch>lookup[$:/language/Switcher/Subtitle/]]}}}/>\",\"class\":\"tc-modal-centered\",\"mask-closable\":\"yes\",\"text\":\"\u003C$tiddler tiddler={{{[\u003Cswitch>lookup[$:/config/SwitcherTargets/]]}}}>\\n\\n\\n\u003C$transclude/>\\n\\n\\n\u003C/$tiddler>\"},\"$:/TagManager\":{\"title\":\"$:/TagManager\",\"icon\":\"$:/core/images/tag-button\",\"color\":\"#bbb\",\"text\":\"\\\\define lingo-base() $:/language/TagManager/\\n\\n\\\\define iconEditorTab(type)\\n\\\\whitespace trim\\n\u003C$link to=\\\"\\\">\u003C\u003Clingo Icons/None>>\u003C/$link>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[sort[title]] +[$type$is[system]]\\\">\\n\\t\u003C$link to={{!!title}}>\\n\\t\\t\u003C$transclude/> \u003C$view field=\\\"title\\\"/>\\n\\t\u003C/$link>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define iconEditor(title)\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-drop-down-wrapper\\\">\\n\\t\u003C$button popupTitle={{{ [[$:/state/popup/icon/]addsuffix\u003C__title__>] }}} class=\\\"tc-btn-invisible tc-btn-dropdown\\\">\\n\\t\\t{{$:/core/images/down-arrow}}\\n\\t\u003C/$button>\\n\\t\u003C$reveal stateTitle={{{ [[$:/state/popup/icon/]addsuffix\u003C__title__>] }}} type=\\\"popup\\\" position=\\\"belowleft\\\" text=\\\"\\\" default=\\\"\\\">\\n\\t\\t\u003Cdiv class=\\\"tc-drop-down\\\">\\n\\t\\t\\t\u003C$linkcatcher actions=\\\"\\\"\\\"\u003C$action-setfield $tiddler=\u003C\u003C__title__>> icon=\u003C\u003CnavigateTo>>/>\\\"\\\"\\\">\\n\\t\\t\\t\\t\u003C\u003CiconEditorTab type:\\\"!\\\">>\\n\\t\\t\\t\\t\u003Chr/>\\n\\t\\t\\t\\t\u003C\u003CiconEditorTab type:\\\"\\\">>\\n\\t\\t\\t\u003C/$linkcatcher>\\n\\t\\t\u003C/div>\\n\\t\u003C/$reveal>\\n\u003C/div>\\n\\\\end\\n\\n\\\\define toggleButton(state)\\n\\\\whitespace trim\\n\u003C$reveal stateTitle=\u003C\u003C__state__>> type=\\\"match\\\" text=\\\"closed\\\" default=\\\"closed\\\">\\n\\t\u003C$button setTitle=\u003C\u003C__state__>> setTo=\\\"open\\\" class=\\\"tc-btn-invisible tc-btn-dropdown\\\" selectedClass=\\\"tc-selected\\\">\\n\\t\\t{{$:/core/images/info-button}}\\n\\t\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal stateTitle=\u003C\u003C__state__>> type=\\\"match\\\" text=\\\"open\\\" default=\\\"closed\\\">\\n\\t\u003C$button setTitle=\u003C\u003C__state__>> setTo=\\\"closed\\\" class=\\\"tc-btn-invisible tc-btn-dropdown\\\" selectedClass=\\\"tc-selected\\\">\\n\\t\\t{{$:/core/images/info-button}}\\n\\t\u003C/$button>\\n\u003C/$reveal>\\n\\\\end\\n\\n\\\\whitespace trim\\n\u003Ctable class=\\\"tc-tag-manager-table\\\">\\n\u003Ctbody>\\n\\t\u003Ctr>\\n\\t\\t\u003Cth>\u003C\u003Clingo Colour/Heading>>\u003C/th>\\n\\t\\t\u003Cth class=\\\"tc-tag-manager-tag\\\">\u003C\u003Clingo Tag/Heading>>\u003C/th>\\n\\t\\t\u003Cth>\u003C\u003Clingo Count/Heading>>\u003C/th>\\n\\t\\t\u003Cth>\u003C\u003Clingo Icon/Heading>>\u003C/th>\\n\\t\\t\u003Cth>\u003C\u003Clingo Info/Heading>>\u003C/th>\\n\\t\u003C/tr>\\n\\t\u003C$list filter=\\\"[tags[]!is[system]sort[title]]\\\">\\n\\t\\t\u003Ctr>\\n\\t\\t\\t\u003Ctd>\u003C$edit-text field=\\\"color\\\" tag=\\\"input\\\" type=\\\"color\\\"/>\u003C/td>\\n\\t\\t\\t\u003Ctd>{{||$:/core/ui/TagTemplate}}\u003C/td>\\n\\t\\t\\t\u003Ctd>\u003C$count filter=\\\"[all[current]tagging[]]\\\"/>\u003C/td>\\n\\t\\t\\t\u003Ctd>\\n\\t\\t\\t\\t\u003C$macrocall $name=\\\"iconEditor\\\" title={{!!title}}/>\\n\\t\\t\\t\u003C/td>\\n\\t\\t\\t\u003Ctd>\\n\\t\\t\\t\\t\u003C$macrocall $name=\\\"toggleButton\\\" state={{{ [[$:/state/tag-manager/]addsuffix\u003CcurrentTiddler>] }}} />\\n\\t\\t\\t\u003C/td>\\n\\t\\t\u003C/tr>\\n\\t\\t\u003Ctr>\\n\\t\\t\\t\u003Ctd>\u003C/td>\\n\\t\\t\\t\u003Ctd colspan=\\\"4\\\">\\n\\t\\t\\t\\t\u003C$reveal stateTitle={{{ [[$:/state/tag-manager/]addsuffix\u003CcurrentTiddler>] }}} type=\\\"match\\\" text=\\\"open\\\" default=\\\"\\\">\\n\\t\\t\\t\\t\\t\u003Ctable>\\n\\t\\t\\t\\t\\t\\t\u003Ctbody>\\n\\t\\t\\t\\t\\t\\t\\t\u003Ctr>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003Ctd>\u003C\u003Clingo Colour/Heading>>\u003C/td>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003Ctd>\u003C$edit-text field=\\\"color\\\" tag=\\\"input\\\" type=\\\"text\\\" size=\\\"9\\\"/>\u003C/td>\\n\\t\\t\\t\\t\\t\\t\\t\u003C/tr>\\n\\t\\t\\t\\t\\t\\t\\t\u003Ctr>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003Ctd>\u003C\u003Clingo Icon/Heading>>\u003C/td>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003Ctd>\u003C$edit-text field=\\\"icon\\\" tag=\\\"input\\\" size=\\\"45\\\"/>\u003C/td>\\n\\t\\t\\t\\t\\t\\t\\t\u003C/tr>\\n\\t\\t\\t\\t\\t\\t\u003C/tbody>\\n\\t\\t\\t\\t\\t\u003C/table>\\n\\t\\t\\t\\t\u003C/$reveal>\\n\\t\\t\\t\u003C/td>\\n\\t\\t\u003C/tr>\\n\\t\u003C/$list>\\n\\t\u003Ctr>\\n\\t\\t\u003Ctd>\u003C/td>\\n\\t\\t\u003Ctd style=\\\"position:relative;\\\">\\n\\t\\t\\t{{$:/core/ui/UntaggedTemplate}}\\n\\t\\t\u003C/td>\\n\\t\\t\u003Ctd>\\n\\t\\t\\t\u003Csmall class=\\\"tc-menu-list-count\\\">\u003C$count filter=\\\"[untagged[]!is[system]] -[tags[]]\\\"/>\u003C/small>\\n\\t\\t\u003C/td>\\n\\t\\t\u003Ctd>\u003C/td>\\n\\t\\t\u003Ctd>\u003C/td>\\n\\t\u003C/tr>\\n\u003C/tbody>\\n\u003C/table>\\n\"},\"$:/core/ui/TagPickerTagTemplate\":{\"title\":\"$:/core/ui/TagPickerTagTemplate\",\"text\":\"\\\\whitespace trim\\n\u003C$button class=\u003C\u003Cbutton-classes>> tag=\\\"a\\\" tooltip={{$:/language/EditTemplate/Tags/Add/Button/Hint}}>\\n\\t\u003C$list filter=\\\"[\u003CsaveTiddler>minlength[1]]\\\">\\n\\t\\t\u003C$action-listops $tiddler=\u003C\u003CsaveTiddler>> $field=\u003C\u003CtagField>> $subfilter=\\\"[\u003Ctag>]\\\"/>\\n\\t\u003C/$list>\\n\\t\u003C$set name=\\\"currentTiddlerCSSEscaped\\\" value={{{ [\u003CsaveTiddler>escapecss[]] }}}>\\n\\t\\t\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\u003C\u003Cget-tagpicker-focus-selector>> preventScroll=\\\"true\\\"/>\\n\\t\u003C/$set>\\n\\t\u003C\u003Cdelete-tag-state-tiddlers>>\\n\\t\u003C$list filter=\\\"[\u003CrefreshTitle>minlength[1]]\\\">\\n\\t\\t\u003C$action-setfield $tiddler=\u003C\u003CrefreshTitle>> text=\\\"yes\\\"/>\\n\\t\u003C/$list>\\n\\t\u003C\u003Cactions>>\\n\\t\u003C$set name=\\\"backgroundColor\\\"\\n\\t\\tvalue={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}\\n\\t>\\n\\t\\t\u003C$wikify name=\\\"foregroundColor\\\"\\n\\t\\t\\ttext=\\\"\\\"\\\"\u003C$macrocall $name=\\\"contrastcolour\\\" target=\u003C\u003CbackgroundColor>> fallbackTarget=\u003C\u003CfallbackTarget>> colourA=\u003C\u003CcolourA>> colourB=\u003C\u003CcolourB>>/>\\\"\\\"\\\"\\n\\t\\t>\\n\\t\\t\\t\u003Cspan class=\\\"tc-tag-label tc-btn-invisible\\\"\\n\\t\\t\\t\\tstyle=\u003C\u003Ctag-pill-styles>>\\n\\t\\t\\t\\tdata-tag-title=\u003C\u003CcurrentTiddler>>\\n\\t\\t\\t>\\n\\t\\t\\t\\t{{||$:/core/ui/TiddlerIcon}}\u003C$view field=\\\"title\\\" format=\\\"text\\\"/>\\n\\t\\t\\t\u003C/span>\\n\\t\\t\u003C/$wikify>\\n\\t\u003C/$set>\\n\u003C/$button>\\n\"},\"$:/core/ui/TagTemplate\":{\"title\":\"$:/core/ui/TagTemplate\",\"text\":\"\\\\whitespace trim\\n\u003Cspan class=\\\"tc-tag-list-item\\\" data-tag-title=\u003C\u003CcurrentTiddler>>>\\n\u003C$set name=\\\"transclusion\\\" value=\u003C\u003CcurrentTiddler>>>\\n\\t\u003C$macrocall $name=\\\"tag-pill-body\\\"\\n\\t\\ttag=\u003C\u003CcurrentTiddler>>\\n\\t\\ticon={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] }}}\\n\\t\\tcolour={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}\\n\\t\\tpalette={{$:/palette}}\\n\\t\\telement-tag=\\\"$button\\\"\\n\\t\\telement-attributes=\\\"\\\"\\\"popup=\u003C\u003Cqualify \\\"$:/state/popup/tag\\\">> dragFilter=\\\"[all[current]tagging[]]\\\" tag='span'\\\"\\\"\\\"\\n\\t/>\\n\\t\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/tag\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\" class=\\\"tc-drop-down\\\">\\n\\t\\t\u003C$set name=\\\"tv-show-missing-links\\\" value=\\\"yes\\\">\\n\\t\\t\\t\u003C$transclude tiddler=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\\t\\t\u003C/$set>\\n\\t\\t\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TagDropdown]!has[draft.of]]\\\" variable=\\\"listItem\\\"> \\n\\t\\t\\t\u003C$transclude tiddler=\u003C\u003ClistItem>>/> \\n\\t\\t\u003C/$list>\\n\\t\\t\u003Chr>\\n\\t\\t\u003C$macrocall $name=\\\"list-tagged-draggable\\\" tag=\u003C\u003CcurrentTiddler>>/>\\n\\t\u003C/$reveal>\\n\u003C/$set>\\n\u003C/span>\\n\"},\"$:/core/ui/TiddlerFieldTemplate\":{\"title\":\"$:/core/ui/TiddlerFieldTemplate\",\"text\":\"\\\\whitespace trim\\n\u003Ctr class=\\\"tc-view-field\\\">\\n\u003Ctd class=\\\"tc-view-field-name\\\">\\n\u003C$text text=\u003C\u003ClistItem>>/>\\n\u003C/td>\\n\u003Ctd class=\\\"tc-view-field-value\\\">\\n\u003C$view field=\u003C\u003ClistItem>>/>\\n\u003C/td>\\n\u003C/tr>\"},\"$:/core/ui/TiddlerFields\":{\"title\":\"$:/core/ui/TiddlerFields\",\"text\":\"\\\\whitespace trim\\n\u003Ctable class=\\\"tc-view-field-table\\\">\\n\u003Ctbody>\\n\u003C$list filter=\\\"[all[current]fields[]sort[title]] -text\\\" template=\\\"$:/core/ui/TiddlerFieldTemplate\\\" variable=\\\"listItem\\\"/>\\n\u003C/tbody>\\n\u003C/table>\\n\"},\"$:/core/ui/TiddlerIcon\":{\"title\":\"$:/core/ui/TiddlerIcon\",\"text\":\"\\\\whitespace trim\\n\u003C$let tiddlerIcon={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] }}}>\\n\u003C$list filter=\\\"[\u003CtiddlerIcon>!is[blank]]\\\" variable=\\\"ignore\\\">\\n\u003C$transclude tiddler=\u003C\u003CtiddlerIcon>>/>\\n\u003C/$list>\\n\u003C/$let>\\n\"},\"$:/core/ui/TiddlerInfo/Advanced/PluginInfo\":{\"title\":\"$:/core/ui/TiddlerInfo/Advanced/PluginInfo\",\"tags\":\"$:/tags/TiddlerInfo/Advanced\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/Advanced/PluginInfo/\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[all[current]has[plugin-type]]\\\">\\n\\n! \u003C\u003Clingo Heading>>\\n\\n\u003C\u003Clingo Hint>>\\n\u003Cul>\\n\u003C$list filter=\\\"[all[current]plugintiddlers[]sort[title]]\\\" emptyMessage=\u003C\u003Clingo Empty/Hint>>>\\n\u003Cli>\\n\u003C$link to={{!!title}}>\\n\u003C$view field=\\\"title\\\"/>\\n\u003C/$link>\\n\u003C/li>\\n\u003C/$list>\\n\u003C/ul>\\n\\n\u003C/$list>\\n\"},\"$:/core/ui/TiddlerInfo/Advanced/ShadowInfo\":{\"title\":\"$:/core/ui/TiddlerInfo/Advanced/ShadowInfo\",\"tags\":\"$:/tags/TiddlerInfo/Advanced\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/Advanced/ShadowInfo/\\n\u003C$set name=\\\"infoTiddler\\\" value=\u003C\u003CcurrentTiddler>>>\\n\\n''\u003C\u003Clingo Heading>>''\\n\\n\u003C$list filter=\\\"[all[current]!is[shadow]]\\\">\\n\\n\u003C\u003Clingo NotShadow/Hint>>\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[all[current]is[shadow]]\\\">\\n\\n\u003C\u003Clingo Shadow/Hint>>\\n\\n\u003C$list filter=\\\"[all[current]shadowsource[]]\\\">\\n\\n\u003C$set name=\\\"pluginTiddler\\\" value=\u003C\u003CcurrentTiddler>>>\\n\\n\u003C\u003Clingo Shadow/Source>>\\n\u003C/$set>\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[all[current]is[shadow]is[tiddler]]\\\">\\n\\n\u003C\u003Clingo OverriddenShadow/Hint>>\\n\\n\u003C/$list>\\n\\n\\n\u003C/$list>\\n\u003C/$set>\\n\"},\"$:/core/ui/TiddlerInfo/Advanced\":{\"title\":\"$:/core/ui/TiddlerInfo/Advanced\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/Advanced/Caption}}\",\"text\":\"\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo/Advanced]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\n\u003C$transclude tiddler=\u003C\u003ClistItem>> mode=\\\"block\\\"/>\\n\\n\u003C/$list>\\n\"},\"$:/core/ui/TiddlerInfo/Fields\":{\"title\":\"$:/core/ui/TiddlerInfo/Fields\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/Fields/Caption}}\",\"text\":\"\u003C$transclude tiddler=\\\"$:/core/ui/TiddlerFields\\\"/>\\n\"},\"$:/core/ui/TiddlerInfo/List\":{\"title\":\"$:/core/ui/TiddlerInfo/List\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/List/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\u003C$list filter=\\\"[list{!!title}]\\\" emptyMessage=\u003C\u003Clingo List/Empty>> template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/TiddlerInfo/Listed\":{\"title\":\"$:/core/ui/TiddlerInfo/Listed\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/Listed/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\u003C$list filter=\\\"[all[current]listed[]!is[system]]\\\" emptyMessage=\u003C\u003Clingo Listed/Empty>> template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/TiddlerInfo/References\":{\"title\":\"$:/core/ui/TiddlerInfo/References\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/References/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\u003C$list filter=\\\"[all[current]backlinks[]sort[title]]\\\" emptyMessage=\u003C\u003Clingo References/Empty>> template=\\\"$:/core/ui/ListItemTemplate\\\">\\n\u003C/$list>\"},\"$:/core/ui/TiddlerInfo/Tagging\":{\"title\":\"$:/core/ui/TiddlerInfo/Tagging\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/Tagging/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\u003C$list filter=\\\"[all[current]tagging[]]\\\" emptyMessage=\u003C\u003Clingo Tagging/Empty>> template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\"},\"$:/core/ui/TiddlerInfo/Tools\":{\"title\":\"$:/core/ui/TiddlerInfo/Tools\",\"tags\":\"$:/tags/TiddlerInfo\",\"caption\":\"{{$:/language/TiddlerInfo/Tools/Caption}}\",\"text\":\"\\\\define lingo-base() $:/language/TiddlerInfo/\\n\\\\define config-title()\\n$:/config/ViewToolbarButtons/Visibility/$(listItem)$\\n\\\\end\\n\u003C$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-class\\\" value=\\\"\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\n\u003C$checkbox tiddler=\u003C\u003Cconfig-title>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"show\\\"/> \u003C$transclude tiddler=\u003C\u003ClistItem>>/> \u003Ci class=\\\"tc-muted\\\">\u003C$transclude tiddler=\u003C\u003ClistItem>> field=\\\"description\\\"/>\u003C/i>\\n\\n\u003C/$list>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\"},\"$:/core/ui/TiddlerInfo\":{\"title\":\"$:/core/ui/TiddlerInfo\",\"text\":\"\\\\whitespace trim\\n\u003Cdiv style=\\\"position:relative;\\\">\\n\u003Cdiv class=\\\"tc-tiddler-controls\\\" style=\\\"position:absolute;right:0;\\\">\\n\u003C$reveal state=\\\"$:/config/TiddlerInfo/Mode\\\" type=\\\"match\\\" text=\\\"sticky\\\">\\n\u003C$button set=\u003C\u003CtiddlerInfoState>> setTo=\\\"\\\" tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/close-button}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/div>\\n\u003C/div>\\n\\n\u003C$macrocall $name=\\\"tabs\\\" tabsList=\\\"[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo]!has[draft.of]]\\\" default={{$:/config/TiddlerInfo/Default}}/>\\n\"},\"$:/core/ui/TopBar/menu\":{\"title\":\"$:/core/ui/TopBar/menu\",\"tags\":\"$:/tags/TopRightBar\",\"text\":\"\\\\whitespace trim\\n\u003C$list filter=\\\"[[$:/state/sidebar]get[text]] +[else[yes]!match[no]]\\\" variable=\\\"ignore\\\">\\n\u003C$button set=\\\"$:/state/sidebar\\\" setTo=\\\"no\\\" tooltip={{$:/language/Buttons/HideSideBar/Hint}} aria-label={{$:/language/Buttons/HideSideBar/Caption}} class=\\\"tc-btn-invisible tc-hide-sidebar-btn\\\">{{$:/core/images/chevron-right}}\u003C/$button>\\n\u003C/$list>\\n\u003C$list filter=\\\"[[$:/state/sidebar]get[text]] +[else[yes]match[no]]\\\" variable=\\\"ignore\\\">\\n\u003C$button set=\\\"$:/state/sidebar\\\" setTo=\\\"yes\\\" tooltip={{$:/language/Buttons/ShowSideBar/Hint}} aria-label={{$:/language/Buttons/ShowSideBar/Caption}} class=\\\"tc-btn-invisible tc-show-sidebar-btn\\\">{{$:/core/images/chevron-left}}\u003C/$button>\\n\u003C/$list>\\n\"},\"$:/core/ui/UntaggedTemplate\":{\"title\":\"$:/core/ui/UntaggedTemplate\",\"text\":\"\\\\define lingo-base() $:/language/SideBar/\\n\\\\whitespace trim\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/tag\\\">> class=\\\"tc-btn-invisible tc-untagged-label tc-tag-label\\\">\\n\\t\u003C\u003Clingo Tags/Untagged/Caption>>\\n\u003C/$button>\\n\u003C$reveal class=\\\"tc-drop-down\\\" tag=\\\"div\\\" state=\u003C\u003Cqualify \\\"$:/state/popup/tag\\\">> type=\\\"popup\\\" position=\\\"below\\\">\\n\\t\u003C$list filter=\\\"[untagged[]!is[system]] -[tags[]] +[sort[title]]\\\" template=\\\"$:/core/ui/ListItemTemplate\\\"/>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/ViewTemplate/body/blank\":{\"title\":\"$:/core/ui/ViewTemplate/body/blank\",\"text\":\"\u003C!-- Intentionally blank -->\\n\"},\"$:/core/ui/ViewTemplate/body/code\":{\"title\":\"$:/core/ui/ViewTemplate/body/code\",\"text\":\"\u003C$codeblock code={{{ [\u003CcurrentTiddler>get[text]] }}} language={{{ [\u003CcurrentTiddler>get[type]else[text/vnd.tiddlywiki]] }}}/>\\n\"},\"$:/core/ui/ViewTemplate/body/default\":{\"title\":\"$:/core/ui/ViewTemplate/body/default\",\"code-body\":\"yes\",\"text\":\"\u003C$transclude>\\n\\n\u003C$transclude tiddler=\\\"$:/language/MissingTiddler/Hint\\\"/>\\n\\n\u003C/$transclude>\\n\"},\"$:/core/ui/ViewTemplate/body/import\":{\"title\":\"$:/core/ui/ViewTemplate/body/import\",\"text\":\"\\\\define lingo-base() $:/language/Import/\\n\\n\\\\define confirmCancel()\\n\\\\whitespace trim\\n\u003C$action-confirm $message={{$:/language/Import/Listing/Cancel/Warning}} >\\n\u003C$action-deletetiddler $tiddler=\u003C\u003CcurrentTiddler>>/>\\n\u003C$action-sendmessage $message=\\\"tm-close-tiddler\\\" title=\u003C\u003CcurrentTiddler>>/>\\n\u003C/$action-confirm>\\n\\\\end\\n\\n\\\\define buttons()\\n\\\\whitespace trim\\n\u003C$button actions=\u003C\u003CconfirmCancel>> >\u003C\u003Clingo Listing/Cancel/Caption>>\u003C/$button>\\n \\n\u003C$button message=\\\"tm-perform-import\\\" param=\u003C\u003CcurrentTiddler>>>\u003C\u003Clingo Listing/Import/Caption>>\u003C/$button>\\n \\n\u003C\u003Clingo Listing/Preview>> \u003C$select tiddler=\\\"$:/state/importpreviewtype\\\" default=\\\"$:/core/ui/ImportPreviews/Text\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ImportPreview]!has[draft.of]]\\\">\\n\u003Coption value=\u003C\u003CcurrentTiddler>>>{{!!caption}}\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n\\\\end\\n\\\\whitespace trim\\n\\n\u003C$list filter=\\\"[all[current]field:plugin-type[import]]\\\">\\n\\n\u003Cdiv class=\\\"tc-import\\\">\\n\\n\u003C\u003Clingo Listing/Hint>>\\n\\n\u003C\u003Cbuttons>>\\n\\n{{||$:/core/ui/ImportListing}}\\n\\n\u003C\u003Cbuttons>>\\n\\n\u003C/div>\\n\\n\u003C/$list>\\n\"},\"$:/core/ui/ViewTemplate/body/plugin\":{\"title\":\"$:/core/ui/ViewTemplate/body/plugin\",\"text\":\"\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-tiddler-plugin-info\\\">\\n\u003C$let plugin-type={{!!plugin-type}}\\n\\tdefault-popup-state=\\\"yes\\\"\\n\\tqualified-state=\u003C\u003Cqualify \\\"$:/state/plugin-info\\\">>\\n>\\n{{||$:/core/ui/Components/plugin-info}}\\n\u003C/$let>\\n\u003C/div>\"},\"$:/core/ui/ViewTemplate/body/rendered-plain-text\":{\"title\":\"$:/core/ui/ViewTemplate/body/rendered-plain-text\",\"code-body\":\"yes\",\"text\":\"\\\\whitespace trim\\n\u003C$wikify name=\\\"text\\\" text={{!!text}} type={{!!type}}>\\n\u003C$codeblock code=\u003C\u003Ctext>> language=\\\"css\\\"/>\\n\u003C/$wikify>\\n\"},\"$:/core/ui/ViewTemplate/body\":{\"title\":\"$:/core/ui/ViewTemplate/body\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"\\\\import [all[shadows+tiddlers]tag[$:/tags/Macro/View/Body]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View/Body]!is[draft]]\\n\\n\u003C$reveal tag=\\\"div\\\" class=\\\"tc-tiddler-body\\\" type=\\\"nomatch\\\" stateTitle=\u003C\u003Cfolded-state>> text=\\\"hide\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n\\n\u003C$transclude tiddler={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateBodyFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/body/default]] }}} />\\n\\n\u003C/$reveal>\\n\"},\"$:/core/ui/ViewTemplate/classic\":{\"title\":\"$:/core/ui/ViewTemplate/classic\",\"tags\":\"$:/tags/ViewTemplate $:/tags/EditTemplate\",\"text\":\"\\\\define lingo-base() $:/language/ClassicWarning/\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[all[current]type[text/x-tiddlywiki]]\\\">\\n\u003Cdiv class=\\\"tc-message-box\\\">\\n\\n\u003C\u003Clingo Hint>>\\n\\n\u003C$button set=\\\"!!type\\\" setTo=\\\"text/vnd.tiddlywiki\\\">\u003C\u003Clingo Upgrade/Caption>>\u003C/$button>\\n\\n\u003C/div>\\n\u003C/$list>\\n\"},\"$:/core/ui/ViewTemplate/subtitle/modified\":{\"title\":\"$:/core/ui/ViewTemplate/subtitle/modified\",\"tags\":\"$:/tags/ViewTemplate/Subtitle\",\"text\":\"\u003C$view field=\\\"modified\\\" format=\\\"date\\\" template={{$:/language/Tiddler/DateFormat}}/>\"},\"$:/core/ui/ViewTemplate/subtitle/modifier\":{\"title\":\"$:/core/ui/ViewTemplate/subtitle/modifier\",\"tags\":\"$:/tags/ViewTemplate/Subtitle\",\"text\":\"\u003C$link to={{!!modifier}}/>\"},\"$:/core/ui/ViewTemplate/subtitle\":{\"title\":\"$:/core/ui/ViewTemplate/subtitle\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"\\\\whitespace trim\\n\u003C$reveal type=\\\"nomatch\\\" stateTitle=\u003C\u003Cfolded-state>> text=\\\"hide\\\" tag=\\\"div\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n\u003Cdiv class=\\\"tc-subtitle\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Subtitle]!has[draft.of]]\\\" variable=\\\"subtitleTiddler\\\" counter=\\\"indexSubtitleTiddler\\\">\\n\u003C$list filter=\\\"[\u003CindexSubtitleTiddler-first>match[no]]\\\" variable=\\\"ignore\\\">\\n \\n\u003C/$list>\\n\u003C$transclude tiddler=\u003C\u003CsubtitleTiddler>> mode=\\\"inline\\\"/>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/ViewTemplate/tags\":{\"title\":\"$:/core/ui/ViewTemplate/tags\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"\\\\whitespace trim\\n\u003C$reveal type=\\\"nomatch\\\" stateTitle=\u003C\u003Cfolded-state>> text=\\\"hide\\\" tag=\\\"div\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n\u003Cdiv class=\\\"tc-tags-wrapper\\\">\u003C$list filter=\\\"[all[current]tags[]sort[title]]\\\" template=\\\"$:/core/ui/TagTemplate\\\" storyview=\\\"pop\\\"/>\u003C/div>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/ViewTemplate/title/default\":{\"title\":\"$:/core/ui/ViewTemplate/title/default\",\"text\":\"\\\\whitespace trim\\n\u003Ch2 class=\\\"tc-title\\\">\\n\u003C$view field=\\\"title\\\"/>\\n\u003C/h2>\\n\"},\"$:/core/ui/ViewTemplate/title/system\":{\"title\":\"$:/core/ui/ViewTemplate/title/system\",\"text\":\"\\\\whitespace trim\\n\u003Ch2 class=\\\"tc-title\\\" title={{$:/language/SystemTiddler/Tooltip}}>\\n\u003Cspan class=\\\"tc-system-title-prefix\\\">$:/\u003C/span>\u003C$text text={{{ [\u003CcurrentTiddler>removeprefix[$:/]] }}}/>\\n\u003C/h2>\"},\"$:/core/ui/ViewTemplate/title\":{\"title\":\"$:/core/ui/ViewTemplate/title\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"\\\\whitespace trim\\n\\\\define title-styles()\\nfill:$(foregroundColor)$;\\n\\\\end\\n\u003Cdiv class=\\\"tc-tiddler-title\\\">\\n\u003Cdiv class=\\\"tc-titlebar\\\">\\n\u003Cspan class=\\\"tc-tiddler-controls\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] :filter[lookup[$:/config/ViewToolbarButtons/Visibility/]!match[hide]]\\\" storyview=\\\"pop\\\" variable=\\\"listItem\\\">\u003C$set name=\\\"tv-config-toolbar-class\\\" filter=\\\"[\u003Ctv-config-toolbar-class>] [\u003ClistItem>encodeuricomponent[]addprefix[tc-btn-]]\\\">\u003C$transclude tiddler=\u003C\u003ClistItem>>/>\u003C/$set>\u003C/$list>\\n\u003C/span>\\n\u003C$set name=\\\"tv-wikilinks\\\" value={{$:/config/Tiddlers/TitleLinks}}>\\n\u003C$link>\\n\u003C$list filter=\\\"[\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] +[!is[blank]]\\\" variable=\\\"ignore\\\">\\n\u003C$let foregroundColor={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}>\\n\u003Cspan class=\\\"tc-tiddler-title-icon\\\" style=\u003C\u003Ctitle-styles>>>\\n{{||$:/core/ui/TiddlerIcon}}\\n\u003C/span>\\n\u003C/$let>\\n\u003C/$list>\\n\u003C$transclude tiddler={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateTitleFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/title/default]] }}} />\\n\u003C/$link>\\n\u003C/$set>\\n\u003C/div>\\n\\n\u003C$reveal type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\" state=\u003C\u003CtiddlerInfoState>> class=\\\"tc-tiddler-info tc-popup-handle\\\" animate=\\\"yes\\\" retain=\\\"yes\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/TiddlerInfoSegment]!has[draft.of]] [[$:/core/ui/TiddlerInfo]]\\\" variable=\\\"listItem\\\">\u003C$transclude tiddler=\u003C\u003ClistItem>> mode=\\\"block\\\"/>\u003C/$list>\\n\\n\u003C/$reveal>\\n\u003C/div>\\n\"},\"$:/core/ui/ViewTemplate/unfold\":{\"title\":\"$:/core/ui/ViewTemplate/unfold\",\"tags\":\"$:/tags/ViewTemplate\",\"text\":\"\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-reveal\\\">\\n\u003C$list filter=\\\"[{$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar}match[show]]\\\" variable=\\\"ignore\\\">\\n\u003C$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" stateTitle=\u003C\u003Cfolded-state>> text=\\\"hide\\\" default=\\\"show\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n\u003C$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class=\\\"tc-fold-banner\\\">\\n\u003C$action-sendmessage $message=\\\"tm-fold-tiddler\\\" $param=\u003C\u003CcurrentTiddler>> foldedState=\u003C\u003Cfolded-state>>/>\\n{{$:/core/images/chevron-up}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/$list>\\n\u003C$list filter=\\\"[{$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar}match[show]] :else[\u003Cfolded-state>get[text]match[hide]]\\\" variable=\\\"ignore\\\">\\n\u003C$reveal tag=\\\"div\\\" type=\\\"nomatch\\\" stateTitle=\u003C\u003Cfolded-state>> text=\\\"show\\\" default=\\\"show\\\" retain=\\\"yes\\\" animate=\\\"yes\\\">\\n\u003C$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class=\\\"tc-unfold-banner\\\">\\n\u003C$action-sendmessage $message=\\\"tm-fold-tiddler\\\" $param=\u003C\u003CcurrentTiddler>> foldedState=\u003C\u003Cfolded-state>>/>\\n{{$:/core/images/chevron-down}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/$list>\\n\u003C/div>\"},\"$:/core/ui/ViewTemplate\":{\"title\":\"$:/core/ui/ViewTemplate\",\"code-body\":\"yes\",\"text\":\"\\\\whitespace trim\\n\\\\define folded-state()\\n$:/state/folded/$(currentTiddler)$\\n\\\\end\\n\\\\define cancel-delete-tiddler-actions(message) \u003C$action-sendmessage $message=\\\"tm-$message$-tiddler\\\"/>\\n\\\\import [all[shadows+tiddlers]tag[$:/tags/Macro/View]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View]!is[draft]]\\n\u003C$vars storyTiddler=\u003C\u003CcurrentTiddler>> tiddlerInfoState=\u003C\u003Cqualify \\\"$:/state/popup/tiddler-info\\\">>>\\n\u003Cdiv data-tiddler-title=\u003C\u003CcurrentTiddler>> data-tags={{!!tags}} class={{{ [all[shadows+tiddlers]tag[$:/tags/ClassFilters/TiddlerTemplate]!is[draft]] :map:flat[subfilter{!!text}] tc-tiddler-frame tc-tiddler-view-frame [\u003CcurrentTiddler>is[tiddler]then[tc-tiddler-exists]] [\u003CcurrentTiddler>is[missing]!is[shadow]then[tc-tiddler-missing]] [\u003CcurrentTiddler>is[shadow]then[tc-tiddler-exists tc-tiddler-shadow]] [\u003CcurrentTiddler>is[shadow]is[tiddler]then[tc-tiddler-overridden-shadow]] [\u003CcurrentTiddler>is[system]then[tc-tiddler-system]] [{!!class}] [\u003CcurrentTiddler>tags[]encodeuricomponent[]addprefix[tc-tagged-]] +[join[ ]] }}} role=\\\"article\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!is[draft]]\\\" variable=\\\"listItem\\\">\\n\u003C$transclude tiddler=\u003C\u003ClistItem>>/>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$vars>\\n\"},\"$:/core/ui/Buttons/clone\":{\"title\":\"$:/core/ui/Buttons/clone\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/clone-button}} {{$:/language/Buttons/Clone/Caption}}\",\"description\":\"{{$:/language/Buttons/Clone/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-new-tiddler\\\" param=\u003C\u003CcurrentTiddler>> tooltip={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/clone-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Clone/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/close-others\":{\"title\":\"$:/core/ui/Buttons/close-others\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/close-others-button}} {{$:/language/Buttons/CloseOthers/Caption}}\",\"description\":\"{{$:/language/Buttons/CloseOthers/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-close-other-tiddlers\\\" param=\u003C\u003CcurrentTiddler>> tooltip={{$:/language/Buttons/CloseOthers/Hint}} aria-label={{$:/language/Buttons/CloseOthers/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/close-others-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/CloseOthers/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/close\":{\"title\":\"$:/core/ui/Buttons/close\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/close-button}} {{$:/language/Buttons/Close/Caption}}\",\"description\":\"{{$:/language/Buttons/Close/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-close-tiddler\\\" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/close-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Close/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/edit\":{\"title\":\"$:/core/ui/Buttons/edit\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}}\",\"description\":\"{{$:/language/Buttons/Edit/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-edit-tiddler\\\" tooltip={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/edit-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Edit/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/export-tiddler\":{\"title\":\"$:/core/ui/Buttons/export-tiddler\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/export-button}} {{$:/language/Buttons/ExportTiddler/Caption}}\",\"description\":\"{{$:/language/Buttons/ExportTiddler/Hint}}\",\"text\":\"\\\\define makeExportFilter()\\n[[$(currentTiddler)$]]\\n\\\\end\\n\u003C$macrocall $name=\\\"exportButton\\\" exportFilter=\u003C\u003CmakeExportFilter>> lingoBase=\\\"$:/language/Buttons/ExportTiddler/\\\" baseFilename=\u003C\u003CcurrentTiddler>>/>\"},\"$:/core/ui/Buttons/fold-bar\":{\"title\":\"$:/core/ui/Buttons/fold-bar\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/chevron-up}} {{$:/language/Buttons/Fold/FoldBar/Caption}}\",\"description\":\"{{$:/language/Buttons/Fold/FoldBar/Hint}}\",\"text\":\"\u003C!-- This dummy toolbar button is here to allow visibility of the fold-bar to be controlled as if it were a toolbar button -->\"},\"$:/core/ui/Buttons/fold-others\":{\"title\":\"$:/core/ui/Buttons/fold-others\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/fold-others-button}} {{$:/language/Buttons/FoldOthers/Caption}}\",\"description\":\"{{$:/language/Buttons/FoldOthers/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button tooltip={{$:/language/Buttons/FoldOthers/Hint}} aria-label={{$:/language/Buttons/FoldOthers/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$action-sendmessage $message=\\\"tm-fold-other-tiddlers\\\" $param=\u003C\u003CcurrentTiddler>> foldedStatePrefix=\\\"$:/state/folded/\\\"/>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\" variable=\\\"listItem\\\">\\n{{$:/core/images/fold-others-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/FoldOthers/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/fold\":{\"title\":\"$:/core/ui/Buttons/fold\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/fold-button}} {{$:/language/Buttons/Fold/Caption}}\",\"description\":\"{{$:/language/Buttons/Fold/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$reveal type=\\\"nomatch\\\" stateTitle=\u003C\u003Cfolded-state>> text=\\\"hide\\\" default=\\\"show\\\">\\n\u003C$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$action-sendmessage $message=\\\"tm-fold-tiddler\\\" $param=\u003C\u003CcurrentTiddler>> foldedState=\u003C\u003Cfolded-state>>/>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\" variable=\\\"listItem\\\">\\n{{$:/core/images/fold-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Fold/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" stateTitle=\u003C\u003Cfolded-state>> text=\\\"hide\\\" default=\\\"show\\\">\\n\u003C$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$action-sendmessage $message=\\\"tm-fold-tiddler\\\" $param=\u003C\u003CcurrentTiddler>> foldedState=\u003C\u003Cfolded-state>>/>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\" variable=\\\"listItem\\\">\\n{{$:/core/images/unfold-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Unfold/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/$reveal>\\n\"},\"$:/core/ui/Buttons/info\":{\"title\":\"$:/core/ui/Buttons/info\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/info-button}} {{$:/language/Buttons/Info/Caption}}\",\"description\":\"{{$:/language/Buttons/Info/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define button-content()\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/info-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Info/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\\\\end\\n\u003C$reveal state=\\\"$:/config/TiddlerInfo/Mode\\\" type=\\\"match\\\" text=\\\"popup\\\">\\n\u003C$button popup=\u003C\u003CtiddlerInfoState>> tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=\u003C\u003Ctv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n\u003C$macrocall $name=\\\"button-content\\\" mode=\\\"inline\\\"/>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal state=\\\"$:/config/TiddlerInfo/Mode\\\" type=\\\"match\\\" text=\\\"sticky\\\">\\n\u003C$reveal state=\u003C\u003CtiddlerInfoState>> type=\\\"match\\\" text=\\\"\\\" default=\\\"\\\">\\n\u003C$button set=\u003C\u003CtiddlerInfoState>> setTo=\\\"yes\\\" tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=\u003C\u003Ctv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n\u003C$macrocall $name=\\\"button-content\\\" mode=\\\"inline\\\"/>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal state=\u003C\u003CtiddlerInfoState>> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n\u003C$button set=\u003C\u003CtiddlerInfoState>> setTo=\\\"\\\" tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=\u003C\u003Ctv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n\u003C$macrocall $name=\\\"button-content\\\" mode=\\\"inline\\\"/>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/$reveal>\"},\"$:/core/ui/Buttons/more-tiddler-actions\":{\"title\":\"$:/core/ui/Buttons/more-tiddler-actions\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}\",\"description\":\"{{$:/language/Buttons/More/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define config-title()\\n$:/config/ViewToolbarButtons/Visibility/$(listItem)$\\n\\\\end\\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/more\\\">> tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=\u003C\u003Ctv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/down-arrow}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/More/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/more\\\">> type=\\\"popup\\\" position=\\\"belowleft\\\" animate=\\\"yes\\\">\\n\\n\u003Cdiv class=\\\"tc-drop-down\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-class\\\" value=\\\"tc-btn-invisible\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] -[[$:/core/ui/Buttons/more-tiddler-actions]]\\\" variable=\\\"listItem\\\">\\n\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003Cconfig-title>> text=\\\"hide\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-class\\\" filter=\\\"[\u003Ctv-config-toolbar-class>] [\u003ClistItem>encodeuricomponent[]addprefix[tc-btn-]]\\\">\\n\\n\u003C$transclude tiddler=\u003C\u003ClistItem>> mode=\\\"inline\\\"/>\\n\\n\u003C/$set>\\n\\n\u003C/$reveal>\\n\\n\u003C/$list>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\\n\u003C/div>\\n\\n\u003C/$reveal>\"},\"$:/core/ui/Buttons/new-here\":{\"title\":\"$:/core/ui/Buttons/new-here\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/new-here-button}} {{$:/language/Buttons/NewHere/Caption}}\",\"description\":\"{{$:/language/Buttons/NewHere/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define newHereActions()\\n\\\\whitespace trim\\n\u003C$set name=\\\"tags\\\" filter=\\\"[\u003CcurrentTiddler>] [enlist{$:/config/NewTiddler/Tags}]\\\">\\n\u003C$action-sendmessage $message=\\\"tm-new-tiddler\\\" tags=\u003C\u003Ctags>>/>\\n\u003C/$set>\\n\\\\end\\n\\\\define newHereButton()\\n\\\\whitespace trim\\n\u003C$button actions=\u003C\u003CnewHereActions>> tooltip={{$:/language/Buttons/NewHere/Hint}} aria-label={{$:/language/Buttons/NewHere/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/new-here-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/NewHere/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\\\\end\\n\u003C\u003CnewHereButton>>\\n\"},\"$:/core/ui/Buttons/new-journal-here\":{\"title\":\"$:/core/ui/Buttons/new-journal-here\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/new-journal-button}} {{$:/language/Buttons/NewJournalHere/Caption}}\",\"description\":\"{{$:/language/Buttons/NewJournalHere/Hint}}\",\"text\":\"\\\\whitespace trim\\n\\\\define journalButtonTags()\\n[[$(currentTiddlerTag)$]] $(journalTags)$\\n\\\\end\\n\\\\define journalButton()\\n\\\\whitespace trim\\n\u003C$button tooltip={{$:/language/Buttons/NewJournalHere/Hint}} aria-label={{$:/language/Buttons/NewJournalHere/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$wikify name=\\\"journalTitle\\\" text=\\\"\\\"\\\"\u003C$macrocall $name=\\\"now\\\" format=\u003C\u003CjournalTitleTemplate>>/>\\\"\\\"\\\">\\n\u003C$action-sendmessage $message=\\\"tm-new-tiddler\\\" title=\u003C\u003CjournalTitle>> tags=\u003C\u003CjournalButtonTags>>/>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/new-journal-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/NewJournalHere/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$wikify>\\n\u003C/$button>\\n\\\\end\\n\u003C$set name=\\\"journalTitleTemplate\\\" value={{$:/config/NewJournal/Title}}>\\n\u003C$set name=\\\"journalTags\\\" value={{$:/config/NewJournal/Tags}}>\\n\u003C$set name=\\\"currentTiddlerTag\\\" value=\u003C\u003CcurrentTiddler>>>\\n\u003C\u003CjournalButton>>\\n\u003C/$set>\\n\u003C/$set>\\n\u003C/$set>\\n\"},\"$:/core/ui/Buttons/open-window\":{\"title\":\"$:/core/ui/Buttons/open-window\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/open-window}} {{$:/language/Buttons/OpenWindow/Caption}}\",\"description\":\"{{$:/language/Buttons/OpenWindow/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-open-window\\\" tooltip={{$:/language/Buttons/OpenWindow/Hint}} aria-label={{$:/language/Buttons/OpenWindow/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/open-window}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/OpenWindow/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/permalink\":{\"title\":\"$:/core/ui/Buttons/permalink\",\"tags\":\"$:/tags/ViewToolbar\",\"caption\":\"{{$:/core/images/permalink-button}} {{$:/language/Buttons/Permalink/Caption}}\",\"description\":\"{{$:/language/Buttons/Permalink/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-permalink\\\" tooltip={{$:/language/Buttons/Permalink/Hint}} aria-label={{$:/language/Buttons/Permalink/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/permalink-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Permalink/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/core/ui/Buttons/permaview\":{\"title\":\"$:/core/ui/Buttons/permaview\",\"tags\":\"$:/tags/ViewToolbar $:/tags/PageControls\",\"caption\":\"{{$:/core/images/permaview-button}} {{$:/language/Buttons/Permaview/Caption}}\",\"description\":\"{{$:/language/Buttons/Permaview/Hint}}\",\"text\":\"\\\\whitespace trim\\n\u003C$button message=\\\"tm-permaview\\\" tooltip={{$:/language/Buttons/Permaview/Hint}} aria-label={{$:/language/Buttons/Permaview/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/permaview-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{$:/language/Buttons/Permaview/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"},\"$:/DefaultTiddlers\":{\"title\":\"$:/DefaultTiddlers\",\"text\":\"GettingStarted\\n\"},\"$:/temp/advancedsearch\":{\"title\":\"$:/temp/advancedsearch\",\"text\":\"\"},\"$:/snippets/allfields\":{\"title\":\"$:/snippets/allfields\",\"text\":\"\\\\define renderfield(title)\\n\u003Ctr class=\\\"tc-view-field\\\">\u003Ctd class=\\\"tc-view-field-name\\\">''\u003C$text text=\u003C\u003C__title__>>/>'':\u003C/td>\u003Ctd class=\\\"tc-view-field-value\\\">//{{$:/language/Docs/Fields/$title$}}//\u003C/td>\u003C/tr>\\n\\\\end\\n\\\\whitespace trim\\n\u003Ctable class=\\\"tc-view-field-table\\\">\\n\u003Ctbody>\\n\u003C$list filter=\\\"[fields[]sort[title]]\\\" variable=\\\"listItem\\\">\\n\u003C$macrocall $name=\\\"renderfield\\\" title=\u003C\u003ClistItem>>/>\\n\u003C/$list>\\n\u003C/tbody>\\n\u003C/table>\\n\"},\"$:/config/AnimationDuration\":{\"title\":\"$:/config/AnimationDuration\",\"text\":\"400\"},\"$:/config/AutoFocus\":{\"title\":\"$:/config/AutoFocus\",\"text\":\"title\"},\"$:/config/AutoSave\":{\"title\":\"$:/config/AutoSave\",\"text\":\"yes\"},\"$:/config/BitmapEditor/Colour\":{\"title\":\"$:/config/BitmapEditor/Colour\",\"text\":\"#444\"},\"$:/config/BitmapEditor/ImageSizes\":{\"title\":\"$:/config/BitmapEditor/ImageSizes\",\"text\":\"[[62px 100px]] [[100px 62px]] [[124px 200px]] [[200px 124px]] [[248px 400px]] [[371px 600px]] [[400px 248px]] [[556px 900px]] [[600px 371px]] [[742px 1200px]] [[900px 556px]] [[1200px 742px]]\"},\"$:/config/BitmapEditor/LineWidth\":{\"title\":\"$:/config/BitmapEditor/LineWidth\",\"text\":\"3px\"},\"$:/config/BitmapEditor/LineWidths\":{\"title\":\"$:/config/BitmapEditor/LineWidths\",\"text\":\"0.25px 0.5px 1px 2px 3px 4px 6px 8px 10px 16px 20px 28px 40px 56px 80px\"},\"$:/config/BitmapEditor/Opacities\":{\"title\":\"$:/config/BitmapEditor/Opacities\",\"text\":\"0.01 0.025 0.05 0.075 0.1 0.15 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0\"},\"$:/config/BitmapEditor/Opacity\":{\"title\":\"$:/config/BitmapEditor/Opacity\",\"text\":\"1.0\"},\"$:/config/DefaultMoreSidebarTab\":{\"title\":\"$:/config/DefaultMoreSidebarTab\",\"text\":\"$:/core/ui/MoreSideBar/Tags\"},\"$:/config/DefaultSidebarTab\":{\"title\":\"$:/config/DefaultSidebarTab\",\"text\":\"$:/core/ui/SideBar/Open\"},\"$:/config/ControlPanel/Basics/DefaultTiddlers/RetainStory\":{\"title\":\"$:/config/ControlPanel/Basics/DefaultTiddlers/RetainStory\",\"text\":\"[list[$:/StoryList]]\"},\"$:/config/DownloadSaver/AutoSave\":{\"title\":\"$:/config/DownloadSaver/AutoSave\",\"text\":\"no\"},\"$:/config/Drafts/TypingTimeout\":{\"title\":\"$:/config/Drafts/TypingTimeout\",\"text\":\"400\"},\"$:/config/EditMode/fieldname-filter\":{\"title\":\"$:/config/EditMode/fieldname-filter\",\"first-search-filter\":\"[!is[shadow]!is[system]fields[]search:title\u003CuserInput>sort[]] -created -creator -draft.of -draft.title -modified -modifier -tags -text -title -type\",\"second-search-filter\":\"[fields[]search:title\u003CuserInput>sort[]] -[!is[shadow]!is[system]fields[]]\"},\"$:/config/EditTabIndex\":{\"title\":\"$:/config/EditTabIndex\",\"text\":\"1\"},\"$:/config/EditTemplateBodyFilters/canonical-uri\":{\"title\":\"$:/config/EditTemplateBodyFilters/canonical-uri\",\"tags\":\"$:/tags/EditTemplateBodyFilter\",\"text\":\"[has[_canonical_uri]then[$:/core/ui/EditTemplate/body/canonical-uri]]\"},\"$:/config/EditTemplateBodyFilters/default\":{\"title\":\"$:/config/EditTemplateBodyFilters/default\",\"tags\":\"$:/tags/EditTemplateBodyFilter\",\"text\":\"[[$:/core/ui/EditTemplate/body/default]]\"},\"$:/config/EditTemplateFields/Visibility/title\":{\"title\":\"$:/config/EditTemplateFields/Visibility/title\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/tags\":{\"title\":\"$:/config/EditTemplateFields/Visibility/tags\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/text\":{\"title\":\"$:/config/EditTemplateFields/Visibility/text\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/creator\":{\"title\":\"$:/config/EditTemplateFields/Visibility/creator\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/created\":{\"title\":\"$:/config/EditTemplateFields/Visibility/created\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/modified\":{\"title\":\"$:/config/EditTemplateFields/Visibility/modified\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/modifier\":{\"title\":\"$:/config/EditTemplateFields/Visibility/modifier\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/type\":{\"title\":\"$:/config/EditTemplateFields/Visibility/type\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/draft.title\":{\"title\":\"$:/config/EditTemplateFields/Visibility/draft.title\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/draft.of\":{\"title\":\"$:/config/EditTemplateFields/Visibility/draft.of\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/revision\":{\"title\":\"$:/config/EditTemplateFields/Visibility/revision\",\"text\":\"hide\"},\"$:/config/EditTemplateFields/Visibility/bag\":{\"title\":\"$:/config/EditTemplateFields/Visibility/bag\",\"text\":\"hide\"},\"$:/config/Editor/EnableImportFilter\":{\"title\":\"$:/config/Editor/EnableImportFilter\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"[all[current]type[text/vnd.tiddlywiki]] [all[current]!has[type]]\"},\"$:/config/Editor/ImportContentTypesFilter\":{\"title\":\"$:/config/Editor/ImportContentTypesFilter\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"[prefix[image/]]\"},\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-4\":{\"title\":\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-4\",\"text\":\"hide\"},\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-5\":{\"title\":\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-5\",\"text\":\"hide\"},\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-6\":{\"title\":\"$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-6\",\"text\":\"hide\"},\"$:/config/EditorTypeMappings/image/gif\":{\"title\":\"$:/config/EditorTypeMappings/image/gif\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/webp\":{\"title\":\"$:/config/EditorTypeMappings/image/webp\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/heic\":{\"title\":\"$:/config/EditorTypeMappings/image/heic\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/heif\":{\"title\":\"$:/config/EditorTypeMappings/image/heif\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/jpeg\":{\"title\":\"$:/config/EditorTypeMappings/image/jpeg\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/jpg\":{\"title\":\"$:/config/EditorTypeMappings/image/jpg\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/png\":{\"title\":\"$:/config/EditorTypeMappings/image/png\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/image/x-icon\":{\"title\":\"$:/config/EditorTypeMappings/image/x-icon\",\"text\":\"bitmap\"},\"$:/config/EditorTypeMappings/text/vnd.tiddlywiki\":{\"title\":\"$:/config/EditorTypeMappings/text/vnd.tiddlywiki\",\"text\":\"text\"},\"$:/config/FieldEditorFilters/default\":{\"title\":\"$:/config/FieldEditorFilters/default\",\"tags\":\"$:/tags/FieldEditorFilter\",\"text\":\"[[$:/core/ui/EditTemplate/fieldEditor/default]]\"},\"$:/core/config/GlobalImportFilter\":{\"title\":\"$:/core/config/GlobalImportFilter\",\"text\":\"[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global]!is[draft]]\"},\"$:/config/Manager/Show\":{\"title\":\"$:/config/Manager/Show\",\"text\":\"tiddlers\"},\"$:/config/Manager/Filter\":{\"title\":\"$:/config/Manager/Filter\",\"text\":\"\"},\"$:/config/Manager/Order\":{\"title\":\"$:/config/Manager/Order\",\"text\":\"forward\"},\"$:/config/Manager/Sort\":{\"title\":\"$:/config/Manager/Sort\",\"text\":\"title\"},\"$:/config/Manager/System\":{\"title\":\"$:/config/Manager/System\",\"text\":\"system\"},\"$:/config/Manager/Tag\":{\"title\":\"$:/config/Manager/Tag\",\"text\":\"\"},\"$:/state/popup/manager/item/$:/Manager/ItemMain/RawText\":{\"title\":\"$:/state/popup/manager/item/$:/Manager/ItemMain/RawText\",\"text\":\"hide\"},\"$:/config/MissingLinks\":{\"title\":\"$:/config/MissingLinks\",\"text\":\"yes\"},\"$:/config/Navigation/UpdateAddressBar\":{\"title\":\"$:/config/Navigation/UpdateAddressBar\",\"text\":\"no\"},\"$:/config/Navigation/UpdateHistory\":{\"title\":\"$:/config/Navigation/UpdateHistory\",\"text\":\"no\"},\"$:/config/NewImageType\":{\"title\":\"$:/config/NewImageType\",\"text\":\"jpeg\"},\"$:/config/OfficialPluginLibrary\":{\"title\":\"$:/config/OfficialPluginLibrary\",\"tags\":\"$:/tags/PluginLibrary\",\"url\":\"https://tiddlywiki.com/library/v5.3.1/index.html\",\"caption\":\"{{$:/language/OfficialPluginLibrary}}\",\"text\":\"{{$:/language/OfficialPluginLibrary/Hint}}\\n\"},\"$:/config/Navigation/openLinkFromInsideRiver\":{\"title\":\"$:/config/Navigation/openLinkFromInsideRiver\",\"text\":\"below\"},\"$:/config/Navigation/openLinkFromOutsideRiver\":{\"title\":\"$:/config/Navigation/openLinkFromOutsideRiver\",\"text\":\"top\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/close-all\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/close-all\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/encryption\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/encryption\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/export-page\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/export-page\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/fold-all\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/fold-all\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/full-screen\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/full-screen\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/refresh\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/refresh\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/import\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/import\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/language\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/language\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/tag-manager\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/tag-manager\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/manager\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/manager\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/network-activity\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/network-activity\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-journal\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-journal\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-image\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-image\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/palette\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/palette\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/permaview\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/permaview\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/print\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/print\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/storyview\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/storyview\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/timestamp\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/timestamp\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/theme\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/theme\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/layout\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/layout\",\"text\":\"hide\"},\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/unfold-all\":{\"title\":\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/unfold-all\",\"text\":\"hide\"},\"$:/config/Performance/Instrumentation\":{\"title\":\"$:/config/Performance/Instrumentation\",\"text\":\"no\"},\"$:/config/RegisterPluginType/plugin\":{\"title\":\"$:/config/RegisterPluginType/plugin\",\"text\":\"yes\"},\"$:/config/RegisterPluginType/theme\":{\"title\":\"$:/config/RegisterPluginType/theme\",\"text\":\"no\"},\"$:/config/RegisterPluginType/language\":{\"title\":\"$:/config/RegisterPluginType/language\",\"text\":\"no\"},\"$:/config/RegisterPluginType/info\":{\"title\":\"$:/config/RegisterPluginType/info\",\"text\":\"yes\"},\"$:/config/RegisterPluginType/import\":{\"title\":\"$:/config/RegisterPluginType/import\",\"text\":\"no\"},\"$:/config/SaveWikiButton/Template\":{\"title\":\"$:/config/SaveWikiButton/Template\",\"text\":\"$:/core/save/all\"},\"$:/config/SaverFilter\":{\"title\":\"$:/config/SaverFilter\",\"text\":\"[all[]] -[prefix[$:/HistoryList]] -[prefix[$:/StoryList]] -[status[pending]plugin-type[import]] -[[$:/isEncrypted]] -[[$:/UploadName]] -[prefix[$:/state/]] -[prefix[$:/temp/]]\\n\"},\"$:/config/Search/AutoFocus\":{\"title\":\"$:/config/Search/AutoFocus\",\"text\":\"true\"},\"$:/config/Search/MinLength\":{\"title\":\"$:/config/Search/MinLength\",\"text\":\"3\"},\"$:/config/SearchResults/Default\":{\"title\":\"$:/config/SearchResults/Default\",\"text\":\"$:/core/ui/DefaultSearchResultList\"},\"$:/config/Server/ExternalFilters/[all[tiddlers]!is[system]sort[title]]\":{\"title\":\"$:/config/Server/ExternalFilters/[all[tiddlers]!is[system]sort[title]]\",\"text\":\"yes\"},\"$:/config/ShortcutInfo/add-field\":{\"title\":\"$:/config/ShortcutInfo/add-field\",\"text\":\"{{$:/language/EditTemplate/Fields/Add/Button/Hint}}\"},\"$:/config/ShortcutInfo/advanced-search\":{\"title\":\"$:/config/ShortcutInfo/advanced-search\",\"text\":\"{{$:/language/Buttons/AdvancedSearch/Hint}}\"},\"$:/config/ShortcutInfo/advanced-search-sidebar\":{\"title\":\"$:/config/ShortcutInfo/advanced-search-sidebar\",\"text\":\"{{$:/language/Shortcuts/Input/AdvancedSearch/Hint}}\"},\"$:/config/ShortcutInfo/bold\":{\"title\":\"$:/config/ShortcutInfo/bold\",\"text\":\"{{$:/language/Buttons/Bold/Hint}}\"},\"$:/config/ShortcutInfo/cancel-edit-tiddler\":{\"title\":\"$:/config/ShortcutInfo/cancel-edit-tiddler\",\"text\":\"{{$:/language/Buttons/Cancel/Hint}}\"},\"$:/config/ShortcutInfo/change-sidebar-layout\":{\"title\":\"$:/config/ShortcutInfo/change-sidebar-layout\",\"text\":\"{{$:/language/Shortcuts/SidebarLayout/Hint}}\"},\"$:/config/ShortcutInfo/delete-field\":{\"title\":\"$:/config/ShortcutInfo/delete-field\",\"text\":\"{{$:/language/EditTemplate/Field/Remove/Hint}}\"},\"$:/config/ShortcutInfo/excise\":{\"title\":\"$:/config/ShortcutInfo/excise\",\"text\":\"{{$:/language/Buttons/Excise/Hint}}\"},\"$:/config/ShortcutInfo/heading-1\":{\"title\":\"$:/config/ShortcutInfo/heading-1\",\"text\":\"{{$:/language/Buttons/Heading1/Hint}}\"},\"$:/config/ShortcutInfo/heading-2\":{\"title\":\"$:/config/ShortcutInfo/heading-2\",\"text\":\"{{$:/language/Buttons/Heading2/Hint}}\"},\"$:/config/ShortcutInfo/heading-3\":{\"title\":\"$:/config/ShortcutInfo/heading-3\",\"text\":\"{{$:/language/Buttons/Heading3/Hint}}\"},\"$:/config/ShortcutInfo/heading-4\":{\"title\":\"$:/config/ShortcutInfo/heading-4\",\"text\":\"{{$:/language/Buttons/Heading4/Hint}}\"},\"$:/config/ShortcutInfo/heading-5\":{\"title\":\"$:/config/ShortcutInfo/heading-5\",\"text\":\"{{$:/language/Buttons/Heading5/Hint}}\"},\"$:/config/ShortcutInfo/heading-6\":{\"title\":\"$:/config/ShortcutInfo/heading-6\",\"text\":\"{{$:/language/Buttons/Heading6/Hint}}\"},\"$:/config/ShortcutInfo/input-accept\":{\"title\":\"$:/config/ShortcutInfo/input-accept\",\"text\":\"{{$:/language/Shortcuts/Input/Accept/Hint}}\"},\"$:/config/ShortcutInfo/input-accept-variant\":{\"title\":\"$:/config/ShortcutInfo/input-accept-variant\",\"text\":\"{{$:/language/Shortcuts/Input/AcceptVariant/Hint}}\"},\"$:/config/ShortcutInfo/input-cancel\":{\"title\":\"$:/config/ShortcutInfo/input-cancel\",\"text\":\"{{$:/language/Shortcuts/Input/Cancel/Hint}}\"},\"$:/config/ShortcutInfo/input-down\":{\"title\":\"$:/config/ShortcutInfo/input-down\",\"text\":\"{{$:/language/Shortcuts/Input/Down/Hint}}\"},\"$:/config/ShortcutInfo/input-tab-left\":{\"title\":\"$:/config/ShortcutInfo/input-tab-left\",\"text\":\"{{$:/language/Shortcuts/Input/Tab-Left/Hint}}\"},\"$:/config/ShortcutInfo/input-tab-right\":{\"title\":\"$:/config/ShortcutInfo/input-tab-right\",\"text\":\"{{$:/language/Shortcuts/Input/Tab-Right/Hint}}\"},\"$:/config/ShortcutInfo/input-up\":{\"title\":\"$:/config/ShortcutInfo/input-up\",\"text\":\"{{$:/language/Shortcuts/Input/Up/Hint}}\"},\"$:/config/ShortcutInfo/italic\":{\"title\":\"$:/config/ShortcutInfo/italic\",\"text\":\"{{$:/language/Buttons/Italic/Hint}}\"},\"$:/config/ShortcutInfo/layout-switcher\":{\"title\":\"$:/config/ShortcutInfo/layout-switcher\",\"text\":\"{{$:/language/LayoutSwitcher/Description}}\"},\"$:/config/ShortcutInfo/link\":{\"title\":\"$:/config/ShortcutInfo/link\",\"text\":\"{{$:/language/Buttons/Link/Hint}}\"},\"$:/config/ShortcutInfo/linkify\":{\"title\":\"$:/config/ShortcutInfo/linkify\",\"text\":\"{{$:/language/Buttons/Linkify/Hint}}\"},\"$:/config/ShortcutInfo/list-bullet\":{\"title\":\"$:/config/ShortcutInfo/list-bullet\",\"text\":\"{{$:/language/Buttons/ListBullet/Hint}}\"},\"$:/config/ShortcutInfo/list-number\":{\"title\":\"$:/config/ShortcutInfo/list-number\",\"text\":\"{{$:/language/Buttons/ListNumber/Hint}}\"},\"$:/config/ShortcutInfo/mono-block\":{\"title\":\"$:/config/ShortcutInfo/mono-block\",\"text\":\"{{$:/language/Buttons/MonoBlock/Hint}}\"},\"$:/config/ShortcutInfo/mono-line\":{\"title\":\"$:/config/ShortcutInfo/mono-line\",\"text\":\"{{$:/language/Buttons/MonoLine/Hint}}\"},\"$:/config/ShortcutInfo/new-image\":{\"title\":\"$:/config/ShortcutInfo/new-image\",\"text\":\"{{$:/language/Buttons/NewImage/Hint}}\"},\"$:/config/ShortcutInfo/new-journal\":{\"title\":\"$:/config/ShortcutInfo/new-journal\",\"text\":\"{{$:/language/Buttons/NewJournal/Hint}}\"},\"$:/config/ShortcutInfo/new-tiddler\":{\"title\":\"$:/config/ShortcutInfo/new-tiddler\",\"text\":\"{{$:/language/Buttons/NewTiddler/Hint}}\"},\"$:/config/ShortcutInfo/picture\":{\"title\":\"$:/config/ShortcutInfo/picture\",\"text\":\"{{$:/language/Buttons/Picture/Hint}}\"},\"$:/config/ShortcutInfo/preview\":{\"title\":\"$:/config/ShortcutInfo/preview\",\"text\":\"{{$:/language/Buttons/Preview/Hint}}\"},\"$:/config/ShortcutInfo/quote\":{\"title\":\"$:/config/ShortcutInfo/quote\",\"text\":\"{{$:/language/Buttons/Quote/Hint}}\"},\"$:/config/ShortcutInfo/save-tiddler\":{\"title\":\"$:/config/ShortcutInfo/save-tiddler\",\"text\":\"{{$:/language/Buttons/Save/Hint}}\"},\"$:/config/ShortcutInfo/save-wiki\":{\"title\":\"$:/config/ShortcutInfo/save-wiki\",\"text\":\"{{$:/language/Buttons/SaveWiki/Hint}}\"},\"$:/config/ShortcutInfo/sidebar-search\":{\"title\":\"$:/config/ShortcutInfo/sidebar-search\",\"text\":\"{{$:/language/Buttons/SidebarSearch/Hint}}\"},\"$:/config/ShortcutInfo/stamp\":{\"title\":\"$:/config/ShortcutInfo/stamp\",\"text\":\"{{$:/language/Buttons/Stamp/Hint}}\"},\"$:/config/ShortcutInfo/strikethrough\":{\"title\":\"$:/config/ShortcutInfo/strikethrough\",\"text\":\"{{$:/language/Buttons/Strikethrough/Hint}}\"},\"$:/config/ShortcutInfo/subscript\":{\"title\":\"$:/config/ShortcutInfo/subscript\",\"text\":\"{{$:/language/Buttons/Subscript/Hint}}\"},\"$:/config/ShortcutInfo/superscript\":{\"title\":\"$:/config/ShortcutInfo/superscript\",\"text\":\"{{$:/language/Buttons/Superscript/Hint}}\"},\"$:/config/ShortcutInfo/toggle-sidebar\":{\"title\":\"$:/config/ShortcutInfo/toggle-sidebar\",\"text\":\"{{$:/language/Buttons/ToggleSidebar/Hint}}\"},\"$:/config/ShortcutInfo/transcludify\":{\"title\":\"$:/config/ShortcutInfo/transcludify\",\"text\":\"{{$:/language/Buttons/Transcludify/Hint}}\"},\"$:/config/ShortcutInfo/underline\":{\"title\":\"$:/config/ShortcutInfo/underline\",\"text\":\"{{$:/language/Buttons/Underline/Hint}}\"},\"$:/config/StoryTiddlerTemplateFilters/draft\":{\"title\":\"$:/config/StoryTiddlerTemplateFilters/draft\",\"tags\":\"$:/tags/StoryTiddlerTemplateFilter\",\"text\":\"[is[draft]then{$:/config/ui/EditTemplate}]\"},\"$:/config/StoryTiddlerTemplateFilters/default\":{\"title\":\"$:/config/StoryTiddlerTemplateFilters/default\",\"tags\":\"$:/tags/StoryTiddlerTemplateFilter\",\"text\":\"[{$:/config/ui/ViewTemplate}]\"},\"$:/config/SwitcherTargets/layout\":{\"title\":\"$:/config/SwitcherTargets/layout\",\"text\":\"$:/snippets/LayoutSwitcher\"},\"$:/config/SwitcherTargets/language\":{\"title\":\"$:/config/SwitcherTargets/language\",\"text\":\"$:/snippets/languageswitcher\"},\"$:/config/SwitcherTargets/palette\":{\"title\":\"$:/config/SwitcherTargets/palette\",\"text\":\"$:/core/ui/ControlPanel/Palette\"},\"$:/config/SwitcherTargets/theme\":{\"title\":\"$:/config/SwitcherTargets/theme\",\"text\":\"$:/core/ui/ControlPanel/Theme\"},\"$:/config/SyncFilter\":{\"title\":\"$:/config/SyncFilter\",\"text\":\"[is[tiddler]] -[[$:/core]] -[[$:/library/sjcl.js]] -[prefix[$:/boot/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/isEncrypted]] -[prefix[$:/status/]] -[prefix[$:/state/]] -[prefix[$:/temp/]]\\n\"},\"$:/config/SyncSystemTiddlersFromServer\":{\"title\":\"$:/config/SyncSystemTiddlersFromServer\",\"text\":\"no\"},\"$:/config/Tags/MinLength\":{\"title\":\"$:/config/Tags/MinLength\",\"text\":\"0\"},\"$:/config/TextEditor/EditorHeight/Height\":{\"title\":\"$:/config/TextEditor/EditorHeight/Height\",\"text\":\"400px\"},\"$:/config/TextEditor/EditorHeight/Mode\":{\"title\":\"$:/config/TextEditor/EditorHeight/Mode\",\"text\":\"auto\"},\"$:/config/TiddlerColourFilters/color-field\":{\"title\":\"$:/config/TiddlerColourFilters/color-field\",\"tags\":\"$:/tags/TiddlerColourFilter\",\"text\":\"[has[color]then{!!color}]\"},\"$:/config/TiddlerColourFilters/default\":{\"title\":\"$:/config/TiddlerColourFilters/default\",\"tags\":\"$:/tags/TiddlerColourFilter\",\"text\":\"[[$:/config/DefaultTiddlerColour]has[text]get[text]trim[]]\"},\"$:/config/TiddlerIconFilters/icon-field\":{\"title\":\"$:/config/TiddlerIconFilters/icon-field\",\"tags\":\"$:/tags/TiddlerIconFilter\",\"text\":\"[has[icon]then{!!icon}]\"},\"$:/config/TiddlerIconFilters/default\":{\"title\":\"$:/config/TiddlerIconFilters/default\",\"tags\":\"$:/tags/TiddlerIconFilter\",\"text\":\"[{$:/config/DefaultTiddlerIcon}has[text]]\"},\"$:/config/TiddlerInfo/Default\":{\"title\":\"$:/config/TiddlerInfo/Default\",\"text\":\"$:/core/ui/TiddlerInfo/Fields\"},\"$:/config/TiddlerInfo/Mode\":{\"title\":\"$:/config/TiddlerInfo/Mode\",\"text\":\"popup\"},\"$:/config/Tiddlers/TitleLinks\":{\"title\":\"$:/config/Tiddlers/TitleLinks\",\"text\":\"no\"},\"$:/config/Toolbar/ButtonClass\":{\"title\":\"$:/config/Toolbar/ButtonClass\",\"text\":\"tc-btn-invisible\"},\"$:/config/Toolbar/Icons\":{\"title\":\"$:/config/Toolbar/Icons\",\"text\":\"yes\"},\"$:/config/Toolbar/Text\":{\"title\":\"$:/config/Toolbar/Text\",\"text\":\"no\"},\"$:/config/ViewTemplateBodyFilters/stylesheet\":{\"title\":\"$:/config/ViewTemplateBodyFilters/stylesheet\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[tag[$:/tags/Stylesheet]then[$:/core/ui/ViewTemplate/body/rendered-plain-text]]\"},\"$:/config/ViewTemplateBodyFilters/core-ui-tags\":{\"title\":\"$:/config/ViewTemplateBodyFilters/core-ui-tags\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[tag[$:/tags/PageTemplate]] [tag[$:/tags/EditTemplate]] [tag[$:/tags/ViewTemplate]] [tag[$:/tags/KeyboardShortcut]] [tag[$:/tags/ImportPreview]] [tag[$:/tags/EditPreview]][tag[$:/tags/EditorToolbar]] [tag[$:/tags/Actions]] :then[[$:/core/ui/ViewTemplate/body/code]]\"},\"$:/config/ViewTemplateBodyFilters/system\":{\"title\":\"$:/config/ViewTemplateBodyFilters/system\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[prefix[$:/boot/]] [prefix[$:/config/]] [prefix[$:/core/macros]] [prefix[$:/core/save/]] [prefix[$:/core/templates/]] [prefix[$:/info/]] [prefix[$:/language/]] [prefix[$:/languages/]] [prefix[$:/snippets/]] [prefix[$:/state/]] [prefix[$:/status/]] [prefix[$:/info/]] [prefix[$:/temp/]] +[!is[image]limit[1]then[$:/core/ui/ViewTemplate/body/code]]\"},\"$:/config/ViewTemplateBodyFilters/code-body\":{\"title\":\"$:/config/ViewTemplateBodyFilters/code-body\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[field:code-body[yes]then[$:/core/ui/ViewTemplate/body/code]]\"},\"$:/config/ViewTemplateBodyFilters/import\":{\"title\":\"$:/config/ViewTemplateBodyFilters/import\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[field:plugin-type[import]then[$:/core/ui/ViewTemplate/body/import]]\"},\"$:/config/ViewTemplateBodyFilters/plugin\":{\"title\":\"$:/config/ViewTemplateBodyFilters/plugin\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[has[plugin-type]then[$:/core/ui/ViewTemplate/body/plugin]]\"},\"$:/config/ViewTemplateBodyFilters/hide-body\":{\"title\":\"$:/config/ViewTemplateBodyFilters/hide-body\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[field:hide-body[yes]then[$:/core/ui/ViewTemplate/body/blank]]\"},\"$:/config/ViewTemplateBodyFilters/default\":{\"title\":\"$:/config/ViewTemplateBodyFilters/default\",\"tags\":\"$:/tags/ViewTemplateBodyFilter\",\"text\":\"[[$:/core/ui/ViewTemplate/body/default]]\"},\"$:/config/ViewTemplateTitleFilters/system\":{\"title\":\"$:/config/ViewTemplateTitleFilters/system\",\"tags\":\"$:/tags/ViewTemplateTitleFilter\",\"text\":\"[prefix[$:/]then[$:/core/ui/ViewTemplate/title/system]]\"},\"$:/config/ViewTemplateTitleFilters/default\":{\"title\":\"$:/config/ViewTemplateTitleFilters/default\",\"tags\":\"$:/tags/ViewTemplateTitleFilter\",\"text\":\"[[$:/core/ui/ViewTemplate/title/default]]\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/close-others\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/close-others\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/export-tiddler\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/export-tiddler\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/more-tiddler-actions\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/more-tiddler-actions\",\"text\":\"show\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-journal-here\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-journal-here\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/open-window\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/open-window\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permalink\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permalink\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permaview\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permaview\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/delete\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/delete\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar\",\"text\":\"hide\"},\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-others\":{\"title\":\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-others\",\"text\":\"hide\"},\"$:/config/shortcuts-mac/bold\":{\"title\":\"$:/config/shortcuts-mac/bold\",\"text\":\"meta-B\"},\"$:/config/shortcuts-mac/italic\":{\"title\":\"$:/config/shortcuts-mac/italic\",\"text\":\"meta-I\"},\"$:/config/shortcuts-mac/underline\":{\"title\":\"$:/config/shortcuts-mac/underline\",\"text\":\"meta-U\"},\"$:/config/shortcuts-mac/new-image\":{\"title\":\"$:/config/shortcuts-mac/new-image\",\"text\":\"ctrl-I\"},\"$:/config/shortcuts-mac/new-journal\":{\"title\":\"$:/config/shortcuts-mac/new-journal\",\"text\":\"ctrl-J\"},\"$:/config/shortcuts-mac/new-tiddler\":{\"title\":\"$:/config/shortcuts-mac/new-tiddler\",\"text\":\"ctrl-N\"},\"$:/config/shortcuts-mac/save-wiki\":{\"title\":\"$:/config/shortcuts-mac/save-wiki\",\"text\":\"meta-S\"},\"$:/config/shortcuts-not-mac/bold\":{\"title\":\"$:/config/shortcuts-not-mac/bold\",\"text\":\"ctrl-B\"},\"$:/config/shortcuts-not-mac/italic\":{\"title\":\"$:/config/shortcuts-not-mac/italic\",\"text\":\"ctrl-I\"},\"$:/config/shortcuts-not-mac/underline\":{\"title\":\"$:/config/shortcuts-not-mac/underline\",\"text\":\"ctrl-U\"},\"$:/config/shortcuts-not-mac/new-image\":{\"title\":\"$:/config/shortcuts-not-mac/new-image\",\"text\":\"alt-I\"},\"$:/config/shortcuts-not-mac/new-journal\":{\"title\":\"$:/config/shortcuts-not-mac/new-journal\",\"text\":\"alt-J\"},\"$:/config/shortcuts-not-mac/new-tiddler\":{\"title\":\"$:/config/shortcuts-not-mac/new-tiddler\",\"text\":\"alt-N\"},\"$:/config/shortcuts/add-field\":{\"title\":\"$:/config/shortcuts/add-field\",\"text\":\"enter\"},\"$:/config/shortcuts/advanced-search\":{\"title\":\"$:/config/shortcuts/advanced-search\",\"text\":\"ctrl-shift-A\"},\"$:/config/shortcuts/advanced-search-sidebar\":{\"title\":\"$:/config/shortcuts/advanced-search-sidebar\",\"text\":\"alt-Enter\"},\"$:/config/shortcuts/cancel-edit-tiddler\":{\"title\":\"$:/config/shortcuts/cancel-edit-tiddler\",\"text\":\"escape\"},\"$:/config/shortcuts/change-sidebar-layout\":{\"title\":\"$:/config/shortcuts/change-sidebar-layout\",\"text\":\"shift-alt-Down\"},\"$:/config/shortcuts/delete-field\":{\"title\":\"$:/config/shortcuts/delete-field\",\"text\":\"shift-alt-D\"},\"$:/config/shortcuts/excise\":{\"title\":\"$:/config/shortcuts/excise\",\"text\":\"ctrl-E\"},\"$:/config/shortcuts/sidebar-search\":{\"title\":\"$:/config/shortcuts/sidebar-search\",\"text\":\"ctrl-shift-F\"},\"$:/config/shortcuts/heading-1\":{\"title\":\"$:/config/shortcuts/heading-1\",\"text\":\"ctrl-1\"},\"$:/config/shortcuts/heading-2\":{\"title\":\"$:/config/shortcuts/heading-2\",\"text\":\"ctrl-2\"},\"$:/config/shortcuts/heading-3\":{\"title\":\"$:/config/shortcuts/heading-3\",\"text\":\"ctrl-3\"},\"$:/config/shortcuts/heading-4\":{\"title\":\"$:/config/shortcuts/heading-4\",\"text\":\"ctrl-4\"},\"$:/config/shortcuts/heading-5\":{\"title\":\"$:/config/shortcuts/heading-5\",\"text\":\"ctrl-5\"},\"$:/config/shortcuts/heading-6\":{\"title\":\"$:/config/shortcuts/heading-6\",\"text\":\"ctrl-6\"},\"$:/config/shortcuts/input-accept\":{\"title\":\"$:/config/shortcuts/input-accept\",\"text\":\"Enter\"},\"$:/config/shortcuts/input-accept-variant\":{\"title\":\"$:/config/shortcuts/input-accept-variant\",\"text\":\"ctrl-Enter\"},\"$:/config/shortcuts/input-cancel\":{\"title\":\"$:/config/shortcuts/input-cancel\",\"text\":\"Escape\"},\"$:/config/shortcuts/input-down\":{\"title\":\"$:/config/shortcuts/input-down\",\"text\":\"Down\"},\"$:/config/shortcuts/input-tab-left\":{\"title\":\"$:/config/shortcuts/input-tab-left\",\"text\":\"alt-ctrl-Left\"},\"$:/config/shortcuts/input-tab-right\":{\"title\":\"$:/config/shortcuts/input-tab-right\",\"text\":\"alt-ctrl-Right\"},\"$:/config/shortcuts/input-up\":{\"title\":\"$:/config/shortcuts/input-up\",\"text\":\"Up\"},\"$:/config/shortcuts/layout-switcher\":{\"title\":\"$:/config/shortcuts/layout-switcher\",\"text\":\"ctrl-shift-L\"},\"$:/config/shortcuts/link\":{\"title\":\"$:/config/shortcuts/link\",\"text\":\"ctrl-L\"},\"$:/config/shortcuts/linkify\":{\"title\":\"$:/config/shortcuts/linkify\",\"text\":\"alt-shift-L\"},\"$:/config/shortcuts/list-bullet\":{\"title\":\"$:/config/shortcuts/list-bullet\",\"text\":\"ctrl-shift-L\"},\"$:/config/shortcuts/list-number\":{\"title\":\"$:/config/shortcuts/list-number\",\"text\":\"ctrl-shift-N\"},\"$:/config/shortcuts/mono-block\":{\"title\":\"$:/config/shortcuts/mono-block\",\"text\":\"ctrl-shift-M\"},\"$:/config/shortcuts/mono-line\":{\"title\":\"$:/config/shortcuts/mono-line\",\"text\":\"ctrl-M\"},\"$:/config/shortcuts/picture\":{\"title\":\"$:/config/shortcuts/picture\",\"text\":\"ctrl-shift-I\"},\"$:/config/shortcuts/preview\":{\"title\":\"$:/config/shortcuts/preview\",\"text\":\"alt-P\"},\"$:/config/shortcuts/quote\":{\"title\":\"$:/config/shortcuts/quote\",\"text\":\"ctrl-Q\"},\"$:/config/shortcuts/save-tiddler\":{\"title\":\"$:/config/shortcuts/save-tiddler\",\"text\":\"ctrl+enter\"},\"$:/config/shortcuts/save-wiki\":{\"title\":\"$:/config/shortcuts/save-wiki\",\"text\":\"ctrl-S\"},\"$:/config/shortcuts/stamp\":{\"title\":\"$:/config/shortcuts/stamp\",\"text\":\"ctrl-S\"},\"$:/config/shortcuts/strikethrough\":{\"title\":\"$:/config/shortcuts/strikethrough\",\"text\":\"ctrl-T\"},\"$:/config/shortcuts/subscript\":{\"title\":\"$:/config/shortcuts/subscript\",\"text\":\"ctrl-shift-B\"},\"$:/config/shortcuts/superscript\":{\"title\":\"$:/config/shortcuts/superscript\",\"text\":\"ctrl-shift-P\"},\"$:/config/shortcuts/toggle-sidebar\":{\"title\":\"$:/config/shortcuts/toggle-sidebar\",\"text\":\"alt-shift-S\"},\"$:/config/shortcuts/transcludify\":{\"title\":\"$:/config/shortcuts/transcludify\",\"text\":\"alt-shift-T\"},\"$:/config/ui/EditTemplate\":{\"title\":\"$:/config/ui/EditTemplate\",\"text\":\"$:/core/ui/EditTemplate\"},\"$:/config/ui/ViewTemplate\":{\"title\":\"$:/config/ui/ViewTemplate\",\"text\":\"$:/core/ui/ViewTemplate\"},\"$:/config/WikiParserRules/Inline/wikilink\":{\"title\":\"$:/config/WikiParserRules/Inline/wikilink\",\"text\":\"disable\"},\"$:/snippets/currpalettepreview\":{\"title\":\"$:/snippets/currpalettepreview\",\"text\":\"\\\\define resolve-colour(macrocall)\\n\\\\import $:/core/macros/utils\\n\\\\whitespace trim\\n\u003C$wikify name=\\\"name\\\" text=\\\"\\\"\\\"$macrocall$\\\"\\\"\\\">\\n\u003C\u003Cname>>\\n\u003C/$wikify>\\n\\\\end\\n\\\\define swatchStyle()\\nbackground-color: $(swatchColour)$;\\n\\\\end\\n\\\\define swatch-inner()\\n\\\\whitespace trim\\n\u003C$set name=\\\"swatchColour\\\" value={{##$(colourResolved)$}}>\\n\u003C$list filter=\\\"[\u003CswatchColour>!prefix[\u003C\u003Ccolour ]!suffix[>>]]\\\" variable=\\\"ignore\\\">\\n\u003Cdiv class=\\\"tc-swatch\\\" style=\u003C\u003CswatchStyle>> title=\u003C\u003CswatchTitle>>/>\\n \\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003CswatchColour>prefix[\u003C\u003Ccolour ]suffix[>>]]\\\" variable=\\\"ignore\\\">\\n\u003C$wikify name=\\\"colourResolved\\\" text=\\\"\u003C$macrocall $name='resolve-colour' macrocall=\u003C\u003CswatchColour>>/>\\\">\\n\u003C\u003Cswatch-inner>>\\n\u003C/$wikify>\\n\u003C/$list>\\n\u003C/$set>\\n\\\\end\\n\\\\define swatch()\\n\\\\whitespace trim\\n\u003C$set name=\\\"swatchColour\\\" value={{##$(colour)$}}>\\n\u003C$set name=\\\"swatchTitle\\\" value=\u003C\u003Ccolour>>>\\n\u003C$list filter=\\\"[\u003CswatchColour>!prefix[\u003C\u003Ccolour ]!suffix[>>]]\\\" variable=\\\"ignore\\\">\\n\u003Cdiv class=\\\"tc-swatch\\\" style=\u003C\u003CswatchStyle>> title=\u003C\u003CswatchTitle>>/>\\n \\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003CswatchColour>prefix[\u003C\u003Ccolour ]suffix[>>]]\\\" variable=\\\"ignore\\\">\\n\u003C$wikify name=\\\"colourResolved\\\" text=\\\"\u003C$macrocall $name='resolve-colour' macrocall=\u003C\u003CswatchColour>>/>\\\">\\n\u003C\u003Cswatch-inner>>\\n\u003C/$wikify>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/$set>\\n\\\\end\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-swatches-horiz\\\">\u003C$list filter=\\\"\\nforeground\\nbackground\\nmuted-foreground\\nprimary\\npage-background\\ntab-background\\ntiddler-info-background\\n\\\" variable=\\\"colour\\\">\u003C\u003Cswatch>>\u003C/$list>\u003C/div>\\n\"},\"$:/snippets/DebugStylesheets\":{\"title\":\"$:/snippets/DebugStylesheets\",\"text\":\"\\\\whitespace trim\\n\u003Cstyle>[test]{list-style:'❌'}\u003C/style>\\n\u003Cul>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Stylesheet]has[modified]]\\\" counter=\\\"n\\\">\\n\u003Cstyle>{{!!text}}[test=\\\"\u003C\u003Cn>>\\\"]{list-style:disc;}\u003C/style>\\n\u003Cli test=\u003C\u003Cn>>>\u003C$link/>\u003C/li>\\n\u003C/$list>\\n\u003C/ul>\\n\"},\"$:/snippets/download-wiki-button\":{\"title\":\"$:/snippets/download-wiki-button\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Tools/Download/\\n\\\\whitespace trim\\n\u003C$button class=\\\"tc-btn-big-green\\\">\\n\u003C$action-sendmessage $message=\\\"tm-download-file\\\" $param=\\\"$:/core/save/all\\\" filename=\\\"index.html\\\"/>\\n\u003C\u003Clingo Full/Caption>> {{$:/core/images/save-button-dynamic}}\\n\u003C/$button>\"},\"$:/language\":{\"title\":\"$:/language\",\"text\":\"$:/languages/en-GB\"},\"$:/snippets/languageswitcher\":{\"title\":\"$:/snippets/languageswitcher\",\"text\":\"\\\\define flag-title()\\n$(languagePluginTitle)$/icon\\n\\\\end\\n\\\\whitespace trim\\n\\n\u003C$linkcatcher to=\\\"$:/language\\\">\\n\u003Cdiv class=\\\"tc-chooser tc-language-chooser\\\">\\n\u003C$list filter=\\\"[[$:/languages/en-GB]] [plugin-type[language]sort[description]]\\\">\\n\u003C$set name=\\\"cls\\\" filter=\\\"[all[current]field:title{$:/language}]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\">\u003Cdiv class=\u003C\u003Ccls>>>\\n\u003C$link>\\n\u003Cspan class=\\\"tc-image-button\\\">\\n\u003C$set name=\\\"languagePluginTitle\\\" value=\u003C\u003CcurrentTiddler>>>\\n\u003C$transclude subtiddler=\u003C\u003Cflag-title>>>\\n\u003C$list filter=\\\"[all[current]field:title[$:/languages/en-GB]]\\\">\\n\u003C$transclude tiddler=\\\"$:/languages/en-GB/icon\\\"/>\\n\u003C/$list>\\n\u003C/$transclude>\\n\u003C/$set>\\n\u003C/span>\\n \\n\u003C$view field=\\\"description\\\">\\n\u003C$view field=\\\"name\\\">\\n\u003C$view field=\\\"title\\\"/>\\n\u003C/$view>\\n\u003C/$view>\\n\u003C/$link>\\n\u003C/div>\\n\u003C/$set>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$linkcatcher>\"},\"$:/core/macros/CSS\":{\"title\":\"$:/core/macros/CSS\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define colour(name)\\n\u003C$transclude tiddler={{$:/palette}} index=\\\"$name$\\\">\u003C$transclude tiddler=\\\"$:/palettes/Vanilla\\\" index=\\\"$name$\\\">\u003C$transclude tiddler=\\\"$:/config/DefaultColourMappings/$name$\\\"/>\u003C/$transclude>\u003C/$transclude>\\n\\\\end\\n\\n\\\\define color(name)\\n\u003C\u003Ccolour $name$>>\\n\\\\end\\n\\n\\\\define box-shadow(shadow)\\n``\\n -webkit-box-shadow: $shadow$;\\n -moz-box-shadow: $shadow$;\\n box-shadow: $shadow$;\\n``\\n\\\\end\\n\\n\\\\define filter(filter)\\n``\\n -webkit-filter: $filter$;\\n -moz-filter: $filter$;\\n filter: $filter$;\\n``\\n\\\\end\\n\\n\\\\define transition(transition)\\n``\\n -webkit-transition: $transition$;\\n -moz-transition: $transition$;\\n transition: $transition$;\\n``\\n\\\\end\\n\\n\\\\define transform-origin(origin)\\n``\\n -webkit-transform-origin: $origin$;\\n -moz-transform-origin: $origin$;\\n transform-origin: $origin$;\\n``\\n\\\\end\\n\\n\\\\define background-linear-gradient(gradient)\\n``\\nbackground-image: linear-gradient($gradient$);\\nbackground-image: -o-linear-gradient($gradient$);\\nbackground-image: -moz-linear-gradient($gradient$);\\nbackground-image: -webkit-linear-gradient($gradient$);\\nbackground-image: -ms-linear-gradient($gradient$);\\n``\\n\\\\end\\n\\n\\\\define column-count(columns)\\n``\\n-moz-column-count: $columns$;\\n-webkit-column-count: $columns$;\\ncolumn-count: $columns$;\\n``\\n\\\\end\\n\\n\\\\define datauri(title)\\n\u003C$macrocall $name=\\\"makedatauri\\\" type={{$title$!!type}} text={{$title$}} _canonical_uri={{$title$!!_canonical_uri}}/>\\n\\\\end\\n\\n\\\\define if-sidebar(text)\\n\u003C$reveal state=\\\"$:/state/sidebar\\\" type=\\\"match\\\" text=\\\"yes\\\" default=\\\"yes\\\">$text$\u003C/$reveal>\\n\\\\end\\n\\n\\\\define if-no-sidebar(text)\\n\u003C$reveal state=\\\"$:/state/sidebar\\\" type=\\\"nomatch\\\" text=\\\"yes\\\" default=\\\"yes\\\">$text$\u003C/$reveal>\\n\\\\end\\n\\n\\\\define if-background-attachment(text)\\n\u003C$reveal state=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimage\\\" type=\\\"nomatch\\\" text=\\\"\\\">$text$\u003C/$reveal>\\n\\\\end\\n\"},\"$:/core/macros/colour-picker\":{\"title\":\"$:/core/macros/colour-picker\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define colour-picker-update-recent()\\n\u003C$action-listops\\n\\t$tiddler=\\\"$:/config/ColourPicker/Recent\\\"\\n\\t$subfilter=\\\"$(colour-picker-value)$ [list[$:/config/ColourPicker/Recent]remove[$(colour-picker-value)$]] +[limit[8]]\\\"\\n/>\\n\\\\end\\n\\n\\\\define colour-picker-inner(actions)\\n\u003C$button tag=\\\"a\\\" tooltip=\\\"\\\"\\\"$(colour-picker-value)$\\\"\\\"\\\">\\n\\n$(colour-picker-update-recent)$\\n\\n$actions$\\n\\n\u003Cspan style=\\\"display:inline-block; background-color: $(colour-picker-value)$; width: 100%; height: 100%; border-radius: 50%;\\\"/>\\n\\n\u003C/$button>\\n\\\\end\\n\\n\\\\define colour-picker-recent-inner(actions)\\n\\\\whitespace trim\\n\u003C$set name=\\\"colour-picker-value\\\" value=\\\"$(recentColour)$\\\">\\n\u003C$macrocall $name=\\\"colour-picker-inner\\\" actions=\\\"\\\"\\\"$actions$\\\"\\\"\\\"/>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define colour-picker-recent(actions)\\n\\\\whitespace trim\\n{{$:/language/ColourPicker/Recent}}\u003C$list filter=\\\"[list[$:/config/ColourPicker/Recent]]\\\" variable=\\\"recentColour\\\">\\n \\n\u003C$macrocall $name=\\\"colour-picker-recent-inner\\\" actions=\\\"\\\"\\\"$actions$\\\"\\\"\\\"/>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define colour-picker(actions)\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-colour-chooser\\\">\\n\\n\u003C$macrocall $name=\\\"colour-picker-recent\\\" actions=\\\"\\\"\\\"$actions$\\\"\\\"\\\"/>\\n\\n---\\n\\n\u003C$list filter=\\\"LightPink Pink Crimson LavenderBlush PaleVioletRed HotPink DeepPink MediumVioletRed Orchid Thistle Plum Violet Magenta Fuchsia DarkMagenta Purple MediumOrchid DarkViolet DarkOrchid Indigo BlueViolet MediumPurple MediumSlateBlue SlateBlue DarkSlateBlue Lavender GhostWhite Blue MediumBlue MidnightBlue DarkBlue Navy RoyalBlue CornflowerBlue LightSteelBlue LightSlateGrey SlateGrey DodgerBlue AliceBlue SteelBlue LightSkyBlue SkyBlue DeepSkyBlue LightBlue PowderBlue CadetBlue Azure LightCyan PaleTurquoise Cyan Aqua DarkTurquoise DarkSlateGrey DarkCyan Teal MediumTurquoise LightSeaGreen Turquoise Aquamarine MediumAquamarine MediumSpringGreen MintCream SpringGreen MediumSeaGreen SeaGreen Honeydew LightGreen PaleGreen DarkSeaGreen LimeGreen Lime ForestGreen Green DarkGreen Chartreuse LawnGreen GreenYellow DarkOliveGreen YellowGreen OliveDrab Beige LightGoldenrodYellow Ivory LightYellow Yellow Olive DarkKhaki LemonChiffon PaleGoldenrod Khaki Gold Cornsilk Goldenrod DarkGoldenrod FloralWhite OldLace Wheat Moccasin Orange PapayaWhip BlanchedAlmond NavajoWhite AntiqueWhite Tan BurlyWood Bisque DarkOrange Linen Peru PeachPuff SandyBrown Chocolate SaddleBrown Seashell Sienna LightSalmon Coral OrangeRed DarkSalmon Tomato MistyRose Salmon Snow LightCoral RosyBrown IndianRed Red Brown FireBrick DarkRed Maroon White WhiteSmoke Gainsboro LightGrey Silver DarkGrey Grey DimGrey Black\\\" variable=\\\"colour-picker-value\\\">\\n \\n\u003C$macrocall $name=\\\"colour-picker-inner\\\" actions=\\\"\\\"\\\"$actions$\\\"\\\"\\\"/>\\n\u003C/$list>\\n\\n---\\n\\n\u003C$edit-text tiddler=\\\"$:/config/ColourPicker/New\\\" tag=\\\"input\\\" default=\\\"\\\" placeholder=\\\"\\\"/>\\n \\n\u003C$edit-text tiddler=\\\"$:/config/ColourPicker/New\\\" type=\\\"color\\\" tag=\\\"input\\\"/>\\n\u003C$set name=\\\"colour-picker-value\\\" value={{$:/config/ColourPicker/New}}>\\n\u003C$macrocall $name=\\\"colour-picker-inner\\\" actions=\\\"\\\"\\\"$actions$\\\"\\\"\\\"/>\\n\u003C/$set>\\n\\n\u003C/div>\\n\\n\\\\end\\n\"},\"$:/core/macros/copy-to-clipboard\":{\"title\":\"$:/core/macros/copy-to-clipboard\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define copy-to-clipboard(src,class:\\\"tc-btn-invisible\\\",style)\\n\\\\whitespace trim\\n\u003C$button class=\u003C\u003C__class__>> style=\u003C\u003C__style__>> message=\\\"tm-copy-to-clipboard\\\" param=\u003C\u003C__src__>> tooltip={{$:/language/Buttons/CopyToClipboard/Hint}}>\\n{{$:/core/images/copy-clipboard}}\\n \\n\u003C$text text={{$:/language/Buttons/CopyToClipboard/Caption}}/>\\n\u003C/$button>\\n\\\\end\\n\\n\\\\define copy-to-clipboard-above-right(src,class:\\\"tc-btn-invisible\\\",style)\\n\\\\whitespace trim\\n\u003Cdiv style=\\\"position: relative;\\\">\\n\u003Cdiv style=\\\"position: absolute; bottom: 0; right: 0;\\\">\\n\u003C$macrocall $name=\\\"copy-to-clipboard\\\" src=\u003C\u003C__src__>> class=\u003C\u003C__class__>> style=\u003C\u003C__style__>>/>\\n\u003C/div>\\n\u003C/div>\\n\\\\end\\n\"},\"$:/core/macros/diff\":{\"title\":\"$:/core/macros/diff\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define compareTiddlerText(sourceTiddlerTitle,sourceSubTiddlerTitle,destTiddlerTitle,destSubTiddlerTitle)\\n\\\\whitespace trim\\n\u003C$set name=\\\"source\\\" tiddler=\u003C\u003C__sourceTiddlerTitle__>> subtiddler=\u003C\u003C__sourceSubTiddlerTitle__>>>\\n\u003C$set name=\\\"dest\\\" tiddler=\u003C\u003C__destTiddlerTitle__>> subtiddler=\u003C\u003C__destSubTiddlerTitle__>>>\\n\u003C$diff-text source=\u003C\u003Csource>> dest=\u003C\u003Cdest>>/>\\n\u003C/$set>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define compareTiddlers(sourceTiddlerTitle,sourceSubTiddlerTitle,destTiddlerTitle,destSubTiddlerTitle,exclude)\\n\\\\whitespace trim\\n\u003Ctable class=\\\"tc-diff-tiddlers\\\">\\n\u003Ctbody>\\n\u003C$set name=\\\"sourceFields\\\" filter=\\\"[\u003C__sourceTiddlerTitle__>fields[]sort[]]\\\">\\n\u003C$set name=\\\"destFields\\\" filter=\\\"[\u003C__destSubTiddlerTitle__>subtiddlerfields\u003C__destTiddlerTitle__>sort[]]\\\">\\n\u003C$list filter=\\\"[enlist\u003CsourceFields>] [enlist\u003CdestFields>] -[enlist\u003C__exclude__>] +[sort[]]\\\" variable=\\\"fieldName\\\">\\n\u003Ctr>\\n\u003Cth>\\n\u003C$text text=\u003C\u003CfieldName>>/>\\n\u003C/th>\\n\u003Ctd>\\n\u003C$set name=\\\"source\\\" tiddler=\u003C\u003C__sourceTiddlerTitle__>> subtiddler=\u003C\u003C__sourceSubTiddlerTitle__>> field=\u003C\u003CfieldName>>>\\n\u003C$set name=\\\"dest\\\" tiddler=\u003C\u003C__destTiddlerTitle__>> subtiddler=\u003C\u003C__destSubTiddlerTitle__>> field=\u003C\u003CfieldName>>>\\n\u003C$diff-text source=\u003C\u003Csource>> dest=\u003C\u003Cdest>>> \u003C/$diff-text>\\n\u003C/$set>\\n\u003C/$set>\\n\u003C/td>\\n\u003C/tr>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/$set>\\n\u003C/tbody>\\n\u003C/table>\\n\\\\end\\n\"},\"$:/core/macros/dumpvariables\":{\"title\":\"$:/core/macros/dumpvariables\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define dumpvariables()\\n\\\\whitespace trim\\n\u003Cul>\\n\u003C$list filter=\\\"[variables[]]\\\" variable=\\\"varname\\\">\\n\u003Cli>\\n\u003Cstrong>\u003Ccode>\u003C$text text=\u003C\u003Cvarname>>/>\u003C/code>\u003C/strong>:\u003Cbr/>\\n\u003C$codeblock code={{{ [\u003Cvarname>getvariable[]] }}}/>\\n\u003C/li>\\n\u003C/$list>\\n\u003C/ul>\\n\\\\end\\n\"},\"$:/core/macros/export\":{\"title\":\"$:/core/macros/export\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define exportButtonFilename(baseFilename)\\n$baseFilename$$(extension)$\\n\\\\end\\n\\n\\\\define exportButton(exportFilter:\\\"[!is[system]sort[title]]\\\",lingoBase,baseFilename:\\\"tiddlers\\\")\\n\\\\whitespace trim\\n\u003C$vars hint={{{ [\u003C__lingoBase__>addsuffix[Hint]get[text]] }}} caption={{{ [\u003C__lingoBase__>addsuffix[Caption]get[text]] }}}>\\n\u003Cspan class=\\\"tc-popup-keep\\\">\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/export\\\">> tooltip=\u003C\u003Chint>> aria-label=\u003C\u003Ccaption>> class=\u003C\u003Ctv-config-toolbar-class>> selectedClass=\\\"tc-selected\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/export-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text=\u003C\u003Ccaption>>/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\u003C/span>\u003C/$vars>\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/export\\\">> type=\\\"popup\\\" position=\\\"below\\\" animate=\\\"yes\\\">\\n\u003Cdiv class=\\\"tc-drop-down\\\">\\n\u003C$set name=\\\"count\\\" value={{{ [subfilter\u003C__exportFilter__>count[]] }}}>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Exporter]]\\\">\\n\u003C$list filter=\\\"[\u003CcurrentTiddler>has[condition]subfilter{!!condition}limit[1]] ~[\u003CcurrentTiddler>!has[condition]then[true]]\\\" variable=\\\"ignore\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\">\\n\u003C$action-sendmessage $message=\\\"tm-download-file\\\" $param=\u003C\u003CcurrentTiddler>> exportFilter=\u003C\u003C__exportFilter__>> filename={{{ [\u003C__baseFilename__>addsuffix{!!extension}] }}}/>\\n\u003C$action-deletetiddler $tiddler=\u003C\u003Cqualify \\\"$:/state/popup/export\\\">>/>\\n\u003C$transclude field=\\\"description\\\"/>\\n\u003C/$button>\\n\u003C/$list>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/div>\\n\u003C/$reveal>\\n\\\\end\\n\"},\"$:/core/macros/image-picker\":{\"title\":\"$:/core/macros/image-picker\",\"created\":\"20170715180840889\",\"modified\":\"20170715180914005\",\"tags\":\"$:/tags/Macro\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define image-picker-thumbnail(actions)\\n\u003C$button tag=\\\"a\\\" tooltip=\\\"\\\"\\\"$(imageTitle)$\\\"\\\"\\\">$actions$\u003C$transclude tiddler=\u003C\u003CimageTitle>>/>\u003C/$button>\\n\\\\end\\n\\n\\\\define image-picker-list(filter,actions)\\n\\\\whitespace trim\\n\u003C$list filter=\\\"\\\"\\\"$filter$\\\"\\\"\\\" variable=\\\"imageTitle\\\">\\n\u003C$macrocall $name=\\\"image-picker-thumbnail\\\" actions=\\\"\\\"\\\"$actions$\\\"\\\"\\\"/>\\n \\n\u003C/$list>\\n\\\\end\\n\\n\\\\define image-picker(actions,filter:\\\"[all[shadows+tiddlers]is[image]] -[type[application/pdf]] +[!has[draft.of]$subfilter$sort[title]]\\\",subfilter:\\\"\\\")\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-image-chooser\\\">\\n\u003C$vars state-system=\u003C\u003Cqualify \\\"$:/state/image-picker/system\\\">>>\\n\u003C$checkbox tiddler=\u003C\u003Cstate-system>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"hide\\\">\\n \\n{{$:/language/SystemTiddlers/Include/Prompt}}\\n\u003C/$checkbox>\\n\u003C$reveal state=\u003C\u003Cstate-system>> type=\\\"match\\\" text=\\\"hide\\\" default=\\\"hide\\\" tag=\\\"div\\\">\\n\u003C$macrocall $name=\\\"image-picker-list\\\" filter=\\\"\\\"\\\"$filter$ +[!is[system]]\\\"\\\"\\\" actions=\\\"\\\"\\\"$actions$\\\"\\\"\\\"/>\\n\u003C/$reveal>\\n\u003C$reveal state=\u003C\u003Cstate-system>> type=\\\"nomatch\\\" text=\\\"hide\\\" default=\\\"hide\\\" tag=\\\"div\\\">\\n\u003C$macrocall $name=\\\"image-picker-list\\\" filter=\\\"\\\"\\\"$filter$\\\"\\\"\\\" actions=\\\"\\\"\\\"$actions$\\\"\\\"\\\"/>\\n\u003C/$reveal>\\n\u003C/$vars>\\n\u003C/div>\\n\\\\end\\n\\n\\\\define image-picker-include-tagged-images(actions)\\n\u003C$macrocall $name=\\\"image-picker\\\" filter=\\\"[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[!has[draft.of]sort[title]]\\\" actions=\\\"\\\"\\\"$actions$\\\"\\\"\\\"/>\\n\\\\end\\n\"},\"$:/core/macros/keyboard-driven-input\":{\"title\":\"$:/core/macros/keyboard-driven-input\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define change-input-tab(stateTitle,tag,beforeafter,defaultState,actions)\\n\\\\whitespace trim\\n\u003C$set name=\\\"tabsList\\\" filter=\\\"[all[shadows+tiddlers]tag\u003C__tag__>!has[draft.of]]\\\">\\n\\t\u003C$let\\n\\t\\tcurrentState={{{ [\u003C__stateTitle__>!is[missing]get[text]] ~[\u003C__defaultState__>] }}}\\n\\t\\tfirstTab={{{ [enlist\u003CtabsList>nth[1]] }}}\\n\\t\\tlastTab={{{ [enlist\u003CtabsList>last[]] }}}\\n\\t\\tnextTab={{{ [all[shadows+tiddlers]tag\u003C__tag__>!has[draft.of]$beforeafter$\u003CcurrentState>] ~[[$beforeafter$]removeprefix[after]suffix[]addprefix\u003CfirstTab>] ~[[$beforeafter$]removeprefix[before]suffix[]addprefix\u003ClastTab>] }}}\\n\\t>\\n\\t\\t\u003C$action-setfield $tiddler=\u003C\u003C__stateTitle__>> text=\u003C\u003CnextTab>>/>\\n\\t\\t$actions$\\n\\t\u003C/$let>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define keyboard-input-actions()\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[\u003C__index__>match[]]\\\">\\n\\t\u003C$action-setfield $tiddler=\u003C\u003C__storeTitle__>> text={{{ [\u003C__tiddler__>get\u003C__field__>] }}}/>\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003C__index__>!match[]]\\\">\\n\\t\u003C$action-setfield $tiddler=\u003C\u003C__storeTitle__>> text={{{ [\u003C__tiddler__>getindex\u003C__index__>] }}}/>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define input-next-actions-inner()\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[\u003CnextItem>minlength[1]]\\\" variable=\\\"ignore\\\">\\n\\t\u003C$action-setfield $tiddler=\u003C\u003C__selectionStateTitle__>> text=\u003C\u003CnextItem>>/>\\n\\t\u003C$list filter=\\\"[\u003C__index__>match[]]\\\">\\n\\t\\t\u003C$action-setfield $tiddler=\u003C\u003C__tiddler__>> $field=\u003C\u003C__field__>> $value={{{ [\u003CnextItem>] +[splitregexp[(?:.(?!-))+$]] }}}/>\\n\\t\u003C/$list>\\n\\t\u003C$list filter=\\\"[\u003C__index__>!match[]]\\\">\\n\\t\\t\u003C$action-setfield $tiddler=\u003C\u003C__tiddler__>> $index=\u003C\u003C__index__>> $value={{{ [\u003CnextItem>] +[splitregexp[(?:.(?!-))+$]] }}}/>\\n\\t\u003C/$list>\\n\\t\u003C$action-setfield $tiddler=\u003C\u003C__refreshTitle__>> text=\\\"yes\\\"/>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define input-next-actions(afterOrBefore:\\\"after\\\",reverse:\\\"\\\")\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[\u003C__storeTitle__>get[text]minlength\u003C__filterMinLength__>] [\u003C__filterMinLength__>match[0]] +[limit[1]]\\\"\\n\\tvariable=\\\"ignore\\\"\\n>\\n\\t\u003C$let\\n\\t\\tuserInput={{{ [\u003C__storeTitle__>get[text]] }}}\\n\\t\\tselectedItem={{{ [\u003C__selectionStateTitle__>get[text]] }}}\\n\\t\\tconfigTiddler={{{ [subfilter\u003C__configTiddlerFilter__>] }}}\\n\\t\\tprimaryListFilter={{{ [\u003CconfigTiddler>get\u003C__firstSearchFilterField__>] }}}\\n\\t\\tsecondaryListFilter={{{ [\u003CconfigTiddler>get\u003C__secondSearchFilterField__>] }}}\\n\\t>\\n\\t\\t\u003C$set\\n\\t\\t\\tname=\\\"filteredList\\\"\\n\\t\\t\\tfilter=\\\"[subfilter\u003CprimaryListFilter>addsuffix[-primaryList]] =[subfilter\u003CsecondaryListFilter>addsuffix[-secondaryList]]\\\"\\n\\t\\t>\\n\\t\\t\\t\u003C$let\\n\\t\\t\\t\\tnextItem={{{ [enlist\u003CfilteredList>$afterOrBefore$\u003CselectedItem>] ~[enlist\u003CfilteredList>$reverse$nth[1]] }}}\\n\\t\\t\\t\\tfirstItem={{{ [enlist\u003CfilteredList>nth[1]] }}}\\n\\t\\t\\t\\tlastItem={{{ [enlist\u003CfilteredList>last[]] }}}\\n\\t\\t\\t>\\n\\t\\t\\t\\t\u003C$list filter=\\\"[\u003CselectedItem>match\u003CfirstItem>!match\u003ClastItem>]\\\" variable=\\\"ignore\\\">\\n\\t\\t\\t\\t\\t\u003C$set name=\\\"nextItem\\\" value={{{ [[$afterOrBefore$]match[before]then\u003CuserInput>addsuffix[-userInput]] ~[\u003CnextItem>] }}}>\\n\\t\\t\\t\\t\\t\\t\u003C\u003Cinput-next-actions-inner>>\\n\\t\\t\\t\\t\\t\u003C/$set>\\n\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\u003C$list filter=\\\"[\u003CselectedItem>match\u003ClastItem>!match\u003CfirstItem>]\\\" variable=\\\"ignore\\\">\\n\\t\\t\\t\\t\\t\u003C$set name=\\\"nextItem\\\" value={{{ [[$afterOrBefore$]match[after]then\u003CuserInput>addsuffix[-userInput]] ~[\u003CnextItem>] }}}>\\n\\t\\t\\t\\t\\t\\t\u003C\u003Cinput-next-actions-inner>>\\n\\t\\t\\t\\t\\t\u003C/$set>\\n\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\u003C$list filter=\\\"[\u003CselectedItem>match\u003CfirstItem>match\u003ClastItem>]\\\" variable=\\\"ignore\\\">\\n\\t\\t\\t\\t\\t\u003C$set name=\\\"nextItem\\\" value={{{ [\u003CuserInput>addsuffix[-userInput]] }}}>\\n\\t\\t\\t\\t\\t\\t\u003C\u003Cinput-next-actions-inner>>\\n\\t\\t\\t\\t\\t\u003C/$set>\\n\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\u003C$list filter=\\\"[\u003CselectedItem>!match\u003CfirstItem>!match\u003ClastItem>]\\\" variable=\\\"ignore\\\">\\n\\t\\t\\t\\t\\t\u003C\u003Cinput-next-actions-inner>>\\n\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\u003C/$let>\\n\\t\\t\u003C/$set>\\n\\t\u003C/$let>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define keyboard-driven-input(tiddler,storeTitle,field:\\\"text\\\",index:\\\"\\\",tag:\\\"input\\\",type,focus:\\\"\\\",inputAcceptActions,inputAcceptVariantActions,inputCancelActions,placeholder:\\\"\\\",default:\\\"\\\",class,focusPopup,rows,minHeight,tabindex,size,autoHeight,filterMinLength:\\\"0\\\",refreshTitle,selectionStateTitle,cancelPopups:\\\"\\\",configTiddlerFilter,firstSearchFilterField:\\\"first-search-filter\\\",secondSearchFilterField:\\\"second-search-filter\\\")\\n\\\\whitespace trim\\n\u003C$keyboard key=\\\"((input-accept))\\\" actions=\u003C\u003C__inputAcceptActions__>>>\\n\u003C$keyboard key=\\\"((input-accept-variant))\\\" actions=\u003C\u003C__inputAcceptVariantActions__>>>\\n\u003C$keyboard key=\\\"((input-up))\\\" actions=\u003C\u003Cinput-next-actions \\\"before\\\" \\\"reverse[]\\\">>>\\n\u003C$keyboard key=\\\"((input-down))\\\" actions=\u003C\u003Cinput-next-actions>>>\\n\u003C$keyboard key=\\\"((input-cancel))\\\" actions=\u003C\u003C__inputCancelActions__>>>\\n\\t\u003C$edit-text\\n\\t\\ttiddler=\u003C\u003C__tiddler__>> field=\u003C\u003C__field__>> index=\u003C\u003C__index__>>\\n\\t\\tinputActions=\u003C\u003Ckeyboard-input-actions>> tag=\u003C\u003C__tag__>> class=\u003C\u003C__class__>>\\n\\t\\tplaceholder=\u003C\u003C__placeholder__>> default=\u003C\u003C__default__>> focusPopup=\u003C\u003C__focusPopup__>>\\n\\t\\tfocus=\u003C\u003C__focus__>> type=\u003C\u003C__type__>> rows=\u003C\u003C__rows__>> minHeight=\u003C\u003C__minHeight__>>\\n\\t\\ttabindex=\u003C\u003C__tabindex__>> size=\u003C\u003C__size__>> autoHeight=\u003C\u003C__autoHeight__>>\\n\\t\\trefreshTitle=\u003C\u003C__refreshTitle__>> cancelPopups=\u003C\u003C__cancelPopups__>>\\n\\t/>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n\\\\end\\n\"},\"$:/core/macros/lingo\":{\"title\":\"$:/core/macros/lingo\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define lingo-base()\\n$:/language/\\n\\\\end\\n\\n\\\\define lingo(title)\\n{{$(lingo-base)$$title$}}\\n\\\\end\\n\"},\"$:/core/macros/list\":{\"title\":\"$:/core/macros/list\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define list-links(filter,type:\\\"ul\\\",subtype:\\\"li\\\",class:\\\"\\\",emptyMessage,field:\\\"caption\\\")\\n\\\\whitespace trim\\n\u003C$genesis $type=\u003C\u003C__type__>> class=\u003C\u003C__class__>>>\\n\u003C$list filter=\u003C\u003C__filter__>> emptyMessage=\u003C\u003C__emptyMessage__>>>\\n\u003C$genesis $type=\u003C\u003C__subtype__>>>\\n\u003C$link to={{!!title}}>\\n\u003C$let tv-wikilinks=\\\"no\\\">\\n\u003C$transclude field=\u003C\u003C__field__>>>\\n\u003C$view field=\\\"title\\\"/>\\n\u003C/$transclude>\\n\u003C/$let>\\n\u003C/$link>\\n\u003C/$genesis>\\n\u003C/$list>\\n\u003C/$genesis>\\n\\\\end\\n\\n\\\\define list-links-draggable-drop-actions()\\n\u003C$action-listops $tiddler=\u003C\u003CtargetTiddler>> $field=\u003C\u003CtargetField>> $subfilter=\\\"+[insertbefore\u003CactionTiddler>,\u003CcurrentTiddler>]\\\"/>\\n\\\\end\\n\\n\\\\define list-links-draggable(tiddler,field:\\\"list\\\",emptyMessage,type:\\\"ul\\\",subtype:\\\"li\\\",class:\\\"\\\",itemTemplate)\\n\\\\whitespace trim\\n\u003Cspan class=\\\"tc-links-draggable-list\\\">\\n\u003C$vars targetTiddler=\\\"\\\"\\\"$tiddler$\\\"\\\"\\\" targetField=\\\"\\\"\\\"$field$\\\"\\\"\\\">\\n\u003C$genesis $type=\u003C\u003C__type__>> class=\\\"$class$\\\">\\n\u003C$list filter=\\\"[list[$tiddler$!!$field$]]\\\" emptyMessage=\u003C\u003C__emptyMessage__>>>\\n\u003C$droppable actions=\u003C\u003Clist-links-draggable-drop-actions>> tag=\\\"\\\"\\\"$subtype$\\\"\\\"\\\" enable=\u003C\u003Ctv-enable-drag-and-drop>>>\\n\u003Cdiv class=\\\"tc-droppable-placeholder\\\"/>\\n\u003Cdiv>\\n\u003C$transclude tiddler=\\\"\\\"\\\"$itemTemplate$\\\"\\\"\\\">\\n\u003C$link to={{!!title}}>\\n\u003C$let tv-wikilinks=\\\"no\\\">\\n\u003C$transclude field=\\\"caption\\\">\\n\u003C$view field=\\\"title\\\"/>\\n\u003C/$transclude>\\n\u003C/$let>\\n\u003C/$link>\\n\u003C/$transclude>\\n\u003C/div>\\n\u003C/$droppable>\\n\u003C/$list>\\n\u003C$tiddler tiddler=\\\"\\\">\\n\u003C$droppable actions=\u003C\u003Clist-links-draggable-drop-actions>> tag=\\\"div\\\" enable=\u003C\u003Ctv-enable-drag-and-drop>>>\\n\u003Cdiv class=\\\"tc-droppable-placeholder\\\">\\n{{$:/core/images/blank}}\\n\u003C/div>\\n\u003Cdiv style=\\\"height:0.5em;\\\"/>\\n\u003C/$droppable>\\n\u003C/$tiddler>\\n\u003C/$genesis>\\n\u003C/$vars>\\n\u003C/span>\\n\\\\end\\n\\n\\\\define list-tagged-draggable-drop-actions(tag)\\n\\\\whitespace trim\\n\u003C!-- Save the current ordering of the tiddlers with this tag -->\\n\u003C$set name=\\\"order\\\" filter=\\\"[\u003C__tag__>tagging[]]\\\">\\n\u003C!-- Remove any list-after or list-before fields from the tiddlers with this tag -->\\n\u003C$list filter=\\\"[\u003C__tag__>tagging[]]\\\">\\n\u003C$action-deletefield $field=\\\"list-before\\\"/>\\n\u003C$action-deletefield $field=\\\"list-after\\\"/>\\n\u003C/$list>\\n\u003C!-- Save the new order to the Tag Tiddler -->\\n\u003C$action-listops $tiddler=\u003C\u003C__tag__>> $field=\\\"list\\\" $filter=\\\"+[enlist\u003Corder>] +[insertbefore\u003CactionTiddler>,\u003CcurrentTiddler>]\\\"/>\\n\u003C!-- Make sure the newly added item has the right tag -->\\n\u003C!-- Removing this line makes dragging tags within the dropdown work as intended -->\\n\u003C!--\u003C$action-listops $tiddler=\u003C\u003CactionTiddler>> $tags=\u003C\u003C__tag__>>/>-->\\n\u003C!-- Using the following 5 lines as replacement makes dragging titles from outside into the dropdown apply the tag -->\\n\u003C$list filter=\\\"[\u003CactionTiddler>!contains:tags\u003C__tag__>]\\\">\\n\u003C$fieldmangler tiddler=\u003C\u003CactionTiddler>>>\\n\u003C$action-sendmessage $message=\\\"tm-add-tag\\\" $param=\u003C\u003C__tag__>>/>\\n\u003C/$fieldmangler>\\n\u003C/$list>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define list-tagged-draggable(tag,subFilter,emptyMessage,itemTemplate,elementTag:\\\"div\\\",storyview:\\\"\\\")\\n\\\\whitespace trim\\n\u003Cspan class=\\\"tc-tagged-draggable-list\\\">\\n\u003C$set name=\\\"tag\\\" value=\u003C\u003C__tag__>>>\\n\u003C$list filter=\\\"[\u003C__tag__>tagging[]$subFilter$]\\\" emptyMessage=\u003C\u003C__emptyMessage__>> storyview=\u003C\u003C__storyview__>>>\\n\u003C$genesis $type=\u003C\u003C__elementTag__>> class=\\\"tc-menu-list-item\\\">\\n\u003C$droppable actions=\\\"\\\"\\\"\u003C$macrocall $name=\\\"list-tagged-draggable-drop-actions\\\" tag=\u003C\u003C__tag__>>/>\\\"\\\"\\\" enable=\u003C\u003Ctv-enable-drag-and-drop>>>\\n\u003C$genesis $type=\u003C\u003C__elementTag__>> class=\\\"tc-droppable-placeholder\\\"/>\\n\u003C$genesis $type=\u003C\u003C__elementTag__>>>\\n\u003C$transclude tiddler=\\\"\\\"\\\"$itemTemplate$\\\"\\\"\\\">\\n\u003C$link to={{!!title}}>\\n\u003C$view field=\\\"title\\\"/>\\n\u003C/$link>\\n\u003C/$transclude>\\n\u003C/$genesis>\\n\u003C/$droppable>\\n\u003C/$genesis>\\n\u003C/$list>\\n\u003C$tiddler tiddler=\\\"\\\">\\n\u003C$droppable actions=\\\"\\\"\\\"\u003C$macrocall $name=\\\"list-tagged-draggable-drop-actions\\\" tag=\u003C\u003C__tag__>>/>\\\"\\\"\\\" enable=\u003C\u003Ctv-enable-drag-and-drop>>>\\n\u003C$genesis $type=\u003C\u003C__elementTag__>> class=\\\"tc-droppable-placeholder\\\"/>\\n\u003C$genesis $type=\u003C\u003C__elementTag__>> style=\\\"height:0.5em;\\\">\\n\u003C/$genesis>\\n\u003C/$droppable>\\n\u003C/$tiddler>\\n\u003C/$set>\\n\u003C/span>\\n\\\\end\\n\"},\"$:/core/macros/tabs\":{\"title\":\"$:/core/macros/tabs\",\"tags\":\"$:/tags/Macro\",\"code-body\":\"yes\",\"text\":\"\\\\define tabs-button()\\n\\\\whitespace trim\\n\u003C$button set=\u003C\u003CtabsState>> setTo=\u003C\u003CcurrentTab>> default=\u003C\u003C__default__>> selectedClass=\\\"tc-tab-selected\\\" tooltip={{!!tooltip}} role=\\\"switch\\\">\\n\\t\u003C$tiddler tiddler=\u003C\u003Csave-currentTiddler>>>\\n\\t\\t\u003C$set name=\\\"tv-wikilinks\\\" value=\\\"no\\\">\\n\\t\\t\\t\u003C$transclude tiddler=\u003C\u003C__buttonTemplate__>> mode=\\\"inline\\\">\\n\\t\\t\\t\\t\u003C$transclude tiddler=\u003C\u003CcurrentTab>> field=\\\"caption\\\">\\n\\t\\t\\t\\t\\t\u003C$macrocall $name=\\\"currentTab\\\" $type=\\\"text/plain\\\" $output=\\\"text/plain\\\"/>\\n\\t\\t\\t\\t\u003C/$transclude>\\n\\t\\t\\t\u003C/$transclude>\\n\\t\\t\u003C/$set>\\n\\t\u003C/$tiddler>\\n\\t\u003C\u003C__actions__>>\\n\u003C/$button>\\n\\\\end\\n\\n\\\\define tabs-tab()\\n\\\\whitespace trim\\n\u003C$set name=\\\"save-currentTiddler\\\" value=\u003C\u003CcurrentTiddler>>>\\n\\t\u003C$tiddler tiddler=\u003C\u003CcurrentTab>>>\\n\\t\\t\u003C\u003Ctabs-button>>\\n\\t\u003C/$tiddler>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define tabs-tab-list()\\n\\\\whitespace trim\\n\u003C$list filter=\u003C\u003C__tabsList__>> variable=\\\"currentTab\\\" storyview=\\\"pop\\\">\\n\\t\u003C\u003Ctabs-tab>>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define tabs-tab-body()\\n\\\\whitespace trim\\n\u003C$list filter=\u003C\u003C__tabsList__>> variable=\\\"currentTab\\\">\\n\\t\u003C$reveal type=\\\"match\\\" state=\u003C\u003CtabsState>> text=\u003C\u003CcurrentTab>> default=\u003C\u003C__default__>> retain=\u003C\u003C__retain__>> tag=\\\"div\\\">\\n\\t\\t\u003C$transclude tiddler=\u003C\u003C__template__>> mode=\\\"block\\\">\\n\\t\\t\\t\u003C$transclude tiddler=\u003C\u003CcurrentTab>> mode=\\\"block\\\"/>\\n\\t\\t\u003C/$transclude>\\n\\t\u003C/$reveal>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define tabs(tabsList,default,state:\\\"$:/state/tab\\\",class,template,buttonTemplate,retain,actions,explicitState)\\n\\\\whitespace trim\\n\u003C$qualify title=\u003C\u003C__state__>> name=\\\"qualifiedState\\\">\\n\\t\u003C$let tabsState={{{ [\u003C__explicitState__>minlength[1]] ~[\u003CqualifiedState>] }}}>\\n\\t\\t\u003Cdiv class={{{ [[tc-tab-set]addsuffix[ ]addsuffix\u003C__class__>] }}}>\\n\\t\\t\\t\u003Cdiv class={{{ [[tc-tab-buttons]addsuffix[ ]addsuffix\u003C__class__>] }}}>\\n\\t\\t\\t\\t\u003C\u003Ctabs-tab-list>>\\n\\t\\t\\t\u003C/div>\\n\\t\\t\\t\u003Cdiv class={{{ [[tc-tab-divider]addsuffix[ ]addsuffix\u003C__class__>] }}}/>\\n\\t\\t\\t\u003Cdiv class={{{ [[tc-tab-content]addsuffix[ ]addsuffix\u003C__class__>] }}}>\\n\\t\\t\\t\\t\u003C\u003Ctabs-tab-body>>\\n\\t\\t\\t\u003C/div>\\n\\t\\t\u003C/div>\\n\\t\u003C/$let>\\n\u003C/$qualify>\\n\\\\end\"},\"$:/core/macros/tag-picker\":{\"title\":\"$:/core/macros/tag-picker\",\"tags\":\"$:/tags/Macro\",\"first-search-filter\":\"[tags[]!is[system]search:title\u003CuserInput>sort[]]\",\"second-search-filter\":\"[tags[]is[system]search:title\u003CuserInput>sort[]]\",\"text\":\"\\\\define get-tagpicker-focus-selector() [data-tiddler-title=\\\"$(currentTiddlerCSSEscaped)$\\\"] .tc-add-tag-name input\\n\\n\\\\define delete-tag-state-tiddlers() \u003C$action-deletetiddler $filter=\\\"[\u003CnewTagNameTiddler>] [\u003CstoreTitle>] [\u003CtagSelectionState>]\\\"/>\\n\\n\\\\define add-tag-actions(actions,tagField:\\\"tags\\\")\\n\\\\whitespace trim\\n\u003C$set name=\\\"tag\\\" value={{{ [\u003C__tiddler__>get[text]] }}}>\\n\\t\u003C$list\\n\\t\\tfilter=\\\"[\u003CsaveTiddler>!contains:$tagField$\u003Ctag>!match[]]\\\"\\n\\t\\tvariable=\\\"ignore\\\"\\n\\t\\temptyMessage=\\\"\u003C$action-listops $tiddler=\u003C\u003CsaveTiddler>> $field=\u003C\u003C__tagField__>> $subfilter='-[\u003Ctag>]'/>\\\"\\n\\t>\\n\\t\\t\u003C$action-listops $tiddler=\u003C\u003CsaveTiddler>> $field=\u003C\u003C__tagField__>> $subfilter=\\\"[\u003Ctag>trim[]]\\\"/>\\n\\t\\t$actions$\\n\\t\u003C/$list>\\n\u003C/$set>\\n\u003C\u003Cdelete-tag-state-tiddlers>>\\n\u003C$action-setfield $tiddler=\u003C\u003CrefreshTitle>> text=\\\"yes\\\"/>\\n\\\\end\\n\\n\\\\define clear-tags-actions-inner()\\n\\\\whitespace trim\\n\u003C$list\\n\\tfilter=\\\"[\u003CstoreTitle>has[text]] [\u003CnewTagNameTiddler>has[text]]\\\"\\n\\tvariable=\\\"ignore\\\"\\n\\temptyMessage=\\\"\u003C\u003Ccancel-delete-tiddler-actions 'cancel'>>\\\"\\n>\\n\\t\u003C\u003Cdelete-tag-state-tiddlers>>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define clear-tags-actions()\\n\\\\whitespace trim\\n\u003C$set name=\\\"userInput\\\" value={{{ [\u003CstoreTitle>get[text]] }}}>\\n\\t\u003C$list filter=\\\"[\u003CnewTagNameTiddler>get[text]!match\u003CuserInput>]\\\" emptyMessage=\\\"\u003C\u003Cclear-tags-actions-inner>>\\\">\\n\\t\\t\u003C$action-setfield $tiddler=\u003C\u003CnewTagNameTiddler>> text=\u003C\u003CuserInput>>/>\u003C$action-setfield $tiddler=\u003C\u003CrefreshTitle>> text=\\\"yes\\\"/>\\n\\t\u003C/$list>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define tag-picker-inner(actions,tagField:\\\"tags\\\")\\n\\\\whitespace trim\\n\u003C$vars\\n\\tnewTagNameInputTiddlerQualified=\u003C\u003Cqualify \\\"$:/temp/NewTagName/input\\\">>\\n\\tnewTagNameSelectionTiddlerQualified=\u003C\u003Cqualify \\\"$:/temp/NewTagName/selected-item\\\">>\\n\\tfallbackTarget={{$(palette)$##tag-background}}\\n\\tcolourA={{$(palette)$##foreground}}\\n\\tcolourB={{$(palette)$##background}}\\n>\\n\\t\u003C$vars\\n\\t\\tstoreTitle={{{ [\u003CnewTagNameInputTiddler>!match[]] ~[\u003CnewTagNameInputTiddlerQualified>] }}}\\n\\t\\ttagSelectionState={{{ [\u003CnewTagNameSelectionTiddler>!match[]] ~[\u003CnewTagNameSelectionTiddlerQualified>] }}}\\n\\t>\\n\\t\\t\u003C$vars\\n\\t\\t\\trefreshTitle=\u003C\u003Cqualify \\\"$:/temp/NewTagName/refresh\\\">> \\n\\t\\t\\tnonSystemTagsFilter=\\\"[tags[]!is[system]search:title\u003CuserInput>sort[]]\\\"\\n\\t\\t\\tsystemTagsFilter=\\\"[tags[]is[system]search:title\u003CuserInput>sort[]]\\\"\\n\\t\\t>\\n\\t\\t\\t\u003Cdiv class=\\\"tc-edit-add-tag\\\">\\n\\t\\t\\t\\t\u003Cdiv>\\n\\t\\t\\t\\t\\t\u003Cspan class=\\\"tc-add-tag-name tc-small-gap-right\\\">\\n\\t\\t\\t\\t\\t\\t\u003C$macrocall\\n\\t\\t\\t\\t\\t\\t\\t$name=\\\"keyboard-driven-input\\\"\\n\\t\\t\\t\\t\\t\\t\\ttiddler=\u003C\u003CnewTagNameTiddler>>\\n\\t\\t\\t\\t\\t\\t\\tstoreTitle=\u003C\u003CstoreTitle>>\\n\\t\\t\\t\\t\\t\\t\\trefreshTitle=\u003C\u003CrefreshTitle>>\\n\\t\\t\\t\\t\\t\\t\\tselectionStateTitle=\u003C\u003CtagSelectionState>>\\n\\t\\t\\t\\t\\t\\t\\tinputAcceptActions=\\\"\u003C$macrocall $name='add-tag-actions' actions=\u003C\u003C__actions__>> tagField=\u003C\u003C__tagField__>>/>\\\"\\n\\t\\t\\t\\t\\t\\t\\tinputCancelActions=\u003C\u003Cclear-tags-actions>>\\n\\t\\t\\t\\t\\t\\t\\ttag=\\\"input\\\"\\n\\t\\t\\t\\t\\t\\t\\tplaceholder={{$:/language/EditTemplate/Tags/Add/Placeholder}}\\n\\t\\t\\t\\t\\t\\t\\tfocusPopup=\u003C\u003Cqualify \\\"$:/state/popup/tags-auto-complete\\\">>\\n\\t\\t\\t\\t\\t\\t\\tclass=\\\"tc-edit-texteditor tc-popup-handle\\\"\\n\\t\\t\\t\\t\\t\\t\\ttabindex=\u003C\u003CtabIndex>>\\n\\t\\t\\t\\t\\t\\t\\tfocus={{{ [{$:/config/AutoFocus}match[tags]then[true]] ~[[false]] }}}\\n\\t\\t\\t\\t\\t\\t\\tfilterMinLength={{$:/config/Tags/MinLength}}\\n\\t\\t\\t\\t\\t\\t\\tcancelPopups=\u003C\u003CcancelPopups>>\\n\\t\\t\\t\\t\\t\\t\\tconfigTiddlerFilter=\\\"[[$:/core/macros/tag-picker]]\\\"\\n\\t\\t\\t\\t\\t\\t/>\\n\\t\\t\\t\\t\\t\u003C/span>\\n\\t\\t\\t\\t\\t\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/tags-auto-complete\\\">> \\n\\t\\t\\t\\t\\t\\tclass=\\\"tc-btn-invisible tc-btn-dropdown\\\"\\n\\t\\t\\t\\t\\t\\ttooltip={{$:/language/EditTemplate/Tags/Dropdown/Hint}}\\n\\t\\t\\t\\t\\t\\taria-label={{$:/language/EditTemplate/Tags/Dropdown/Caption}}\\n\\t\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t\\t{{$:/core/images/down-arrow}}\\n\\t\\t\\t\\t\\t\u003C/$button>\\n\\t\\t\\t\\t\\t\u003C$reveal state=\u003C\u003CstoreTitle>> type=\\\"nomatch\\\" text=\\\"\\\">\\n\\t\\t\\t\\t\\t\\t\u003C$button class=\\\"tc-btn-invisible tc-small-gap tc-btn-dropdown\\\"\\n\\t\\t\\t\\t\\t\\t\\ttooltip={{$:/language/EditTemplate/Tags/ClearInput/Hint}}\\n\\t\\t\\t\\t\\t\\t\\taria-label={{$:/language/EditTemplate/Tags/ClearInput/Caption}}\\n\\t\\t\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t\\t\\t{{$:/core/images/close-button}}\u003C\u003Cdelete-tag-state-tiddlers>>\\n\\t\\t\\t\\t\\t\\t\u003C/$button>\\n\\t\\t\\t\\t\\t\u003C/$reveal>\\n\\t\\t\\t\\t\\t\u003Cspan class=\\\"tc-add-tag-button tc-small-gap-left\\\">\\n\\t\\t\\t\\t\\t\\t\u003C$set name=\\\"tag\\\" value={{{ [\u003CnewTagNameTiddler>get[text]] }}}>\\n\\t\\t\\t\\t\\t\\t\\t\u003C$button set=\u003C\u003CnewTagNameTiddler>> setTo=\\\"\\\" class=\\\"\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003C$action-listops $tiddler=\u003C\u003CsaveTiddler>> $field=\u003C\u003C__tagField__>> $subfilter=\\\"[\u003Ctag>trim[]]\\\"/>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t$actions$\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003C$set name=\\\"currentTiddlerCSSEscaped\\\" value={{{ [\u003CsaveTiddler>escapecss[]] }}}>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C\u003Cdelete-tag-state-tiddlers>>\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\u003C\u003Cget-tagpicker-focus-selector>>/>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003C/$set>\\n\\t\\t\\t\\t\\t\\t\\t\\t{{$:/language/EditTemplate/Tags/Add/Button}}\\n\\t\\t\\t\\t\\t\\t\\t\u003C/$button>\\n\\t\\t\\t\\t\\t\\t\u003C/$set>\\n\\t\\t\\t\\t\\t\u003C/span>\\n\\t\\t\\t\\t\u003C/div>\\n\\t\\t\\t\\t\u003Cdiv class=\\\"tc-block-dropdown-wrapper\\\">\\n\\t\\t\\t\\t\\t\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/tags-auto-complete\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n\\t\\t\\t\\t\\t\\t\u003Cdiv class=\\\"tc-block-dropdown tc-block-tags-dropdown\\\">\\n\\t\\t\\t\\t\\t\\t\\t\u003C$set name=\\\"userInput\\\" value={{{ [\u003CstoreTitle>get[text]] }}}>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003C$list\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tfilter=\\\"[\u003CuserInput>minlength{$:/config/Tags/MinLength}limit[1]]\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\temptyMessage=\\\"\u003Cdiv class='tc-search-results'\\n\\t\\t\\t\\t\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t{{$:/language/Search/Search/TooShort}}\u003C/div>\\\" variable=\\\"listItem\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C$list filter=\u003C\u003CnonSystemTagsFilter>> variable=\\\"tag\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C$list\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tfilter=\\\"[\u003Ctag>addsuffix[-primaryList]] -[\u003CtagSelectionState>get[text]]\\\" \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\temptyMessage=\\\"\u003C$vars button-classes='tc-btn-invisible tc-tag-button-selected' actions=\u003C\u003C__actions__>> tagField=\u003C\u003C__tagField__>> currentTiddler=\u003C\u003Ctag>>>{{||$:/core/ui/TagPickerTagTemplate}}\u003C/$vars>\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C$vars button-classes=\\\"tc-btn-invisible\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tactions=\u003C\u003C__actions__>> \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\ttagField=\u003C\u003C__tagField__>>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tcurrentTiddler=\u003C\u003Ctag>>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t{{||$:/core/ui/TagPickerTagTemplate}}\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C/$vars>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003Chr>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003C$list filter=\\\"[\u003CuserInput>minlength{$:/config/Tags/MinLength}limit[1]]\\\" emptyMessage=\\\"\u003Cdiv class='tc-search-results'>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t{{$:/language/Search/Search/TooShort}}\u003C/div>\\\" variable=\\\"listItem\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C$list filter=\u003C\u003CsystemTagsFilter>> variable=\\\"tag\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C$list filter=\\\"[\u003Ctag>addsuffix[-secondaryList]] -[\u003CtagSelectionState>get[text]]\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\temptyMessage=\\\"\u003C$vars button-classes='tc-btn-invisible tc-tag-button-selected' actions=\u003C\u003C__actions__>> tagField=\u003C\u003C__tagField__>> currentTiddler=\u003C\u003Ctag>>>{{||$:/core/ui/TagPickerTagTemplate}}\u003C/$vars>\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C$vars button-classes=\\\"tc-btn-invisible\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tactions=\u003C\u003C__actions__>>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\ttagField=\u003C\u003C__tagField__>>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tcurrentTiddler=\u003C\u003Ctag>>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t{{||$:/core/ui/TagPickerTagTemplate}}\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C/$vars>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\\t\\t\\t\u003C/$set>\\n\\t\\t\\t\\t\\t\\t\u003C/div>\\n\\t\\t\\t\\t\\t\u003C/$reveal>\\n\\t\\t\\t\\t\u003C/div>\\n\\t\\t\\t\u003C/div>\\n\\t\\t\u003C/$vars>\\n\\t\u003C/$vars>\\n\u003C/$vars>\\n\\\\end\\n\\n\\\\define tag-picker(actions,tagField:\\\"tags\\\")\\n\\\\whitespace trim\\n\u003C$vars saveTiddler=\u003C\u003CcurrentTiddler>> palette={{$:/palette}}>\\n\\t\u003C$list\\n\\t\\tfilter=\\\"[\u003CnewTagNameTiddler>match[]]\\\"\\n\\t\\temptyMessage=\\\"\u003C$macrocall $name='tag-picker-inner' actions=\u003C\u003C__actions__>> tagField=\u003C\u003C__tagField__>>/>\\\"\\n\\t>\\n\\t\\t\u003C$set name=\\\"newTagNameTiddler\\\" value=\u003C\u003Cqualify \\\"$:/temp/NewTagName\\\">>>\\n\\t\\t\\t\u003C$macrocall $name=\\\"tag-picker-inner\\\" actions=\u003C\u003C__actions__>> tagField=\u003C\u003C__tagField__>>/>\\n\\t\\t\u003C/$set>\\n\\t\u003C/$list>\\n\u003C/$vars>\\n\\\\end\\n\"},\"$:/core/macros/tag\":{\"title\":\"$:/core/macros/tag\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define tag-pill-styles()\\nbackground-color:$(backgroundColor)$;\\nfill:$(foregroundColor)$;\\ncolor:$(foregroundColor)$;\\n\\\\end\\n\\n\u003C!-- This has no whitespace trim to avoid modifying $actions$. Closing tags omitted for brevity. -->\\n\\\\define tag-pill-inner(tag,icon,colour,fallbackTarget,colourA,colourB,element-tag,element-attributes,actions)\\n\\\\whitespace trim\\n\u003C$vars\\n\\tforegroundColor=\u003C\u003Ccontrastcolour target:\\\"\\\"\\\"$colour$\\\"\\\"\\\" fallbackTarget:\\\"\\\"\\\"$fallbackTarget$\\\"\\\"\\\" colourA:\\\"\\\"\\\"$colourA$\\\"\\\"\\\" colourB:\\\"\\\"\\\"$colourB$\\\"\\\"\\\">>\\n\\tbackgroundColor=\u003C\u003C__colour__>>\\n>\\n\u003C$element-tag$\\n\\t$element-attributes$\\n\\tclass=\\\"tc-tag-label tc-btn-invisible\\\"\\n\\tstyle=\u003C\u003Ctag-pill-styles>>\\n>\\n\\t\u003C\u003C__actions__>>\\n\\t\u003C$transclude tiddler=\u003C\u003C__icon__>>/>\\n\\t\u003C$view tiddler=\u003C\u003C__tag__>> field=\\\"title\\\" format=\\\"text\\\" />\\n\u003C/$element-tag$>\\n\\\\end\\n\\n\\\\define tag-pill-body(tag,icon,colour,palette,element-tag,element-attributes,actions)\\n\\\\whitespace trim\\n\u003C$macrocall $name=\\\"tag-pill-inner\\\"\\n\\ttag=\u003C\u003C__tag__>>\\n\\ticon=\u003C\u003C__icon__>>\\n\\tcolour=\u003C\u003C__colour__>>\\n\\tfallbackTarget={{$palette$##tag-background}}\\n\\tcolourA={{$palette$##foreground}}\\n\\tcolourB={{$palette$##background}}\\n\\telement-tag=\u003C\u003C__element-tag__>>\\n\\telement-attributes=\u003C\u003C__element-attributes__>>\\n\\tactions=\u003C\u003C__actions__>>\\n/>\\n\\\\end\\n\\n\\\\define tag-pill(tag,element-tag:\\\"span\\\",element-attributes:\\\"\\\",actions:\\\"\\\")\\n\\\\whitespace trim\\n\u003Cspan class=\\\"tc-tag-list-item\\\" data-tag-title=\u003C\u003C__tag__>>>\\n\\t\u003C$let currentTiddler=\u003C\u003C__tag__>>>\\n\\t\\t\u003C$macrocall $name=\\\"tag-pill-body\\\"\\n\\t\\t\\ttag=\u003C\u003C__tag__>>\\n\\t\\t\\ticon={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] }}}\\n\\t\\t\\tcolour={{{ [\u003CcurrentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}\\n\\t\\t\\tpalette={{$:/palette}}\\n\\t\\t\\telement-tag=\u003C\u003C__element-tag__>>\\n\\t\\t\\telement-attributes=\u003C\u003C__element-attributes__>>\\n\\t\\t\\tactions=\u003C\u003C__actions__>>/>\\n\\t\u003C/$let>\\n\u003C/span>\\n\\\\end\\n\\n\\\\define tag(tag)\\n{{$tag$||$:/core/ui/TagTemplate}}\\n\\\\end\\n\"},\"$:/core/macros/thumbnails\":{\"title\":\"$:/core/macros/thumbnails\",\"tags\":\"$:/tags/Macro\",\"text\":\"\u003C!-- This macro does not use \\\\whitespace trim because it could affect the caption -->\\n\\\\define thumbnail(link,icon,color,background-color,image,caption,width:\\\"280\\\",height:\\\"157\\\")\\n\u003C$link to=\\\"\\\"\\\"$link$\\\"\\\"\\\">\u003Cdiv class=\\\"tc-thumbnail-wrapper\\\"\\n>\u003Cdiv\\n\\tclass=\\\"tc-thumbnail-image\\\"\\n\\tstyle=\\\"width:$width$px;height:$height$px;\\\">\u003C$reveal\\n\\ttype=\\\"nomatch\\\"\\n\\ttext=\\\"\\\"\\n\\tdefault=\\\"\\\"\\\"$image$\\\"\\\"\\\"\\n\\ttag=\\\"div\\\"\\n\\tstyle=\\\"width:$width$px;height:$height$px;\\\"\\n>[img[$image$]]\u003C/$reveal>\u003C$reveal\\n\\ttype=\\\"match\\\"\\n\\ttext=\\\"\\\"\\n\\tdefault=\\\"\\\"\\\"$image$\\\"\\\"\\\"\\n\\ttag=\\\"div\\\"\\n\\tclass=\\\"tc-thumbnail-background\\\"\\n\\tstyle=\\\"width:$width$px;height:$height$px;background-color:$background-color$;\\\"\\n>\u003C/$reveal>\u003C/div>\u003Cdiv\\n\\tclass=\\\"tc-thumbnail-icon\\\"\\n\\tstyle=\\\"fill:$color$;color:$color$;\\\"\\n>$icon$\u003C/div>\u003Cdiv class=\\\"tc-thumbnail-caption\\\">$caption$\u003C/div>\u003C/div>\u003C/$link>\\n\\\\end\\n\\n\\\\define thumbnail-right(link,icon,color,background-color,image,caption,width:\\\"280\\\",height:\\\"157\\\")\\n\u003Cdiv class=\\\"tc-thumbnail-right-wrapper\\\">\u003C\u003Cthumbnail \\\"\\\"\\\"$link$\\\"\\\"\\\" \\\"\\\"\\\"$icon$\\\"\\\"\\\" \\\"\\\"\\\"$color$\\\"\\\"\\\" \\\"\\\"\\\"$background-color$\\\"\\\"\\\" \\\"\\\"\\\"$image$\\\"\\\"\\\" \\\"\\\"\\\"$caption$\\\"\\\"\\\" \\\"\\\"\\\"$width$\\\"\\\"\\\" \\\"\\\"\\\"$height$\\\"\\\"\\\">>\u003C/div>\\n\\\\end\\n\\n\\\\define list-thumbnails(filter,width:\\\"280\\\",height:\\\"157\\\")\\n\u003C$list filter=\\\"\\\"\\\"$filter$\\\"\\\"\\\">\u003C$macrocall $name=\\\"thumbnail\\\" link={{!!link}} icon={{!!icon}} color={{!!color}} background-color={{!!background-color}} image={{!!image}} caption={{!!caption}} width=\\\"\\\"\\\"$width$\\\"\\\"\\\" height=\\\"\\\"\\\"$height$\\\"\\\"\\\"/>\u003C/$list>\\n\\\\end\\n\"},\"$:/core/macros/timeline\":{\"title\":\"$:/core/macros/timeline\",\"created\":\"20141212105914482\",\"modified\":\"20141212110330815\",\"tags\":\"$:/tags/Macro\",\"text\":\"\u003C!-- Override one or both of the following two macros with a global or local macro of the same name \\nif you need to change how titles are displayed on a timeline -->\\n\\n\\\\define timeline-title() \u003C$view field=\\\"title\\\"/>\\n\\\\define timeline-link() \u003C$link to={{!!title}}>\u003C\u003Ctimeline-title>>\u003C/$link>\\n\\\\define timeline(limit:\\\"100\\\",format:\\\"DDth MMM YYYY\\\",subfilter:\\\"\\\",dateField:\\\"modified\\\")\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-timeline\\\">\\n\u003C$list filter=\\\"[!is[system]$subfilter$has[$dateField$]!sort[$dateField$]limit[$limit$]eachday[$dateField$]]\\\">\\n\u003Cdiv class=\\\"tc-menu-list-item\\\">\\n\u003C$view field=\\\"$dateField$\\\" format=\\\"date\\\" template=\\\"$format$\\\"/>\\n\u003C$list filter=\\\"[sameday:$dateField${!!$dateField$}!is[system]$subfilter$!sort[$dateField$]]\\\">\\n\u003Cdiv class=\\\"tc-menu-list-subitem\\\">\\n\u003C\u003Ctimeline-link>>\\n\u003C/div>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$list>\\n\u003C/div>\\n\\\\end\\n\"},\"$:/core/macros/toc\":{\"title\":\"$:/core/macros/toc\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\n\\\\define toc-open-icon() $:/core/images/down-arrow\\n\\\\define toc-closed-icon() $:/core/images/right-arrow\\n\\n\\\\define toc-caption()\\n\\\\whitespace trim\\n\u003Cspan class=\\\"tc-toc-caption tc-tiny-gap-left\\\">\\n\u003C$set name=\\\"tv-wikilinks\\\" value=\\\"no\\\">\\n \u003C$transclude field=\\\"caption\\\">\\n \u003C$view field=\\\"title\\\"/>\\n \u003C/$transclude>\\n\u003C/$set>\\n\u003C/span>\\n\\\\end\\n\\n\\\\define toc-body(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n\u003Col class=\\\"tc-toc\\\">\\n \u003C$list filter=\\\"\\\"\\\"[all[shadows+tiddlers]tag\u003C__tag__>!has[draft.of]$sort$] -[\u003C__tag__>] -[subfilter\u003C__exclude__>]\\\"\\\"\\\">\\n \u003C$let item=\u003C\u003CcurrentTiddler>> path={{{ [\u003C__path__>addsuffix[/]addsuffix\u003C__tag__>] }}}>\\n \u003C$set name=\\\"excluded\\\" filter=\\\"[subfilter\u003C__exclude__>] [\u003C__tag__>]\\\">\\n \u003C$set name=\\\"toc-item-class\\\" filter=\u003C\u003C__itemClassFilter__>> emptyValue=\\\"toc-item-selected\\\" value=\\\"toc-item\\\">\\n \u003Cli class=\u003C\u003Ctoc-item-class>>>\\n \u003C$list filter=\\\"[all[current]toc-link[no]]\\\" emptyMessage=\\\"\u003C$link to={{{ [\u003CcurrentTiddler>get[target]else\u003CcurrentTiddler>] }}}>\u003C\u003Ctoc-caption>>\u003C/$link>\\\">\\n \u003C\u003Ctoc-caption>>\\n \u003C/$list>\\n \u003C$macrocall $name=\\\"toc-body\\\" tag=\u003C\u003Citem>> sort=\u003C\u003C__sort__>> itemClassFilter=\u003C\u003C__itemClassFilter__>> exclude=\u003C\u003Cexcluded>> path=\u003C\u003Cpath>>/>\\n \u003C/li>\\n \u003C/$set>\\n \u003C/$set>\\n \u003C/$let>\\n \u003C/$list>\\n\u003C/ol>\\n\\\\end\\n\\n\\\\define toc(tag,sort:\\\"\\\",itemClassFilter:\\\"\\\", exclude)\\n\u003C$macrocall $name=\\\"toc-body\\\" tag=\u003C\u003C__tag__>> sort=\u003C\u003C__sort__>> itemClassFilter=\u003C\u003C__itemClassFilter__>> exclude=\u003C\u003C__exclude__>>/>\\n\\\\end\\n\\n\\\\define toc-linked-expandable-body(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n\u003C!-- helper function -->\\n\u003C$qualify name=\\\"toc-state\\\" title={{{ [[$:/state/toc]addsuffix\u003C__path__>addsuffix[-]addsuffix\u003CcurrentTiddler>] }}}>\\n \u003C$set name=\\\"toc-item-class\\\" filter=\u003C\u003C__itemClassFilter__>> emptyValue=\\\"toc-item-selected\\\" value=\\\"toc-item\\\">\\n \u003Cli class=\u003C\u003Ctoc-item-class>>>\\n \u003C$link to={{{ [\u003CcurrentTiddler>get[target]else\u003CcurrentTiddler>] }}}>\\n \u003C$reveal type=\\\"nomatch\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$button setTitle=\u003C\u003Ctoc-state>> setTo=\\\"open\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n \u003C$transclude tiddler=\u003C\u003Ctoc-closed-icon>> />\\n \u003C/$button>\\n \u003C/$reveal>\\n \u003C$reveal type=\\\"match\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$button setTitle=\u003C\u003Ctoc-state>> setTo=\\\"close\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n \u003C$transclude tiddler=\u003C\u003Ctoc-open-icon>> />\\n \u003C/$button>\\n \u003C/$reveal>\\n \u003C\u003Ctoc-caption>>\\n \u003C/$link>\\n \u003C$reveal type=\\\"match\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$macrocall $name=\\\"toc-expandable\\\" tag=\u003C\u003CcurrentTiddler>> sort=\u003C\u003C__sort__>> itemClassFilter=\u003C\u003C__itemClassFilter__>> exclude=\u003C\u003C__exclude__>> path=\u003C\u003C__path__>>/>\\n \u003C/$reveal>\\n \u003C/li>\\n \u003C/$set>\\n\u003C/$qualify>\\n\\\\end\\n\\n\\\\define toc-unlinked-expandable-body(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n\u003C!-- helper function -->\\n\u003C$qualify name=\\\"toc-state\\\" title={{{ [[$:/state/toc]addsuffix\u003C__path__>addsuffix[-]addsuffix\u003CcurrentTiddler>] }}}>\\n \u003C$set name=\\\"toc-item-class\\\" filter=\u003C\u003C__itemClassFilter__>> emptyValue=\\\"toc-item-selected\\\" value=\\\"toc-item\\\">\\n \u003Cli class=\u003C\u003Ctoc-item-class>>>\\n \u003C$reveal type=\\\"nomatch\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$button setTitle=\u003C\u003Ctoc-state>> setTo=\\\"open\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n \u003C$transclude tiddler=\u003C\u003Ctoc-closed-icon>> />\\n \u003C\u003Ctoc-caption>>\\n \u003C/$button>\\n \u003C/$reveal>\\n \u003C$reveal type=\\\"match\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$button setTitle=\u003C\u003Ctoc-state>> setTo=\\\"close\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n \u003C$transclude tiddler=\u003C\u003Ctoc-open-icon>> />\\n \u003C\u003Ctoc-caption>>\\n \u003C/$button>\\n \u003C/$reveal>\\n \u003C$reveal type=\\\"match\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$macrocall $name=\\\"toc-expandable\\\" tag=\u003C\u003CcurrentTiddler>> sort=\u003C\u003C__sort__>> itemClassFilter=\u003C\u003C__itemClassFilter__>> exclude=\u003C\u003C__exclude__>> path=\u003C\u003C__path__>>/>\\n \u003C/$reveal>\\n \u003C/li>\\n \u003C/$set>\\n\u003C/$qualify>\\n\\\\end\\n\\n\\\\define toc-expandable-empty-message()\\n\u003C$macrocall $name=\\\"toc-linked-expandable-body\\\" tag=\u003C\u003Ctag>> sort=\u003C\u003Csort>> itemClassFilter=\u003C\u003CitemClassFilter>> exclude=\u003C\u003Cexcluded>> path=\u003C\u003Cpath>>/>\\n\\\\end\\n\\n\\\\define toc-expandable(tag,sort:\\\"\\\",itemClassFilter:\\\"\\\",exclude,path)\\n\\\\whitespace trim\\n\u003C$let tag=\u003C\u003C__tag__>> sort=\u003C\u003C__sort__>> itemClassFilter=\u003C\u003C__itemClassFilter__>> path={{{ [\u003C__path__>addsuffix[/]addsuffix\u003C__tag__>] }}}>\\n \u003C$set name=\\\"excluded\\\" filter=\\\"[subfilter\u003C__exclude__>] [\u003C__tag__>]\\\">\\n \u003Col class=\\\"tc-toc toc-expandable\\\">\\n \u003C$list filter=\\\"\\\"\\\"[all[shadows+tiddlers]tag\u003C__tag__>!has[draft.of]$sort$] -[\u003C__tag__>] -[subfilter\u003C__exclude__>]\\\"\\\"\\\">\\n \u003C$list filter=\\\"[all[current]toc-link[no]]\\\" emptyMessage=\u003C\u003Ctoc-expandable-empty-message>> >\\n \u003C$macrocall $name=\\\"toc-unlinked-expandable-body\\\" tag=\u003C\u003C__tag__>> sort=\u003C\u003C__sort__>> itemClassFilter=\\\"\\\"\\\"itemClassFilter\\\"\\\"\\\" exclude=\u003C\u003Cexcluded>> path=\u003C\u003Cpath>> />\\n \u003C/$list>\\n \u003C/$list>\\n \u003C/ol>\\n \u003C/$set>\\n\u003C/$let>\\n\\\\end\\n\\n\\\\define toc-linked-selective-expandable-body(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n\u003C$qualify name=\\\"toc-state\\\" title={{{ [[$:/state/toc]addsuffix\u003C__path__>addsuffix[-]addsuffix\u003CcurrentTiddler>] }}}>\\n \u003C$set name=\\\"toc-item-class\\\" filter=\u003C\u003C__itemClassFilter__>> emptyValue=\\\"toc-item-selected\\\" value=\\\"toc-item\\\" >\\n \u003Cli class=\u003C\u003Ctoc-item-class>>>\\n \u003C$link to={{{ [\u003CcurrentTiddler>get[target]else\u003CcurrentTiddler>] }}}>\\n \u003C$list filter=\\\"[all[current]tagging[]$sort$limit[1]]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"\u003C$button class='tc-btn-invisible'>{{$:/core/images/blank}}\u003C/$button>\\\">\\n \u003C$reveal type=\\\"nomatch\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$button setTitle=\u003C\u003Ctoc-state>> setTo=\\\"open\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n \u003C$transclude tiddler=\u003C\u003Ctoc-closed-icon>> />\\n \u003C/$button>\\n \u003C/$reveal>\\n \u003C$reveal type=\\\"match\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$button setTitle=\u003C\u003Ctoc-state>> setTo=\\\"close\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n \u003C$transclude tiddler=\u003C\u003Ctoc-open-icon>> />\\n \u003C/$button>\\n \u003C/$reveal>\\n \u003C/$list>\\n \u003C\u003Ctoc-caption>>\\n \u003C/$link>\\n \u003C$reveal type=\\\"match\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$macrocall $name=\\\"toc-selective-expandable\\\" tag=\u003C\u003CcurrentTiddler>> sort=\u003C\u003C__sort__>> itemClassFilter=\u003C\u003C__itemClassFilter__>> exclude=\u003C\u003C__exclude__>> path=\u003C\u003C__path__>>/>\\n \u003C/$reveal>\\n \u003C/li>\\n \u003C/$set>\\n\u003C/$qualify>\\n\\\\end\\n\\n\\\\define toc-unlinked-selective-expandable-body(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n\u003C$qualify name=\\\"toc-state\\\" title={{{ [[$:/state/toc]addsuffix\u003C__path__>addsuffix[-]addsuffix\u003CcurrentTiddler>] }}}>\\n \u003C$set name=\\\"toc-item-class\\\" filter=\u003C\u003C__itemClassFilter__>> emptyValue=\\\"toc-item-selected\\\" value=\\\"toc-item\\\">\\n \u003Cli class=\u003C\u003Ctoc-item-class>>>\\n \u003C$list filter=\\\"[all[current]tagging[]$sort$limit[1]]\\\" variable=\\\"ignore\\\" emptyMessage=\\\"\\\"\\\"\u003C$button class=\\\"tc-btn-invisible\\\">{{$:/core/images/blank}}\u003C/$button>\u003Cspan class=\\\"toc-item-muted\\\">\u003C\u003Ctoc-caption>>\u003C/span>\\\"\\\"\\\">\\n \u003C$reveal type=\\\"nomatch\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$button setTitle=\u003C\u003Ctoc-state>> setTo=\\\"open\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n \u003C$transclude tiddler=\u003C\u003Ctoc-closed-icon>> />\\n \u003C\u003Ctoc-caption>>\\n \u003C/$button>\\n \u003C/$reveal>\\n \u003C$reveal type=\\\"match\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$button setTitle=\u003C\u003Ctoc-state>> setTo=\\\"close\\\" class=\\\"tc-btn-invisible tc-popup-keep\\\">\\n \u003C$transclude tiddler=\u003C\u003Ctoc-open-icon>> />\\n \u003C\u003Ctoc-caption>>\\n \u003C/$button>\\n \u003C/$reveal>\\n \u003C/$list>\\n \u003C$reveal type=\\\"match\\\" stateTitle=\u003C\u003Ctoc-state>> text=\\\"open\\\">\\n \u003C$macrocall $name=\\\"toc-selective-expandable\\\" tag=\u003C\u003CcurrentTiddler>> sort=\u003C\u003C__sort__>> itemClassFilter=\u003C\u003C__itemClassFilter__>> exclude=\u003C\u003C__exclude__>> path=\u003C\u003C__path__>>/>\\n \u003C/$reveal>\\n \u003C/li>\\n \u003C/$set>\\n\u003C/$qualify>\\n\\\\end\\n\\n\\\\define toc-selective-expandable-empty-message()\\n\u003C$macrocall $name=\\\"toc-linked-selective-expandable-body\\\" tag=\u003C\u003Ctag>> sort=\u003C\u003Csort>> itemClassFilter=\u003C\u003CitemClassFilter>> exclude=\u003C\u003Cexcluded>> path=\u003C\u003Cpath>>/>\\n\\\\end\\n\\n\\\\define toc-selective-expandable(tag,sort:\\\"\\\",itemClassFilter,exclude,path)\\n\\\\whitespace trim\\n\u003C$let tag=\u003C\u003C__tag__>> sort=\u003C\u003C__sort__>> itemClassFilter=\u003C\u003C__itemClassFilter__>> path={{{ [\u003C__path__>addsuffix[/]addsuffix\u003C__tag__>] }}}>\\n \u003C$set name=\\\"excluded\\\" filter=\\\"[subfilter\u003C__exclude__>] [\u003C__tag__>]\\\">\\n \u003Col class=\\\"tc-toc toc-selective-expandable\\\">\\n \u003C$list filter=\\\"\\\"\\\"[all[shadows+tiddlers]tag\u003C__tag__>!has[draft.of]$sort$] -[\u003C__tag__>] -[subfilter\u003C__exclude__>]\\\"\\\"\\\">\\n \u003C$list filter=\\\"[all[current]toc-link[no]]\\\" variable=\\\"ignore\\\" emptyMessage=\u003C\u003Ctoc-selective-expandable-empty-message>> >\\n \u003C$macrocall $name=\\\"toc-unlinked-selective-expandable-body\\\" tag=\u003C\u003C__tag__>> sort=\u003C\u003C__sort__>> itemClassFilter=\u003C\u003C__itemClassFilter__>> exclude=\u003C\u003Cexcluded>> path=\u003C\u003Cpath>>/>\\n \u003C/$list>\\n \u003C/$list>\\n \u003C/ol>\\n \u003C/$set>\\n\u003C/$let>\\n\\\\end\\n\\n\\\\define toc-tabbed-external-nav(tag,sort:\\\"\\\",selectedTiddler:\\\"$:/temp/toc/selectedTiddler\\\",unselectedText,missingText,template:\\\"\\\",exclude)\\n\\\\whitespace trim\\n\u003C$tiddler tiddler={{{ [\u003C__selectedTiddler__>get[text]] }}}>\\n \u003Cdiv class=\\\"tc-tabbed-table-of-contents\\\">\\n \u003C$linkcatcher to=\u003C\u003C__selectedTiddler__>>>\\n \u003Cdiv class=\\\"tc-table-of-contents\\\">\\n \u003C$macrocall $name=\\\"toc-selective-expandable\\\" tag=\u003C\u003C__tag__>> sort=\u003C\u003C__sort__>> itemClassFilter=\\\"[all[current]] -[\u003C__selectedTiddler__>get[text]]\\\" exclude=\u003C\u003C__exclude__>>/>\\n \u003C/div>\\n \u003C/$linkcatcher>\\n \u003Cdiv class=\\\"tc-tabbed-table-of-contents-content\\\">\\n \u003C$reveal stateTitle=\u003C\u003C__selectedTiddler__>> type=\\\"nomatch\\\" text=\\\"\\\">\\n \u003C$transclude mode=\\\"block\\\" tiddler=\u003C\u003C__template__>>>\\n \u003Ch1>\u003C\u003Ctoc-caption>>\u003C/h1>\\n \u003C$transclude mode=\\\"block\\\">$missingText$\u003C/$transclude>\\n \u003C/$transclude>\\n \u003C/$reveal>\\n \u003C$reveal stateTitle=\u003C\u003C__selectedTiddler__>> type=\\\"match\\\" text=\\\"\\\">\\n $unselectedText$\\n \u003C/$reveal>\\n \u003C/div>\\n \u003C/div>\\n\u003C/$tiddler>\\n\\\\end\\n\\n\\\\define toc-tabbed-internal-nav(tag,sort:\\\"\\\",selectedTiddler:\\\"$:/temp/toc/selectedTiddler\\\",unselectedText,missingText,template:\\\"\\\",exclude)\\n\\\\whitespace trim\\n\u003C$linkcatcher to=\u003C\u003C__selectedTiddler__>>>\\n \u003C$macrocall $name=\\\"toc-tabbed-external-nav\\\" tag=\u003C\u003C__tag__>> sort=\u003C\u003C__sort__>> selectedTiddler=\u003C\u003C__selectedTiddler__>> unselectedText=\u003C\u003C__unselectedText__>> missingText=\u003C\u003C__missingText__>> template=\u003C\u003C__template__>> exclude=\u003C\u003C__exclude__>> />\\n\u003C/$linkcatcher>\\n\\\\end\\n\"},\"$:/core/macros/translink\":{\"title\":\"$:/core/macros/translink\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define translink(title,mode:\\\"block\\\")\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[\u003C__mode__>match[block]]\\\">\\n\u003Cdiv class=\\\"tc-translink\\\">\\n\u003Cdiv>\\n\u003C$link to=\\\"\\\"\\\"$title$\\\"\\\"\\\">\\n\u003Ch1>\u003C$text text=\\\"\\\"\\\"$title$\\\"\\\"\\\"/>\u003C/h1>\\n\u003C/$link>\\n\u003C$transclude tiddler=\\\"\\\"\\\"$title$\\\"\\\"\\\" mode=\\\"block\\\">\\n\u003C$set name=\\\"currentTiddler\\\" value=\\\"\\\"\\\"$title$\\\"\\\"\\\">\u003C$transclude tiddler=\\\"$:/language/MissingTiddler/Hint\\\"/>\u003C/$set>\\n\u003C/$transclude>\\n\u003C/div>\\n\u003C/div>\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003C__mode__>match[inline]]\\\">\\n\u003Cspan class=\\\"tc-translink\\\">\\n\u003C$link to=\\\"\\\"\\\"$title$\\\"\\\"\\\">\\n\u003C$text text=\\\"\\\"\\\"$title$\\\"\\\"\\\"/>\\n\u003C/$link>\\n (\u003C$transclude tiddler=\\\"\\\"\\\"$title$\\\"\\\"\\\" mode=\\\"inline\\\">\\n\u003C$set name=\\\"currentTiddler\\\" value=\\\"\\\"\\\"$title$\\\"\\\"\\\">\u003C$transclude tiddler=\\\"$:/language/MissingTiddler/Hint\\\"/>\u003C/$set>\\n\u003C/$transclude>)\\n\u003C/span>\\n\u003C/$list>\\n\\\\end\\n\"},\"$:/core/macros/tree\":{\"title\":\"$:/core/macros/tree\",\"tags\":\"$:/tags/Macro\",\"text\":\"\\\\define leaf-link(full-title,chunk,separator: \\\"/\\\")\\n\u003C$link to=\u003C\u003C__full-title__>>>\u003C$text text=\u003C\u003C__chunk__>>/>\u003C/$link>\\n\\\\end\\n\\n\\\\define leaf-node(prefix,chunk)\\n\\\\whitespace trim\\n\u003Cli>\\n\u003C$list filter=\\\"[\u003C__prefix__>addsuffix\u003C__chunk__>is[shadow]] [\u003C__prefix__>addsuffix\u003C__chunk__>is[tiddler]]\\\" variable=\\\"full-title\\\">\\n\u003C$list filter=\\\"[\u003Cfull-title>removeprefix\u003C__prefix__>]\\\" variable=\\\"chunk\\\">\\n\u003Cspan>{{$:/core/images/file}}\u003C/span> \u003C$macrocall $name=\\\"leaf-link\\\" full-title=\u003C\u003Cfull-title>> chunk=\u003C\u003Cchunk>>/>\\n\u003C/$list>\\n\u003C/$list>\\n\u003C/li>\\n\\\\end\\n\\n\\\\define branch-node(prefix,chunk,separator: \\\"/\\\")\\n\\\\whitespace trim\\n\u003Cli>\\n\u003C$set name=\\\"reveal-state\\\" value={{{ [[$:/state/tree/]addsuffix\u003C__prefix__>addsuffix\u003C__chunk__>] }}}>\\n\u003C$reveal type=\\\"nomatch\\\" stateTitle=\u003C\u003Creveal-state>> text=\\\"show\\\">\\n\u003C$button setTitle=\u003C\u003Creveal-state>> setTo=\\\"show\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/folder}} \u003C$text text=\u003C\u003C__chunk__>>/>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" stateTitle=\u003C\u003Creveal-state>> text=\\\"show\\\">\\n\u003C$button setTitle=\u003C\u003Creveal-state>> setTo=\\\"hide\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/folder}} \u003C$text text=\u003C\u003C__chunk__>>/>\\n\u003C/$button>\\n\u003C/$reveal>\\n \\n\u003Cspan>(\u003C$count filter=\\\"[all[shadows+tiddlers]removeprefix\u003C__prefix__>removeprefix\u003C__chunk__>] -[\u003C__prefix__>addsuffix\u003C__chunk__>]\\\"/>)\u003C/span>\\n\u003C$reveal type=\\\"match\\\" stateTitle=\u003C\u003Creveal-state>> text=\\\"show\\\">\\n\u003C$macrocall $name=\\\"tree-node\\\" prefix={{{ [\u003C__prefix__>addsuffix\u003C__chunk__>] }}} separator=\u003C\u003C__separator__>>/>\\n\u003C/$reveal>\\n\u003C/$set>\\n\u003C/li>\\n\\\\end\\n\\n\\\\define tree-node(prefix,separator: \\\"/\\\")\\n\\\\whitespace trim\\n\u003Col>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]removeprefix\u003C__prefix__>splitbefore\u003C__separator__>sort[]!suffix\u003C__separator__>]\\\" variable=\\\"chunk\\\">\\n\u003C$macrocall $name=\\\"leaf-node\\\" prefix=\u003C\u003C__prefix__>> chunk=\u003C\u003Cchunk>> separator=\u003C\u003C__separator__>>/>\\n\u003C/$list>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]removeprefix\u003C__prefix__>splitbefore\u003C__separator__>sort[]suffix\u003C__separator__>]\\\" variable=\\\"chunk\\\">\\n\u003C$macrocall $name=\\\"branch-node\\\" prefix=\u003C\u003C__prefix__>> chunk=\u003C\u003Cchunk>> separator=\u003C\u003C__separator__>>/>\\n\u003C/$list>\\n\u003C/ol>\\n\\\\end\\n\\n\\\\define tree(prefix: \\\"$:/\\\",separator: \\\"/\\\")\\n\\\\whitespace trim\\n\u003Cdiv class=\\\"tc-tree\\\">\\n\u003Cspan>\u003C$text text=\u003C\u003C__prefix__>>/>\u003C/span>\\n\u003Cdiv>\\n\u003C$macrocall $name=\\\"tree-node\\\" prefix=\u003C\u003C__prefix__>> separator=\u003C\u003C__separator__>>/>\\n\u003C/div>\\n\u003C/div>\\n\\\\end\\n\"},\"$:/core/macros/utils\":{\"title\":\"$:/core/macros/utils\",\"text\":\"\\\\define colour(colour)\\n$colour$\\n\\\\end\\n\"},\"$:/snippets/minifocusswitcher\":{\"title\":\"$:/snippets/minifocusswitcher\",\"text\":\"\\\\whitespace trim\\n\u003C$select tiddler=\\\"$:/config/AutoFocus\\\">\\n\u003C$list filter=\\\"title tags text type fields\\\">\\n\u003Coption value=\u003C\u003CcurrentTiddler>>>\u003C\u003CcurrentTiddler>>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n\"},\"$:/snippets/minilanguageswitcher\":{\"title\":\"$:/snippets/minilanguageswitcher\",\"text\":\"\\\\whitespace trim\\n\u003C$select tiddler=\\\"$:/language\\\">\\n\u003C$list filter=\\\"[[$:/languages/en-GB]] [plugin-type[language]sort[title]]\\\">\\n\u003Coption value=\u003C\u003CcurrentTiddler>>>\u003C$view field=\\\"description\\\">\u003C$view field=\\\"name\\\">\u003C$view field=\\\"title\\\"/>\u003C/$view>\u003C/$view>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\"},\"$:/snippets/minithemeswitcher\":{\"title\":\"$:/snippets/minithemeswitcher\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Theme/\\n\\\\whitespace trim\\n\u003C\u003Clingo Prompt>> \u003C$select tiddler=\\\"$:/theme\\\">\\n\u003C$list filter=\\\"[plugin-type[theme]sort[title]]\\\">\\n\u003Coption value=\u003C\u003CcurrentTiddler>>>\u003C$view field=\\\"name\\\">\u003C$view field=\\\"title\\\"/>\u003C/$view>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\"},\"$:/snippets/modules\":{\"title\":\"$:/snippets/modules\",\"text\":\"\\\\define describeModuleType(type)\\n{{$:/language/Docs/ModuleTypes/$type$}}\\n\\\\end\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[moduletypes[]]\\\">\\n\\n!! \u003C$macrocall $name=\\\"currentTiddler\\\" $type=\\\"text/plain\\\" $output=\\\"text/plain\\\"/>\\n\\n\u003C$macrocall $name=\\\"describeModuleType\\\" type=\u003C\u003CcurrentTiddler>>/>\\n\\n\u003Cul>\u003C$list filter=\\\"[all[current]modules[]]\\\">\u003Cli>\u003C$link>\u003C\u003CcurrentTiddler>>\u003C/$link>\\n\u003C/li>\\n\u003C/$list>\\n\u003C/ul>\\n\u003C/$list>\\n\"},\"$:/palette\":{\"title\":\"$:/palette\",\"text\":\"$:/palettes/Vanilla\"},\"$:/snippets/paletteeditor\":{\"title\":\"$:/snippets/paletteeditor\",\"text\":\"\u003C$transclude tiddler=\\\"$:/PaletteManager\\\"/>\\n\"},\"$:/snippets/palettepreview\":{\"title\":\"$:/snippets/palettepreview\",\"text\":\"\\\\whitespace trim\\n\u003C$set name=\\\"currentTiddler\\\" value={{$:/palette}}>\\n{{||$:/snippets/currpalettepreview}}\\n\u003C/$set>\\n\"},\"$:/snippets/paletteswitcher\":{\"title\":\"$:/snippets/paletteswitcher\",\"text\":\"\\\\whitespace trim\\n\u003C$linkcatcher to=\\\"$:/palette\\\">\\n\u003Cdiv class=\\\"tc-chooser\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Palette]sort[name]]\\\">\\n\u003C$set name=\\\"cls\\\" filter=\\\"[all[current]prefix{$:/palette}]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\">\\n\u003Cdiv class=\u003C\u003Ccls>>>\\n\u003C$link to={{!!title}}>\\n''\u003C$view field=\\\"name\\\" format=\\\"text\\\"/>''\\n - \\n\u003C$view field=\\\"description\\\" format=\\\"text\\\"/>\\n{{||$:/snippets/currpalettepreview}}\\n\u003C/$link>\\n\u003C/div>\\n\u003C/$set>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$linkcatcher>\\n\"},\"$:/snippets/peek-stylesheets\":{\"title\":\"$:/snippets/peek-stylesheets\",\"text\":\"\\\\define expandable-stylesheets-list()\\n\\\\whitespace trim\\n\u003Col>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]\\\">\\n\u003C$vars state=\u003C\u003Cqualify \\\"$:/state/peek-stylesheets/open/\\\">>>\\n\u003C$set name=\\\"state\\\" value={{{ [\u003Cstate>addsuffix\u003CcurrentTiddler>] }}}>\\n\u003Cli>\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003Cstate>> text=\\\"yes\\\" tag=\\\"span\\\">\\n\u003C$button set=\u003C\u003Cstate>> setTo=\\\"no\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/down-arrow}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003Cstate>> text=\\\"yes\\\" tag=\\\"span\\\">\\n\u003C$button set=\u003C\u003Cstate>> setTo=\\\"yes\\\" class=\\\"tc-btn-invisible\\\">\\n{{$:/core/images/right-arrow}}\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$link>\\n\u003C$view field=\\\"title\\\"/>\\n\u003C/$link>\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003Cstate>> text=\\\"yes\\\" tag=\\\"div\\\">\\n\u003C$set name=\\\"source\\\" tiddler=\u003C\u003CcurrentTiddler>>>\\n\u003C$wikify name=\\\"styles\\\" text=\u003C\u003Csource>>>\\n\u003C$codeblock code=\u003C\u003Cstyles>> language=\\\"css\\\"/>\\n\u003C/$wikify>\\n\u003C/$set>\\n\u003C/$reveal>\\n\u003C/li>\\n\u003C/$set>\\n\u003C/$vars>\\n\u003C/$list>\\n\u003C/ol>\\n\\\\end\\n\\n\\\\define stylesheets-list()\\n\\\\whitespace trim\\n\u003Col>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]\\\">\\n\u003Cli>\\n\u003C$link>\\n\u003C$view field=\\\"title\\\"/>\\n\u003C/$link>\\n\u003C$set name=\\\"source\\\" tiddler=\u003C\u003CcurrentTiddler>>>\\n\u003C$wikify name=\\\"styles\\\" text=\u003C\u003Csource>>>\\n\u003Cpre>\\n\u003Ccode>\\n\u003C$text text=\u003C\u003Cstyles>>/>\\n\u003C/code>\\n\u003C/pre>\\n\u003C/$wikify>\\n\u003C/$set>\\n\u003C/li>\\n\u003C/$list>\\n\u003C/ol>\\n\\\\end\\n\\\\whitespace trim\\n\\n\u003C$vars modeState=\u003C\u003Cqualify \\\"$:/state/peek-stylesheets/mode/\\\">>>\\n\\n\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003CmodeState>> text=\\\"expanded\\\" tag=\\\"div\\\">\\n\u003C$button set=\u003C\u003CmodeState>> setTo=\\\"expanded\\\" class=\\\"tc-btn-invisible\\\">{{$:/core/images/chevron-right}} {{$:/language/ControlPanel/Stylesheets/Expand/Caption}}\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003CmodeState>> text=\\\"expanded\\\" tag=\\\"div\\\">\\n\u003C$button set=\u003C\u003CmodeState>> setTo=\\\"restored\\\" class=\\\"tc-btn-invisible\\\">{{$:/core/images/chevron-down}} {{$:/language/ControlPanel/Stylesheets/Restore/Caption}}\u003C/$button>\\n\u003C/$reveal>\\n\\n\u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003CmodeState>> text=\\\"expanded\\\" tag=\\\"div\\\">\\n\u003C\u003Cexpandable-stylesheets-list>>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" state=\u003C\u003CmodeState>> text=\\\"expanded\\\" tag=\\\"div\\\">\\n\u003C\u003Cstylesheets-list>>\\n\u003C/$reveal>\\n\\n\u003C/$vars>\\n\"},\"$:/temp/search\":{\"title\":\"$:/temp/search\",\"text\":\"\"},\"$:/tags/AdvancedSearch\":{\"title\":\"$:/tags/AdvancedSearch\",\"list\":\"[[$:/core/ui/AdvancedSearch/Standard]] [[$:/core/ui/AdvancedSearch/System]] [[$:/core/ui/AdvancedSearch/Shadows]] [[$:/core/ui/AdvancedSearch/Filter]]\"},\"$:/tags/AdvancedSearch/FilterButton\":{\"title\":\"$:/tags/AdvancedSearch/FilterButton\",\"list\":\"$:/core/ui/AdvancedSearch/Filter/FilterButtons/dropdown $:/core/ui/AdvancedSearch/Filter/FilterButtons/clear $:/core/ui/AdvancedSearch/Filter/FilterButtons/export $:/core/ui/AdvancedSearch/Filter/FilterButtons/delete\"},\"$:/tags/ControlPanel\":{\"title\":\"$:/tags/ControlPanel\",\"list\":\"$:/core/ui/ControlPanel/Info $:/core/ui/ControlPanel/Appearance $:/core/ui/ControlPanel/Settings $:/core/ui/ControlPanel/Saving $:/core/ui/ControlPanel/Plugins $:/core/ui/ControlPanel/Tools $:/core/ui/ControlPanel/Internals\"},\"$:/tags/ControlPanel/Info\":{\"title\":\"$:/tags/ControlPanel/Info\",\"list\":\"$:/core/ui/ControlPanel/Basics $:/core/ui/ControlPanel/Advanced\"},\"$:/tags/ControlPanel/Plugins\":{\"title\":\"$:/tags/ControlPanel/Plugins\",\"list\":\"$:/core/ui/ControlPanel/Plugins/Installed/Plugins $:/core/ui/ControlPanel/Plugins/Installed/Themes $:/core/ui/ControlPanel/Plugins/Installed/Languages\"},\"$:/tags/EditTemplate\":{\"title\":\"$:/tags/EditTemplate\",\"list\":\"[[$:/core/ui/EditTemplate/controls]] [[$:/core/ui/EditTemplate/title]] [[$:/core/ui/EditTemplate/tags]] [[$:/core/ui/EditTemplate/shadow]] [[$:/core/ui/ViewTemplate/classic]] [[$:/core/ui/EditTemplate/body]] [[$:/core/ui/EditTemplate/type]] [[$:/core/ui/EditTemplate/fields]]\"},\"$:/tags/EditTemplateBodyFilter\":{\"title\":\"$:/tags/EditTemplateBodyFilter\",\"list\":\"$:/config/EditTemplateBodyFilters/canonical-uri $:/config/EditTemplateBodyFilters/default\"},\"$:/tags/EditToolbar\":{\"title\":\"$:/tags/EditToolbar\",\"list\":\"[[$:/core/ui/Buttons/delete]] [[$:/core/ui/Buttons/cancel]] [[$:/core/ui/Buttons/save]]\"},\"$:/tags/EditorToolbar\":{\"title\":\"$:/tags/EditorToolbar\",\"list\":\"$:/core/ui/EditorToolbar/paint $:/core/ui/EditorToolbar/opacity $:/core/ui/EditorToolbar/line-width $:/core/ui/EditorToolbar/rotate-left $:/core/ui/EditorToolbar/clear $:/core/ui/EditorToolbar/bold $:/core/ui/EditorToolbar/italic $:/core/ui/EditorToolbar/strikethrough $:/core/ui/EditorToolbar/underline $:/core/ui/EditorToolbar/superscript $:/core/ui/EditorToolbar/subscript $:/core/ui/EditorToolbar/mono-line $:/core/ui/EditorToolbar/mono-block $:/core/ui/EditorToolbar/quote $:/core/ui/EditorToolbar/list-bullet $:/core/ui/EditorToolbar/list-number $:/core/ui/EditorToolbar/heading-1 $:/core/ui/EditorToolbar/heading-2 $:/core/ui/EditorToolbar/heading-3 $:/core/ui/EditorToolbar/heading-4 $:/core/ui/EditorToolbar/heading-5 $:/core/ui/EditorToolbar/heading-6 $:/core/ui/EditorToolbar/link $:/core/ui/EditorToolbar/excise $:/core/ui/EditorToolbar/picture $:/core/ui/EditorToolbar/stamp $:/core/ui/EditorToolbar/size $:/core/ui/EditorToolbar/editor-height $:/core/ui/EditorToolbar/more $:/core/ui/EditorToolbar/preview $:/core/ui/EditorToolbar/preview-type\"},\"$:/tags/Manager/ItemMain\":{\"title\":\"$:/tags/Manager/ItemMain\",\"list\":\"$:/Manager/ItemMain/WikifiedText $:/Manager/ItemMain/RawText $:/Manager/ItemMain/Fields\"},\"$:/tags/Manager/ItemSidebar\":{\"title\":\"$:/tags/Manager/ItemSidebar\",\"list\":\"$:/Manager/ItemSidebar/Tags $:/Manager/ItemSidebar/Colour $:/Manager/ItemSidebar/Icon $:/Manager/ItemSidebar/Tools\"},\"$:/tags/MoreSideBar\":{\"title\":\"$:/tags/MoreSideBar\",\"list\":\"[[$:/core/ui/MoreSideBar/All]] [[$:/core/ui/MoreSideBar/Recent]] [[$:/core/ui/MoreSideBar/Tags]] [[$:/core/ui/MoreSideBar/Missing]] [[$:/core/ui/MoreSideBar/Drafts]] [[$:/core/ui/MoreSideBar/Orphans]] [[$:/core/ui/MoreSideBar/Types]] [[$:/core/ui/MoreSideBar/System]] [[$:/core/ui/MoreSideBar/Shadows]] [[$:/core/ui/MoreSideBar/Explorer]] [[$:/core/ui/MoreSideBar/Plugins]]\",\"text\":\"\"},\"$:/tags/PageControls\":{\"title\":\"$:/tags/PageControls\",\"list\":\"[[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/fold-all]] [[$:/core/ui/Buttons/unfold-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/new-journal]] [[$:/core/ui/Buttons/new-image]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/export-page]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/advanced-search]] [[$:/core/ui/Buttons/manager]] [[$:/core/ui/Buttons/tag-manager]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/palette]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/layout]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/timestamp]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/print]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/refresh]] [[$:/core/ui/Buttons/network-activity]] [[$:/core/ui/Buttons/more-page-actions]]\"},\"$:/tags/PageTemplate\":{\"title\":\"$:/tags/PageTemplate\",\"list\":\"[[$:/core/ui/PageTemplate/topleftbar]] [[$:/core/ui/PageTemplate/toprightbar]] [[$:/core/ui/PageTemplate/sidebar]] [[$:/core/ui/PageTemplate/story]] [[$:/core/ui/PageTemplate/alerts]]\",\"text\":\"\"},\"$:/tags/PluginLibrary\":{\"title\":\"$:/tags/PluginLibrary\",\"list\":\"$:/config/OfficialPluginLibrary\"},\"$:/tags/SideBar\":{\"title\":\"$:/tags/SideBar\",\"list\":\"[[$:/core/ui/SideBar/Open]] [[$:/core/ui/SideBar/Recent]] [[$:/core/ui/SideBar/Tools]] [[$:/core/ui/SideBar/More]]\",\"text\":\"\"},\"$:/tags/SideBarSegment\":{\"title\":\"$:/tags/SideBarSegment\",\"list\":\"[[$:/core/ui/SideBarSegments/site-title]] [[$:/core/ui/SideBarSegments/site-subtitle]] [[$:/core/ui/SideBarSegments/page-controls]] [[$:/core/ui/SideBarSegments/search]] [[$:/core/ui/SideBarSegments/tabs]]\"},\"$:/tags/StoryTiddlerTemplateFilter\":{\"title\":\"$:/tags/StoryTiddlerTemplateFilter\",\"list\":\"$:/config/StoryTiddlerTemplateFilters/draft $:/config/StoryTiddlerTemplateFilters/default\"},\"$:/tags/TiddlerColourFilter\":{\"title\":\"$:/tags/TiddlerColourFilter\",\"list\":\"$:/config/TiddlerColourFilters/color-field $:/config/TiddlerColourFilters/default\",\"text\":\"\"},\"$:/tags/TiddlerIconFilter\":{\"title\":\"$:/tags/TiddlerIconFilter\",\"list\":\"$:/config/TiddlerIconFilters/icon-field $:/config/TiddlerIconFilters/default\",\"text\":\"\"},\"$:/tags/TiddlerInfo\":{\"title\":\"$:/tags/TiddlerInfo\",\"list\":\"[[$:/core/ui/TiddlerInfo/Tools]] [[$:/core/ui/TiddlerInfo/References]] [[$:/core/ui/TiddlerInfo/Tagging]] [[$:/core/ui/TiddlerInfo/List]] [[$:/core/ui/TiddlerInfo/Listed]] [[$:/core/ui/TiddlerInfo/Fields]]\",\"text\":\"\"},\"$:/tags/TiddlerInfo/Advanced\":{\"title\":\"$:/tags/TiddlerInfo/Advanced\",\"list\":\"[[$:/core/ui/TiddlerInfo/Advanced/ShadowInfo]] [[$:/core/ui/TiddlerInfo/Advanced/PluginInfo]]\"},\"$:/tags/ViewTemplate\":{\"title\":\"$:/tags/ViewTemplate\",\"list\":\"[[$:/core/ui/ViewTemplate/title]] [[$:/core/ui/ViewTemplate/unfold]] [[$:/core/ui/ViewTemplate/subtitle]] [[$:/core/ui/ViewTemplate/tags]] [[$:/core/ui/ViewTemplate/classic]] [[$:/core/ui/ViewTemplate/body]]\"},\"$:/tags/ViewTemplateBodyFilter\":{\"title\":\"$:/tags/ViewTemplateBodyFilter\",\"list\":\"$:/config/ViewTemplateBodyFilters/hide-body $:/config/ViewTemplateBodyFilters/code-body $:/config/ViewTemplateBodyFilters/stylesheet $:/config/ViewTemplateBodyFilters/core-ui-advanced-search $:/config/ViewTemplateBodyFilters/core-ui-tags $:/config/ViewTemplateBodyFilters/system $:/config/ViewTemplateBodyFilters/import $:/config/ViewTemplateBodyFilters/plugin $:/config/ViewTemplateBodyFilters/default\"},\"$:/tags/ViewTemplate/Subtitle\":{\"title\":\"$:/tags/ViewTemplate/Subtitle\",\"list\":\"$:/core/ui/ViewTemplate/subtitle/modifier $:/core/ui/ViewTemplate/subtitle/modified\"},\"$:/tags/ViewTemplateTitleFilter\":{\"title\":\"$:/tags/ViewTemplateTitleFilter\",\"list\":\"$:/config/ViewTemplateTitleFilters/system $:/config/ViewTemplateTitleFilters/default\",\"text\":\"\"},\"$:/tags/ViewToolbar\":{\"title\":\"$:/tags/ViewToolbar\",\"list\":\"[[$:/core/ui/Buttons/more-tiddler-actions]] [[$:/core/ui/Buttons/info]] [[$:/core/ui/Buttons/new-here]] [[$:/core/ui/Buttons/new-journal-here]] [[$:/core/ui/Buttons/clone]] [[$:/core/ui/Buttons/export-tiddler]] [[$:/core/ui/Buttons/edit]] [[$:/core/ui/Buttons/delete]] [[$:/core/ui/Buttons/permalink]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/open-window]] [[$:/core/ui/Buttons/close-others]] [[$:/core/ui/Buttons/close]] [[$:/core/ui/Buttons/fold-others]] [[$:/core/ui/Buttons/fold]]\"},\"$:/snippets/themeswitcher\":{\"title\":\"$:/snippets/themeswitcher\",\"text\":\"\\\\whitespace trim\\n\u003C$linkcatcher to=\\\"$:/theme\\\">\\n\u003Cdiv class=\\\"tc-chooser\\\">\\n\u003C$list filter=\\\"[plugin-type[theme]sort[title]]\\\">\\n\u003C$set name=\\\"cls\\\" filter=\\\"[all[current]field:title{$:/theme}] [[$:/theme]!has[text]addsuffix[s/tiddlywiki/vanilla]field:title\u003CcurrentTiddler>] +[limit[1]]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\">\\n\u003Cdiv class=\u003C\u003Ccls>>>\u003C$link to={{!!title}}>\\n''\u003C$view field=\\\"name\\\" format=\\\"text\\\"/>''\\n \\n\u003C$view field=\\\"description\\\" format=\\\"text\\\"/>\\n\u003C/$link>\\n\u003C/div>\\n\u003C/$set>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$linkcatcher>\"},\"$:/core/wiki/title\":{\"title\":\"$:/core/wiki/title\",\"text\":\"\\\\whitespace trim\\n{{$:/SiteTitle}}\\n\u003C$list filter=\\\"[{$:/SiteSubtitle}trim[]minlength[1]]\\\" variable=\\\"ignore\\\">\\n --- {{$:/SiteSubtitle}}\\n\u003C/$list>\"},\"$:/view\":{\"title\":\"$:/view\",\"text\":\"classic\"},\"$:/snippets/viewswitcher\":{\"title\":\"$:/snippets/viewswitcher\",\"text\":\"\\\\define icon()\\n$:/core/images/storyview-$(storyview)$\\n\\\\end\\n\\\\whitespace trim\\n\u003C$linkcatcher to=\\\"$:/view\\\">\\n\u003Cdiv class=\\\"tc-chooser tc-viewswitcher\\\">\\n\u003C$list filter=\\\"[storyviews[]]\\\" variable=\\\"storyview\\\">\\n\u003C$set name=\\\"cls\\\" filter=\\\"[\u003Cstoryview>prefix{$:/view}]\\\" value=\\\"tc-chooser-item tc-chosen\\\" emptyValue=\\\"tc-chooser-item\\\">\u003Cdiv class=\u003C\u003Ccls>>>\\n\u003C$button tag=\\\"a\\\" class=\\\"tc-tiddlylink tc-btn-invisible\\\" to=\u003C\u003Cstoryview>>>\u003C$transclude tiddler=\u003C\u003Cicon>>/>\u003C$text text=\u003C\u003Cstoryview>>/>\u003C/$button>\\n\u003C/div>\\n\u003C/$set>\\n\u003C/$list>\\n\u003C/div>\\n\u003C/$linkcatcher>\\n\"}}}"}, {"created":"20231123173043371","title":"$:/DefaultTiddlers","text":"[list[$:/StoryList]]","modified":"20231202141735973"}, {"created":"20231026192948989","text":"AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAABIAAAAUAAAAOAAAAFsAAABbAAAAWwAAAFsAAABbAAAAWwAAAFsAAABbAAAAXAAAAE4AAAAdAAAAEwAAAA0AAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAWAAAAQQAAAHAAAACsAAAAswAAANMAAADyAAAA8gAAAPIAAADyAAAA8gAAAPIAAADyAAAA8gAAAPIAAADnAAAAvAAAALMAAACQAAAAUgAAACgAAAAMAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQAAADAAAAB6AAAArgAAAN4AAADzAAAA/gAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA+QAAAOsAAADDAAAAlgAAAE8AAAAWAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAKAAAANAAAAH4AAADLAAAA9AAAAP4AAAD/AAAA/wAAAP8HBwf/MDAw/1RUVP+wsLD/x8fH/8fHx//Hx8f/x8fH/8fHx//CwsL/f39//zAwMP8hISH/AAAA/wAAAP8AAAD/AAAA/wAAAPsAAADiAAAAowAAAFMAAAAYAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAApAAAAgwAAAM0AAAD1AAAA/wAAAP8AAAD/NTU1/6Ghof/BwcH/6enp//39/f/+/v7////////////////////////////////////////////9/f3/9/f3/8/Pz/+3t7f/bGxs/wAAAP8AAAD/AAAA/wAAAPwAAADkAAAAqAAAAFAAAAAKAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAABYAAAAsQAAAPYAAAD/AAAA/wQEBP98fHz/vLy8//Dw8P////////////////////////////////////////////////////////////////////////////////////////////39/f/U1NT/oKCg/z09Pf8AAAD/AAAA/wAAAP0AAADYAAAAfwAAACoAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAADEAAACFAAAA4AAAAP0AAAD/AQEB/4iIiP/c3Nz////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////z8/P/tra2/zw8PP8AAAD/AAAA/gAAAPYAAACwAAAAVQAAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAADsAAAC5AAAA9wAAAP8AAAD/SUlJ/8TExP/+/v7////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////p6en/hISE/wICAv8AAAD/AAAA/AAAAOEAAAByAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAD4AAAC8AAAA+wAAAP8ODg7/lZWV//Hx8f////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////7+/v/Gxsb/SEhI/wAAAP8AAAD/AAAA5QAAAHYAAAARAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAEEAAAC/AAAA/AAAAP8eHh7/zs7O//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Ly8v9ycnL/AAAA/wAAAP8AAADnAAAAeQAAABIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAEQAAADCAAAA/AAAAP8nJyf/0dHR////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9fX1/3p6ev8AAAD/AAAA/wAAAOkAAAB9AAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADUAAADCAAAA/AAAAP8MDAz/wcHB//7+/v/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////39/f/fn5+/wAAAP8AAAD/AAAA6gAAAHUAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABcAAACOAAAA9gAAAP8uLi7/zs7O/7CwsP9CQkL/UlJS/11dXf9paWn/c3Nz/4mJif+Tk5P/iYmJ/3R0dP/Pz8//////////////////yMjI/7Gxsf+wsLD/tbW1/7W1tf+1tbX/tbW1/7a2tv+9vb3/wMDA/8DAwP/AwMD/wMDA/8XFxf/Ly8v/0NDQ/9bW1v/f39//5eXl/+vr6//z8/P/9fX1//n5+f/7+/v//f39//f39/9/f3//AAAA/wAAAP8AAADMAAAAQAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAABjAAAA6gAAAP8FBQX/1NTU///////a2tr/AgIC/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/TExM//r6+v//////+/v7/z8/P/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8SEhL/IiIi/y8vL//ExMT/+fn5/3V1df8AAAD/AAAA+wAAAKsAAAAdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAA9AAAAxAAAAP0AAAD/mJiY/////////////v7+/21tbf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP/Nzc3///////////+urq7/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8PDw//5ubm///////h4eH/IiIi/wAAAP8AAADrAAAAegAAAA0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARAAAAlQAAAPoAAAD/VFRU//f39//////////////////MzMz/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/fX19////////////8PDw/ykpKf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/jIyM/////////////////7m5uf8AAAD/AAAA/wAAANUAAAA+AAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAARwAAANsAAAD/EBAQ/9PT0///////////////////////+/v7/1NTU/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wkJCf/l5eX///////////+ioqL/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AwMD/93d3f/////////////////6+vr/dHR0/wAAAP8AAAD5AAAAjwAAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEwAAAJkAAAD6AAAA/5qamv////////////////////////////////+9vb3/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/pqam////////////6Ojo/xAQEP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/3Z2dv/+/v7//////////////////////+Pj4/8ODg7/AAAA/wAAANcAAABCAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAEsAAADeAAAA/yAgIP/q6ur/////////////////////////////////9fX1/zo6Ov8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/zc3N//29vb///////////+QkJD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP/Q0ND/////////////////////////////////kpKS/wAAAP8AAAD5AAAAkwAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAACUAAAA+wAAAP+Kior///////////////////////////////////////////+qqqr/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/wMDA////////////3t7e/wUFBf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9hYWH//Pz8/////////////////////////////////9zc3P8AAAD/AAAA/wAAANcAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAAAAwwAAAP8AAAD/xcXF////////////////////////////////////////////7u7u/yUlJf8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/2FhYf/8/Pz///////7+/v95eXn/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/x8fH///////////////////////////////////////6+vr/SUlJ/wAAAP8AAADvAAAAagAAAAYAAAAAAAAAAAAAAAAAAAABAAAAVwAAAOwAAAD/WVlZ//r6+v////////////////////////////////////////////////+ampr/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/1NTU////////////0dHR/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/U1NT//n5+f///////////////////////////////////////////8DAwP8AAAD/AAAA/gAAAKYAAAASAAAAAAAAAAAAAAAAAAAAEAAAAJgAAAD6AAAA/6ysrP//////////////////////////////////////////////////////4+Pj/wYGBv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/4SEhP////////////z8/P+ZmZn/UFBQ/yoqKv8fHx//FRUV/wgICP8BAQH/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/7m5uf/////////////////////////////////////////////////r6+v/AAAA/wAAAP8AAADYAAAAPQAAAAAAAAAAAAAAAAAAABYAAAC1AAAA/wAAAP/Jycn///////////////////////////////////////////////////////////+Ghob/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8ICAj/5ubm///////////////////////8/Pz/+/v7//j4+P/z8/P/19fX/xQUFP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/zg4OP/09PT/////////////////////////////////////////////////+fn5/0VFRf8AAAD/AAAA7AAAAFAAAAAAAAAAAAAAAAAAAAAnAAAAwwAAAP8gICD/9/f3////////////////////////////////////////////////////////////2dnZ/wICAv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/6Ojo/////////////////////////////////////////////z8/P8rKyv/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP+urq7///////////////////////////////////////////////////////////+kpKT/AAAA/wAAAPAAAABnAAAABAAAAAAAAAABAAAAWgAAAO0AAAD/Kysr//z8/P////////////////////////////////////////////////////////////39/f9ubm7/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8pKSn/1tbW//r6+v/9/f3//f39//39/f/+/v7//v7+//7+/v/l5eX/BQUF/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8nJyf/8fHx////////////////////////////////////////////////////////////sbGx/wAAAP8AAAD9AAAAqQAAABQAAAAAAAAAAQAAAGIAAADzAAAA/4aGhv//////////////////////////////////////////////////////////////////////y8vL/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wEBAf8eHh7/Li4u/y8vL/84ODj/SEhI/0pKSv9JSUn/JSUl/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/o6Oj/////////////////////////////////////////////////////////////////9nZ2f8BAQH/AAAA/wAAALUAAAAWAAAAAAAAAAEAAABiAAAA8wAAAP++vr7///////////////////////////////////////////////////////////////////////z8/P9ZWVn/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/FRUV/+np6f/////////////////////////////////////////////////////////////////7+/v/KSkp/wAAAP8AAAC1AAAAFgAAAAAAAAABAAAAYgAAAPMAAAD/wMDA////////////////////////////////////////////////////////////////////////////v7+//wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/46Ojv///////////////////////////////////////////////////////////////////////f39/y0tLf8AAAD/AAAAtQAAABYAAAAAAAAAAQAAAGIAAADzAAAA/8DAwP////////////////////////////////////////////////////////////////////////////b29v8+Pj7/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wUFBf/e3t7///////////////////////////////////////////////////////////////////////39/f8tLS3/AAAA/wAAALUAAAAWAAAAAAAAAAEAAABiAAAA8wAAAP/AwMD/////////////////////////////////////////////////////////////////////////////////r6+v/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP98fHz////////////////////////////////////////////////////////////////////////////9/f3/LS0t/wAAAP8AAAC1AAAAFgAAAAAAAAABAAAAYgAAAPMAAAD/wMDA//////////////////////////////////////////////////////////////////////////////////Dw8P8oKCj/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/1tbW/////////////////////////////////////////////////////////////////////////////f39/y0tLf8AAAD/AAAAtQAAABYAAAAAAAAAAQAAAGIAAADzAAAA/76+vv//////////////////////////////////////////////////////////////////////////////////////np6e/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/bm5u//7+/v////////////////////////////////////////////////////////////////////////////v7+/8pKSn/AAAA/wAAALUAAAAWAAAAAAAAAAEAAABiAAAA8wAAAP+Ghob//////////////////////////////////////////////////////////////////////////////////////+fn5/8MDAz/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/8zMzP/////////////////////////////////////////////////////////////////////////////////Z2dn/AQEB/wAAAP8AAAC1AAAAFgAAAAAAAAABAAAAWgAAAO0AAAD/Kysr//z8/P//////////////////////////////////////////////////////////////////////////////////////jY2N/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/1paWv/6+vr/////////////////////////////////////////////////////////////////////////////////sbGx/wAAAP8AAAD9AAAAqQAAABQAAAAAAAAAAAAAACcAAADDAAAA/yAgIP/39/f//////////////////////////////////////////////////////////////////////////////////////93d3f8DAwP/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP/CwsL//////////////////////////////////////////////////////////////////////////////////////6SkpP8AAAD/AAAA8AAAAGcAAAAEAAAAAAAAAAAAAAAWAAAAtQAAAP8AAAD/x8fH///////////////////////////////////////////////////////////////////////////////////////+/v7/eHh4/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9JSUn/+Pj4//////////////////////////////////////////////////////////////////////////////////n5+f9ERET/AAAA/wAAAOwAAABQAAAAAAAAAAAAAAAAAAAAEAAAAJgAAAD6AAAA/6qqqv///////////////////////////////////////////////////////////////////////////////////////////9DQ0P8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/uLi4///////////////////////////////////////////////////////////////////////////////////////q6ur/AAAA/wAAAP8AAADYAAAAPQAAAAAAAAAAAAAAAAAAAAEAAABXAAAA7AAAAP9YWFj/+vr6///////////////////////////////////////////////////////////////////////////////////////8/Pz/XFxc/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/NDQ0//X19f//////////////////////////////////////////////////////////////////////////////////////vLy8/wAAAP8AAAD+AAAApgAAABIAAAAAAAAAAAAAAAAAAAAAAAAAKgAAAMMAAAD/AAAA/8XFxf///////////////////////////////////////////////////////////////////////////////////////////8LCwv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/6urq///////////////////////////////////////////////////////////////////////////////////////+fn5/0VFRf8AAAD/AAAA7wAAAGoAAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAwAAACUAAAA+wAAAP+Hh4f////////////////////////////////////////////////////////////////////////////////////////////4+Pj/RUVF/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/yMjI//u7u7//////////////////////////////////////////////////////////////////////////////////////9fX1/8AAAD/AAAA/wAAANcAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAASwAAAN4AAAD/FBQU/+Tk5P///////////////////////////////////////////////////////////////////////////////////////////7S0tP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP+YmJj///////////////////////////////////////////////////////////////////////////////////////7+/v+FhYX/AAAA/wAAAPkAAACTAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABMAAACZAAAA+gAAAP+MjIz////////////////////////////////////////////////////////////////////////////////////////////x8fH/MDAw/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8PDw//5eXl///////////////////////////////////////////////////////////////////////////////////////f39//CAgI/wAAAP8AAADXAAAAQgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAARwAAANsAAAD/CQkJ/8zMzP///////////////////////////////////////////////////////////////////////////////////////////6Ojo/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/i4uL///////////////////////////////////////////////////////////////////////////////////////19fX/Z2dn/wAAAP8AAAD5AAAAjwAAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEAAACVAAAA+gAAAP9HR0f/8/Pz///////////////////////////////////////////////////////////////////////////////////////p6en/ExMT/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AgIC/93d3f//////////////////////////////////////////////////////////////////////////////////////p6en/wAAAP8AAAD/AAAA1QAAAD4AAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAPQAAAMQAAAD9AAAA/4eHh//+/v7//////////////////////////////////////////////////////////////////////////////////////46Ojv8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/3V1df/+/v7/////////////////////////////////////////////////////////////////////////////////1tbW/wwMDP8AAAD/AAAA6wAAAHoAAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAABjAAAA6gAAAP8BAQH/xsbG///////////////////////////////////////////////////////////////////////////////////////f39//BQUF/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP/Q0ND/////////////////////////////////////////////////////////////////////////////////9PT0/2JiYv8AAAD/AAAA+wAAAKsAAAAdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFwAAAI4AAAD2AAAA/xYWFv/IyMj//////////////////////////////////////////////////////////////////////////////////v7+/3d3d/8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP9hYWH//Pz8////////////////////////////////////////////////////////////////////////////8vLy/21tbf8AAAD/AAAA/wAAAMwAAABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1AAAAwgAAAPwAAAD/ERER/8XFxf/////////////////////////////////////////////////////////////////////////////////Pz8//AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/xsbG////////////////////////////////////////////////////////////////////////////8PDw/2dnZ/8AAAD/AAAA/wAAAOoAAAB1AAAACQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAEQAAADCAAAA/AAAAP8NDQ3/wcHB/////////////////////////////////////////////////////////////////////////////Pz8/1xcXP8AAAD/AAAA/wAAAP8AAAD/UFBQ//r6+v//////////////////////////////////////////////////////////////////////7+/v/2NjY/8AAAD/AAAA/wAAAOkAAAB9AAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAQQAAAL8AAAD8AAAA/wkJCf+9vb3//v7+///////////////////////////////////////////////////////////////////////AwMD/AAAA/wAAAP8AAAD/AAAA/7q6uv//////////////////////////////////////////////////////////////////////7Ozs/15eXv8AAAD/AAAA/wAAAOcAAAB5AAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAA+AAAAvAAAAPsAAAD/AgIC/35+fv/r6+v/////////////////////////////////////////////////////////////////9/f3/0NDQ/8AAAD/AAAA/zY2Nv/09PT////////////////////////////////////////////////////////////9/f3/t7e3/zExMf8AAAD/AAAA/wAAAOUAAAB2AAAAEQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAADsAAAC5AAAA9wAAAP8AAAD/Nzc3/7m5uf/9/f3///////////////////////////////////////////////////////////+zs7P/AAAA/wAAAP+rq6v////////////////////////////////////////////////////////////l5eX/dnZ2/wAAAP8AAAD/AAAA/AAAAOEAAAByAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAMQAAAIUAAADgAAAA/QAAAP8AAAD/enp6/9nZ2f/+/v7/////////////////////////////////////////////////8fHx/y0tLf8pKSn/7+/v//////////////////////////////////////////////////Hx8f+xsbH/MjIy/wAAAP8AAAD+AAAA9gAAALAAAABVAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAWAAAALEAAAD2AAAA/wAAAP8CAgL/dnZ2/7i4uP/v7+////////////////////////////////////////////+np6f/pqam///////////////////////////////////////8/Pz/0NDQ/5qamv83Nzf/AAAA/wAAAP8AAAD9AAAA2AAAAH8AAAAqAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAApAAAAgwAAAM0AAAD1AAAA/wAAAP8AAAD/NDQ0/6Ghof/BwcH/6+vr/////////////////////////////v7+//39/f//////////////////////+fn5/8/Pz/+3t7f/a2tr/wAAAP8AAAD/AAAA/wAAAPwAAADkAAAAqAAAAFAAAAAKAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAoAAAA0AAAAfgAAAMsAAAD0AAAA/gAAAP8AAAD/AAAA/w4ODv9NTU3/ZWVl/7i4uP/Pz8//z8/P/8/Pz//Pz8//z8/P/8vLy/+QkJD/UVFR/zU1Nf8AAAD/AAAA/wAAAP8AAAD/AAAA+wAAAOIAAACjAAAAUwAAABgAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkAAAAwAAAAegAAAK4AAADeAAAA8wAAAP4AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAPkAAADrAAAAwwAAAJYAAABPAAAAFgAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAWAAAAQQAAAHAAAACsAAAAswAAANMAAADyAAAA8gAAAPIAAADyAAAA8gAAAPIAAADyAAAA8gAAAPIAAADnAAAAvAAAALMAAACQAAAAUgAAACgAAAAMAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAEgAAABQAAAA4AAAAWwAAAFsAAABbAAAAWwAAAFsAAABbAAAAWwAAAFsAAABcAAAATgAAAB0AAAATAAAADQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA///////////////gB////////gAAf//////wAAAP/////8AAAAP////+AAAAAP////wAAAAAP///+AAAAAAf///gAAAAAA///8AAAAAAB///gAAAAAAD//8AAAAAAAH//gAAAAAAAP/+AAAAAAAAf/wAAAAAAAA/+AAAAAAAAD/wAAAAAAAAH/AAAAAAAAAP4AAAAAAAAA/gAAAAAAAAB8AAAAAAAAAHwAAAAAAAAAfAAAAAAAAAA4AAAAAAAAADgAAAAAAAAAOAAAAAAAAAA4AAAAAAAAABAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAGAAAAAAAAAAYAAAAAAAAADgAAAAAAAAAOAAAAAAAAAA8AAAAAAAAADwAAAAAAAAAfAAAAAAAAAB+AAAAAAAAAH4AAAAAAAAA/wAAAAAAAAD/AAAAAAAAAf+AAAAAAAAD/8AAAAAAAAP/4AAAAAAAB//gAAAAAAAP//AAAAAAAB//+AAAAAAAP//8AAAAAAB///4AAAAAAP///4AAAAAB////wAAAAAP////gAAAAD/////wAAAA//////wAAAP//////4AAH///////+AH//////////////8=","title":"$:/favicon.ico","type":"image/x-icon","modified":"20231026192950258","tags":"$:/isAttachment $:/isEmbedded _PLAYER_"}, -{"title":"$:/Import","text":"The following tiddlers were imported:\n\n# [[REQ]]","status":"complete"}, +{"title":"$:/Import","text":"Les tiddlers suivants ont été importés :\n\n# [[SQPL]]","status":"complete"}, {"created":"20231007121534491","title":"$:/ipfs/saver/api","modified":"20231007121534491","tags":"$:/ipfs/core","text":"$:/ipfs/saver/api/http/localhost/5001"}, {"created":"20231007121538423","title":"$:/ipfs/saver/gateway","modified":"20231007121538424","tags":"$:/ipfs/core","text":"$:/ipfs/saver/gateway/http/localhost"}, {"title":"$:/ipfs/saver/ipns/key","modified":"20231007124503071","tags":"$:/ipfs/core","text":"k2k4r8kxfnknsdf7tpyc46ks2jb3s9uvd3lqtcv9xlq9rsoem7jajd75"}, {"created":"20231007122247614","title":"$:/ipfs/saver/ipns/name","modified":"20231007122247614","tags":"$:/ipfs/core","text":"_MEDIAKEY_"}, {"title":"$:/isEncrypted","text":"no"}, -{"created":"20240108031448807","title":"$:/language","text":"$:/languages/en-GB","modified":"20240108031453778"}, +{"created":"20240108031448807","title":"$:/language","text":"$:/languages/fr-FR","modified":"20240211155444724"}, {"title":"$:/languages/ar-PS","name":"ar-PS","plugin-type":"language","description":"Arabic (Palestine)","author":"Kamal-Habash","core-version":">=5.1.23","text-direction":"rtl","version":"5.3.3","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/language/Buttons/AdvancedSearch/Caption\":{\"title\":\"$:/language/Buttons/AdvancedSearch/Caption\",\"text\":\"بحث متقدم\"},\"$:/language/Buttons/AdvancedSearch/Hint\":{\"title\":\"$:/language/Buttons/AdvancedSearch/Hint\",\"text\":\"بحث متقدم\"},\"$:/language/Buttons/Bold/Caption\":{\"title\":\"$:/language/Buttons/Bold/Caption\",\"text\":\"غامق\"},\"$:/language/Buttons/Bold/Hint\":{\"title\":\"$:/language/Buttons/Bold/Hint\",\"text\":\"غامق\"},\"$:/language/Buttons/Cancel/Caption\":{\"title\":\"$:/language/Buttons/Cancel/Caption\",\"text\":\"الغاء\"},\"$:/language/Buttons/Cancel/Hint\":{\"title\":\"$:/language/Buttons/Cancel/Hint\",\"text\":\"الغاء\"},\"$:/language/Buttons/Clear/Caption\":{\"title\":\"$:/language/Buttons/Clear/Caption\",\"text\":\"مسح\"},\"$:/language/Buttons/Clone/Caption\":{\"title\":\"$:/language/Buttons/Clone/Caption\",\"text\":\"إستنسخ\"},\"$:/language/Buttons/Clone/Hint\":{\"title\":\"$:/language/Buttons/Clone/Hint\",\"text\":\"إستنسخ هذا التدلر\"},\"$:/language/Buttons/Close/Caption\":{\"title\":\"$:/language/Buttons/Close/Caption\",\"text\":\"إغلاق\"},\"$:/language/Buttons/Close/Hint\":{\"title\":\"$:/language/Buttons/Close/Hint\",\"text\":\"إغلاق\"},\"$:/language/Buttons/CloseAll/Caption\":{\"title\":\"$:/language/Buttons/CloseAll/Caption\",\"text\":\"إغلاق الجميع\"},\"$:/language/Buttons/CloseAll/Hint\":{\"title\":\"$:/language/Buttons/CloseAll/Hint\",\"text\":\"إغلاق جميع التدلرز\"},\"$:/language/Buttons/CloseOthers/Caption\":{\"title\":\"$:/language/Buttons/CloseOthers/Caption\",\"text\":\"أغلق الأخريات\"},\"$:/language/Buttons/CloseOthers/Hint\":{\"title\":\"$:/language/Buttons/CloseOthers/Hint\",\"text\":\"أغلاق التلرز الأخرى\"},\"$:/language/Buttons/ControlPanel/Caption\":{\"title\":\"$:/language/Buttons/ControlPanel/Caption\",\"text\":\"لوحة التحكم\"},\"$:/language/Buttons/ControlPanel/Hint\":{\"title\":\"$:/language/Buttons/ControlPanel/Hint\",\"text\":\"فتح لوحة التحكم\"},\"$:/language/Buttons/CopyToClipboard/Caption\":{\"title\":\"$:/language/Buttons/CopyToClipboard/Caption\",\"text\":\"انسخ على لوحة الحفظ\"},\"$:/language/Buttons/CopyToClipboard/Hint\":{\"title\":\"$:/language/Buttons/CopyToClipboard/Hint\",\"text\":\"انسخ هذا النص على لوحة الحفظ\"},\"$:/language/Buttons/Delete/Caption\":{\"title\":\"$:/language/Buttons/Delete/Caption\",\"text\":\"إحذف\"},\"$:/language/Buttons/Delete/Hint\":{\"title\":\"$:/language/Buttons/Delete/Hint\",\"text\":\"إحذف هذا التدلر\"},\"$:/language/Buttons/Edit/Caption\":{\"title\":\"$:/language/Buttons/Edit/Caption\",\"text\":\"تحرير\"},\"$:/language/Buttons/Edit/Hint\":{\"title\":\"$:/language/Buttons/Edit/Hint\",\"text\":\"تحرير هذا التدلر\"},\"$:/language/Buttons/EditorHeight/Caption\":{\"title\":\"$:/language/Buttons/EditorHeight/Caption\",\"text\":\"ارتفاع المحرر\"},\"$:/language/Buttons/EditorHeight/Caption/Auto\":{\"title\":\"$:/language/Buttons/EditorHeight/Caption/Auto\",\"text\":\"اضبط الارتفاع تلقائيًا ليلائم المحتوى\"},\"$:/language/Buttons/Encryption/Caption\":{\"title\":\"$:/language/Buttons/Encryption/Caption\",\"text\":\"التشفير\"},\"$:/language/Buttons/Encryption/ClearPassword/Caption\":{\"title\":\"$:/language/Buttons/Encryption/ClearPassword/Caption\",\"text\":\"مسح كلمة السر\"},\"$:/language/Buttons/Encryption/ClearPassword/Hint\":{\"title\":\"$:/language/Buttons/Encryption/ClearPassword/Hint\",\"text\":\"امسح كلمة المرور واحفظ هذا الويكي بدون تشفير\"},\"$:/language/Buttons/Encryption/Hint\":{\"title\":\"$:/language/Buttons/Encryption/Hint\",\"text\":\"ضع أو إمسح كلمة مرور لحفظ هذا الويكي\"},\"$:/language/Buttons/Encryption/SetPassword/Caption\":{\"title\":\"$:/language/Buttons/Encryption/SetPassword/Caption\",\"text\":\"ضع كلمة السر\"},\"$:/language/Buttons/Encryption/SetPassword/Hint\":{\"title\":\"$:/language/Buttons/Encryption/SetPassword/Hint\",\"text\":\"ضع كلمة مرور لحفظ هذا الويكي باستخدام التشفير\"},\"$:/language/Buttons/Excise/Caption/NewTitle\":{\"title\":\"$:/language/Buttons/Excise/Caption/NewTitle\",\"text\":\"عنوان التدلر الجديد\"},\"$:/language/Buttons/Excise/Caption/Replace/Link\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace/Link\",\"text\":\"رابط\"},\"$:/language/Buttons/ExportPage/Caption\":{\"title\":\"$:/language/Buttons/ExportPage/Caption\",\"text\":\"تصدير الكل\"},\"$:/language/Buttons/ExportPage/Hint\":{\"title\":\"$:/language/Buttons/ExportPage/Hint\",\"text\":\"تصدير كل التدلرز\"},\"$:/language/Buttons/ExportTiddler/Caption\":{\"title\":\"$:/language/Buttons/ExportTiddler/Caption\",\"text\":\"تصدير تدلر\"},\"$:/language/Buttons/ExportTiddler/Hint\":{\"title\":\"$:/language/Buttons/ExportTiddler/Hint\",\"text\":\"تصدير تدلر\"},\"$:/language/Buttons/ExportTiddlers/Caption\":{\"title\":\"$:/language/Buttons/ExportTiddlers/Caption\",\"text\":\"تصدير تدلرز\"},\"$:/language/Buttons/ExportTiddlers/Hint\":{\"title\":\"$:/language/Buttons/ExportTiddlers/Hint\",\"text\":\"تصدير تدلرز\"},\"$:/language/Buttons/Fold/Caption\":{\"title\":\"$:/language/Buttons/Fold/Caption\",\"text\":\"طوي تدلر\"},\"$:/language/Buttons/Fold/Hint\":{\"title\":\"$:/language/Buttons/Fold/Hint\",\"text\":\"إطوِ نص هذا التدلر\"},\"$:/language/Buttons/FoldAll/Caption\":{\"title\":\"$:/language/Buttons/FoldAll/Caption\",\"text\":\"إطوِ جميع التدلرز\"},\"$:/language/Buttons/FoldAll/Hint\":{\"title\":\"$:/language/Buttons/FoldAll/Hint\",\"text\":\"إطوِ نصوص جميع التدلرز المفتوحة\"},\"$:/language/Buttons/FoldOthers/Caption\":{\"title\":\"$:/language/Buttons/FoldOthers/Caption\",\"text\":\"إطوِ جميع التدلرز\"},\"$:/language/Buttons/FoldOthers/Hint\":{\"title\":\"$:/language/Buttons/FoldOthers/Hint\",\"text\":\"إطوِ نصوص التدلرز المفتوحة الأخرى\"},\"$:/language/Buttons/FullScreen/Caption\":{\"title\":\"$:/language/Buttons/FullScreen/Caption\",\"text\":\"ملء الشاشة\"},\"$:/language/Buttons/FullScreen/Hint\":{\"title\":\"$:/language/Buttons/FullScreen/Hint\",\"text\":\"ادخل أو غادر وضعية ملء الشاشة\"},\"$:/language/Buttons/Help/Caption\":{\"title\":\"$:/language/Buttons/Help/Caption\",\"text\":\"مساعدة\"},\"$:/language/Buttons/Help/Hint\":{\"title\":\"$:/language/Buttons/Help/Hint\",\"text\":\"إظهار لوحة المساعدة\"},\"$:/language/Buttons/HideSideBar/Caption\":{\"title\":\"$:/language/Buttons/HideSideBar/Caption\",\"text\":\"اخفاء الشريط الجانبي\"},\"$:/language/Buttons/HideSideBar/Hint\":{\"title\":\"$:/language/Buttons/HideSideBar/Hint\",\"text\":\"اخفاء الشريط الجانبي\"},\"$:/language/Buttons/Home/Caption\":{\"title\":\"$:/language/Buttons/Home/Caption\",\"text\":\"الصفحة الرئيسية\"},\"$:/language/Buttons/Home/Hint\":{\"title\":\"$:/language/Buttons/Home/Hint\",\"text\":\"افتح التدلرز المفترضة\"},\"$:/language/Buttons/Import/Caption\":{\"title\":\"$:/language/Buttons/Import/Caption\",\"text\":\"إستيراد\"},\"$:/language/Buttons/Import/Hint\":{\"title\":\"$:/language/Buttons/Import/Hint\",\"text\":\"استيراد العديد من أنواع الملفات بما في ذلك النص أو الصورة أو TiddlyWiki أو JSON\"},\"$:/language/Buttons/Info/Caption\":{\"title\":\"$:/language/Buttons/Info/Caption\",\"text\":\"معلومات\"},\"$:/language/Buttons/Info/Hint\":{\"title\":\"$:/language/Buttons/Info/Hint\",\"text\":\"عرض معلومات هذا التدلر\"},\"$:/language/Buttons/Italic/Caption\":{\"title\":\"$:/language/Buttons/Italic/Caption\",\"text\":\"مائل\"},\"$:/language/Buttons/Italic/Hint\":{\"title\":\"$:/language/Buttons/Italic/Hint\",\"text\":\"تطبيق التنسيق المائل على التحديد\"},\"$:/language/Buttons/Language/Caption\":{\"title\":\"$:/language/Buttons/Language/Caption\",\"text\":\"لغة\"},\"$:/language/Buttons/Language/Hint\":{\"title\":\"$:/language/Buttons/Language/Hint\",\"text\":\"اختر لغة واجهة المستخدم\"},\"$:/language/Buttons/LineWidth/Caption\":{\"title\":\"$:/language/Buttons/LineWidth/Caption\",\"text\":\"عرض الخط\"},\"$:/language/Buttons/Link/Caption\":{\"title\":\"$:/language/Buttons/Link/Caption\",\"text\":\"رابط\"},\"$:/language/Buttons/Link/Hint\":{\"title\":\"$:/language/Buttons/Link/Hint\",\"text\":\"إنشاء رابط ويكي\"},\"$:/language/Buttons/Linkify/Caption\":{\"title\":\"$:/language/Buttons/Linkify/Caption\",\"text\":\"رابط ويكي\"},\"$:/language/Buttons/Linkify/Hint\":{\"title\":\"$:/language/Buttons/Linkify/Hint\",\"text\":\"غلف التحديد بأقواس مربعة\"},\"$:/language/Buttons/ListBullet/Caption\":{\"title\":\"$:/language/Buttons/ListBullet/Caption\",\"text\":\"قائمة نقطية\"},\"$:/language/Buttons/ListNumber/Caption\":{\"title\":\"$:/language/Buttons/ListNumber/Caption\",\"text\":\"قائمة مرقمة\"},\"$:/language/Buttons/Manager/Caption\":{\"title\":\"$:/language/Buttons/Manager/Caption\",\"text\":\"مدير التدلرز\"},\"$:/language/Buttons/Manager/Hint\":{\"title\":\"$:/language/Buttons/Manager/Hint\",\"text\":\"إفتح مدير التدلرز\"},\"$:/language/Buttons/MonoBlock/Caption\":{\"title\":\"$:/language/Buttons/MonoBlock/Caption\",\"text\":\"كتلة أحادية المسافة\"},\"$:/language/Buttons/MonoLine/Caption\":{\"title\":\"$:/language/Buttons/MonoLine/Caption\",\"text\":\"أحادي المسافة\"},\"$:/language/Buttons/More/Caption\":{\"title\":\"$:/language/Buttons/More/Caption\",\"text\":\"المزيد\"},\"$:/language/Buttons/More/Hint\":{\"title\":\"$:/language/Buttons/More/Hint\",\"text\":\"المزيد من الإجراءات\"},\"$:/language/Buttons/NewHere/Caption\":{\"title\":\"$:/language/Buttons/NewHere/Caption\",\"text\":\"أنشاء جديد هنا\"},\"$:/language/Buttons/NewHere/Hint\":{\"title\":\"$:/language/Buttons/NewHere/Hint\",\"text\":\"إنشاء تدلر جديد موسوم بهذا\"},\"$:/language/Buttons/NewImage/Caption\":{\"title\":\"$:/language/Buttons/NewImage/Caption\",\"text\":\"رسم جديد\"},\"$:/language/Buttons/NewImage/Hint\":{\"title\":\"$:/language/Buttons/NewImage/Hint\",\"text\":\"قم بإنشاء تدلر رسام\"},\"$:/language/Buttons/NewJournal/Caption\":{\"title\":\"$:/language/Buttons/NewJournal/Caption\",\"text\":\"دفتر اليومية جديد\"},\"$:/language/Buttons/NewJournal/Hint\":{\"title\":\"$:/language/Buttons/NewJournal/Hint\",\"text\":\"قم بإنشاء دفتر يوميات جديد\"},\"$:/language/Buttons/NewJournalHere/Caption\":{\"title\":\"$:/language/Buttons/NewJournalHere/Caption\",\"text\":\"أنشئ دفتر يوميات جديد هنا\"},\"$:/language/Buttons/NewJournalHere/Hint\":{\"title\":\"$:/language/Buttons/NewJournalHere/Hint\",\"text\":\"قم بإنشاء دفتر يوميات جديد موسوم بهذا\"},\"$:/language/Buttons/NewMarkdown/Caption\":{\"title\":\"$:/language/Buttons/NewMarkdown/Caption\",\"text\":\"تدلر ماركداون جديد\"},\"$:/language/Buttons/NewMarkdown/Hint\":{\"title\":\"$:/language/Buttons/NewMarkdown/Hint\",\"text\":\"قم بإنشاء تدلر ماركداون جديد\"},\"$:/language/Buttons/NewTiddler/Caption\":{\"title\":\"$:/language/Buttons/NewTiddler/Caption\",\"text\":\"تدلر جديد\"},\"$:/language/Buttons/NewTiddler/Hint\":{\"title\":\"$:/language/Buttons/NewTiddler/Hint\",\"text\":\"قم بإنشاء تدلر جديد\"},\"$:/language/Buttons/Opacity/Caption\":{\"title\":\"$:/language/Buttons/Opacity/Caption\",\"text\":\"تعتيم\"},\"$:/language/Buttons/OpenWindow/Caption\":{\"title\":\"$:/language/Buttons/OpenWindow/Caption\",\"text\":\"افتح في نافذة جديدة\"},\"$:/language/Buttons/OpenWindow/Hint\":{\"title\":\"$:/language/Buttons/OpenWindow/Hint\",\"text\":\"افتح التدلر في نافذة جديدة\"},\"$:/language/Buttons/Paint/Caption\":{\"title\":\"$:/language/Buttons/Paint/Caption\",\"text\":\"لون الطلاء\"},\"$:/language/Buttons/Palette/Caption\":{\"title\":\"$:/language/Buttons/Palette/Caption\",\"text\":\"نظام الألوان\"},\"$:/language/Buttons/Palette/Hint\":{\"title\":\"$:/language/Buttons/Palette/Hint\",\"text\":\"اختر نظام الألوان\"},\"$:/language/Buttons/Permalink/Caption\":{\"title\":\"$:/language/Buttons/Permalink/Caption\",\"text\":\"الرابط المباشر\"},\"$:/language/Buttons/Permalink/Hint\":{\"title\":\"$:/language/Buttons/Permalink/Hint\",\"text\":\"اضبط شريط عنوان المتصفح على رابط مباشر لهذا التدلر\"},\"$:/language/Buttons/Permaview/Caption\":{\"title\":\"$:/language/Buttons/Permaview/Caption\",\"text\":\"العرض المباشر\"},\"$:/language/Buttons/Permaview/Hint\":{\"title\":\"$:/language/Buttons/Permaview/Hint\",\"text\":\"اضبط شريط عنوان المتصفح على رابط مباشر لجميع التدلرز في هذه القصة\"},\"$:/language/Buttons/Picture/Caption\":{\"title\":\"$:/language/Buttons/Picture/Caption\",\"text\":\"صورة\"},\"$:/language/Buttons/Picture/Hint\":{\"title\":\"$:/language/Buttons/Picture/Hint\",\"text\":\"إدراج صورة\"},\"$:/language/Buttons/Preview/Caption\":{\"title\":\"$:/language/Buttons/Preview/Caption\",\"text\":\"معاينة\"},\"$:/language/Buttons/Preview/Hint\":{\"title\":\"$:/language/Buttons/Preview/Hint\",\"text\":\"إظهار شاشة المعاينة\"},\"$:/language/Buttons/PreviewType/Caption\":{\"title\":\"$:/language/Buttons/PreviewType/Caption\",\"text\":\"نوع المعاينة\"},\"$:/language/Buttons/PreviewType/Hint\":{\"title\":\"$:/language/Buttons/PreviewType/Hint\",\"text\":\"اختر نوع المعاينة\"},\"$:/language/Buttons/Print/Caption\":{\"title\":\"$:/language/Buttons/Print/Caption\",\"text\":\"طباعة الصفحة\"},\"$:/language/Buttons/Print/Hint\":{\"title\":\"$:/language/Buttons/Print/Hint\",\"text\":\"اطبع الصفحة الحالية\"},\"$:/language/Buttons/Quote/Caption\":{\"title\":\"$:/language/Buttons/Quote/Caption\",\"text\":\"quote\"},\"$:/language/Buttons/Refresh/Caption\":{\"title\":\"$:/language/Buttons/Refresh/Caption\",\"text\":\"تحديث\"},\"$:/language/Buttons/Refresh/Hint\":{\"title\":\"$:/language/Buttons/Refresh/Hint\",\"text\":\"قم بإجراء تحديث كامل للويكي\"},\"$:/language/Buttons/RotateLeft/Caption\":{\"title\":\"$:/language/Buttons/RotateLeft/Caption\",\"text\":\"تدوير لليسار\"},\"$:/language/Buttons/RotateLeft/Hint\":{\"title\":\"$:/language/Buttons/RotateLeft/Hint\",\"text\":\"تدوير الصورة لليسار بزاوية 90 درجة\"},\"$:/language/Buttons/Save/Caption\":{\"title\":\"$:/language/Buttons/Save/Caption\",\"text\":\"تمام\"},\"$:/language/Buttons/Save/Hint\":{\"title\":\"$:/language/Buttons/Save/Hint\",\"text\":\"تأكيد التغييرات على هذا التدلر\"},\"$:/language/Buttons/SaveWiki/Caption\":{\"title\":\"$:/language/Buttons/SaveWiki/Caption\",\"text\":\"حفظ التغييرات\"},\"$:/language/Buttons/SaveWiki/Hint\":{\"title\":\"$:/language/Buttons/SaveWiki/Hint\",\"text\":\"حفظ التغييرات\"},\"$:/language/Buttons/ShowSideBar/Caption\":{\"title\":\"$:/language/Buttons/ShowSideBar/Caption\",\"text\":\"إظهار الشريط الجانبي\"},\"$:/language/Buttons/ShowSideBar/Hint\":{\"title\":\"$:/language/Buttons/ShowSideBar/Hint\",\"text\":\"إظهار الشريط الجانبي\"},\"$:/language/Buttons/Size/Caption\":{\"title\":\"$:/language/Buttons/Size/Caption\",\"text\":\"حجم الصورة\"},\"$:/language/Buttons/Size/Caption/Height\":{\"title\":\"$:/language/Buttons/Size/Caption/Height\",\"text\":\"ارتفاع:\"},\"$:/language/Buttons/Size/Caption/Resize\":{\"title\":\"$:/language/Buttons/Size/Caption/Resize\",\"text\":\"تغيير حجم الصورة\"},\"$:/language/Buttons/Size/Caption/Width\":{\"title\":\"$:/language/Buttons/Size/Caption/Width\",\"text\":\"عرض:\"},\"$:/language/Buttons/Size/Hint\":{\"title\":\"$:/language/Buttons/Size/Hint\",\"text\":\"ضبط حجم الصورة\"},\"$:/language/Buttons/Stamp/Caption\":{\"title\":\"$:/language/Buttons/Stamp/Caption\",\"text\":\"ختم\"},\"$:/language/Buttons/Stamp/Caption/New\":{\"title\":\"$:/language/Buttons/Stamp/Caption/New\",\"text\":\"اضف اشياءك الخاصة\"},\"$:/language/Buttons/Stamp/Hint\":{\"title\":\"$:/language/Buttons/Stamp/Hint\",\"text\":\"أدخل نصا مقتطفًا تم تكوينه مسبقًا\"},\"$:/language/Buttons/Stamp/New/Text\":{\"title\":\"$:/language/Buttons/Stamp/New/Text\",\"text\":\"نص المقتطف. (تذكر إضافة عنوان وصفي في حقل الشرح).\"},\"$:/language/Buttons/Stamp/New/Title\":{\"title\":\"$:/language/Buttons/Stamp/New/Title\",\"text\":\"الاسم كما هو ظاهر في القائمة\"},\"$:/language/Buttons/StoryView/Caption\":{\"title\":\"$:/language/Buttons/StoryView/Caption\",\"text\":\"عرض القصة\"},\"$:/language/Buttons/StoryView/Hint\":{\"title\":\"$:/language/Buttons/StoryView/Hint\",\"text\":\"اختر تصور القصة\"},\"$:/language/Buttons/Strikethrough/Caption\":{\"title\":\"$:/language/Buttons/Strikethrough/Caption\",\"text\":\"يتوسطه خط\"},\"$:/language/Buttons/Strikethrough/Hint\":{\"title\":\"$:/language/Buttons/Strikethrough/Hint\",\"text\":\"تطبيق تنسيق \\\"يتوسطه خط\\\"على التحديد\"},\"$:/language/Buttons/Subscript/Caption\":{\"title\":\"$:/language/Buttons/Subscript/Caption\",\"text\":\"نص منخفض\"},\"$:/language/Buttons/Subscript/Hint\":{\"title\":\"$:/language/Buttons/Subscript/Hint\",\"text\":\"تطبيق تنسيق منخفض على التحديد\"},\"$:/language/Buttons/Superscript/Caption\":{\"title\":\"$:/language/Buttons/Superscript/Caption\",\"text\":\"نص مرتفع\"},\"$:/language/Buttons/Superscript/Hint\":{\"title\":\"$:/language/Buttons/Superscript/Hint\",\"text\":\"تطبيق تنسيق مرتفع على التحديد\"},\"$:/language/Buttons/TagManager/Caption\":{\"title\":\"$:/language/Buttons/TagManager/Caption\",\"text\":\"ادارة الوسوم\"},\"$:/language/Buttons/TagManager/Hint\":{\"title\":\"$:/language/Buttons/TagManager/Hint\",\"text\":\"افتح ادارة الوسوم\"},\"$:/language/Buttons/Theme/Caption\":{\"title\":\"$:/language/Buttons/Theme/Caption\",\"text\":\"ثيم\"},\"$:/language/Buttons/Theme/Hint\":{\"title\":\"$:/language/Buttons/Theme/Hint\",\"text\":\"إختر ثيم العرض\"},\"$:/language/Buttons/Timestamp/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/Caption\",\"text\":\"الطوابع الزمنية\"},\"$:/language/Buttons/Timestamp/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/Hint\",\"text\":\"اختر ما إذا قامت التعديلات بتحديث الطوابع الزمنية\"},\"$:/language/Buttons/Timestamp/Off/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/Off/Caption\",\"text\":\"الطوابع الزمنية متوقفة\"},\"$:/language/Buttons/Timestamp/Off/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/Off/Hint\",\"text\":\"لا تقم بتحديث الطوابع الزمنية عندما يتم تعديل التدلرز\"},\"$:/language/Buttons/Timestamp/On/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/On/Caption\",\"text\":\"الطوابع الزمنية مفعّلة\"},\"$:/language/Buttons/Timestamp/On/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/On/Hint\",\"text\":\"حَدث الطوابع الزمنية عندما يتم تعديل التدلرز\"},\"$:/language/Buttons/ToggleSidebar/Hint\":{\"title\":\"$:/language/Buttons/ToggleSidebar/Hint\",\"text\":\"تبديل رؤية الشريط الجانبي\"},\"$:/language/Buttons/Transcludify/Caption\":{\"title\":\"$:/language/Buttons/Transcludify/Caption\",\"text\":\"ترانسكلوجن\"},\"$:/language/Buttons/Transcludify/Hint\":{\"title\":\"$:/language/Buttons/Transcludify/Hint\",\"text\":\"غلف التحديد بأقواس مجعدة\"},\"$:/language/Buttons/Underline/Caption\":{\"title\":\"$:/language/Buttons/Underline/Caption\",\"text\":\"تسطير\"},\"$:/language/Buttons/Underline/Hint\":{\"title\":\"$:/language/Buttons/Underline/Hint\",\"text\":\"تطبيق تنسيق التسطير على التحديد\"},\"$:/language/Buttons/Unfold/Caption\":{\"title\":\"$:/language/Buttons/Unfold/Caption\",\"text\":\"بسط التدلر\"},\"$:/language/Buttons/Unfold/Hint\":{\"title\":\"$:/language/Buttons/Unfold/Hint\",\"text\":\"إبسط نص هذا التدلر\"},\"$:/language/Buttons/UnfoldAll/Caption\":{\"title\":\"$:/language/Buttons/UnfoldAll/Caption\",\"text\":\"إبسط جميع التدلرز\"},\"$:/language/Buttons/UnfoldAll/Hint\":{\"title\":\"$:/language/Buttons/UnfoldAll/Hint\",\"text\":\"إبسط نصوص جميع التدلرز المفتوحة\"},\"$:/language/ControlPanel/Advanced/Caption\":{\"title\":\"$:/language/ControlPanel/Advanced/Caption\",\"text\":\"متقدم\"},\"$:/language/ControlPanel/Advanced/Hint\":{\"title\":\"$:/language/ControlPanel/Advanced/Hint\",\"text\":\"معلومات داخلية عن هذا الوكي\"},\"$:/language/ControlPanel/Appearance/Caption\":{\"title\":\"$:/language/ControlPanel/Appearance/Caption\",\"text\":\"مظهر خارجي\"},\"$:/language/ControlPanel/Appearance/Hint\":{\"title\":\"$:/language/ControlPanel/Appearance/Hint\",\"text\":\"طرق لتخصيص مظهر وكي خاص بك.\"},\"$:/language/ControlPanel/Basics/AnimDuration/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/AnimDuration/Prompt\",\"text\":\"مدة الرسوم المتحركة\"},\"$:/language/ControlPanel/Basics/AutoFocus/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/AutoFocus/Prompt\",\"text\":\"موقع مؤشر الماوس الإفتراضي للتدلرز الجددة\"},\"$:/language/ControlPanel/Basics/Caption\":{\"title\":\"$:/language/ControlPanel/Basics/Caption\",\"text\":\"أساسيات\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint\",\"text\":\"إستخدم [[أقواس مربعة مزدوجة]] للعناوين مع مسافات. أو بإمكانك إختيار{{الإحتفاظ بترتيب القصة||$:/snippets/retain-story-ordering-button}}\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt\",\"text\":\"تدلرز مفترضة\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint\",\"text\":\"أي تدلرز ستظهر عند التشغيل\"},\"$:/language/ControlPanel/Basics/Language/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Language/Prompt\",\"text\":\"مرحبا! اللغة الحالية:\"},\"$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt\",\"text\":\"وسوم لتدلر اليوميات الجديدة\"},\"$:/language/ControlPanel/Basics/NewJournal/Text/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Text/Prompt\",\"text\":\"نص لتدلر اليوميات الجديدة\"},\"$:/language/ControlPanel/Basics/NewJournal/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Title/Prompt\",\"text\":\"عنوان لتدلر اليوميات الجديدة\"},\"$:/language/ControlPanel/Basics/NewTiddler/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewTiddler/Tags/Prompt\",\"text\":\"وسوم للتدلرز الجديدة\"},\"$:/language/ControlPanel/Basics/NewTiddler/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewTiddler/Title/Prompt\",\"text\":\"عنوان للتدلرز الجديدة\"},\"$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt\",\"text\":\"عدد تدلرز الظل التي تم تجاوزها\"},\"$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt\",\"text\":\"عدد تدلرز الظل\"},\"$:/language/ControlPanel/Basics/Subtitle/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Subtitle/Prompt\",\"text\":\"العنوان الفرعي\"},\"$:/language/ControlPanel/Basics/SystemTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/SystemTiddlers/Prompt\",\"text\":\"عدد تدلرز النظام\"},\"$:/language/ControlPanel/Basics/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Tags/Prompt\",\"text\":\"عدد الوسوم\"},\"$:/language/ControlPanel/Basics/Tiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Tiddlers/Prompt\",\"text\":\"عدد التدلرز\"},\"$:/language/ControlPanel/Basics/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Title/Prompt\",\"text\":\"عنوان هذا الويكي\"},\"$:/language/ControlPanel/Basics/Username/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Username/Prompt\",\"text\":\"اسم المستخدم لتوقيع التعديلات\"},\"$:/language/ControlPanel/Basics/Version/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Version/Prompt\",\"text\":\"نسخة تدلي ويكي\"},\"$:/language/ControlPanel/EditorTypes/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Caption\",\"text\":\"أنواع المحرر\"},\"$:/language/ControlPanel/EditorTypes/Editor/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Editor/Caption\",\"text\":\"المحرر\"},\"$:/language/ControlPanel/EditorTypes/Hint\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Hint\",\"text\":\"تحدد هذه التدلرز أي محرر مستخدم لتحرير أنواع معينة من التدلرز\"},\"$:/language/ControlPanel/EditorTypes/Type/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Type/Caption\",\"text\":\"نوع\"},\"$:/language/ControlPanel/Info/Caption\":{\"title\":\"$:/language/ControlPanel/Info/Caption\",\"text\":\"معلومات\"},\"$:/language/ControlPanel/Info/Hint\":{\"title\":\"$:/language/ControlPanel/Info/Hint\",\"text\":\"معلومات عن هذا التدلي ويكي\"},\"$:/language/ControlPanel/KeyboardShortcuts/Add/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Add/Caption\",\"text\":\"إضافة اختصار\"},\"$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt\",\"text\":\"اكتب اختصار هنا\"},\"$:/language/ControlPanel/KeyboardShortcuts/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Caption\",\"text\":\"اختصارات لوحة المفاتيح\"},\"$:/language/ControlPanel/KeyboardShortcuts/Hint\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Hint\",\"text\":\"إدارة تعيينات اختصارات لوحة المفاتيح\"},\"$:/language/ControlPanel/KeyboardShortcuts/NoShortcuts/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/NoShortcuts/Caption\",\"text\":\"لم يتم تعيين اختصارات لوحة المفاتيح\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/All\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/All\",\"text\":\"جميع المنصات\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Linux\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Linux\",\"text\":\"نظام لينكس فقط\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Mac\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Mac\",\"text\":\"نظام ماكنتوش فقط\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonLinux\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonLinux\",\"text\":\"انظمة غير نظام لينكس فقط\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonMac\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonMac\",\"text\":\"انظمة غير نظام ماكنتوش فقط\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonWindows\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonWindows\",\"text\":\"انظمة غير نظام ويندوز فقط\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Windows\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Windows\",\"text\":\"نظام ويندوز فقط\"},\"$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint\",\"text\":\"إزالة اختصار لوحة المفاتيح\"},\"$:/language/ControlPanel/LoadedModules/Caption\":{\"title\":\"$:/language/ControlPanel/LoadedModules/Caption\",\"text\":\"الوحدات المحملة\"},\"$:/language/ControlPanel/LoadedModules/Hint\":{\"title\":\"$:/language/ControlPanel/LoadedModules/Hint\",\"text\":\"هذ هي وحدات التدلرز المحملة حاليا والمرتبطة بتدلرز مصدرية. تفتقر أي وحدات بتنسيق مائل إلى تدلر مصدري ، عادة لأن إعدادها تم أثناء عملية التمهيد.\"},\"$:/language/ControlPanel/Palette/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Caption\",\"text\":\"نظام الألوان\"},\"$:/language/ControlPanel/Palette/Editor/Clone/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Clone/Caption\",\"text\":\"استنساخ\"},\"$:/language/ControlPanel/Palette/Editor/Clone/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Clone/Prompt\",\"text\":\"من المستحسن أن تنسخ نظام ألوان الظل هذه قبل تحريره\"},\"$:/language/ControlPanel/Palette/Editor/Delete/Hint\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Delete/Hint\",\"text\":\"حذف هذا الإدخال من نظام الألوان\"},\"$:/language/ControlPanel/Palette/Editor/Names/External/Show\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Names/External/Show\",\"text\":\"إظهار أسماء الألوان التي ليست جزءًا من نظام الألوان الحالي\"},\"$:/language/ControlPanel/Palette/Editor/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Prompt\",\"text\":\"التحرير\"},\"$:/language/ControlPanel/Palette/Editor/Prompt/Modified\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Prompt/Modified\",\"text\":\"تم تعديل نظام ألوان الظل هذه\"},\"$:/language/ControlPanel/Palette/Editor/Reset/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Reset/Caption\",\"text\":\"إعادة تعيين\"},\"$:/language/ControlPanel/Palette/HideEditor/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/HideEditor/Caption\",\"text\":\"إخفاء محرر\"},\"$:/language/ControlPanel/Palette/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Prompt\",\"text\":\"نظام الألوان الحالي:\"},\"$:/language/ControlPanel/Palette/ShowEditor/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/ShowEditor/Caption\",\"text\":\"إظهار محرر\"},\"$:/language/ControlPanel/Parsing/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Caption\",\"text\":\"التحليل النحوي\"},\"$:/language/ControlPanel/Parsing/Hint\":{\"title\":\"$:/language/ControlPanel/Parsing/Hint\",\"text\":\"هنا يمكنك تعطيل / تمكين قواعد محلل ويكي النحوي. لكي تدخل التغييرات حيز التنفيذ ، احفظ موقع الويكي وأعد تحميله. يمكن أن يمنع تعطيل بعض قواعد المحلل النحوي \u003C$text text=\\\"تدلي ويكي\\\"/> من العمل بشكل صحيح. استخدم [[الوضع الآمن | https: //tiddlywiki.com/#SafeMode]] لاستعادة التشغيل العادي.\"},\"$:/language/ControlPanel/Plugins/Add/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Add/Caption\",\"text\":\"احصل على المزيد من البرامج المساعدة\"},\"$:/language/ControlPanel/Plugins/Add/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Add/Hint\",\"text\":\"تثبيت البرامج المساعدة من المكتبة الرسمية\"},\"$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint\",\"text\":\"هذا البرنامج المساعد مثبت بالفعل في الإصدار\"},\"$:/language/ControlPanel/Plugins/AlsoRequires\":{\"title\":\"$:/language/ControlPanel/Plugins/AlsoRequires\",\"text\":\"يتطلب أيضًا:\"},\"$:/language/ControlPanel/Plugins/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Caption\",\"text\":\"البرامج المساعدة\"},\"$:/language/ControlPanel/Plugins/ClosePluginLibrary\":{\"title\":\"$:/language/ControlPanel/Plugins/ClosePluginLibrary\",\"text\":\"إغلاق مكتبة البرنامج المساعد\"},\"$:/language/ControlPanel/Plugins/Disable/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Disable/Caption\",\"text\":\"تعطيل\"},\"$:/language/ControlPanel/Plugins/Disable/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Disable/Hint\",\"text\":\"قم بتعطيل هذا البرنامج المساعد عند إعادة تحميل الصفحة\"},\"$:/language/ControlPanel/Plugins/Disabled/Status\":{\"title\":\"$:/language/ControlPanel/Plugins/Disabled/Status\",\"text\":\"(معطل)\"},\"$:/language/ControlPanel/Plugins/Downgrade/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Downgrade/Caption\",\"text\":\"تخفيض\"},\"$:/language/ControlPanel/Plugins/Empty/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Empty/Hint\",\"text\":\"لا يوجد\"},\"$:/language/ControlPanel/Plugins/Enable/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Enable/Caption\",\"text\":\"مَكن\"},\"$:/language/ControlPanel/Plugins/Enable/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Enable/Hint\",\"text\":\"تمكين هذا البرنامج المساعد عند إعادة تحميل الصفحة\"},\"$:/language/ControlPanel/Plugins/Install/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Install/Caption\",\"text\":\"تثبيت\"},\"$:/language/ControlPanel/Plugins/Installed/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Installed/Hint\",\"text\":\"البرنامج المساعد المثبتة حاليًا:\"},\"$:/language/ControlPanel/Plugins/Languages/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Languages/Caption\",\"text\":\"اللغات\"},\"$:/language/ControlPanel/Plugins/Languages/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Languages/Hint\",\"text\":\"برامج مساعدة (حزم لغوية)\"},\"$:/language/ControlPanel/Plugins/NotInstalled/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/NotInstalled/Hint\",\"text\":\"هذا البرنامج المساعد غير مثبت حاليا\"},\"$:/language/ControlPanel/Plugins/OpenPluginLibrary\":{\"title\":\"$:/language/ControlPanel/Plugins/OpenPluginLibrary\",\"text\":\"فتح مكتبة البرنامج المساعد\"},\"$:/language/ControlPanel/Plugins/Plugins/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Plugins/Caption\",\"text\":\"البرامج المساعدة\"},\"$:/language/ControlPanel/Plugins/Plugins/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Plugins/Hint\",\"text\":\"البرامج المساعدة\"},\"$:/language/ControlPanel/Plugins/PluginWillRequireReload\":{\"title\":\"$:/language/ControlPanel/Plugins/PluginWillRequireReload\",\"text\":\"(يتطلب إعادة التحميل)\"},\"$:/language/ControlPanel/Plugins/Reinstall/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Reinstall/Caption\",\"text\":\"إعادة تثبيت\"},\"$:/language/ControlPanel/Plugins/Themes/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Themes/Caption\",\"text\":\"ثيمات\"},\"$:/language/ControlPanel/Plugins/Themes/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Themes/Hint\",\"text\":\"برامج مساعدة (ثيمات)\"},\"$:/language/ControlPanel/Plugins/Update/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Update/Caption\",\"text\":\"تحديث\"},\"$:/language/ControlPanel/Plugins/Updates/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/Caption\",\"text\":\"التحديثات\"},\"$:/language/ControlPanel/Plugins/Updates/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/Hint\",\"text\":\"التحديثات المتاحة للمكونات الإضافية المثبتة\"},\"$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption\",\"text\":\"تحديث \u003C\u003Cupdate-count>> برامج المساعدة\"},\"$:/language/ControlPanel/Saving/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/Caption\",\"text\":\"حفظ\"},\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Description\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Description\",\"text\":\"السماح بالحفظ التلقائي لحافظ التنزيل\"},\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Hint\",\"text\":\"تمكين الحفظ التلقائي لحافظ التنزيل\"},\"$:/language/ControlPanel/Saving/DownloadSaver/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/Caption\",\"text\":\"حافظ التنزيل\"},\"$:/language/ControlPanel/Saving/DownloadSaver/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/Hint\",\"text\":\"تنطبق هذه الإعدادات على خادم التنزيل المتوافق مع HTML5\"},\"$:/language/ControlPanel/Saving/General/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/General/Caption\",\"text\":\"عام\"},\"$:/language/ControlPanel/Saving/General/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/General/Hint\",\"text\":\"تنطبق هذه الإعدادات على جميع الخوادم المحملة\"},\"$:/language/ControlPanel/Saving/GitService/Branch\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Branch\",\"text\":\"الفرع المستهدف للحفظ\"},\"$:/language/ControlPanel/Saving/GitService/CommitMessage\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/CommitMessage\",\"text\":\"حفظ بواسطة تدلي ويكي\"},\"$:/language/ControlPanel/Saving/GitService/Description\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Description\",\"text\":\"تُستخدم هذه الإعدادات فقط عند الحفظ في \u003C\u003Cservice-name>>\"},\"$:/language/ControlPanel/Saving/GitService/Filename\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Filename\",\"text\":\"اسم الملف الهدف (مثال `index.html`)\"},\"$:/language/ControlPanel/Saving/GitService/Gitea/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Gitea/Caption\",\"text\":\"حافظ جت تي\"},\"$:/language/ControlPanel/Saving/GitService/Gitea/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Gitea/Password\",\"text\":\"رمز الوصول الشخصي لواجهة برمجة التطبيقات (عبر واجهة الويب لـ Gitea: `الإعدادات | التطبيقات | إنشاء رمز جديد`)\"},\"$:/language/ControlPanel/Saving/GitService/GitHub/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitHub/Caption\",\"text\":\"حافظ جت هب\"},\"$:/language/ControlPanel/Saving/GitService/GitHub/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitHub/Password\",\"text\":\"كلمة المرور أو رمز OAUTH أو رمز الوصول الشخصي (انظر [[صفحة مساعدة GitHub | https: //help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line]] للتفاصيل)\"},\"$:/language/ControlPanel/Saving/GitService/GitLab/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitLab/Caption\",\"text\":\"حافظ جت لاب\"},\"$:/language/ControlPanel/Saving/GitService/GitLab/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitLab/Password\",\"text\":\"رمز الدخول الشخصي لواجهة برمجة التطبيقات (انظر [[صفحة مساعدة GitLab | https: //docs.gitlab.com/ee/user/profile/personal_access_tokens.html]] للحصول على التفاصيل)\"},\"$:/language/ControlPanel/Saving/GitService/Path\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Path\",\"text\":\"مسار الملف المستهدف (مثال `/wiki/`)\"},\"$:/language/ControlPanel/Saving/GitService/Repo\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Repo\",\"text\":\"المستودع الهدف (مثال `Jermolene/TiddlyWiki5`)\"},\"$:/language/ControlPanel/Saving/GitService/ServerURL\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/ServerURL\",\"text\":\"عنوان URL لواجهة برمجة تطبيقات الخادم\"},\"$:/language/ControlPanel/Saving/GitService/UserName\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/UserName\",\"text\":\"إسم المستخدم\"},\"$:/language/ControlPanel/Saving/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/Hint\",\"text\":\"الإعدادات المستخدمة لحفظ تدلي ويكي بالكامل كملف واحد عبر وحدة خادم\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading\",\"text\":\"إعدادات متقدمة\"},\"$:/language/ControlPanel/Saving/TiddlySpot/BackupDir\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/BackupDir\",\"text\":\"مجلد النسخة الاحتياطية\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Backups\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Backups\",\"text\":\"النسخ الاحتياطية\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Caption\",\"text\":\"حافظ تدلي سبوت\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Description\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Description\",\"text\":\"تُستخدم هذه الإعدادات فقط عند الحفظ في http://tiddlyspot.com أو خادم آخر مناسب\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Filename\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Filename\",\"text\":\"إسم ملف التحميل\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Password\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Password\",\"text\":\"كلمة المرور\"},\"$:/language/ControlPanel/Saving/TiddlySpot/UploadDir\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/UploadDir\",\"text\":\"مجلد التحميل\"},\"$:/language/ControlPanel/Saving/TiddlySpot/UserName\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/UserName\",\"text\":\"إسم الويكي\"},\"$:/language/ControlPanel/Settings/AutoSave/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Caption\",\"text\":\"حفظ تلقائي\"},\"$:/language/ControlPanel/Settings/AutoSave/Disabled/Description\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Disabled/Description\",\"text\":\"لا تقم بحفظ التغييرات تلقائيًا\"},\"$:/language/ControlPanel/Settings/AutoSave/Enabled/Description\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Enabled/Description\",\"text\":\"إحفظ التغييرات تلقائيًا\"},\"$:/language/ControlPanel/Settings/CamelCase/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Caption\",\"text\":\"روابط ويكي بنمط كاميلكيس\"},\"$:/language/ControlPanel/Settings/CamelCase/Description\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Description\",\"text\":\"تفعيل الربط التلقائي لعبارات كاميلكيس\"},\"$:/language/ControlPanel/Settings/CamelCase/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Hint\",\"text\":\"يمكنك تعطيل الربط التلقائي لعبارات كاميلكيس بشكل عام. يتطلب إعادة التحميل لتصبح نافذة المفعول\"},\"$:/language/ControlPanel/Settings/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/Caption\",\"text\":\"الإعدادات\"},\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption\",\"text\":\"القيمة الافتراضية للتبويب \\\"مزيد\\\" في الشريط الجانبي\"},\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Hint\",\"text\":\"حدد أي قيمة في التبويب \\\"مزيد\\\" سيتم عرضها بشكل افتراضي من الشريط الجانبي\"},\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption\",\"text\":\"التبويب الافتراضي في الشريط الجانبي\"},\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Hint\",\"text\":\"حدد أي تبويب سيتم عرضه بشكل افتراضي في الشريط الجانبي\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Caption\",\"text\":\"شريط أدوات المحرر\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Description\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Description\",\"text\":\"أظهر شريط أدوات المحرر\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Hint\",\"text\":\"تمكين أو تعطيل شريط أدوات المحرر:\"},\"$:/language/ControlPanel/Settings/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/Hint\",\"text\":\"تتيح لك هذه الإعدادات تخصيص سلوك تدلي ويكي.\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Caption\",\"text\":\"وضع لوحة معلومات تدلر\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Hint\",\"text\":\"تحديد أي ظرف يتم فيه إغلاق لوحة معلومات\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Popup/Description\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Popup/Description\",\"text\":\"يتم إغلاق لوحة معلومات تدلر تلقائيًا\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Sticky/Description\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Sticky/Description\",\"text\":\"تظل لوحة معلومات تدلر مفتوحة حتى يتم إغلاقها\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/Caption\",\"text\":\"سلوك عملية فتح تدلر\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/InsideRiver/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/InsideRiver/Hint\",\"text\":\"التقل من // داخل // مسار القصة\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAbove\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAbove\",\"text\":\"فتح فوق التدلر الحالي\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtBottom\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtBottom\",\"text\":\"فتح في الجزء السفلي من مسار القصة\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtTop\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtTop\",\"text\":\"فتح في الجزء العلوي من مسار القصة\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenBelow\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenBelow\",\"text\":\"فتح أسفل التدلر الحالي\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OutsideRiver/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OutsideRiver/Hint\",\"text\":\"التقل من // خارج // مسار القصة\"},\"$:/language/ControlPanel/Settings/MissingLinks/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Caption\",\"text\":\"روابط ويكي\"},\"$:/language/ControlPanel/Settings/MissingLinks/Description\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Description\",\"text\":\"تمكين الارتباط بتلرز مفقودة\"},\"$:/language/ControlPanel/Settings/MissingLinks/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Hint\",\"text\":\"اختيار إمكانية الارتباط بتدلرز غير موجودين بعد\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Caption\",\"text\":\"شريط عنوان التنقل\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Hint\",\"text\":\"سلوك شريط عنوان المتصفح عند الانتقال إلى تدلر\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description\",\"text\":\"لا تقم بتحديث شريط العنوان\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description\",\"text\":\"قم بتضمين التدلر المستهدف\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description\",\"text\":\"قم بتضمين التدلر المستهدف وتسلسل القصة الحالي\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Caption\",\"text\":\"محفوظات التنقل\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Hint\",\"text\":\"تحديث محفوظات المتصفح عند الانتقال إلى تدلر:\"},\"$:/language/ControlPanel/Settings/NavigationHistory/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/No/Description\",\"text\":\"لا تقم بتحديث محفوظات المتصفح\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description\",\"text\":\"حدث محفوظات المتصفح\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption\",\"text\":\"رابط مباشر/ وضع العرض المباشر\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/CopyToClipboard/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/CopyToClipboard/Description\",\"text\":\"انسخ الرابط المباشر/ رابط العرض المباشر إلى الكليب-بورد\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Hint\",\"text\":\"اختر كيفية معالجة الرابط المباشر/ العرض المباشر:\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description\",\"text\":\"تحديث شريط العنوان باستخدام الرابط المباشر/ رابط العرض المباشر\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption\",\"text\":\"قياس الأداء\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Description\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Description\",\"text\":\"تمكين قياس الأداء\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Hint\",\"text\":\"يعرض إحصائيات الأداء في وحدة تحكم مطور المتصفح. يتطلب إعادة التحميل لتصبح نافذة المفعول\"},\"$:/language/ControlPanel/Settings/TitleLinks/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Caption\",\"text\":\"عناوين التدلرز\"},\"$:/language/ControlPanel/Settings/TitleLinks/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Hint\",\"text\":\"عرض عناوين التدلرز بشكل اختياري كروابط\"},\"$:/language/ControlPanel/Settings/TitleLinks/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/No/Description\",\"text\":\"لا تعرض عناوين التدلرز كروابط\"},\"$:/language/ControlPanel/Settings/TitleLinks/Yes/Description\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Yes/Description\",\"text\":\"عرض عناوين التدلرز كروابط\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Caption\",\"text\":\"أزرار شريط الأدوات\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Hint\",\"text\":\"مظهر زر شريط الأدوات الافتراضي:\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description\",\"text\":\"إدراج أيقونة\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description\",\"text\":\"إدراج نص\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption\",\"text\":\"نمط زر شريط الأدوات\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Hint\",\"text\":\"اختر نمط أزرار شريط الأدوات:\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless\",\"text\":\"بلا حدود\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed\",\"text\":\"وضع في صندوق\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded\",\"text\":\"وضع في دائرة\"},\"$:/language/ControlPanel/StoryView/Caption\":{\"title\":\"$:/language/ControlPanel/StoryView/Caption\",\"text\":\"عرض القصة\"},\"$:/language/ControlPanel/StoryView/Prompt\":{\"title\":\"$:/language/ControlPanel/StoryView/Prompt\",\"text\":\"العرض الحالي:\"},\"$:/language/ControlPanel/Stylesheets/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Caption\",\"text\":\"ستايل شيتس\"},\"$:/language/ControlPanel/Stylesheets/Expand/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Expand/Caption\",\"text\":\"توسيع الكل\"},\"$:/language/ControlPanel/Stylesheets/Hint\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Hint\",\"text\":\"هـذه قائمة من ستايل شيت تدلرز فعالة وموسومة بـ \u003C\u003Ctag \\\"$:/tags/Stylesheet\\\">>\"},\"$:/language/ControlPanel/Stylesheets/Restore/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Restore/Caption\",\"text\":\"استعادة\"},\"$:/language/ControlPanel/Theme/Caption\":{\"title\":\"$:/language/ControlPanel/Theme/Caption\",\"text\":\"ثيم\"},\"$:/language/ControlPanel/Theme/Prompt\":{\"title\":\"$:/language/ControlPanel/Theme/Prompt\",\"text\":\"الثيم الحالي:\"},\"$:/language/ControlPanel/TiddlerFields/Caption\":{\"title\":\"$:/language/ControlPanel/TiddlerFields/Caption\",\"text\":\"حقول التدلر\"},\"$:/language/ControlPanel/TiddlerFields/Hint\":{\"title\":\"$:/language/ControlPanel/TiddlerFields/Hint\",\"text\":\"هذه هي المجموعة الكاملة من حقول التدلرز المستخدمة في هذا الويكي (بما في ذلك تدلرز النظام ولكن باستثناء تدلرز الظل).\"},\"$:/language/ControlPanel/Toolbars/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/Caption\",\"text\":\"أشرطة الأدوات\"},\"$:/language/ControlPanel/Toolbars/EditorToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditorToolbar/Caption\",\"text\":\"شريط أدوات المحرر\"},\"$:/language/ControlPanel/Toolbars/EditorToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditorToolbar/Hint\",\"text\":\"اختر الأزرار التي يتم عرضها في شريط أدوات المحرر. لاحظ أن بعض الأزرار ستظهر فقط عند تحرير التدلرز من نوع معين. اسحب وأفلت لتغيير الترتيب\"},\"$:/language/ControlPanel/Toolbars/EditToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditToolbar/Caption\",\"text\":\"شريط الأدوات التحرير\"},\"$:/language/ControlPanel/Toolbars/EditToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditToolbar/Hint\",\"text\":\"اختر الأزرار التي يتم عرضها للتدلرز في وضع التحرير. اسحب وأفلت لتغيير الترتيب.\"},\"$:/language/ControlPanel/Toolbars/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/Hint\",\"text\":\"حدد أزرار شريط الأدوات التي يتم عرضها\"},\"$:/language/ControlPanel/Toolbars/PageControls/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/PageControls/Caption\",\"text\":\"شريط أدوات الصفحة\"},\"$:/language/ControlPanel/Toolbars/PageControls/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/PageControls/Hint\",\"text\":\"اختر الأزرار التي يتم عرضها على شريط أدوات الصفحة الرئيسية. اسحب وأفلت لتغيير الترتيب\"},\"$:/language/ControlPanel/Toolbars/ViewToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/ViewToolbar/Caption\",\"text\":\"شريط أدوات العرض\"},\"$:/language/ControlPanel/Toolbars/ViewToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/ViewToolbar/Hint\",\"text\":\"اختر الأزرار التي يتم عرضها للتدلرز في وضع العرض. اسحب وأفلت لتغيير الترتيب\"},\"$:/language/ControlPanel/Tools/Download/Full/Caption\":{\"title\":\"$:/language/ControlPanel/Tools/Download/Full/Caption\",\"text\":\"تنزيل الويكي بشكل كامل\"},\"$:/core/readme\":{\"title\":\"$:/core/readme\",\"text\":\"يحتوي هذا البرنامج المساعد على مكونات تدلي ويكي الأساسية ، والتي تشمل:\\n\\n* وحدات كود جافا سكريبت\\n* الأيقونات\\n* النماذج المطلوبة لإنشاء واجهة مستخدم تدلي ويكي\\n* ترجمات اللغة العربية الفلسطينية (\\\"ar-PS\\\") للأسطر التي يمكن ترجمتها وجعلها محلية والمستخدمة بهذه الوحدة المركزية\"},\"$:/language/Date/DaySuffix/1\":{\"title\":\"$:/language/Date/DaySuffix/1\",\"text\":\"\"},\"$:/language/Date/DaySuffix/10\":{\"title\":\"$:/language/Date/DaySuffix/10\",\"text\":\"\"},\"$:/language/Date/DaySuffix/11\":{\"title\":\"$:/language/Date/DaySuffix/11\",\"text\":\"\"},\"$:/language/Date/DaySuffix/12\":{\"title\":\"$:/language/Date/DaySuffix/12\",\"text\":\"\"},\"$:/language/Date/DaySuffix/13\":{\"title\":\"$:/language/Date/DaySuffix/13\",\"text\":\"\"},\"$:/language/Date/DaySuffix/14\":{\"title\":\"$:/language/Date/DaySuffix/14\",\"text\":\"\"},\"$:/language/Date/DaySuffix/15\":{\"title\":\"$:/language/Date/DaySuffix/15\",\"text\":\"\"},\"$:/language/Date/DaySuffix/16\":{\"title\":\"$:/language/Date/DaySuffix/16\",\"text\":\"\"},\"$:/language/Date/DaySuffix/17\":{\"title\":\"$:/language/Date/DaySuffix/17\",\"text\":\"\"},\"$:/language/Date/DaySuffix/18\":{\"title\":\"$:/language/Date/DaySuffix/18\",\"text\":\"\"},\"$:/language/Date/DaySuffix/19\":{\"title\":\"$:/language/Date/DaySuffix/19\",\"text\":\"\"},\"$:/language/Date/DaySuffix/2\":{\"title\":\"$:/language/Date/DaySuffix/2\",\"text\":\"\"},\"$:/language/Date/DaySuffix/20\":{\"title\":\"$:/language/Date/DaySuffix/20\",\"text\":\"\"},\"$:/language/Date/DaySuffix/21\":{\"title\":\"$:/language/Date/DaySuffix/21\",\"text\":\"\"},\"$:/language/Date/DaySuffix/22\":{\"title\":\"$:/language/Date/DaySuffix/22\",\"text\":\"\"},\"$:/language/Date/DaySuffix/23\":{\"title\":\"$:/language/Date/DaySuffix/23\",\"text\":\"\"},\"$:/language/Date/DaySuffix/24\":{\"title\":\"$:/language/Date/DaySuffix/24\",\"text\":\"\"},\"$:/language/Date/DaySuffix/25\":{\"title\":\"$:/language/Date/DaySuffix/25\",\"text\":\"\"},\"$:/language/Date/DaySuffix/26\":{\"title\":\"$:/language/Date/DaySuffix/26\",\"text\":\"\"},\"$:/language/Date/DaySuffix/27\":{\"title\":\"$:/language/Date/DaySuffix/27\",\"text\":\"\"},\"$:/language/Date/DaySuffix/28\":{\"title\":\"$:/language/Date/DaySuffix/28\",\"text\":\"\"},\"$:/language/Date/DaySuffix/29\":{\"title\":\"$:/language/Date/DaySuffix/29\",\"text\":\"\"},\"$:/language/Date/DaySuffix/3\":{\"title\":\"$:/language/Date/DaySuffix/3\",\"text\":\"\"},\"$:/language/Date/DaySuffix/30\":{\"title\":\"$:/language/Date/DaySuffix/30\",\"text\":\"\"},\"$:/language/Date/DaySuffix/31\":{\"title\":\"$:/language/Date/DaySuffix/31\",\"text\":\"\"},\"$:/language/Date/DaySuffix/4\":{\"title\":\"$:/language/Date/DaySuffix/4\",\"text\":\"\"},\"$:/language/Date/DaySuffix/5\":{\"title\":\"$:/language/Date/DaySuffix/5\",\"text\":\"\"},\"$:/language/Date/DaySuffix/6\":{\"title\":\"$:/language/Date/DaySuffix/6\",\"text\":\"\"},\"$:/language/Date/DaySuffix/7\":{\"title\":\"$:/language/Date/DaySuffix/7\",\"text\":\"\"},\"$:/language/Date/DaySuffix/8\":{\"title\":\"$:/language/Date/DaySuffix/8\",\"text\":\"\"},\"$:/language/Date/DaySuffix/9\":{\"title\":\"$:/language/Date/DaySuffix/9\",\"text\":\"\"},\"$:/language/Date/Long/Day/0\":{\"title\":\"$:/language/Date/Long/Day/0\",\"text\":\"الأحد\"},\"$:/language/Date/Long/Day/1\":{\"title\":\"$:/language/Date/Long/Day/1\",\"text\":\"الإثنين\"},\"$:/language/Date/Long/Day/2\":{\"title\":\"$:/language/Date/Long/Day/2\",\"text\":\"الثلاثاء\"},\"$:/language/Date/Long/Day/3\":{\"title\":\"$:/language/Date/Long/Day/3\",\"text\":\"الأربعاء\"},\"$:/language/Date/Long/Day/4\":{\"title\":\"$:/language/Date/Long/Day/4\",\"text\":\"الخميس\"},\"$:/language/Date/Long/Day/5\":{\"title\":\"$:/language/Date/Long/Day/5\",\"text\":\"الجمعة\"},\"$:/language/Date/Long/Day/6\":{\"title\":\"$:/language/Date/Long/Day/6\",\"text\":\"السبت\"},\"$:/language/Date/Long/Month/1\":{\"title\":\"$:/language/Date/Long/Month/1\",\"text\":\"كانون الثاني\"},\"$:/language/Date/Long/Month/10\":{\"title\":\"$:/language/Date/Long/Month/10\",\"text\":\"تشرين الأول\"},\"$:/language/Date/Long/Month/11\":{\"title\":\"$:/language/Date/Long/Month/11\",\"text\":\"تشرين الثاني\"},\"$:/language/Date/Long/Month/12\":{\"title\":\"$:/language/Date/Long/Month/12\",\"text\":\"كانون الأول\"},\"$:/language/Date/Long/Month/2\":{\"title\":\"$:/language/Date/Long/Month/2\",\"text\":\"شباط\"},\"$:/language/Date/Long/Month/3\":{\"title\":\"$:/language/Date/Long/Month/3\",\"text\":\"أذار\"},\"$:/language/Date/Long/Month/4\":{\"title\":\"$:/language/Date/Long/Month/4\",\"text\":\"نيسان\"},\"$:/language/Date/Long/Month/5\":{\"title\":\"$:/language/Date/Long/Month/5\",\"text\":\"أيار\"},\"$:/language/Date/Long/Month/6\":{\"title\":\"$:/language/Date/Long/Month/6\",\"text\":\"حزيران\"},\"$:/language/Date/Long/Month/7\":{\"title\":\"$:/language/Date/Long/Month/7\",\"text\":\"تموز\"},\"$:/language/Date/Long/Month/8\":{\"title\":\"$:/language/Date/Long/Month/8\",\"text\":\"آب\"},\"$:/language/Date/Long/Month/9\":{\"title\":\"$:/language/Date/Long/Month/9\",\"text\":\"أيلول\"},\"$:/language/Date/Period/am\":{\"title\":\"$:/language/Date/Period/am\",\"text\":\"ًصباحا\"},\"$:/language/Date/Period/pm\":{\"title\":\"$:/language/Date/Period/pm\",\"text\":\"مساءاً\"},\"$:/language/Date/Short/Day/0\":{\"title\":\"$:/language/Date/Short/Day/0\",\"text\":\"الأحد\"},\"$:/language/Date/Short/Day/1\":{\"title\":\"$:/language/Date/Short/Day/1\",\"text\":\"الإثنين\"},\"$:/language/Date/Short/Day/2\":{\"title\":\"$:/language/Date/Short/Day/2\",\"text\":\"الثلاثاء\"},\"$:/language/Date/Short/Day/3\":{\"title\":\"$:/language/Date/Short/Day/3\",\"text\":\"الأربعاء\"},\"$:/language/Date/Short/Day/4\":{\"title\":\"$:/language/Date/Short/Day/4\",\"text\":\"الخميس\"},\"$:/language/Date/Short/Day/5\":{\"title\":\"$:/language/Date/Short/Day/5\",\"text\":\"الجمعة\"},\"$:/language/Date/Short/Day/6\":{\"title\":\"$:/language/Date/Short/Day/6\",\"text\":\"السبت\"},\"$:/language/Date/Short/Month/1\":{\"title\":\"$:/language/Date/Short/Month/1\",\"text\":\"كانون الثاني\"},\"$:/language/Date/Short/Month/10\":{\"title\":\"$:/language/Date/Short/Month/10\",\"text\":\"تشرين الأول\"},\"$:/language/Date/Short/Month/11\":{\"title\":\"$:/language/Date/Short/Month/11\",\"text\":\"تشرين الثاني\"},\"$:/language/Date/Short/Month/12\":{\"title\":\"$:/language/Date/Short/Month/12\",\"text\":\"كانون الأول\"},\"$:/language/Date/Short/Month/2\":{\"title\":\"$:/language/Date/Short/Month/2\",\"text\":\"شباط\"},\"$:/language/Date/Short/Month/3\":{\"title\":\"$:/language/Date/Short/Month/3\",\"text\":\"أذار\"},\"$:/language/Date/Short/Month/4\":{\"title\":\"$:/language/Date/Short/Month/4\",\"text\":\"نيسان\"},\"$:/language/Date/Short/Month/5\":{\"title\":\"$:/language/Date/Short/Month/5\",\"text\":\"أيار\"},\"$:/language/Date/Short/Month/6\":{\"title\":\"$:/language/Date/Short/Month/6\",\"text\":\"حزيران\"},\"$:/language/Date/Short/Month/7\":{\"title\":\"$:/language/Date/Short/Month/7\",\"text\":\"تموز\"},\"$:/language/Date/Short/Month/8\":{\"title\":\"$:/language/Date/Short/Month/8\",\"text\":\"آب\"},\"$:/language/Date/Short/Month/9\":{\"title\":\"$:/language/Date/Short/Month/9\",\"text\":\"أيلول\"},\"$:/language/RelativeDate/Future/Days\":{\"title\":\"$:/language/RelativeDate/Future/Days\",\"text\":\"\u003C\u003Cperiod>> بعد أيام من الآن\"},\"$:/language/RelativeDate/Future/Hours\":{\"title\":\"$:/language/RelativeDate/Future/Hours\",\"text\":\"\u003C\u003Cperiod>> ساعات من الآن\"},\"$:/language/RelativeDate/Future/Minutes\":{\"title\":\"$:/language/RelativeDate/Future/Minutes\",\"text\":\"\u003C\u003Cperiod>> دقائق من الآن\"},\"$:/language/RelativeDate/Future/Months\":{\"title\":\"$:/language/RelativeDate/Future/Months\",\"text\":\"\u003C\u003Cperiod>> بعد أشهر من الآن\"},\"$:/language/RelativeDate/Future/Second\":{\"title\":\"$:/language/RelativeDate/Future/Second\",\"text\":\"ثانية واحدة من الآن\"},\"$:/language/RelativeDate/Future/Seconds\":{\"title\":\"$:/language/RelativeDate/Future/Seconds\",\"text\":\"\u003C\u003Cperiod>> ثواني من الآن\"},\"$:/language/RelativeDate/Future/Years\":{\"title\":\"$:/language/RelativeDate/Future/Years\",\"text\":\"\u003C\u003Cperiod>> سنوات من الآن\"},\"$:/language/RelativeDate/Past/Days\":{\"title\":\"$:/language/RelativeDate/Past/Days\",\"text\":\"\u003C\u003Cperiod>> أيام مضت\"},\"$:/language/RelativeDate/Past/Hours\":{\"title\":\"$:/language/RelativeDate/Past/Hours\",\"text\":\"\u003C\u003Cperiod>> منذ ساعات\"},\"$:/language/RelativeDate/Past/Minutes\":{\"title\":\"$:/language/RelativeDate/Past/Minutes\",\"text\":\"\u003C\u003Cperiod>> دقائق مضت\"},\"$:/language/RelativeDate/Past/Months\":{\"title\":\"$:/language/RelativeDate/Past/Months\",\"text\":\"\u003C\u003Cperiod>> منذ اشهر\"},\"$:/language/RelativeDate/Past/Second\":{\"title\":\"$:/language/RelativeDate/Past/Second\",\"text\":\"منذ ثانية واحدة\"},\"$:/language/RelativeDate/Past/Seconds\":{\"title\":\"$:/language/RelativeDate/Past/Seconds\",\"text\":\"\u003C\u003Cperiod>> منذ ثوانى\"},\"$:/language/RelativeDate/Past/Years\":{\"title\":\"$:/language/RelativeDate/Past/Years\",\"text\":\"\u003C\u003Cperiod>> سنين مضت\"},\"$:/language/EditTemplate/Body/External/Hint\":{\"title\":\"$:/language/EditTemplate/Body/External/Hint\",\"text\":\"يعرض هذا التدلر محتوى مخزن خارج ملف تدلي ويكي الرئيسي. يمكنك تحرير الوسوم والحقول ولكن لا يمكنك تحرير المحتوى نفسه مباشرة\"},\"$:/language/EditTemplate/Body/Placeholder\":{\"title\":\"$:/language/EditTemplate/Body/Placeholder\",\"text\":\"اكتب النص لهذا التدلر\"},\"$:/language/EditTemplate/Body/Preview/Type/Output\":{\"title\":\"$:/language/EditTemplate/Body/Preview/Type/Output\",\"text\":\"output\"},\"$:/language/EditTemplate/Field/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Field/Dropdown/Caption\",\"text\":\"قائمة الحقول\"},\"$:/language/EditTemplate/Fields/Add/Button\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Button\",\"text\":\"أضف\"},\"$:/language/EditTemplate/Fields/Add/Button/Hint\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Button/Hint\",\"text\":\"أضف الحقل الجديد إلى التدلر\"},\"$:/language/EditTemplate/Fields/Add/Dropdown/System\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Dropdown/System\",\"text\":\"حقول النظام\"},\"$:/language/EditTemplate/Fields/Add/Dropdown/User\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Dropdown/User\",\"text\":\"حقول المستخدم\"},\"$:/language/EditTemplate/Fields/Add/Name/Placeholder\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Name/Placeholder\",\"text\":\"اسم الحقل\"},\"$:/language/EditTemplate/Fields/Add/Prompt\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Prompt\",\"text\":\"أضف حقل جديد:\"},\"$:/language/EditTemplate/Fields/Add/Value/Placeholder\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Value/Placeholder\",\"text\":\"قيمة الحقل\"},\"$:/language/EditTemplate/Tags/Add/Button\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Button\",\"text\":\"أضف\"},\"$:/language/EditTemplate/Tags/Add/Button/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Button/Hint\",\"text\":\"أضف وسما\"},\"$:/language/EditTemplate/Tags/Add/Placeholder\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Placeholder\",\"text\":\"إسم الوسم\"},\"$:/language/EditTemplate/Tags/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Tags/Dropdown/Caption\",\"text\":\"قائمة وسوم\"},\"$:/language/EditTemplate/Tags/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/Dropdown/Hint\",\"text\":\"إظهار قائمة الوسوم\"},\"$:/language/EditTemplate/Title/Exists/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/Exists/Prompt\",\"text\":\"التدلر المستهدف موجود بالفعل\"},\"$:/language/EditTemplate/Type/Delete/Caption\":{\"title\":\"$:/language/EditTemplate/Type/Delete/Caption\",\"text\":\"حذف نوع المحتوى\"},\"$:/language/EditTemplate/Type/Delete/Hint\":{\"title\":\"$:/language/EditTemplate/Type/Delete/Hint\",\"text\":\"حذف نوع المحتوى\"},\"$:/language/EditTemplate/Type/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Type/Dropdown/Caption\",\"text\":\"قائمة أنواع المحتوى\"},\"$:/language/EditTemplate/Type/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Type/Dropdown/Hint\",\"text\":\"إظهار قائمة أنواع المحتوى\"},\"$:/language/EditTemplate/Type/Placeholder\":{\"title\":\"$:/language/EditTemplate/Type/Placeholder\",\"text\":\"نوع المحتوى\"},\"$:/language/EditTemplate/Type/Prompt\":{\"title\":\"$:/language/EditTemplate/Type/Prompt\",\"text\":\"نوع:\"},\"$:/language/Exporters/CsvFile\":{\"title\":\"$:/language/Exporters/CsvFile\",\"text\":\"ملف CSV\"},\"$:/language/Exporters/JsonFile\":{\"title\":\"$:/language/Exporters/JsonFile\",\"text\":\"ملف JSON\"},\"$:/language/Exporters/TidFile\":{\"title\":\"$:/language/Exporters/TidFile\",\"text\":\"ملف \\\".tid\\\"\"},\"GettingStarted\":{\"title\":\"GettingStarted\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Basics/\\nمرحبًا بك في تدلي ويكي ومجتمع تدلي ويكي\\n\\nقبل البدء في تخزين المعلومات المهمة في تدلي ويكي ، من الضروري التأكد من أنه يمكنك حفظ التغييرات بشكل موثوق. راجع https://tiddlywiki.com/#GettingStarted للحصول على التفاصيل\\n\\nقم بإعداد هذا التدلي ويكي !!\\n\\n\u003Cdiv class=\\\"tc-control-panel\\\">\\n\\n|\u003C$link to=\\\"$:/SiteTitle\\\">\u003C\u003Clingo Title/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/SiteTitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/SiteSubtitle\\\">\u003C\u003Clingo Subtitle/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/SiteSubtitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/DefaultTiddlers\\\">\u003C\u003Clingo DefaultTiddlers/Prompt>>\u003C/$link> |\u003C\u003Clingo DefaultTiddlers/TopHint>>\u003Cbr> \u003C$edit tag=\\\"textarea\\\" tiddler=\\\"$:/DefaultTiddlers\\\"/>\u003Cbr>//\u003C\u003Clingo DefaultTiddlers/BottomHint>>// |\\n\u003C/div>\\n\\nSee the [[control panel|$:/ControlPanel]] for more options.\\n\"},\"$:/language/Import/Imported/Hint\":{\"title\":\"$:/language/Import/Imported/Hint\",\"text\":\"تم إستيراد التدلرز التالية:\"},\"$:/language/Import/Listing/Cancel/Caption\":{\"title\":\"$:/language/Import/Listing/Cancel/Caption\",\"text\":\"إلغاء\"},\"$:/language/Import/Listing/Hint\":{\"title\":\"$:/language/Import/Listing/Hint\",\"text\":\"هؤلاء التدلرز جاهزون للإستيراد:\"},\"$:/language/Import/Listing/Import/Caption\":{\"title\":\"$:/language/Import/Listing/Import/Caption\",\"text\":\"إستيراد\"},\"$:/language/Import/Listing/Preview\":{\"title\":\"$:/language/Import/Listing/Preview\",\"text\":\"معاينة:\"},\"$:/language/Import/Listing/Preview/Fields\":{\"title\":\"$:/language/Import/Listing/Preview/Fields\",\"text\":\"حقول\"},\"$:/language/Import/Listing/Preview/Text\":{\"title\":\"$:/language/Import/Listing/Preview/Text\",\"text\":\"Text\"},\"$:/language/Import/Listing/Select/Caption\":{\"title\":\"$:/language/Import/Listing/Select/Caption\",\"text\":\"إختيار\"},\"$:/language/Import/Listing/Status/Caption\":{\"title\":\"$:/language/Import/Listing/Status/Caption\",\"text\":\"الحالة\"},\"$:/language/Import/Listing/Title/Caption\":{\"title\":\"$:/language/Import/Listing/Title/Caption\",\"text\":\"العنوان\"},\"$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible\",\"text\":\"تم حظر مكون إضافي غير متوافق أو قديم\"},\"$:/language/Import/Upgrader/System/Alert\":{\"title\":\"$:/language/Import/Upgrader/System/Alert\",\"text\":\"أنت على وشك إدخال تدلر سيستبدال وحدة تدلر أساسية. لا يُنصح بذلك لأنه قد يجعل النظام غير مستقر\"},\"$:/language/Import/Upgrader/System/Suppressed\":{\"title\":\"$:/language/Import/Upgrader/System/Suppressed\",\"text\":\"Blocked system tiddler\"},\"$:/language/Import/Upgrader/System/Warning\":{\"title\":\"$:/language/Import/Upgrader/System/Warning\",\"text\":\"وحدة تدلر أساسية\"},\"$:/language/AboveStory/ClassicPlugin/Warning\":{\"title\":\"$:/language/AboveStory/ClassicPlugin/Warning\",\"text\":\"It looks like you are trying to load a plugin designed for ~TiddlyWiki Classic. Please note that [[these plugins do not work with TiddlyWiki version 5.x.x|https://tiddlywiki.com/#TiddlyWikiClassic]]. ~TiddlyWiki Classic plugins detected:\"},\"$:/language/BinaryWarning/Prompt\":{\"title\":\"$:/language/BinaryWarning/Prompt\",\"text\":\"يحتوي هذا التدلر على بيانات ثنائية\"},\"$:/language/ClassicWarning/Hint\":{\"title\":\"$:/language/ClassicWarning/Hint\",\"text\":\"تمت كتابة هذا التدلر بتنسيق الوكي النصي الخاص بتدلي ويكي الكلاسيكي ، وهو غير متوافق تمامًا مع الإصدار تدلي ويكي 5. راجع https://tiddlywiki.com/static/Upgrading.html لمزيد من التفاصيل.\"},\"$:/language/ClassicWarning/Upgrade/Caption\":{\"title\":\"$:/language/ClassicWarning/Upgrade/Caption\",\"text\":\"ترقية\"},\"$:/language/CloseAll/Button\":{\"title\":\"$:/language/CloseAll/Button\",\"text\":\"إغلاق الجميع\"},\"$:/language/ColourPicker/Recent\":{\"title\":\"$:/language/ColourPicker/Recent\",\"text\":\"حديث:\"},\"$:/language/ConfirmCancelTiddler\":{\"title\":\"$:/language/ConfirmCancelTiddler\",\"text\":\"هل ترغب في تجاهل التغييرات التي تم إجراؤها على التدلر \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmDeleteTiddler\":{\"title\":\"$:/language/ConfirmDeleteTiddler\",\"text\":\"هل ترغب في حذف التدلر\\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmOverwriteTiddler\":{\"title\":\"$:/language/ConfirmOverwriteTiddler\",\"text\":\"هل ترغب في استبدال التدلر \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/Count\":{\"title\":\"$:/language/Count\",\"text\":\"العد\"},\"$:/language/DefaultNewTiddlerTitle\":{\"title\":\"$:/language/DefaultNewTiddlerTitle\",\"text\":\"تدلر جديد\"},\"$:/language/Diffs/CountMessage\":{\"title\":\"$:/language/Diffs/CountMessage\",\"text\":\"\u003C\u003Cdiff-count>> إختلافات\"},\"$:/language/DropMessage\":{\"title\":\"$:/language/DropMessage\",\"text\":\"أفلت هنا (أو استخدم مفتاح \\\"Escape\\\" للإلغاء)\"},\"$:/language/Encryption/Cancel\":{\"title\":\"$:/language/Encryption/Cancel\",\"text\":\"إلغاء\"},\"$:/language/Encryption/ConfirmClearPassword\":{\"title\":\"$:/language/Encryption/ConfirmClearPassword\",\"text\":\"هل ترغب/ي في مسح كلمة المرور؟ سيؤدي هذا إلى إزالة التشفير المطبق عند حفظ هذا الويكي\"},\"$:/language/Encryption/Password\":{\"title\":\"$:/language/Encryption/Password\",\"text\":\"كلمة مرور\"},\"$:/language/Encryption/PasswordNoMatch\":{\"title\":\"$:/language/Encryption/PasswordNoMatch\",\"text\":\"كلمة المرور غير مطابقة\"},\"$:/language/Encryption/PromptSetPassword\":{\"title\":\"$:/language/Encryption/PromptSetPassword\",\"text\":\"قم بتعيين كلمة مرور جديدة لهذا التدلي ويكي\"},\"$:/language/Encryption/RepeatPassword\":{\"title\":\"$:/language/Encryption/RepeatPassword\",\"text\":\"كرر/ي كلمة السر\"},\"$:/language/Encryption/SetPassword\":{\"title\":\"$:/language/Encryption/SetPassword\",\"text\":\"ضبط كلمة السر\"},\"$:/language/Encryption/Username\":{\"title\":\"$:/language/Encryption/Username\",\"text\":\"اسم المستخدم\"},\"$:/language/Error/Caption\":{\"title\":\"$:/language/Error/Caption\",\"text\":\"خطأ\"},\"$:/language/Error/Filter\":{\"title\":\"$:/language/Error/Filter\",\"text\":\"خطأ في التصفية\"},\"$:/language/Error/FilterSyntax\":{\"title\":\"$:/language/Error/FilterSyntax\",\"text\":\"خطأ في بناء الجملة في تعبير عامل التصفية\"},\"$:/language/Error/IsFilterOperator\":{\"title\":\"$:/language/Error/IsFilterOperator\",\"text\":\"خطأ في التصفية: معامل غير معروف لعامل التصفية 'is'\"},\"$:/language/Error/LoadingPluginLibrary\":{\"title\":\"$:/language/Error/LoadingPluginLibrary\",\"text\":\"خطأ في تحميل مكتبة المكونات الإضافية\"},\"$:/language/Error/NetworkErrorAlert\":{\"title\":\"$:/language/Error/NetworkErrorAlert\",\"text\":\"`\u003Ch2>''خطأ في الشبكة''\u003C/h2> يبدو أن الاتصال بالخادم قد انقطع. قد يشير هذا إلى وجود مشكلة في اتصال الشبكة. يرجى محاولة استعادة اتصال الشبكة قبل المتابعة. \u003Cbr> \u003Cbr> '' ستتم مزامنة أي تغييرات غير محفوظة تلقائيًا عند استعادة الاتصال ''.\"},\"$:/language/Error/PutEditConflict\":{\"title\":\"$:/language/Error/PutEditConflict\",\"text\":\"تم تغيير الملف على الخادم\"},\"$:/language/Error/WhileSaving\":{\"title\":\"$:/language/Error/WhileSaving\",\"text\":\"حدث خطأ أثناء الحفظ\"},\"$:/language/InternalJavaScriptError/Hint\":{\"title\":\"$:/language/InternalJavaScriptError/Hint\",\"text\":\"حسنا، هذا أمر محرج. من المستحسن إعادة تشغيل تدلي ويكي عن طريق إنعاش المتصفح الخاص بك\"},\"$:/language/InternalJavaScriptError/Title\":{\"title\":\"$:/language/InternalJavaScriptError/Title\",\"text\":\"خطأ جافا سكربت داخلي\"},\"$:/language/LoginToTiddlySpace\":{\"title\":\"$:/language/LoginToTiddlySpace\",\"text\":\"تسجيل الدخول إلى تدلي سبيس\"},\"$:/language/Manager/Controls/FilterByTag/None\":{\"title\":\"$:/language/Manager/Controls/FilterByTag/None\",\"text\":\"(بلا)\"},\"$:/language/Manager/Controls/FilterByTag/Prompt\":{\"title\":\"$:/language/Manager/Controls/FilterByTag/Prompt\",\"text\":\"فلترة حسب الوسم:\"},\"$:/language/Manager/Controls/Order/Prompt\":{\"title\":\"$:/language/Manager/Controls/Order/Prompt\",\"text\":\"ترتيب عكسي\"},\"$:/language/Manager/Controls/Search/Placeholder\":{\"title\":\"$:/language/Manager/Controls/Search/Placeholder\",\"text\":\"بحث\"},\"$:/language/Manager/Controls/Search/Prompt\":{\"title\":\"$:/language/Manager/Controls/Search/Prompt\",\"text\":\"بحث:\"},\"$:/language/Manager/Controls/Show/Option/Tags\":{\"title\":\"$:/language/Manager/Controls/Show/Option/Tags\",\"text\":\"وسوم\"},\"$:/language/Manager/Controls/Show/Option/Tiddlers\":{\"title\":\"$:/language/Manager/Controls/Show/Option/Tiddlers\",\"text\":\"تدلرز\"},\"$:/language/Manager/Controls/Show/Prompt\":{\"title\":\"$:/language/Manager/Controls/Show/Prompt\",\"text\":\"إعرض:\"},\"$:/language/Manager/Controls/Sort/Prompt\":{\"title\":\"$:/language/Manager/Controls/Sort/Prompt\",\"text\":\"ترتيب حسب:\"},\"$:/language/Manager/Item/Colour\":{\"title\":\"$:/language/Manager/Item/Colour\",\"text\":\"لون\"},\"$:/language/Manager/Item/Fields\":{\"title\":\"$:/language/Manager/Item/Fields\",\"text\":\"حقول\"},\"$:/language/Manager/Item/Icon\":{\"title\":\"$:/language/Manager/Item/Icon\",\"text\":\"أيقونة\"},\"$:/language/Manager/Item/Icon/None\":{\"title\":\"$:/language/Manager/Item/Icon/None\",\"text\":\"(بلا)\"},\"$:/language/Manager/Item/RawText\":{\"title\":\"$:/language/Manager/Item/RawText\",\"text\":\"نص خام\"},\"$:/language/Manager/Item/Tags\":{\"title\":\"$:/language/Manager/Item/Tags\",\"text\":\"وسوم\"},\"$:/language/Manager/Item/Tools\":{\"title\":\"$:/language/Manager/Item/Tools\",\"text\":\"أدوات\"},\"$:/language/Manager/Item/WikifiedText\":{\"title\":\"$:/language/Manager/Item/WikifiedText\",\"text\":\"Wikified text\"},\"$:/language/No\":{\"title\":\"$:/language/No\",\"text\":\"لا\"},\"$:/language/OfficialPluginLibrary\":{\"title\":\"$:/language/OfficialPluginLibrary\",\"text\":\"المكتبة الرسمية للبرامج المساعدة لتدلي ويكي\"},\"$:/language/OfficialPluginLibrary/Hint\":{\"title\":\"$:/language/OfficialPluginLibrary/Hint\",\"text\":\"المكتبة الرسمية للبرامج المساعدة لتدلي ويكي على موقع tiddlywiki.com. يتم حفظ، متابعة وصيانة البرامج المساعدة والثيمات وحزم اللغات من قبل الفريق الأساسي.\"},\"$:/language/RecentChanges/DateFormat\":{\"title\":\"$:/language/RecentChanges/DateFormat\",\"text\":\"DD MMM YYYY\"},\"$:/language/SystemTiddler/Tooltip\":{\"title\":\"$:/language/SystemTiddler/Tooltip\",\"text\":\"هذا تدلر خاص بالنظام\"},\"$:/language/SystemTiddlers/Include/Prompt\":{\"title\":\"$:/language/SystemTiddlers/Include/Prompt\",\"text\":\"إعرض تدلرز النظام\"},\"$:/language/TagManager/Colour/Heading\":{\"title\":\"$:/language/TagManager/Colour/Heading\",\"text\":\"لون\"},\"$:/language/TagManager/Count/Heading\":{\"title\":\"$:/language/TagManager/Count/Heading\",\"text\":\"إحصاء\"},\"$:/language/TagManager/Icon/Heading\":{\"title\":\"$:/language/TagManager/Icon/Heading\",\"text\":\"أيقونة\"},\"$:/language/TagManager/Icons/None\":{\"title\":\"$:/language/TagManager/Icons/None\",\"text\":\"لا يوجد\"},\"$:/language/TagManager/Info/Heading\":{\"title\":\"$:/language/TagManager/Info/Heading\",\"text\":\"معلومات\"},\"$:/language/TagManager/Tag/Heading\":{\"title\":\"$:/language/TagManager/Tag/Heading\",\"text\":\"وسم\"},\"$:/language/Tiddler/DateFormat\":{\"title\":\"$:/language/Tiddler/DateFormat\",\"text\":\"DD MMM YYYY at hh12:0mmam\"},\"$:/language/UnsavedChangesWarning\":{\"title\":\"$:/language/UnsavedChangesWarning\",\"text\":\"لديك تغييرات غير محفوظة في تدلي ويكي\"},\"$:/language/Yes\":{\"title\":\"$:/language/Yes\",\"text\":\"نعم\"},\"$:/language/Modals/Download\":{\"title\":\"$:/language/Modals/Download\",\"type\":\"\",\"subtitle\":\"Download changes\",\"footer\":\"\u003C$button message=\\\"tm-close-tiddler\\\">Close\u003C/$button>\",\"help\":\"https://tiddlywiki.com/static/DownloadingChanges.html\",\"text\":\"متصفحك يدعم فقط الحفظ اليدوي.\\n\\nلحفظ ويكي المعدل ، انقر بزر الماوس الأيمن على رابط التنزيل أدناه واختر \\\"تنزيل ملف\\\" أو \\\"حفظ ملف\\\" ، ثم اختر المجلد واسم الملف.\\n\\n// يمكنك تسريع الأمور بشكل هامشي عن طريق النقر فوق الارتباط بمفتاح التحكم (Windows) أو مفتاح الخيارات / alt (Mac OS X). لن تتم مطالبتك بالمجلد أو اسم الملف ، ولكن من المحتمل أن يعطيه المستعرض اسمًا لا يمكن التعرف عليه - قد تحتاج إلى إعادة تسمية الملف لتضمين ملحق `.html` قبل أن تتمكن من القيام بأي شيء مفيد معه. //\\n\\nعلى الهواتف الذكية التي لا تسمح بتنزيل الملفات ، يمكنك بدلاً من ذلك وضع إشارة مرجعية على الرابط ، ثم مزامنة إشاراتك المرجعية مع كمبيوتر سطح المكتب حيث يمكن حفظ موقع wiki بشكل طبيعي.\"},\"$:/config/NewJournal/Tags\":{\"title\":\"$:/config/NewJournal/Tags\",\"text\":\"\"},\"$:/config/NewJournal/Title\":{\"title\":\"$:/config/NewJournal/Title\",\"text\":\"DD MMM YYYY\"},\"$:/language/Notifications/CopiedToClipboard/Failed\":{\"title\":\"$:/language/Notifications/CopiedToClipboard/Failed\",\"text\":\"فشل النسخ إلى الكليب-بورد!\"},\"$:/language/Notifications/CopiedToClipboard/Succeeded\":{\"title\":\"$:/language/Notifications/CopiedToClipboard/Succeeded\",\"text\":\"تم النسخ على الكليب-بورد!\"},\"$:/language/Notifications/Save/Done\":{\"title\":\"$:/language/Notifications/Save/Done\",\"text\":\"ويكي محفوظ\"},\"$:/language/Notifications/Save/Starting\":{\"title\":\"$:/language/Notifications/Save/Starting\",\"text\":\"البدء في حفظ ويكي\"},\"$:/language/Search/DefaultResults/Caption\":{\"title\":\"$:/language/Search/DefaultResults/Caption\",\"text\":\"قائمة\"},\"$:/language/Search/Filter/Caption\":{\"title\":\"$:/language/Search/Filter/Caption\",\"text\":\"فلتر\"},\"$:/language/Search/Filter/Hint\":{\"title\":\"$:/language/Search/Filter/Hint\",\"text\":\"البحث عن طريق [[عبارة فلتر |https://tiddlywiki.com/static/Filters.html]]\"},\"$:/language/Search/Matches\":{\"title\":\"$:/language/Search/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> تطابقات\u003C/small>//\"},\"$:/language/Search/Matches/All\":{\"title\":\"$:/language/Search/Matches/All\",\"text\":\"جميع التدلرز المتطابقة:\"},\"$:/language/Search/Matches/Title\":{\"title\":\"$:/language/Search/Matches/Title\",\"text\":\"العناوين المتطابقة:\"},\"$:/language/Search/Search\":{\"title\":\"$:/language/Search/Search\",\"text\":\"بحث\"},\"$:/language/Search/Search/TooShort\":{\"title\":\"$:/language/Search/Search/TooShort\",\"text\":\"نص البحث قصير جدًا\"},\"$:/language/Search/Shadows/Caption\":{\"title\":\"$:/language/Search/Shadows/Caption\",\"text\":\"تدلرز خفية\"},\"$:/language/Search/Shadows/Hint\":{\"title\":\"$:/language/Search/Shadows/Hint\",\"text\":\"ابحث عن تدلرز الظل\"},\"$:/language/Search/Shadows/Matches\":{\"title\":\"$:/language/Search/Shadows/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> تطابقات\u003C/small>//\"},\"$:/language/Search/Standard/Caption\":{\"title\":\"$:/language/Search/Standard/Caption\",\"text\":\"معيار\"},\"$:/language/Search/Standard/Hint\":{\"title\":\"$:/language/Search/Standard/Hint\",\"text\":\"ابحث عن التدلرز المعيارية\"},\"$:/language/Search/Standard/Matches\":{\"title\":\"$:/language/Search/Standard/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> تطابقات\u003C/small>//\"},\"$:/language/Search/System/Caption\":{\"title\":\"$:/language/Search/System/Caption\",\"text\":\"نظام\"},\"$:/language/Search/System/Hint\":{\"title\":\"$:/language/Search/System/Hint\",\"text\":\"ابحث عن تدلرز النظام\"},\"$:/language/Search/System/Matches\":{\"title\":\"$:/language/Search/System/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> تطابقات\u003C/small>//\"},\"$:/language/SideBar/All/Caption\":{\"title\":\"$:/language/SideBar/All/Caption\",\"text\":\"الكل\"},\"$:/language/SideBar/Contents/Caption\":{\"title\":\"$:/language/SideBar/Contents/Caption\",\"text\":\"المحتويات\"},\"$:/language/SideBar/Drafts/Caption\":{\"title\":\"$:/language/SideBar/Drafts/Caption\",\"text\":\"المسودات\"},\"$:/language/SideBar/Explorer/Caption\":{\"title\":\"$:/language/SideBar/Explorer/Caption\",\"text\":\"مستكشف\"},\"$:/language/SideBar/Missing/Caption\":{\"title\":\"$:/language/SideBar/Missing/Caption\",\"text\":\"مفقود\"},\"$:/language/SideBar/More/Caption\":{\"title\":\"$:/language/SideBar/More/Caption\",\"text\":\"المزيد\"},\"$:/language/SideBar/Open/Caption\":{\"title\":\"$:/language/SideBar/Open/Caption\",\"text\":\"إفتح\"},\"$:/language/SideBar/Orphans/Caption\":{\"title\":\"$:/language/SideBar/Orphans/Caption\",\"text\":\"أيتام\"},\"$:/language/SideBar/Recent/Caption\":{\"title\":\"$:/language/SideBar/Recent/Caption\",\"text\":\"حديث\"},\"$:/language/SideBar/Shadows/Caption\":{\"title\":\"$:/language/SideBar/Shadows/Caption\",\"text\":\"تدلرز خفية\"},\"$:/language/SideBar/System/Caption\":{\"title\":\"$:/language/SideBar/System/Caption\",\"text\":\"نظام\"},\"$:/language/SideBar/Tags/Caption\":{\"title\":\"$:/language/SideBar/Tags/Caption\",\"text\":\"وسوم\"},\"$:/language/SideBar/Tags/Untagged/Caption\":{\"title\":\"$:/language/SideBar/Tags/Untagged/Caption\",\"text\":\"غير موسومة\"},\"$:/language/SideBar/Tools/Caption\":{\"title\":\"$:/language/SideBar/Tools/Caption\",\"text\":\"أدوات\"},\"$:/language/SideBar/Types/Caption\":{\"title\":\"$:/language/SideBar/Types/Caption\",\"text\":\"أنواع\"},\"$:/SiteSubtitle\":{\"title\":\"$:/SiteSubtitle\",\"text\":\"دفتر ملاحظات شخصي غير خطي\\n\"},\"$:/SiteTitle\":{\"title\":\"$:/SiteTitle\",\"text\":\"تدلي ويكي الخاص بي\"},\"$:/language/TiddlerInfo/Advanced/Caption\":{\"title\":\"$:/language/TiddlerInfo/Advanced/Caption\",\"text\":\"متقدم\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint\",\"text\":\"لا شيء\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Heading\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Heading\",\"text\":\"تفاصيل البرنامج المساعد\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Hint\",\"text\":\"يحتوي هذا البرنامج المساعد على التدلرز الخفية التالية:\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading\",\"text\":\"حالة الظل\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint\",\"text\":\"التدلر \u003C$link to=\u003C\u003CinfoTiddler>>>\u003C$text text=\u003C\u003CinfoTiddler>>/>\u003C/$link> ليس تدلر خفي\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint\",\"text\":\"يتم تجاوزه من قبل تدلر عادي\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint\",\"text\":\"التدلر \u003C$link to=\u003C\u003CinfoTiddler>>>\u003C$text text=\u003C\u003CinfoTiddler>>/>\u003C/$link> هو تدلر خفي\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source\",\"text\":\"يتم تعريفه في البرنامج المساعد\"},\"$:/language/TiddlerInfo/Fields/Caption\":{\"title\":\"$:/language/TiddlerInfo/Fields/Caption\",\"text\":\"حقول\"},\"$:/language/TiddlerInfo/List/Caption\":{\"title\":\"$:/language/TiddlerInfo/List/Caption\",\"text\":\"قائمة\"},\"$:/language/TiddlerInfo/List/Empty\":{\"title\":\"$:/language/TiddlerInfo/List/Empty\",\"text\":\"هذا التدلر ليس لديه قائمة\"},\"$:/language/TiddlerInfo/Listed/Caption\":{\"title\":\"$:/language/TiddlerInfo/Listed/Caption\",\"text\":\"مدرج في قائمة\"},\"$:/language/TiddlerInfo/Listed/Empty\":{\"title\":\"$:/language/TiddlerInfo/Listed/Empty\",\"text\":\"لم يتم سرد هذا التدلر في قائمة من قبل أي تدلر اخر\"},\"$:/language/TiddlerInfo/References/Caption\":{\"title\":\"$:/language/TiddlerInfo/References/Caption\",\"text\":\"مراجع\"},\"$:/language/TiddlerInfo/References/Empty\":{\"title\":\"$:/language/TiddlerInfo/References/Empty\",\"text\":\"لا يوجد تدلرز مرتبطة بهذا\"},\"$:/language/TiddlerInfo/Tagging/Caption\":{\"title\":\"$:/language/TiddlerInfo/Tagging/Caption\",\"text\":\"توسيم\"},\"$:/language/TiddlerInfo/Tagging/Empty\":{\"title\":\"$:/language/TiddlerInfo/Tagging/Empty\",\"text\":\"لا يوجد تدلر موسوم بهذا التدلر\"},\"$:/language/TiddlerInfo/Tools/Caption\":{\"title\":\"$:/language/TiddlerInfo/Tools/Caption\",\"text\":\"أدوات\"},\"$:/languages/ar-PS/icon\":{\"title\":\"$:/languages/ar-PS/icon\",\"created\":\"20200618172251289\",\"modified\":\"20200618172321223\",\"tags\":\"\",\"type\":\"image/svg+xml\",\"text\":\"\u003C?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"1200\\\" height=\\\"600\\\" viewBox=\\\"0 0 6 3\\\">\u003Crect fill=\\\"#007A3D\\\" width=\\\"6\\\" height=\\\"3\\\"/>\u003Crect fill=\\\"#FFF\\\" width=\\\"6\\\" height=\\\"2\\\"/>\u003Crect width=\\\"6\\\" height=\\\"1\\\"/>\u003Cpath fill=\\\"#CE1126\\\" d=\\\"M0,0l2,1.5L0,3Z\\\"/>\u003C/svg>\\n\"}}}"}, {"title":"$:/languages/ca-ES","name":"ca-ES","plugin-type":"language","description":"Catalan (Spain)","author":"Paco Rivière","core-version":">=5.0.0","version":"5.3.3","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/language/Buttons/AdvancedSearch/Caption\":{\"title\":\"$:/language/Buttons/AdvancedSearch/Caption\",\"text\":\"cerca avançada\"},\"$:/language/Buttons/AdvancedSearch/Hint\":{\"title\":\"$:/language/Buttons/AdvancedSearch/Hint\",\"text\":\"Cerca avançada\"},\"$:/language/Buttons/Bold/Caption\":{\"title\":\"$:/language/Buttons/Bold/Caption\",\"text\":\"negreta\"},\"$:/language/Buttons/Bold/Hint\":{\"title\":\"$:/language/Buttons/Bold/Hint\",\"text\":\"Poseu en negreta la selecció\"},\"$:/language/Buttons/Cancel/Caption\":{\"title\":\"$:/language/Buttons/Cancel/Caption\",\"text\":\"anul·la\"},\"$:/language/Buttons/Cancel/Hint\":{\"title\":\"$:/language/Buttons/Cancel/Hint\",\"text\":\"Descarta els canvis d'aquest tiddler\"},\"$:/language/Buttons/Clear/Caption\":{\"title\":\"$:/language/Buttons/Clear/Caption\",\"text\":\"esborra\"},\"$:/language/Buttons/Clear/Hint\":{\"title\":\"$:/language/Buttons/Clear/Hint\",\"text\":\"Esborra la imatge\"},\"$:/language/Buttons/Clone/Caption\":{\"title\":\"$:/language/Buttons/Clone/Caption\",\"text\":\"clona\"},\"$:/language/Buttons/Clone/Hint\":{\"title\":\"$:/language/Buttons/Clone/Hint\",\"text\":\"Clona aquest tiddler\"},\"$:/language/Buttons/Close/Caption\":{\"title\":\"$:/language/Buttons/Close/Caption\",\"text\":\"tanca\"},\"$:/language/Buttons/Close/Hint\":{\"title\":\"$:/language/Buttons/Close/Hint\",\"text\":\"Tanca aquest tiddler\"},\"$:/language/Buttons/CloseAll/Caption\":{\"title\":\"$:/language/Buttons/CloseAll/Caption\",\"text\":\"tanca-ho tot\"},\"$:/language/Buttons/CloseAll/Hint\":{\"title\":\"$:/language/Buttons/CloseAll/Hint\",\"text\":\"Tanca tots els tiddlers\"},\"$:/language/Buttons/CloseOthers/Caption\":{\"title\":\"$:/language/Buttons/CloseOthers/Caption\",\"text\":\"tanca els altres\"},\"$:/language/Buttons/CloseOthers/Hint\":{\"title\":\"$:/language/Buttons/CloseOthers/Hint\",\"text\":\"Tanca els altres tiddlers\"},\"$:/language/Buttons/ControlPanel/Caption\":{\"title\":\"$:/language/Buttons/ControlPanel/Caption\",\"text\":\"tauler de control\"},\"$:/language/Buttons/ControlPanel/Hint\":{\"title\":\"$:/language/Buttons/ControlPanel/Hint\",\"text\":\"Obre el tauler de control\"},\"$:/language/Buttons/CopyToClipboard/Caption\":{\"title\":\"$:/language/Buttons/CopyToClipboard/Caption\",\"text\":\"copia al portapapers\"},\"$:/language/Buttons/CopyToClipboard/Hint\":{\"title\":\"$:/language/Buttons/CopyToClipboard/Hint\",\"text\":\"Copia el text al portapapers\"},\"$:/language/Buttons/Delete/Caption\":{\"title\":\"$:/language/Buttons/Delete/Caption\",\"text\":\"suprimeix\"},\"$:/language/Buttons/Delete/Hint\":{\"title\":\"$:/language/Buttons/Delete/Hint\",\"text\":\"Suprimeix aquest tiddler\"},\"$:/language/Buttons/Edit/Caption\":{\"title\":\"$:/language/Buttons/Edit/Caption\",\"text\":\"edita\"},\"$:/language/Buttons/Edit/Hint\":{\"title\":\"$:/language/Buttons/Edit/Hint\",\"text\":\"Edita aquest tiddler\"},\"$:/language/Buttons/EditorHeight/Caption\":{\"title\":\"$:/language/Buttons/EditorHeight/Caption\",\"text\":\"alçada de l'editor\"},\"$:/language/Buttons/EditorHeight/Caption/Auto\":{\"title\":\"$:/language/Buttons/EditorHeight/Caption/Auto\",\"text\":\"Ajusta l'alçada al contingut\"},\"$:/language/Buttons/EditorHeight/Caption/Fixed\":{\"title\":\"$:/language/Buttons/EditorHeight/Caption/Fixed\",\"text\":\"Alçada fixe:\"},\"$:/language/Buttons/EditorHeight/Hint\":{\"title\":\"$:/language/Buttons/EditorHeight/Hint\",\"text\":\"Trieu l'alçada de l'editor de text\"},\"$:/language/Buttons/Encryption/Caption\":{\"title\":\"$:/language/Buttons/Encryption/Caption\",\"text\":\"encriptació\"},\"$:/language/Buttons/Encryption/ClearPassword/Caption\":{\"title\":\"$:/language/Buttons/Encryption/ClearPassword/Caption\",\"text\":\"neteja la contrasenya\"},\"$:/language/Buttons/Encryption/ClearPassword/Hint\":{\"title\":\"$:/language/Buttons/Encryption/ClearPassword/Hint\",\"text\":\"Suprimeix la contrasenya per desar aquest wiki sense encriptació\"},\"$:/language/Buttons/Encryption/Hint\":{\"title\":\"$:/language/Buttons/Encryption/Hint\",\"text\":\"Establiu o suprimiu la contrasenya per desar aquest wiki\"},\"$:/language/Buttons/Encryption/SetPassword/Caption\":{\"title\":\"$:/language/Buttons/Encryption/SetPassword/Caption\",\"text\":\"trieu la contrasenya\"},\"$:/language/Buttons/Encryption/SetPassword/Hint\":{\"title\":\"$:/language/Buttons/Encryption/SetPassword/Hint\",\"text\":\"Estableix una contrasenya per desar aquest wiki amb encriptació\"},\"$:/language/Buttons/Excise/Caption\":{\"title\":\"$:/language/Buttons/Excise/Caption\",\"text\":\"extirpa\"},\"$:/language/Buttons/Excise/Caption/Excise\":{\"title\":\"$:/language/Buttons/Excise/Caption/Excise\",\"text\":\"Executa l'extirpació\"},\"$:/language/Buttons/Excise/Caption/MacroName\":{\"title\":\"$:/language/Buttons/Excise/Caption/MacroName\",\"text\":\"Nom de la macro:\"},\"$:/language/Buttons/Excise/Caption/NewTitle\":{\"title\":\"$:/language/Buttons/Excise/Caption/NewTitle\",\"text\":\"Títol del nou tiddler:\"},\"$:/language/Buttons/Excise/Caption/Replace\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace\",\"text\":\"Reemplaça el text extirpat amb:\"},\"$:/language/Buttons/Excise/Caption/Replace/Link\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace/Link\",\"text\":\"enllaç\"},\"$:/language/Buttons/Excise/Caption/Replace/Transclusion\":{\"title\":\"$:/language/Buttons/Excise/Caption/Replace/Transclusion\",\"text\":\"transclusió\"},\"$:/language/Buttons/Excise/Caption/Tag\":{\"title\":\"$:/language/Buttons/Excise/Caption/Tag\",\"text\":\"Etiqueta el nou tiddler amb el títol d'aquest tiddler\"},\"$:/language/Buttons/Excise/Caption/TiddlerExists\":{\"title\":\"$:/language/Buttons/Excise/Caption/TiddlerExists\",\"text\":\"Atenció: aquest tiddler ja existeix\"},\"$:/language/Buttons/Excise/Hint\":{\"title\":\"$:/language/Buttons/Excise/Hint\",\"text\":\"Extirpa el text seleccionat en un nou tiddler\"},\"$:/language/Buttons/ExportPage/Caption\":{\"title\":\"$:/language/Buttons/ExportPage/Caption\",\"text\":\"exporta-ho tot\"},\"$:/language/Buttons/ExportPage/Hint\":{\"title\":\"$:/language/Buttons/ExportPage/Hint\",\"text\":\"Exporta tots els tiddlers\"},\"$:/language/Buttons/ExportTiddler/Caption\":{\"title\":\"$:/language/Buttons/ExportTiddler/Caption\",\"text\":\"exporta el tiddler\"},\"$:/language/Buttons/ExportTiddler/Hint\":{\"title\":\"$:/language/Buttons/ExportTiddler/Hint\",\"text\":\"Exporta aquest tiddler\"},\"$:/language/Buttons/ExportTiddlers/Caption\":{\"title\":\"$:/language/Buttons/ExportTiddlers/Caption\",\"text\":\"exporta tiddlers\"},\"$:/language/Buttons/ExportTiddlers/Hint\":{\"title\":\"$:/language/Buttons/ExportTiddlers/Hint\",\"text\":\"Exporta els tiddlers\"},\"$:/language/Buttons/Fold/Caption\":{\"title\":\"$:/language/Buttons/Fold/Caption\",\"text\":\"expandeix el tiddler\"},\"$:/language/Buttons/Fold/FoldBar/Caption\":{\"title\":\"$:/language/Buttons/Fold/FoldBar/Caption\",\"text\":\"barra d'expansió\"},\"$:/language/Buttons/Fold/FoldBar/Hint\":{\"title\":\"$:/language/Buttons/Fold/FoldBar/Hint\",\"text\":\"Barres opcionals per a contraure i expandir els tiddlers\"},\"$:/language/Buttons/Fold/Hint\":{\"title\":\"$:/language/Buttons/Fold/Hint\",\"text\":\"Contrau el cos d'aquest tiddler\"},\"$:/language/Buttons/FoldAll/Caption\":{\"title\":\"$:/language/Buttons/FoldAll/Caption\",\"text\":\"contrau tots els tiddlers\"},\"$:/language/Buttons/FoldAll/Hint\":{\"title\":\"$:/language/Buttons/FoldAll/Hint\",\"text\":\"Contrau el cos de tots els tiddlers oberts\"},\"$:/language/Buttons/FoldOthers/Caption\":{\"title\":\"$:/language/Buttons/FoldOthers/Caption\",\"text\":\"contrau els altres tiddlers\"},\"$:/language/Buttons/FoldOthers/Hint\":{\"title\":\"$:/language/Buttons/FoldOthers/Hint\",\"text\":\"Contrau el cos d'altres tiddlers oberts\"},\"$:/language/Buttons/FullScreen/Caption\":{\"title\":\"$:/language/Buttons/FullScreen/Caption\",\"text\":\"pantalla sencera\"},\"$:/language/Buttons/FullScreen/Hint\":{\"title\":\"$:/language/Buttons/FullScreen/Hint\",\"text\":\"Mostra o deixa de mostrar la finestra en pantalla sencera\"},\"$:/language/Buttons/Heading1/Caption\":{\"title\":\"$:/language/Buttons/Heading1/Caption\",\"text\":\"capçalera 1\"},\"$:/language/Buttons/Heading1/Hint\":{\"title\":\"$:/language/Buttons/Heading1/Hint\",\"text\":\"Aplica el format de capçalera de nivell 1 a les línies que contenen la selecció\"},\"$:/language/Buttons/Heading2/Caption\":{\"title\":\"$:/language/Buttons/Heading2/Caption\",\"text\":\"capçalera 2\"},\"$:/language/Buttons/Heading2/Hint\":{\"title\":\"$:/language/Buttons/Heading2/Hint\",\"text\":\"Aplica el format de capçalera de nivell 2 a les línies que contenen la selecció\"},\"$:/language/Buttons/Heading3/Caption\":{\"title\":\"$:/language/Buttons/Heading3/Caption\",\"text\":\"capçalera 3\"},\"$:/language/Buttons/Heading3/Hint\":{\"title\":\"$:/language/Buttons/Heading3/Hint\",\"text\":\"Aplica el format de capçalera de nivell 3 a les línies que contenen la selecció\"},\"$:/language/Buttons/Heading4/Caption\":{\"title\":\"$:/language/Buttons/Heading4/Caption\",\"text\":\"capçalera 4\"},\"$:/language/Buttons/Heading4/Hint\":{\"title\":\"$:/language/Buttons/Heading4/Hint\",\"text\":\"Aplica el format de capçalera de nivell 4 a les línies que contenen la selecció\"},\"$:/language/Buttons/Heading5/Caption\":{\"title\":\"$:/language/Buttons/Heading5/Caption\",\"text\":\"capçalera 5\"},\"$:/language/Buttons/Heading5/Hint\":{\"title\":\"$:/language/Buttons/Heading5/Hint\",\"text\":\"Aplica el format de capçalera de nivell 5 a les línies que contenen la selecció\"},\"$:/language/Buttons/Heading6/Caption\":{\"title\":\"$:/language/Buttons/Heading6/Caption\",\"text\":\"capçalera 6\"},\"$:/language/Buttons/Heading6/Hint\":{\"title\":\"$:/language/Buttons/Heading6/Hint\",\"text\":\"Aplica el format de capçalera de nivell 6 a les línies que contenen la selecció\"},\"$:/language/Buttons/Help/Caption\":{\"title\":\"$:/language/Buttons/Help/Caption\",\"text\":\"ajuda\"},\"$:/language/Buttons/Help/Hint\":{\"title\":\"$:/language/Buttons/Help/Hint\",\"text\":\"Mostra el tauler d'ajuda\"},\"$:/language/Buttons/HideSideBar/Caption\":{\"title\":\"$:/language/Buttons/HideSideBar/Caption\",\"text\":\"amaga la barra lateral\"},\"$:/language/Buttons/HideSideBar/Hint\":{\"title\":\"$:/language/Buttons/HideSideBar/Hint\",\"text\":\"Amaga la barra lateral\"},\"$:/language/Buttons/Home/Caption\":{\"title\":\"$:/language/Buttons/Home/Caption\",\"text\":\"Inici\"},\"$:/language/Buttons/Home/Hint\":{\"title\":\"$:/language/Buttons/Home/Hint\",\"text\":\"Obre els tiddlers per omissió\"},\"$:/language/Buttons/Import/Caption\":{\"title\":\"$:/language/Buttons/Import/Caption\",\"text\":\"importa\"},\"$:/language/Buttons/Import/Hint\":{\"title\":\"$:/language/Buttons/Import/Hint\",\"text\":\"Importa fitxers\"},\"$:/language/Buttons/Info/Caption\":{\"title\":\"$:/language/Buttons/Info/Caption\",\"text\":\"informació\"},\"$:/language/Buttons/Info/Hint\":{\"title\":\"$:/language/Buttons/Info/Hint\",\"text\":\"Mostra la informació d'aquest tiddler\"},\"$:/language/Buttons/Italic/Caption\":{\"title\":\"$:/language/Buttons/Italic/Caption\",\"text\":\"cursiva\"},\"$:/language/Buttons/Italic/Hint\":{\"title\":\"$:/language/Buttons/Italic/Hint\",\"text\":\"Aplica el format de cursiva a la selecció\"},\"$:/language/Buttons/Language/Caption\":{\"title\":\"$:/language/Buttons/Language/Caption\",\"text\":\"idioma\"},\"$:/language/Buttons/Language/Hint\":{\"title\":\"$:/language/Buttons/Language/Hint\",\"text\":\"Trieu l'idioma\"},\"$:/language/Buttons/LineWidth/Caption\":{\"title\":\"$:/language/Buttons/LineWidth/Caption\",\"text\":\"amplada de la línia\"},\"$:/language/Buttons/LineWidth/Hint\":{\"title\":\"$:/language/Buttons/LineWidth/Hint\",\"text\":\"Trieu l'amplada de la línia\"},\"$:/language/Buttons/Link/Caption\":{\"title\":\"$:/language/Buttons/Link/Caption\",\"text\":\"enllaç\"},\"$:/language/Buttons/Link/Hint\":{\"title\":\"$:/language/Buttons/Link/Hint\",\"text\":\"Genera un enllaç de tipus wikitext\"},\"$:/language/Buttons/Linkify/Caption\":{\"title\":\"$:/language/Buttons/Linkify/Caption\",\"text\":\"wikienllaç\"},\"$:/language/Buttons/Linkify/Hint\":{\"title\":\"$:/language/Buttons/Linkify/Hint\",\"text\":\"Posa la selecció dins de claudàtors\"},\"$:/language/Buttons/ListBullet/Caption\":{\"title\":\"$:/language/Buttons/ListBullet/Caption\",\"text\":\"llista de pics\"},\"$:/language/Buttons/ListBullet/Hint\":{\"title\":\"$:/language/Buttons/ListBullet/Hint\",\"text\":\"Aplica el format de llista de pics a la selecció\"},\"$:/language/Buttons/ListNumber/Caption\":{\"title\":\"$:/language/Buttons/ListNumber/Caption\",\"text\":\"llista numerada\"},\"$:/language/Buttons/ListNumber/Hint\":{\"title\":\"$:/language/Buttons/ListNumber/Hint\",\"text\":\"Aplica el format de llista numerada a la selecció\"},\"$:/language/Buttons/Manager/Caption\":{\"title\":\"$:/language/Buttons/Manager/Caption\",\"text\":\"gestor de tiddlers\"},\"$:/language/Buttons/Manager/Hint\":{\"title\":\"$:/language/Buttons/Manager/Hint\",\"text\":\"Obre el gestor de tiddlers\"},\"$:/language/Buttons/MonoBlock/Caption\":{\"title\":\"$:/language/Buttons/MonoBlock/Caption\",\"text\":\"bloc monoespaiat\"},\"$:/language/Buttons/MonoBlock/Hint\":{\"title\":\"$:/language/Buttons/MonoBlock/Hint\",\"text\":\"Aplica el format de bloc monoespaiat a la selecció\"},\"$:/language/Buttons/MonoLine/Caption\":{\"title\":\"$:/language/Buttons/MonoLine/Caption\",\"text\":\"monoespaiat\"},\"$:/language/Buttons/MonoLine/Hint\":{\"title\":\"$:/language/Buttons/MonoLine/Hint\",\"text\":\"Aplica el format monoespaiat a la selecció\"},\"$:/language/Buttons/More/Caption\":{\"title\":\"$:/language/Buttons/More/Caption\",\"text\":\"més\"},\"$:/language/Buttons/More/Hint\":{\"title\":\"$:/language/Buttons/More/Hint\",\"text\":\"Més accions\"},\"$:/language/Buttons/NewHere/Caption\":{\"title\":\"$:/language/Buttons/NewHere/Caption\",\"text\":\"nou aquí\"},\"$:/language/Buttons/NewHere/Hint\":{\"title\":\"$:/language/Buttons/NewHere/Hint\",\"text\":\"Obre un nou tiddler etiquetat amb aquest\"},\"$:/language/Buttons/NewImage/Caption\":{\"title\":\"$:/language/Buttons/NewImage/Caption\",\"text\":\"nova imatge\"},\"$:/language/Buttons/NewImage/Hint\":{\"title\":\"$:/language/Buttons/NewImage/Hint\",\"text\":\"Nova imatge\"},\"$:/language/Buttons/NewJournal/Caption\":{\"title\":\"$:/language/Buttons/NewJournal/Caption\",\"text\":\"nou diari\"},\"$:/language/Buttons/NewJournal/Hint\":{\"title\":\"$:/language/Buttons/NewJournal/Hint\",\"text\":\"Nou tiddler diari\"},\"$:/language/Buttons/NewJournalHere/Caption\":{\"title\":\"$:/language/Buttons/NewJournalHere/Caption\",\"text\":\"nou diari aquí\"},\"$:/language/Buttons/NewJournalHere/Hint\":{\"title\":\"$:/language/Buttons/NewJournalHere/Hint\",\"text\":\"Obre un nou tiddler de tipus diari etiquetat amb el títol d'aquest tiddler\"},\"$:/language/Buttons/NewMarkdown/Caption\":{\"title\":\"$:/language/Buttons/NewMarkdown/Caption\",\"text\":\"nou tiddler de Markdown\"},\"$:/language/Buttons/NewMarkdown/Hint\":{\"title\":\"$:/language/Buttons/NewMarkdown/Hint\",\"text\":\"Genera un nou tiddler de Markdown\"},\"$:/language/Buttons/NewTiddler/Caption\":{\"title\":\"$:/language/Buttons/NewTiddler/Caption\",\"text\":\"nou tiddler\"},\"$:/language/Buttons/NewTiddler/Hint\":{\"title\":\"$:/language/Buttons/NewTiddler/Hint\",\"text\":\"Obre un nou tiddler\"},\"$:/language/Buttons/Opacity/Caption\":{\"title\":\"$:/language/Buttons/Opacity/Caption\",\"text\":\"opacitat\"},\"$:/language/Buttons/Opacity/Hint\":{\"title\":\"$:/language/Buttons/Opacity/Hint\",\"text\":\"Trieu l'opacitat de la tinta\"},\"$:/language/Buttons/OpenWindow/Caption\":{\"title\":\"$:/language/Buttons/OpenWindow/Caption\",\"text\":\"obre en una nova finestra\"},\"$:/language/Buttons/OpenWindow/Hint\":{\"title\":\"$:/language/Buttons/OpenWindow/Hint\",\"text\":\"Obre el tiddler en una nova finestra\"},\"$:/language/Buttons/Paint/Caption\":{\"title\":\"$:/language/Buttons/Paint/Caption\",\"text\":\"color de la tinta\"},\"$:/language/Buttons/Paint/Hint\":{\"title\":\"$:/language/Buttons/Paint/Hint\",\"text\":\"Trieu el color de la tinta\"},\"$:/language/Buttons/Palette/Caption\":{\"title\":\"$:/language/Buttons/Palette/Caption\",\"text\":\"paleta de colors\"},\"$:/language/Buttons/Palette/Hint\":{\"title\":\"$:/language/Buttons/Palette/Hint\",\"text\":\"Trieu el color de la paleta\"},\"$:/language/Buttons/Permalink/Caption\":{\"title\":\"$:/language/Buttons/Permalink/Caption\",\"text\":\"enllaç permanent\"},\"$:/language/Buttons/Permalink/Hint\":{\"title\":\"$:/language/Buttons/Permalink/Hint\",\"text\":\"Mostra a la barra d'adreces, l'enllaç directe cap aquest tiddler\"},\"$:/language/Buttons/Permaview/Caption\":{\"title\":\"$:/language/Buttons/Permaview/Caption\",\"text\":\"vista permanent\"},\"$:/language/Buttons/Permaview/Hint\":{\"title\":\"$:/language/Buttons/Permaview/Hint\",\"text\":\"Mostra a la barra d'adreces, l'enllaç directe cap als tiddlers que ara es veuen\"},\"$:/language/Buttons/Picture/Caption\":{\"title\":\"$:/language/Buttons/Picture/Caption\",\"text\":\"imatge\"},\"$:/language/Buttons/Picture/Hint\":{\"title\":\"$:/language/Buttons/Picture/Hint\",\"text\":\"Inserta una imatge\"},\"$:/language/Buttons/Preview/Caption\":{\"title\":\"$:/language/Buttons/Preview/Caption\",\"text\":\"previsualització\"},\"$:/language/Buttons/Preview/Hint\":{\"title\":\"$:/language/Buttons/Preview/Hint\",\"text\":\"Mostra el quadre de previsualització\"},\"$:/language/Buttons/PreviewType/Caption\":{\"title\":\"$:/language/Buttons/PreviewType/Caption\",\"text\":\"tipus de previsualització\"},\"$:/language/Buttons/PreviewType/Hint\":{\"title\":\"$:/language/Buttons/PreviewType/Hint\",\"text\":\"Trieu el tipus de previsualització\"},\"$:/language/Buttons/Print/Caption\":{\"title\":\"$:/language/Buttons/Print/Caption\",\"text\":\"imprimeix la pàgina\"},\"$:/language/Buttons/Print/Hint\":{\"title\":\"$:/language/Buttons/Print/Hint\",\"text\":\"Imprimeix la pàgina actual\"},\"$:/language/Buttons/Quote/Caption\":{\"title\":\"$:/language/Buttons/Quote/Caption\",\"text\":\"cita\"},\"$:/language/Buttons/Quote/Hint\":{\"title\":\"$:/language/Buttons/Quote/Hint\",\"text\":\"Aplica el format de cita a la selecció\"},\"$:/language/Buttons/Refresh/Caption\":{\"title\":\"$:/language/Buttons/Refresh/Caption\",\"text\":\"actualitza\"},\"$:/language/Buttons/Refresh/Hint\":{\"title\":\"$:/language/Buttons/Refresh/Hint\",\"text\":\"Actualitza tot el wiki\"},\"$:/language/Buttons/RotateLeft/Caption\":{\"title\":\"$:/language/Buttons/RotateLeft/Caption\",\"text\":\"gira a l'esquerra\"},\"$:/language/Buttons/RotateLeft/Hint\":{\"title\":\"$:/language/Buttons/RotateLeft/Hint\",\"text\":\"Gira la imatge 90 graus a l'esquerra\"},\"$:/language/Buttons/Save/Caption\":{\"title\":\"$:/language/Buttons/Save/Caption\",\"text\":\"d'acord\"},\"$:/language/Buttons/Save/Hint\":{\"title\":\"$:/language/Buttons/Save/Hint\",\"text\":\"Confirma els canvis d'aquest tiddler\"},\"$:/language/Buttons/SaveWiki/Caption\":{\"title\":\"$:/language/Buttons/SaveWiki/Caption\",\"text\":\"desa els canvis\"},\"$:/language/Buttons/SaveWiki/Hint\":{\"title\":\"$:/language/Buttons/SaveWiki/Hint\",\"text\":\"Desa els canvis\"},\"$:/language/Buttons/ShowSideBar/Caption\":{\"title\":\"$:/language/Buttons/ShowSideBar/Caption\",\"text\":\"mostra la barra lateral\"},\"$:/language/Buttons/ShowSideBar/Hint\":{\"title\":\"$:/language/Buttons/ShowSideBar/Hint\",\"text\":\"Mostra la barra lateral\"},\"$:/language/Buttons/SidebarSearch/Hint\":{\"title\":\"$:/language/Buttons/SidebarSearch/Hint\",\"text\":\"Trieu el camp de cerca de la barra lateral\"},\"$:/language/Buttons/Size/Caption\":{\"title\":\"$:/language/Buttons/Size/Caption\",\"text\":\"mida de la imatge\"},\"$:/language/Buttons/Size/Caption/Height\":{\"title\":\"$:/language/Buttons/Size/Caption/Height\",\"text\":\"Alçada:\"},\"$:/language/Buttons/Size/Caption/Resize\":{\"title\":\"$:/language/Buttons/Size/Caption/Resize\",\"text\":\"Mida de la imatge\"},\"$:/language/Buttons/Size/Caption/Width\":{\"title\":\"$:/language/Buttons/Size/Caption/Width\",\"text\":\"Amplada:\"},\"$:/language/Buttons/Size/Hint\":{\"title\":\"$:/language/Buttons/Size/Hint\",\"text\":\"Trieu la mida de la imatge\"},\"$:/language/Buttons/Stamp/Caption\":{\"title\":\"$:/language/Buttons/Stamp/Caption\",\"text\":\"Plantilla\"},\"$:/language/Buttons/Stamp/Caption/New\":{\"title\":\"$:/language/Buttons/Stamp/Caption/New\",\"text\":\"Afegeix una nova plantilla\"},\"$:/language/Buttons/Stamp/Hint\":{\"title\":\"$:/language/Buttons/Stamp/Hint\",\"text\":\"Inserta una plantilla de text\"},\"$:/language/Buttons/Stamp/New/Text\":{\"title\":\"$:/language/Buttons/Stamp/New/Text\",\"text\":\"Plantilla de text. (Recordeu afegir un text descriptiu al camp //caption//).\"},\"$:/language/Buttons/Stamp/New/Title\":{\"title\":\"$:/language/Buttons/Stamp/New/Title\",\"text\":\"Nom que es mostrarà al menú d'afegir una plantilla\"},\"$:/language/Buttons/StoryView/Caption\":{\"title\":\"$:/language/Buttons/StoryView/Caption\",\"text\":\"mode de visualització\"},\"$:/language/Buttons/StoryView/Hint\":{\"title\":\"$:/language/Buttons/StoryView/Hint\",\"text\":\"mode de visualització\"},\"$:/language/Buttons/Strikethrough/Caption\":{\"title\":\"$:/language/Buttons/Strikethrough/Caption\",\"text\":\"ratllat\"},\"$:/language/Buttons/Strikethrough/Hint\":{\"title\":\"$:/language/Buttons/Strikethrough/Hint\",\"text\":\"Aplica el format de ratllat a la selecció\"},\"$:/language/Buttons/Subscript/Caption\":{\"title\":\"$:/language/Buttons/Subscript/Caption\",\"text\":\"subíndex\"},\"$:/language/Buttons/Subscript/Hint\":{\"title\":\"$:/language/Buttons/Subscript/Hint\",\"text\":\"Aplica el format de subíndex a la selecció\"},\"$:/language/Buttons/Superscript/Caption\":{\"title\":\"$:/language/Buttons/Superscript/Caption\",\"text\":\"superíndex\"},\"$:/language/Buttons/Superscript/Hint\":{\"title\":\"$:/language/Buttons/Superscript/Hint\",\"text\":\"Aplica el format de superíndex a la selecció\"},\"$:/language/Buttons/TagManager/Caption\":{\"title\":\"$:/language/Buttons/TagManager/Caption\",\"text\":\"gestor d'etiquetes\"},\"$:/language/Buttons/TagManager/Hint\":{\"title\":\"$:/language/Buttons/TagManager/Hint\",\"text\":\"Obre el gestor d'etiquetes\"},\"$:/language/Buttons/Theme/Caption\":{\"title\":\"$:/language/Buttons/Theme/Caption\",\"text\":\"tema\"},\"$:/language/Buttons/Theme/Hint\":{\"title\":\"$:/language/Buttons/Theme/Hint\",\"text\":\"Trieu el tema\"},\"$:/language/Buttons/Timestamp/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/Caption\",\"text\":\"marques del temps\"},\"$:/language/Buttons/Timestamp/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/Hint\",\"text\":\"Indiqueu si voleu que s'anoti l'hora de modificació dels tiddlers\"},\"$:/language/Buttons/Timestamp/Off/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/Off/Caption\",\"text\":\"no anotis l'hora de modificació\"},\"$:/language/Buttons/Timestamp/Off/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/Off/Hint\",\"text\":\"No s'anota l'hora de modificació dels tiddlers\"},\"$:/language/Buttons/Timestamp/On/Caption\":{\"title\":\"$:/language/Buttons/Timestamp/On/Caption\",\"text\":\"anota l'hora de modificació\"},\"$:/language/Buttons/Timestamp/On/Hint\":{\"title\":\"$:/language/Buttons/Timestamp/On/Hint\",\"text\":\"S'anota l'hora de modificació dels tiddlers\"},\"$:/language/Buttons/ToggleSidebar/Hint\":{\"title\":\"$:/language/Buttons/ToggleSidebar/Hint\",\"text\":\"Commuta la visibilitat de la barra lateral\"},\"$:/language/Buttons/Transcludify/Caption\":{\"title\":\"$:/language/Buttons/Transcludify/Caption\",\"text\":\"transclusió\"},\"$:/language/Buttons/Transcludify/Hint\":{\"title\":\"$:/language/Buttons/Transcludify/Hint\",\"text\":\"Posa la selecció entre claus\"},\"$:/language/Buttons/Underline/Caption\":{\"title\":\"$:/language/Buttons/Underline/Caption\",\"text\":\"subratllat\"},\"$:/language/Buttons/Underline/Hint\":{\"title\":\"$:/language/Buttons/Underline/Hint\",\"text\":\"Aplica el format de subratllat a la selecció\"},\"$:/language/Buttons/Unfold/Caption\":{\"title\":\"$:/language/Buttons/Unfold/Caption\",\"text\":\"expandeix el tiddler\"},\"$:/language/Buttons/Unfold/Hint\":{\"title\":\"$:/language/Buttons/Unfold/Hint\",\"text\":\"Expandeix el cos d'aquest tiddler\"},\"$:/language/Buttons/UnfoldAll/Caption\":{\"title\":\"$:/language/Buttons/UnfoldAll/Caption\",\"text\":\"expandeix tots els tiddlers\"},\"$:/language/Buttons/UnfoldAll/Hint\":{\"title\":\"$:/language/Buttons/UnfoldAll/Hint\",\"text\":\"Expandeix el cos de tots els tiddlers oberts\"},\"$:/language/ControlPanel/Advanced/Caption\":{\"title\":\"$:/language/ControlPanel/Advanced/Caption\",\"text\":\"Avançat\"},\"$:/language/ControlPanel/Advanced/Hint\":{\"title\":\"$:/language/ControlPanel/Advanced/Hint\",\"text\":\"Informació interna sobre aquest TiddlyWiki\"},\"$:/language/ControlPanel/Appearance/Caption\":{\"title\":\"$:/language/ControlPanel/Appearance/Caption\",\"text\":\"Aparença\"},\"$:/language/ControlPanel/Appearance/Hint\":{\"title\":\"$:/language/ControlPanel/Appearance/Hint\",\"text\":\"Formes de personalitzar l'aparença del vostre TiddlyWiki.\"},\"$:/language/ControlPanel/Basics/AnimDuration/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/AnimDuration/Prompt\",\"text\":\"Duració de l'animació:\"},\"$:/language/ControlPanel/Basics/AutoFocus/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/AutoFocus/Prompt\",\"text\":\"Focus dels nous tiddlers\"},\"$:/language/ControlPanel/Basics/Caption\":{\"title\":\"$:/language/ControlPanel/Basics/Caption\",\"text\":\"Bàsic\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint\",\"text\":\"Useu [[claudàtors dobles]] per als títols amb espais. O trieu {{restaura la sessió anterior en arrencar||$:/snippets/retain-story-ordering-button}}\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt\",\"text\":\"Tiddlers per omissió:\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint\",\"text\":\"Trieu quins tiddlers s'han de mostrar a l'inici:\"},\"$:/language/ControlPanel/Basics/Language/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Language/Prompt\",\"text\":\"Bon dia! Trieu l'idioma:\"},\"$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt\",\"text\":\"Etiquetes per als nous tiddlers del diari\"},\"$:/language/ControlPanel/Basics/NewJournal/Text/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Text/Prompt\",\"text\":\"Text dels nous tiddlers del diari\"},\"$:/language/ControlPanel/Basics/NewJournal/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Title/Prompt\",\"text\":\"Títol dels nous tiddlers del diari\"},\"$:/language/ControlPanel/Basics/NewTiddler/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewTiddler/Tags/Prompt\",\"text\":\"Etiquetes dels nous tiddlers\"},\"$:/language/ControlPanel/Basics/NewTiddler/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewTiddler/Title/Prompt\",\"text\":\"Títol dels nous tiddlers\"},\"$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt\",\"text\":\"Número de tiddlers ombra sobreescrits:\"},\"$:/language/ControlPanel/Basics/RemoveTags\":{\"title\":\"$:/language/ControlPanel/Basics/RemoveTags\",\"text\":\"Actualitza al format actual\"},\"$:/language/ControlPanel/Basics/RemoveTags/Hint\":{\"title\":\"$:/language/ControlPanel/Basics/RemoveTags/Hint\",\"text\":\"Actualitza la configuració de les etiquetes al format actual\"},\"$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt\",\"text\":\"Número de tiddlers ombra:\"},\"$:/language/ControlPanel/Basics/Subtitle/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Subtitle/Prompt\",\"text\":\"Subtítol:\"},\"$:/language/ControlPanel/Basics/SystemTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/SystemTiddlers/Prompt\",\"text\":\"Número de tiddlers del sistema:\"},\"$:/language/ControlPanel/Basics/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Tags/Prompt\",\"text\":\"Número d'etiquetes:\"},\"$:/language/ControlPanel/Basics/Tiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Tiddlers/Prompt\",\"text\":\"Número de tiddlers:\"},\"$:/language/ControlPanel/Basics/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Title/Prompt\",\"text\":\"Títol d'aquest ~TiddlyWiki:\"},\"$:/language/ControlPanel/Basics/Username/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Username/Prompt\",\"text\":\"Nom d'usuari per a signar les edicions:\"},\"$:/language/ControlPanel/Basics/Version/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Version/Prompt\",\"text\":\"~TiddlyWiki versió:\"},\"$:/language/ControlPanel/EditorTypes/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Caption\",\"text\":\"Tipus de l'editor\"},\"$:/language/ControlPanel/EditorTypes/Editor/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Editor/Caption\",\"text\":\"Editor\"},\"$:/language/ControlPanel/EditorTypes/Hint\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Hint\",\"text\":\"Aquests tiddlers determinen quin editor s'utilitza per a editar cada tipus de tiddler.\"},\"$:/language/ControlPanel/EditorTypes/Type/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Type/Caption\",\"text\":\"Tipus\"},\"$:/language/ControlPanel/Info/Caption\":{\"title\":\"$:/language/ControlPanel/Info/Caption\",\"text\":\"Informació\"},\"$:/language/ControlPanel/Info/Hint\":{\"title\":\"$:/language/ControlPanel/Info/Hint\",\"text\":\"Informació sobre aquest TiddlyWiki\"},\"$:/language/ControlPanel/KeyboardShortcuts/Add/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Add/Caption\",\"text\":\"afegeix una drecera\"},\"$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt\",\"text\":\"Escriviu aquí la drecera\"},\"$:/language/ControlPanel/KeyboardShortcuts/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Caption\",\"text\":\"Dreceres del teclat\"},\"$:/language/ControlPanel/KeyboardShortcuts/Hint\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Hint\",\"text\":\"Gestioneu l'assignació de les dreceres del teclat\"},\"$:/language/ControlPanel/KeyboardShortcuts/NoShortcuts/Caption\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/NoShortcuts/Caption\",\"text\":\"No hi ha cap drecera del teclat assignada\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/All\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/All\",\"text\":\"Totes les plataformes\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Linux\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Linux\",\"text\":\"Només per a la plataforma Linux\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Mac\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Mac\",\"text\":\"Només per a la plataforma Macintosh\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonLinux\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonLinux\",\"text\":\"Només per a les plataformes No Linux\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonMac\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonMac\",\"text\":\"Només per a les plataformes No Macintosh\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonWindows\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/NonWindows\",\"text\":\"Només per a les plataformes No Windows\"},\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Windows\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Platform/Windows\",\"text\":\"Només per a la plataforma Windows\"},\"$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint\":{\"title\":\"$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint\",\"text\":\"suprimeix la drecera del teclat\"},\"$:/language/ControlPanel/LayoutSwitcher/Caption\":{\"title\":\"$:/language/ControlPanel/LayoutSwitcher/Caption\",\"text\":\"Disposició\"},\"$:/language/ControlPanel/LoadedModules/Caption\":{\"title\":\"$:/language/ControlPanel/LoadedModules/Caption\",\"text\":\"Mòduls carregats\"},\"$:/language/ControlPanel/LoadedModules/Hint\":{\"title\":\"$:/language/ControlPanel/LoadedModules/Hint\",\"text\":\"Aquests són els mòduls tiddlers enllaçats als seus tiddlers font. Els mòduls indicats en cursiva no disposen de tiddler font, sovint per que s'han configurat a l'arrencada.\"},\"$:/language/ControlPanel/Palette/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Caption\",\"text\":\"Paleta\"},\"$:/language/ControlPanel/Palette/Editor/Clone/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Clone/Caption\",\"text\":\"clona\"},\"$:/language/ControlPanel/Palette/Editor/Clone/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Clone/Prompt\",\"text\":\"Es recomana que cloneu aquesta paleta ombra abans d'editar-la\"},\"$:/language/ControlPanel/Palette/Editor/Delete/Hint\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Delete/Hint\",\"text\":\"suprimeix aquesta entrada de la paleta actual\"},\"$:/language/ControlPanel/Palette/Editor/Names/External/Show\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Names/External/Show\",\"text\":\"Mostra el noms dels colors que no formen part de la paleta actual\"},\"$:/language/ControlPanel/Palette/Editor/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Prompt\",\"text\":\"S'està editant\"},\"$:/language/ControlPanel/Palette/Editor/Prompt/Modified\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Prompt/Modified\",\"text\":\"Aquesta paleta ombra ha estat modificada\"},\"$:/language/ControlPanel/Palette/Editor/Reset/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Reset/Caption\",\"text\":\"reinicia\"},\"$:/language/ControlPanel/Palette/HideEditor/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/HideEditor/Caption\",\"text\":\"amaga l'editor\"},\"$:/language/ControlPanel/Palette/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Prompt\",\"text\":\"Paleta actual:\"},\"$:/language/ControlPanel/Palette/ShowEditor/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/ShowEditor/Caption\",\"text\":\"mostra l'editor\"},\"$:/language/ControlPanel/Parsing/Block/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Block/Caption\",\"text\":\"Regles d'anàlisi de blocs\"},\"$:/language/ControlPanel/Parsing/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Caption\",\"text\":\"Anàlisi\"},\"$:/language/ControlPanel/Parsing/Hint\":{\"title\":\"$:/language/ControlPanel/Parsing/Hint\",\"text\":\"Aquí podeu activar/desactivar globalment les regles de l’analitzador de wiki. Perquè els canvis tinguin efecte, deseu i torneu a carregar el vostre wiki. La desactivació de certes regles d'anàlisi pot impedir que \u003C$text text=\\\"TiddlyWiki\\\"/> funcioni correctament. Disposeu del [[mode segur | https: //tiddlywiki.com/#SafeMode]] per restaurar el funcionament normal.\"},\"$:/language/ControlPanel/Parsing/Inline/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Inline/Caption\",\"text\":\"Regles d'anàlisi en línia\"},\"$:/language/ControlPanel/Parsing/Pragma/Caption\":{\"title\":\"$:/language/ControlPanel/Parsing/Pragma/Caption\",\"text\":\"Regles d'anàlisi Pragma\"},\"$:/language/ControlPanel/Plugins/Add/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Add/Caption\",\"text\":\"Obtingueu més connectors\"},\"$:/language/ControlPanel/Plugins/Add/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Add/Hint\",\"text\":\"Instal·leu connectors de la biblioteca oficial\"},\"$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint\",\"text\":\"Aquest connector ja té instal·lada la versió \u003C$text text=\u003C\u003CinstalledVersion>>/>\"},\"$:/language/ControlPanel/Plugins/AlsoRequires\":{\"title\":\"$:/language/ControlPanel/Plugins/AlsoRequires\",\"text\":\"També necessita:\"},\"$:/language/ControlPanel/Plugins/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Caption\",\"text\":\"Connectors\"},\"$:/language/ControlPanel/Plugins/ClosePluginLibrary\":{\"title\":\"$:/language/ControlPanel/Plugins/ClosePluginLibrary\",\"text\":\"tanca la biblioteca de connectors\"},\"$:/language/ControlPanel/Plugins/Disable/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Disable/Caption\",\"text\":\"desactiva\"},\"$:/language/ControlPanel/Plugins/Disable/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Disable/Hint\",\"text\":\"Desactiva aquest connector quan la pàgina es torni a carregar\"},\"$:/language/ControlPanel/Plugins/Disabled/Status\":{\"title\":\"$:/language/ControlPanel/Plugins/Disabled/Status\",\"text\":\"(desactivat)\"},\"$:/language/ControlPanel/Plugins/Downgrade/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Downgrade/Caption\",\"text\":\"desactualitza\"},\"$:/language/ControlPanel/Plugins/Empty/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Empty/Hint\",\"text\":\"Cap\"},\"$:/language/ControlPanel/Plugins/Enable/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Enable/Caption\",\"text\":\"activa\"},\"$:/language/ControlPanel/Plugins/Enable/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Enable/Hint\",\"text\":\"Activa aquest connector quan la pàgina es torni a carregar\"},\"$:/language/ControlPanel/Plugins/Install/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Install/Caption\",\"text\":\"instal·la\"},\"$:/language/ControlPanel/Plugins/Installed/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Installed/Hint\",\"text\":\"Connectors que ara mateix estàn carregats:\"},\"$:/language/ControlPanel/Plugins/Languages/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Languages/Caption\",\"text\":\"Idiomes\"},\"$:/language/ControlPanel/Plugins/Languages/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Languages/Hint\",\"text\":\"Connectors del paquet de l'idioma\"},\"$:/language/ControlPanel/Plugins/NoInfoFound/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/NoInfoFound/Hint\",\"text\":\"No s'ha trobat ''\\\"\u003C$text text=\u003C\u003CcurrentTab>>/>\\\"''\"},\"$:/language/ControlPanel/Plugins/NotInstalled/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/NotInstalled/Hint\",\"text\":\"Aquest connector no està instal·lat\"},\"$:/language/ControlPanel/Plugins/OpenPluginLibrary\":{\"title\":\"$:/language/ControlPanel/Plugins/OpenPluginLibrary\",\"text\":\"obre la biblioteca de connectors\"},\"$:/language/ControlPanel/Plugins/Plugins/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Plugins/Caption\",\"text\":\"Connectors\"},\"$:/language/ControlPanel/Plugins/Plugins/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Plugins/Hint\",\"text\":\"Connectors\"},\"$:/language/ControlPanel/Plugins/PluginWillRequireReload\":{\"title\":\"$:/language/ControlPanel/Plugins/PluginWillRequireReload\",\"text\":\"(cal tornar-ho a carregar)\"},\"$:/language/ControlPanel/Plugins/Reinstall/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Reinstall/Caption\",\"text\":\"torna a instal·lar\"},\"$:/language/ControlPanel/Plugins/SubPluginPrompt\":{\"title\":\"$:/language/ControlPanel/Plugins/SubPluginPrompt\",\"text\":\"Amb \u003C\u003Ccount>> sub-connectors disponibles\"},\"$:/language/ControlPanel/Plugins/Themes/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Themes/Caption\",\"text\":\"Temes\"},\"$:/language/ControlPanel/Plugins/Themes/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Themes/Hint\",\"text\":\"Connectors del tema\"},\"$:/language/ControlPanel/Plugins/Update/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Update/Caption\",\"text\":\"actualització\"},\"$:/language/ControlPanel/Plugins/Updates/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/Caption\",\"text\":\"Actualitzacions\"},\"$:/language/ControlPanel/Plugins/Updates/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/Hint\",\"text\":\"Actualitzacions disponibles dels connectors instal·lats\"},\"$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption\",\"text\":\"Actualitza \u003C\u003Cupdate-count>> connectors\"},\"$:/language/ControlPanel/Saving/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/Caption\",\"text\":\"Desa\"},\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Description\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Description\",\"text\":\"Permet que el gestor de baixades desi automàticament\"},\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Hint\",\"text\":\"Activa el desat automàtic pel gestor de baixades\"},\"$:/language/ControlPanel/Saving/DownloadSaver/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/Caption\",\"text\":\"Gestor de baixades\"},\"$:/language/ControlPanel/Saving/DownloadSaver/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/DownloadSaver/Hint\",\"text\":\"Aquesta configuració s’aplica al gestor de baixades compatible amb HTML5\"},\"$:/language/ControlPanel/Saving/General/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/General/Hint\",\"text\":\"Aquests valors s'apliquen a tots els gestors de baixades carregats\"},\"$:/language/ControlPanel/Saving/GitHub/Branch\":{\"title\":\"$:/language/ControlPanel/Saving/GitHub/Branch\",\"text\":\"Branca destinació a on desar (per omissió és `master`)\"},\"$:/language/ControlPanel/Saving/GitHub/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitHub/Caption\",\"text\":\"Gestor de baixades de ~GitHub\"},\"$:/language/ControlPanel/Saving/GitHub/Description\":{\"title\":\"$:/language/ControlPanel/Saving/GitHub/Description\",\"text\":\"Aquests valors només s’utilitzen quan es desa a ~ GitHub\"},\"$:/language/ControlPanel/Saving/GitHub/Filename\":{\"title\":\"$:/language/ControlPanel/Saving/GitHub/Filename\",\"text\":\"Nom del fitxer destinació (per exemple, `index.html`)\"},\"$:/language/ControlPanel/Saving/GitHub/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitHub/Password\",\"text\":\"Contrasenya, clau OAUTH o clau d'accés personal\"},\"$:/language/ControlPanel/Saving/GitHub/Path\":{\"title\":\"$:/language/ControlPanel/Saving/GitHub/Path\",\"text\":\"Ruta al fitxer destinació (per exemple, `/wiki/`)\"},\"$:/language/ControlPanel/Saving/GitHub/Repo\":{\"title\":\"$:/language/ControlPanel/Saving/GitHub/Repo\",\"text\":\"Repositori destinació (per exemple, `Jermolene/TiddlyWiki5`)\"},\"$:/language/ControlPanel/Saving/GitHub/ServerURL\":{\"title\":\"$:/language/ControlPanel/Saving/GitHub/ServerURL\",\"text\":\"URL del servidor (per omissió és `https://api.github.com`)\"},\"$:/language/ControlPanel/Saving/GitHub/UserName\":{\"title\":\"$:/language/ControlPanel/Saving/GitHub/UserName\",\"text\":\"Nom d'usuari\"},\"$:/language/ControlPanel/Saving/GitService/Branch\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Branch\",\"text\":\"Branca destinació a on desar\"},\"$:/language/ControlPanel/Saving/GitService/CommitMessage\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/CommitMessage\",\"text\":\"Desat per TiddlyWiki\"},\"$:/language/ControlPanel/Saving/GitService/Description\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Description\",\"text\":\"Aquests paràmetres només s'utilitzen quan es desa a \u003C\u003Cservice-name>>\"},\"$:/language/ControlPanel/Saving/GitService/Filename\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Filename\",\"text\":\"Nom del fitxer destinació (per exemple `index.html`)\"},\"$:/language/ControlPanel/Saving/GitService/Gitea/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Gitea/Caption\",\"text\":\"Gestor de baixades Gitea\"},\"$:/language/ControlPanel/Saving/GitService/Gitea/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Gitea/Password\",\"text\":\"Testimoni d'accès personal de l'API (via la interfície web de Gitea: `Paràmetres | Aplicacions | Genera un Nou Testimoni`)\"},\"$:/language/ControlPanel/Saving/GitService/GitHub/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitHub/Caption\",\"text\":\"Gestor de baixades de ~GitHub\"},\"$:/language/ControlPanel/Saving/GitService/GitHub/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitHub/Password\",\"text\":\"Contrasenya, clau OAUTH o clau d'accés personal (veieu els detalls a la [[pàgina d'ajuda del GitHub|https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line]] )\"},\"$:/language/ControlPanel/Saving/GitService/GitLab/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitLab/Caption\",\"text\":\"Gestor de baixades de ~GitLab\"},\"$:/language/ControlPanel/Saving/GitService/GitLab/Password\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/GitLab/Password\",\"text\":\"Clau d'accés personal de l'API (veieu els detalls a la [[pàgina d'ajuda del GitLab|https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html]] )\"},\"$:/language/ControlPanel/Saving/GitService/Path\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Path\",\"text\":\"Ruta del fitxer destinació (e.g. `/wiki/`)\"},\"$:/language/ControlPanel/Saving/GitService/Repo\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/Repo\",\"text\":\"Repositori destinació (e.g. `Jermolene/TiddlyWiki5`)\"},\"$:/language/ControlPanel/Saving/GitService/ServerURL\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/ServerURL\",\"text\":\"URL de l'API del servidor\"},\"$:/language/ControlPanel/Saving/GitService/UserName\":{\"title\":\"$:/language/ControlPanel/Saving/GitService/UserName\",\"text\":\"NomDUsuari\"},\"$:/language/ControlPanel/Saving/Heading\":{\"title\":\"$:/language/ControlPanel/Saving/Heading\",\"text\":\"S'està desant\"},\"$:/language/ControlPanel/Saving/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/Hint\",\"text\":\"Configuració que s’utilitza per desar tot el TiddlyWiki com a un únic fitxer amb un mòdul de desar\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading\",\"text\":\"Paràmetres avançats\"},\"$:/language/ControlPanel/Saving/TiddlySpot/BackupDir\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/BackupDir\",\"text\":\"Carpeta de les còpies de seguretat\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Backups\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Backups\",\"text\":\"Còpies de seguretat\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Caption\",\"text\":\"Gestor de baixades de ~TiddlySpot\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Description\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Description\",\"text\":\"Aquests paràmetres només es fan servir quan es desa a http://tiddlyspot.com o a un servidor remot compatible\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Filename\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Filename\",\"text\":\"Nom del fitxer que es pujarà\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Hint\",\"text\":\"//La URL per omisió del servidor és `http://\u003Cwikiname>.tiddlyspot.com/store.cgi` i es pot canviar per l'adreça d'un servidor personalitzat com ara `http://exemple.com/botiga.php`.//\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Password\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Password\",\"text\":\"Contrasenya\"},\"$:/language/ControlPanel/Saving/TiddlySpot/ServerURL\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/ServerURL\",\"text\":\"URL del servidor\"},\"$:/language/ControlPanel/Saving/TiddlySpot/UploadDir\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/UploadDir\",\"text\":\"Carpeta a la que es pujarà el fitxer\"},\"$:/language/ControlPanel/Saving/TiddlySpot/UserName\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/UserName\",\"text\":\"Usuari\"},\"$:/language/ControlPanel/Settings/AutoSave/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Caption\",\"text\":\"DesatAutomàtic\"},\"$:/language/ControlPanel/Settings/AutoSave/Disabled/Description\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Disabled/Description\",\"text\":\"No desis els canvis de forma automàtica\"},\"$:/language/ControlPanel/Settings/AutoSave/Enabled/Description\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Enabled/Description\",\"text\":\"Desa els canvis de forma automàtica\"},\"$:/language/ControlPanel/Settings/AutoSave/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Hint\",\"text\":\"Desa els canvis de forma automàtica mentre s'està editant\"},\"$:/language/ControlPanel/Settings/CamelCase/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Caption\",\"text\":\"Enllaços wiki tipus CamelCase\"},\"$:/language/ControlPanel/Settings/CamelCase/Description\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Description\",\"text\":\"Activa l'enllaç automàtic tipus ~CamelCase\"},\"$:/language/ControlPanel/Settings/CamelCase/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/CamelCase/Hint\",\"text\":\"Podeu desactivar globalment l’enllaç automàtic de les frases ~CamelCase. Cal que es torni a carregar per tenir efecte\"},\"$:/language/ControlPanel/Settings/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/Caption\",\"text\":\"Paràmetres\"},\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption\",\"text\":\"Pestanya Més de la barra lateral per omissió\"},\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Hint\",\"text\":\"Indiqueu la pestanya Més de la barra lateral que es mostra per omissió\"},\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption\",\"text\":\"Pestanya de la barra lateral que es mostra per omissió\"},\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/DefaultSidebarTab/Hint\",\"text\":\"Indiqueu la pestanya de la barra lateral que es mostra per omissió\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Caption\",\"text\":\"Barra d'eines de l'editor\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Description\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Description\",\"text\":\"Mostra la barra d'eines de l'editor\"},\"$:/language/ControlPanel/Settings/EditorToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/EditorToolbar/Hint\",\"text\":\"Activa o desactiva la barra d'eines de l'editor:\"},\"$:/language/ControlPanel/Settings/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/Hint\",\"text\":\"Aquests paràmetres us permeten personalitzar el comportament del TiddlyWiki.\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Caption\",\"text\":\"Mode del tauler d'informació del Tiddler\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Hint\",\"text\":\"Controla quan es tanca el tauler d'informació del tiddler:\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Popup/Description\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Popup/Description\",\"text\":\"El tauler d’informació del Tiddler es tanca automàticament\"},\"$:/language/ControlPanel/Settings/InfoPanelMode/Sticky/Description\":{\"title\":\"$:/language/ControlPanel/Settings/InfoPanelMode/Sticky/Description\",\"text\":\"El tauler d’informació del Tiddler roman obert fins que es tanqui explícitament\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/Caption\",\"text\":\"Comportament d'obertura del tiddler\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/InsideRiver/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/InsideRiver/Hint\",\"text\":\"Forma d'obrir els nous tiddlers de la columna principal\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAbove\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAbove\",\"text\":\"Obre per sobre del tiddler actual\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtBottom\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtBottom\",\"text\":\"Obre a la part inferior de la cronologia\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtTop\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtTop\",\"text\":\"Obre a la part superior de la cronologia\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenBelow\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OpenBelow\",\"text\":\"Obre per sota del tiddler actual\"},\"$:/language/ControlPanel/Settings/LinkToBehaviour/OutsideRiver/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/LinkToBehaviour/OutsideRiver/Hint\",\"text\":\"Forma d'obrir els nous tiddlers fora de la columna principal\"},\"$:/language/ControlPanel/Settings/MissingLinks/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Caption\",\"text\":\"Enllaços Wiki\"},\"$:/language/ControlPanel/Settings/MissingLinks/Description\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Description\",\"text\":\"Activa els enllaços als tiddlers que falten\"},\"$:/language/ControlPanel/Settings/MissingLinks/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/MissingLinks/Hint\",\"text\":\"Escolliu si voleu enllaçar els tiddlers que encara no existeixen\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Caption\",\"text\":\"Barra d'adreces de navegació\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Hint\",\"text\":\"Comportament de la barra d'adreces en navegar cap a un tiddler:\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description\",\"text\":\"No actualitzis la barra d'adreces\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description\",\"text\":\"Inclou el tiddler destinació\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description\",\"text\":\"Inclou el tiddler destinació i la cronologia actual\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Caption\",\"text\":\"Històrial de navegació\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Hint\",\"text\":\"Actualitza l'històrial del navegador en navegar cap a un tiddler:\"},\"$:/language/ControlPanel/Settings/NavigationHistory/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/No/Description\",\"text\":\"No actualitzis l'històrial\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description\",\"text\":\"Actualitza l'històrial\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption\",\"text\":\"Mode enllaç permanent/vista permanent\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/CopyToClipboard/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/CopyToClipboard/Description\",\"text\":\"Copia l’URL de l'enllaç permanent/vista permanent al portapapers\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Hint\",\"text\":\"Trieu com es gestiona l'enllaç permanent/vista permanent\"},\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description\",\"text\":\"Poseu l’URL de l'enllaç permanent/vista permanent a la barra d’adreces\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption\",\"text\":\"Instruments del rendiment\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Description\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Description\",\"text\":\"Activa els instruments del rendiment\"},\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/PerformanceInstrumentation/Hint\",\"text\":\"Mostra les estadístiques de rendiment a la consola del desenvolupador del navegador. Cal tornar-ho a carregar per que tingui efecte\"},\"$:/language/ControlPanel/Settings/TitleLinks/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Caption\",\"text\":\"Títols dels Tiddlers\"},\"$:/language/ControlPanel/Settings/TitleLinks/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Hint\",\"text\":\"Mostra opcionalment els títols de tiddler com a enllaços\"},\"$:/language/ControlPanel/Settings/TitleLinks/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/No/Description\",\"text\":\"No mostris els títols dels tiddlers com a enllaços\"},\"$:/language/ControlPanel/Settings/TitleLinks/Yes/Description\":{\"title\":\"$:/language/ControlPanel/Settings/TitleLinks/Yes/Description\",\"text\":\"Mostra els títols dels tiddlers com a enllaços\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Caption\",\"text\":\"Botons de la barra d'eines\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Hint\",\"text\":\"Aparença del botó de la barra d'eines per omissió:\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description\",\"text\":\"Inclou la icona\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description\",\"text\":\"Inclou el text\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption\",\"text\":\"Estil del botó de la barra d’eines\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Hint\",\"text\":\"Trieu l'estil per als botons de la barra d'eines:\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless\",\"text\":\"Sense vora\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed\",\"text\":\"En caixa\"},\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded\",\"text\":\"Arrodonit\"},\"$:/language/ControlPanel/StoryView/Caption\":{\"title\":\"$:/language/ControlPanel/StoryView/Caption\",\"text\":\"Mode de visualització\"},\"$:/language/ControlPanel/StoryView/Prompt\":{\"title\":\"$:/language/ControlPanel/StoryView/Prompt\",\"text\":\"Vista actual\"},\"$:/language/ControlPanel/Stylesheets/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Caption\",\"text\":\"Fulls d'estil\"},\"$:/language/ControlPanel/Stylesheets/Expand/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Expand/Caption\",\"text\":\"Expandeix-ho tot\"},\"$:/language/ControlPanel/Stylesheets/Hint\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Hint\",\"text\":\"Aquest és el CSS generat amb el full d'estils actual etiquetat amb \u003C\u003Ctag \\\"$:/tags/Stylesheet\\\">>\"},\"$:/language/ControlPanel/Stylesheets/Restore/Caption\":{\"title\":\"$:/language/ControlPanel/Stylesheets/Restore/Caption\",\"text\":\"Restaura\"},\"$:/language/ControlPanel/Theme/Caption\":{\"title\":\"$:/language/ControlPanel/Theme/Caption\",\"text\":\"Tema\"},\"$:/language/ControlPanel/Theme/Prompt\":{\"title\":\"$:/language/ControlPanel/Theme/Prompt\",\"text\":\"Tema actual:\"},\"$:/language/ControlPanel/TiddlerFields/Caption\":{\"title\":\"$:/language/ControlPanel/TiddlerFields/Caption\",\"text\":\"Camps del tiddler\"},\"$:/language/ControlPanel/TiddlerFields/Hint\":{\"title\":\"$:/language/ControlPanel/TiddlerFields/Hint\",\"text\":\"Aquest és el conjunt complet de CampsDelsTiddlers utilitzats en aquest wiki (inclòs els tiddlers del sistema però sense incloure els tiddlers ombra).\"},\"$:/language/ControlPanel/Toolbars/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/Caption\",\"text\":\"Barres d'eines\"},\"$:/language/ControlPanel/Toolbars/EditorToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditorToolbar/Caption\",\"text\":\"Barra d'eines de l'editor\"},\"$:/language/ControlPanel/Toolbars/EditorToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditorToolbar/Hint\",\"text\":\"Trieu quins botons es mostren a la barra d’eines de l’editor. Alguns botons només apareixeran en editar els tiddlers d’un determinat tipus. Podeu arrossegar i deixar anar els botons per canviar-ne l'ordre.\"},\"$:/language/ControlPanel/Toolbars/EditToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditToolbar/Caption\",\"text\":\"Barra d'eines d'edició\"},\"$:/language/ControlPanel/Toolbars/EditToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditToolbar/Hint\",\"text\":\"Trieu quins botons es mostren als tiddlers en mode edició. Podeu arrossegar i deixar anar els botons per canviar-ne l'ordre.\"},\"$:/language/ControlPanel/Toolbars/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/Hint\",\"text\":\"Trieu els botons de les barres d'eines.\"},\"$:/language/ControlPanel/Toolbars/PageControls/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/PageControls/Caption\",\"text\":\"Barra d'eines de la pàgina\"},\"$:/language/ControlPanel/Toolbars/PageControls/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/PageControls/Hint\",\"text\":\"Trieu quins botons es mostren a la barra d'eines de la pàgina principal. Podeu arrossegar i deixar anar els botons per canviar-ne l'ordre.\"},\"$:/language/ControlPanel/Toolbars/ViewToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/ViewToolbar/Caption\",\"text\":\"Barra d'eines de vista\"},\"$:/language/ControlPanel/Toolbars/ViewToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/ViewToolbar/Hint\",\"text\":\"Trieu quins botons es mostren als tiddlers en mode vista. Podeu arrossegar i deixar anar els botons per canviar-ne l'ordre.\"},\"$:/language/ControlPanel/Tools/Download/Full/Caption\":{\"title\":\"$:/language/ControlPanel/Tools/Download/Full/Caption\",\"text\":\"Baixa tot el wiki\"},\"$:/core/readme\":{\"title\":\"$:/core/readme\",\"text\":\"Aquest connector conté components del nucli de TiddlyWiki, com ara:\\n\\n* Els mòduls de codi JavaScript,\\n* Icones\\n* Plantilles necessàries per crear la interfície d'usuari de TiddlyWiki\\n* Traduccions en Català ('ca-ES' ') de les cadenes localitzables utilitzades pel nucli\"},\"$:/language/Date/DaySuffix/1\":{\"title\":\"$:/language/Date/DaySuffix/1\",\"text\":\"r\"},\"$:/language/Date/DaySuffix/10\":{\"title\":\"$:/language/Date/DaySuffix/10\",\"text\":\"\"},\"$:/language/Date/DaySuffix/11\":{\"title\":\"$:/language/Date/DaySuffix/11\",\"text\":\"\"},\"$:/language/Date/DaySuffix/12\":{\"title\":\"$:/language/Date/DaySuffix/12\",\"text\":\"\"},\"$:/language/Date/DaySuffix/13\":{\"title\":\"$:/language/Date/DaySuffix/13\",\"text\":\"\"},\"$:/language/Date/DaySuffix/14\":{\"title\":\"$:/language/Date/DaySuffix/14\",\"text\":\"\"},\"$:/language/Date/DaySuffix/15\":{\"title\":\"$:/language/Date/DaySuffix/15\",\"text\":\"\"},\"$:/language/Date/DaySuffix/16\":{\"title\":\"$:/language/Date/DaySuffix/16\",\"text\":\"\"},\"$:/language/Date/DaySuffix/17\":{\"title\":\"$:/language/Date/DaySuffix/17\",\"text\":\"\"},\"$:/language/Date/DaySuffix/18\":{\"title\":\"$:/language/Date/DaySuffix/18\",\"text\":\"\"},\"$:/language/Date/DaySuffix/19\":{\"title\":\"$:/language/Date/DaySuffix/19\",\"text\":\"\"},\"$:/language/Date/DaySuffix/2\":{\"title\":\"$:/language/Date/DaySuffix/2\",\"text\":\"\"},\"$:/language/Date/DaySuffix/20\":{\"title\":\"$:/language/Date/DaySuffix/20\",\"text\":\"\"},\"$:/language/Date/DaySuffix/21\":{\"title\":\"$:/language/Date/DaySuffix/21\",\"text\":\"\"},\"$:/language/Date/DaySuffix/22\":{\"title\":\"$:/language/Date/DaySuffix/22\",\"text\":\"\"},\"$:/language/Date/DaySuffix/23\":{\"title\":\"$:/language/Date/DaySuffix/23\",\"text\":\"\"},\"$:/language/Date/DaySuffix/24\":{\"title\":\"$:/language/Date/DaySuffix/24\",\"text\":\"\"},\"$:/language/Date/DaySuffix/25\":{\"title\":\"$:/language/Date/DaySuffix/25\",\"text\":\"\"},\"$:/language/Date/DaySuffix/26\":{\"title\":\"$:/language/Date/DaySuffix/26\",\"text\":\"\"},\"$:/language/Date/DaySuffix/27\":{\"title\":\"$:/language/Date/DaySuffix/27\",\"text\":\"\"},\"$:/language/Date/DaySuffix/28\":{\"title\":\"$:/language/Date/DaySuffix/28\",\"text\":\"\"},\"$:/language/Date/DaySuffix/29\":{\"title\":\"$:/language/Date/DaySuffix/29\",\"text\":\"\"},\"$:/language/Date/DaySuffix/3\":{\"title\":\"$:/language/Date/DaySuffix/3\",\"text\":\"\"},\"$:/language/Date/DaySuffix/30\":{\"title\":\"$:/language/Date/DaySuffix/30\",\"text\":\"\"},\"$:/language/Date/DaySuffix/31\":{\"title\":\"$:/language/Date/DaySuffix/31\",\"text\":\"\"},\"$:/language/Date/DaySuffix/4\":{\"title\":\"$:/language/Date/DaySuffix/4\",\"text\":\"\"},\"$:/language/Date/DaySuffix/5\":{\"title\":\"$:/language/Date/DaySuffix/5\",\"text\":\"\"},\"$:/language/Date/DaySuffix/6\":{\"title\":\"$:/language/Date/DaySuffix/6\",\"text\":\"\"},\"$:/language/Date/DaySuffix/7\":{\"title\":\"$:/language/Date/DaySuffix/7\",\"text\":\"\"},\"$:/language/Date/DaySuffix/8\":{\"title\":\"$:/language/Date/DaySuffix/8\",\"text\":\"\"},\"$:/language/Date/DaySuffix/9\":{\"title\":\"$:/language/Date/DaySuffix/9\",\"text\":\"\"},\"$:/language/Date/Long/Day/0\":{\"title\":\"$:/language/Date/Long/Day/0\",\"text\":\"Diumenge\"},\"$:/language/Date/Long/Day/1\":{\"title\":\"$:/language/Date/Long/Day/1\",\"text\":\"Dilluns\"},\"$:/language/Date/Long/Day/2\":{\"title\":\"$:/language/Date/Long/Day/2\",\"text\":\"Dimarts\"},\"$:/language/Date/Long/Day/3\":{\"title\":\"$:/language/Date/Long/Day/3\",\"text\":\"Dimarts\"},\"$:/language/Date/Long/Day/4\":{\"title\":\"$:/language/Date/Long/Day/4\",\"text\":\"Dijous\"},\"$:/language/Date/Long/Day/5\":{\"title\":\"$:/language/Date/Long/Day/5\",\"text\":\"Divendres\"},\"$:/language/Date/Long/Day/6\":{\"title\":\"$:/language/Date/Long/Day/6\",\"text\":\"Dissabte\"},\"$:/language/Date/Long/Month/1\":{\"title\":\"$:/language/Date/Long/Month/1\",\"text\":\"de gener\"},\"$:/language/Date/Long/Month/10\":{\"title\":\"$:/language/Date/Long/Month/10\",\"text\":\"d'octubre\"},\"$:/language/Date/Long/Month/11\":{\"title\":\"$:/language/Date/Long/Month/11\",\"text\":\"de novembre\"},\"$:/language/Date/Long/Month/12\":{\"title\":\"$:/language/Date/Long/Month/12\",\"text\":\"de desembre\"},\"$:/language/Date/Long/Month/2\":{\"title\":\"$:/language/Date/Long/Month/2\",\"text\":\"de febrer\"},\"$:/language/Date/Long/Month/3\":{\"title\":\"$:/language/Date/Long/Month/3\",\"text\":\"de març\"},\"$:/language/Date/Long/Month/4\":{\"title\":\"$:/language/Date/Long/Month/4\",\"text\":\"d'abril de\"},\"$:/language/Date/Long/Month/5\":{\"title\":\"$:/language/Date/Long/Month/5\",\"text\":\"de maig\"},\"$:/language/Date/Long/Month/6\":{\"title\":\"$:/language/Date/Long/Month/6\",\"text\":\"de juny\"},\"$:/language/Date/Long/Month/7\":{\"title\":\"$:/language/Date/Long/Month/7\",\"text\":\"de juliol\"},\"$:/language/Date/Long/Month/8\":{\"title\":\"$:/language/Date/Long/Month/8\",\"text\":\"d'agost\"},\"$:/language/Date/Long/Month/9\":{\"title\":\"$:/language/Date/Long/Month/9\",\"text\":\"de septembre\"},\"$:/language/Date/Short/Day/0\":{\"title\":\"$:/language/Date/Short/Day/0\",\"text\":\"Diu\"},\"$:/language/Date/Short/Day/1\":{\"title\":\"$:/language/Date/Short/Day/1\",\"text\":\"Dil\"},\"$:/language/Date/Short/Day/2\":{\"title\":\"$:/language/Date/Short/Day/2\",\"text\":\"Dim\"},\"$:/language/Date/Short/Day/3\":{\"title\":\"$:/language/Date/Short/Day/3\",\"text\":\"Dic\"},\"$:/language/Date/Short/Day/4\":{\"title\":\"$:/language/Date/Short/Day/4\",\"text\":\"Dij\"},\"$:/language/Date/Short/Day/5\":{\"title\":\"$:/language/Date/Short/Day/5\",\"text\":\"Div\"},\"$:/language/Date/Short/Day/6\":{\"title\":\"$:/language/Date/Short/Day/6\",\"text\":\"Dis\"},\"$:/language/Date/Short/Month/1\":{\"title\":\"$:/language/Date/Short/Month/1\",\"text\":\"Gen\"},\"$:/language/Date/Short/Month/12\":{\"title\":\"$:/language/Date/Short/Month/12\",\"text\":\"Des\"},\"$:/language/Date/Short/Month/4\":{\"title\":\"$:/language/Date/Short/Month/4\",\"text\":\"Abr\"},\"$:/language/Date/Short/Month/5\":{\"title\":\"$:/language/Date/Short/Month/5\",\"text\":\"Mai\"},\"$:/language/Date/Short/Month/8\":{\"title\":\"$:/language/Date/Short/Month/8\",\"text\":\"Ago\"},\"$:/language/Date/Period/am\":{\"title\":\"$:/language/Date/Period/am\",\"text\":\"del matí\"},\"$:/language/Date/Period/pm\":{\"title\":\"$:/language/Date/Period/pm\",\"text\":\"de la tarda\"},\"$:/language/RelativeDate/Future/Days\":{\"title\":\"$:/language/RelativeDate/Future/Days\",\"text\":\"\u003C\u003Cperiod>> dies des d'ara\"},\"$:/language/RelativeDate/Future/Hours\":{\"title\":\"$:/language/RelativeDate/Future/Hours\",\"text\":\"\u003C\u003Cperiod>> hores des d'ara\"},\"$:/language/RelativeDate/Future/Minutes\":{\"title\":\"$:/language/RelativeDate/Future/Minutes\",\"text\":\"\u003C\u003Cperiod>> minuts des d'ara\"},\"$:/language/RelativeDate/Future/Months\":{\"title\":\"$:/language/RelativeDate/Future/Months\",\"text\":\"\u003C\u003Cperiod>> mesos des d'ara\"},\"$:/language/RelativeDate/Future/Second\":{\"title\":\"$:/language/RelativeDate/Future/Second\",\"text\":\"1 segon des d'ara\"},\"$:/language/RelativeDate/Future/Seconds\":{\"title\":\"$:/language/RelativeDate/Future/Seconds\",\"text\":\"\u003C\u003Cperiod>> segons des d'ara\"},\"$:/language/RelativeDate/Future/Years\":{\"title\":\"$:/language/RelativeDate/Future/Years\",\"text\":\"\u003C\u003Cperiod>> anys des d'ara\"},\"$:/language/RelativeDate/Past/Days\":{\"title\":\"$:/language/RelativeDate/Past/Days\",\"text\":\"fa \u003C\u003Cperiod>> dies\"},\"$:/language/RelativeDate/Past/Hours\":{\"title\":\"$:/language/RelativeDate/Past/Hours\",\"text\":\"fa \u003C\u003Cperiod>> hores\"},\"$:/language/RelativeDate/Past/Minutes\":{\"title\":\"$:/language/RelativeDate/Past/Minutes\",\"text\":\"fa \u003C\u003Cperiod>> minuts\"},\"$:/language/RelativeDate/Past/Months\":{\"title\":\"$:/language/RelativeDate/Past/Months\",\"text\":\"fa \u003C\u003Cperiod>> mesos\"},\"$:/language/RelativeDate/Past/Second\":{\"title\":\"$:/language/RelativeDate/Past/Second\",\"text\":\"fa 1 segon\"},\"$:/language/RelativeDate/Past/Seconds\":{\"title\":\"$:/language/RelativeDate/Past/Seconds\",\"text\":\"fa \u003C\u003Cperiod>> segons\"},\"$:/language/RelativeDate/Past/Years\":{\"title\":\"$:/language/RelativeDate/Past/Years\",\"text\":\"fa \u003C\u003Cperiod>> anys\"},\"$:/language/Docs/ModuleTypes/allfilteroperator\":{\"title\":\"$:/language/Docs/ModuleTypes/allfilteroperator\",\"text\":\"Un suboperador per a l’operador de filtre '' all ''.\"},\"$:/language/Docs/ModuleTypes/animation\":{\"title\":\"$:/language/Docs/ModuleTypes/animation\",\"text\":\"Animacions que es poden utilitzar amb el RevealWidget.\"},\"$:/language/Docs/ModuleTypes/authenticator\":{\"title\":\"$:/language/Docs/ModuleTypes/authenticator\",\"text\":\"Defineix com el servidor HTTP integrat autentica les sol·licituds.\"},\"$:/language/Docs/ModuleTypes/bitmapeditoroperation\":{\"title\":\"$:/language/Docs/ModuleTypes/bitmapeditoroperation\",\"text\":\"Una operació de la barra d'eines de l'editor de mapes de bits.\"},\"$:/language/Docs/ModuleTypes/command\":{\"title\":\"$:/language/Docs/ModuleTypes/command\",\"text\":\"Ordres que es poden executar a Node.js.\"},\"$:/language/Docs/ModuleTypes/config\":{\"title\":\"$:/language/Docs/ModuleTypes/config\",\"text\":\"Dades per a insertar a `$tw.config`.\"},\"$:/language/Docs/ModuleTypes/filteroperator\":{\"title\":\"$:/language/Docs/ModuleTypes/filteroperator\",\"text\":\"Mètodes individuals de l'operador filtre.\"},\"$:/language/Docs/ModuleTypes/global\":{\"title\":\"$:/language/Docs/ModuleTypes/global\",\"text\":\"Dades globals per a insertar a `$tw`.\"},\"$:/language/Docs/ModuleTypes/info\":{\"title\":\"$:/language/Docs/ModuleTypes/info\",\"text\":\"Publica la informació del sistema mitjançant el pseudo-connector [[$:/temp/info-plugin]].\"},\"$:/language/Docs/ModuleTypes/isfilteroperator\":{\"title\":\"$:/language/Docs/ModuleTypes/isfilteroperator\",\"text\":\"Operands pel operador filtre ''is''.\"},\"$:/language/Docs/ModuleTypes/library\":{\"title\":\"$:/language/Docs/ModuleTypes/library\",\"text\":\"Tipus de mòdul genèric per a mòduls JavaScript de propòsit general.\"},\"$:/language/Docs/ModuleTypes/macro\":{\"title\":\"$:/language/Docs/ModuleTypes/macro\",\"text\":\"Definicions de macros JavaScript.\"},\"$:/language/Docs/ModuleTypes/parser\":{\"title\":\"$:/language/Docs/ModuleTypes/parser\",\"text\":\"Analitzadors sintàctics per a diferents tipus de continguts.\"},\"$:/language/Docs/ModuleTypes/route\":{\"title\":\"$:/language/Docs/ModuleTypes/route\",\"text\":\"Defineix com el servidor HTTP integrat gestiona els patrons d’URL individuals.\"},\"$:/language/Docs/ModuleTypes/saver\":{\"title\":\"$:/language/Docs/ModuleTypes/saver\",\"text\":\"Els gestors de baixades (saver) ofereixen diferents mètodes per a desar fitxers des del navegador.\"},\"$:/language/Docs/ModuleTypes/startup\":{\"title\":\"$:/language/Docs/ModuleTypes/startup\",\"text\":\"Funcions de l'inici\"},\"$:/language/Docs/ModuleTypes/storyview\":{\"title\":\"$:/language/Docs/ModuleTypes/storyview\",\"text\":\"El mode de visualització permet personalizar l'animació i el comportament de les llistes\"},\"$:/language/Docs/ModuleTypes/texteditoroperation\":{\"title\":\"$:/language/Docs/ModuleTypes/texteditoroperation\",\"text\":\"Una operació de la barra d'eines de l'editor de text.\"},\"$:/language/Docs/ModuleTypes/tiddlerdeserializer\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlerdeserializer\",\"text\":\"Converteix diferents tipus de contingut a tiddlers.\"},\"$:/language/Docs/ModuleTypes/tiddlerfield\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlerfield\",\"text\":\"Defineix el comportament d'un camp individual d'un tiddler.\"},\"$:/language/Docs/ModuleTypes/tiddlermethod\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlermethod\",\"text\":\"Afegeix mètodes al prototip `$tw.Tiddler`.\"},\"$:/language/Docs/ModuleTypes/upgrader\":{\"title\":\"$:/language/Docs/ModuleTypes/upgrader\",\"text\":\"Aplica processament d'actualització als tiddlers durant una actualització o importació.\"},\"$:/language/Docs/ModuleTypes/utils\":{\"title\":\"$:/language/Docs/ModuleTypes/utils\",\"text\":\"Afegeix mètodes a `$tw.utils`.\"},\"$:/language/Docs/ModuleTypes/utils-node\":{\"title\":\"$:/language/Docs/ModuleTypes/utils-node\",\"text\":\"Afegeix mètodes específics de Node.js a `$tw.utils`.\"},\"$:/language/Docs/ModuleTypes/widget\":{\"title\":\"$:/language/Docs/ModuleTypes/widget\",\"text\":\"Els widgets encapsulen el renderitzat i l'actualització del DOM.\"},\"$:/language/Docs/ModuleTypes/wikimethod\":{\"title\":\"$:/language/Docs/ModuleTypes/wikimethod\",\"text\":\"Afegeix mètodes a `$tw.Wiki`.\"},\"$:/language/Docs/ModuleTypes/wikirule\":{\"title\":\"$:/language/Docs/ModuleTypes/wikirule\",\"text\":\"Regles d'anàlisi sintàctic individuals per a l'analitzador sintàctic principal del WikiText.\"},\"$:/language/Docs/PaletteColours/alert-background\":{\"title\":\"$:/language/Docs/PaletteColours/alert-background\",\"text\":\"Fons de l'avís\"},\"$:/language/Docs/PaletteColours/alert-border\":{\"title\":\"$:/language/Docs/PaletteColours/alert-border\",\"text\":\"Vora de l'avís\"},\"$:/language/Docs/PaletteColours/alert-highlight\":{\"title\":\"$:/language/Docs/PaletteColours/alert-highlight\",\"text\":\"Destacat de l'avís\"},\"$:/language/Docs/PaletteColours/alert-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/alert-muted-foreground\",\"text\":\"Primer plà de l'avís silenciat\"},\"$:/language/Docs/PaletteColours/background\":{\"title\":\"$:/language/Docs/PaletteColours/background\",\"text\":\"Fons general\"},\"$:/language/Docs/PaletteColours/blockquote-bar\":{\"title\":\"$:/language/Docs/PaletteColours/blockquote-bar\",\"text\":\"Barra de bloc de cita\"},\"$:/language/Docs/PaletteColours/button-background\":{\"title\":\"$:/language/Docs/PaletteColours/button-background\",\"text\":\"Fons del botó predeterminat\"},\"$:/language/Docs/PaletteColours/button-border\":{\"title\":\"$:/language/Docs/PaletteColours/button-border\",\"text\":\"Vora del botó predeterminat\"},\"$:/language/Docs/PaletteColours/button-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/button-foreground\",\"text\":\"Primer pla del botó predeterminat\"},\"$:/language/Docs/PaletteColours/code-background\":{\"title\":\"$:/language/Docs/PaletteColours/code-background\",\"text\":\"Fons del codi\"},\"$:/language/Docs/PaletteColours/code-border\":{\"title\":\"$:/language/Docs/PaletteColours/code-border\",\"text\":\"Vora del codi\"},\"$:/language/Docs/PaletteColours/code-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/code-foreground\",\"text\":\"Primer plà del codi\"},\"$:/language/Docs/PaletteColours/dirty-indicator\":{\"title\":\"$:/language/Docs/PaletteColours/dirty-indicator\",\"text\":\"Indicador dels canvis sense desar\"},\"$:/language/Docs/PaletteColours/download-background\":{\"title\":\"$:/language/Docs/PaletteColours/download-background\",\"text\":\"Fons del botó de baixada\"},\"$:/language/Docs/PaletteColours/download-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/download-foreground\",\"text\":\"Primer plà del botó de baixada\"},\"$:/language/Docs/PaletteColours/dragger-background\":{\"title\":\"$:/language/Docs/PaletteColours/dragger-background\",\"text\":\"Fons de l'arrossegador\"},\"$:/language/Docs/PaletteColours/dragger-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/dragger-foreground\",\"text\":\"Primer plà de l'arrossegador\"},\"$:/language/Docs/PaletteColours/dropdown-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-background\",\"text\":\"Fons de la llista desplegable\"},\"$:/language/Docs/PaletteColours/dropdown-border\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-border\",\"text\":\"Vora de la llista desplegable\"},\"$:/language/Docs/PaletteColours/dropdown-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-tab-background\",\"text\":\"Fons de la pestanya de la llista desplegable\"},\"$:/language/Docs/PaletteColours/dropdown-tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-tab-background-selected\",\"text\":\"Fons de la pestanya de la llista desplegable per les pestanyes seleccionades\"},\"$:/language/Docs/PaletteColours/dropzone-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropzone-background\",\"text\":\"Fons de la zona d'aterratge\"},\"$:/language/Docs/PaletteColours/external-link-background\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background\",\"text\":\"Fons de l'enllaç extern\"},\"$:/language/Docs/PaletteColours/external-link-background-hover\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background-hover\",\"text\":\"Fons de la bafarada de l'enllaç extern\"},\"$:/language/Docs/PaletteColours/external-link-background-visited\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background-visited\",\"text\":\"Fons de l'enllaç extern visitat\"},\"$:/language/Docs/PaletteColours/external-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground\",\"text\":\"Primer plà de l'enllaç extern\"},\"$:/language/Docs/PaletteColours/external-link-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground-hover\",\"text\":\"Primer plà de la bafarada de l'enllaç extern\"},\"$:/language/Docs/PaletteColours/external-link-foreground-visited\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground-visited\",\"text\":\"Primer plà de l'enllaç extern visitat\"},\"$:/language/Docs/PaletteColours/foreground\":{\"title\":\"$:/language/Docs/PaletteColours/foreground\",\"text\":\"Primer plà general\"},\"$:/language/Docs/PaletteColours/menubar-background\":{\"title\":\"$:/language/Docs/PaletteColours/menubar-background\",\"text\":\"Fons de la barra de menús\"},\"$:/language/Docs/PaletteColours/menubar-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/menubar-foreground\",\"text\":\"Primer plà de la barra de menús\"},\"$:/language/Docs/PaletteColours/message-background\":{\"title\":\"$:/language/Docs/PaletteColours/message-background\",\"text\":\"Fons de la capsa de text\"},\"$:/language/Docs/PaletteColours/message-border\":{\"title\":\"$:/language/Docs/PaletteColours/message-border\",\"text\":\"Vora de la capsa de text\"},\"$:/language/Docs/PaletteColours/message-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/message-foreground\",\"text\":\"Primer plà de la capsa de text\"},\"$:/language/Docs/PaletteColours/modal-backdrop\":{\"title\":\"$:/language/Docs/PaletteColours/modal-backdrop\",\"text\":\"Zona d'aterratge dels diàlegs modals\"},\"$:/language/Docs/PaletteColours/modal-background\":{\"title\":\"$:/language/Docs/PaletteColours/modal-background\",\"text\":\"Fons dels diàlegs modals\"},\"$:/language/Docs/PaletteColours/modal-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-border\",\"text\":\"Vora dels diàlegs modals\"},\"$:/language/Docs/PaletteColours/modal-footer-background\":{\"title\":\"$:/language/Docs/PaletteColours/modal-footer-background\",\"text\":\"Fons del peu dels diàlegs modals\"},\"$:/language/Docs/PaletteColours/modal-footer-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-footer-border\",\"text\":\"Vora del peu dels diàlegs modals\"},\"$:/language/Docs/PaletteColours/modal-header-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-header-border\",\"text\":\"Vora de la capçalera dels diàlegs modals\"},\"$:/language/Docs/PaletteColours/muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/muted-foreground\",\"text\":\"Primer plà silenciat general\"},\"$:/language/Docs/PaletteColours/notification-background\":{\"title\":\"$:/language/Docs/PaletteColours/notification-background\",\"text\":\"Fons de la notificació\"},\"$:/language/Docs/PaletteColours/notification-border\":{\"title\":\"$:/language/Docs/PaletteColours/notification-border\",\"text\":\"Vora de la notificació\"},\"$:/language/Docs/PaletteColours/page-background\":{\"title\":\"$:/language/Docs/PaletteColours/page-background\",\"text\":\"Fons de la pàgina\"},\"$:/language/Docs/PaletteColours/pre-background\":{\"title\":\"$:/language/Docs/PaletteColours/pre-background\",\"text\":\"Fons del codi preformatat\"},\"$:/language/Docs/PaletteColours/pre-border\":{\"title\":\"$:/language/Docs/PaletteColours/pre-border\",\"text\":\"Vora del codi preformatat\"},\"$:/language/Docs/PaletteColours/primary\":{\"title\":\"$:/language/Docs/PaletteColours/primary\",\"text\":\"General primari\"},\"$:/language/Docs/PaletteColours/select-tag-background\":{\"title\":\"$:/language/Docs/PaletteColours/select-tag-background\",\"text\":\"`\u003Cselect>` el fons de l’element\"},\"$:/language/Docs/PaletteColours/select-tag-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/select-tag-foreground\",\"text\":\"`\u003Cselect>`el text de l'element\"},\"$:/language/Docs/PaletteColours/sidebar-button-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-button-foreground\",\"text\":\"Primer plà del botó de la barra lateral\"},\"$:/language/Docs/PaletteColours/sidebar-controls-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-controls-foreground\",\"text\":\"Primer plà dels controls de la barra lateral\"},\"$:/language/Docs/PaletteColours/sidebar-controls-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-controls-foreground-hover\",\"text\":\"Primer plà de la bafarada dels controls de la barra lateral\"},\"$:/language/Docs/PaletteColours/sidebar-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-foreground\",\"text\":\"Primer plà de la barra lateral\"},\"$:/language/Docs/PaletteColours/sidebar-foreground-shadow\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-foreground-shadow\",\"text\":\"Ombra del primer plà de la barra lateral\"},\"$:/language/Docs/PaletteColours/sidebar-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-muted-foreground\",\"text\":\"Primer plà de la barra lateral silenciada\"},\"$:/language/Docs/PaletteColours/sidebar-muted-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-muted-foreground-hover\",\"text\":\"Primer plà de la bafarada de la barra lateral silenciada\"},\"$:/language/Docs/PaletteColours/sidebar-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-background\",\"text\":\"Fons de la pestanya de la barra lateral\"},\"$:/language/Docs/PaletteColours/sidebar-tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-background-selected\",\"text\":\"Fons de la pestanya de la barra lateral per les pestanyes seleccionades\"},\"$:/language/Docs/PaletteColours/sidebar-tab-border\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-border\",\"text\":\"Vora de la pestanya de la barra lateral\"},\"$:/language/Docs/PaletteColours/sidebar-tab-border-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-border-selected\",\"text\":\"Vora de la pestanya de la barra lateral per les pestanyes seleccionades\"},\"$:/language/Docs/PaletteColours/sidebar-tab-divider\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-divider\",\"text\":\"Divisor de la pestanya de la barra lateral\"},\"$:/language/Docs/PaletteColours/sidebar-tab-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-foreground\",\"text\":\"Primer plà de la pestanya de la barra lateral\"},\"$:/language/Docs/PaletteColours/sidebar-tab-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-foreground-selected\",\"text\":\"Primer plà de la pestanya de la barra lateral per les pestanyes seleccionades\"},\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground\",\"text\":\"Primer plà de l'enllaç del tiddler de la barra lateral\"},\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground-hover\",\"text\":\"Primer plà de la bafarada de l'enllaç del tiddler de la barra lateral\"},\"$:/language/Docs/PaletteColours/site-title-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/site-title-foreground\",\"text\":\"Primer pla del títol del lloc\"},\"$:/language/Docs/PaletteColours/static-alert-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/static-alert-foreground\",\"text\":\"Primer plà de l'avís estàtic\"},\"$:/language/Docs/PaletteColours/tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/tab-background\",\"text\":\"Fons de la pestanya\"},\"$:/language/Docs/PaletteColours/tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-background-selected\",\"text\":\"Fons de la pestanya per les pestanyes seleccionades\"},\"$:/language/Docs/PaletteColours/tab-border\":{\"title\":\"$:/language/Docs/PaletteColours/tab-border\",\"text\":\"Vora de la pestanya\"},\"$:/language/Docs/PaletteColours/tab-border-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-border-selected\",\"text\":\"Vora de la pestanya per les pestanyes seleccionades\"},\"$:/language/Docs/PaletteColours/tab-divider\":{\"title\":\"$:/language/Docs/PaletteColours/tab-divider\",\"text\":\"Divisor de la pestanya\"},\"$:/language/Docs/PaletteColours/tab-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tab-foreground\",\"text\":\"Primer plà de la pestanya\"},\"$:/language/Docs/PaletteColours/tab-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-foreground-selected\",\"text\":\"Primer plà de la pestanya per les pestanyes seleccionades\"},\"$:/language/Docs/PaletteColours/table-border\":{\"title\":\"$:/language/Docs/PaletteColours/table-border\",\"text\":\"Vora de la taula\"},\"$:/language/Docs/PaletteColours/table-footer-background\":{\"title\":\"$:/language/Docs/PaletteColours/table-footer-background\",\"text\":\"Fons del peu de la taula\"},\"$:/language/Docs/PaletteColours/table-header-background\":{\"title\":\"$:/language/Docs/PaletteColours/table-header-background\",\"text\":\"Fons de la capçalera de la taula\"},\"$:/language/Docs/PaletteColours/tag-background\":{\"title\":\"$:/language/Docs/PaletteColours/tag-background\",\"text\":\"Fons de l'etiqueta\"},\"$:/language/Docs/PaletteColours/tag-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tag-foreground\",\"text\":\"Primer plà de l'etiqueta\"},\"$:/language/Docs/PaletteColours/tiddler-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-background\",\"text\":\"Fons del tiddler\"},\"$:/language/Docs/PaletteColours/tiddler-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-border\",\"text\":\"Vora del tiddler\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground\",\"text\":\"Primer plà dels controls del tiddler\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-hover\",\"text\":\"Primer plà de la bafarada dels controls del tiddler\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-selected\",\"text\":\"Primer plà dels controls del tiddler per als controls seleccionats\"},\"$:/language/Docs/PaletteColours/tiddler-editor-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-background\",\"text\":\"Fons de l'editor de tiddlers\"},\"$:/language/Docs/PaletteColours/tiddler-editor-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-border\",\"text\":\"Vora de l'editor de tiddlers\"},\"$:/language/Docs/PaletteColours/tiddler-editor-border-image\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-border-image\",\"text\":\"Imatge de la vora de l'editor de tiddlers\"},\"$:/language/Docs/PaletteColours/tiddler-editor-fields-even\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-fields-even\",\"text\":\"Fons de l'editor de tiddlers per als camps parells\"},\"$:/language/Docs/PaletteColours/tiddler-editor-fields-odd\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-fields-odd\",\"text\":\"Fons de l'editor de tiddlers per als camps senars\"},\"$:/language/Docs/PaletteColours/tiddler-info-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-background\",\"text\":\"Fons del tiddler del tauler d'informació\"},\"$:/language/Docs/PaletteColours/tiddler-info-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-border\",\"text\":\"Vora del tiddler del tauler d'informació\"},\"$:/language/Docs/PaletteColours/tiddler-info-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-tab-background\",\"text\":\"Fons de la pestanya del tiddler del tauler d'informació\"},\"$:/language/Docs/PaletteColours/tiddler-link-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-link-background\",\"text\":\"Fons de l'enllaç del tiddler\"},\"$:/language/Docs/PaletteColours/tiddler-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-link-foreground\",\"text\":\"Primer plà de l'enllaç del tiddler\"},\"$:/language/Docs/PaletteColours/tiddler-subtitle-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-subtitle-foreground\",\"text\":\"Primer plà del subtitol del tiddler\"},\"$:/language/Docs/PaletteColours/tiddler-title-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-title-foreground\",\"text\":\"Primer plà del titol del tiddler\"},\"$:/language/Docs/PaletteColours/toolbar-cancel-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-cancel-button\",\"text\":\"Primer plà del botó 'anul·la' de la caixa d'eines\"},\"$:/language/Docs/PaletteColours/toolbar-close-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-close-button\",\"text\":\"Primer plà del botó 'tanca' de la caixa d'eines\"},\"$:/language/Docs/PaletteColours/toolbar-delete-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-delete-button\",\"text\":\"Primer plà del botó 'suprimeix' de la caixa d'eines\"},\"$:/language/Docs/PaletteColours/toolbar-done-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-done-button\",\"text\":\"Primer plà del botó 'fet' de la caixa d'eines\"},\"$:/language/Docs/PaletteColours/toolbar-edit-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-edit-button\",\"text\":\"Primer plà del botó 'edita' de la caixa d'eines\"},\"$:/language/Docs/PaletteColours/toolbar-info-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-info-button\",\"text\":\"Primer plà del botó 'informació' de la caixa d'eines\"},\"$:/language/Docs/PaletteColours/toolbar-new-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-new-button\",\"text\":\"Primer plà del botó 'nou tiddler' de la caixa d'eines\"},\"$:/language/Docs/PaletteColours/toolbar-options-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-options-button\",\"text\":\"Primer plà del botó 'opcions' de la caixa d'eines\"},\"$:/language/Docs/PaletteColours/toolbar-save-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-save-button\",\"text\":\"Primer plà del botó 'desa' de la caixa d'eines\"},\"$:/language/Docs/PaletteColours/untagged-background\":{\"title\":\"$:/language/Docs/PaletteColours/untagged-background\",\"text\":\"Fons de la píndola sense etiqueta\"},\"$:/language/Docs/PaletteColours/very-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/very-muted-foreground\",\"text\":\"Primer plà de l'avís molt silenciat\"},\"$:/language/EditTemplate/Body/External/Hint\":{\"title\":\"$:/language/EditTemplate/Body/External/Hint\",\"text\":\"Aquest és un tiddler extern desat fora del fitxer del TiddlyWiki principal. Podeu editar les etiquetes i camps però no podeu editar directament el seu contingut\"},\"$:/language/EditTemplate/Body/Placeholder\":{\"title\":\"$:/language/EditTemplate/Body/Placeholder\",\"text\":\"Escriviu el text per aquest tiddler\"},\"$:/language/EditTemplate/Body/Preview/Type/DiffCurrent\":{\"title\":\"$:/language/EditTemplate/Body/Preview/Type/DiffCurrent\",\"text\":\"diferències respecte l'actual\"},\"$:/language/EditTemplate/Body/Preview/Type/DiffShadow\":{\"title\":\"$:/language/EditTemplate/Body/Preview/Type/DiffShadow\",\"text\":\"diferències respecte de l'ombre (si hi ha)\"},\"$:/language/EditTemplate/Body/Preview/Type/Output\":{\"title\":\"$:/language/EditTemplate/Body/Preview/Type/Output\",\"text\":\"resultat\"},\"$:/language/EditTemplate/Field/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Field/Dropdown/Caption\",\"text\":\"llista de camps\"},\"$:/language/EditTemplate/Field/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Field/Dropdown/Hint\",\"text\":\"Mostra la llista de camps\"},\"$:/language/EditTemplate/Field/Remove/Caption\":{\"title\":\"$:/language/EditTemplate/Field/Remove/Caption\",\"text\":\"suprimeix el camp\"},\"$:/language/EditTemplate/Field/Remove/Hint\":{\"title\":\"$:/language/EditTemplate/Field/Remove/Hint\",\"text\":\"Suprimeix el camp\"},\"$:/language/EditTemplate/Fields/Add/Button\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Button\",\"text\":\"afegeix\"},\"$:/language/EditTemplate/Fields/Add/Button/Hint\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Button/Hint\",\"text\":\"Afegeix un camp nou al tiddler\"},\"$:/language/EditTemplate/Fields/Add/Dropdown/System\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Dropdown/System\",\"text\":\"Camps del sistema\"},\"$:/language/EditTemplate/Fields/Add/Dropdown/User\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Dropdown/User\",\"text\":\"Camps de l'usuari\"},\"$:/language/EditTemplate/Fields/Add/Name/Placeholder\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Name/Placeholder\",\"text\":\"nom del camp\"},\"$:/language/EditTemplate/Fields/Add/Prompt\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Prompt\",\"text\":\"Afegeix un nou camp\"},\"$:/language/EditTemplate/Fields/Add/Value/Placeholder\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Value/Placeholder\",\"text\":\"valors del camp\"},\"$:/language/EditTemplate/Shadow/OverriddenWarning\":{\"title\":\"$:/language/EditTemplate/Shadow/OverriddenWarning\",\"text\":\"Aquest és un tiddler ombra modificat. Podeu restablir la versió per omisió suprimint aquest tiddler\"},\"$:/language/EditTemplate/Shadow/Warning\":{\"title\":\"$:/language/EditTemplate/Shadow/Warning\",\"text\":\"Aquest és un tiddler ombra. Qualsevol canvi sobreescriurà la versió per omisió\"},\"$:/language/EditTemplate/Tags/Add/Button\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Button\",\"text\":\"afegeix\"},\"$:/language/EditTemplate/Tags/Add/Button/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Button/Hint\",\"text\":\"afegeix una etiqueta\"},\"$:/language/EditTemplate/Tags/Add/Placeholder\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Placeholder\",\"text\":\"nom de l'etiqueta\"},\"$:/language/EditTemplate/Tags/ClearInput/Caption\":{\"title\":\"$:/language/EditTemplate/Tags/ClearInput/Caption\",\"text\":\"neteja\"},\"$:/language/EditTemplate/Tags/ClearInput/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/ClearInput/Hint\",\"text\":\"Neteja l'etiqueta\"},\"$:/language/EditTemplate/Tags/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Tags/Dropdown/Caption\",\"text\":\"llista d'etiquetes\"},\"$:/language/EditTemplate/Tags/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/Dropdown/Hint\",\"text\":\"Mostra la llista d'etiquetes\"},\"$:/language/EditTemplate/Title/BadCharacterWarning\":{\"title\":\"$:/language/EditTemplate/Title/BadCharacterWarning\",\"text\":\"Avís: eviteu qualsevol dels caràcters \u003C\u003Cbad-chars>> al títol d'un tiddler\"},\"$:/language/EditTemplate/Title/Exists/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/Exists/Prompt\",\"text\":\"El tiddler destinació ja existeix\"},\"$:/language/EditTemplate/Title/References/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/References/Prompt\",\"text\":\"Les referències següents cap aquest tiddler no s'actualitzaran automàticament:\"},\"$:/language/EditTemplate/Title/Relink/Prompt\":{\"title\":\"$:/language/EditTemplate/Title/Relink/Prompt\",\"text\":\"Actualitza ''\u003C$text text=\u003C\u003CfromTitle>>/>'' cap a ''\u003C$text text=\u003C\u003CtoTitle>>/>'' a les //etiquetes// i a la //lista// de camps d'altres tiddlers\"},\"$:/language/EditTemplate/Type/Delete/Caption\":{\"title\":\"$:/language/EditTemplate/Type/Delete/Caption\",\"text\":\"suprimeix el tipus de contingut\"},\"$:/language/EditTemplate/Type/Delete/Hint\":{\"title\":\"$:/language/EditTemplate/Type/Delete/Hint\",\"text\":\"Suprimeix el tipus de contingut\"},\"$:/language/EditTemplate/Type/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Type/Dropdown/Caption\",\"text\":\"llista del tipus de contingut\"},\"$:/language/EditTemplate/Type/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Type/Dropdown/Hint\",\"text\":\"Mostra la llista dels tipus de contingut\"},\"$:/language/EditTemplate/Type/Placeholder\":{\"title\":\"$:/language/EditTemplate/Type/Placeholder\",\"text\":\"tipus de contingut\"},\"$:/language/EditTemplate/Type/Prompt\":{\"title\":\"$:/language/EditTemplate/Type/Prompt\",\"text\":\"Tipus:\"},\"$:/language/Exporters/CsvFile\":{\"title\":\"$:/language/Exporters/CsvFile\",\"text\":\"Fitxer CSV\"},\"$:/language/Exporters/JsonFile\":{\"title\":\"$:/language/Exporters/JsonFile\",\"text\":\"Fitxer JSON\"},\"$:/language/Exporters/StaticRiver\":{\"title\":\"$:/language/Exporters/StaticRiver\",\"text\":\"HTML estàtic\"},\"$:/language/Exporters/TidFile\":{\"title\":\"$:/language/Exporters/TidFile\",\"text\":\"Fitxer \\\".tid\\\"\"},\"$:/language/Docs/Fields/_canonical_uri\":{\"title\":\"$:/language/Docs/Fields/_canonical_uri\",\"text\":\"La URI sencera d'una imatge externa al tiddler\"},\"$:/language/Docs/Fields/_is_skinny\":{\"title\":\"$:/language/Docs/Fields/_is_skinny\",\"text\":\"Si està present, indica que el camp de text del tiddler s'ha de carregar des del servidor\"},\"$:/language/Docs/Fields/bag\":{\"title\":\"$:/language/Docs/Fields/bag\",\"text\":\"El nom del paquet del que prové el tiddler\"},\"$:/language/Docs/Fields/caption\":{\"title\":\"$:/language/Docs/Fields/caption\",\"text\":\"El text que es mostrarà en una pestanya o botó\"},\"$:/language/Docs/Fields/color\":{\"title\":\"$:/language/Docs/Fields/color\",\"text\":\"El valor del color CSS associat amb un tiddler\"},\"$:/language/Docs/Fields/component\":{\"title\":\"$:/language/Docs/Fields/component\",\"text\":\"El nom del component responsable d'un [[tiddler d'avís|AlertMechanism]]\"},\"$:/language/Docs/Fields/created\":{\"title\":\"$:/language/Docs/Fields/created\",\"text\":\"La data en que es va generar el tiddler\"},\"$:/language/Docs/Fields/creator\":{\"title\":\"$:/language/Docs/Fields/creator\",\"text\":\"El nom de la persona que va generar el tiddler\"},\"$:/language/Docs/Fields/current-tiddler\":{\"title\":\"$:/language/Docs/Fields/current-tiddler\",\"text\":\"Utilitzat per desar la darrera còpia del tiddler de l'[[històrial|HistoryMechanism]]\"},\"$:/language/Docs/Fields/dependents\":{\"title\":\"$:/language/Docs/Fields/dependents\",\"text\":\"Per a un connector, llista els títols dels connectors que en depenen\"},\"$:/language/Docs/Fields/description\":{\"title\":\"$:/language/Docs/Fields/description\",\"text\":\"El text que descriu un connector, o un diàleg modal\"},\"$:/language/Docs/Fields/draft.of\":{\"title\":\"$:/language/Docs/Fields/draft.of\",\"text\":\"Per als tiddlers esborranys, conté el títol del tiddler del qual és un esborrany\"},\"$:/language/Docs/Fields/draft.title\":{\"title\":\"$:/language/Docs/Fields/draft.title\",\"text\":\"Per als tiddlers esborranys, conté el títol proposat per al tiddler\"},\"$:/language/Docs/Fields/footer\":{\"title\":\"$:/language/Docs/Fields/footer\",\"text\":\"El peu de text d'un giny\"},\"$:/language/Docs/Fields/hide-body\":{\"title\":\"$:/language/Docs/Fields/hide-body\",\"text\":\"El valor de la plantilla de vista amaga el cos dels tiddlers és: ''sí''\"},\"$:/language/Docs/Fields/icon\":{\"title\":\"$:/language/Docs/Fields/icon\",\"text\":\"El títol del tiddler que conté la icona associada amb el tiddler\"},\"$:/language/Docs/Fields/library\":{\"title\":\"$:/language/Docs/Fields/library\",\"text\":\"Si és ''si'' indica que un tiddler s'ha desar com una biblioteca de JavaScript\"},\"$:/language/Docs/Fields/list\":{\"title\":\"$:/language/Docs/Fields/list\",\"text\":\"Una llista ordenada dels títols dels tiddlers associats amb un tiddler\"},\"$:/language/Docs/Fields/list-after\":{\"title\":\"$:/language/Docs/Fields/list-after\",\"text\":\"Si està activat, el títol del tiddler després del qual, aquest tiddler s'hauria d'afegir a la llista ordenada de títols de tiddler, o al final de la llista aquest camp hi és però és buit\"},\"$:/language/Docs/Fields/list-before\":{\"title\":\"$:/language/Docs/Fields/list-before\",\"text\":\"Si està activat, el títol del tiddler abans del qual, aquest tiddler s'hauria d'afegir a la llista ordenada de títols de tiddler, o a l'inici de la llista si aquest camp hi és però està buit\"},\"$:/language/Docs/Fields/modified\":{\"title\":\"$:/language/Docs/Fields/modified\",\"text\":\"La data i hora a la que un tiddler es va modificar per darrer cop\"},\"$:/language/Docs/Fields/modifier\":{\"title\":\"$:/language/Docs/Fields/modifier\",\"text\":\"El títol del tiddler associat amb la persona que va modificar per darrer cop un tiddler\"},\"$:/language/Docs/Fields/name\":{\"title\":\"$:/language/Docs/Fields/name\",\"text\":\"El nom llegible pels humans associat a un tiddler connector\"},\"$:/language/Docs/Fields/plugin-priority\":{\"title\":\"$:/language/Docs/Fields/plugin-priority\",\"text\":\"Un valor numèric que indica la prioritat d'un tiddler connector\"},\"$:/language/Docs/Fields/plugin-type\":{\"title\":\"$:/language/Docs/Fields/plugin-type\",\"text\":\"El tipus de connector d'un tiddler connector\"},\"$:/language/Docs/Fields/released\":{\"title\":\"$:/language/Docs/Fields/released\",\"text\":\"La data de la versió de TiddlyWiki\"},\"$:/language/Docs/Fields/revision\":{\"title\":\"$:/language/Docs/Fields/revision\",\"text\":\"La revisió del tiddler que es manté al servidor\"},\"$:/language/Docs/Fields/source\":{\"title\":\"$:/language/Docs/Fields/source\",\"text\":\"La URL orígen associada a un tiddler\"},\"$:/language/Docs/Fields/subtitle\":{\"title\":\"$:/language/Docs/Fields/subtitle\",\"text\":\"El text del subtítol d'un assistent\"},\"$:/language/Docs/Fields/tags\":{\"title\":\"$:/language/Docs/Fields/tags\",\"text\":\"La llista d'etiquetes associades a un tiddler\"},\"$:/language/Docs/Fields/text\":{\"title\":\"$:/language/Docs/Fields/text\",\"text\":\"El text del cos d'un tiddler\"},\"$:/language/Docs/Fields/throttle.refresh\":{\"title\":\"$:/language/Docs/Fields/throttle.refresh\",\"text\":\"Si està present, l’acceleració actualitza aquest tiddler\"},\"$:/language/Docs/Fields/title\":{\"title\":\"$:/language/Docs/Fields/title\",\"text\":\"El nom únic d'un tiddler\"},\"$:/language/Docs/Fields/toc-link\":{\"title\":\"$:/language/Docs/Fields/toc-link\",\"text\":\"Si és no, suprimeix l'enllaç del tiddler a l'Índex\"},\"$:/language/Docs/Fields/type\":{\"title\":\"$:/language/Docs/Fields/type\",\"text\":\"El tipus de contingut d'un tiddler\"},\"$:/language/Docs/Fields/version\":{\"title\":\"$:/language/Docs/Fields/version\",\"text\":\"Informació de la versió d'un connector\"},\"$:/language/Filters/AllTags\":{\"title\":\"$:/language/Filters/AllTags\",\"text\":\"Totes les etiquetes excepte les etiquetes del sistema\"},\"$:/language/Filters/AllTiddlers\":{\"title\":\"$:/language/Filters/AllTiddlers\",\"text\":\"Totes els tiddlers excepte els tiddlers del sistema\"},\"$:/language/Filters/Drafts\":{\"title\":\"$:/language/Filters/Drafts\",\"text\":\"Tiddlers esborranys\"},\"$:/language/Filters/Missing\":{\"title\":\"$:/language/Filters/Missing\",\"text\":\"Tiddlers que no existeixen\"},\"$:/language/Filters/Orphans\":{\"title\":\"$:/language/Filters/Orphans\",\"text\":\"Tiddlers orfes\"},\"$:/language/Filters/OverriddenShadowTiddlers\":{\"title\":\"$:/language/Filters/OverriddenShadowTiddlers\",\"text\":\"Tiddlers amb ombra sobreescrits\"},\"$:/language/Filters/RecentSystemTiddlers\":{\"title\":\"$:/language/Filters/RecentSystemTiddlers\",\"text\":\"Tiddlers que s'han modificat recentment, inclós els tiddlers del sistema\"},\"$:/language/Filters/RecentTiddlers\":{\"title\":\"$:/language/Filters/RecentTiddlers\",\"text\":\"Tiddlers que s'han modificat recentment\"},\"$:/language/Filters/SessionTiddlers\":{\"title\":\"$:/language/Filters/SessionTiddlers\",\"text\":\"Tiddlers modificats des que es va carregar el wiki\"},\"$:/language/Filters/ShadowTiddlers\":{\"title\":\"$:/language/Filters/ShadowTiddlers\",\"text\":\"Tiddlers amb ombra predefinits\"},\"$:/language/Filters/StoryList\":{\"title\":\"$:/language/Filters/StoryList\",\"text\":\"Els tiddlers de la cronologia, a excepció de \u003C$text text=\\\"$:/AdvancedSearch\\\"/>\"},\"$:/language/Filters/SystemTags\":{\"title\":\"$:/language/Filters/SystemTags\",\"text\":\"Etiquetes del sistema\"},\"$:/language/Filters/SystemTiddlers\":{\"title\":\"$:/language/Filters/SystemTiddlers\",\"text\":\"Tiddlers del sistema\"},\"$:/language/Filters/TypedTiddlers\":{\"title\":\"$:/language/Filters/TypedTiddlers\",\"text\":\"Tiddlers amb text que no és wiki\"},\"GettingStarted\":{\"title\":\"GettingStarted\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Basics/\\nBenvingut a ~TiddlyWiki i a la comunitat ~TiddlyWiki\\n\\nAbans de començar a desar informació important al ~TiddlyWiki cal que us assegureu que podeu desar els canvis de forma fiable. Veieu els detalls a https://tiddlywiki.com/#GettingStarted\\n\\n!! Configureu aquest ~TiddlyWiki\\n\\n\u003Cdiv class=\\\"tc-control-panel\\\">\\n\\n|\u003C$link to=\\\"$:/SiteTitle\\\">\u003C\u003Clingo Title/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/SiteTitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/SiteSubtitle\\\">\u003C\u003Clingo Subtitle/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/SiteSubtitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/DefaultTiddlers\\\">\u003C\u003Clingo DefaultTiddlers/Prompt>>\u003C/$link> |\u003C\u003Clingo DefaultTiddlers/TopHint>>\u003Cbr> \u003C$edit-text tag=\\\"textarea\\\" tiddler=\\\"$:/DefaultTiddlers\\\"/>\u003Cbr>//\u003C\u003Clingo DefaultTiddlers/BottomHint>>// |\\n\u003C/div>\\n\\nVeieu més opcions al [[tauler de control|$:/ControlPanel]].\\n\"},\"$:/language/Help/build\":{\"title\":\"$:/language/Help/build\",\"description\":\"Executa automàticament ordres configurades\",\"text\":\"Construeix els destins indicats al wiki actual. Si no s'indica cap destí, llavors es construiran tots els destins.\\n\\n```\\n--build \u003Cdesti> [\u003Cdesti> ...]\\n```\\n\\nConstrueix els destins indicats al fitxer `tiddlywiki.info` de la carpeta wiki.\\n\\n\"},\"$:/language/Help/clearpassword\":{\"title\":\"$:/language/Help/clearpassword\",\"description\":\"Neteja la contrasenya per a les operacions criptogràfiques següents\",\"text\":\"Neteja la contrasenya per a les operacions criptogràfiques següents```--clearpassword```\"},\"$:/language/Help/default\":{\"title\":\"$:/language/Help/default\",\"description\":\"\",\"text\":\"\\\\define títolDeLOrdre()\\n$:/language/Help/$títolDeLOrdre(ordre)$\\n\\\\end\\n```\\nús: tiddlywiki [\u003Ccarpetawiki>] [--\u003Cordre> [\u003Cargs>...]...]\\n```\\n\\nOrdres disponibles:\\n\\n\u003Cul>\\n\u003C$list filtre=\\\"[commands[]sort[títol]]\\\" variable=\\\"ordre\\\">\\n\u003Cli>\u003C$link to=\u003C\u003CtítolDeLOrdre>>>\u003C$macrocall $name=\\\"ordre\\\" $type=\\\"text/plain\\\" $output=\\\"text/plain\\\"/>\u003C/$link>: \u003C$transclude tiddler=\u003C\u003CtítolDeLOrdre>> field=\\\"descripcio\\\"/>\u003C/li>\\n\u003C/$list>\\n\u003C/ul>\\n\\nPer obtenir ajuda sobre una ordre podeu fer:\\n\\n```\\ntiddlywiki --help \u003Cordre>\\n```\\n\"},\"$:/language/Help/deletetiddlers\":{\"title\":\"$:/language/Help/deletetiddlers\",\"description\":\"Suprimeix un grup de tiddlers\",\"text\":\"\u003C\u003C.from-version \\\"5.1.20\\\">> Suprimeix un grup de tiddlers identificat per un filtre.\\n\\n```\\n--deletetiddlers \u003Cfilter>\\n```\\n\"},\"$:/language/Help/editions\":{\"title\":\"$:/language/Help/editions\",\"description\":\"Llista les edicions disponibles de TiddlyWiki\",\"text\":\"Llista els noms i descripcions de les edicions disponibles. Podeu generar un nou wiki d'una edició concreta amb l'ordre `--init`.\\n\\n```\\n--editions\\n```\\n\"},\"$:/language/Help/fetch\":{\"title\":\"$:/language/Help/fetch\",\"description\":\"Obté tiddlers del wiki per URL\",\"text\":\"Obté un o més fitxers per HTTP/HTTPS, i importa els tiddlers que compleixen un filtre, opcionalment transformant els títols entrants.\\n\\n```\\n--fetch file \u003Curl> \u003Cfilter-d-importacio> \u003Cfiltre-de-transformacio>\\n--fetch files \u003Curl-de-filter> \u003Cimport-d-importacio> \u003Cfiltre-de-transformacio>\\n--fetch raw-file \u003Curl> \u003Cfiltre-de-transformacio>\\n--fetch raw-files \u003Curl-de-filter> \u003Cfiltre-de-transformacio>\\n```\\n\\nLes variants \\\"fitxer\\\" i \\\"fitxers\\\" obtenen els fitxers indicats i intenten importar els tiddlers dins d’ells (el mateix processament que si els fitxers s’arrosseguessin a la finestra del navegador). Les variants \\\"text-en-cru\\\" i \\\"texts-en-cru\\\" obtenen els fitxers especificats i després emmagatzemen les dades del fitxer com a text cru sense aplicar la lògica d'importació.\\n\\nAmb les variants \\\"fitxer\\\" i \\\"texts-en-cru\\\" només s'obté un sol fitxer i el primer paràmetre és l’URL del fitxer a llegir.\\n\\nAmb les variants \\\"fitxers\\\" i \\\"texts-en-cru\\\", s'obtenen diversos fitxers i el primer paràmetre és un filtre que proporciona una llista d’URL dels fitxers a llegir. Per exemple, donat un conjunt de tiddlers etiquetats com \\\"servidor-remot\\\" que tenen un camp \\\"url\\\", amb el filtre `[etiqueta[servidor-remot]get[url]]` recuperarà tots els URL disponibles.\\n\\nPer a les variants \\\"fitxer\\\" i \\\"fitxers\\\", el paràmetre `\u003Cimport-filter> indica un filtre que determina quins tiddlers s’importen. Per omissió, és `[all[tiddlers]]` si no s'indica res.\\n\\nPer a totes les variants, el paràmetre `\u003Ctransform-filter>` indica un filtre opcional que transforma els títols dels tiddlers importats. Per exemple, `[addprefix[$: /myimports /]]` afegiria el prefix `$: /myimports/` a cada títol.\\n\\nPrecedint l’ordre `--fetch` amb` --verbose` s’obtindrà informació del progrés durant la importació.\\n\\nTingueu en compte que TiddlyWiki no obtindrà una versió anterior d’un connector ja carregat.\\n\\nEl següent exemple recupera tots els tiddlers que no siguin del sistema de https://tiddlywiki.com i els desa en un fitxer JSON:\\n\\n```\\ntiddlywiki --verbose --fetch file \\\"https://tiddlywiki.com/\\\" \\\"[!is[system]]\\\" \\\"\\\" --rendertiddler \\\"$:/core/templates/exporters/JsonFile\\\" sortida.json text/plain \\\"\\\" exportFilter \\\"[!is[system]]\\\"\\n```\\nEl següent exemple recupera el fitxer \\\"favicon\\\" de tiddlywiki.com i el desa en un fitxer anomenat \\\"sortida.ico\\\". Tingueu en compte que el tiddler intermedi \\\"Icon Tiddler\\\" està citat a l’ordre \\\"--fetch\\\" perquè s’utilitza com a filtre de transformació per substituir el títol per omisió, mentre que no hi ha cometes per a l’ordre \\\"--savetiddler\\\" perquè s’utilitza directament com a títol.\\n\\n```\\ntiddlywiki --verbose --fetch raw-file \\\"https://tiddlywiki.com/favicon.ico\\\" \\\"[[Tiddler d'icona]]\\\" --savetiddler \\\"Tiddler d'icona\\\" sortida.ico\\n```\\n\\n\"},\"$:/language/Help/help\":{\"title\":\"$:/language/Help/help\",\"description\":\"Mostra l'ajuda de les ordres TiddlyWiki\",\"text\":\"Mostra el text d'ajuda d'una ordre:\\n\\n```\\n--help [\u003Cordre>]\\n```Per exemple:\\n\\nSi no s'indica el nom de l'ordre llavors es mostra una llista de les ordres disponibles.\\n\"},\"$:/language/Help/import\":{\"title\":\"$:/language/Help/import\",\"description\":\"Importa els tiddlers d’un fitxer\",\"text\":\"Importa tiddlers de TiddlyWiki (`.html`),` .tiddler`, `.tid`,` .json` o altres fitxers locals. Cal indicar explícitament el deserialitzador, a diferència de l’ordre `load` que infereix al deserialitzador de l’extensió del fitxer.\\n\\n```\\n--import \u003Cruta> \u003Cdeserialitzador> [\u003Ctítol>] [\u003Ccodificació>]\\n```\\n\\nEls deserialitzadors inclosos són:\\n\\n* application/javascript\\n* application/json\\n* application/x-tiddler\\n* application/x-tiddler-html-div\\n* application/x-tiddlers\\n* text/html\\n* text/plain\\n\\nEl títol del tiddler importat és per omissió el nom del fitxer.\\n\\nLa codificació predeterminada és \\\"utf8\\\", però pot ser \\\"base64\\\" per importar fitxers binaris.\\n\\nTingueu en compte que TiddlyWiki no importarà una versió anterior d’un connector ja carregat.\"},\"$:/language/Help/init\":{\"title\":\"$:/language/Help/init\",\"description\":\"Inicia una nova carpeta wiki\",\"text\":\"Inicialitza una [[CarpetaWiki|WikiFolders]] buida amb una còpia de l'edició indicada.\\n\\n```\\n--init \u003Cedició> [\u003Cedició> ...]\\n```\\n\\nPer exemple:\\n\\n```\\ntiddlywiki ./LaMevaCarpetaWiki --init empty\\n```\\n\\nNotes:\\n\\n* Si cal es generarà la carpeta wiki\\n* El valor per omisió de \\\"edició\\\" és ''empty''\\n* L'ordre init fracassarà si la carpeta wiki no està buida\\n* L'ordre init suprimeix qualsevol definició `includeWikis` de l'edició del fitxer `tiddlywiki.info`\\n* Quan s'indiqui múltiples edicions, les edicions que s'iniciïn més tard sobreescriuran qualsevol fitxer compartit amb edicions anteriors (així que el fitxer final `tiddlywiki.info` es copiarà de la darrera edció)\\n* `--editions` retorna la llista d'edicions disponibles\\n\"},\"$:/language/Help/listen\":{\"title\":\"$:/language/Help/listen\",\"description\":\"Proporciona una interfície del servidor HTTP a TiddlyWiki\",\"text\":\"Serveix una wiki via HTTP.\\n\\nL'ordre listen utilitza Paràmetres d'Ordre amb Nom:\\n\\n```\\n--listen [\u003Cnom>=\u003Cvalor>]...\\n```\\n\\nTots els paràmetres són opcionals amb valors predeterminats segurs i es poden especificar en qualsevol ordre. Els paràmetres reconeguts són:\\n\\n* ''host'': nom d'amfitrió opcional per servir (per omissió, \\\"127.0.0.1\\\" o \\\"localhost\\\")\\n* ''path-prefix'' - prefix opcional per a les rutes\\n* ''port'' - número de port on escoltar; Els valors no numèrics s’interpreten com a variable d’entorn del sistema des de la qual s’extreu el número de port (per omissió, \\\"8080\\\")\\n* ''credentials'': ruta del fitxer CSV de les credencials (relatiu a la carpeta wiki)\\n* ''anon-username'': el nom d’usuari per signar edicions per a usuaris anònims\\n* ''username'' - nom d’usuari opcional per a l’autenticació bàsica\\n* ''password'': contrasenya opcional per a l'autenticació bàsica\\n* ''authenticated-user-header'' - nom opcional de la capçalera que s’utilitzarà per a l’autenticació de confiança\\n* ''readers'' - llista separada per comes, dels usuaris que poden llegir aquesta wiki\\n* ''writers': llista separada per comes, dels usuaris que poden escriure en aquesta wiki\\n* ''csrf-disable'': es defineix com a \\\"sí\\\" per desactivar les comprovacions de CSRF (per omissió, \\\"no\\\")\\n* ''root-tiddler'': el tiddler que servirà a l’arrel (per omissió és \\\"$:/core/save/all\\\")\\n* ''root-render-type '' - el tipus de contingut amb el qual s'ha de generar el tiddler arrel (per omissió, \\\"text/plain\\\")\\n* ''root-serve-type'' - el tipus de contingut amb el qual s'ha de servir el tiddler root (per omissió, \\\"text/html\\\")\\n* ''tls-cert'': ruta del fitxer del certificat TLS (relatiu a la carpeta wiki)\\n* ''tls-key'': ruta d'accés al fitxer de la clau TLS (relatiu a la carpeta wiki)\\n* ''debug-level'' - nivell de depuració opcional; s'estableix a \\\"debug\\\" per veure els detalls de la sol·licitud (per omissió, \\\"cap\\\")\\n* ''gzip'': establiu-ho a \\\"sí\\\" per habilitar la compressió gzip per a alguns extrems http (per omissió \\\"no\\\")\\n\\nPer obtenir informació sobre com obrir la vostra instància a tota la xarxa local i possibles problemes de seguretat, consulteu el tiddler WebServer de TiddlyWiki.com.\\n\"},\"$:/language/Help/load\":{\"title\":\"$:/language/Help/load\",\"description\":\"Carrega tiddlers des d'un fitxer\",\"text\":\"Carrega els fitxers dels tiddlers de la versió 2.x.x del TiddlyWiki (`.html`), `.tiddler`, `.tid`, `.json` o altres fitxers \\n\\n```\\n--load \u003Cruta>\\n```\\n\\nPer carregar els tiddlers d'un fitxer TiddlyWiki encriptat cal indicar la contrasenya, amb l'ordre PasswordCommand. Per exemple:\\n\\n```\\ntiddlywiki ./ElMeuWiki --password c0ntras3nya --load la_meva_wiki.html\\n```\\n\\nTingueu en compte que TiddlyWiki no carregarà una versió anterior d'un connector ja carregat.\\n\"},\"$:/language/Help/makelibrary\":{\"title\":\"$:/language/Help/makelibrary\",\"description\":\"Construeix el connector de la biblioteca necessari per a l'actualització\",\"text\":\"Construeix el tiddler `$:/UpgradeLibrary` per al procés d'actualització.\\n\\nLa biblioteca d'actualització es formata com un tiddler connector corrent amb el tipus de connector `library`. Conté una còpia de cada un dels connectors, temes i paquets de l'idioma disponibles al repositori del TiddlyWiki5.\\n\\nAquesta ordre és per a ús intern; només és rellevant per als usuaris que dissenyen un procés d'actualització a mida.\\n\\n```\\n--makelibrary \u003Ctítol>\\n```\\n\\nEl valor per omisió de l'argument títol és `$:/UpgradeLibrary`.\\n\"},\"$:/language/Help/notfound\":{\"title\":\"$:/language/Help/notfound\",\"description\":\"\",\"text\":\"No podem trobar aquest tema d'ajuda\"},\"$:/language/Help/output\":{\"title\":\"$:/language/Help/output\",\"description\":\"Tria la carpeta de sortida per a les ordres següents\",\"text\":\"Tria la carpeta de sortida per a les ordres següents. La carpeta per omisió és la subcarpeta `output` de la carpeta de l'edició.\\n\\n```\\n--output \u003Cruta>\\n```ordre\\n\\nSi la ruta indicada és relativa es resoldrà a partir de la carpeta actual de treball. Per exemple: `--output .` estableix la carpeta de sortida a la carpeta de treball actual.\\n\\n\"},\"$:/language/Help/password\":{\"title\":\"$:/language/Help/password\",\"description\":\"Tria la contrasenya per a les operacions criptogràfiques següents\",\"text\":\"Tria la contrasenya per a les operacions criptogràfiques següents\\n\\n```\\n--password \u003Ccontrasenya>\\n```\\n\\n\"},\"$:/language/Help/render\":{\"title\":\"$:/language/Help/render\",\"description\":\"Genera fitxers individuals a partir de tiddlers\",\"text\":\"Genera els tiddlers individuals indicats per un filtre i desa els resultats als fitxers indicats.\\n\\nOpcionalment, es pot especificar el títol d’un tiddler de plantilla. En aquest cas, en lloc de generar directament cada tiddler, el tiddler de la plantilla es genera amb la variable \\\"currentTiddler\\\" establerta al títol del tiddler que s'està generant.\\n\\nTambé es pot indicar opcionalment un nom i un valor per a una altra variable.\\n\\n```\\n--render \u003Cfiltre-de-tiddler> [\u003Cnom-del-filtre>] [\u003Crender-type>] [\u003Cplantilla>] [\u003Cnom>] [\u003Cvalor>]\\n```\\n\\n* '' filtre-de-tiddler '': Filtre que indica els tiddler(s) que s'han de generar\\n* '' nom-del-filtre '': Filtre opcional que transforma els títols dels tiddlers en noms de ruta. Si s'omet, el valor per omissió és `[is[tiddler]addsuffix [.html]]`, que utilitza el títol de tiddler sense modificar com a nom de fitxer\\n* '' tipus-de-contingut '': tipus de contingut opcional: `text / html` (el valor per omissió) retorna el text HTML complet i ` text/plain` només retorna el contingut del text (és a dir, ignora les etiquetes HTML i altres materials no imprimibles)\\n* ''plantilla'': Plantilla opcional per a generar cada tiddler\\n* ''nom'': Nom de variable opcional\\n* ''valor'': Valor de variable opcional\\n\\nPer omissió, el nom del fitxer es resol en relació amb la subcarpeta `output ' de la carpeta d’edició. L'ordre `--output` es pot utilitzar per dirigir la sortida a una altra carpeta.\\n\\nNotes:\\n\\n* A la carpeta de sortida no s'esborra cap fitxer existent\\n* Es generen automàticament les carpetes que falten a la ruta del nom del fitxer.\\n* En referir un tiddler amb espais al seu títol, tingueu cura de fer servir tant les cometes necessàries pel vostre intèrpret d'ordres com els dobles claudàtors de TiddlyWiki: `--render\\\" [[Motovun Jack.jpg]] \\\"`\\n\\n* El nom del filtre s'avalua amb els elements seleccionats establerts al títol del tiddler que s'està generant, el que permet que el títol s’utilitzi com a base per calcular el nom del fitxer. Per exemple `[encodeuricomponent[]addprefix[static/]]` s'aplica la codificació URI a cada títol i després afegeix el prefix `static/`\\n\\n* L'ordre `--render` reemplaça, i és més flexible, que les ordres` --rendertiddler` i `--rendertiddlers`, que estan obsoletes.\\n\\nExemples:\\n\\n* `--render \\\"[!is[system]]\\\" \\\"[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]\\\"` --\\ngenera tots els tiddlers que no siguin del sistema com a fitxers a la carpeta \\\"tiddlers\\\" amb títols codificats per URL amb l'extensió HTML\\n\"},\"$:/language/Help/rendertiddler\":{\"title\":\"$:/language/Help/rendertiddler\",\"description\":\"Mostra un tiddler individual indicat per ContentTypecommand\",\"text\":\"Mostra un tiddler individual indicat per ContentType, per omisió `text/html` i el desa al fitxer indicat:\\n\\n```\\n--rendertiddler \u003Ctítol> \u003Cnomdelfitxer> [\u003Ctipus>]\\n```\\n\\nPer omisió, el nom del fitxer es resoldrà de forma relativa a la carpeta `output` de la carpeta d'edició. L'ordre `--output` es pot fer servir per dirigir la sortida a una altre carpeta.\\n\\nLes carpetes de la ruta del fitxer que no es trobin es crearan de forma automàtica.\\n\"},\"$:/language/Help/rendertiddlers\":{\"title\":\"$:/language/Help/rendertiddlers\",\"description\":\"Mostra els tiddlers que coincideixen amb el filtre indicat per ContentType\",\"text\":\"Mostra un grup de tiddlers que coincideixen amb el filtre de fitxers separats indicat per ContentType (per omisió `text/html`) i extensió (per omisió `.html`).\\n\\n```\\n--rendertiddlers \u003Cfiltre> \u003Cplantilla> \u003Cruta> [\u003Ctipus>] [\u003Cextensió>] [\\\"noclean\\\"]\\n```\\n\\nPer exemple:\\n\\n```\\n--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html ./static text/plain\\n```\\n\\nPer omisió, la ruta es resoldrà de forma relativa a la subcarpeta `output` de la carpeta d'edició. L'ordre `--output` es pot fer servir per dirigir la sortida a una altre carpeta.\\n\\nTots els fitxers de la capeta destí es suprimiran a no ser que s'inclogui el paràmetre \\\"noclean\\\". La carpeta destí si no es troba es crearà de forma recursiva.\\n\"},\"$:/language/Help/save\":{\"title\":\"$:/language/Help/save\",\"description\":\"Desa tiddlers individuals a fitxers com a text cru\",\"text\":\"Desa els tiddlers individuals indicats per un filtre en text cru o en binari als fitxers especificats.\\n\\n```\\n--save \u003Cfiltre-de-tiddler> \u003Cnom-del-filtre>\\n```\\n* ''filtre-de-tiddler'': Un filtre que indica els tiddler(s) que s'han de desar\\n* ''nom-del-filtre'': Filtre opcional que transforma els títols de tiddler en noms de ruta. Si s'omet, el valor per omissió `[is[tiddler]]`, s'utilitza el títol del tiddler sense modificar com a nom de fitxer\\n\\nPer omissió, el nom del fitxer es resol en relació amb el subcarpeta `output 'de la carpeta d’edició. L'ordre `--output` es pot utilitzar per dirigir la sortida a una altra carpeta.\\n\\nNotes:\\n\\n* A la carpeta de sortida no s'esborra cap fitxer existent\\n* Es generen automàticament les carpetes que falten a la ruta del nom del fitxer.\\n* En guardar un tiddler amb espais en el seu títol, tingueu cura de fer servir tant les cometes necessàries pel vostre intèrpret d'ordres com els dobles claudàtors de TiddlyWiki: `--save\\\" [[Motovun Jack.jpg]] \\\"`\\n* El nom del filtre s'avalua amb els elements seleccionats establerts al títol del tiddler que s'està desant, el que permet que el títol s’utilitzi com a base per calcular el nom del fitxer. Per exemple `[encodeuricomponent[]addprefix[static/]]` s'aplica la codificació URI a cada títol i després afegeix el prefix `static/`\\n* L'ordre `--save` reemplaça, i és més flexible, que les ordres` --savetiddler` i `--savetiddlers`, que estan obsoletes.\\n\\nExemples:\\n\\n* `--save\\\" [!is[system]is[image]]\\\" \\\"[encodeuricomponent[]addprefix[tiddlers/]]\\\"` -- desa tots els tiddlers d'imatges que no siguin del sistema com a fitxers a la subcarpeta \\\"tiddlers\\\" amb títols codificats en URL\\n\"},\"$:/language/Help/savetiddler\":{\"title\":\"$:/language/Help/savetiddler\",\"description\":\"Desa un tiddler com a text cru a un fitxer\",\"text\":\"Desa un tiddler individual com a text cru o en format binari al fitxer indicat.\\n\\n```\\n--savetiddler \u003Ctítol> \u003Cfitxer>\\n```\\n\\nPer omisió, el nom del fitxer es resoldrà de forma relativa a la carpeta `output` de la carpeta d'edició. L'ordre `--output` es pot fer servir per dirigir la sortida a una altre carpeta.\\n\\nLes carpetes de la ruta del fitxer que no es trobin es crearan de forma automàtica.\\n\"},\"$:/language/Help/savetiddlers\":{\"title\":\"$:/language/Help/savetiddlers\",\"description\":\"Desa un grup de tiddlers com a text cru a una carpeta\",\"text\":\"Desa un grup de tiddlers com a text com a text cru o en format binari a la carpeta indicada.\\n\\n```\\n--savetiddlers \u003Cfiltre> \u003Cruta>\\n``` Tingueu en compte que la contrasenya es transmet tal qual així que no és una bona solució d'ús general.\\n\\nPer omissió, la ruta es resoldrà de forma relativa a la carpeta `output` de la carpeta d'edició. L'ordre `--output` es pot fer servir per dirigir la sortida a una altre carpeta.\\n\\nLes carpetes de la ruta que no es trobin es crearan de forma automàtica.\\n\"},\"$:/language/Help/savewikifolder\":{\"title\":\"$:/language/Help/savewikifolder\",\"description\":\"Desa un wiki a una nova carpeta wiki\",\"text\":\"\u003C\u003C.from-version \\\"5.1.20\\\">> Desa el wiki actual a una carpeta wiki, incloent el tiddlers, els connectors i la configuració:\\n\\n```\\n--carpeta-per-desar-el-wiki \u003Cruta-per-desar-el-wiki> [\u003Cfiltre>]\\n```\\n\\n* La carpeta de destinació de la wiki ha d'estar buida o inexistent\\n* El filtre indica els tiddlers que s'han d'incloure. És opcional, per omissió és`[all[tiddlers]]`\\n* Els connectors de la biblioteca oficial de complements es reemplacen per referències a aquests connectors al fitxer `tiddlywiki.info '\\n* Els connectors personalitzats es descomprimeixen a la seva pròpia carpeta\\n\\nUn ús habitual és convertir un fitxer HTML de TiddlyWiki en una carpeta wiki:\\n\\n```\\ntiddlywiki --load ./elmeuwiki --carpeta-per-desar-el-wiki ./la-meva-carpeta-wiki\\n```\\n\"},\"$:/language/Help/server\":{\"title\":\"$:/language/Help/server\",\"description\":\"Proporciona una interfície de servidor HTTP a TiddlyWiki\",\"text\":\"El servidor que inclou el TiddlyWiki5 és molt simple. Encara que és compatible amb TiddlyWeb no permet moltes de les característiques necessàries que calen per a l'ús robust de l'Internet.\\n\\nA l'arrel, serveix per a generar un tiddler concret. Fora de l'arrel, serveis els tiddlers individuals codificats en JSON, i permet l'ús de les operacions bàsiques HTTP per `GET`, `PUT` i `DELETE`.\\n\\n```\\n--server \u003Cport> \u003Ctiddler-arrel> \u003Ctipus-de-contingut> \u003Ctipus-de-servidor> \u003Cusuari> \u003Ccontrasenya> \u003Chost> \u003Cprefix-de-la-ruta>\\n```\\n\\nEls paràmetres són:\\n\\n* ''port'' - número del port que donarà el servei (per omissió \\\"8080\\\")\\n* ''tiddler-arrel'' - el tiddler que donarà el servei arrel (per omissió \\\"$:/core/save/all\\\") \\n* ''tipus-de-contingut'' - el tipus de contingut al qual s'haurà de generar el tiddler arrel (per omissió \\\"text/plain\\\")\\n* ''tipus-de-servidor'' - el tipus de contingut amb el qual s'haurà de servir el tiddler arrel (per omissió \\\"text/html\\\")\\n* ''usuari'' - nom de l'usuari per omissió per signar les edicions\\n* ''contrasenya'' - contrasenya opcional per l'autenticació bàsica\\n* ''host'' - nom de host opcional que donarà el servei (per omissió \\\"127.0.0.1\\\" és a dir \\\"localhost\\\")\\n* ''prefix-de-la-ruta'' - prefix opcional de les rutes\\n\\nSi s'indica el paràmetre de la contrasenya el navegador demanarà un usuari i una contrasenya. La contrasenya es transmet tal qual així que no és una bona solució d'ús general.\\n\\nPer exemple:\\n\\n```\\n--server 8080 $:/core/save/all text/plain text/html ElMeuUsuari c0ntran3nya\\n```\\n\\nEl nom d'usuari i la contrasenya es pot indicar com a cadenes buides si voleu indicar un host o un prefix-de-la-ruta i no us cal una contrasenya:\\n\\n```\\n--server 8080 $:/core/save/all text/plain text/html \\\"\\\" \\\"\\\" 192.168.0.245\\n```\\n\\nPer tal d'executar diversos servidors TiddlyWiki al mateix temps, heu d'indicar un port diferent per a cada un.\\n\"},\"$:/language/Help/setfield\":{\"title\":\"$:/language/Help/setfield\",\"description\":\"Prepara els tiddlers externs per que puguin ser utilitzats\",\"text\":\"//Tingueu en compte que aquesta ordre és experimental i podria canviar abans d'estar acabada//\\n\\nEstableix el camp d'un grup de tiddlers al resultat de wikificar un tiddler plantilla indicat per la variable `currentTiddler`.\\n\\n```\\n--setfield \u003Cfiltre> \u003Cnom-del-camp> \u003Cplantilla-del-títol> \u003Ctipus>\\n```\\n\\nEls paràmetres són:\\n\\n* ''filtre'' - filtre que identifica els tiddlers afectats\\n* ''nom-del-camp'' - el camp a modificar (per omissió \\\"text\\\")\\n* ''plantilla-del-títol'' - el tiddler a wikificar del camp indicat. Si està en blanc o no hi és llavors el camp indicat es suprimirà\\n* ''tipus-de-text'' - el tipus de text que cal generar (per omissió \\\"text/plain\\\"; es possible utilitzar \\\"text/html\\\" per incloure etiquetes HTML)\\n\"},\"$:/language/Help/unpackplugin\":{\"title\":\"$:/language/Help/unpackplugin\",\"description\":\"Extreu els tiddlers carregats d'un connector\",\"text\":\"Extreu els tiddlers carregats d'un connector, generant-los com a tiddlers corrents:\\n\\n```\\n--unpackplugin \u003Ctítol>\\n```\\n\"},\"$:/language/Help/verbose\":{\"title\":\"$:/language/Help/verbose\",\"description\":\"Llença el mode de sortida ampliada\",\"text\":\"Llença la sortida ampliada, útil per a depurar ```--verbose```\"},\"$:/language/Help/version\":{\"title\":\"$:/language/Help/version\",\"description\":\"Mostra el número de versió de TiddlyWiki\",\"text\":\"Mostra el número de versió de TiddlyWiki.```--version```\"},\"$:/language/Import/Editor/Import/Heading\":{\"title\":\"$:/language/Import/Editor/Import/Heading\",\"text\":\"Importa imatges i afegeix-les a l'editor.\"},\"$:/language/Import/Imported/Hint\":{\"title\":\"$:/language/Import/Imported/Hint\",\"text\":\"S'han importat els següents tiddlers:\"},\"$:/language/Import/Listing/Cancel/Caption\":{\"title\":\"$:/language/Import/Listing/Cancel/Caption\",\"text\":\"Anul·la\"},\"$:/language/Import/Listing/Cancel/Warning\":{\"title\":\"$:/language/Import/Listing/Cancel/Warning\",\"text\":\"Voley anul·lar la importació?\"},\"$:/language/Import/Listing/Hint\":{\"title\":\"$:/language/Import/Listing/Hint\",\"text\":\"Aquests tiddlers estàn llestos per a ser importats\"},\"$:/language/Import/Listing/Import/Caption\":{\"title\":\"$:/language/Import/Listing/Import/Caption\",\"text\":\"Importa\"},\"$:/language/Import/Listing/Preview\":{\"title\":\"$:/language/Import/Listing/Preview\",\"text\":\"Vista prèvia:\"},\"$:/language/Import/Listing/Preview/Diff\":{\"title\":\"$:/language/Import/Listing/Preview/Diff\",\"text\":\"Diferències\"},\"$:/language/Import/Listing/Preview/DiffFields\":{\"title\":\"$:/language/Import/Listing/Preview/DiffFields\",\"text\":\"Diferències (Camps)\"},\"$:/language/Import/Listing/Preview/Fields\":{\"title\":\"$:/language/Import/Listing/Preview/Fields\",\"text\":\"Camps\"},\"$:/language/Import/Listing/Preview/TextRaw\":{\"title\":\"$:/language/Import/Listing/Preview/TextRaw\",\"text\":\"Text (Cru)\"},\"$:/language/Import/Listing/Rename/CancelRename\":{\"title\":\"$:/language/Import/Listing/Rename/CancelRename\",\"text\":\"Anul·la\"},\"$:/language/Import/Listing/Rename/ConfirmRename\":{\"title\":\"$:/language/Import/Listing/Rename/ConfirmRename\",\"text\":\"Canvia el nom del tiddler\"},\"$:/language/Import/Listing/Rename/OverwriteWarning\":{\"title\":\"$:/language/Import/Listing/Rename/OverwriteWarning\",\"text\":\"Ja existeix un tiddler amb aquest nom.\"},\"$:/language/Import/Listing/Rename/Prompt\":{\"title\":\"$:/language/Import/Listing/Rename/Prompt\",\"text\":\"Canvia el nom a:\"},\"$:/language/Import/Listing/Rename/Tooltip\":{\"title\":\"$:/language/Import/Listing/Rename/Tooltip\",\"text\":\"Canvia el nom del tiddler abans d'importar\"},\"$:/language/Import/Listing/Select/Caption\":{\"title\":\"$:/language/Import/Listing/Select/Caption\",\"text\":\"Trieu\"},\"$:/language/Import/Listing/Status/Caption\":{\"title\":\"$:/language/Import/Listing/Status/Caption\",\"text\":\"Estat\"},\"$:/language/Import/Listing/Title/Caption\":{\"title\":\"$:/language/Import/Listing/Title/Caption\",\"text\":\"Títol\"},\"$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible\",\"text\":\"Connector bloquejat incompatible o obsolet\"},\"$:/language/Import/Upgrader/Plugins/Suppressed/Version\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Suppressed/Version\",\"text\":\"Connector bloquejat (degut a que la nova versió \u003C\u003Centrant>> és anterior a l'actual \u003C\u003Cactual>>)\"},\"$:/language/Import/Upgrader/Plugins/Upgraded\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Upgraded\",\"text\":\"Connector actualitzat de \u003C\u003Centrant>> a \u003C\u003Cactualitzat>>\"},\"$:/language/Import/Upgrader/State/Suppressed\":{\"title\":\"$:/language/Import/Upgrader/State/Suppressed\",\"text\":\"Tiddler temporalment bloquejat\"},\"$:/language/Import/Upgrader/System/Alert\":{\"title\":\"$:/language/Import/Upgrader/System/Alert\",\"text\":\"Esteu a punt d’importar un tiddler que sobreescrigui un tiddler del nucli central. Això no és recomanable, ja que pot fer que el sistema sigui inestable\"},\"$:/language/Import/Upgrader/System/Disabled\":{\"title\":\"$:/language/Import/Upgrader/System/Disabled\",\"text\":\"Tiddler del sistema inhabilitat\"},\"$:/language/Import/Upgrader/System/Suppressed\":{\"title\":\"$:/language/Import/Upgrader/System/Suppressed\",\"text\":\"Tiddler del sistema bloquejat\"},\"$:/language/Import/Upgrader/System/Warning\":{\"title\":\"$:/language/Import/Upgrader/System/Warning\",\"text\":\"Tiddler del nucli central\"},\"$:/language/Import/Upgrader/ThemeTweaks/Created\":{\"title\":\"$:/language/Import/Upgrader/ThemeTweaks/Created\",\"text\":\"Tema migrat des de \u003C$text text=\u003C\u003Cdesde>>/>\"},\"$:/language/Import/Upgrader/Tiddler/Disabled\":{\"title\":\"$:/language/Import/Upgrader/Tiddler/Disabled\",\"text\":\"Tiddler inhabilitat\"},\"$:/language/Import/Upgrader/Tiddler/Selected\":{\"title\":\"$:/language/Import/Upgrader/Tiddler/Selected\",\"text\":\"Triat pel usuari\"},\"$:/language/Import/Upgrader/Tiddler/Unselected\":{\"title\":\"$:/language/Import/Upgrader/Tiddler/Unselected\",\"text\":\"Tiddler no triat.\"},\"$:/language/AboveStory/ClassicPlugin/Warning\":{\"title\":\"$:/language/AboveStory/ClassicPlugin/Warning\",\"text\":\"Sembla que intenteu carregar un connector dissenyat per a ~TiddlyWiki Classic. Tingueu en compte que [[aquests connectors no funcionen amb la versió 5.x.x de TiddlyWiki |https://tiddlywiki.com/#TiddlyWikiClassic]]. S'han detectat connectors de ~TiddlyWiki Classic:\"},\"$:/language/BinaryWarning/Prompt\":{\"title\":\"$:/language/BinaryWarning/Prompt\",\"text\":\"Aquest tiddler conté dades binàries\"},\"$:/language/ClassicWarning/Hint\":{\"title\":\"$:/language/ClassicWarning/Hint\",\"text\":\"Aquest tiddler està escrit en format de text de TiddlyWiki, que no es totalment compatible amb la versió 5 de TiddlyWiki. Veieu els detalls a https://tiddlywiki.com/static/Upgrading.html .\"},\"$:/language/ClassicWarning/Upgrade/Caption\":{\"title\":\"$:/language/ClassicWarning/Upgrade/Caption\",\"text\":\"actualitza\"},\"$:/language/CloseAll/Button\":{\"title\":\"$:/language/CloseAll/Button\",\"text\":\"tanca-ho tot\"},\"$:/language/ConfirmAction\":{\"title\":\"$:/language/ConfirmAction\",\"text\":\"Voleu continuar?\"},\"$:/language/ConfirmCancelTiddler\":{\"title\":\"$:/language/ConfirmCancelTiddler\",\"text\":\"Voleu descartar els canvis del tiddler \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmDeleteTiddler\":{\"title\":\"$:/language/ConfirmDeleteTiddler\",\"text\":\"Voleu suprimir el tiddler \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmEditShadowTiddler\":{\"title\":\"$:/language/ConfirmEditShadowTiddler\",\"text\":\"Aneu a editar un TiddlerOmbra. Qualsevol canvi sobreescriurà les opcions per omisió del sistema i complicarà les actualitzacions. Segur que voleu editar \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmOverwriteTiddler\":{\"title\":\"$:/language/ConfirmOverwriteTiddler\",\"text\":\"Segur que voleu sobreescriure el tiddler \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/Count\":{\"title\":\"$:/language/Count\",\"text\":\"compte\"},\"$:/language/DefaultNewTiddlerTitle\":{\"title\":\"$:/language/DefaultNewTiddlerTitle\",\"text\":\"Nou Tiddler\"},\"$:/language/Diffs/CountMessage\":{\"title\":\"$:/language/Diffs/CountMessage\",\"text\":\"\u003C\u003Cdiff-count>> diferències\"},\"$:/language/DropMessage\":{\"title\":\"$:/language/DropMessage\",\"text\":\"Dexeu-ho anar aquí (o anul·leu-ho amb la tecla 'Escape')\"},\"$:/language/Encryption/Cancel\":{\"title\":\"$:/language/Encryption/Cancel\",\"text\":\"Anul·la\"},\"$:/language/Encryption/ConfirmClearPassword\":{\"title\":\"$:/language/Encryption/ConfirmClearPassword\",\"text\":\"Voleu suprimir la contrasenya? Això eliminarà l'encriptació utilitzada quan es desa aquest wiki\"},\"$:/language/Encryption/Password\":{\"title\":\"$:/language/Encryption/Password\",\"text\":\"Contrasenya\"},\"$:/language/Encryption/PasswordNoMatch\":{\"title\":\"$:/language/Encryption/PasswordNoMatch\",\"text\":\"Les contrasenyes no coincideixen\"},\"$:/language/Encryption/PromptSetPassword\":{\"title\":\"$:/language/Encryption/PromptSetPassword\",\"text\":\"Indiqueu una nova contrasenya per aquest TiddlyWiki\"},\"$:/language/Encryption/RepeatPassword\":{\"title\":\"$:/language/Encryption/RepeatPassword\",\"text\":\"Repetiu la contrasenya\"},\"$:/language/Encryption/SetPassword\":{\"title\":\"$:/language/Encryption/SetPassword\",\"text\":\"Indiqueu la contrasenya\"},\"$:/language/Encryption/Username\":{\"title\":\"$:/language/Encryption/Username\",\"text\":\"Usuari\"},\"$:/language/Error/Caption\":{\"title\":\"$:/language/Error/Caption\",\"text\":\"S'ha produït un error\"},\"$:/language/Error/Filter\":{\"title\":\"$:/language/Error/Filter\",\"text\":\"S'ha produït un error del filtre\"},\"$:/language/Error/FilterRunPrefix\":{\"title\":\"$:/language/Error/FilterRunPrefix\",\"text\":\"S'ha produït un error del filtre: El prefix és desconegut\"},\"$:/language/Error/FilterSyntax\":{\"title\":\"$:/language/Error/FilterSyntax\",\"text\":\"S'ha produït un error de sintaxi en l'expressió del filtre\"},\"$:/language/Error/FormatFilterOperator\":{\"title\":\"$:/language/Error/FormatFilterOperator\",\"text\":\"S'ha produït un error del filtre: El sufix del operador del filtre de 'format' és desconegut\"},\"$:/language/Error/IsFilterOperator\":{\"title\":\"$:/language/Error/IsFilterOperator\",\"text\":\"S'ha produït un error del filtre: operant desconegut per a l’operador de filtre \\\"is\\\"\"},\"$:/language/Error/LoadingPluginLibrary\":{\"title\":\"$:/language/Error/LoadingPluginLibrary\",\"text\":\"S'ha produït un error en carregar la biblioteca del connector\"},\"$:/language/Error/NetworkErrorAlert\":{\"title\":\"$:/language/Error/NetworkErrorAlert\",\"text\":\"`\u003Ch2>''Error de la xarxa''\u003C/h2>Sembla que s'ha perdut la connexió amb el servidor. Això pot indicar un problema amb la vostra connexió de la xarxa. Intenteu restaurar la connectivitat de xarxa abans de continuar.\u003Cbr>\u003Cbr>' Qualsevol canvi no guardat es sincronitzarà automàticament quan es restableixi la connectivitat''.'\"},\"$:/language/Error/PutEditConflict\":{\"title\":\"$:/language/Error/PutEditConflict\",\"text\":\"El fitxer ha canviat al servidor\"},\"$:/language/Error/RecursiveTransclusion\":{\"title\":\"$:/language/Error/RecursiveTransclusion\",\"text\":\"S'ha produït un error de transclusió recursiva en el widget de transclusió\"},\"$:/language/Error/RetrievingSkinny\":{\"title\":\"$:/language/Error/RetrievingSkinny\",\"text\":\"S'ha produït un error en recuperar la llista de tiddler parcials\"},\"$:/language/Error/SavingToTWEdit\":{\"title\":\"$:/language/Error/SavingToTWEdit\",\"text\":\"S'ha produït un error en desar a TWEdit\"},\"$:/language/Error/WhileSaving\":{\"title\":\"$:/language/Error/WhileSaving\",\"text\":\"S'ha produït un error en desar\"},\"$:/language/Error/XMLHttpRequest\":{\"title\":\"$:/language/Error/XMLHttpRequest\",\"text\":\"Codi d'error XMLHttpRequest\"},\"$:/language/InternalJavaScriptError/Hint\":{\"title\":\"$:/language/InternalJavaScriptError/Hint\",\"text\":\"Bé, això és compromès. Es recomana que reinicieu TiddlyWiki actualitzant el navegador\"},\"$:/language/InternalJavaScriptError/Title\":{\"title\":\"$:/language/InternalJavaScriptError/Title\",\"text\":\"S'ha produït un error intern de JavaScript\"},\"$:/language/LayoutSwitcher/Description\":{\"title\":\"$:/language/LayoutSwitcher/Description\",\"text\":\"Obre el canviador de disposició\"},\"$:/language/LazyLoadingWarning\":{\"title\":\"$:/language/LazyLoadingWarning\",\"text\":\"\u003Cp>S'està tractant de carregar contingut extern de ''\u003C$text text={{!!_canonical_uri}}/>''\u003C/p>\u003Cp>Si aquest missatge no desapareix, o bé el tipus de contingut del tiddler no coincideix amb el tipus de contingut extern o bé esteu utilitzant un navegador que no admet contingut extern per als wikis carregats com a fitxers independents. Mireu https://tiddlywiki.com/#ExternalText\u003C/p>\"},\"$:/language/LoginToTiddlySpace\":{\"title\":\"$:/language/LoginToTiddlySpace\",\"text\":\"Inicieu la sessió a TiddlySpace\"},\"$:/language/Manager/Controls/FilterByTag/None\":{\"title\":\"$:/language/Manager/Controls/FilterByTag/None\",\"text\":\"(cap)\"},\"$:/language/Manager/Controls/FilterByTag/Prompt\":{\"title\":\"$:/language/Manager/Controls/FilterByTag/Prompt\",\"text\":\"Filtra per etiqueta:\"},\"$:/language/Manager/Controls/Order/Prompt\":{\"title\":\"$:/language/Manager/Controls/Order/Prompt\",\"text\":\"Ordre invers\"},\"$:/language/Manager/Controls/Search/Placeholder\":{\"title\":\"$:/language/Manager/Controls/Search/Placeholder\",\"text\":\"Cerca\"},\"$:/language/Manager/Controls/Search/Prompt\":{\"title\":\"$:/language/Manager/Controls/Search/Prompt\",\"text\":\"Cerca:\"},\"$:/language/Manager/Controls/Show/Option/Tags\":{\"title\":\"$:/language/Manager/Controls/Show/Option/Tags\",\"text\":\"etiquetes\"},\"$:/language/Manager/Controls/Show/Prompt\":{\"title\":\"$:/language/Manager/Controls/Show/Prompt\",\"text\":\"Mostra:\"},\"$:/language/Manager/Controls/Sort/Prompt\":{\"title\":\"$:/language/Manager/Controls/Sort/Prompt\",\"text\":\"Ordena per:\"},\"$:/language/Manager/Item/Colour\":{\"title\":\"$:/language/Manager/Item/Colour\",\"text\":\"Color\"},\"$:/language/Manager/Item/Fields\":{\"title\":\"$:/language/Manager/Item/Fields\",\"text\":\"Camps\"},\"$:/language/Manager/Item/Icon\":{\"title\":\"$:/language/Manager/Item/Icon\",\"text\":\"Icona\"},\"$:/language/Manager/Item/Icon/None\":{\"title\":\"$:/language/Manager/Item/Icon/None\",\"text\":\"(cap)\"},\"$:/language/Manager/Item/RawText\":{\"title\":\"$:/language/Manager/Item/RawText\",\"text\":\"Text cru\"},\"$:/language/Manager/Item/Tags\":{\"title\":\"$:/language/Manager/Item/Tags\",\"text\":\"Etiquetes\"},\"$:/language/Manager/Item/Tools\":{\"title\":\"$:/language/Manager/Item/Tools\",\"text\":\"Eines\"},\"$:/language/Manager/Item/WikifiedText\":{\"title\":\"$:/language/Manager/Item/WikifiedText\",\"text\":\"Text en format Wiki\"},\"$:/language/MissingTiddler/Hint\":{\"title\":\"$:/language/MissingTiddler/Hint\",\"text\":\"Falta el tiddler \\\"\u003C$text text=\u003C\u003CcurrentTiddler>>/>\\\" - cliqueu {{||$:/core/ui/Buttons/edit}} per generar-ho\"},\"$:/language/OfficialPluginLibrary\":{\"title\":\"$:/language/OfficialPluginLibrary\",\"text\":\"Biblioteca Oficial de connectors de ~TiddlyWiki\"},\"$:/language/OfficialPluginLibrary/Hint\":{\"title\":\"$:/language/OfficialPluginLibrary/Hint\",\"text\":\"La biblioteca de complements oficials de ~TiddlyWiki a tiddlywiki.com. L'equip principal gestiona els connectors, els temes i els paquets d'idioma.\"},\"$:/language/PageTemplate/Description\":{\"title\":\"$:/language/PageTemplate/Description\",\"text\":\"disposició de ~TiddlyWiki per omissió\"},\"$:/language/PageTemplate/Name\":{\"title\":\"$:/language/PageTemplate/Name\",\"text\":\"~PageTemplate per omissió\"},\"$:/language/PluginReloadWarning\":{\"title\":\"$:/language/PluginReloadWarning\",\"text\":\"Deseu si us plau {{$:/core/ui/Buttons/save-wiki}} i torneu a carregar {{$:/core/ui/Buttons/refresh}} per tal que els canvis als connectors es puguin activar\"},\"$:/language/RecentChanges/DateFormat\":{\"title\":\"$:/language/RecentChanges/DateFormat\",\"text\":\"DD MMM YYYY\"},\"$:/language/Shortcuts/Input/Accept/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Accept/Hint\",\"text\":\"Accepta l'element triat\"},\"$:/language/Shortcuts/Input/AcceptVariant/Hint\":{\"title\":\"$:/language/Shortcuts/Input/AcceptVariant/Hint\",\"text\":\"Accepta l'element triat (variant)\"},\"$:/language/Shortcuts/Input/AdvancedSearch/Hint\":{\"title\":\"$:/language/Shortcuts/Input/AdvancedSearch/Hint\",\"text\":\"Obre el tauler de ~AdvancedSearch des del camp de cerca de la barra lateral\"},\"$:/language/Shortcuts/Input/Cancel/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Cancel/Hint\",\"text\":\"Neteja el camp d'entrada\"},\"$:/language/Shortcuts/Input/Down/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Down/Hint\",\"text\":\"Tria l'element següent\"},\"$:/language/Shortcuts/Input/Tab-Left/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Tab-Left/Hint\",\"text\":\"Tria la pestanya anterior\"},\"$:/language/Shortcuts/Input/Tab-Right/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Tab-Right/Hint\",\"text\":\"Tria la pestanya següent\"},\"$:/language/Shortcuts/Input/Up/Hint\":{\"title\":\"$:/language/Shortcuts/Input/Up/Hint\",\"text\":\"Tria l'element anterior\"},\"$:/language/Shortcuts/SidebarLayout/Hint\":{\"title\":\"$:/language/Shortcuts/SidebarLayout/Hint\",\"text\":\"Canvia la disposició de la barra lateral\"},\"$:/language/Switcher/Subtitle/language\":{\"title\":\"$:/language/Switcher/Subtitle/language\",\"text\":\"Canvia l'idioma\"},\"$:/language/Switcher/Subtitle/layout\":{\"title\":\"$:/language/Switcher/Subtitle/layout\",\"text\":\"Canvia la disposició\"},\"$:/language/Switcher/Subtitle/palette\":{\"title\":\"$:/language/Switcher/Subtitle/palette\",\"text\":\"Canvia la paleta\"},\"$:/language/Switcher/Subtitle/theme\":{\"title\":\"$:/language/Switcher/Subtitle/theme\",\"text\":\"Canvia el tema\"},\"$:/language/SystemTiddler/Tooltip\":{\"title\":\"$:/language/SystemTiddler/Tooltip\",\"text\":\"Aquest és un tiddler del sistema\"},\"$:/language/SystemTiddlers/Include/Prompt\":{\"title\":\"$:/language/SystemTiddlers/Include/Prompt\",\"text\":\"Inclou els tiddlers del sistema\"},\"$:/language/TagManager/Colour/Heading\":{\"title\":\"$:/language/TagManager/Colour/Heading\",\"text\":\"Color\"},\"$:/language/TagManager/Count/Heading\":{\"title\":\"$:/language/TagManager/Count/Heading\",\"text\":\"Compte\"},\"$:/language/TagManager/Icon/Heading\":{\"title\":\"$:/language/TagManager/Icon/Heading\",\"text\":\"Icona\"},\"$:/language/TagManager/Icons/None\":{\"title\":\"$:/language/TagManager/Icons/None\",\"text\":\"Cap\"},\"$:/language/TagManager/Info/Heading\":{\"title\":\"$:/language/TagManager/Info/Heading\",\"text\":\"Informació\"},\"$:/language/TagManager/Tag/Heading\":{\"title\":\"$:/language/TagManager/Tag/Heading\",\"text\":\"Etiqueta\"},\"$:/language/Tiddler/DateFormat\":{\"title\":\"$:/language/Tiddler/DateFormat\",\"text\":\"DD MMM de YYYY a les hh12:0mm am\"},\"$:/language/UnsavedChangesWarning\":{\"title\":\"$:/language/UnsavedChangesWarning\",\"text\":\"Teniu canvis sense desar al TiddlyWiki\"},\"$:/language/Yes\":{\"title\":\"$:/language/Yes\",\"text\":\"Sí\"},\"$:/language/Modals/Download\":{\"title\":\"$:/language/Modals/Download\",\"type\":\"text/vnd.tiddlywiki\",\"subtitle\":\"Download changes\",\"footer\":\"\u003C$button message=\\\"tm-close-tiddler\\\">Close\u003C/$button>\",\"help\":\"https://tiddlywiki.com/static/DownloadingChanges.html\",\"text\":\"El vostre navegador només permet desar de forma manual. Per desar les modificacions del vostre wiki, cliqueu amb el botó dret l'enllaç per baixar de sota i trieu \\\"Baixa el fitxer\\\" o \\\"Desa el fitxer\\\", i llavors trieu la carpeta i el nom del fitxer.//Podeu accelerar-ho clicant l'enllaç amb la tecla control (Windows) o la tecla opcions/alt (Mac OS X). Es demanarà la carpeta o el nom del fitxer, però probablement el vostre navegador hi assignarà un nom irreconeixible -- haureu de reanomenar el fitxer per incloure l'extensió `.html` abans no pogueu fer res útil amb ell.//Als mòbils que no permeten baixar fitxers podeu desar l'enllaç als preferits, i llavors sincronitzar els vostres preferits a un ordinador des del que podeu desar el wiki normalment.\"},\"$:/config/NewJournal/Tags\":{\"title\":\"$:/config/NewJournal/Tags\",\"text\":\"Diari\"},\"$:/config/NewJournal/Title\":{\"title\":\"$:/config/NewJournal/Title\",\"text\":\"DD MMM YYYY\"},\"$:/language/Notifications/CopiedToClipboard/Failed\":{\"title\":\"$:/language/Notifications/CopiedToClipboard/Failed\",\"text\":\"No s’ha pogut copiar al porta-retalls.\"},\"$:/language/Notifications/CopiedToClipboard/Succeeded\":{\"title\":\"$:/language/Notifications/CopiedToClipboard/Succeeded\",\"text\":\"S’ha copiat al porta-retalls!\"},\"$:/language/Notifications/Save/Done\":{\"title\":\"$:/language/Notifications/Save/Done\",\"text\":\"S'ha desat el wiki\"},\"$:/language/Notifications/Save/Starting\":{\"title\":\"$:/language/Notifications/Save/Starting\",\"text\":\"S'està desant el wiki\"},\"$:/language/Search/DefaultResults/Caption\":{\"title\":\"$:/language/Search/DefaultResults/Caption\",\"text\":\"Llista\"},\"$:/language/Search/Filter/Caption\":{\"title\":\"$:/language/Search/Filter/Caption\",\"text\":\"Filtre\"},\"$:/language/Search/Filter/Hint\":{\"title\":\"$:/language/Search/Filter/Hint\",\"text\":\"Cerca amb una [[expressió de filtre|https://tiddlywiki.com/static/Filters.html]]\"},\"$:/language/Search/Filter/Matches\":{\"title\":\"$:/language/Search/Filter/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> coincidències\u003C/small>//\"},\"$:/language/Search/Matches\":{\"title\":\"$:/language/Search/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> coincidències\u003C/small>//\"},\"$:/language/Search/Matches/All\":{\"title\":\"$:/language/Search/Matches/All\",\"text\":\"Totes les coincidències:\"},\"$:/language/Search/Matches/Title\":{\"title\":\"$:/language/Search/Matches/Title\",\"text\":\"Coincidències del títol:\"},\"$:/language/Search/Search\":{\"title\":\"$:/language/Search/Search\",\"text\":\"Cerca\"},\"$:/language/Search/Search/TooShort\":{\"title\":\"$:/language/Search/Search/TooShort\",\"text\":\"El text que voleu cercar és massa curt\"},\"$:/language/Search/Shadows/Caption\":{\"title\":\"$:/language/Search/Shadows/Caption\",\"text\":\"Ombres\"},\"$:/language/Search/Shadows/Hint\":{\"title\":\"$:/language/Search/Shadows/Hint\",\"text\":\"Cerca de tiddlers ombra\"},\"$:/language/Search/Shadows/Matches\":{\"title\":\"$:/language/Search/Shadows/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> coincidències\u003C/small>//\"},\"$:/language/Search/Standard/Caption\":{\"title\":\"$:/language/Search/Standard/Caption\",\"text\":\"Estàndar\"},\"$:/language/Search/Standard/Hint\":{\"title\":\"$:/language/Search/Standard/Hint\",\"text\":\"Cerca tiddlers estàndar\"},\"$:/language/Search/Standard/Matches\":{\"title\":\"$:/language/Search/Standard/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> coincidències\u003C/small>//\"},\"$:/language/Search/System/Caption\":{\"title\":\"$:/language/Search/System/Caption\",\"text\":\"Sistema\"},\"$:/language/Search/System/Hint\":{\"title\":\"$:/language/Search/System/Hint\",\"text\":\"Cerca tiddlers del sistema\"},\"$:/language/Search/System/Matches\":{\"title\":\"$:/language/Search/System/Matches\",\"text\":\"//\u003Csmall>\u003C\u003CresultCount>> coincidències\u003C/small>//\"},\"$:/language/SideBar/All/Caption\":{\"title\":\"$:/language/SideBar/All/Caption\",\"text\":\"Tot\"},\"$:/language/SideBar/Contents/Caption\":{\"title\":\"$:/language/SideBar/Contents/Caption\",\"text\":\"Contingut\"},\"$:/language/SideBar/Drafts/Caption\":{\"title\":\"$:/language/SideBar/Drafts/Caption\",\"text\":\"Esborranys\"},\"$:/language/SideBar/Explorer/Caption\":{\"title\":\"$:/language/SideBar/Explorer/Caption\",\"text\":\"Explorador\"},\"$:/language/SideBar/Missing/Caption\":{\"title\":\"$:/language/SideBar/Missing/Caption\",\"text\":\"Falten\"},\"$:/language/SideBar/More/Caption\":{\"title\":\"$:/language/SideBar/More/Caption\",\"text\":\"Més\"},\"$:/language/SideBar/Open/Caption\":{\"title\":\"$:/language/SideBar/Open/Caption\",\"text\":\"Obert\"},\"$:/language/SideBar/Orphans/Caption\":{\"title\":\"$:/language/SideBar/Orphans/Caption\",\"text\":\"Orfes\"},\"$:/language/SideBar/Shadows/Caption\":{\"title\":\"$:/language/SideBar/Shadows/Caption\",\"text\":\"Ombres\"},\"$:/language/SideBar/System/Caption\":{\"title\":\"$:/language/SideBar/System/Caption\",\"text\":\"Sistema\"},\"$:/language/SideBar/Tags/Caption\":{\"title\":\"$:/language/SideBar/Tags/Caption\",\"text\":\"Etiquetes\"},\"$:/language/SideBar/Tags/Untagged/Caption\":{\"title\":\"$:/language/SideBar/Tags/Untagged/Caption\",\"text\":\"senseEtiqueta\"},\"$:/language/SideBar/Tools/Caption\":{\"title\":\"$:/language/SideBar/Tools/Caption\",\"text\":\"Eines\"},\"$:/language/SideBar/Types/Caption\":{\"title\":\"$:/language/SideBar/Types/Caption\",\"text\":\"Tipus\"},\"$:/SiteSubtitle\":{\"title\":\"$:/SiteSubtitle\",\"text\":\"bloc personal no lineal\"},\"$:/SiteTitle\":{\"title\":\"$:/SiteTitle\",\"text\":\"El meu ~TiddlyWiki\"},\"$:/language/Snippets/ListByTag\":{\"title\":\"$:/language/Snippets/ListByTag\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Llista de tiddlers per etiqueta\",\"text\":\"\u003C\u003Clist-links \\\"[tag[task]sort[title]]\\\">>\\n\"},\"$:/language/Snippets/MacroDefinition\":{\"title\":\"$:/language/Snippets/MacroDefinition\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Definició de la macro\",\"text\":\"\\\\define macroName(param1:\\\"default value\\\",param2)\\nText de la macro\\n\\\\end\\n\"},\"$:/language/Snippets/Table4x3\":{\"title\":\"$:/language/Snippets/Table4x3\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Taula amb 4 columnes i 3 files\",\"text\":\"|! |!Alpha |!Beta |!Gamma |!Delta |\\n|!Un | | | | |\\n|!Dos | | | | |\\n|!Tres | | | | |\\n\"},\"$:/language/Snippets/TableOfContents\":{\"title\":\"$:/language/Snippets/TableOfContents\",\"tags\":\"$:/tags/TextEditor/Snippet\",\"caption\":\"Índex\",\"text\":\"\u003Cdiv class=\\\"tc-table-of-contents\\\">\\n\\n\u003C\u003Ctoc-selective-expandable 'Índex'>>\\n\\n\u003C/div>\"},\"$:/language/ThemeTweaks/Metrics\":{\"title\":\"$:/language/ThemeTweaks/Metrics\",\"text\":\"Mides\"},\"$:/language/ThemeTweaks/Metrics/BodyFontSize\":{\"title\":\"$:/language/ThemeTweaks/Metrics/BodyFontSize\",\"text\":\"Mida del tipus de lletra per al cos de tiddler\"},\"$:/language/ThemeTweaks/Metrics/BodyLineHeight\":{\"title\":\"$:/language/ThemeTweaks/Metrics/BodyLineHeight\",\"text\":\"Alçada de la línia per al cos de tiddler\"},\"$:/language/ThemeTweaks/Metrics/FontSize\":{\"title\":\"$:/language/ThemeTweaks/Metrics/FontSize\",\"text\":\"Mida del tipus de lletra\"},\"$:/language/ThemeTweaks/Metrics/LineHeight\":{\"title\":\"$:/language/ThemeTweaks/Metrics/LineHeight\",\"text\":\"Alçada de la línia\"},\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint\",\"text\":\"Punt de baixada de la cronologia\"},\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarBreakpoint/Hint\",\"text\":\"l’amplada mínima de la pàgina en que la cronologia i la barra lateral es mostren una al costat de l'altre\"},\"$:/language/ThemeTweaks/Metrics/SidebarWidth\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarWidth\",\"text\":\"Amplada de la barra lateral\"},\"$:/language/ThemeTweaks/Metrics/SidebarWidth/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/SidebarWidth/Hint\",\"text\":\"l'amplada de la barra lateral amb una disposició fluida fixe\"},\"$:/language/ThemeTweaks/Metrics/StoryLeft\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryLeft\",\"text\":\"Marge esquerra de la cronologia\"},\"$:/language/ThemeTweaks/Metrics/StoryLeft/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryLeft/Hint\",\"text\":\"marge esquerre entre la cronologia\u003Cbr>(zona dels tiddlers) i la vora esquerra de la pàgina\"},\"$:/language/ThemeTweaks/Metrics/StoryRight\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryRight\",\"text\":\"Marge dret de la cronologia\"},\"$:/language/ThemeTweaks/Metrics/StoryRight/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryRight/Hint\",\"text\":\"distància entre el marge esquerre entre la barra lateral\u003Cbr>i la vora esquerra de la pàgina\"},\"$:/language/ThemeTweaks/Metrics/StoryTop\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryTop\",\"text\":\"Posició vertical de la cronologia\"},\"$:/language/ThemeTweaks/Metrics/StoryTop/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryTop/Hint\",\"text\":\"distància del marge superior de la cronologia\u003Cbr>fins a la vora superior de la pàgina\"},\"$:/language/ThemeTweaks/Metrics/StoryWidth\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryWidth\",\"text\":\"Amplada de la cronologia\"},\"$:/language/ThemeTweaks/Metrics/StoryWidth/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/StoryWidth/Hint\",\"text\":\"l'amplada global de la cronologia\"},\"$:/language/ThemeTweaks/Metrics/TiddlerWidth\":{\"title\":\"$:/language/ThemeTweaks/Metrics/TiddlerWidth\",\"text\":\"Amplada dels tiddlers\"},\"$:/language/ThemeTweaks/Metrics/TiddlerWidth/Hint\":{\"title\":\"$:/language/ThemeTweaks/Metrics/TiddlerWidth/Hint\",\"text\":\"a la cronologia\"},\"$:/language/ThemeTweaks/Options\":{\"title\":\"$:/language/ThemeTweaks/Options\",\"text\":\"Opcions\"},\"$:/language/ThemeTweaks/Options/CodeWrapping\":{\"title\":\"$:/language/ThemeTweaks/Options/CodeWrapping\",\"text\":\"Divideix les línies llargues dels blocs de codi\"},\"$:/language/ThemeTweaks/Options/SidebarLayout\":{\"title\":\"$:/language/ThemeTweaks/Options/SidebarLayout\",\"text\":\"Disposició de la barra lateral\"},\"$:/language/ThemeTweaks/Options/SidebarLayout/Fixed-Fluid\":{\"title\":\"$:/language/ThemeTweaks/Options/SidebarLayout/Fixed-Fluid\",\"text\":\"Cronologia fixa, barra lateral fluida\"},\"$:/language/ThemeTweaks/Options/SidebarLayout/Fluid-Fixed\":{\"title\":\"$:/language/ThemeTweaks/Options/SidebarLayout/Fluid-Fixed\",\"text\":\"Cronologia fluida, barra lateral fixa\"},\"$:/language/ThemeTweaks/Options/StickyTitles\":{\"title\":\"$:/language/ThemeTweaks/Options/StickyTitles\",\"text\":\"Títols enganxosos\"},\"$:/language/ThemeTweaks/Options/StickyTitles/Hint\":{\"title\":\"$:/language/ThemeTweaks/Options/StickyTitles/Hint\",\"text\":\"Fa que els títols del tiddler \\\"s'enganxin\\\" a la part superior de la finestra del navegador\"},\"$:/language/ThemeTweaks/Settings\":{\"title\":\"$:/language/ThemeTweaks/Settings\",\"text\":\"Paràmetres\"},\"$:/language/ThemeTweaks/Settings/BackgroundImage\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImage\",\"text\":\"Imatge de fons de la pàgina\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment\",\"text\":\"Adjunt de la imatge de fons de la pàgina\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Fixed\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Fixed\",\"text\":\"Fixa-ho a la finestra\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Scroll\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Scroll\",\"text\":\"Desplaça-ho amb els tiddlers\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageSize\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageSize\",\"text\":\"Mida de la imatge de fons de la pàgina\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Contain\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Contain\",\"text\":\"Omple\"},\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Cover\":{\"title\":\"$:/language/ThemeTweaks/Settings/BackgroundImageSize/Cover\",\"text\":\"Retalla\"},\"$:/language/ThemeTweaks/Settings/CodeFontFamily\":{\"title\":\"$:/language/ThemeTweaks/Settings/CodeFontFamily\",\"text\":\"Família del tipus de lletra del codi\"},\"$:/language/ThemeTweaks/Settings/EditorFontFamily\":{\"title\":\"$:/language/ThemeTweaks/Settings/EditorFontFamily\",\"text\":\"Família del tipus de lletra de l'editor\"},\"$:/language/ThemeTweaks/Settings/FontFamily\":{\"title\":\"$:/language/ThemeTweaks/Settings/FontFamily\",\"text\":\"Família del tipus de lletra\"},\"$:/language/ThemeTweaks/ThemeTweaks\":{\"title\":\"$:/language/ThemeTweaks/ThemeTweaks\",\"text\":\"Personalitza el tema\"},\"$:/language/ThemeTweaks/ThemeTweaks/Hint\":{\"title\":\"$:/language/ThemeTweaks/ThemeTweaks/Hint\",\"text\":\"Podeu modificar alguns aspectes del tema ''Vainilla''.\"},\"$:/language/TiddlerInfo/Advanced/Caption\":{\"title\":\"$:/language/TiddlerInfo/Advanced/Caption\",\"text\":\"Avançat\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint\",\"text\":\"cap\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Heading\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Heading\",\"text\":\"Detalls del connector\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Hint\",\"text\":\"Aquest connector conté els següents tiddlers ombra:\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading\",\"text\":\"Estat de l'Ombra\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint\",\"text\":\"El tiddler \u003C$link to=\u003C\u003CinfoTiddler>>>\u003C$text text=\u003C\u003CinfoTiddler>>/>\u003C/$link> no és un tiddler ombra\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint\",\"text\":\"Està sobreescrit per un tiddler corrent\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint\",\"text\":\"El tiddler \u003C$link to=\u003C\u003CinfoTiddler>>>\u003C$text text=\u003C\u003CinfoTiddler>>/>\u003C/$link> és un tiddler ombra\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source\",\"text\":\"Està definit al connector \u003C$link to=\u003C\u003CpluginTiddler>>>\u003C$text text=\u003C\u003CpluginTiddler>>/>\u003C/$link>\"},\"$:/language/TiddlerInfo/Fields/Caption\":{\"title\":\"$:/language/TiddlerInfo/Fields/Caption\",\"text\":\"Camps\"},\"$:/language/TiddlerInfo/List/Caption\":{\"title\":\"$:/language/TiddlerInfo/List/Caption\",\"text\":\"Llista\"},\"$:/language/TiddlerInfo/List/Empty\":{\"title\":\"$:/language/TiddlerInfo/List/Empty\",\"text\":\"Aquest tiddler no té una llista\"},\"$:/language/TiddlerInfo/Listed/Caption\":{\"title\":\"$:/language/TiddlerInfo/Listed/Caption\",\"text\":\"Llistat\"},\"$:/language/TiddlerInfo/Listed/Empty\":{\"title\":\"$:/language/TiddlerInfo/Listed/Empty\",\"text\":\"Aquest tiddler no està llistat a cap d'altre\"},\"$:/language/TiddlerInfo/References/Caption\":{\"title\":\"$:/language/TiddlerInfo/References/Caption\",\"text\":\"Referències\"},\"$:/language/TiddlerInfo/References/Empty\":{\"title\":\"$:/language/TiddlerInfo/References/Empty\",\"text\":\"No hi ha cap tiddler que enllaçi cap aquest\"},\"$:/language/TiddlerInfo/Tagging/Caption\":{\"title\":\"$:/language/TiddlerInfo/Tagging/Caption\",\"text\":\"Etiquetes\"},\"$:/language/TiddlerInfo/Tagging/Empty\":{\"title\":\"$:/language/TiddlerInfo/Tagging/Empty\",\"text\":\"No hi ha cap tiddler etiquetat amb aquest\"},\"$:/language/TiddlerInfo/Tools/Caption\":{\"title\":\"$:/language/TiddlerInfo/Tools/Caption\",\"text\":\"Eines\"},\"$:/language/Docs/Types/application/javascript\":{\"title\":\"$:/language/Docs/Types/application/javascript\",\"description\":\"Codi JavaScript\",\"name\":\"application/javascript\",\"group\":\"Desenvolupador\"},\"$:/language/Docs/Types/application/json\":{\"title\":\"$:/language/Docs/Types/application/json\",\"description\":\"Dades JSON\",\"name\":\"application/json\",\"group\":\"Desenvolupador\"},\"$:/language/Docs/Types/application/x-tiddler-dictionary\":{\"title\":\"$:/language/Docs/Types/application/x-tiddler-dictionary\",\"description\":\"Diccionari de dades\",\"name\":\"application/x-tiddler-dictionary\",\"group\":\"Desenvolupador\"},\"$:/language/Docs/Types/image/gif\":{\"title\":\"$:/language/Docs/Types/image/gif\",\"description\":\"Imatge GIF\",\"name\":\"image/gif\",\"group\":\"Imatge\"},\"$:/language/Docs/Types/image/jpeg\":{\"title\":\"$:/language/Docs/Types/image/jpeg\",\"description\":\"Imatge JPEG\",\"name\":\"image/jpeg\",\"group\":\"Imatge\"},\"$:/language/Docs/Types/image/png\":{\"title\":\"$:/language/Docs/Types/image/png\",\"description\":\"Imatge PNG\",\"name\":\"image/png\",\"group\":\"Imatge\"},\"$:/language/Docs/Types/image/svg+xml\":{\"title\":\"$:/language/Docs/Types/image/svg+xml\",\"description\":\"Imatge Gràfic de Vectors Estructurats\",\"name\":\"image/svg+xml\",\"group\":\"Imatge\"},\"$:/language/Docs/Types/image/x-icon\":{\"title\":\"$:/language/Docs/Types/image/x-icon\",\"description\":\"Format de fitxer d'icona ICO\",\"name\":\"image/x-icon\",\"group\":\"Imatge\"},\"$:/language/Docs/Types/text/css\":{\"title\":\"$:/language/Docs/Types/text/css\",\"description\":\"Full d'estil estàtic\",\"name\":\"text/css\",\"group\":\"Desenvolupador\"},\"$:/language/Docs/Types/text/html\":{\"title\":\"$:/language/Docs/Types/text/html\",\"description\":\"Marques HTML\",\"name\":\"text/html\",\"group\":\"Text\"},\"$:/language/Docs/Types/text/plain\":{\"title\":\"$:/language/Docs/Types/text/plain\",\"description\":\"Text plà\",\"name\":\"text/plain\",\"group\":\"Text\"},\"$:/language/Docs/Types/text/x-tiddlywiki\":{\"title\":\"$:/language/Docs/Types/text/x-tiddlywiki\",\"description\":\"TiddlyWiki Clàssic\",\"name\":\"text/x-tiddlywiki\",\"group\":\"Text\"},\"$:/languages/ca-ES/icon\":{\"title\":\"$:/languages/ca-ES/icon\",\"type\":\"image/svg+xml\",\"text\":\"\u003C?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"810\\\" height=\\\"540\\\">\\n\u003Crect width=\\\"810\\\" height=\\\"540\\\" fill=\\\"#FCDD09\\\"/>\\n\u003Cpath stroke=\\\"#DA121A\\\" stroke-width=\\\"60\\\" d=\\\"M0,90H810m0,120H0m0,120H810m0,120H0\\\"/>\\n\u003C/svg>\"}}}"}, {"title":"$:/languages/cs-CZ","name":"cs-CZ","plugin-type":"language","description":"Česky (Czech Republic)","author":"Zdeněk Jašek","core-version":">=5.0.0","version":"5.3.3","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/language/Buttons/AdvancedSearch/Caption\":{\"title\":\"$:/language/Buttons/AdvancedSearch/Caption\",\"text\":\"pokročilé hledání\"},\"$:/language/Buttons/AdvancedSearch/Hint\":{\"title\":\"$:/language/Buttons/AdvancedSearch/Hint\",\"text\":\"Pokročilé hledání\"},\"$:/language/Buttons/Cancel/Caption\":{\"title\":\"$:/language/Buttons/Cancel/Caption\",\"text\":\"zrušit\"},\"$:/language/Buttons/Cancel/Hint\":{\"title\":\"$:/language/Buttons/Cancel/Hint\",\"text\":\"Zrušit editaci tohoto tiddleru\"},\"$:/language/Buttons/Clone/Caption\":{\"title\":\"$:/language/Buttons/Clone/Caption\",\"text\":\"klonovat\"},\"$:/language/Buttons/Clone/Hint\":{\"title\":\"$:/language/Buttons/Clone/Hint\",\"text\":\"Klonovat tento tiddler\"},\"$:/language/Buttons/Close/Caption\":{\"title\":\"$:/language/Buttons/Close/Caption\",\"text\":\"zavřít\"},\"$:/language/Buttons/Close/Hint\":{\"title\":\"$:/language/Buttons/Close/Hint\",\"text\":\"Zavřít tento tiddler\"},\"$:/language/Buttons/CloseAll/Caption\":{\"title\":\"$:/language/Buttons/CloseAll/Caption\",\"text\":\"zavřít vše\"},\"$:/language/Buttons/CloseAll/Hint\":{\"title\":\"$:/language/Buttons/CloseAll/Hint\",\"text\":\"Zavřít všechny tiddlery\"},\"$:/language/Buttons/CloseOthers/Caption\":{\"title\":\"$:/language/Buttons/CloseOthers/Caption\",\"text\":\"zavřít ostatní\"},\"$:/language/Buttons/CloseOthers/Hint\":{\"title\":\"$:/language/Buttons/CloseOthers/Hint\",\"text\":\"Zavřít ostatní tiddlery\"},\"$:/language/Buttons/ControlPanel/Caption\":{\"title\":\"$:/language/Buttons/ControlPanel/Caption\",\"text\":\"panel nastavení\"},\"$:/language/Buttons/ControlPanel/Hint\":{\"title\":\"$:/language/Buttons/ControlPanel/Hint\",\"text\":\"Otevřít panel nastavení\"},\"$:/language/Buttons/Delete/Caption\":{\"title\":\"$:/language/Buttons/Delete/Caption\",\"text\":\"smazat\"},\"$:/language/Buttons/Delete/Hint\":{\"title\":\"$:/language/Buttons/Delete/Hint\",\"text\":\"Smazat tento tiddler\"},\"$:/language/Buttons/Edit/Caption\":{\"title\":\"$:/language/Buttons/Edit/Caption\",\"text\":\"editovat\"},\"$:/language/Buttons/Edit/Hint\":{\"title\":\"$:/language/Buttons/Edit/Hint\",\"text\":\"Editovat tento tiddler\"},\"$:/language/Buttons/Encryption/Caption\":{\"title\":\"$:/language/Buttons/Encryption/Caption\",\"text\":\"šifrování\"},\"$:/language/Buttons/Encryption/ClearPassword/Caption\":{\"title\":\"$:/language/Buttons/Encryption/ClearPassword/Caption\",\"text\":\"smazat heslo\"},\"$:/language/Buttons/Encryption/ClearPassword/Hint\":{\"title\":\"$:/language/Buttons/Encryption/ClearPassword/Hint\",\"text\":\"Smazat heslo a uložit tuto wiki bez šifrování\"},\"$:/language/Buttons/Encryption/Hint\":{\"title\":\"$:/language/Buttons/Encryption/Hint\",\"text\":\"Nastavit nebo smazat heslo pro ukádání této wiki\"},\"$:/language/Buttons/Encryption/SetPassword/Caption\":{\"title\":\"$:/language/Buttons/Encryption/SetPassword/Caption\",\"text\":\"nastavit heslo\"},\"$:/language/Buttons/Encryption/SetPassword/Hint\":{\"title\":\"$:/language/Buttons/Encryption/SetPassword/Hint\",\"text\":\"Nastavit heslo pro ukládání této wiki se šifrováním\"},\"$:/language/Buttons/ExportPage/Caption\":{\"title\":\"$:/language/Buttons/ExportPage/Caption\",\"text\":\"exportovat vše\"},\"$:/language/Buttons/ExportPage/Hint\":{\"title\":\"$:/language/Buttons/ExportPage/Hint\",\"text\":\"Expertovat všechny tiddlery\"},\"$:/language/Buttons/ExportTiddler/Caption\":{\"title\":\"$:/language/Buttons/ExportTiddler/Caption\",\"text\":\"exportovat tiddler\"},\"$:/language/Buttons/ExportTiddler/Hint\":{\"title\":\"$:/language/Buttons/ExportTiddler/Hint\",\"text\":\"Exportovat tiddler\"},\"$:/language/Buttons/ExportTiddlers/Caption\":{\"title\":\"$:/language/Buttons/ExportTiddlers/Caption\",\"text\":\"exportovat tiddlery\"},\"$:/language/Buttons/ExportTiddlers/Hint\":{\"title\":\"$:/language/Buttons/ExportTiddlers/Hint\",\"text\":\"Exportovat tiddlery\"},\"$:/language/Buttons/FullScreen/Caption\":{\"title\":\"$:/language/Buttons/FullScreen/Caption\",\"text\":\"full-screen\"},\"$:/language/Buttons/FullScreen/Hint\":{\"title\":\"$:/language/Buttons/FullScreen/Hint\",\"text\":\"Přepnout full-screen mód\"},\"$:/language/Buttons/HideSideBar/Caption\":{\"title\":\"$:/language/Buttons/HideSideBar/Caption\",\"text\":\"skrýt boční panel\"},\"$:/language/Buttons/HideSideBar/Hint\":{\"title\":\"$:/language/Buttons/HideSideBar/Hint\",\"text\":\"Skrýt boční panel\"},\"$:/language/Buttons/Home/Caption\":{\"title\":\"$:/language/Buttons/Home/Caption\",\"text\":\"domů\"},\"$:/language/Buttons/Home/Hint\":{\"title\":\"$:/language/Buttons/Home/Hint\",\"text\":\"Otevřít výchozí tiddlery\"},\"$:/language/Buttons/Import/Caption\":{\"title\":\"$:/language/Buttons/Import/Caption\",\"text\":\"import\"},\"$:/language/Buttons/Import/Hint\":{\"title\":\"$:/language/Buttons/Import/Hint\",\"text\":\"Importovat soubory\"},\"$:/language/Buttons/Info/Caption\":{\"title\":\"$:/language/Buttons/Info/Caption\",\"text\":\"info\"},\"$:/language/Buttons/Info/Hint\":{\"title\":\"$:/language/Buttons/Info/Hint\",\"text\":\"Zobrazit info o tomto tiddleru\"},\"$:/language/Buttons/Language/Caption\":{\"title\":\"$:/language/Buttons/Language/Caption\",\"text\":\"jazyk\"},\"$:/language/Buttons/Language/Hint\":{\"title\":\"$:/language/Buttons/Language/Hint\",\"text\":\"Vyberte jazyk\"},\"$:/language/Buttons/More/Caption\":{\"title\":\"$:/language/Buttons/More/Caption\",\"text\":\"více\"},\"$:/language/Buttons/More/Hint\":{\"title\":\"$:/language/Buttons/More/Hint\",\"text\":\"Více akcí\"},\"$:/language/Buttons/NewHere/Caption\":{\"title\":\"$:/language/Buttons/NewHere/Caption\",\"text\":\"nový k tomuto\"},\"$:/language/Buttons/NewHere/Hint\":{\"title\":\"$:/language/Buttons/NewHere/Hint\",\"text\":\"Vytvořit nový tiddler se štítkem na tento\"},\"$:/language/Buttons/NewJournal/Caption\":{\"title\":\"$:/language/Buttons/NewJournal/Caption\",\"text\":\"nový deník\"},\"$:/language/Buttons/NewJournal/Hint\":{\"title\":\"$:/language/Buttons/NewJournal/Hint\",\"text\":\"Vytvořit nový deníkový tiddler\"},\"$:/language/Buttons/NewJournalHere/Caption\":{\"title\":\"$:/language/Buttons/NewJournalHere/Caption\",\"text\":\"nový deník k tomuto\"},\"$:/language/Buttons/NewJournalHere/Hint\":{\"title\":\"$:/language/Buttons/NewJournalHere/Hint\",\"text\":\"Vytvořit nový deníkový tiddler se štítkem na tento\"},\"$:/language/Buttons/NewTiddler/Caption\":{\"title\":\"$:/language/Buttons/NewTiddler/Caption\",\"text\":\"nový tiddler\"},\"$:/language/Buttons/NewTiddler/Hint\":{\"title\":\"$:/language/Buttons/NewTiddler/Hint\",\"text\":\"Vytvořit nový tiddler\"},\"$:/language/Buttons/Permalink/Caption\":{\"title\":\"$:/language/Buttons/Permalink/Caption\",\"text\":\"permalink\"},\"$:/language/Buttons/Permalink/Hint\":{\"title\":\"$:/language/Buttons/Permalink/Hint\",\"text\":\"Nastavit adresu v prohlížeči na přímý odkaz na tento tiddler\"},\"$:/language/Buttons/Permaview/Caption\":{\"title\":\"$:/language/Buttons/Permaview/Caption\",\"text\":\"permaview\"},\"$:/language/Buttons/Permaview/Hint\":{\"title\":\"$:/language/Buttons/Permaview/Hint\",\"text\":\"Nastavit adresu v prohlížeči na přímý odkaz na tok zobrazených tiddlery\"},\"$:/language/Buttons/Refresh/Caption\":{\"title\":\"$:/language/Buttons/Refresh/Caption\",\"text\":\"obnovit\"},\"$:/language/Buttons/Refresh/Hint\":{\"title\":\"$:/language/Buttons/Refresh/Hint\",\"text\":\"Spustit znovunačtení wiki\"},\"$:/language/Buttons/Save/Caption\":{\"title\":\"$:/language/Buttons/Save/Caption\",\"text\":\"uložit\"},\"$:/language/Buttons/Save/Hint\":{\"title\":\"$:/language/Buttons/Save/Hint\",\"text\":\"Uložit tento tiddler\"},\"$:/language/Buttons/SaveWiki/Caption\":{\"title\":\"$:/language/Buttons/SaveWiki/Caption\",\"text\":\"uložit změny\"},\"$:/language/Buttons/SaveWiki/Hint\":{\"title\":\"$:/language/Buttons/SaveWiki/Hint\",\"text\":\"Uložit změny\"},\"$:/language/Buttons/ShowSideBar/Caption\":{\"title\":\"$:/language/Buttons/ShowSideBar/Caption\",\"text\":\"zobrazit boční panel\"},\"$:/language/Buttons/ShowSideBar/Hint\":{\"title\":\"$:/language/Buttons/ShowSideBar/Hint\",\"text\":\"Zobrazit boční panel\"},\"$:/language/Buttons/StoryView/Caption\":{\"title\":\"$:/language/Buttons/StoryView/Caption\",\"text\":\"styl zobrazování\"},\"$:/language/Buttons/StoryView/Hint\":{\"title\":\"$:/language/Buttons/StoryView/Hint\",\"text\":\"Vybrat styl zobrazování\"},\"$:/language/Buttons/TagManager/Caption\":{\"title\":\"$:/language/Buttons/TagManager/Caption\",\"text\":\"správce štítků\"},\"$:/language/Buttons/TagManager/Hint\":{\"title\":\"$:/language/Buttons/TagManager/Hint\",\"text\":\"Otevřít správce štítků\"},\"$:/language/Buttons/Theme/Caption\":{\"title\":\"$:/language/Buttons/Theme/Caption\",\"text\":\"vzhled\"},\"$:/language/Buttons/Theme/Hint\":{\"title\":\"$:/language/Buttons/Theme/Hint\",\"text\":\"výběr vzhledu\"},\"$:/language/ControlPanel/Advanced/Caption\":{\"title\":\"$:/language/ControlPanel/Advanced/Caption\",\"text\":\"Pokročilé\"},\"$:/language/ControlPanel/Advanced/Hint\":{\"title\":\"$:/language/ControlPanel/Advanced/Hint\",\"text\":\"Podrobnější informace o této TiddlyWiki\"},\"$:/language/ControlPanel/Appearance/Caption\":{\"title\":\"$:/language/ControlPanel/Appearance/Caption\",\"text\":\"Vzhled\"},\"$:/language/ControlPanel/Appearance/Hint\":{\"title\":\"$:/language/ControlPanel/Appearance/Hint\",\"text\":\"Možnosti přizpůsobení vzhledu vaší TiddlyWiki.\"},\"$:/language/ControlPanel/Basics/AnimDuration/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/AnimDuration/Prompt\",\"text\":\"Délka animace:\"},\"$:/language/ControlPanel/Basics/Caption\":{\"title\":\"$:/language/ControlPanel/Basics/Caption\",\"text\":\"Základní\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint\",\"text\":\"Použijte [[dvojité hranaté závorky]] pro názvy s mezerami. Nebo můžete zvolit {{zachování toku||$:/snippets/retain-story-ordering-button}}\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt\",\"text\":\"Výchozí tiddlery:\"},\"$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint\":{\"title\":\"$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint\",\"text\":\"Vyberte které tiddlery budou zobrazeny po spuštění:\"},\"$:/language/ControlPanel/Basics/Language/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Language/Prompt\",\"text\":\"Ahoj! Aktuální jazyk:\"},\"$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt\",\"text\":\"Štítky pro nové deníkové tiddlery\"},\"$:/language/ControlPanel/Basics/NewJournal/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/NewJournal/Title/Prompt\",\"text\":\"Název nových deníkových tiddlerů\"},\"$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt\",\"text\":\"Počet přepsaných stínových tiddlerů:\"},\"$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt\",\"text\":\"Počet stínových tiddlerů:\"},\"$:/language/ControlPanel/Basics/Subtitle/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Subtitle/Prompt\",\"text\":\"Podtitul:\"},\"$:/language/ControlPanel/Basics/SystemTiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/SystemTiddlers/Prompt\",\"text\":\"Počet systémových tiddlerů:\"},\"$:/language/ControlPanel/Basics/Tags/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Tags/Prompt\",\"text\":\"Počet štítků:\"},\"$:/language/ControlPanel/Basics/Tiddlers/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Tiddlers/Prompt\",\"text\":\"Počet tiddlerů:\"},\"$:/language/ControlPanel/Basics/Title/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Title/Prompt\",\"text\":\"Název této ~TiddlyWiki:\"},\"$:/language/ControlPanel/Basics/Username/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Username/Prompt\",\"text\":\"Jméno do podpisu:\"},\"$:/language/ControlPanel/Basics/Version/Prompt\":{\"title\":\"$:/language/ControlPanel/Basics/Version/Prompt\",\"text\":\"Verze ~TiddlyWiki:\"},\"$:/language/ControlPanel/EditorTypes/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Caption\",\"text\":\"Typy editorů\"},\"$:/language/ControlPanel/EditorTypes/Editor/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Editor/Caption\",\"text\":\"Editor\"},\"$:/language/ControlPanel/EditorTypes/Hint\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Hint\",\"text\":\"Tyto tiddlery určují, který editor bude použit pro úpravu daného typu tiddleru.\"},\"$:/language/ControlPanel/EditorTypes/Type/Caption\":{\"title\":\"$:/language/ControlPanel/EditorTypes/Type/Caption\",\"text\":\"Typ\"},\"$:/language/ControlPanel/Info/Caption\":{\"title\":\"$:/language/ControlPanel/Info/Caption\",\"text\":\"Info\"},\"$:/language/ControlPanel/Info/Hint\":{\"title\":\"$:/language/ControlPanel/Info/Hint\",\"text\":\"Informace o této TiddlyWiki\"},\"$:/language/ControlPanel/LoadedModules/Caption\":{\"title\":\"$:/language/ControlPanel/LoadedModules/Caption\",\"text\":\"Nahrané moduly\"},\"$:/language/ControlPanel/LoadedModules/Hint\":{\"title\":\"$:/language/ControlPanel/LoadedModules/Hint\",\"text\":\"Toto jsou aktálně nahrané moduly spojené s jejich zdrojovými tiddlery. Kurzívou psaným modulům chybí zdrojový tiddler, obvykle proto, že byli nastaveny během startu.\"},\"$:/language/ControlPanel/Palette/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Caption\",\"text\":\"Paleta barev\"},\"$:/language/ControlPanel/Palette/Editor/Clone/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Clone/Caption\",\"text\":\"zkopírovat\"},\"$:/language/ControlPanel/Palette/Editor/Clone/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Clone/Prompt\",\"text\":\"Doporučujeme si tuto paletu před úpravami zkopírovat\"},\"$:/language/ControlPanel/Palette/Editor/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Prompt\",\"text\":\"Editace\"},\"$:/language/ControlPanel/Palette/Editor/Prompt/Modified\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Prompt/Modified\",\"text\":\"Tato paleta byla upravena\"},\"$:/language/ControlPanel/Palette/Editor/Reset/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/Editor/Reset/Caption\",\"text\":\"reset\"},\"$:/language/ControlPanel/Palette/HideEditor/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/HideEditor/Caption\",\"text\":\"skrýt editor\"},\"$:/language/ControlPanel/Palette/Prompt\":{\"title\":\"$:/language/ControlPanel/Palette/Prompt\",\"text\":\"Aktivní paleta:\"},\"$:/language/ControlPanel/Palette/ShowEditor/Caption\":{\"title\":\"$:/language/ControlPanel/Palette/ShowEditor/Caption\",\"text\":\"zobrazit editor\"},\"$:/language/ControlPanel/Plugins/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Caption\",\"text\":\"Pluginy\"},\"$:/language/ControlPanel/Plugins/Disable/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Disable/Caption\",\"text\":\"vypnout\"},\"$:/language/ControlPanel/Plugins/Disable/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Disable/Hint\",\"text\":\"Vypne tento plugin po obnovení stránky\"},\"$:/language/ControlPanel/Plugins/Disabled/Status\":{\"title\":\"$:/language/ControlPanel/Plugins/Disabled/Status\",\"text\":\"(vypnuto)\"},\"$:/language/ControlPanel/Plugins/Empty/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Empty/Hint\",\"text\":\"Žadný\"},\"$:/language/ControlPanel/Plugins/Enable/Caption\":{\"title\":\"$:/language/ControlPanel/Plugins/Enable/Caption\",\"text\":\"zapnout\"},\"$:/language/ControlPanel/Plugins/Enable/Hint\":{\"title\":\"$:/language/ControlPanel/Plugins/Enable/Hint\",\"text\":\"Zapne tento plugin po obnovení stránky\"},\"$:/language/ControlPanel/Plugins/Language/Prompt\":{\"title\":\"$:/language/ControlPanel/Plugins/Language/Prompt\",\"text\":\"Jazyky\"},\"$:/language/ControlPanel/Plugins/Plugin/Prompt\":{\"title\":\"$:/language/ControlPanel/Plugins/Plugin/Prompt\",\"text\":\"Pluginy\"},\"$:/language/ControlPanel/Plugins/Theme/Prompt\":{\"title\":\"$:/language/ControlPanel/Plugins/Theme/Prompt\",\"text\":\"Témata\"},\"$:/language/ControlPanel/Saving/Caption\":{\"title\":\"$:/language/ControlPanel/Saving/Caption\",\"text\":\"Ukládání\"},\"$:/language/ControlPanel/Saving/Heading\":{\"title\":\"$:/language/ControlPanel/Saving/Heading\",\"text\":\"Ukládání\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading\",\"text\":\"Pokročilé nastavení\"},\"$:/language/ControlPanel/Saving/TiddlySpot/BackupDir\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/BackupDir\",\"text\":\"Složka záloh\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Backups\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Backups\",\"text\":\"Zálohy\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Description\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Description\",\"text\":\"Toto nastavení je použito pouze pro ukládání na http://tiddlyspot.com nebo kompatibilní server\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Filename\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Filename\",\"text\":\"Jméno souboru pro upload\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Heading\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Heading\",\"text\":\"~TiddlySpot\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Hint\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Hint\",\"text\":\"//Výchozí URL serveru je `http://\u003Cwikiname>.tiddlyspot.com/store.cgi` a může být změněno na adresu vlastního serveru//\"},\"$:/language/ControlPanel/Saving/TiddlySpot/Password\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/Password\",\"text\":\"Heslo\"},\"$:/language/ControlPanel/Saving/TiddlySpot/ServerURL\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/ServerURL\",\"text\":\"URL serveru\"},\"$:/language/ControlPanel/Saving/TiddlySpot/UploadDir\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/UploadDir\",\"text\":\"Složka pro upload\"},\"$:/language/ControlPanel/Saving/TiddlySpot/UserName\":{\"title\":\"$:/language/ControlPanel/Saving/TiddlySpot/UserName\",\"text\":\"Wiki Jméno\"},\"$:/language/ControlPanel/Settings/AutoSave/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Caption\",\"text\":\"Autosave\"},\"$:/language/ControlPanel/Settings/AutoSave/Disabled/Description\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Disabled/Description\",\"text\":\"Neukládat změny automaticky\"},\"$:/language/ControlPanel/Settings/AutoSave/Enabled/Description\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Enabled/Description\",\"text\":\"Ukládat změny automaticky\"},\"$:/language/ControlPanel/Settings/AutoSave/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/AutoSave/Hint\",\"text\":\"Automatické ukládání změn během editace\"},\"$:/language/ControlPanel/Settings/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/Caption\",\"text\":\"Nastavení\"},\"$:/language/ControlPanel/Settings/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/Hint\",\"text\":\"Tato nastavení ovlivňují chování TiddlyWiki.\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Caption\",\"text\":\"Adresní řádek prohlížeče\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Hint\",\"text\":\"Chování adresního řádku během pohybu mezi tiddlery:\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description\",\"text\":\"Neměnit adresní řádek\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description\",\"text\":\"Vložit cílový tiddler\"},\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description\",\"text\":\"Vložit cílový tiddler a tok tiddlerů\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Caption\",\"text\":\"Historie navigace\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Hint\",\"text\":\"Chování historie prohížeče během pohybu mezi tiddlery:\"},\"$:/language/ControlPanel/Settings/NavigationHistory/No/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/No/Description\",\"text\":\"Neukládat historii\"},\"$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description\":{\"title\":\"$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description\",\"text\":\"Ukládat historii\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Caption\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Caption\",\"text\":\"Lišta tlačítek\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Hint\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Hint\",\"text\":\"Výchozí zobrazení lišty tlačítek:\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description\",\"text\":\"Včetně ikon\"},\"$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description\":{\"title\":\"$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description\",\"text\":\"Včetně textu\"},\"$:/language/ControlPanel/StoryView/Caption\":{\"title\":\"$:/language/ControlPanel/StoryView/Caption\",\"text\":\"Zobrazení toku tiddlerů\"},\"$:/language/ControlPanel/StoryView/Prompt\":{\"title\":\"$:/language/ControlPanel/StoryView/Prompt\",\"text\":\"Aktivní zobrazení:\"},\"$:/language/ControlPanel/Theme/Caption\":{\"title\":\"$:/language/ControlPanel/Theme/Caption\",\"text\":\"Téma\"},\"$:/language/ControlPanel/Theme/Prompt\":{\"title\":\"$:/language/ControlPanel/Theme/Prompt\",\"text\":\"Aktivní téma:\"},\"$:/language/ControlPanel/TiddlerFields/Caption\":{\"title\":\"$:/language/ControlPanel/TiddlerFields/Caption\",\"text\":\"Pole tiddleru\"},\"$:/language/ControlPanel/TiddlerFields/Hint\":{\"title\":\"$:/language/ControlPanel/TiddlerFields/Hint\",\"text\":\"Toto je kompletí set polí tiddleru použitých v tété wiki (včetně systémových ale bez stínových)\"},\"$:/language/ControlPanel/Toolbars/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/Caption\",\"text\":\"Lišty tlačítek\"},\"$:/language/ControlPanel/Toolbars/EditToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditToolbar/Caption\",\"text\":\"Editační lištu\"},\"$:/language/ControlPanel/Toolbars/EditToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/EditToolbar/Hint\",\"text\":\"Vyberte, které tlačítka budou zobrazena při editaci tiddleru\"},\"$:/language/ControlPanel/Toolbars/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/Hint\",\"text\":\"Vyberte, které tlačítka budou zobrazena\"},\"$:/language/ControlPanel/Toolbars/PageControls/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/PageControls/Caption\",\"text\":\"Hlavní lišta\"},\"$:/language/ControlPanel/Toolbars/PageControls/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/PageControls/Hint\",\"text\":\"Vyberte, které tlačítka budou zobrazena na hlavní liště\"},\"$:/language/ControlPanel/Toolbars/ViewToolbar/Caption\":{\"title\":\"$:/language/ControlPanel/Toolbars/ViewToolbar/Caption\",\"text\":\"Lišta tiddleru\"},\"$:/language/ControlPanel/Toolbars/ViewToolbar/Hint\":{\"title\":\"$:/language/ControlPanel/Toolbars/ViewToolbar/Hint\",\"text\":\"Vyberte, které tlačítka budou zobrazena při prohlížení tiddleru\"},\"$:/language/ControlPanel/Tools/Download/Full/Caption\":{\"title\":\"$:/language/ControlPanel/Tools/Download/Full/Caption\",\"text\":\"Stáhnout kompletní wiki\"},\"$:/core/cs-CZ/readme\":{\"title\":\"$:/core/cs-CZ/readme\",\"text\":\"Tento plugin obsahuje hlavní komponenty TiddlyWiki, jako jsou:\\n\\n* JavaScript kód\\n* Ikony\\n* Šablony potřebné k vytvoření uživatelského rozhraní TiddlyWiki\\n* Anglickou (en-GB) verzi základních textů\\n\"},\"$:/language/Date/DaySuffix/1\":{\"title\":\"$:/language/Date/DaySuffix/1\",\"text\":\".\"},\"$:/language/Date/DaySuffix/10\":{\"title\":\"$:/language/Date/DaySuffix/10\",\"text\":\".\"},\"$:/language/Date/DaySuffix/11\":{\"title\":\"$:/language/Date/DaySuffix/11\",\"text\":\".\"},\"$:/language/Date/DaySuffix/12\":{\"title\":\"$:/language/Date/DaySuffix/12\",\"text\":\".\"},\"$:/language/Date/DaySuffix/13\":{\"title\":\"$:/language/Date/DaySuffix/13\",\"text\":\".\"},\"$:/language/Date/DaySuffix/14\":{\"title\":\"$:/language/Date/DaySuffix/14\",\"text\":\".\"},\"$:/language/Date/DaySuffix/15\":{\"title\":\"$:/language/Date/DaySuffix/15\",\"text\":\".\"},\"$:/language/Date/DaySuffix/16\":{\"title\":\"$:/language/Date/DaySuffix/16\",\"text\":\".\"},\"$:/language/Date/DaySuffix/17\":{\"title\":\"$:/language/Date/DaySuffix/17\",\"text\":\".\"},\"$:/language/Date/DaySuffix/18\":{\"title\":\"$:/language/Date/DaySuffix/18\",\"text\":\".\"},\"$:/language/Date/DaySuffix/19\":{\"title\":\"$:/language/Date/DaySuffix/19\",\"text\":\".\"},\"$:/language/Date/DaySuffix/2\":{\"title\":\"$:/language/Date/DaySuffix/2\",\"text\":\".\"},\"$:/language/Date/DaySuffix/20\":{\"title\":\"$:/language/Date/DaySuffix/20\",\"text\":\".\"},\"$:/language/Date/DaySuffix/21\":{\"title\":\"$:/language/Date/DaySuffix/21\",\"text\":\".\"},\"$:/language/Date/DaySuffix/22\":{\"title\":\"$:/language/Date/DaySuffix/22\",\"text\":\".\"},\"$:/language/Date/DaySuffix/23\":{\"title\":\"$:/language/Date/DaySuffix/23\",\"text\":\".\"},\"$:/language/Date/DaySuffix/24\":{\"title\":\"$:/language/Date/DaySuffix/24\",\"text\":\".\"},\"$:/language/Date/DaySuffix/25\":{\"title\":\"$:/language/Date/DaySuffix/25\",\"text\":\".\"},\"$:/language/Date/DaySuffix/26\":{\"title\":\"$:/language/Date/DaySuffix/26\",\"text\":\".\"},\"$:/language/Date/DaySuffix/27\":{\"title\":\"$:/language/Date/DaySuffix/27\",\"text\":\".\"},\"$:/language/Date/DaySuffix/28\":{\"title\":\"$:/language/Date/DaySuffix/28\",\"text\":\".\"},\"$:/language/Date/DaySuffix/29\":{\"title\":\"$:/language/Date/DaySuffix/29\",\"text\":\".\"},\"$:/language/Date/DaySuffix/3\":{\"title\":\"$:/language/Date/DaySuffix/3\",\"text\":\".\"},\"$:/language/Date/DaySuffix/30\":{\"title\":\"$:/language/Date/DaySuffix/30\",\"text\":\".\"},\"$:/language/Date/DaySuffix/31\":{\"title\":\"$:/language/Date/DaySuffix/31\",\"text\":\".\"},\"$:/language/Date/DaySuffix/4\":{\"title\":\"$:/language/Date/DaySuffix/4\",\"text\":\".\"},\"$:/language/Date/DaySuffix/5\":{\"title\":\"$:/language/Date/DaySuffix/5\",\"text\":\".\"},\"$:/language/Date/DaySuffix/6\":{\"title\":\"$:/language/Date/DaySuffix/6\",\"text\":\".\"},\"$:/language/Date/DaySuffix/7\":{\"title\":\"$:/language/Date/DaySuffix/7\",\"text\":\".\"},\"$:/language/Date/DaySuffix/8\":{\"title\":\"$:/language/Date/DaySuffix/8\",\"text\":\".\"},\"$:/language/Date/DaySuffix/9\":{\"title\":\"$:/language/Date/DaySuffix/9\",\"text\":\".\"},\"$:/language/Date/Long/Day/0\":{\"title\":\"$:/language/Date/Long/Day/0\",\"text\":\"Neděle\"},\"$:/language/Date/Long/Day/1\":{\"title\":\"$:/language/Date/Long/Day/1\",\"text\":\"Pondělí\"},\"$:/language/Date/Long/Day/2\":{\"title\":\"$:/language/Date/Long/Day/2\",\"text\":\"Úterý\"},\"$:/language/Date/Long/Day/3\":{\"title\":\"$:/language/Date/Long/Day/3\",\"text\":\"Středa\"},\"$:/language/Date/Long/Day/4\":{\"title\":\"$:/language/Date/Long/Day/4\",\"text\":\"Čtvrtek\"},\"$:/language/Date/Long/Day/5\":{\"title\":\"$:/language/Date/Long/Day/5\",\"text\":\"Pátek\"},\"$:/language/Date/Long/Day/6\":{\"title\":\"$:/language/Date/Long/Day/6\",\"text\":\"Sobota\"},\"$:/language/Date/Long/Month/1\":{\"title\":\"$:/language/Date/Long/Month/1\",\"text\":\"Leden\"},\"$:/language/Date/Long/Month/10\":{\"title\":\"$:/language/Date/Long/Month/10\",\"text\":\"Říjen\"},\"$:/language/Date/Long/Month/11\":{\"title\":\"$:/language/Date/Long/Month/11\",\"text\":\"Listopad\"},\"$:/language/Date/Long/Month/12\":{\"title\":\"$:/language/Date/Long/Month/12\",\"text\":\"Prosinec\"},\"$:/language/Date/Long/Month/2\":{\"title\":\"$:/language/Date/Long/Month/2\",\"text\":\"Únor\"},\"$:/language/Date/Long/Month/3\":{\"title\":\"$:/language/Date/Long/Month/3\",\"text\":\"Březen\"},\"$:/language/Date/Long/Month/4\":{\"title\":\"$:/language/Date/Long/Month/4\",\"text\":\"Duben\"},\"$:/language/Date/Long/Month/5\":{\"title\":\"$:/language/Date/Long/Month/5\",\"text\":\"Květen\"},\"$:/language/Date/Long/Month/6\":{\"title\":\"$:/language/Date/Long/Month/6\",\"text\":\"Červen\"},\"$:/language/Date/Long/Month/7\":{\"title\":\"$:/language/Date/Long/Month/7\",\"text\":\"Červenec\"},\"$:/language/Date/Long/Month/8\":{\"title\":\"$:/language/Date/Long/Month/8\",\"text\":\"Srpen\"},\"$:/language/Date/Long/Month/9\":{\"title\":\"$:/language/Date/Long/Month/9\",\"text\":\"Září\"},\"$:/language/Date/Period/am\":{\"title\":\"$:/language/Date/Period/am\",\"text\":\"dop\"},\"$:/language/Date/Period/pm\":{\"title\":\"$:/language/Date/Period/pm\",\"text\":\"odp\"},\"$:/language/Date/Short/Day/0\":{\"title\":\"$:/language/Date/Short/Day/0\",\"text\":\"Ne\"},\"$:/language/Date/Short/Day/1\":{\"title\":\"$:/language/Date/Short/Day/1\",\"text\":\"Po\"},\"$:/language/Date/Short/Day/2\":{\"title\":\"$:/language/Date/Short/Day/2\",\"text\":\"Út\"},\"$:/language/Date/Short/Day/3\":{\"title\":\"$:/language/Date/Short/Day/3\",\"text\":\"St\"},\"$:/language/Date/Short/Day/4\":{\"title\":\"$:/language/Date/Short/Day/4\",\"text\":\"Čt\"},\"$:/language/Date/Short/Day/5\":{\"title\":\"$:/language/Date/Short/Day/5\",\"text\":\"Pá\"},\"$:/language/Date/Short/Day/6\":{\"title\":\"$:/language/Date/Short/Day/6\",\"text\":\"So\"},\"$:/language/Date/Short/Month/1\":{\"title\":\"$:/language/Date/Short/Month/1\",\"text\":\"Led\"},\"$:/language/Date/Short/Month/10\":{\"title\":\"$:/language/Date/Short/Month/10\",\"text\":\"Říj\"},\"$:/language/Date/Short/Month/11\":{\"title\":\"$:/language/Date/Short/Month/11\",\"text\":\"Lis\"},\"$:/language/Date/Short/Month/12\":{\"title\":\"$:/language/Date/Short/Month/12\",\"text\":\"Pro\"},\"$:/language/Date/Short/Month/2\":{\"title\":\"$:/language/Date/Short/Month/2\",\"text\":\"Úno\"},\"$:/language/Date/Short/Month/3\":{\"title\":\"$:/language/Date/Short/Month/3\",\"text\":\"Bře\"},\"$:/language/Date/Short/Month/4\":{\"title\":\"$:/language/Date/Short/Month/4\",\"text\":\"Dub\"},\"$:/language/Date/Short/Month/5\":{\"title\":\"$:/language/Date/Short/Month/5\",\"text\":\"Kvě\"},\"$:/language/Date/Short/Month/6\":{\"title\":\"$:/language/Date/Short/Month/6\",\"text\":\"Čer\"},\"$:/language/Date/Short/Month/7\":{\"title\":\"$:/language/Date/Short/Month/7\",\"text\":\"Čec\"},\"$:/language/Date/Short/Month/8\":{\"title\":\"$:/language/Date/Short/Month/8\",\"text\":\"Srp\"},\"$:/language/Date/Short/Month/9\":{\"title\":\"$:/language/Date/Short/Month/9\",\"text\":\"Zář\"},\"$:/language/RelativeDate/Future/Days\":{\"title\":\"$:/language/RelativeDate/Future/Days\",\"text\":\"za \u003C\u003Cperiod>> dní(y)\"},\"$:/language/RelativeDate/Future/Hours\":{\"title\":\"$:/language/RelativeDate/Future/Hours\",\"text\":\"za \u003C\u003Cperiod>> hodin(y)\"},\"$:/language/RelativeDate/Future/Minutes\":{\"title\":\"$:/language/RelativeDate/Future/Minutes\",\"text\":\"za \u003C\u003Cperiod>> minut(y)\"},\"$:/language/RelativeDate/Future/Months\":{\"title\":\"$:/language/RelativeDate/Future/Months\",\"text\":\"za \u003C\u003Cperiod>> měsíce(ů)\"},\"$:/language/RelativeDate/Future/Second\":{\"title\":\"$:/language/RelativeDate/Future/Second\",\"text\":\"za 1 sekundu\"},\"$:/language/RelativeDate/Future/Seconds\":{\"title\":\"$:/language/RelativeDate/Future/Seconds\",\"text\":\"za \u003C\u003Cperiod>> sekund(y)\"},\"$:/language/RelativeDate/Future/Years\":{\"title\":\"$:/language/RelativeDate/Future/Years\",\"text\":\"za \u003C\u003Cperiod>> rok(y/ů)\"},\"$:/language/RelativeDate/Past/Days\":{\"title\":\"$:/language/RelativeDate/Past/Days\",\"text\":\"před \u003C\u003Cperiod>> dny\"},\"$:/language/RelativeDate/Past/Hours\":{\"title\":\"$:/language/RelativeDate/Past/Hours\",\"text\":\"před \u003C\u003Cperiod>> hodinami\"},\"$:/language/RelativeDate/Past/Minutes\":{\"title\":\"$:/language/RelativeDate/Past/Minutes\",\"text\":\"před \u003C\u003Cperiod>> minutami\"},\"$:/language/RelativeDate/Past/Months\":{\"title\":\"$:/language/RelativeDate/Past/Months\",\"text\":\"před \u003C\u003Cperiod>> měsíci(em)\"},\"$:/language/RelativeDate/Past/Second\":{\"title\":\"$:/language/RelativeDate/Past/Second\",\"text\":\"před 1 sekundou\"},\"$:/language/RelativeDate/Past/Seconds\":{\"title\":\"$:/language/RelativeDate/Past/Seconds\",\"text\":\"před \u003C\u003Cperiod>> sekundami\"},\"$:/language/RelativeDate/Past/Years\":{\"title\":\"$:/language/RelativeDate/Past/Years\",\"text\":\"před \u003C\u003Cperiod>> roky(em)\"},\"$:/language/Docs/ModuleTypes/animation\":{\"title\":\"$:/language/Docs/ModuleTypes/animation\",\"text\":\"Animace může být použita s RevealWidget.\"},\"$:/language/Docs/ModuleTypes/command\":{\"title\":\"$:/language/Docs/ModuleTypes/command\",\"text\":\"Příkaz spustitelný pomocí Node.js.\"},\"$:/language/Docs/ModuleTypes/config\":{\"title\":\"$:/language/Docs/ModuleTypes/config\",\"text\":\"Data použitelná v `$tw.config`.\"},\"$:/language/Docs/ModuleTypes/filteroperator\":{\"title\":\"$:/language/Docs/ModuleTypes/filteroperator\",\"text\":\"Operator individuálního filtru\"},\"$:/language/Docs/ModuleTypes/global\":{\"title\":\"$:/language/Docs/ModuleTypes/global\",\"text\":\"Globální data použitelná v `$tw`.\"},\"$:/language/Docs/ModuleTypes/isfilteroperator\":{\"title\":\"$:/language/Docs/ModuleTypes/isfilteroperator\",\"text\":\"Operand pro filtr ''is''.\"},\"$:/language/Docs/ModuleTypes/macro\":{\"title\":\"$:/language/Docs/ModuleTypes/macro\",\"text\":\"Definice JavaScript maker\"},\"$:/language/Docs/ModuleTypes/parser\":{\"title\":\"$:/language/Docs/ModuleTypes/parser\",\"text\":\"Parsery pro různé typy obsahu.\"},\"$:/language/Docs/ModuleTypes/saver\":{\"title\":\"$:/language/Docs/ModuleTypes/saver\",\"text\":\"Obsluhuje různé způsoby ukládná souborů z prohlížeče.\"},\"$:/language/Docs/ModuleTypes/startup\":{\"title\":\"$:/language/Docs/ModuleTypes/startup\",\"text\":\"Funkce spouštěné při startu\"},\"$:/language/Docs/ModuleTypes/storyview\":{\"title\":\"$:/language/Docs/ModuleTypes/storyview\",\"text\":\"Upravuje animace a chování widgetů\"},\"$:/language/Docs/ModuleTypes/tiddlerdeserializer\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlerdeserializer\",\"text\":\"Převádí různé druhy obsahu do tiddlerů\"},\"$:/language/Docs/ModuleTypes/tiddlerfield\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlerfield\",\"text\":\"Určuje chování jednotlivých polí tiddleru\"},\"$:/language/Docs/ModuleTypes/tiddlermethod\":{\"title\":\"$:/language/Docs/ModuleTypes/tiddlermethod\",\"text\":\"Přidává metody do `$tw.Tiddler` prototypu.\"},\"$:/language/Docs/ModuleTypes/upgrader\":{\"title\":\"$:/language/Docs/ModuleTypes/upgrader\",\"text\":\"Provádí upgrade tiddleru během upgrade/importu.\"},\"$:/language/Docs/ModuleTypes/utils\":{\"title\":\"$:/language/Docs/ModuleTypes/utils\",\"text\":\"Přidává metody do `$tw.utils`.\"},\"$:/language/Docs/ModuleTypes/utils-node\":{\"title\":\"$:/language/Docs/ModuleTypes/utils-node\",\"text\":\"Přidává metody z Node.js-specific do `$tw.utils`.\"},\"$:/language/Docs/ModuleTypes/widget\":{\"title\":\"$:/language/Docs/ModuleTypes/widget\",\"text\":\"Zapouzdřuje zobrazování a obnovování\"},\"$:/language/Docs/ModuleTypes/wikimethod\":{\"title\":\"$:/language/Docs/ModuleTypes/wikimethod\",\"text\":\"Přidává metody do `$tw.Wiki`.\"},\"$:/language/Docs/ModuleTypes/wikirule\":{\"title\":\"$:/language/Docs/ModuleTypes/wikirule\",\"text\":\"Individuální pravidla pro hlavní WikiText parser.\"},\"$:/language/Docs/PaletteColours/alert-background\":{\"title\":\"$:/language/Docs/PaletteColours/alert-background\",\"text\":\"Alert background\"},\"$:/language/Docs/PaletteColours/alert-border\":{\"title\":\"$:/language/Docs/PaletteColours/alert-border\",\"text\":\"Alert border\"},\"$:/language/Docs/PaletteColours/alert-highlight\":{\"title\":\"$:/language/Docs/PaletteColours/alert-highlight\",\"text\":\"Alert highlight\"},\"$:/language/Docs/PaletteColours/alert-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/alert-muted-foreground\",\"text\":\"Alert muted foreground\"},\"$:/language/Docs/PaletteColours/background\":{\"title\":\"$:/language/Docs/PaletteColours/background\",\"text\":\"General background\"},\"$:/language/Docs/PaletteColours/blockquote-bar\":{\"title\":\"$:/language/Docs/PaletteColours/blockquote-bar\",\"text\":\"Blockquote bar\"},\"$:/language/Docs/PaletteColours/code-background\":{\"title\":\"$:/language/Docs/PaletteColours/code-background\",\"text\":\"Code background\"},\"$:/language/Docs/PaletteColours/code-border\":{\"title\":\"$:/language/Docs/PaletteColours/code-border\",\"text\":\"Code border\"},\"$:/language/Docs/PaletteColours/code-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/code-foreground\",\"text\":\"Code foreground\"},\"$:/language/Docs/PaletteColours/dirty-indicator\":{\"title\":\"$:/language/Docs/PaletteColours/dirty-indicator\",\"text\":\"Unsaved changes indicator\"},\"$:/language/Docs/PaletteColours/download-background\":{\"title\":\"$:/language/Docs/PaletteColours/download-background\",\"text\":\"Download button background\"},\"$:/language/Docs/PaletteColours/download-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/download-foreground\",\"text\":\"Download button foreground\"},\"$:/language/Docs/PaletteColours/dragger-background\":{\"title\":\"$:/language/Docs/PaletteColours/dragger-background\",\"text\":\"Dragger background\"},\"$:/language/Docs/PaletteColours/dragger-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/dragger-foreground\",\"text\":\"Dragger foreground\"},\"$:/language/Docs/PaletteColours/dropdown-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-background\",\"text\":\"Dropdown background\"},\"$:/language/Docs/PaletteColours/dropdown-border\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-border\",\"text\":\"Dropdown border\"},\"$:/language/Docs/PaletteColours/dropdown-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-tab-background\",\"text\":\"Dropdown tab background\"},\"$:/language/Docs/PaletteColours/dropdown-tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/dropdown-tab-background-selected\",\"text\":\"Dropdown tab background for selected tabs\"},\"$:/language/Docs/PaletteColours/dropzone-background\":{\"title\":\"$:/language/Docs/PaletteColours/dropzone-background\",\"text\":\"Dropzone background\"},\"$:/language/Docs/PaletteColours/external-link-background\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background\",\"text\":\"External link background\"},\"$:/language/Docs/PaletteColours/external-link-background-hover\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background-hover\",\"text\":\"External link background hover\"},\"$:/language/Docs/PaletteColours/external-link-background-visited\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-background-visited\",\"text\":\"External link background visited\"},\"$:/language/Docs/PaletteColours/external-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground\",\"text\":\"External link foreground\"},\"$:/language/Docs/PaletteColours/external-link-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground-hover\",\"text\":\"External link foreground hover\"},\"$:/language/Docs/PaletteColours/external-link-foreground-visited\":{\"title\":\"$:/language/Docs/PaletteColours/external-link-foreground-visited\",\"text\":\"External link foreground visited\"},\"$:/language/Docs/PaletteColours/foreground\":{\"title\":\"$:/language/Docs/PaletteColours/foreground\",\"text\":\"General foreground\"},\"$:/language/Docs/PaletteColours/message-background\":{\"title\":\"$:/language/Docs/PaletteColours/message-background\",\"text\":\"Message box background\"},\"$:/language/Docs/PaletteColours/message-border\":{\"title\":\"$:/language/Docs/PaletteColours/message-border\",\"text\":\"Message box border\"},\"$:/language/Docs/PaletteColours/message-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/message-foreground\",\"text\":\"Message box foreground\"},\"$:/language/Docs/PaletteColours/modal-backdrop\":{\"title\":\"$:/language/Docs/PaletteColours/modal-backdrop\",\"text\":\"Modal backdrop\"},\"$:/language/Docs/PaletteColours/modal-background\":{\"title\":\"$:/language/Docs/PaletteColours/modal-background\",\"text\":\"Modal background\"},\"$:/language/Docs/PaletteColours/modal-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-border\",\"text\":\"Modal border\"},\"$:/language/Docs/PaletteColours/modal-footer-background\":{\"title\":\"$:/language/Docs/PaletteColours/modal-footer-background\",\"text\":\"Modal footer background\"},\"$:/language/Docs/PaletteColours/modal-footer-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-footer-border\",\"text\":\"Modal footer border\"},\"$:/language/Docs/PaletteColours/modal-header-border\":{\"title\":\"$:/language/Docs/PaletteColours/modal-header-border\",\"text\":\"Modal header border\"},\"$:/language/Docs/PaletteColours/muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/muted-foreground\",\"text\":\"General muted foreground\"},\"$:/language/Docs/PaletteColours/notification-background\":{\"title\":\"$:/language/Docs/PaletteColours/notification-background\",\"text\":\"Notification background\"},\"$:/language/Docs/PaletteColours/notification-border\":{\"title\":\"$:/language/Docs/PaletteColours/notification-border\",\"text\":\"Notification border\"},\"$:/language/Docs/PaletteColours/page-background\":{\"title\":\"$:/language/Docs/PaletteColours/page-background\",\"text\":\"Page background\"},\"$:/language/Docs/PaletteColours/pre-background\":{\"title\":\"$:/language/Docs/PaletteColours/pre-background\",\"text\":\"Preformatted code background\"},\"$:/language/Docs/PaletteColours/pre-border\":{\"title\":\"$:/language/Docs/PaletteColours/pre-border\",\"text\":\"Preformatted code border\"},\"$:/language/Docs/PaletteColours/primary\":{\"title\":\"$:/language/Docs/PaletteColours/primary\",\"text\":\"General primary\"},\"$:/language/Docs/PaletteColours/sidebar-button-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-button-foreground\",\"text\":\"Sidebar button foreground\"},\"$:/language/Docs/PaletteColours/sidebar-controls-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-controls-foreground\",\"text\":\"Sidebar controls foreground\"},\"$:/language/Docs/PaletteColours/sidebar-controls-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-controls-foreground-hover\",\"text\":\"Sidebar controls foreground hover\"},\"$:/language/Docs/PaletteColours/sidebar-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-foreground\",\"text\":\"Sidebar foreground\"},\"$:/language/Docs/PaletteColours/sidebar-foreground-shadow\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-foreground-shadow\",\"text\":\"Sidebar foreground shadow\"},\"$:/language/Docs/PaletteColours/sidebar-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-muted-foreground\",\"text\":\"Sidebar muted foreground\"},\"$:/language/Docs/PaletteColours/sidebar-muted-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-muted-foreground-hover\",\"text\":\"Sidebar muted foreground hover\"},\"$:/language/Docs/PaletteColours/sidebar-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-background\",\"text\":\"Sidebar tab background\"},\"$:/language/Docs/PaletteColours/sidebar-tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-background-selected\",\"text\":\"Sidebar tab background for selected tabs\"},\"$:/language/Docs/PaletteColours/sidebar-tab-border\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-border\",\"text\":\"Sidebar tab border\"},\"$:/language/Docs/PaletteColours/sidebar-tab-border-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-border-selected\",\"text\":\"Sidebar tab border for selected tabs\"},\"$:/language/Docs/PaletteColours/sidebar-tab-divider\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-divider\",\"text\":\"Sidebar tab divider\"},\"$:/language/Docs/PaletteColours/sidebar-tab-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-foreground\",\"text\":\"Sidebar tab foreground\"},\"$:/language/Docs/PaletteColours/sidebar-tab-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tab-foreground-selected\",\"text\":\"Sidebar tab foreground for selected tabs\"},\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground\",\"text\":\"Sidebar tiddler link foreground\"},\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground-hover\",\"text\":\"Sidebar tiddler link foreground hover\"},\"$:/language/Docs/PaletteColours/static-alert-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/static-alert-foreground\",\"text\":\"Static alert foreground\"},\"$:/language/Docs/PaletteColours/tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/tab-background\",\"text\":\"Tab background\"},\"$:/language/Docs/PaletteColours/tab-background-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-background-selected\",\"text\":\"Tab background for selected tabs\"},\"$:/language/Docs/PaletteColours/tab-border\":{\"title\":\"$:/language/Docs/PaletteColours/tab-border\",\"text\":\"Tab border\"},\"$:/language/Docs/PaletteColours/tab-border-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-border-selected\",\"text\":\"Tab border for selected tabs\"},\"$:/language/Docs/PaletteColours/tab-divider\":{\"title\":\"$:/language/Docs/PaletteColours/tab-divider\",\"text\":\"Tab divider\"},\"$:/language/Docs/PaletteColours/tab-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tab-foreground\",\"text\":\"Tab foreground\"},\"$:/language/Docs/PaletteColours/tab-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tab-foreground-selected\",\"text\":\"Tab foreground for selected tabs\"},\"$:/language/Docs/PaletteColours/table-border\":{\"title\":\"$:/language/Docs/PaletteColours/table-border\",\"text\":\"Table border\"},\"$:/language/Docs/PaletteColours/table-footer-background\":{\"title\":\"$:/language/Docs/PaletteColours/table-footer-background\",\"text\":\"Table footer background\"},\"$:/language/Docs/PaletteColours/table-header-background\":{\"title\":\"$:/language/Docs/PaletteColours/table-header-background\",\"text\":\"Table header background\"},\"$:/language/Docs/PaletteColours/tag-background\":{\"title\":\"$:/language/Docs/PaletteColours/tag-background\",\"text\":\"Tag background\"},\"$:/language/Docs/PaletteColours/tag-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tag-foreground\",\"text\":\"Tag foreground\"},\"$:/language/Docs/PaletteColours/tiddler-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-background\",\"text\":\"Tiddler background\"},\"$:/language/Docs/PaletteColours/tiddler-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-border\",\"text\":\"Tiddler border\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground\",\"text\":\"Tiddler controls foreground\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-hover\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-hover\",\"text\":\"Tiddler controls foreground hover\"},\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-selected\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-controls-foreground-selected\",\"text\":\"Tiddler controls foreground for selected controls\"},\"$:/language/Docs/PaletteColours/tiddler-editor-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-background\",\"text\":\"Tiddler editor background\"},\"$:/language/Docs/PaletteColours/tiddler-editor-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-border\",\"text\":\"Tiddler editor border\"},\"$:/language/Docs/PaletteColours/tiddler-editor-border-image\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-border-image\",\"text\":\"Tiddler editor border image\"},\"$:/language/Docs/PaletteColours/tiddler-editor-fields-even\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-fields-even\",\"text\":\"Tiddler editor background for even fields\"},\"$:/language/Docs/PaletteColours/tiddler-editor-fields-odd\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-editor-fields-odd\",\"text\":\"Tiddler editor background for odd fields\"},\"$:/language/Docs/PaletteColours/tiddler-info-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-background\",\"text\":\"Tiddler info panel background\"},\"$:/language/Docs/PaletteColours/tiddler-info-border\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-border\",\"text\":\"Tiddler info panel border\"},\"$:/language/Docs/PaletteColours/tiddler-info-tab-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-info-tab-background\",\"text\":\"Tiddler info panel tab background\"},\"$:/language/Docs/PaletteColours/tiddler-link-background\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-link-background\",\"text\":\"Tiddler link background\"},\"$:/language/Docs/PaletteColours/tiddler-link-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-link-foreground\",\"text\":\"Tiddler link foreground\"},\"$:/language/Docs/PaletteColours/tiddler-subtitle-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-subtitle-foreground\",\"text\":\"Tiddler subtitle foreground\"},\"$:/language/Docs/PaletteColours/tiddler-title-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/tiddler-title-foreground\",\"text\":\"Tiddler title foreground\"},\"$:/language/Docs/PaletteColours/toolbar-cancel-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-cancel-button\",\"text\":\"Toolbar 'cancel' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-close-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-close-button\",\"text\":\"Toolbar 'close' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-delete-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-delete-button\",\"text\":\"Toolbar 'delete' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-done-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-done-button\",\"text\":\"Toolbar 'done' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-edit-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-edit-button\",\"text\":\"Toolbar 'edit' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-info-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-info-button\",\"text\":\"Toolbar 'info' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-new-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-new-button\",\"text\":\"Toolbar 'new tiddler' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-options-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-options-button\",\"text\":\"Toolbar 'options' button foreground\"},\"$:/language/Docs/PaletteColours/toolbar-save-button\":{\"title\":\"$:/language/Docs/PaletteColours/toolbar-save-button\",\"text\":\"Toolbar 'save' button foreground\"},\"$:/language/Docs/PaletteColours/untagged-background\":{\"title\":\"$:/language/Docs/PaletteColours/untagged-background\",\"text\":\"Untagged pill background\"},\"$:/language/Docs/PaletteColours/very-muted-foreground\":{\"title\":\"$:/language/Docs/PaletteColours/very-muted-foreground\",\"text\":\"Very muted foreground\"},\"$:/language/EditTemplate/Body/External/Hint\":{\"title\":\"$:/language/EditTemplate/Body/External/Hint\",\"text\":\"Tohle je externí tiddler uložený mimo hlavní soubor TiddlyWiki. Můžete upravovat štítky a pole, ale nemůžete přímo upravovat samotný obsah\"},\"$:/language/EditTemplate/Body/Placeholder\":{\"title\":\"$:/language/EditTemplate/Body/Placeholder\",\"text\":\"Vložte text...\"},\"$:/language/EditTemplate/Field/Remove/Caption\":{\"title\":\"$:/language/EditTemplate/Field/Remove/Caption\",\"text\":\"odstranit pole\"},\"$:/language/EditTemplate/Field/Remove/Hint\":{\"title\":\"$:/language/EditTemplate/Field/Remove/Hint\",\"text\":\"Odstranit pole\"},\"$:/language/EditTemplate/Fields/Add/Button\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Button\",\"text\":\"přidat\"},\"$:/language/EditTemplate/Fields/Add/Name/Placeholder\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Name/Placeholder\",\"text\":\"název pole\"},\"$:/language/EditTemplate/Fields/Add/Prompt\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Prompt\",\"text\":\"Přidat nové pole:\"},\"$:/language/EditTemplate/Fields/Add/Value/Placeholder\":{\"title\":\"$:/language/EditTemplate/Fields/Add/Value/Placeholder\",\"text\":\"hodnota pole\"},\"$:/language/EditTemplate/Shadow/OverriddenWarning\":{\"title\":\"$:/language/EditTemplate/Shadow/OverriddenWarning\",\"text\":\"Tohle je upravený stínový tiddler. Výchozí verzi můžete obnovit smazáním tohoto tiddleru\"},\"$:/language/EditTemplate/Shadow/Warning\":{\"title\":\"$:/language/EditTemplate/Shadow/Warning\",\"text\":\"Tohle je stínový tiddler. Změny v něm přepíší výchozí verzi\"},\"$:/language/EditTemplate/Tags/Add/Button\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Button\",\"text\":\"přidat\"},\"$:/language/EditTemplate/Tags/Add/Placeholder\":{\"title\":\"$:/language/EditTemplate/Tags/Add/Placeholder\",\"text\":\"název štítku\"},\"$:/language/EditTemplate/Tags/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Tags/Dropdown/Caption\",\"text\":\"seznam štítků\"},\"$:/language/EditTemplate/Tags/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Tags/Dropdown/Hint\",\"text\":\"Zobrazit seznam štítků\"},\"$:/language/EditTemplate/Type/Delete/Caption\":{\"title\":\"$:/language/EditTemplate/Type/Delete/Caption\",\"text\":\"smazat typ obsahu\"},\"$:/language/EditTemplate/Type/Delete/Hint\":{\"title\":\"$:/language/EditTemplate/Type/Delete/Hint\",\"text\":\"Smazat typ obsahu\"},\"$:/language/EditTemplate/Type/Dropdown/Caption\":{\"title\":\"$:/language/EditTemplate/Type/Dropdown/Caption\",\"text\":\"seznam typů obsahu\"},\"$:/language/EditTemplate/Type/Dropdown/Hint\":{\"title\":\"$:/language/EditTemplate/Type/Dropdown/Hint\",\"text\":\"Zobrazit seznam typů obsahu\"},\"$:/language/EditTemplate/Type/Placeholder\":{\"title\":\"$:/language/EditTemplate/Type/Placeholder\",\"text\":\"typ obsahu\"},\"$:/language/EditTemplate/Type/Prompt\":{\"title\":\"$:/language/EditTemplate/Type/Prompt\",\"text\":\"Typ:\"},\"$:/language/Exporters/CsvFile\":{\"title\":\"$:/language/Exporters/CsvFile\",\"text\":\"CSV soubor\"},\"$:/language/Exporters/JsonFile\":{\"title\":\"$:/language/Exporters/JsonFile\",\"text\":\"JSON soubor\"},\"$:/language/Exporters/StaticRiver\":{\"title\":\"$:/language/Exporters/StaticRiver\",\"text\":\"Tok tiddlerů jako statický HTML soubor\"},\"$:/language/Exporters/TidFile\":{\"title\":\"$:/language/Exporters/TidFile\",\"text\":\"Samostatný tiddler \\\".tid\\\" soubor\"},\"$:/language/Docs/Fields/_canonical_uri\":{\"title\":\"$:/language/Docs/Fields/_canonical_uri\",\"text\":\"Kompletní URI exerního obrázkového tiddleru\"},\"$:/language/Docs/Fields/bag\":{\"title\":\"$:/language/Docs/Fields/bag\",\"text\":\"The name of the bag from which a tiddler came\"},\"$:/language/Docs/Fields/caption\":{\"title\":\"$:/language/Docs/Fields/caption\",\"text\":\"Text zobrazený záložce nebo tlačítku\"},\"$:/language/Docs/Fields/color\":{\"title\":\"$:/language/Docs/Fields/color\",\"text\":\"CSS barva tiddleru\"},\"$:/language/Docs/Fields/component\":{\"title\":\"$:/language/Docs/Fields/component\",\"text\":\"Název komponenty zodpovědné za [[alert tiddler|AlertMechanism]]\"},\"$:/language/Docs/Fields/created\":{\"title\":\"$:/language/Docs/Fields/created\",\"text\":\"Datum vytvoření tiddleru\"},\"$:/language/Docs/Fields/creator\":{\"title\":\"$:/language/Docs/Fields/creator\",\"text\":\"Jméno tvůrce riddleru\"},\"$:/language/Docs/Fields/current-tiddler\":{\"title\":\"$:/language/Docs/Fields/current-tiddler\",\"text\":\"Použito pro uložení tiddleru do cache v [[history list|HistoryMechanism]]\"},\"$:/language/Docs/Fields/dependents\":{\"title\":\"$:/language/Docs/Fields/dependents\",\"text\":\"Pro plugin, seznam závislých pluginů\"},\"$:/language/Docs/Fields/description\":{\"title\":\"$:/language/Docs/Fields/description\",\"text\":\"Popis pluginu nebo dialogu\"},\"$:/language/Docs/Fields/draft.of\":{\"title\":\"$:/language/Docs/Fields/draft.of\",\"text\":\"Pro rozepsané tiddlery, obsahuje titulek s popisem, že se jedná o rozepsané tiddlery\"},\"$:/language/Docs/Fields/draft.title\":{\"title\":\"$:/language/Docs/Fields/draft.title\",\"text\":\"Pro rozepsané tiddlery, obsahuje návrhy názvů pro nový tiddler\"},\"$:/language/Docs/Fields/footer\":{\"title\":\"$:/language/Docs/Fields/footer\",\"text\":\"Patička\"},\"$:/language/Docs/Fields/icon\":{\"title\":\"$:/language/Docs/Fields/icon\",\"text\":\"Název tiddleru obsahujícím ikonu\"},\"$:/language/Docs/Fields/library\":{\"title\":\"$:/language/Docs/Fields/library\",\"text\":\"Je-li nastaveno na \\\"ano\\\", pak se tiddler bude ukládán jako JavaScriptový soubor\"},\"$:/language/Docs/Fields/list\":{\"title\":\"$:/language/Docs/Fields/list\",\"text\":\"Seřazený seznam názvu tiddleru\"},\"$:/language/Docs/Fields/list-after\":{\"title\":\"$:/language/Docs/Fields/list-after\",\"text\":\"If set, the title of the tiddler after which this tiddler should be added to the ordered list of tiddler titles\"},\"$:/language/Docs/Fields/list-before\":{\"title\":\"$:/language/Docs/Fields/list-before\",\"text\":\"If set, the title of a tiddler before which this tiddler should be added to the ordered list of tiddler titles, or at the start of the list if this field is present but empty\"},\"$:/language/Docs/Fields/modified\":{\"title\":\"$:/language/Docs/Fields/modified\",\"text\":\"Datum a čas poslední úpravy tiddleru\"},\"$:/language/Docs/Fields/modifier\":{\"title\":\"$:/language/Docs/Fields/modifier\",\"text\":\"Jméno člověka, který naposledy upravoval tiddler\"},\"$:/language/Docs/Fields/name\":{\"title\":\"$:/language/Docs/Fields/name\",\"text\":\"Název pluginu\"},\"$:/language/Docs/Fields/plugin-priority\":{\"title\":\"$:/language/Docs/Fields/plugin-priority\",\"text\":\"Priorita pluginu\"},\"$:/language/Docs/Fields/plugin-type\":{\"title\":\"$:/language/Docs/Fields/plugin-type\",\"text\":\"Druh pluginu\"},\"$:/language/Docs/Fields/released\":{\"title\":\"$:/language/Docs/Fields/released\",\"text\":\"Datum vydání TiddlyWiki\"},\"$:/language/Docs/Fields/revision\":{\"title\":\"$:/language/Docs/Fields/revision\",\"text\":\"Verze tiddleru\"},\"$:/language/Docs/Fields/source\":{\"title\":\"$:/language/Docs/Fields/source\",\"text\":\"Zdrojová URL tiddleru\"},\"$:/language/Docs/Fields/subtitle\":{\"title\":\"$:/language/Docs/Fields/subtitle\",\"text\":\"Podtitulek\"},\"$:/language/Docs/Fields/tags\":{\"title\":\"$:/language/Docs/Fields/tags\",\"text\":\"Seznam štítků tiddleru\"},\"$:/language/Docs/Fields/text\":{\"title\":\"$:/language/Docs/Fields/text\",\"text\":\"Text tiddleru\"},\"$:/language/Docs/Fields/title\":{\"title\":\"$:/language/Docs/Fields/title\",\"text\":\"Unikátní název tiddleru\"},\"$:/language/Docs/Fields/type\":{\"title\":\"$:/language/Docs/Fields/type\",\"text\":\"Typ obsahu tiddleru\"},\"$:/language/Docs/Fields/version\":{\"title\":\"$:/language/Docs/Fields/version\",\"text\":\"Verze pluginu\"},\"$:/language/Filters/AllTags\":{\"title\":\"$:/language/Filters/AllTags\",\"text\":\"Všechny štítky kromě systémových\"},\"$:/language/Filters/AllTiddlers\":{\"title\":\"$:/language/Filters/AllTiddlers\",\"text\":\"Všechny tiddlery kromě systémových\"},\"$:/language/Filters/Drafts\":{\"title\":\"$:/language/Filters/Drafts\",\"text\":\"Rozepsané tiddlery\"},\"$:/language/Filters/Missing\":{\"title\":\"$:/language/Filters/Missing\",\"text\":\"Chybějící tiddlery\"},\"$:/language/Filters/Orphans\":{\"title\":\"$:/language/Filters/Orphans\",\"text\":\"Osamocené tiddlery\"},\"$:/language/Filters/OverriddenShadowTiddlers\":{\"title\":\"$:/language/Filters/OverriddenShadowTiddlers\",\"text\":\"Přepsané stínové tiddlery tiddlery\"},\"$:/language/Filters/RecentSystemTiddlers\":{\"title\":\"$:/language/Filters/RecentSystemTiddlers\",\"text\":\"Nedávno upravené tiddlery včetně systémových\"},\"$:/language/Filters/RecentTiddlers\":{\"title\":\"$:/language/Filters/RecentTiddlers\",\"text\":\"Nedávno upravené tiddlery\"},\"$:/language/Filters/ShadowTiddlers\":{\"title\":\"$:/language/Filters/ShadowTiddlers\",\"text\":\"Stínové tiddlery\"},\"$:/language/Filters/SystemTags\":{\"title\":\"$:/language/Filters/SystemTags\",\"text\":\"Systémové štítky\"},\"$:/language/Filters/SystemTiddlers\":{\"title\":\"$:/language/Filters/SystemTiddlers\",\"text\":\"Systémové tiddlery\"},\"GettingStarted\":{\"title\":\"GettingStarted\",\"text\":\"\\\\define lingo-base() $:/language/ControlPanel/Basics/\\nVítejte v ~TiddlyWiki a v ~TiddlyWiki komunitě\\n\\nNež začnete používat ~TiddlyWiki pro záznam důležitých informací, je potřeba se přesvědčit, zda lze informace v pořádku uložit na disk\\nZjistěte více na https://tiddlywiki.com/#GettingStarted\\n\\n!! Nastavte si tutos ~TiddlyWiki\\n\\n\u003Cdiv class=\\\"tc-control-panel\\\">\\n\\n|\u003C$link to=\\\"$:/SiteTitle\\\">\u003C\u003Clingo Title/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/SiteTitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/SiteSubtitle\\\">\u003C\u003Clingo Subtitle/Prompt>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/SiteSubtitle\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/DefaultTiddlers\\\">\u003C\u003Clingo DefaultTiddlers/Prompt>>\u003C/$link> |\u003C\u003Clingo DefaultTiddlers/TopHint>>\u003Cbr> \u003C$edit-text tag=\\\"textarea\\\" tiddler=\\\"$:/DefaultTiddlers\\\"/>\u003Cbr>//\u003C\u003Clingo DefaultTiddlers/BottomHint>>// |\\n\u003C/div>\\n\\nV sekci [[control panel|$:/ControlPanel]] najdete další nastavení\\n\"},\"$:/language/Import/Listing/Cancel/Caption\":{\"title\":\"$:/language/Import/Listing/Cancel/Caption\",\"text\":\"Zrušit\"},\"$:/language/Import/Listing/Hint\":{\"title\":\"$:/language/Import/Listing/Hint\",\"text\":\"Tyto tiddlery jsou připraveny k importu:\"},\"$:/language/Import/Listing/Import/Caption\":{\"title\":\"$:/language/Import/Listing/Import/Caption\",\"text\":\"Importovat\"},\"$:/language/Import/Listing/Select/Caption\":{\"title\":\"$:/language/Import/Listing/Select/Caption\",\"text\":\"Vybrat\"},\"$:/language/Import/Listing/Status/Caption\":{\"title\":\"$:/language/Import/Listing/Status/Caption\",\"text\":\"Status\"},\"$:/language/Import/Listing/Title/Caption\":{\"title\":\"$:/language/Import/Listing/Title/Caption\",\"text\":\"Titulek\"},\"$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible\",\"text\":\"Zablokovaný nekompatibilní nebo zastaralý plugin\"},\"$:/language/Import/Upgrader/Plugins/Suppressed/Version\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Suppressed/Version\",\"text\":\"Blokovaný plugin (protože nahrávaný \u003C\u003Cincoming>> je starší než v systému existující \u003C\u003Cexisting>>)\"},\"$:/language/Import/Upgrader/Plugins/Upgraded\":{\"title\":\"$:/language/Import/Upgrader/Plugins/Upgraded\",\"text\":\"Upgradeovaný plugin z \u003C\u003Cincoming>> na \u003C\u003Cupgraded>>\"},\"$:/language/Import/Upgrader/State/Suppressed\":{\"title\":\"$:/language/Import/Upgrader/State/Suppressed\",\"text\":\"Blokovaný dočasný tiddler\"},\"$:/language/Import/Upgrader/System/Suppressed\":{\"title\":\"$:/language/Import/Upgrader/System/Suppressed\",\"text\":\"Blokovaný systemový tiddler\"},\"$:/language/Import/Upgrader/ThemeTweaks/Created\":{\"title\":\"$:/language/Import/Upgrader/ThemeTweaks/Created\",\"text\":\"Změněné téma upravené z \u003C$text text=\u003C\u003Cfrom>>/>\"},\"$:/language/BinaryWarning/Prompt\":{\"title\":\"$:/language/BinaryWarning/Prompt\",\"text\":\"Tento tiddler obsahuje binární data\"},\"$:/language/ClassicWarning/Hint\":{\"title\":\"$:/language/ClassicWarning/Hint\",\"text\":\"Tento tiddler používá formát textu z TiddlyWiki Classic, který není plně kompatibilní s TiddlyWiki verze 5. Na https://tiddlywiki.com/static/Upgrading.html zjistíte více.\"},\"$:/language/ClassicWarning/Upgrade/Caption\":{\"title\":\"$:/language/ClassicWarning/Upgrade/Caption\",\"text\":\"upgrade\"},\"$:/language/CloseAll/Button\":{\"title\":\"$:/language/CloseAll/Button\",\"text\":\"zavřít vše\"},\"$:/language/ConfirmCancelTiddler\":{\"title\":\"$:/language/ConfirmCancelTiddler\",\"text\":\"Chcete zrušit změny v tiddleru \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmDeleteTiddler\":{\"title\":\"$:/language/ConfirmDeleteTiddler\",\"text\":\"Chcete smazat tiddler \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmEditShadowTiddler\":{\"title\":\"$:/language/ConfirmEditShadowTiddler\",\"text\":\"Chystáte se editovat stínový tiddler. Změny přepíšý výchozí nastavení systému, díky čemuž mohou nastat komplikace při pozdějších upgrade.Opravdu chcete editovat \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/ConfirmOverwriteTiddler\":{\"title\":\"$:/language/ConfirmOverwriteTiddler\",\"text\":\"Chcete přepsat tiddler \\\"\u003C$text text=\u003C\u003Ctitle>>/>\\\"?\"},\"$:/language/DefaultNewTiddlerTitle\":{\"title\":\"$:/language/DefaultNewTiddlerTitle\",\"text\":\"Nový Tiddler\"},\"$:/language/DropMessage\":{\"title\":\"$:/language/DropMessage\",\"text\":\"Zde pusťte (nebo zmáčknutím Esc zrušte)\"},\"$:/language/Encryption/ConfirmClearPassword\":{\"title\":\"$:/language/Encryption/ConfirmClearPassword\",\"text\":\"Chcete ztušit heslo? Tím se zruší šifrování této wiki\"},\"$:/language/Encryption/PromptSetPassword\":{\"title\":\"$:/language/Encryption/PromptSetPassword\",\"text\":\"Nastavte nové heslo pro tuto TiddlyWiki\"},\"$:/language/MissingTiddler/Hint\":{\"title\":\"$:/language/MissingTiddler/Hint\",\"text\":\"Chybějící tiddler \\\"\u003C$text text=\u003C\u003CcurrentTiddler>>/>\\\" - klikněte na {{||$:/core/ui/Buttons/edit}} pro jeho vytvoření\"},\"$:/language/RecentChanges/DateFormat\":{\"title\":\"$:/language/RecentChanges/DateFormat\",\"text\":\"DD. MM. YYYY\"},\"$:/language/SystemTiddler/Tooltip\":{\"title\":\"$:/language/SystemTiddler/Tooltip\",\"text\":\"Toto je systémový tiddler\"},\"$:/language/TagManager/Colour/Heading\":{\"title\":\"$:/language/TagManager/Colour/Heading\",\"text\":\"Barva\"},\"$:/language/TagManager/Icon/Heading\":{\"title\":\"$:/language/TagManager/Icon/Heading\",\"text\":\"Ikona\"},\"$:/language/TagManager/Info/Heading\":{\"title\":\"$:/language/TagManager/Info/Heading\",\"text\":\"Info\"},\"$:/language/TagManager/Tag/Heading\":{\"title\":\"$:/language/TagManager/Tag/Heading\",\"text\":\"Štítek\"},\"$:/language/UnsavedChangesWarning\":{\"title\":\"$:/language/UnsavedChangesWarning\",\"text\":\"Máte neuložené změny\"},\"$:/language/Modals/Download\":{\"title\":\"$:/language/Modals/Download\",\"type\":\"text/vnd.tiddlywiki\",\"subtitle\":\"Download changes\",\"footer\":\"\u003C$button message=\\\"tm-close-tiddler\\\">Close\u003C/$button>\",\"help\":\"https://tiddlywiki.com/static/DownloadingChanges.html\",\"text\":\"Váš prohlížeč umožnuje pouze ruční ukládání.\\n\\nAbyste uložili vaši upravenou wiki, klikněte pravým tlačítkem myši na odkaz ke stažení níže a zvolte \\\"Stáhnout soubor\\\" nebo \\\"Uložit soubor\\\" a potom vyberte složku a jméno souboru pro uložení.\\n\\nNa smartphonech, které neumožnují soubory stahovat, můžete odkaz vložit do záložek a záložky synchronizovat s běžným PC. Odtud pak wiki uložíte normálně.\\n\"},\"$:/config/NewJournal/Tags\":{\"title\":\"$:/config/NewJournal/Tags\",\"text\":\"Deník\"},\"$:/config/NewJournal/Title\":{\"title\":\"$:/config/NewJournal/Title\",\"text\":\"DD. MM. YYYY\"},\"$:/language/Notifications/Save/Done\":{\"title\":\"$:/language/Notifications/Save/Done\",\"text\":\"Wiki uložena\"},\"$:/language/Notifications/Save/Starting\":{\"title\":\"$:/language/Notifications/Save/Starting\",\"text\":\"Ukládám wiki\"},\"$:/language/Search/DefaultResults/Caption\":{\"title\":\"$:/language/Search/DefaultResults/Caption\",\"text\":\"Seznam\"},\"$:/language/Search/Filter/Caption\":{\"title\":\"$:/language/Search/Filter/Caption\",\"text\":\"Filtr\"},\"$:/language/Search/Filter/Hint\":{\"title\":\"$:/language/Search/Filter/Hint\",\"text\":\"Hledat pomocí [[filter expression|https://tiddlywiki.com/static/Filters.html]]\"},\"$:/language/Search/Filter/Matches\":{\"title\":\"$:/language/Search/Filter/Matches\",\"text\":\"//\u003Csmall>nalezeno \u003C\u003CresultCount>>\u003C/small>//\"},\"$:/language/Search/Matches\":{\"title\":\"$:/language/Search/Matches\",\"text\":\"//\u003Csmall>nalezeno \u003C\u003CresultCount>>\u003C/small>//\"},\"$:/language/Search/Shadows/Caption\":{\"title\":\"$:/language/Search/Shadows/Caption\",\"text\":\"Stínové\"},\"$:/language/Search/Shadows/Hint\":{\"title\":\"$:/language/Search/Shadows/Hint\",\"text\":\"Hledat stínové tiddlery\"},\"$:/language/Search/Shadows/Matches\":{\"title\":\"$:/language/Search/Shadows/Matches\",\"text\":\"//\u003Csmall>nalezeno \u003C\u003CresultCount>>\u003C/small>//\"},\"$:/language/Search/Standard/Caption\":{\"title\":\"$:/language/Search/Standard/Caption\",\"text\":\"Standardní\"},\"$:/language/Search/Standard/Hint\":{\"title\":\"$:/language/Search/Standard/Hint\",\"text\":\"Hledat standardní tiddlery\"},\"$:/language/Search/Standard/Matches\":{\"title\":\"$:/language/Search/Standard/Matches\",\"text\":\"//\u003Csmall>nalezeno \u003C\u003CresultCount>>\u003C/small>//\"},\"$:/language/Search/System/Caption\":{\"title\":\"$:/language/Search/System/Caption\",\"text\":\"Systémové\"},\"$:/language/Search/System/Hint\":{\"title\":\"$:/language/Search/System/Hint\",\"text\":\"Hledat systémové tiddlery\"},\"$:/language/Search/System/Matches\":{\"title\":\"$:/language/Search/System/Matches\",\"text\":\"//\u003Csmall>nalezeno \u003C\u003CresultCount>>\u003C/small>//\"},\"$:/language/SideBar/All/Caption\":{\"title\":\"$:/language/SideBar/All/Caption\",\"text\":\"Vše\"},\"$:/language/SideBar/Contents/Caption\":{\"title\":\"$:/language/SideBar/Contents/Caption\",\"text\":\"Obsah\"},\"$:/language/SideBar/Drafts/Caption\":{\"title\":\"$:/language/SideBar/Drafts/Caption\",\"text\":\"Rozepsané\"},\"$:/language/SideBar/Missing/Caption\":{\"title\":\"$:/language/SideBar/Missing/Caption\",\"text\":\"Chybějící\"},\"$:/language/SideBar/More/Caption\":{\"title\":\"$:/language/SideBar/More/Caption\",\"text\":\"Více\"},\"$:/language/SideBar/Open/Caption\":{\"title\":\"$:/language/SideBar/Open/Caption\",\"text\":\"Otevřené\"},\"$:/language/SideBar/Orphans/Caption\":{\"title\":\"$:/language/SideBar/Orphans/Caption\",\"text\":\"Osamocené\"},\"$:/language/SideBar/Recent/Caption\":{\"title\":\"$:/language/SideBar/Recent/Caption\",\"text\":\"Nedávné\"},\"$:/language/SideBar/Shadows/Caption\":{\"title\":\"$:/language/SideBar/Shadows/Caption\",\"text\":\"Stínové\"},\"$:/language/SideBar/System/Caption\":{\"title\":\"$:/language/SideBar/System/Caption\",\"text\":\"Systémové\"},\"$:/language/SideBar/Tags/Caption\":{\"title\":\"$:/language/SideBar/Tags/Caption\",\"text\":\"Štítky\"},\"$:/language/SideBar/Tags/Untagged/Caption\":{\"title\":\"$:/language/SideBar/Tags/Untagged/Caption\",\"text\":\"beze štítku\"},\"$:/language/SideBar/Tools/Caption\":{\"title\":\"$:/language/SideBar/Tools/Caption\",\"text\":\"Nástroje\"},\"$:/language/SideBar/Types/Caption\":{\"title\":\"$:/language/SideBar/Types/Caption\",\"text\":\"Typy\"},\"$:/SiteSubtitle\":{\"title\":\"$:/SiteSubtitle\",\"text\":\"osobní nelineární webový zápisník\"},\"$:/SiteTitle\":{\"title\":\"$:/SiteTitle\",\"text\":\"Moje ~TiddlyWiki\"},\"$:/language/TiddlerInfo/Advanced/Caption\":{\"title\":\"$:/language/TiddlerInfo/Advanced/Caption\",\"text\":\"Pokročilé\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint\",\"text\":\"žádné\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Heading\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Heading\",\"text\":\"Detaily pluginu\"},\"$:/language/TiddlerInfo/Advanced/PluginInfo/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/PluginInfo/Hint\",\"text\":\"Plugin obsahuje následující stínové tiddlery:\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading\",\"text\":\"Stínový status\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint\",\"text\":\"Tiddler \u003C$link to=\u003C\u003CinfoTiddler>>>\u003C$text text=\u003C\u003CinfoTiddler>>/>\u003C/$link> není stínový tiddler\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint\",\"text\":\"Přepsáno běžným tiddlerem\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint\",\"text\":\"Tiddler \u003C$link to=\u003C\u003CinfoTiddler>>>\u003C$text text=\u003C\u003CinfoTiddler>>/>\u003C/$link> je stínový tiddler\"},\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source\":{\"title\":\"$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source\",\"text\":\"Je definováno v pluginu \u003C$link to=\u003C\u003CpluginTiddler>>>\u003C$text text=\u003C\u003CpluginTiddler>>/>\u003C/$link>\"},\"$:/language/TiddlerInfo/Fields/Caption\":{\"title\":\"$:/language/TiddlerInfo/Fields/Caption\",\"text\":\"Pole\"},\"$:/language/TiddlerInfo/List/Caption\":{\"title\":\"$:/language/TiddlerInfo/List/Caption\",\"text\":\"Seznam\"},\"$:/language/TiddlerInfo/List/Empty\":{\"title\":\"$:/language/TiddlerInfo/List/Empty\",\"text\":\"Tento tiddler nemá žádný seznam\"},\"$:/language/TiddlerInfo/Listed/Caption\":{\"title\":\"$:/language/TiddlerInfo/Listed/Caption\",\"text\":\"Odkazy\"},\"$:/language/TiddlerInfo/Listed/Empty\":{\"title\":\"$:/language/TiddlerInfo/Listed/Empty\",\"text\":\"Na tento tiddler nevede odkaz z jiného tiddleru\"},\"$:/language/TiddlerInfo/References/Caption\":{\"title\":\"$:/language/TiddlerInfo/References/Caption\",\"text\":\"Reference\"},\"$:/language/TiddlerInfo/References/Empty\":{\"title\":\"$:/language/TiddlerInfo/References/Empty\",\"text\":\"Tento tiddler neodkazuje na žádné další tiddlery\"},\"$:/language/TiddlerInfo/Tagging/Caption\":{\"title\":\"$:/language/TiddlerInfo/Tagging/Caption\",\"text\":\"Štítky\"},\"$:/language/TiddlerInfo/Tagging/Empty\":{\"title\":\"$:/language/TiddlerInfo/Tagging/Empty\",\"text\":\"Tímto štítkem není označen žádný tiddler\"},\"$:/language/TiddlerInfo/Tools/Caption\":{\"title\":\"$:/language/TiddlerInfo/Tools/Caption\",\"text\":\"Nástroje\"},\"$:/language/Docs/Types/application/javascript\":{\"title\":\"$:/language/Docs/Types/application/javascript\",\"description\":\"JavaScript code\",\"name\":\"application/javascript\",\"group\":\"Developer\"},\"$:/language/Docs/Types/application/json\":{\"title\":\"$:/language/Docs/Types/application/json\",\"description\":\"JSON data\",\"name\":\"application/json\",\"group\":\"Developer\"},\"$:/language/Docs/Types/application/x-tiddler-dictionary\":{\"title\":\"$:/language/Docs/Types/application/x-tiddler-dictionary\",\"description\":\"Data dictionary\",\"name\":\"application/x-tiddler-dictionary\",\"group\":\"Developer\"},\"$:/language/Docs/Types/image/gif\":{\"title\":\"$:/language/Docs/Types/image/gif\",\"description\":\"GIF image\",\"name\":\"image/gif\",\"group\":\"Image\"},\"$:/language/Docs/Types/image/jpeg\":{\"title\":\"$:/language/Docs/Types/image/jpeg\",\"description\":\"JPEG image\",\"name\":\"image/jpeg\",\"group\":\"Image\"},\"$:/language/Docs/Types/image/png\":{\"title\":\"$:/language/Docs/Types/image/png\",\"description\":\"PNG image\",\"name\":\"image/png\",\"group\":\"Image\"},\"$:/language/Docs/Types/image/svg+xml\":{\"title\":\"$:/language/Docs/Types/image/svg+xml\",\"description\":\"Structured Vector Graphics image\",\"name\":\"image/svg+xml\",\"group\":\"Image\"},\"$:/language/Docs/Types/image/x-icon\":{\"title\":\"$:/language/Docs/Types/image/x-icon\",\"description\":\"ICO format icon file\",\"name\":\"image/x-icon\",\"group\":\"Image\"},\"$:/language/Docs/Types/text/css\":{\"title\":\"$:/language/Docs/Types/text/css\",\"description\":\"Static stylesheet\",\"name\":\"text/css\",\"group\":\"Developer\"},\"$:/language/Docs/Types/text/html\":{\"title\":\"$:/language/Docs/Types/text/html\",\"description\":\"HTML markup\",\"name\":\"text/html\",\"group\":\"Text\"},\"$:/language/Docs/Types/text/plain\":{\"title\":\"$:/language/Docs/Types/text/plain\",\"description\":\"Plain text\",\"name\":\"text/plain\",\"group\":\"Text\"},\"$:/language/Docs/Types/text/vnd.tiddlywiki\":{\"title\":\"$:/language/Docs/Types/text/vnd.tiddlywiki\",\"description\":\"TiddlyWiki 5\",\"name\":\"text/vnd.tiddlywiki\",\"group\":\"Text\"},\"$:/language/Docs/Types/text/x-tiddlywiki\":{\"title\":\"$:/language/Docs/Types/text/x-tiddlywiki\",\"description\":\"TiddlyWiki Classic\",\"name\":\"text/x-tiddlywiki\",\"group\":\"Text\"},\"$:/languages/cs-CZ/icon\":{\"title\":\"$:/languages/cs-CZ/icon\",\"type\":\"image/svg+xml\",\"text\":\"\u003C?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n\u003Csvg version=\\\"1.0\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"900\\\" height=\\\"600\\\">\\n\\t\u003Crect width=\\\"900\\\" height=\\\"600\\\" fill=\\\"#d7141a\\\"/>\\n\\t\u003Crect width=\\\"900\\\" height=\\\"300\\\" fill=\\\"#fff\\\"/>\\n\\t\u003Cpath d=\\\"M 450,300 0,0 V 600 z\\\" fill=\\\"#11457e\\\"/>\\n\u003C/svg>\\n\"}}}"}, @@ -936,13 +946,14 @@ Error message and password prompt {"version":"2023.12.9","type":"application/json","title":"$:/plugins/Gk0Wk/CPL-Repo","plugin-type":"plugin","name":"CPL Repo","description":"Essential and powerful plugin manager and library","author":"Gk0Wk","list":"readme","text":"{\"tiddlers\":{\"$:/config/TiddlyWiki-CPL/GitHub\":{\"title\":\"$:/config/TiddlyWiki-CPL/GitHub\",\"caption\":\"\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\\\" variable=\\\"lang\\\">\u003C$list filter=\\\"[\u003Clang>search:title[zh]]\\\">太微中文社区插件源(~GitHub版)\u003C/$list>\u003C$list filter=\\\"[\u003Clang>!search:title[zh]]\\\">TiddlyWiki CPL(~GitHub Host)\u003C/$list>\u003C/$list>\",\"tags\":[\"$:/tags/PluginLibrary\",\"$:/tags/PluginLibrary/CPL\"],\"type\":\"text/vnd.tiddlywiki\",\"url\":\"https://tiddly-gittly.github.io/TiddlyWiki-CPL/library/index.html\",\"text\":\"\u003C!-- lang变量就是当前语言 -->\\n\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\\\" variable=\\\"lang\\\">\\n\u003C$list filter=\\\"[\u003Clang>search:title[zh]]\\\" variable=\\\"lang\\\">\\n\\n欢迎使用''【太微中文社区插件源】''!\\n\\n本插件源是由[[太微(TiddlyWiki)中文社区|https://github.com/tiddly-gittly]]维护的、致力于搜集网络上所有与 ~TiddlyWiki5 有关插件的、希望为中国以及全世界的太微用户提供一键安装、更新插件体验的公开插件源。\\n\\n如果还不了解该如何使用太微和本插件源,欢迎阅读[[中文社区共建的太微(TiddlyWiki)教程|https://tw-cn.netlify.app]]里插件相关的部分。如上提到的插件源和教程皆为开源项目,你可以在 [[GitHub|https://github.com/tiddly-gittly]] 中找到并参与贡献!如果乐意,可以通过QQ群等方式加入我们,详情请见如上提到的中文教程。\\n\\n要添加这个插件库到你的 Wiki 中,只需鼠标拖动这个链接到你的 Wiki 里即可:\u003C$link to=\u003C\u003CcurrentTiddler>>>{{!!caption}}\u003C/$link>\\n\\n注意:本插件源版本为 ~GitHub Page 的版本,更新更快,但是可能需要科学上网手段。如果你在国内,而且不清楚什么是“科学上网”,请选用另一个经过 netlify.app 加速的[[版本|$:/config/TiddlyWiki-CPL/Netlify]],虽然更新有一定的延迟,但对国内用户更加友好。\\n\\n@@color:red;''安装任何插件前,请记得备份你的Wiki,本插件源无法为插件造成的个人损失负责!''@@\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Clang>!search:title[zh]]\\\" variable=\\\"lang\\\">\\n\\nWelcome to the ''[TiddlyWiki Chinese Community Plugin Source]''!\\n\\nThis plugin source is maintained by the [[TiddlyWiki Chinese Community]] and is dedicated to collecting all TiddlyWiki5 related plugins on the web, hoping to provide a one-click installation and update plugin experience for TiddlyWiki users in China and around the world.\\n\\nIf you don't know how to use TiddlyWiki and this source, you are welcome to read the plugins related section in the [[TiddlyWiki Tutorials for Chinese Communities|https://tw-cn.netlify.app]]. As mentioned above, both the plugin source and the tutorial are open source projects, you can find them in [[GitHub|https://github.com/tiddly-gittly]] and participate in contributing! If you like, you can join us through QQ groups and other means, see the Chinese tutorials mentioned above for details.\\n\\nTo add this plugin library to your Wiki, just drag this link with your mouse into your Wiki: \u003C$link to=\u003C\u003CcurrentTiddler>>>{{!!caption}}\u003C/$link>\\n\\nNote: The source version of this plugin is the ~GitHub Page version, which is faster to update, but may require scientific Internet access. If you are in China and are not sure what GFW is, please use another [[version|$:/config/TiddlyWiki-CPL/Netlify]] that is accelerated by netlify.app, although there is a certain delay in updating, but it is more friendly to domestic users more friendly.\\n\\n@@color:red;''Please remember to back up your Wiki before installing any plugins, this plugin source cannot be held responsible for personal losses caused by plugins!''@@\\n\\n\u003C/$list>\\n\u003C/$list>\\n\"},\"$:/config/TiddlyWiki-CPL/Netlify\":{\"title\":\"$:/config/TiddlyWiki-CPL/Netlify\",\"caption\":\"\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\\\" variable=\\\"lang\\\">\u003C$list filter=\\\"[\u003Clang>search:title[zh]]\\\">太微中文社区插件源(大陆加速版)\u003C/$list>\u003C$list filter=\\\"[\u003Clang>!search:title[zh]]\\\">TiddlyWiki CPL(Netlify Host)\u003C/$list>\u003C/$list>\",\"tags\":[\"$:/tags/PluginLibrary\",\"$:/tags/PluginLibrary/CPL\"],\"type\":\"text/vnd.tiddlywiki\",\"url\":\"https://tw-cpl.netlify.app/library/index.html\",\"text\":\"\u003C!-- lang变量就是当前语言 -->\\n\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\\\" variable=\\\"lang\\\">\\n\u003C$list filter=\\\"[\u003Clang>search:title[zh]]\\\" variable=\\\"lang\\\">\\n\\n欢迎使用''【太微中文社区插件源】''!\\n\\n本插件源是由[[太微(TiddlyWiki)中文社区|https://github.com/tiddly-gittly]]维护的、致力于搜集网络上所有与 ~TiddlyWiki5 有关插件的、希望为中国以及全世界的太微用户提供一键安装、更新插件体验的公开插件源。\\n\\n如果还不了解该如何使用太微和本插件源,欢迎阅读[[中文社区共建的太微(TiddlyWiki)教程|https://tw-cn.netlify.app]]里插件相关的部分。如上提到的插件源和教程皆为开源项目,你可以在 [[GitHub|https://github.com/tiddly-gittly]] 中找到并参与贡献!如果乐意,可以通过QQ群等方式加入我们,详情请见如上提到的中文教程。\\n\\n要添加这个插件库到你的 Wiki 中,只需鼠标拖动这个链接到你的 Wiki 里即可:\u003C$link to=\u003C\u003CcurrentTiddler>>>{{!!caption}}\u003C/$link>\\n\\n注意:本插件源版本为经过 netlify.app 加速的版本,对国内用户更加友好,但是更新有一定的延迟。还提供另一版本,是直接使用 ~GitHub Page 服务器的版本,更新更快,但是可能需要科学上网手段。\\n\\n@@color:red;''安装任何插件前,请记得备份你的Wiki,本插件源无法为插件造成的个人损失负责!''@@\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Clang>!search:title[zh]]\\\" variable=\\\"lang\\\">\\n\\nWelcome to the ''[TiddlyWiki Chinese Community Plugin Source]''!\\n\\nThis plugin source is maintained by the [[TiddlyWiki Chinese Community]] and is dedicated to collecting all TiddlyWiki5 related plugins on the web, hoping to provide a one-click installation and update plugin experience for TiddlyWiki users in China and around the world.\\n\\nIf you don't know how to use TiddlyWiki and this source, you are welcome to read the plugins related section in the [[TiddlyWiki Tutorials for Chinese Communities|https://tw-cn.netlify.app]]. As mentioned above, both the plugin source and the tutorial are open source projects, you can find them in [[GitHub|https://github.com/tiddly-gittly]] and participate in contributing! If you like, you can join us through QQ groups and other means, see the Chinese tutorials mentioned above for details.\\n\\nTo add this plugin library to your Wiki, just drag this link with your mouse into your Wiki: \u003C$link to=\u003C\u003CcurrentTiddler>>>{{!!caption}}\u003C/$link>\\n\\nNote: The source version of this plugin is a version accelerated by netlify.app, which is more friendly to China mainland users, but there is a delay in updating. There is also another version that uses the GitHub Page server directly, which is faster to update, but may require technology to overturn the GFW.\\n\\n@@color:red;''Please remember to back up your Wiki before installing any plugins, this plugin source cannot be held responsible for personal losses caused by plugins!''@@\\n\\n\u003C/$list>\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/about-banner\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/about-banner\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]\\\" variable=\\\"chinese\\\">\\n\u003Cdiv style=\\\"padding: 26px 16px;background: #1f5ea3;border-left: 5px solid #acc8d4;display:inline-block;background-image: linear-gradient(45deg, #1f5ea3, #1f71a3);\\\">\\n\u003Cdiv style=\\\"\\n font-size: 24px;\\n line-height: 1em;\\n font-weight: 750;\\n user-select: none;\\n color: white;\\n\\\">\u003C$text text={{{ [\u003Cchinese>match[yes]then[加入我们, 共建设社区生态!]else[Join us in building a community ecology!]] }}}/>\u003C/div>\\n\u003Cdiv class=\\\"cpl-banner-button-group\\\" style=\\\"\\n margin-top: 14px;\\n display: flex;\\n align-items: center;\\n justify-content: flex-start;\\n flex-wrap: wrap;\\n\\\">\\n\u003Ca href=\\\"https://tw-cpl.netlify.app\\\" target=\\\"_blank\\\" style=\\\"\\n text-decoration: none;\\n color: white;\\n fill: white;\\n background: #4CAF50;\\n padding: 6px 10px;\\n border-radius: 6px;\\n background-image: linear-gradient(45deg, #4CAF50, #009688);\\n border: 1px solid #93c955;\\n font-weight: 600;\\n user-select: none;\\n display: flex;\\n align-items: center;\\n\\\">{{$:/core/images/link}} \u003C$text text={{{ [\u003Cchinese>match[yes]then[CPL 官网]else[CPL website]] }}}/>\u003C/a>\\n\u003Ca href=\\\"https://github.com/tiddly-gittly/TiddlyWiki-CPL\\\" target=\\\"_blank\\\" style=\\\"\\n text-decoration: none;\\n color: white;\\n fill: white;\\n background: #673AB7;\\n padding: 6px 10px;\\n border-radius: 6px;\\n background-image: linear-gradient(145deg, #673AB7, #3F51B5);\\n border: 1px solid #5020a6;\\n font-weight: 600;\\n user-select: none;\\n display: flex;\\n align-items: center;\\n margin-left: 4px;\\n\\\">{{$:/core/images/github}} \u003C$text text={{{ [\u003Cchinese>match[yes]then[CPL 仓库源码]else[CPL repository]] }}}/>\u003C/a>\\n\u003C$list filter=\\\"[\u003Cchinese>match[yes]]\\\">\\n\u003Cspan style=\\\"\\n text-decoration: none;\\n color: white;\\n fill: white;\\n background: #805f54;\\n padding: 6px 10px;\\n border-radius: 6px;\\n background-image: linear-gradient(145deg, #6c8a99, #5288a1);\\n border: 1px solid #26414d;\\n font-weight: 600;\\n display: flex;\\n align-items: center;\\n margin-left: 4px;\\n\\\">{{$:/core/images/plugin-generic-language}} QQ交流群: 946052860\u003C/span>\\n\u003Ca href=\\\"https://tw-cn.netlify.app\\\" target=\\\"_blank\\\" style=\\\"\\n text-decoration: none;\\n color: white;\\n fill: white;\\n background: #E91E63;\\n padding: 6px 10px;\\n border-radius: 6px;\\n background-image: linear-gradient(300deg, #E91E63, #f45b2a);\\n border: 1px solid #c4b67f;\\n font-weight: 600;\\n user-select: none;\\n display: flex;\\n align-items: center;\\n margin-left: 4px;\\n\\\">{{$:/core/images/home-button}} 更多精彩,尽在太微中文\u003C/a>\\n\u003C/$list>\\n\u003C/div>\\n\u003Cdiv style=\\\"margin-top: 10px;font-weight: 700;user-select: none; color: whire; opacity: 0.85;\\\">\u003C$text text={{{ [\u003Cchinese>match[yes]then[欢迎任何人在CPL仓库贡献更多插件!]else[Anyone is welcome to contribute more plugins to the CPL repository!]] }}}/>\u003C/div>\\n\u003C/div>\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/category-gallery\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/category-gallery\",\"caption\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[分类]else[Categories]] }}} />\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$macrocall\\n\\t$name=\\\"tabs\\\"\\n\\tstate=\\\"$:/temp/CPL-Repo/category-gallery-tab-state\\\"\\n\\ttabsList=\\\"[{$:/temp/CPL-Repo/categories}jsonindexes[]]\\\"\\n\\tdefault={{{ [{$:/temp/CPL-Repo/categories}jsonindexes[]first[]] }}}\\n\\ttemplate=\\\"$:/plugins/Gk0Wk/CPL-Repo/category-tab-container-template\\\"\\n\\tbuttonTemplate=\\\"$:/plugins/Gk0Wk/CPL-Repo/category-tab-button-template\\\"\\n/>\"},\"$:/plugins/Gk0Wk/CPL-Repo/category-tab-button-template\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/category-tab-button-template\",\"code-body\":\"yes\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]] :then[\u003CcurrentTab>addprefix[$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/]get[text]else[?]] :else[\u003CcurrentTab>else[Unknown]else[?]] }}} />\"},\"$:/plugins/Gk0Wk/CPL-Repo/category-tab-container-template\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/category-tab-container-template\",\"code-body\":\"yes\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import $:/plugins/Gk0Wk/CPL-Repo/plugin-list-item\\n\\\\import $:/plugins/Gk0Wk/CPL-Repo/plugin-size\\n\\\\import $:/plugins/Gk0Wk/CPL-Repo/paged-plugin-list\\n\\n\u003C\u003Cpaged-plugin-list filter:\\\"[{$:/temp/CPL-Repo/categories}jsonget\u003CcurrentTab>]\\\" field:\\\"category-gallery\\\" class1:\\\"cpl-plugin-info-box\\\" class2:\\\"cpl-paged-plugin-list-control\\\">>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/config/current-repo\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/config/current-repo\",\"text\":\"https://tw-cpl.netlify.app/repo\"},\"$:/plugins/Gk0Wk/CPL-Repo/config/popup-readme-at-startup-threshold\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/config/popup-readme-at-startup-threshold\",\"text\":\"1\"},\"$:/plugins/Gk0Wk/CPL-Repo/config/repos\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/config/repos\",\"text\":\"https://tw-cpl.netlify.app/repo https://tiddly-gittly.github.io/TiddlyWiki-CPL/repo\"},\"$:/plugins/Gk0Wk/CPL-Repo/config/update-filter\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/config/update-filter\",\"text\":\"[has[plugin-type]] -[prefix[$:/plugins/tiddlywiki/]] -[prefix[$:/themes/tiddlywiki/]] -[prefix[$:/languages/]] -[prefix[$:/temp/]] -[[$:/core]]\"},\"$:/plugins/Gk0Wk/CPL-Repo/core.js\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/core.js\",\"text\":\"(function () {\\n\\\"use strict\\\";\\n\\nexports.name = \\\"cpl-repo-init\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"render\\\"];\\nexports.synchronous = true;\\n\\n/**\\n * CPL通信接口,往返,异步\\n * const result = await globalThis.__tiddlywiki_cpl__('类型', { ... });\\n */\\nvar messagerPromise;\\nvar previousEntry;\\nvar cpl = function (type, payload) {\\n\\tvar entry = $tw.wiki.getTiddlerText('$:/plugins/Gk0Wk/CPL-Repo/config/current-repo', 'https://tiddly-gittly.github.io/TiddlyWiki-CPL/repo');\\n\\tif (previousEntry !== entry && globalThis.__tiddlywiki_cpl__reset__ !== undefined) globalThis.__tiddlywiki_cpl__reset__();\\n\\tpreviousEntry = entry;\\n if (messagerPromise === undefined) messagerPromise = new Promise(function (rrr) {\\n var counter = 0;\\n var callbackMap = new Map();\\n var iframe = $tw.utils.domMaker(\\\"iframe\\\", {\\n document,\\n attributes: { src: entry },\\n style: { display: \\\"none\\\" },\\n });\\n function ccc(e) {\\n //console.log('\u003C=', e.data);\\n if (iframe.contentWindow === null || e.source !== iframe.contentWindow)\\n return;\\n if (e.data.target !== \\\"tiddlywiki-cpl\\\" || e.data.token === undefined)\\n return;\\n switch (e.data.type) {\\n case \\\"Ready\\\": {\\n if (counter === 0) {\\n counter++;\\n rrr(function (type, payload) {\\n return new Promise(function (resolve, reject) {\\n var token = counter++;\\n callbackMap.set(token, [resolve, reject]);\\n //console.log('=>', { type, token, target: \\\"tiddlywiki-cpl\\\", ...payload });\\n iframe.contentWindow.postMessage(\\n Object.assign({}, payload, {\\n type: type,\\n token: token,\\n target: \\\"tiddlywiki-cpl\\\",\\n }),\\n \\\"*\\\"\\n );\\n });\\n });\\n }\\n break;\\n }\\n default: {\\n var r = callbackMap.get(e.data.token);\\n if (r !== undefined) {\\n callbackMap.delete(e.data.token);\\n r[e.data.success ? 0 : 1](e.data.payload);\\n }\\n break;\\n }\\n }\\n }\\n window.addEventListener(\\\"message\\\", ccc);\\n document.body.appendChild(iframe);\\n globalThis.__tiddlywiki_cpl__reset__ = function () {\\n delete globalThis.__tiddlywiki_cpl__reset__;\\n messagerPromise = undefined;\\n window.removeEventListener(\\\"message\\\", ccc);\\n iframe.parentNode.removeChild(iframe);\\n callbackMap.forEach((r) => {\\n r[1]();\\n });\\n };\\n });\\n return messagerPromise.then(function (r) { return r(type, payload) });\\n};\\n\\nfunction getAutoUpdateTime() {\\n\\treturn parseInt($tw.wiki.getTiddlerText('$:/plugins/Gk0Wk/CPL-Repo/config/auto-update-intervals-minutes', '-1')) || -1;\\n}\\n\\n// 自动更新服务、各种消息通信\\nexports.startup = function () {\\n globalThis.__tiddlywiki_cpl__ = cpl;\\n\\t// 检测更新\\n\\tvar lastUpdateTime = -1;\\n var updateLock = false;\\n\\tfunction update(notify) {\\n try {\\n if (updateLock) return;\\n updateLock = true;\\n lastUpdateTime = Date.now();\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/updaing', text: 'yes' });\\n // filter 和 网络请求并发一下\\n var updateP = cpl('Update');\\n // 根据条件筛选插件\\n var plugins = $tw.wiki.filterTiddlers($tw.wiki.getTiddlerText('$:/plugins/Gk0Wk/CPL-Repo/config/update-filter'));\\n var t = [];\\n updateP.then(function (text) {\\n // 统计需要更新的插件\\n var updatePlugins = JSON.parse(text);\\n for (var title of plugins) {\\n var lastestVersion = updatePlugins[title]; // [version, coreVersion]\\n if (lastestVersion === undefined) continue; // 不存在该插件\\n if (lastestVersion[1] && $tw.utils.compareVersions($tw.version, lastestVersion[1].trim()) \u003C 0) continue; // 插件兼容性检查\\n var version = $tw.wiki.getTiddler(title).fields.version;\\n if (version && lastestVersion[0] && $tw.utils.compareVersions(version.trim(), lastestVersion[0].trim()) >= 0) continue; // 插件是否更新\\n t.push(title);\\n }\\n if (t.length > 0) {\\n // 写入临时信息\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/update-plugins', type: 'application/json', text: JSON.stringify(t) });\\n if (notify !== false) {\\n // 暂时修改通知停留时间为 10s\\n var tt = $tw.config.preferences.notificationDuration;\\n $tw.config.preferences.notificationDuration = 10_000;\\n // 弹出通知框\\n $tw.notifier.display(\\\"$:/plugins/Gk0Wk/CPL-Repo/update-notify-template\\\", {\\n variables: { updateCount: t.length },\\n });\\n $tw.config.preferences.notificationDuration = tt;\\n }\\n }\\n $tw.wiki.deleteTiddler('$:/temp/CPL-Repo/updaing');\\n updateLock = false;\\n }).catch(function (err) {\\n console.error(err);\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/updaing', text: String(err) });\\n updateLock = false;\\n });\\n } catch (err) {\\n console.error(err);\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/updaing', text: String(err) });\\n updateLock = false;\\n }\\n\\t}\\n\\n\\t// 监听自动更新策略的更改,调整更新间隔或者开关自动更新\\n\\tvar autoUpdateInterval;\\n\\tvar autoTimeout;\\n\\t$tw.wiki.addEventListener(\\\"change\\\", function (changes) {\\n\\t\\tif($tw.utils.hop(changes, '$:/plugins/Gk0Wk/CPL-Repo/config/auto-update-intervals-minutes')) {\\n var time = getAutoUpdateTime();\\n\\t\\t\\tif (autoUpdateInterval !== undefined) clearInterval(autoUpdateInterval);\\n\\t\\t\\tif (autoTimeout !== undefined) clearTimeout(autoTimeout);\\n\\t\\t\\tautoUpdateInterval = undefined;\\n\\t\\t\\tautoTimeout = undefined;\\n\\t\\t\\tif (time > 0) {\\n\\t\\t\\t\\tautoTimeout = setTimeout(function () {\\n\\t\\t\\t\\t\\tupdate();\\n\\t\\t\\t\\t\\tautoUpdateInterval = setInterval(function () {\\n\\t\\t\\t\\t\\t\\tupdate();\\n\\t\\t\\t\\t\\t}, time * 60_000);\\n\\t\\t\\t\\t}, lastUpdateTime === -1 ? 0 : time * 60_000 + lastUpdateTime - Date.now());\\n\\t\\t\\t}\\n\\t\\t}\\n if($tw.titleWidgetNode.refresh(changes, $tw.titleContainer, null)) {\\n document.title = $tw.titleContainer.textContent;\\n }\\n\\t});\\n\\t// 最初启用\\n\\tautoTimeout = setTimeout(function () {\\n var time = getAutoUpdateTime();\\n\\t\\tif (time > 0) {\\n update();\\n autoUpdateInterval = setInterval(function () {\\n update();\\n }, time * 60_000);\\n }\\n\\t}, 3_000);\\n\\n // 消息监听\\n $tw.rootWidget.addEventListener(\\\"cpl-update-check\\\", function () {\\n update();\\n });\\n var installRequestLock = false;\\n $tw.rootWidget.addEventListener(\\\"cpl-install-plugin-request\\\", function (event) {\\n try {\\n if (installRequestLock) return;\\n var paramObject = event.paramObject || {};\\n var title = paramObject.title;\\n var version = paramObject.version || \\\"latest\\\";\\n if (!title) return;\\n installRequestLock = true;\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/instal-plugin-requesting', text: 'yes', 'plugin-title': title });\\n $tw.notifier.display('$:/plugins/Gk0Wk/CPL-Repo/install-plugin-query-notify', { variables: {} });\\n var existingTitle = new Set(); // 避免环\\n var versionsMap = {};\\n var versionsMapLatest = {};\\n var sizesMap = {};\\n // 递归检查依赖\\n var title_ = title;\\n function recursiveInstallCheck(title) {\\n return new Promise(function (resolve, reject) {\\n cpl('Query', { plugin: title }).then(function (text) {\\n var data = JSON.parse(text);\\n existingTitle.add(title);\\n if (title === title_ && data.versions.indexOf(version) \u003C 0) version = data.latest;\\n versionsMap[title] = data.versions;\\n versionsMapLatest[title] = data.latest;\\n sizesMap[title] = data['versions-size'] || {};\\n var t = new Set();\\n var promisese = [];\\n var subtree = {};\\n\\n // for没有局部作用域,var不是迭代局部的\\n function fuckUpVar(ti) {\\n t.add(ti);\\n if (existingTitle.has(ti)) {\\n subtree[ti] = {};\\n } else {\\n promisese.push(recursiveInstallCheck(ti).then(\\n function (tt) { subtree[ti] = tt; },\\n function (tt) { reject(tt); },\\n ));\\n }\\n }\\n if (data['parent-plugin']) {\\n fuckUpVar(data['parent-plugin']);\\n }\\n for (var ti of $tw.utils.parseStringArray(data.dependents || '')) {\\n if (t.has(ti)) continue;\\n fuckUpVar(ti);\\n }\\n Promise.all(promisese).then(function () {\\n resolve(subtree);\\n });\\n }).catch(function (err) {\\n if (err.startsWith('404')) err = '[404] Cannot find plugin '+ title;\\n reject(err);\\n });\\n });\\n }\\n\\n recursiveInstallCheck(title).then(function (tree) {\\n var f = {};\\n for (var ti of existingTitle) {\\n if (ti === title) continue;\\n f['cpl-plugin#version#' + ti] = versionsMapLatest[ti];\\n f['cpl-plugin#install#' + ti] = $tw.wiki.tiddlerExists(ti) ? \\\"no\\\" : \\\"yes\\\";\\n }\\n f['cpl-plugin#version#' + title] = version;\\n $tw.wiki.addTiddler({\\n title: '$:/temp/CPL-Repo/instal-plugin-request-tree/' + title,\\n type: 'application/json',\\n text: JSON.stringify({ title: title, versions: versionsMap, sizes: sizesMap, tree: tree }),\\n ...f,\\n });\\n $tw.wiki.deleteTiddler('$:/temp/CPL-Repo/instal-plugin-requesting');\\n $tw.modal.display('$:/plugins/Gk0Wk/CPL-Repo/install-plugin-request-model-template', {\\n variables: {\\n requestTiddler: '$:/temp/CPL-Repo/instal-plugin-request-tree/' + title,\\n },\\n event: event,\\n });\\n }).catch(function (err) {\\n console.error(err);\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/instal-plugin-requesting', text: err, 'plugin-title': title });\\n }).finally(function () {\\n installRequestLock = false;\\n });\\n } catch (err) {\\n console.error(err);\\n installRequestLock = false;\\n }\\n });\\n var installLock = false;\\n $tw.rootWidget.addEventListener(\\\"cpl-install-plugin\\\", function (event) {\\n try {\\n if (installLock) return;\\n var paramObject = event.paramObject || {};\\n var response = paramObject.response;\\n if (!$tw.wiki.tiddlerExists(response)) return;\\n var responseTiddler = $tw.wiki.getTiddler(response).fields;\\n $tw.wiki.deleteTiddler(response);\\n var data = JSON.parse(responseTiddler.text);\\n var rootPlugin = data.title;\\n var plugins = [[rootPlugin, responseTiddler['cpl-plugin#version#'+rootPlugin]]];\\n for (var plugin in data.versions) {\\n if (responseTiddler['cpl-plugin#install#'+plugin] === 'yes' && responseTiddler['cpl-plugin#version#'+plugin]) {\\n plugins.push([plugin, responseTiddler['cpl-plugin#version#'+plugin]]);\\n }\\n }\\n var total = plugins.length;\\n var count = 0;\\n installLock=true;\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/installing-plugin', text: 'yes', 'plugin-title': rootPlugin });\\n Promise.all(plugins.map(function (t) {\\n return cpl('Install', { plugin: t[0], version: t[1] }).then(function (text) {\\n $tw.notifier.display('$:/plugins/Gk0Wk/CPL-Repo/downloading-notify', {\\n variables: { plugin: t[0], count: ++count, total: total },\\n });\\n return new $tw.Tiddler($tw.utils.parseJSONSafe(text));\\n });\\n })).then(function (tiddlers) {\\n $tw.wiki.deleteTiddler('$:/temp/CPL-Repo/installing-plugin');\\n for (var tiddler of tiddlers) {\\n $tw.wiki.addTiddler(tiddler);\\n }\\n $tw.notifier.display('$:/plugins/Gk0Wk/CPL-Repo/downloading-complete-notify', { variables: {} });\\n }).catch(function (err) {\\n console.error(err);\\n $tw.notifier.display('$:/plugins/Gk0Wk/CPL-Repo/downloading-fail-notify', {\\n variables: { message: err },\\n });\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/installing-plugin', text: err, 'plugin-title': rootPlugin });\\n }).finally(function () {\\n installLock = false;\\n });\\n } catch (e) {\\n console.error(e);\\n installLock = false;\\n }\\n });\\n var tmpIndex;\\n var tmpAllPlugins;\\n var tmpCategories;\\n var getPluginsIndexLock = false;\\n $tw.rootWidget.addEventListener(\\\"cpl-get-plugins-index\\\", function () {\\n try {\\n if (getPluginsIndexLock) return;\\n getPluginsIndexLock = true;\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/getting-plugins-index', text: 'yes' });\\n cpl('Index').then(function (text) {\\n var data = JSON.parse(text);\\n var pluginMap = {};\\n var categories = {};\\n var authors = {};\\n var allPlugins = [];\\n var allTags = new Set();\\n for (var p of data) {\\n pluginMap[p.title] = p;\\n allPlugins.push(p.title);\\n if (p.category && p.category !== 'Unknown') {\\n if (categories[p.category] === undefined) categories[p.category] = [];\\n categories[p.category].push(p.title);\\n }\\n if (p.author) {\\n if (authors[p.author] === undefined) authors[p.author] = [];\\n authors[p.author].push(p.title);\\n }\\n if (!p.title.startsWith('$:/languages') && p.title.split('/').length === 4) {\\n var a = p.title.split('/')[2];\\n if (a !== p.author) {\\n if (authors[a] === undefined) authors[a] = [];\\n authors[a].push(p.title);\\n }\\n }\\n if (p.tags) {\\n for (var tag of $tw.utils.parseStringArray(p.tags)) {\\n allTags.add(tag);\\n }\\n }\\n }\\n tmpIndex = data;\\n tmpAllPlugins = allPlugins;\\n tmpCategories = categories;\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/plugins-index', text: JSON.stringify(pluginMap), type: 'application/json' });\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/categories', text: JSON.stringify(categories), type: 'application/json' });\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/authors', text: JSON.stringify(authors), type: 'application/json' });\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/tags', text: JSON.stringify(Array.from(allTags)), type: 'application/json' });\\n $tw.wiki.deleteTiddler('$:/temp/CPL-Repo/getting-plugins-index');\\n }).catch(function (err) {\\n console.error(err);\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/getting-plugins-index', text: err });\\n }).finally(function () {\\n getPluginsIndexLock = false;\\n });\\n } catch (err) {\\n console.error(err);\\n getPluginsIndexLock = false;\\n }\\n });\\n var queryPluginLocks = new Set();\\n $tw.rootWidget.addEventListener(\\\"cpl-query-plugin\\\", function (event) {\\n try {\\n var paramObject = event.paramObject || {};\\n var title = paramObject.title;\\n if (queryPluginLocks.has(title)) return;\\n if (!title) return;\\n queryPluginLocks.add(title);\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/querying-plugin/' + title, text: 'yes' });\\n cpl('Query', { plugin: title }).then(function (text) {\\n var data = JSON.parse(text);\\n // 计算作者\\n if (!data.author) {\\n if (!data.title.startsWith('$:/languages') && data.title.split('/').length === 4) {\\n data.author = data.title.split('/')[2];\\n }\\n }\\n // 相似推荐\\n var suggestions = [];\\n if (tmpIndex && data.category !== 'Language') {\\n // 基于标签距离进行推荐\\n if (data.tags) {\\n var tags = new Set($tw.utils.parseStringArray(data.tags).map(function (t) { return t.toLowerCase(); }));\\n for (var plugin of tmpIndex) {\\n if (!plugin.tags || plugin.title === title) continue;\\n var weight = 0;\\n for (var t of $tw.utils.parseStringArray(data.tags)) {\\n if (tags.has(t.toLowerCase())) weight++;\\n }\\n if (weight === 0) continue;\\n suggestions.push([plugin.title, weight]);\\n }\\n }\\n // 按照权重排序\\n suggestions.sort(function (a, b) { return b[1] - a[1]; });\\n suggestions = suggestions.slice(0, 20).map(function (t) { return t[0] });\\n // 如果数量不够,用同category\\n if (suggestions.length \u003C 20 && data.category !== '' && data.category !== 'Unknown') {\\n var tset = new Set(suggestions);\\n for (var p of (tmpCategories[data.category] ?? [])) {\\n if (tset.has(p) || p === title) continue;\\n suggestions.push(p);\\n if (suggestions.length >= 20) break;\\n }\\n }\\n }\\n data.suggestions = $tw.utils.stringifyList(suggestions);\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/plugin-info/' + title, text: JSON.stringify(data), type: 'application/json' });\\n $tw.wiki.deleteTiddler('$:/temp/CPL-Repo/querying-plugin/' + title);\\n }).catch(function (err) {\\n console.error(err);\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/querying-plugin/' + title, text: err });\\n }).finally(function () {\\n queryPluginLocks.delete(title);\\n });\\n } catch (err) {\\n console.error(err);\\n if (event.paramObject && event.paramObject.title) queryPluginLocks.delete(event.paramObject.title);\\n }\\n });\\n // 插件查询\\n var searchPluginsLock = false;\\n $tw.rootWidget.addEventListener(\\\"cpl-search-plugins\\\", function (event) {\\n try {\\n if (searchPluginsLock) return;\\n if (tmpAllPlugins === undefined) return;\\n var paramObject = event.paramObject || {};\\n var mode = paramObject.mode ?? '';\\n var text = paramObject.text ?? '';\\n var saveTo = paramObject.saveTo ?? '';\\n if (!saveTo) return;\\n searchPluginsLock = true;\\n switch (mode) {\\n case \\\"mix\\\": {\\n if (text.length \u003C 3) {\\n // 字太少,匹配量爆炸,直接返回所有\\n $tw.wiki.addTiddler({\\n title: saveTo,\\n text: JSON.stringify(tmpAllPlugins),\\n type: 'application/json'\\n });\\n } else {\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/searching-plugin', text: 'yes' });\\n var patterns = new Set(text.split(/\\\\s+/).map(function (t) { return t.toLowerCase(); }));\\n patterns = new Set(Array.from(patterns).slice(0, 10)); // 再多性能撑不住了\\n var suggestions = [];\\n for (var plugin of tmpIndex) {\\n var weight = 0;\\n // 标题、作者、名称的搜索 10 权重\\n for (var f of ['title', 'author', 'name']) {\\n if (plugin[f]) {\\n var t = plugin[f].toLowerCase();\\n for (var pattern of patterns) {\\n if (t.indexOf(pattern) >= 0) weight += 10;\\n }\\n }\\n }\\n // tag 的搜索 5 权重\\n if (plugin.tags) {\\n for (var t of $tw.utils.parseStringArray(plugin.tags)) {\\n if (patterns.has(t.toLowerCase())) weight += 5;\\n }\\n }\\n // description 搜索 2 权重\\n if (plugin.description) {\\n var t = plugin.description.toLowerCase();\\n for (var pattern of patterns) {\\n if (t.indexOf(pattern) >= 0) weight += 2;\\n }\\n }\\n // readme 搜索 1 权重\\n if (plugin.description) {\\n var t = plugin.description;\\n for (var pattern of patterns) {\\n if (t.indexOf(pattern) >= 0) weight += 1;\\n }\\n }\\n if (weight === 0) continue;\\n suggestions.push([plugin.title, weight]);\\n }\\n // 按照权重排序\\n suggestions.sort(function (a, b) { return b[1] - a[1]; });\\n suggestions = suggestions.map(function (t) { return t[0] });\\n $tw.wiki.addTiddler({\\n title: saveTo,\\n text: JSON.stringify(suggestions),\\n type: 'application/json'\\n });\\n $tw.wiki.deleteTiddler('$:/temp/CPL-Repo/searching-plugin');\\n }\\n break;\\n }\\n case \\\"tags\\\": {\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/searching-plugin', text: 'yes' });\\n var tags = new Set($tw.utils.parseStringArray(text).map(function (t) { return t.toLowerCase(); }));\\n var result = [];\\n for (var plugin of tmpIndex) {\\n if (!plugin.tags) continue;\\n var matched = true;\\n for (var t of $tw.utils.parseStringArray(plugin.tags)) {\\n if (tags.has(t.toLowerCase())) continue;\\n matched = false;\\n break;\\n }\\n if (matched) result.push(plugin.title);\\n }\\n $tw.wiki.addTiddler({\\n title: saveTo,\\n text: JSON.stringify(result),\\n type: 'application/json'\\n });\\n $tw.wiki.deleteTiddler('$:/temp/CPL-Repo/searching-plugin');\\n break;\\n }\\n default: {\\n return;\\n }\\n }\\n searchPluginsLock = false;\\n } catch (err) {\\n console.error(err);\\n $tw.wiki.addTiddler({ title: '$:/temp/CPL-Repo/searching-plugin', text: String(err) });\\n searchPluginsLock = false;\\n }\\n });\\n};\\n\\n/*\\n安装插件\\n\u003C$action-sendmessage $message=\\\"cpl-install-plugin\\\" title=\\\"xxx\\\" version=\\\"latest\\\"/>\\n$:/temp/CPL-Repo/installing-plugin 如果为 yes 说明正在安装,请勿进行其他操作 如果不是yes,如果非空说明是错误信息 plugin-title字段是正在安装的插件\\n\\n获取所有插件的索引\\n\u003C$action-sendmessage $message=\\\"cpl-get-plugins-index\\\"/>\\n$:/temp/CPL-Repo/plugins-index 所有信息\\n$:/temp/CPL-Repo/getting-plugins-index 同上\\n\\n查询某个插件的信息\\n\u003C$action-sendmessage $message=\\\"cpl-query-plugin\\\" title=\\\"xxx\\\"/>\\n$:/temp/CPL-Repo/plugin-info/\u003C插件title> 插件的相关信息\\n$:/temp/CPL-Repo/querying-plugin/\u003C插件title> 同上\\n*/\\n})();\\n\",\"module-type\":\"startup\",\"tags\":[],\"type\":\"application/javascript\"},\"$:/plugins/Gk0Wk/CPL-Repo/downloading-complete-notify\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/downloading-complete-notify\",\"code-body\":\"yes\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"!! \u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[安装完成]else[Installation completed]] }}} />\"},\"$:/plugins/Gk0Wk/CPL-Repo/downloading-fail-notify\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/downloading-fail-notify\",\"code-body\":\"yes\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"!! \u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[安装失败]else[Installation failed]] }}} />\\n\\n\u003C\u003Cmessage>>\"},\"$:/plugins/Gk0Wk/CPL-Repo/downloading-notify\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/downloading-notify\",\"code-body\":\"yes\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]\\\" variable=\\\"chinese\\\">\\n\\n\u003C$list filter=\\\"[\u003Cchinese>match[yes]]\\\" variable=\\\"t\\\">\\n\\n!! 请稍候...\\n\\n正在下载第 \u003C\u003Ccount>> 个插件(共 \u003C\u003Ctotal>> 个): \u003C\u003Cplugin>>\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Cchinese>!match[yes]]\\\" variable=\\\"t\\\">\\n\\n!! Please wait...\\n\\nDownloading the \u003C\u003Ccount>> of plugins (total \u003C\u003Ctotal>>): \u003C\u003Cplugin>>\\n\\n\u003C/$list>\\n\\n\u003C/$list>\"},\"$:/plugins/Gk0Wk/CPL-Repo/home-gallery\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/home-gallery\",\"caption\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[首页]else[Home]] }}} />\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import $:/plugins/Gk0Wk/CPL-Repo/plugin-list-item\\n\\\\import $:/plugins/Gk0Wk/CPL-Repo/plugin-size\\n\\\\import $:/plugins/Gk0Wk/CPL-Repo/paged-plugin-list\\n\\\\define go-search()\\n\u003C$action-sendmessage\\n $message=\\\"cpl-search-plugins\\\"\\n mode=\\\"mix\\\"\\n text={{$:/temp/CPL-Repo/searchplugin-home/input}}\\n saveTo=\\\"$:/temp/CPL-Repo/searchplugin-home/result\\\"\\n/>\\n\\\\end\\n\\n\u003Cdiv style=\\\"width:100%;display:flex\\\">\\n\u003Cdiv class=\\\"cpl-plugin-search\\\">\\n\u003C$macrocall\\n $name=\\\"keyboard-driven-input\\\"\\n tiddler=\\\"$:/temp/CPL-Repo/searchplugin-home/input\\\"\\n tag=\\\"input\\\"\\n class=\\\"tc-edit-texteditor tc-popup-handle\\\"\\n focus=\\\"true\\\"\\n filterMinLength=\\\"2\\\"\\n placeholder={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[搜索插件...]else[Search for plugin...]] }}}\\n inputAcceptActions=\u003C\u003Cgo-search>>\\n class=\\\"tc-titlebar tc-edit-texteditor\\\"\\n/>\\n\u003C/div>\\n\u003C$button class=\\\"tc-primary-btn tc-btn-big-green cpl-plugin-search-go\\\" disabled={{$:/temp/CPL-Repo/searching-plugin}}>\\n \u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]] :then[{$:/temp/CPL-Repo/searching-plugin}match[yes]then[搜索中...]else[搜索]] :else[{$:/temp/CPL-Repo/searching-plugin}match[yes]then[Searching...]else[Search]] }}} />\\n \u003C\u003Cgo-search>>\\n\u003C/$button>\\n\u003C/div>\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/searching-plugin]is[tiddler]!field:text[yes]]\\\">\\n\u003Cdiv style=\\\"background:#e91e3db0;color:white;padding:2px 6px;margin:3px 0;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;\\\">\\n\\t\u003C$text text={{{ [\u003Cchinese>match[yes]then[出现了一些问题]else[Some errors occured]] }}}/>: \u003C$text text={{!!text}}/>\\n\u003C/div>\\n\u003C/$list>\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/searchplugin-home/result]is[tiddler]then[yes]else[no]]\\\" variable=\\\"go\\\">\\n\u003C!-- 有搜索结果 -->\\n\u003C$list filter=\\\"[\u003Cgo>match[yes]]\\\" variable=\\\"t\\\">\\n\u003C\u003Cpaged-plugin-list filter:\\\"[{$:/temp/CPL-Repo/searchplugin-home/result}jsonget[]]\\\" field:\\\"home-gallery\\\" class1:\\\"cpl-plugin-info-box\\\" class2:\\\"cpl-paged-plugin-list-control\\\">>\\n\u003C/$list>\\n\u003C!-- 没有搜索结果,展示全部 -->\\n\u003C$list filter=\\\"[\u003Cgo>match[no]]\\\" variable=\\\"t\\\">\\n\u003C\u003Cpaged-plugin-list filter:\\\"[{$:/temp/CPL-Repo/plugins-index}jsonindexes[]!prefix[$:/language]]\\\" field:\\\"home-gallery\\\" class1:\\\"cpl-plugin-info-box\\\" class2:\\\"cpl-paged-plugin-list-control\\\">>\\n\u003C/$list>\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/install-plugin-query-notify\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/install-plugin-query-notify\",\"code-body\":\"yes\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[获取安装信息中,请稍候]else[Getting installation information, please wait]] }}} />\"},\"$:/plugins/Gk0Wk/CPL-Repo/install-plugin-request-model-template\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/install-plugin-request-model-template\",\"code-body\":\"yes\",\"subtitle\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[请确认安装]else[Please Confirm to Install]] }}} />\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import $:/plugins/Gk0Wk/CPL-Repo/plugin-size\\n\\n\\\\define dependents-tree(json,checked-title,versions,sizes)\\n\u003C$list filter=\\\"[\u003C__json__>jsonindexes[]]\\\" variable=\\\"plugin\\\">\\n\u003Cdiv style=\\\"margin-left:1.25em;\\\" class=\\\"cpl-plugin-install-request-dependents-tree\\\">\\n \u003C$let install-field={{{ [[cpl-plugin#install#]addsuffix\u003Cplugin>] }}} version-field={{{ [[cpl-plugin#version#]addsuffix\u003Cplugin>] }}}>\\n \u003Cdiv style=\\\"padding:6px 8px 6px 0;display:flex;align-items:center;justify-content:space-between;\\\">\\n \u003Cspan style=\\\"flex-grow:1;padding-left:1em\\\">\\n ''\u003C$text text=\u003C\u003Cplugin>>/>'' \\n \u003C$let v={{{ [\u003C__checked-title__>get\u003Cversion-field>] }}}>\\n \u003C$macrocall $name=\\\"plugin-size\\\" size={{{ [\u003C__sizes__>jsonget\u003Cplugin>,\u003Cv>else[0]] }}} />\\n \u003C/$let>\\n \u003C/span>\\n \u003Cspan>\\n \u003C$checkbox tiddler=\u003C\u003C__checked-title__>> field=\u003C\u003Cinstall-field>> checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\">\\n \u003C$text text={{{ [\u003C__checked-title__>get\u003Cinstall-field>match[yes]] :then[\u003Cchinese>match[yes]then[即将安装:]else[Will be installed:]] :else[\u003Cchinese>match[yes]then[不会安装]else[Will not be installed]] }}} />\\n \u003C/$checkbox>\\n \u003C$list filter=\\\"[\u003C__checked-title__>get\u003Cinstall-field>match[yes]]\\\" variable=\\\"t\\\">\\n  \\n \u003C$select tiddler=\u003C\u003C__checked-title__>> field=\u003C\u003Cversion-field>>>\\n \u003C$list filter=\\\"[\u003C__versions__>jsonget\u003Cplugin>]\\\" variable=\\\"version\\\">\\n \u003Coption value=\u003C\u003Cversion>>>\u003C$text text=\u003C\u003Cversion>>/>\u003C/option>\\n \u003C/$list>\\n \u003C/$select>\\n \u003C/$list>\\n \u003C/span>\\n \u003C/div>\\n \u003C$macrocall $name=\\\"dependents-tree\\\" json={{{ [\u003C__json__>jsonextract\u003Cplugin>] }}} checked-title=\u003C\u003C__checked-title__>> versions=\u003C\u003C__versions__>> sizes=\u003C\u003C__sizes__>> />\\n \u003C/$let>\\n\u003C/div>\\n\u003C/$list>\\n\\\\end\\n\\n\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]\\\" variable=\\\"chinese\\\">\\n\u003C$let json={{{ [\u003CrequestTiddler>get[text]] }}}>\\n\\n\u003C\u003C\u003C\\n\u003C$let title={{{ [\u003Cjson>jsonget[title]] }}} version-field={{{ [[cpl-plugin#version#]addsuffix\u003Ctitle>] }}}>\\n''\u003C$text text={{{ [\u003Cchinese>match[yes]then[即将安装:]else[To be installed:]] }}}/>''\\n\u003C$text text=\u003C\u003Ctitle>>/>   \\n''\u003C$text text={{{ [\u003Cchinese>match[yes]then[选择版本:]else[Select version:]] }}}/>''\\n\u003C$select tiddler=\u003C\u003CrequestTiddler>> field=\u003C\u003Cversion-field>>>\\n\u003C$list filter=\\\"[\u003Cjson>jsonget[versions],\u003Ctitle>]\\\" variable=\\\"version\\\">\\n\u003Coption value=\u003C\u003Cversion>>>\u003C$text text=\u003C\u003Cversion>>/>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n \\n\u003C$let v={{{ [\u003CrequestTiddler>get\u003Cversion-field>] }}}>\\n\u003C$macrocall $name=\\\"plugin-size\\\" size={{{ [\u003Cjson>jsonget[sizes],\u003Ctitle>,\u003Cv>else[0]] }}} />\\n\u003C/$let>\\n\u003C/$let>\\n\u003C\u003C\u003C\\n\\n\u003C!-- 依赖树 -->\\n\u003C$list filter=\\\"[\u003Cjson>jsonextract[tree]jsonindexes[]count[]compare:integer:gt[0]]\\\" variable=\\\"t\\\">\\n\u003C$list filter=\\\"[\u003Cchinese>match[yes]]\\\" variable=\\\"t\\\">\\n\\n这个插件有一些依赖项,在安装插件之前,将会递归地安装这些插件,如果这些插件没有被成功安装,将会回滚所有安装动作。\\n\\n你可以自行选择安装哪些插件并选择其版本。插件依赖树如下:\\n\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Cchinese>!match[yes]]\\\" variable=\\\"t\\\">\\n\\nThis plugin has some dependencies that will be installed recursively before installing the plugin, and if these plugins are not installed successfully, all installation actions will be rolled back.\\n\\nIt is up to you to choose which plugins to install and select their versions. The plugin dependency tree is as follows:\\n\\n\u003C/$list>\\n\u003C/$list>\\n\u003Cdiv style=\\\"margin-left:-1em;margin-right:6px;\\\">\\n \u003C$macrocall\\n $name=\\\"dependents-tree\\\"\\n json={{{ [\u003Cjson>jsonextract[tree]] }}}\\n checked-title=\u003C\u003CrequestTiddler>>\\n versions={{{ [\u003Cjson>jsonextract[versions]] }}}\\n sizes={{{ [\u003Cjson>jsonextract[sizes]] }}}\\n />\\n\u003C/div>\\n\u003Chr/>\\n\\n\u003C$list filter=\\\"[\u003Cchinese>match[yes]]\\\" variable=\\\"t\\\">\\n\\n注意:虽然 CPL 对安装失败有一定的回滚措施,但是无法避免因插件自身以及插件间相互作用所产生的潜在风险,包括但不限于\\n\\n* 浏览器崩溃;\\n* Wiki 系统受损或数据丢失;\\n* 插件内含恶意脚本的执行造成隐私泄露或系统损坏;\\n\\nCPL [[接受恶意插件举报|https://github.com/tiddly-gittly/TiddlyWiki-CPL/issues]]并将下架这类插件,但 CPL 不能保证其中收录的所有插件均安全可用。如您在安装后出现任何问题造成损失,CPL 无法负责。\\n\\n@@background:#e91e3db0;color:white;padding:4px;''因此,在安装任何插件前,请备份您的Wiki!''@@\\n\\n即便如此,您依然要安装吗?\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Cchinese>!match[yes]]\\\" variable=\\\"t\\\">\\n\\nNote: Although the CPL has some rollback measures for failed installations, it is not immune to the potential risks arising from the plugins themselves and from interactions between plugins, including but not limited to\\n\\n* Browser crashes;\\n* Damage to the Wiki system or loss of data;\\n* Privacy leakage or system damage caused by the execution of malicious scripts contained in the plugin;\\n\\nCPL [[accepts reports of malicious plugins|https://github.com/tiddly-gittly/TiddlyWiki-CPL/issues]] and will take down such plugins, but CPL cannot guarantee that all plugins included are safe and available. However, CPL cannot guarantee that all plugins are safe and available. CPL cannot be held responsible for any damage caused by any problem that occurs after you have installed the plugin.\\n\\n@@background:#e91e3db0;color:white;width:100%;padding:4px;''Therefore, please back up your wiki before installing any plugins!''@@\\n\\nEven so, do you still want to install it?\\n\\n\u003C/$list>\\n\\n\u003C$button class=\\\"tc-btn-big-green tc-primary-btn\\\" message=\\\"tm-close-tiddler\\\">\\n\u003C$action-sendmessage $message=\\\"cpl-install-plugin\\\" response=\u003C\u003CrequestTiddler>> />\\n{{$:/core/images/done-button}}\\n \\n\u003C$text text={{{ [\u003Cchinese>match[yes]then[确认安装]else[Confirm to Install]] }}} />\\n\u003C/$button>\\n\\n\u003C/$let>\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/paged-plugin-list\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/paged-plugin-list\",\"code-body\":\"yes\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define paged-plugin-list-control(class2:\\\"\\\")\\n\\\\whitespace trim\\n\u003C$list filter=\\\"[\u003CpageMin>!match\u003CpageMax>]\\\">\\n\u003Cdiv class=\\\"$class2$\\\">\\n \u003Cdiv>\\n \u003C$list filter=\\\"[\u003Cpage>!match\u003ClastPage>]\\\">\\n \u003C$button setTitle=\u003C\u003CpageState>> setTo=\u003C\u003ClastPage>>>{{$:/core/images/left-arrow}}\u003C/$button>\\n \u003C/$list>\\n \u003C/div>\\n \u003Cspan>\u003C$text text={{{ [\u003Cpage>add[1]] }}}/> / \u003C$text text={{{ [\u003CpageMax>add[1]] }}}/>\u003C/span>\\n \u003Cdiv>\\n \u003C$list filter=\\\"[\u003Cpage>!match\u003CnextPage>]\\\">\\n \u003C$button setTitle=\u003C\u003CpageState>> setTo=\u003C\u003CnextPage>>>{{$:/core/images/right-arrow}}\u003C/$button>\\n \u003C/$list>\\n \u003C/div>\\n\u003C/div>\\n\u003C/$list>\\n\\\\end\\n\\\\define paged-plugin-list(filter,field,pageSize:\\\"10\\\",indexTitle:\\\"$:/temp/CPL-Repo/plugins-index\\\",class1:\\\"\\\",class2:\\\"\\\")\\n\\\\whitespace trim\\n\u003C$let pageSize={{{ [\u003C__pageSize__>min[1]] }}} indexTitle=\u003C\u003C__indexTitle__>> pageState=\u003C\u003Cqualify \\\"$:/temp/CPL-Repo/paged-plugin-list-page\\\">> pluginCount={{{ $filter$ +[count[]] }}}>\\n\u003C$let pageMin=\\\"0\\\" pageMax={{{ [\u003CpluginCount>divide\u003C__pageSize__>ceil[]subtract[1]max[0]] }}}>\\n\u003C$let page={{{ [\u003CpageState>get[text]else\u003CpageMin>] +[max\u003CpageMin>min\u003CpageMax>] }}}>\\n\u003C$let firstIndex={{{ [\u003Cpage>multiply\u003C__pageSize__>] }}} nextPage={{{ [\u003Cpage>add[1]min\u003CpageMax>] }}} lastPage={{{ [\u003Cpage>subtract[1]max\u003CpageMin>] }}}>\\n\u003C\u003Cpaged-plugin-list-control \\\"$class2$\\\">>\\n\u003Cdiv class=\\\"$class1$\\\">\\n \u003C$list filter=\\\"$filter$ +[rest\u003CfirstIndex>first\u003C__pageSize__>]\\\" variable=\\\"plugin\\\">\\n \u003C$macrocall\\n $name=\\\"plugin-list-item\\\"\\n json={{{ [{$:/temp/CPL-Repo/plugins-index}jsonextract\u003Cplugin>] }}}\\n field=\\\"$field$\\\"\\n class=\\\"cpl-plugin-info-box\\\"\\n />\\n \u003C/$list>\\n\u003C/div>\\n\u003C\u003Cpaged-plugin-list-control \\\"$class2$\\\">>\\n\u003C/$let>\\n\u003C/$let>\\n\u003C/$let>\\n\u003C/$let>\\n\\\\end\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/panel\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/panel\",\"caption\":\"CPL\",\"list-after\":\"$:/core/ui/ControlPanel/Plugins\",\"tags\":[\"$:/tags/MoreSideBar\",\"$:/tags/ControlPanel\"],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C!-- 在侧栏不显示 -->\\n\u003C$list filter=\\\"[\u003ClistItem>!match[$:/core/ui/SideBarSegments/tabs]]\\\">\\n{{$:/plugins/Gk0Wk/CPL-Repo/about-banner}}\\n\u003C/$list>\\n\\n\u003C$macrocall\\n\\t$name=\\\"tabs\\\"\\n\\tstate=\\\"$:/temp/CPL-Repo/panel-tab-state\\\"\\n\\ttabsList=\\\"plugin-database uninstall-manager settings +[addprefix[$:/plugins/Gk0Wk/CPL-Repo/]]\\\"\\n\\tdefault=\\\"$:/plugins/Gk0Wk/CPL-Repo/plugin-database\\\"\\n/>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/plugin-database\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/plugin-database\",\"caption\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[插件数据库]else[Plugin Database]] }}} />\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]\\\" variable=\\\"chinese\\\">\\n\\n\u003C$button disabled={{{ [{$:/temp/CPL-Repo/getting-plugins-index}match[yes]else[no]] }}} class=\\\"tc-btn-big-green tc-primary-btn\\\">\\n\u003C$action-sendmessage $message=\\\"cpl-get-plugins-index\\\" />\\n{{$:/core/images/download-button}}\\n \\n\u003C$text text={{{ [[$:/temp/CPL-Repo/plugins-index]is[tiddler]] :then[\u003Cchinese>match[yes]then[刷新数据库]else[Refresh Database]] :else[\u003Cchinese>match[yes]then[加载数据库]else[Load Database]] }}} />\\n\u003C/$button>\\n\\n\u003Cspan style=\\\"opacity:0.5;\\\">\u003C$text text={{{ [\u003Cchinese>match[yes]then[当前镜像]else[Current mirror]] }}}/>: \u003C$text text={{{ [{$:/plugins/Gk0Wk/CPL-Repo/config/current-repo}!is[blank]else[https://tiddly-gittly.github.io/TiddlyWiki-CPL/library/all]] }}} />\u003C/span>\\n\\n\u003C!-- 错误提示 -->\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/getting-plugins-index]is[tiddler]!field:text[yes]]\\\">\\n\u003Cdiv style=\\\"background:#e91e3db0;color:white;padding:2px 6px;margin:3px 0;border-radius:2px;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;\\\">\\n\\t\u003C$text text={{{ [\u003Cchinese>match[yes]then[出现了一些问题]else[Some errors occured]] }}}/>: \u003C$text text={{!!text}}/>\\n\\t\u003C$text text={{{ [\u003Cchinese>match[yes]then[请尝试刷新]else[Please try refreshing]] }}}/>\\n\u003C/div>\\n\u003C/$list>\\n\\n\u003C!-- 加载中提示 -->\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/getting-plugins-index]is[tiddler]field:text[yes]]\\\">\\n\u003Cdiv style=\\\"background:#0005;color:#aaa;padding:2px 6px;margin:3px 0;border-radius:2px;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;\\\">\\n\\t\u003C$text text={{{ [\u003Cchinese>match[yes]then[加载中...]else[Loading...]] }}}/>\\n\u003C/div>\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/plugins-index]is[tiddler]]\\\" variable=\\\"ready\\\">\\n\u003C$macrocall\\n\\t$name=\\\"tabs\\\"\\n\\tstate=\\\"$:/temp/CPL-Repo/plugin-database-tab-state\\\"\\n\\ttabsList=\\\"home-gallery category-gallery tags-gallery update-manager +[addprefix[$:/plugins/Gk0Wk/CPL-Repo/]]\\\"\\n\\tdefault=\\\"$:/plugins/Gk0Wk/CPL-Repo/home-gallery\\\"\\n/>\\n\u003C/$list>\\n\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/plugin-list-item\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/plugin-list-item\",\"code-body\":\"yes\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define tag-plain(text:\\\"\\\",icon:\\\"\\\",color:\\\"\\\",bg:\\\"\\\")\\n\\\\whitespace trim\\n\u003Cspan class=\\\"tc-tag-label\\\" style=\\\"background-color:$bg$;color:$color$;fill:$color$;user-select:none;margin-right:6px;\\\">\\n\\t{{$icon$}}$text$\\n\u003C/span>\\n\\\\end\\n\\n\u003C!-- 安装插件的按钮 -->\\n\\\\define install-plugin-button(plugin,libraryVersion,installedVersion)\\n\\\\whitespace trim\\n\u003Cdiv>\\n \u003C$let libraryVersion=\u003C\u003C__libraryVersion__>> installedVersion=\u003C\u003C__installedVersion__>> plugin=\u003C\u003C__plugin__>>>\\n \u003C$set name=\\\"reinstall-type\\\" value={{{ [\u003ClibraryVersion>compare:version:eq\u003CinstalledVersion>then[tc-reinstall]] [\u003ClibraryVersion>compare:version:gt\u003CinstalledVersion>then[tc-reinstall-upgrade]] [\u003ClibraryVersion>compare:version:lt\u003CinstalledVersion>then[tc-reinstall-downgrade]] }}}>\\n \u003C$button class={{{ [\u003CinstalledVersion>!is[blank]then\u003Creinstall-type>] tc-btn-invisible tc-install-plugin +[join[ ]] }}} disabled={{{ [[$:/temp/CPL-Repo/instal-plugin-requesting]field:text[yes]else[]] [[$:/temp/CPL-Repo/installing-plugin]field:text[yes]else[]] +[unique[]match[yes]limit[1]else[no]] }}}>\\n \u003C$action-sendmessage $message=\\\"cpl-install-plugin-request\\\" title=\u003C\u003Cplugin>> version=\u003C\u003ClibraryVersion>>/>\\n \u003C$list filter=\\\"[[$:/temp/CPL-Repo/instal-plugin-requesting]field:plugin-title\u003Cplugin>]\\\">{{$:/core/images/timestamp-on}}\u003C/$list>\\n \u003C$list filter=\\\"[[$:/temp/CPL-Repo/instal-plugin-requesting]!field:plugin-title\u003Cplugin>]\\\">\\n {{$:/core/images/download-button}}\\n \\n \u003C!-- 根据版本判断安装/升级/降级/重装 -->\\n \u003C$list filter=\\\"[\u003CinstalledVersion>is[blank]]\\\">{{$:/language/ControlPanel/Plugins/Install/Caption}}\u003C/$list>\\n \u003C$list filter=\\\"[\u003CinstalledVersion>!is[blank]]\\\">\\n \u003C$list filter=\\\"[\u003ClibraryVersion>compare:version:gt\u003CinstalledVersion>]\\\">{{$:/language/ControlPanel/Plugins/Update/Caption}}\u003C/$list>\\n \u003C$list filter=\\\"[\u003ClibraryVersion>compare:version:lt\u003CinstalledVersion>]\\\">{{$:/language/ControlPanel/Plugins/Downgrade/Caption}}\u003C/$list>\\n \u003C$list filter=\\\"[\u003ClibraryVersion>compare:version:eq\u003CinstalledVersion>]\\\">{{$:/language/ControlPanel/Plugins/Reinstall/Caption}}\u003C/$list>\\n \u003C/$list>\\n \u003C/$list>\\n \u003C/$button>\\n \u003C/$set>\\n \u003C/$let>\\n\u003C/div>\\n\\\\end\\n\\n\\\\define plugin-list-item(json,field,show-suggestion:\\\"yes\\\",class:\\\"\\\")\\n\\\\whitespace trim\\n\\\\import $:/plugins/Gk0Wk/CPL-Repo/plugin-size\\n\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]\\\" variable=\\\"chinese\\\">\\n\u003Cdiv class=\\\"$class$\\\">\\n\u003C$let json=\u003C\u003C__json__>>>\\n\u003C$let\\n title={{{ [\u003Cjson>jsonget[title]] }}}\\n tags={{{ [\u003Cjson>jsonget[tags]] }}}\\n icon={{{ [\u003Cjson>jsonget[icon]trim[]] }}}\\n type={{{ [\u003Cjson>jsonget[type]else[plugin]] }}}\\n name={{{ [\u003Cjson>jsonget[name]] ~[\u003Cjson>jsonget[title]split[/]last[1]] }}}\\n description={{{ [\u003Cjson>jsonget[description]] }}}\\n version={{{ [\u003Cjson>jsonget[version]] }}}\\n category={{{ [\u003Cjson>jsonget[category]!is[blank]else[Unknown]] }}}\\n installedVersion={{{ [\u003Cjson>jsonget[title]get[version]] }}}\\n detailJsonTitle={{{ $:/temp/CPL-Repo/plugin-info [\u003Cjson>jsonget[title]] +[join[/]] }}}\\n detailJsonStateTitle={{{ $:/temp/CPL-Repo/querying-plugin [\u003Cjson>jsonget[title]] +[join[/]] }}}\\n>\\n\u003C$let popup-state={{{ $:/temp/CPL-Repo/popup-state [\u003C__field__>] [\u003Ctitle>] +[join[/]] }}}>\\n\u003C!-- 插件简介 -->\\n\u003Cdiv class=\\\"tc-plugin-info\\\">\\n \u003C!-- 展开/收起按钮 -->\\n \u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-toggle\\\">\\n \u003C$reveal type=\\\"nomatch\\\" state=\u003C\u003Cpopup-state>> text=\\\"yes\\\">\\n \u003C$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=\u003C\u003Cpopup-state>> setTo=\\\"yes\\\">\\n \u003C$action-sendmessage $message=\\\"cpl-query-plugin\\\" title=\u003C\u003Ctitle>>/>\\n {{$:/core/images/chevron-right}}\\n \u003C/$button>\\n \u003C/$reveal>\\n \u003C$reveal type=\\\"match\\\" state=\u003C\u003Cpopup-state>> text=\\\"yes\\\">\\n \u003C$button class=\\\"tc-btn-invisible tc-btn-dropdown\\\" set=\u003C\u003Cpopup-state>> setTo=\\\"no\\\">\\n {{$:/core/images/chevron-down}}\\n \u003C/$button>\\n \u003C/$reveal>\\n \u003C/div>\\n \u003C!-- 插件图标 -->\\n \u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-icon\\\">\\n \u003C$list filter=\\\"[\u003Cicon>!is[blank]]\\\">\\n \u003Cimg src=\u003C\u003Cicon>>/>\\n \u003C/$list>\\n \u003C$list filter=\\\"[\u003Cicon>is[blank]]\\\">\\n \u003C$transclude tiddler={{{ [[$:/core/images/plugin-generic-]addsuffix\u003Ctype>] }}}/>\\n \u003C/$list>\\n \u003C/div>\\n \u003C!-- 标题,简介,版本,是否安装,标签分类 -->\\n \u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-description\\\">\\n \u003Ch1>\u003Cstrong>\u003C$text text=\u003C\u003Cname>>/>\u003C/strong>: \u003C$text text=\u003C\u003Cdescription>>/>\u003C/h1>\\n \u003Ch2>\u003C$text text=\u003C\u003Ctitle>>/>\u003C/h2>\\n \u003Cdiv>\u003Cem>\u003C$text text=\u003C\u003Cversion>>/>\u003C/em>\u003C/div>\\n \u003Cdiv style=\\\"padding-top:4px;\\\">\\n \u003C$macrocall $name=\\\"tag-plain\\\" text={{{ [\u003Cchinese>match[yes]] :then[\u003Ccategory>addprefix[$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/]get[text]else[未分类]] :else[\u003Ccategory>] }}} icon=\\\"$:/core/images/folder\\\" bg=\\\"#3f51b5\\\" color=\\\"#fff\\\" />\\n \u003C$let bg={{{ [{$:/palette}getindex[tag-background]] }}} color={{{ [{$:/palette}getindex[foreground]] }}}>\\n \u003C$list filter=\\\"[enlist\u003Ctags>]\\\" variable=\\\"tag\\\">\\n \u003C$macrocall $name=\\\"tag-plain\\\" text=\u003C\u003Ctag>> icon=\\\"$:/core/images/tag-button\\\" bg=\u003C\u003Cbg>> color=\u003C\u003Ccolor>> />\\n \u003C/$list>\\n \u003C/$let>\\n \u003C/div>\\n \u003C$list filter=\\\"[\u003CinstalledVersion>!is[blank]]\\\" variable=\\\"t\\\">\\n \u003Cdiv>\u003Cem>{{$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint}}\u003C/em>\u003C/div>\\n \u003C/$list>\\n \u003C$list filter=\\\"[[$:/temp/CPL-Repo/instal-plugin-requesting]is[tiddler]field:plugin-title\u003Cplugin>]\\\">\\n \u003C$list filter=\\\"[{$:/temp/CPL-Repo/instal-plugin-requesting}match[yes]]\\\">\\n \u003Cspan style=\\\"color:#3ed044;font-weight:800;\\\">\u003C$text text={{{ [\u003Cchinese>match[yes]then[安装准备中...]else[Preparing installation...]] }}}/>\u003C/span>\\n \u003C/$list>\\n \u003C$list filter=\\\"[{$:/temp/CPL-Repo/instal-plugin-requesting}!match[yes]]\\\">\\n \u003Cspan style=\\\"color:#fd160e;font-weight:800;\\\">\u003C$text text={{{ [\u003Cchinese>match[yes]then[出错: ]else[Error: ]addsuffix{$:/temp/CPL-Repo/instal-plugin-requesting}] }}}/>\u003C/span>\\n \u003C/$list>\\n \u003C/$list>\\n \u003C$list filter=\\\"[[$:/temp/CPL-Repo/installing-plugin]is[tiddler]field:plugin-title\u003Cplugin>]\\\">\\n \u003C$list filter=\\\"[{$:/temp/CPL-Repo/installing-plugin}match[yes]]\\\">\\n \u003Cspan style=\\\"color:#3ed044;font-weight:800;\\\">\u003C$text text={{{ [\u003Cchinese>match[yes]then[安装中...]else[Installing...]] }}}/>\u003C/span>\\n \u003C/$list>\\n \u003C$list filter=\\\"[{$:/temp/CPL-Repo/installing-plugin}!match[yes]]\\\">\\n \u003Cspan style=\\\"color:#fd160e;font-weight:800;\\\">\u003C$text text={{{ [\u003Cchinese>match[yes]then[出错: ]else[Error: ]addsuffix{$:/temp/CPL-Repo/installing-plugin}] }}}/>\u003C/span>\\n \u003C/$list>\\n \u003C/$list>\\n \u003C/div>\\n \u003C!-- 安装按钮 -->\\n \u003Cdiv class=\\\"tc-plugin-info-chunk tc-plugin-info-buttons\\\">\\n \u003C$macrocall $name=\\\"install-plugin-button\\\" plugin=\u003C\u003Ctitle>> libraryVersion=\u003C\u003Cversion>> installedVersion=\u003C\u003CinstalledVersion>> />\\n \u003C/div>\\n\u003C/div>\\n\u003C!-- 详情 -->\\n\u003C$list filter=\\\"[\u003Cpopup-state>field:text[yes]]\\\">\\n\u003Cdiv class=\\\"tc-plugin-info-dropdown\\\">\\n \u003C!-- 错误提示 -->\\n \u003C$list filter=\\\"[\u003CdetailJsonStateTitle>is[tiddler]!field:text[yes]]\\\">\\n \u003Cdiv style=\\\"background:#e91e3db0;color:white;padding:2px 6px;margin:3px 0;border-radius:2px;backdrop-filter:blur(4px);min-height:100px;display:flex;align-items:center;justify-content:center;\\\">\\n \u003C$text text={{{ [\u003Cchinese>match[yes]then[出现了一些问题]else[Some errors occured]] }}}/>: \u003C$text text={{!!text}}/>\\n \u003C$text text={{{ [\u003Cchinese>match[yes]then[请尝试刷新]else[Please try refreshing]] }}}/>\\n \u003C/div>\\n \u003C/$list>\\n \u003C!-- 加载中提示 -->\\n \u003C$list filter=\\\"[\u003CdetailJsonStateTitle>is[tiddler]field:text[yes]]\\\">\\n \u003Cdiv style=\\\"background:#0005;color:#aaa;padding:2px 6px;margin:3px 0;border-radius:2px;backdrop-filter:blur(4px);min-height:100px;display:flex;align-items:center;justify-content:center;\\\">\\n \u003C$text text={{{ [\u003Cchinese>match[yes]then[加载中...]else[Loading...]] }}}/>\\n \u003C/div>\\n \u003C/$list>\\n \u003C!-- 插件详情 -->\\n \u003C$list filter=\\\"[\u003CdetailJsonStateTitle>!is[tiddler]]\\\" veriable=\\\"t\\\">\\n \u003C$let json={{{ [\u003CdetailJsonTitle>get[text]] }}}>\\n \u003C$let\\n title={{{ [\u003Cjson>jsonget[title]] }}}\\n readme={{{ [\u003Cjson>jsonget[readme]] }}}\\n parent-plugin={{{ [\u003Cjson>jsonget[parent-plugin]] }}}\\n dependents={{{ [\u003Cjson>jsonget[dependents]] }}}\\n latest={{{ [\u003Cjson>jsonget[latest]] }}}\\n author={{{ [\u003Cjson>jsonget[author]] }}}\\n suggestions={{{ [\u003Cjson>jsonget[suggestions]] }}}\\n >\\n \u003C!-- 依赖 -->\\n \u003C$list filter=\\\"[\u003Ctitle>!is[tiddler]]\\\" variable=\\\"ignore\\\">\\n \u003Cdiv style=\\\"background:#e91e3db0;color:white;padding:6px;\\\" class=\\\"cpl-plugin-dependencies\\\">\\n {{$:/language/ControlPanel/Plugins/NotInstalled/Hint}} \\n \u003C$list filter=\\\"[enlist\u003Cdependents>] [\u003Cparent-plugin>] +[unique[]!is[blank]!is[tiddler]limit[1]]\\\" variable=\\\"ignore\\\">\\n \u003Cdiv>\\n {{$:/language/ControlPanel/Plugins/AlsoRequires}} \\n \u003C$list filter=\\\"[enlist\u003Cdependents>] [\u003Cparent-plugin>] +[unique[]!is[blank]!is[tiddler]sort[name]]\\\" variable=\\\"dependency\\\">\\n \u003Cspan style=\\\"border-radius:12px;padding:3px 8px;background:#1c3b40c2;font-size:12px;line-height:24px\\\">\u003C$text text=\u003C\u003Cdependency>>/>\u003C/span> \\n \u003C/$list>\\n \u003C/div>\\n \u003C/$list>\\n \u003C/div>\\n \u003C/$list>\\n \u003C!-- 历史版本 -->\\n \u003C$list filter=\\\"[\u003Cjson>jsonget[versions]count[]compare:integer:gt[1]]\\\" variable=\\\"t\\\">\\n \u003Cdetails class=\\\"more-versions-details\\\">\\n \u003Csummary style=\\\"background:#246b84;padding:4px 10px;cursor:pointer;user-select:none;\\\">\\n \u003C$text text={{{ [\u003Cchinese>match[yes]then[浏览其他历史版本]else[Browse older versions]] }}}/>\\n \u003C/summary>\\n \u003C$list filter=\\\"[\u003Cjson>jsonget[versions]reverse[]]\\\" variable=\\\"version\\\">\\n \u003Cdiv style=\\\"background:#1a4655;padding:4px 12px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-top:1px solid #15333c;\\\">\\n \u003Cspan>\\n \u003Cspan style=\\\"color: white;\\\">\u003C\u003Cversion>>\u003C/span>\\n \u003Cspan style=\\\"opacity: 0.8;\\\"> (\u003C$macrocall $name=\\\"plugin-size\\\" size={{{ [\u003Cjson>jsonget[versions-size],\u003Cversion>else[0]] }}} />)\u003C/span>\\n \u003C$list filter=\\\"[\u003Clatest>compare:version:eq\u003Cversion>]\\\"> \u003Cspan class=\\\"cpl-latest-version-icon\\\">{{$:/core/images/star-filled}}\u003C/span>\u003C/$list>\\n \u003C$list filter=\\\"[\u003CinstalledVersion>compare:version:eq\u003Cversion>]\\\"> \u003Cspan class=\\\"cpl-installed-version-icon\\\">{{$:/core/images/done-button}}\u003C/span>\u003C/$list>\\n \u003C/span>\\n \u003Cdiv style=\\\"font-size:0.8em;line-height:1.2;\\\">\u003C$macrocall $name=\\\"install-plugin-button\\\" plugin=\u003C\u003Ctitle>> libraryVersion=\u003C\u003Cversion>> installedVersion=\u003C\u003CinstalledVersion>> />\u003C/div>\\n \u003C/div>\\n \u003C/$list>\\n \u003C/details>\\n \u003C/$list>\\n \u003C!-- 正文 -->\\n \u003Cdiv class=\\\"tc-plugin-info-dropdown-body\\\">\\n \u003C$wikify name=\\\"rendered\\\" text=\u003C\u003Creadme>> output=\\\"html\\\">\u003C\u003Crendered>>\u003C/$wikify>\\n \u003C/div>\\n \u003C!-- 推荐 -->\\n \u003C$list filter=\\\"[\u003C__show-suggestion__>match[yes]]\\\" variable=\\\"t\\\">\\n \u003Cdiv style=\\\"padding:10px 20px;backdrop-filter:contrast(1.1);\\\">\\n \u003C!-- 作者的其他插件 -->\\n \u003C$list filter=\\\"[{$:/temp/CPL-Repo/authors}jsonget\u003Cauthor>count[]compare:integer:gt[1]]\\\" variable=\\\"t\\\">\\n \u003Cdetails>\\n \u003Csummary style=\\\"padding:10px 0;\\\">\\n \u003C$text text={{{ [\u003Cchinese>match[yes]then[作者的其他插件]else[Other plugins of Author]] }}} />\\n \u003C/summary>\\n \u003Cdiv style=\\\"padding:6px;display:flex;flex-direction:column;\\\">\\n \u003C$list filter=\\\"[{$:/temp/CPL-Repo/authors}jsonget\u003Cauthor>] -[\u003Ctitle>]\\\" variable=\\\"plugin\\\">\\n \u003C$macrocall\\n $name=\\\"plugin-list-item\\\"\\n json={{{ [{$:/temp/CPL-Repo/plugins-index}jsonextract\u003Cplugin>] }}}\\n field=\\\"$field$-author-suggestion\\\"\\n show-suggestion=\\\"no\\\"\\n class=\\\"cpl-plugin-info-box\\\"\\n />\\n \u003C/$list>\\n \u003C/div>\\n \u003C/details>\\n \u003C/$list>\\n \u003C!-- 插件推荐 -->\\n \u003C$list filter=\\\"[enlist\u003Csuggestions>count[]compare:integer:gt[1]]\\\" variable=\\\"t\\\">\\n \u003Cdetails>\\n \u003Csummary style=\\\"padding:10px 0;\\\">\\n \u003C$text text={{{ [\u003Cchinese>match[yes]then[你可能感兴趣的插件]else[Plugins you may be interested in]] }}} />\\n \u003C/summary>\\n \u003Cdiv style=\\\"padding:6px;display:flex;flex-direction:column;\\\">\\n \u003C$list filter=\\\"[enlist\u003Csuggestions>]\\\" variable=\\\"plugin\\\">\\n \u003C$macrocall\\n $name=\\\"plugin-list-item\\\"\\n json={{{ [{$:/temp/CPL-Repo/plugins-index}jsonextract\u003Cplugin>] }}}\\n field=\\\"$field$-author-suggestion\\\"\\n show-suggestion=\\\"no\\\"\\n class=\\\"cpl-plugin-info-box\\\"\\n />\\n \u003C/$list>\\n \u003C/div>\\n \u003C/details>\\n \u003C/$list>\\n \u003C/div>\\n \u003C/$list>\\n \u003C/$let>\\n \u003C/$let>\\n \u003C/$list>\\n\u003C/div>\\n\u003C/$list>\\n\u003C/$let>\\n\u003C/$let>\\n\u003C/$let>\\n\u003C/div>\\n\u003C/$list>\\n\\\\end\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/plugin-size\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/plugin-size\",\"code-body\":\"yes\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define plugin-size(size:\\\"0\\\")\\n\u003C$list filter=\\\"[\u003C__size__>compare:integer:gt[0]]\\\" variable=\\\"size\\\" emptyMessage=\\\"?\\\">\\n\u003C$let unit-step={{{ [\u003Csize>compare:integer:gteq[1048576]] :then[\u003Csize>compare:integer:gteq[1073741824]then[GiB#1073741824]else[MiB#1048576]] :else[\u003Csize>compare:integer:gteq[1024]then[KiB#1024]else[B#1]] }}}>\\n\u003C$let unit={{{ [\u003Cunit-step>split[#]first[]] }}} step={{{ [\u003Cunit-step>split[#]last[]] }}}>\\n\u003C$text text={{{ [\u003Csize>divide\u003Cstep>fixed[2]] [\u003Cunit>] +[join[ ]] }}}/>\\n\u003C/$let>\\n\u003C/$let>\\n\u003C/$list>\\n\\\\end\"},\"$:/plugins/Gk0Wk/CPL-Repo/plugin-uninstall-plugins-item\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/plugin-uninstall-plugins-item\",\"code-body\":\"yes\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\whitespace trim\\n\u003C$list filter=\\\"[!has[draft.of]plugin-type\u003CcurrentTab>sort[name]]\\\" emptyMessage={{$:/language/ControlPanel/Plugins/Empty/Hint}}>\\n\u003Cdiv style=\\\"display:flex;margin:-0.5em 0;\\\">\\n\\t\u003Cdiv style=\\\"flex-grow:1;\\\">{{||$:/core/ui/PluginListItemTemplate}}\u003C/div>\\n\\t\u003C$button style=\\\"backdrop-filter:contrast(0.65);margin:0.5em 0;padding:4px 16px !important;cursor:pointer;background-color:#d7074ebd !important;border:none !important;\\\">\\n\\t\\t{{$:/core/images/delete-button}}\\n\\t\\t\u003C$action-sendmessage $message=\\\"tm-modal\\\" $param=\\\"$:/plugins/Gk0Wk/CPL-Repo/uninstall-plugin-model-template\\\" plugin=\u003C\u003CcurrentTiddler>>/>\\n\\t\u003C/$button>\\n\u003C/div>\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Beautify\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Beautify\",\"text\":\"美化\"},\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Developing\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Developing\",\"text\":\"开发工具\"},\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Fun\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Fun\",\"text\":\"趣味\"},\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Functional\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Functional\",\"text\":\"功能性\"},\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Language\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Language\",\"text\":\"多语言\"},\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Showcase\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Showcase\",\"text\":\"演示\"},\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Unknown\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Unknown\",\"text\":\"未分类\"},\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Visualization\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/PluginCategory/Visualization\",\"text\":\"可视化\"},\"$:/plugins/Gk0Wk/CPL-Repo/popup-readme\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/popup-readme\",\"subtitle\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[CPL 使用须知]else[Note to use CPL]] }}}/>\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]\\\" variable=\\\"chinese\\\">\\n\\n\u003C$checkbox\\n tiddler=\\\"$:/plugins/Gk0Wk/CPL-Repo/config/popup-readme-at-startup\\\"\\n field=\\\"text\\\"\\n checked={{$:/plugins/Gk0Wk/CPL-Repo/config/popup-readme-at-startup-threshold}}\\n unchecked=\\\"0\\\"\\n default=\\\"0\\\">\\n \u003C$text text={{{ [\u003Cchinese>match[yes]then[不再弹出该消息]else[No longer pops up this message]] }}}/>\\n\u003C/$checkbox>\\n\\n{{$:/plugins/Gk0Wk/CPL-Repo/readme}}\\n\\n\u003C$list filter=\\\"[\u003Cchinese>match[yes]]\\\">\\n\\nCPL 的各项功能需要连接互联网、从插件数据库的静态资源网站下载 JSON 文件来实现。CPL 只会从网站上下载数据,不会将你的数据上传。\\n\\n未来 CPL 可能添加插件投票和下载量统计功能,如添加这些功能,会先征得你的同意。你将来可以随时关闭这类功能。\\n\\n你可以在这里查看 CPL 插件的逻辑代码: [[$:/plugins/Gk0Wk/CPL-Repo/core.js]]\\n\\nCPL 当前尚未开启自动更新检测功能,如需开启,请手动前往设置页面启动:\u003C$button>设置\u003C$action-sendmessage $message=\\\"tm-modal\\\" $param=\\\"$:/plugins/Gk0Wk/CPL-Repo/settings\\\" />\u003C/$button>\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Cchinese>match[no]]\\\">\\n\\nThe functions of the CPL require an Internet connection to download JSON files from the plug-in database's static resource site for implementation. The CPL will only download data from the site, it will not upload your data.\\n\\nIn the future, CPL may add plugin polling and download statistics, and will ask for your permission to add these features. You can disable these features at any time in the future.\\n\\nYou can view the logic code of the CPL plugin here: [[$:/plugins/Gk0Wk/CPL-Repo/core.js]]\\n\\nCPL has not yet enabled the automatic update detection function, if you want to enable it, please go to the settings page manually to start it: \u003C$button>Settings\u003C$action-sendmessage $message=\\\"tm-modal\\\" $param=\\\"$:/plugins/Gk0Wk/CPL-Repo/settings\\\" />\u003C/$button>\\n\\n\u003C/$list>\\n\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/popup-readme-at-startup\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/popup-readme-at-startup\",\"code-body\":\"yes\",\"tags\":[\"$:/tags/StartupAction/PostRender\"],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$list filter=\\\"[{$:/plugins/Gk0Wk/CPL-Repo/config/popup-readme-at-startup}!is[blank]else[0]compare:integer:lt{$:/plugins/Gk0Wk/CPL-Repo/config/popup-readme-at-startup-threshold}]\\\">\\n\u003C$action-sendmessage $message=\\\"tm-modal\\\" $param=\\\"$:/plugins/Gk0Wk/CPL-Repo/popup-readme\\\" />\\n\u003C/$list>\"},\"$:/plugins/Gk0Wk/CPL-Repo/readme\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/readme\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003Cdiv style=\\\"display:flex;justify-content:center;\\\">\\n{{$:/plugins/Gk0Wk/CPL-Repo/about-banner}}\\n\u003C/div>\\n\\n\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]\\\" variable=\\\"chinese\\\">\\n\\n\u003C$list filter=\\\"[\u003Cchinese>match[yes]]\\\">\\n\\n> 好用到哭,装就完了!\\n\\n!! 欢迎使用 CPL!\\n\\n使用 TW 这么久,你还在为四处寻觅好用的插件而发愁吗?还在为管理一大堆插件的更新、处理插件的依赖而苦恼吗?你还在为查找插件的用法而翻遍全网吗?你是否希望安装一个插件的某个历史版本,而非最新版本?\\n\\n如果你是插件的作者,你是否还在苦恼如何推广自己的插件,如何让用户及时获得最新的版本呢?\\n\\n你是否希望 TW 能像其他现代笔记软件一样,能够一键管理所有插件,能够更傻瓜化地查找和安装插件,甚至主动为你推广插件。是否希望 TW 能够帮助你自动保持插件的最新?\\n\\n这一切,在 CPL 得以实现!\\n\\n---\\n\\nCPL 是由[[太微(TiddlyWiki)中文社区|https://github.com/tiddly-gittly]]维护的、致力于搜集网络上所有与 \u003C$text text={{{ TiddlyWiki5 }}}/> 有关插件的、希望为中国以及全世界的太微用户提供一键安装、更新插件体验的插件聚合中心。\\n\\n本插件有如下特点:\\n\\n* 聚合各种 TW 插件并保持最新当前 500+;\\n* 在你的 Wiki 中搜索各种插件,提供关键词、分类和标签搜索;\\n* 自动检查插件更新;\\n* 安装插件时可自动递归安装依赖,并可以指定所有插件的安装版本;\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Cchinese>match[no]]\\\">\\n\\n> Just install it! I think you need it.\\n\\n!! Welcome to CPL!\\n\\nAfter using TW for so long, are you still worried about looking around for good plugins? Are you still struggling to manage a bunch of plugin updates and deal with plugin dependencies? Are you still searching the web to find out how to use a plugin? Do you want to install some historical version of a plugin instead of the latest version?\\n\\nIf you are a plugin author, do you still struggle with how to promote your plugin and how to keep users up to date with the latest version?\\n\\nDo you wish TW could manage all your plugins with one click like other modern note-taking software, make it more foolproof to find and install plugins, and even proactively promote plugins for you? Do you want TW to help you keep your plugins up-to-date automatically?\\n\\nIt's all here at CPL!\\n\\n---\\n\\nThis plugin source is maintained by the [[TiddlyWiki Chinese Community|https://github.com/tiddly-gittly]] and is dedicated to collecting all \u003C$text text={{{ TiddlyWiki5 }}}/> related plugins on the web, hoping to provide a one-click installation and update plugin experience for TW users all around the world.\\n\\nThis plugin has the following features:\\n\\n* Aggregate various TW plugins and keep them up-to-date with the current 500+;.\\n* Search for various plugins in your Wiki, providing keyword, category and tag search;.\\n* Check for plugin updates automatically;\\n* Install plugins with automatic recursive installation of dependencies, and you can specify the installed version of all plugins;\\n\\n\u003C/$list>\\n\\n\u003C/$list>\"},\"$:/plugins/Gk0Wk/CPL-Repo/settings\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/settings\",\"caption\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[设置]else[Settings]] }}}/>\",\"subtitle\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[CPL 设置]else[CPL Settings]] }}}/>\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]\\\" variable=\\\"chinese\\\">\\n\\n\u003C$list filter=\\\"[\u003Cchinese>match[yes]]\\\">\\n\\n在该页面内您可以对 CPL 插件的行为进行设定。\\n\\n; CPL 数据库镜像入口 \u003C$select tiddler=\\\"$:/plugins/Gk0Wk/CPL-Repo/config/current-repo\\\" field=\\\"text\\\">\\n\u003C$list filter=\\\"[{$:/plugins/Gk0Wk/CPL-Repo/config/repos}enlist-input[]]\\\" variable=\\\"repo\\\">\\n\u003Coption value=\u003C\u003Crepo>>>\u003C$text text=\u003C\u003Crepo>>/>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n\\n\u003C\u003C\u003C\\n当 CPL 获取数据经常失败时,你可以尝试切换到其他镜像,目前国内推荐使用 netlify 镜像,\\n\\n欢迎各位大佬部署国内镜像,详情请咨询QQ交流群或在[[GitHub Issue|https://github.com/tiddly-gittly/TiddlyWiki-CPL/issues]]提问\\n\\n你可以手动更改数据库镜像入口:[[$:/plugins/Gk0Wk/CPL-Repo/config/current-repo]]\\n\u003C\u003C\u003C\\n\\n; 自动更新检查间隔 \u003C$edit-text tiddler=\\\"$:/plugins/Gk0Wk/CPL-Repo/config/auto-update-intervals-minutes\\\" tag=\\\"input\\\" default=\\\"-1\\\" /> (分钟/次)\\n\\n\u003C\u003C\u003C\\n自动更新检查会在 Wiki 刚打开时进行,并每隔指定间隔进行一次检查\\n\\n显然自动检查需要联网,每次所消耗的流量很小,大概10KB。如果发现有插件可以更新会在右上角弹窗提醒。\\n\\n当值小于等于0,则关闭自动更新,也包括刚打开 Wiki 的那一次。\\n\\n关闭后可以手动在 [[$:/ControlPanel]] 的 [CPL] 中进行检查。\\n\u003C\u003C\u003C\\n\\n; 插件更新筛选器 \u003C$edit-text tiddler=\\\"$:/plugins/Gk0Wk/CPL-Repo/config/update-filter\\\" tag=\\\"input\\\" default=\\\"\\\" />\\n\\n\u003C\u003C\u003C\\n插件更新是有选择的,你可以通过修改筛选器来排除一些插件。\\n\u003C\u003C\u003C\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Cchinese>match[no]]\\\">\\n\\nIn this page you can set the behavior of the CPL plugin.\\n\\n; CPL Database Mirror Entry \u003C$select tiddler=\\\"$:/plugins/Gk0Wk/CPL-Repo/config/current-repo\\\" field=\\\"text\\\">\\n\u003C$list filter=\\\"[{$:/plugins/Gk0Wk/CPL-Repo/config/repos}enlist-input[]]\\\" variable=\\\"repo\\\">\\n\u003Coption value=\u003C\u003Crepo>>>\u003C$text text=\u003C\u003Crepo>>/>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n\\n\u003C\u003C\u003C\\nWhen the CPL fails to fetch the data often, you can try to switch to another mirror.\\n\\nIf you'd like to deploy your own mirrors, feel free to ask questions in the [[GitHub Issue|https://github.com/tiddly-gittly/TiddlyWiki-CPL/issues]]!\\n\\nYou can manually change the database mirror entry: [[$:/plugins/Gk0Wk/CPL-Repo/config/current-repo]]\\n\u003C\u003C\u003C\\n\\n; Automatic update of check intervals \u003C$edit-text tiddler=\\\"$:/plugins/Gk0Wk/CPL-Repo/config/auto-update-intervals-minutes\\\" tag=\\\"input\\\" default=\\\"-1\\\" /> (minute(s) per time)\\n\\n\u003C\u003C\u003C\\nThe automatic update check is performed when the Wiki is first opened, and at specified intervals\\n\\nObviously auto-checking requires an internet connection and consumes very little traffic each time, about 10KB. If a plugin is found to be updatable, a pop-up window will alert you in the upper right corner.\\n\\nWhen the value is less than or equal to 0, auto-update is turned off, also when the Wiki is just opened.\\n\\nAfter closing it can be checked manually in [CPL] of [[$:/ControlPanel]].\\n\u003C\u003C\u003C\\n\\n; Plugin Update Filter \u003C$edit-text tiddler=\\\"$:/plugins/Gk0Wk/CPL-Repo/config/update-filter\\\" tag=\\\"input\\\" default=\\\"\\\" />\\n\\n\u003C\u003C\u003C\\nPlugin updates are selective and you can exclude some plugins by modifying the filter.\\n\u003C\u003C\u003C\\n\\n\u003C/$list>\\n\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/style.css\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/style.css\",\"tags\":[\"$:/tags/Stylesheet\"],\"type\":\"text/vnd.tiddlywiki\",\"text\":\".cpl-normal-button {\\n color: \u003C\u003Ccolour foreground>>;\\n fill: color: \u003C\u003Ccolour foreground>>;\\n}\\n\\n.cpl-plugin-info-box {\\n overflow: hidden;\\n border: 1px solid \u003C\u003Ccolour tiddler-info-border>>;\\n background-color: \u003C\u003Ccolour tiddler-info-background>>;\\n}\\n.cpl-plugin-dependencies {\\n border-left: 0.8px solid \u003C\u003Ccolour tiddler-info-border>>;\\n border-right: 0.8px solid \u003C\u003Ccolour tiddler-info-border>>;\\n}\\n\\n.cpl-plugin-info-box > .tc-plugin-info {\\n margin: 0 !important;\\n border: none !important;\\n}\\n\\n.cpl-plugin-info-box > .tc-plugin-info-dropdown {\\n margin-top: 0 !important;\\n border: none !important;\\n}\\n\\n.cpl-plugin-info-box > .tc-plugin-info-dropdown,\\n.cpl-plugin-info-box > .tc-plugin-info-dropdown > .tc-plugin-info-dropdown-message,\\n.cpl-plugin-info-box > .tc-plugin-info-dropdown > .tc-plugin-info-dropdown-body {\\n background: transparent !important;\\n background-color: transparent !important;\\n}\\n\\n.cpl-plugin-info-box > .tc-plugin-info-dropdown > .tc-plugin-info-dropdown-body {\\n box-shadow: inset 0 12px 12px -12px rgba(0, 0, 0, 0.3);\\n}\\n\\n.cpl-latest-version-icon > svg, .cpl-installed-version-icon > svg {\\n height: 1em;\\n width: 1em;\\n}\\n\\n.cpl-latest-version-icon > svg {\\n color: #FFC107;\\n fill: #FFC107;\\n}\\n\\n.cpl-installed-version-icon > svg {\\n color: #3ccb0f;\\n fill: #3ccb0f;\\n}\\n\\n.cpl-plugin-install-request-dependents-tree {\\n border-left:2px dotted \u003C\u003Ccolour very-muted-foreground>>;\\n background: #0002;\\n}\\n\\n.cpl-plugin-search {\\n flex-grow: 1;\\n width: 0;\\n}\\n\\n.cpl-plugin-search span {\\n display: inline-block;\\n width: 100%;\\n}\\n\\n.cpl-plugin-search span input {\\n margin: 0 !important;\\n width: 100%;\\n}\\n\\n.cpl-plugin-search-go {\\n border-radius: 0 !important;\\n margin: 0 !important;\\n padding: 10px 20px !important;\\n word-break: keep-all;\\n}\\n\\n.cpl-paged-plugin-list-control {\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n height: 40px;\\n border: 2px solid \u003C\u003Ccolour tiddler-info-border>>;\\n background-color: \u003C\u003Ccolour tiddler-info-background>>;\\n}\\n\\n.cpl-paged-plugin-list-control > div {\\n flex-grow: 1;\\n width: 0;\\n height: 100%;\\n}\\n\\n.cpl-paged-plugin-list-control > div > button {\\n width: 100%;\\n height: 100%;\\n border: none !important;\\n background: transparent !important;\\n cursor: pointer !important;\\n}\\n\\n.cpl-paged-plugin-list-control > div > button:hover {\\n backdrop-filter: contrast(0.75);\\n}\\n\\n.cpl-paged-plugin-list-control > span {\\n padding: 0 10px;\\n height: 100%;\\n display: flex;\\n align-items: center;\\n user-select: none;\\n}\\n\\n.cpl-banner-button-group svg {\\n height: 1em;\\n width: 1em;\\n}\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/tags-gallery\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/tags-gallery\",\"caption\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[标签]else[Tags]] }}} />\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import $:/plugins/Gk0Wk/CPL-Repo/plugin-list-item\\n\\\\import $:/plugins/Gk0Wk/CPL-Repo/plugin-size\\n\\\\import $:/plugins/Gk0Wk/CPL-Repo/paged-plugin-list\\n\\n\\\\define tag-plain(text:\\\"\\\",icon:\\\"\\\",color:\\\"\\\",bg:\\\"\\\")\\n\\\\whitespace trim\\n\u003Cspan class=\\\"tc-tag-label\\\" style=\\\"background-color:$bg$;color:$color$;fill:$color$;user-select:none;margin-right:6px;\\\">\\n\\t{{$icon$}}$text$\\n\u003C/span>\\n\\\\end\\n\\n\\\\define tag-plain-removable(saveTiddler,saveField:\\\"tags\\\",text:\\\"\\\",icon:\\\"\\\",color:\\\"\\\",bg:\\\"\\\")\\n\\\\whitespace trim\\n\u003Cspan class=\\\"tc-tag-label\\\" style=\\\"background-color:$bg$;color:$color$;fill:$color$;user-select:none;margin:4px 6px 2px 0;padding:4px 10px;\\\">\\n\\t{{$icon$}}$text$\\n\\t\u003C$button class=\\\"tc-btn-invisible tc-remove-tag-button\\\" style=\\\"background-color:$bg$;color:$color$;fill:$color$;\\\">\\n\\t\\t\u003C$action-listops $tiddler=\u003C\u003C__saveTiddler__>> $field=\u003C\u003C__saveField__>> $subfilter=\\\"-[\u003C__text__>]\\\"/>{{$:/core/images/close-button}}\\n\\t\u003C/$button>\\n\u003C/span>\\n\\\\end\\n\\n\u003C$let bg={{{ [{$:/palette}getindex[tag-background]] }}} color={{{ [{$:/palette}getindex[foreground]] }}} saveTiddler=\\\"$:/temp/CPL-Repo/search-tag-input\\\">\\n\u003C!-- 展示待检索的标签,以及搜索按钮 -->\\n\u003Cdiv style=\\\"width:100%;display:flex;backdrop-filter:contrast(1.3);\\\">\\n \u003Cdiv class=\\\"cpl-search-tags\\\" style=\\\"flex-grow:1;width:0;display:flex;align-items:center;padding:4px 8px;flex-wrap:wrap;\\\">\\n \u003C!-- 已有的标签,可删除 -->\\n \u003C$list filter=\\\"[\u003CsaveTiddler>get[text]enlist-input[]]\\\" variable=\\\"tag\\\">\\n \u003C$macrocall $name=\\\"tag-plain-removable\\\" text=\u003C\u003Ctag>> icon=\\\"$:/core/images/tag-button\\\" bg=\u003C\u003Cbg>> color=\u003C\u003Ccolor>> saveTiddler=\u003C\u003CsaveTiddler>> saveField=\\\"text\\\" />\\n \u003C/$list>\\n \u003Cdiv class=\\\"cpl-search-tags-input\\\">\\n \u003C!-- 输入 -->\\n \u003C$macrocall\\n $name=\\\"keyboard-driven-input\\\"\\n tiddler=\\\"$:/temp/CPL-Repo/add-search-tag-input\\\"\\n tag=\\\"input\\\"\\n placeholder={{$:/language/EditTemplate/Tags/Add/Placeholder}}\\n focusPopup=\\\"$:/temp/CPL-Repo/add-search-tag-popup\\\"\\n class=\\\"tc-edit-texteditor tc-popup-handle\\\"\\n tabindex=\u003C\u003CtabIndex>>\\n focus=\\\"yes\\\"\\n filterMinLength=\\\"2\\\"\\n configTiddlerFilter=\\\"[[$:/core/macros/tag-picker]]\\\"\\n />\\n \u003C!-- 弹出 -->\\n \u003C$reveal state=\\\"$:/temp/CPL-Repo/add-search-tag-popup\\\" type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n \u003Cdiv class=\\\"tc-block-dropdown tc-block-tags-dropdown\\\">\\n \u003C$list filter=\\\"[{$:/temp/CPL-Repo/tags}jsonget[]search{$:/temp/CPL-Repo/add-search-tag-input}]\\\" variable=\\\"tag\\\">\\n \u003C$button class=\\\"tc-btn-invisible\\\" tag=\\\"a\\\" tooltip={{$:/language/EditTemplate/Tags/Add/Button/Hint}}>\\n \u003C$macrocall $name=\\\"tag-plain\\\" text=\u003C\u003Ctag>> icon=\\\"$:/core/images/tag-button\\\" bg=\u003C\u003Cbg>> color=\u003C\u003Ccolor>> />\\n \u003C$action-listops $tiddler=\u003C\u003CsaveTiddler>> $field=\\\"text\\\" $subfilter=\\\"[\u003Ctag>]\\\"/>\\n \u003C/$button>\\n \u003C/$list>\\n \u003C/div>\\n \u003C/$reveal>\\n \u003C/div>\\n \u003C/div>\\n \u003C!-- 搜索按钮 -->\\n \u003C$button class=\\\"tc-primary-btn tc-btn-big-green cpl-plugin-search-go\\\" disabled={{$:/temp/CPL-Repo/searching-plugin}}>\\n \u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]] :then[{$:/temp/CPL-Repo/searching-plugin}match[yes]then[搜索中...]else[搜索]] :else[{$:/temp/CPL-Repo/searching-plugin}match[yes]then[Searching...]else[Search]] }}} />\\n \u003C$action-sendmessage\\n $message=\\\"cpl-search-plugins\\\"\\n mode=\\\"tags\\\"\\n text={{{ [\u003CsaveTiddler>get[text]] }}}\\n saveTo=\\\"$:/temp/CPL-Repo/searchplugin-tags/result\\\"\\n />\\n \u003C/$button>\\n\u003C/div>\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/searching-plugin]is[tiddler]!field:text[yes]]\\\">\\n\u003Cdiv style=\\\"background:#e91e3db0;color:white;padding:2px 6px;margin:3px 0;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;\\\">\\n\\t\u003C$text text={{{ [\u003Cchinese>match[yes]then[出现了一些问题]else[Some errors occured]] }}}/>: \u003C$text text={{!!text}}/>\\n\u003C/div>\\n\u003C/$list>\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/searchplugin-tags/result]is[tiddler]then[yes]else[no]]\\\" variable=\\\"go\\\">\\n\u003C!-- 有搜索结果 -->\\n\u003C$list filter=\\\"[\u003Cgo>match[yes]]\\\" variable=\\\"t\\\">\\n\u003C\u003Cpaged-plugin-list filter:\\\"[{$:/temp/CPL-Repo/searchplugin-tags/result}jsonget[]]\\\" field:\\\"tag-gallery\\\" class1:\\\"cpl-plugin-info-box\\\" class2:\\\"cpl-paged-plugin-list-control\\\">>\\n\u003C/$list>\\n\u003C!-- 没有搜索结果,展示全部 -->\\n\u003C$list filter=\\\"[\u003Cgo>match[no]]\\\" variable=\\\"t\\\">\\n\u003C\u003Cpaged-plugin-list filter:\\\"[{$:/temp/CPL-Repo/plugins-index}jsonindexes[]!prefix[$:/language]]\\\" field:\\\"tag-gallery\\\" class1:\\\"cpl-plugin-info-box\\\" class2:\\\"cpl-paged-plugin-list-control\\\">>\\n\u003C/$list>\\n\u003C/$list>\\n\u003C/$let>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/uninstall-manager\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/uninstall-manager\",\"code-body\":\"yes\",\"tags\":[],\"caption\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[卸载]else[Uninstall]] }}} />\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$macrocall\\n\\t$name=\\\"tabs\\\"\\n\\tstate=\\\"$:/temp/CPL-Repo/plugin-uninstall-manager-tab-state\\\"\\n\\ttabsList=\\\"plugin theme language\\\"\\n\\tdefault=\\\"plugin\\\"\\n\\ttemplate=\\\"$:/plugins/Gk0Wk/CPL-Repo/plugin-uninstall-plugins-item\\\"\\n/>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/uninstall-plugin-model-template\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/uninstall-plugin-model-template\",\"code-body\":\"yes\",\"subtitle\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[请确认卸载]else[Please Confirm to Uninstall]] }}} />\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define checkShadow() \u003C$action-listops $tiddler=\u003C\u003Ctiddler>> $field=\u003C\u003Cfield>> $subfilter=\\\"[\u003Cshadow>]\\\"/>\\n\\\\define uncheckShadow() \u003C$action-listops $tiddler=\u003C\u003Ctiddler>> $field=\u003C\u003Cfield>> $subfilter=\\\"-[\u003Cshadow>]\\\"/>\\n\\n\u003C$let chinese={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]] }}}>\\n\\n\u003C$list filter=\\\"[\u003Cchinese>match[yes]]\\\">\\n\\n> 即将卸载 \u003C\u003Cplugin>>\\n\\n\u003C$list filter=\\\"[!field:plugin-type[]search:parent-plugin\u003Cplugin>] [!field:plugin-type[]search:dependent\u003Cplugin>] +[limit[1]]\\\" variable=\\\"t\\\">\\n\\n---\\n\\n!! 注意:插件被依赖\\n\\n该插件仍然被如下插件依赖,是否继续卸载?\\n\\n\u003C$list filter=\\\"[!field:plugin-type[]search:parent-plugin\u003Cplugin>] [!field:plugin-type[]search:dependent\u003Cplugin>] +[unique[]sort[title]]\\\" variable=\\\"other-plugin\\\">\\n\\n: \u003C\u003Cother-plugin>>\\n\\n\u003C/$list>\\n\u003C/$list>\\n\\n---\\n\\n!! 注意:残留条目\\n\\n该插件中,有一些条目已不是默认值(有一个同名的非影子条目),因此这些条目在删除插件后仍将保留。这可能会为你的 Wiki 增添一些额外的垃圾条目,或者为下一次安装插件或升级插件带来困扰。所以在删除插件时,是否该同时清理这些条目?请选择要删除或者保留的条目,或者点击其标题来产看它的内容来决定。\\n\\n在决定之后,点击下方的按钮,卸载插件并同时删除勾选的条目。\\n\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Cchinese>match[no]]\\\">\\n\\n> To uninstall \u003C\u003Cplugin>>\\n\\n\u003C$list filter=\\\"[!field:plugin-type[]search:parent-plugin\u003Cplugin>] [!field:plugin-type[]search:dependent\u003Cplugin>] +[limit[1]]\\\" variable=\\\"t\\\">\\n\\n---\\n\\n!! Note: Plugin is Dependent\\n\\nThe plugin is still dependent on the following plugins, do you continue to uninstall?\\n\\n\u003C$list filter=\\\"[!field:plugin-type[]search:parent-plugin\u003Cplugin>] [!field:plugin-type[]search:dependent\u003Cplugin>] +[unique[]sort[title]]\\\" variable=\\\"other-plugin\\\">\\n\\n: \u003C\u003Cother-plugin>>\\n\\n\u003C/$list>\\n\u003C/$list>\\n\\n---\\n\\n!! Note: Left tiddlers\\n\\nThe plugin has some entries that are no longer default (there is a non-shadow entry with the same name), so these entries will remain after removing the plugin. This may add some extra junk entries to your Wiki, or cause problems for the next time you install the plugin or upgrade it. So when deleting a plugin, should you clean up these entries at the same time? Please select the entry you want to delete or keep, or click on its title to see what it says to decide.\\n\\nAfter deciding, click the button below to uninstall the plugin and remove the checked entries at the same time.\\n\u003C/$list>\\n\\n\u003C$button class=\\\"tc-btn-big-green tc-primary-btn\\\" message=\\\"tm-close-tiddler\\\">\\n{{$:/core/images/delete-button}}\\n \\n\u003C$text text={{{ [\u003Cchinese>match[yes]then[确认卸载]else[Confirm to Uninstall]] }}} />\\n\u003C$action-deletetiddler $filter=\\\"[\u003Ctiddler>get[text]enlist-input[]] [\u003Cplugin>]\\\" />\\n\u003C/$button>\\n\\n\u003C$let keep={{{ [\u003Cchinese>match[yes]then[保留]else[Keep]] }}} nokeep={{{ [\u003Cchinese>match[yes]then[删除]else[Delete]] }}}>\\n\u003C$let tiddler=\u003C\u003Cqualify \\\"$:/temp/CPL-Repo/deleting-plugin-shadows\\\">> field=\\\"text\\\">\\n\\n\u003Cdiv style=\\\"display:flex;flex-direction:column;\\\">\\n\u003C$list filter=\\\"[\u003Cplugin>get[text]jsonindexes[tiddlers]is[tiddler]]\\\" variable=\\\"shadow\\\" emptyMessage=\\\"\u003C$text text={{{ [\u003Cchinese>match[yes]then[无]else[]] }}} />\\\">\\n\u003C$let is-keep={{{ [\u003Ctiddler>get[text]enlist-input[]match\u003Cshadow>limit[1]then[no]else[yes]] }}}>\\n\u003Cdiv style={{{ [[background:]] [\u003Cis-keep>match[yes]then[#00ff2d1d]else[#fd004748]] [[;display:flex;justify-content:space-between;padding:4px 6px;border:1px solid #7774]] +[join[]] }}}>\\n\u003Cspan>\u003C\u003Cshadow>>\u003C/span>\\n\u003Cspan>\\n\u003C$checkbox filter=\\\"[\u003Ctiddler>get[text]enlist-input[]]\\\" checked=\u003C\u003Cshadow>> checkactions=\u003C\u003CcheckShadow>> uncheckactions=\u003C\u003CuncheckShadow>>> ''\u003C$text text={{{ [\u003Cis-keep>match[yes]then\u003Ckeep>else\u003Cnokeep>] }}}/>''\u003C/$checkbox>\\n\u003C/span>\\n\u003C/div>\\n\u003C/$let>\\n\u003C/$list>\\n\u003C/div>\\n\\n\u003C/$let>\\n\u003C/$let>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/update-body\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/update-body\",\"subtitle\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[更新列表]else[Update List]] }}}/>\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\import $:/plugins/Gk0Wk/CPL-Repo/plugin-list-item\\n\\\\import $:/plugins/Gk0Wk/CPL-Repo/plugin-size\\n\\\\import $:/plugins/Gk0Wk/CPL-Repo/paged-plugin-list\\n\\n\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]\\\" variable=\\\"chinese\\\">\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/update-plugins]is[tiddler]] [[$:/temp/CPL-Repo/plugins-index]is[tiddler]] +[count[]compare:integer:eq[2]then[yes]else[no]]\\\" variable=\\\"ready\\\">\\n\\n\u003C$list filter=\\\"[\u003Cready>match[yes]]\\\">\\n\u003C\u003Cpaged-plugin-list filter:\\\"[{$:/temp/CPL-Repo/update-plugins}jsonget[]]\\\" field:\\\"update-list\\\" class1:\\\"cpl-plugin-info-box\\\" class2:\\\"cpl-paged-plugin-list-control\\\">>\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Cready>match[no]]\\\">\\n\u003C!-- 错误提示 -->\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/getting-plugins-index]is[tiddler]!field:text[yes]]\\\">\\n\u003Cdiv style=\\\"background:#e91e3db0;color:white;padding:2px 6px;margin:3px 0;border-radius:2px;backdrop-filter:blur(4px);min-height:100px;display:flex;align-items:center;justify-content:center;\\\">\\n\\t\u003C$text text={{{ [\u003Cchinese>match[yes]then[出现了一些问题]else[Some errors occured]] }}}/>: \u003C$text text={{!!text}}/>\\n\\t\u003C$text text={{{ [\u003Cchinese>match[yes]then[请尝试刷新]else[Please try refreshing]] }}}/>\\n\u003C/div>\\n\u003C/$list>\\n\u003C!-- 错误提示 -->\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/updaing]is[tiddler]!field:text[yes]]\\\">\\n\u003Cdiv style=\\\"background:#e91e3db0;color:white;padding:2px 6px;margin:3px 0;border-radius:2px;backdrop-filter:blur(4px);min-height:100px;display:flex;align-items:center;justify-content:center;\\\">\\n\\t\u003C$text text={{{ [\u003Cchinese>match[yes]then[出现了一些问题]else[Some errors occured]] }}}/>: \u003C$text text={{!!text}}/>\\n\\t\u003C$text text={{{ [\u003Cchinese>match[yes]then[请尝试刷新]else[Please try refreshing]] }}}/>\\n\u003C/div>\\n\u003C/$list>\\n\u003C!-- 加载中提示 -->\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/getting-plugins-index]is[tiddler]field:text[yes]] [[$:/temp/CPL-Repo/updaing]is[tiddler]field:text[yes]] +[limit[1]]\\\">\\n\u003Cdiv style=\\\"background:#0005;color:#aaa;padding:2px 6px;margin:3px 0;border-radius:2px;backdrop-filter:blur(4px);min-height:100px;display:flex;align-items:center;justify-content:center;\\\">\\n\\t\u003C$text text={{{ [\u003Cchinese>match[yes]then[加载中...]else[Loading...]] }}}/>\\n\u003C/div>\\n\u003C/$list>\\n\u003C$list filter=\\\"[[$:/temp/CPL-Repo/getting-plugins-index]is[tiddler]field:text[yes]] [[$:/temp/CPL-Repo/updaing]is[tiddler]field:text[yes]] +[limit[1]]\\\">\\n\u003Cdiv style=\\\"background:#0005;color:#aaa;padding:2px 6px;margin:3px 0;border-radius:2px;backdrop-filter:blur(4px);min-height:100px;display:flex;align-items:center;justify-content:center;\\\">\\n\\t\u003C$text text={{{ [\u003Cchinese>match[yes]then[加载中...]else[Loading...]] }}}/>\\n\u003C/div>\\n\u003C/$list>\\n\u003C/$list>\\n\\n\u003C/$list>\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/CPL-Repo/update-manager\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/update-manager\",\"caption\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[更新]else[Updates]] }}} />\",\"tags\":[],\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]\\\" variable=\\\"chinese\\\">\\n\u003C$button disabled={{{ [{$:/temp/CPL-Repo/getting-plugins-index}match[yes]else[no]] }}} class=\\\"tc-btn-big-green tc-primary-btn\\\">\\n\u003C$action-sendmessage $message=\\\"cpl-update-check\\\" />\\n{{$:/core/images/refresh-button}}\\n \\n\u003C$text text={{{ [[$:/temp/CPL-Repo/update-plugins]is[tiddler]] :then[\u003Cchinese>match[yes]then[重新获取更新]else[Refetch CPL]] :else[\u003Cchinese>match[yes]then[获取更新]else[Fetch update]] }}} />\\n\u003C/$button>\\n\u003C/$list>\\n\\n{{$:/plugins/Gk0Wk/CPL-Repo/update-body}}\"},\"$:/plugins/Gk0Wk/CPL-Repo/update-notify-template\":{\"title\":\"$:/plugins/Gk0Wk/CPL-Repo/update-notify-template\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]\\\" variable=\\\"chinese\\\">\\n\\n\u003C$list filter=\\\"[\u003Cchinese>match[yes]]\\\">\\n\\n!! CPL 更新提醒\\n\\n您的 Wiki 中有 \u003C\u003CupdateCount>> 款插件在 CPL 中有更新版本, 快来更新吧!\\n\\n\u003C$button class=\\\"cpl-normal-button\\\">\\n 更新\\n \u003C$action-sendmessage $message=\\\"cpl-get-plugins-index\\\" />\\n \u003C$action-sendmessage $message=\\\"tm-modal\\\" $param=\\\"$:/plugins/Gk0Wk/CPL-Repo/update-body\\\" />\\n\u003C/$button>\\n\u003C$button class=\\\"cpl-normal-button\\\">\\n 设置\\n \u003C$action-sendmessage $message=\\\"tm-modal\\\" $param=\\\"$:/plugins/Gk0Wk/CPL-Repo/settings\\\" />\\n\u003C/$button>\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Cchinese>!match[yes]]\\\">\\n\\n!! CPL Update Alert\\n\\nThere are \u003C\u003CupdateCount>> plugins in your Wiki that have newer versions in CPL, so update them now!\\n\\n\u003C$button class=\\\"cpl-normal-button\\\">\\n Update\\n \u003C$action-sendmessage $message=\\\"cpl-get-plugins-index\\\" />\\n \u003C$action-sendmessage $message=\\\"tm-modal\\\" $param=\\\"$:/plugins/Gk0Wk/CPL-Repo/update-body\\\" />\\n\u003C/$button>\\n\u003C$button class=\\\"cpl-normal-button\\\">\\n Settings\\n \u003C$action-sendmessage $message=\\\"tm-modal\\\" $param=\\\"$:/plugins/Gk0Wk/CPL-Repo/settings\\\" />\\n\u003C/$button>\\n\\n\u003C/$list>\\n\\n\u003C/$list>\\n\"}}}"}, {"created":"20231021132400558","text":"1","title":"$:/plugins/Gk0Wk/CPL-Repo/config/popup-readme-at-startup","modified":"20231021132400558"}, {"author":"Gk0Wk","dependents":"","description":"draw.io powerful diagram editor for TiddlyWiki","list":"readme config LICENSE","name":"draw.io","plugin-type":"plugin","text":"{\"tiddlers\":{\"$:/config/EditorTypeMappings/text/x-drawio\":{\"title\":\"$:/config/EditorTypeMappings/text/x-drawio\",\"text\":\"drawio\"},\"$:/config/EditorTypeMappings/application/vnd.drawio\":{\"title\":\"$:/config/EditorTypeMappings/application/vnd.drawio\",\"text\":\"drawio\"},\"$:/config/EditorTypeMappings/application/x-drawio\":{\"title\":\"$:/config/EditorTypeMappings/application/x-drawio\",\"text\":\"drawio\"},\"$:/plugins/Gk0Wk/drawio/LICENSE\":{\"title\":\"$:/plugins/Gk0Wk/drawio/LICENSE\",\"type\":\"text/plain\",\"text\":\"\\nMIT License\\n\\nCopyright (c) 2023 Gk0Wk(nmg_wk@yeah.net)\\n\\nPermission is hereby granted, free of charge, to any person obtaining a copy\\nof this software and associated documentation files (the \\\"Software\\\"), to deal\\nin the Software without restriction, including without limitation the rights\\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\ncopies of the Software, and to permit persons to whom the Software is\\nfurnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all\\ncopies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\nSOFTWARE.\\n\"},\"$:/plugins/Gk0Wk/drawio/config/theme-light\":{\"title\":\"$:/plugins/Gk0Wk/drawio/config/theme-light\",\"text\":\"Kennedy\"},\"$:/plugins/Gk0Wk/drawio/config/theme-dark\":{\"title\":\"$:/plugins/Gk0Wk/drawio/config/theme-dark\",\"text\":\"dark\"},\"$:/plugins/Gk0Wk/drawio/config\":{\"title\":\"$:/plugins/Gk0Wk/drawio/config\",\"tags\":\"$:/tags/ControlPanel/SettingsTab\",\"type\":\"text/vnd.tiddlywiki\",\"caption\":\"draw.io\",\"list-after\":\"$:/core/ui/ControlPanel/Settings/TiddlyWiki\",\"text\":\"\\\\define theme-selector(tiddler)\\n$tiddler$\\n\u003C$select tiddler=\\\"$tiddler$\\\" default=\\\"Kennedy\\\">\\n\u003C$list filter=\\\"[[Kennedy dark min simple atlas sketch]split[ ]unique[]]\\\">\\n\u003Coption value=\u003C\u003CcurrentTiddler>>>\u003C$text text=\u003C\u003CcurrentTiddler>>/>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n\\\\end\\n\\n\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\\\" variable=\\\"lang\\\">\\n\u003C$list filter=\\\"[\u003Clang>search[zh]]\\\">\\n\\n!! 主题\\n\\n; 日间模式所使用的主题\\n: \u003C\u003Ctheme-selector tiddler:\\\"$:/plugins/Gk0Wk/drawio/config/theme-light\\\" >>\\n\\n; 夜间模式所使用的主题\\n: \u003C\u003Ctheme-selector tiddler:\\\"$:/plugins/Gk0Wk/drawio/config/theme-dark\\\" >>\\n\\n> 不同的主题的样式可以参考[[官网文档|https://www.drawio.com/blog/diagram-editor-theme]]。\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Clang>!search[zh]]\\\">\\n\\n!! Themes\\n\\n; Theme used for light mode\\n: \u003C\u003Ctheme-selector tiddler:\\\"$:/plugins/Gk0Wk/drawio/config/theme-light\\\" >>\\n\\n; Theme used for dark mode\\n: \u003C\u003Ctheme-selector tiddler:\\\"$:/plugins/Gk0Wk/drawio/config/theme-dark\\\" >>\\n\\n> Different themes can be found in the [[official documentation|https://www.drawio.com/blog/diagram-editor-theme]].\\n\\n\u003C/$list>\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/drawio/icon\":{\"title\":\"$:/plugins/Gk0Wk/drawio/icon\",\"tags\":\"$:/tags/Image\",\"text\":\"\\\\parameters (size:\\\"22pt\\\")\\n\u003Csvg width=\u003C\u003Csize>> height=\u003C\u003Csize>> class=\\\"tc-image-auto-height tc-image-button\\\" viewBox=\\\"0 0 128 128\\\">\\n \u003Cpath d=\\\"M101.848 114.126L101.848 125.337C101.848 126.984 103.241 128.319 104.958 128.319L110.244 128.319C111.962 128.319 113.354 126.984 113.354 125.337L113.354 114.126L125.046 114.126C126.764 114.126 128.156 112.791 128.156 111.144L128.156 106.373C128.156 104.726 126.764 103.391 125.046 103.391L113.354 103.391L113.354 91.9411C113.354 90.2943 111.962 88.9594 110.244 88.9594L104.958 88.9594C103.241 88.9594 101.848 90.2943 101.848 91.9411L101.848 103.391L89.8451 103.391C88.1277 103.391 86.7354 104.726 86.7354 106.373L86.7354 111.144C86.7354 112.791 88.1277 114.126 89.8451 114.126L101.848 114.126ZM60.474 1.59869L60.474 1.59869C60.474 1.59869 60.474 1.59869 60.474 1.59869C55.7146 -1.03617 49.6287 0.527467 46.8808 5.09117L1.49079 80.476C-1.25707 85.0397 0.37363 90.8753 5.13306 93.5102L58.0708 122.817C62.8302 125.452 68.9161 123.888 71.6639 119.324L117.054 43.9396C117.054 43.9396 117.054 43.9396 117.054 43.9396C119.802 39.3759 118.171 33.5403 113.412 30.9054L60.474 1.59869L60.474 1.59869ZM56.5918 51.9022L56.5918 51.9022C55.3231 50.5536 55.1422 48.3175 56.287 46.4161L62.0179 36.8981C63.394 34.6126 66.1645 33.6761 68.206 34.8062L79.5725 41.0988C81.614 42.229 82.1534 44.9979 80.7772 47.2834L75.0464 56.8014C73.9006 58.7043 71.7881 59.6721 69.9347 59.2904L68.8553 76.1343L75.2842 79.6934C77.3257 80.8236 77.8651 83.5926 76.489 85.878L70.7581 95.396C69.382 97.6815 66.6115 98.6181 64.57 97.4879L53.2035 91.1953C51.162 90.0651 50.6227 87.2962 51.9988 85.0107L57.7296 75.4927C59.1058 73.2072 61.8763 72.2707 63.9177 73.4009L64.925 73.9585C65.1558 69.9973 65.6868 60.8327 65.8722 57.2402L60.4735 54.2514C57.3215 56.2016 49.3099 61.2249 45.8476 63.3971L46.8405 63.9468C48.882 65.0769 49.4214 67.8459 48.0453 70.1314L42.3144 79.6493C40.9383 81.9348 38.1678 82.8714 36.1263 81.7412L24.7598 75.4486C22.7183 74.3185 22.1789 71.5495 23.555 69.264L29.2859 59.7461C30.662 57.4606 33.4325 56.524 35.474 57.6542L41.9174 61.2213L56.5918 51.9022L56.5918 51.9022L56.5918 51.9022Z\\\" fill-rule=\\\"evenodd\\\" stroke=\\\"none\\\" />\\n\u003C/svg>\\n\"},\"$:/plugins/Gk0Wk/drawio/new-drawio-diagram\":{\"title\":\"$:/plugins/Gk0Wk/drawio/new-drawio-diagram\",\"tags\":\"$:/tags/PageControls $:/tags/ViewToolbar\",\"hint\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[新建一个draw.io图表条目]else[Create a new draw.io diagram tiddler]] }}} />\",\"description\":\"\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[新建一个draw.io图表条目]else[Create a new draw.io diagram tiddler]] }}} />\",\"caption\":\"{{$:/plugins/Gk0Wk/drawio/icon}} \u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[新建图表]else[new diagram]] }}} />\",\"text\":\"\\\\whitespace trim\\n\\n\\\\define createDiagram()\\n\u003C$action-createtiddler $basetitle={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[图表]else[Diagram]] }}} type=\\\"application/vnd.drawio\\\" >\\n\u003C$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param=\u003C\u003CcreateTiddler-title>>/>\\n\u003C/$action-createtiddler>\\n\\\\end\\n\\n\\\\define drawioButton()\\n\\\\whitespace trim\\n\u003C$button tooltip={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[新建一个draw.io图表条目]else[Create a new draw.io diagram tiddler]] }}} aria-label={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[新建图表]else[new diagram]] }}} class=\u003C\u003Ctv-config-toolbar-class>> actions=\u003C\u003CcreateDiagram>> >\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/plugins/Gk0Wk/drawio/icon}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text={{{ [[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[新建图表]else[new diagram]] }}} />\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\\\\end\\n\\n\u003C\u003CdrawioButton>>\\n\"},\"$:/plugins/Gk0Wk/drawio/readme\":{\"title\":\"$:/plugins/Gk0Wk/drawio/readme\",\"type\":\"text/vnd.tiddlywiki\",\"caption\":\"draw.io\",\"text\":\"\u003Cimg src=\\\"https://www.drawio.com/assets/img/blog/feature-flag-gitflow-tags.png\\\" width=\\\"100%\\\" height=\\\"auto\\\" >\\n\\n\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\\\" variable=\\\"lang\\\">\\n\u003C$list filter=\\\"[\u003Clang>search[zh]]\\\">\\n\\ndraw.io 是一个强大的在线图表编辑器,可以用来绘制流程图、组织结构图、UML图、网络图、平面图、电路图、数据库图、房屋平面图、地图等等。\\n\\n现在我将其集成到了 \u003C$text text=\\\"TiddlyWiki\\\" /> 中,你可以在这里使用它。点击 {{$:/plugins/Gk0Wk/drawio/icon}} 按钮,就可以创建一个新的图表条目,该条目在非编辑模式下会显示其绘制的内容,而在编辑模式下则会进入 draw.io 的编辑界面。\\n\\n注意:编辑模式需要联网才能使用,因为 draw.io 是在线编辑器,初次加载需要一定的时间,所以请耐心等待。但是预览图片不需要联网,所以你可以在离线状态下查看图表,此时它和你其他的图片没有区别。\\n\\n你可以在插件的设置中修改编辑器在日间或夜间模式下的主题。\\n\\n在编辑器中,你可以导入和导出各种类型的图表文件。图标实际上将以 SVG+嵌入式 XML 的形式保存在 \u003C$text text=\\\"TiddlyWiki\\\" /> 中,这样可以保证图表的可编辑性。你可以在编辑器中导出为各种格式的文件,也可以在 \u003C$text text=\\\"TiddlyWiki\\\" /> 中导出为 SVG、PNG 等文件。\\n\\n> 如果你觉得编辑器太小,在编辑器的右下角有一个 {{$:/core/images/full-screen-button}} 全屏按钮,点击即可全屏编辑器,再次按 \u003Ckbd>Esc\u003C/kbd> 即可退出全屏!\\n\\n你可以在这里查看 draw.io 的官方文档:https://www.drawio.com/\\n\\n快来试试吧!\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Clang>!search[zh]]\\\">\\n\\ndraw.io is a powerful online diagram editor that can be used to draw flowcharts, organizational charts, UML diagrams, network diagrams, floor plans, circuit diagrams, database diagrams, house floor plans, maps, etc.\\n\\nNow I have integrated it into \u003C$text text=\\\"TiddlyWiki\\\" />, you can use it here. Click the {{$:/plugins/Gk0Wk/drawio/icon}} button to create a new diagram tiddler, which will display its drawing content in non-editing mode, and will enter the draw.io editing interface in editing mode.\\n\\nNote: The editing mode requires networking, because draw.io is an online editor, which takes some time to load for the first time, so please be patient. But the preview image does not require networking, so you can view the chart in offline mode, and it is no different from your other images.\\n\\nYou can modify the theme of the editor in the settings of the plugin in day or night mode.\\n\\nIn the editor, you can import and export various types of chart files. The icon is actually saved in the form of SVG+embedded XML in \u003C$text text=\\\"TiddlyWiki\\\" />, which ensures the editability of the chart. You can export to various formats of files in the editor, or export to SVG, PNG and other files in \u003C$text text=\\\"TiddlyWiki\\\" />.\\n\\n> If you think the editor is too small, there is a {{$:/core/images/full-screen-button}} full screen button in the lower right corner of the editor, click to enter full screen editor, press \u003Ckbd>Esc\u003C/kbd> again to exit full screen!\\n\\nYou can view the official documentation of draw.io here: https://www.drawio.com/\\n\\nCome and try it!\\n\\n\u003C/$list>\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/drawio/edit-drawio.js\":{\"title\":\"$:/plugins/Gk0Wk/drawio/edit-drawio.js\",\"module-type\":\"widget\",\"type\":\"application/javascript\",\"Modern.TiddlyDev#Origin\":\"edit-drawio.ts\",\"text\":\"\\\"use strict\\\";var drawioUnmountCheckTimer,editTextWidgetFactory=require(\\\"$:/core/modules/editor/factory.js\\\")[\\\"editTextWidgetFactory\\\"],SimpleEngine=require(\\\"$:/core/modules/editor/engines/simple.js\\\")[\\\"SimpleEngine\\\"],checkIfDarkMode=($tw.utils.registerFileType(\\\"application/x-drawio\\\",\\\"utf8\\\",\\\".drawio\\\",{flags:[\\\"image\\\"],deserializerType:\\\"image/svg+xml\\\"}),$tw.utils.registerFileType(\\\"application/vnd.drawio\\\",\\\"utf8\\\",\\\".drawio\\\",{flags:[\\\"image\\\"],deserializerType:\\\"image/svg+xml\\\"}),()=>{var e;return\\\"dark\\\"===(null==(e=null==(e=$tw.wiki.getTiddler($tw.wiki.getTiddlerText(\\\"$:/palette\\\")))?void 0:e.fields)?void 0:e[\\\"color-scheme\\\"])}),isChinese=()=>$tw.wiki.getTiddler(\\\"$:/language\\\").fields.text.includes(\\\"zh\\\"),drawioEditorInstance=new Set,registerInstance=e=>{$tw.browser&&void 0===drawioUnmountCheckTimer&&(drawioEditorInstance.add(e),drawioUnmountCheckTimer=setInterval(()=>{var e=[];for(const t of drawioEditorInstance)void 0!==t.iframeNode&&document.contains(t.iframeNode)||e.push(t);for(const i of e)drawioEditorInstance[\\\"delete\\\"](i);drawioEditorInstance.size\u003C1&&(drawioUnmountCheckTimer=void 0,clearInterval(drawioUnmountCheckTimer))},1e3))},DrawIOEditor=class{constructor({widget:d,value:e,parentNode:t,nextSibling:i}){if(this.parentNode=t,this.nextSibling=i,$tw.browser){this.iframeNode=$tw.utils.domMaker(\\\"iframe\\\",{document:d.document,\\\"class\\\":\\\"gk0wk-drawio-iframe\\\",attributes:{frameborder:\\\"0\\\"},style:{margin:\\\"0\\\",border:\\\"none\\\",width:\\\"100%\\\",minHeight:\\\"700px\\\",maxHeight:\\\"90vh\\\",height:\\\"100%\\\"}}),t.insertBefore(this.iframeNode,i),d.domNodes.push(this.iframeNode);var r=$tw.utils.domMaker(\\\"button\\\",{\\\"class\\\":\\\"full-screen-button\\\",innerHTML:$tw.wiki.renderTiddler(\\\"text/html\\\",\\\"$:/core/images/full-screen-button\\\"),attributes:{title:isChinese()?\\\"全屏模式\\\":\\\"Full screen mode\\\"},style:{position:\\\"absolute\\\",right:\\\"0\\\",bottom:\\\"-42px\\\",padding:\\\"0 15px\\\",background:\\\"#fff3\\\",border:\\\"1px #fff7 solid\\\",cursor:\\\"pointer\\\"}});r.onclick=()=>this.setFullscreen(!0),t.insertBefore(r,i),d.domNodes.push(r),this.xml=e;let a=!1;const o=({data:e,source:t})=>{var i;if(null!==(null==(i=this.iframeNode)?void 0:i.contentWindow)&&t===this.iframeNode.contentWindow){const{event:n,...s}=$tw.utils.parseJSONSafe(e,()=>({}));switch(n){case\\\"init\\\":if(a)return;a=!0,this.iframeNode.contentWindow.postMessage(JSON.stringify({action:\\\"load\\\",xml:this.xml,autosave:1}),\\\"*\\\");break;case\\\"configure\\\":this.iframeNode.contentWindow.postMessage(JSON.stringify({action:\\\"configure\\\",config:{compressXml:!0,enableCssDarkMode:!1}}),\\\"*\\\");break;case\\\"load\\\":case\\\"save\\\":case\\\"autosave\\\":this.iframeNode.contentWindow.postMessage(JSON.stringify({action:\\\"export\\\",format:\\\"xmlsvg\\\",embedImages:!0,keepTheme:!0,twEditor:!0}),\\\"*\\\");break;case\\\"openLink\\\":var{href:r,target:o}=s;window.open(r,o);break;case\\\"export\\\":var{message:r,data:o}=s;if(o&&r.twEditor){r=$tw.utils.base64Decode(o.split(\\\",\\\",2)[1]);if(r===this.xml)return;this.xml=r,d.saveChanges(r)}}}};var r=$tw.wiki.getTiddlerText(checkIfDarkMode()?\\\"$:/plugins/Gk0Wk/drawio/config/theme-dark\\\":\\\"$:/plugins/Gk0Wk/drawio/config/theme-light\\\",\\\"\\\")||\\\"Kennedy\\\";window.addEventListener(\\\"message\\\",o),this.iframeNode.setAttribute(\\\"src\\\",`https://embed.diagrams.net/?embed=1&ui=${r}&spin=1&libraries=1&noExitBtn=1&saveAndExit=0&noSaveBtn=1&proto=json&protocol=json&configure=1`),this.unmount=()=>{window.removeEventListener(\\\"message\\\",o)},registerInstance(this)}else r=$tw.utils.domMaker(\\\"div\\\",{document:d.document,\\\"class\\\":\\\"gk0wk-drawio-preview\\\",style:{margin:\\\"0\\\",border:\\\"none\\\",width:\\\"100%\\\",height:\\\"100%\\\"},innerHTML:e}),t.insertBefore(r,i),d.domNodes.push(r),this.xml=\\\"\\\",this.unmount=()=>null}loadXml(e){var t,i;e!==this.xml&&null!=(i=null==(t=null==(t=this.iframeNode)?void 0:t.contentWindow)?void 0:t.postMessage)&&i.call(t,JSON.stringify({action:\\\"load\\\",xml:e,autosave:1}),\\\"*\\\")}resize(){}fixHeight(){this.resize()}focus(){var e,t;null!=(t=null==(e=this.iframeNode)?void 0:e.focus)&&t.call(e)}createTextOperation(){return{text:\\\"\\\",selection:\\\"\\\",selStart:0,selEnd:0,cutStart:null,cutEnd:null,replacement:null,newSelStart:null,newSelEnd:null}}executeTextOperation(){return this.xml}updateDomNodeText(e){this.loadXml(e)}setText(e,t){this.loadXml(e)}setFullscreen(e=!0){var t,i;e?null!=(i=null==(t=this.iframeNode)?void 0:t.requestFullscreen)&&i.call(t):document.exitFullscreen()}},engine=$tw.browser?DrawIOEditor:SimpleEngine;exports[\\\"edit-drawio\\\"]=editTextWidgetFactory(engine,engine);\"}}}","title":"$:/plugins/Gk0Wk/drawio","type":"application/json","version":"0.0.7","Modern.TiddlyDev#SHA256-Hashed":"4131fe02bbddd90fa45c66bb1f29575813d82e14c8590419571bc1eeb6487653"}, -{"author":"Gk0Wk","dependents":"","description":"Use the cursor to resize the width of the sidebar.","list":"readme LICENSE","name":"Sidebar Resizer","plugin-type":"plugin","source":"https://github.com/Gk0Wk/TiddlySeq/tree/master/plugins/Gk0Wk/sidebar-resizer","text":"{\"tiddlers\":{\"$:/plugins/Gk0Wk/sidebar-resizer/LICENSE\":{\"title\":\"$:/plugins/Gk0Wk/sidebar-resizer/LICENSE\",\"text\":\"MIT License\\n\\nCopyright (c) 2021 Ke Wang (Gk0Wk in GitHub)\\n\\nPermission is hereby granted, free of charge, to any person obtaining a copy\\nof this software and associated documentation files (the \\\"Software\\\"), to deal\\nin the Software without restriction, including without limitation the rights\\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\ncopies of the Software, and to permit persons to whom the Software is\\nfurnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all\\ncopies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\nSOFTWARE.\\n\",\"type\":\"text/plain\"},\"$:/plugins/Gk0Wk/sidebar-resizer/readme\":{\"title\":\"$:/plugins/Gk0Wk/sidebar-resizer/readme\",\"text\":\"\\\\define lingo-base() $:/language/ThemeTweaks/\\n\\n\u003C$list filter=\\\"[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]]\\\" variable=\\\"lang\\\">\\n\u003C$list filter=\\\"[\u003Clang>search[zh]]\\\">\\n\\n会在侧边栏的左侧边缘添加一个可拖动的边框,当鼠标移动到左侧边缘时会看到这个边框。拖动这个边框可以改变侧边栏的宽度,拖动到靠近窗口右侧边缘时就会自动收起侧边栏。\\n\\n原理是更改[[$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth]]的值。\\n\\n注意:首先请将 \u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\">\u003C\u003Clingo Options/SidebarLayout>>\u003C/$link> 调整为`fluid-fixed`,本插件才可生效。\\n\\n\u003C$button set=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\" setTo=\\\"fluid-fixed\\\">点击设置\u003C\u003Clingo Options/SidebarLayout>>\u003C/$button>\\n\\n> 本插件使用灵活而强大的 \u003C$text text=\\\"TiddlyWiki\\\" /> 开发框架 [[Tiddly.ModernDev|https://github.com/tiddly-gittly/Modern.TiddlyDev]]\\n\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[\u003Clang>!search[zh]]\\\">\\n\\nA draggable border is added to the left edge of the sidebar, which will be visible when the mouse is moved to the left edge. Dragging this border will change the width of the sidebar, and it will automatically close the sidebar when dragged near the right edge of the window.\\n\\nThe principle is to change the value of [[$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth]].\\n\\nNote: First, please adjust \u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\">\u003C\u003Clingo Options/SidebarLayout>>\u003C/$link> to `fluid-fixed` for this plugin to take effect.\\n\\n\u003C$button set=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\" setTo=\\\"fluid-fixed\\\">Click to adjust\u003C\u003Clingo Options/SidebarLayout>>\u003C/$button>\\n\\n> This plugin uses the flexible and powerful \u003C$text text=\\\"TiddlyWiki\\\" /> development framework [[Tiddly.ModernDev|https://github.com/tiddly-gittly/Modern.TiddlyDev]]\\n\\n\u003C/$list>\\n\u003C/$list>\\n\"},\"$:/plugins/Gk0Wk/sidebar-resizer/resizer\":{\"title\":\"$:/plugins/Gk0Wk/sidebar-resizer/resizer\",\"tags\":\"$:/tags/SideBarSegment\",\"text\":\"\u003Cdiv id=\\\"gk0wk-sidebar-resize-area\\\">\u003C/div>\\n\"},\"$:/plugins/Gk0Wk/sidebar-resizer/style.css\":{\"title\":\"$:/plugins/Gk0Wk/sidebar-resizer/style.css\",\"text\":\"\u003C$reveal state=\\\"$:/state/sidebar\\\" type=\\\"match\\\" text=\\\"no\\\">\\n.tc-sidebar-scrollable {\\n\\tdisplay: none;\\n}\\n\u003C/$reveal>\\n\\ndiv#gk0wk-sidebar-resize-area {\\n\\theight: 100vh;\\n\\twidth: 10px;\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tleft: -5px;\\n\\tcursor: ew-resize;\\n\\ttransition: all {{$:/config/AnimationDuration}}ms;\\n}\\n\\ndiv#gk0wk-sidebar-resize-area:hover {\\n\\tbackground: \u003C\u003Ccolour primary>>;\\n}\\n\",\"tags\":\"$:/tags/Stylesheet\",\"type\":\"text/vnd.tiddlywiki\"},\"$:/plugins/Gk0Wk/sidebar-resizer/hook.js\":{\"title\":\"$:/plugins/Gk0Wk/sidebar-resizer/hook.js\",\"module-type\":\"startup\",\"type\":\"application/javascript\",\"Modern.TiddlyDev#Origin\":\"hook.ts\",\"text\":\"\\\"use strict\\\";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(e,t)=>{for(var o in t)__defProp(e,o,{get:t[o],enumerable:!0})},__copyProps=(t,o,r,n)=>{if(o&&\\\"object\\\"==typeof o||\\\"function\\\"==typeof o)for(let e of __getOwnPropNames(o))__hasOwnProp.call(t,e)||e===r||__defProp(t,e,{get:()=>o[e],enumerable:!(n=__getOwnPropDesc(o,e))||n.enumerable});return t},__toCommonJS=e=>__copyProps(__defProp({},\\\"__esModule\\\",{value:!0}),e),hook_exports={},name=(__export(hook_exports,{after:()=>after,name:()=>name,platforms:()=>platforms,startup:()=>startup,synchronous:()=>synchronous}),module.exports=__toCommonJS(hook_exports),\\\"gk0wk-sidebar-resizer\\\"),platforms=[\\\"browser\\\"],after=[\\\"render\\\"],synchronous=!0,startup=()=>{let r=!1,t=null;const n=document[\\\"body\\\"],i=e=>{r=!0,e instanceof PointerEvent&&n.setPointerCapture(e.pointerId),n.style.userSelect=\\\"none\\\",n.style.MozUserSelect=\\\"none\\\"},s=e=>{r&&(r=!1,e instanceof PointerEvent&&n.releasePointerCapture(e.pointerId),n.style.userSelect=\\\"auto\\\",n.style.MozUserSelect=\\\"auto\\\")};$tw.hooks.addHook(\\\"th-page-refreshed\\\",()=>{var e;function o(e){$tw.wiki.setText(\\\"$:/state/sidebar\\\",void 0,void 0,\\\"no\\\"),s(e)}null!=t&&t.ownerDocument.contains(t)||(t=document.querySelector(\\\"#gk0wk-sidebar-resize-area\\\"))&&(r=!1,e=(t=window.event)=>{if(r&&t)return t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),t.returnValue=!1,requestAnimationFrame(()=>{var e=100-t.clientX/window.innerWidth*100;if(80\u003Ce)return!1;window.innerWidth-t.clientX\u003C100?($tw.wiki.setText(\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\\\",void 0,void 0,3e4/window.innerWidth+\\\"vw\\\"),o(t)):$tw.wiki.setText(\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\\\",void 0,void 0,e+\\\"vw\\\")}),!1},t.addEventListener(\\\"dblclick\\\",o),window.PointerEvent?(t.addEventListener(\\\"pointerdown\\\",i),n.addEventListener(\\\"pointerup\\\",s),n.addEventListener(\\\"blur\\\",s),n.addEventListener(\\\"pointermove\\\",e,!0)):(t.addEventListener(\\\"mousedown\\\",i),n.addEventListener(\\\"mouseup\\\",s),n.addEventListener(\\\"blur\\\",s),n.addEventListener(\\\"mousemove\\\",e,!0),t.addEventListener(\\\"touchstart\\\",i),n.addEventListener(\\\"touchcancel\\\",s),n.addEventListener(\\\"touchend\\\",s),n.addEventListener(\\\"touchmove\\\",e,!0)))})};\"}}}","title":"$:/plugins/Gk0Wk/sidebar-resizer","type":"application/json","version":"0.0.6","Modern.TiddlyDev#SHA256-Hashed":"77a70a968ab8b7a7195afff15fecd901f16d4505df0c6082594b45d813e72c78"}, {"title":"$:/plugins/ipfs","type":"application/json","text":"{\n \"tiddlers\": {\n \"$:/ipfs/image/bluelight\": {\n \"title\": \"$:/ipfs/image/bluelight\",\n \"_canonical_uri\": \"/ipfs/bafybeibi5ldguonidlwomjxwjehodpmypgex5qd2fe6f6yuka4dqvbzvpq\",\n \"_import_uri\": \"/ipfs/bafybeiejplubmcgpkaqwjc23ebo6vorv2p4cwlr7kkhm4cakgtneefjuc4\",\n \"modified\": \"20200526065100279\",\n \"tags\": \"$:/ipfs/documentation $:/isAttachment $:/isIpfs\",\n \"type\": \"image/jpg\",\n \"text\": \"\"\n },\n \"$:/core/images/ens\": {\n \"title\": \"$:/core/images/ens\",\n \"modified\": \"20200528044634920\",\n \"source\": \"https://github.com/ensdomains/ens-app/blob/dev/public/safari-pinned-tab.svg\",\n \"license\": \"https://github.com/ensdomains/ens-app/blob/dev/LICENSE\",\n \"tags\": \"$:/tags/Image $:/ipfs/core $:/isAttachment $:/isEmbedded\",\n \"type\": \"image/svg+xml\",\n \"text\": \"\u003C?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\"?>\\n\u003Csvg\\n xmlns:dc=\\\"http://purl.org/dc/elements/1.1/\\\"\\n xmlns:cc=\\\"http://creativecommons.org/ns#\\\"\\n xmlns:rdf=\\\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\\\"\\n xmlns:svg=\\\"http://www.w3.org/2000/svg\\\"\\n xmlns=\\\"http://www.w3.org/2000/svg\\\"\\n xmlns:sodipodi=\\\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\\\"\\n xmlns:inkscape=\\\"http://www.inkscape.org/namespaces/inkscape\\\"\\n version=\\\"1.0\\\"\\n width=\\\"18\\\"\\n height=\\\"18\\\"\\n viewBox=\\\"0 0 128 128\\\"\\n class=\\\"tc-image-button\\\"\\n preserveAspectRatio=\\\"xMidYMid meet\\\"\\n id=\\\"svg14\\\"\\n sodipodi:docname=\\\"ens-small.svg\\\"\\n inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\"\\n>\\n \u003Cdefs\\n id=\\\"defs18\\\" />\\n \u003Csodipodi:namedview\\n pagecolor=\\\"#ffffff\\\"\\n bordercolor=\\\"#666666\\\"\\n borderopacity=\\\"1\\\"\\n objecttolerance=\\\"10\\\"\\n gridtolerance=\\\"10\\\"\\n guidetolerance=\\\"10\\\"\\n inkscape:pageopacity=\\\"0\\\"\\n inkscape:pageshadow=\\\"2\\\"\\n inkscape:window-width=\\\"1920\\\"\\n inkscape:window-height=\\\"1020\\\"\\n id=\\\"namedview16\\\"\\n showgrid=\\\"false\\\"\\n inkscape:zoom=\\\"12.361274\\\"\\n inkscape:cx=\\\"41.295086\\\"\\n inkscape:cy=\\\"21.734019\\\"\\n inkscape:window-x=\\\"0\\\"\\n inkscape:window-y=\\\"31\\\"\\n inkscape:window-maximized=\\\"1\\\"\\n inkscape:current-layer=\\\"svg14\\\" />\\n \u003Cmetadata\\n id=\\\"metadata2\\\">\\nCreated by potrace 1.11, written by Peter Selinger 2001-2013\\n\u003Crdf:RDF>\\n \u003Ccc:Work\\n rdf:about=\\\"\\\">\\n \u003Cdc:format>image/svg+xml\u003C/dc:format>\\n \u003Cdc:type\\n rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" />\\n \u003Cdc:title>\u003C/dc:title>\\n \u003C/cc:Work>\\n\u003C/rdf:RDF>\\n\u003C/metadata>\\n \u003Cg\\n transform=\\\"matrix(0.08837363,0,0,-0.07925696,-8.0787259,127.6037)\\\"\\n id=\\\"g12\\\"\\n style=\\\"fill:#000000;stroke:none\\\">\\n \u003Cpath\\n d=\\\"m 640,1519 c -69,-48 -173,-122 -231,-163 -94,-65 -110,-82 -134,-129 -30,-63 -37,-155 -15,-222 15,-49 61,-135 71,-135 6,0 437,704 447,731 7,19 -17,4 -138,-82 z\\\"\\n id=\\\"path4\\\"\\n inkscape:connector-curvature=\\\"0\\\" />\\n \u003Cpath\\n d=\\\"m 856,1598 c 4,-7 44,-67 89,-133 118,-175 286,-437 393,-615 93,-154 122,-224 125,-300 2,-55 17,-35 52,75 26,80 28,92 22,217 -7,185 -45,284 -149,387 -35,36 -520,381 -534,381 -3,0 -2,-6 2,-12 z\\\"\\n id=\\\"path6\\\"\\n inkscape:connector-curvature=\\\"0\\\" />\\n \u003Cpath\\n d=\\\"M 141,1068 C 97,969 87,913 93,776 98,649 106,607 146,523 163,485 224,403 254,378 291,346 772,9 776,12 c 2,2 -57,95 -131,206 -132,199 -320,496 -404,639 -48,81 -70,145 -73,210 -1,23 -3,43 -4,43 -2,0 -12,-19 -23,-42 z\\\"\\n id=\\\"path8\\\"\\n inkscape:connector-curvature=\\\"0\\\" />\\n \u003Cpath\\n d=\\\"M 1079,398 C 962,204 859,34 851,20 l -16,-25 30,21 c 306,211 436,304 461,331 51,53 72,165 49,254 -14,51 -63,149 -76,149 -4,0 -103,-159 -220,-352 z\\\"\\n id=\\\"path10\\\"\\n inkscape:connector-curvature=\\\"0\\\" />\\n \u003C/g>\\n\u003C/svg>\"\n },\n \"$:/ipfs/logo/vector/ice/text\": {\n \"title\": \"$:/ipfs/logo/vector/ice/text\",\n \"modified\": \"20200528040053586\",\n \"source\": \"https://github.com/ipfs/logo/blob/master/vector/ipfs-logo-vector-ice-text.svg\",\n \"license\": \"https://github.com/ipfs/logo/blob/master/LICENSE\",\n \"tags\": \"$:/isAttachment $:/isEmbedded\",\n \"type\": \"image/svg+xml\",\n \"text\": \"\u003C?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\"?>\\n\u003Csvg\\n xmlns:rdf=\\\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\\\"\\n style=\\\"enable-background:new\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"\\n height=\\\"512\\\"\\n width=\\\"512\\\"\\n version=\\\"1.1\\\"\\n xmlns:cc=\\\"http://creativecommons.org/ns#\\\"\\n xmlns:dc=\\\"http://purl.org/dc/elements/1.1/\\\"\\n viewBox=\\\"0 0 512 512\\\"\\n>\\n \u003Cdefs>\\n \u003ClinearGradient id=\\\"c\\\" y2=\\\"771.51\\\" gradientUnits=\\\"userSpaceOnUse\\\" y1=\\\"771.51\\\" x2=\\\"527.72\\\" x1=\\\"84.315\\\">\\n \u003Cstop stop-color=\\\"#4a9ea1\\\" offset=\\\"0\\\"/>\\n \u003C/linearGradient>\\n \u003ClinearGradient id=\\\"d\\\" y2=\\\"771.48\\\" gradientUnits=\\\"userSpaceOnUse\\\" y1=\\\"771.48\\\" x2=\\\"512.36\\\" x1=\\\"99.675\\\">\\n \u003Cstop stop-color=\\\"#63d3d7\\\" offset=\\\"0\\\"/>\\n \u003C/linearGradient>\\n \u003C/defs>\\n \u003Cg>\\n \u003Cg style=\\\"enable-background:new\\\" transform=\\\"translate(-50.017,-515.51)\\\">\\n \u003Cpath fill=\\\"url(#c)\\\" d=\\\"m84.315 899.51 221.7 128 221.7-128v-256l-221.7-127.99-221.7 128z\\\"/>\\n \u003Cpath fill=\\\"url(#d)\\\" d=\\\"m283.13 546.35-160.74 92.806c0.32126 2.8543 0.32125 5.7352 0 8.5894l160.75 92.806c13.554-10.001 32.043-10.001 45.597 0l160.75-92.807c-0.32126-2.8543-0.32293-5.7338-0.001-8.588l-160.74-92.806c-13.554 10.001-32.044 10.001-45.599 0zm221.79 127.03-160.92 93.84c1.884 16.739-7.3611 32.751-22.799 39.489l0.18062 184.58c2.6325 1.1489 5.1267 2.5886 7.438 4.294l160.75-92.805c-1.884-16.739 7.3611-32.752 22.799-39.49v-185.61c-2.6325-1.1489-5.1281-2.5886-7.4394-4.294zm-397.81 1.0315c-2.3112 1.7054-4.8054 3.1465-7.438 4.2954v185.61c15.438 6.7378 24.683 22.75 22.799 39.489l160.74 92.806c2.3112-1.7054 4.8069-3.1465 7.4394-4.2954v-185.61c-15.438-6.7378-24.683-22.75-22.799-39.489l-160.74-92.81z\\\"/>\\n \u003C/g>\\n \u003Cg style=\\\"enable-background:new\\\" transform=\\\"translate(0,-196.66)\\\">\\n \u003Cpath fill-opacity=\\\".25098\\\" d=\\\"m256 708.66 221.7-128v-256l-221.7 128v256z\\\"/>\\n \u003Cpath fill-opacity=\\\".039216\\\" d=\\\"m256 708.66v-256l-221.7-128v256l221.7 128z\\\"/>\\n \u003Cpath fill-opacity=\\\".13018\\\" d=\\\"m34.298 324.66 221.7 128 221.7-128-221.7-128-221.7 128z\\\"/>\\n \u003C/g>\\n \u003C/g>\\n \u003Cg style=\\\"enable-background:new\\\" fill=\\\"#fff\\\">\\n \u003Cpath d=\\\"m103.09 186h-29.2v141.2h29.2v-141.2z\\\"/>\\n \u003Cpath d=\\\"m153.97 327.2v-51.8c7.2 0.6 14.4 0.6 20.4 0.6 41.6 0 53.6-20.6 53.6-46 0-30.8-22-44-56-44h-47.2v141.2h29.2zm15.8-71.8c-5.4 0-13.4 0-15.8-0.2v-48h18.2c17.6 0 27.6 8.4 27.6 23.8v0.4c0 12-4.4 24-30 24z\\\"/>\\n \u003Cpath d=\\\"m327.95 186h-88.6v141.2h29.2v-62.2h55.4v-21.2h-55.6v-36.4h57.6l2-21.4z\\\"/>\\n \u003Cpath d=\\\"m423.51 213.6 7.6-19.6c-11.4-8.2-26.8-11.2-46.2-11.2-28.2 0-51.4 13.2-51.4 40.2 0 24.2 17.8 33.8 35.6 39.6l17.8 6c12.2 4.2 22.2 8.2 22.2 21.4 0 12-10.4 16.8-26.2 16.8-16 0-33.2-4.8-43-11l-7.6 21.2c12.8 8.2 29 12.2 50.8 12.2 31 0 55-13.6 55-42.6 0-27-20.6-35.6-41.4-42.6l-19.4-6.4c-8.4-2.8-14.8-6.6-14.8-17.4 0-11 9-15.4 22.4-15.4 16.4 0 29.2 3 38.6 8.8z\\\"/>\\n \u003C/g>\\n\u003C/svg>\"\n },\n \"$:/core/images/ipfs\": {\n \"title\": \"$:/core/images/ipfs\",\n \"modified\": \"20200528044634920\",\n \"source\": \"https://github.com/ipfs/logo/blob/master/vector/ipfs-logo-vector-black.svg\",\n \"license\": \"https://github.com/ipfs/logo/blob/master/LICENSE\",\n \"tags\": \"$:/tags/Image $:/ipfs/core $:/isAttachment $:/isEmbedded\",\n \"type\": \"image/svg+xml\",\n \"text\": \"\u003C?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\"?>\\n\u003Csvg\\n xmlns:dc=\\\"http://purl.org/dc/elements/1.1/\\\"\\n xmlns:cc=\\\"http://creativecommons.org/ns#\\\"\\n xmlns:rdf=\\\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\\\"\\n xmlns:svg=\\\"http://www.w3.org/2000/svg\\\"\\n xmlns=\\\"http://www.w3.org/2000/svg\\\"\\n xmlns:sodipodi=\\\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\\\"\\n xmlns:inkscape=\\\"http://www.inkscape.org/namespaces/inkscape\\\"\\n style=\\\"enable-background:new\\\"\\n height=\\\"22\\\"\\n width=\\\"22\\\"\\n version=\\\"1.1\\\"\\n viewBox=\\\"0 0 128 128\\\"\\n class=\\\"tc-image-button\\\"\\n id=\\\"svg24\\\"\\n sodipodi:docname=\\\"ipfs-small.svg\\\"\\n inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\"\\n>\\n \u003Cmetadata\\n id=\\\"metadata28\\\">\\n \u003Crdf:RDF>\\n \u003Ccc:Work\\n rdf:about=\\\"\\\">\\n \u003Cdc:format>image/svg+xml\u003C/dc:format>\\n \u003Cdc:type\\n rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" />\\n \u003Cdc:title>\u003C/dc:title>\\n \u003C/cc:Work>\\n \u003C/rdf:RDF>\\n \u003C/metadata>\\n \u003Csodipodi:namedview\\n pagecolor=\\\"#ffffff\\\"\\n bordercolor=\\\"#666666\\\"\\n borderopacity=\\\"1\\\"\\n objecttolerance=\\\"10\\\"\\n gridtolerance=\\\"10\\\"\\n guidetolerance=\\\"10\\\"\\n inkscape:pageopacity=\\\"0\\\"\\n inkscape:pageshadow=\\\"2\\\"\\n inkscape:window-width=\\\"1920\\\"\\n inkscape:window-height=\\\"1020\\\"\\n id=\\\"namedview26\\\"\\n showgrid=\\\"false\\\"\\n units=\\\"pt\\\"\\n inkscape:zoom=\\\"5.2149125\\\"\\n inkscape:cx=\\\"133.61143\\\"\\n inkscape:cy=\\\"41.576599\\\"\\n inkscape:window-x=\\\"0\\\"\\n inkscape:window-y=\\\"31\\\"\\n inkscape:window-maximized=\\\"1\\\"\\n inkscape:current-layer=\\\"svg24\\\" />\\n \u003Cdefs\\n id=\\\"defs8\\\">\\n \u003ClinearGradient\\n id=\\\"b\\\"\\n y2=\\\"771.51001\\\"\\n gradientUnits=\\\"userSpaceOnUse\\\"\\n x2=\\\"527.71997\\\"\\n y1=\\\"771.51001\\\"\\n x1=\\\"84.315002\\\">\\n \u003Cstop\\n offset=\\\"0\\\"\\n id=\\\"stop2\\\" />\\n \u003C/linearGradient>\\n \u003ClinearGradient\\n id=\\\"a\\\"\\n y2=\\\"771.47998\\\"\\n gradientUnits=\\\"userSpaceOnUse\\\"\\n x2=\\\"512.35999\\\"\\n y1=\\\"771.47998\\\"\\n x1=\\\"99.675003\\\">\\n \u003Cstop\\n stop-color=\\\"#d8d8d8\\\"\\n offset=\\\"0\\\"\\n id=\\\"stop5\\\" />\\n \u003C/linearGradient>\\n \u003C/defs>\\n \u003Cg\\n transform=\\\"matrix(0.28867709,0,0,0.24999998,-24.339808,-128.87748)\\\"\\n id=\\\"g14\\\">\\n \u003Cpath\\n d=\\\"m 84.315,899.51 221.7,128 221.7,-128 v -256 l -221.7,-127.99 -221.7,128 z\\\"\\n id=\\\"path10\\\"\\n style=\\\"fill:url(#b)\\\"\\n inkscape:connector-curvature=\\\"0\\\" />\\n \u003Cpath\\n d=\\\"m 283.13,546.35 -160.74,92.806 c 0.32126,2.8543 0.32125,5.7352 0,8.5894 l 160.75,92.806 c 13.554,-10.001 32.043,-10.001 45.597,0 l 160.75,-92.807 c -0.32126,-2.8543 -0.32293,-5.7338 -0.001,-8.588 l -160.74,-92.806 c -13.554,10.001 -32.044,10.001 -45.599,0 z M 504.92,673.38 344,767.22 c 1.884,16.739 -7.3611,32.751 -22.799,39.489 l 0.18062,184.58 c 2.6325,1.1489 5.1267,2.5886 7.438,4.294 l 160.75,-92.805 c -1.884,-16.739 7.3611,-32.752 22.799,-39.49 v -185.61 c -2.6325,-1.1489 -5.1281,-2.5886 -7.4394,-4.294 z m -397.81,1.0315 c -2.3112,1.7054 -4.8054,3.1465 -7.438,4.2954 v 185.61 c 15.438,6.7378 24.683,22.75 22.799,39.489 l 160.74,92.806 c 2.3112,-1.7054 4.8069,-3.1465 7.4394,-4.2954 v -185.61 c -15.438,-6.7378 -24.683,-22.75 -22.799,-39.489 l -160.74,-92.81 z\\\"\\n id=\\\"path12\\\"\\n style=\\\"fill:url(#a)\\\"\\n inkscape:connector-curvature=\\\"0\\\" />\\n \u003C/g>\\n \u003Cg\\n transform=\\\"matrix(0.28867709,0,0,0.24999998,-9.9010468,-49.164992)\\\"\\n id=\\\"g22\\\">\\n \u003Cpath\\n d=\\\"m 256,708.66 221.7,-128 v -256 l -221.7,128 z\\\"\\n id=\\\"path16\\\"\\n inkscape:connector-curvature=\\\"0\\\"\\n style=\\\"fill-opacity:0.25097997\\\" />\\n \u003Cpath\\n d=\\\"m 256,708.66 v -256 l -221.7,-128 v 256 z\\\"\\n id=\\\"path18\\\"\\n inkscape:connector-curvature=\\\"0\\\"\\n style=\\\"fill-opacity:0.03921599\\\" />\\n \u003Cpath\\n d=\\\"m 34.298,324.66 221.7,128 221.7,-128 -221.7,-128 z\\\"\\n id=\\\"path20\\\"\\n inkscape:connector-curvature=\\\"0\\\"\\n style=\\\"fill-opacity:0.13018003\\\" />\\n \u003C/g>\\n\u003C/svg>\"\n },\n \"$:/core/images/bluelight\": {\n \"title\": \"$:/core/images/bluelight\",\n \"modified\": \"20200528045157536\",\n \"tags\": \"$:/tags/Image $:/ipfs/core $:/isAttachment $:/isEmbedded\",\n \"type\": \"image/png\",\n \"text\": \"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Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iCiAgICB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIgogICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICB4bWxuczpwbHVzPSJodHRwOi8vbnMudXNlcGx1cy5vcmcvbGRmL3htcC8xLjAvIgogICAgeG1sbnM6R0lNUD0iaHR0cDovL3d3dy5naW1wLm9yZy94bXAvIgogICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIgogICB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkUyRjFBQzkzNzUzNTExRTQ4QTkwRTdFRDUwRTU1MTZBIgogICB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOmMzMGY2MGJkLTBlYTAtNDU4YS1iZjVkLTUzYzIzNTFhY2UwMCIKICAgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjllMzlkYmZlLTA5ZGEtNDYyNi04ZmUzLTRjZGVkNzIzY2M3OSIKICAgR0lNUDpBUEk9IjIuMCIKICAgR0lNUDpQbGF0Zm9ybT0iTGludXgiCiAgIEdJTVA6VGltZVN0YW1wPSIxNTg4NDg0NDExOTg4ODc5IgogICBHSU1QOlZlcnNpb249IjIuMTAuOCIKICAgZGM6Rm9ybWF0PSJpbWFnZS9wbmciCiAgIHhtcDpDcmVhdG9yVG9vbD0iR0lNUCAyLjEwIj4KICAgPGlwdGNFeHQ6TG9jYXRpb25DcmVhdGVkPgogICAgPHJkZjpCYWcvPgogICA8L2lwdGNFeHQ6TG9jYXRpb25DcmVhdGVkPgogICA8aXB0Y0V4dDpMb2NhdGlvblNob3duPgogICAgPHJkZjpCYWcvPgogICA8L2lwdGNFeHQ6TG9jYXRpb25TaG93bj4KICAgPGlwdGNFeHQ6QXJ0d29ya09yT2JqZWN0PgogICAgPHJkZjpCYWcvPgogICA8L2lwdGNFeHQ6QXJ0d29ya09yT2JqZWN0PgogICA8aXB0Y0V4dDpSZWdpc3RyeUlkPgogICAgPHJkZjpCYWcvPgogICA8L2lwdGNFeHQ6UmVnaXN0cnlJZD4KICAgPHhtcE1NOkhpc3Rvcnk+CiAgICA8cmRmOlNlcT4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii8iCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6Y2U5MDE2NGYtZGMzYS00ZDg2LWFiNDMtMzQ2ODk4NDExMmI1IgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJHaW1wIDIuMTAgKExpbnV4KSIKICAgICAgc3RFdnQ6d2hlbj0iKzA1OjMwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICAgPHhtcE1NOkRlcml2ZWRGcm9tCiAgICBzdFJlZjpkb2N1bWVudElEPSI2OUJCODkzQzc1RTJBODMyMDU4MTA4OTg4OEU1MTAxRSIKICAgIHN0UmVmOmluc3RhbmNlSUQ9IjY5QkI4OTNDNzVFMkE4MzIwNTgxMDg5ODg4RTUxMDFFIi8+CiAgIDxwbHVzOkltYWdlU3VwcGxpZXI+CiAgICA8cmRmOlNlcS8+CiAgIDwvcGx1czpJbWFnZVN1cHBsaWVyPgogICA8cGx1czpJbWFnZUNyZWF0b3I+CiAgICA8cmRmOlNlcS8+CiAgIDwvcGx1czpJbWFnZUNyZWF0b3I+CiAgIDxwbHVzOkNvcHlyaWdodE93bmVyPgogICAgPHJkZjpTZXEvPgogICA8L3BsdXM6Q29weXJpZ2h0T3duZXI+CiAgIDxwbHVzOkxpY2Vuc29yPgogICAgPHJkZjpTZXEvPgogICA8L3BsdXM6TGljZW5zb3I+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg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\"\n },\n \"$:/ipfs/image/tiddlywiki\": {\n \"title\": \"$:/ipfs/image/tiddlywiki\",\n \"_canonical_uri\": \"/ipfs/bafkreihzzc42nwumjeaz4d6kxsbxa6vy5llnsvqtz3xjjwnjrhwkjy5loq\",\n \"modified\": \"20200528080350311\",\n \"tags\": \"$:/ipfs/documentation $:/isAttachment $:/isIpfs\",\n \"type\": \"image/svg+xml\"\n },\n \"$:/ipfs/saver/api\": {\n \"title\": \"$:/ipfs/saver/api\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"$:/ipfs/saver/api/https/tube.copylaradio.com/5001\"\n },\n \"$:/ipfs/saver/ens/domain\": {\n \"title\": \"$:/ipfs/saver/ens/domain\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"\"\n },\n \"$:/ipfs/saver/export\": {\n \"title\": \"$:/ipfs/saver/export\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"json\"\n },\n \"$:/ipfs/saver/gateway\": {\n \"title\": \"$:/ipfs/saver/gateway\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"$:/ipfs/saver/gateway/https/tube.copylaradio.com\"\n },\n \"$:/ipfs/saver/ipns/key\": {\n \"title\": \"$:/ipfs/saver/ipns/key\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"\"\n },\n \"$:/ipfs/saver/ipns/name\": {\n \"title\": \"$:/ipfs/saver/ipns/name\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"\"\n },\n \"$:/ipfs/saver/policy\": {\n \"title\": \"$:/ipfs/saver/policy\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"gateway\"\n },\n \"$:/config/PreferredSaver\": {\n \"title\": \"$:/config/PreferredSaver\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"$:/plugins/ipfs/ipfs-saver.js\"\n },\n \"$:/ipfs/saver/protocol\": {\n \"title\": \"$:/ipfs/saver/protocol\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"ipfs\"\n },\n \"$:/ipfs/saver/provider\": {\n \"title\": \"$:/ipfs/saver/provider\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"http\"\n },\n \"$:/ipfs/saver/unpin\": {\n \"title\": \"$:/ipfs/saver/unpin\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"bluelightav.eth\",\n \"text\": \"no\"\n },\n \"$:/ipfs/saver/verbose\": {\n \"title\": \"$:/ipfs/saver/verbose\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"bluelightav.eth\",\n \"text\": \"yes\"\n },\n \"$:/plugins/ipfs/modules/parsers/audioparser.js\": {\n \"title\": \"$:/plugins/ipfs/modules/parsers/audioparser.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/modules/parsers/audioparser.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: parser\\n\\nThe audio parser parses an audio tiddler into an embeddable HTML element\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n var name = 'ipfs-audioparser'\\n\\n var AudioParser = function (type, text, options) {\\n var self = this\\n var value = 'data:' + type + ';base64,'\\n var element = {\\n type: 'element',\\n tag: 'audio',\\n attributes: {\\n controls: { type: 'string', value: 'controls' },\\n style: { type: 'string', value: 'width: 100%; object-fit: contain' }\\n }\\n }\\n if (\\n $tw.browser &&\\n options.tiddler !== undefined &&\\n options.tiddler !== null\\n ) {\\n var canonicalUri = options.tiddler.fields._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n if (canonicalUri !== null) {\\n $tw.ipfs\\n .resolveUrl(false, true, canonicalUri)\\n .then(data => {\\n var { normalizedUrl, resolvedUrl } = data\\n var url =\\n resolvedUrl !== null\\n ? resolvedUrl.toString()\\n : normalizedUrl !== null\\n ? normalizedUrl.toString()\\n : null\\n if (url !== null) {\\n $tw.ipfs\\n .loadToBase64(url)\\n .then(loaded => {\\n element.attributes.src = {\\n type: 'string',\\n value: value + loaded.data\\n }\\n var parsedTiddler = $tw.utils.getChangedTiddler(\\n options.tiddler\\n )\\n $tw.rootWidget.refresh(parsedTiddler)\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n })\\n } else if (text) {\\n element.attributes.src = { type: 'string', value: value + text }\\n }\\n }\\n // Return the parsed tree\\n this.tree = [element]\\n }\\n\\n AudioParser.prototype.getLogger = function () {\\n if (window.log) {\\n return window.log.getLogger(name)\\n }\\n return console\\n }\\n\\n exports['audio/ogg'] = AudioParser\\n exports['audio/mpeg'] = AudioParser\\n exports['audio/mp3'] = AudioParser\\n exports['audio/mp4'] = AudioParser\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"parser\"\n },\n \"$:/plugins/ipfs/modules/parsers/binaryparser.js\": {\n \"title\": \"$:/plugins/ipfs/modules/parsers/binaryparser.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/modules/parsers/binaryparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe binary parser parses a binary tiddler into a warning message and download link\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const name = 'ipfs-binaryparser'\\n\\n var BINARY_WARNING_MESSAGE = '$:/core/ui/BinaryWarning'\\n var EXPORT_BUTTON_IMAGE = '$:/core/images/export-button'\\n\\n var BinaryParser = function (type, text, options) {\\n var self = this\\n // Transclude the binary data tiddler warning message\\n var warn = {\\n type: 'element',\\n tag: 'p',\\n children: [\\n {\\n type: 'transclude',\\n attributes: {\\n tiddler: { type: 'string', value: BINARY_WARNING_MESSAGE }\\n }\\n }\\n ]\\n }\\n // Create download link based on binary tiddler title\\n var link = {\\n type: 'element',\\n tag: 'a',\\n attributes: {\\n title: { type: 'indirect', textReference: '!!title' },\\n download: { type: 'indirect', textReference: '!!title' }\\n },\\n children: [\\n {\\n type: 'transclude',\\n attributes: {\\n tiddler: { type: 'string', value: EXPORT_BUTTON_IMAGE }\\n }\\n }\\n ]\\n }\\n if (\\n $tw.browser &&\\n options.tiddler !== undefined &&\\n options.tiddler !== null\\n ) {\\n var canonicalUri = options.tiddler.fields._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n if (canonicalUri !== null) {\\n $tw.ipfs\\n .resolveUrl(false, true, canonicalUri)\\n .then(data => {\\n var { normalizedUrl, resolvedUrl } = data\\n var url =\\n resolvedUrl !== null\\n ? resolvedUrl.toString()\\n : normalizedUrl !== null\\n ? normalizedUrl.toString()\\n : null\\n if (url !== null) {\\n link.attributes.href = {\\n type: 'string',\\n value: url\\n }\\n var parsedTiddler = $tw.utils.getChangedTiddler(options.tiddler)\\n $tw.rootWidget.refresh(parsedTiddler)\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n })\\n } else if (text) {\\n link.attributes.href = {\\n type: 'string',\\n value: 'data:' + type + ';base64,' + text\\n }\\n }\\n }\\n // Combine warning message and download link in a div\\n var element = {\\n type: 'element',\\n tag: 'div',\\n attributes: {\\n class: { type: 'string', value: 'tc-binary-warning' }\\n },\\n children: [warn, link]\\n }\\n this.tree = [element]\\n }\\n\\n BinaryParser.prototype.getLogger = function () {\\n if (window.log) {\\n return window.log.getLogger(name)\\n }\\n return console\\n }\\n\\n exports['application/octet-stream'] = BinaryParser\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"module-type\": \"parser\"\n },\n \"$:/plugins/ipfs/modules/parsers/htmlparser.js\": {\n \"title\": \"$:/plugins/ipfs/modules/parsers/htmlparser.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/modules/parsers/htmlparser.js\\ntype: application/javascript\\nmodule-type: parser\\n\\nThe HTML parser displays text as raw HTML\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const name = 'ipfs-binaryparser'\\n\\n var HtmlParser = function (type, text, options) {\\n var self = this\\n var value = 'data:text/html;charset=utf-8,'\\n var src\\n if (\\n $tw.browser &&\\n options.tiddler !== undefined &&\\n options.tiddler !== null\\n ) {\\n var canonicalUri = options.tiddler.fields._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n if (canonicalUri !== null) {\\n $tw.ipfs\\n .resolveUrl(false, true, canonicalUri)\\n .then(data => {\\n var { normalizedUrl, resolvedUrl } = data\\n var url =\\n resolvedUrl !== null\\n ? resolvedUrl.toString()\\n : normalizedUrl !== null\\n ? normalizedUrl.toString()\\n : null\\n if (url !== null) {\\n src = url\\n var parsedTiddler = $tw.utils.getChangedTiddler(options.tiddler)\\n $tw.rootWidget.refresh(parsedTiddler)\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n })\\n } else if (text) {\\n src = value + encodeURIComponent(text)\\n }\\n }\\n this.tree = [\\n {\\n type: 'element',\\n tag: 'iframe',\\n attributes: {\\n src: { type: 'string', value: src },\\n sandbox: { type: 'string', value: '' }\\n }\\n }\\n ]\\n }\\n\\n HtmlParser.prototype.getLogger = function () {\\n if (window.log) {\\n return window.log.getLogger(name)\\n }\\n return console\\n }\\n\\n exports['text/html'] = HtmlParser\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"module-type\": \"parser\"\n },\n \"$:/plugins/ipfs/modules/parsers/imageparser.js\": {\n \"title\": \"$:/plugins/ipfs/modules/parsers/imageparser.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/modules/parsers/imageparser.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: parser\\n\\nThe image parser parses an image into an embeddable HTML element\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n var name = 'ipfs-imageparser'\\n\\n var ImageParser = function (type, text, options) {\\n var self = this\\n var value = 'data:' + type + ';base64,'\\n var element = {\\n type: 'element',\\n tag: 'img',\\n attributes: {}\\n }\\n if (\\n $tw.browser &&\\n options.tiddler !== undefined &&\\n options.tiddler !== null\\n ) {\\n var canonicalUri = options.tiddler.fields._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n if (canonicalUri !== null) {\\n $tw.ipfs\\n .resolveUrl(false, true, canonicalUri)\\n .then(data => {\\n var { normalizedUrl, resolvedUrl } = data\\n var url =\\n resolvedUrl !== null\\n ? resolvedUrl.toString()\\n : normalizedUrl !== null\\n ? normalizedUrl.toString()\\n : null\\n if (url !== null) {\\n $tw.ipfs\\n .loadToBase64(url)\\n .then(loaded => {\\n element.attributes.src = {\\n type: 'string',\\n value: value + loaded.data\\n }\\n var parsedTiddler = $tw.utils.getChangedTiddler(\\n options.tiddler\\n )\\n $tw.rootWidget.refresh(parsedTiddler)\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n })\\n } else if (text) {\\n element.attributes.src = { type: 'string', value: value + text }\\n }\\n }\\n // Return the parsed tree\\n this.tree = [element]\\n }\\n\\n ImageParser.prototype.getLogger = function () {\\n if (window.log) {\\n return window.log.getLogger(name)\\n }\\n return console\\n }\\n\\n exports['image/jpg'] = ImageParser\\n exports['image/jpeg'] = ImageParser\\n exports['image/png'] = ImageParser\\n exports['image/gif'] = ImageParser\\n exports['image/webp'] = ImageParser\\n exports['image/heic'] = ImageParser\\n exports['image/heif'] = ImageParser\\n exports['image/x-icon'] = ImageParser\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"parser\"\n },\n \"$:/plugins/ipfs/modules/parsers/pdfparser.js\": {\n \"title\": \"$:/plugins/ipfs/modules/parsers/pdfparser.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/modules/parsers/pdfparser.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: parser\\n\\nThe PDF parser embeds a PDF viewer\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const name = 'ipfs-pdfparser'\\n\\n var PdfParser = function (type, text, options) {\\n var self = this\\n var value = 'data:application/pdf;base64,'\\n var element = {\\n type: 'element',\\n tag: 'embed',\\n attributes: {}\\n }\\n if (\\n $tw.browser &&\\n options.tiddler !== undefined &&\\n options.tiddler !== null\\n ) {\\n var canonicalUri = options.tiddler.fields._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n if (canonicalUri !== null) {\\n $tw.ipfs\\n .resolveUrl(false, true, canonicalUri)\\n .then(data => {\\n var { normalizedUrl, resolvedUrl } = data\\n var url =\\n resolvedUrl !== null\\n ? resolvedUrl.toString()\\n : normalizedUrl !== null\\n ? normalizedUrl.toString()\\n : null\\n if (url !== null) {\\n $tw.ipfs\\n .loadToBase64(url)\\n .then(loaded => {\\n element.attributes.src = {\\n type: 'string',\\n value: value + loaded.data\\n }\\n var parsedTiddler = $tw.utils.getChangedTiddler(\\n options.tiddler\\n )\\n $tw.rootWidget.refresh(parsedTiddler)\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n })\\n } else if (text) {\\n element.attributes.src = { type: 'string', value: value + text }\\n }\\n }\\n // Return the parsed tree\\n this.tree = [element]\\n }\\n\\n PdfParser.prototype.getLogger = function () {\\n if (window.log) {\\n return window.log.getLogger(name)\\n }\\n return console\\n }\\n\\n exports['application/pdf'] = PdfParser\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"parser\"\n },\n \"$:/plugins/ipfs/modules/parsers/svgparser.js\": {\n \"title\": \"$:/plugins/ipfs/modules/parsers/svgparser.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/modules/parsers/svgparser.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: parser\\n\\nThe image parser parses an image into an embeddable HTML element\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const name = 'ipfs-svgparser'\\n\\n var SvgParser = function (type, text, options) {\\n var self = this\\n var value = 'data:image/svg+xml,'\\n var element = {\\n type: 'element',\\n tag: 'img',\\n attributes: {}\\n }\\n if (\\n $tw.browser &&\\n options.tiddler !== undefined &&\\n options.tiddler !== null\\n ) {\\n var canonicalUri = options.tiddler.fields._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n if (canonicalUri !== null) {\\n $tw.ipfs\\n .resolveUrl(false, true, canonicalUri)\\n .then(data => {\\n var { normalizedUrl, resolvedUrl } = data\\n var url =\\n resolvedUrl !== null\\n ? resolvedUrl.toString()\\n : normalizedUrl !== null\\n ? normalizedUrl.toString()\\n : null\\n if (url !== null) {\\n $tw.ipfs\\n .loadToUtf8(url)\\n .then(loaded => {\\n element.attributes.src = {\\n type: 'string',\\n value: value + encodeURIComponent(loaded.data)\\n }\\n var parsedTiddler = $tw.utils.getChangedTiddler(\\n options.tiddler\\n )\\n $tw.rootWidget.refresh(parsedTiddler)\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n })\\n } else {\\n element.attributes.src = {\\n type: 'string',\\n value: value + encodeURIComponent(text)\\n }\\n }\\n }\\n // Return the parsed tree\\n this.tree = [element]\\n }\\n\\n SvgParser.prototype.getLogger = function () {\\n if (window.log) {\\n return window.log.getLogger(name)\\n }\\n return console\\n }\\n\\n exports['image/svg+xml'] = SvgParser\\n exports['.svg'] = SvgParser\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"parser\"\n },\n \"$:/plugins/ipfs/modules/parsers/videoparser.js\": {\n \"title\": \"$:/plugins/ipfs/modules/parsers/videoparser.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/modules/parsers/videoparser.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: parser\\n\\nThe video parser parses a video tiddler into an embeddable HTML element\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const name = 'ipfs-videoparser'\\n\\n var VideoParser = function (type, text, options) {\\n var self = this\\n var value = 'data:' + type + ';base64,'\\n var element = {\\n type: 'element',\\n tag: 'video',\\n attributes: {\\n controls: { type: 'string', value: 'controls' },\\n style: { type: 'string', value: 'width: 100%; object-fit: contain' }\\n }\\n }\\n if (\\n $tw.browser &&\\n options.tiddler !== undefined &&\\n options.tiddler !== null\\n ) {\\n var canonicalUri = options.tiddler.fields._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n if (canonicalUri !== null) {\\n $tw.ipfs\\n .resolveUrl(false, true, canonicalUri)\\n .then(data => {\\n var { normalizedUrl, resolvedUrl } = data\\n var url =\\n resolvedUrl !== null\\n ? resolvedUrl.toString()\\n : normalizedUrl !== null\\n ? normalizedUrl.toString()\\n : null\\n if (url !== null) {\\n $tw.ipfs\\n .loadToBase64(url)\\n .then(loaded => {\\n element.attributes.src = {\\n type: 'string',\\n value: value + loaded.data\\n }\\n var parsedTiddler = $tw.utils.getChangedTiddler(\\n options.tiddler\\n )\\n $tw.rootWidget.refresh(parsedTiddler)\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n })\\n } else if (text) {\\n element.attributes.src = { type: 'string', value: value + text }\\n }\\n }\\n // Return the parsed tree\\n this.tree = [element]\\n }\\n\\n VideoParser.prototype.getLogger = function () {\\n if (window.log) {\\n return window.log.getLogger(name)\\n }\\n return console\\n }\\n\\n exports['video/ogg'] = VideoParser\\n exports['video/webm'] = VideoParser\\n exports['video/mp4'] = VideoParser\\n exports['video/quicktime'] = VideoParser\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"parser\"\n },\n \"$:/plugins/ipfs/modules/parsers/wikiparser/wikiparser.js\": {\n \"title\": \"$:/plugins/ipfs/modules/parsers/wikiparser/wikiparser.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/modules/parsers/wikiparser/wikiparser.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: parser\\n\\nwikiparser\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2020, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const IpfsImport = require('$:/plugins/ipfs/ipfs-import.js').IpfsImport\\n\\n var name = 'ipfs-wikiparser'\\n\\n var WikiParser = function (type, text, options) {\\n var self = this\\n this.wiki = options.wiki\\n // Check for an externally linked tiddler\\n if (\\n $tw.browser &&\\n (text || '') === '' &&\\n options.tiddler !== undefined &&\\n options.tiddler !== null\\n ) {\\n var canonicalUri = options.tiddler.fields._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n var importUri = options.tiddler.fields._import_uri\\n importUri =\\n importUri === undefined || importUri == null || importUri.trim() === ''\\n ? null\\n : importUri.trim()\\n if (canonicalUri !== null || importUri !== null) {\\n var ipfsImport = new IpfsImport()\\n ipfsImport\\n .import(canonicalUri, importUri, options.tiddler)\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n text = $tw.language.getRawString('LazyLoadingWarning')\\n }\\n }\\n // Initialise the classes if we don't have them already\\n if (!this.pragmaRuleClasses) {\\n WikiParser.prototype.pragmaRuleClasses = $tw.modules.createClassesFromModules(\\n 'wikirule',\\n 'pragma',\\n $tw.WikiRuleBase\\n )\\n this.setupRules(\\n WikiParser.prototype.pragmaRuleClasses,\\n '$:/config/WikiParserRules/Pragmas/'\\n )\\n }\\n if (!this.blockRuleClasses) {\\n WikiParser.prototype.blockRuleClasses = $tw.modules.createClassesFromModules(\\n 'wikirule',\\n 'block',\\n $tw.WikiRuleBase\\n )\\n this.setupRules(\\n WikiParser.prototype.blockRuleClasses,\\n '$:/config/WikiParserRules/Block/'\\n )\\n }\\n if (!this.inlineRuleClasses) {\\n WikiParser.prototype.inlineRuleClasses = $tw.modules.createClassesFromModules(\\n 'wikirule',\\n 'inline',\\n $tw.WikiRuleBase\\n )\\n this.setupRules(\\n WikiParser.prototype.inlineRuleClasses,\\n '$:/config/WikiParserRules/Inline/'\\n )\\n }\\n // Save the parse text\\n this.type = type || 'text/vnd.tiddlywiki'\\n this.source = text || ''\\n this.sourceLength = this.source.length\\n // Flag for ignoring whitespace\\n this.configTrimWhiteSpace = false\\n // Set current parse position\\n this.pos = 0\\n // Instantiate the pragma parse rules\\n this.pragmaRules = this.instantiateRules(\\n this.pragmaRuleClasses,\\n 'pragma',\\n 0\\n )\\n // Instantiate the parser block and inline rules\\n this.blockRules = this.instantiateRules(this.blockRuleClasses, 'block', 0)\\n this.inlineRules = this.instantiateRules(\\n this.inlineRuleClasses,\\n 'inline',\\n 0\\n )\\n // Parse any pragmas\\n this.tree = []\\n var topBranch = this.parsePragmas()\\n // Parse the text into inline runs or blocks\\n if (options.parseAsInline) {\\n topBranch.push.apply(topBranch, this.parseInlineRun())\\n } else {\\n topBranch.push.apply(topBranch, this.parseBlocks())\\n }\\n // Return the parsed tree\\n }\\n\\n WikiParser.prototype.getLogger = function () {\\n if (window.log) {\\n return window.log.getLogger(name)\\n }\\n return console\\n }\\n\\n /*\\n */\\n WikiParser.prototype.setupRules = function (proto, configPrefix) {\\n var self = this\\n if (!$tw.safemode) {\\n $tw.utils.each(proto, function (object, name) {\\n if (\\n self.wiki.getTiddlerText(configPrefix + name, 'enable') !== 'enable'\\n ) {\\n delete proto[name]\\n }\\n })\\n }\\n }\\n\\n /*\\nInstantiate an array of parse rules\\n*/\\n WikiParser.prototype.instantiateRules = function (classes, type, startPos) {\\n var rulesInfo = []\\n var self = this\\n $tw.utils.each(classes, function (RuleClass) {\\n // Instantiate the rule\\n var rule = new RuleClass(self)\\n rule.is = {}\\n rule.is[type] = true\\n rule.init(self)\\n var matchIndex = rule.findNextMatch(startPos)\\n if (matchIndex !== undefined) {\\n rulesInfo.push({\\n rule: rule,\\n matchIndex: matchIndex\\n })\\n }\\n })\\n return rulesInfo\\n }\\n\\n /*\\nSkip any whitespace at the current position. Options are:\\n treatNewlinesAsNonWhitespace: true if newlines are NOT to be treated as whitespace\\n*/\\n WikiParser.prototype.skipWhitespace = function (options) {\\n options = options || {}\\n var whitespaceRegExp = options.treatNewlinesAsNonWhitespace\\n ? /([^\\\\S\\\\n]+)/gm\\n : /(\\\\s+)/gm\\n whitespaceRegExp.lastIndex = this.pos\\n var whitespaceMatch = whitespaceRegExp.exec(this.source)\\n if (whitespaceMatch && whitespaceMatch.index === this.pos) {\\n this.pos = whitespaceRegExp.lastIndex\\n }\\n }\\n\\n /*\\nGet the next match out of an array of parse rule instances\\n*/\\n WikiParser.prototype.findNextMatch = function (rules, startPos) {\\n // Find the best matching rule by finding the closest match position\\n var matchingRule\\n var matchingRulePos = this.sourceLength\\n // Step through each rule\\n for (var t = 0; t \u003C rules.length; t++) {\\n var ruleInfo = rules[t]\\n // Ask the rule to get the next match if we've moved past the current one\\n if (ruleInfo.matchIndex !== undefined && ruleInfo.matchIndex \u003C startPos) {\\n ruleInfo.matchIndex = ruleInfo.rule.findNextMatch(startPos)\\n }\\n // Adopt this match if it's closer than the current best match\\n if (\\n ruleInfo.matchIndex !== undefined &&\\n ruleInfo.matchIndex \u003C= matchingRulePos\\n ) {\\n matchingRule = ruleInfo\\n matchingRulePos = ruleInfo.matchIndex\\n }\\n }\\n return matchingRule\\n }\\n\\n /*\\nParse any pragmas at the beginning of a block of parse text\\n*/\\n WikiParser.prototype.parsePragmas = function () {\\n var currentTreeBranch = this.tree\\n while (true) {\\n // Skip whitespace\\n this.skipWhitespace()\\n // Check for the end of the text\\n if (this.pos >= this.sourceLength) {\\n break\\n }\\n // Check if we've arrived at a pragma rule match\\n var nextMatch = this.findNextMatch(this.pragmaRules, this.pos)\\n // If not, just exit\\n if (!nextMatch || nextMatch.matchIndex !== this.pos) {\\n break\\n }\\n // Process the pragma rule\\n var subTree = nextMatch.rule.parse()\\n if (subTree.length > 0) {\\n // Quick hack; we only cope with a single parse tree node being returned, which is true at the moment\\n currentTreeBranch.push.apply(currentTreeBranch, subTree)\\n subTree[0].children = []\\n currentTreeBranch = subTree[0].children\\n }\\n }\\n return currentTreeBranch\\n }\\n\\n /*\\nParse a block from the current position\\n terminatorRegExpString: optional regular expression string that identifies the end of plain paragraphs. Must not include capturing parenthesis\\n*/\\n WikiParser.prototype.parseBlock = function (terminatorRegExpString) {\\n var terminatorRegExp = terminatorRegExpString\\n ? new RegExp('(' + terminatorRegExpString + '|\\\\\\\\r?\\\\\\\\n\\\\\\\\r?\\\\\\\\n)', 'gm')\\n : /(\\\\r?\\\\n\\\\r?\\\\n)/gm\\n this.skipWhitespace()\\n if (this.pos >= this.sourceLength) {\\n return []\\n }\\n // Look for a block rule that applies at the current position\\n var nextMatch = this.findNextMatch(this.blockRules, this.pos)\\n if (nextMatch && nextMatch.matchIndex === this.pos) {\\n return nextMatch.rule.parse()\\n }\\n // Treat it as a paragraph if we didn't find a block rule\\n return [\\n {\\n type: 'element',\\n tag: 'p',\\n children: this.parseInlineRun(terminatorRegExp)\\n }\\n ]\\n }\\n\\n /*\\nParse a series of blocks of text until a terminating regexp is encountered or the end of the text\\n terminatorRegExpString: terminating regular expression\\n*/\\n WikiParser.prototype.parseBlocks = function (terminatorRegExpString) {\\n if (terminatorRegExpString) {\\n return this.parseBlocksTerminated(terminatorRegExpString)\\n } else {\\n return this.parseBlocksUnterminated()\\n }\\n }\\n\\n /*\\nParse a block from the current position to the end of the text\\n*/\\n WikiParser.prototype.parseBlocksUnterminated = function () {\\n var tree = []\\n while (this.pos \u003C this.sourceLength) {\\n tree.push.apply(tree, this.parseBlock())\\n }\\n return tree\\n }\\n\\n /*\\nParse blocks of text until a terminating regexp is encountered\\n*/\\n WikiParser.prototype.parseBlocksTerminated = function (\\n terminatorRegExpString\\n ) {\\n var terminatorRegExp = new RegExp('(' + terminatorRegExpString + ')', 'gm')\\n var tree = []\\n // Skip any whitespace\\n this.skipWhitespace()\\n // Check if we've got the end marker\\n terminatorRegExp.lastIndex = this.pos\\n var match = terminatorRegExp.exec(this.source)\\n // Parse the text into blocks\\n while (\\n this.pos \u003C this.sourceLength &&\\n !(match && match.index === this.pos)\\n ) {\\n var blocks = this.parseBlock(terminatorRegExpString)\\n tree.push.apply(tree, blocks)\\n // Skip any whitespace\\n this.skipWhitespace()\\n // Check if we've got the end marker\\n terminatorRegExp.lastIndex = this.pos\\n match = terminatorRegExp.exec(this.source)\\n }\\n if (match && match.index === this.pos) {\\n this.pos = match.index + match[0].length\\n }\\n return tree\\n }\\n\\n /*\\nParse a run of text at the current position\\n terminatorRegExp: a regexp at which to stop the run\\n options: see below\\nOptions available:\\n eatTerminator: move the parse position past any encountered terminator (default false)\\n*/\\n WikiParser.prototype.parseInlineRun = function (terminatorRegExp, options) {\\n if (terminatorRegExp) {\\n return this.parseInlineRunTerminated(terminatorRegExp, options)\\n } else {\\n return this.parseInlineRunUnterminated(options)\\n }\\n }\\n\\n WikiParser.prototype.parseInlineRunUnterminated = function (options) {\\n var tree = []\\n // Find the next occurrence of an inline rule\\n var nextMatch = this.findNextMatch(this.inlineRules, this.pos)\\n // Loop around the matches until we've reached the end of the text\\n while (this.pos \u003C this.sourceLength && nextMatch) {\\n // Process the text preceding the run rule\\n if (nextMatch.matchIndex > this.pos) {\\n this.pushTextWidget(\\n tree,\\n this.source.substring(this.pos, nextMatch.matchIndex)\\n )\\n this.pos = nextMatch.matchIndex\\n }\\n // Process the run rule\\n tree.push.apply(tree, nextMatch.rule.parse())\\n // Look for the next run rule\\n nextMatch = this.findNextMatch(this.inlineRules, this.pos)\\n }\\n // Process the remaining text\\n if (this.pos \u003C this.sourceLength) {\\n this.pushTextWidget(tree, this.source.substr(this.pos))\\n }\\n this.pos = this.sourceLength\\n return tree\\n }\\n\\n WikiParser.prototype.parseInlineRunTerminated = function (\\n terminatorRegExp,\\n options\\n ) {\\n options = options || {}\\n var tree = []\\n // Find the next occurrence of the terminator\\n terminatorRegExp.lastIndex = this.pos\\n var terminatorMatch = terminatorRegExp.exec(this.source)\\n // Find the next occurrence of a inlinerule\\n var inlineRuleMatch = this.findNextMatch(this.inlineRules, this.pos)\\n // Loop around until we've reached the end of the text\\n while (\\n this.pos \u003C this.sourceLength &&\\n (terminatorMatch || inlineRuleMatch)\\n ) {\\n // Return if we've found the terminator, and it precedes any inline rule match\\n if (terminatorMatch) {\\n if (\\n !inlineRuleMatch ||\\n inlineRuleMatch.matchIndex >= terminatorMatch.index\\n ) {\\n if (terminatorMatch.index > this.pos) {\\n this.pushTextWidget(\\n tree,\\n this.source.substring(this.pos, terminatorMatch.index)\\n )\\n }\\n this.pos = terminatorMatch.index\\n if (options.eatTerminator) {\\n this.pos += terminatorMatch[0].length\\n }\\n return tree\\n }\\n }\\n // Process any inline rule, along with the text preceding it\\n if (inlineRuleMatch) {\\n // Preceding text\\n if (inlineRuleMatch.matchIndex > this.pos) {\\n this.pushTextWidget(\\n tree,\\n this.source.substring(this.pos, inlineRuleMatch.matchIndex)\\n )\\n this.pos = inlineRuleMatch.matchIndex\\n }\\n // Process the inline rule\\n tree.push.apply(tree, inlineRuleMatch.rule.parse())\\n // Look for the next inline rule\\n inlineRuleMatch = this.findNextMatch(this.inlineRules, this.pos)\\n // Look for the next terminator match\\n terminatorRegExp.lastIndex = this.pos\\n terminatorMatch = terminatorRegExp.exec(this.source)\\n }\\n }\\n // Process the remaining text\\n if (this.pos \u003C this.sourceLength) {\\n this.pushTextWidget(tree, this.source.substr(this.pos))\\n }\\n this.pos = this.sourceLength\\n return tree\\n }\\n\\n /*\\nPush a text widget onto an array, respecting the configTrimWhiteSpace setting\\n*/\\n WikiParser.prototype.pushTextWidget = function (array, text) {\\n if (this.configTrimWhiteSpace) {\\n text = $tw.utils.trim(text)\\n }\\n if (text) {\\n array.push({ type: 'text', text: text })\\n }\\n }\\n\\n /*\\nParse zero or more class specifiers `.classname`\\n*/\\n /*eslint no-useless-escape: \\\"off\\\"*/\\n WikiParser.prototype.parseClasses = function () {\\n var classRegExp = /\\\\.([^\\\\s\\\\.]+)/gm\\n var classNames = []\\n classRegExp.lastIndex = this.pos\\n var match = classRegExp.exec(this.source)\\n while (match && match.index === this.pos) {\\n this.pos = match.index + match[0].length\\n classNames.push(match[1])\\n match = classRegExp.exec(this.source)\\n }\\n return classNames\\n }\\n\\n /*\\nAmend the rules used by this instance of the parser\\n type: `only` keeps just the named rules, `except` keeps all but the named rules\\n names: array of rule names\\n*/\\n WikiParser.prototype.amendRules = function (type, names) {\\n names = names || []\\n // Define the filter function\\n var keepFilter\\n if (type === 'only') {\\n keepFilter = function (name) {\\n return names.indexOf(name) !== -1\\n }\\n } else if (type === 'except') {\\n keepFilter = function (name) {\\n return names.indexOf(name) === -1\\n }\\n } else {\\n return\\n }\\n // Define a function to process each of our rule arrays\\n var processRuleArray = function (ruleArray) {\\n for (var t = ruleArray.length - 1; t >= 0; t--) {\\n if (!keepFilter(ruleArray[t].rule.name)) {\\n ruleArray.splice(t, 1)\\n }\\n }\\n }\\n // Process each rule array\\n processRuleArray(this.pragmaRules)\\n processRuleArray(this.blockRules)\\n processRuleArray(this.inlineRules)\\n }\\n\\n exports['text/vnd.tiddlywiki'] = WikiParser\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"parser\"\n },\n \"$:/core/modules/saver-handler.js\": {\n \"title\": \"$:/core/modules/saver-handler.js\",\n \"text\": \"/*\\\\\\ntitle: $:/core/modules/saver-handler.js\\ntype: application/javascript\\nmodule-type: global\\n\\nThe saver handler tracks changes to the store and handles saving the entire wiki via saver modules.\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n /*\\nInstantiate the saver handler with the following options:\\nwiki: wiki to be synced\\ndirtyTracking: true if dirty tracking should be performed\\n*/\\n function SaverHandler (options) {\\n var self = this\\n this.wiki = options.wiki\\n this.dirtyTracking = options.dirtyTracking\\n this.preloadDirty = options.preloadDirty || []\\n this.pendingAutoSave = false\\n // Make a logger\\n this.logger = new $tw.utils.Logger('saver-handler')\\n // Initialise our savers\\n if ($tw.browser) {\\n this.initSavers()\\n }\\n // Only do dirty tracking if required\\n if ($tw.browser && this.dirtyTracking) {\\n // Compile the dirty tiddler filter\\n this.filterFn = this.wiki.compileFilter(\\n this.wiki.getTiddlerText(this.titleSyncFilter)\\n )\\n // Count of changes that have not yet been saved\\n var filteredChanges = self.filterFn.call(self.wiki, function (iterator) {\\n $tw.utils.each(self.preloadDirty, function (title) {\\n var tiddler = self.wiki.getTiddler(title)\\n iterator(tiddler, title)\\n })\\n })\\n this.numChanges = filteredChanges.length\\n // Listen out for changes to tiddlers\\n this.wiki.addEventListener('change', async function (changes) {\\n // Filter the changes so that we only count changes to tiddlers that we care about\\n var filteredChanges = self.filterFn.call(self.wiki, function (\\n iterator\\n ) {\\n $tw.utils.each(changes, function (change, title) {\\n var tiddler = self.wiki.getTiddler(title)\\n iterator(tiddler, title)\\n })\\n })\\n // Adjust the number of changes\\n self.numChanges += filteredChanges.length\\n self.updateDirtyStatus()\\n // Do any autosave if one is pending and there's no more change events\\n if (\\n self.pendingAutoSave &&\\n self.wiki.getSizeOfTiddlerEventQueue() === 0\\n ) {\\n // Check if we're dirty\\n if (self.numChanges > 0) {\\n await self.saveWiki({\\n method: 'autosave',\\n downloadType: 'text/plain'\\n })\\n }\\n self.pendingAutoSave = false\\n }\\n })\\n // Listen for the autosave event\\n $tw.rootWidget.addEventListener('tm-auto-save-wiki', async function (\\n event\\n ) {\\n // Do the autosave unless there are outstanding tiddler change events\\n if (self.wiki.getSizeOfTiddlerEventQueue() === 0) {\\n // Check if we're dirty\\n if (self.numChanges > 0) {\\n await self.saveWiki({\\n method: 'autosave',\\n downloadType: 'text/plain'\\n })\\n }\\n } else {\\n // Otherwise put ourselves in the \\\"pending autosave\\\" state and wait for the change event before we do the autosave\\n self.pendingAutoSave = true\\n }\\n })\\n // Set up our beforeunload handler\\n $tw.addUnloadTask(function (event) {\\n var confirmationMessage\\n if (self.isDirty()) {\\n confirmationMessage = $tw.language.getString('UnsavedChangesWarning')\\n event.returnValue = confirmationMessage // Gecko\\n }\\n return confirmationMessage\\n })\\n }\\n // Install the save action handlers\\n if ($tw.browser) {\\n $tw.rootWidget.addEventListener('tm-save-wiki', async function (event) {\\n await self.saveWiki({\\n template: event.param,\\n downloadType: 'text/plain',\\n variables: event.paramObject\\n })\\n })\\n $tw.rootWidget.addEventListener('tm-download-file', async function (\\n event\\n ) {\\n await self.saveWiki({\\n method: 'download',\\n template: event.param,\\n downloadType: 'text/plain',\\n variables: event.paramObject\\n })\\n })\\n }\\n }\\n\\n SaverHandler.prototype.titleSyncFilter = '$:/config/SaverFilter'\\n SaverHandler.prototype.titleAutoSave = '$:/config/AutoSave'\\n SaverHandler.prototype.titleSavedNotification =\\n '$:/language/Notifications/Save/Done'\\n\\n /*\\nSelect the appropriate saver modules and set them up\\n*/\\n SaverHandler.prototype.initSavers = function (moduleType) {\\n moduleType = moduleType || 'saver'\\n // Instantiate the available savers\\n this.savers = []\\n var self = this\\n $tw.modules.forEachModuleOfType(moduleType, function (title, module) {\\n if (module.canSave(self)) {\\n self.savers.push({ title: title, module: module.create(self.wiki) })\\n }\\n })\\n // Sort savers\\n this.sortSavers()\\n }\\n\\n /*\\n * Sort the savers into priority order\\n */\\n SaverHandler.prototype.sortSavers = function () {\\n this.savers.sort(function (a, b) {\\n if (a.module.info.priority \u003C b.module.info.priority) {\\n return -1\\n } else {\\n if (a.module.info.priority > b.module.info.priority) {\\n return +1\\n } else {\\n return 0\\n }\\n }\\n })\\n }\\n\\n /*\\nSave the wiki contents. Options are:\\nmethod: \\\"save\\\", \\\"autosave\\\" or \\\"download\\\"\\ntemplate: the tiddler containing the template to save\\ndownloadType: the content type for the saved file\\n*/\\n SaverHandler.prototype.saveWiki = async function (options) {\\n options = options || {}\\n var self = this\\n var method = options.method || 'save'\\n // Ignore autosave if disabled\\n if (\\n method === 'autosave' &&\\n this.wiki.getTiddlerText(this.titleAutoSave, 'yes') !== 'yes'\\n ) {\\n return false\\n }\\n var variables = options.variables || {}\\n var template = options.template || '$:/core/save/all'\\n var downloadType = options.downloadType || 'text/plain'\\n var text = this.wiki.renderTiddler(downloadType, template, options)\\n var callback = function (err) {\\n if (err) {\\n alert($tw.language.getString('Error/WhileSaving') + ':\\\\n\\\\n' + err)\\n } else {\\n // Clear the task queue if we're saving (rather than downloading)\\n if (method !== 'download') {\\n self.numChanges = 0\\n self.updateDirtyStatus()\\n }\\n $tw.notifier.display(self.titleSavedNotification)\\n if (options.callback) {\\n options.callback()\\n }\\n }\\n }\\n // Process preferred if any\\n var ignorePreferred = null\\n var preferredSaver = $tw.wiki.getTiddler('$:/config/PreferredSaver')\\n if (preferredSaver !== null && preferredSaver !== undefined) {\\n var title = preferredSaver.getFieldString('text')\\n title =\\n title === undefined || title == null || title.trim() === ''\\n ? null\\n : title.trim()\\n if (title !== null) {\\n ignorePreferred = title\\n // Process preferred saver\\n if (\\n await this.save(\\n this.getSaver(title).module,\\n method,\\n variables,\\n text,\\n callback\\n )\\n ) {\\n return true\\n }\\n }\\n }\\n\\n // Call the highest priority saver that supports this method\\n for (var t = this.savers.length - 1; t >= 0; t--) {\\n // Ignore failed preferred if any\\n if (this.savers[t].title === ignorePreferred) {\\n continue\\n }\\n // Process\\n if (\\n await this.save(\\n this.savers[t].module,\\n method,\\n variables,\\n text,\\n callback\\n )\\n ) {\\n return true\\n }\\n }\\n return false\\n }\\n\\n SaverHandler.prototype.getSaver = function (title) {\\n // Locate saver\\n var saver = null\\n for (var i = 0; i \u003C this.savers.length; i++) {\\n var current = this.savers[i]\\n if (current.title === title) {\\n saver = current\\n break\\n }\\n }\\n return saver\\n }\\n\\n SaverHandler.prototype.save = async function (\\n saver,\\n method,\\n variables,\\n text,\\n callback\\n ) {\\n if (saver.info.capabilities.indexOf(method) !== -1) {\\n var saved = await saver.save(text, method, callback, {\\n variables: { filename: variables.filename }\\n })\\n if (saved) {\\n this.logger.log(\\n 'Saved wiki with method',\\n method,\\n 'through saver',\\n saver.info.name\\n )\\n return true\\n }\\n }\\n return false\\n }\\n\\n /*\\nChecks whether the wiki is dirty (ie the window shouldn't be closed)\\n*/\\n SaverHandler.prototype.isDirty = function () {\\n return this.numChanges > 0\\n }\\n\\n /*\\nUpdate the document body with the class \\\"tc-dirty\\\" if the wiki has unsaved/unsynced changes\\n*/\\n SaverHandler.prototype.updateDirtyStatus = function () {\\n if ($tw.browser) {\\n $tw.utils.toggleClass(document.body, 'tc-dirty', this.isDirty())\\n }\\n }\\n\\n exports.SaverHandler = SaverHandler\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"module-type\": \"global\"\n },\n \"$:/plugins/ipfs/modules/widgets/image.js\": {\n \"title\": \"$:/plugins/ipfs/modules/widgets/image.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/modules/widgets/image.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nThe image widget displays an image referenced with an external URI or with a local tiddler title.\\n\\n```\\n\u003C$image src=\\\"TiddlerTitle\\\" width=\\\"320\\\" height=\\\"400\\\" class=\\\"classnames\\\">\\n```\\n\\nThe image source can be the title of an existing tiddler or the URL of an external image.\\n\\nExternal images always generate an HTML `\u003Cimg>` tag.\\n\\nTiddlers that have a _canonical_uri field generate an HTML `\u003Cimg>` tag with the src attribute containing the URI.\\n\\nTiddlers that contain image data generate an HTML `\u003Cimg>` tag with the src attribute containing a base64 representation of the image.\\n\\nTiddlers that contain wikitext could be rendered to a DIV of the usual size of a tiddler, and then transformed to the size requested.\\n\\nThe width and height attributes are interpreted as a number of pixels, and do not need to include the \\\"px\\\" suffix.\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n var Widget = require('$:/core/modules/widgets/widget.js').widget\\n\\n var name = 'ipfs-image'\\n\\n var ImageWidget = function (parseTreeNode, options) {\\n this.initialise(parseTreeNode, options)\\n }\\n\\n /*\\nInherit from the base widget class\\n*/\\n ImageWidget.prototype = new Widget()\\n\\n ImageWidget.prototype.getLogger = function () {\\n if (window.log) {\\n return window.log.getLogger(name)\\n }\\n return console\\n }\\n\\n /*\\nRender this widget into the DOM\\n*/\\n ImageWidget.prototype.render = function (parent, nextSibling) {\\n this.parentDomNode = parent\\n this.computeAttributes()\\n this.execute()\\n var self = this\\n // Create element\\n // Determine what type of image it is\\n var tiddler = this.wiki.getTiddler(this.imageSource)\\n // Create default element\\n var domNode = this.document.createElement('img')\\n if (!tiddler) {\\n // The source isn't the title of a tiddler, so we'll assume it's a URL\\n domNode.setAttribute(\\n 'src',\\n this.getVariable('tv-get-export-image-link', {\\n params: [{ name: 'src', value: this.imageSource }],\\n defaultValue: this.imageSource\\n })\\n )\\n } else {\\n // Check if it is an image tiddler\\n if (this.wiki.isImageTiddler(this.imageSource)) {\\n var type = tiddler.fields.type\\n var text = tiddler.fields.text\\n var canonicalUri = tiddler.fields._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n // If the tiddler has body text then it doesn't need to be lazily loaded\\n if (text) {\\n // Render the appropriate element for the image type\\n switch (type) {\\n case 'application/pdf':\\n domNode = this.document.createElement('embed')\\n domNode.setAttribute('src', 'data:application/pdf;base64,' + text)\\n break\\n case 'image/svg+xml':\\n domNode.setAttribute(\\n 'src',\\n 'data:image/svg+xml,' + encodeURIComponent(text)\\n )\\n break\\n default:\\n domNode.setAttribute('src', 'data:' + type + ';base64,' + text)\\n break\\n }\\n } else if (canonicalUri) {\\n $tw.ipfs\\n .resolveUrl(false, true, canonicalUri)\\n .then(data => {\\n var { normalizedUrl, resolvedUrl } = data\\n var url =\\n resolvedUrl !== null\\n ? resolvedUrl.toString()\\n : normalizedUrl !== null\\n ? normalizedUrl.toString()\\n : null\\n if (url !== null) {\\n switch (type) {\\n case 'application/pdf':\\n domNode = this.document.createElement('embed')\\n $tw.ipfs\\n .loadToBase64(url)\\n .then(loaded => {\\n if (\\n loaded !== undefined &&\\n loaded !== null &&\\n loaded.data !== undefined &&\\n loaded.data !== null\\n ) {\\n domNode.setAttribute(\\n 'src',\\n 'data:application/pdf;base64,' + loaded.data\\n )\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n break\\n case 'image/svg+xml':\\n $tw.ipfs\\n .loadToUtf8(url)\\n .then(loaded => {\\n if (\\n loaded !== undefined &&\\n loaded !== null &&\\n loaded.data !== undefined &&\\n loaded.data !== null\\n ) {\\n domNode.setAttribute(\\n 'src',\\n 'data:image/svg+xml,' +\\n encodeURIComponent(loaded.data)\\n )\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n break\\n default:\\n $tw.ipfs\\n .loadToBase64(url)\\n .then(loaded => {\\n if (\\n loaded !== undefined &&\\n loaded !== null &&\\n loaded.data !== undefined &&\\n loaded.data !== null\\n ) {\\n domNode.setAttribute(\\n 'src',\\n 'data:' + type + ';base64,' + loaded.data\\n )\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n break\\n }\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n })\\n } else {\\n // Just trigger loading of the tiddler\\n this.wiki.getTiddlerText(this.imageSource)\\n domNode.setAttribute('src', '')\\n }\\n }\\n }\\n // Assign the attributes\\n if (this.imageClass) {\\n domNode.setAttribute('class', this.imageClass)\\n }\\n if (this.imageWidth) {\\n domNode.setAttribute('width', this.imageWidth)\\n }\\n if (this.imageHeight) {\\n domNode.setAttribute('height', this.imageHeight)\\n }\\n if (this.imageTooltip) {\\n domNode.setAttribute('title', this.imageTooltip)\\n }\\n if (this.imageAlt) {\\n domNode.setAttribute('alt', this.imageAlt)\\n }\\n // Insert element\\n parent.insertBefore(domNode, nextSibling)\\n this.domNodes.push(domNode)\\n }\\n\\n /*\\nCompute the internal state of the widget\\n*/\\n ImageWidget.prototype.execute = function () {\\n // Get our parameters\\n this.imageSource = this.getAttribute('source')\\n this.imageWidth = this.getAttribute('width')\\n this.imageHeight = this.getAttribute('height')\\n this.imageClass = this.getAttribute('class')\\n this.imageTooltip = this.getAttribute('tooltip')\\n this.imageAlt = this.getAttribute('alt')\\n }\\n\\n /*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\n ImageWidget.prototype.refresh = function (changedTiddlers) {\\n var changedAttributes = this.computeAttributes()\\n if (\\n changedAttributes.source ||\\n changedAttributes.width ||\\n changedAttributes.height ||\\n changedAttributes.class ||\\n changedAttributes.tooltip ||\\n changedTiddlers[this.imageSource]\\n ) {\\n this.refreshSelf()\\n return true\\n } else {\\n return false\\n }\\n }\\n\\n exports.image = ImageWidget\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"module-type\": \"widget\"\n },\n \"$:/plugins/ipfs/ipfs-wiki.js\": {\n \"title\": \"$:/plugins/ipfs/ipfs-wiki.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ipfs-wiki.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: wikimethod\\n\\nwikimethod\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n /*\\n * Parse a block of text of a specified MIME type\\n * type: content type of text to be parsed\\n * text: text\\n * options: see below\\n * Options include:\\n * parseAsInline: if true, the text of the tiddler will be parsed as an inline run\\n * _canonical_uri: optional string of the canonical URI of this content\\n */\\n exports.parseText = function (type, text, options) {\\n text = text || ''\\n options = options || {}\\n // Select a parser\\n var Parser = $tw.Wiki.parsers[type]\\n if (!Parser && $tw.utils.getFileExtensionInfo(type)) {\\n Parser = $tw.Wiki.parsers[$tw.utils.getFileExtensionInfo(type).type]\\n }\\n if (!Parser) {\\n Parser = $tw.Wiki.parsers[options.defaultType || 'text/vnd.tiddlywiki']\\n }\\n if (!Parser) {\\n return null\\n }\\n // Return the parser instance\\n return new Parser(type, text, {\\n parseAsInline: options.parseAsInline,\\n wiki: this,\\n _canonical_uri: options._canonical_uri,\\n tiddler: options.tiddler\\n })\\n }\\n\\n /*\\n * Parse a tiddler according to its MIME type\\n */\\n exports.parseTiddler = function (title, options) {\\n options = $tw.utils.extend({}, options)\\n var cacheType = options.parseAsInline ? 'inlineParseTree' : 'blockParseTree'\\n var tiddler = this.getTiddler(title)\\n var self = this\\n return tiddler\\n ? this.getCacheForTiddler(title, cacheType, function () {\\n if (tiddler.hasField('_canonical_uri')) {\\n options._canonical_uri = tiddler.fields._canonical_uri\\n }\\n options.tiddler = tiddler\\n return self.parseText(\\n tiddler.fields.type,\\n tiddler.fields.text,\\n options\\n )\\n })\\n : null\\n }\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"wikimethod\"\n },\n \"$:/core/ui/ControlPanel/Saving/General\": {\n \"title\": \"$:/core/ui/ControlPanel/Saving/General\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/tags/ControlPanel/Saving\",\n \"caption\": \"{{$:/language/ControlPanel/Saving/General/Caption}}\",\n \"list-before\": \"\",\n \"text\": \"\\\\define lingo-base() $:/language/ControlPanel/Settings/\\n\\n\\\\define ipfs-saver()\\n\u003C$text text=\u003C\u003Cipfs-info-saver \\\"$(currentTiddler)$\\\">>/>\\n\\\\end\\n\\n{{$:/language/ControlPanel/Saving/General/Hint}}\\n\\n!! \u003C$link to=\\\"$:/config/PreferredSaver\\\">\u003C\u003Clingo PreferredSaver/Caption>>\u003C/$link>\\n\\n\u003C$select tiddler=\\\"$:/config/PreferredSaver\\\">\\n\u003C$list filter=\\\"[savers[]]\\\">\\n\u003Coption value=\u003C\u003CcurrentTiddler>>>\u003C\u003Cipfs-saver>>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n\\n!! \u003C$link to=\\\"$:/config/AutoSave\\\">\u003C\u003Clingo AutoSave/Caption>>\u003C/$link>\\n\\n\u003C\u003Clingo AutoSave/Hint>>\\n\\n\u003C$radio tiddler=\\\"$:/config/AutoSave\\\" value=\\\"yes\\\"> \u003C\u003Clingo AutoSave/Enabled/Description>> \u003C/$radio>\\n\\n\u003C$radio tiddler=\\\"$:/config/AutoSave\\\" value=\\\"no\\\"> \u003C\u003Clingo AutoSave/Disabled/Description>> \u003C/$radio>\\n\"\n },\n \"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\": {\n \"title\": \"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\",\n \"modified\": \"20200528094915385\",\n \"text\": \"\\\\define config-title()\\n$(config-base)$$(currentTiddler)$\\n\\\\end\\n\\n\u003C$draggable tiddler=\u003C\u003CcurrentTiddler>>>\\n\u003C$checkbox tiddler=\u003C\u003Cconfig-title>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"show\\\"/> \u003Cspan class=\\\"tc-icon-wrapper tc-icon-ipfs-wrapper\\\"> \u003C$transclude field=\\\"caption\\\"/> \u003Ci class=\\\"tc-muted\\\">-- \u003C$transclude field=\\\"description\\\"/>\u003C/i>\u003C/span>\\n\u003C/$draggable>\\n\"\n },\n \"$:/core/ui/EditTemplate/body\": {\n \"title\": \"$:/core/ui/EditTemplate/body\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/tags/EditTemplate\",\n \"text\": \"\\\\define lingo-base() $:/language/EditTemplate/Body/\\n\\\\define config-visibility-title()\\n$:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$\\n\\\\end\\n\\n\u003C$list filter=\\\"[all[current]has[_canonical_uri]]\\\">\\n \u003Cdiv class=\\\"tc-message-box\\\">\\n \u003C\u003Clingo External/Hint>>\\n \u003Cp>\u003C$ipfslink field=\\\"_canonical_uri\\\" tiddler=\u003C\u003CcurrentTiddler>>/>\u003C/p>\\n \u003C/div>\\n\u003C/$list>\\n\\n\u003C$list filter=\\\"[all[current]!has[_canonical_uri]]\\\">\\n \u003C$reveal state=\\\"$:/state/showeditpreview\\\" type=\\\"match\\\" text=\\\"yes\\\">\\n \u003Cdiv class=\\\"tc-tiddler-preview\\\">\\n \u003C$transclude tiddler=\\\"$:/core/ui/EditTemplate/body/editor\\\" mode=\\\"inline\\\"/>\\n \u003Cdiv class=\\\"tc-tiddler-preview-preview\\\">\\n \u003C$transclude tiddler={{$:/state/editpreviewtype}} mode=\\\"inline\\\">\\n \u003C$transclude tiddler=\\\"$:/core/ui/EditTemplate/body/preview/output\\\" mode=\\\"inline\\\"/>\\n \u003C/$transclude>\\n \u003C/div>\\n \u003C/div>\\n \u003C/$reveal>\\n \u003C$reveal state=\\\"$:/state/showeditpreview\\\" type=\\\"nomatch\\\" text=\\\"yes\\\">\\n \u003C$transclude tiddler=\\\"$:/core/ui/EditTemplate/body/editor\\\" mode=\\\"inline\\\"/>\\n \u003C/$reveal>\\n\u003C/$list>\"\n },\n \"$:/core/ui/EditTemplate/fields\": {\n \"title\": \"$:/core/ui/EditTemplate/fields\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/tags/EditTemplate\",\n \"text\": \"\\\\define lingo-base() $:/language/EditTemplate/\\n\\\\define config-title()\\n$:/config/EditTemplateFields/Visibility/$(currentField)$\\n\\\\end\\n\\n\\\\define config-filter()\\n[[hide]] -[title{$(config-title)$}]\\n\\\\end\\n\\n\\\\define current-tiddler-new-field-selector()\\n[data-tiddler-title=\\\"$(currentTiddlerCSSescaped)$\\\"] .tc-edit-field-add-name input\\n\\\\end\\n\\n\\\\define new-field-actions()\\n\u003C$action-sendmessage $message=\\\"tm-add-field\\\" $name={{{ [\u003CnewFieldNameTiddler>get[text]] }}} $value={{{ [\u003CnewFieldValueTiddler>get[text]] }}}/>\\n\u003C$action-deletetiddler $tiddler=\u003C\u003CnewFieldNameTiddler>>/>\\n\u003C$action-deletetiddler $tiddler=\u003C\u003CnewFieldValueTiddler>>/>\\n\u003C$action-sendmessage $message=\\\"tm-focus-selector\\\" $param=\u003C\u003Ccurrent-tiddler-new-field-selector>>/>\\n\\\\end\\n\\n\\\\define new-field()\\n\u003C$vars name={{{ [\u003CnewFieldNameTiddler>get[text]] }}}>\\n\u003C$reveal type=\\\"nomatch\\\" text=\\\"\\\" default=\u003C\u003Cname>>>\\n\u003C$button tooltip=\u003C\u003Clingo Fields/Add/Button/Hint>>>\\n\u003C$action-sendmessage $message=\\\"tm-add-field\\\"\\n$name=\u003C\u003Cname>>\\n$value={{{ [\u003CnewFieldValueTiddler>get[text]] }}}/>\\n\u003C$action-deletetiddler $tiddler=\u003C\u003CnewFieldNameTiddler>>/>\\n\u003C$action-deletetiddler $tiddler=\u003C\u003CnewFieldValueTiddler>>/>\\n\u003C\u003Clingo Fields/Add/Button>>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C$reveal type=\\\"match\\\" text=\\\"\\\" default=\u003C\u003Cname>>>\\n\u003C$button>\\n\u003C\u003Clingo Fields/Add/Button>>\\n\u003C/$button>\\n\u003C/$reveal>\\n\u003C/$vars>\\n\\\\end\\n\\\\whitespace trim\\n\\n\u003Cdiv class=\\\"tc-edit-fields\\\">\\n\u003Ctable class=\\\"tc-edit-fields\\\">\\n\u003Ctbody>\\n\u003C$list filter=\\\"[all[current]fields[]] +[sort[title]]\\\" variable=\\\"currentField\\\" storyview=\\\"pop\\\">\\n\u003C$list filter=\u003C\u003Cconfig-filter>> variable=\\\"temp\\\">\\n\u003Ctr class=\\\"tc-edit-field\\\">\\n\u003Ctd class=\\\"tc-edit-field-name\\\">\\n\u003C$ipfslink value=\u003C\u003CcurrentField>> field=\u003C\u003CcurrentField>> tiddler=\u003C\u003CcurrentTiddler>>/>\\n\u003C/td>\\n\u003Ctd class=\\\"tc-edit-field-value\\\">\\n\u003C$edit-text tiddler=\u003C\u003CcurrentTiddler>> field=\u003C\u003CcurrentField>> placeholder={{$:/language/EditTemplate/Fields/Add/Value/Placeholder}} tabindex={{$:/config/EditTabIndex}}/>\\n\u003C/td>\\n\u003Ctd class=\\\"tc-edit-field-remove\\\">\\n\u003C$button class=\\\"tc-btn-invisible\\\" tooltip={{$:/language/EditTemplate/Field/Remove/Hint}} aria-label={{$:/language/EditTemplate/Field/Remove/Caption}}>\\n\u003C$action-deletefield $field=\u003C\u003CcurrentField>>/>\\n{{$:/core/images/delete-button}}\\n\u003C/$button>\\n\u003C/td>\\n\u003C/tr>\\n\u003C/$list>\\n\u003C/$list>\\n\u003C/tbody>\\n\u003C/table>\\n\u003C/div>\\n\\n\u003C$fieldmangler>\\n\u003Cdiv class=\\\"tc-edit-field-add\\\">\\n\u003Cem class=\\\"tc-edit\\\">\\n\u003C\u003Clingo Fields/Add/Prompt>>  \\n\u003C/em>\\n\u003Cspan class=\\\"tc-edit-field-add-name\\\">\\n\u003C$edit-text tiddler=\u003C\u003CnewFieldNameTiddler>> tag=\\\"input\\\" default=\\\"\\\" placeholder={{$:/language/EditTemplate/Fields/Add/Name/Placeholder}} focusPopup=\u003C\u003Cqualify \\\"$:/state/popup/field-dropdown\\\">> class=\\\"tc-edit-texteditor tc-popup-handle\\\" tabindex={{$:/config/EditTabIndex}} focus={{{ [{$:/config/AutoFocus}match[fields]then[true]] ~[[false]] }}}/>\\n\u003C/span> \\n\u003C$button popup=\u003C\u003Cqualify \\\"$:/state/popup/field-dropdown\\\">> class=\\\"tc-btn-invisible tc-btn-dropdown\\\" tooltip={{$:/language/EditTemplate/Field/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Field/Dropdown/Caption}}>{{$:/core/images/down-arrow}}\u003C/$button> \\n\u003C$reveal state=\u003C\u003Cqualify \\\"$:/state/popup/field-dropdown\\\">> type=\\\"nomatch\\\" text=\\\"\\\" default=\\\"\\\">\\n\u003Cdiv class=\\\"tc-block-dropdown tc-edit-type-dropdown\\\">\\n\u003C$set name=\\\"tv-show-missing-links\\\" value=\\\"yes\\\">\\n\u003C$linkcatcher to=\u003C\u003CnewFieldNameTiddler>>>\\n\u003Cdiv class=\\\"tc-dropdown-item\\\">\\n\u003C\u003Clingo Fields/Add/Dropdown/User>>\\n\u003C/div>\\n\u003C$set name=\\\"newFieldName\\\" value={{{ [\u003CnewFieldNameTiddler>get[text]] }}}>\\n\u003C$list filter=\\\"[!is[shadow]!is[system]fields[]search:title\u003CnewFieldName>sort[]] -created -creator -draft.of -draft.title -modified -modifier -tags -text -title -type\\\" variable=\\\"currentField\\\">\\n\u003C$link to=\u003C\u003CcurrentField>>>\\n\u003C$text text=\u003C\u003CcurrentField>>/>\\n\u003C/$link>\\n\u003C/$list>\\n\u003Cdiv class=\\\"tc-dropdown-item\\\">\\n\u003C\u003Clingo Fields/Add/Dropdown/System>>\\n\u003C/div>\\n\u003C$list filter=\\\"[fields[]search:title\u003CnewFieldName>sort[]] -[!is[shadow]!is[system]fields[]]\\\" variable=\\\"currentField\\\">\\n\u003C$link to=\u003C\u003CcurrentField>>>\\n\u003C$text text=\u003C\u003CcurrentField>>/>\\n\u003C/$link>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/$linkcatcher>\\n\u003C/$set>\\n\u003C/div>\\n\u003C/$reveal>\\n\u003Cspan class=\\\"tc-edit-field-add-value\\\">\\n\u003C$set name=\\\"currentTiddlerCSSescaped\\\" value={{{ [\u003CcurrentTiddler>escapecss[]] }}}>\\n\u003C$keyboard key=\\\"((add-field))\\\" actions=\u003C\u003Cnew-field-actions>>>\\n\u003C$edit-text tiddler=\u003C\u003CnewFieldValueTiddler>> tag=\\\"input\\\" default=\\\"\\\" placeholder={{$:/language/EditTemplate/Fields/Add/Value/Placeholder}} class=\\\"tc-edit-texteditor\\\" tabindex={{$:/config/EditTabIndex}}/>\\n\u003C/$keyboard>\\n\u003C/$set>\\n\u003C/span> \\n\u003Cspan class=\\\"tc-edit-field-add-button\\\">\\n\u003C$macrocall $name=\\\"new-field\\\"/>\\n\u003C/span>\\n\u003C/div>\\n\u003C/$fieldmangler>\"\n },\n \"$:/core/ui/EditTemplate\": {\n \"title\": \"$:/core/ui/EditTemplate\",\n \"modified\": \"20200528094915385\",\n \"text\": \"\\\\define save-tiddler-actions()\\n\u003C$action-sendmessage $message=\\\"tm-add-tag\\\" $param={{{ [\u003CnewTagNameTiddler>get[text]] }}}/>\\n\u003C$action-deletetiddler $tiddler=\u003C\u003CnewTagNameTiddler>>/>\\n\u003C$action-sendmessage $message=\\\"tm-add-field\\\" $name={{{ [\u003CnewFieldNameTiddler>get[text]] }}} $value={{{ [\u003CnewFieldValueTiddler>get[text]] }}}/>\\n\u003C$action-deletetiddler $tiddler=\u003C\u003CnewFieldNameTiddler>>/>\\n\u003C$action-deletetiddler $tiddler=\u003C\u003CnewFieldValueTiddler>>/>\\n\u003C$action-sendmessage $message=\\\"tm-save-tiddler\\\"/>\\n\\\\end\\n\u003Cdiv data-tiddler-title=\u003C\u003CcurrentTiddler>> data-tags={{!!tags}} class={{{ tc-tiddler-frame tc-tiddler-edit-frame [\u003CcurrentTiddler>is[tiddler]then[tc-tiddler-exists]] [\u003CcurrentTiddler>is[missing]!is[shadow]then[tc-tiddler-missing]] [\u003CcurrentTiddler>is[shadow]then[tc-tiddler-exists tc-tiddler-shadow]] [\u003CcurrentTiddler>is[system]then[tc-tiddler-system]] [{!!class}] [\u003CcurrentTiddler>tags[]encodeuricomponent[]addprefix[tc-tagged-]] +[join[ ]] }}}>\\n\u003C$fieldmangler>\\n\u003C$vars storyTiddler=\u003C\u003CcurrentTiddler>> newTagNameTiddler=\u003C\u003Cqualify \\\"$:/temp/NewTagName\\\">> newFieldNameTiddler=\u003C\u003Cqualify \\\"$:/temp/NewFieldName\\\">> newFieldValueTiddler=\u003C\u003Cqualify \\\"$:/temp/NewFieldValue\\\">>>\\n\u003C$keyboard key=\\\"((cancel-edit-tiddler))\\\" message=\\\"tm-cancel-tiddler\\\">\\n\u003C$keyboard key=\\\"((save-tiddler))\\\" actions=\u003C\u003Csave-tiddler-actions>>>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]list[$:/tags/EditTemplate]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\u003C$set name=\\\"tv-config-toolbar-class\\\" filter=\\\"[\u003Ctv-config-toolbar-class>] [\u003ClistItem>encodeuricomponent[]addprefix[tc-btn-]]\\\">\\n\u003C$transclude tiddler=\u003C\u003ClistItem>>/>\\n\u003C/$set>\\n\u003C/$list>\\n\u003C/$keyboard>\\n\u003C/$keyboard>\\n\u003C/$vars>\\n\u003C/$fieldmangler>\\n\u003C/div>\"\n },\n \"$:/core/ui/SideBar/Tools\": {\n \"title\": \"$:/core/ui/SideBar/Tools\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/SideBar\",\n \"caption\": \"{{$:/language/SideBar/Tools/Caption}}\",\n \"text\": \"\\\\define lingo-base() $:/language/ControlPanel/\\n\\\\define config-title()\\n$:/config/PageControlButtons/Visibility/$(listItem)$\\n\\\\end\\n\\n\u003C\u003Clingo Basics/Version/Prompt>> \u003Cb>\u003C\u003Cversion>>\u003C/b>, \u003C\u003Clingo Ipfs/Version/Prompt>> \u003Cb>\u003C\u003Cipfs-plugin-version>>\u003C/b>\\n\\n\u003C$set name=\\\"tv-config-toolbar-icons\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-text\\\" value=\\\"yes\\\">\\n\\n\u003C$set name=\\\"tv-config-toolbar-class\\\" value=\\\"\\\">\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\\\" variable=\\\"listItem\\\">\\n\\n\u003Cdiv style=\\\"position:relative;\\\" class={{{ [\u003ClistItem>encodeuricomponent[]addprefix[tc-btn-]] }}}>\\n\\n\u003C$checkbox tiddler=\u003C\u003Cconfig-title>> field=\\\"text\\\" checked=\\\"show\\\" unchecked=\\\"hide\\\" default=\\\"show\\\"/> \u003C$transclude tiddler=\u003C\u003ClistItem>>/> \u003Ci class=\\\"tc-muted\\\">\u003C$transclude tiddler=\u003C\u003ClistItem>> field=\\\"description\\\"/>\u003C/i>\\n\\n\u003C/div>\\n\\n\u003C/$list>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\\n\\n\u003C/$set>\"\n },\n \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/encryption\": {\n \"title\": \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/encryption\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"show\"\n },\n \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home\": {\n \"title\": \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"show\"\n },\n \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/ipfs/pin\": {\n \"title\": \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/ipfs/pin\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"hide\"\n },\n \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/ipfs/unpin\": {\n \"title\": \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/ipfs/unpin\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"hide\"\n },\n \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/ipfs/console/mobile\": {\n \"title\": \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/ipfs/console/mobile\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"show\"\n },\n \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions\": {\n \"title\": \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"show\"\n },\n \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/ens/publish\": {\n \"title\": \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/ens/publish\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"hide\"\n },\n \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/ipns/publish\": {\n \"title\": \"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/ipns/publish\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"hide\"\n },\n \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/export\": {\n \"title\": \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/export\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"hide\"\n },\n \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/export/content\": {\n \"title\": \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/export/content\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"hide\"\n },\n \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/export/attachment\": {\n \"title\": \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/export/attachment\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"hide\"\n },\n \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/refresh\": {\n \"title\": \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/refresh\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"hide\"\n },\n \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/tiddler/pin\": {\n \"title\": \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/tiddler/pin\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"hide\"\n },\n \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/tiddler/unpin\": {\n \"title\": \"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/ipfs/tiddler/unpin\",\n \"modified\": \"20200529094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"hide\"\n },\n \"$:/plugins/ipfs/ens-action.js\": {\n \"title\": \"$:/plugins/ipfs/ens-action.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ens-action.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: library\\n\\nENS Action\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const fileProtocol = 'file:'\\n\\n const name = 'ens-action'\\n\\n var EnsAction = function () {\\n this.once = false\\n }\\n\\n EnsAction.prototype.getLogger = function () {\\n return window.log.getLogger(name)\\n }\\n\\n EnsAction.prototype.init = function () {\\n // Init once\\n if (this.once) {\\n return\\n }\\n const self = this\\n $tw.rootWidget.addEventListener('tm-ens-manager-open', function (event) {\\n return self.handleOpenEnsManager(event)\\n })\\n $tw.rootWidget.addEventListener('tm-ens-resolve-and-open', async function (\\n event\\n ) {\\n return await self.handleResolveEnsAndOpen(event)\\n })\\n $tw.rootWidget.addEventListener('tm-ens-publish', async function (event) {\\n return await self.handlePublishToEns(event)\\n })\\n // Init once\\n this.once = true\\n }\\n\\n EnsAction.prototype.handleOpenEnsManager = function (event) {\\n // Retrieve ENS domain\\n const ensDomain = $tw.utils.getIpfsEnsDomain()\\n // Check\\n if (ensDomain == null) {\\n window.open('https://app.ens.domains', '_blank', 'noopener,noreferrer')\\n } else {\\n window.open(\\n `https://app.ens.domains/name/${ensDomain}`,\\n '_blank',\\n 'noopener,noreferrer'\\n )\\n }\\n return true\\n }\\n\\n EnsAction.prototype.handleResolveEnsAndOpen = async function (event) {\\n const ensDomain = $tw.utils.getIpfsEnsDomain()\\n if (ensDomain == null) {\\n $tw.utils.alert(name, 'Undefined ENS domain...')\\n return false\\n }\\n try {\\n this.getLogger().info(`ENS domain: ${ensDomain}`)\\n const { resolvedUrl } = await $tw.ipfs.resolveEns(ensDomain)\\n if (resolvedUrl !== null) {\\n window.open(resolvedUrl.toString(), '_blank', 'noopener,noreferrer')\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n return true\\n }\\n\\n EnsAction.prototype.handlePublishToEns = async function (event) {\\n const self = this\\n const wiki = $tw.ipfs.getDocumentUrl()\\n if (wiki.protocol === fileProtocol) {\\n $tw.utils.alert(name, 'Undefined IPFS identifier...')\\n return false\\n }\\n if (wiki.pathname === '/') {\\n $tw.utils.alert(name, 'Unknown IPFS identifier...')\\n return false\\n }\\n var cid = null\\n var ensCid = null\\n var ensResolvedUrl = null\\n var ipnsKey = null\\n try {\\n var { cid, ipnsKey } = await $tw.ipfs.resolveUrl(true, false, wiki)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n const ensDomain = $tw.utils.getIpfsEnsDomain()\\n if (ensDomain == null) {\\n $tw.utils.alert(name, 'Undefined ENS domain...')\\n return false\\n }\\n if (cid == null && ipnsKey !== null) {\\n $tw.utils.alert(name, 'Nothing to publish to ENS...')\\n return false\\n }\\n try {\\n var {\\n cid: ensCid,\\n resolvedUrl: ensResolvedUrl\\n } = await $tw.ipfs.resolveUrl(false, true, ensDomain)\\n if (cid !== null && ensCid !== null && cid === ensCid) {\\n $tw.utils.alert(\\n name,\\n 'The current resolved ENS domain content is up to date...'\\n )\\n return false\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n if (cid !== null) {\\n $tw.utils.alert(name, `Publishing to ENS: ${ensDomain}`)\\n $tw.ipfs\\n .requestToUnpin(ensCid)\\n .then(data => {\\n if (data) {\\n $tw.ipfs.removeFromPinUnpin(ensCid, ensResolvedUrl)\\n }\\n $tw.ipfs\\n .setEns(ensDomain, cid)\\n .then(data => {\\n $tw.utils.alert(name, 'Successfully published to ENS...')\\n })\\n .catch(error => {\\n $tw.ipfs.requestToPin(ensCid)\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n } else if (ipnsKey !== null) {\\n $tw.utils.alert(name, `Publishing to ENS: ${ensDomain}`)\\n $tw.ipfs\\n .resolveUrl(true, false, wiki)\\n .then(data => {\\n const { cid: ipnsCid } = data\\n $tw.ipfs\\n .requestToUnpin(ensCid)\\n .then(data => {\\n if (data) {\\n $tw.ipfs.removeFromPinUnpin(ensCid, ensResolvedUrl)\\n }\\n $tw.ipfs\\n .setEns(ensDomain, ipnsCid)\\n .then(data => {\\n $tw.utils.alert(name, 'Successfully Published to ENS...')\\n })\\n .catch(error => {\\n $tw.ipfs.requestToPin(ensCid)\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n return true\\n }\\n\\n exports.EnsAction = EnsAction\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/ipfs/ens-wrapper.js\": {\n \"title\": \"$:/plugins/ipfs/ens-wrapper.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ens-wrapper.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: library\\n\\nENS Wrapper\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n /**\\n * https://github.com/purposeindustries/window-or-global\\n * The MIT License (MIT) Copyright (c) Purpose Industries\\n * version: 1.0.1\\n */\\n const root =\\n (typeof self === 'object' && self.self === self && self) ||\\n (typeof global === 'object' && global.global === global && global) ||\\n this\\n\\n const name = 'ens-wrapper'\\n\\n var EnsWrapper = function (ipfsBundle) {\\n this.account = null\\n this.chainId = null\\n this.ethereum = null\\n this.provider = null\\n this.web3 = null\\n this.ipfsBundle = ipfsBundle\\n this.ensLibrary = ipfsBundle.ensLibrary\\n }\\n\\n EnsWrapper.prototype.getLogger = function () {\\n return root.log.getLogger(name)\\n }\\n\\n EnsWrapper.prototype.getChainId = function () {\\n return this.chainId\\n }\\n\\n EnsWrapper.prototype.getEthereumProvider = function () {\\n if (this.ethereum == null) {\\n const self = this\\n this.ethereum = this.ensLibrary.getProvider()\\n // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md\\n this.ethereum.on('accountsChanged', function accountChanged (accounts) {\\n self.accountChanged(accounts)\\n })\\n this.ethereum.on('chainChanged', function networkChanged (chainId) {\\n self.networkChanged(chainId)\\n })\\n this.ethereum.on('close', function closeProvider (code, reason) {\\n self.closeConnection(code, reason)\\n })\\n this.ethereum.on('networkChanged', function networkChanged (chainId) {\\n self.networkChanged(chainId)\\n })\\n }\\n return this.ethereum\\n }\\n\\n EnsWrapper.prototype.accountChanged = async function (accounts) {\\n if (\\n accounts === undefined ||\\n accounts == null ||\\n Array.isArray(accounts) === false ||\\n accounts.length === 0\\n ) {\\n this.web3 = null\\n this.chainId = null\\n this.account = null\\n this.getLogger().info('Closing Ethereum connection...')\\n } else if (this.account !== accounts[0]) {\\n try {\\n if (this.web3 == null && this.chainId == null) {\\n const { web3, chainId } = await this.getWeb3Provider()\\n this.web3 = web3\\n this.chainId = chainId\\n }\\n this.account = accounts[0]\\n const etherscan = this.getEtherscanRegistry()\\n this.getLogger().info(\\n `Current Ethereum account:\\\\n ${etherscan[this.chainId]}/address/${\\n this.account\\n }`\\n )\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n }\\n }\\n }\\n\\n EnsWrapper.prototype.closeConnection = function (code, reason) {\\n this.web3 = null\\n this.chainId = null\\n this.account = null\\n this.getLogger().info(\\n `Closing Ethereum Connection:\\\\n Reason: ${reason}\\\\n Code: ${code}`\\n )\\n }\\n\\n EnsWrapper.prototype.networkChanged = function (chainId) {\\n if (this.chainId !== chainId) {\\n const network = this.getNetwork()\\n try {\\n this.web3 = null\\n this.chainId = chainId\\n this.account = null\\n this.getLogger().info(`Current Ethereum network:\\\\n ${network[chainId]}`)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n }\\n }\\n }\\n\\n EnsWrapper.prototype.getEnabledWeb3Provider = async function () {\\n var web3 = null\\n var chainId = null\\n var account = null\\n const provider = this.getEthereumProvider()\\n const network = this.getNetwork()\\n const etherscan = this.getEtherscanRegistry()\\n var msg = 'Reuse Web3 provider:'\\n if (this.account == null) {\\n try {\\n var {\\n web3,\\n chainId,\\n account\\n } = await this.ensLibrary.getEnabledWeb3Provider(provider)\\n } catch (error) {\\n this.getLogger().error(error)\\n throw new Error('Unable to retrieve an enabled Ethereum provider...')\\n }\\n this.web3 = web3\\n this.chainId = chainId\\n this.account = account\\n msg = 'New Web3 provider:'\\n }\\n // Log\\n this.getLogger().info(\\n `${msg}\\\\n network: ${network[this.chainId]}\\\\n account: ${\\n etherscan[this.chainId]\\n }/address/${this.account}`\\n )\\n return {\\n web3: this.web3,\\n chainId: this.chainId,\\n account: this.account\\n }\\n }\\n\\n EnsWrapper.prototype.getWeb3Provider = async function () {\\n var web3 = null\\n var chainId = null\\n const provider = this.getEthereumProvider()\\n const network = this.getNetwork()\\n var info = 'Reuse Web3 provider:'\\n if (this.web3 == null) {\\n try {\\n var { web3, chainId } = await this.ensLibrary.getWeb3Provider(provider)\\n } catch (error) {\\n this.getLogger().error(error)\\n throw new Error('Unable to retrieve an Ethereum provider...')\\n }\\n this.web3 = web3\\n this.chainId = chainId\\n info = 'New Web3 provider:'\\n }\\n // Log\\n this.getLogger().info(`${info}\\\\n network: ${network[this.chainId]}`)\\n return {\\n web3: this.web3,\\n chainId: this.chainId\\n }\\n }\\n\\n EnsWrapper.prototype.getContentHash = async function (domain, web3) {\\n try {\\n var { content, protocol } = await this.ensLibrary.getContentHash(\\n domain,\\n web3\\n )\\n if (content !== null && protocol !== null) {\\n // Convert CidV0 to CidV1\\n content = this.ipfsBundle.cidV0ToCidV1(content)\\n // Success\\n return {\\n content: content,\\n protocol: protocol\\n }\\n }\\n $tw.utils.alert(name, 'Unassigned ENS domain content...')\\n return {\\n content: null,\\n protocol: null\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n throw new Error('Unable to fetch ENS domain content...')\\n }\\n }\\n\\n EnsWrapper.prototype.setContentHash = async function (\\n domain,\\n cid,\\n web3,\\n account\\n ) {\\n try {\\n const isOwner = await this.ensLibrary.isOwner(domain, web3, account)\\n if (isOwner === false) {\\n const error = new Error(\\n 'Unauthorized Owner. Unable to set ENS domain content...'\\n )\\n error.name = 'OwnerError'\\n throw error\\n }\\n const cidV0 = this.ipfsBundle.cidV1ToCidV0(cid)\\n await this.ensLibrary.setContentHash(domain, cidV0, web3, account)\\n return {\\n cidV0: cidV0\\n }\\n } catch (error) {\\n if (error.name === 'OwnerError') {\\n throw error\\n }\\n this.getLogger().error(error)\\n throw new Error('Unable to set ENS domain content...')\\n }\\n }\\n\\n EnsWrapper.prototype.getEtherscanRegistry = function () {\\n return this.ensLibrary.getEtherscanRegistry()\\n }\\n\\n EnsWrapper.prototype.getNetwork = function () {\\n return this.ensLibrary.getNetwork()\\n }\\n\\n EnsWrapper.prototype.getENSRegistry = function () {\\n return this.ensLibrary.getENSRegistry()\\n }\\n\\n exports.EnsWrapper = EnsWrapper\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/ipfs/loglevel/loglevel.js\": {\n \"text\": \"/*\\n* loglevel - https://github.com/pimterry/loglevel\\n*\\n* Copyright (c) 2013 Tim Perry\\n* Licensed under the MIT license.\\n*/\\n(function (root, definition) {\\n \\\"use strict\\\";\\n if (typeof define === 'function' && define.amd) {\\n define(definition);\\n } else if (typeof module === 'object' && module.exports) {\\n module.exports = definition();\\n } else {\\n root.log = definition();\\n }\\n}(this, function () {\\n \\\"use strict\\\";\\n\\n // Slightly dubious tricks to cut down minimized file size\\n var noop = function() {};\\n var undefinedType = \\\"undefined\\\";\\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\\n /Trident\\\\/|MSIE /.test(window.navigator.userAgent)\\n );\\n\\n var logMethods = [\\n \\\"trace\\\",\\n \\\"debug\\\",\\n \\\"info\\\",\\n \\\"warn\\\",\\n \\\"error\\\"\\n ];\\n\\n // Cross-browser bind equivalent that works at least back to IE6\\n function bindMethod(obj, methodName) {\\n var method = obj[methodName];\\n if (typeof method.bind === 'function') {\\n return method.bind(obj);\\n } else {\\n try {\\n return Function.prototype.bind.call(method, obj);\\n } catch (e) {\\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\\n return function() {\\n return Function.prototype.apply.apply(method, [obj, arguments]);\\n };\\n }\\n }\\n }\\n\\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\\n function traceForIE() {\\n if (console.log) {\\n if (console.log.apply) {\\n console.log.apply(console, arguments);\\n } else {\\n // In old IE, native console methods themselves don't have apply().\\n Function.prototype.apply.apply(console.log, [console, arguments]);\\n }\\n }\\n if (console.trace) console.trace();\\n }\\n\\n // Build the best logging method possible for this env\\n // Wherever possible we want to bind, not wrap, to preserve stack traces\\n function realMethod(methodName) {\\n if (methodName === 'debug') {\\n methodName = 'log';\\n }\\n\\n if (typeof console === undefinedType) {\\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\\n } else if (methodName === 'trace' && isIE) {\\n return traceForIE;\\n } else if (console[methodName] !== undefined) {\\n return bindMethod(console, methodName);\\n } else if (console.log !== undefined) {\\n return bindMethod(console, 'log');\\n } else {\\n return noop;\\n }\\n }\\n\\n // These private functions always need `this` to be set properly\\n\\n function replaceLoggingMethods(level, loggerName) {\\n /*jshint validthis:true */\\n for (var i = 0; i \u003C logMethods.length; i++) {\\n var methodName = logMethods[i];\\n this[methodName] = (i \u003C level) ?\\n noop :\\n this.methodFactory(methodName, level, loggerName);\\n }\\n\\n // Define log.log as an alias for log.debug\\n this.log = this.debug;\\n }\\n\\n // In old IE versions, the console isn't present until you first open it.\\n // We build realMethod() replacements here that regenerate logging methods\\n function enableLoggingWhenConsoleArrives(methodName, level, loggerName) {\\n return function () {\\n if (typeof console !== undefinedType) {\\n replaceLoggingMethods.call(this, level, loggerName);\\n this[methodName].apply(this, arguments);\\n }\\n };\\n }\\n\\n // By default, we use closely bound real methods wherever possible, and\\n // otherwise we wait for a console to appear, and then try again.\\n function defaultMethodFactory(methodName, level, loggerName) {\\n /*jshint validthis:true */\\n return realMethod(methodName) ||\\n enableLoggingWhenConsoleArrives.apply(this, arguments);\\n }\\n\\n function Logger(name, defaultLevel, factory) {\\n var self = this;\\n var currentLevel;\\n var storageKey = \\\"loglevel\\\";\\n if (name) {\\n storageKey += \\\":\\\" + name;\\n }\\n\\n function persistLevelIfPossible(levelNum) {\\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\\n\\n if (typeof window === undefinedType) return;\\n\\n // Use localStorage if available\\n try {\\n window.localStorage[storageKey] = levelName;\\n return;\\n } catch (ignore) {}\\n\\n // Use session cookie as fallback\\n try {\\n window.document.cookie =\\n encodeURIComponent(storageKey) + \\\"=\\\" + levelName + \\\";\\\";\\n } catch (ignore) {}\\n }\\n\\n function getPersistedLevel() {\\n var storedLevel;\\n\\n if (typeof window === undefinedType) return;\\n\\n try {\\n storedLevel = window.localStorage[storageKey];\\n } catch (ignore) {}\\n\\n // Fallback to cookies if local storage gives us nothing\\n if (typeof storedLevel === undefinedType) {\\n try {\\n var cookie = window.document.cookie;\\n var location = cookie.indexOf(\\n encodeURIComponent(storageKey) + \\\"=\\\");\\n if (location !== -1) {\\n storedLevel = /^([^;]+)/.exec(cookie.slice(location))[1];\\n }\\n } catch (ignore) {}\\n }\\n\\n // If the stored level is not valid, treat it as if nothing was stored.\\n if (self.levels[storedLevel] === undefined) {\\n storedLevel = undefined;\\n }\\n\\n return storedLevel;\\n }\\n\\n /*\\n *\\n * Public logger API - see https://github.com/pimterry/loglevel for details\\n *\\n */\\n\\n self.name = name;\\n\\n self.levels = { \\\"TRACE\\\": 0, \\\"DEBUG\\\": 1, \\\"INFO\\\": 2, \\\"WARN\\\": 3,\\n \\\"ERROR\\\": 4, \\\"SILENT\\\": 5};\\n\\n self.methodFactory = factory || defaultMethodFactory;\\n\\n self.getLevel = function () {\\n return currentLevel;\\n };\\n\\n self.setLevel = function (level, persist) {\\n if (typeof level === \\\"string\\\" && self.levels[level.toUpperCase()] !== undefined) {\\n level = self.levels[level.toUpperCase()];\\n }\\n if (typeof level === \\\"number\\\" && level >= 0 && level \u003C= self.levels.SILENT) {\\n currentLevel = level;\\n if (persist !== false) { // defaults to true\\n persistLevelIfPossible(level);\\n }\\n replaceLoggingMethods.call(self, level, name);\\n if (typeof console === undefinedType && level \u003C self.levels.SILENT) {\\n return \\\"No console available for logging\\\";\\n }\\n } else {\\n throw \\\"log.setLevel() called with invalid level: \\\" + level;\\n }\\n };\\n\\n self.setDefaultLevel = function (level) {\\n if (!getPersistedLevel()) {\\n self.setLevel(level, false);\\n }\\n };\\n\\n self.enableAll = function(persist) {\\n self.setLevel(self.levels.TRACE, persist);\\n };\\n\\n self.disableAll = function(persist) {\\n self.setLevel(self.levels.SILENT, persist);\\n };\\n\\n // Initialize with the right level\\n var initialLevel = getPersistedLevel();\\n if (initialLevel == null) {\\n initialLevel = defaultLevel == null ? \\\"WARN\\\" : defaultLevel;\\n }\\n self.setLevel(initialLevel, false);\\n }\\n\\n /*\\n *\\n * Top-level API\\n *\\n */\\n\\n var defaultLogger = new Logger();\\n\\n var _loggersByName = {};\\n defaultLogger.getLogger = function getLogger(name) {\\n if (typeof name !== \\\"string\\\" || name === \\\"\\\") {\\n throw new TypeError(\\\"You must supply a name when creating a logger.\\\");\\n }\\n\\n var logger = _loggersByName[name];\\n if (!logger) {\\n logger = _loggersByName[name] = new Logger(\\n name, defaultLogger.getLevel(), defaultLogger.methodFactory);\\n }\\n return logger;\\n };\\n\\n // Grab the current global log variable in case of overwrite\\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\\n defaultLogger.noConflict = function() {\\n if (typeof window !== undefinedType &&\\n window.log === defaultLogger) {\\n window.log = _log;\\n }\\n\\n return defaultLogger;\\n };\\n\\n defaultLogger.getLoggers = function getLoggers() {\\n return _loggersByName;\\n };\\n\\n return defaultLogger;\\n}));\\n\",\n \"type\": \"application/javascript\",\n \"title\": \"$:/plugins/ipfs/loglevel/loglevel.js\",\n \"global-module\": \"true\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/ipfs/loglevel/license\": {\n \"text\": \"Copyright (c) 2013 Tim Perry\\r\\n\\r\\nPermission is hereby granted, free of charge, to any person\\r\\nobtaining a copy of this software and associated documentation\\r\\nfiles (the \\\"Software\\\"), to deal in the Software without\\r\\nrestriction, including without limitation the rights to use,\\r\\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\\r\\ncopies of the Software, and to permit persons to whom the\\r\\nSoftware is furnished to do so, subject to the following\\r\\nconditions:\\r\\n\\r\\nThe above copyright notice and this permission notice shall be\\r\\nincluded in all copies or substantial portions of the Software.\\r\\n\\r\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND,\\r\\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\\r\\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\\r\\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\\r\\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\\r\\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\\r\\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\\r\\nOTHER DEALINGS IN THE SOFTWARE.\\r\\n\",\n \"type\": \"text/plain\",\n \"title\": \"$:/plugins/ipfs/loglevel/license\"\n },\n \"$:/plugins/ipfs/ipfs-action.js\": {\n \"title\": \"$:/plugins/ipfs/ipfs-action.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ipfs-action.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: library\\n\\nIPFS Action\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const fileProtocol = 'file:'\\n const ipfsKeyword = 'ipfs'\\n const ipnsKeyword = 'ipns'\\n\\n const name = 'ipfs-action'\\n\\n var IpfsAction = function () {\\n this.once = false\\n this.console = false\\n this.ipnsName = $tw.utils.getIpfsIpnsName()\\n this.ipnsKey = $tw.utils.getIpfsIpnsKey()\\n }\\n\\n IpfsAction.prototype.getLogger = function () {\\n return window.log.getLogger(name)\\n }\\n\\n IpfsAction.prototype.init = function () {\\n // Init once\\n if (this.once) {\\n return\\n }\\n const self = this\\n // Widget\\n $tw.rootWidget.addEventListener('tm-ipfs-export', async function (event) {\\n return await self.handleExportToIpfs(event, false)\\n })\\n $tw.rootWidget.addEventListener('tm-ipfs-export-content', async function (\\n event\\n ) {\\n return await self.handleExportToIpfs(event, true)\\n })\\n $tw.rootWidget.addEventListener('tm-ipns-fetch', async function (event) {\\n return await self.handleFetchIpnsKey(event)\\n })\\n $tw.rootWidget.addEventListener('tm-ipns-generate', async function (event) {\\n return await self.handleGenerateIpnsKey(event)\\n })\\n $tw.rootWidget.addEventListener('tm-console-mobile', async function (\\n event\\n ) {\\n return await self.handleMobileConsole(event)\\n })\\n $tw.rootWidget.addEventListener(\\n 'tm-ipfs-export-attachment',\\n async function (event) {\\n return await self.handleExportAttachmentToIpfs(event)\\n }\\n )\\n $tw.rootWidget.addEventListener('tm-ipns-publish', async function (event) {\\n return await self.handlePublishToIpns(event)\\n })\\n $tw.rootWidget.addEventListener('tm-ipns-remove', async function (event) {\\n return await self.handleRemoveIpnsKey(event)\\n })\\n $tw.rootWidget.addEventListener('tm-ipns-rename', async function (event) {\\n return await self.handleRenameIpnsName(event)\\n })\\n $tw.rootWidget.addEventListener('tm-ipns-resolve-and-open', async function (\\n event\\n ) {\\n return await self.handleResolveIpnsKeyAndOpen(event)\\n })\\n // Init once\\n this.once = true\\n }\\n\\n IpfsAction.prototype.handleExportToIpfs = async function (event, child) {\\n var cid = null\\n var ipnsKey = null\\n var ipnsName = null\\n var normalizedUrl = null\\n var added = null\\n var fields = []\\n const self = this\\n const title = event.tiddlerTitle\\n var tiddler = $tw.wiki.getTiddler(title)\\n var exportUri = tiddler.getFieldString('_export_uri')\\n try {\\n var { cid, ipnsKey, ipnsName, normalizedUrl } = await $tw.ipfs.resolveUrl(\\n true,\\n true,\\n exportUri\\n )\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n // Retrieve content\\n const content = await this.exportTiddler(child, exportUri, tiddler)\\n // Check\\n if (content == null) {\\n return false\\n }\\n this.getLogger().info(`Uploading Tiddler: ${content.length} bytes`)\\n try {\\n var { added } = await $tw.ipfs.addToIpfs(content)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n // Prepare New value\\n fields.push({ key: '_export_uri', value: `/${ipfsKeyword}/${added}` })\\n var tiddler = $tw.wiki.getTiddler(title)\\n var updatedTiddler = $tw.utils.updateTiddler({\\n tiddler: tiddler,\\n addTags: ['$:/isExported', '$:/isIpfs'],\\n fields: fields\\n })\\n $tw.wiki.addTiddler(updatedTiddler)\\n if (ipnsKey !== null) {\\n $tw.utils.alert(name, `Publishing IPNS name: ${ipnsName}`)\\n $tw.ipfs\\n .pinToIpfs(added)\\n .then(data => {\\n $tw.ipfs\\n .publishIpnsName(added, ipnsKey, ipnsName)\\n .then(data => {\\n fields.push({ key: '_export_uri', value: exportUri })\\n tiddler = $tw.utils.updateTiddler({\\n tiddler: tiddler,\\n addTags: ['$:/isExported', '$:/isIpfs'],\\n fields: fields\\n })\\n $tw.wiki.addTiddler(tiddler)\\n $tw.utils.alert(\\n name,\\n `Successfully Published IPNS name: ${ipnsName}`\\n )\\n if ($tw.utils.getIpfsUnpin()) {\\n $tw.ipfs\\n .unpinFromIpfs(cid)\\n .then(data => {\\n if (data !== undefined && data !== null) {\\n $tw.ipfs.removeFromPinUnpin(cid, normalizedUrl)\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n })\\n .catch(error => {\\n $tw.ipfs.requestToUnpin(added)\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n } else if (\\n normalizedUrl !== null &&\\n normalizedUrl.hostname.endsWith('.eth')\\n ) {\\n $tw.utils.alert(name, `Publishing to ENS: ${normalizedUrl.hostname}`)\\n $tw.ipfs\\n .pinToIpfs(added)\\n .then(data => {\\n $tw.ipfs\\n .setEns(normalizedUrl.hostname, added)\\n .then(data => {\\n fields.push({ key: '_export_uri', value: exportUri })\\n tiddler = $tw.utils.updateTiddler({\\n tiddler: tiddler,\\n addTags: ['$:/isExported', '$:/isIpfs'],\\n fields: fields\\n })\\n $tw.wiki.addTiddler(tiddler)\\n $tw.utils.alert(name, 'Successfully Published to ENS...')\\n if ($tw.utils.getIpfsUnpin()) {\\n $tw.ipfs\\n .unpinFromIpfs(cid)\\n .then(data => {\\n if (data !== undefined && data !== null) {\\n $tw.ipfs.removeFromPinUnpin(cid, normalizedUrl)\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n })\\n .catch(error => {\\n $tw.ipfs.requestToUnpin(added)\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n return true\\n }\\n\\n IpfsAction.prototype.handleExportAttachmentToIpfs = async function (event) {\\n const title = event.tiddlerTitle\\n var tiddler = $tw.wiki.getTiddler(title)\\n const { type, info } = $tw.utils.getContentType(title, tiddler.fields.type)\\n var added = null\\n if (info.encoding !== 'base64' && type !== 'image/svg+xml') {\\n $tw.utils.alert(name, 'This Tiddler do not contain any Attachment...')\\n return false\\n }\\n // Do not process if _canonical_uri is set and the text field is empty\\n const canonicalUri = tiddler.getFieldString('_canonical_uri')\\n if (\\n canonicalUri !== undefined &&\\n canonicalUri !== null &&\\n canonicalUri.trim() !== ''\\n ) {\\n $tw.utils.alert(name, 'Attachment is already published...')\\n return false\\n }\\n try {\\n const content = this.getAttachmentContent(tiddler)\\n if (content == null) {\\n return false\\n }\\n this.getLogger().info(`Uploading attachment: ${content.length} bytes`)\\n var { added } = await $tw.ipfs.addToIpfs(content)\\n $tw.ipfs.requestToPin(added)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n var addTags = []\\n var removeTags = []\\n if ($tw.crypto.hasPassword()) {\\n addTags = ['$:/isAttachment', '$:/isIpfs']\\n removeTags = ['$:/isEmbedded']\\n } else {\\n addTags = ['$:/isAttachment', '$:/isIpfs']\\n removeTags = ['$:/isEmbedded']\\n }\\n // Update\\n tiddler = $tw.utils.updateTiddler({\\n tiddler: tiddler,\\n addTags: addTags,\\n removeTags: removeTags,\\n fields: [\\n { key: 'text', value: '' },\\n { key: '_canonical_uri', value: `/${ipfsKeyword}/${added}` }\\n ]\\n })\\n $tw.wiki.addTiddler(tiddler)\\n return true\\n }\\n\\n IpfsAction.prototype.getAttachmentContent = function (tiddler) {\\n const { type, info } = $tw.utils.getContentType(\\n tiddler.fields.title,\\n tiddler.fields.type\\n )\\n if (info.encoding !== 'base64' && type !== 'image/svg+xml') {\\n $tw.utils.alert(name, 'Unsupported Tiddler Content-Type...')\\n return null\\n }\\n var text = tiddler.getFieldString('text')\\n if (text === undefined || text == null || text === '') {\\n $tw.utils.alert(name, 'Empty attachment content...')\\n return null\\n }\\n if ($tw.crypto.hasPassword()) {\\n try {\\n // https://github.com/xmaysonnave/tiddlywiki-ipfs/issues/9\\n if (info.encoding === 'base64') {\\n text = atob(text)\\n }\\n text = $tw.crypto.encrypt(text, $tw.crypto.currentPassword)\\n text = $tw.ipfs.StringToUint8Array(text)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(\\n name,\\n 'Failed to process encrypted Attachment content...'\\n )\\n return null\\n }\\n } else {\\n try {\\n if (info.encoding === 'base64') {\\n text = $tw.ipfs.Base64ToUint8Array(text)\\n } else {\\n text = $tw.ipfs.StringToUint8Array(text)\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, 'Failed to process Attachment content...')\\n return null\\n }\\n }\\n return text\\n }\\n\\n IpfsAction.prototype.handleRenameIpnsName = async function (event) {\\n var ipnsKey = null\\n var ipnsName = $tw.utils.getIpfsIpnsName()\\n ipnsName =\\n ipnsName === undefined || ipnsName == null || ipnsName.trim() === ''\\n ? null\\n : ipnsName.trim()\\n if (ipnsName == null) {\\n $tw.utils.alert(name, 'Undefined IPNS name....')\\n return false\\n }\\n if (this.ipnsName == null || this.ipnsName === ipnsName) {\\n $tw.utils.alert(name, 'Nothing to rename....')\\n return false\\n }\\n try {\\n var { ipnsKey } = await $tw.ipfs.renameIpnsName(this.ipnsName, ipnsName)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/ipns/key')\\n if (tiddler !== undefined && this.ipnsKey !== ipnsKey) {\\n tiddler = $tw.utils.updateTiddler({\\n tiddler: tiddler,\\n fields: [{ key: 'text', value: ipnsKey }]\\n })\\n $tw.wiki.addTiddler(tiddler)\\n }\\n this.ipnsKey = ipnsKey\\n this.ipnsName = ipnsName\\n return true\\n }\\n\\n IpfsAction.prototype.handleGenerateIpnsKey = async function (event) {\\n var ipnsKey = null\\n var ipnsName = $tw.utils.getIpfsIpnsName()\\n ipnsName =\\n ipnsName === undefined || ipnsName == null || ipnsName.trim() === ''\\n ? null\\n : ipnsName.trim()\\n if (ipnsName == null) {\\n $tw.utils.alert(name, 'Undefined IPNS name....')\\n return false\\n }\\n try {\\n var ipnsKey = await $tw.ipfs.generateIpnsKey(ipnsName)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/ipns/key')\\n if (tiddler !== undefined && this.ipnsKey !== ipnsKey) {\\n tiddler = $tw.utils.updateTiddler({\\n tiddler: tiddler,\\n fields: [{ key: 'text', value: ipnsKey }]\\n })\\n $tw.wiki.addTiddler(tiddler)\\n }\\n this.ipnsKey = ipnsKey\\n this.ipnsName = ipnsName\\n return true\\n }\\n\\n IpfsAction.prototype.handleRemoveIpnsKey = async function (event) {\\n var ipnsKey = null\\n var normalizedUrl = null\\n const self = this\\n var ipnsName = $tw.utils.getIpfsIpnsName()\\n ipnsName =\\n ipnsName === undefined || ipnsName == null || ipnsName.trim() === ''\\n ? null\\n : ipnsName.trim()\\n if (ipnsName == null) {\\n $tw.utils.alert(name, 'Undefined IPNS name....')\\n return false\\n }\\n try {\\n var { ipnsKey, normalizedUrl } = await $tw.ipfs.getIpnsIdentifiers(\\n ipnsName\\n )\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n // Async\\n $tw.ipfs\\n .requestToUnpin(null, ipnsKey, normalizedUrl)\\n .then(data => {\\n $tw.ipfs\\n .removeIpnsKey(ipnsName)\\n .then(data => {\\n $tw.utils.alert(name, 'Succesfully removed Ipns key....')\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/ipns/name')\\n if (tiddler !== undefined) {\\n const updatedTiddler = $tw.utils.updateTiddler({\\n tiddler: tiddler,\\n fields: [{ key: 'text', value: '' }]\\n })\\n $tw.wiki.addTiddler(updatedTiddler)\\n }\\n tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/ipns/key')\\n if (tiddler !== undefined) {\\n const updatedTiddler = $tw.utils.updateTiddler({\\n tiddler: tiddler,\\n fields: [{ key: 'text', value: '' }]\\n })\\n $tw.wiki.addTiddler(updatedTiddler)\\n }\\n this.ipnsName = null\\n this.ipnsKey = null\\n return true\\n }\\n\\n IpfsAction.prototype.handleFetchIpnsKey = async function (event) {\\n var ipnsKey = null\\n var ipnsName = $tw.utils.getIpfsIpnsName()\\n ipnsName =\\n ipnsName === undefined || ipnsName == null || ipnsName.trim() === ''\\n ? null\\n : ipnsName.trim()\\n if (ipnsName == null) {\\n $tw.utils.alert(name, 'Undefined IPNS name....')\\n return false\\n }\\n try {\\n var { ipnsKey } = await $tw.ipfs.getIpnsIdentifiers(ipnsName)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/ipns/key')\\n if (tiddler !== undefined && this.ipnsKey !== ipnsKey) {\\n tiddler = $tw.utils.updateTiddler({\\n tiddler: tiddler,\\n fields: [{ key: 'text', value: ipnsKey }]\\n })\\n $tw.wiki.addTiddler(tiddler)\\n this.ipnsKey = ipnsKey\\n }\\n this.ipnsName = ipnsName\\n return true\\n }\\n\\n IpfsAction.prototype.handleResolveIpnsKeyAndOpen = async function (event) {\\n var ipnsKey = null\\n var resolvedUrl = null\\n var ipnsName = $tw.utils.getIpfsIpnsName()\\n ipnsName =\\n ipnsName === undefined || ipnsName == null || ipnsName.trim() === ''\\n ? null\\n : ipnsName.trim()\\n if (ipnsName == null) {\\n $tw.utils.alert(name, 'Undefined IPNS name....')\\n return false\\n }\\n try {\\n var { ipnsKey, resolvedUrl } = await $tw.ipfs.resolveUrl(\\n true,\\n false,\\n `/${ipnsKeyword}/${ipnsName}`\\n )\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/ipns/key')\\n if (tiddler !== undefined && this.ipnsKey !== ipnsKey) {\\n tiddler = $tw.utils.updateTiddler({\\n tiddler: tiddler,\\n fields: [{ key: 'text', value: ipnsKey }]\\n })\\n this.ipnsKey = ipnsKey\\n $tw.wiki.addTiddler(tiddler)\\n }\\n this.ipnsName = ipnsName\\n window.open(resolvedUrl.toString(), '_blank', 'noopener,noreferrer')\\n return true\\n }\\n\\n IpfsAction.prototype.handleMobileConsole = async function (tiddler) {\\n // Load mobile console if applicable\\n if (typeof window.eruda === 'undefined') {\\n try {\\n // Load eruda\\n await $tw.ipfs.ipfsBundle.ipfsLoader.loadErudaLibrary()\\n } catch (error) {\\n this.getLogger().error(error)\\n throw new Error(error.message)\\n }\\n const erudaContainer = window.document.createElement('div')\\n window.document.body.appendChild(erudaContainer)\\n window.eruda.init({\\n container: erudaContainer,\\n tool: ['console'],\\n useShadowDom: true,\\n autoScale: true\\n })\\n // Inherit font\\n erudaContainer.style.fontFamily = 'inherit'\\n // Preserve user preference if any, default is 80\\n if (window.eruda.get().config.get('displaySize') === 80) {\\n window.eruda.get().config.set('displaySize', 40)\\n }\\n // Preserve user preference if any, default is 0.95\\n if (window.eruda.get().config.get('transparency') === 0.95) {\\n window.eruda.get().config.set('transparency', 1)\\n }\\n // Hide Eruda button\\n if (window.eruda._shadowRoot !== undefined) {\\n const btn = window.eruda._shadowRoot.querySelector('.eruda-entry-btn')\\n if (btn !== undefined) {\\n btn.style.display = 'none'\\n }\\n }\\n // Console settings\\n const console = window.eruda.get('console')\\n console.config.set('asyncRender', true)\\n console.config.set('catchGlobalErr', true)\\n console.config.set('displayExtraInfo', false)\\n console.config.set('displayGetterVal', true)\\n console.config.set('displayUnenumerable', true)\\n console.config.set('jsExecution', true)\\n console.config.set('maxLogNum', 'infinite')\\n console.config.set('overrideConsole', true)\\n this.getLogger().info('Mobile console has been loaded...')\\n }\\n if (this.console === false) {\\n window.eruda.show()\\n window.eruda.show('console')\\n this.console = true\\n } else {\\n window.eruda.hide()\\n this.console = false\\n }\\n }\\n\\n IpfsAction.prototype.handlePublishToIpns = async function (event) {\\n var cid = null\\n var ipnsKey = null\\n var wikiCid = null\\n var wikiIpnsKey = null\\n const self = this\\n const wiki = $tw.ipfs.getDocumentUrl()\\n if (wiki.protocol === fileProtocol) {\\n $tw.utils.alert(name, 'Undefined IPFS identifier...')\\n return false\\n }\\n if (wiki.pathname === '/') {\\n $tw.utils.alert(name, 'Unknown IPFS identifier...')\\n return false\\n }\\n var ipnsName = $tw.utils.getIpfsIpnsName()\\n ipnsName =\\n ipnsName === undefined || ipnsName == null || ipnsName.trim() === ''\\n ? null\\n : ipnsName.trim()\\n if (ipnsName == null) {\\n $tw.utils.alert(name, 'Undefined IPNS name....')\\n return false\\n }\\n try {\\n var { cid, ipnsKey } = await $tw.ipfs.resolveUrl(\\n true,\\n false,\\n `/ipns/${ipnsName}`\\n )\\n var { cid: wikiCid, ipnsKey: wikiIpnsKey } = await $tw.ipfs.resolveUrl(\\n true,\\n true,\\n wiki\\n )\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return false\\n }\\n if (wikiIpnsKey !== null && wikiIpnsKey === ipnsKey) {\\n $tw.utils.alert(name, 'Default IPNS key matches current IPNS key....')\\n return false\\n }\\n $tw.utils.alert(name, 'Publishing IPNS name: ' + ipnsName)\\n $tw.ipfs\\n .publishIpnsName(wikiCid, ipnsKey, ipnsName)\\n .then(data => {\\n $tw.ipfs.requestToUnpin(cid)\\n $tw.utils.alert(name, 'Successfully Published IPNS name: ' + ipnsName)\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n return true\\n }\\n\\n IpfsAction.prototype.exportTiddlersAsJson = async function (\\n exportFilter,\\n exportUri,\\n spaces\\n ) {\\n var tiddlers = $tw.wiki.filterTiddlers(exportFilter)\\n var spaces =\\n spaces === undefined ? $tw.config.preferences.jsonSpaces : spaces\\n var data = []\\n // Process Tiddlers\\n for (var t = 0; t \u003C tiddlers.length; t++) {\\n // Load Tiddler\\n var tiddler = $tw.wiki.getTiddler(tiddlers[t])\\n // Process\\n var fields = {}\\n // Process fields\\n for (var field in tiddler.fields) {\\n // Discard\\n if (field === 'tags' || field === '_export_uri') {\\n continue\\n }\\n var ipnsKey = null\\n var fieldValue = tiddler.getFieldString(field)\\n if (field === '_canonical_uri' && fieldValue === exportUri) {\\n continue\\n }\\n if (field === '_import_uri' && fieldValue === exportUri) {\\n continue\\n }\\n try {\\n var { ipnsKey } = await $tw.ipfs.resolveUrl(false, false, fieldValue)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return null\\n }\\n // IPNS\\n if (ipnsKey !== null) {\\n fieldValue = `/${ipnsKeyword}/${ipnsKey}`\\n }\\n // Store field\\n fields[field] = fieldValue\\n }\\n // Process tags\\n var tags = tiddler.fields.tags\\n if (tags !== undefined && tags !== null) {\\n var tagValues = ''\\n for (var i = 0; i \u003C tags.length; i++) {\\n const tag = tags[i]\\n // Discard\\n if (tag === '$:/isExported' || tag === '$:/isImported') {\\n continue\\n }\\n tagValues =\\n (tagValues.length === 0 ? '[[' : `${tagValues} [[`) + `${tag}]]`\\n }\\n // Store tags\\n fields.tags = tagValues\\n }\\n // Store\\n data.push(fields)\\n }\\n return JSON.stringify(data, null, spaces)\\n }\\n\\n IpfsAction.prototype.exportTiddler = async function (\\n child,\\n exportUri,\\n tiddler\\n ) {\\n // Check\\n if (tiddler === undefined || tiddler == null) {\\n const error = new Error('Unknown Tiddler...')\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return null\\n }\\n // Title\\n const title = tiddler.getFieldString('title')\\n // Filter\\n var exportFilter = `[[${tiddler.fields.title}]]`\\n // Child filters\\n if (child) {\\n // Links\\n const linked = $tw.wiki.getTiddlerLinks(title)\\n this.getLogger().info(`Found ${linked.length} Tiddler link(s)...`)\\n // Transcluded\\n const transcluded = this.transcludeContent(title)\\n this.getLogger().info(\\n `Found ${transcluded.length} transcluded Tiddler reference(s)...`\\n )\\n const filtered = linked.concat(transcluded)\\n // Process filtered content\\n for (var i = 0; i \u003C filtered.length; i++) {\\n if (exportFilter.includes(`[[${filtered[i]}]]`) === false) {\\n exportFilter = `${exportFilter} [[${filtered[i]}]]`\\n }\\n }\\n }\\n var content = null\\n if (child || $tw.utils.getIpfsExport() === 'json') {\\n content = await this.exportTiddlersAsJson(exportFilter, exportUri)\\n } else if ($tw.utils.getIpfsExport() === 'static') {\\n // Export Tiddler as Static River\\n const options = {\\n downloadType: 'text/plain',\\n method: 'download',\\n template: '$:/core/templates/exporters/StaticRiver',\\n variables: {\\n exportFilter: exportFilter\\n }\\n }\\n content = $tw.wiki.renderTiddler(\\n 'text/plain',\\n '$:/core/templates/exporters/StaticRiver',\\n options\\n )\\n } else {\\n // Export Tiddler as tid\\n const options = {\\n downloadType: 'text/plain',\\n method: 'download',\\n template: '$:/core/templates/exporters/TidFile',\\n variables: {\\n exportFilter: exportFilter\\n }\\n }\\n content = $tw.wiki.renderTiddler(\\n 'text/plain',\\n '$:/core/templates/exporters/TidFile',\\n options\\n )\\n }\\n if (content !== undefined && content !== null) {\\n // Encrypt\\n if ($tw.crypto.hasPassword()) {\\n try {\\n content = $tw.crypto.encrypt(content, $tw.crypto.currentPassword)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, 'Failed to encrypt content...')\\n return null\\n }\\n }\\n try {\\n content = $tw.ipfs.StringToUint8Array(content)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, 'Failed to convert content...')\\n return null\\n }\\n }\\n return content\\n }\\n\\n IpfsAction.prototype.transcludeContent = function (title) {\\n var tiddlers = []\\n // Build a transclude widget\\n var transclude = $tw.wiki.makeTranscludeWidget(title)\\n // Build a fake document element\\n const container = $tw.fakeDocument.createElement('div')\\n // Transclude\\n transclude.render(container, null)\\n // Process children\\n this.locateTiddlers(transclude, tiddlers)\\n // Return\\n return tiddlers\\n }\\n\\n IpfsAction.prototype.locateTiddlers = function (transclude, tiddlers) {\\n // Children lookup\\n for (var i = 0; i \u003C transclude.children.length; i++) {\\n // Current child\\n const child = transclude.children[i]\\n if (child.variables !== undefined && child.variables !== null) {\\n // Locate Tiddler\\n const currentTiddler = 'currentTiddler'\\n const current = child.variables[currentTiddler]\\n if (\\n current !== undefined &&\\n current !== null &&\\n current.value !== undefined &&\\n current.value !== null\\n ) {\\n if (tiddlers.indexOf(current.value) === -1) {\\n tiddlers.push(current.value)\\n }\\n }\\n }\\n // Process children\\n this.locateTiddlers(child, tiddlers)\\n }\\n }\\n\\n exports.IpfsAction = IpfsAction\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/ipfs/ipfs-bundle.js\": {\n \"title\": \"$:/plugins/ipfs/ipfs-bundle.js\",\n \"text\": \"(function(f){if(typeof exports===\\\"object\\\"&&typeof module!==\\\"undefined\\\"){module.exports=f()}else if(typeof define===\\\"function\\\"&&define.amd){define([],f)}else{var g;if(typeof window!==\\\"undefined\\\"){g=window}else if(typeof global!==\\\"undefined\\\"){g=global}else if(typeof self!==\\\"undefined\\\"){g=self}else{g=this}g.IpfsBundle = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\\\"function\\\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\\\"Cannot find module '\\\"+i+\\\"'\\\");throw a.code=\\\"MODULE_NOT_FOUND\\\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\\\"function\\\"==typeof require&&require,i=0;i\u003Ct.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){\\nfunction _asyncIterator(iterable) {\\n var method;\\n\\n if (typeof Symbol !== \\\"undefined\\\") {\\n if (Symbol.asyncIterator) {\\n method = iterable[Symbol.asyncIterator];\\n if (method != null) return method.call(iterable);\\n }\\n\\n if (Symbol.iterator) {\\n method = iterable[Symbol.iterator];\\n if (method != null) return method.call(iterable);\\n }\\n }\\n\\n throw new TypeError(\\\"Object is not async iterable\\\");\\n}\\n\\nmodule.exports = _asyncIterator;\\n},{}],2:[function(require,module,exports){\\nfunction _interopRequireDefault(obj) {\\n return obj && obj.__esModule ? obj : {\\n \\\"default\\\": obj\\n };\\n}\\n\\nmodule.exports = _interopRequireDefault;\\n},{}],3:[function(require,module,exports){\\n'use strict'\\n// base-x encoding / decoding\\n// Copyright (c) 2018 base-x contributors\\n// Copyright (c) 2014-2018 The Bitcoin Core developers (base58.cpp)\\n// Distributed under the MIT software license, see the accompanying\\n// file LICENSE or http://www.opensource.org/licenses/mit-license.php.\\n// @ts-ignore\\nvar _Buffer = require('safe-buffer').Buffer\\nfunction base (ALPHABET) {\\n if (ALPHABET.length >= 255) { throw new TypeError('Alphabet too long') }\\n var BASE_MAP = new Uint8Array(256)\\n for (var j = 0; j \u003C BASE_MAP.length; j++) {\\n BASE_MAP[j] = 255\\n }\\n for (var i = 0; i \u003C ALPHABET.length; i++) {\\n var x = ALPHABET.charAt(i)\\n var xc = x.charCodeAt(0)\\n if (BASE_MAP[xc] !== 255) { throw new TypeError(x + ' is ambiguous') }\\n BASE_MAP[xc] = i\\n }\\n var BASE = ALPHABET.length\\n var LEADER = ALPHABET.charAt(0)\\n var FACTOR = Math.log(BASE) / Math.log(256) // log(BASE) / log(256), rounded up\\n var iFACTOR = Math.log(256) / Math.log(BASE) // log(256) / log(BASE), rounded up\\n function encode (source) {\\n if (Array.isArray(source) || source instanceof Uint8Array) { source = _Buffer.from(source) }\\n if (!_Buffer.isBuffer(source)) { throw new TypeError('Expected Buffer') }\\n if (source.length === 0) { return '' }\\n // Skip & count leading zeroes.\\n var zeroes = 0\\n var length = 0\\n var pbegin = 0\\n var pend = source.length\\n while (pbegin !== pend && source[pbegin] === 0) {\\n pbegin++\\n zeroes++\\n }\\n // Allocate enough space in big-endian base58 representation.\\n var size = ((pend - pbegin) * iFACTOR + 1) >>> 0\\n var b58 = new Uint8Array(size)\\n // Process the bytes.\\n while (pbegin !== pend) {\\n var carry = source[pbegin]\\n // Apply \\\"b58 = b58 * 256 + ch\\\".\\n var i = 0\\n for (var it1 = size - 1; (carry !== 0 || i \u003C length) && (it1 !== -1); it1--, i++) {\\n carry += (256 * b58[it1]) >>> 0\\n b58[it1] = (carry % BASE) >>> 0\\n carry = (carry / BASE) >>> 0\\n }\\n if (carry !== 0) { throw new Error('Non-zero carry') }\\n length = i\\n pbegin++\\n }\\n // Skip leading zeroes in base58 result.\\n var it2 = size - length\\n while (it2 !== size && b58[it2] === 0) {\\n it2++\\n }\\n // Translate the result into a string.\\n var str = LEADER.repeat(zeroes)\\n for (; it2 \u003C size; ++it2) { str += ALPHABET.charAt(b58[it2]) }\\n return str\\n }\\n function decodeUnsafe (source) {\\n if (typeof source !== 'string') { throw new TypeError('Expected String') }\\n if (source.length === 0) { return _Buffer.alloc(0) }\\n var psz = 0\\n // Skip leading spaces.\\n if (source[psz] === ' ') { return }\\n // Skip and count leading '1's.\\n var zeroes = 0\\n var length = 0\\n while (source[psz] === LEADER) {\\n zeroes++\\n psz++\\n }\\n // Allocate enough space in big-endian base256 representation.\\n var size = (((source.length - psz) * FACTOR) + 1) >>> 0 // log(58) / log(256), rounded up.\\n var b256 = new Uint8Array(size)\\n // Process the characters.\\n while (source[psz]) {\\n // Decode character\\n var carry = BASE_MAP[source.charCodeAt(psz)]\\n // Invalid character\\n if (carry === 255) { return }\\n var i = 0\\n for (var it3 = size - 1; (carry !== 0 || i \u003C length) && (it3 !== -1); it3--, i++) {\\n carry += (BASE * b256[it3]) >>> 0\\n b256[it3] = (carry % 256) >>> 0\\n carry = (carry / 256) >>> 0\\n }\\n if (carry !== 0) { throw new Error('Non-zero carry') }\\n length = i\\n psz++\\n }\\n // Skip trailing spaces.\\n if (source[psz] === ' ') { return }\\n // Skip leading zeroes in b256.\\n var it4 = size - length\\n while (it4 !== size && b256[it4] === 0) {\\n it4++\\n }\\n var vch = _Buffer.allocUnsafe(zeroes + (size - it4))\\n vch.fill(0x00, 0, zeroes)\\n var j = zeroes\\n while (it4 !== size) {\\n vch[j++] = b256[it4++]\\n }\\n return vch\\n }\\n function decode (string) {\\n var buffer = decodeUnsafe(string)\\n if (buffer) { return buffer }\\n throw new Error('Non-base' + BASE + ' character')\\n }\\n return {\\n encode: encode,\\n decodeUnsafe: decodeUnsafe,\\n decode: decode\\n }\\n}\\nmodule.exports = base\\n\\n},{\\\"safe-buffer\\\":63}],4:[function(require,module,exports){\\n'use strict'\\n\\nexports.byteLength = byteLength\\nexports.toByteArray = toByteArray\\nexports.fromByteArray = fromByteArray\\n\\nvar lookup = []\\nvar revLookup = []\\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\\n\\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\\nfor (var i = 0, len = code.length; i \u003C len; ++i) {\\n lookup[i] = code[i]\\n revLookup[code.charCodeAt(i)] = i\\n}\\n\\n// Support decoding URL-safe base64 strings, as Node.js does.\\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\\nrevLookup['-'.charCodeAt(0)] = 62\\nrevLookup['_'.charCodeAt(0)] = 63\\n\\nfunction getLens (b64) {\\n var len = b64.length\\n\\n if (len % 4 > 0) {\\n throw new Error('Invalid string. Length must be a multiple of 4')\\n }\\n\\n // Trim off extra bytes after placeholder bytes are found\\n // See: https://github.com/beatgammit/base64-js/issues/42\\n var validLen = b64.indexOf('=')\\n if (validLen === -1) validLen = len\\n\\n var placeHoldersLen = validLen === len\\n ? 0\\n : 4 - (validLen % 4)\\n\\n return [validLen, placeHoldersLen]\\n}\\n\\n// base64 is 4/3 + up to two characters of the original data\\nfunction byteLength (b64) {\\n var lens = getLens(b64)\\n var validLen = lens[0]\\n var placeHoldersLen = lens[1]\\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\\n}\\n\\nfunction _byteLength (b64, validLen, placeHoldersLen) {\\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\\n}\\n\\nfunction toByteArray (b64) {\\n var tmp\\n var lens = getLens(b64)\\n var validLen = lens[0]\\n var placeHoldersLen = lens[1]\\n\\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\\n\\n var curByte = 0\\n\\n // if there are placeholders, only get up to the last complete 4 chars\\n var len = placeHoldersLen > 0\\n ? validLen - 4\\n : validLen\\n\\n var i\\n for (i = 0; i \u003C len; i += 4) {\\n tmp =\\n (revLookup[b64.charCodeAt(i)] \u003C\u003C 18) |\\n (revLookup[b64.charCodeAt(i + 1)] \u003C\u003C 12) |\\n (revLookup[b64.charCodeAt(i + 2)] \u003C\u003C 6) |\\n revLookup[b64.charCodeAt(i + 3)]\\n arr[curByte++] = (tmp >> 16) & 0xFF\\n arr[curByte++] = (tmp >> 8) & 0xFF\\n arr[curByte++] = tmp & 0xFF\\n }\\n\\n if (placeHoldersLen === 2) {\\n tmp =\\n (revLookup[b64.charCodeAt(i)] \u003C\u003C 2) |\\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\\n arr[curByte++] = tmp & 0xFF\\n }\\n\\n if (placeHoldersLen === 1) {\\n tmp =\\n (revLookup[b64.charCodeAt(i)] \u003C\u003C 10) |\\n (revLookup[b64.charCodeAt(i + 1)] \u003C\u003C 4) |\\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\\n arr[curByte++] = (tmp >> 8) & 0xFF\\n arr[curByte++] = tmp & 0xFF\\n }\\n\\n return arr\\n}\\n\\nfunction tripletToBase64 (num) {\\n return lookup[num >> 18 & 0x3F] +\\n lookup[num >> 12 & 0x3F] +\\n lookup[num >> 6 & 0x3F] +\\n lookup[num & 0x3F]\\n}\\n\\nfunction encodeChunk (uint8, start, end) {\\n var tmp\\n var output = []\\n for (var i = start; i \u003C end; i += 3) {\\n tmp =\\n ((uint8[i] \u003C\u003C 16) & 0xFF0000) +\\n ((uint8[i + 1] \u003C\u003C 8) & 0xFF00) +\\n (uint8[i + 2] & 0xFF)\\n output.push(tripletToBase64(tmp))\\n }\\n return output.join('')\\n}\\n\\nfunction fromByteArray (uint8) {\\n var tmp\\n var len = uint8.length\\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\\n var parts = []\\n var maxChunkLength = 16383 // must be multiple of 3\\n\\n // go through the array every three bytes, we'll deal with trailing stuff later\\n for (var i = 0, len2 = len - extraBytes; i \u003C len2; i += maxChunkLength) {\\n parts.push(encodeChunk(\\n uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)\\n ))\\n }\\n\\n // pad the end with zeros, but make sure to not forget the extra bytes\\n if (extraBytes === 1) {\\n tmp = uint8[len - 1]\\n parts.push(\\n lookup[tmp >> 2] +\\n lookup[(tmp \u003C\u003C 4) & 0x3F] +\\n '=='\\n )\\n } else if (extraBytes === 2) {\\n tmp = (uint8[len - 2] \u003C\u003C 8) + uint8[len - 1]\\n parts.push(\\n lookup[tmp >> 10] +\\n lookup[(tmp >> 4) & 0x3F] +\\n lookup[(tmp \u003C\u003C 2) & 0x3F] +\\n '='\\n )\\n }\\n\\n return parts.join('')\\n}\\n\\n},{}],5:[function(require,module,exports){\\n(function (Buffer){\\n/*!\\n * The buffer module from node.js, for the browser.\\n *\\n * @author Feross Aboukhadijeh \u003Chttps://feross.org>\\n * @license MIT\\n */\\n/* eslint-disable no-proto */\\n\\n'use strict'\\n\\nvar base64 = require('base64-js')\\nvar ieee754 = require('ieee754')\\n\\nexports.Buffer = Buffer\\nexports.SlowBuffer = SlowBuffer\\nexports.INSPECT_MAX_BYTES = 50\\n\\nvar K_MAX_LENGTH = 0x7fffffff\\nexports.kMaxLength = K_MAX_LENGTH\\n\\n/**\\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\\n * === true Use Uint8Array implementation (fastest)\\n * === false Print warning and recommend using `buffer` v4.x which has an Object\\n * implementation (most compatible, even IE6)\\n *\\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\\n * Opera 11.6+, iOS 4.2+.\\n *\\n * We report that the browser does not support typed arrays if the are not subclassable\\n * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`\\n * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support\\n * for __proto__ and has a buggy typed array implementation.\\n */\\nBuffer.TYPED_ARRAY_SUPPORT = typedArraySupport()\\n\\nif (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&\\n typeof console.error === 'function') {\\n console.error(\\n 'This browser lacks typed array (Uint8Array) support which is required by ' +\\n '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'\\n )\\n}\\n\\nfunction typedArraySupport () {\\n // Can typed array instances can be augmented?\\n try {\\n var arr = new Uint8Array(1)\\n arr.__proto__ = { __proto__: Uint8Array.prototype, foo: function () { return 42 } }\\n return arr.foo() === 42\\n } catch (e) {\\n return false\\n }\\n}\\n\\nObject.defineProperty(Buffer.prototype, 'parent', {\\n enumerable: true,\\n get: function () {\\n if (!Buffer.isBuffer(this)) return undefined\\n return this.buffer\\n }\\n})\\n\\nObject.defineProperty(Buffer.prototype, 'offset', {\\n enumerable: true,\\n get: function () {\\n if (!Buffer.isBuffer(this)) return undefined\\n return this.byteOffset\\n }\\n})\\n\\nfunction createBuffer (length) {\\n if (length > K_MAX_LENGTH) {\\n throw new RangeError('The value \\\"' + length + '\\\" is invalid for option \\\"size\\\"')\\n }\\n // Return an augmented `Uint8Array` instance\\n var buf = new Uint8Array(length)\\n buf.__proto__ = Buffer.prototype\\n return buf\\n}\\n\\n/**\\n * The Buffer constructor returns instances of `Uint8Array` that have their\\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\\n * returns a single octet.\\n *\\n * The `Uint8Array` prototype remains unmodified.\\n */\\n\\nfunction Buffer (arg, encodingOrOffset, length) {\\n // Common case.\\n if (typeof arg === 'number') {\\n if (typeof encodingOrOffset === 'string') {\\n throw new TypeError(\\n 'The \\\"string\\\" argument must be of type string. Received type number'\\n )\\n }\\n return allocUnsafe(arg)\\n }\\n return from(arg, encodingOrOffset, length)\\n}\\n\\n// Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\\nif (typeof Symbol !== 'undefined' && Symbol.species != null &&\\n Buffer[Symbol.species] === Buffer) {\\n Object.defineProperty(Buffer, Symbol.species, {\\n value: null,\\n configurable: true,\\n enumerable: false,\\n writable: false\\n })\\n}\\n\\nBuffer.poolSize = 8192 // not used by this implementation\\n\\nfunction from (value, encodingOrOffset, length) {\\n if (typeof value === 'string') {\\n return fromString(value, encodingOrOffset)\\n }\\n\\n if (ArrayBuffer.isView(value)) {\\n return fromArrayLike(value)\\n }\\n\\n if (value == null) {\\n throw TypeError(\\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\\n 'or Array-like Object. Received type ' + (typeof value)\\n )\\n }\\n\\n if (isInstance(value, ArrayBuffer) ||\\n (value && isInstance(value.buffer, ArrayBuffer))) {\\n return fromArrayBuffer(value, encodingOrOffset, length)\\n }\\n\\n if (typeof value === 'number') {\\n throw new TypeError(\\n 'The \\\"value\\\" argument must not be of type number. Received type number'\\n )\\n }\\n\\n var valueOf = value.valueOf && value.valueOf()\\n if (valueOf != null && valueOf !== value) {\\n return Buffer.from(valueOf, encodingOrOffset, length)\\n }\\n\\n var b = fromObject(value)\\n if (b) return b\\n\\n if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&\\n typeof value[Symbol.toPrimitive] === 'function') {\\n return Buffer.from(\\n value[Symbol.toPrimitive]('string'), encodingOrOffset, length\\n )\\n }\\n\\n throw new TypeError(\\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\\n 'or Array-like Object. Received type ' + (typeof value)\\n )\\n}\\n\\n/**\\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\\n * if value is a number.\\n * Buffer.from(str[, encoding])\\n * Buffer.from(array)\\n * Buffer.from(buffer)\\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\\n **/\\nBuffer.from = function (value, encodingOrOffset, length) {\\n return from(value, encodingOrOffset, length)\\n}\\n\\n// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:\\n// https://github.com/feross/buffer/pull/148\\nBuffer.prototype.__proto__ = Uint8Array.prototype\\nBuffer.__proto__ = Uint8Array\\n\\nfunction assertSize (size) {\\n if (typeof size !== 'number') {\\n throw new TypeError('\\\"size\\\" argument must be of type number')\\n } else if (size \u003C 0) {\\n throw new RangeError('The value \\\"' + size + '\\\" is invalid for option \\\"size\\\"')\\n }\\n}\\n\\nfunction alloc (size, fill, encoding) {\\n assertSize(size)\\n if (size \u003C= 0) {\\n return createBuffer(size)\\n }\\n if (fill !== undefined) {\\n // Only pay attention to encoding if it's a string. This\\n // prevents accidentally sending in a number that would\\n // be interpretted as a start offset.\\n return typeof encoding === 'string'\\n ? createBuffer(size).fill(fill, encoding)\\n : createBuffer(size).fill(fill)\\n }\\n return createBuffer(size)\\n}\\n\\n/**\\n * Creates a new filled Buffer instance.\\n * alloc(size[, fill[, encoding]])\\n **/\\nBuffer.alloc = function (size, fill, encoding) {\\n return alloc(size, fill, encoding)\\n}\\n\\nfunction allocUnsafe (size) {\\n assertSize(size)\\n return createBuffer(size \u003C 0 ? 0 : checked(size) | 0)\\n}\\n\\n/**\\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\\n * */\\nBuffer.allocUnsafe = function (size) {\\n return allocUnsafe(size)\\n}\\n/**\\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\\n */\\nBuffer.allocUnsafeSlow = function (size) {\\n return allocUnsafe(size)\\n}\\n\\nfunction fromString (string, encoding) {\\n if (typeof encoding !== 'string' || encoding === '') {\\n encoding = 'utf8'\\n }\\n\\n if (!Buffer.isEncoding(encoding)) {\\n throw new TypeError('Unknown encoding: ' + encoding)\\n }\\n\\n var length = byteLength(string, encoding) | 0\\n var buf = createBuffer(length)\\n\\n var actual = buf.write(string, encoding)\\n\\n if (actual !== length) {\\n // Writing a hex string, for example, that contains invalid characters will\\n // cause everything after the first invalid character to be ignored. (e.g.\\n // 'abxxcd' will be treated as 'ab')\\n buf = buf.slice(0, actual)\\n }\\n\\n return buf\\n}\\n\\nfunction fromArrayLike (array) {\\n var length = array.length \u003C 0 ? 0 : checked(array.length) | 0\\n var buf = createBuffer(length)\\n for (var i = 0; i \u003C length; i += 1) {\\n buf[i] = array[i] & 255\\n }\\n return buf\\n}\\n\\nfunction fromArrayBuffer (array, byteOffset, length) {\\n if (byteOffset \u003C 0 || array.byteLength \u003C byteOffset) {\\n throw new RangeError('\\\"offset\\\" is outside of buffer bounds')\\n }\\n\\n if (array.byteLength \u003C byteOffset + (length || 0)) {\\n throw new RangeError('\\\"length\\\" is outside of buffer bounds')\\n }\\n\\n var buf\\n if (byteOffset === undefined && length === undefined) {\\n buf = new Uint8Array(array)\\n } else if (length === undefined) {\\n buf = new Uint8Array(array, byteOffset)\\n } else {\\n buf = new Uint8Array(array, byteOffset, length)\\n }\\n\\n // Return an augmented `Uint8Array` instance\\n buf.__proto__ = Buffer.prototype\\n return buf\\n}\\n\\nfunction fromObject (obj) {\\n if (Buffer.isBuffer(obj)) {\\n var len = checked(obj.length) | 0\\n var buf = createBuffer(len)\\n\\n if (buf.length === 0) {\\n return buf\\n }\\n\\n obj.copy(buf, 0, 0, len)\\n return buf\\n }\\n\\n if (obj.length !== undefined) {\\n if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {\\n return createBuffer(0)\\n }\\n return fromArrayLike(obj)\\n }\\n\\n if (obj.type === 'Buffer' && Array.isArray(obj.data)) {\\n return fromArrayLike(obj.data)\\n }\\n}\\n\\nfunction checked (length) {\\n // Note: cannot use `length \u003C K_MAX_LENGTH` here because that fails when\\n // length is NaN (which is otherwise coerced to zero.)\\n if (length >= K_MAX_LENGTH) {\\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\\n 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')\\n }\\n return length | 0\\n}\\n\\nfunction SlowBuffer (length) {\\n if (+length != length) { // eslint-disable-line eqeqeq\\n length = 0\\n }\\n return Buffer.alloc(+length)\\n}\\n\\nBuffer.isBuffer = function isBuffer (b) {\\n return b != null && b._isBuffer === true &&\\n b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false\\n}\\n\\nBuffer.compare = function compare (a, b) {\\n if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)\\n if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)\\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\\n throw new TypeError(\\n 'The \\\"buf1\\\", \\\"buf2\\\" arguments must be one of type Buffer or Uint8Array'\\n )\\n }\\n\\n if (a === b) return 0\\n\\n var x = a.length\\n var y = b.length\\n\\n for (var i = 0, len = Math.min(x, y); i \u003C len; ++i) {\\n if (a[i] !== b[i]) {\\n x = a[i]\\n y = b[i]\\n break\\n }\\n }\\n\\n if (x \u003C y) return -1\\n if (y \u003C x) return 1\\n return 0\\n}\\n\\nBuffer.isEncoding = function isEncoding (encoding) {\\n switch (String(encoding).toLowerCase()) {\\n case 'hex':\\n case 'utf8':\\n case 'utf-8':\\n case 'ascii':\\n case 'latin1':\\n case 'binary':\\n case 'base64':\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return true\\n default:\\n return false\\n }\\n}\\n\\nBuffer.concat = function concat (list, length) {\\n if (!Array.isArray(list)) {\\n throw new TypeError('\\\"list\\\" argument must be an Array of Buffers')\\n }\\n\\n if (list.length === 0) {\\n return Buffer.alloc(0)\\n }\\n\\n var i\\n if (length === undefined) {\\n length = 0\\n for (i = 0; i \u003C list.length; ++i) {\\n length += list[i].length\\n }\\n }\\n\\n var buffer = Buffer.allocUnsafe(length)\\n var pos = 0\\n for (i = 0; i \u003C list.length; ++i) {\\n var buf = list[i]\\n if (isInstance(buf, Uint8Array)) {\\n buf = Buffer.from(buf)\\n }\\n if (!Buffer.isBuffer(buf)) {\\n throw new TypeError('\\\"list\\\" argument must be an Array of Buffers')\\n }\\n buf.copy(buffer, pos)\\n pos += buf.length\\n }\\n return buffer\\n}\\n\\nfunction byteLength (string, encoding) {\\n if (Buffer.isBuffer(string)) {\\n return string.length\\n }\\n if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {\\n return string.byteLength\\n }\\n if (typeof string !== 'string') {\\n throw new TypeError(\\n 'The \\\"string\\\" argument must be one of type string, Buffer, or ArrayBuffer. ' +\\n 'Received type ' + typeof string\\n )\\n }\\n\\n var len = string.length\\n var mustMatch = (arguments.length > 2 && arguments[2] === true)\\n if (!mustMatch && len === 0) return 0\\n\\n // Use a for loop to avoid recursion\\n var loweredCase = false\\n for (;;) {\\n switch (encoding) {\\n case 'ascii':\\n case 'latin1':\\n case 'binary':\\n return len\\n case 'utf8':\\n case 'utf-8':\\n return utf8ToBytes(string).length\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return len * 2\\n case 'hex':\\n return len >>> 1\\n case 'base64':\\n return base64ToBytes(string).length\\n default:\\n if (loweredCase) {\\n return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8\\n }\\n encoding = ('' + encoding).toLowerCase()\\n loweredCase = true\\n }\\n }\\n}\\nBuffer.byteLength = byteLength\\n\\nfunction slowToString (encoding, start, end) {\\n var loweredCase = false\\n\\n // No need to verify that \\\"this.length \u003C= MAX_UINT32\\\" since it's a read-only\\n // property of a typed array.\\n\\n // This behaves neither like String nor Uint8Array in that we set start/end\\n // to their upper/lower bounds if the value passed is out of range.\\n // undefined is handled specially as per ECMA-262 6th Edition,\\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\\n if (start === undefined || start \u003C 0) {\\n start = 0\\n }\\n // Return early if start > this.length. Done here to prevent potential uint32\\n // coercion fail below.\\n if (start > this.length) {\\n return ''\\n }\\n\\n if (end === undefined || end > this.length) {\\n end = this.length\\n }\\n\\n if (end \u003C= 0) {\\n return ''\\n }\\n\\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\\n end >>>= 0\\n start >>>= 0\\n\\n if (end \u003C= start) {\\n return ''\\n }\\n\\n if (!encoding) encoding = 'utf8'\\n\\n while (true) {\\n switch (encoding) {\\n case 'hex':\\n return hexSlice(this, start, end)\\n\\n case 'utf8':\\n case 'utf-8':\\n return utf8Slice(this, start, end)\\n\\n case 'ascii':\\n return asciiSlice(this, start, end)\\n\\n case 'latin1':\\n case 'binary':\\n return latin1Slice(this, start, end)\\n\\n case 'base64':\\n return base64Slice(this, start, end)\\n\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return utf16leSlice(this, start, end)\\n\\n default:\\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\\n encoding = (encoding + '').toLowerCase()\\n loweredCase = true\\n }\\n }\\n}\\n\\n// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)\\n// to detect a Buffer instance. It's not possible to use `instanceof Buffer`\\n// reliably in a browserify context because there could be multiple different\\n// copies of the 'buffer' package in use. This method works even for Buffer\\n// instances that were created from another copy of the `buffer` package.\\n// See: https://github.com/feross/buffer/issues/154\\nBuffer.prototype._isBuffer = true\\n\\nfunction swap (b, n, m) {\\n var i = b[n]\\n b[n] = b[m]\\n b[m] = i\\n}\\n\\nBuffer.prototype.swap16 = function swap16 () {\\n var len = this.length\\n if (len % 2 !== 0) {\\n throw new RangeError('Buffer size must be a multiple of 16-bits')\\n }\\n for (var i = 0; i \u003C len; i += 2) {\\n swap(this, i, i + 1)\\n }\\n return this\\n}\\n\\nBuffer.prototype.swap32 = function swap32 () {\\n var len = this.length\\n if (len % 4 !== 0) {\\n throw new RangeError('Buffer size must be a multiple of 32-bits')\\n }\\n for (var i = 0; i \u003C len; i += 4) {\\n swap(this, i, i + 3)\\n swap(this, i + 1, i + 2)\\n }\\n return this\\n}\\n\\nBuffer.prototype.swap64 = function swap64 () {\\n var len = this.length\\n if (len % 8 !== 0) {\\n throw new RangeError('Buffer size must be a multiple of 64-bits')\\n }\\n for (var i = 0; i \u003C len; i += 8) {\\n swap(this, i, i + 7)\\n swap(this, i + 1, i + 6)\\n swap(this, i + 2, i + 5)\\n swap(this, i + 3, i + 4)\\n }\\n return this\\n}\\n\\nBuffer.prototype.toString = function toString () {\\n var length = this.length\\n if (length === 0) return ''\\n if (arguments.length === 0) return utf8Slice(this, 0, length)\\n return slowToString.apply(this, arguments)\\n}\\n\\nBuffer.prototype.toLocaleString = Buffer.prototype.toString\\n\\nBuffer.prototype.equals = function equals (b) {\\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\\n if (this === b) return true\\n return Buffer.compare(this, b) === 0\\n}\\n\\nBuffer.prototype.inspect = function inspect () {\\n var str = ''\\n var max = exports.INSPECT_MAX_BYTES\\n str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()\\n if (this.length > max) str += ' ... '\\n return '\u003CBuffer ' + str + '>'\\n}\\n\\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\\n if (isInstance(target, Uint8Array)) {\\n target = Buffer.from(target, target.offset, target.byteLength)\\n }\\n if (!Buffer.isBuffer(target)) {\\n throw new TypeError(\\n 'The \\\"target\\\" argument must be one of type Buffer or Uint8Array. ' +\\n 'Received type ' + (typeof target)\\n )\\n }\\n\\n if (start === undefined) {\\n start = 0\\n }\\n if (end === undefined) {\\n end = target ? target.length : 0\\n }\\n if (thisStart === undefined) {\\n thisStart = 0\\n }\\n if (thisEnd === undefined) {\\n thisEnd = this.length\\n }\\n\\n if (start \u003C 0 || end > target.length || thisStart \u003C 0 || thisEnd > this.length) {\\n throw new RangeError('out of range index')\\n }\\n\\n if (thisStart >= thisEnd && start >= end) {\\n return 0\\n }\\n if (thisStart >= thisEnd) {\\n return -1\\n }\\n if (start >= end) {\\n return 1\\n }\\n\\n start >>>= 0\\n end >>>= 0\\n thisStart >>>= 0\\n thisEnd >>>= 0\\n\\n if (this === target) return 0\\n\\n var x = thisEnd - thisStart\\n var y = end - start\\n var len = Math.min(x, y)\\n\\n var thisCopy = this.slice(thisStart, thisEnd)\\n var targetCopy = target.slice(start, end)\\n\\n for (var i = 0; i \u003C len; ++i) {\\n if (thisCopy[i] !== targetCopy[i]) {\\n x = thisCopy[i]\\n y = targetCopy[i]\\n break\\n }\\n }\\n\\n if (x \u003C y) return -1\\n if (y \u003C x) return 1\\n return 0\\n}\\n\\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\\n// OR the last index of `val` in `buffer` at offset \u003C= `byteOffset`.\\n//\\n// Arguments:\\n// - buffer - a Buffer to search\\n// - val - a string, Buffer, or number\\n// - byteOffset - an index into `buffer`; will be clamped to an int32\\n// - encoding - an optional encoding, relevant is val is a string\\n// - dir - true for indexOf, false for lastIndexOf\\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\\n // Empty buffer means no match\\n if (buffer.length === 0) return -1\\n\\n // Normalize byteOffset\\n if (typeof byteOffset === 'string') {\\n encoding = byteOffset\\n byteOffset = 0\\n } else if (byteOffset > 0x7fffffff) {\\n byteOffset = 0x7fffffff\\n } else if (byteOffset \u003C -0x80000000) {\\n byteOffset = -0x80000000\\n }\\n byteOffset = +byteOffset // Coerce to Number.\\n if (numberIsNaN(byteOffset)) {\\n // byteOffset: it it's undefined, null, NaN, \\\"foo\\\", etc, search whole buffer\\n byteOffset = dir ? 0 : (buffer.length - 1)\\n }\\n\\n // Normalize byteOffset: negative offsets start from the end of the buffer\\n if (byteOffset \u003C 0) byteOffset = buffer.length + byteOffset\\n if (byteOffset >= buffer.length) {\\n if (dir) return -1\\n else byteOffset = buffer.length - 1\\n } else if (byteOffset \u003C 0) {\\n if (dir) byteOffset = 0\\n else return -1\\n }\\n\\n // Normalize val\\n if (typeof val === 'string') {\\n val = Buffer.from(val, encoding)\\n }\\n\\n // Finally, search either indexOf (if dir is true) or lastIndexOf\\n if (Buffer.isBuffer(val)) {\\n // Special case: looking for empty string/buffer always fails\\n if (val.length === 0) {\\n return -1\\n }\\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\\n } else if (typeof val === 'number') {\\n val = val & 0xFF // Search for a byte value [0-255]\\n if (typeof Uint8Array.prototype.indexOf === 'function') {\\n if (dir) {\\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\\n } else {\\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\\n }\\n }\\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\\n }\\n\\n throw new TypeError('val must be string, number or Buffer')\\n}\\n\\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\\n var indexSize = 1\\n var arrLength = arr.length\\n var valLength = val.length\\n\\n if (encoding !== undefined) {\\n encoding = String(encoding).toLowerCase()\\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\\n encoding === 'utf16le' || encoding === 'utf-16le') {\\n if (arr.length \u003C 2 || val.length \u003C 2) {\\n return -1\\n }\\n indexSize = 2\\n arrLength /= 2\\n valLength /= 2\\n byteOffset /= 2\\n }\\n }\\n\\n function read (buf, i) {\\n if (indexSize === 1) {\\n return buf[i]\\n } else {\\n return buf.readUInt16BE(i * indexSize)\\n }\\n }\\n\\n var i\\n if (dir) {\\n var foundIndex = -1\\n for (i = byteOffset; i \u003C arrLength; i++) {\\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\\n if (foundIndex === -1) foundIndex = i\\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\\n } else {\\n if (foundIndex !== -1) i -= i - foundIndex\\n foundIndex = -1\\n }\\n }\\n } else {\\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\\n for (i = byteOffset; i >= 0; i--) {\\n var found = true\\n for (var j = 0; j \u003C valLength; j++) {\\n if (read(arr, i + j) !== read(val, j)) {\\n found = false\\n break\\n }\\n }\\n if (found) return i\\n }\\n }\\n\\n return -1\\n}\\n\\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\\n return this.indexOf(val, byteOffset, encoding) !== -1\\n}\\n\\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\\n}\\n\\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\\n}\\n\\nfunction hexWrite (buf, string, offset, length) {\\n offset = Number(offset) || 0\\n var remaining = buf.length - offset\\n if (!length) {\\n length = remaining\\n } else {\\n length = Number(length)\\n if (length > remaining) {\\n length = remaining\\n }\\n }\\n\\n var strLen = string.length\\n\\n if (length > strLen / 2) {\\n length = strLen / 2\\n }\\n for (var i = 0; i \u003C length; ++i) {\\n var parsed = parseInt(string.substr(i * 2, 2), 16)\\n if (numberIsNaN(parsed)) return i\\n buf[offset + i] = parsed\\n }\\n return i\\n}\\n\\nfunction utf8Write (buf, string, offset, length) {\\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\\n}\\n\\nfunction asciiWrite (buf, string, offset, length) {\\n return blitBuffer(asciiToBytes(string), buf, offset, length)\\n}\\n\\nfunction latin1Write (buf, string, offset, length) {\\n return asciiWrite(buf, string, offset, length)\\n}\\n\\nfunction base64Write (buf, string, offset, length) {\\n return blitBuffer(base64ToBytes(string), buf, offset, length)\\n}\\n\\nfunction ucs2Write (buf, string, offset, length) {\\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\\n}\\n\\nBuffer.prototype.write = function write (string, offset, length, encoding) {\\n // Buffer#write(string)\\n if (offset === undefined) {\\n encoding = 'utf8'\\n length = this.length\\n offset = 0\\n // Buffer#write(string, encoding)\\n } else if (length === undefined && typeof offset === 'string') {\\n encoding = offset\\n length = this.length\\n offset = 0\\n // Buffer#write(string, offset[, length][, encoding])\\n } else if (isFinite(offset)) {\\n offset = offset >>> 0\\n if (isFinite(length)) {\\n length = length >>> 0\\n if (encoding === undefined) encoding = 'utf8'\\n } else {\\n encoding = length\\n length = undefined\\n }\\n } else {\\n throw new Error(\\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\\n )\\n }\\n\\n var remaining = this.length - offset\\n if (length === undefined || length > remaining) length = remaining\\n\\n if ((string.length > 0 && (length \u003C 0 || offset \u003C 0)) || offset > this.length) {\\n throw new RangeError('Attempt to write outside buffer bounds')\\n }\\n\\n if (!encoding) encoding = 'utf8'\\n\\n var loweredCase = false\\n for (;;) {\\n switch (encoding) {\\n case 'hex':\\n return hexWrite(this, string, offset, length)\\n\\n case 'utf8':\\n case 'utf-8':\\n return utf8Write(this, string, offset, length)\\n\\n case 'ascii':\\n return asciiWrite(this, string, offset, length)\\n\\n case 'latin1':\\n case 'binary':\\n return latin1Write(this, string, offset, length)\\n\\n case 'base64':\\n // Warning: maxLength not taken into account in base64Write\\n return base64Write(this, string, offset, length)\\n\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return ucs2Write(this, string, offset, length)\\n\\n default:\\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\\n encoding = ('' + encoding).toLowerCase()\\n loweredCase = true\\n }\\n }\\n}\\n\\nBuffer.prototype.toJSON = function toJSON () {\\n return {\\n type: 'Buffer',\\n data: Array.prototype.slice.call(this._arr || this, 0)\\n }\\n}\\n\\nfunction base64Slice (buf, start, end) {\\n if (start === 0 && end === buf.length) {\\n return base64.fromByteArray(buf)\\n } else {\\n return base64.fromByteArray(buf.slice(start, end))\\n }\\n}\\n\\nfunction utf8Slice (buf, start, end) {\\n end = Math.min(buf.length, end)\\n var res = []\\n\\n var i = start\\n while (i \u003C end) {\\n var firstByte = buf[i]\\n var codePoint = null\\n var bytesPerSequence = (firstByte > 0xEF) ? 4\\n : (firstByte > 0xDF) ? 3\\n : (firstByte > 0xBF) ? 2\\n : 1\\n\\n if (i + bytesPerSequence \u003C= end) {\\n var secondByte, thirdByte, fourthByte, tempCodePoint\\n\\n switch (bytesPerSequence) {\\n case 1:\\n if (firstByte \u003C 0x80) {\\n codePoint = firstByte\\n }\\n break\\n case 2:\\n secondByte = buf[i + 1]\\n if ((secondByte & 0xC0) === 0x80) {\\n tempCodePoint = (firstByte & 0x1F) \u003C\u003C 0x6 | (secondByte & 0x3F)\\n if (tempCodePoint > 0x7F) {\\n codePoint = tempCodePoint\\n }\\n }\\n break\\n case 3:\\n secondByte = buf[i + 1]\\n thirdByte = buf[i + 2]\\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\\n tempCodePoint = (firstByte & 0xF) \u003C\u003C 0xC | (secondByte & 0x3F) \u003C\u003C 0x6 | (thirdByte & 0x3F)\\n if (tempCodePoint > 0x7FF && (tempCodePoint \u003C 0xD800 || tempCodePoint > 0xDFFF)) {\\n codePoint = tempCodePoint\\n }\\n }\\n break\\n case 4:\\n secondByte = buf[i + 1]\\n thirdByte = buf[i + 2]\\n fourthByte = buf[i + 3]\\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\\n tempCodePoint = (firstByte & 0xF) \u003C\u003C 0x12 | (secondByte & 0x3F) \u003C\u003C 0xC | (thirdByte & 0x3F) \u003C\u003C 0x6 | (fourthByte & 0x3F)\\n if (tempCodePoint > 0xFFFF && tempCodePoint \u003C 0x110000) {\\n codePoint = tempCodePoint\\n }\\n }\\n }\\n }\\n\\n if (codePoint === null) {\\n // we did not generate a valid codePoint so insert a\\n // replacement char (U+FFFD) and advance only 1 byte\\n codePoint = 0xFFFD\\n bytesPerSequence = 1\\n } else if (codePoint > 0xFFFF) {\\n // encode to utf16 (surrogate pair dance)\\n codePoint -= 0x10000\\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\\n codePoint = 0xDC00 | codePoint & 0x3FF\\n }\\n\\n res.push(codePoint)\\n i += bytesPerSequence\\n }\\n\\n return decodeCodePointsArray(res)\\n}\\n\\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\\n// the lowest limit is Chrome, with 0x10000 args.\\n// We go 1 magnitude less, for safety\\nvar MAX_ARGUMENTS_LENGTH = 0x1000\\n\\nfunction decodeCodePointsArray (codePoints) {\\n var len = codePoints.length\\n if (len \u003C= MAX_ARGUMENTS_LENGTH) {\\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\\n }\\n\\n // Decode in chunks to avoid \\\"call stack size exceeded\\\".\\n var res = ''\\n var i = 0\\n while (i \u003C len) {\\n res += String.fromCharCode.apply(\\n String,\\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\\n )\\n }\\n return res\\n}\\n\\nfunction asciiSlice (buf, start, end) {\\n var ret = ''\\n end = Math.min(buf.length, end)\\n\\n for (var i = start; i \u003C end; ++i) {\\n ret += String.fromCharCode(buf[i] & 0x7F)\\n }\\n return ret\\n}\\n\\nfunction latin1Slice (buf, start, end) {\\n var ret = ''\\n end = Math.min(buf.length, end)\\n\\n for (var i = start; i \u003C end; ++i) {\\n ret += String.fromCharCode(buf[i])\\n }\\n return ret\\n}\\n\\nfunction hexSlice (buf, start, end) {\\n var len = buf.length\\n\\n if (!start || start \u003C 0) start = 0\\n if (!end || end \u003C 0 || end > len) end = len\\n\\n var out = ''\\n for (var i = start; i \u003C end; ++i) {\\n out += toHex(buf[i])\\n }\\n return out\\n}\\n\\nfunction utf16leSlice (buf, start, end) {\\n var bytes = buf.slice(start, end)\\n var res = ''\\n for (var i = 0; i \u003C bytes.length; i += 2) {\\n res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))\\n }\\n return res\\n}\\n\\nBuffer.prototype.slice = function slice (start, end) {\\n var len = this.length\\n start = ~~start\\n end = end === undefined ? len : ~~end\\n\\n if (start \u003C 0) {\\n start += len\\n if (start \u003C 0) start = 0\\n } else if (start > len) {\\n start = len\\n }\\n\\n if (end \u003C 0) {\\n end += len\\n if (end \u003C 0) end = 0\\n } else if (end > len) {\\n end = len\\n }\\n\\n if (end \u003C start) end = start\\n\\n var newBuf = this.subarray(start, end)\\n // Return an augmented `Uint8Array` instance\\n newBuf.__proto__ = Buffer.prototype\\n return newBuf\\n}\\n\\n/*\\n * Need to make sure that buffer isn't trying to write out of bounds.\\n */\\nfunction checkOffset (offset, ext, length) {\\n if ((offset % 1) !== 0 || offset \u003C 0) throw new RangeError('offset is not uint')\\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\\n}\\n\\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\n\\n var val = this[offset]\\n var mul = 1\\n var i = 0\\n while (++i \u003C byteLength && (mul *= 0x100)) {\\n val += this[offset + i] * mul\\n }\\n\\n return val\\n}\\n\\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) {\\n checkOffset(offset, byteLength, this.length)\\n }\\n\\n var val = this[offset + --byteLength]\\n var mul = 1\\n while (byteLength > 0 && (mul *= 0x100)) {\\n val += this[offset + --byteLength] * mul\\n }\\n\\n return val\\n}\\n\\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 1, this.length)\\n return this[offset]\\n}\\n\\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n return this[offset] | (this[offset + 1] \u003C\u003C 8)\\n}\\n\\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n return (this[offset] \u003C\u003C 8) | this[offset + 1]\\n}\\n\\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return ((this[offset]) |\\n (this[offset + 1] \u003C\u003C 8) |\\n (this[offset + 2] \u003C\u003C 16)) +\\n (this[offset + 3] * 0x1000000)\\n}\\n\\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return (this[offset] * 0x1000000) +\\n ((this[offset + 1] \u003C\u003C 16) |\\n (this[offset + 2] \u003C\u003C 8) |\\n this[offset + 3])\\n}\\n\\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\n\\n var val = this[offset]\\n var mul = 1\\n var i = 0\\n while (++i \u003C byteLength && (mul *= 0x100)) {\\n val += this[offset + i] * mul\\n }\\n mul *= 0x80\\n\\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\\n\\n return val\\n}\\n\\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\n\\n var i = byteLength\\n var mul = 1\\n var val = this[offset + --i]\\n while (i > 0 && (mul *= 0x100)) {\\n val += this[offset + --i] * mul\\n }\\n mul *= 0x80\\n\\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\\n\\n return val\\n}\\n\\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 1, this.length)\\n if (!(this[offset] & 0x80)) return (this[offset])\\n return ((0xff - this[offset] + 1) * -1)\\n}\\n\\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n var val = this[offset] | (this[offset + 1] \u003C\u003C 8)\\n return (val & 0x8000) ? val | 0xFFFF0000 : val\\n}\\n\\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n var val = this[offset + 1] | (this[offset] \u003C\u003C 8)\\n return (val & 0x8000) ? val | 0xFFFF0000 : val\\n}\\n\\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return (this[offset]) |\\n (this[offset + 1] \u003C\u003C 8) |\\n (this[offset + 2] \u003C\u003C 16) |\\n (this[offset + 3] \u003C\u003C 24)\\n}\\n\\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return (this[offset] \u003C\u003C 24) |\\n (this[offset + 1] \u003C\u003C 16) |\\n (this[offset + 2] \u003C\u003C 8) |\\n (this[offset + 3])\\n}\\n\\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n return ieee754.read(this, offset, true, 23, 4)\\n}\\n\\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n return ieee754.read(this, offset, false, 23, 4)\\n}\\n\\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 8, this.length)\\n return ieee754.read(this, offset, true, 52, 8)\\n}\\n\\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 8, this.length)\\n return ieee754.read(this, offset, false, 52, 8)\\n}\\n\\nfunction checkInt (buf, value, offset, ext, max, min) {\\n if (!Buffer.isBuffer(buf)) throw new TypeError('\\\"buffer\\\" argument must be a Buffer instance')\\n if (value > max || value \u003C min) throw new RangeError('\\\"value\\\" argument is out of bounds')\\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\\n}\\n\\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) {\\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\\n checkInt(this, value, offset, byteLength, maxBytes, 0)\\n }\\n\\n var mul = 1\\n var i = 0\\n this[offset] = value & 0xFF\\n while (++i \u003C byteLength && (mul *= 0x100)) {\\n this[offset + i] = (value / mul) & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) {\\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\\n checkInt(this, value, offset, byteLength, maxBytes, 0)\\n }\\n\\n var i = byteLength - 1\\n var mul = 1\\n this[offset + i] = value & 0xFF\\n while (--i >= 0 && (mul *= 0x100)) {\\n this[offset + i] = (value / mul) & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\\n this[offset] = (value & 0xff)\\n return offset + 1\\n}\\n\\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\\n this[offset] = (value & 0xff)\\n this[offset + 1] = (value >>> 8)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\\n this[offset] = (value >>> 8)\\n this[offset + 1] = (value & 0xff)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\\n this[offset + 3] = (value >>> 24)\\n this[offset + 2] = (value >>> 16)\\n this[offset + 1] = (value >>> 8)\\n this[offset] = (value & 0xff)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\\n this[offset] = (value >>> 24)\\n this[offset + 1] = (value >>> 16)\\n this[offset + 2] = (value >>> 8)\\n this[offset + 3] = (value & 0xff)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n var limit = Math.pow(2, (8 * byteLength) - 1)\\n\\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\\n }\\n\\n var i = 0\\n var mul = 1\\n var sub = 0\\n this[offset] = value & 0xFF\\n while (++i \u003C byteLength && (mul *= 0x100)) {\\n if (value \u003C 0 && sub === 0 && this[offset + i - 1] !== 0) {\\n sub = 1\\n }\\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n var limit = Math.pow(2, (8 * byteLength) - 1)\\n\\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\\n }\\n\\n var i = byteLength - 1\\n var mul = 1\\n var sub = 0\\n this[offset + i] = value & 0xFF\\n while (--i >= 0 && (mul *= 0x100)) {\\n if (value \u003C 0 && sub === 0 && this[offset + i + 1] !== 0) {\\n sub = 1\\n }\\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\\n if (value \u003C 0) value = 0xff + value + 1\\n this[offset] = (value & 0xff)\\n return offset + 1\\n}\\n\\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\\n this[offset] = (value & 0xff)\\n this[offset + 1] = (value >>> 8)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\\n this[offset] = (value >>> 8)\\n this[offset + 1] = (value & 0xff)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\\n this[offset] = (value & 0xff)\\n this[offset + 1] = (value >>> 8)\\n this[offset + 2] = (value >>> 16)\\n this[offset + 3] = (value >>> 24)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\\n if (value \u003C 0) value = 0xffffffff + value + 1\\n this[offset] = (value >>> 24)\\n this[offset + 1] = (value >>> 16)\\n this[offset + 2] = (value >>> 8)\\n this[offset + 3] = (value & 0xff)\\n return offset + 4\\n}\\n\\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\\n if (offset \u003C 0) throw new RangeError('Index out of range')\\n}\\n\\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\\n }\\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\\n return writeFloat(this, value, offset, true, noAssert)\\n}\\n\\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\\n return writeFloat(this, value, offset, false, noAssert)\\n}\\n\\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\\n }\\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\\n return offset + 8\\n}\\n\\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\\n return writeDouble(this, value, offset, true, noAssert)\\n}\\n\\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\\n return writeDouble(this, value, offset, false, noAssert)\\n}\\n\\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\\n if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')\\n if (!start) start = 0\\n if (!end && end !== 0) end = this.length\\n if (targetStart >= target.length) targetStart = target.length\\n if (!targetStart) targetStart = 0\\n if (end > 0 && end \u003C start) end = start\\n\\n // Copy 0 bytes; we're done\\n if (end === start) return 0\\n if (target.length === 0 || this.length === 0) return 0\\n\\n // Fatal error conditions\\n if (targetStart \u003C 0) {\\n throw new RangeError('targetStart out of bounds')\\n }\\n if (start \u003C 0 || start >= this.length) throw new RangeError('Index out of range')\\n if (end \u003C 0) throw new RangeError('sourceEnd out of bounds')\\n\\n // Are we oob?\\n if (end > this.length) end = this.length\\n if (target.length - targetStart \u003C end - start) {\\n end = target.length - targetStart + start\\n }\\n\\n var len = end - start\\n\\n if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {\\n // Use built-in when available, missing from IE11\\n this.copyWithin(targetStart, start, end)\\n } else if (this === target && start \u003C targetStart && targetStart \u003C end) {\\n // descending copy from end\\n for (var i = len - 1; i >= 0; --i) {\\n target[i + targetStart] = this[i + start]\\n }\\n } else {\\n Uint8Array.prototype.set.call(\\n target,\\n this.subarray(start, end),\\n targetStart\\n )\\n }\\n\\n return len\\n}\\n\\n// Usage:\\n// buffer.fill(number[, offset[, end]])\\n// buffer.fill(buffer[, offset[, end]])\\n// buffer.fill(string[, offset[, end]][, encoding])\\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\\n // Handle string cases:\\n if (typeof val === 'string') {\\n if (typeof start === 'string') {\\n encoding = start\\n start = 0\\n end = this.length\\n } else if (typeof end === 'string') {\\n encoding = end\\n end = this.length\\n }\\n if (encoding !== undefined && typeof encoding !== 'string') {\\n throw new TypeError('encoding must be a string')\\n }\\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\\n throw new TypeError('Unknown encoding: ' + encoding)\\n }\\n if (val.length === 1) {\\n var code = val.charCodeAt(0)\\n if ((encoding === 'utf8' && code \u003C 128) ||\\n encoding === 'latin1') {\\n // Fast path: If `val` fits into a single byte, use that numeric value.\\n val = code\\n }\\n }\\n } else if (typeof val === 'number') {\\n val = val & 255\\n }\\n\\n // Invalid ranges are not set to a default, so can range check early.\\n if (start \u003C 0 || this.length \u003C start || this.length \u003C end) {\\n throw new RangeError('Out of range index')\\n }\\n\\n if (end \u003C= start) {\\n return this\\n }\\n\\n start = start >>> 0\\n end = end === undefined ? this.length : end >>> 0\\n\\n if (!val) val = 0\\n\\n var i\\n if (typeof val === 'number') {\\n for (i = start; i \u003C end; ++i) {\\n this[i] = val\\n }\\n } else {\\n var bytes = Buffer.isBuffer(val)\\n ? val\\n : Buffer.from(val, encoding)\\n var len = bytes.length\\n if (len === 0) {\\n throw new TypeError('The value \\\"' + val +\\n '\\\" is invalid for argument \\\"value\\\"')\\n }\\n for (i = 0; i \u003C end - start; ++i) {\\n this[i + start] = bytes[i % len]\\n }\\n }\\n\\n return this\\n}\\n\\n// HELPER FUNCTIONS\\n// ================\\n\\nvar INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g\\n\\nfunction base64clean (str) {\\n // Node takes equal signs as end of the Base64 encoding\\n str = str.split('=')[0]\\n // Node strips out invalid characters like \\\\n and \\\\t from the string, base64-js does not\\n str = str.trim().replace(INVALID_BASE64_RE, '')\\n // Node converts strings with length \u003C 2 to ''\\n if (str.length \u003C 2) return ''\\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\\n while (str.length % 4 !== 0) {\\n str = str + '='\\n }\\n return str\\n}\\n\\nfunction toHex (n) {\\n if (n \u003C 16) return '0' + n.toString(16)\\n return n.toString(16)\\n}\\n\\nfunction utf8ToBytes (string, units) {\\n units = units || Infinity\\n var codePoint\\n var length = string.length\\n var leadSurrogate = null\\n var bytes = []\\n\\n for (var i = 0; i \u003C length; ++i) {\\n codePoint = string.charCodeAt(i)\\n\\n // is surrogate component\\n if (codePoint > 0xD7FF && codePoint \u003C 0xE000) {\\n // last char was a lead\\n if (!leadSurrogate) {\\n // no lead yet\\n if (codePoint > 0xDBFF) {\\n // unexpected trail\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n continue\\n } else if (i + 1 === length) {\\n // unpaired lead\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n continue\\n }\\n\\n // valid lead\\n leadSurrogate = codePoint\\n\\n continue\\n }\\n\\n // 2 leads in a row\\n if (codePoint \u003C 0xDC00) {\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n leadSurrogate = codePoint\\n continue\\n }\\n\\n // valid surrogate pair\\n codePoint = (leadSurrogate - 0xD800 \u003C\u003C 10 | codePoint - 0xDC00) + 0x10000\\n } else if (leadSurrogate) {\\n // valid bmp char, but last char was a lead\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n }\\n\\n leadSurrogate = null\\n\\n // encode utf8\\n if (codePoint \u003C 0x80) {\\n if ((units -= 1) \u003C 0) break\\n bytes.push(codePoint)\\n } else if (codePoint \u003C 0x800) {\\n if ((units -= 2) \u003C 0) break\\n bytes.push(\\n codePoint >> 0x6 | 0xC0,\\n codePoint & 0x3F | 0x80\\n )\\n } else if (codePoint \u003C 0x10000) {\\n if ((units -= 3) \u003C 0) break\\n bytes.push(\\n codePoint >> 0xC | 0xE0,\\n codePoint >> 0x6 & 0x3F | 0x80,\\n codePoint & 0x3F | 0x80\\n )\\n } else if (codePoint \u003C 0x110000) {\\n if ((units -= 4) \u003C 0) break\\n bytes.push(\\n codePoint >> 0x12 | 0xF0,\\n codePoint >> 0xC & 0x3F | 0x80,\\n codePoint >> 0x6 & 0x3F | 0x80,\\n codePoint & 0x3F | 0x80\\n )\\n } else {\\n throw new Error('Invalid code point')\\n }\\n }\\n\\n return bytes\\n}\\n\\nfunction asciiToBytes (str) {\\n var byteArray = []\\n for (var i = 0; i \u003C str.length; ++i) {\\n // Node's code seems to be doing this and not & 0x7F..\\n byteArray.push(str.charCodeAt(i) & 0xFF)\\n }\\n return byteArray\\n}\\n\\nfunction utf16leToBytes (str, units) {\\n var c, hi, lo\\n var byteArray = []\\n for (var i = 0; i \u003C str.length; ++i) {\\n if ((units -= 2) \u003C 0) break\\n\\n c = str.charCodeAt(i)\\n hi = c >> 8\\n lo = c % 256\\n byteArray.push(lo)\\n byteArray.push(hi)\\n }\\n\\n return byteArray\\n}\\n\\nfunction base64ToBytes (str) {\\n return base64.toByteArray(base64clean(str))\\n}\\n\\nfunction blitBuffer (src, dst, offset, length) {\\n for (var i = 0; i \u003C length; ++i) {\\n if ((i + offset >= dst.length) || (i >= src.length)) break\\n dst[i + offset] = src[i]\\n }\\n return i\\n}\\n\\n// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass\\n// the `instanceof` check but they should be treated as of that type.\\n// See: https://github.com/feross/buffer/issues/166\\nfunction isInstance (obj, type) {\\n return obj instanceof type ||\\n (obj != null && obj.constructor != null && obj.constructor.name != null &&\\n obj.constructor.name === type.name)\\n}\\nfunction numberIsNaN (obj) {\\n // For IE11 support\\n return obj !== obj // eslint-disable-line no-self-compare\\n}\\n\\n}).call(this,require(\\\"buffer\\\").Buffer)\\n},{\\\"base64-js\\\":4,\\\"buffer\\\":5,\\\"ieee754\\\":34}],6:[function(require,module,exports){\\n'use strict'\\n\\nconst mh = require('multihashes')\\nconst { Buffer } = require('buffer')\\nvar CIDUtil = {\\n /**\\n * Test if the given input is a valid CID object.\\n * Returns an error message if it is not.\\n * Returns undefined if it is a valid CID.\\n *\\n * @param {any} other\\n * @returns {string}\\n */\\n checkCIDComponents: function (other) {\\n if (other == null) {\\n return 'null values are not valid CIDs'\\n }\\n\\n if (!(other.version === 0 || other.version === 1)) {\\n return 'Invalid version, must be a number equal to 1 or 0'\\n }\\n\\n if (typeof other.codec !== 'string') {\\n return 'codec must be string'\\n }\\n\\n if (other.version === 0) {\\n if (other.codec !== 'dag-pb') {\\n return \\\"codec must be 'dag-pb' for CIDv0\\\"\\n }\\n if (other.multibaseName !== 'base58btc') {\\n return \\\"multibaseName must be 'base58btc' for CIDv0\\\"\\n }\\n }\\n\\n if (!Buffer.isBuffer(other.multihash)) {\\n return 'multihash must be a Buffer'\\n }\\n\\n try {\\n mh.validate(other.multihash)\\n } catch (err) {\\n let errorMsg = err.message\\n if (!errorMsg) { // Just in case mh.validate() throws an error with empty error message\\n errorMsg = 'Multihash validation failed'\\n }\\n return errorMsg\\n }\\n }\\n}\\n\\nmodule.exports = CIDUtil\\n\\n},{\\\"buffer\\\":5,\\\"multihashes\\\":62}],7:[function(require,module,exports){\\n'use strict'\\n\\nconst { Buffer } = require('buffer')\\nconst mh = require('multihashes')\\nconst multibase = require('multibase')\\nconst multicodec = require('multicodec')\\nconst codecs = require('multicodec/src/base-table.json')\\nconst CIDUtil = require('./cid-util')\\nconst withIs = require('class-is')\\n\\n/**\\n * @typedef {Object} SerializedCID\\n * @param {string} codec\\n * @param {number} version\\n * @param {Buffer} multihash\\n */\\n\\n/**\\n * Test if the given input is a CID.\\n * @function isCID\\n * @memberof CID\\n * @static\\n * @param {any} other\\n * @returns {bool}\\n */\\n\\n/**\\n * Class representing a CID `\u003Cmbase>\u003Cversion>\u003Cmcodec>\u003Cmhash>`\\n * , as defined in [ipld/cid](https://github.com/multiformats/cid).\\n * @class CID\\n */\\nclass CID {\\n /**\\n * Create a new CID.\\n *\\n * The algorithm for argument input is roughly:\\n * ```\\n * if (cid)\\n * -> create a copy\\n * else if (str)\\n * if (1st char is on multibase table) -> CID String\\n * else -> bs58 encoded multihash\\n * else if (Buffer)\\n * if (1st byte is 0 or 1) -> CID\\n * else -> multihash\\n * else if (Number)\\n * -> construct CID by parts\\n * ```\\n *\\n * @param {string|Buffer|CID} version\\n * @param {string} [codec]\\n * @param {Buffer} [multihash]\\n * @param {string} [multibaseName]\\n *\\n * @example\\n * new CID(\u003Cversion>, \u003Ccodec>, \u003Cmultihash>, \u003CmultibaseName>)\\n * new CID(\u003CcidStr>)\\n * new CID(\u003Ccid.buffer>)\\n * new CID(\u003Cmultihash>)\\n * new CID(\u003Cbs58 encoded multihash>)\\n * new CID(\u003Ccid>)\\n */\\n constructor (version, codec, multihash, multibaseName) {\\n if (_CID.isCID(version)) {\\n // version is an exising CID instance\\n const cid = version\\n this.version = cid.version\\n this.codec = cid.codec\\n this.multihash = Buffer.from(cid.multihash)\\n // Default guard for when a CID \u003C 0.7 is passed with no multibaseName\\n this.multibaseName = cid.multibaseName || (cid.version === 0 ? 'base58btc' : 'base32')\\n return\\n }\\n\\n if (typeof version === 'string') {\\n // e.g. 'base32' or false\\n const baseName = multibase.isEncoded(version)\\n if (baseName) {\\n // version is a CID String encoded with multibase, so v1\\n const cid = multibase.decode(version)\\n this.version = parseInt(cid.slice(0, 1).toString('hex'), 16)\\n this.codec = multicodec.getCodec(cid.slice(1))\\n this.multihash = multicodec.rmPrefix(cid.slice(1))\\n this.multibaseName = baseName\\n } else {\\n // version is a base58btc string multihash, so v0\\n this.version = 0\\n this.codec = 'dag-pb'\\n this.multihash = mh.fromB58String(version)\\n this.multibaseName = 'base58btc'\\n }\\n CID.validateCID(this)\\n Object.defineProperty(this, 'string', { value: version })\\n return\\n }\\n\\n if (Buffer.isBuffer(version)) {\\n const firstByte = version.slice(0, 1)\\n const v = parseInt(firstByte.toString('hex'), 16)\\n if (v === 1) {\\n // version is a CID buffer\\n const cid = version\\n this.version = v\\n this.codec = multicodec.getCodec(cid.slice(1))\\n this.multihash = multicodec.rmPrefix(cid.slice(1))\\n this.multibaseName = 'base32'\\n } else {\\n // version is a raw multihash buffer, so v0\\n this.version = 0\\n this.codec = 'dag-pb'\\n this.multihash = version\\n this.multibaseName = 'base58btc'\\n }\\n CID.validateCID(this)\\n return\\n }\\n\\n // otherwise, assemble the CID from the parameters\\n\\n /**\\n * @type {number}\\n */\\n this.version = version\\n\\n /**\\n * @type {string}\\n */\\n this.codec = codec\\n\\n /**\\n * @type {Buffer}\\n */\\n this.multihash = multihash\\n\\n /**\\n * @type {string}\\n */\\n this.multibaseName = multibaseName || (version === 0 ? 'base58btc' : 'base32')\\n\\n CID.validateCID(this)\\n }\\n\\n /**\\n * The CID as a `Buffer`\\n *\\n * @return {Buffer}\\n * @readonly\\n *\\n * @memberOf CID\\n */\\n get buffer () {\\n let buffer = this._buffer\\n\\n if (!buffer) {\\n if (this.version === 0) {\\n buffer = this.multihash\\n } else if (this.version === 1) {\\n buffer = Buffer.concat([\\n Buffer.from('01', 'hex'),\\n multicodec.getCodeVarint(this.codec),\\n this.multihash\\n ])\\n } else {\\n throw new Error('unsupported version')\\n }\\n\\n // Cache this buffer so it doesn't have to be recreated\\n Object.defineProperty(this, '_buffer', { value: buffer })\\n }\\n\\n return buffer\\n }\\n\\n /**\\n * Get the prefix of the CID.\\n *\\n * @returns {Buffer}\\n * @readonly\\n */\\n get prefix () {\\n return Buffer.concat([\\n Buffer.from(`0${this.version}`, 'hex'),\\n multicodec.getCodeVarint(this.codec),\\n mh.prefix(this.multihash)\\n ])\\n }\\n\\n /**\\n * Convert to a CID of version `0`.\\n *\\n * @returns {CID}\\n */\\n toV0 () {\\n if (this.codec !== 'dag-pb') {\\n throw new Error('Cannot convert a non dag-pb CID to CIDv0')\\n }\\n\\n const { name, length } = mh.decode(this.multihash)\\n\\n if (name !== 'sha2-256') {\\n throw new Error('Cannot convert non sha2-256 multihash CID to CIDv0')\\n }\\n\\n if (length !== 32) {\\n throw new Error('Cannot convert non 32 byte multihash CID to CIDv0')\\n }\\n\\n return new _CID(0, this.codec, this.multihash)\\n }\\n\\n /**\\n * Convert to a CID of version `1`.\\n *\\n * @returns {CID}\\n */\\n toV1 () {\\n return new _CID(1, this.codec, this.multihash)\\n }\\n\\n /**\\n * Encode the CID into a string.\\n *\\n * @param {string} [base=this.multibaseName] - Base encoding to use.\\n * @returns {string}\\n */\\n toBaseEncodedString (base = this.multibaseName) {\\n if (this.string && base === this.multibaseName) {\\n return this.string\\n }\\n let str = null\\n if (this.version === 0) {\\n if (base !== 'base58btc') {\\n throw new Error('not supported with CIDv0, to support different bases, please migrate the instance do CIDv1, you can do that through cid.toV1()')\\n }\\n str = mh.toB58String(this.multihash)\\n } else if (this.version === 1) {\\n str = multibase.encode(base, this.buffer).toString()\\n } else {\\n throw new Error('unsupported version')\\n }\\n if (base === this.multibaseName) {\\n // cache the string value\\n Object.defineProperty(this, 'string', { value: str })\\n }\\n return str\\n }\\n\\n /**\\n * CID(QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n)\\n *\\n * @returns {String}\\n */\\n [Symbol.for('nodejs.util.inspect.custom')] () {\\n return 'CID(' + this.toString() + ')'\\n }\\n\\n toString (base) {\\n return this.toBaseEncodedString(base)\\n }\\n\\n /**\\n * Serialize to a plain object.\\n *\\n * @returns {SerializedCID}\\n */\\n toJSON () {\\n return {\\n codec: this.codec,\\n version: this.version,\\n hash: this.multihash\\n }\\n }\\n\\n /**\\n * Compare equality with another CID.\\n *\\n * @param {CID} other\\n * @returns {bool}\\n */\\n equals (other) {\\n return this.codec === other.codec &&\\n this.version === other.version &&\\n this.multihash.equals(other.multihash)\\n }\\n\\n /**\\n * Test if the given input is a valid CID object.\\n * Throws if it is not.\\n *\\n * @param {any} other\\n * @returns {void}\\n */\\n static validateCID (other) {\\n const errorMsg = CIDUtil.checkCIDComponents(other)\\n if (errorMsg) {\\n throw new Error(errorMsg)\\n }\\n }\\n}\\n\\nconst _CID = withIs(CID, {\\n className: 'CID',\\n symbolName: '@ipld/js-cid/CID'\\n})\\n\\n_CID.codecs = codecs\\n\\nmodule.exports = _CID\\n\\n},{\\\"./cid-util\\\":6,\\\"buffer\\\":5,\\\"class-is\\\":8,\\\"multibase\\\":53,\\\"multicodec\\\":56,\\\"multicodec/src/base-table.json\\\":54,\\\"multihashes\\\":62}],8:[function(require,module,exports){\\n'use strict';\\n\\nfunction withIs(Class, { className, symbolName }) {\\n const symbol = Symbol.for(symbolName);\\n\\n const ClassIsWrapper = {\\n // The code below assigns the class wrapper to an object to trick\\n // JavaScript engines to show the name of the extended class when\\n // logging an instances.\\n // We are assigning an anonymous class (class wrapper) to the object\\n // with key `className` to keep the correct name.\\n // If this is not supported it falls back to logging `ClassIsWrapper`.\\n [className]: class extends Class {\\n constructor(...args) {\\n super(...args);\\n Object.defineProperty(this, symbol, { value: true });\\n }\\n\\n get [Symbol.toStringTag]() {\\n return className;\\n }\\n },\\n }[className];\\n\\n ClassIsWrapper[`is${className}`] = (obj) => !!(obj && obj[symbol]);\\n\\n return ClassIsWrapper;\\n}\\n\\nfunction withIsProto(Class, { className, symbolName, withoutNew }) {\\n const symbol = Symbol.for(symbolName);\\n\\n /* eslint-disable object-shorthand */\\n const ClassIsWrapper = {\\n [className]: function (...args) {\\n if (withoutNew && !(this instanceof ClassIsWrapper)) {\\n return new ClassIsWrapper(...args);\\n }\\n\\n const _this = Class.call(this, ...args) || this;\\n\\n if (_this && !_this[symbol]) {\\n Object.defineProperty(_this, symbol, { value: true });\\n }\\n\\n return _this;\\n },\\n }[className];\\n /* eslint-enable object-shorthand */\\n\\n ClassIsWrapper.prototype = Object.create(Class.prototype);\\n ClassIsWrapper.prototype.constructor = ClassIsWrapper;\\n\\n Object.defineProperty(ClassIsWrapper.prototype, Symbol.toStringTag, {\\n get() {\\n return className;\\n },\\n });\\n\\n ClassIsWrapper[`is${className}`] = (obj) => !!(obj && obj[symbol]);\\n\\n return ClassIsWrapper;\\n}\\n\\nmodule.exports = withIs;\\nmodule.exports.proto = withIsProto;\\n\\n},{}],9:[function(require,module,exports){\\nmodule.exports={\\n \\\"identity\\\": 0,\\n \\\"ip4\\\": 4,\\n \\\"tcp\\\": 6,\\n \\\"sha1\\\": 17,\\n \\\"sha2-256\\\": 18,\\n \\\"sha2-512\\\": 19,\\n \\\"sha3-512\\\": 20,\\n \\\"sha3-384\\\": 21,\\n \\\"sha3-256\\\": 22,\\n \\\"sha3-224\\\": 23,\\n \\\"shake-128\\\": 24,\\n \\\"shake-256\\\": 25,\\n \\\"keccak-224\\\": 26,\\n \\\"keccak-256\\\": 27,\\n \\\"keccak-384\\\": 28,\\n \\\"keccak-512\\\": 29,\\n \\\"dccp\\\": 33,\\n \\\"murmur3-128\\\": 34,\\n \\\"murmur3-32\\\": 35,\\n \\\"ip6\\\": 41,\\n \\\"ip6zone\\\": 42,\\n \\\"path\\\": 47,\\n \\\"multicodec\\\": 48,\\n \\\"multihash\\\": 49,\\n \\\"multiaddr\\\": 50,\\n \\\"multibase\\\": 51,\\n \\\"dns\\\": 53,\\n \\\"dns4\\\": 54,\\n \\\"dns6\\\": 55,\\n \\\"dnsaddr\\\": 56,\\n \\\"protobuf\\\": 80,\\n \\\"cbor\\\": 81,\\n \\\"raw\\\": 85,\\n \\\"dbl-sha2-256\\\": 86,\\n \\\"rlp\\\": 96,\\n \\\"bencode\\\": 99,\\n \\\"dag-pb\\\": 112,\\n \\\"dag-cbor\\\": 113,\\n \\\"libp2p-key\\\": 114,\\n \\\"git-raw\\\": 120,\\n \\\"torrent-info\\\": 123,\\n \\\"torrent-file\\\": 124,\\n \\\"leofcoin-block\\\": 129,\\n \\\"leofcoin-tx\\\": 130,\\n \\\"leofcoin-pr\\\": 131,\\n \\\"sctp\\\": 132,\\n \\\"eth-block\\\": 144,\\n \\\"eth-block-list\\\": 145,\\n \\\"eth-tx-trie\\\": 146,\\n \\\"eth-tx\\\": 147,\\n \\\"eth-tx-receipt-trie\\\": 148,\\n \\\"eth-tx-receipt\\\": 149,\\n \\\"eth-state-trie\\\": 150,\\n \\\"eth-account-snapshot\\\": 151,\\n \\\"eth-storage-trie\\\": 152,\\n \\\"bitcoin-block\\\": 176,\\n \\\"bitcoin-tx\\\": 177,\\n \\\"zcash-block\\\": 192,\\n \\\"zcash-tx\\\": 193,\\n \\\"stellar-block\\\": 208,\\n \\\"stellar-tx\\\": 209,\\n \\\"md4\\\": 212,\\n \\\"md5\\\": 213,\\n \\\"bmt\\\": 214,\\n \\\"decred-block\\\": 224,\\n \\\"decred-tx\\\": 225,\\n \\\"ipld-ns\\\": 226,\\n \\\"ipfs-ns\\\": 227,\\n \\\"swarm-ns\\\": 228,\\n \\\"ipns-ns\\\": 229,\\n \\\"zeronet\\\": 230,\\n \\\"ed25519-pub\\\": 237,\\n \\\"dash-block\\\": 240,\\n \\\"dash-tx\\\": 241,\\n \\\"swarm-manifest\\\": 250,\\n \\\"swarm-feed\\\": 251,\\n \\\"udp\\\": 273,\\n \\\"p2p-webrtc-star\\\": 275,\\n \\\"p2p-webrtc-direct\\\": 276,\\n \\\"p2p-stardust\\\": 277,\\n \\\"p2p-circuit\\\": 290,\\n \\\"dag-json\\\": 297,\\n \\\"udt\\\": 301,\\n \\\"utp\\\": 302,\\n \\\"unix\\\": 400,\\n \\\"p2p\\\": 421,\\n \\\"ipfs\\\": 421,\\n \\\"https\\\": 443,\\n \\\"onion\\\": 444,\\n \\\"onion3\\\": 445,\\n \\\"garlic64\\\": 446,\\n \\\"garlic32\\\": 447,\\n \\\"tls\\\": 448,\\n \\\"quic\\\": 460,\\n \\\"ws\\\": 477,\\n \\\"wss\\\": 478,\\n \\\"p2p-websocket-star\\\": 479,\\n \\\"http\\\": 480,\\n \\\"json\\\": 512,\\n \\\"messagepack\\\": 513,\\n \\\"x11\\\": 4352,\\n \\\"blake2b-8\\\": 45569,\\n \\\"blake2b-16\\\": 45570,\\n \\\"blake2b-24\\\": 45571,\\n \\\"blake2b-32\\\": 45572,\\n \\\"blake2b-40\\\": 45573,\\n \\\"blake2b-48\\\": 45574,\\n \\\"blake2b-56\\\": 45575,\\n \\\"blake2b-64\\\": 45576,\\n \\\"blake2b-72\\\": 45577,\\n \\\"blake2b-80\\\": 45578,\\n \\\"blake2b-88\\\": 45579,\\n \\\"blake2b-96\\\": 45580,\\n \\\"blake2b-104\\\": 45581,\\n \\\"blake2b-112\\\": 45582,\\n \\\"blake2b-120\\\": 45583,\\n \\\"blake2b-128\\\": 45584,\\n \\\"blake2b-136\\\": 45585,\\n \\\"blake2b-144\\\": 45586,\\n \\\"blake2b-152\\\": 45587,\\n \\\"blake2b-160\\\": 45588,\\n \\\"blake2b-168\\\": 45589,\\n \\\"blake2b-176\\\": 45590,\\n \\\"blake2b-184\\\": 45591,\\n \\\"blake2b-192\\\": 45592,\\n \\\"blake2b-200\\\": 45593,\\n \\\"blake2b-208\\\": 45594,\\n \\\"blake2b-216\\\": 45595,\\n \\\"blake2b-224\\\": 45596,\\n \\\"blake2b-232\\\": 45597,\\n \\\"blake2b-240\\\": 45598,\\n \\\"blake2b-248\\\": 45599,\\n \\\"blake2b-256\\\": 45600,\\n \\\"blake2b-264\\\": 45601,\\n \\\"blake2b-272\\\": 45602,\\n \\\"blake2b-280\\\": 45603,\\n \\\"blake2b-288\\\": 45604,\\n \\\"blake2b-296\\\": 45605,\\n \\\"blake2b-304\\\": 45606,\\n \\\"blake2b-312\\\": 45607,\\n \\\"blake2b-320\\\": 45608,\\n \\\"blake2b-328\\\": 45609,\\n \\\"blake2b-336\\\": 45610,\\n \\\"blake2b-344\\\": 45611,\\n \\\"blake2b-352\\\": 45612,\\n \\\"blake2b-360\\\": 45613,\\n \\\"blake2b-368\\\": 45614,\\n \\\"blake2b-376\\\": 45615,\\n \\\"blake2b-384\\\": 45616,\\n \\\"blake2b-392\\\": 45617,\\n \\\"blake2b-400\\\": 45618,\\n \\\"blake2b-408\\\": 45619,\\n \\\"blake2b-416\\\": 45620,\\n \\\"blake2b-424\\\": 45621,\\n \\\"blake2b-432\\\": 45622,\\n \\\"blake2b-440\\\": 45623,\\n \\\"blake2b-448\\\": 45624,\\n \\\"blake2b-456\\\": 45625,\\n \\\"blake2b-464\\\": 45626,\\n \\\"blake2b-472\\\": 45627,\\n \\\"blake2b-480\\\": 45628,\\n \\\"blake2b-488\\\": 45629,\\n \\\"blake2b-496\\\": 45630,\\n \\\"blake2b-504\\\": 45631,\\n \\\"blake2b-512\\\": 45632,\\n \\\"blake2s-8\\\": 45633,\\n \\\"blake2s-16\\\": 45634,\\n \\\"blake2s-24\\\": 45635,\\n \\\"blake2s-32\\\": 45636,\\n \\\"blake2s-40\\\": 45637,\\n \\\"blake2s-48\\\": 45638,\\n \\\"blake2s-56\\\": 45639,\\n \\\"blake2s-64\\\": 45640,\\n \\\"blake2s-72\\\": 45641,\\n \\\"blake2s-80\\\": 45642,\\n \\\"blake2s-88\\\": 45643,\\n \\\"blake2s-96\\\": 45644,\\n \\\"blake2s-104\\\": 45645,\\n \\\"blake2s-112\\\": 45646,\\n \\\"blake2s-120\\\": 45647,\\n \\\"blake2s-128\\\": 45648,\\n \\\"blake2s-136\\\": 45649,\\n \\\"blake2s-144\\\": 45650,\\n \\\"blake2s-152\\\": 45651,\\n \\\"blake2s-160\\\": 45652,\\n \\\"blake2s-168\\\": 45653,\\n \\\"blake2s-176\\\": 45654,\\n \\\"blake2s-184\\\": 45655,\\n \\\"blake2s-192\\\": 45656,\\n \\\"blake2s-200\\\": 45657,\\n \\\"blake2s-208\\\": 45658,\\n \\\"blake2s-216\\\": 45659,\\n \\\"blake2s-224\\\": 45660,\\n \\\"blake2s-232\\\": 45661,\\n \\\"blake2s-240\\\": 45662,\\n \\\"blake2s-248\\\": 45663,\\n \\\"blake2s-256\\\": 45664,\\n \\\"skein256-8\\\": 45825,\\n \\\"skein256-16\\\": 45826,\\n \\\"skein256-24\\\": 45827,\\n \\\"skein256-32\\\": 45828,\\n \\\"skein256-40\\\": 45829,\\n \\\"skein256-48\\\": 45830,\\n \\\"skein256-56\\\": 45831,\\n \\\"skein256-64\\\": 45832,\\n \\\"skein256-72\\\": 45833,\\n \\\"skein256-80\\\": 45834,\\n \\\"skein256-88\\\": 45835,\\n \\\"skein256-96\\\": 45836,\\n \\\"skein256-104\\\": 45837,\\n \\\"skein256-112\\\": 45838,\\n \\\"skein256-120\\\": 45839,\\n \\\"skein256-128\\\": 45840,\\n \\\"skein256-136\\\": 45841,\\n \\\"skein256-144\\\": 45842,\\n \\\"skein256-152\\\": 45843,\\n \\\"skein256-160\\\": 45844,\\n \\\"skein256-168\\\": 45845,\\n \\\"skein256-176\\\": 45846,\\n \\\"skein256-184\\\": 45847,\\n \\\"skein256-192\\\": 45848,\\n \\\"skein256-200\\\": 45849,\\n \\\"skein256-208\\\": 45850,\\n \\\"skein256-216\\\": 45851,\\n \\\"skein256-224\\\": 45852,\\n \\\"skein256-232\\\": 45853,\\n \\\"skein256-240\\\": 45854,\\n \\\"skein256-248\\\": 45855,\\n \\\"skein256-256\\\": 45856,\\n \\\"skein512-8\\\": 45857,\\n \\\"skein512-16\\\": 45858,\\n \\\"skein512-24\\\": 45859,\\n \\\"skein512-32\\\": 45860,\\n \\\"skein512-40\\\": 45861,\\n \\\"skein512-48\\\": 45862,\\n \\\"skein512-56\\\": 45863,\\n \\\"skein512-64\\\": 45864,\\n \\\"skein512-72\\\": 45865,\\n \\\"skein512-80\\\": 45866,\\n \\\"skein512-88\\\": 45867,\\n \\\"skein512-96\\\": 45868,\\n \\\"skein512-104\\\": 45869,\\n \\\"skein512-112\\\": 45870,\\n \\\"skein512-120\\\": 45871,\\n \\\"skein512-128\\\": 45872,\\n \\\"skein512-136\\\": 45873,\\n \\\"skein512-144\\\": 45874,\\n \\\"skein512-152\\\": 45875,\\n \\\"skein512-160\\\": 45876,\\n \\\"skein512-168\\\": 45877,\\n \\\"skein512-176\\\": 45878,\\n \\\"skein512-184\\\": 45879,\\n \\\"skein512-192\\\": 45880,\\n \\\"skein512-200\\\": 45881,\\n \\\"skein512-208\\\": 45882,\\n \\\"skein512-216\\\": 45883,\\n \\\"skein512-224\\\": 45884,\\n \\\"skein512-232\\\": 45885,\\n \\\"skein512-240\\\": 45886,\\n \\\"skein512-248\\\": 45887,\\n \\\"skein512-256\\\": 45888,\\n \\\"skein512-264\\\": 45889,\\n \\\"skein512-272\\\": 45890,\\n \\\"skein512-280\\\": 45891,\\n \\\"skein512-288\\\": 45892,\\n \\\"skein512-296\\\": 45893,\\n \\\"skein512-304\\\": 45894,\\n \\\"skein512-312\\\": 45895,\\n \\\"skein512-320\\\": 45896,\\n \\\"skein512-328\\\": 45897,\\n \\\"skein512-336\\\": 45898,\\n \\\"skein512-344\\\": 45899,\\n \\\"skein512-352\\\": 45900,\\n \\\"skein512-360\\\": 45901,\\n \\\"skein512-368\\\": 45902,\\n \\\"skein512-376\\\": 45903,\\n \\\"skein512-384\\\": 45904,\\n \\\"skein512-392\\\": 45905,\\n \\\"skein512-400\\\": 45906,\\n \\\"skein512-408\\\": 45907,\\n \\\"skein512-416\\\": 45908,\\n \\\"skein512-424\\\": 45909,\\n \\\"skein512-432\\\": 45910,\\n \\\"skein512-440\\\": 45911,\\n \\\"skein512-448\\\": 45912,\\n \\\"skein512-456\\\": 45913,\\n \\\"skein512-464\\\": 45914,\\n \\\"skein512-472\\\": 45915,\\n \\\"skein512-480\\\": 45916,\\n \\\"skein512-488\\\": 45917,\\n \\\"skein512-496\\\": 45918,\\n \\\"skein512-504\\\": 45919,\\n \\\"skein512-512\\\": 45920,\\n \\\"skein1024-8\\\": 45921,\\n \\\"skein1024-16\\\": 45922,\\n \\\"skein1024-24\\\": 45923,\\n \\\"skein1024-32\\\": 45924,\\n \\\"skein1024-40\\\": 45925,\\n \\\"skein1024-48\\\": 45926,\\n \\\"skein1024-56\\\": 45927,\\n \\\"skein1024-64\\\": 45928,\\n \\\"skein1024-72\\\": 45929,\\n \\\"skein1024-80\\\": 45930,\\n \\\"skein1024-88\\\": 45931,\\n \\\"skein1024-96\\\": 45932,\\n \\\"skein1024-104\\\": 45933,\\n \\\"skein1024-112\\\": 45934,\\n \\\"skein1024-120\\\": 45935,\\n \\\"skein1024-128\\\": 45936,\\n \\\"skein1024-136\\\": 45937,\\n \\\"skein1024-144\\\": 45938,\\n \\\"skein1024-152\\\": 45939,\\n \\\"skein1024-160\\\": 45940,\\n \\\"skein1024-168\\\": 45941,\\n \\\"skein1024-176\\\": 45942,\\n \\\"skein1024-184\\\": 45943,\\n \\\"skein1024-192\\\": 45944,\\n \\\"skein1024-200\\\": 45945,\\n \\\"skein1024-208\\\": 45946,\\n \\\"skein1024-216\\\": 45947,\\n \\\"skein1024-224\\\": 45948,\\n \\\"skein1024-232\\\": 45949,\\n \\\"skein1024-240\\\": 45950,\\n \\\"skein1024-248\\\": 45951,\\n \\\"skein1024-256\\\": 45952,\\n \\\"skein1024-264\\\": 45953,\\n \\\"skein1024-272\\\": 45954,\\n \\\"skein1024-280\\\": 45955,\\n \\\"skein1024-288\\\": 45956,\\n \\\"skein1024-296\\\": 45957,\\n \\\"skein1024-304\\\": 45958,\\n \\\"skein1024-312\\\": 45959,\\n \\\"skein1024-320\\\": 45960,\\n \\\"skein1024-328\\\": 45961,\\n \\\"skein1024-336\\\": 45962,\\n \\\"skein1024-344\\\": 45963,\\n \\\"skein1024-352\\\": 45964,\\n \\\"skein1024-360\\\": 45965,\\n \\\"skein1024-368\\\": 45966,\\n \\\"skein1024-376\\\": 45967,\\n \\\"skein1024-384\\\": 45968,\\n \\\"skein1024-392\\\": 45969,\\n \\\"skein1024-400\\\": 45970,\\n \\\"skein1024-408\\\": 45971,\\n \\\"skein1024-416\\\": 45972,\\n \\\"skein1024-424\\\": 45973,\\n \\\"skein1024-432\\\": 45974,\\n \\\"skein1024-440\\\": 45975,\\n \\\"skein1024-448\\\": 45976,\\n \\\"skein1024-456\\\": 45977,\\n \\\"skein1024-464\\\": 45978,\\n \\\"skein1024-472\\\": 45979,\\n \\\"skein1024-480\\\": 45980,\\n \\\"skein1024-488\\\": 45981,\\n \\\"skein1024-496\\\": 45982,\\n \\\"skein1024-504\\\": 45983,\\n \\\"skein1024-512\\\": 45984,\\n \\\"skein1024-520\\\": 45985,\\n \\\"skein1024-528\\\": 45986,\\n \\\"skein1024-536\\\": 45987,\\n \\\"skein1024-544\\\": 45988,\\n \\\"skein1024-552\\\": 45989,\\n \\\"skein1024-560\\\": 45990,\\n \\\"skein1024-568\\\": 45991,\\n \\\"skein1024-576\\\": 45992,\\n \\\"skein1024-584\\\": 45993,\\n \\\"skein1024-592\\\": 45994,\\n \\\"skein1024-600\\\": 45995,\\n \\\"skein1024-608\\\": 45996,\\n \\\"skein1024-616\\\": 45997,\\n \\\"skein1024-624\\\": 45998,\\n \\\"skein1024-632\\\": 45999,\\n \\\"skein1024-640\\\": 46000,\\n \\\"skein1024-648\\\": 46001,\\n \\\"skein1024-656\\\": 46002,\\n \\\"skein1024-664\\\": 46003,\\n \\\"skein1024-672\\\": 46004,\\n \\\"skein1024-680\\\": 46005,\\n \\\"skein1024-688\\\": 46006,\\n \\\"skein1024-696\\\": 46007,\\n \\\"skein1024-704\\\": 46008,\\n \\\"skein1024-712\\\": 46009,\\n \\\"skein1024-720\\\": 46010,\\n \\\"skein1024-728\\\": 46011,\\n \\\"skein1024-736\\\": 46012,\\n \\\"skein1024-744\\\": 46013,\\n \\\"skein1024-752\\\": 46014,\\n \\\"skein1024-760\\\": 46015,\\n \\\"skein1024-768\\\": 46016,\\n \\\"skein1024-776\\\": 46017,\\n \\\"skein1024-784\\\": 46018,\\n \\\"skein1024-792\\\": 46019,\\n \\\"skein1024-800\\\": 46020,\\n \\\"skein1024-808\\\": 46021,\\n \\\"skein1024-816\\\": 46022,\\n \\\"skein1024-824\\\": 46023,\\n \\\"skein1024-832\\\": 46024,\\n \\\"skein1024-840\\\": 46025,\\n \\\"skein1024-848\\\": 46026,\\n \\\"skein1024-856\\\": 46027,\\n \\\"skein1024-864\\\": 46028,\\n \\\"skein1024-872\\\": 46029,\\n \\\"skein1024-880\\\": 46030,\\n \\\"skein1024-888\\\": 46031,\\n \\\"skein1024-896\\\": 46032,\\n \\\"skein1024-904\\\": 46033,\\n \\\"skein1024-912\\\": 46034,\\n \\\"skein1024-920\\\": 46035,\\n \\\"skein1024-928\\\": 46036,\\n \\\"skein1024-936\\\": 46037,\\n \\\"skein1024-944\\\": 46038,\\n \\\"skein1024-952\\\": 46039,\\n \\\"skein1024-960\\\": 46040,\\n \\\"skein1024-968\\\": 46041,\\n \\\"skein1024-976\\\": 46042,\\n \\\"skein1024-984\\\": 46043,\\n \\\"skein1024-992\\\": 46044,\\n \\\"skein1024-1000\\\": 46045,\\n \\\"skein1024-1008\\\": 46046,\\n \\\"skein1024-1016\\\": 46047,\\n \\\"skein1024-1024\\\": 46048,\\n \\\"holochain-adr-v0\\\": 8417572,\\n \\\"holochain-adr-v1\\\": 8483108,\\n \\\"holochain-key-v0\\\": 9728292,\\n \\\"holochain-key-v1\\\": 9793828,\\n \\\"holochain-sig-v0\\\": 10645796,\\n \\\"holochain-sig-v1\\\": 10711332\\n}\\n},{}],10:[function(require,module,exports){\\n'use strict'\\n\\nconst table = require('./base-table.json')\\n\\n// map for codecConstant -> code\\nconst constants = {}\\n\\nfor (const [name, code] of Object.entries(table)) {\\n constants[name.toUpperCase().replace(/-/g, '_')] = code\\n}\\n\\nmodule.exports = Object.freeze(constants)\\n\\n},{\\\"./base-table.json\\\":9}],11:[function(require,module,exports){\\n/**\\n * Implementation of the multicodec specification.\\n *\\n * @module multicodec\\n * @example\\n * const multicodec = require('multicodec')\\n *\\n * const prefixedProtobuf = multicodec.addPrefix('protobuf', protobufBuffer)\\n * // prefixedProtobuf 0x50...\\n *\\n */\\n'use strict'\\n\\nconst { Buffer } = require('buffer')\\nconst varint = require('varint')\\nconst intTable = require('./int-table')\\nconst codecNameToCodeVarint = require('./varint-table')\\nconst util = require('./util')\\n\\nexports = module.exports\\n\\n/**\\n * Prefix a buffer with a multicodec-packed.\\n *\\n * @param {string|number} multicodecStrOrCode\\n * @param {Buffer} data\\n * @returns {Buffer}\\n */\\nexports.addPrefix = (multicodecStrOrCode, data) => {\\n let prefix\\n\\n if (Buffer.isBuffer(multicodecStrOrCode)) {\\n prefix = util.varintBufferEncode(multicodecStrOrCode)\\n } else {\\n if (codecNameToCodeVarint[multicodecStrOrCode]) {\\n prefix = codecNameToCodeVarint[multicodecStrOrCode]\\n } else {\\n throw new Error('multicodec not recognized')\\n }\\n }\\n return Buffer.concat([prefix, data])\\n}\\n\\n/**\\n * Decapsulate the multicodec-packed prefix from the data.\\n *\\n * @param {Buffer} data\\n * @returns {Buffer}\\n */\\nexports.rmPrefix = (data) => {\\n varint.decode(data)\\n return data.slice(varint.decode.bytes)\\n}\\n\\n/**\\n * Get the codec of the prefixed data.\\n * @param {Buffer} prefixedData\\n * @returns {string}\\n */\\nexports.getCodec = (prefixedData) => {\\n const code = varint.decode(prefixedData)\\n const codecName = intTable.get(code)\\n if (codecName === undefined) {\\n throw new Error(`Code ${code} not found`)\\n }\\n return codecName\\n}\\n\\n/**\\n * Get the name of the codec.\\n * @param {number} codec\\n * @returns {string}\\n */\\nexports.getName = (codec) => {\\n return intTable.get(codec)\\n}\\n\\n/**\\n * Get the code of the codec\\n * @param {string} name\\n * @returns {number}\\n */\\nexports.getNumber = (name) => {\\n const code = codecNameToCodeVarint[name]\\n if (code === undefined) {\\n throw new Error('Codec `' + name + '` not found')\\n }\\n return util.varintBufferDecode(code)[0]\\n}\\n\\n/**\\n * Get the code of the prefixed data.\\n * @param {Buffer} prefixedData\\n * @returns {number}\\n */\\nexports.getCode = (prefixedData) => {\\n return varint.decode(prefixedData)\\n}\\n\\n/**\\n * Get the code as varint of a codec name.\\n * @param {string} codecName\\n * @returns {Buffer}\\n */\\nexports.getCodeVarint = (codecName) => {\\n const code = codecNameToCodeVarint[codecName]\\n if (code === undefined) {\\n throw new Error('Codec `' + codecName + '` not found')\\n }\\n return code\\n}\\n\\n/**\\n * Get the varint of a code.\\n * @param {Number} code\\n * @returns {Array.\u003Cnumber>}\\n */\\nexports.getVarint = (code) => {\\n return varint.encode(code)\\n}\\n\\n// Make the constants top-level constants\\nconst constants = require('./constants')\\nObject.assign(exports, constants)\\n\\n// Human friendly names for printing, e.g. in error messages\\nexports.print = require('./print')\\n\\n},{\\\"./constants\\\":10,\\\"./int-table\\\":12,\\\"./print\\\":13,\\\"./util\\\":14,\\\"./varint-table\\\":15,\\\"buffer\\\":5,\\\"varint\\\":67}],12:[function(require,module,exports){\\n'use strict'\\nconst baseTable = require('./base-table.json')\\n\\n// map for hexString -> codecName\\nconst nameTable = new Map()\\n\\nfor (const encodingName in baseTable) {\\n const code = baseTable[encodingName]\\n nameTable.set(code, encodingName)\\n}\\n\\nmodule.exports = Object.freeze(nameTable)\\n\\n},{\\\"./base-table.json\\\":9}],13:[function(require,module,exports){\\n'use strict'\\n\\nconst table = require('./base-table.json')\\n\\n// map for code -> print friendly name\\nconst tableByCode = {}\\n\\nfor (const [name, code] of Object.entries(table)) {\\n if (tableByCode[code] === undefined) tableByCode[code] = name\\n}\\n\\nmodule.exports = Object.freeze(tableByCode)\\n\\n},{\\\"./base-table.json\\\":9}],14:[function(require,module,exports){\\n'use strict'\\nconst varint = require('varint')\\nconst { Buffer } = require('buffer')\\n\\nmodule.exports = {\\n numberToBuffer,\\n bufferToNumber,\\n varintBufferEncode,\\n varintBufferDecode,\\n varintEncode\\n}\\n\\nfunction bufferToNumber (buf) {\\n return parseInt(buf.toString('hex'), 16)\\n}\\n\\nfunction numberToBuffer (num) {\\n let hexString = num.toString(16)\\n if (hexString.length % 2 === 1) {\\n hexString = '0' + hexString\\n }\\n return Buffer.from(hexString, 'hex')\\n}\\n\\nfunction varintBufferEncode (input) {\\n return Buffer.from(varint.encode(bufferToNumber(input)))\\n}\\n\\nfunction varintBufferDecode (input) {\\n return numberToBuffer(varint.decode(input))\\n}\\n\\nfunction varintEncode (num) {\\n return Buffer.from(varint.encode(num))\\n}\\n\\n},{\\\"buffer\\\":5,\\\"varint\\\":67}],15:[function(require,module,exports){\\n'use strict'\\n\\nconst baseTable = require('./base-table.json')\\nconst varintEncode = require('./util').varintEncode\\n\\n// map for codecName -> codeVarintBuffer\\nconst varintTable = {}\\n\\nfor (const encodingName in baseTable) {\\n const code = baseTable[encodingName]\\n varintTable[encodingName] = varintEncode(code)\\n}\\n\\nmodule.exports = Object.freeze(varintTable)\\n\\n},{\\\"./base-table.json\\\":9,\\\"./util\\\":14}],16:[function(require,module,exports){\\narguments[4][6][0].apply(exports,arguments)\\n},{\\\"buffer\\\":5,\\\"dup\\\":6,\\\"multihashes\\\":62}],17:[function(require,module,exports){\\narguments[4][7][0].apply(exports,arguments)\\n},{\\\"./cid-util\\\":16,\\\"buffer\\\":5,\\\"class-is\\\":8,\\\"dup\\\":7,\\\"multibase\\\":23,\\\"multicodec\\\":11,\\\"multicodec/src/base-table.json\\\":9,\\\"multihashes\\\":62}],18:[function(require,module,exports){\\n'use strict'\\n\\nclass Base {\\n constructor (name, code, implementation, alphabet) {\\n this.name = name\\n this.code = code\\n this.alphabet = alphabet\\n if (implementation && alphabet) {\\n this.engine = implementation(alphabet)\\n }\\n }\\n\\n encode (stringOrBuffer) {\\n return this.engine.encode(stringOrBuffer)\\n }\\n\\n decode (stringOrBuffer) {\\n return this.engine.decode(stringOrBuffer)\\n }\\n\\n isImplemented () {\\n return this.engine\\n }\\n}\\n\\nmodule.exports = Base\\n\\n},{}],19:[function(require,module,exports){\\n'use strict'\\nconst { Buffer } = require('buffer')\\n\\nmodule.exports = function base16 (alphabet) {\\n return {\\n encode (input) {\\n if (typeof input === 'string') {\\n return Buffer.from(input).toString('hex')\\n }\\n return input.toString('hex')\\n },\\n decode (input) {\\n for (const char of input) {\\n if (alphabet.indexOf(char) \u003C 0) {\\n throw new Error('invalid base16 character')\\n }\\n }\\n return Buffer.from(input, 'hex')\\n }\\n }\\n}\\n\\n},{\\\"buffer\\\":5}],20:[function(require,module,exports){\\n'use strict'\\n\\nfunction decode (input, alphabet) {\\n input = input.replace(new RegExp('=', 'g'), '')\\n const length = input.length\\n\\n let bits = 0\\n let value = 0\\n\\n let index = 0\\n const output = new Uint8Array((length * 5 / 8) | 0)\\n\\n for (let i = 0; i \u003C length; i++) {\\n value = (value \u003C\u003C 5) | alphabet.indexOf(input[i])\\n bits += 5\\n\\n if (bits >= 8) {\\n output[index++] = (value >>> (bits - 8)) & 255\\n bits -= 8\\n }\\n }\\n\\n return output.buffer\\n}\\n\\nfunction encode (buffer, alphabet) {\\n const length = buffer.byteLength\\n const view = new Uint8Array(buffer)\\n const padding = alphabet.indexOf('=') === alphabet.length - 1\\n\\n if (padding) {\\n alphabet = alphabet.substring(0, alphabet.length - 1)\\n }\\n\\n let bits = 0\\n let value = 0\\n let output = ''\\n\\n for (let i = 0; i \u003C length; i++) {\\n value = (value \u003C\u003C 8) | view[i]\\n bits += 8\\n\\n while (bits >= 5) {\\n output += alphabet[(value >>> (bits - 5)) & 31]\\n bits -= 5\\n }\\n }\\n\\n if (bits > 0) {\\n output += alphabet[(value \u003C\u003C (5 - bits)) & 31]\\n }\\n\\n if (padding) {\\n while ((output.length % 8) !== 0) {\\n output += '='\\n }\\n }\\n\\n return output\\n}\\n\\nmodule.exports = function base32 (alphabet) {\\n return {\\n encode (input) {\\n if (typeof input === 'string') {\\n return encode(Uint8Array.from(input), alphabet)\\n }\\n\\n return encode(input, alphabet)\\n },\\n decode (input) {\\n for (const char of input) {\\n if (alphabet.indexOf(char) \u003C 0) {\\n throw new Error('invalid base32 character')\\n }\\n }\\n\\n return decode(input, alphabet)\\n }\\n }\\n}\\n\\n},{}],21:[function(require,module,exports){\\n'use strict'\\nconst { Buffer } = require('buffer')\\n\\nmodule.exports = function base64 (alphabet) {\\n // The alphabet is only used to know:\\n // 1. If padding is enabled (must contain '=')\\n // 2. If the output must be url-safe (must contain '-' and '_')\\n // 3. If the input of the output function is valid\\n // The alphabets from RFC 4648 are always used.\\n const padding = alphabet.indexOf('=') > -1\\n const url = alphabet.indexOf('-') > -1 && alphabet.indexOf('_') > -1\\n\\n return {\\n encode (input) {\\n let output = ''\\n\\n if (typeof input === 'string') {\\n output = Buffer.from(input).toString('base64')\\n } else {\\n output = input.toString('base64')\\n }\\n\\n if (url) {\\n output = output.replace(/\\\\+/g, '-').replace(/\\\\//g, '_')\\n }\\n\\n const pad = output.indexOf('=')\\n if (pad > 0 && !padding) {\\n output = output.substring(0, pad)\\n }\\n\\n return output\\n },\\n decode (input) {\\n for (const char of input) {\\n if (alphabet.indexOf(char) \u003C 0) {\\n throw new Error('invalid base64 character')\\n }\\n }\\n\\n return Buffer.from(input, 'base64')\\n }\\n }\\n}\\n\\n},{\\\"buffer\\\":5}],22:[function(require,module,exports){\\n'use strict'\\n\\nconst Base = require('./base.js')\\nconst baseX = require('base-x')\\nconst base16 = require('./base16')\\nconst base32 = require('./base32')\\nconst base64 = require('./base64')\\n\\n// name, code, implementation, alphabet\\nconst constants = [\\n ['base1', '1', '', '1'],\\n ['base2', '0', baseX, '01'],\\n ['base8', '7', baseX, '01234567'],\\n ['base10', '9', baseX, '0123456789'],\\n ['base16', 'f', base16, '0123456789abcdef'],\\n ['base32', 'b', base32, 'abcdefghijklmnopqrstuvwxyz234567'],\\n ['base32pad', 'c', base32, 'abcdefghijklmnopqrstuvwxyz234567='],\\n ['base32hex', 'v', base32, '0123456789abcdefghijklmnopqrstuv'],\\n ['base32hexpad', 't', base32, '0123456789abcdefghijklmnopqrstuv='],\\n ['base32z', 'h', base32, 'ybndrfg8ejkmcpqxot1uwisza345h769'],\\n ['base58flickr', 'Z', baseX, '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'],\\n ['base58btc', 'z', baseX, '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'],\\n ['base64', 'm', base64, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'],\\n ['base64pad', 'M', base64, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='],\\n ['base64url', 'u', base64, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_'],\\n ['base64urlpad', 'U', base64, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=']\\n]\\n\\nconst names = constants.reduce((prev, tupple) => {\\n prev[tupple[0]] = new Base(tupple[0], tupple[1], tupple[2], tupple[3])\\n return prev\\n}, {})\\n\\nconst codes = constants.reduce((prev, tupple) => {\\n prev[tupple[1]] = names[tupple[0]]\\n return prev\\n}, {})\\n\\nmodule.exports = {\\n names: names,\\n codes: codes\\n}\\n\\n},{\\\"./base.js\\\":18,\\\"./base16\\\":19,\\\"./base32\\\":20,\\\"./base64\\\":21,\\\"base-x\\\":3}],23:[function(require,module,exports){\\n/**\\n * Implementation of the [multibase](https://github.com/multiformats/multibase) specification.\\n * @module Multibase\\n */\\n'use strict'\\n\\nconst { Buffer } = require('buffer')\\nconst constants = require('./constants')\\n\\nexports = module.exports = multibase\\nexports.encode = encode\\nexports.decode = decode\\nexports.isEncoded = isEncoded\\nexports.names = Object.freeze(Object.keys(constants.names))\\nexports.codes = Object.freeze(Object.keys(constants.codes))\\n\\nconst errNotSupported = new Error('Unsupported encoding')\\n\\n/**\\n * Create a new buffer with the multibase varint+code.\\n *\\n * @param {string|number} nameOrCode - The multibase name or code number.\\n * @param {Buffer} buf - The data to be prefixed with multibase.\\n * @memberof Multibase\\n * @returns {Buffer}\\n */\\nfunction multibase (nameOrCode, buf) {\\n if (!buf) {\\n throw new Error('requires an encoded buffer')\\n }\\n const base = getBase(nameOrCode)\\n const codeBuf = Buffer.from(base.code)\\n\\n const name = base.name\\n validEncode(name, buf)\\n return Buffer.concat([codeBuf, buf])\\n}\\n\\n/**\\n * Encode data with the specified base and add the multibase prefix.\\n *\\n * @param {string|number} nameOrCode - The multibase name or code number.\\n * @param {Buffer} buf - The data to be encoded.\\n * @returns {Buffer}\\n * @memberof Multibase\\n */\\nfunction encode (nameOrCode, buf) {\\n const base = getBase(nameOrCode)\\n const name = base.name\\n\\n return multibase(name, Buffer.from(base.encode(buf)))\\n}\\n\\n/**\\n * Takes a buffer or string encoded with multibase header, decodes it and\\n * returns the decoded buffer\\n *\\n * @param {Buffer|string} bufOrString\\n * @returns {Buffer}\\n * @memberof Multibase\\n *\\n */\\nfunction decode (bufOrString) {\\n if (Buffer.isBuffer(bufOrString)) {\\n bufOrString = bufOrString.toString()\\n }\\n\\n const code = bufOrString.substring(0, 1)\\n bufOrString = bufOrString.substring(1, bufOrString.length)\\n\\n if (typeof bufOrString === 'string') {\\n bufOrString = Buffer.from(bufOrString)\\n }\\n\\n const base = getBase(code)\\n return Buffer.from(base.decode(bufOrString.toString()))\\n}\\n\\n/**\\n * Is the given data multibase encoded?\\n *\\n * @param {Buffer|string} bufOrString\\n * @returns {boolean}\\n * @memberof Multibase\\n */\\nfunction isEncoded (bufOrString) {\\n if (Buffer.isBuffer(bufOrString)) {\\n bufOrString = bufOrString.toString()\\n }\\n\\n // Ensure bufOrString is a string\\n if (Object.prototype.toString.call(bufOrString) !== '[object String]') {\\n return false\\n }\\n\\n const code = bufOrString.substring(0, 1)\\n try {\\n const base = getBase(code)\\n return base.name\\n } catch (err) {\\n return false\\n }\\n}\\n\\n/**\\n * @param {string} name\\n * @param {Buffer} buf\\n * @private\\n * @returns {undefined}\\n */\\nfunction validEncode (name, buf) {\\n const base = getBase(name)\\n base.decode(buf.toString())\\n}\\n\\nfunction getBase (nameOrCode) {\\n let base\\n\\n if (constants.names[nameOrCode]) {\\n base = constants.names[nameOrCode]\\n } else if (constants.codes[nameOrCode]) {\\n base = constants.codes[nameOrCode]\\n } else {\\n throw errNotSupported\\n }\\n\\n if (!base.isImplemented()) {\\n throw new Error('Base ' + nameOrCode + ' is not implemented yet')\\n }\\n\\n return base\\n}\\n\\n},{\\\"./constants\\\":22,\\\"buffer\\\":5}],24:[function(require,module,exports){\\narguments[4][9][0].apply(exports,arguments)\\n},{\\\"dup\\\":9}],25:[function(require,module,exports){\\narguments[4][10][0].apply(exports,arguments)\\n},{\\\"./base-table.json\\\":24,\\\"dup\\\":10}],26:[function(require,module,exports){\\n(function (Buffer){\\n/**\\n * Implementation of the multicodec specification.\\n *\\n * @module multicodec\\n * @example\\n * const multicodec = require('multicodec')\\n *\\n * const prefixedProtobuf = multicodec.addPrefix('protobuf', protobufBuffer)\\n * // prefixedProtobuf 0x50...\\n *\\n */\\n'use strict'\\n\\nconst varint = require('varint')\\nconst intTable = require('./int-table')\\nconst codecNameToCodeVarint = require('./varint-table')\\nconst util = require('./util')\\n\\nexports = module.exports\\n\\n/**\\n * Prefix a buffer with a multicodec-packed.\\n *\\n * @param {string|number} multicodecStrOrCode\\n * @param {Buffer} data\\n * @returns {Buffer}\\n */\\nexports.addPrefix = (multicodecStrOrCode, data) => {\\n let prefix\\n\\n if (Buffer.isBuffer(multicodecStrOrCode)) {\\n prefix = util.varintBufferEncode(multicodecStrOrCode)\\n } else {\\n if (codecNameToCodeVarint[multicodecStrOrCode]) {\\n prefix = codecNameToCodeVarint[multicodecStrOrCode]\\n } else {\\n throw new Error('multicodec not recognized')\\n }\\n }\\n return Buffer.concat([prefix, data])\\n}\\n\\n/**\\n * Decapsulate the multicodec-packed prefix from the data.\\n *\\n * @param {Buffer} data\\n * @returns {Buffer}\\n */\\nexports.rmPrefix = (data) => {\\n varint.decode(data)\\n return data.slice(varint.decode.bytes)\\n}\\n\\n/**\\n * Get the codec of the prefixed data.\\n * @param {Buffer} prefixedData\\n * @returns {string}\\n */\\nexports.getCodec = (prefixedData) => {\\n const code = varint.decode(prefixedData)\\n const codecName = intTable.get(code)\\n if (codecName === undefined) {\\n throw new Error(`Code ${code} not found`)\\n }\\n return codecName\\n}\\n\\n/**\\n * Get the name of the codec.\\n * @param {number} codec\\n * @returns {string}\\n */\\nexports.getName = (codec) => {\\n return intTable.get(codec)\\n}\\n\\n/**\\n * Get the code of the codec\\n * @param {string} name\\n * @returns {number}\\n */\\nexports.getNumber = (name) => {\\n const code = codecNameToCodeVarint[name]\\n if (code === undefined) {\\n throw new Error('Codec `' + name + '` not found')\\n }\\n return util.varintBufferDecode(code)[0]\\n}\\n\\n/**\\n * Get the code of the prefixed data.\\n * @param {Buffer} prefixedData\\n * @returns {number}\\n */\\nexports.getCode = (prefixedData) => {\\n return varint.decode(prefixedData)\\n}\\n\\n/**\\n * Get the code as varint of a codec name.\\n * @param {string} codecName\\n * @returns {Buffer}\\n */\\nexports.getCodeVarint = (codecName) => {\\n const code = codecNameToCodeVarint[codecName]\\n if (code === undefined) {\\n throw new Error('Codec `' + codecName + '` not found')\\n }\\n return code\\n}\\n\\n/**\\n * Get the varint of a code.\\n * @param {Number} code\\n * @returns {Array.\u003Cnumber>}\\n */\\nexports.getVarint = (code) => {\\n return varint.encode(code)\\n}\\n\\n// Make the constants top-level constants\\nconst constants = require('./constants')\\nObject.assign(exports, constants)\\n\\n// Human friendly names for printing, e.g. in error messages\\nexports.print = require('./print')\\n\\n}).call(this,require(\\\"buffer\\\").Buffer)\\n},{\\\"./constants\\\":25,\\\"./int-table\\\":27,\\\"./print\\\":28,\\\"./util\\\":29,\\\"./varint-table\\\":30,\\\"buffer\\\":5,\\\"varint\\\":67}],27:[function(require,module,exports){\\narguments[4][12][0].apply(exports,arguments)\\n},{\\\"./base-table.json\\\":24,\\\"dup\\\":12}],28:[function(require,module,exports){\\narguments[4][13][0].apply(exports,arguments)\\n},{\\\"./base-table.json\\\":24,\\\"dup\\\":13}],29:[function(require,module,exports){\\n(function (Buffer){\\n'use strict'\\nconst varint = require('varint')\\n\\nmodule.exports = {\\n numberToBuffer,\\n bufferToNumber,\\n varintBufferEncode,\\n varintBufferDecode,\\n varintEncode\\n}\\n\\nfunction bufferToNumber (buf) {\\n return parseInt(buf.toString('hex'), 16)\\n}\\n\\nfunction numberToBuffer (num) {\\n let hexString = num.toString(16)\\n if (hexString.length % 2 === 1) {\\n hexString = '0' + hexString\\n }\\n return Buffer.from(hexString, 'hex')\\n}\\n\\nfunction varintBufferEncode (input) {\\n return Buffer.from(varint.encode(bufferToNumber(input)))\\n}\\n\\nfunction varintBufferDecode (input) {\\n return numberToBuffer(varint.decode(input))\\n}\\n\\nfunction varintEncode (num) {\\n return Buffer.from(varint.encode(num))\\n}\\n\\n}).call(this,require(\\\"buffer\\\").Buffer)\\n},{\\\"buffer\\\":5,\\\"varint\\\":67}],30:[function(require,module,exports){\\narguments[4][15][0].apply(exports,arguments)\\n},{\\\"./base-table.json\\\":24,\\\"./util\\\":29,\\\"dup\\\":15}],31:[function(require,module,exports){\\n/*\\r\\n\\tISC License\\r\\n\\r\\n\\tCopyright (c) 2019, Pierre-Louis Despaigne\\r\\n\\r\\n\\tPermission to use, copy, modify, and/or distribute this software for any\\r\\n\\tpurpose with or without fee is hereby granted, provided that the above\\r\\n\\tcopyright notice and this permission notice appear in all copies.\\r\\n\\r\\n\\tTHE SOFTWARE IS PROVIDED \\\"AS IS\\\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\\r\\n\\tWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\\r\\n\\tMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\\r\\n\\tANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\\r\\n\\tWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\\r\\n\\tACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\\r\\n\\tOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\\r\\n*/\\r\\n\\r\\nconst CID = require('cids');\\r\\n\\r\\n/**\\r\\n * Take any ipfsHash and convert it to a CID v1 encoded in base32.\\r\\n * @param {string} ipfsHash a regular ipfs hash either a cid v0 or v1 (v1 will remain unchanged)\\r\\n * @return {string} the resulting ipfs hash as a cid v1\\r\\n */\\r\\nconst cidV0ToV1Base32 = (ipfsHash) => {\\r\\n\\tlet cid = new CID(ipfsHash);\\r\\n\\tif (cid.version === 0) {\\r\\n\\t\\tcid = cid.toV1();\\r\\n\\t}\\r\\n\\treturn cid.toString('base32');\\r\\n}\\r\\n\\r\\nexports.cidV0ToV1Base32 = cidV0ToV1Base32;\\r\\n\\n},{\\\"cids\\\":17}],32:[function(require,module,exports){\\n/*\\r\\n\\tISC License\\r\\n\\r\\n\\tCopyright (c) 2019, Pierre-Louis Despaigne\\r\\n\\r\\n\\tPermission to use, copy, modify, and/or distribute this software for any\\r\\n\\tpurpose with or without fee is hereby granted, provided that the above\\r\\n\\tcopyright notice and this permission notice appear in all copies.\\r\\n\\r\\n\\tTHE SOFTWARE IS PROVIDED \\\"AS IS\\\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\\r\\n\\tWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\\r\\n\\tMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\\r\\n\\tANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\\r\\n\\tWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\\r\\n\\tACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\\r\\n\\tOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\\r\\n*/\\r\\n\\r\\nconst multiC = require('multicodec');\\r\\n\\r\\nconst { hexStringToBuffer, profiles } = require('./profiles');\\r\\nconst { cidV0ToV1Base32 } = require('./helpers');\\r\\n\\r\\nmodule.exports = {\\r\\n\\r\\n\\t//export some helpers functions\\r\\n\\thelpers: {\\r\\n\\t\\tcidV0ToV1Base32,\\r\\n\\t},\\r\\n\\r\\n\\t/**\\r\\n\\t* Decode a Content Hash.\\r\\n\\t* @param {string} hash an hex string containing a content hash\\r\\n\\t* @return {string} the decoded content\\r\\n\\t*/\\r\\n\\tdecode: function (contentHash) {\\r\\n\\t\\tconst buffer = hexStringToBuffer(contentHash);\\r\\n\\t\\tconst codec = multiC.getCodec(buffer);\\r\\n\\t\\tconst value = multiC.rmPrefix(buffer);\\r\\n\\t\\tlet profile = profiles[codec];\\r\\n\\t\\tif (!profile) profile = profiles['default'];\\r\\n\\t\\treturn profile.decode(value);\\r\\n\\t},\\r\\n\\r\\n\\t/**\\r\\n\\t* Encode an IPFS address into a content hash\\r\\n\\t* @param {string} ipfsHash string containing an IPFS address\\r\\n\\t* @return {string} the resulting content hash\\r\\n\\t*/\\r\\n\\tfromIpfs: function (ipfsHash) {\\r\\n\\t\\treturn this.encode('ipfs-ns', ipfsHash);\\r\\n\\t},\\r\\n\\r\\n\\t/**\\r\\n\\t* Encode a Swarm address into a content hash\\r\\n\\t* @param {string} swarmHash string containing a Swarm address\\r\\n\\t* @return {string} the resulting content hash\\r\\n\\t*/\\r\\n\\tfromSwarm: function (swarmHash) {\\r\\n\\t\\treturn this.encode('swarm-ns', swarmHash);\\r\\n\\t},\\r\\n\\r\\n\\t/**\\r\\n\\t* General purpose encoding function\\r\\n * @param {string} codec \\r\\n * @param {string} value \\r\\n */\\r\\n\\tencode: function (codec, value) {\\r\\n\\t\\tlet profile = profiles[codec];\\r\\n\\t\\tif (!profile) profile = profiles['default'];\\r\\n\\t\\tconst encodedValue = profile.encode(value);\\r\\n\\t\\treturn multiC.addPrefix(codec, encodedValue).toString('hex');\\r\\n\\t},\\r\\n\\r\\n\\t/**\\r\\n\\t* Extract the codec of a content hash\\r\\n\\t* @param {string} hash hex string containing a content hash\\r\\n\\t* @return {string} the extracted codec\\r\\n\\t*/\\r\\n\\tgetCodec: function (hash) {\\r\\n\\t\\tlet buffer = hexStringToBuffer(hash);\\r\\n\\t\\treturn multiC.getCodec(buffer);\\r\\n\\t},\\r\\n}\\r\\n\\n},{\\\"./helpers\\\":31,\\\"./profiles\\\":33,\\\"multicodec\\\":26}],33:[function(require,module,exports){\\n(function (Buffer){\\n/*\\r\\n\\tISC License\\r\\n\\r\\n\\tCopyright (c) 2019, Pierre-Louis Despaigne\\r\\n\\r\\n\\tPermission to use, copy, modify, and/or distribute this software for any\\r\\n\\tpurpose with or without fee is hereby granted, provided that the above\\r\\n\\tcopyright notice and this permission notice appear in all copies.\\r\\n\\r\\n\\tTHE SOFTWARE IS PROVIDED \\\"AS IS\\\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\\r\\n\\tWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\\r\\n\\tMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\\r\\n\\tANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\\r\\n\\tWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\\r\\n\\tACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\\r\\n\\tOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\\r\\n*/\\r\\n\\r\\nconst CID = require('cids');\\r\\nconst multiH = require('multihashes');\\r\\n\\r\\n/**\\r\\n * Convert an hexadecimal string to a Buffer, the string can start with or without '0x'\\r\\n * @param {string} hex an hexadecimal value\\r\\n * @return {Buffer} the resulting Buffer\\r\\n */\\r\\nconst hexStringToBuffer = (hex) => {\\r\\n\\tlet prefix = hex.slice(0, 2);\\r\\n\\tlet value = hex.slice(2);\\r\\n\\tlet res = '';\\r\\n\\tif (prefix === '0x') res = value;\\r\\n\\telse res = hex;\\r\\n\\treturn multiH.fromHexString(res);\\r\\n}\\r\\n\\r\\n/**\\r\\n* list of known encoding,\\r\\n* encoding should be a function that takes a `string` input,\\r\\n* and return a `Buffer` result\\r\\n*/\\r\\nconst encodes = {\\r\\n /**\\r\\n * @param {string} value\\r\\n * @return {Buffer}\\r\\n */\\r\\n swarm: (value) => {\\r\\n const multihash = multiH.encode(hexStringToBuffer(value), 'keccak-256');\\r\\n\\t\\treturn new CID(1, 'swarm-manifest', multihash).buffer;\\r\\n },\\r\\n /**\\r\\n * @param {string} value\\r\\n * @return {Buffer}\\r\\n */\\r\\n ipfs: (value) => {\\r\\n const multihash = multiH.fromB58String(value);\\r\\n return new CID(1, 'dag-pb', multihash).buffer;\\r\\n },\\r\\n /**\\r\\n * @param {string} value\\r\\n * @return {Buffer}\\r\\n */\\r\\n utf8: (value) => {\\r\\n return Buffer.from(value, 'utf8');\\r\\n },\\r\\n};\\r\\n\\r\\n/** \\r\\n* list of known decoding,\\r\\n* decoding should be a function that takes a `Buffer` input,\\r\\n* and return a `string` result\\r\\n*/\\r\\nconst decodes = {\\r\\n /**\\r\\n * @param {Buffer} value \\r\\n */\\r\\n hexMultiHash: (value) => {\\r\\n const cid = new CID(value);\\r\\n return multiH.decode(cid.multihash).digest.toString('hex');\\r\\n },\\r\\n /**\\r\\n * @param {Buffer} value \\r\\n */\\r\\n b58MultiHash: (value) => {\\r\\n const cid = new CID(value);\\r\\n return multiH.toB58String(cid.multihash);\\r\\n },\\r\\n /**\\r\\n * @param {Buffer} value \\r\\n */\\r\\n utf8: (value) => {\\r\\n return value.toString('utf8');\\r\\n },\\r\\n};\\r\\n\\r\\n/**\\r\\n* list of known encoding/decoding for a given codec,\\r\\n* `encode` should be chosen among the `encodes` functions\\r\\n* `decode` should be chosen among the `decodes` functions\\r\\n*/\\r\\nconst profiles = {\\r\\n 'swarm-ns': {\\r\\n encode: encodes.swarm,\\r\\n decode: decodes.hexMultiHash,\\r\\n },\\r\\n 'ipfs-ns': {\\r\\n encode: encodes.ipfs,\\r\\n decode: decodes.b58MultiHash,\\r\\n },\\r\\n 'ipns-ns': {\\r\\n encode: encodes.ipfs,\\r\\n decode: decodes.b58MultiHash,\\r\\n },\\r\\n 'default': {\\r\\n encode: encodes.utf8,\\r\\n decode: decodes.utf8,\\r\\n },\\r\\n};\\r\\n\\r\\nexports.hexStringToBuffer = hexStringToBuffer;\\r\\nexports.profiles = profiles;\\n}).call(this,require(\\\"buffer\\\").Buffer)\\n},{\\\"buffer\\\":5,\\\"cids\\\":17,\\\"multihashes\\\":62}],34:[function(require,module,exports){\\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\\n var e, m\\n var eLen = (nBytes * 8) - mLen - 1\\n var eMax = (1 \u003C\u003C eLen) - 1\\n var eBias = eMax >> 1\\n var nBits = -7\\n var i = isLE ? (nBytes - 1) : 0\\n var d = isLE ? -1 : 1\\n var s = buffer[offset + i]\\n\\n i += d\\n\\n e = s & ((1 \u003C\u003C (-nBits)) - 1)\\n s >>= (-nBits)\\n nBits += eLen\\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\\n\\n m = e & ((1 \u003C\u003C (-nBits)) - 1)\\n e >>= (-nBits)\\n nBits += mLen\\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\\n\\n if (e === 0) {\\n e = 1 - eBias\\n } else if (e === eMax) {\\n return m ? NaN : ((s ? -1 : 1) * Infinity)\\n } else {\\n m = m + Math.pow(2, mLen)\\n e = e - eBias\\n }\\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\\n}\\n\\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\\n var e, m, c\\n var eLen = (nBytes * 8) - mLen - 1\\n var eMax = (1 \u003C\u003C eLen) - 1\\n var eBias = eMax >> 1\\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\\n var i = isLE ? 0 : (nBytes - 1)\\n var d = isLE ? 1 : -1\\n var s = value \u003C 0 || (value === 0 && 1 / value \u003C 0) ? 1 : 0\\n\\n value = Math.abs(value)\\n\\n if (isNaN(value) || value === Infinity) {\\n m = isNaN(value) ? 1 : 0\\n e = eMax\\n } else {\\n e = Math.floor(Math.log(value) / Math.LN2)\\n if (value * (c = Math.pow(2, -e)) \u003C 1) {\\n e--\\n c *= 2\\n }\\n if (e + eBias >= 1) {\\n value += rt / c\\n } else {\\n value += rt * Math.pow(2, 1 - eBias)\\n }\\n if (value * c >= 2) {\\n e++\\n c /= 2\\n }\\n\\n if (e + eBias >= eMax) {\\n m = 0\\n e = eMax\\n } else if (e + eBias >= 1) {\\n m = ((value * c) - 1) * Math.pow(2, mLen)\\n e = e + eBias\\n } else {\\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\\n e = 0\\n }\\n }\\n\\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\\n\\n e = (e \u003C\u003C mLen) | m\\n eLen += mLen\\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\\n\\n buffer[offset + i - d] |= s * 128\\n}\\n\\n},{}],35:[function(require,module,exports){\\n'use strict'\\n\\nmodule.exports = {\\n DEFAULT_HTTP_API: '/ip4/127.0.0.1/tcp/5001'\\n}\\n\\n},{}],36:[function(require,module,exports){\\n'use strict'\\n\\nmodule.exports = {\\n httpClient: 'httpClient',\\n windowIpfs: 'windowIpfs',\\n jsIpfs: 'jsIpfs',\\n webExt: 'webExt'\\n}\\n\\n},{}],37:[function(require,module,exports){\\n(function (global){\\n'use strict'\\n/* global self */\\n\\n// Establish the root object, `window` in the browser, `self` in Service Worker. or `global` on the server.\\n// Credit: https://github.com/megawac/underscore/commit/365311c9a440438531ca1c6bfd49e3c7c5f46079\\nmodule.exports = (typeof self === 'object' && self.self === self && self) ||\\n (typeof global === 'object' && global.global === global && global) ||\\n this\\n\\n}).call(this,typeof global !== \\\"undefined\\\" ? global : typeof self !== \\\"undefined\\\" ? self : typeof window !== \\\"undefined\\\" ? window : {})\\n},{}],38:[function(require,module,exports){\\n'use strict'\\n\\nconst root = require('./constants/root')\\nconst mergeOptions = require('merge-options')\\nconst tryWebExt = require('./providers/webext')\\nconst tryWindow = require('./providers/window-ipfs')\\nconst tryHttpClient = require('./providers/http-client')\\nconst tryJsIpfs = require('./providers/js-ipfs')\\n\\nconst defaultGlobalOpts = {\\n connectionTest: async (ipfs) => {\\n // ipfs connection is working if we can fetch data via async iterator API\\n const cid = 'QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn'\\n for await (const file of ipfs.get(cid)) {\\n return file.type === 'dir' && file.name === cid\\n }\\n }\\n}\\n\\nconst makeProvider = (fn, defaults = {}) => {\\n return (options = {}) => {\\n return (globalOpts) => {\\n options = mergeOptions(defaultGlobalOpts, defaults, globalOpts, options)\\n return fn(options)\\n }\\n }\\n}\\n\\nconst providers = {\\n httpClient: makeProvider((options) => {\\n return tryHttpClient({ root, ...options })\\n }),\\n windowIpfs: makeProvider(options => {\\n return tryWindow({ root, ...options })\\n }),\\n jsIpfs: makeProvider(options => {\\n return tryJsIpfs(options)\\n }),\\n webExt: makeProvider(options => {\\n return tryWebExt({ root, ...options })\\n })\\n}\\n\\nconst defaultProviders = [\\n providers.windowIpfs(),\\n providers.httpClient()\\n]\\n\\nasync function getIpfs ({ providers = defaultProviders, ...options } = {}) {\\n for (const provider of providers) {\\n try {\\n const res = await provider(options)\\n if (res) return res\\n } catch (err) {\\n // provider failed unexpectedly, log error and move to the next one\\n console.error('[ipfs-provider]', err) // eslint-disable-line no-console\\n }\\n }\\n}\\n\\nmodule.exports = {\\n getIpfs,\\n providers,\\n makeProvider\\n}\\n\\n},{\\\"./constants/root\\\":37,\\\"./providers/http-client\\\":39,\\\"./providers/js-ipfs\\\":40,\\\"./providers/webext\\\":41,\\\"./providers/window-ipfs\\\":42,\\\"merge-options\\\":47}],39:[function(require,module,exports){\\n'use strict'\\n\\nconst { URL } = require('iso-url')\\nconst PROVIDERS = require('../constants/providers')\\nconst { DEFAULT_HTTP_API } = require('../constants/defaults')\\n\\n/*\\n * This provider lazy-loads https://github.com/ipfs/js-ipfs-http-client\\n * so it is not included as a dependency if not used.\\n *\\n * HTTP Client init fallback:\\n * 1. Use constructor returned by loadHttpClientModule function\\n * 2. Fallback to window.IpfsHttpClient\\n *\\n * API URL fallback order:\\n * 1. Try user specified API address\\n * 2. Try current origin\\n * 3. Try DEFAULT_HTTP_API\\n*/\\nasync function tryHttpClient ({ loadHttpClientModule, apiAddress, root, connectionTest }) {\\n // Find HTTP client\\n let httpClient\\n if (loadHttpClientModule) httpClient = await loadHttpClientModule()\\n\\n // Final fallback to window.IpfsHttpClient or error\\n if (!httpClient) {\\n if (root.IpfsHttpClient) {\\n httpClient = root.IpfsHttpClient\\n } else {\\n throw new Error('ipfs-provider could not initialize js-ipfs-http-client: make sure its constructor is returned by loadHttpClientModule function or exposed at window.IpfsHttpClient')\\n }\\n }\\n\\n // Allow the use of `import` or `require` on `loadHttpClientModule` fn\\n httpClient = httpClient.default || httpClient // TODO: create 'import' demo in examples/\\n\\n // Explicit custom apiAddress provided. Only try that.\\n if (apiAddress) {\\n return maybeApi({ apiAddress, connectionTest, httpClient })\\n }\\n\\n // Current origin is not localhost:5001 so try with current origin info\\n const { location } = root\\n if (location && !(location.port === '5001' && location.hostname.match(/^127.0.0.1$|^localhost$/))) {\\n const origin = new URL(location.origin)\\n origin.pathname = '/'\\n const res = await maybeApi({\\n apiAddress: origin.toString(),\\n connectionTest,\\n httpClient\\n })\\n if (res) return res\\n }\\n\\n // ...otherwise try /ip4/127.0.0.1/tcp/5001\\n return maybeApi({ apiAddress: DEFAULT_HTTP_API, connectionTest, httpClient })\\n}\\n\\n// Init and test an api client against provded API address.\\n// Returns js-ipfs-http-client instance or null\\nasync function maybeApi ({ apiAddress, connectionTest, httpClient }) {\\n try {\\n const ipfs = httpClient(apiAddress)\\n await connectionTest(ipfs)\\n return { ipfs, provider: PROVIDERS.httpClient, apiAddress }\\n } catch (error) {\\n // Failed to connect to ipfs-api in `apiAddress`\\n // console.error('[ipfs-provider:httpClient]', error)\\n return null\\n }\\n}\\n\\nmodule.exports = tryHttpClient\\n\\n},{\\\"../constants/defaults\\\":35,\\\"../constants/providers\\\":36,\\\"iso-url\\\":44}],40:[function(require,module,exports){\\n'use strict'\\n\\nconst PROVIDERS = require('../constants/providers')\\n\\nfunction createIpfs (ipfsModule, opts) {\\n // Allow the use of `import` or `require` on `getJsIpfs` fn\\n ipfsModule = ipfsModule.default || ipfsModule\\n return ipfsModule.create(opts)\\n}\\n\\nasync function tryJsIpfs ({ connectionTest, loadJsIpfsModule, options, init = createIpfs }) {\\n const ipfsModule = await loadJsIpfsModule()\\n const ipfs = await init(ipfsModule, options)\\n await connectionTest(ipfs)\\n return { ipfs, provider: PROVIDERS.jsIpfs }\\n}\\n\\nmodule.exports = tryJsIpfs\\n\\n},{\\\"../constants/providers\\\":36}],41:[function(require,module,exports){\\n'use strict'\\n\\nconst PROVIDERS = require('../constants/providers')\\n\\nasync function tryWebExt ({ root, connectionTest }) {\\n // Opportunistic optimizations when running inside of web extension (eg. ipfs-companion)\\n if (typeof root.chrome === 'object' && root.chrome.extension && root.chrome.extension.getBackgroundPage) {\\n // Note: under some vendors getBackgroundPage() will return null if window is in incognito mode\\n // https://bugzilla.mozilla.org/show_bug.cgi?id=1329304\\n let bg = null\\n try {\\n bg = root.chrome.extension.getBackgroundPage()\\n } catch (err) {\\n // not in browser extension\\n return null\\n }\\n // If extension is exposing IPFS API as `ipfs` on the background page\\n // it can be used directly for the best performance\\n if (bg && bg.ipfs) {\\n const { ipfs } = bg\\n await connectionTest(ipfs)\\n return { ipfs, provider: PROVIDERS.webExt }\\n }\\n /* Other endpoints can be added here in the future.\\n For example, Companion could provide API for other browser extensions:\\n https://github.com/ipfs-shipyard/ipfs-companion/issues/307 */\\n }\\n}\\n\\nmodule.exports = tryWebExt\\n\\n},{\\\"../constants/providers\\\":36}],42:[function(require,module,exports){\\n'use strict'\\n\\nconst PROVIDERS = require('../constants/providers')\\n\\nasync function tryWindow ({ root, permissions, connectionTest }) {\\n if (root.ipfs) {\\n // files.get is required for testing if API works, ensure we request it\\n if (!(permissions && permissions.commands && permissions.commands.includes('files.get'))) {\\n permissions = permissions || {}\\n permissions = JSON.parse(JSON.stringify(permissions)) // deep copy to work with freezed objects\\n permissions.commands = permissions.commands || []\\n permissions.commands.push('files.get')\\n }\\n // try window.ipfs.enable first: https://github.com/ipfs-shipyard/ipfs-companion/issues/589\\n const ipfs = typeof root.ipfs.enable === 'function'\\n ? await root.ipfs.enable(permissions)\\n : root.ipfs\\n await connectionTest(ipfs)\\n return { ipfs, provider: PROVIDERS.windowIpfs }\\n }\\n}\\n\\nmodule.exports = tryWindow\\n\\n},{\\\"../constants/providers\\\":36}],43:[function(require,module,exports){\\n'use strict';\\n\\nmodule.exports = value => {\\n\\tif (Object.prototype.toString.call(value) !== '[object Object]') {\\n\\t\\treturn false;\\n\\t}\\n\\n\\tconst prototype = Object.getPrototypeOf(value);\\n\\treturn prototype === null || prototype === Object.prototype;\\n};\\n\\n},{}],44:[function(require,module,exports){\\n'use strict';\\n\\nconst {\\n URLWithLegacySupport,\\n format,\\n URLSearchParams,\\n defaultBase\\n} = require('./src/url');\\nconst relative = require('./src/relative');\\n\\nmodule.exports = {\\n URL: URLWithLegacySupport,\\n URLSearchParams,\\n format,\\n relative,\\n defaultBase\\n};\\n\\n},{\\\"./src/relative\\\":45,\\\"./src/url\\\":46}],45:[function(require,module,exports){\\n'use strict';\\n\\nconst { URLWithLegacySupport, format } = require('./url');\\n\\nmodule.exports = (url, location = {}, protocolMap = {}, defaultProtocol) => {\\n let protocol = location.protocol ?\\n location.protocol.replace(':', '') :\\n 'http';\\n\\n // Check protocol map\\n protocol = (protocolMap[protocol] || defaultProtocol || protocol) + ':';\\n let urlParsed;\\n\\n try {\\n urlParsed = new URLWithLegacySupport(url);\\n } catch (err) {\\n urlParsed = {};\\n }\\n\\n const base = Object.assign({}, location, {\\n protocol: protocol || urlParsed.protocol,\\n host: location.host || urlParsed.host\\n });\\n\\n return new URLWithLegacySupport(url, format(base)).toString();\\n};\\n\\n},{\\\"./url\\\":46}],46:[function(require,module,exports){\\n'use strict';\\n\\nconst defaultBase = self.location ?\\n self.location.protocol + '//' + self.location.host :\\n '';\\nconst URL = self.URL;\\n\\nclass URLWithLegacySupport {\\n constructor(url = '', base = defaultBase) {\\n this.super = new URL(url, base);\\n this.path = this.pathname + this.search;\\n this.auth =\\n this.username && this.password ?\\n this.username + ':' + this.password :\\n null;\\n\\n this.query =\\n this.search && this.search.startsWith('?') ?\\n this.search.slice(1) :\\n null;\\n }\\n\\n get hash() {\\n return this.super.hash;\\n }\\n get host() {\\n return this.super.host;\\n }\\n get hostname() {\\n return this.super.hostname;\\n }\\n get href() {\\n return this.super.href;\\n }\\n get origin() {\\n return this.super.origin;\\n }\\n get password() {\\n return this.super.password;\\n }\\n get pathname() {\\n return this.super.pathname;\\n }\\n get port() {\\n return this.super.port;\\n }\\n get protocol() {\\n return this.super.protocol;\\n }\\n get search() {\\n return this.super.search;\\n }\\n get searchParams() {\\n return this.super.searchParams;\\n }\\n get username() {\\n return this.super.username;\\n }\\n\\n set hash(hash) {\\n this.super.hash = hash;\\n }\\n set host(host) {\\n this.super.host = host;\\n }\\n set hostname(hostname) {\\n this.super.hostname = hostname;\\n }\\n set href(href) {\\n this.super.href = href;\\n }\\n set origin(origin) {\\n this.super.origin = origin;\\n }\\n set password(password) {\\n this.super.password = password;\\n }\\n set pathname(pathname) {\\n this.super.pathname = pathname;\\n }\\n set port(port) {\\n this.super.port = port;\\n }\\n set protocol(protocol) {\\n this.super.protocol = protocol;\\n }\\n set search(search) {\\n this.super.search = search;\\n }\\n set searchParams(searchParams) {\\n this.super.searchParams = searchParams;\\n }\\n set username(username) {\\n this.super.username = username;\\n }\\n\\n createObjectURL(o) {\\n return this.super.createObjectURL(o);\\n }\\n revokeObjectURL(o) {\\n this.super.revokeObjectURL(o);\\n }\\n toJSON() {\\n return this.super.toJSON();\\n }\\n toString() {\\n return this.super.toString();\\n }\\n format() {\\n return this.toString();\\n }\\n}\\n\\nfunction format(obj) {\\n if (typeof obj === 'string') {\\n const url = new URL(obj);\\n\\n return url.toString();\\n }\\n\\n if (!(obj instanceof URL)) {\\n const userPass =\\n obj.username && obj.password ?\\n `${obj.username}:${obj.password}@` :\\n '';\\n const auth = obj.auth ? obj.auth + '@' : '';\\n const port = obj.port ? ':' + obj.port : '';\\n const protocol = obj.protocol ? obj.protocol + '//' : '';\\n const host = obj.host || '';\\n const hostname = obj.hostname || '';\\n const search = obj.search || (obj.query ? '?' + obj.query : '');\\n const hash = obj.hash || '';\\n const pathname = obj.pathname || '';\\n const path = obj.path || pathname + search;\\n\\n return `${protocol}${userPass || auth}${host ||\\n hostname + port}${path}${hash}`;\\n }\\n}\\n\\nmodule.exports = {\\n URLWithLegacySupport,\\n URLSearchParams: self.URLSearchParams,\\n defaultBase,\\n format\\n};\\n\\n},{}],47:[function(require,module,exports){\\n'use strict';\\nconst isOptionObject = require('is-plain-obj');\\n\\nconst {hasOwnProperty} = Object.prototype;\\nconst {propertyIsEnumerable} = Object;\\nconst defineProperty = (obj, name, value) => Object.defineProperty(obj, name, {\\n\\tvalue,\\n\\twritable: true,\\n\\tenumerable: true,\\n\\tconfigurable: true\\n});\\n\\nconst globalThis = this;\\nconst defaultMergeOpts = {\\n\\tconcatArrays: false,\\n\\tignoreUndefined: false\\n};\\n\\nconst getEnumerableOwnPropertyKeys = value => {\\n\\tconst keys = [];\\n\\n\\tfor (const key in value) {\\n\\t\\tif (hasOwnProperty.call(value, key)) {\\n\\t\\t\\tkeys.push(key);\\n\\t\\t}\\n\\t}\\n\\n\\t/* istanbul ignore else */\\n\\tif (Object.getOwnPropertySymbols) {\\n\\t\\tconst symbols = Object.getOwnPropertySymbols(value);\\n\\n\\t\\tfor (const symbol of symbols) {\\n\\t\\t\\tif (propertyIsEnumerable.call(value, symbol)) {\\n\\t\\t\\t\\tkeys.push(symbol);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\n\\treturn keys;\\n};\\n\\nfunction clone(value) {\\n\\tif (Array.isArray(value)) {\\n\\t\\treturn cloneArray(value);\\n\\t}\\n\\n\\tif (isOptionObject(value)) {\\n\\t\\treturn cloneOptionObject(value);\\n\\t}\\n\\n\\treturn value;\\n}\\n\\nfunction cloneArray(array) {\\n\\tconst result = array.slice(0, 0);\\n\\n\\tgetEnumerableOwnPropertyKeys(array).forEach(key => {\\n\\t\\tdefineProperty(result, key, clone(array[key]));\\n\\t});\\n\\n\\treturn result;\\n}\\n\\nfunction cloneOptionObject(obj) {\\n\\tconst result = Object.getPrototypeOf(obj) === null ? Object.create(null) : {};\\n\\n\\tgetEnumerableOwnPropertyKeys(obj).forEach(key => {\\n\\t\\tdefineProperty(result, key, clone(obj[key]));\\n\\t});\\n\\n\\treturn result;\\n}\\n\\n/**\\n * @param {*} merged already cloned\\n * @param {*} source something to merge\\n * @param {string[]} keys keys to merge\\n * @param {Object} config Config Object\\n * @returns {*} cloned Object\\n */\\nconst mergeKeys = (merged, source, keys, config) => {\\n\\tkeys.forEach(key => {\\n\\t\\tif (typeof source[key] === 'undefined' && config.ignoreUndefined) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\t// Do not recurse into prototype chain of merged\\n\\t\\tif (key in merged && merged[key] !== Object.getPrototypeOf(merged)) {\\n\\t\\t\\tdefineProperty(merged, key, merge(merged[key], source[key], config));\\n\\t\\t} else {\\n\\t\\t\\tdefineProperty(merged, key, clone(source[key]));\\n\\t\\t}\\n\\t});\\n\\n\\treturn merged;\\n};\\n\\n/**\\n * @param {*} merged already cloned\\n * @param {*} source something to merge\\n * @param {Object} config Config Object\\n * @returns {*} cloned Object\\n *\\n * see [Array.prototype.concat ( ...arguments )](http://www.ecma-international.org/ecma-262/6.0/#sec-array.prototype.concat)\\n */\\nconst concatArrays = (merged, source, config) => {\\n\\tlet result = merged.slice(0, 0);\\n\\tlet resultIndex = 0;\\n\\n\\t[merged, source].forEach(array => {\\n\\t\\tconst indices = [];\\n\\n\\t\\t// `result.concat(array)` with cloning\\n\\t\\tfor (let k = 0; k \u003C array.length; k++) {\\n\\t\\t\\tif (!hasOwnProperty.call(array, k)) {\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\n\\t\\t\\tindices.push(String(k));\\n\\n\\t\\t\\tif (array === merged) {\\n\\t\\t\\t\\t// Already cloned\\n\\t\\t\\t\\tdefineProperty(result, resultIndex++, array[k]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tdefineProperty(result, resultIndex++, clone(array[k]));\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t// Merge non-index keys\\n\\t\\tresult = mergeKeys(result, array, getEnumerableOwnPropertyKeys(array).filter(key => !indices.includes(key)), config);\\n\\t});\\n\\n\\treturn result;\\n};\\n\\n/**\\n * @param {*} merged already cloned\\n * @param {*} source something to merge\\n * @param {Object} config Config Object\\n * @returns {*} cloned Object\\n */\\nfunction merge(merged, source, config) {\\n\\tif (config.concatArrays && Array.isArray(merged) && Array.isArray(source)) {\\n\\t\\treturn concatArrays(merged, source, config);\\n\\t}\\n\\n\\tif (!isOptionObject(source) || !isOptionObject(merged)) {\\n\\t\\treturn clone(source);\\n\\t}\\n\\n\\treturn mergeKeys(merged, source, getEnumerableOwnPropertyKeys(source), config);\\n}\\n\\nmodule.exports = function (...options) {\\n\\tconst config = merge(clone(defaultMergeOpts), (this !== globalThis && this) || {}, defaultMergeOpts);\\n\\tlet merged = {_: {}};\\n\\n\\tfor (const option of options) {\\n\\t\\tif (option === undefined) {\\n\\t\\t\\tcontinue;\\n\\t\\t}\\n\\n\\t\\tif (!isOptionObject(option)) {\\n\\t\\t\\tthrow new TypeError('`' + option + '` is not an Option Object');\\n\\t\\t}\\n\\n\\t\\tmerged = merge(merged, {_: option}, config);\\n\\t}\\n\\n\\treturn merged._;\\n};\\n\\n},{\\\"is-plain-obj\\\":43}],48:[function(require,module,exports){\\narguments[4][18][0].apply(exports,arguments)\\n},{\\\"dup\\\":18}],49:[function(require,module,exports){\\narguments[4][19][0].apply(exports,arguments)\\n},{\\\"buffer\\\":5,\\\"dup\\\":19}],50:[function(require,module,exports){\\narguments[4][20][0].apply(exports,arguments)\\n},{\\\"dup\\\":20}],51:[function(require,module,exports){\\narguments[4][21][0].apply(exports,arguments)\\n},{\\\"buffer\\\":5,\\\"dup\\\":21}],52:[function(require,module,exports){\\narguments[4][22][0].apply(exports,arguments)\\n},{\\\"./base.js\\\":48,\\\"./base16\\\":49,\\\"./base32\\\":50,\\\"./base64\\\":51,\\\"base-x\\\":3,\\\"dup\\\":22}],53:[function(require,module,exports){\\n/**\\n * Implementation of the [multibase](https://github.com/multiformats/multibase) specification.\\n * @module Multibase\\n */\\n'use strict'\\n\\nconst { Buffer } = require('buffer')\\nconst constants = require('./constants')\\n\\nexports = module.exports = multibase\\nexports.encode = encode\\nexports.decode = decode\\nexports.isEncoded = isEncoded\\nexports.names = Object.freeze(Object.keys(constants.names))\\nexports.codes = Object.freeze(Object.keys(constants.codes))\\n\\n/**\\n * Create a new buffer with the multibase varint+code.\\n *\\n * @param {string|number} nameOrCode - The multibase name or code number.\\n * @param {Buffer} buf - The data to be prefixed with multibase.\\n * @memberof Multibase\\n * @returns {Buffer}\\n */\\nfunction multibase (nameOrCode, buf) {\\n if (!buf) {\\n throw new Error('requires an encoded buffer')\\n }\\n const base = getBase(nameOrCode)\\n const codeBuf = Buffer.from(base.code)\\n\\n const name = base.name\\n validEncode(name, buf)\\n return Buffer.concat([codeBuf, buf])\\n}\\n\\n/**\\n * Encode data with the specified base and add the multibase prefix.\\n *\\n * @param {string|number} nameOrCode - The multibase name or code number.\\n * @param {Buffer} buf - The data to be encoded.\\n * @returns {Buffer}\\n * @memberof Multibase\\n */\\nfunction encode (nameOrCode, buf) {\\n const base = getBase(nameOrCode)\\n const name = base.name\\n\\n return multibase(name, Buffer.from(base.encode(buf)))\\n}\\n\\n/**\\n * Takes a buffer or string encoded with multibase header, decodes it and\\n * returns the decoded buffer\\n *\\n * @param {Buffer|string} bufOrString\\n * @returns {Buffer}\\n * @memberof Multibase\\n *\\n */\\nfunction decode (bufOrString) {\\n if (Buffer.isBuffer(bufOrString)) {\\n bufOrString = bufOrString.toString()\\n }\\n\\n const code = bufOrString.substring(0, 1)\\n bufOrString = bufOrString.substring(1, bufOrString.length)\\n\\n if (typeof bufOrString === 'string') {\\n bufOrString = Buffer.from(bufOrString)\\n }\\n\\n const base = getBase(code)\\n return Buffer.from(base.decode(bufOrString.toString()))\\n}\\n\\n/**\\n * Is the given data multibase encoded?\\n *\\n * @param {Buffer|string} bufOrString\\n * @returns {boolean}\\n * @memberof Multibase\\n */\\nfunction isEncoded (bufOrString) {\\n if (Buffer.isBuffer(bufOrString)) {\\n bufOrString = bufOrString.toString()\\n }\\n\\n // Ensure bufOrString is a string\\n if (Object.prototype.toString.call(bufOrString) !== '[object String]') {\\n return false\\n }\\n\\n const code = bufOrString.substring(0, 1)\\n try {\\n const base = getBase(code)\\n return base.name\\n } catch (err) {\\n return false\\n }\\n}\\n\\n/**\\n * @param {string} name\\n * @param {Buffer} buf\\n * @private\\n * @returns {undefined}\\n */\\nfunction validEncode (name, buf) {\\n const base = getBase(name)\\n base.decode(buf.toString())\\n}\\n\\nfunction getBase (nameOrCode) {\\n let base\\n\\n if (constants.names[nameOrCode]) {\\n base = constants.names[nameOrCode]\\n } else if (constants.codes[nameOrCode]) {\\n base = constants.codes[nameOrCode]\\n } else {\\n throw new Error('Unsupported encoding')\\n }\\n\\n if (!base.isImplemented()) {\\n throw new Error('Base ' + nameOrCode + ' is not implemented yet')\\n }\\n\\n return base\\n}\\n\\n},{\\\"./constants\\\":52,\\\"buffer\\\":5}],54:[function(require,module,exports){\\narguments[4][9][0].apply(exports,arguments)\\n},{\\\"dup\\\":9}],55:[function(require,module,exports){\\narguments[4][10][0].apply(exports,arguments)\\n},{\\\"./base-table.json\\\":54,\\\"dup\\\":10}],56:[function(require,module,exports){\\narguments[4][11][0].apply(exports,arguments)\\n},{\\\"./constants\\\":55,\\\"./int-table\\\":57,\\\"./print\\\":58,\\\"./util\\\":59,\\\"./varint-table\\\":60,\\\"buffer\\\":5,\\\"dup\\\":11,\\\"varint\\\":67}],57:[function(require,module,exports){\\narguments[4][12][0].apply(exports,arguments)\\n},{\\\"./base-table.json\\\":54,\\\"dup\\\":12}],58:[function(require,module,exports){\\narguments[4][13][0].apply(exports,arguments)\\n},{\\\"./base-table.json\\\":54,\\\"dup\\\":13}],59:[function(require,module,exports){\\narguments[4][14][0].apply(exports,arguments)\\n},{\\\"buffer\\\":5,\\\"dup\\\":14,\\\"varint\\\":67}],60:[function(require,module,exports){\\narguments[4][15][0].apply(exports,arguments)\\n},{\\\"./base-table.json\\\":54,\\\"./util\\\":59,\\\"dup\\\":15}],61:[function(require,module,exports){\\n/* eslint quote-props: off */\\n/* eslint key-spacing: off */\\n'use strict'\\n\\nexports.names = Object.freeze({\\n 'identity': 0x0,\\n 'sha1': 0x11,\\n 'sha2-256': 0x12,\\n 'sha2-512': 0x13,\\n 'dbl-sha2-256': 0x56,\\n 'sha3-224': 0x17,\\n 'sha3-256': 0x16,\\n 'sha3-384': 0x15,\\n 'sha3-512': 0x14,\\n 'shake-128': 0x18,\\n 'shake-256': 0x19,\\n 'keccak-224': 0x1A,\\n 'keccak-256': 0x1B,\\n 'keccak-384': 0x1C,\\n 'keccak-512': 0x1D,\\n 'murmur3-128': 0x22,\\n 'murmur3-32': 0x23,\\n 'md4': 0xd4,\\n 'md5': 0xd5,\\n 'blake2b-8': 0xb201,\\n 'blake2b-16': 0xb202,\\n 'blake2b-24': 0xb203,\\n 'blake2b-32': 0xb204,\\n 'blake2b-40': 0xb205,\\n 'blake2b-48': 0xb206,\\n 'blake2b-56': 0xb207,\\n 'blake2b-64': 0xb208,\\n 'blake2b-72': 0xb209,\\n 'blake2b-80': 0xb20a,\\n 'blake2b-88': 0xb20b,\\n 'blake2b-96': 0xb20c,\\n 'blake2b-104': 0xb20d,\\n 'blake2b-112': 0xb20e,\\n 'blake2b-120': 0xb20f,\\n 'blake2b-128': 0xb210,\\n 'blake2b-136': 0xb211,\\n 'blake2b-144': 0xb212,\\n 'blake2b-152': 0xb213,\\n 'blake2b-160': 0xb214,\\n 'blake2b-168': 0xb215,\\n 'blake2b-176': 0xb216,\\n 'blake2b-184': 0xb217,\\n 'blake2b-192': 0xb218,\\n 'blake2b-200': 0xb219,\\n 'blake2b-208': 0xb21a,\\n 'blake2b-216': 0xb21b,\\n 'blake2b-224': 0xb21c,\\n 'blake2b-232': 0xb21d,\\n 'blake2b-240': 0xb21e,\\n 'blake2b-248': 0xb21f,\\n 'blake2b-256': 0xb220,\\n 'blake2b-264': 0xb221,\\n 'blake2b-272': 0xb222,\\n 'blake2b-280': 0xb223,\\n 'blake2b-288': 0xb224,\\n 'blake2b-296': 0xb225,\\n 'blake2b-304': 0xb226,\\n 'blake2b-312': 0xb227,\\n 'blake2b-320': 0xb228,\\n 'blake2b-328': 0xb229,\\n 'blake2b-336': 0xb22a,\\n 'blake2b-344': 0xb22b,\\n 'blake2b-352': 0xb22c,\\n 'blake2b-360': 0xb22d,\\n 'blake2b-368': 0xb22e,\\n 'blake2b-376': 0xb22f,\\n 'blake2b-384': 0xb230,\\n 'blake2b-392': 0xb231,\\n 'blake2b-400': 0xb232,\\n 'blake2b-408': 0xb233,\\n 'blake2b-416': 0xb234,\\n 'blake2b-424': 0xb235,\\n 'blake2b-432': 0xb236,\\n 'blake2b-440': 0xb237,\\n 'blake2b-448': 0xb238,\\n 'blake2b-456': 0xb239,\\n 'blake2b-464': 0xb23a,\\n 'blake2b-472': 0xb23b,\\n 'blake2b-480': 0xb23c,\\n 'blake2b-488': 0xb23d,\\n 'blake2b-496': 0xb23e,\\n 'blake2b-504': 0xb23f,\\n 'blake2b-512': 0xb240,\\n 'blake2s-8': 0xb241,\\n 'blake2s-16': 0xb242,\\n 'blake2s-24': 0xb243,\\n 'blake2s-32': 0xb244,\\n 'blake2s-40': 0xb245,\\n 'blake2s-48': 0xb246,\\n 'blake2s-56': 0xb247,\\n 'blake2s-64': 0xb248,\\n 'blake2s-72': 0xb249,\\n 'blake2s-80': 0xb24a,\\n 'blake2s-88': 0xb24b,\\n 'blake2s-96': 0xb24c,\\n 'blake2s-104': 0xb24d,\\n 'blake2s-112': 0xb24e,\\n 'blake2s-120': 0xb24f,\\n 'blake2s-128': 0xb250,\\n 'blake2s-136': 0xb251,\\n 'blake2s-144': 0xb252,\\n 'blake2s-152': 0xb253,\\n 'blake2s-160': 0xb254,\\n 'blake2s-168': 0xb255,\\n 'blake2s-176': 0xb256,\\n 'blake2s-184': 0xb257,\\n 'blake2s-192': 0xb258,\\n 'blake2s-200': 0xb259,\\n 'blake2s-208': 0xb25a,\\n 'blake2s-216': 0xb25b,\\n 'blake2s-224': 0xb25c,\\n 'blake2s-232': 0xb25d,\\n 'blake2s-240': 0xb25e,\\n 'blake2s-248': 0xb25f,\\n 'blake2s-256': 0xb260,\\n 'Skein256-8': 0xb301,\\n 'Skein256-16': 0xb302,\\n 'Skein256-24': 0xb303,\\n 'Skein256-32': 0xb304,\\n 'Skein256-40': 0xb305,\\n 'Skein256-48': 0xb306,\\n 'Skein256-56': 0xb307,\\n 'Skein256-64': 0xb308,\\n 'Skein256-72': 0xb309,\\n 'Skein256-80': 0xb30a,\\n 'Skein256-88': 0xb30b,\\n 'Skein256-96': 0xb30c,\\n 'Skein256-104': 0xb30d,\\n 'Skein256-112': 0xb30e,\\n 'Skein256-120': 0xb30f,\\n 'Skein256-128': 0xb310,\\n 'Skein256-136': 0xb311,\\n 'Skein256-144': 0xb312,\\n 'Skein256-152': 0xb313,\\n 'Skein256-160': 0xb314,\\n 'Skein256-168': 0xb315,\\n 'Skein256-176': 0xb316,\\n 'Skein256-184': 0xb317,\\n 'Skein256-192': 0xb318,\\n 'Skein256-200': 0xb319,\\n 'Skein256-208': 0xb31a,\\n 'Skein256-216': 0xb31b,\\n 'Skein256-224': 0xb31c,\\n 'Skein256-232': 0xb31d,\\n 'Skein256-240': 0xb31e,\\n 'Skein256-248': 0xb31f,\\n 'Skein256-256': 0xb320,\\n 'Skein512-8': 0xb321,\\n 'Skein512-16': 0xb322,\\n 'Skein512-24': 0xb323,\\n 'Skein512-32': 0xb324,\\n 'Skein512-40': 0xb325,\\n 'Skein512-48': 0xb326,\\n 'Skein512-56': 0xb327,\\n 'Skein512-64': 0xb328,\\n 'Skein512-72': 0xb329,\\n 'Skein512-80': 0xb32a,\\n 'Skein512-88': 0xb32b,\\n 'Skein512-96': 0xb32c,\\n 'Skein512-104': 0xb32d,\\n 'Skein512-112': 0xb32e,\\n 'Skein512-120': 0xb32f,\\n 'Skein512-128': 0xb330,\\n 'Skein512-136': 0xb331,\\n 'Skein512-144': 0xb332,\\n 'Skein512-152': 0xb333,\\n 'Skein512-160': 0xb334,\\n 'Skein512-168': 0xb335,\\n 'Skein512-176': 0xb336,\\n 'Skein512-184': 0xb337,\\n 'Skein512-192': 0xb338,\\n 'Skein512-200': 0xb339,\\n 'Skein512-208': 0xb33a,\\n 'Skein512-216': 0xb33b,\\n 'Skein512-224': 0xb33c,\\n 'Skein512-232': 0xb33d,\\n 'Skein512-240': 0xb33e,\\n 'Skein512-248': 0xb33f,\\n 'Skein512-256': 0xb340,\\n 'Skein512-264': 0xb341,\\n 'Skein512-272': 0xb342,\\n 'Skein512-280': 0xb343,\\n 'Skein512-288': 0xb344,\\n 'Skein512-296': 0xb345,\\n 'Skein512-304': 0xb346,\\n 'Skein512-312': 0xb347,\\n 'Skein512-320': 0xb348,\\n 'Skein512-328': 0xb349,\\n 'Skein512-336': 0xb34a,\\n 'Skein512-344': 0xb34b,\\n 'Skein512-352': 0xb34c,\\n 'Skein512-360': 0xb34d,\\n 'Skein512-368': 0xb34e,\\n 'Skein512-376': 0xb34f,\\n 'Skein512-384': 0xb350,\\n 'Skein512-392': 0xb351,\\n 'Skein512-400': 0xb352,\\n 'Skein512-408': 0xb353,\\n 'Skein512-416': 0xb354,\\n 'Skein512-424': 0xb355,\\n 'Skein512-432': 0xb356,\\n 'Skein512-440': 0xb357,\\n 'Skein512-448': 0xb358,\\n 'Skein512-456': 0xb359,\\n 'Skein512-464': 0xb35a,\\n 'Skein512-472': 0xb35b,\\n 'Skein512-480': 0xb35c,\\n 'Skein512-488': 0xb35d,\\n 'Skein512-496': 0xb35e,\\n 'Skein512-504': 0xb35f,\\n 'Skein512-512': 0xb360,\\n 'Skein1024-8': 0xb361,\\n 'Skein1024-16': 0xb362,\\n 'Skein1024-24': 0xb363,\\n 'Skein1024-32': 0xb364,\\n 'Skein1024-40': 0xb365,\\n 'Skein1024-48': 0xb366,\\n 'Skein1024-56': 0xb367,\\n 'Skein1024-64': 0xb368,\\n 'Skein1024-72': 0xb369,\\n 'Skein1024-80': 0xb36a,\\n 'Skein1024-88': 0xb36b,\\n 'Skein1024-96': 0xb36c,\\n 'Skein1024-104': 0xb36d,\\n 'Skein1024-112': 0xb36e,\\n 'Skein1024-120': 0xb36f,\\n 'Skein1024-128': 0xb370,\\n 'Skein1024-136': 0xb371,\\n 'Skein1024-144': 0xb372,\\n 'Skein1024-152': 0xb373,\\n 'Skein1024-160': 0xb374,\\n 'Skein1024-168': 0xb375,\\n 'Skein1024-176': 0xb376,\\n 'Skein1024-184': 0xb377,\\n 'Skein1024-192': 0xb378,\\n 'Skein1024-200': 0xb379,\\n 'Skein1024-208': 0xb37a,\\n 'Skein1024-216': 0xb37b,\\n 'Skein1024-224': 0xb37c,\\n 'Skein1024-232': 0xb37d,\\n 'Skein1024-240': 0xb37e,\\n 'Skein1024-248': 0xb37f,\\n 'Skein1024-256': 0xb380,\\n 'Skein1024-264': 0xb381,\\n 'Skein1024-272': 0xb382,\\n 'Skein1024-280': 0xb383,\\n 'Skein1024-288': 0xb384,\\n 'Skein1024-296': 0xb385,\\n 'Skein1024-304': 0xb386,\\n 'Skein1024-312': 0xb387,\\n 'Skein1024-320': 0xb388,\\n 'Skein1024-328': 0xb389,\\n 'Skein1024-336': 0xb38a,\\n 'Skein1024-344': 0xb38b,\\n 'Skein1024-352': 0xb38c,\\n 'Skein1024-360': 0xb38d,\\n 'Skein1024-368': 0xb38e,\\n 'Skein1024-376': 0xb38f,\\n 'Skein1024-384': 0xb390,\\n 'Skein1024-392': 0xb391,\\n 'Skein1024-400': 0xb392,\\n 'Skein1024-408': 0xb393,\\n 'Skein1024-416': 0xb394,\\n 'Skein1024-424': 0xb395,\\n 'Skein1024-432': 0xb396,\\n 'Skein1024-440': 0xb397,\\n 'Skein1024-448': 0xb398,\\n 'Skein1024-456': 0xb399,\\n 'Skein1024-464': 0xb39a,\\n 'Skein1024-472': 0xb39b,\\n 'Skein1024-480': 0xb39c,\\n 'Skein1024-488': 0xb39d,\\n 'Skein1024-496': 0xb39e,\\n 'Skein1024-504': 0xb39f,\\n 'Skein1024-512': 0xb3a0,\\n 'Skein1024-520': 0xb3a1,\\n 'Skein1024-528': 0xb3a2,\\n 'Skein1024-536': 0xb3a3,\\n 'Skein1024-544': 0xb3a4,\\n 'Skein1024-552': 0xb3a5,\\n 'Skein1024-560': 0xb3a6,\\n 'Skein1024-568': 0xb3a7,\\n 'Skein1024-576': 0xb3a8,\\n 'Skein1024-584': 0xb3a9,\\n 'Skein1024-592': 0xb3aa,\\n 'Skein1024-600': 0xb3ab,\\n 'Skein1024-608': 0xb3ac,\\n 'Skein1024-616': 0xb3ad,\\n 'Skein1024-624': 0xb3ae,\\n 'Skein1024-632': 0xb3af,\\n 'Skein1024-640': 0xb3b0,\\n 'Skein1024-648': 0xb3b1,\\n 'Skein1024-656': 0xb3b2,\\n 'Skein1024-664': 0xb3b3,\\n 'Skein1024-672': 0xb3b4,\\n 'Skein1024-680': 0xb3b5,\\n 'Skein1024-688': 0xb3b6,\\n 'Skein1024-696': 0xb3b7,\\n 'Skein1024-704': 0xb3b8,\\n 'Skein1024-712': 0xb3b9,\\n 'Skein1024-720': 0xb3ba,\\n 'Skein1024-728': 0xb3bb,\\n 'Skein1024-736': 0xb3bc,\\n 'Skein1024-744': 0xb3bd,\\n 'Skein1024-752': 0xb3be,\\n 'Skein1024-760': 0xb3bf,\\n 'Skein1024-768': 0xb3c0,\\n 'Skein1024-776': 0xb3c1,\\n 'Skein1024-784': 0xb3c2,\\n 'Skein1024-792': 0xb3c3,\\n 'Skein1024-800': 0xb3c4,\\n 'Skein1024-808': 0xb3c5,\\n 'Skein1024-816': 0xb3c6,\\n 'Skein1024-824': 0xb3c7,\\n 'Skein1024-832': 0xb3c8,\\n 'Skein1024-840': 0xb3c9,\\n 'Skein1024-848': 0xb3ca,\\n 'Skein1024-856': 0xb3cb,\\n 'Skein1024-864': 0xb3cc,\\n 'Skein1024-872': 0xb3cd,\\n 'Skein1024-880': 0xb3ce,\\n 'Skein1024-888': 0xb3cf,\\n 'Skein1024-896': 0xb3d0,\\n 'Skein1024-904': 0xb3d1,\\n 'Skein1024-912': 0xb3d2,\\n 'Skein1024-920': 0xb3d3,\\n 'Skein1024-928': 0xb3d4,\\n 'Skein1024-936': 0xb3d5,\\n 'Skein1024-944': 0xb3d6,\\n 'Skein1024-952': 0xb3d7,\\n 'Skein1024-960': 0xb3d8,\\n 'Skein1024-968': 0xb3d9,\\n 'Skein1024-976': 0xb3da,\\n 'Skein1024-984': 0xb3db,\\n 'Skein1024-992': 0xb3dc,\\n 'Skein1024-1000': 0xb3dd,\\n 'Skein1024-1008': 0xb3de,\\n 'Skein1024-1016': 0xb3df,\\n 'Skein1024-1024': 0xb3e0\\n})\\n\\nexports.codes = Object.freeze({\\n 0x0: 'identity',\\n\\n // sha family\\n 0x11: 'sha1',\\n 0x12: 'sha2-256',\\n 0x13: 'sha2-512',\\n 0x56: 'dbl-sha2-256',\\n 0x17: 'sha3-224',\\n 0x16: 'sha3-256',\\n 0x15: 'sha3-384',\\n 0x14: 'sha3-512',\\n 0x18: 'shake-128',\\n 0x19: 'shake-256',\\n 0x1A: 'keccak-224',\\n 0x1B: 'keccak-256',\\n 0x1C: 'keccak-384',\\n 0x1D: 'keccak-512',\\n\\n 0x22: 'murmur3-128',\\n 0x23: 'murmur3-32',\\n\\n 0xd4: 'md4',\\n 0xd5: 'md5',\\n\\n // blake2\\n 0xb201: 'blake2b-8',\\n 0xb202: 'blake2b-16',\\n 0xb203: 'blake2b-24',\\n 0xb204: 'blake2b-32',\\n 0xb205: 'blake2b-40',\\n 0xb206: 'blake2b-48',\\n 0xb207: 'blake2b-56',\\n 0xb208: 'blake2b-64',\\n 0xb209: 'blake2b-72',\\n 0xb20a: 'blake2b-80',\\n 0xb20b: 'blake2b-88',\\n 0xb20c: 'blake2b-96',\\n 0xb20d: 'blake2b-104',\\n 0xb20e: 'blake2b-112',\\n 0xb20f: 'blake2b-120',\\n 0xb210: 'blake2b-128',\\n 0xb211: 'blake2b-136',\\n 0xb212: 'blake2b-144',\\n 0xb213: 'blake2b-152',\\n 0xb214: 'blake2b-160',\\n 0xb215: 'blake2b-168',\\n 0xb216: 'blake2b-176',\\n 0xb217: 'blake2b-184',\\n 0xb218: 'blake2b-192',\\n 0xb219: 'blake2b-200',\\n 0xb21a: 'blake2b-208',\\n 0xb21b: 'blake2b-216',\\n 0xb21c: 'blake2b-224',\\n 0xb21d: 'blake2b-232',\\n 0xb21e: 'blake2b-240',\\n 0xb21f: 'blake2b-248',\\n 0xb220: 'blake2b-256',\\n 0xb221: 'blake2b-264',\\n 0xb222: 'blake2b-272',\\n 0xb223: 'blake2b-280',\\n 0xb224: 'blake2b-288',\\n 0xb225: 'blake2b-296',\\n 0xb226: 'blake2b-304',\\n 0xb227: 'blake2b-312',\\n 0xb228: 'blake2b-320',\\n 0xb229: 'blake2b-328',\\n 0xb22a: 'blake2b-336',\\n 0xb22b: 'blake2b-344',\\n 0xb22c: 'blake2b-352',\\n 0xb22d: 'blake2b-360',\\n 0xb22e: 'blake2b-368',\\n 0xb22f: 'blake2b-376',\\n 0xb230: 'blake2b-384',\\n 0xb231: 'blake2b-392',\\n 0xb232: 'blake2b-400',\\n 0xb233: 'blake2b-408',\\n 0xb234: 'blake2b-416',\\n 0xb235: 'blake2b-424',\\n 0xb236: 'blake2b-432',\\n 0xb237: 'blake2b-440',\\n 0xb238: 'blake2b-448',\\n 0xb239: 'blake2b-456',\\n 0xb23a: 'blake2b-464',\\n 0xb23b: 'blake2b-472',\\n 0xb23c: 'blake2b-480',\\n 0xb23d: 'blake2b-488',\\n 0xb23e: 'blake2b-496',\\n 0xb23f: 'blake2b-504',\\n 0xb240: 'blake2b-512',\\n 0xb241: 'blake2s-8',\\n 0xb242: 'blake2s-16',\\n 0xb243: 'blake2s-24',\\n 0xb244: 'blake2s-32',\\n 0xb245: 'blake2s-40',\\n 0xb246: 'blake2s-48',\\n 0xb247: 'blake2s-56',\\n 0xb248: 'blake2s-64',\\n 0xb249: 'blake2s-72',\\n 0xb24a: 'blake2s-80',\\n 0xb24b: 'blake2s-88',\\n 0xb24c: 'blake2s-96',\\n 0xb24d: 'blake2s-104',\\n 0xb24e: 'blake2s-112',\\n 0xb24f: 'blake2s-120',\\n 0xb250: 'blake2s-128',\\n 0xb251: 'blake2s-136',\\n 0xb252: 'blake2s-144',\\n 0xb253: 'blake2s-152',\\n 0xb254: 'blake2s-160',\\n 0xb255: 'blake2s-168',\\n 0xb256: 'blake2s-176',\\n 0xb257: 'blake2s-184',\\n 0xb258: 'blake2s-192',\\n 0xb259: 'blake2s-200',\\n 0xb25a: 'blake2s-208',\\n 0xb25b: 'blake2s-216',\\n 0xb25c: 'blake2s-224',\\n 0xb25d: 'blake2s-232',\\n 0xb25e: 'blake2s-240',\\n 0xb25f: 'blake2s-248',\\n 0xb260: 'blake2s-256',\\n\\n // skein\\n 0xb301: 'Skein256-8',\\n 0xb302: 'Skein256-16',\\n 0xb303: 'Skein256-24',\\n 0xb304: 'Skein256-32',\\n 0xb305: 'Skein256-40',\\n 0xb306: 'Skein256-48',\\n 0xb307: 'Skein256-56',\\n 0xb308: 'Skein256-64',\\n 0xb309: 'Skein256-72',\\n 0xb30a: 'Skein256-80',\\n 0xb30b: 'Skein256-88',\\n 0xb30c: 'Skein256-96',\\n 0xb30d: 'Skein256-104',\\n 0xb30e: 'Skein256-112',\\n 0xb30f: 'Skein256-120',\\n 0xb310: 'Skein256-128',\\n 0xb311: 'Skein256-136',\\n 0xb312: 'Skein256-144',\\n 0xb313: 'Skein256-152',\\n 0xb314: 'Skein256-160',\\n 0xb315: 'Skein256-168',\\n 0xb316: 'Skein256-176',\\n 0xb317: 'Skein256-184',\\n 0xb318: 'Skein256-192',\\n 0xb319: 'Skein256-200',\\n 0xb31a: 'Skein256-208',\\n 0xb31b: 'Skein256-216',\\n 0xb31c: 'Skein256-224',\\n 0xb31d: 'Skein256-232',\\n 0xb31e: 'Skein256-240',\\n 0xb31f: 'Skein256-248',\\n 0xb320: 'Skein256-256',\\n 0xb321: 'Skein512-8',\\n 0xb322: 'Skein512-16',\\n 0xb323: 'Skein512-24',\\n 0xb324: 'Skein512-32',\\n 0xb325: 'Skein512-40',\\n 0xb326: 'Skein512-48',\\n 0xb327: 'Skein512-56',\\n 0xb328: 'Skein512-64',\\n 0xb329: 'Skein512-72',\\n 0xb32a: 'Skein512-80',\\n 0xb32b: 'Skein512-88',\\n 0xb32c: 'Skein512-96',\\n 0xb32d: 'Skein512-104',\\n 0xb32e: 'Skein512-112',\\n 0xb32f: 'Skein512-120',\\n 0xb330: 'Skein512-128',\\n 0xb331: 'Skein512-136',\\n 0xb332: 'Skein512-144',\\n 0xb333: 'Skein512-152',\\n 0xb334: 'Skein512-160',\\n 0xb335: 'Skein512-168',\\n 0xb336: 'Skein512-176',\\n 0xb337: 'Skein512-184',\\n 0xb338: 'Skein512-192',\\n 0xb339: 'Skein512-200',\\n 0xb33a: 'Skein512-208',\\n 0xb33b: 'Skein512-216',\\n 0xb33c: 'Skein512-224',\\n 0xb33d: 'Skein512-232',\\n 0xb33e: 'Skein512-240',\\n 0xb33f: 'Skein512-248',\\n 0xb340: 'Skein512-256',\\n 0xb341: 'Skein512-264',\\n 0xb342: 'Skein512-272',\\n 0xb343: 'Skein512-280',\\n 0xb344: 'Skein512-288',\\n 0xb345: 'Skein512-296',\\n 0xb346: 'Skein512-304',\\n 0xb347: 'Skein512-312',\\n 0xb348: 'Skein512-320',\\n 0xb349: 'Skein512-328',\\n 0xb34a: 'Skein512-336',\\n 0xb34b: 'Skein512-344',\\n 0xb34c: 'Skein512-352',\\n 0xb34d: 'Skein512-360',\\n 0xb34e: 'Skein512-368',\\n 0xb34f: 'Skein512-376',\\n 0xb350: 'Skein512-384',\\n 0xb351: 'Skein512-392',\\n 0xb352: 'Skein512-400',\\n 0xb353: 'Skein512-408',\\n 0xb354: 'Skein512-416',\\n 0xb355: 'Skein512-424',\\n 0xb356: 'Skein512-432',\\n 0xb357: 'Skein512-440',\\n 0xb358: 'Skein512-448',\\n 0xb359: 'Skein512-456',\\n 0xb35a: 'Skein512-464',\\n 0xb35b: 'Skein512-472',\\n 0xb35c: 'Skein512-480',\\n 0xb35d: 'Skein512-488',\\n 0xb35e: 'Skein512-496',\\n 0xb35f: 'Skein512-504',\\n 0xb360: 'Skein512-512',\\n 0xb361: 'Skein1024-8',\\n 0xb362: 'Skein1024-16',\\n 0xb363: 'Skein1024-24',\\n 0xb364: 'Skein1024-32',\\n 0xb365: 'Skein1024-40',\\n 0xb366: 'Skein1024-48',\\n 0xb367: 'Skein1024-56',\\n 0xb368: 'Skein1024-64',\\n 0xb369: 'Skein1024-72',\\n 0xb36a: 'Skein1024-80',\\n 0xb36b: 'Skein1024-88',\\n 0xb36c: 'Skein1024-96',\\n 0xb36d: 'Skein1024-104',\\n 0xb36e: 'Skein1024-112',\\n 0xb36f: 'Skein1024-120',\\n 0xb370: 'Skein1024-128',\\n 0xb371: 'Skein1024-136',\\n 0xb372: 'Skein1024-144',\\n 0xb373: 'Skein1024-152',\\n 0xb374: 'Skein1024-160',\\n 0xb375: 'Skein1024-168',\\n 0xb376: 'Skein1024-176',\\n 0xb377: 'Skein1024-184',\\n 0xb378: 'Skein1024-192',\\n 0xb379: 'Skein1024-200',\\n 0xb37a: 'Skein1024-208',\\n 0xb37b: 'Skein1024-216',\\n 0xb37c: 'Skein1024-224',\\n 0xb37d: 'Skein1024-232',\\n 0xb37e: 'Skein1024-240',\\n 0xb37f: 'Skein1024-248',\\n 0xb380: 'Skein1024-256',\\n 0xb381: 'Skein1024-264',\\n 0xb382: 'Skein1024-272',\\n 0xb383: 'Skein1024-280',\\n 0xb384: 'Skein1024-288',\\n 0xb385: 'Skein1024-296',\\n 0xb386: 'Skein1024-304',\\n 0xb387: 'Skein1024-312',\\n 0xb388: 'Skein1024-320',\\n 0xb389: 'Skein1024-328',\\n 0xb38a: 'Skein1024-336',\\n 0xb38b: 'Skein1024-344',\\n 0xb38c: 'Skein1024-352',\\n 0xb38d: 'Skein1024-360',\\n 0xb38e: 'Skein1024-368',\\n 0xb38f: 'Skein1024-376',\\n 0xb390: 'Skein1024-384',\\n 0xb391: 'Skein1024-392',\\n 0xb392: 'Skein1024-400',\\n 0xb393: 'Skein1024-408',\\n 0xb394: 'Skein1024-416',\\n 0xb395: 'Skein1024-424',\\n 0xb396: 'Skein1024-432',\\n 0xb397: 'Skein1024-440',\\n 0xb398: 'Skein1024-448',\\n 0xb399: 'Skein1024-456',\\n 0xb39a: 'Skein1024-464',\\n 0xb39b: 'Skein1024-472',\\n 0xb39c: 'Skein1024-480',\\n 0xb39d: 'Skein1024-488',\\n 0xb39e: 'Skein1024-496',\\n 0xb39f: 'Skein1024-504',\\n 0xb3a0: 'Skein1024-512',\\n 0xb3a1: 'Skein1024-520',\\n 0xb3a2: 'Skein1024-528',\\n 0xb3a3: 'Skein1024-536',\\n 0xb3a4: 'Skein1024-544',\\n 0xb3a5: 'Skein1024-552',\\n 0xb3a6: 'Skein1024-560',\\n 0xb3a7: 'Skein1024-568',\\n 0xb3a8: 'Skein1024-576',\\n 0xb3a9: 'Skein1024-584',\\n 0xb3aa: 'Skein1024-592',\\n 0xb3ab: 'Skein1024-600',\\n 0xb3ac: 'Skein1024-608',\\n 0xb3ad: 'Skein1024-616',\\n 0xb3ae: 'Skein1024-624',\\n 0xb3af: 'Skein1024-632',\\n 0xb3b0: 'Skein1024-640',\\n 0xb3b1: 'Skein1024-648',\\n 0xb3b2: 'Skein1024-656',\\n 0xb3b3: 'Skein1024-664',\\n 0xb3b4: 'Skein1024-672',\\n 0xb3b5: 'Skein1024-680',\\n 0xb3b6: 'Skein1024-688',\\n 0xb3b7: 'Skein1024-696',\\n 0xb3b8: 'Skein1024-704',\\n 0xb3b9: 'Skein1024-712',\\n 0xb3ba: 'Skein1024-720',\\n 0xb3bb: 'Skein1024-728',\\n 0xb3bc: 'Skein1024-736',\\n 0xb3bd: 'Skein1024-744',\\n 0xb3be: 'Skein1024-752',\\n 0xb3bf: 'Skein1024-760',\\n 0xb3c0: 'Skein1024-768',\\n 0xb3c1: 'Skein1024-776',\\n 0xb3c2: 'Skein1024-784',\\n 0xb3c3: 'Skein1024-792',\\n 0xb3c4: 'Skein1024-800',\\n 0xb3c5: 'Skein1024-808',\\n 0xb3c6: 'Skein1024-816',\\n 0xb3c7: 'Skein1024-824',\\n 0xb3c8: 'Skein1024-832',\\n 0xb3c9: 'Skein1024-840',\\n 0xb3ca: 'Skein1024-848',\\n 0xb3cb: 'Skein1024-856',\\n 0xb3cc: 'Skein1024-864',\\n 0xb3cd: 'Skein1024-872',\\n 0xb3ce: 'Skein1024-880',\\n 0xb3cf: 'Skein1024-888',\\n 0xb3d0: 'Skein1024-896',\\n 0xb3d1: 'Skein1024-904',\\n 0xb3d2: 'Skein1024-912',\\n 0xb3d3: 'Skein1024-920',\\n 0xb3d4: 'Skein1024-928',\\n 0xb3d5: 'Skein1024-936',\\n 0xb3d6: 'Skein1024-944',\\n 0xb3d7: 'Skein1024-952',\\n 0xb3d8: 'Skein1024-960',\\n 0xb3d9: 'Skein1024-968',\\n 0xb3da: 'Skein1024-976',\\n 0xb3db: 'Skein1024-984',\\n 0xb3dc: 'Skein1024-992',\\n 0xb3dd: 'Skein1024-1000',\\n 0xb3de: 'Skein1024-1008',\\n 0xb3df: 'Skein1024-1016',\\n 0xb3e0: 'Skein1024-1024'\\n})\\n\\nexports.defaultLengths = Object.freeze({\\n 0x11: 20,\\n 0x12: 32,\\n 0x13: 64,\\n 0x56: 32,\\n 0x17: 28,\\n 0x16: 32,\\n 0x15: 48,\\n 0x14: 64,\\n 0x18: 32,\\n 0x19: 64,\\n 0x1A: 28,\\n 0x1B: 32,\\n 0x1C: 48,\\n 0x1D: 64,\\n 0x22: 32,\\n\\n 0xb201: 0x01,\\n 0xb202: 0x02,\\n 0xb203: 0x03,\\n 0xb204: 0x04,\\n 0xb205: 0x05,\\n 0xb206: 0x06,\\n 0xb207: 0x07,\\n 0xb208: 0x08,\\n 0xb209: 0x09,\\n 0xb20a: 0x0a,\\n 0xb20b: 0x0b,\\n 0xb20c: 0x0c,\\n 0xb20d: 0x0d,\\n 0xb20e: 0x0e,\\n 0xb20f: 0x0f,\\n 0xb210: 0x10,\\n 0xb211: 0x11,\\n 0xb212: 0x12,\\n 0xb213: 0x13,\\n 0xb214: 0x14,\\n 0xb215: 0x15,\\n 0xb216: 0x16,\\n 0xb217: 0x17,\\n 0xb218: 0x18,\\n 0xb219: 0x19,\\n 0xb21a: 0x1a,\\n 0xb21b: 0x1b,\\n 0xb21c: 0x1c,\\n 0xb21d: 0x1d,\\n 0xb21e: 0x1e,\\n 0xb21f: 0x1f,\\n 0xb220: 0x20,\\n 0xb221: 0x21,\\n 0xb222: 0x22,\\n 0xb223: 0x23,\\n 0xb224: 0x24,\\n 0xb225: 0x25,\\n 0xb226: 0x26,\\n 0xb227: 0x27,\\n 0xb228: 0x28,\\n 0xb229: 0x29,\\n 0xb22a: 0x2a,\\n 0xb22b: 0x2b,\\n 0xb22c: 0x2c,\\n 0xb22d: 0x2d,\\n 0xb22e: 0x2e,\\n 0xb22f: 0x2f,\\n 0xb230: 0x30,\\n 0xb231: 0x31,\\n 0xb232: 0x32,\\n 0xb233: 0x33,\\n 0xb234: 0x34,\\n 0xb235: 0x35,\\n 0xb236: 0x36,\\n 0xb237: 0x37,\\n 0xb238: 0x38,\\n 0xb239: 0x39,\\n 0xb23a: 0x3a,\\n 0xb23b: 0x3b,\\n 0xb23c: 0x3c,\\n 0xb23d: 0x3d,\\n 0xb23e: 0x3e,\\n 0xb23f: 0x3f,\\n 0xb240: 0x40,\\n 0xb241: 0x01,\\n 0xb242: 0x02,\\n 0xb243: 0x03,\\n 0xb244: 0x04,\\n 0xb245: 0x05,\\n 0xb246: 0x06,\\n 0xb247: 0x07,\\n 0xb248: 0x08,\\n 0xb249: 0x09,\\n 0xb24a: 0x0a,\\n 0xb24b: 0x0b,\\n 0xb24c: 0x0c,\\n 0xb24d: 0x0d,\\n 0xb24e: 0x0e,\\n 0xb24f: 0x0f,\\n 0xb250: 0x10,\\n 0xb251: 0x11,\\n 0xb252: 0x12,\\n 0xb253: 0x13,\\n 0xb254: 0x14,\\n 0xb255: 0x15,\\n 0xb256: 0x16,\\n 0xb257: 0x17,\\n 0xb258: 0x18,\\n 0xb259: 0x19,\\n 0xb25a: 0x1a,\\n 0xb25b: 0x1b,\\n 0xb25c: 0x1c,\\n 0xb25d: 0x1d,\\n 0xb25e: 0x1e,\\n 0xb25f: 0x1f,\\n 0xb260: 0x20,\\n 0xb301: 0x01,\\n 0xb302: 0x02,\\n 0xb303: 0x03,\\n 0xb304: 0x04,\\n 0xb305: 0x05,\\n 0xb306: 0x06,\\n 0xb307: 0x07,\\n 0xb308: 0x08,\\n 0xb309: 0x09,\\n 0xb30a: 0x0a,\\n 0xb30b: 0x0b,\\n 0xb30c: 0x0c,\\n 0xb30d: 0x0d,\\n 0xb30e: 0x0e,\\n 0xb30f: 0x0f,\\n 0xb310: 0x10,\\n 0xb311: 0x11,\\n 0xb312: 0x12,\\n 0xb313: 0x13,\\n 0xb314: 0x14,\\n 0xb315: 0x15,\\n 0xb316: 0x16,\\n 0xb317: 0x17,\\n 0xb318: 0x18,\\n 0xb319: 0x19,\\n 0xb31a: 0x1a,\\n 0xb31b: 0x1b,\\n 0xb31c: 0x1c,\\n 0xb31d: 0x1d,\\n 0xb31e: 0x1e,\\n 0xb31f: 0x1f,\\n 0xb320: 0x20,\\n 0xb321: 0x01,\\n 0xb322: 0x02,\\n 0xb323: 0x03,\\n 0xb324: 0x04,\\n 0xb325: 0x05,\\n 0xb326: 0x06,\\n 0xb327: 0x07,\\n 0xb328: 0x08,\\n 0xb329: 0x09,\\n 0xb32a: 0x0a,\\n 0xb32b: 0x0b,\\n 0xb32c: 0x0c,\\n 0xb32d: 0x0d,\\n 0xb32e: 0x0e,\\n 0xb32f: 0x0f,\\n 0xb330: 0x10,\\n 0xb331: 0x11,\\n 0xb332: 0x12,\\n 0xb333: 0x13,\\n 0xb334: 0x14,\\n 0xb335: 0x15,\\n 0xb336: 0x16,\\n 0xb337: 0x17,\\n 0xb338: 0x18,\\n 0xb339: 0x19,\\n 0xb33a: 0x1a,\\n 0xb33b: 0x1b,\\n 0xb33c: 0x1c,\\n 0xb33d: 0x1d,\\n 0xb33e: 0x1e,\\n 0xb33f: 0x1f,\\n 0xb340: 0x20,\\n 0xb341: 0x21,\\n 0xb342: 0x22,\\n 0xb343: 0x23,\\n 0xb344: 0x24,\\n 0xb345: 0x25,\\n 0xb346: 0x26,\\n 0xb347: 0x27,\\n 0xb348: 0x28,\\n 0xb349: 0x29,\\n 0xb34a: 0x2a,\\n 0xb34b: 0x2b,\\n 0xb34c: 0x2c,\\n 0xb34d: 0x2d,\\n 0xb34e: 0x2e,\\n 0xb34f: 0x2f,\\n 0xb350: 0x30,\\n 0xb351: 0x31,\\n 0xb352: 0x32,\\n 0xb353: 0x33,\\n 0xb354: 0x34,\\n 0xb355: 0x35,\\n 0xb356: 0x36,\\n 0xb357: 0x37,\\n 0xb358: 0x38,\\n 0xb359: 0x39,\\n 0xb35a: 0x3a,\\n 0xb35b: 0x3b,\\n 0xb35c: 0x3c,\\n 0xb35d: 0x3d,\\n 0xb35e: 0x3e,\\n 0xb35f: 0x3f,\\n 0xb360: 0x40,\\n 0xb361: 0x01,\\n 0xb362: 0x02,\\n 0xb363: 0x03,\\n 0xb364: 0x04,\\n 0xb365: 0x05,\\n 0xb366: 0x06,\\n 0xb367: 0x07,\\n 0xb368: 0x08,\\n 0xb369: 0x09,\\n 0xb36a: 0x0a,\\n 0xb36b: 0x0b,\\n 0xb36c: 0x0c,\\n 0xb36d: 0x0d,\\n 0xb36e: 0x0e,\\n 0xb36f: 0x0f,\\n 0xb370: 0x10,\\n 0xb371: 0x11,\\n 0xb372: 0x12,\\n 0xb373: 0x13,\\n 0xb374: 0x14,\\n 0xb375: 0x15,\\n 0xb376: 0x16,\\n 0xb377: 0x17,\\n 0xb378: 0x18,\\n 0xb379: 0x19,\\n 0xb37a: 0x1a,\\n 0xb37b: 0x1b,\\n 0xb37c: 0x1c,\\n 0xb37d: 0x1d,\\n 0xb37e: 0x1e,\\n 0xb37f: 0x1f,\\n 0xb380: 0x20,\\n 0xb381: 0x21,\\n 0xb382: 0x22,\\n 0xb383: 0x23,\\n 0xb384: 0x24,\\n 0xb385: 0x25,\\n 0xb386: 0x26,\\n 0xb387: 0x27,\\n 0xb388: 0x28,\\n 0xb389: 0x29,\\n 0xb38a: 0x2a,\\n 0xb38b: 0x2b,\\n 0xb38c: 0x2c,\\n 0xb38d: 0x2d,\\n 0xb38e: 0x2e,\\n 0xb38f: 0x2f,\\n 0xb390: 0x30,\\n 0xb391: 0x31,\\n 0xb392: 0x32,\\n 0xb393: 0x33,\\n 0xb394: 0x34,\\n 0xb395: 0x35,\\n 0xb396: 0x36,\\n 0xb397: 0x37,\\n 0xb398: 0x38,\\n 0xb399: 0x39,\\n 0xb39a: 0x3a,\\n 0xb39b: 0x3b,\\n 0xb39c: 0x3c,\\n 0xb39d: 0x3d,\\n 0xb39e: 0x3e,\\n 0xb39f: 0x3f,\\n 0xb3a0: 0x40,\\n 0xb3a1: 0x41,\\n 0xb3a2: 0x42,\\n 0xb3a3: 0x43,\\n 0xb3a4: 0x44,\\n 0xb3a5: 0x45,\\n 0xb3a6: 0x46,\\n 0xb3a7: 0x47,\\n 0xb3a8: 0x48,\\n 0xb3a9: 0x49,\\n 0xb3aa: 0x4a,\\n 0xb3ab: 0x4b,\\n 0xb3ac: 0x4c,\\n 0xb3ad: 0x4d,\\n 0xb3ae: 0x4e,\\n 0xb3af: 0x4f,\\n 0xb3b0: 0x50,\\n 0xb3b1: 0x51,\\n 0xb3b2: 0x52,\\n 0xb3b3: 0x53,\\n 0xb3b4: 0x54,\\n 0xb3b5: 0x55,\\n 0xb3b6: 0x56,\\n 0xb3b7: 0x57,\\n 0xb3b8: 0x58,\\n 0xb3b9: 0x59,\\n 0xb3ba: 0x5a,\\n 0xb3bb: 0x5b,\\n 0xb3bc: 0x5c,\\n 0xb3bd: 0x5d,\\n 0xb3be: 0x5e,\\n 0xb3bf: 0x5f,\\n 0xb3c0: 0x60,\\n 0xb3c1: 0x61,\\n 0xb3c2: 0x62,\\n 0xb3c3: 0x63,\\n 0xb3c4: 0x64,\\n 0xb3c5: 0x65,\\n 0xb3c6: 0x66,\\n 0xb3c7: 0x67,\\n 0xb3c8: 0x68,\\n 0xb3c9: 0x69,\\n 0xb3ca: 0x6a,\\n 0xb3cb: 0x6b,\\n 0xb3cc: 0x6c,\\n 0xb3cd: 0x6d,\\n 0xb3ce: 0x6e,\\n 0xb3cf: 0x6f,\\n 0xb3d0: 0x70,\\n 0xb3d1: 0x71,\\n 0xb3d2: 0x72,\\n 0xb3d3: 0x73,\\n 0xb3d4: 0x74,\\n 0xb3d5: 0x75,\\n 0xb3d6: 0x76,\\n 0xb3d7: 0x77,\\n 0xb3d8: 0x78,\\n 0xb3d9: 0x79,\\n 0xb3da: 0x7a,\\n 0xb3db: 0x7b,\\n 0xb3dc: 0x7c,\\n 0xb3dd: 0x7d,\\n 0xb3de: 0x7e,\\n 0xb3df: 0x7f,\\n 0xb3e0: 0x80\\n})\\n\\n},{}],62:[function(require,module,exports){\\n/**\\n * Multihash implementation in JavaScript.\\n *\\n * @module multihash\\n */\\n'use strict'\\n\\nconst { Buffer } = require('buffer')\\nconst multibase = require('multibase')\\nconst varint = require('varint')\\nconst cs = require('./constants')\\n\\nexports.names = cs.names\\nexports.codes = cs.codes\\nexports.defaultLengths = cs.defaultLengths\\n\\n/**\\n * Convert the given multihash to a hex encoded string.\\n *\\n * @param {Buffer} hash\\n * @returns {string}\\n */\\nexports.toHexString = function toHexString (hash) {\\n if (!Buffer.isBuffer(hash)) {\\n throw new Error('must be passed a buffer')\\n }\\n\\n return hash.toString('hex')\\n}\\n\\n/**\\n * Convert the given hex encoded string to a multihash.\\n *\\n * @param {string} hash\\n * @returns {Buffer}\\n */\\nexports.fromHexString = function fromHexString (hash) {\\n return Buffer.from(hash, 'hex')\\n}\\n\\n/**\\n * Convert the given multihash to a base58 encoded string.\\n *\\n * @param {Buffer} hash\\n * @returns {string}\\n */\\nexports.toB58String = function toB58String (hash) {\\n if (!Buffer.isBuffer(hash)) {\\n throw new Error('must be passed a buffer')\\n }\\n\\n return multibase.encode('base58btc', hash).toString().slice(1)\\n}\\n\\n/**\\n * Convert the given base58 encoded string to a multihash.\\n *\\n * @param {string|Buffer} hash\\n * @returns {Buffer}\\n */\\nexports.fromB58String = function fromB58String (hash) {\\n let encoded = hash\\n if (Buffer.isBuffer(hash)) {\\n encoded = hash.toString()\\n }\\n\\n return multibase.decode('z' + encoded)\\n}\\n\\n/**\\n * Decode a hash from the given multihash.\\n *\\n * @param {Buffer} buf\\n * @returns {{code: number, name: string, length: number, digest: Buffer}} result\\n */\\nexports.decode = function decode (buf) {\\n if (!(Buffer.isBuffer(buf))) {\\n throw new Error('multihash must be a Buffer')\\n }\\n\\n if (buf.length \u003C 2) {\\n throw new Error('multihash too short. must be > 2 bytes.')\\n }\\n\\n const code = varint.decode(buf)\\n if (!exports.isValidCode(code)) {\\n throw new Error(`multihash unknown function code: 0x${code.toString(16)}`)\\n }\\n buf = buf.slice(varint.decode.bytes)\\n\\n const len = varint.decode(buf)\\n if (len \u003C 0) {\\n throw new Error(`multihash invalid length: ${len}`)\\n }\\n buf = buf.slice(varint.decode.bytes)\\n\\n if (buf.length !== len) {\\n throw new Error(`multihash length inconsistent: 0x${buf.toString('hex')}`)\\n }\\n\\n return {\\n code: code,\\n name: cs.codes[code],\\n length: len,\\n digest: buf\\n }\\n}\\n\\n/**\\n * Encode a hash digest along with the specified function code.\\n *\\n * > **Note:** the length is derived from the length of the digest itself.\\n *\\n * @param {Buffer} digest\\n * @param {string|number} code\\n * @param {number} [length]\\n * @returns {Buffer}\\n */\\nexports.encode = function encode (digest, code, length) {\\n if (!digest || code === undefined) {\\n throw new Error('multihash encode requires at least two args: digest, code')\\n }\\n\\n // ensure it's a hashfunction code.\\n const hashfn = exports.coerceCode(code)\\n\\n if (!(Buffer.isBuffer(digest))) {\\n throw new Error('digest should be a Buffer')\\n }\\n\\n if (length == null) {\\n length = digest.length\\n }\\n\\n if (length && digest.length !== length) {\\n throw new Error('digest length should be equal to specified length.')\\n }\\n\\n return Buffer.concat([\\n Buffer.from(varint.encode(hashfn)),\\n Buffer.from(varint.encode(length)),\\n digest\\n ])\\n}\\n\\n/**\\n * Converts a hash function name into the matching code.\\n * If passed a number it will return the number if it's a valid code.\\n * @param {string|number} name\\n * @returns {number}\\n */\\nexports.coerceCode = function coerceCode (name) {\\n let code = name\\n\\n if (typeof name === 'string') {\\n if (cs.names[name] === undefined) {\\n throw new Error(`Unrecognized hash function named: ${name}`)\\n }\\n code = cs.names[name]\\n }\\n\\n if (typeof code !== 'number') {\\n throw new Error(`Hash function code should be a number. Got: ${code}`)\\n }\\n\\n if (cs.codes[code] === undefined && !exports.isAppCode(code)) {\\n throw new Error(`Unrecognized function code: ${code}`)\\n }\\n\\n return code\\n}\\n\\n/**\\n * Checks wether a code is part of the app range\\n *\\n * @param {number} code\\n * @returns {boolean}\\n */\\nexports.isAppCode = function appCode (code) {\\n return code > 0 && code \u003C 0x10\\n}\\n\\n/**\\n * Checks whether a multihash code is valid.\\n *\\n * @param {number} code\\n * @returns {boolean}\\n */\\nexports.isValidCode = function validCode (code) {\\n if (exports.isAppCode(code)) {\\n return true\\n }\\n\\n if (cs.codes[code]) {\\n return true\\n }\\n\\n return false\\n}\\n\\n/**\\n * Check if the given buffer is a valid multihash. Throws an error if it is not valid.\\n *\\n * @param {Buffer} multihash\\n * @returns {undefined}\\n * @throws {Error}\\n */\\nfunction validate (multihash) {\\n exports.decode(multihash) // throws if bad.\\n}\\nexports.validate = validate\\n\\n/**\\n * Returns a prefix from a valid multihash. Throws an error if it is not valid.\\n *\\n * @param {Buffer} multihash\\n * @returns {undefined}\\n * @throws {Error}\\n */\\nexports.prefix = function prefix (multihash) {\\n validate(multihash)\\n\\n return multihash.slice(0, 2)\\n}\\n\\n},{\\\"./constants\\\":61,\\\"buffer\\\":5,\\\"multibase\\\":53,\\\"varint\\\":67}],63:[function(require,module,exports){\\n/*! safe-buffer. MIT License. Feross Aboukhadijeh \u003Chttps://feross.org/opensource> */\\n/* eslint-disable node/no-deprecated-api */\\nvar buffer = require('buffer')\\nvar Buffer = buffer.Buffer\\n\\n// alternative to using Object.keys for old browsers\\nfunction copyProps (src, dst) {\\n for (var key in src) {\\n dst[key] = src[key]\\n }\\n}\\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\\n module.exports = buffer\\n} else {\\n // Copy properties from require('buffer')\\n copyProps(buffer, exports)\\n exports.Buffer = SafeBuffer\\n}\\n\\nfunction SafeBuffer (arg, encodingOrOffset, length) {\\n return Buffer(arg, encodingOrOffset, length)\\n}\\n\\nSafeBuffer.prototype = Object.create(Buffer.prototype)\\n\\n// Copy static methods from Buffer\\ncopyProps(Buffer, SafeBuffer)\\n\\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\\n if (typeof arg === 'number') {\\n throw new TypeError('Argument must not be a number')\\n }\\n return Buffer(arg, encodingOrOffset, length)\\n}\\n\\nSafeBuffer.alloc = function (size, fill, encoding) {\\n if (typeof size !== 'number') {\\n throw new TypeError('Argument must be a number')\\n }\\n var buf = Buffer(size)\\n if (fill !== undefined) {\\n if (typeof encoding === 'string') {\\n buf.fill(fill, encoding)\\n } else {\\n buf.fill(fill)\\n }\\n } else {\\n buf.fill(0)\\n }\\n return buf\\n}\\n\\nSafeBuffer.allocUnsafe = function (size) {\\n if (typeof size !== 'number') {\\n throw new TypeError('Argument must be a number')\\n }\\n return Buffer(size)\\n}\\n\\nSafeBuffer.allocUnsafeSlow = function (size) {\\n if (typeof size !== 'number') {\\n throw new TypeError('Argument must be a number')\\n }\\n return buffer.SlowBuffer(size)\\n}\\n\\n},{\\\"buffer\\\":5}],64:[function(require,module,exports){\\n(function (global){\\n\\\"use strict\\\";\\nvar g;\\n\\n\\n\\nif (typeof window !== \\\"undefined\\\")\\n{\\n\\tg = window;\\n}\\nelse if (typeof global !== \\\"undefined\\\")\\n{\\n\\tg = global;\\n}\\nelse if (typeof self !== \\\"undefined\\\")\\n{\\n\\tg = self;\\n}\\nelse\\n{\\n\\tg = this;\\n}\\n\\n\\n\\nvar output =\\n{\\n\\tshim: function(){},\\n\\tURL: g.URL,\\n\\tURLSearchParams: g.URLSearchParams\\n};\\n\\n\\n\\nif (typeof define === \\\"function\\\" && define.amd)\\n{\\n\\tdefine(function(){ return output });\\n}\\nelse if (typeof exports === \\\"object\\\")\\n{\\n\\tmodule.exports = output;\\n}\\nelse\\n{\\n\\tg.UniversalURL = output;\\n}\\n\\n}).call(this,typeof global !== \\\"undefined\\\" ? global : typeof self !== \\\"undefined\\\" ? self : typeof window !== \\\"undefined\\\" ? window : {})\\n},{}],65:[function(require,module,exports){\\nmodule.exports = read\\n\\nvar MSB = 0x80\\n , REST = 0x7F\\n\\nfunction read(buf, offset) {\\n var res = 0\\n , offset = offset || 0\\n , shift = 0\\n , counter = offset\\n , b\\n , l = buf.length\\n\\n do {\\n if (counter >= l) {\\n read.bytes = 0\\n throw new RangeError('Could not decode varint')\\n }\\n b = buf[counter++]\\n res += shift \u003C 28\\n ? (b & REST) \u003C\u003C shift\\n : (b & REST) * Math.pow(2, shift)\\n shift += 7\\n } while (b >= MSB)\\n\\n read.bytes = counter - offset\\n\\n return res\\n}\\n\\n},{}],66:[function(require,module,exports){\\nmodule.exports = encode\\n\\nvar MSB = 0x80\\n , REST = 0x7F\\n , MSBALL = ~REST\\n , INT = Math.pow(2, 31)\\n\\nfunction encode(num, out, offset) {\\n out = out || []\\n offset = offset || 0\\n var oldOffset = offset\\n\\n while(num >= INT) {\\n out[offset++] = (num & 0xFF) | MSB\\n num /= 128\\n }\\n while(num & MSBALL) {\\n out[offset++] = (num & 0xFF) | MSB\\n num >>>= 7\\n }\\n out[offset] = num | 0\\n \\n encode.bytes = offset - oldOffset + 1\\n \\n return out\\n}\\n\\n},{}],67:[function(require,module,exports){\\nmodule.exports = {\\n encode: require('./encode.js')\\n , decode: require('./decode.js')\\n , encodingLength: require('./length.js')\\n}\\n\\n},{\\\"./decode.js\\\":65,\\\"./encode.js\\\":66,\\\"./length.js\\\":68}],68:[function(require,module,exports){\\n\\nvar N1 = Math.pow(2, 7)\\nvar N2 = Math.pow(2, 14)\\nvar N3 = Math.pow(2, 21)\\nvar N4 = Math.pow(2, 28)\\nvar N5 = Math.pow(2, 35)\\nvar N6 = Math.pow(2, 42)\\nvar N7 = Math.pow(2, 49)\\nvar N8 = Math.pow(2, 56)\\nvar N9 = Math.pow(2, 63)\\n\\nmodule.exports = function (value) {\\n return (\\n value \u003C N1 ? 1\\n : value \u003C N2 ? 2\\n : value \u003C N3 ? 3\\n : value \u003C N4 ? 4\\n : value \u003C N5 ? 5\\n : value \u003C N6 ? 6\\n : value \u003C N7 ? 7\\n : value \u003C N8 ? 8\\n : value \u003C N9 ? 9\\n : 10\\n )\\n}\\n\\n},{}],69:[function(require,module,exports){\\n(function (global){\\n'use strict'\\nmodule.exports = (typeof self === 'object' && self.self === self && self) ||\\n (typeof global === 'object' && global.global === global && global) ||\\n this\\n\\n}).call(this,typeof global !== \\\"undefined\\\" ? global : typeof self !== \\\"undefined\\\" ? self : typeof window !== \\\"undefined\\\" ? window : {})\\n},{}],70:[function(require,module,exports){\\n\\\"use strict\\\";\\n\\nvar _interopRequireDefault = require(\\\"@babel/runtime/helpers/interopRequireDefault\\\");\\n\\nvar _cids = _interopRequireDefault(require(\\\"cids\\\"));\\n\\nvar _contentHash = _interopRequireDefault(require(\\\"content-hash\\\"));\\n\\nvar _windowOrGlobal = _interopRequireDefault(require(\\\"window-or-global\\\"));\\n\\n(function () {\\n /*jslint node: true, browser: true*/\\n 'use strict';\\n\\n const name = 'ens-library'; // https://github.com/ensdomains/resolvers\\n\\n var EnsLibrary = function (ipfsLoader) {\\n this.ipfsLoader = ipfsLoader;\\n this.network = {\\n 1: 'Ethereum Main Network: \\\"Mainnet\\\", chainId: \\\"1\\\"',\\n 3: 'Ethereum Test Network (PoW): \\\"Ropsten\\\", chainId: \\\"3\\\"',\\n 4: 'Ethereum Test Network (PoA): \\\"Rinkeby\\\", chainId: \\\"4\\\"',\\n 5: 'Ethereum Test Network (PoA): \\\"Goerli\\\", chainId: \\\"5\\\"',\\n 42: 'Ethereum Test Network (PoA): \\\"Kovan\\\", chainId: \\\"42\\\"'\\n };\\n this.etherscan = {\\n 1: 'https://etherscan.io',\\n 3: 'https://ropsten.etherscan.io',\\n 4: 'https://rinkeby.etherscan.io',\\n 5: 'https://goerli.etherscan.io',\\n 42: 'https://kovan.etherscan.io'\\n }; // https://docs.ens.domains/ens-deployments\\n // https://github.com/ensdomains/ui/blob/master/src/ens.js\\n\\n this.registry = {\\n 1: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',\\n 3: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',\\n 4: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',\\n 5: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e'\\n };\\n };\\n\\n EnsLibrary.prototype.getLogger = function () {\\n return _windowOrGlobal.default.log.getLogger(name);\\n };\\n\\n EnsLibrary.prototype.getEtherscanRegistry = function () {\\n return this.etherscan;\\n };\\n\\n EnsLibrary.prototype.getNetwork = function () {\\n return this.network;\\n };\\n\\n EnsLibrary.prototype.getENSRegistry = function () {\\n return this.registry;\\n };\\n\\n EnsLibrary.prototype.loadEthers = async function () {\\n if (_windowOrGlobal.default.ethers === undefined || _windowOrGlobal.default.ethers == null) {\\n try {\\n // Load ethers\\n await this.ipfsLoader.loadEtherJsLibrary();\\n\\n if (_windowOrGlobal.default.ethers !== undefined && _windowOrGlobal.default.ethers !== null) {\\n return;\\n }\\n } catch (error) {\\n this.getLogger().error(error);\\n } // Should not happen...\\n\\n\\n throw new Error('Unavailable Ethereum library...');\\n }\\n }; // https://github.com/ensdomains/ui/blob/master/src/utils/contents.js\\n\\n\\n EnsLibrary.prototype.decodeContenthash = function (content) {\\n var decoded = null;\\n var protocol = null;\\n\\n if (content.error) {\\n throw new Error(content.error);\\n }\\n\\n if (content) {\\n const codec = _contentHash.default.getCodec(content);\\n\\n decoded = _contentHash.default.decode(content);\\n\\n if (codec === 'ipfs-ns') {\\n protocol = 'ipfs';\\n } else if (codec === 'swarm-ns') {\\n protocol = 'bzz';\\n } else if (codec === 'onion') {\\n protocol = 'onion';\\n } else if (codec === 'onion3') {\\n protocol = 'onion3';\\n }\\n }\\n\\n return {\\n decoded: decoded,\\n protocol: protocol\\n };\\n }; // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1577.md\\n\\n\\n EnsLibrary.prototype.encodeContenthash = function (content) {\\n var type = null;\\n var text = null;\\n var encoded = null;\\n content = content === undefined || content == null || content.trim() === '' ? null : content.trim();\\n\\n if (content == null) {\\n return null;\\n }\\n\\n const matched = content.match(/^(ipfs|bzz|onion|onion3):\\\\/\\\\/(.*)/) || content.match(/\\\\/(ipfs)\\\\/(.*)/);\\n\\n if (matched) {\\n type = matched[1];\\n text = matched[2];\\n }\\n\\n if (type === 'ipfs') {\\n if (text.length >= 4) {\\n const cid = new _cids.default(text);\\n\\n if (cid.version !== 0) {\\n throw new Error(`ENS domain content should be Base58 (CidV0): ${text}`);\\n }\\n\\n encoded = '0x' + _contentHash.default.fromIpfs(text);\\n }\\n } else {\\n throw new Error(`Unsupported ENS domain protocol: ${type}`);\\n }\\n\\n return {\\n encoded: encoded\\n };\\n };\\n\\n EnsLibrary.prototype.enableProvider = async function (provider) {\\n if (provider === undefined || provider == null) {\\n throw new Error('Undefined Ethereum provider...');\\n } // Enable Provider\\n\\n\\n var accounts = null; // Handle connection, per EIP 1102\\n\\n if (typeof provider.send === 'function') {\\n try {\\n await provider.send('eth_requestAccounts');\\n } catch (error) {\\n // EIP 1193 userRejectedRequest error\\n if (error.code === 4001) {\\n throw new Error('User rejected request...');\\n }\\n\\n throw new Error(error.message);\\n } // Handle user accounts per EIP 1193\\n\\n\\n accounts = await provider.send('eth_accounts'); // https://medium.com/metamask/breaking-changes-to-the-metamask-inpage-provider-b4dde069dd0a\\n // Metamask returns accounts.results rather than an array as described in their above communication\\n\\n if (accounts !== undefined && accounts !== null && typeof accounts.result !== 'undefined' && Array.isArray(accounts.result)) {\\n accounts = accounts.result;\\n } // Legacy\\n\\n } else if (typeof provider.enable === 'function') {\\n accounts = await provider.enable();\\n }\\n\\n if (accounts === undefined || accounts == null || Array.isArray(accounts) === false || accounts.length === 0) {\\n throw new Error('Unable to retrieve an Ethereum account...');\\n } // Return First account\\n\\n\\n return accounts[0];\\n };\\n\\n EnsLibrary.prototype.getProvider = function () {\\n // Retrieve an available Ethereum provider\\n var provider = null;\\n\\n if (typeof _windowOrGlobal.default.ethereum !== 'undefined') {\\n provider = _windowOrGlobal.default.ethereum;\\n this.getLogger().info('Ethereum provider: \\\"window.ethereum\\\"...');\\n }\\n\\n if (provider == null && _windowOrGlobal.default.web3 !== undefined && _windowOrGlobal.default.web3.currentProvider !== undefined) {\\n provider = _windowOrGlobal.default.web3.currentProvider;\\n this.getLogger().info('Ethereum provider: \\\"window.web3.currentProvider\\\"...');\\n }\\n\\n if (provider == null) {\\n throw new Error('Unable to retrieve an Ethereum provider...');\\n } // https://docs.metamask.io/guide/ethereum-provider.html#methods-current-api\\n\\n\\n if (provider.isMetaMask) {\\n provider.autoRefreshOnNetworkChange = false;\\n } // return provider\\n\\n\\n return provider;\\n };\\n\\n EnsLibrary.prototype.getEnabledWeb3Provider = async function (provider) {\\n if (provider === undefined || provider == null) {\\n throw new Error('Undefined Ethereum provider...');\\n }\\n\\n if (_windowOrGlobal.default.ethers === undefined || _windowOrGlobal.default.ethers == null) {\\n await this.loadEthers();\\n } // Enable provider\\n // https://github.com/ethers-io/ethers.js/issues/433\\n\\n\\n const account = await this.enableProvider(provider); // Instantiate a Web3Provider\\n\\n const web3 = new _windowOrGlobal.default.ethers.providers.Web3Provider(provider); // Retrieve current network\\n\\n const network = await web3.getNetwork();\\n return {\\n web3: web3,\\n chainId: network.chainId,\\n account: account\\n };\\n };\\n\\n EnsLibrary.prototype.getWeb3Provider = async function (provider) {\\n if (provider === undefined || provider == null) {\\n throw new Error('Undefined Ethereum provider...');\\n }\\n\\n if (_windowOrGlobal.default.ethers === undefined || _windowOrGlobal.default.ethers == null) {\\n await this.loadEthers();\\n } // Instantiate an ethers Web3Provider\\n\\n\\n const web3 = new _windowOrGlobal.default.ethers.providers.Web3Provider(provider); // Retrieve the current network\\n\\n const network = await web3.getNetwork();\\n return {\\n web3: web3,\\n chainId: network.chainId\\n };\\n };\\n\\n EnsLibrary.prototype.getRegistry = async function (web3) {\\n if (web3 === undefined || web3 == null) {\\n throw new Error('Undefined Web3 provider...');\\n } // Retrieve network\\n\\n\\n const network = await web3.getNetwork(); // Retrieve an Ethereum ENS Registry address\\n\\n var registry = null;\\n\\n try {\\n registry = this.registry[network.chainId];\\n } catch (error) {\\n this.getLogger().error(error);\\n }\\n\\n if (registry === undefined || registry == null) {\\n throw new Error(`Unsupported Ethereum network: ${network.chainId}`);\\n } // Return registry address\\n\\n\\n return {\\n chainId: network.chainId,\\n registry: registry\\n };\\n };\\n\\n EnsLibrary.prototype.getResolver = async function (web3, registry, node) {\\n if (web3 === undefined || web3 == null) {\\n throw new Error('Undefined Web3 provider...');\\n }\\n\\n node = node === undefined || node == null || node.trim() === '' ? null : node.trim();\\n\\n if (node == null) {\\n throw new Error('Undefined ENS domain resolver...');\\n }\\n\\n registry = registry === undefined || registry == null || registry.trim() === '' ? null : registry.trim();\\n\\n if (registry == null) {\\n throw new Error('Undefined ENS registry address...');\\n }\\n\\n if (_windowOrGlobal.default.ethers === undefined || _windowOrGlobal.default.ethers == null) {\\n await this.loadEthers();\\n } // Low level call\\n\\n\\n const abi = [{\\n name: 'resolver',\\n type: 'function',\\n inputs: [{\\n type: 'bytes32'\\n }]\\n }];\\n const iface = new _windowOrGlobal.default.ethers.utils.Interface(abi);\\n const data = iface.functions.resolver.encode([node]);\\n const result = await web3.call({\\n to: registry,\\n data: data\\n });\\n\\n if (result === undefined || result == null || result === '0x') {\\n return null;\\n } // decode if applicable\\n\\n\\n try {\\n const decoded = _windowOrGlobal.default.ethers.utils.defaultAbiCoder.decode(['address'], result);\\n\\n return decoded[0];\\n } catch (error) {\\n this.getLogger().error(error);\\n } // Return\\n\\n\\n return null;\\n }; // https://eips.ethereum.org/EIPS/eip-165\\n\\n\\n EnsLibrary.prototype.checkEip165 = async function (web3, address) {\\n if (web3 === undefined || web3 == null) {\\n throw new Error('Undefined Web3 provider...');\\n }\\n\\n address = address === undefined || address == null || address.trim() === '' ? null : address.trim();\\n\\n if (address == null) {\\n throw new Error('Undefined Ethereum address...');\\n }\\n\\n if (_windowOrGlobal.default.ethers === undefined || _windowOrGlobal.default.ethers == null) {\\n await this.loadEthers();\\n } // true when interfaceID is 0x01ffc9a7\\n\\n\\n var abi = [{\\n name: 'supportsInterface',\\n type: 'function',\\n inputs: [{\\n type: 'bytes4'\\n }]\\n }];\\n var iface = new _windowOrGlobal.default.ethers.utils.Interface(abi);\\n var data = iface.functions.supportsInterface.encode(['0x01ffc9a7']);\\n var result = await web3.call({\\n to: address,\\n data: data\\n });\\n\\n if (result === undefined || result == null || result === '0x') {\\n return false;\\n } // decode\\n\\n\\n try {\\n var decoded = _windowOrGlobal.default.ethers.utils.defaultAbiCoder.decode(['bool'], result);\\n\\n if (decoded[0] === false) {\\n return false;\\n }\\n } catch (error) {\\n this.getLogger().error(error);\\n return false;\\n } // false when interfaceID is 0xffffffff\\n\\n\\n var data = iface.functions.supportsInterface.encode(['0xffffffff']);\\n var result = await web3.call({\\n to: address,\\n data: data\\n });\\n\\n if (result === undefined || result == null || result === '0x') {\\n return false;\\n } // decode\\n\\n\\n try {\\n var decoded = _windowOrGlobal.default.ethers.utils.defaultAbiCoder.decode(['bool'], result); // conform to spec\\n\\n\\n if (decoded[0] === false) {\\n return true;\\n }\\n } catch (error) {\\n this.getLogger().error(error);\\n } // do not conform to spec\\n\\n\\n return false;\\n }; // https://eips.ethereum.org/EIPS/eip-1577\\n\\n\\n EnsLibrary.prototype.checkEip1577 = async function (web3, address) {\\n if (web3 === undefined || web3 == null) {\\n throw new Error('Undefined Web3 provider...');\\n }\\n\\n address = address === undefined || address == null || address.trim() === '' ? null : address.trim();\\n\\n if (address == null) {\\n throw new Error('Undefined Ethereum address...');\\n }\\n\\n if (_windowOrGlobal.default.ethers === undefined || _windowOrGlobal.default.ethers == null) {\\n await this.loadEthers();\\n } // contenthash, true when interfaceID is 0xbc1c58d1\\n\\n\\n var abi = [{\\n name: 'supportsInterface',\\n type: 'function',\\n inputs: [{\\n type: 'bytes4'\\n }]\\n }];\\n var iface = new _windowOrGlobal.default.ethers.utils.Interface(abi);\\n var data = iface.functions.supportsInterface.encode(['0xbc1c58d1']);\\n var result = await web3.call({\\n to: address,\\n data: data\\n });\\n\\n if (result === undefined || result == null || result === '0x') {\\n return false;\\n }\\n\\n try {\\n // decode\\n var decoded = _windowOrGlobal.default.ethers.utils.defaultAbiCoder.decode(['bool'], result);\\n\\n if (decoded[0] === false) {\\n return false;\\n }\\n } catch (error) {\\n this.getLogger().error(error);\\n return false;\\n } // return\\n\\n\\n return true;\\n };\\n\\n EnsLibrary.prototype.getContentHash = async function (domain, web3) {\\n if (_windowOrGlobal.default.ethers === undefined || _windowOrGlobal.default.ethers == null) {\\n await this.loadEthers();\\n }\\n\\n domain = domain === undefined || domain == null || domain.trim() === '' ? null : domain.trim();\\n\\n if (domain == null) {\\n throw new Error('Undefined ENS domain...');\\n }\\n\\n if (web3 === undefined) {\\n var {\\n web3\\n } = await this.getWeb3Provider();\\n } // Resolve domain as namehash\\n\\n\\n const domainHash = _windowOrGlobal.default.ethers.utils.namehash(domain); // Fetch ens registry address\\n\\n\\n const {\\n chainId,\\n registry\\n } = await this.getRegistry(web3); // Log\\n\\n this.getLogger().info(`ENS registry: \\\\n ${this.etherscan[chainId]}/address/${registry}`); // Fetch resolver address\\n\\n var resolver = await this.getResolver(web3, registry, domainHash); // Check\\n\\n if (resolver == null || /^0x0+$/.test(resolver) === true) {\\n throw new Error('Undefined ENS domain resolver...');\\n } // Log\\n\\n\\n this.getLogger().info(`ENS domain resolver:\\\\n ${this.etherscan[chainId]}/address/${resolver}`); // Check if resolver is EIP165\\n\\n const eip165 = await this.checkEip165(web3, resolver);\\n\\n if (eip165 === false) {\\n throw new Error('ENS domain resolver do not conform to EIP165...');\\n } // Check if resolver is EIP1577\\n\\n\\n const eip1577 = await this.checkEip1577(web3, resolver);\\n\\n if (eip1577 === false) {\\n throw new Error('ENS domain resolver do not conform to EIP1577...');\\n } // Retrieve content hash\\n\\n\\n this.getLogger().info('Processing ENS domain content...');\\n const abi = [{\\n name: 'contenthash',\\n type: 'function',\\n inputs: [{\\n type: 'bytes32'\\n }]\\n }];\\n const iface = new _windowOrGlobal.default.ethers.utils.Interface(abi);\\n const data = iface.functions.contenthash.encode([domainHash]);\\n const result = await web3.call({\\n to: resolver,\\n data: data\\n });\\n\\n if (result === undefined || result == null || result === '0x') {\\n return {\\n content: null,\\n protocol: null\\n };\\n } // decode bytes result\\n\\n\\n var content = _windowOrGlobal.default.ethers.utils.defaultAbiCoder.decode(['bytes'], result);\\n\\n if (content === undefined || content == null || Array.isArray(content) === false || content[0] === '0x') {\\n return {\\n content: null,\\n protocol: null\\n };\\n } // Decode content hash\\n\\n\\n var {\\n decoded,\\n protocol\\n } = this.decodeContenthash(content[0]);\\n return {\\n content: decoded,\\n protocol: protocol\\n };\\n };\\n\\n EnsLibrary.prototype.isOwner = async function (domain, web3, account) {\\n if (_windowOrGlobal.default.ethers === undefined || _windowOrGlobal.default.ethers == null) {\\n await this.loadEthers();\\n }\\n\\n domain = domain === undefined || domain == null || domain.trim() === '' ? null : domain.trim();\\n\\n if (domain == null) {\\n throw new Error('Undefined ENS domain...');\\n }\\n\\n if (web3 === undefined || account === undefined) {\\n var {\\n web3,\\n account\\n } = await this.getEnabledWeb3Provider();\\n } // Resolve domain as namehash\\n\\n\\n const domainHash = _windowOrGlobal.default.ethers.utils.namehash(domain); // Fetch ens registry address\\n\\n\\n const {\\n chainId,\\n registry\\n } = await this.getRegistry(web3); // Log\\n\\n this.getLogger().info(`ENS registry: \\\\n ${this.etherscan[chainId]}/address/${registry}`);\\n this.getLogger().info('Processing owner...');\\n const abi = [{\\n name: 'owner',\\n type: 'function',\\n inputs: [{\\n type: 'bytes32'\\n }]\\n }];\\n const iface = new _windowOrGlobal.default.ethers.utils.Interface(abi);\\n const data = iface.functions.owner.encode([domainHash]);\\n const result = await web3.call({\\n to: registry,\\n data: data\\n });\\n\\n if (result === undefined || result == null || result === '0x') {\\n return false;\\n } // decode if applicable\\n\\n\\n try {\\n const decoded = _windowOrGlobal.default.ethers.utils.defaultAbiCoder.decode(['address'], result);\\n\\n return decoded[0].toLowerCase() === account.toLowerCase();\\n } catch (error) {\\n this.getLogger().error(error);\\n }\\n\\n return false;\\n };\\n\\n EnsLibrary.prototype.setContentHash = async function (domain, cid, web3, account) {\\n cid = cid === undefined || cid == null || cid.toString().trim() === '' ? null : cid.toString().trim();\\n\\n if (cid == null) {\\n throw new Error('Undefined IPFS identifier...');\\n }\\n\\n domain = domain === undefined || domain == null || domain.trim() === '' ? null : domain.trim();\\n\\n if (domain == null) {\\n throw new Error('Undefined ENS domain...');\\n }\\n\\n if (web3 === undefined || account === undefined) {\\n var {\\n web3,\\n account\\n } = await this.getEnabledWeb3Provider();\\n } // Resolve domain as namehash\\n\\n\\n const domainHash = _windowOrGlobal.default.ethers.utils.namehash(domain); // Fetch ens registry address\\n\\n\\n const {\\n chainId,\\n registry\\n } = await this.getRegistry(web3);\\n this.getLogger().info(`ENS registry:\\\\n ${this.etherscan[chainId]}/address/${registry}`);\\n var resolver = await this.getResolver(web3, registry, domainHash);\\n\\n if (resolver == null || /^0x0+$/.test(resolver) === true) {\\n throw new Error('Undefined ENS resolver...');\\n }\\n\\n this.getLogger().info(`ENS domain resolver:\\\\n ${this.etherscan[chainId]}/address/${resolver}`); // Check if resolver is EIP165\\n\\n const eip165 = await this.checkEip165(web3, resolver);\\n\\n if (eip165 === false) {\\n throw new Error('ENS resolver do not conform to EIP165...');\\n } // Check if resolver is EIP1577\\n\\n\\n const eip1577 = await this.checkEip1577(web3, resolver);\\n\\n if (eip1577 === false) {\\n throw new Error('ENS resolver do not conform to EIP1577...');\\n } // Encode cid\\n\\n\\n const {\\n encoded\\n } = this.encodeContenthash('ipfs://' + cid); // Set Contenthash\\n\\n this.getLogger().info('Processing ENS domain content...');\\n const abi = [{\\n name: 'setContenthash',\\n type: 'function',\\n inputs: [{\\n type: 'bytes32'\\n }, {\\n type: 'bytes'\\n }]\\n }];\\n const iface = new _windowOrGlobal.default.ethers.utils.Interface(abi);\\n const data = iface.functions.setContenthash.encode([domainHash, encoded]);\\n const signer = web3.getSigner();\\n const tx = await signer.sendTransaction({\\n to: resolver,\\n data: data\\n });\\n this.getLogger().info(`Processing Transaction:\\\\n ${this.etherscan[chainId]}/tx/${tx.hash}`); // Wait for transaction completion\\n\\n await tx.wait();\\n this.getLogger().info('Processed ENS domain content...');\\n };\\n\\n module.exports = EnsLibrary;\\n})();\\n\\n},{\\\"@babel/runtime/helpers/interopRequireDefault\\\":2,\\\"cids\\\":7,\\\"content-hash\\\":32,\\\"window-or-global\\\":69}],71:[function(require,module,exports){\\n\\\"use strict\\\";\\n\\nvar _interopRequireDefault = require(\\\"@babel/runtime/helpers/interopRequireDefault\\\");\\n\\nvar _cids = _interopRequireDefault(require(\\\"cids\\\"));\\n\\nvar _windowOrGlobal = _interopRequireDefault(require(\\\"window-or-global\\\"));\\n\\nvar _ensLibrary = _interopRequireDefault(require(\\\"./ens-library\\\"));\\n\\nvar _ipfsLibrary = _interopRequireDefault(require(\\\"./ipfs-library\\\"));\\n\\nvar _ipfsLoader = _interopRequireDefault(require(\\\"./ipfs-loader\\\"));\\n\\nvar _ipfsUrl = _interopRequireDefault(require(\\\"./ipfs-url\\\"));\\n\\n/*\\\\\\ntitle: $:/plugins/ipfs/ipfs-bundle.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: library\\n\\nIPFS Bundle\\n\\n\\\\*/\\n(function () {\\n /*jslint node: true, browser: true*/\\n 'use strict';\\n\\n const cidAnalyser = 'https://cid.ipfs.io/#';\\n const name = 'ipfs-bundle';\\n\\n var IpfsBundle = function () {\\n this.once = false;\\n };\\n\\n IpfsBundle.prototype.getLogger = function () {\\n return _windowOrGlobal.default.log.getLogger(name);\\n };\\n\\n IpfsBundle.prototype.init = function () {\\n // Init once\\n if (this.once) {\\n return;\\n }\\n\\n this.ipfsLoader = new _ipfsLoader.default(this);\\n this.ensLibrary = new _ensLibrary.default(this.ipfsLoader);\\n this.ipfsLibrary = new _ipfsLibrary.default(this);\\n this.ipfsUrl = new _ipfsUrl.default(); // Init once\\n\\n this.once = true;\\n };\\n\\n IpfsBundle.prototype.isJson = function (content) {\\n return this.ipfsLoader.isJson(content);\\n };\\n\\n IpfsBundle.prototype.loadToBase64 = async function (url) {\\n return this.ipfsLoader.loadToBase64(url);\\n };\\n\\n IpfsBundle.prototype.loadToUtf8 = async function (url) {\\n return this.ipfsLoader.loadToUtf8(url);\\n };\\n\\n IpfsBundle.prototype.decodeCid = function (pathname) {\\n // Check\\n if (pathname === undefined || pathname == null || pathname.trim() === '' || pathname.trim() === '/') {\\n return {\\n cid: null,\\n ipnsIdentifier: null,\\n protocol: null\\n };\\n }\\n\\n var identifier = null;\\n var protocol = null; // Parse\\n\\n const members = pathname.trim().split('/');\\n\\n for (var i = 0; i \u003C members.length; i++) {\\n // Ignore\\n if (members[i].trim() === '') {\\n continue;\\n } // First non empty member\\n\\n\\n if (protocol == null) {\\n protocol = members[i];\\n continue;\\n } // Second non empty member\\n\\n\\n if (identifier == null) {\\n identifier = members[i];\\n break;\\n } // Nothing to process\\n\\n\\n break;\\n } // Check\\n\\n\\n if (protocol == null || identifier == null) {\\n return {\\n cid: null,\\n ipnsIdentifier: null,\\n protocol: null\\n };\\n } // Check protocol\\n\\n\\n if (protocol !== 'ipfs' && protocol !== 'ipns') {\\n return {\\n cid: null,\\n ipnsIdentifier: null,\\n protocol: null\\n };\\n } // Check\\n\\n\\n var cid = null;\\n var ipnsIdentifier = null;\\n\\n if (protocol === 'ipns') {\\n ipnsIdentifier = identifier;\\n } else if (this.isCid(identifier)) {\\n cid = identifier;\\n } // All good\\n\\n\\n return {\\n cid: cid,\\n ipnsIdentifier: ipnsIdentifier,\\n protocol: protocol\\n };\\n };\\n\\n IpfsBundle.prototype.isCid = function (cid) {\\n try {\\n const newCid = new _cids.default(cid);\\n return _cids.default.isCID(newCid);\\n } catch (error) {\\n return false;\\n }\\n };\\n\\n IpfsBundle.prototype.cidV1ToCidV0 = function (cidv1) {\\n var cidv0 = new _cids.default(cidv1);\\n\\n if (cidv0.codec !== 'dag-pb') {\\n throw new Error(`This \\\"cid\\\" is not \\\"dag-pb\\\" encoded: ${cidAnalyser}${cidv0}`);\\n }\\n\\n if (cidv0.version === 1) {\\n cidv0 = cidv0.toV0(); // Log\\n\\n this.getLogger().info(`Converted:\\\\n \\\"cidv1\\\" (Base32): ${cidAnalyser}${cidv1} \\\\n to \\\"cidv0\\\" (Base58): ${cidAnalyser}${cidv0}`);\\n } else {\\n // Log\\n this.getLogger().info(`\\\"cidv0\\\" (Base58):\\\\n ${cidAnalyser}${cidv0}`);\\n }\\n\\n return cidv0.toString();\\n };\\n\\n IpfsBundle.prototype.cidV0ToCidV1 = function (cidv0) {\\n var cidv1 = new _cids.default(cidv0);\\n\\n if (cidv1.codec !== 'dag-pb') {\\n throw new Error(`This \\\"cid\\\" is not \\\"dag-pb\\\" encoded: ${cidAnalyser}${cidv1}`);\\n }\\n\\n if (cidv1.version === 0) {\\n cidv1 = cidv1.toV1();\\n this.getLogger().info(`Converted:\\\\n \\\"cidv0\\\" (Base58): ${cidAnalyser}${cidv0} \\\\n to \\\"cidv1\\\" (Base32): ${cidAnalyser}${cidv1}`);\\n } else {\\n // Log\\n this.getLogger().info(`\\\"cidv1\\\" (Base32):\\\\n ${cidAnalyser}${cidv1}`);\\n }\\n\\n return cidv1.toString();\\n };\\n\\n IpfsBundle.prototype.Base64ToUint8Array = function (base64) {\\n var raw = atob(base64);\\n var ua = new Uint8Array(raw.length);\\n\\n for (var i = 0; i \u003C raw.length; i++) {\\n ua[i] = raw.charCodeAt(i);\\n }\\n\\n return ua;\\n };\\n\\n IpfsBundle.prototype.Uint8ArrayToBase64 = function (uint8) {\\n var CHUNK_SIZE = 0x8000; //arbitrary number\\n\\n var index = 0;\\n var length = uint8.length;\\n var str = '';\\n var slice;\\n\\n while (index \u003C length) {\\n slice = uint8.subarray(index, Math.min(index + CHUNK_SIZE, length));\\n str += String.fromCharCode.apply(null, slice);\\n index += CHUNK_SIZE;\\n }\\n\\n return btoa(str);\\n }; // String to uint array\\n\\n\\n IpfsBundle.prototype.StringToUint8Array = function (string) {\\n var escstr = encodeURIComponent(string);\\n var binstr = escstr.replace(/%([0-9A-F]{2})/g, function (match, p1) {\\n return String.fromCharCode('0x' + p1);\\n });\\n var ua = new Uint8Array(binstr.length);\\n Array.prototype.forEach.call(binstr, function (ch, i) {\\n ua[i] = ch.charCodeAt(0);\\n });\\n return ua;\\n }; // http://www.onicos.com/staff/iz/amuse/javascript/expert/utf.txt\\n\\n /*\\n * utf.js - UTF-8 \u003C=> UTF-16 convertion\\n *\\n * Copyright (C) 1999 Masanao Izumo \u003Ciz@onicos.co.jp>\\n * Version: 1.0\\n * LastModified: Dec 25 1999\\n * This library is free. You can redistribute it and/or modify it.\\n */\\n\\n\\n IpfsBundle.prototype.Utf8ArrayToStr = function (array) {\\n var c, char2, char3;\\n var out = '';\\n var len = array.length;\\n var i = 0;\\n\\n while (i \u003C len) {\\n c = array[i++];\\n\\n switch (c >> 4) {\\n case 0:\\n case 1:\\n case 2:\\n case 3:\\n case 4:\\n case 5:\\n case 6:\\n case 7:\\n // 0xxxxxxx\\n out += String.fromCharCode(c);\\n break;\\n\\n case 12:\\n case 13:\\n // 110x xxxx 10xx xxxx\\n char2 = array[i++];\\n out += String.fromCharCode((c & 0x1f) \u003C\u003C 6 | char2 & 0x3f);\\n break;\\n\\n case 14:\\n // 1110 xxxx 10xx xxxx 10xx xxxx\\n char2 = array[i++];\\n char3 = array[i++];\\n out += String.fromCharCode((c & 0x0f) \u003C\u003C 12 | (char2 & 0x3f) \u003C\u003C 6 | (char3 & 0x3f) \u003C\u003C 0);\\n break;\\n }\\n }\\n\\n return out;\\n };\\n\\n module.exports = {\\n IpfsBundle\\n };\\n})();\\n\\n},{\\\"./ens-library\\\":70,\\\"./ipfs-library\\\":72,\\\"./ipfs-loader\\\":73,\\\"./ipfs-url\\\":74,\\\"@babel/runtime/helpers/interopRequireDefault\\\":2,\\\"cids\\\":7,\\\"window-or-global\\\":69}],72:[function(require,module,exports){\\n(function (Buffer){\\n\\\"use strict\\\";\\n\\nvar _interopRequireDefault = require(\\\"@babel/runtime/helpers/interopRequireDefault\\\");\\n\\nvar _asyncIterator2 = _interopRequireDefault(require(\\\"@babel/runtime/helpers/asyncIterator\\\"));\\n\\nvar _ipfsProvider = require(\\\"ipfs-provider\\\");\\n\\nvar _windowOrGlobal = _interopRequireDefault(require(\\\"window-or-global\\\"));\\n\\n(function () {\\n /*jslint node: true, browser: true */\\n 'use strict';\\n\\n const name = 'ipfs-library';\\n const {\\n httpClient,\\n windowIpfs\\n } = _ipfsProvider.providers;\\n /*\\n * https://github.com/ipfs/js-ipfs/tree/master/docs/core-api\\n **/\\n\\n var IpfsLibrary = function (ipfsBundle) {\\n this.ipfsBundle = ipfsBundle;\\n this.ipfsLoader = ipfsBundle.ipfsLoader;\\n };\\n\\n IpfsLibrary.prototype.getLogger = function () {\\n return _windowOrGlobal.default.log.getLogger(name);\\n };\\n\\n IpfsLibrary.prototype.loadIpfsHttpClient = async function () {\\n const self = this;\\n\\n if (typeof _windowOrGlobal.default.IpfsHttpClient === 'undefined') {\\n try {\\n await this.ipfsLoader.loadIpfsHttpLibrary();\\n\\n if (typeof _windowOrGlobal.default.IpfsHttpClient !== 'undefined') {\\n return;\\n }\\n } catch (error) {\\n self.getLogger().error(error);\\n } // Should not happen...\\n\\n\\n throw new Error('Unavailable IPFS HTTP Client library...');\\n }\\n }; // Default\\n\\n\\n IpfsLibrary.prototype.getDefaultIpfs = async function (apiUrl) {\\n // IPFS Companion first\\n try {\\n const {\\n ipfs,\\n provider\\n } = await this.getWindowIpfs();\\n\\n if (ipfs !== null) {\\n return {\\n ipfs: ipfs,\\n provider: provider\\n };\\n }\\n } catch (error) {// IPFS Companion failed\\n }\\n\\n apiUrl = apiUrl === undefined || apiUrl == null || apiUrl.toString().trim() === '' ? null : apiUrl;\\n\\n if (apiUrl == null) {\\n throw new Error('Undefined IPFS API URL...');\\n } // Load IpfsHttpClient\\n\\n\\n try {\\n const {\\n ipfs,\\n provider\\n } = await this.getHttpIpfs(apiUrl);\\n\\n if (ipfs !== null) {\\n return {\\n ipfs: ipfs,\\n provider: provider\\n };\\n }\\n } catch (error) {// IPFS HTTP client failed\\n }\\n\\n throw new Error('Unable to retrieve IPFS Companion and IPFS API URL...');\\n }; // IPFS companion\\n\\n\\n IpfsLibrary.prototype.getWindowIpfs = async function () {\\n const self = this;\\n\\n try {\\n this.getLogger().info('Processing connection to IPFS Companion...');\\n const {\\n ipfs,\\n provider\\n } = await (0, _ipfsProvider.getIpfs)({\\n providers: [windowIpfs()]\\n });\\n return {\\n ipfs: ipfs,\\n provider: provider\\n };\\n } catch (error) {\\n self.getLogger().error(error);\\n }\\n\\n throw new Error('Unreachable IPFS Companion...');\\n }; // ipfs-http-client\\n\\n\\n IpfsLibrary.prototype.getHttpIpfs = async function (apiUrl) {\\n apiUrl = apiUrl === undefined || apiUrl == null || apiUrl.toString().trim() === '' ? null : apiUrl;\\n\\n if (apiUrl == null) {\\n throw new Error('Undefined IPFS API URL...');\\n }\\n\\n try {\\n if (typeof _windowOrGlobal.default.IpfsHttpClient === 'undefined') {\\n await this.loadIpfsHttpClient();\\n }\\n\\n this.getLogger().info(`Processing connection to IPFS API URL:\\\\n ${apiUrl}`);\\n var protocol = apiUrl.protocol.slice(0, -1);\\n var port = apiUrl.port;\\n\\n if (port === undefined || port == null || port.trim() === '') {\\n port = 443;\\n\\n if (protocol === 'http') {\\n port = 80;\\n }\\n }\\n\\n const {\\n ipfs,\\n provider\\n } = await (0, _ipfsProvider.getIpfs)({\\n providers: [httpClient({\\n apiAddress: {\\n protocol: protocol,\\n host: apiUrl.hostname,\\n port: port,\\n timeout: '4m'\\n }\\n })]\\n });\\n return {\\n ipfs: ipfs,\\n provider: `${provider}, ${apiUrl}`\\n };\\n } catch (error) {\\n this.getLogger().error(error);\\n }\\n\\n throw new Error('Unreachable IPFS API URL...');\\n };\\n\\n IpfsLibrary.prototype.add = async function (client, content) {\\n if (client === undefined || client == null) {\\n throw new Error('Undefined IPFS provider...');\\n }\\n\\n if (content === undefined || content == null) {\\n throw new Error('Undefined content...');\\n } // Window IPFS policy\\n\\n\\n if (client.enable) {\\n client = await client.enable({\\n commands: ['add']\\n });\\n } // Process\\n\\n\\n if (client !== undefined && client.add !== undefined) {\\n // Process\\n var buffer = Buffer.from(content);\\n this.getLogger().info('Processing IPFS add...'); // 1 - https://github.com/ipfs/go-ipfs/issues/5683\\n // default chunker: \\\"size-262144\\\"\\n // chunker: \\\"rabin-262144-524288-1048576\\\"\\n // 2 - TODO: small content generates a wrong cid when cidVersion: 1 is set:\\n // Not a 'dag-pb' but a 'raw' multicodec instead\\n // We generate a V0 and convert it to a V1\\n // https://github.com/xmaysonnave/tiddlywiki-ipfs/issues/14\\n\\n const addSource = await client.add(buffer, {\\n cidVersion: 0,\\n hashAlg: 'sha2-256',\\n chunker: 'rabin-262144-524288-1048576',\\n pin: false\\n }); // https://gist.github.com/alanshaw/04b2ddc35a6fff25c040c011ac6acf26\\n\\n var lastResult = null;\\n var _iteratorNormalCompletion = true;\\n var _didIteratorError = false;\\n\\n var _iteratorError;\\n\\n try {\\n for (var _iterator = (0, _asyncIterator2.default)(addSource), _step, _value; _step = await _iterator.next(), _iteratorNormalCompletion = _step.done, _value = await _step.value, !_iteratorNormalCompletion; _iteratorNormalCompletion = true) {\\n const added = _value;\\n lastResult = added;\\n } // Check\\n\\n } catch (err) {\\n _didIteratorError = true;\\n _iteratorError = err;\\n } finally {\\n try {\\n if (!_iteratorNormalCompletion && _iterator.return != null) {\\n await _iterator.return();\\n }\\n } finally {\\n if (_didIteratorError) {\\n throw _iteratorError;\\n }\\n }\\n }\\n\\n if (lastResult == null || lastResult.path === undefined || lastResult.path == null) {\\n throw new Error('IPFS client returned an unknown result...');\\n }\\n\\n return {\\n hash: this.ipfsBundle.cidV0ToCidV1(lastResult.path),\\n size: lastResult.size\\n };\\n }\\n\\n throw new Error('Undefined IPFS command add...');\\n };\\n\\n IpfsLibrary.prototype.pin = async function (client, cid) {\\n if (client === undefined || client == null) {\\n throw new Error('Undefined IPFS provider...');\\n }\\n\\n cid = cid == null || cid === undefined || cid.trim() === '' ? null : cid.trim();\\n\\n if (cid == null) {\\n throw new Error('Undefined IPFS identifier...');\\n } // Window IPFS policy\\n\\n\\n if (client.enable) {\\n client = await client.enable({\\n commands: ['pin']\\n });\\n } // Process\\n\\n\\n if (client !== undefined && client.pin !== undefined && client.pin.add !== undefined) {\\n this.getLogger().info('Processing IPFS pin add...');\\n const result = await client.pin.add(cid, {\\n recursive: true\\n });\\n return result;\\n }\\n\\n throw new Error('Undefined IPFS pin add...');\\n };\\n\\n IpfsLibrary.prototype.unpin = async function (client, cid) {\\n if (client === undefined || client == null) {\\n throw new Error('Undefined IPFS provider...');\\n }\\n\\n cid = cid == null || cid === undefined || cid.trim() === '' ? null : cid.trim();\\n\\n if (cid == null) {\\n throw new Error('Undefined IPFS identifier...');\\n } // Window IPFS policy\\n\\n\\n if (client.enable) {\\n client = await client.enable({\\n commands: ['pin']\\n });\\n } // Process\\n\\n\\n if (client !== undefined && client.pin !== undefined && client.pin.rm !== undefined) {\\n this.getLogger().info('Processing IPFS pin rm...');\\n const result = await client.pin.rm(cid, {\\n recursive: true\\n });\\n return result;\\n }\\n\\n throw new Error('Undefined IPFS pin rm');\\n };\\n\\n IpfsLibrary.prototype.publish = async function (client, ipnsName, cid) {\\n if (client === undefined || client == null) {\\n throw new Error('Undefined IPFS provider...');\\n }\\n\\n cid = cid == null || cid === undefined || cid.trim() === '' ? null : cid.trim();\\n\\n if (cid == null) {\\n throw new Error('Undefined IPFS identifier...');\\n }\\n\\n ipnsName = ipnsName == null || ipnsName === undefined || ipnsName.trim() === '' ? null : ipnsName.trim();\\n\\n if (ipnsName == null) {\\n throw new Error('Undefined IPNS name...');\\n } // Window IPFS policy\\n\\n\\n if (client.enable) {\\n client = await client.enable({\\n commands: ['name']\\n });\\n }\\n\\n if (client !== undefined && client.name !== undefined && client.name.publish !== undefined) {\\n this.getLogger().info('Processing IPNS name publish...');\\n const result = await client.name.publish(cid, {\\n resolve: true,\\n key: ipnsName,\\n allowOffline: false\\n });\\n\\n if (result === undefined || result == null) {\\n throw new Error('IPFS client returned an unknown result...');\\n }\\n\\n return {\\n name: result.name,\\n value: result.value\\n };\\n }\\n\\n throw new Error('Undefined IPNS name publish...');\\n };\\n\\n IpfsLibrary.prototype.resolve = async function (client, id) {\\n if (client === undefined || client == null) {\\n throw new Error('Undefined IPFS provider...');\\n }\\n\\n id = id == null || id === undefined || id.trim() === '' ? null : id.trim();\\n\\n if (id == null) {\\n throw new Error('Undefined IPNS key...');\\n } // Window IPFS policy\\n\\n\\n if (client.enable) {\\n client = await client.enable({\\n commands: ['name']\\n });\\n }\\n\\n if (client !== undefined && client.name !== undefined && client.name.resolve !== undefined) {\\n this.getLogger().info('Processing IPNS name resolve...');\\n const resolvedSource = await client.name.resolve(id, {\\n nocache: false,\\n recursive: true\\n }); // https://gist.github.com/alanshaw/04b2ddc35a6fff25c040c011ac6acf26\\n\\n var lastResult = null;\\n var _iteratorNormalCompletion2 = true;\\n var _didIteratorError2 = false;\\n\\n var _iteratorError2;\\n\\n try {\\n for (var _iterator2 = (0, _asyncIterator2.default)(resolvedSource), _step2, _value2; _step2 = await _iterator2.next(), _iteratorNormalCompletion2 = _step2.done, _value2 = await _step2.value, !_iteratorNormalCompletion2; _iteratorNormalCompletion2 = true) {\\n const resolved = _value2;\\n lastResult = resolved;\\n }\\n } catch (err) {\\n _didIteratorError2 = true;\\n _iteratorError2 = err;\\n } finally {\\n try {\\n if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\\n await _iterator2.return();\\n }\\n } finally {\\n if (_didIteratorError2) {\\n throw _iteratorError2;\\n }\\n }\\n }\\n\\n if (lastResult == null || lastResult === undefined) {\\n throw new Error('IPFS client returned an unknown result...');\\n }\\n\\n return lastResult;\\n }\\n\\n throw new Error('Undefined IPNS name resolve...');\\n };\\n\\n IpfsLibrary.prototype.getKeys = async function (client) {\\n if (client === undefined || client == null) {\\n throw new Error('Undefined IPFS provider...');\\n } // Window IPFS policy\\n\\n\\n if (client.enable) {\\n client = await client.enable({\\n commands: ['key']\\n });\\n }\\n\\n if (client !== undefined && client.key !== undefined && client.key.list !== undefined) {\\n this.getLogger().info('Processing IPNS key list...');\\n const result = await client.key.list();\\n\\n if (result === undefined || result == null || Array.isArray(result) === false) {\\n throw new Error('IPFS client returned an unknown result...');\\n }\\n\\n return result;\\n }\\n\\n throw new Error('Undefined IPNS key list...');\\n }; // Only rsa is supported yet...\\n // https://github.com/ipfs/interface-js-ipfs-core/blob/master/SPEC/KEY.md#keygen\\n // https://github.com/libp2p/js-libp2p-crypto/issues/145\\n\\n\\n IpfsLibrary.prototype.genKey = async function (client, ipnsName) {\\n if (client === undefined || client == null) {\\n throw new Error('Undefined IPFS provider...');\\n }\\n\\n ipnsName = ipnsName == null || ipnsName === undefined || ipnsName.trim() === '' ? null : ipnsName.trim();\\n\\n if (ipnsName == null) {\\n throw new Error('Undefined IPNS name...');\\n } // Window IPFS policy\\n\\n\\n if (client.enable) {\\n client = await client.enable({\\n commands: ['key']\\n });\\n }\\n\\n if (client !== undefined && client.key !== undefined && client.key.gen !== undefined) {\\n this.getLogger().info('Processing IPNS key gen...');\\n const key = await client.key.gen(ipnsName, {\\n type: 'rsa',\\n size: 2048\\n });\\n\\n if (key === undefined || key == null || key.id === undefined || key.id == null) {\\n throw new Error('IPFS client returned an unknown result...');\\n }\\n\\n return key.id;\\n }\\n\\n throw new Error('Undefined IPNS key gen...');\\n };\\n\\n IpfsLibrary.prototype.rmKey = async function (client, ipnsName) {\\n if (client === undefined || client == null) {\\n throw new Error('Undefined IPFS provider...');\\n }\\n\\n ipnsName = ipnsName == null || ipnsName === undefined || ipnsName.trim() === '' ? null : ipnsName.trim();\\n\\n if (ipnsName == null) {\\n throw new Error('Undefined IPNS name...');\\n } // Window IPFS policy\\n\\n\\n if (client.enable) {\\n client = await client.enable({\\n commands: ['key']\\n });\\n }\\n\\n if (client !== undefined && client.key !== undefined && client.key.rm !== undefined) {\\n this.getLogger().info('Processing IPNS key rm...');\\n const key = await client.key.rm(ipnsName);\\n\\n if (key === undefined || key == null || key.id === undefined || key.id == null) {\\n throw new Error('IPFS client returned an unknown result...');\\n }\\n\\n return key.id;\\n }\\n\\n throw new Error('Undefined IPNS key rm...');\\n };\\n\\n IpfsLibrary.prototype.renameKey = async function (client, oldIpnsName, newIpnsName) {\\n if (client === undefined || client == null) {\\n throw new Error('Undefined IPFS provider...');\\n }\\n\\n oldIpnsName = oldIpnsName == null || oldIpnsName === undefined || oldIpnsName.trim() === '' ? null : oldIpnsName.trim();\\n\\n if (oldIpnsName == null) {\\n throw new Error('Undefined Old IPNS name...');\\n }\\n\\n newIpnsName = newIpnsName == null || newIpnsName === undefined || newIpnsName.trim() === '' ? null : newIpnsName.trim();\\n\\n if (newIpnsName == null) {\\n throw new Error('Undefined New IPNS name...');\\n } // Window IPFS policy\\n\\n\\n if (client.enable) {\\n client = await client.enable({\\n commands: ['key']\\n });\\n }\\n\\n if (client !== undefined && client.key !== undefined && client.key.rename !== undefined) {\\n this.getLogger().info('Processing IPNS key rename...');\\n const key = await client.key.rename(oldIpnsName, newIpnsName);\\n\\n if (key === undefined || key == null) {\\n throw new Error('IPFS client returned an unknown result...');\\n }\\n\\n var id = null;\\n\\n if (key.id !== undefined && key.id !== null) {\\n id = key.id;\\n }\\n\\n var was = null;\\n\\n if (key.was !== undefined && key.was !== null) {\\n was = key.was;\\n }\\n\\n var now = null;\\n\\n if (key.now !== undefined && key.now !== null) {\\n now = key.now;\\n }\\n\\n var overwrite = null;\\n\\n if (key.overwrite !== undefined && key.overwrite !== null) {\\n overwrite = key.overwrite;\\n }\\n\\n return {\\n id: id,\\n was: was,\\n now: now,\\n overwrite: overwrite\\n };\\n }\\n\\n throw new Error('Undefined IPNS key rename...');\\n };\\n\\n module.exports = IpfsLibrary;\\n})();\\n\\n}).call(this,require(\\\"buffer\\\").Buffer)\\n},{\\\"@babel/runtime/helpers/asyncIterator\\\":1,\\\"@babel/runtime/helpers/interopRequireDefault\\\":2,\\\"buffer\\\":5,\\\"ipfs-provider\\\":38,\\\"window-or-global\\\":69}],73:[function(require,module,exports){\\n\\\"use strict\\\";\\n\\nvar _interopRequireDefault = require(\\\"@babel/runtime/helpers/interopRequireDefault\\\");\\n\\nvar _windowOrGlobal = _interopRequireDefault(require(\\\"window-or-global\\\"));\\n\\n(function () {\\n /*jslint node: true, browser: true */\\n 'use strict';\\n\\n const name = 'ipfs-loader';\\n const eruda = 'https://cdn.jsdelivr.net/npm/eruda@2.3.3/eruda.min.js';\\n const erudaSri = 'sha384-O4NQOgwNPEet1/xZmB7hYYb/vMdpWyVJcqL+47zpRWuXtRlhwnEoNM/w3/C3HCoP';\\n const ethers = 'https://cdn.jsdelivr.net/npm/ethers@4.0.47/dist/ethers.min.js';\\n const ethersSri = 'sha384-Gqf9kLa8S94/ZNsQCadoW0KeT6tg+fapxds7gOiSL72KeOtfgTOmHvJENrQljse5';\\n const ipfsHttpClient = 'https://cdn.jsdelivr.net/npm/ipfs-http-client@44.1.1/dist/index.min.js';\\n const ipfsHttpClientSri = 'sha384-NvfAKWfwAGQtt53C6QkNMM2whGsF9BeeXkfOWkFV3qmyh1VLVmfxxUrvLcgw0ZYr';\\n\\n var IpfsLoader = function (ipfsBundle) {\\n this.ipfsBundle = ipfsBundle;\\n };\\n\\n IpfsLoader.prototype.getLogger = function () {\\n return _windowOrGlobal.default.log.getLogger(name);\\n }; // https://www.srihash.org/\\n // https://github.com/liriliri/eruda\\n\\n\\n IpfsLoader.prototype.loadErudaLibrary = async function () {\\n if (typeof _windowOrGlobal.default.eruda === 'undefined') {\\n await this.loadLibrary('ErudaLibrary', eruda, erudaSri, true);\\n\\n if (typeof _windowOrGlobal.default.eruda !== 'undefined') {\\n this.getLogger().info(`Loaded ErudaLibrary:\\\\n ${eruda}`);\\n }\\n }\\n }; // https://www.srihash.org/\\n // https://github.com/ethers-io/ethers.js/\\n\\n\\n IpfsLoader.prototype.loadEtherJsLibrary = async function () {\\n if (typeof _windowOrGlobal.default.ethers === 'undefined') {\\n await this.loadLibrary('EtherJsLibrary', ethers, ethersSri, true);\\n\\n if (typeof _windowOrGlobal.default.ethers !== 'undefined') {\\n this.getLogger().info(`Loaded EtherJsLibrary:\\\\n ${ethers}`);\\n }\\n }\\n }; // https://www.srihash.org/\\n // https://github.com/ipfs/js-ipfs-http-client\\n\\n\\n IpfsLoader.prototype.loadIpfsHttpLibrary = async function () {\\n if (typeof _windowOrGlobal.default.IpfsHttpClient === 'undefined') {\\n await this.loadLibrary('IpfsHttpLibrary', ipfsHttpClient, ipfsHttpClientSri, true);\\n\\n if (typeof _windowOrGlobal.default.IpfsHttpClient !== 'undefined') {\\n this.getLogger().info(`Loaded IpfsHttpLibrary:\\\\n ${ipfsHttpClient}`);\\n }\\n }\\n };\\n /*eslint no-new: \\\"off\\\", no-new-func: \\\"off\\\"*/\\n\\n\\n IpfsLoader.prototype.supportDynamicImport = function () {\\n try {\\n new Function('import(\\\"\\\")');\\n return true;\\n } catch (error) {\\n return false;\\n }\\n }; // https://observablehq.com/@bryangingechen/dynamic-import-polyfill\\n\\n\\n IpfsLoader.prototype.loadLibrary = function (id, url, sri, asModule) {\\n // Dynamic import\\n // if (this.supportDynamicImport()) {\\n // try {\\n // return new Function(`return import(\\\"${url}\\\")`)();\\n // } catch (error) {\\n // // Ignore\\n // }\\n // }\\n const self = this;\\n return new Promise((resolve, reject) => {\\n // Process\\n const script = _windowOrGlobal.default.document.createElement('script'); // Functions\\n\\n\\n const cleanup = () => {\\n try {\\n delete _windowOrGlobal.default[id];\\n script.onerror = null;\\n script.onload = null;\\n script.remove();\\n URL.revokeObjectURL(script.src);\\n script.src = '';\\n } catch (error) {\\n self.getLogger().error(error);\\n }\\n };\\n\\n script.onload = () => {\\n resolve(_windowOrGlobal.default[id]);\\n cleanup();\\n };\\n\\n script.onerror = () => {\\n reject(new Error(`Failed to load: ${url}`));\\n cleanup();\\n }; // Attributes\\n\\n\\n if (asModule) {\\n script.type = 'module';\\n } else {\\n script.type = 'text/javascript';\\n }\\n\\n script.id = id;\\n script.async = false;\\n script.defer = 'defer';\\n\\n if (sri) {\\n script.integrity = sri;\\n }\\n\\n script.crossOrigin = 'anonymous'; // URL\\n\\n script.src = url; // Load\\n\\n _windowOrGlobal.default.document.head.appendChild(script);\\n });\\n };\\n\\n IpfsLoader.prototype.isJson = function (content) {\\n if (content !== undefined && content !== null && typeof content === 'string') {\\n try {\\n JSON.parse(content);\\n return true;\\n } catch (error) {// Ignore\\n }\\n }\\n\\n return false;\\n };\\n\\n IpfsLoader.prototype.httpGetToUint8Array = function (url) {\\n const self = this;\\n const xhr = new XMLHttpRequest();\\n return new Promise(function (resolve, reject) {\\n xhr.responseType = 'arraybuffer';\\n\\n xhr.onreadystatechange = function () {\\n if (xhr.readyState === 4 && xhr.status !== 0) {\\n if (xhr.status >= 300) {\\n reject(new Error($tw.language.getString('NetworkError/XMLHttpRequest')));\\n return;\\n }\\n\\n try {\\n const array = new Uint8Array(this.response);\\n self.getLogger().info(`[${xhr.status}] Loaded:\\\\n ${url}`);\\n resolve(array);\\n } catch (error) {\\n reject(error);\\n }\\n }\\n };\\n\\n xhr.onerror = function () {\\n reject(new Error($tw.language.getString('NetworkError/XMLHttpRequest')));\\n };\\n\\n try {\\n xhr.open('get', url, true);\\n xhr.send();\\n } catch (error) {\\n reject(error);\\n }\\n });\\n };\\n /*\\n * Load to Base64\\n */\\n\\n\\n IpfsLoader.prototype.loadToBase64 = async function (url) {\\n const array = await this.httpGetToUint8Array(url);\\n\\n if (array.length === 0) {\\n return {\\n data: '',\\n decrypted: false\\n };\\n } // Decrypt\\n\\n\\n if (this.isUtf8ArrayEncrypted(array)) {\\n const decrypted = await this.decryptUint8ArrayToBase64(array);\\n return {\\n data: decrypted,\\n decrypted: true\\n };\\n }\\n\\n const data = this.ipfsBundle.Uint8ArrayToBase64(array);\\n return {\\n data: data,\\n decrypted: false\\n };\\n };\\n /*\\n * Load to UTF-8\\n */\\n\\n\\n IpfsLoader.prototype.loadToUtf8 = async function (url) {\\n var array = await this.httpGetToUint8Array(url);\\n\\n if (array.length === 0) {\\n return {\\n data: '',\\n decrypted: false\\n };\\n }\\n\\n if (this.isUtf8ArrayEncrypted(array)) {\\n return {\\n data: await this.decryptUint8ArrayToUtf8(array),\\n decrypted: true\\n };\\n }\\n\\n return {\\n data: this.ipfsBundle.Utf8ArrayToStr(array),\\n decrypted: false\\n };\\n };\\n /*\\n * Decrypt Uint8 Array to Base64 String\\n */\\n\\n\\n IpfsLoader.prototype.decryptUint8ArrayToBase64 = async function (array) {\\n var data = this.ipfsBundle.Utf8ArrayToStr(array);\\n\\n if ($tw.crypto.hasPassword() === false) {\\n data = await this.decryptFromPasswordPrompt(data);\\n } else {\\n data = $tw.crypto.decrypt(data, $tw.crypto.currentPassword);\\n }\\n\\n return btoa(data);\\n };\\n /*\\n * Decrypt Uint8 Array to UTF-8 String\\n */\\n\\n\\n IpfsLoader.prototype.decryptUint8ArrayToUtf8 = async function (array) {\\n var data = this.ipfsBundle.Utf8ArrayToStr(array);\\n\\n if ($tw.crypto.hasPassword() === false) {\\n data = await this.decryptFromPasswordPrompt(data);\\n } else {\\n data = $tw.crypto.decrypt(data, $tw.crypto.currentPassword);\\n }\\n\\n return data;\\n };\\n\\n IpfsLoader.prototype.decryptFromPasswordPrompt = function (encrypted) {\\n return new Promise((resolve, reject) => {\\n $tw.passwordPrompt.createPrompt({\\n serviceName: 'Enter a password to decrypt the imported content!!',\\n noUserName: true,\\n canCancel: true,\\n submitText: 'Decrypt',\\n callback: function (data) {\\n if (!data) {\\n return false;\\n } // Decrypt\\n\\n\\n try {\\n const content = $tw.crypto.decrypt(encrypted, data.password);\\n resolve(content);\\n return true;\\n } catch (error) {\\n reject(error);\\n }\\n\\n return false;\\n }\\n });\\n });\\n };\\n\\n IpfsLoader.prototype.isUtf8ArrayEncrypted = function (content) {\\n // Check\\n if (content instanceof Uint8Array === false || content.length === 0) {\\n return false;\\n } // Process\\n\\n\\n const standford = this.ipfsBundle.StringToUint8Array('{\\\"iv\\\":\\\"');\\n var encrypted = false;\\n\\n for (var i = 0; i \u003C content.length && i \u003C standford.length; i++) {\\n if (content[i] === standford[i]) {\\n encrypted = true;\\n } else {\\n encrypted = false;\\n break;\\n }\\n }\\n\\n return encrypted;\\n };\\n\\n module.exports = IpfsLoader;\\n})();\\n\\n},{\\\"@babel/runtime/helpers/interopRequireDefault\\\":2,\\\"window-or-global\\\":69}],74:[function(require,module,exports){\\n\\\"use strict\\\";\\n\\nvar _interopRequireDefault = require(\\\"@babel/runtime/helpers/interopRequireDefault\\\");\\n\\nvar _windowOrGlobal = _interopRequireDefault(require(\\\"window-or-global\\\"));\\n\\nvar _universalUrl = require(\\\"universal-url\\\");\\n\\n(function () {\\n /*jslint node: true, browser: true */\\n 'use strict';\\n\\n const name = 'ipfs-url';\\n\\n var IpfsUrl = function () {};\\n\\n IpfsUrl.prototype.getLogger = function () {\\n return _windowOrGlobal.default.log.getLogger(name);\\n };\\n\\n IpfsUrl.prototype.getIpfsDefaultApiUrl = function () {\\n return new _universalUrl.URL(this.getIpfsDefaultApi());\\n };\\n\\n IpfsUrl.prototype.getIpfsDefaultGatewayUrl = function () {\\n return new _universalUrl.URL(this.getIpfsDefaultGateway());\\n };\\n\\n IpfsUrl.prototype.getIpfsApiUrl = function () {\\n try {\\n return this.getUrl($tw.utils.getIpfsSaverApiUrl());\\n } catch (error) {\\n return this.getIpfsDefaultApiUrl();\\n }\\n };\\n\\n IpfsUrl.prototype.getIpfsGatewayUrl = function () {\\n try {\\n return this.getUrl($tw.utils.getIpfsSaverGatewayUrl());\\n } catch (error) {\\n return this.getIpfsDefaultGatewayUrl();\\n }\\n };\\n\\n IpfsUrl.prototype.getIpfsDefaultApi = function () {\\n return 'https://tube.copylaradio.com:5001';\\n };\\n\\n IpfsUrl.prototype.getIpfsDefaultGateway = function () {\\n return 'https://tube.copylaradio.com';\\n };\\n /**\\n * url.href;\\n * url.origin\\n * url.protocol;\\n * url.username;\\n * url.password;\\n * url.host;\\n * url.hostname;\\n * url.port;\\n * url.pathname;\\n * url.search;\\n * url.hash;\\n * https://jsdom.github.io/whatwg-url/\\n * https://github.com/stevenvachon/universal-url\\n * https://github.com/stevenvachon/universal-url-lite\\n * https://url.spec.whatwg.org/\\n */\\n\\n\\n IpfsUrl.prototype.getDocumentUrl = function () {\\n try {\\n return new _universalUrl.URL(_windowOrGlobal.default.location.href);\\n } catch (error) {\\n this.getLogger().error(error);\\n }\\n\\n throw new Error('Invalid current HTML Document URL...');\\n };\\n\\n IpfsUrl.prototype.getUrl = function (url, base) {\\n try {\\n return new _universalUrl.URL(url, base);\\n } catch (error) {// Ignore\\n }\\n\\n throw new Error('Invalid URL...');\\n };\\n\\n IpfsUrl.prototype.getIpfsBaseUrl = function () {\\n var base = this.getIpfsGatewayUrl();\\n\\n try {\\n if ($tw.utils.getIpfsUrlPolicy() === 'origin') {\\n base = this.getDocumentUrl();\\n\\n if (base.protocol === 'file:') {\\n return this.getUrl(base.toString());\\n }\\n }\\n } catch (error) {\\n base = this.getIpfsGatewayUrl();\\n }\\n\\n return this.getUrl(`${base.protocol}//${base.host}`);\\n };\\n\\n IpfsUrl.prototype.normalizeUrl = function (value, base) {\\n value = value === undefined || value == null || value.toString().trim() === '' ? null : value.toString().trim();\\n\\n if (value == null) {\\n return null;\\n } // Parse\\n\\n\\n var text = false;\\n var url = null; // Text or ENS\\n\\n try {\\n url = this.getUrl(value);\\n } catch (error) {\\n if (value.startsWith('/') === false && value.startsWith('./') === false && value.startsWith('../') === false) {\\n text = true;\\n\\n try {\\n url = this.getUrl(`https://${value}`);\\n\\n if (url.hostname.endsWith('.eth') === false && url.hostname.endsWith('.eth.link') === false) {\\n url = null;\\n } else {\\n text = false;\\n }\\n } catch (error) {// ignore\\n }\\n }\\n }\\n\\n if (text) {\\n return null;\\n } // Invalid URL, try to parse with a Base URL\\n\\n\\n if (url == null) {\\n url = this.getUrl(value, base !== undefined && base !== null ? base : this.getIpfsBaseUrl());\\n } // Remove .link from .eth.link\\n\\n\\n if (url.hostname.endsWith('.eth.link')) {\\n url.hostname = url.hostname.substring(0, url.hostname.indexOf('.link'));\\n }\\n\\n return url;\\n };\\n\\n module.exports = IpfsUrl;\\n})();\\n\\n},{\\\"@babel/runtime/helpers/interopRequireDefault\\\":2,\\\"universal-url\\\":64,\\\"window-or-global\\\":69}]},{},[71])(71)\\n});\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/ipfs/ipfs-controller.js\": {\n \"title\": \"$:/plugins/ipfs/ipfs-controller.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ipfs-controller.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: library\\n\\nIPFS Controller\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const EnsWrapper = require('$:/plugins/ipfs/ens-wrapper.js').EnsWrapper\\n const IpfsBundle = require('$:/plugins/ipfs/ipfs-bundle.js').IpfsBundle\\n const IpfsWrapper = require('$:/plugins/ipfs/ipfs-wrapper.js').IpfsWrapper\\n\\n const ipfsKeyword = 'ipfs'\\n const ipnsKeyword = 'ipns'\\n\\n const name = 'ipfs-controller'\\n\\n var IpfsController = function () {\\n this.ipfsBundle = new IpfsBundle()\\n this.ipfsBundle.init()\\n this.ensWrapper = new EnsWrapper(this.ipfsBundle)\\n this.ipfsUrl = this.ipfsBundle.ipfsUrl\\n this.ipfsWrapper = new IpfsWrapper(this.ipfsBundle)\\n this.ipfsClients = new Map()\\n this.pin = []\\n this.unpin = []\\n }\\n\\n IpfsController.prototype.getLogger = function () {\\n return window.log.getLogger(name)\\n }\\n\\n IpfsController.prototype.isCid = function (cid) {\\n return this.ipfsBundle.isCid(cid)\\n }\\n\\n IpfsController.prototype.loadToBase64 = async function (url) {\\n return this.ipfsBundle.loadToBase64(url)\\n }\\n\\n IpfsController.prototype.loadToUtf8 = async function (url) {\\n return this.ipfsBundle.loadToUtf8(url)\\n }\\n\\n IpfsController.prototype.Base64ToUint8Array = function (base64) {\\n return this.ipfsBundle.Base64ToUint8Array(base64)\\n }\\n\\n IpfsController.prototype.Uint8ArrayToBase64 = function (uint8) {\\n return this.ipfsBundle.Uint8ArrayToBase64(uint8)\\n }\\n\\n IpfsController.prototype.StringToUint8Array = function (string) {\\n return this.ipfsBundle.StringToUint8Array(string)\\n }\\n\\n IpfsController.prototype.Utf8ArrayToStr = function (array) {\\n return this.ipfsBundle.Utf8ArrayToStr(array)\\n }\\n\\n IpfsController.prototype.requestToPin = function (cid, ipnsKey, value) {\\n const self = this\\n return new Promise((resolve, reject) => {\\n if (ipnsKey !== undefined && ipnsKey !== null) {\\n self\\n .resolveUrl(true, true, value)\\n .then(data => {\\n const { cid, resolvedUrl } = data\\n if (resolvedUrl !== null && cid !== null) {\\n resolve(self.addToPin(cid, resolvedUrl))\\n } else {\\n resolve(false)\\n }\\n })\\n .catch(error => {\\n reject(error)\\n })\\n } else if (cid !== undefined && cid !== null) {\\n const normalizedUrl = self.normalizeUrl(`/${ipfsKeyword}/${cid}`)\\n resolve(self.addToPin(cid, normalizedUrl))\\n } else {\\n resolve(false)\\n }\\n })\\n }\\n\\n IpfsController.prototype.addToPin = function (cid, normalizedUrl) {\\n if (cid !== undefined && cid !== null) {\\n var index = this.unpin.indexOf(cid)\\n if (index !== -1) {\\n this.unpin.splice(index, 1)\\n this.getLogger().info(`Cancel request to Unpin:\\\\n ${normalizedUrl}`)\\n return false\\n }\\n if (this.pin.indexOf(cid) === -1) {\\n this.pin.push(cid)\\n this.getLogger().info(`Request to Pin:\\\\n ${normalizedUrl}`)\\n return true\\n }\\n }\\n return false\\n }\\n\\n IpfsController.prototype.requestToUnpin = function (cid, ipnsKey, value) {\\n const self = this\\n return new Promise((resolve, reject) => {\\n if ($tw.utils.getIpfsUnpin() === false) {\\n resolve(false)\\n }\\n if (ipnsKey !== undefined && ipnsKey !== null) {\\n self\\n .resolveUrl(true, true, value)\\n .then(data => {\\n const { cid, resolvedUrl } = data\\n if (resolvedUrl !== null && cid !== null) {\\n resolve(self.addToUnpin(cid, resolvedUrl))\\n } else {\\n resolve(false)\\n }\\n })\\n .catch(error => {\\n reject(error)\\n })\\n } else if (cid !== undefined && cid !== null) {\\n const normalizedUrl = self.normalizeUrl(`/${ipfsKeyword}/${cid}`)\\n resolve(self.addToUnpin(cid, normalizedUrl))\\n } else {\\n resolve(false)\\n }\\n })\\n }\\n\\n IpfsController.prototype.addToUnpin = function (cid, normalizedUrl) {\\n if (cid !== undefined && cid !== null) {\\n // Discard\\n var index = this.pin.indexOf(cid)\\n if (index !== -1) {\\n this.pin.splice(index, 1)\\n this.getLogger().info(`Cancel request to Pin:\\\\n ${normalizedUrl}`)\\n return false\\n }\\n // Add to unpin\\n if (this.unpin.indexOf(cid) === -1) {\\n this.unpin.push(cid)\\n this.getLogger().info(`Request to unpin:\\\\n ${normalizedUrl}`)\\n return true\\n }\\n }\\n return false\\n }\\n\\n IpfsController.prototype.removeFromPinUnpin = function (cid, normalizedUrl) {\\n if (cid !== undefined && cid !== null) {\\n var index = this.pin.indexOf(cid)\\n if (index !== -1) {\\n this.pin.splice(index, 1)\\n this.getLogger().info(`Cancel request to Pin:\\\\n ${normalizedUrl}`)\\n }\\n var index = this.unpin.indexOf(cid)\\n if (index !== -1) {\\n this.unpin.splice(index, 1)\\n this.getLogger().info(`Cancel request to Unpin:\\\\n ${normalizedUrl}`)\\n }\\n }\\n }\\n\\n IpfsController.prototype.pinToIpfs = async function (cid) {\\n const { ipfs } = await this.getIpfsClient()\\n return await this.ipfsWrapper.pinToIpfs(ipfs, cid)\\n }\\n\\n IpfsController.prototype.unpinFromIpfs = async function (cid) {\\n const { ipfs } = await this.getIpfsClient()\\n return await this.ipfsWrapper.unpinFromIpfs(ipfs, cid)\\n }\\n\\n IpfsController.prototype.addToIpfs = async function (content) {\\n const { ipfs } = await this.getIpfsClient()\\n return await this.ipfsWrapper.addToIpfs(ipfs, content)\\n }\\n\\n IpfsController.prototype.generateIpnsKey = async function (ipnsName) {\\n const { ipfs } = await this.getIpfsClient()\\n return await this.ipfsWrapper.generateIpnsKey(ipfs, ipnsName)\\n }\\n\\n IpfsController.prototype.removeIpnsKey = async function (ipnsName) {\\n const { ipfs } = await this.getIpfsClient()\\n return await this.ipfsWrapper.removeIpnsKey(ipfs, ipnsName)\\n }\\n\\n IpfsController.prototype.renameIpnsName = async function (\\n oldIpnsName,\\n newIpnsName\\n ) {\\n const { ipfs } = await this.getIpfsClient()\\n return await this.ipfsWrapper.renameIpnsName(ipfs, oldIpnsName, newIpnsName)\\n }\\n\\n IpfsController.prototype.decodeCid = function (pathname) {\\n return this.ipfsBundle.decodeCid(pathname)\\n }\\n\\n IpfsController.prototype.getIpnsIdentifiers = async function (\\n identifier,\\n ipnsName\\n ) {\\n const { ipfs } = await this.getIpfsClient()\\n return await this.ipfsWrapper.getIpnsIdentifiers(ipfs, identifier, ipnsName)\\n }\\n\\n IpfsController.prototype.resolveIpnsKey = async function (ipnsKey) {\\n const { ipfs } = await this.getIpfsClient()\\n return await this.ipfsWrapper.resolveIpnsKey(ipfs, ipnsKey)\\n }\\n\\n IpfsController.prototype.publishIpnsName = async function (\\n cid,\\n ipnsKey,\\n ipnsName\\n ) {\\n const { ipfs } = await this.getIpfsClient()\\n return await this.ipfsWrapper.publishIpnsName(cid, ipfs, ipnsKey, ipnsName)\\n }\\n\\n IpfsController.prototype.getIpfsBaseUrl = function () {\\n return this.ipfsUrl.getIpfsBaseUrl()\\n }\\n\\n IpfsController.prototype.normalizeUrl = function (value, base) {\\n return this.ipfsUrl.normalizeUrl(value, base)\\n }\\n\\n IpfsController.prototype.getDocumentUrl = function () {\\n return this.ipfsUrl.getDocumentUrl()\\n }\\n\\n IpfsController.prototype.getIpfsDefaultApi = function () {\\n return this.ipfsUrl.getIpfsDefaultApi()\\n }\\n\\n IpfsController.prototype.getIpfsDefaultGateway = function () {\\n return this.ipfsUrl.getIpfsDefaultGateway()\\n }\\n\\n IpfsController.prototype.getIpfsApiUrl = function () {\\n return this.ipfsUrl.getIpfsApiUrl()\\n }\\n\\n IpfsController.prototype.getIpfsGatewayUrl = function () {\\n return this.ipfsUrl.getIpfsGatewayUrl()\\n }\\n\\n IpfsController.prototype.resolveUrl = async function (\\n resolveIpns,\\n resolveEns,\\n value,\\n base\\n ) {\\n var cid = null\\n var ipnsKey = null\\n var ipnsName = null\\n var normalizedUrl = null\\n var resolvedUrl = null\\n value =\\n value === undefined || value == null || value.toString().trim() === ''\\n ? null\\n : value.toString().trim()\\n if (value == null) {\\n return {\\n cid: null,\\n ipnsKey: null,\\n ipnsName: null,\\n normalizedUrl: null,\\n resolvedUrl: null\\n }\\n }\\n try {\\n normalizedUrl = this.normalizeUrl(value, base)\\n } catch (error) {\\n // Ignore\\n }\\n if (normalizedUrl == null) {\\n return {\\n cid: null,\\n ipnsKey: null,\\n ipnsName: null,\\n normalizedUrl: null,\\n resolvedUrl: null\\n }\\n }\\n var { cid, ipnsIdentifier, protocol } = this.decodeCid(\\n normalizedUrl.pathname\\n )\\n if (\\n protocol !== null &&\\n protocol === ipnsKeyword &&\\n ipnsIdentifier !== null\\n ) {\\n var { ipnsKey, ipnsName, normalizedUrl } = await this.getIpnsIdentifiers(\\n ipnsIdentifier\\n )\\n if (resolveIpns) {\\n this.getLogger().info(`Resolving IPNS key:\\\\n ${normalizedUrl}`)\\n $tw.utils.alert(name, 'Resolving an IPNS key...')\\n try {\\n cid = await this.resolveIpnsKey(ipnsKey)\\n if (cid !== null) {\\n resolvedUrl = this.normalizeUrl(`/${ipfsKeyword}/${cid}`, base)\\n this.getLogger().info(\\n `Successfully resolved IPNS key:\\\\n ${normalizedUrl}`\\n )\\n $tw.utils.alert(name, 'Successfully resolved an IPNS key...')\\n }\\n } catch (error) {\\n // Unable to resolve the key\\n // It usually happen when the key is not initialized\\n cid = null\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n }\\n }\\n } else if (resolveEns && normalizedUrl.hostname.endsWith('.eth')) {\\n var { content: cid, resolvedUrl } = await this.resolveEns(\\n normalizedUrl.hostname\\n )\\n } else {\\n resolvedUrl = normalizedUrl\\n }\\n return {\\n cid: cid,\\n ipnsKey: ipnsKey,\\n ipnsName: ipnsName,\\n normalizedUrl: normalizedUrl,\\n resolvedUrl: resolvedUrl\\n }\\n }\\n\\n IpfsController.prototype.getUrl = function (url, base) {\\n return this.ipfsUrl.getUrl(\\n url,\\n base !== undefined && base !== null ? base : this.getIpfsBaseUrl()\\n )\\n }\\n\\n IpfsController.prototype.isJson = function (content) {\\n return this.ipfsBundle.isJson(content)\\n }\\n\\n IpfsController.prototype.getIpfsClient = async function () {\\n // Provider\\n const ipfsProvider = $tw.utils.getIpfsProvider()\\n // IPFS companion\\n if (ipfsProvider === 'window') {\\n const client = await this.ipfsWrapper.getWindowIpfsClient()\\n return {\\n ipfs: client.ipfs,\\n provider: client.provider\\n }\\n }\\n // Default, try IPFS companion\\n if (ipfsProvider === 'default') {\\n try {\\n const client = await this.ipfsWrapper.getWindowIpfsClient()\\n return {\\n ipfs: client.ipfs,\\n provider: client.provider\\n }\\n } catch (error) {\\n // Ignore, fallback to HTTP\\n }\\n }\\n // Current API URL\\n const url = this.getIpfsApiUrl()\\n // Check\\n if (url === undefined || url == null || url.toString().trim() === '') {\\n throw new Error('Undefined IPFS API URL...')\\n }\\n // HTTP Client\\n const client = this.ipfsClients.get(url.toString())\\n if (client !== undefined) {\\n // Log\\n this.getLogger().info(`Reuse IPFS provider: \\\"${client.provider}\\\"`)\\n // Done\\n return {\\n ipfs: client.ipfs,\\n provider: client.provider\\n }\\n }\\n // Build a new HTTP client\\n const policy = await this.ipfsWrapper.getHttpIpfsClient(url)\\n const ipfs = policy.ipfs\\n const provider = policy.provider\\n // Store\\n this.ipfsClients.set(url.toString(), { ipfs, provider })\\n // Log\\n this.getLogger().info(`New IPFS provider: \\\"${policy.provider}\\\"`)\\n // Done\\n return {\\n ipfs: ipfs,\\n provider: provider\\n }\\n }\\n\\n IpfsController.prototype.resolveEns = async function (ensDomain) {\\n const { web3 } = await this.getWeb3Provider()\\n const { content, protocol } = await this.ensWrapper.getContentHash(\\n ensDomain,\\n web3\\n )\\n if (content !== null && protocol !== null) {\\n const url = this.normalizeUrl(`/${protocol}/${content}`)\\n this.getLogger().info(\\n `Successfully fetched ENS domain content: \\\"${ensDomain}\\\"\\\\n ${url}`\\n )\\n return {\\n content: content,\\n protocol: protocol,\\n resolvedUrl: url\\n }\\n }\\n return {\\n content: null,\\n protocol: null,\\n resolvedUrl: null\\n }\\n }\\n\\n IpfsController.prototype.setEns = async function (ensDomain, cid) {\\n const { web3, account } = await this.getEnabledWeb3Provider()\\n const { cidV0 } = await this.ensWrapper.setContentHash(\\n ensDomain,\\n cid,\\n web3,\\n account\\n )\\n if (cidV0 !== null) {\\n const url = this.normalizeUrl(`/ipfs/${cidV0}`)\\n this.getLogger().info(\\n `Successfully set ENS domain content:\\\\n ${url} \\\\n to: \\\"${ensDomain}\\\"`\\n )\\n return true\\n }\\n return false\\n }\\n\\n IpfsController.prototype.getEthereumProvider = async function () {\\n return await this.ensWrapper.getEthereumProvider()\\n }\\n\\n IpfsController.prototype.getEnabledWeb3Provider = async function () {\\n return await this.ensWrapper.getEnabledWeb3Provider()\\n }\\n\\n IpfsController.prototype.getWeb3Provider = async function () {\\n return await this.ensWrapper.getWeb3Provider()\\n }\\n\\n IpfsController.prototype.getChainId = function () {\\n return this.ensWrapper.getChainId()\\n }\\n\\n exports.IpfsController = IpfsController\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/ipfs/ipfs-default.js\": {\n \"title\": \"$:/plugins/ipfs/ipfs-default.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ipfs-default.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: utils\\n\\nIPFS Default\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n /*\\n * Retrieve ipfs saver export protocol with default value if applicable\\n */\\n exports.getIpfsExport = function () {\\n var output = null\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/export')\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n output = text\\n }\\n }\\n if (output == null) {\\n output = $tw.utils.getIpfsDefaultExport()\\n }\\n return output\\n }\\n\\n /*\\n * Default Export\\n */\\n exports.getIpfsDefaultExport = function () {\\n return 'json'\\n }\\n\\n /*\\n * Retrieve ipfs saver protocol with default value if applicable\\n */\\n exports.getIpfsProtocol = function () {\\n var protocol = null\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/protocol')\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n protocol = text\\n }\\n }\\n if (protocol == null) {\\n protocol = $tw.utils.getIpfsDefaultProtocol()\\n }\\n return protocol\\n }\\n\\n /*\\n * Default Protocol\\n */\\n exports.getIpfsDefaultProtocol = function () {\\n return 'ipfs'\\n }\\n\\n /*\\n * Retrieve ipfs saver api url with default value if applicable\\n */\\n exports.getIpfsSaverApiUrl = function () {\\n var api = null\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/api')\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n api = text\\n }\\n }\\n if (api !== null) {\\n tiddler = $tw.wiki.getTiddler(api)\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n api = text\\n }\\n }\\n }\\n if (api == null) {\\n api = $tw.ipfs.getIpfsDefaultApi()\\n }\\n return api\\n }\\n\\n /*\\n * Retrieve ipfs saver gateway url with default value if applicable\\n */\\n exports.getIpfsSaverGatewayUrl = function () {\\n var gateway = null\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/gateway')\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n gateway = text\\n }\\n }\\n if (gateway !== null) {\\n tiddler = $tw.wiki.getTiddler(gateway)\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n gateway = text\\n }\\n }\\n }\\n if (gateway == null) {\\n gateway = $tw.ipfs.getIpfsDefaultGateway()\\n }\\n return gateway\\n }\\n\\n /*\\n * Retrieve ipfs saver ens domain with default value if applicable\\n */\\n exports.getIpfsEnsDomain = function () {\\n var ensDomain = null\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/ens/domain')\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n ensDomain = text\\n }\\n }\\n return ensDomain\\n }\\n\\n /*\\n * Retrieve ipfs saver ipns name with default value if applicable\\n */\\n exports.getIpfsIpnsName = function () {\\n var ipnsName = null\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/ipns/name')\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n ipnsName = text\\n }\\n }\\n return ipnsName\\n }\\n\\n /*\\n * Retrieve ipfs saver ipns key with default value if applicable\\n */\\n exports.getIpfsIpnsKey = function () {\\n var ipnsKey = null\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/ipns/key')\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n ipnsKey = text\\n }\\n }\\n return ipnsKey\\n }\\n\\n /*\\n * Retrieve ipfs saver verbose with default value if applicable\\n */\\n exports.getIpfsVerbose = function () {\\n var verbose = null\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/verbose')\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n verbose = text\\n }\\n }\\n if (verbose == null) {\\n verbose = true // default, see ipfs-saver.tid\\n } else {\\n verbose = verbose === 'yes'\\n }\\n return verbose\\n }\\n\\n /*\\n * Retrieve ipfs saver unpin with default value if applicable\\n */\\n exports.getIpfsUnpin = function () {\\n var unpin = null\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/unpin')\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n unpin = text\\n }\\n }\\n if (unpin == null) {\\n unpin = false // default, see ipfs-saver.tid\\n } else {\\n unpin = unpin === 'yes'\\n }\\n return unpin\\n }\\n\\n /*\\n * Retrieve ipfs saver url policy with default value if applicable\\n */\\n exports.getIpfsUrlPolicy = function () {\\n var policy = null\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/policy')\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n policy = text\\n }\\n }\\n if (policy == null) {\\n policy = $tw.utils.getIpfsDefaultPolicy()\\n }\\n return policy\\n }\\n\\n /*\\n * Default Policy\\n */\\n exports.getIpfsDefaultPolicy = function () {\\n return 'gateway'\\n }\\n\\n /*\\n * Retrieve ipfs saver provider with default value if applicable\\n */\\n exports.getIpfsProvider = function () {\\n var provider = null\\n var tiddler = $tw.wiki.getTiddler('$:/ipfs/saver/provider')\\n if (tiddler !== undefined && tiddler !== null) {\\n var text = tiddler.getFieldString('text')\\n text =\\n text === undefined || text == null || text.trim() === ''\\n ? null\\n : text.trim()\\n if (text !== null) {\\n provider = text\\n }\\n }\\n if (provider == null) {\\n provider = $tw.utils.getIpfsDefaultProvider()\\n }\\n return provider\\n }\\n\\n /*\\n * Default Provider\\n */\\n exports.getIpfsDefaultProvider = function () {\\n return 'http'\\n }\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"utils\"\n },\n \"$:/plugins/ipfs/ipfs-import.js\": {\n \"title\": \"$:/plugins/ipfs/ipfs-import.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ipfs-import.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: library\\n\\nIPFS Import\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const name = 'ipfs-import'\\n\\n const local = '\u003Ca href=\\\"'\\n const remote = '\u003Ca rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\" href=\\\"'\\n\\n const alertFailed = function (\\n strings,\\n msg,\\n key,\\n field,\\n parentField,\\n parentUrl,\\n parentTitle\\n ) {\\n var space = strings[1]\\n var endH1 = strings[2]\\n var endL1 = strings[3]\\n var from = strings[4]\\n var endH2 = strings[5]\\n var endL2 = strings[6]\\n if (\\n parentUrl.hostname === $tw.ipfs.getIpfsBaseUrl().hostname &&\\n parentUrl.pathname === $tw.ipfs.getIpfsBaseUrl().pathname\\n ) {\\n return `${msg}${space}${remote}${key}${endH1}${field}${endL1}${parentField}${from}${local}${parentUrl}${endH2}${parentTitle}${endL2}`\\n } else {\\n return `${msg}${space}${remote}${key}${endH1}${field}${endL1}${parentField}${from}${remote}${parentUrl}${endH2}${parentTitle}${endL2}`\\n }\\n }\\n\\n const alertFieldFailed = function (strings, msg, field, url, title) {\\n var failed = strings[1]\\n var from = strings[2]\\n var endH = strings[3]\\n var endL = strings[4]\\n if (\\n url.hostname === $tw.ipfs.getIpfsBaseUrl().hostname &&\\n url.pathname === $tw.ipfs.getIpfsBaseUrl().pathname\\n ) {\\n return `${msg}${failed}${field}${from}${local}${url}${endH}${title}${endL}`\\n } else {\\n return `${msg}${failed}${field}${from}${remote}${url}${endH}${title}${endL}`\\n }\\n }\\n\\n const alertConditionFailed = function (\\n strings,\\n msg,\\n condition,\\n key,\\n title,\\n parentUrl\\n ) {\\n var space = strings[1]\\n var from = strings[2]\\n var endH1 = strings[3]\\n var endL1 = strings[4]\\n var endH2 = strings[5]\\n var endL2 = strings[6]\\n if (\\n parentUrl.hostname === $tw.ipfs.getIpfsBaseUrl().hostname &&\\n parentUrl.pathname === $tw.ipfs.getIpfsBaseUrl().pathname\\n ) {\\n return `${msg}${space}${condition}${from}${remote}${key}${endH1}${title}${endL1}${local}${parentUrl}${endH2}${title}${endL2}`\\n } else {\\n return `${msg}${space}${condition}${from}${remote}${key}${endH1}${title}${endL1}${remote}${parentUrl}${endH2}${title}${endL2}`\\n }\\n }\\n\\n var IpfsImport = function () {}\\n\\n IpfsImport.prototype.getLogger = function () {\\n return window.log.getLogger(name)\\n }\\n\\n IpfsImport.prototype.removeTiddlers = function (keys, title) {\\n var removed = 0\\n for (var key of this.loaded.keys()) {\\n if (keys.indexOf(key) !== -1) {\\n continue\\n }\\n const { imported, resolvedKey } = this.loaded.get(key)\\n if (imported.delete(title)) {\\n const msg = 'Remove:'\\n const field = ''\\n this.getLogger().info(`${msg} ${field}\\\"${title}\\\"\\\\n ${resolvedKey}`)\\n $tw.utils.alert(\\n name,\\n alertFieldFailed`${msg} ${field}${resolvedKey}\\\">${title}\u003C/a>`\\n )\\n removed += 1\\n }\\n }\\n return removed\\n }\\n\\n IpfsImport.prototype.getKey = async function (base, value) {\\n var cid = null\\n var ipnsKey = null\\n var key = null\\n var normalizedUrl = null\\n var resolvedUrl = null\\n value =\\n value === undefined || value == null || value.trim() === ''\\n ? null\\n : value.trim()\\n if (value == null) {\\n return {\\n key: null,\\n isIpfs: false,\\n resolvedUrl: null\\n }\\n }\\n var {\\n cid,\\n ipnsKey,\\n normalizedUrl,\\n resolvedUrl\\n } = await $tw.ipfs.resolveUrl(false, true, value, base)\\n if (normalizedUrl == null && resolvedUrl == null) {\\n throw new Error(`Failed to resolve value: \\\"${value}\\\"`)\\n }\\n if (cid !== null) {\\n key = `/ipfs/${cid}`\\n } else if (ipnsKey !== null) {\\n key = `/ipns/${ipnsKey}`\\n } else if (normalizedUrl.hostname.endsWith('.eth')) {\\n key = normalizedUrl.hostname\\n } else {\\n key = normalizedUrl.toString()\\n }\\n return {\\n key: key,\\n resolvedUrl: resolvedUrl\\n }\\n }\\n\\n IpfsImport.prototype.isIpfs = async function (key) {\\n key =\\n key === undefined || key == null || key.trim() === '' ? null : key.trim()\\n if (key == null) {\\n return false\\n }\\n const { cid, ipnsIdentifier } = $tw.ipfs.decodeCid(key)\\n if (cid !== null || ipnsIdentifier !== null) {\\n return true\\n } else if (key.endsWith('.eth')) {\\n return true\\n }\\n return false\\n }\\n\\n IpfsImport.prototype.import = async function (\\n canonicalUri,\\n importUri,\\n tiddler\\n ) {\\n const self = this\\n var loadedAdded = 0\\n var loadedRemoved = 0\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n importUri =\\n importUri === undefined || importUri == null || importUri.trim() === ''\\n ? null\\n : importUri.trim()\\n this.host = tiddler\\n const { type, info } = $tw.utils.getContentType(\\n tiddler.fields.title,\\n tiddler.fields.type\\n )\\n this.loaded = new Map()\\n this.notLoaded = []\\n this.isEmpty = []\\n this.resolved = new Map()\\n this.notResolved = []\\n this.added = []\\n this.updated = []\\n this.merged = new Map()\\n try {\\n // Load and prepare imported tiddlers to be processed\\n const url = $tw.ipfs.getIpfsBaseUrl()\\n url.hash = tiddler.fields.title\\n if (canonicalUri !== null || importUri !== null) {\\n this.getLogger().info('*** Begin Import ***')\\n this.rootUri = importUri !== null ? importUri : canonicalUri\\n if (this.rootUri !== null) {\\n const {\\n loaded: importLoaded,\\n removed: importRemoved\\n } = await this.load(\\n url,\\n tiddler.fields.title,\\n '_import_uri',\\n importUri,\\n true\\n )\\n loadedAdded += importLoaded\\n loadedRemoved += importRemoved\\n }\\n if (canonicalUri !== null) {\\n var load = true\\n if (info.encoding === 'base64' || type === 'image/svg+xml') {\\n load = false\\n }\\n const {\\n loaded: canonicalLoaded,\\n removed: canonicalRemoved\\n } = await this.load(\\n url,\\n tiddler.fields.title,\\n '_canonical_uri',\\n canonicalUri,\\n load\\n )\\n loadedAdded += canonicalLoaded\\n loadedRemoved += canonicalRemoved\\n }\\n const { processed, removed: processedRemoved } = this.processImported()\\n this.importTiddlers()\\n this.getLogger().info(`*** Loaded: ${this.loaded.size} Resource(s) ***`)\\n this.getLogger().info(\\n `*** Loaded: ${this.isEmpty.length} Empty Resource(s) ***`\\n )\\n this.getLogger().info(\\n `*** Failed to Load: ${this.notLoaded.length} Resource(s) ***`\\n )\\n this.getLogger().info(\\n `*** Failed to Resolve: ${this.notResolved.length} URL(s) ***`\\n )\\n this.getLogger().info(\\n `*** Loaded: ${loadedAdded}, Removed: ${loadedRemoved} Tiddler(s) ***`\\n )\\n this.getLogger().info(\\n `*** Processed: ${processed}, Removed: ${processedRemoved} Tiddler(s) ***`\\n )\\n this.getLogger().info(\\n `*** Added: ${this.added.length}, Updated: ${this.updated.length} Tiddler(s) ***`\\n )\\n }\\n // Update Wiki\\n var reportAdded = ''\\n var reportUpdated = ''\\n for (var [title, merged] of this.merged.entries()) {\\n $tw.wiki.addTiddler(merged)\\n if (\\n this.host !== null &&\\n this.merged.get(this.host.fields.title) === undefined\\n ) {\\n if (this.added.indexOf(title) !== -1) {\\n reportAdded = `${reportAdded}[[${title}]]`\\n } else {\\n reportUpdated = `${reportUpdated}[[${title}]]`\\n }\\n }\\n }\\n // Process deleted\\n var deleted = 0\\n var reportDeleted = ''\\n $tw.wiki.forEachTiddler({ includeSystem: true }, function (\\n title,\\n tiddler\\n ) {\\n var value = tiddler.getFieldString('_canonical_uri')\\n if (\\n value !== undefined &&\\n value !== null &&\\n value === self.rootUri &&\\n self.merged.get(title) === undefined\\n ) {\\n if (\\n self.host !== null &&\\n self.merged.get(self.host.fields.title) === undefined &&\\n self.host.fields.title !== title\\n ) {\\n $tw.wiki.deleteTiddler(title)\\n reportDeleted = `${reportDeleted}[[${title}]]`\\n deleted += 1\\n }\\n return\\n }\\n var value = tiddler.getFieldString('_import_uri')\\n if (\\n value !== undefined &&\\n value !== null &&\\n value === self.rootUri &&\\n self.merged.get(title) === undefined\\n ) {\\n if (\\n self.host !== null &&\\n self.merged.get(self.host.fields.title) === undefined &&\\n self.host.fields.title !== title\\n ) {\\n $tw.wiki.deleteTiddler(title)\\n reportDeleted = `${reportDeleted}[[${title}]]`\\n deleted += 1\\n }\\n }\\n })\\n if (this.merged.size > 0) {\\n $tw.utils.alert(\\n name,\\n 'Successfully Imported, Added: ' +\\n this.added.length +\\n ', Deleted: ' +\\n deleted +\\n ', Updated: ' +\\n this.updated.length\\n )\\n }\\n if (\\n this.host !== null &&\\n this.merged.get(this.host.fields.title) === undefined\\n ) {\\n var updatedTiddler = new $tw.Tiddler(this.host)\\n if (this.merged.size === 0) {\\n updatedTiddler = $tw.utils.updateTiddler({\\n tiddler: updatedTiddler,\\n fields: [\\n {\\n key: 'type',\\n value: 'text/vnd.tiddlywiki'\\n },\\n {\\n key: 'text',\\n value: \\\"''No Tiddlers have been Imported''\\\"\\n }\\n ]\\n })\\n } else {\\n const reportAddedMsg = `\u003Cp align='left'>''Added: ${this.added.length}''\u003C/p>`\\n const reportDeletedMsg = `\u003Cp align='left'>''Deleted: ${deleted}''\u003C/p>`\\n const reportImportedMsg =\\n \\\"\u003Cp align='center'>''Successfully Imported''\u003C/p>\\\"\\n const reportUpdatedMsg = `\u003Cp align='left'>''Updated: ${this.updated.length}''\u003C/p>`\\n var value = `${reportImportedMsg}`\\n if (reportAdded.trim() !== '') {\\n value = `${value}\\\\n\\\\n${reportAddedMsg}\\\\n\\\\n{{{${reportAdded}}}}`\\n }\\n if (reportDeleted.trim() !== '') {\\n value = `${value}\\\\n\\\\n${reportDeletedMsg}\\\\n\\\\n{{{${reportDeleted}}}}`\\n }\\n if (reportUpdated.trim() !== '') {\\n value = `${value}\\\\n\\\\n${reportUpdatedMsg}\\\\n\\\\n{{{${reportUpdated}}}}`\\n }\\n updatedTiddler = $tw.utils.updateTiddler({\\n tiddler: updatedTiddler,\\n fields: [\\n {\\n key: 'type',\\n value: 'text/vnd.tiddlywiki'\\n },\\n {\\n key: 'text',\\n value: value\\n }\\n ]\\n })\\n }\\n $tw.wiki.addTiddler(updatedTiddler)\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n }\\n this.getLogger().info('*** End Import ***')\\n this.host = null\\n this.loaded = null\\n this.isEmpty = null\\n this.notLoaded = null\\n this.resolved = null\\n this.notResolved = null\\n this.added = null\\n this.updated = null\\n this.merged = null\\n }\\n\\n IpfsImport.prototype.load = async function (\\n parentUrl,\\n parentTitle,\\n field,\\n url,\\n load\\n ) {\\n var loaded = 0\\n var removed = 0\\n var key = null\\n var resolvedUrl = null\\n if (\\n url !== null &&\\n this.notResolved.indexOf(url) === -1 &&\\n this.resolved.get(url) === undefined\\n ) {\\n try {\\n var { key, resolvedUrl } = await this.getKey(parentUrl, url)\\n this.resolved.set(url, key)\\n } catch (error) {\\n const msg = 'Failed to Resolve:'\\n this.notResolved.push(url)\\n this.getLogger().error(error)\\n $tw.utils.alert(\\n name,\\n alertFieldFailed`${msg} \\\"${field}\\\" from ${parentUrl}\\\">${parentTitle}\u003C/a>`\\n )\\n }\\n }\\n if (\\n load &&\\n key !== null &&\\n resolvedUrl !== null &&\\n this.notLoaded.indexOf(key) === -1 &&\\n this.loaded.get(key) === undefined\\n ) {\\n const {\\n loaded: loadedAdded,\\n removed: loadedRemoved\\n } = await this.loadResource(\\n parentUrl,\\n parentTitle,\\n field,\\n url,\\n key,\\n resolvedUrl\\n )\\n loaded = loadedAdded\\n removed = loadedRemoved\\n }\\n return {\\n loaded: loaded,\\n removed: removed\\n }\\n }\\n\\n IpfsImport.prototype.loadResource = async function (\\n parentUrl,\\n parentTitle,\\n parentField,\\n uri,\\n key,\\n resolvedKey\\n ) {\\n var loaded = 0\\n var removed = 0\\n var content = null\\n var imported = new Map()\\n var tiddlers = null\\n try {\\n // Load\\n content = await $tw.ipfs.loadToUtf8(resolvedKey.toString())\\n if ($tw.ipfs.isJson(content.data)) {\\n tiddlers = $tw.wiki.deserializeTiddlers(\\n '.json',\\n content.data,\\n $tw.wiki.getCreationFields()\\n )\\n } else {\\n tiddlers = $tw.wiki.deserializeTiddlers(\\n '.tid',\\n content.data,\\n $tw.wiki.getCreationFields()\\n )\\n }\\n // Loaded\\n if (tiddlers !== undefined && tiddlers !== null) {\\n this.loaded.set(key, { imported, resolvedKey, uri })\\n for (var i in tiddlers) {\\n const tiddler = tiddlers[i]\\n var title = tiddler.title\\n if (title === undefined || title == null || title.trim() === '') {\\n const msg = 'Ignore Unknown:'\\n const field = 'Title'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\"\\\\n ${resolvedKey} \\\\n from \\\"${parentField}\\\", \\\"${parentTitle}\\\"\\\\n ${parentUrl}`\\n )\\n $tw.utils.alert(\\n name,\\n alertFailed`${msg} ${resolvedKey}\\\">${field}\u003C/a>, from \\\"${parentField}\\\", ${parentUrl}\\\">${parentTitle}\u003C/a>`\\n )\\n removed += 1\\n continue\\n }\\n if (imported.get(title) !== undefined) {\\n const msg = 'Ignore Duplicate:'\\n this.getLogger().info(\\n `${msg} \\\"${title}\\\"\\\\n ${resolvedKey} \\\\n from \\\"${parentField}\\\", \\\"${parentTitle}\\\"\\\\n ${parentUrl}`\\n )\\n $tw.utils.alert(\\n name,\\n alertFailed`${msg} ${resolvedKey}\\\">${title}\u003C/a>, from \\\"${parentField}\\\", ${parentUrl}\\\">${parentTitle}\u003C/a>`\\n )\\n removed += 1\\n continue\\n }\\n var type = tiddler.type\\n if (type === undefined || type == null) {\\n type = 'text/vnd.tiddlywiki'\\n }\\n var info = $tw.config.contentTypeInfo[type]\\n if (info === undefined || info == null) {\\n const msg = 'Unknown:'\\n const field = 'Content-Type'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\": \\\"${title}\\\"\\\\n ${resolvedKey}`\\n )\\n $tw.utils.alert(\\n name,\\n alertFieldFailed`${msg} \\\"${field}\\\": ${resolvedKey}\\\">${title}\u003C/a>`\\n )\\n // Default\\n type = 'text/vnd.tiddlywiki'\\n info = $tw.config.contentTypeInfo[type]\\n }\\n tiddler.type = type\\n // Next\\n var canonicalUri = tiddler._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n tiddler._canonical_uri = canonicalUri\\n var importUri = tiddler._import_uri\\n importUri =\\n importUri === undefined ||\\n importUri == null ||\\n importUri.trim() === ''\\n ? null\\n : importUri.trim()\\n tiddler._import_uri = importUri\\n if (canonicalUri !== null || importUri !== null) {\\n if (importUri !== null) {\\n const {\\n loaded: loadedAdded,\\n removed: loadedRemoved\\n } = await this.load(\\n resolvedKey,\\n title,\\n '_import_uri',\\n importUri,\\n true\\n )\\n loaded += loadedAdded\\n removed += loadedRemoved\\n }\\n if (canonicalUri !== null) {\\n var load = true\\n if (\\n info.encoding === 'base64' ||\\n tiddler.type === 'image/svg+xml'\\n ) {\\n load = false\\n }\\n const {\\n loaded: loadedAdded,\\n removed: loadedRemoved\\n } = await this.load(\\n resolvedKey,\\n title,\\n 'canonical_uri',\\n canonicalUri,\\n load\\n )\\n loaded += loadedAdded\\n removed += loadedRemoved\\n }\\n }\\n imported.set(title, tiddler)\\n loaded += 1\\n }\\n }\\n if (imported.size === 0) {\\n this.isEmpty.push(key)\\n const msg = 'Empty:'\\n const field = 'Resource'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\"\\\\n ${resolvedKey} \\\\n from \\\"${parentField}\\\", \\\"${parentTitle}\\\"\\\\n ${parentUrl}`\\n )\\n $tw.utils.alert(\\n name,\\n alertFailed`${msg} ${resolvedKey}\\\">${field}\u003C/a> from \\\"${parentField}\\\", ${parentUrl}\\\">${parentTitle}\u003C/a>`\\n )\\n }\\n } catch (error) {\\n this.notLoaded.push(key)\\n const msg = 'Failed to Load:'\\n const field = 'Resource'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\"\\\\n ${resolvedKey} \\\\n from \\\"${parentField}\\\", \\\"${parentTitle}\\\"\\\\n ${parentUrl}`\\n )\\n this.getLogger().error(error)\\n $tw.utils.alert(\\n name,\\n alertFailed`${msg} ${resolvedKey}\\\">${field}\u003C/a> from \\\"${parentField}\\\", ${parentUrl}\\\">${parentTitle}\u003C/a>`\\n )\\n }\\n return {\\n loaded: loaded,\\n removed: removed\\n }\\n }\\n\\n IpfsImport.prototype.processImported = function () {\\n var processed = 0\\n var removed = 0\\n var processedTitles = []\\n for (var key of this.loaded.keys()) {\\n const { imported, resolvedKey } = this.loaded.get(key)\\n for (var title of imported.keys()) {\\n if (processedTitles.indexOf(title) !== -1) {\\n continue\\n }\\n const keys = []\\n const tiddler = imported.get(title)\\n var type = tiddler.type\\n var info = $tw.config.contentTypeInfo[type]\\n var canonicalUri = tiddler._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n var importUri = tiddler._import_uri\\n importUri =\\n importUri === undefined ||\\n importUri == null ||\\n importUri.trim() === ''\\n ? null\\n : importUri.trim()\\n if (canonicalUri == null && importUri == null) {\\n keys.push(key)\\n } else if (canonicalUri == null && importUri !== null) {\\n const msg = 'Missing:'\\n const field = '_canonical_uri'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\" from ${title}\\\"\\\\n ${resolvedKey}`\\n )\\n $tw.utils.alert(\\n name,\\n alertFieldFailed`${msg} \\\"${field}\\\" from ${resolvedKey}\\\">${title}\u003C/a>`\\n )\\n } else {\\n var canonicalKey = null\\n if (\\n canonicalUri !== null &&\\n this.notResolved.indexOf(canonicalUri) === -1\\n ) {\\n canonicalKey = this.resolved.get(canonicalUri)\\n }\\n if (canonicalKey !== undefined && canonicalKey !== null) {\\n if (key === canonicalKey) {\\n const msg = 'Cycle Graph:'\\n const field = '_canonical_uri'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\" from ${title}\\\"\\\\n ${resolvedKey}`\\n )\\n $tw.utils.alert(\\n name,\\n alertFieldFailed`${msg} \\\"${field}\\\" from ${resolvedKey}\\\">${title}\u003C/a>`\\n )\\n } else if (\\n this.processCanonicalKey(\\n keys,\\n resolvedKey,\\n title,\\n canonicalKey,\\n type,\\n info\\n )\\n ) {\\n var importKey = null\\n if (\\n importUri !== null &&\\n this.notResolved.indexOf(importUri) === -1\\n ) {\\n importKey = this.resolved.get(importUri)\\n }\\n if (importKey === undefined || importKey == null) {\\n keys.push(key)\\n } else {\\n if (canonicalKey === importKey) {\\n const msg = 'Matching:'\\n const field = '\\\"_canonical_uri\\\" and \\\"_import_uri\\\"'\\n this.getLogger().info(\\n `${msg} ${field} from \\\"${title}\\\"\\\\n ${resolvedKey}`\\n )\\n $tw.utils.alert(\\n name,\\n alertFieldFailed`${msg} ${field} from ${resolvedKey}\\\">${title}\u003C/a>`\\n )\\n } else if (key === importKey) {\\n const msg = 'Cycle Graph:'\\n const field = '_import_uri'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\" from \\\"${title}\\\"\\\\n ${resolvedKey}`\\n )\\n $tw.utils.alert(\\n name,\\n alertFieldFailed`${msg} \\\"${field}\\\" from ${resolvedKey}\\\">${title}\u003C/a>`\\n )\\n } else {\\n keys.push(key)\\n this.processImportKey(\\n keys,\\n resolvedKey,\\n title,\\n canonicalKey,\\n importKey\\n )\\n }\\n }\\n }\\n }\\n }\\n processed += keys.length\\n removed += this.removeTiddlers(keys, title)\\n processedTitles.push(title)\\n }\\n }\\n return {\\n processed: processed,\\n removed: removed\\n }\\n }\\n\\n IpfsImport.prototype.processCanonicalKey = function (\\n keys,\\n parentResolvedKey,\\n title,\\n canonicalKey,\\n type,\\n info\\n ) {\\n if (info.encoding === 'base64' || type === 'image/svg+xml') {\\n keys.push(canonicalKey)\\n return true\\n }\\n if (this.notLoaded.indexOf(canonicalKey) !== -1) {\\n return false\\n }\\n const { imported, resolvedKey } = this.loaded.get(canonicalKey)\\n if (imported === undefined) {\\n return false\\n }\\n const tiddler = imported.get(title)\\n if (tiddler === undefined) {\\n return false\\n }\\n var canonicalUri = tiddler._canonical_uri\\n canonicalUri =\\n canonicalUri == null ||\\n canonicalUri === undefined ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n if (canonicalUri !== null) {\\n const msg = 'Inconsistency:'\\n const field = '_canonical_uri'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\" from \\\"${title}\\\"\\\\n ${resolvedKey} \\\\n and ${parentResolvedKey}`\\n )\\n $tw.utils.alert(\\n name,\\n alertConditionFailed`${msg} \\\"${field}\\\" from ${resolvedKey}\\\">${title}\u003C/a> and ${parentResolvedKey}\\\">${title}\u003C/a>`\\n )\\n return false\\n }\\n var importUri = tiddler._import_uri\\n importUri =\\n importUri == null || importUri === undefined || importUri.trim() === ''\\n ? null\\n : importUri.trim()\\n if (importUri !== null) {\\n const msg = 'Inconsistency:'\\n const field = '_import_uri'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\" from \\\"${title}\\\"\\\\n ${resolvedKey} \\\\n and ${parentResolvedKey}`\\n )\\n $tw.utils.alert(\\n name,\\n alertConditionFailed`${msg} \\\"${field}\\\" from ${resolvedKey}\\\">${title}\u003C/a> and ${parentResolvedKey}\\\">${title}\u003C/a>`\\n )\\n return false\\n }\\n keys.push(canonicalKey)\\n return true\\n }\\n\\n IpfsImport.prototype.processImportKey = function (\\n keys,\\n parentResolvedKey,\\n title,\\n canonicalKey,\\n importKey\\n ) {\\n if (this.notLoaded.indexOf(importKey) !== -1) {\\n return\\n }\\n const { imported, resolvedKey: importResolvedKey } = this.loaded.get(\\n importKey\\n )\\n if (imported === undefined) {\\n return\\n }\\n const tiddler = imported.get(title)\\n if (tiddler === undefined) {\\n return\\n }\\n var targetCanonicalUri = tiddler._canonical_uri\\n targetCanonicalUri =\\n targetCanonicalUri == null ||\\n targetCanonicalUri === undefined ||\\n targetCanonicalUri.trim() === ''\\n ? null\\n : targetCanonicalUri.trim()\\n var targetCanonicalKey = null\\n if (\\n targetCanonicalUri !== null &&\\n this.notResolved.indexOf(targetCanonicalUri) === -1\\n ) {\\n targetCanonicalKey = this.resolved.get(targetCanonicalUri)\\n }\\n if (\\n targetCanonicalKey !== undefined &&\\n targetCanonicalKey !== null &&\\n canonicalKey !== targetCanonicalKey\\n ) {\\n const msg = 'Inconsistency:'\\n const field = '_canonical_uri'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\" from \\\"${title}\\\"\\\\n ${importResolvedKey} \\\\n and ${parentResolvedKey}`\\n )\\n $tw.utils.alert(\\n name,\\n alertConditionFailed`${msg} \\\"${field}\\\" from ${importResolvedKey}\\\">${title}\u003C/a> and ${parentResolvedKey}\\\">${title}\u003C/a>`\\n )\\n return\\n }\\n var nextImportUri = tiddler._import_uri\\n nextImportUri =\\n nextImportUri == null ||\\n nextImportUri === undefined ||\\n nextImportUri.trim() === ''\\n ? null\\n : nextImportUri.trim()\\n if (targetCanonicalUri == null && nextImportUri !== null) {\\n const msg = 'Missing:'\\n const field = '_canonical_uri'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\" from \\\"${title}\\\"\\\\n ${importResolvedKey}`\\n )\\n $tw.utils.alert(\\n name,\\n alertFieldFailed`${msg} \\\"${field}\\\" from ${importResolvedKey}\\\">${title}\u003C/a>`\\n )\\n return\\n }\\n if (nextImportUri == null) {\\n keys.push(importKey)\\n } else {\\n var nextImportKey = null\\n if (\\n nextImportUri !== null &&\\n this.notResolved.indexOf(nextImportUri) === -1\\n ) {\\n nextImportKey = this.resolved.get(nextImportUri)\\n }\\n if (nextImportKey !== undefined && nextImportKey !== null) {\\n if (canonicalKey === nextImportKey) {\\n const msg = 'Matching:'\\n const field = '\\\"_canonical_uri\\\" and \\\"_import_uri\\\"'\\n this.getLogger().info(\\n `${msg} ${field} from \\\"${title}\\\"\\\\n ${importResolvedKey}`\\n )\\n $tw.utils.alert(\\n name,\\n alertFieldFailed`${msg} ${field} from ${importResolvedKey}\\\">${title}\u003C/a>`\\n )\\n } else if (keys.indexOf(nextImportKey) !== -1) {\\n const msg = 'Cycle Graph:'\\n const field = '_import_uri'\\n this.getLogger().info(\\n `${msg} \\\"${field}\\\" from \\\"${title}\\\"\\\\n ${importResolvedKey}`\\n )\\n $tw.utils.alert(\\n name,\\n alertFieldFailed`${msg} \\\"${field}\\\" from ${importResolvedKey}\\\">${title}\u003C/a>`\\n )\\n } else {\\n keys.push(importKey)\\n this.processImportKey(\\n keys,\\n importResolvedKey,\\n title,\\n canonicalKey,\\n nextImportKey\\n )\\n }\\n }\\n }\\n }\\n\\n IpfsImport.prototype.importTiddlers = function () {\\n var processedTitles = []\\n for (var key of this.loaded.keys()) {\\n const { imported, uri } = this.loaded.get(key)\\n for (var title of imported.keys()) {\\n if (processedTitles.indexOf(title) !== -1) {\\n continue\\n }\\n const tiddler = imported.get(title)\\n var type = tiddler.type\\n var info = $tw.config.contentTypeInfo[type]\\n var canonicalUri = tiddler._canonical_uri\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n var importUri = tiddler._import_uri\\n importUri =\\n importUri === undefined ||\\n importUri == null ||\\n importUri.trim() === ''\\n ? null\\n : importUri.trim()\\n var exist = null\\n if (importUri !== null) {\\n exist = this.importTiddler(title, importUri)\\n }\\n if (\\n exist == null &&\\n canonicalUri !== null &&\\n info.encoding !== 'base64' &&\\n type !== 'image/svg+xml'\\n ) {\\n this.importTiddler(title, canonicalUri)\\n }\\n exist = this.mergeTiddler(title, uri)\\n if (exist !== null) {\\n const merged = this.merged.get(title)\\n var type = merged.type\\n var info = $tw.config.contentTypeInfo[type]\\n if (info.encoding === 'base64' || type === 'image/svg+xml') {\\n merged._import_uri = this.rootUri\\n } else {\\n var canonicalUri = merged._canonical_uri\\n if (canonicalUri === undefined || canonicalUri == null) {\\n if (uri !== this.rootUri) {\\n merged._canonical_uri = this.resolved.get(uri)\\n merged._import_uri = this.rootUri\\n } else {\\n merged._canonical_uri = this.rootUri\\n }\\n } else {\\n merged._canonical_uri = this.resolved.get(merged._canonical_uri)\\n if (canonicalUri !== this.rootUri) {\\n merged._import_uri = this.rootUri\\n }\\n }\\n }\\n if (exist) {\\n this.updated.push(title)\\n } else {\\n this.added.push(title)\\n }\\n processedTitles.push(title)\\n }\\n }\\n }\\n }\\n\\n IpfsImport.prototype.importTiddler = function (title, uri) {\\n const key = this.resolved.get(uri)\\n if (key === undefined) {\\n return null\\n }\\n const { imported } = this.loaded.get(key)\\n if (imported === undefined) {\\n return null\\n }\\n const tiddler = imported.get(title)\\n if (tiddler === undefined) {\\n return null\\n }\\n var type = tiddler.type\\n var info = $tw.config.contentTypeInfo[type]\\n var importUri = tiddler._import_uri\\n importUri =\\n importUri == null || importUri === undefined || importUri.trim() === ''\\n ? null\\n : importUri.trim()\\n var canonicalUri = tiddler._canonical_uri\\n canonicalUri =\\n canonicalUri == null ||\\n canonicalUri === undefined ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n var exist = null\\n if (importUri !== null) {\\n exist = this.importTiddler(title, importUri)\\n }\\n if (\\n exist == null &&\\n canonicalUri !== null &&\\n info.encoding !== 'base64' &&\\n type !== 'image/svg+xml'\\n ) {\\n this.importTiddler(title, canonicalUri)\\n }\\n return this.mergeTiddler(title, uri)\\n }\\n\\n IpfsImport.prototype.mergeTiddler = function (title, uri) {\\n var merged = null\\n var currentTiddler = null\\n const key = this.resolved.get(uri)\\n if (key === undefined) {\\n return null\\n }\\n const { imported } = this.loaded.get(key)\\n if (imported === undefined) {\\n return null\\n }\\n const tiddler = imported.get(title)\\n if (tiddler === undefined) {\\n return null\\n }\\n // Retrieve target host Tiddler\\n if (this.host !== null && this.host.fields.title === title) {\\n currentTiddler = this.host\\n } else {\\n currentTiddler = $tw.wiki.getTiddler(title)\\n }\\n // Retrieve or prepare merged content\\n merged = this.merged.get(title)\\n if (merged === undefined) {\\n merged = {}\\n this.merged.set(title, merged)\\n }\\n // Tags\\n var tags = tiddler.tags !== undefined ? tiddler.tags : ''\\n // Fields\\n var hasModified = false\\n for (var field in tiddler) {\\n // Discard\\n if (field === 'tags') {\\n continue\\n }\\n if (field === 'modified') {\\n hasModified = true\\n }\\n // Unknown from leaf to top, we keep the top modified field\\n if (\\n merged[field] === undefined ||\\n merged[field] == null ||\\n field === '_canonical_uri' ||\\n field === '_import_uri' ||\\n field === 'modified'\\n ) {\\n merged[field] = tiddler[field]\\n }\\n }\\n if (hasModified === false) {\\n merged.modified = new Date()\\n }\\n // Merge current Tiddler Tags\\n if (currentTiddler !== undefined && currentTiddler !== null) {\\n const currentTags = (currentTiddler.fields.tags || []).slice(0)\\n for (var i = 0; i \u003C currentTags.length; i++) {\\n const currentTag = currentTags[i]\\n if (tags.includes(currentTag) === false) {\\n tags = `${tags} [[${currentTag}]]`\\n }\\n }\\n }\\n // Merge merged Tags\\n if (merged.tags !== undefined && merged.tags !== null) {\\n const mergedTags = $tw.utils.parseStringArray(merged.tags, false)\\n for (var i = 0; i \u003C mergedTags.length; i++) {\\n const mergedTag = mergedTags[i]\\n if (tags.includes(mergedTag) === false) {\\n tags = `${tags} [[${mergedTag}]]`\\n }\\n }\\n }\\n // IPFS tag\\n if (this.isIpfs(key) && tags.includes('$:/isIpfs') === false) {\\n tags = `${tags} $:/isIpfs`\\n }\\n // Imported tag\\n if (tags.includes('$:/isImported') === false) {\\n tags = `${tags} $:/isImported`\\n }\\n // Processed tags\\n merged.tags = tags\\n if (currentTiddler !== undefined && currentTiddler !== null) {\\n return true\\n }\\n return false\\n }\\n\\n exports.IpfsImport = IpfsImport\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/ipfs/macro/ipfs-info-saver.js\": {\n \"title\": \"$:/plugins/ipfs/macro/ipfs-info-saver.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/macro/ipfs-info-saver.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: macro\\n\\nIPFS info saver\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n /*\\n * Information about this macro\\n */\\n exports.name = 'ipfs-info-saver'\\n\\n exports.params = [{ name: 'tiddler' }]\\n\\n /*\\n * Run the macro\\n */\\n exports.run = function (tiddler) {\\n return $tw.saverHandler.getSaver(tiddler).module.info.name\\n }\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"macro\"\n },\n \"$:/plugins/ipfs/modules/widgets/ipfs-link.js\": {\n \"title\": \"$:/plugins/ipfs/modules/widgets/ipfs-link.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/modules/widgets/ipfs-link.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nIPFS link widget\\n\\n\\\\*/\\n\\n/**\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n var Widget = require('$:/core/modules/widgets/widget.js').widget\\n\\n const name = 'ipfs-link'\\n\\n var IpfsLinkWidget = function (parseTreeNode, options) {\\n this.initialise(parseTreeNode, options)\\n }\\n\\n /*\\n * Inherit from the base widget class\\n */\\n IpfsLinkWidget.prototype = new Widget()\\n\\n IpfsLinkWidget.prototype.getLogger = function () {\\n return window.log.getLogger(name)\\n }\\n\\n /*\\n * Render this widget into the DOM\\n */\\n IpfsLinkWidget.prototype.render = function (parent, nextSibling) {\\n var self = this\\n // Save the parent dom node\\n this.parentDomNode = parent\\n // Compute our attributes\\n this.computeAttributes()\\n // Execute our logic\\n this.execute()\\n // Tiddler link\\n var value = this.url !== undefined ? this.url : this.value\\n var tiddler = $tw.wiki.getTiddler(value)\\n if (tiddler !== undefined && tiddler !== null) {\\n this.renderTiddlerLink(parent, nextSibling)\\n } else {\\n this.renderText(parent, nextSibling)\\n $tw.ipfs\\n .resolveUrl(false, false, value)\\n .then(data => {\\n var { normalizedUrl } = data\\n if (normalizedUrl !== null) {\\n self.removeChildDomNodes()\\n self.renderExternalLink(parent, nextSibling, normalizedUrl)\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n })\\n }\\n }\\n\\n /*\\n * Render this widget into the DOM\\n */\\n IpfsLinkWidget.prototype.renderExternalLink = function (\\n parent,\\n nextSibling,\\n url\\n ) {\\n // Sanitise the specified tag\\n var tag = this.linkTag\\n if ($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\\n tag = 'a'\\n }\\n // Create our element\\n var namespace = this.getVariable('namespace', {\\n defaultValue: 'http://www.w3.org/1999/xhtml'\\n })\\n var domNode = this.document.createElementNS(namespace, tag)\\n domNode.setAttribute('href', url)\\n // Add a click event handler\\n $tw.utils.addEventListeners(domNode, [\\n {\\n name: 'click',\\n handlerObject: this,\\n handlerMethod: 'handleExternalClickEvent'\\n }\\n ])\\n // Assign classes\\n var classes = []\\n if (this.classes) {\\n classes.push(this.classes)\\n }\\n if (classes.length > 0) {\\n domNode.setAttribute('class', classes.join(' '))\\n }\\n if (this['aria-label']) {\\n domNode.setAttribute('aria-label', this['aria-label'])\\n }\\n // Insert the URL into the DOM and render any children\\n parent.insertBefore(domNode, nextSibling)\\n // Process\\n this.renderChildren(domNode, null)\\n this.domNodes.push(domNode)\\n }\\n\\n /*\\n * Render this widget into the DOM\\n */\\n IpfsLinkWidget.prototype.renderTiddlerLink = function (parent, nextSibling) {\\n // self\\n var self = this\\n // Sanitise the specified tag\\n var tag = this.linkTag\\n if ($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\\n tag = 'a'\\n }\\n var value = this.url !== undefined ? this.url : this.value\\n var isMissing = !this.wiki.tiddlerExists(value)\\n var isShadow = this.wiki.isShadowTiddler(value)\\n // Create our element\\n var namespace = this.getVariable('namespace', {\\n defaultValue: 'http://www.w3.org/1999/xhtml'\\n })\\n var domNode = this.document.createElementNS(namespace, tag)\\n // Assign classes\\n var classes = []\\n if (this.overrideClasses === undefined) {\\n classes.push('tc-tiddlylink')\\n if (isShadow) {\\n classes.push('tc-tiddlylink-shadow')\\n }\\n if (isMissing && !isShadow) {\\n classes.push('tc-tiddlylink-missing')\\n } else {\\n if (!isMissing) {\\n classes.push('tc-tiddlylink-resolves')\\n }\\n }\\n if (this.linkClasses) {\\n classes.push(this.linkClasses)\\n }\\n } else if (this.overrideClasses !== '') {\\n classes.push(this.overrideClasses)\\n }\\n if (classes.length > 0) {\\n domNode.setAttribute('class', classes.join(' '))\\n }\\n // Set an href\\n var wikilinkTransformFilter = this.getVariable('tv-filter-export-link')\\n var wikiLinkText\\n if (wikilinkTransformFilter) {\\n // Use the filter to construct the href\\n wikiLinkText = this.wiki.filterTiddlers(\\n wikilinkTransformFilter,\\n this,\\n function (iterator) {\\n iterator(self.wiki.getTiddler(value), value)\\n }\\n )[0]\\n } else {\\n // Expand the tv-wikilink-template variable to construct the href\\n var wikiLinkTemplateMacro = this.getVariable('tv-wikilink-template')\\n var wikiLinkTemplate = wikiLinkTemplateMacro\\n ? wikiLinkTemplateMacro.trim()\\n : '#$uri_encoded$'\\n wikiLinkText = $tw.utils.replaceString(\\n wikiLinkTemplate,\\n '$uri_encoded$',\\n encodeURIComponent(value)\\n )\\n wikiLinkText = $tw.utils.replaceString(\\n wikiLinkText,\\n '$uri_doubleencoded$',\\n encodeURIComponent(encodeURIComponent(value))\\n )\\n }\\n // Override with the value of tv-get-export-link if defined\\n wikiLinkText = this.getVariable('tv-get-export-link', {\\n params: [{ name: 'to', value: value }],\\n defaultValue: wikiLinkText\\n })\\n if (tag === 'a') {\\n var namespaceHref =\\n namespace === 'http://www.w3.org/2000/svg'\\n ? 'http://www.w3.org/1999/xlink'\\n : undefined\\n domNode.setAttributeNS(namespaceHref, 'href', wikiLinkText)\\n }\\n // Set the tabindex\\n if (this.tabIndex) {\\n domNode.setAttribute('tabindex', this.tabIndex)\\n }\\n // Set the tooltip\\n // HACK: Performance issues with re-parsing the tooltip prevent us defaulting the tooltip to \\\"\u003C$transclude field='tooltip'>\u003C$transclude field='title'/>\u003C/$transclude>\\\"\\n var tooltipWikiText =\\n this.tooltip || this.getVariable('tv-wikilink-tooltip')\\n if (tooltipWikiText) {\\n var tooltipText = this.wiki.renderText(\\n 'text/plain',\\n 'text/vnd.tiddlywiki',\\n tooltipWikiText,\\n {\\n parseAsInline: true,\\n variables: {\\n currentTiddler: value\\n },\\n parentWidget: this\\n }\\n )\\n domNode.setAttribute('title', tooltipText)\\n }\\n if (this['aria-label']) {\\n domNode.setAttribute('aria-label', this['aria-label'])\\n }\\n // Add a click event handler\\n $tw.utils.addEventListeners(domNode, [\\n {\\n name: 'click',\\n handlerObject: this,\\n handlerMethod: 'handleTiddlerClickEvent'\\n }\\n ])\\n // Make the link draggable if required\\n if (this.draggable === 'yes') {\\n $tw.utils.makeDraggable({\\n domNode: domNode,\\n dragTiddlerFn: function () {\\n return value\\n },\\n widget: this\\n })\\n }\\n // Insert the link into the DOM and render any children\\n parent.insertBefore(domNode, nextSibling)\\n // Process\\n this.renderChildren(domNode, null)\\n this.domNodes.push(domNode)\\n }\\n\\n /*\\n * Render this widget into the DOM\\n */\\n IpfsLinkWidget.prototype.renderText = function (parent, nextSibling) {\\n const domNode = this.document.createElement('span')\\n // Insert the text into the DOM and render any children\\n parent.insertBefore(domNode, nextSibling)\\n // Process\\n this.renderChildren(domNode, null)\\n this.domNodes.push(domNode)\\n }\\n\\n IpfsLinkWidget.prototype.handleExternalClickEvent = function (event) {\\n const self = this\\n const value = this.url !== undefined ? this.url : this.value\\n $tw.ipfs\\n .resolveUrl(true, true, value)\\n .then(data => {\\n const { resolvedUrl } = data\\n if (resolvedUrl !== null) {\\n window.open(resolvedUrl.toString(), '_blank', 'noopener,noreferrer')\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n event.preventDefault()\\n event.stopPropagation()\\n return false\\n }\\n\\n IpfsLinkWidget.prototype.handleTiddlerClickEvent = function (event) {\\n // Send the click on its way as a navigate event\\n const bounds = this.domNodes[0].getBoundingClientRect()\\n const value = this.url !== undefined ? this.url : this.value\\n this.dispatchEvent({\\n type: 'tm-navigate',\\n navigateTo: value,\\n navigateFromTitle: this.getVariable('storyTiddler'),\\n navigateFromNode: this,\\n navigateFromClientRect: {\\n top: bounds.top,\\n left: bounds.left,\\n width: bounds.width,\\n right: bounds.right,\\n bottom: bounds.bottom,\\n height: bounds.height\\n },\\n navigateSuppressNavigation:\\n event.metaKey || event.ctrlKey || event.button === 1,\\n metaKey: event.metaKey,\\n ctrlKey: event.ctrlKey,\\n altKey: event.altKey,\\n shiftKey: event.shiftKey\\n })\\n if (this.domNodes[0].hasAttribute('href')) {\\n event.preventDefault()\\n }\\n event.stopPropagation()\\n return false\\n }\\n\\n /*\\n * Compute the internal state of the widget\\n */\\n IpfsLinkWidget.prototype.execute = function () {\\n // Pick up our attributes\\n this.url = undefined\\n this.tiddler =\\n this.getAttribute('tiddler') !== undefined\\n ? this.getAttribute('tiddler')\\n : this.getVariable('currentTiddler')\\n const tiddler = $tw.wiki.getTiddler(this.tiddler)\\n this.field = this.getAttribute('field')\\n this.value =\\n this.getAttribute('value') !== undefined\\n ? this.getAttribute('value')\\n : tiddler.getFieldString(this.field) !== ''\\n ? tiddler.getFieldString(this.field)\\n : this.tiddler\\n if (\\n this.getAttribute('value') !== undefined &&\\n tiddler.getFieldString(this.getAttribute('value')) !== ''\\n ) {\\n this.url = tiddler.getFieldString(this.getAttribute('value'))\\n }\\n this.tooltip = this.getAttribute('tooltip')\\n this['aria-label'] = this.getAttribute('aria-label')\\n this.linkClasses = this.getAttribute('class') || 'tc-ipfs-link-external'\\n this.overrideClasses = this.getAttribute('overrideClass')\\n this.tabIndex = this.getAttribute('tabindex')\\n this.draggable = this.getAttribute('draggable', 'yes')\\n this.linkTag = this.getAttribute('tag', 'a')\\n var templateTree\\n if (this.parseTreeNode.children && this.parseTreeNode.children.length > 0) {\\n templateTree = this.parseTreeNode.children\\n } else {\\n templateTree = [{ type: 'text', text: this.value }]\\n }\\n this.makeChildWidgets(templateTree)\\n }\\n\\n /*\\n * Selectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n */\\n IpfsLinkWidget.prototype.refresh = function (changedTiddlers) {\\n const changedAttributes = this.computeAttributes()\\n const tiddler = $tw.wiki.getTiddler(this.tiddler)\\n var value = null\\n if (this.field !== undefined && this.field !== null) {\\n value = tiddler.getFieldString(this.field)\\n }\\n if (\\n changedAttributes.field ||\\n changedTiddlers[this.field] ||\\n changedAttributes.value ||\\n changedTiddlers[this.value] ||\\n changedAttributes.tooltip ||\\n changedAttributes['aria-label'] ||\\n changedTiddlers['$:/ipfs/saver/gateway'] ||\\n changedTiddlers['$:/ipfs/saver/policy'] ||\\n (value !== null && value !== this.value)\\n ) {\\n this.refreshSelf()\\n return true\\n }\\n return this.refreshChildren(changedTiddlers)\\n }\\n\\n exports.ipfslink = IpfsLinkWidget\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"module-type\": \"widget\"\n },\n \"$:/plugins/ipfs/macro/ipfs-plugin-version.js\": {\n \"title\": \"$:/plugins/ipfs/macro/ipfs-plugin-version.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/macro/ipfs-plugin-version.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: macro\\n\\nIPFS plugin version\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n /*\\n * Information about this macro\\n */\\n exports.name = 'ipfs-plugin-version'\\n\\n exports.params = []\\n\\n /*\\n * Run the macro\\n */\\n exports.run = function () {\\n return $tw.wiki.getTiddler('$:/plugins/ipfs').fields.version\\n }\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"macro\"\n },\n \"$:/plugins/ipfs/ipfs-saver.js\": {\n \"title\": \"$:/plugins/ipfs/ipfs-saver.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ipfs-saver.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: saver\\n\\nIPFS Saver\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const log = require('$:/plugins/ipfs/loglevel/loglevel.js')\\n\\n const EnsAction = require('$:/plugins/ipfs/ens-action.js').EnsAction\\n const IpfsAction = require('$:/plugins/ipfs/ipfs-action.js').IpfsAction\\n const IpfsController = require('$:/plugins/ipfs/ipfs-controller.js')\\n .IpfsController\\n const IpfsTiddler = require('$:/plugins/ipfs/ipfs-tiddler.js').IpfsTiddler\\n\\n const ensKeyword = 'ens'\\n const ipfsKeyword = 'ipfs'\\n const ipnsKeyword = 'ipns'\\n\\n const name = 'ipfs-saver'\\n\\n /*\\n * Select the appropriate saver module and set it up\\n */\\n var IpfsSaver = function (wiki) {\\n this.wiki = wiki\\n this.apiUrl = null\\n this.ipfsProvider = null\\n // Loglevel\\n if (window.log === undefined || window.log == null) {\\n // Init\\n window.log = log.noConflict()\\n if ($tw.utils.getIpfsVerbose()) {\\n log.setLevel('info', false)\\n } else {\\n log.setLevel('warn', false)\\n }\\n }\\n // Controller\\n $tw.ipfs = new IpfsController()\\n // Listener\\n this.ensAction = new EnsAction()\\n this.ipfsAction = new IpfsAction()\\n this.ipfsTiddler = new IpfsTiddler()\\n // Init\\n this.ensAction.init()\\n this.ipfsAction.init()\\n this.ipfsTiddler.init()\\n // Logger\\n const logger = window.log.getLogger(name)\\n // Log\\n logger.info('ipfs-saver is starting up...')\\n // Log url policy\\n const base = $tw.ipfs.getIpfsBaseUrl()\\n if ($tw.utils.getIpfsUrlPolicy() === 'origin') {\\n logger.info(`Origin base URL: ${base}`)\\n } else {\\n logger.info(`Gateway base URL: ${base}`)\\n }\\n }\\n\\n IpfsSaver.prototype.getLogger = function () {\\n return window.log.getLogger(name)\\n }\\n\\n IpfsSaver.prototype.save = async function (text, method, callback, options) {\\n if ($tw.saverHandler.isDirty() === false) {\\n return false\\n }\\n try {\\n var cid = null\\n var ipnsCid = null\\n var ipnsKey = null\\n var ipnsName = null\\n var ensDomain = null\\n var ensCid = null\\n var options = options || {}\\n const wiki = $tw.ipfs.getDocumentUrl()\\n const base = $tw.ipfs.getIpfsBaseUrl()\\n const nextWiki = $tw.ipfs.getUrl(wiki)\\n nextWiki.protocol = base.protocol\\n nextWiki.host = base.host\\n nextWiki.port = base.port\\n try {\\n var { cid, ipnsKey } = await $tw.ipfs.resolveUrl(false, true, wiki)\\n if (cid != null) {\\n await $tw.ipfs.requestToUnpin(cid)\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n callback(error.message)\\n return true\\n }\\n // IPNS\\n if (ipnsKey !== null || $tw.utils.getIpfsProtocol() === ipnsKeyword) {\\n // Resolve current IPNS\\n if (ipnsKey !== null) {\\n try {\\n var { cid: ipnsCid, ipnsName } = await $tw.ipfs.resolveUrl(\\n true,\\n false,\\n wiki\\n )\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n }\\n } else {\\n // Default IPNS\\n ipnsKey = $tw.utils.getIpfsIpnsKey()\\n ipnsKey =\\n ipnsKey === undefined || ipnsKey == null || ipnsKey.trim() === ''\\n ? null\\n : ipnsKey.trim()\\n ipnsName = $tw.utils.getIpfsIpnsName()\\n ipnsName =\\n ipnsName === undefined || ipnsName == null || ipnsName.trim() === ''\\n ? null\\n : ipnsName.trim()\\n if (ipnsKey == null && ipnsName == null) {\\n callback(null, 'Unknown default IPNS identifiers...')\\n return true\\n }\\n this.getLogger().info('Processing default IPNS identifiers...')\\n var identifier = ipnsKey\\n if (identifier == null) {\\n identifier = ipnsName\\n }\\n try {\\n var { cid: ipnsCid, ipnsKey, ipnsName } = await $tw.ipfs.resolveUrl(\\n true,\\n false,\\n `/${ipnsKeyword}/${identifier}`\\n )\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n }\\n }\\n if (ipnsCid != null) {\\n await $tw.ipfs.requestToUnpin(ipnsCid)\\n }\\n }\\n // ENS\\n if ($tw.utils.getIpfsProtocol() === ensKeyword) {\\n ensDomain = $tw.utils.getIpfsEnsDomain()\\n if (ensDomain == null) {\\n callback(null, 'Undefined ENS domain...')\\n return true\\n }\\n var { cid: ensCid } = await $tw.ipfs.resolveUrl(false, true, ensDomain)\\n if (ensCid != null) {\\n await $tw.ipfs.requestToUnpin(ensCid)\\n }\\n }\\n // Upload current document\\n this.getLogger().info(`Uploading wiki: ${text.length} bytes`)\\n // Add\\n const { added } = await $tw.ipfs.addToIpfs(text)\\n // Default next\\n nextWiki.pathname = `/${ipfsKeyword}/${added}`\\n // Pin\\n try {\\n await $tw.ipfs.pinToIpfs(added)\\n } catch (error) {\\n this.getLogger().warn(error)\\n $tw.utils.alert(name, error.message)\\n }\\n // Publish to IPNS\\n if (ipnsKey !== null && ipnsName !== null) {\\n $tw.utils.alert(name, `Publishing IPNS name: ${ipnsName}`)\\n try {\\n await $tw.ipfs.publishIpnsName(added, ipnsKey, ipnsName)\\n nextWiki.pathname = `/${ipnsKeyword}/${ipnsKey}`\\n $tw.utils.alert(name, `Successfully Published IPNS name: ${ipnsName}`)\\n } catch (error) {\\n this.getLogger().warn(error)\\n $tw.utils.alert(name, error.message)\\n $tw.ipfs.requestToPin(ipnsCid)\\n }\\n }\\n // Publish to ENS\\n if ($tw.utils.getIpfsProtocol() === ensKeyword) {\\n try {\\n $tw.utils.alert(name, `Publishing to ENS: ${ensDomain}`)\\n await $tw.ipfs.setEns(ensDomain, added)\\n // const chainId = $tw.ipfs.getChainId()\\n // if (chainId !== null && chainId === 1) {\\n // nextWiki.protocol = 'https:'\\n // nextWiki.host = ensDomain\\n // } else {\\n const { resolvedUrl } = await $tw.ipfs.resolveEns(ensDomain)\\n nextWiki.protocol = resolvedUrl.protocol\\n nextWiki.host = resolvedUrl.host\\n nextWiki.pathname = resolvedUrl.pathname\\n // }\\n $tw.utils.alert(name, `Successfully published to ENS: ${ensDomain}`)\\n } catch (error) {\\n this.getLogger().warn(error)\\n $tw.utils.alert(name, error.message)\\n $tw.ipfs.requestToPin(ensCid)\\n }\\n }\\n $tw.ipfs.pin = []\\n // Unpin\\n if ($tw.utils.getIpfsUnpin()) {\\n for (var i in $tw.ipfs.unpin) {\\n try {\\n const unpin = $tw.ipfs.unpin[i]\\n await $tw.ipfs.unpinFromIpfs(unpin)\\n } catch (error) {\\n this.getLogger().warn(error)\\n $tw.utils.alert(name, error.message)\\n }\\n }\\n }\\n $tw.ipfs.unpin = []\\n // Pin\\n for (var i in $tw.ipfs.pin) {\\n try {\\n const pin = $tw.ipfs.pin[i]\\n await $tw.ipfs.pinToIpfs(pin)\\n } catch (error) {\\n this.getLogger().warn(error)\\n $tw.utils.alert(name, error.message)\\n }\\n }\\n callback(null)\\n if (nextWiki.host !== wiki.host || nextWiki.pathname !== wiki.pathname) {\\n window.location.assign(nextWiki.toString())\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n callback(error.message)\\n return true\\n }\\n callback(null)\\n return true\\n }\\n\\n /*\\n * Information about this saver\\n */\\n IpfsSaver.prototype.info = {\\n name: 'Ipfs',\\n priority: 3100,\\n capabilities: ['save']\\n }\\n\\n /*\\n * Static method that returns true if this saver is capable of working\\n */\\n exports.canSave = function (wiki) {\\n return true\\n }\\n\\n /*\\n * Create an instance of this saver\\n */\\n exports.create = function (wiki) {\\n return new IpfsSaver(wiki)\\n }\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"saver\"\n },\n \"$:/plugins/ipfs/operator/ipfs-savers.js\": {\n \"title\": \"$:/plugins/ipfs/operator/ipfs-savers.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/operator/ipfs-savers.js\\ntype: application/javascript\\nmodule-type: filteroperator\\n\\nThis Filter operator return savers title\\n\\n\\\\*/\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n /*\\n Export our filter function\\n */\\n exports.savers = function (source, operator, options) {\\n var results = []\\n for (var i in $tw.saverHandler.savers) {\\n results.push($tw.saverHandler.savers[i].title)\\n }\\n return results\\n }\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"module-type\": \"filteroperator\"\n },\n \"$:/plugins/ipfs/ipfs-startup.js\": {\n \"title\": \"$:/plugins/ipfs/ipfs-startup.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ipfs-startup.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: startup\\n\\nStartup initialisation\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n exports.platforms = ['browser']\\n exports.after = ['startup']\\n exports.synchronous = true\\n\\n exports.startup = function () {\\n // Logger name\\n const name = 'ipfs-startup'\\n // Missing Media Types\\n $tw.utils.registerFileType('application/gzip', 'base64', '.gz')\\n $tw.utils.registerFileType('audio/mpeg', 'base64', '.mp2')\\n $tw.utils.registerFileType('image/jpg', 'base64', ['.jpg', '.jpeg'], {\\n flags: ['image']\\n })\\n $tw.utils.registerFileType('video/quicktime', 'base64', ['.mov', '.qt'])\\n // Log\\n const logger = window.log.getLogger(name)\\n logger.info('ipfs-startup is starting up...')\\n }\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"startup\"\n },\n \"$:/plugins/ipfs/ipfs-tiddler.js\": {\n \"title\": \"$:/plugins/ipfs/ipfs-tiddler.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ipfs-tiddler.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: library\\n\\nIPFS Tiddler\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n const IpfsImport = require('$:/plugins/ipfs/ipfs-import.js').IpfsImport\\n\\n const name = 'ipfs-tiddler'\\n\\n /*\\n * https://tiddlywiki.com/#TiddlerFields\\n * $:/core/modules/server/routes/get-tiddler.js\\n * TODO: expose it as Tiddler ??\\n */\\n const reservedFields = [\\n 'bag',\\n 'caption',\\n 'class',\\n 'color',\\n 'description',\\n 'created',\\n 'creator',\\n 'fields',\\n 'footer',\\n 'hide-body',\\n 'icon',\\n '_is_skinny',\\n 'library',\\n 'list',\\n 'list-after',\\n 'list-before',\\n 'modified',\\n 'modifier',\\n 'name',\\n 'plugin-priority',\\n 'plugin-type',\\n 'permissions',\\n 'recipe',\\n 'revision',\\n // \\\"source\\\",\\n 'subtitle',\\n 'tags',\\n 'text',\\n // \\\"url\\\",\\n 'throttle.refresh',\\n 'toc-link',\\n 'title',\\n 'type'\\n ]\\n\\n var IpfsTiddler = function () {\\n this.once = false\\n }\\n\\n IpfsTiddler.prototype.getLogger = function () {\\n return window.log.getLogger(name)\\n }\\n\\n IpfsTiddler.prototype.init = function () {\\n // Init once\\n if (this.once) {\\n return\\n }\\n const self = this\\n // Wiki\\n $tw.wiki.addEventListener('change', function (changes) {\\n return self.handleChangeEvent(changes)\\n })\\n // Hook\\n $tw.hooks.addHook('th-deleting-tiddler', async function (tiddler) {\\n return await self.handleDeleteTiddler(tiddler)\\n })\\n $tw.hooks.addHook('th-importing-tiddler', function (tiddler) {\\n return self.handleFileImport(tiddler)\\n })\\n $tw.hooks.addHook('th-saving-tiddler', async function (tiddler) {\\n return await self.handleSaveTiddler(tiddler)\\n })\\n // Widget\\n $tw.rootWidget.addEventListener('tm-ipfs-pin', function (event) {\\n return self.handleIpfsPin(event)\\n })\\n $tw.rootWidget.addEventListener('tm-refresh-tiddler', function (event) {\\n return self.handleRefreshTiddler(event)\\n })\\n $tw.rootWidget.addEventListener('tm-ipfs-unpin', function (event) {\\n return self.handleIpfsUnpin(event)\\n })\\n // Init once\\n this.once = true\\n }\\n\\n IpfsTiddler.prototype.handleChangeEvent = function (changes) {\\n // Gateway preference\\n const gateway = changes['$:/ipfs/saver/gateway']\\n if (gateway !== undefined && gateway.modified) {\\n const base = $tw.ipfs.getIpfsBaseUrl()\\n if ($tw.utils.getIpfsUrlPolicy() === 'gateway') {\\n this.getLogger().info(`Gateway Relative URL:\\\\n ${base}`)\\n }\\n }\\n // Policy preference\\n const policy = changes['$:/ipfs/saver/policy']\\n if (policy !== undefined && policy.modified) {\\n const base = $tw.ipfs.getIpfsBaseUrl()\\n if ($tw.utils.getIpfsUrlPolicy() === 'origin') {\\n this.getLogger().info(`Origin base URL: ${base}`)\\n } else {\\n this.getLogger().info(`Gateway base URL: ${base}`)\\n }\\n }\\n // Unpin preference\\n const unpin = changes['$:/ipfs/saver/unpin']\\n if (unpin !== undefined && unpin.modified) {\\n if ($tw.utils.getIpfsUnpin()) {\\n this.getLogger().info('Unpin previous IPFS content...')\\n } else {\\n this.getLogger().info('Do not unpin previous IPFS content...')\\n }\\n }\\n // Verbose preference\\n const verbose = changes['$:/ipfs/saver/verbose']\\n if (verbose !== undefined && verbose.modified) {\\n if ($tw.utils.getIpfsVerbose()) {\\n this.updateLoggers('info')\\n } else {\\n this.updateLoggers('warn')\\n }\\n }\\n }\\n\\n IpfsTiddler.prototype.handleIpfsPin = function (event) {\\n const title = event.tiddlerTitle\\n const tiddler = $tw.wiki.getTiddler(title)\\n if (event.param !== undefined && event.param !== null) {\\n // Tiddler\\n for (var field in tiddler.fields) {\\n if (reservedFields.indexOf(field) !== -1) {\\n continue\\n }\\n var value = tiddler.getFieldString(field)\\n value =\\n value === undefined || value == null || value.trim() === ''\\n ? null\\n : value.trim()\\n if (value !== null) {\\n this.ipfsPin(value, field)\\n }\\n }\\n return true\\n }\\n // Wiki\\n this.ipfsPin($tw.ipfs.getDocumentUrl().toString(), 'Wiki')\\n return true\\n }\\n\\n IpfsTiddler.prototype.ipfsPin = function (value, field) {\\n const self = this\\n $tw.ipfs\\n .resolveUrl(true, true, value)\\n .then(data => {\\n const { cid, resolvedUrl } = data\\n if (resolvedUrl !== null && cid !== null) {\\n self.getLogger().info(`Pinning: \\\"${field}\\\"\\\\n ${resolvedUrl}`)\\n $tw.ipfs\\n .pinToIpfs(cid)\\n .then(data => {\\n if (data) {\\n $tw.ipfs.removeFromPinUnpin(cid, resolvedUrl)\\n $tw.utils.alert(\\n name,\\n `Successfully Pinned : \u003Ca rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\" href=\\\"${resolvedUrl}\\\">${field}\u003C/a>`\\n )\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n\\n IpfsTiddler.prototype.handleIpfsUnpin = async function (event) {\\n const title = event.tiddlerTitle\\n const tiddler = $tw.wiki.getTiddler(title)\\n const { type, info } = $tw.utils.getContentType(title, tiddler.fields.type)\\n if (event.param !== undefined && event.param !== null) {\\n // Tiddler\\n for (var field in tiddler.fields) {\\n if (reservedFields.indexOf(field) !== -1) {\\n continue\\n }\\n var value = tiddler.getFieldString(field)\\n value =\\n value === undefined || value == null || value.trim() === ''\\n ? null\\n : value.trim()\\n if (value !== null) {\\n if (info.encoding !== 'base64' && type !== 'image/svg+xml') {\\n if (field === '_canonical_uri' || field === '_import_uri') {\\n continue\\n }\\n }\\n this.ipfsUnpin(value, field)\\n }\\n }\\n return true\\n }\\n // Wiki\\n this.ipfsUnpin($tw.ipfs.getDocumentUrl().toString(), 'Wiki')\\n return true\\n }\\n\\n IpfsTiddler.prototype.ipfsUnpin = function (value, field) {\\n value =\\n value === undefined || value == null || value.trim() === ''\\n ? null\\n : value.trim()\\n if (value == null) {\\n return\\n }\\n field =\\n field === undefined || field == null || field.trim() === ''\\n ? null\\n : field.trim()\\n if (field == null) {\\n return\\n }\\n const self = this\\n $tw.ipfs\\n .resolveUrl(true, true, value)\\n .then(data => {\\n const { cid, resolvedUrl } = data\\n if (resolvedUrl !== null && cid !== null) {\\n self.getLogger().info(`Unpinning: \\\"${field}\\\\n ${resolvedUrl}`)\\n if ($tw.utils.getIpfsUnpin()) {\\n $tw.ipfs\\n .unpinFromIpfs(cid)\\n .then(data => {\\n if (data !== undefined && data !== null) {\\n $tw.ipfs.removeFromPinUnpin(cid, resolvedUrl)\\n $tw.utils.alert(\\n name,\\n `Successfully Unpinned : \u003Ca rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\" href=\\\"${resolvedUrl}\\\">${field}\u003C/a>`\\n )\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n }\\n })\\n .catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n }\\n\\n IpfsTiddler.prototype.updateLoggers = function (level) {\\n window.log.setLevel(level, false)\\n const loggers = window.log.getLoggers()\\n for (var property in loggers) {\\n if (Object.prototype.hasOwnProperty.call(loggers, property)) {\\n const logger = window.log.getLogger(property)\\n logger.setLevel(level, false)\\n }\\n }\\n }\\n\\n IpfsTiddler.prototype.handleDeleteTiddler = async function (tiddler) {\\n try {\\n const { type, info } = $tw.utils.getContentType(\\n tiddler.fields.title,\\n tiddler.fields.type\\n )\\n // Process\\n var field = null\\n if (info.encoding === 'base64' || type === 'image/svg+xml') {\\n field = '_canonical_uri'\\n } else {\\n field = '_export_uri'\\n }\\n // Value\\n var url = null\\n const value = tiddler.getFieldString(field)\\n if (value !== undefined && value !== null && value !== '') {\\n // URL or not\\n try {\\n url = $tw.ipfs.normalizeUrl(value)\\n } catch (error) {\\n // Ignore\\n }\\n // Process\\n if (url !== undefined && url !== null) {\\n const { cid } = $tw.ipfs.decodeCid(url.pathname)\\n // Request to unpin\\n if ($tw.utils.getIpfsUnpin() && cid !== null) {\\n $tw.ipfs.requestToUnpin(cid)\\n }\\n }\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n }\\n return tiddler\\n }\\n\\n IpfsTiddler.prototype.handleFileImport = function (tiddler) {\\n // Update tiddler\\n const addition = $tw.wiki.getModificationFields()\\n addition.title = tiddler.fields.title\\n addition.tags = (tiddler.fields.tags || []).slice(0)\\n // Add isAttachment tag\\n if (addition.tags.indexOf('$:/isAttachment') === -1) {\\n $tw.utils.pushTop(addition.tags, '$:/isAttachment')\\n }\\n // Add isEmbedded tag\\n if (addition.tags.indexOf('$:/isEmbedded') === -1) {\\n $tw.utils.pushTop(addition.tags, '$:/isEmbedded')\\n }\\n return new $tw.Tiddler(tiddler, addition)\\n }\\n\\n IpfsTiddler.prototype.handleRefreshTiddler = function (event) {\\n const self = this\\n const title = event.tiddlerTitle\\n const tiddler = $tw.wiki.getTiddler(title)\\n const { type, info } = $tw.utils.getContentType(title, tiddler.fields.type)\\n var canonicalUri = tiddler.getFieldString('_canonical_uri')\\n canonicalUri =\\n canonicalUri === undefined ||\\n canonicalUri == null ||\\n canonicalUri.trim() === ''\\n ? null\\n : canonicalUri.trim()\\n var importUri = tiddler.getFieldString('_import_uri')\\n importUri =\\n importUri === undefined || importUri == null || importUri.trim() === ''\\n ? null\\n : importUri.trim()\\n // Reload Attachment\\n if (\\n (info.encoding === 'base64' || type === 'image/svg+xml') &&\\n canonicalUri !== null &&\\n importUri == null\\n ) {\\n const updatedTiddler = $tw.utils.updateTiddler({\\n tiddler: tiddler,\\n fields: [{ key: 'text', value: '' }]\\n })\\n $tw.wiki.addTiddler(updatedTiddler)\\n return true\\n }\\n // Async Import\\n if (canonicalUri !== null || importUri !== null) {\\n var ipfsImport = new IpfsImport()\\n ipfsImport.import(canonicalUri, importUri, tiddler).catch(error => {\\n self.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n })\\n } else {\\n $tw.wiki.clearCache(title)\\n const changedTiddler = $tw.utils.getChangedTiddler(title)\\n $tw.rootWidget.refresh(changedTiddler)\\n }\\n return true\\n }\\n\\n IpfsTiddler.prototype.handleSaveTiddler = async function (tiddler) {\\n // Previous tiddler\\n const oldTiddler = $tw.wiki.getTiddler(tiddler.fields.title)\\n const { type, info } = $tw.utils.getContentType(\\n tiddler.fields.title,\\n tiddler.fields.type\\n )\\n // Prepare\\n var updatedTiddler = new $tw.Tiddler(tiddler)\\n // Process deleted fields\\n if (oldTiddler !== undefined && oldTiddler !== null) {\\n for (var field in oldTiddler.fields) {\\n // Not a reserved keyword\\n if (reservedFields.indexOf(field) !== -1) {\\n continue\\n }\\n // Updated\\n const discard = tiddler.fields[field]\\n if (\\n discard !== undefined &&\\n discard !== null &&\\n tiddler.getFieldString(field) !== undefined\\n ) {\\n continue\\n }\\n // Process\\n var oldCid = null\\n var oldIpnsKey = null\\n var oldNormalizedUrl = null\\n var oldResolvedUrl = null\\n var oldValue = oldTiddler.getFieldString(field)\\n try {\\n var {\\n cid: oldCid,\\n ipnsKey: oldIpnsKey,\\n normalizedUrl: oldNormalizedUrl,\\n resolvedUrl: oldResolvedUrl\\n } = await $tw.ipfs.resolveUrl(false, true, oldValue)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return tiddler\\n }\\n oldResolvedUrl =\\n oldResolvedUrl === undefined ||\\n oldResolvedUrl == null ||\\n oldResolvedUrl.toString().trim() === ''\\n ? null\\n : oldResolvedUrl.toString().trim()\\n if (oldResolvedUrl !== null && field === '_canonical_uri') {\\n var content = tiddler.getFieldString('text')\\n // Attachment\\n if (info.encoding === 'base64' || type === 'image/svg+xml') {\\n // Embed\\n try {\\n if (info.encoding === 'base64') {\\n content = await $tw.ipfs.loadToBase64(oldResolvedUrl)\\n } else {\\n content = await $tw.ipfs.loadToUtf8(oldResolvedUrl)\\n }\\n updatedTiddler = $tw.utils.updateTiddler({\\n tiddler: updatedTiddler,\\n addTags: ['$:/isAttachment', '$:/isEmbedded'],\\n fields: [{ key: 'text', value: content.data }]\\n })\\n this.getLogger().info(\\n `Embed attachment: ${content.data.length} bytes\\\\n ${oldResolvedUrl}`\\n )\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return tiddler\\n }\\n }\\n }\\n $tw.ipfs.requestToUnpin(oldCid, oldIpnsKey, oldNormalizedUrl)\\n }\\n }\\n var canonicalUri = null\\n var exportUri = null\\n var importUri = null\\n var canonicalCid = null\\n var exportCid = null\\n var importCid = null\\n // Process new and updated fields\\n for (var field in tiddler.fields) {\\n // Not a reserved keyword\\n if (reservedFields.indexOf(field) !== -1) {\\n continue\\n }\\n // Process\\n var cid = null\\n var ipnsKey = null\\n var normalizedUrl = null\\n var resolvedUrl = null\\n var value = tiddler.getFieldString(field)\\n try {\\n var {\\n cid,\\n ipnsKey,\\n normalizedUrl,\\n resolvedUrl\\n } = await $tw.ipfs.resolveUrl(false, true, value)\\n } catch (error) {\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n return tiddler\\n }\\n // Store\\n resolvedUrl =\\n resolvedUrl === undefined ||\\n resolvedUrl == null ||\\n resolvedUrl.toString().trim() === ''\\n ? null\\n : resolvedUrl.toString().trim()\\n if (field === '_canonical_uri') {\\n canonicalUri = resolvedUrl\\n canonicalCid = cid\\n }\\n if (field === '_import_uri') {\\n importUri = resolvedUrl\\n importCid = cid\\n }\\n if (field === '_export_uri') {\\n exportUri = resolvedUrl\\n exportCid = cid\\n }\\n // Previous values if any\\n var oldValue = null\\n if (oldTiddler !== undefined && oldTiddler !== null) {\\n oldValue = oldTiddler.getFieldString(field)\\n }\\n // Process new or updated\\n if (value === oldValue) {\\n continue\\n }\\n var oldCid = null\\n var oldIpnsKey = null\\n var oldNormalizedUrl = null\\n try {\\n var {\\n cid: oldCid,\\n ipnsKey: oldIpnsKey,\\n normalizedUrl: oldNormalizedUrl\\n } = await $tw.ipfs.resolveUrl(false, true, oldValue)\\n } catch (error) {\\n // We cannot resolve the previous value\\n this.getLogger().error(error)\\n $tw.utils.alert(name, error.message)\\n }\\n // Process _canonical_uri\\n if (field === '_canonical_uri') {\\n updatedTiddler = $tw.utils.updateTiddler({\\n tiddler: updatedTiddler,\\n fields: [{ key: 'text', value: '' }]\\n })\\n }\\n $tw.ipfs.requestToPin(cid, ipnsKey, normalizedUrl)\\n $tw.ipfs.requestToUnpin(oldCid, oldIpnsKey, oldNormalizedUrl)\\n }\\n // Tag management\\n var addTags = []\\n var removeTags = []\\n if (canonicalUri == null && exportUri == null && importUri == null) {\\n removeTags.push('$:/isExported', '$:/isImported', '$:/isIpfs')\\n }\\n if (canonicalCid == null && exportCid == null && importCid == null) {\\n if (removeTags.indexOf('$:/isIpfs') === -1) {\\n removeTags.push('$:/isIpfs')\\n }\\n } else {\\n addTags.push('$:/isIpfs')\\n }\\n if (canonicalUri !== null) {\\n // Attachment\\n if (info.encoding === 'base64' || type === 'image/svg+xml') {\\n if (addTags.indexOf('$:/isAttachment') === -1) {\\n addTags.push('$:/isAttachment')\\n }\\n if (removeTags.indexOf('$:/isEmbedded') === -1) {\\n removeTags.push('$:/isEmbedded')\\n }\\n if (importUri !== null) {\\n if (addTags.indexOf('$:/isImported') === -1) {\\n addTags.push('$:/isImported')\\n }\\n } else {\\n if (removeTags.indexOf('$:/isImported') === -1) {\\n removeTags.push('$:/isImported')\\n }\\n }\\n // Others\\n } else {\\n if (removeTags.indexOf('$:/isAttachment') === -1) {\\n removeTags.push('$:/isAttachment')\\n }\\n if (removeTags.indexOf('$:/isEmbedded') === -1) {\\n removeTags.push('$:/isEmbedded')\\n }\\n if (addTags.indexOf('$:/isImported') === -1) {\\n addTags.push('$:/isImported')\\n }\\n }\\n } else {\\n // Attachment\\n if (info.encoding === 'base64' || type === 'image/svg+xml') {\\n if (addTags.indexOf('$:/isAttachment') === -1) {\\n addTags.push('$:/isAttachment')\\n }\\n if (addTags.indexOf('$:/isEmbedded') === -1) {\\n addTags.push('$:/isEmbedded')\\n }\\n // Others\\n } else {\\n if (removeTags.indexOf('$:/isAttachment') === -1) {\\n removeTags.push('$:/isAttachment')\\n }\\n if (removeTags.indexOf('$:/isEmbedded') === -1) {\\n removeTags.push('$:/isEmbedded')\\n }\\n }\\n if (importUri !== null) {\\n if (addTags.indexOf('$:/isImported') === -1) {\\n addTags.push('$:/isImported')\\n }\\n } else {\\n if (removeTags.indexOf('$:/isImported') === -1) {\\n removeTags.push('$:/isImported')\\n }\\n }\\n }\\n if (exportUri !== null) {\\n if (addTags.indexOf('$:/isExported') === -1) {\\n addTags.push('$:/isExported')\\n }\\n } else {\\n if (removeTags.indexOf('$:/isExported') === -1) {\\n removeTags.push('$:/isExported')\\n }\\n }\\n if (addTags.length > 0 || removeTags.length > 0) {\\n updatedTiddler = $tw.utils.updateTiddler({\\n tiddler: updatedTiddler,\\n addTags: addTags,\\n removeTags: removeTags\\n })\\n }\\n $tw.wiki.addTiddler(updatedTiddler)\\n return updatedTiddler\\n }\\n\\n exports.IpfsTiddler = IpfsTiddler\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/ipfs/ipfs-utils.js\": {\n \"title\": \"$:/plugins/ipfs/ipfs-utils.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ipfs-utils.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: utils\\n\\nIPFS utils\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n /**\\n * $:/core/modules/utils/logger.js\\n *\\n * TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\\n *\\n * Copyright (c) 2004-2007, Jeremy Ruston\\n * Copyright (c) 2007-2018, UnaMesa Association\\n * Copyright (c) 2019-2020, Blue Light\\n * All rights reserved.\\n *\\n * Redistribution and use in source and binary forms, with or without\\n * modification, are permitted provided that the following conditions are met:\\n *\\n * * Redistributions of source code must retain the above copyright notice, this\\n * list of conditions and the following disclaimer.\\n *\\n * * Redistributions in binary form must reproduce the above copyright notice,\\n * this list of conditions and the following disclaimer in the documentation\\n * and/or other materials provided with the distribution.\\n *\\n * * Neither the name of the copyright holder nor the names of its\\n * contributors may be used to endorse or promote products derived from\\n * this software without specific prior written permission.\\n *\\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\\n */\\n\\n /*\\n * from $:/core/modules/utils/logger.js\\n **/\\n exports.alert = function (callee, text) {\\n if (\\n typeof window === 'undefined' ||\\n typeof window.navigator === 'undefined'\\n ) {\\n return\\n }\\n const ALERT_TAG = '$:/tags/Alert'\\n // Prepare the text of the alert\\n // var text = Array.prototype.join.call(arguments,\\\" \\\");\\n // Check if there is an existing alert with the same text and the same component\\n var existingAlerts = $tw.wiki.getTiddlersWithTag(ALERT_TAG)\\n var alertFields\\n var existingCount\\n var self = this\\n $tw.utils.each(existingAlerts, function (title) {\\n var tiddler = $tw.wiki.getTiddler(title)\\n if (\\n tiddler.fields.text === text &&\\n tiddler.fields.component === self.componentName &&\\n tiddler.fields.modified &&\\n (!alertFields || tiddler.fields.modified \u003C alertFields.modified)\\n ) {\\n alertFields = $tw.utils.extend({}, tiddler.fields)\\n }\\n })\\n if (alertFields) {\\n existingCount = alertFields.count || 1\\n } else {\\n alertFields = {\\n title: $tw.wiki.generateNewTitle('$:/temp/alerts/alert', {\\n prefix: ''\\n }),\\n text: text,\\n tags: [ALERT_TAG],\\n component: callee\\n }\\n existingCount = 0\\n }\\n alertFields.modified = new Date()\\n if (++existingCount > 1) {\\n alertFields.count = existingCount\\n } else {\\n alertFields.count = undefined\\n }\\n $tw.wiki.addTiddler(new $tw.Tiddler(alertFields))\\n }\\n\\n exports.getChangedTiddler = function (object) {\\n // Holder\\n const changedTiddler = Object.create(null)\\n // Check\\n if (object === undefined || object == null) {\\n return changedTiddler\\n }\\n if (object instanceof $tw.Tiddler === false && typeof object !== 'string') {\\n return changedTiddler\\n }\\n // Retrieve title\\n var title = null\\n if (typeof object === 'string') {\\n title = object\\n }\\n if (object instanceof $tw.Tiddler) {\\n title = object.getFieldString('title')\\n }\\n // Check\\n if (title === undefined || title == null) {\\n return changedTiddler\\n }\\n // Process title\\n changedTiddler[title] = Object.create(null)\\n // Done\\n return changedTiddler\\n }\\n\\n exports.updateTiddler = function (updates) {\\n // Is there anything to do\\n if (\\n updates === undefined ||\\n updates == null ||\\n updates.tiddler === undefined ||\\n updates.tiddler == null\\n ) {\\n return null\\n }\\n // Prepare updates\\n const fields = $tw.wiki.getModificationFields()\\n // Tags\\n fields.tags = (updates.tiddler.fields.tags || []).slice(0)\\n // Process add tags\\n if (\\n updates.addTags !== undefined &&\\n updates.addTags !== null &&\\n Array.isArray(updates.addTags)\\n ) {\\n for (var i = 0; i \u003C updates.addTags.length; i++) {\\n const tag = updates.addTags[i]\\n if (fields.tags.indexOf(tag) === -1) {\\n $tw.utils.pushTop(fields.tags, tag)\\n }\\n }\\n }\\n // Process remove tags\\n if (\\n updates.removeTags !== undefined &&\\n updates.removeTags !== null &&\\n Array.isArray(updates.removeTags)\\n ) {\\n for (var i = 0; i \u003C updates.removeTags.length; i++) {\\n const tag = updates.removeTags[i]\\n const index = fields.tags.indexOf(tag)\\n if (index !== -1) {\\n fields.tags.splice(index, 1)\\n }\\n }\\n }\\n // Process fields\\n if (\\n updates.fields !== undefined &&\\n updates.fields !== null &&\\n Array.isArray(updates.fields)\\n ) {\\n for (var i = 0; i \u003C updates.fields.length; i++) {\\n const field = updates.fields[i]\\n if (field.key !== undefined && field.key !== null) {\\n fields[field.key] = field.value\\n }\\n }\\n }\\n // Update tiddler\\n return new $tw.Tiddler(updates.tiddler, fields)\\n }\\n\\n exports.getContentType = function (title, type) {\\n type =\\n type === undefined || type == null || type.trim() === ''\\n ? null\\n : type.trim()\\n if (type == null) {\\n type = 'text/vnd.tiddlywiki'\\n }\\n var info = $tw.config.contentTypeInfo[type]\\n if (info === undefined || info == null) {\\n const url = $tw.ipfs.getDocumentUrl()\\n url.hash = title\\n this.getLogger().info(\\n `Unknown Content-Type: \\\"${type}\\\", default: \\\"text/vnd.tiddlywiki\\\":\\\\n ${url}`\\n )\\n type = 'text/vnd.tiddlywiki'\\n info = $tw.config.contentTypeInfo[type]\\n }\\n return {\\n type: type,\\n info: info\\n }\\n }\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"utils\"\n },\n \"$:/plugins/ipfs/ipfs-wrapper.js\": {\n \"title\": \"$:/plugins/ipfs/ipfs-wrapper.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/ipfs/ipfs-wrapper.js\\ntype: application/javascript\\ntags: $:/ipfs/core\\nmodule-type: library\\n\\nIPFS Wrapper\\n\\n\\\\*/\\n\\n;(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict'\\n\\n /**\\n * https://github.com/purposeindustries/window-or-global\\n * The MIT License (MIT) Copyright (c) Purpose Industries\\n * version: 1.0.1\\n */\\n const root =\\n (typeof self === 'object' && self.self === self && self) ||\\n (typeof global === 'object' && global.global === global && global) ||\\n this\\n\\n const ipfsKeyword = 'ipfs'\\n const ipnsKeyword = 'ipns'\\n\\n const name = 'ipfs-wrapper'\\n\\n var IpfsWrapper = function (ipfsBundle) {\\n this.ipfsBundle = ipfsBundle\\n this.ipfsLibrary = ipfsBundle.ipfsLibrary\\n this.ipfsUrl = ipfsBundle.ipfsUrl\\n }\\n\\n IpfsWrapper.prototype.getLogger = function () {\\n return root.log.getLogger(name)\\n }\\n\\n IpfsWrapper.prototype.getWindowIpfsClient = async function () {\\n // IPFS Companion\\n try {\\n const policy = await this.ipfsLibrary.getWindowIpfs()\\n if (policy !== null && policy.ipfs !== null && policy.provider !== null) {\\n return policy\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to retrieve IPFS Companion...')\\n }\\n\\n IpfsWrapper.prototype.getHttpIpfsClient = async function (url) {\\n // HTTP Client\\n try {\\n const policy = await this.ipfsLibrary.getHttpIpfs(url)\\n if (policy !== null && policy.ipfs !== null && policy.provider !== null) {\\n return policy\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to retrieve an IPFS HTTP provider...')\\n }\\n\\n IpfsWrapper.prototype.getIpfsClient = async function (url) {\\n // IPFS client\\n try {\\n var policy = null\\n const ipfsProvider = $tw.utils.getIpfsProvider()\\n if (ipfsProvider === 'window') {\\n policy = await this.ipfsLibrary.getWindowIpfs()\\n } else if (ipfsProvider === 'http') {\\n policy = await this.ipfsLibrary.getHttpIpfs(url)\\n } else {\\n policy = await this.ipfsLibrary.getDefaultIpfs(url)\\n }\\n if (policy !== null && policy.ipfs !== null && policy.provider !== null) {\\n return policy\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to retrieve an IPFS provider...')\\n }\\n\\n IpfsWrapper.prototype.getIpnsIdentifiers = async function (\\n ipfs,\\n identifier,\\n ipnsName\\n ) {\\n identifier =\\n identifier === undefined || identifier == null || identifier.trim() === ''\\n ? null\\n : identifier.trim()\\n ipnsName =\\n ipnsName === undefined || ipnsName == null || ipnsName.trim() === ''\\n ? null\\n : ipnsName.trim()\\n if (identifier == null && ipnsName == null) {\\n throw new Error('Undefined IPNS identifiers...')\\n }\\n var found = false\\n var ipnsKey = null\\n var keys = null\\n var normalizedUrl = null\\n try {\\n // Only the server who generates the key has the knowledge\\n keys = await this.getIpnsKeys(ipfs)\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n // Do our best\\n if (ipnsName !== null && identifier !== null) {\\n if (keys !== null && keys !== undefined && Array.isArray(keys)) {\\n for (var index = 0; index \u003C keys.length; index++) {\\n if (keys[index].id === identifier && keys[index].name === ipnsName) {\\n ipnsKey = identifier\\n found = true\\n break\\n }\\n }\\n }\\n } else if (ipnsName !== null) {\\n if (keys !== null && keys !== undefined && Array.isArray(keys)) {\\n for (var index = 0; index \u003C keys.length; index++) {\\n if (keys[index].name === ipnsName) {\\n ipnsKey = keys[index].id\\n found = true\\n break\\n }\\n }\\n }\\n } else {\\n if (keys !== null && keys !== undefined && Array.isArray(keys)) {\\n for (var index = 0; index \u003C keys.length; index++) {\\n if (\\n keys[index].id === identifier ||\\n keys[index].name === identifier\\n ) {\\n ipnsKey = keys[index].id\\n ipnsName = keys[index].name\\n found = true\\n break\\n }\\n }\\n }\\n }\\n if (found === false) {\\n // Unable to resolve the keys, check if identifier is a an IPFS cid\\n if (this.ipfsBundle.isCid(identifier) === false) {\\n throw new Error('Unknown IPNS identifier...')\\n }\\n ipnsKey = identifier\\n }\\n // Lets build an url, the resolver will do the final check, we cannot do more here\\n normalizedUrl = this.ipfsUrl.normalizeUrl(`/${ipnsKeyword}/${ipnsKey}`)\\n if (found) {\\n this.getLogger().info(\\n `Successfully Fetched IPNS identifiers: ${ipnsName}\\\\n ${normalizedUrl}`\\n )\\n } else {\\n this.getLogger().info(\\n `Unable to Fetch IPNS identifiers, default to\\\\n ${normalizedUrl}`\\n )\\n }\\n return {\\n ipnsKey: ipnsKey,\\n ipnsName: ipnsName,\\n normalizedUrl: normalizedUrl\\n }\\n }\\n\\n IpfsWrapper.prototype.generateIpnsKey = async function (ipfs, ipnsName) {\\n try {\\n const key = await this.ipfsLibrary.genKey(ipfs, ipnsName)\\n const url = this.ipfsUrl.normalizeUrl(`/${ipnsKeyword}/${key}`)\\n this.getLogger().info(\\n `Successfully generated IPNS key with IPNS name: ${ipnsName}\\\\n ${url}`\\n )\\n return key\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to generate and IPNS key...')\\n }\\n\\n IpfsWrapper.prototype.removeIpnsKey = async function (ipfs, ipnsName) {\\n try {\\n const hash = await this.ipfsLibrary.rmKey(ipfs, ipnsName)\\n this.getLogger().info(`Successfully removed IPNS name: ${ipnsName}`)\\n return hash\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to remove an IPNS Key...')\\n }\\n\\n IpfsWrapper.prototype.renameIpnsName = async function (\\n ipfs,\\n oldIpnsName,\\n newIpnsName\\n ) {\\n try {\\n const { id: key, was, now } = await this.ipfsLibrary.renameKey(\\n ipfs,\\n oldIpnsName,\\n newIpnsName\\n )\\n this.getLogger().info(\\n `Successfully renamed IPNS name: ${was} with ${now}`\\n )\\n return {\\n ipnsKey: key,\\n ipnsName: now\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to rename an IPNS name...')\\n }\\n\\n IpfsWrapper.prototype.getIpnsKeys = async function (ipfs) {\\n try {\\n const keys = await this.ipfsLibrary.getKeys(ipfs)\\n this.getLogger().info('Successfully fetched IPNS keys...')\\n return keys\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to fetch IPNS keys...')\\n }\\n\\n IpfsWrapper.prototype.fetchFromIpfs = async function (ipfs, cid) {\\n cid =\\n cid === undefined || cid == null || cid.toString().trim() === ''\\n ? null\\n : cid.toString().trim()\\n if (cid == null) {\\n throw new Error('Undefined IPNS identifier...')\\n }\\n const pathname = `/${ipfsKeyword}/${cid}`\\n try {\\n const fetched = await this.ipfsLibrary.cat(ipfs, pathname)\\n const url = this.ipfsUrl.normalizeUrl(pathname)\\n this.getLogger().info(`Successfully fetched:\\\\n ${url}`)\\n return fetched\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to fetch from IPFS...')\\n }\\n\\n IpfsWrapper.prototype.addToIpfs = async function (ipfs, content) {\\n try {\\n const { hash, size } = await this.ipfsLibrary.add(ipfs, content)\\n const pathname = '/' + ipfsKeyword + '/' + hash\\n const url = this.ipfsUrl.normalizeUrl(pathname)\\n this.getLogger().info(`Successfully added ${size} bytes:\\\\n ${url}`)\\n return {\\n added: hash,\\n size: size\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to add content to IPFS...')\\n }\\n\\n IpfsWrapper.prototype.resolveIpnsKey = async function (ipfs, ipnsKey) {\\n ipnsKey =\\n ipnsKey === undefined || ipnsKey == null || ipnsKey.trim() === ''\\n ? null\\n : ipnsKey.trim()\\n if (ipnsKey == null) {\\n throw new Error('Undefined IPNS key...')\\n }\\n const pathname = `/${ipnsKeyword}/${ipnsKey}`\\n try {\\n const url = this.ipfsUrl.normalizeUrl(pathname)\\n const resolved = await this.ipfsLibrary.resolve(ipfs, pathname)\\n const { cid } = this.ipfsBundle.decodeCid(resolved)\\n if (cid !== null) {\\n const parsed = this.ipfsUrl.normalizeUrl(resolved)\\n this.getLogger().info(\\n `Successfully resolved IPNS key:\\\\n ${url} \\\\n ${parsed}`\\n )\\n return cid\\n }\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to resolve an IPNS key...')\\n }\\n\\n IpfsWrapper.prototype.publishIpnsName = async function (\\n cid,\\n ipfs,\\n ipnsKey,\\n ipnsName\\n ) {\\n ipnsKey =\\n ipnsKey === undefined || ipnsKey == null || ipnsKey.trim() === ''\\n ? null\\n : ipnsKey.trim()\\n if (ipnsKey == null) {\\n throw new Error('Undefined IPNS key...')\\n }\\n ipnsName =\\n ipnsName === undefined || ipnsName == null || ipnsName.trim() === ''\\n ? null\\n : ipnsName.trim()\\n if (ipnsName == null) {\\n throw new Error('Undefined IPNS name...')\\n }\\n cid =\\n cid === undefined || cid == null || cid.toString().trim() === ''\\n ? null\\n : cid.toString().trim()\\n if (cid == null) {\\n throw new Error('Undefined IPNS identifier...')\\n }\\n // Path\\n const key = `/${ipnsKeyword}/${ipnsKey}`\\n const pathname = `/${ipfsKeyword}/${cid}`\\n try {\\n // Publish\\n const result = await this.ipfsLibrary.publish(ipfs, ipnsName, pathname)\\n const keyParsed = this.ipfsUrl.normalizeUrl(key)\\n const url = this.ipfsUrl.normalizeUrl(pathname)\\n this.getLogger().info(\\n `Successfully published IPNS name: ${ipnsName}\\\\n ${keyParsed}\\\\n ${url}`\\n )\\n return result\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to publish an IPNS name...')\\n }\\n\\n IpfsWrapper.prototype.pinToIpfs = async function (ipfs, cid) {\\n cid =\\n cid === undefined || cid == null || cid.toString().trim() === ''\\n ? null\\n : cid.toString().trim()\\n if (cid == null) {\\n throw new Error('Undefined IPNS identifier...')\\n }\\n const pathname = `/${ipfsKeyword}/${cid}`\\n try {\\n const pinned = await this.ipfsLibrary.pin(ipfs, pathname)\\n const url = this.ipfsUrl.normalizeUrl(pathname)\\n this.getLogger().info(`Successfully pinned:\\\\n ${url}`)\\n return pinned\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to pin to IPFS...')\\n }\\n\\n IpfsWrapper.prototype.unpinFromIpfs = async function (ipfs, cid) {\\n cid =\\n cid === undefined || cid == null || cid.toString().trim() === ''\\n ? null\\n : cid.toString().trim()\\n if (cid == null) {\\n throw new Error('Undefined IPNS identifier...')\\n }\\n const pathname = `/${ipfsKeyword}/${cid}`\\n try {\\n const unpinned = await this.ipfsLibrary.unpin(ipfs, pathname)\\n const url = this.ipfsUrl.normalizeUrl(pathname)\\n this.getLogger().info(`Successfully unpinned:\\\\n ${url}`)\\n return unpinned\\n } catch (error) {\\n this.getLogger().error(error)\\n }\\n throw new Error('Failed to unpin from IPFS...')\\n }\\n\\n exports.IpfsWrapper = IpfsWrapper\\n})()\\n\",\n \"type\": \"application/javascript\",\n \"tags\": \"$:/ipfs/core\",\n \"module-type\": \"library\"\n },\n \"$:/language/Buttons/Ipfs/Export/Caption\": {\n \"title\": \"$:/language/Buttons/Ipfs/Export/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"export to IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Export/Hint\": {\n \"title\": \"$:/language/Buttons/Ipfs/Export/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Export this tiddler to IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Export/Attachment/Caption\": {\n \"title\": \"$:/language/Buttons/Ipfs/Export/Attachment/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"export attachment to IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Export/Attachment/Hint\": {\n \"title\": \"$:/language/Buttons/Ipfs/Export/Attachment/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Export attachment to IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Export/Content/Caption\": {\n \"title\": \"$:/language/Buttons/Ipfs/Export/Content/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"export content to IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Export/Content/Hint\": {\n \"title\": \"$:/language/Buttons/Ipfs/Export/Content/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Export this tiddler content to IPFS\"\n },\n \"$:/language/Buttons/Ipns/Fetch/Caption\": {\n \"title\": \"$:/language/Buttons/Ipns/Fetch/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"fetch from IPNS\"\n },\n \"$:/language/Buttons/Ipns/Fetch/Hint\": {\n \"title\": \"$:/language/Buttons/Ipns/Fetch/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Fetch IPNS key\"\n },\n \"$:/language/Buttons/Ipns/Generate/Caption\": {\n \"title\": \"$:/language/Buttons/Ipns/Generate/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"generate IPNS\"\n },\n \"$:/language/Buttons/Ipns/Generate/Hint\": {\n \"title\": \"$:/language/Buttons/Ipns/Generate/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Generate IPNS key\"\n },\n \"$:/language/Buttons/Ipfs/Refresh/Caption\": {\n \"title\": \"$:/language/Buttons/Ipfs/Refresh/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"refresh\"\n },\n \"$:/language/Buttons/Ipfs/Refresh/Hint\": {\n \"title\": \"$:/language/Buttons/Ipfs/Refresh/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Perform a full refresh of the tiddler\"\n },\n \"$:/language/Buttons/Ipfs/Pin/Caption\": {\n \"title\": \"$:/language/Buttons/Ipfs/Pin/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"pin to IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Pin/Hint\": {\n \"title\": \"$:/language/Buttons/Ipfs/Pin/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Pin this wiki to IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Tiddler/Pin/Caption\": {\n \"title\": \"$:/language/Buttons/Ipfs/Tiddler/Pin/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"pin to IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Tiddler/Pin/Hint\": {\n \"title\": \"$:/language/Buttons/Ipfs/Tiddler/Pin/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Pin tiddler resources to IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Tiddler/Unpin/Caption\": {\n \"title\": \"$:/language/Buttons/Ipfs/Tiddler/Unpin/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"unpin from IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Tiddler/Unpin/Hint\": {\n \"title\": \"$:/language/Buttons/Ipfs/Tiddler/Unpin/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Unpin tiddler resources from IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Unpin/Caption\": {\n \"title\": \"$:/language/Buttons/Ipfs/Unpin/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"unpin from IPFS\"\n },\n \"$:/language/Buttons/Ipfs/Unpin/Hint\": {\n \"title\": \"$:/language/Buttons/Ipfs/Unpin/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Unpin this wiki from IPFS\"\n },\n \"$:/language/Buttons/Console/Mobile/Caption\": {\n \"title\": \"$:/language/Buttons/Console/Mobile/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"mobile console\"\n },\n \"$:/language/Buttons/Console/Mobile/Hint\": {\n \"title\": \"$:/language/Buttons/Console/Mobile/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Load/Unload Mobile Console\"\n },\n \"$:/language/Buttons/Ens/Manager/Open/Caption\": {\n \"title\": \"$:/language/Buttons/Ens/Manager/Open/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"open ENS Manager\"\n },\n \"$:/language/Buttons/Ens/Manager/Open/Hint\": {\n \"title\": \"$:/language/Buttons/Ens/Manager/Open/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Open ENS Domain Manager\"\n },\n \"$:/language/Buttons/Ens/Publish/Caption\": {\n \"title\": \"$:/language/Buttons/Ens/Publish/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"publish to ENS\"\n },\n \"$:/language/Buttons/Ens/Publish/Hint\": {\n \"title\": \"$:/language/Buttons/Ens/Publish/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Publish this wiki to ENS\"\n },\n \"$:/language/Buttons/Ens/Resolve/And/Open/Caption\": {\n \"title\": \"$:/language/Buttons/Ens/Resolve/And/Open/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"open ENS Domain content\"\n },\n \"$:/language/Buttons/Ens/Resolve/And/Open/Hint\": {\n \"title\": \"$:/language/Buttons/Ens/Resolve/And/Open/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Open resolved ENS Domain content\"\n },\n \"$:/language/Buttons/Ipns/Publish/Caption\": {\n \"title\": \"$:/language/Buttons/Ipns/Publish/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"publish to IPNS\"\n },\n \"$:/language/Buttons/Ipns/Publish/Hint\": {\n \"title\": \"$:/language/Buttons/Ipns/Publish/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Publish this wiki to IPNS\"\n },\n \"$:/language/Buttons/Ipns/Remove/Caption\": {\n \"title\": \"$:/language/Buttons/Ipns/Remove/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"remove\"\n },\n \"$:/language/Buttons/Ipns/Remove/Hint\": {\n \"title\": \"$:/language/Buttons/Ipns/Remove/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Remove IPNS name and IPNS key\"\n },\n \"$:/language/Buttons/Ipns/Rename/Caption\": {\n \"title\": \"$:/language/Buttons/Ipns/Rename/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"rename\"\n },\n \"$:/language/Buttons/Ipns/Rename/Hint\": {\n \"title\": \"$:/language/Buttons/Ipns/Rename/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Rename IPNS name\"\n },\n \"$:/language/Buttons/Ipns/Resolve/And/Open/Caption\": {\n \"title\": \"$:/language/Buttons/Ipns/Resolve/And/Open/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"resolve and open\"\n },\n \"$:/language/Buttons/Ipns/Resolve/And/Open/Hint\": {\n \"title\": \"$:/language/Buttons/Ipns/Resolve/And/Open/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Open resolved IPNS key\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Caption\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"IPFS Saver\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"These settings are only used when saving to IPFS.\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Verbose\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Verbose\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Saver Verbose\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Url\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Url\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"IPFS Server URL\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/ApiUrl\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/ApiUrl\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"API\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/GatewayUrl\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/GatewayUrl\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Gateway\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Ens\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Ens\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"ENS\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/EnsDomain\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/EnsDomain\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"ENS domain\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Ipns\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Ipns\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"IPNS\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/IpnsName\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/IpnsName\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"IPNS name\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/IpnsKey\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/IpnsKey\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"IPNS key\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Resolved\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Resolved\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Resolved\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Global\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Global\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Global\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Verbose/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Verbose/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Verbose\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Unpin/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Unpin/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Unpin previous content\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Wait/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Wait/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Wait\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Policy\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Policy\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Relative URL Policy\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Policy/Origin/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Policy/Origin/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Origin\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Policy/Gateway/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Policy/Gateway/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Gateway\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Protocol\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Protocol\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Protocol\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Protocol/Ens/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Protocol/Ens/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"ENS\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Protocol/Ipfs/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Protocol/Ipfs/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"IPFS\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Protocol/Ipns/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Protocol/Ipns/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"IPNS\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Export\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Export\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Export\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Export/Static/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Export/Static/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Static\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Export/Json/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Export/Json/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"JSON\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Export/Tid/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Export/Tid/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"TID\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Provider\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Provider\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"IPFS Provider\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Provider/Default/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Provider/Default/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Default\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Provider/Window/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Provider/Window/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"IPFS Companion\"\n },\n \"$:/language/ControlPanel/Saving/IpfsService/Provider/HTTP/Description\": {\n \"title\": \"$:/language/ControlPanel/Saving/IpfsService/Provider/HTTP/Description\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"HTTP Client\"\n },\n \"$:/language/ControlPanel/Basics/Version/Prompt\": {\n \"title\": \"$:/language/ControlPanel/Basics/Version/Prompt\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"\u003Cb>~TiddlyWiki\u003C/b>:\"\n },\n \"$:/language/ControlPanel/Ipfs/Version/Prompt\": {\n \"title\": \"$:/language/ControlPanel/Ipfs/Version/Prompt\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"\u003Cb>IPFS\u003C/b>:\"\n },\n \"$:/language/ControlPanel/Settings/PreferredSaver/Caption\": {\n \"title\": \"$:/language/ControlPanel/Settings/PreferredSaver/Caption\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Preferred Saver\"\n },\n \"$:/language/ControlPanel/Appearance/Hint\": {\n \"title\": \"$:/language/ControlPanel/Appearance/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Ways to customise the appearance of your \u003Cb>~TiddlyWiki\u003C/b>.\"\n },\n \"$:/language/ControlPanel/Info/Hint\": {\n \"title\": \"$:/language/ControlPanel/Info/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Information about this \u003Cb>~TiddlyWiki\u003C/b>\"\n },\n \"$:/language/ControlPanel/Saving/Hint\": {\n \"title\": \"$:/language/ControlPanel/Saving/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"Settings used for saving the entire \u003Cb>~TiddlyWiki\u003C/b> as a single file via a saver module.\"\n },\n \"$:/language/ControlPanel/Settings/Hint\": {\n \"title\": \"$:/language/ControlPanel/Settings/Hint\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"text\": \"These settings let you customise the behaviour of \u003Cb>~TiddlyWiki\u003C/b>.\"\n },\n \"$:/language/EditTemplate/Body/External/Hint\": {\n \"title\": \"$:/language/EditTemplate/Body/External/Hint\",\n \"modified\": \"20200528094915385\",\n \"text\": \"This tiddler shows content stored outside of the main ~TiddlyWiki file.\u003Cbr/>You can edit the tags and fields but cannot directly edit the content itself\"\n },\n \"$:/language/NetworkError/XMLHttpRequest\": {\n \"title\": \"$:/language/NetworkError/XMLHttpRequest\",\n \"modified\": \"20200528094915385\",\n \"text\": \"Network Error while loading...\"\n },\n \"$:/language/LazyLoadingWarning\": {\n \"title\": \"$:/language/LazyLoadingWarning\",\n \"modified\": \"20200528094915385\",\n \"text\": \"\u003Cp>Trying to load external Tiddler content from:\u003Cp>\u003C/p>''\u003C$ipfslink field=\\\"_canonical_uri\\\" tiddler=\u003C\u003CcurrentTiddler>>/>''\u003C/p>\"\n },\n \"$:/language/EmptyTidddler\": {\n \"title\": \"$:/language/EmptyTidddler\",\n \"modified\": \"20200528094915385\",\n \"text\": \"\u003Cp>An external Tiddler content has been loaded:\u003C/p>\u003Cp>''\u003C$ipfslink field=\\\"_canonical_uri\\\" tiddler=\u003C\u003CcurrentTiddler>>/>''\u003C/p>\u003Cp>The imported Tiddler content is empty, possible reasons:\u003C/p>\u003Cul>\u003Cli>The Tiddler Content Type doesn't match the type of the external content.\u003C/li>\"\n },\n \"$:/plugins/ipfs/changelog\": {\n \"title\": \"$:/plugins/ipfs/changelog\",\n \"modified\": \"20200525094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"text\": \"!! v0.3.0\\n\\n[[See GitHub for detailed change history of this release|https://github.com/xmaysonnave/tiddlywiki-ipfs/compare/v0.2.9...v0.3.0]]\\n\\n!! v0.2.9\\n\\n[[See GitHub for detailed change history of this release|https://github.com/xmaysonnave/tiddlywiki-ipfs/compare/v0.2.8...v0.2.9]]\\n\\n!! v0.2.8\\n\\n[[See GitHub for detailed change history of this release|https://github.com/xmaysonnave/tiddlywiki-ipfs/compare/v0.2.7...v0.2.8]]\\n\\n...\\n\\n!! 0.2.2\\n\\n* First public release\"\n },\n \"$:/plugins/ipfs/readme\": {\n \"title\": \"$:/plugins/ipfs/readme\",\n \"modified\": \"20200525094915385\",\n \"tags\": \"$:/ipfs/core\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"text\": \"!! IPFS with ~TiddlyWiki\\n\\nFeatures:\\n\\n* Store `TiddlyWiki's` and attachments on [ext[IPFS|https://ipfs.io/]]\\n* Access `TiddlyWiki's` and attachments from [ext[IPFS|https://ipfs.io/]]\\n* Encrypt and Unencrypt `TiddlyWiki` and attachments\\n* Publish and Manage IPNS Keys and Names\\n* Interact with [ext[Metamask|https://metamask.io]] Ethereum wallets\\n* Publish to [ext[ENS|https://ens.domains]]\\n* Share over [ext[IPFS|https://ipfs.io/]] `TiddlyWiki's` [ext[Tiddlers|https://tiddlywiki.com/#Tiddlers]] and attachments\\n\\nSupported Browsers:\\n\\n* [ext[Firefox|https://www.mozilla.org]]\\n* [ext[Chrome|https://www.google.com/chrome/]]\\n* [ext[Chromium|https://www.chromium.org]]\\n\\nSupported Ethereum browser extension:\\n\\n* [ext[Metamask|https://metamask.io]]\\n\\nSupported Mobile ĐApp browser:\\n\\n* [ext[Metamask|https://metamask.io]]\\n\\nSupported ENS Ethereum Networks\\n\\n* `Mainnet`: Ethereum Main Network\\n* `Ropsten`: Ethereum Test Network (~PoW)\\n* `Rinkeby`: Ethereum Test Network (~PoA)\\n* `Goerli`: Ethereum Test Network (~PoA)\\n\\nResources:\\n\\n* https://github.com/xmaysonnave/tiddlywiki-ipfs/\\n* https://github.com/xmaysonnave/tiddlywiki-ipfs/blob/master/README.md\\n\\n!! With a capable ENS browser:\\n\\n* [ext[IPFS with TiddlyWiki|https://bluelightav.eth]] on \\\"Mainnet: Ethereum Main Network\\\"\\n* [ext[IPFS with TiddlyWiki|https://bluelightav.eth]] on [ext[Rinkeby|https://www.rinkeby.io/]] (~PoA): Ethereum Test Network\\n* [ext[IPFS with TiddlyWiki plugin|https://bluelightav.eth/#%24%3A%2Fplugins%2Fipfs]]\\n* [ext[IPFS with TiddlyWiki Documentation|https://bluelightav.eth/#IPFS%20Documentation]]\\n\\n!! With a non capable ENS browser:\\n\\n* [ext[IPFS with TiddlyWiki|https://bluelightav.eth.link]]\\n* [ext[IPFS with TiddlyWiki plugin|https://bluelightav.eth.link/#%24%3A%2Fplugins%2Fipfs]]\\n* [ext[IPFS with TiddlyWiki Documentation|https://bluelightav.eth.link/#IPFS%20Documentation]]\"\n },\n \"$:/ipfs/saver/api/http/localhost/5001\": {\n \"title\": \"$:/ipfs/saver/api/http/localhost/5001\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/api\",\n \"text\": \"http://127.0.0.1:5001\"\n },\n \"$:/ipfs/saver/api/https/tube.copylaradio.com/5001\": {\n \"title\": \"$:/ipfs/saver/api/https/tube.copylaradio.com/5001\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/api\",\n \"text\": \"https://tube.copylaradio.com:5001\"\n },\n \"$:/ipfs/saver/api/https/ipfs.bluelightav.org\": {\n \"title\": \"$:/ipfs/saver/api/https/ipfs.bluelightav.org\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/api\",\n \"text\": \"https://ipfs.bluelightav.org\"\n },\n \"$:/ipfs/saver/gateway/https/ipfs.busy.org\": {\n \"title\": \"$:/ipfs/saver/gateway/https/ipfs.busy.org\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://ipfs.busy.org\"\n },\n \"$:/ipfs/saver/gateway/https/cloudflare-ipfs.com\": {\n \"title\": \"$:/ipfs/saver/gateway/https/cloudflare-ipfs.com\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://cloudflare-ipfs.com\"\n },\n \"$:/ipfs/saver/gateway/https/ipfs.eternum.io\": {\n \"title\": \"$:/ipfs/saver/gateway/https/ipfs.eternum.io\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://ipfs.eternum.io\"\n },\n \"$:/ipfs/saver/gateway/https/gateway.bluelightav.org\": {\n \"title\": \"$:/ipfs/saver/gateway/https/gateway.bluelightav.org\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://gateway.bluelightav.org\"\n },\n \"$:/ipfs/saver/gateway/https/gateway.ipfs.io\": {\n \"title\": \"$:/ipfs/saver/gateway/https/gateway.ipfs.io\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://gateway.ipfs.io\"\n },\n \"$:/ipfs/saver/gateway/https/ipfs.greyh.at\": {\n \"title\": \"$:/ipfs/saver/gateway/https/ipfs.greyh.at\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://ipfs.greyh.at\"\n },\n \"$:/ipfs/saver/gateway/https/hardbin.com\": {\n \"title\": \"$:/ipfs/saver/gateway/https/hardbin.com\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://hardbin.com\"\n },\n \"$:/ipfs/saver/gateway/http/localhost\": {\n \"title\": \"$:/ipfs/saver/gateway/http/localhost\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"http://127.0.0.1:8080\"\n },\n \"$:/ipfs/saver/gateway/https/tube.copylaradio.com\": {\n \"title\": \"$:/ipfs/saver/gateway/https/tube.copylaradio.com\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://tube.copylaradio.com\"\n },\n \"$:/ipfs/saver/gateway/https/ipfs.bluelightav.org\": {\n \"title\": \"$:/ipfs/saver/gateway/https/ipfs.bluelightav.org\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://ipfs.bluelightav.org\"\n },\n \"$:/ipfs/saver/gateway/https/ipfs.io\": {\n \"title\": \"$:/ipfs/saver/gateway/https/ipfs.io\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://ipfs.io\"\n },\n \"$:/ipfs/saver/gateway/https/ipfs.jes.xxx\": {\n \"title\": \"$:/ipfs/saver/gateway/https/ipfs.jes.xxx\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs $:/ipfs/saver/gateway\",\n \"text\": \"https://ipfs.jes.xxx\"\n },\n \"$:/ipfs/saver/gateway/https/ninetailed.ninja\": {\n \"title\": \"$:/ipfs/saver/gateway/https/ninetailed.ninja\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://ninetailed.ninja\"\n },\n \"$:/ipfs/saver/gateway/https/gateway.pinata.cloud\": {\n \"title\": \"$:/ipfs/saver/gateway/https/gateway.pinata.cloud\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://gateway.pinata.cloud\"\n },\n \"$:/ipfs/saver/gateway/https/siderus.io\": {\n \"title\": \"$:/ipfs/saver/gateway/https/siderus.io\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://siderus.io\"\n },\n \"$:/ipfs/saver/gateway/https/ipfs.sloppyta.co\": {\n \"title\": \"$:/ipfs/saver/gateway/https/ipfs.sloppyta.co\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://ipfs.sloppyta.co\"\n },\n \"$:/ipfs/saver/gateway/https/gateway.temporal.cloud\": {\n \"title\": \"$:/ipfs/saver/gateway/https/gateway.temporal.cloud\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://gateway.temporal.cloud\"\n },\n \"$:/ipfs/saver/gateway/https/ipfs.wa.hle.rs\": {\n \"title\": \"$:/ipfs/saver/gateway/https/ipfs.wa.hle.rs\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/ipfs/saver/gateway\",\n \"text\": \"https://ipfs.wa.hle.rs\"\n },\n \"$:/core/ui/Buttons/ipfs/console/mobile\": {\n \"title\": \"$:/core/ui/Buttons/ipfs/console/mobile\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/PageControls\",\n \"caption\": \"{{$:/core/images/preview-open}} {{$:/language/Buttons/Console/Mobile/Caption}}\",\n \"description\": \"{{$:/language/Buttons/Console/Mobile/Hint}}\",\n \"text\": \"\u003C$button message=\\\"tm-console-mobile\\\" tooltip={{$:/language/Buttons/Console/Mobile/Hint}} aria-label={{$:/language/Buttons/Console/Mobile/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/preview-open}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Console/Mobile/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"\n },\n \"$:/core/ui/Buttons/ipfs/pin\": {\n \"title\": \"$:/core/ui/Buttons/ipfs/pin\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/PageControls\",\n \"caption\": \"{{$:/core/images/chevron-up}} {{$:/language/Buttons/Ipfs/Pin/Caption}}\",\n \"description\": \"{{$:/language/Buttons/Ipfs/Pin/Hint}}\",\n \"text\": \"\u003C$button message=\\\"tm-ipfs-pin\\\" tooltip={{$:/language/Buttons/Ipfs/Pin/Hint}} aria-label={{$:/language/Buttons/Ipfs/Pin/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/chevron-up}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ipfs/Pin/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"\n },\n \"$:/core/ui/Buttons/ens/publish\": {\n \"title\": \"$:/core/ui/Buttons/ens/publish\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/PageControls\",\n \"caption\": \"{{$:/core/images/ens}} {{$:/language/Buttons/Ens/Publish/Caption}}\",\n \"description\": \"{{$:/language/Buttons/Ens/Publish/Hint}}\",\n \"text\": \"\u003C$button message=\\\"tm-ens-publish\\\" tooltip={{$:/language/Buttons/Ens/Publish/Hint}} aria-label={{$:/language/Buttons/Ens/Publish/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/ens}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ens/Publish/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"\n },\n \"$:/core/ui/Buttons/ipns/publish\": {\n \"title\": \"$:/core/ui/Buttons/ipns/publish\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/PageControls\",\n \"caption\": \"{{$:/core/images/excise}} {{$:/language/Buttons/Ipns/Publish/Caption}}\",\n \"description\": \"{{$:/language/Buttons/Ipns/Publish/Hint}}\",\n \"text\": \"\u003C$button message=\\\"tm-ipns-publish\\\" tooltip={{$:/language/Buttons/Ipns/Publish/Hint}} aria-label={{$:/language/Buttons/Ipns/Publish/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/excise}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ipns/Publish/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"\n },\n \"$:/core/ui/Buttons/ipfs/unpin\": {\n \"title\": \"$:/core/ui/Buttons/ipfs/unpin\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/PageControls\",\n \"caption\": \"{{$:/core/images/chevron-down}} {{$:/language/Buttons/Ipfs/Unpin/Caption}}\",\n \"description\": \"{{$:/language/Buttons/Ipfs/Unpin/Hint}}\",\n \"text\": \"\u003C$button message=\\\"tm-ipfs-unpin\\\" tooltip={{$:/language/Buttons/Ipfs/Unpin/Hint}} aria-label={{$:/language/Buttons/Ipfs/Unpin/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/chevron-down}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ipfs/Unpin/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"\n },\n \"$:/core/ui/ControlPanel/Saving/Ipfs\": {\n \"title\": \"$:/core/ui/ControlPanel/Saving/Ipfs\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/ControlPanel/Saving\",\n \"caption\": \"{{$:/language/ControlPanel/Saving/IpfsService/Caption}}\",\n \"text\": \"\\\\define lingo-base() $:/language/ControlPanel/Saving/IpfsService/\\n\\\\define service-name() Ipfs\\n\\n\u003C\u003Clingo Description>>\\n\\n''\u003C\u003Clingo Global>>''\\n\\n\u003Ctable>\\n\u003Ctbody>\\n\u003Ctr>\\n\u003Ctd width=\\\"90%\\\">''\u003C$link to=\\\"$:/ipfs/saver/verbose\\\">\u003C\u003Clingo Verbose/Description>>\u003C/$link>''\u003C/td>\\n\u003Ctd width=\\\"10%\\\">\u003C$checkbox tiddler=\\\"$:/ipfs/saver/verbose\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\"/>\u003C/td>\\n\u003C/tr>\\n\u003Ctr>\\n\u003Ctd width=\\\"90%\\\">''\u003C$link to=\\\"$:/ipfs/saver/unpin\\\">\u003C\u003Clingo Unpin/Description>>\u003C/$link>''\u003C/td>\\n\u003Ctd width=\\\"10%\\\">\u003C$checkbox tiddler=\\\"$:/ipfs/saver/unpin\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"no\\\"/>\u003C/td>\\n\u003C/tr>\\n\u003C/tbody>\\n\u003C/table>\\n\\n''\u003C$link to=\\\"$:/ipfs/saver/provider\\\">\u003C\u003Clingo Provider>>\u003C/$link>''\\n\\n\u003C$radio tiddler=\\\"$:/ipfs/saver/provider\\\" value=\\\"default\\\">\u003C\u003Clingo Provider/Default/Description>>\u003C/$radio>\\n\u003C$radio tiddler=\\\"$:/ipfs/saver/provider\\\" value=\\\"window\\\">\u003C\u003Clingo Provider/Window/Description>>\u003C/$radio>\\n\u003C$radio tiddler=\\\"$:/ipfs/saver/provider\\\" value=\\\"http\\\">\u003C\u003Clingo Provider/HTTP/Description>>\u003C/$radio>\\n\\n''\u003C$link to=\\\"$:/ipfs/saver/export\\\">\u003C\u003Clingo Export>>\u003C/$link>''\\n\\n\u003C$radio tiddler=\\\"$:/ipfs/saver/export\\\" value=\\\"json\\\">\u003C\u003Clingo Export/Json/Description>>\u003C/$radio>\\n\u003C$radio tiddler=\\\"$:/ipfs/saver/export\\\" value=\\\"static\\\">\u003C\u003Clingo Export/Static/Description>>\u003C/$radio>\\n\u003C$radio tiddler=\\\"$:/ipfs/saver/export\\\" value=\\\"tid\\\">\u003C\u003Clingo Export/Tid/Description>>\u003C/$radio>\\n\\n''\u003C$link to=\\\"$:/ipfs/saver/protocol\\\">\u003C\u003Clingo Protocol>>\u003C/$link>''\\n\\n\u003C$radio tiddler=\\\"$:/ipfs/saver/protocol\\\" value=\\\"ens\\\">\u003C\u003Clingo Protocol/Ens/Description>>\u003C/$radio>\\n\u003C$radio tiddler=\\\"$:/ipfs/saver/protocol\\\" value=\\\"ipfs\\\">\u003C\u003Clingo Protocol/Ipfs/Description>>\u003C/$radio>\\n\u003C$radio tiddler=\\\"$:/ipfs/saver/protocol\\\" value=\\\"ipns\\\">\u003C\u003Clingo Protocol/Ipns/Description>>\u003C/$radio>\\n\\n''\u003C$link to=\\\"$:/ipfs/saver/policy\\\">\u003C\u003Clingo Policy>>\u003C/$link>''\\n\\n\u003C$radio tiddler=\\\"$:/ipfs/saver/policy\\\" value=\\\"origin\\\">\u003C\u003Clingo Policy/Origin/Description>>\u003C/$radio>\\n\u003C$radio tiddler=\\\"$:/ipfs/saver/policy\\\" value=\\\"gateway\\\">\u003C\u003Clingo Policy/Gateway/Description>>\u003C/$radio>\\n\\n''\u003C\u003Clingo Url>>''\\n\\n\u003Ctable>\\n\u003Ctbody>\\n\u003Ctr>\\n\u003Ctd width=\\\"20%\\\">''\u003C$link to=\\\"$:/ipfs/saver/api\\\">\u003C\u003Clingo ApiUrl>>\u003C/$link>''\u003C/td>\\n\u003Ctd width=\\\"80%\\\">\\n\u003C$select tiddler=\\\"$:/ipfs/saver/api\\\" default=\\\"$:/ipfs/saver/api/https/tube.copylaradio.com/5001\\\" class=\\\"tc-edit-texteditor\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/ipfs/saver/api]!has[draft.of]]\\\">\\n\u003Coption value=\u003C\u003CcurrentTiddler>>>\u003C$transclude field=\\\"text\\\">\u003C$text text=\u003C\u003CcurrentTiddler>>/>\u003C/$transclude>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n\u003C/td>\\n\u003C/tr>\\n\u003Ctr>\\n\u003Ctd width=\\\"20%\\\">''\u003C$link to=\\\"$:/ipfs/saver/gateway\\\">\u003C\u003Clingo GatewayUrl>>\u003C/$link>''\u003C/td>\\n\u003Ctd width=\\\"80%\\\">\\n\u003C$select tiddler=\\\"$:/ipfs/saver/gateway\\\" default=\\\"$:/ipfs/saver/gateway/https/tube.copylaradio.com\\\" class=\\\"tc-edit-texteditor\\\">\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/ipfs/saver/gateway]!has[draft.of]]\\\">\\n\u003Coption value=\u003C\u003CcurrentTiddler>>>\u003C$transclude field=\\\"text\\\">\u003C$text text=\u003C\u003CcurrentTiddler>>/>\u003C/$transclude>\u003C/option>\\n\u003C/$list>\\n\u003C/$select>\\n\u003C/td>\\n\u003C/tr>\\n\u003C/tbody>\\n\u003C/table>\\n\\n''\u003C\u003Clingo Ens>>''\\n\\n\u003Ctable>\\n\u003Ctbody>\\n\u003Ctr>\\n\u003Ctd width=\\\"20%\\\">''\u003C$link to=\\\"$:/ipfs/saver/ens/domain\\\">\u003C\u003Clingo EnsDomain>>\u003C/$link>''\u003C/td>\\n\u003Ctd width=\\\"80%\\\">\u003C$edit-text tiddler=\\\"$:/ipfs/saver/ens/domain\\\" class=\\\"tc-edit-texteditor\\\" default=\\\"\\\" tag=\\\"input\\\"/>\u003C/td>\\n\u003C/tr>\\n\u003C/tbody>\\n\u003C/table>\\n\\n\u003Ctable style=\\\"width:20%;margin-left:40%;margin-right:40%;text-align:center;\\\">\\n\u003Ctbody>\\n\u003Ctr>\\n\u003Ctd style=\\\"width:10%\\\">\\n\u003C$button message=\\\"tm-ens-manager-open\\\" tooltip={{$:/language/Buttons/Ens/Manager/Open/Hint}} aria-label={{$:/language/Buttons/Ens/Manager/Open/Caption}} class=\\\"tc-btn-invisible tc-ipfs-action\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/ens}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ens/Manager/Open/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/td>\\n\u003Ctd style=\\\"width:10%\\\">\\n\u003C$button message=\\\"tm-ens-resolve-and-open\\\" tooltip={{$:/language/Buttons/Ens/Resolve/And/Open/Hint}} aria-label={{$:/language/Buttons/Ens/Resolve/And/Open/Caption}} class=\\\"tc-btn-invisible tc-ipfs-action\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/globe}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ens/Resolve/And/Open/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/td>\\n\u003C/tr>\\n\u003C/tbody>\\n\u003C/table>\\n\\n''\u003C\u003Clingo Ipns>>''\\n\\n\u003Ctable>\\n\u003Ctbody>\\n\u003Ctr>\\n\u003Ctd width=\\\"20%\\\">''\u003C$link to=\\\"$:/ipfs/saver/ipns/name\\\">\u003C\u003Clingo IpnsName>>\u003C/$link>''\u003C/td>\\n\u003Ctd width=\\\"80%\\\">\u003C$edit-text tiddler=\\\"$:/ipfs/saver/ipns/name\\\" class=\\\"tc-edit-texteditor\\\" default=\\\"\\\" tag=\\\"input\\\"/>\u003C/td>\\n\u003C/tr>\\n\u003Ctr>\\n\u003Ctd width=\\\"20%\\\">''\u003C$link to=\\\"$:/ipfs/saver/ipns/key\\\">\u003C\u003Clingo IpnsKey>>\u003C/$link>''\u003C/td>\\n\u003Ctd width=\\\"80%\\\">\u003C$text text={{$:/ipfs/saver/ipns/key}} class=\\\"tc-edit-texteditor\\\"/>\u003C/td>\\n\u003C/tr>\\n\u003C/tbody>\\n\u003C/table>\\n\\n\u003Ctable style=\\\"width:50%;margin-left:25%;margin-right:25%;text-align:center;\\\">\\n\u003Ctbody>\\n\u003Ctr>\\n\u003Ctd style=\\\"width:10%\\\">\\n\u003C$button message=\\\"tm-ipns-rename\\\" tooltip={{$:/language/Buttons/Ipns/Rename/Hint}} aria-label={{$:/language/Buttons/Ipns/Rename/Caption}} class=\\\"tc-btn-invisible tc-ipfs-action\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/mono-line}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ipns/Rename/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/td>\\n\u003Ctd style=\\\"width:10%\\\">\\n\u003C$button message=\\\"tm-ipns-generate\\\" tooltip={{$:/language/Buttons/Ipns/Generate/Hint}} aria-label={{$:/language/Buttons/Ipns/Generate/Caption}} class=\\\"tc-btn-invisible tc-ipfs-action\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/new-here-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ipns/Generate/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/td>\\n\u003Ctd style=\\\"width:10%\\\">\\n\u003C$button message=\\\"tm-ipns-remove\\\" tooltip={{$:/language/Buttons/Ipns/Remove/Hint}} aria-label={{$:/language/Buttons/Ipns/Remove/Caption}} class=\\\"tc-btn-invisible tc-ipfs-action\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/delete-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ipns/Remove/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/td>\\n\u003Ctd style=\\\"width:10%\\\">\\n\u003C$button message=\\\"tm-ipns-fetch\\\" tooltip={{$:/language/Buttons/Ipns/Fetch/Hint}} aria-label={{$:/language/Buttons/Ipns/Fetch/Caption}} class=\\\"tc-btn-invisible tc-ipfs-action\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/refresh-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ipns/Fetch/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/td>\\n\u003Ctd style=\\\"width:10%\\\">\\n\u003C$button message=\\\"tm-ipns-resolve-and-open\\\" tooltip={{$:/language/Buttons/Ipns/Resolve/And/Open/Hint}} aria-label={{$:/language/Buttons/Ipns/Resolve/And/Open/Caption}} class=\\\"tc-btn-invisible tc-ipfs-action\\\">\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/globe}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ipns/Resolve/And/Open/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\\n\u003C/td>\\n\u003C/tr>\\n\u003C/tbody>\\n\u003C/table>\"\n },\n \"$:/core/ui/Buttons/ipfs/export/attachment\": {\n \"title\": \"$:/core/ui/Buttons/ipfs/export/attachment\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/ViewToolbar\",\n \"caption\": \"{{$:/core/images/ipfs}} {{$:/language/Buttons/Ipfs/Export/Attachment/Caption}}\",\n \"description\": \"{{$:/language/Buttons/Ipfs/Export/Attachment/Hint}}\",\n \"text\": \"\\\\whitespace trim\\n\u003C$button message=\\\"tm-ipfs-export-attachment\\\" param=\u003C\u003CcurrentTiddler>> tooltip={{$:/language/Buttons/Ipfs/Export/Attachment/Hint}} aria-label={{$:/language/Buttons/Ipfs/Export/Attachment/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/ipfs}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text=\\\" \\\"/>\\n\u003C$text text={{$:/language/Buttons/Ipfs/Export/Attachment/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"\n },\n \"$:/core/ui/Buttons/ipfs/export/content\": {\n \"title\": \"$:/core/ui/Buttons/ipfs/export/content\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/ViewToolbar\",\n \"caption\": \"{{$:/core/images/excise}} {{$:/language/Buttons/Ipfs/Export/Content/Caption}}\",\n \"description\": \"{{$:/language/Buttons/Ipfs/Export/Content/Hint}}\",\n \"text\": \"\\\\whitespace trim\\n\u003C$button message=\\\"tm-ipfs-export-content\\\" param=\u003C\u003CcurrentTiddler>> tooltip={{$:/language/Buttons/Ipfs/Export/Content/Hint}} aria-label={{$:/language/Buttons/Ipfs/Export/Content/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/excise}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text=\\\" \\\"/>\\n\u003C$text text={{$:/language/Buttons/Ipfs/Export/Content/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"\n },\n \"$:/core/ui/Buttons/ipfs/export\": {\n \"title\": \"$:/core/ui/Buttons/ipfs/export\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/ViewToolbar\",\n \"caption\": \"{{$:/core/images/excise}} {{$:/language/Buttons/Ipfs/Export/Caption}}\",\n \"description\": \"{{$:/language/Buttons/Ipfs/Export/Hint}}\",\n \"text\": \"\\\\whitespace trim\\n\u003C$button message=\\\"tm-ipfs-export\\\" param=\u003C\u003CcurrentTiddler>> tooltip={{$:/language/Buttons/Ipfs/Export/Hint}} aria-label={{$:/language/Buttons/Ipfs/Export/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/excise}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text=\\\" \\\"/>\\n\u003C$text text={{$:/language/Buttons/Ipfs/Export/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"\n },\n \"$:/core/ui/Buttons/ipfs/refresh\": {\n \"title\": \"$:/core/ui/Buttons/ipfs/refresh\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/ViewToolbar\",\n \"caption\": \"{{$:/core/images/refresh-button}} {{$:/language/Buttons/Ipfs/Refresh/Caption}}\",\n \"description\": \"{{$:/language/Buttons/Ipfs/Refresh/Hint}}\",\n \"text\": \"\u003C$button message=\\\"tm-refresh-tiddler\\\" param=\u003C\u003CcurrentTiddler>> tooltip={{$:/language/Buttons/Ipfs/Refresh/Hint}} aria-label={{$:/language/Buttons/Ipfs/Refresh/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/refresh-button}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\u003C$text text={{$:/language/Buttons/Ipfs/Refresh/Caption}}/>\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"\n },\n \"$:/core/ui/Buttons/ipfs/tiddler/pin\": {\n \"title\": \"$:/core/ui/Buttons/ipfs/tiddler/pin\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/ViewToolbar\",\n \"caption\": \"{{$:/core/images/chevron-up}} {{$:/language/Buttons/Ipfs/Tiddler/Pin/Caption}}\",\n \"description\": \"{{$:/language/Buttons/Ipfs/Tiddler/Pin/Hint}}\",\n \"text\": \"\\\\whitespace trim\\n\u003C$button message=\\\"tm-ipfs-pin\\\" param=\u003C\u003CcurrentTiddler>> tooltip={{$:/language/Buttons/Ipfs/Tiddler/Pin/Hint}} aria-label={{$:/language/Buttons/Ipfs/Tiddler/Pin/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/chevron-up}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text=\\\" \\\"/>\\n\u003C$text text={{$:/language/Buttons/Ipfs/Tiddler/Pin/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"\n },\n \"$:/core/ui/Buttons/ipfs/tiddler/unpin\": {\n \"title\": \"$:/core/ui/Buttons/ipfs/tiddler/unpin\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/ViewToolbar\",\n \"caption\": \"{{$:/core/images/chevron-down}} {{$:/language/Buttons/Ipfs/Tiddler/Unpin/Caption}}\",\n \"description\": \"{{$:/language/Buttons/Ipfs/Tiddler/Unpin/Hint}}\",\n \"text\": \"\\\\whitespace trim\\n\u003C$button message=\\\"tm-ipfs-unpin\\\" param=\u003C\u003CcurrentTiddler>> tooltip={{$:/language/Buttons/Ipfs/Tiddler/Unpin/Hint}} aria-label={{$:/language/Buttons/Ipfs/Tiddler/Unpin/Caption}} class=\u003C\u003Ctv-config-toolbar-class>>>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-icons>match[yes]]\\\">\\n{{$:/core/images/chevron-down}}\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Ctv-config-toolbar-text>match[yes]]\\\">\\n\u003Cspan class=\\\"tc-btn-text\\\">\\n\u003C$text text=\\\" \\\"/>\\n\u003C$text text={{$:/language/Buttons/Ipfs/Tiddler/Unpin/Caption}}/>\\n\u003C/span>\\n\u003C/$list>\\n\u003C/$button>\"\n },\n \"$:/plugins/ipfs/styles\": {\n \"title\": \"$:/plugins/ipfs/styles\",\n \"modified\": \"20200528094915385\",\n \"tags\": \"$:/ipfs/core $:/tags/Stylesheet\",\n \"type\": \"text/css\",\n \"text\": \".tc-ipfs-action {\\n display: block;\\n margin: auto;\\n width: 18px;\\n height: 18px;\\n}\\n\\n.tc-icon-ipfs-wrapper {\\n display: inline-block;\\n width: 1em;\\n height: 1em;\\n}\\n\\na.tc-ipfs-link-external {\\n\\ttext-decoration: underline;\\n\\tcolor: \u003C\u003Ccolour external-link-foreground>>;\\n\\tbackground-color: \u003C\u003Ccolour external-link-background>>;\\n}\\n\\na.tc-ipfs-link-external:visited {\\n\\tcolor: \u003C\u003Ccolour external-link-foreground-visited>>;\\n\\tbackground-color: \u003C\u003Ccolour external-link-background-visited>>;\\n}\\n\\na.tc-ipfs-link-external:hover {\\n\\tcolor: \u003C\u003Ccolour external-link-foreground-hover>>;\\n\\tbackground-color: \u003C\u003Ccolour external-link-background-hover>>;\\n cursor: pointer;\\n}\"\n }\n }\n}","author":"Xavier Maysonnave","core-version":">=5.1.2","dependents":"","description":"IPFS with TiddlyWiki","license":"GPL-3.0-or-later","list":"readme changelog","plugin-type":"plugin","source":"https://github.com/xmaysonnave/tiddlywiki-ipfs","version":"v0.3.0-200603399"}, {"title":"$:/plugins/oeyoews/neotw-pwa","description":"让你的TiddlyWiki网页像app一样启动","author":"oeyoews","version":"0.0.2","core-version":">=5.3.0","type":"application/json","plugin-type":"plugin","name":"Neotw Pwa","dependents":"","list":"readme","text":"{\"tiddlers\":{\"$:/plugins/oeyoews/neotw-pwa/readme\":{\"title\":\"$:/plugins/oeyoews/neotw-pwa/readme\",\"description\":\"PWA\",\"name\":\"PWA\",\"text\":\"{{$:/languages/neotw-pwa/readme}}\\n\"},\"$:/favicon.ico\":{\"title\":\"$:/favicon.ico\",\"text\":\"AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAABMLAAATCwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAD4AAAC/AAAAvwAAAD4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB4AAACFAAAA5gAAAP8AAAD/AAAA5gAAAIYAAAAeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAABjAAAA0gAAAP4AAAD/AAAA/wAAAP8AAAD/AAAA/gAAANMAAABjAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAABCAAAAtgAAAPkAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAPkAAAC2AAAAQgAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnAAAAlAAAAO4AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADuAAAAlAAAACcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAcQAAANwAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA3AAAAHEAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAATgAAAMIAAAD8AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAA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AP8AAACoAAAAAwAAAAQAAAAUAAAAFgAAADwAAADxAAAA/wAAAP8AAACfAAAAAAAAAAAAAAAAAAAAAAAAAKAAAADtAAAAngAAAP0AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAANYAAAAqAAAAgAAAANIAAADYAAAAoQAAAN4AAAD/AAAA/wAAAJ8AAAAAAAAAAAAAAAAAAAAAAAAAnwAAAP8AAADrAAAA/gAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/AAAANcAAAD1AAAA/wAAAP8AAAD+AAAA+wAAAP8AAAD/AAAAnwAAAAAAAAAAAAAAAAAAAAAAAACYAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAACYAAAAAAAAAAAAAAAAAAAAAAAAACsAAACiAAAA8wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADzAAAAogAAACsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAABOAAAAwgAAAPwAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD8AAAAwgAAAE4AAAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAcQAAANwAAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA3AAAAHEAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJwAAAJQAAADuAAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA7gAAAJQAAAAnAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAEIAAAC2AAAA+QAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA+QAAALYAAABCAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAABjAAAA0wAAAP4AAAD/AAAA/wAAAP8AAAD/AAAA/gAAANIAAABjAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeAAAAhQAAAOYAAAD/AAAA/wAAAOYAAACFAAAAHgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAPgAAAL8AAAC/AAAAPgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//gf///wD///wAP//wAA//4AAH/4AAAf4AAAB8AAAAPAAAADwAAAA8AAEAPAABADwAAAA8AQEAPAGbADwB/8A8A//APAP/+DwB4ng8AAB4PAAAADwAAAA8AAAAPAAAADwAAAA+AAAAf4AAAf/gAAf/8AAP//wAP///AP///4H/8=\",\"type\":\"image/x-icon\"},\"$:/manifest.json\":{\"text\":\"{\\n \\\"short_name\\\": \\\"TiddlyWiki5\\\",\\n \\\"name\\\": \\\"TiddlyWiki5\\\",\\n \\\"icons\\\": [\\n {\\n \\\"src\\\": \\\"/tiddlywiki.png\\\",\\n \\\"sizes\\\": \\\"512x512\\\",\\n \\\"type\\\": \\\"image/png\\\"\\n }\\n ],\\n \\\"id\\\": \\\"/\\\",\\n \\\"start_url\\\": \\\"/\\\",\\n \\\"background_color\\\": \\\"#F5F5EE\\\",\\n \\\"display\\\": \\\"standalone\\\",\\n \\\"scope\\\": \\\"/\\\",\\n \\\"theme_color\\\": \\\"#F5F5EE\\\",\\n \\\"description\\\": \\\"TiddlyWiki5\\\"\\n}\\n\",\"type\":\"application/json\",\"title\":\"$:/manifest.json\"},\"$:/tiddlywiki.png\":{\"title\":\"$:/tiddlywiki.png\",\"text\":\"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\",\"type\":\"image/png\"},\"$:/plugins/oeyoews/neotw-pwa/routes/get-manifest.js\":{\"title\":\"$:/plugins/oeyoews/neotw-pwa/routes/get-manifest.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/oeyoews/neotw-pwa/routes/get-manifest.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /manifest.json\\n\\n\\\\*/\\n(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict';\\n\\n exports.method = 'GET';\\n\\n exports.path = /^\\\\/manifest.json$/;\\n\\n exports.handler = function (request, response, state) {\\n const data = state.wiki.getTiddlerText('$:/manifest.json');\\n state.sendResponse(\\n 200,\\n { 'Content-Type': 'application/json' },\\n data,\\n 'utf8',\\n );\\n };\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/plugins/oeyoews/neotw-pwa/routes/get-tiddlywiki-image.js\":{\"title\":\"$:/plugins/oeyoews/neotw-pwa/routes/get-tiddlywiki-image.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/oeyoews/neotw-pwa/routes/get-tiddlywiki-image.js\\ntype: application/javascript\\nmodule-type: route\\n\\nGET /tiddlywiki.png\\n\\n\\\\*/\\n(function () {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n 'use strict';\\n\\n exports.method = 'GET';\\n\\n exports.path = /^\\\\/tiddlywiki.png$/;\\n\\n exports.handler = function (request, response, state) {\\n const data = state.wiki.getTiddlerText('$:/tiddlywiki.png');\\n state.sendResponse(200, { 'Content-Type': 'image/png' }, data, 'base64');\\n };\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"route\"},\"$:/plugins/oeyoews/neotw-pwa/icon\":{\"title\":\"$:/plugins/oeyoews/neotw-pwa/icon\",\"text\":\"\u003Csvg fill=\\\"none\\\" height=\\\"32\\\" viewBox=\\\"0 0 32 32\\\" width=\\\"32\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\u003Cpath d=\\\"m15.35 2.1425c.32-.19.71-.19 1.02 0l10.92 6.64c.26.16.42.45.42.75l-11.85 7.9675-11.86-7.86757v-.09993c0-.3.16-.59.42-.74z\\\" fill=\\\"#f3c07b\\\"/>\u003Cpath d=\\\"m15.856 16.2463 11.36-6.89997c.0498-.0297.1067-.04566.1647-.04626.058-.00061.1151.01418.1655.04284.0504.02867.0923.07016.1214.1203.0292.05014.0445.10711.0445.1651v12.33999c.0001.2972-.0762.5894-.2216.8486-.1453.2592-.3549.4765-.6085.6314l-10.6399 6.46c-.0271.0149-.0566.0251-.0871.0301-.0269.008-.0549.0117-.083.011-.1135.0318-.2322.0409-.3493.0267-.1171-.0143-.2301-.0516-.3327-.1097h.006l-2.396-10.8664z\\\" fill=\\\"#ffce7c\\\"/>\u003Cpath d=\\\"m15.86 29.6224v-13.37l-11.35-6.89997c-.23-.14-.51.02-.51.28v12.33997c0 .61.32 1.17.83 1.48l10.57 6.42c.2.13.46-.02.46-.25z\\\" fill=\\\"#e19747\\\"/>\u003Cpath d=\\\"m14.5 26.7824v-1.96c0-.23-.12-.44-.31-.56l-2.8-1.69c-.19-.11-.43.02-.43.24v1.96c0 .23.12.44.31.56l2.8 1.69c.19.11.43-.02.43-.24z\\\" fill=\\\"#d3d3d3\\\"/>\u003Cpath d=\\\"m11.76 16.5525v-2.79-1.7699l-3.27999-.2201v3.16c0 .1.05.2.14.26l2.67999 1.63c.2.11.46-.03.46-.27z\\\" fill=\\\"#8c5543\\\"/>\u003Cpath d=\\\"m20.34 4.5625-11.85999 7.21 3.27999 2 11.86-7.2z\\\" fill=\\\"#a56953\\\"/>\u003C/svg>\",\"type\":\"image/svg+xml\"},\"$:/languages/neotw-pwa/readme\":{\"title\":\"$:/languages/neotw-pwa/readme\",\"text\":\"\u003Cdiv class=\\\"prose max-w-none prose-indigo\\\">\\n\\n* [[Source|https://github.com/oeyoews/neotw/tree/main/plugins/oeyoews/neotw-pwa]]\\n\\n> 让你的TiddlyWiki网页像app一样启动\\n> make your TiddlyWiki web page start like an app\\n\\n> 注意: 额外提供了favicon.ico\\n\\n> 注意: 不要使用0.0.0.0:xxx, 请使用127.0.0.1:xxx\\n\\n> 由于tiddlywiki.png 使用了全透明, 中间的白色部分是透明的, 在iphone上看不到(全部自动补充成了黑色)\\n\\n* ref: https://github.com/oeyoews/tiddlywiki-starter-kit/commit/47b9530a2049a43b26f30094c77d8483282e59d7\\n\\n!! Setup\\n\\n\u003C$reveal type=\\\"nomatch\\\" state=\\\"$:/plugins/oeyoews/neotw-pwa/routes/get-manifest.js!!overwrite\\\" text=\\\"yes\\\">\\n\u003C$button class=\\\"bg-green-400 p-2\\\">\\n\u003C$action-setfield $tiddler=\\\"$:/plugins/oeyoews/neotw-pwa/routes/get-tiddlywiki-image.js\\\" $field=\\\"overwrite\\\" $value=\\\"yes\\\"/>\\n\u003C$action-setfield $tiddler=\\\"$:/plugins/oeyoews/neotw-pwa/routes/get-manifest.js\\\" $field=\\\"overwrite\\\" $value=\\\"yes\\\"/>\\nEnable PWA 📦\\n\u003C/$button>\\n\u003C/$reveal>\\n\\n\u003C$reveal type=\\\"match\\\" state=\\\"$:/plugins/oeyoews/neotw-pwa/routes/get-manifest.js!!overwrite\\\" text=\\\"yes\\\">\\n\u003C$button class=\\\"bg-rose-400 p-2\\\">\\n\u003C$action-deletetiddler $filter=\\\"[prefix[$:/plugins/oeyoews/neotw-pwa]field:overwrite[yes]]\\\"/>\\nReset PWA ♻️\\n\u003C/$button>\\n\u003C/$reveal>\\n\\n> 设置后需要重启tw, 不是刷新浏览器\\n> After setting, you need to restart tw, not refresh the browser\\n\\n\u003C!-- * get-menifest.json 变成shadow, 注意使用startupaction 修改变成shadow 是无效的,shadows文件不会保存 -->\\n\\n> 下面是针对构建在线版本支持pwa的参数\\n> The following are parameters for building online version to support pwa\\n\\n```\\n\\\"--savetiddler\\\",\\n \\\"$:/manifest.json\\\",\\n \\\"manifest.json\\\",\\n\\\"--savetiddler\\\",\\n \\\"$:/tiddlywiki.png\\\",\\n \\\"tiddlywiki.png\\\",\\n```\\n\\n\u003C!-- !! Tools -->\\n\u003C!---->\\n\u003C!-- https://maskable.app/editor -->\\n\\n\u003C/div>\"},\"$:/plugins/oeyoews/neotw-pwa/meta\":{\"title\":\"$:/plugins/oeyoews/neotw-pwa/meta\",\"tags\":\"$:/tags/RawMarkupWikified/TopHead\",\"text\":\"`\u003Clink rel=\\\"manifest\\\" href=\\\"manifest.json\\\" />`\"}}}"}, {"author":"efurlanm","core-version":"","created":"NaNNaNNaNNaNNaNNaNNaN","dependents":"","description":"wrapper for the Mermaid diagramming library","list":"readme usage example license","modified":"NaNNaNNaNNaNNaNNaNNaN","name":"Mermaid","plugin-type":"plugin","tags":"","title":"$:/plugins/orange/mermaid-tw5","version":"0.3.7.1","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/orange/mermaid-tw5/example\":{\"title\":\"$:/plugins/orange/mermaid-tw5/example\",\"text\":\"See full examples on the website http://mermaid-js.github.io/mermaid\\n\\nNotation\\n\\n```\\n%%{init: {'theme': 'default'}}%%\\ngraph LR\\n A[a node with text]-->B(a node with rounded corners)\\n A--no links---C((a circle))\\n B-->D{a diamond}\\n C==>|arrow and text|D\\n C-. back to.->A\\n```\\n\\nResults\\n\\n\u003C$mermaid text=\\\"\\n%%{init: {'theme': 'default'}}%%\\n graph LR\\n A[a node with text]-->B(a node with rounded corners)\\n A--no links---C((a circle))\\n B-->D{a diamond}\\n C==>|arrow and text|D\\n C-. back to.->A\\n\\\">\u003C/$mermaid>\\n\\nMore advanced usage is possible if you use the mermaid parser rather than the ``\u003C$mermaid>``. Below are two more examples from the [[mermaid.js website|http://mermaid-js.github.io/mermaid]]\\n\\nBuilt-in themes: 'default', 'base', 'forest', 'dark', 'neutral'\\n\"},\"$:/plugins/orange/mermaid-tw5/license\":{\"title\":\"$:/plugins/orange/mermaid-tw5/license\",\"text\":\"The MIT License (MIT)\\n\\nCopyright (c) 2022 E Furlan\\n\\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \\\"Software\\\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\\n\\nDependencies:\\n\\n- mermaid.js. License can be found at https://github.com/mermaid-js/mermaid/blob/master/LICENSE\\n- mermaid-tw5 by Nathaniel Jones. License can be found at https://github.com/gt6796c/mermaid-tw5/blob/master/license.tid\\n\",\"type\":\"text/plain\"},\"$:/plugins/orange/mermaid-tw5/mermaid.min.js\":{\"title\":\"$:/plugins/orange/mermaid-tw5/mermaid.min.js\",\"text\":\"(function(ln,Wr){typeof exports==\\\"object\\\"&&typeof module\u003C\\\"u\\\"?module.exports=Wr():typeof define==\\\"function\\\"&&define.amd?define(Wr):(ln=typeof globalThis\u003C\\\"u\\\"?globalThis:ln||self,ln.mermaid=Wr())})(this,function(){\\\"use strict\\\";var XY=Object.defineProperty;var KY=(ln,Wr,Bi)=>Wr in ln?XY(ln,Wr,{enumerable:!0,configurable:!0,writable:!0,value:Bi}):ln[Wr]=Bi;var za=(ln,Wr,Bi)=>(KY(ln,typeof Wr!=\\\"symbol\\\"?Wr+\\\"\\\":Wr,Bi),Bi);var ln=typeof globalThis\u003C\\\"u\\\"?globalThis:typeof window\u003C\\\"u\\\"?window:typeof global\u003C\\\"u\\\"?global:typeof self\u003C\\\"u\\\"?self:{};function Wr(t){throw new Error('Could not dynamically require \\\"'+t+'\\\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Bi={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(ln,function(){var r;function n(){return r.apply(null,arguments)}function i(h){return h instanceof Array||Object.prototype.toString.call(h)===\\\"[object Array]\\\"}function s(h){return h!=null&&Object.prototype.toString.call(h)===\\\"[object Object]\\\"}function a(h,y){return Object.prototype.hasOwnProperty.call(h,y)}function o(h){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(h).length===0;for(var y in h)if(a(h,y))return;return 1}function l(h){return h===void 0}function u(h){return typeof h==\\\"number\\\"||Object.prototype.toString.call(h)===\\\"[object Number]\\\"}function d(h){return h instanceof Date||Object.prototype.toString.call(h)===\\\"[object Date]\\\"}function f(h,y){for(var _=[],S=h.length,R=0;R\u003CS;++R)_.push(y(h[R],R));return _}function p(h,y){for(var _ in y)a(y,_)&&(h[_]=y[_]);return a(y,\\\"toString\\\")&&(h.toString=y.toString),a(y,\\\"valueOf\\\")&&(h.valueOf=y.valueOf),h}function g(h,y,_,S){return xr(h,y,_,S,!0).utc()}function b(h){return h._pf==null&&(h._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),h._pf}function k(h){if(h._isValid==null){var y=b(h),_=L.call(y.parsedDateParts,function(S){return S!=null}),_=!isNaN(h._d.getTime())&&y.overflow\u003C0&&!y.empty&&!y.invalidEra&&!y.invalidMonth&&!y.invalidWeekday&&!y.weekdayMismatch&&!y.nullInput&&!y.invalidFormat&&!y.userInvalidated&&(!y.meridiem||y.meridiem&&_);if(h._strict&&(_=_&&y.charsLeftOver===0&&y.unusedTokens.length===0&&y.bigHour===void 0),Object.isFrozen!=null&&Object.isFrozen(h))return _;h._isValid=_}return h._isValid}function T(h){var y=g(NaN);return h!=null?p(b(y),h):b(y).userInvalidated=!0,y}var L=Array.prototype.some||function(h){for(var y=Object(this),_=y.length>>>0,S=0;S\u003C_;S++)if(S in y&&h.call(this,y[S],S,y))return!0;return!1},E=n.momentProperties=[],I=!1;function V(h,y){var _,S,R,it=E.length;if(l(y._isAMomentObject)||(h._isAMomentObject=y._isAMomentObject),l(y._i)||(h._i=y._i),l(y._f)||(h._f=y._f),l(y._l)||(h._l=y._l),l(y._strict)||(h._strict=y._strict),l(y._tzm)||(h._tzm=y._tzm),l(y._isUTC)||(h._isUTC=y._isUTC),l(y._offset)||(h._offset=y._offset),l(y._pf)||(h._pf=b(y)),l(y._locale)||(h._locale=y._locale),0\u003Cit)for(_=0;_\u003Cit;_++)l(R=y[S=E[_]])||(h[S]=R);return h}function H(h){V(this,h),this._d=new Date(h._d!=null?h._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),I===!1&&(I=!0,n.updateOffset(this),I=!1)}function G(h){return h instanceof H||h!=null&&h._isAMomentObject!=null}function Y(h){n.suppressDeprecationWarnings===!1&&typeof console\u003C\\\"u\\\"&&console.warn&&console.warn(\\\"Deprecation warning: \\\"+h)}function W(h,y){var _=!0;return p(function(){if(n.deprecationHandler!=null&&n.deprecationHandler(null,h),_){for(var S,R,it=[],mt=arguments.length,Ct=0;Ct\u003Cmt;Ct++){if(S=\\\"\\\",typeof arguments[Ct]==\\\"object\\\"){for(R in S+=`\\n[`+Ct+\\\"] \\\",arguments[0])a(arguments[0],R)&&(S+=R+\\\": \\\"+arguments[0][R]+\\\", \\\");S=S.slice(0,-2)}else S=arguments[Ct];it.push(S)}Y(h+`\\nArguments: `+Array.prototype.slice.call(it).join(\\\"\\\")+`\\n`+new Error().stack),_=!1}return y.apply(this,arguments)},y)}var N={};function D(h,y){n.deprecationHandler!=null&&n.deprecationHandler(h,y),N[h]||(Y(y),N[h]=!0)}function w(h){return typeof Function\u003C\\\"u\\\"&&h instanceof Function||Object.prototype.toString.call(h)===\\\"[object Function]\\\"}function v(h,y){var _,S=p({},h);for(_ in y)a(y,_)&&(s(h[_])&&s(y[_])?(S[_]={},p(S[_],h[_]),p(S[_],y[_])):y[_]!=null?S[_]=y[_]:delete S[_]);for(_ in h)a(h,_)&&!a(y,_)&&s(h[_])&&(S[_]=p({},S[_]));return S}function M(h){h!=null&&this.set(h)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var m=Object.keys||function(h){var y,_=[];for(y in h)a(h,y)&&_.push(y);return _};function Q(h,y,_){var S=\\\"\\\"+Math.abs(h);return(0\u003C=h?_?\\\"+\\\":\\\"\\\":\\\"-\\\")+Math.pow(10,Math.max(0,y-S.length)).toString().substr(1)+S}var x=/(\\\\[[^\\\\[]*\\\\])|(\\\\\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ct=/(\\\\[[^\\\\[]*\\\\])|(\\\\\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Dt={},kt={};function j(h,y,_,S){var R=typeof S==\\\"string\\\"?function(){return this[S]()}:S;h&&(kt[h]=R),y&&(kt[y[0]]=function(){return Q(R.apply(this,arguments),y[1],y[2])}),_&&(kt[_]=function(){return this.localeData().ordinal(R.apply(this,arguments),h)})}function ot(h,y){return h.isValid()?(y=rt(y,h.localeData()),Dt[y]=Dt[y]||function(_){for(var S,R=_.match(x),it=0,mt=R.length;it\u003Cmt;it++)kt[R[it]]?R[it]=kt[R[it]]:R[it]=(S=R[it]).match(/\\\\[[\\\\s\\\\S]/)?S.replace(/^\\\\[|\\\\]$/g,\\\"\\\"):S.replace(/\\\\\\\\/g,\\\"\\\");return function(Ct){for(var Pt=\\\"\\\",It=0;It\u003Cmt;It++)Pt+=w(R[It])?R[It].call(Ct,_):R[It];return Pt}}(y),Dt[y](h)):h.localeData().invalidDate()}function rt(h,y){var _=5;function S(R){return y.longDateFormat(R)||R}for(ct.lastIndex=0;0\u003C=_&&ct.test(h);)h=h.replace(ct,S),ct.lastIndex=0,--_;return h}var nt={};function ut(h,y){var _=h.toLowerCase();nt[_]=nt[_+\\\"s\\\"]=nt[y]=h}function _t(h){return typeof h==\\\"string\\\"?nt[h]||nt[h.toLowerCase()]:void 0}function K(h){var y,_,S={};for(_ in h)a(h,_)&&(y=_t(_))&&(S[y]=h[_]);return S}var Ot={};function P(h,y){Ot[h]=y}function z(h){return h%4==0&&h%100!=0||h%400==0}function X(h){return h\u003C0?Math.ceil(h)||0:Math.floor(h)}function F(y){var y=+y,_=0;return _=y!=0&&isFinite(y)?X(y):_}function O(h,y){return function(_){return _!=null?(J(this,h,_),n.updateOffset(this,y),this):A(this,h)}}function A(h,y){return h.isValid()?h._d[\\\"get\\\"+(h._isUTC?\\\"UTC\\\":\\\"\\\")+y]():NaN}function J(h,y,_){h.isValid()&&!isNaN(_)&&(y===\\\"FullYear\\\"&&z(h.year())&&h.month()===1&&h.date()===29?(_=F(_),h._d[\\\"set\\\"+(h._isUTC?\\\"UTC\\\":\\\"\\\")+y](_,h.month(),dt(_,h.month()))):h._d[\\\"set\\\"+(h._isUTC?\\\"UTC\\\":\\\"\\\")+y](_))}var C=/\\\\d/,ce=/\\\\d\\\\d/,ht=/\\\\d{3}/,Ps=/\\\\d{4}/,Ji=/[+-]?\\\\d{6}/,U=/\\\\d\\\\d?/,Yt=/\\\\d\\\\d\\\\d\\\\d?/,et=/\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d?/,Mt=/\\\\d{1,3}/,ts=/\\\\d{1,4}/,Qi=/[+-]?\\\\d{1,6}/,Tt=/\\\\d+/,gt=/[+-]?\\\\d+/,Et=/Z|[+-]\\\\d\\\\d:?\\\\d\\\\d/gi,wt=/Z|[+-]\\\\d\\\\d(?::?\\\\d\\\\d)?/gi,pt=/[0-9]{0,256}['a-z\\\\u00A0-\\\\u05FF\\\\u0700-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFF07\\\\uFF10-\\\\uFFEF]{1,256}|[\\\\u0600-\\\\u06FF\\\\/]{1,256}(\\\\s*?[\\\\u0600-\\\\u06FF]{1,256}){1,2}/i;function st(h,y,_){jt[h]=w(y)?y:function(S,R){return S&&_?_:y}}function le(h,y){return a(jt,h)?jt[h](y._strict,y._locale):new RegExp(Xt(h.replace(\\\"\\\\\\\\\\\",\\\"\\\").replace(/\\\\\\\\(\\\\[)|\\\\\\\\(\\\\])|\\\\[([^\\\\]\\\\[]*)\\\\]|\\\\\\\\(.)/g,function(_,S,R,it,mt){return S||R||it||mt})))}function Xt(h){return h.replace(/[-\\\\/\\\\\\\\^$*+?.()|[\\\\]{}]/g,\\\"\\\\\\\\$&\\\")}var jt={},Kt={};function Gt(h,y){var _,S,R=y;for(typeof h==\\\"string\\\"&&(h=[h]),u(y)&&(R=function(it,mt){mt[y]=F(it)}),S=h.length,_=0;_\u003CS;_++)Kt[h[_]]=R}function Ee(h,y){Gt(h,function(_,S,R,it){R._w=R._w||{},y(_,R._w,R,it)})}var Ht,Vt=0,Ft=1,xt=2,ft=3,Lt=4,bt=5,Ut=6,at=7,ie=8;function dt(h,y){if(isNaN(h)||isNaN(y))return NaN;var _=(y%(_=12)+_)%_;return h+=(y-_)/12,_==1?z(h)?29:28:31-_%7%2}Ht=Array.prototype.indexOf||function(h){for(var y=0;y\u003Cthis.length;++y)if(this[y]===h)return y;return-1},j(\\\"M\\\",[\\\"MM\\\",2],\\\"Mo\\\",function(){return this.month()+1}),j(\\\"MMM\\\",0,0,function(h){return this.localeData().monthsShort(this,h)}),j(\\\"MMMM\\\",0,0,function(h){return this.localeData().months(this,h)}),ut(\\\"month\\\",\\\"M\\\"),P(\\\"month\\\",8),st(\\\"M\\\",U),st(\\\"MM\\\",U,ce),st(\\\"MMM\\\",function(h,y){return y.monthsShortRegex(h)}),st(\\\"MMMM\\\",function(h,y){return y.monthsRegex(h)}),Gt([\\\"M\\\",\\\"MM\\\"],function(h,y){y[Ft]=F(h)-1}),Gt([\\\"MMM\\\",\\\"MMMM\\\"],function(h,y,_,S){S=_._locale.monthsParse(h,S,_._strict),S!=null?y[Ft]=S:b(_).invalidMonth=h});var ee=\\\"January_February_March_April_May_June_July_August_September_October_November_December\\\".split(\\\"_\\\"),fe=\\\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\\\".split(\\\"_\\\"),be=/D[oD]?(\\\\[[^\\\\[\\\\]]*\\\\]|\\\\s)+MMMM?/,_e=pt,ke=pt;function $t(h,y){var _;if(h.isValid()){if(typeof y==\\\"string\\\"){if(/^\\\\d+$/.test(y))y=F(y);else if(!u(y=h.localeData().monthsParse(y)))return}_=Math.min(h.date(),dt(h.year(),y)),h._d[\\\"set\\\"+(h._isUTC?\\\"UTC\\\":\\\"\\\")+\\\"Month\\\"](y,_)}}function se(h){return h!=null?($t(this,h),n.updateOffset(this,!0),this):A(this,\\\"Month\\\")}function ye(){function h(mt,Ct){return Ct.length-mt.length}for(var y,_=[],S=[],R=[],it=0;it\u003C12;it++)y=g([2e3,it]),_.push(this.monthsShort(y,\\\"\\\")),S.push(this.months(y,\\\"\\\")),R.push(this.months(y,\\\"\\\")),R.push(this.monthsShort(y,\\\"\\\"));for(_.sort(h),S.sort(h),R.sort(h),it=0;it\u003C12;it++)_[it]=Xt(_[it]),S[it]=Xt(S[it]);for(it=0;it\u003C24;it++)R[it]=Xt(R[it]);this._monthsRegex=new RegExp(\\\"^(\\\"+R.join(\\\"|\\\")+\\\")\\\",\\\"i\\\"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(\\\"^(\\\"+S.join(\\\"|\\\")+\\\")\\\",\\\"i\\\"),this._monthsShortStrictRegex=new RegExp(\\\"^(\\\"+_.join(\\\"|\\\")+\\\")\\\",\\\"i\\\")}function Jt(h){return z(h)?366:365}j(\\\"Y\\\",0,0,function(){var h=this.year();return h\u003C=9999?Q(h,4):\\\"+\\\"+h}),j(0,[\\\"YY\\\",2],0,function(){return this.year()%100}),j(0,[\\\"YYYY\\\",4],0,\\\"year\\\"),j(0,[\\\"YYYYY\\\",5],0,\\\"year\\\"),j(0,[\\\"YYYYYY\\\",6,!0],0,\\\"year\\\"),ut(\\\"year\\\",\\\"y\\\"),P(\\\"year\\\",1),st(\\\"Y\\\",gt),st(\\\"YY\\\",U,ce),st(\\\"YYYY\\\",ts,Ps),st(\\\"YYYYY\\\",Qi,Ji),st(\\\"YYYYYY\\\",Qi,Ji),Gt([\\\"YYYYY\\\",\\\"YYYYYY\\\"],Vt),Gt(\\\"YYYY\\\",function(h,y){y[Vt]=h.length===2?n.parseTwoDigitYear(h):F(h)}),Gt(\\\"YY\\\",function(h,y){y[Vt]=n.parseTwoDigitYear(h)}),Gt(\\\"Y\\\",function(h,y){y[Vt]=parseInt(h,10)}),n.parseTwoDigitYear=function(h){return F(h)+(68\u003CF(h)?1900:2e3)};var Ku=O(\\\"FullYear\\\",!0);function Nn(h,y,_,S,R,it,mt){var Ct;return h\u003C100&&0\u003C=h?(Ct=new Date(h+400,y,_,S,R,it,mt),isFinite(Ct.getFullYear())&&Ct.setFullYear(h)):Ct=new Date(h,y,_,S,R,it,mt),Ct}function Xr(h){var y;return h\u003C100&&0\u003C=h?((y=Array.prototype.slice.call(arguments))[0]=h+400,y=new Date(Date.UTC.apply(null,y)),isFinite(y.getUTCFullYear())&&y.setUTCFullYear(h)):y=new Date(Date.UTC.apply(null,arguments)),y}function De(h,y,_){return _=7+y-_,_-(7+Xr(h,0,_).getUTCDay()-y)%7-1}function ae(h,mt,Ct,S,R){var it,mt=1+7*(mt-1)+(7+Ct-S)%7+De(h,S,R),Ct=mt\u003C=0?Jt(it=h-1)+mt:mt>Jt(h)?(it=h+1,mt-Jt(h)):(it=h,mt);return{year:it,dayOfYear:Ct}}function Be(h,y,_){var S,R,it=De(h.year(),y,_),it=Math.floor((h.dayOfYear()-it-1)/7)+1;return it\u003C1?S=it+Re(R=h.year()-1,y,_):it>Re(h.year(),y,_)?(S=it-Re(h.year(),y,_),R=h.year()+1):(R=h.year(),S=it),{week:S,year:R}}function Re(h,R,_){var S=De(h,R,_),R=De(h+1,R,_);return(Jt(h)-S+R)/7}j(\\\"w\\\",[\\\"ww\\\",2],\\\"wo\\\",\\\"week\\\"),j(\\\"W\\\",[\\\"WW\\\",2],\\\"Wo\\\",\\\"isoWeek\\\"),ut(\\\"week\\\",\\\"w\\\"),ut(\\\"isoWeek\\\",\\\"W\\\"),P(\\\"week\\\",5),P(\\\"isoWeek\\\",5),st(\\\"w\\\",U),st(\\\"ww\\\",U,ce),st(\\\"W\\\",U),st(\\\"WW\\\",U,ce),Ee([\\\"w\\\",\\\"ww\\\",\\\"W\\\",\\\"WW\\\"],function(h,y,_,S){y[S.substr(0,1)]=F(h)});function Pe(h,y){return h.slice(y,7).concat(h.slice(0,y))}j(\\\"d\\\",0,\\\"do\\\",\\\"day\\\"),j(\\\"dd\\\",0,0,function(h){return this.localeData().weekdaysMin(this,h)}),j(\\\"ddd\\\",0,0,function(h){return this.localeData().weekdaysShort(this,h)}),j(\\\"dddd\\\",0,0,function(h){return this.localeData().weekdays(this,h)}),j(\\\"e\\\",0,0,\\\"weekday\\\"),j(\\\"E\\\",0,0,\\\"isoWeekday\\\"),ut(\\\"day\\\",\\\"d\\\"),ut(\\\"weekday\\\",\\\"e\\\"),ut(\\\"isoWeekday\\\",\\\"E\\\"),P(\\\"day\\\",11),P(\\\"weekday\\\",11),P(\\\"isoWeekday\\\",11),st(\\\"d\\\",U),st(\\\"e\\\",U),st(\\\"E\\\",U),st(\\\"dd\\\",function(h,y){return y.weekdaysMinRegex(h)}),st(\\\"ddd\\\",function(h,y){return y.weekdaysShortRegex(h)}),st(\\\"dddd\\\",function(h,y){return y.weekdaysRegex(h)}),Ee([\\\"dd\\\",\\\"ddd\\\",\\\"dddd\\\"],function(h,y,_,S){S=_._locale.weekdaysParse(h,S,_._strict),S!=null?y.d=S:b(_).invalidWeekday=h}),Ee([\\\"d\\\",\\\"e\\\",\\\"E\\\"],function(h,y,_,S){y[S]=F(h)});var Ye=\\\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\\\".split(\\\"_\\\"),Ie=\\\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\\\".split(\\\"_\\\"),$e=\\\"Su_Mo_Tu_We_Th_Fr_Sa\\\".split(\\\"_\\\"),ar=pt,zt=pt,Z=pt;function At(){function h(It,ue){return ue.length-It.length}for(var y,_,S,R=[],it=[],mt=[],Ct=[],Pt=0;Pt\u003C7;Pt++)S=g([2e3,1]).day(Pt),y=Xt(this.weekdaysMin(S,\\\"\\\")),_=Xt(this.weekdaysShort(S,\\\"\\\")),S=Xt(this.weekdays(S,\\\"\\\")),R.push(y),it.push(_),mt.push(S),Ct.push(y),Ct.push(_),Ct.push(S);R.sort(h),it.sort(h),mt.sort(h),Ct.sort(h),this._weekdaysRegex=new RegExp(\\\"^(\\\"+Ct.join(\\\"|\\\")+\\\")\\\",\\\"i\\\"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(\\\"^(\\\"+mt.join(\\\"|\\\")+\\\")\\\",\\\"i\\\"),this._weekdaysShortStrictRegex=new RegExp(\\\"^(\\\"+it.join(\\\"|\\\")+\\\")\\\",\\\"i\\\"),this._weekdaysMinStrictRegex=new RegExp(\\\"^(\\\"+R.join(\\\"|\\\")+\\\")\\\",\\\"i\\\")}function Nt(){return this.hours()%12||12}function pe(h,y){j(h,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),y)})}function Me(h,y){return y._meridiemParse}j(\\\"H\\\",[\\\"HH\\\",2],0,\\\"hour\\\"),j(\\\"h\\\",[\\\"hh\\\",2],0,Nt),j(\\\"k\\\",[\\\"kk\\\",2],0,function(){return this.hours()||24}),j(\\\"hmm\\\",0,0,function(){return\\\"\\\"+Nt.apply(this)+Q(this.minutes(),2)}),j(\\\"hmmss\\\",0,0,function(){return\\\"\\\"+Nt.apply(this)+Q(this.minutes(),2)+Q(this.seconds(),2)}),j(\\\"Hmm\\\",0,0,function(){return\\\"\\\"+this.hours()+Q(this.minutes(),2)}),j(\\\"Hmmss\\\",0,0,function(){return\\\"\\\"+this.hours()+Q(this.minutes(),2)+Q(this.seconds(),2)}),pe(\\\"a\\\",!0),pe(\\\"A\\\",!1),ut(\\\"hour\\\",\\\"h\\\"),P(\\\"hour\\\",13),st(\\\"a\\\",Me),st(\\\"A\\\",Me),st(\\\"H\\\",U),st(\\\"h\\\",U),st(\\\"k\\\",U),st(\\\"HH\\\",U,ce),st(\\\"hh\\\",U,ce),st(\\\"kk\\\",U,ce),st(\\\"hmm\\\",Yt),st(\\\"hmmss\\\",et),st(\\\"Hmm\\\",Yt),st(\\\"Hmmss\\\",et),Gt([\\\"H\\\",\\\"HH\\\"],ft),Gt([\\\"k\\\",\\\"kk\\\"],function(h,y,_){h=F(h),y[ft]=h===24?0:h}),Gt([\\\"a\\\",\\\"A\\\"],function(h,y,_){_._isPm=_._locale.isPM(h),_._meridiem=h}),Gt([\\\"h\\\",\\\"hh\\\"],function(h,y,_){y[ft]=F(h),b(_).bigHour=!0}),Gt(\\\"hmm\\\",function(h,y,_){var S=h.length-2;y[ft]=F(h.substr(0,S)),y[Lt]=F(h.substr(S)),b(_).bigHour=!0}),Gt(\\\"hmmss\\\",function(h,y,_){var S=h.length-4,R=h.length-2;y[ft]=F(h.substr(0,S)),y[Lt]=F(h.substr(S,2)),y[bt]=F(h.substr(R)),b(_).bigHour=!0}),Gt(\\\"Hmm\\\",function(h,y,_){var S=h.length-2;y[ft]=F(h.substr(0,S)),y[Lt]=F(h.substr(S))}),Gt(\\\"Hmmss\\\",function(h,y,_){var S=h.length-4,R=h.length-2;y[ft]=F(h.substr(0,S)),y[Lt]=F(h.substr(S,2)),y[bt]=F(h.substr(R))}),pt=O(\\\"Hours\\\",!0);var Le,We={calendar:{sameDay:\\\"[Today at] LT\\\",nextDay:\\\"[Tomorrow at] LT\\\",nextWeek:\\\"dddd [at] LT\\\",lastDay:\\\"[Yesterday at] LT\\\",lastWeek:\\\"[Last] dddd [at] LT\\\",sameElse:\\\"L\\\"},longDateFormat:{LTS:\\\"h:mm:ss A\\\",LT:\\\"h:mm A\\\",L:\\\"MM/DD/YYYY\\\",LL:\\\"MMMM D, YYYY\\\",LLL:\\\"MMMM D, YYYY h:mm A\\\",LLLL:\\\"dddd, MMMM D, YYYY h:mm A\\\"},invalidDate:\\\"Invalid date\\\",ordinal:\\\"%d\\\",dayOfMonthOrdinalParse:/\\\\d{1,2}/,relativeTime:{future:\\\"in %s\\\",past:\\\"%s ago\\\",s:\\\"a few seconds\\\",ss:\\\"%d seconds\\\",m:\\\"a minute\\\",mm:\\\"%d minutes\\\",h:\\\"an hour\\\",hh:\\\"%d hours\\\",d:\\\"a day\\\",dd:\\\"%d days\\\",w:\\\"a week\\\",ww:\\\"%d weeks\\\",M:\\\"a month\\\",MM:\\\"%d months\\\",y:\\\"a year\\\",yy:\\\"%d years\\\"},months:ee,monthsShort:fe,week:{dow:0,doy:6},weekdays:Ye,weekdaysMin:$e,weekdaysShort:Ie,meridiemParse:/[ap]\\\\.?m?\\\\.?/i},ve={},Ne={};function Xi(h){return h&&h.toLowerCase().replace(\\\"_\\\",\\\"-\\\")}function Ki(h){for(var y,_,S,R,it=0;it\u003Ch.length;){for(y=(R=Xi(h[it]).split(\\\"-\\\")).length,_=(_=Xi(h[it+1]))?_.split(\\\"-\\\"):null;0\u003Cy;){if(S=zr(R.slice(0,y).join(\\\"-\\\")))return S;if(_&&_.length>=y&&function(mt,Ct){for(var Pt=Math.min(mt.length,Ct.length),It=0;It\u003CPt;It+=1)if(mt[It]!==Ct[It])return It;return Pt}(R,_)>=y-1)break;y--}it++}return Le}function zr(h){var y;if(ve[h]===void 0&&!0&&t&&t.exports&&h.match(\\\"^[^/\\\\\\\\\\\\\\\\]*$\\\")!=null)try{y=Le._abbr,Wr(\\\"./locale/\\\"+h),qt(y)}catch{ve[h]=null}return ve[h]}function qt(h,y){return h&&((y=l(y)?oe(h):te(h,y))?Le=y:typeof console\u003C\\\"u\\\"&&console.warn&&console.warn(\\\"Locale \\\"+h+\\\" not found. Did you forget to load it?\\\")),Le._abbr}function te(h,y){if(y===null)return delete ve[h],null;var _,S=We;if(y.abbr=h,ve[h]!=null)D(\\\"defineLocaleOverride\\\",\\\"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.\\\"),S=ve[h]._config;else if(y.parentLocale!=null)if(ve[y.parentLocale]!=null)S=ve[y.parentLocale]._config;else{if((_=zr(y.parentLocale))==null)return Ne[y.parentLocale]||(Ne[y.parentLocale]=[]),Ne[y.parentLocale].push({name:h,config:y}),null;S=_._config}return ve[h]=new M(v(S,y)),Ne[h]&&Ne[h].forEach(function(R){te(R.name,R.config)}),qt(h),ve[h]}function oe(h){var y;if(!(h=h&&h._locale&&h._locale._abbr?h._locale._abbr:h))return Le;if(!i(h)){if(y=zr(h))return y;h=[h]}return Ki(h)}function Rt(h){var y=h._a;return y&&b(h).overflow===-2&&(y=y[Ft]\u003C0||11\u003Cy[Ft]?Ft:y[xt]\u003C1||y[xt]>dt(y[Vt],y[Ft])?xt:y[ft]\u003C0||24\u003Cy[ft]||y[ft]===24&&(y[Lt]!==0||y[bt]!==0||y[Ut]!==0)?ft:y[Lt]\u003C0||59\u003Cy[Lt]?Lt:y[bt]\u003C0||59\u003Cy[bt]?bt:y[Ut]\u003C0||999\u003Cy[Ut]?Ut:-1,b(h)._overflowDayOfYear&&(y\u003CVt||xt\u003Cy)&&(y=xt),b(h)._overflowWeeks&&y===-1&&(y=at),b(h)._overflowWeekday&&y===-1&&(y=ie),b(h).overflow=y),h}var Ve=/^\\\\s*((?:[+-]\\\\d{6}|\\\\d{4})-(?:\\\\d\\\\d-\\\\d\\\\d|W\\\\d\\\\d-\\\\d|W\\\\d\\\\d|\\\\d\\\\d\\\\d|\\\\d\\\\d))(?:(T| )(\\\\d\\\\d(?::\\\\d\\\\d(?::\\\\d\\\\d(?:[.,]\\\\d+)?)?)?)([+-]\\\\d\\\\d(?::?\\\\d\\\\d)?|\\\\s*Z)?)?$/,q=/^\\\\s*((?:[+-]\\\\d{6}|\\\\d{4})(?:\\\\d\\\\d\\\\d\\\\d|W\\\\d\\\\d\\\\d|W\\\\d\\\\d|\\\\d\\\\d\\\\d|\\\\d\\\\d|))(?:(T| )(\\\\d\\\\d(?:\\\\d\\\\d(?:\\\\d\\\\d(?:[.,]\\\\d+)?)?)?)([+-]\\\\d\\\\d(?::?\\\\d\\\\d)?|\\\\s*Z)?)?$/,Is=/Z|[+-]\\\\d\\\\d(?::?\\\\d\\\\d)?/,tt=[[\\\"YYYYYY-MM-DD\\\",/[+-]\\\\d{6}-\\\\d\\\\d-\\\\d\\\\d/],[\\\"YYYY-MM-DD\\\",/\\\\d{4}-\\\\d\\\\d-\\\\d\\\\d/],[\\\"GGGG-[W]WW-E\\\",/\\\\d{4}-W\\\\d\\\\d-\\\\d/],[\\\"GGGG-[W]WW\\\",/\\\\d{4}-W\\\\d\\\\d/,!1],[\\\"YYYY-DDD\\\",/\\\\d{4}-\\\\d{3}/],[\\\"YYYY-MM\\\",/\\\\d{4}-\\\\d\\\\d/,!1],[\\\"YYYYYYMMDD\\\",/[+-]\\\\d{10}/],[\\\"YYYYMMDD\\\",/\\\\d{8}/],[\\\"GGGG[W]WWE\\\",/\\\\d{4}W\\\\d{3}/],[\\\"GGGG[W]WW\\\",/\\\\d{4}W\\\\d{2}/,!1],[\\\"YYYYDDD\\\",/\\\\d{7}/],[\\\"YYYYMM\\\",/\\\\d{6}/,!1],[\\\"YYYY\\\",/\\\\d{4}/,!1]],Sr=[[\\\"HH:mm:ss.SSSS\\\",/\\\\d\\\\d:\\\\d\\\\d:\\\\d\\\\d\\\\.\\\\d+/],[\\\"HH:mm:ss,SSSS\\\",/\\\\d\\\\d:\\\\d\\\\d:\\\\d\\\\d,\\\\d+/],[\\\"HH:mm:ss\\\",/\\\\d\\\\d:\\\\d\\\\d:\\\\d\\\\d/],[\\\"HH:mm\\\",/\\\\d\\\\d:\\\\d\\\\d/],[\\\"HHmmss.SSSS\\\",/\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d\\\\.\\\\d+/],[\\\"HHmmss,SSSS\\\",/\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d,\\\\d+/],[\\\"HHmmss\\\",/\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d/],[\\\"HHmm\\\",/\\\\d\\\\d\\\\d\\\\d/],[\\\"HH\\\",/\\\\d\\\\d/]],Wu=/^\\\\/?Date\\\\((-?\\\\d+)/i,Rd=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\\\s)?(\\\\d{1,2})\\\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\\\s(\\\\d{2,4})\\\\s(\\\\d\\\\d):(\\\\d\\\\d)(?::(\\\\d\\\\d))?\\\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\\\d{4}))$/,Hu={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Gu(h){var y,_,S,R,it,mt,Pt=h._i,Ct=Ve.exec(Pt)||q.exec(Pt),Pt=tt.length,It=Sr.length;if(Ct){for(b(h).iso=!0,y=0,_=Pt;y\u003C_;y++)if(tt[y][1].exec(Ct[1])){R=tt[y][0],S=tt[y][2]!==!1;break}if(R==null)h._isValid=!1;else{if(Ct[3]){for(y=0,_=It;y\u003C_;y++)if(Sr[y][1].exec(Ct[3])){it=(Ct[2]||\\\" \\\")+Sr[y][0];break}if(it==null)return void(h._isValid=!1)}if(S||it==null){if(Ct[4]){if(!Is.exec(Ct[4]))return void(h._isValid=!1);mt=\\\"Z\\\"}h._f=R+(it||\\\"\\\")+(mt||\\\"\\\"),ll(h)}else h._isValid=!1}}else h._isValid=!1}function or(h,y,_,S,R,it){return h=[function(mt){mt=parseInt(mt,10);{if(mt\u003C=49)return 2e3+mt;if(mt\u003C=999)return 1900+mt}return mt}(h),fe.indexOf(y),parseInt(_,10),parseInt(S,10),parseInt(R,10)],it&&h.push(parseInt(it,10)),h}function Zn(h){var y,_,S,R,it=Rd.exec(h._i.replace(/\\\\([^()]*\\\\)|[\\\\n\\\\t]/g,\\\" \\\").replace(/(\\\\s\\\\s+)/g,\\\" \\\").replace(/^\\\\s\\\\s*/,\\\"\\\").replace(/\\\\s\\\\s*$/,\\\"\\\"));it?(y=or(it[4],it[3],it[2],it[5],it[6],it[7]),_=it[1],S=y,R=h,_&&Ie.indexOf(_)!==new Date(S[0],S[1],S[2]).getDay()?(b(R).weekdayMismatch=!0,R._isValid=!1):(h._a=y,h._tzm=(_=it[8],S=it[9],R=it[10],_?Hu[_]:S?0:60*(((_=parseInt(R,10))-(S=_%100))/100)+S),h._d=Xr.apply(null,h._a),h._d.setUTCMinutes(h._d.getUTCMinutes()-h._tzm),b(h).rfc2822=!0)):h._isValid=!1}function Qn(h,y,_){return h!=null?h:y!=null?y:_}function Os(h){var y,_,S,R,it,mt,Ct,Pt,It,ue,re,He=[];if(!h._d){for(S=h,R=new Date(n.now()),_=S._useUTC?[R.getUTCFullYear(),R.getUTCMonth(),R.getUTCDate()]:[R.getFullYear(),R.getMonth(),R.getDate()],h._w&&h._a[xt]==null&&h._a[Ft]==null&&((R=(S=h)._w).GG!=null||R.W!=null||R.E!=null?(Pt=1,It=4,it=Qn(R.GG,S._a[Vt],Be(Se(),1,4).year),mt=Qn(R.W,1),((Ct=Qn(R.E,1))\u003C1||7\u003CCt)&&(ue=!0)):(Pt=S._locale._week.dow,It=S._locale._week.doy,re=Be(Se(),Pt,It),it=Qn(R.gg,S._a[Vt],re.year),mt=Qn(R.w,re.week),R.d!=null?((Ct=R.d)\u003C0||6\u003CCt)&&(ue=!0):R.e!=null?(Ct=R.e+Pt,(R.e\u003C0||6\u003CR.e)&&(ue=!0)):Ct=Pt),mt\u003C1||mt>Re(it,Pt,It)?b(S)._overflowWeeks=!0:ue!=null?b(S)._overflowWeekday=!0:(re=ae(it,mt,Ct,Pt,It),S._a[Vt]=re.year,S._dayOfYear=re.dayOfYear)),h._dayOfYear!=null&&(R=Qn(h._a[Vt],_[Vt]),(h._dayOfYear>Jt(R)||h._dayOfYear===0)&&(b(h)._overflowDayOfYear=!0),ue=Xr(R,0,h._dayOfYear),h._a[Ft]=ue.getUTCMonth(),h._a[xt]=ue.getUTCDate()),y=0;y\u003C3&&h._a[y]==null;++y)h._a[y]=He[y]=_[y];for(;y\u003C7;y++)h._a[y]=He[y]=h._a[y]==null?y===2?1:0:h._a[y];h._a[ft]===24&&h._a[Lt]===0&&h._a[bt]===0&&h._a[Ut]===0&&(h._nextDay=!0,h._a[ft]=0),h._d=(h._useUTC?Xr:Nn).apply(null,He),it=h._useUTC?h._d.getUTCDay():h._d.getDay(),h._tzm!=null&&h._d.setUTCMinutes(h._d.getUTCMinutes()-h._tzm),h._nextDay&&(h._a[ft]=24),h._w&&h._w.d!==void 0&&h._w.d!==it&&(b(h).weekdayMismatch=!0)}}function ll(h){if(h._f===n.ISO_8601)Gu(h);else if(h._f===n.RFC_2822)Zn(h);else{h._a=[],b(h).empty=!0;for(var y,_,S,R,it,mt=\\\"\\\"+h._i,Ct=mt.length,Pt=0,It=rt(h._f,h._locale).match(x)||[],ue=It.length,re=0;re\u003Cue;re++)_=It[re],(y=(mt.match(le(_,h))||[])[0])&&(0\u003C(S=mt.substr(0,mt.indexOf(y))).length&&b(h).unusedInput.push(S),mt=mt.slice(mt.indexOf(y)+y.length),Pt+=y.length),kt[_]?(y?b(h).empty=!1:b(h).unusedTokens.push(_),S=_,it=h,(R=y)!=null&&a(Kt,S)&&Kt[S](R,it._a,it,S)):h._strict&&!y&&b(h).unusedTokens.push(_);b(h).charsLeftOver=Ct-Pt,0\u003Cmt.length&&b(h).unusedInput.push(mt),h._a[ft]\u003C=12&&b(h).bigHour===!0&&0\u003Ch._a[ft]&&(b(h).bigHour=void 0),b(h).parsedDateParts=h._a.slice(0),b(h).meridiem=h._meridiem,h._a[ft]=function(He,lr,On){return On==null?lr:He.meridiemHour!=null?He.meridiemHour(lr,On):He.isPM!=null?((He=He.isPM(On))&&lr\u003C12&&(lr+=12),lr=He||lr!==12?lr:0):lr}(h._locale,h._a[ft],h._meridiem),(Ct=b(h).era)!==null&&(h._a[Vt]=h._locale.erasConvertYear(Ct,h._a[Vt])),Os(h),Rt(h)}}function qu(h){var y,_,S,R=h._i,it=h._f;return h._locale=h._locale||oe(h._l),R===null||it===void 0&&R===\\\"\\\"?T({nullInput:!0}):(typeof R==\\\"string\\\"&&(h._i=R=h._locale.preparse(R)),G(R)?new H(Rt(R)):(d(R)?h._d=R:i(it)?function(mt){var Ct,Pt,It,ue,re,He,lr=!1,On=mt._f.length;if(On===0)return b(mt).invalidFormat=!0,mt._d=new Date(NaN);for(ue=0;ue\u003COn;ue++)re=0,He=!1,Ct=V({},mt),mt._useUTC!=null&&(Ct._useUTC=mt._useUTC),Ct._f=mt._f[ue],ll(Ct),k(Ct)&&(He=!0),re=(re+=b(Ct).charsLeftOver)+10*b(Ct).unusedTokens.length,b(Ct).score=re,lr?re\u003CIt&&(It=re,Pt=Ct):(It==null||re\u003CIt||He)&&(It=re,Pt=Ct,He&&(lr=!0));p(mt,Pt||Ct)}(h):it?ll(h):l(it=(R=h)._i)?R._d=new Date(n.now()):d(it)?R._d=new Date(it.valueOf()):typeof it==\\\"string\\\"?(_=R,(y=Wu.exec(_._i))!==null?_._d=new Date(+y[1]):(Gu(_),_._isValid===!1&&(delete _._isValid,Zn(_),_._isValid===!1&&(delete _._isValid,_._strict?_._isValid=!1:n.createFromInputFallback(_))))):i(it)?(R._a=f(it.slice(0),function(mt){return parseInt(mt,10)}),Os(R)):s(it)?(y=R)._d||(S=(_=K(y._i)).day===void 0?_.date:_.day,y._a=f([_.year,_.month,S,_.hour,_.minute,_.second,_.millisecond],function(mt){return mt&&parseInt(mt,10)}),Os(y)):u(it)?R._d=new Date(it):n.createFromInputFallback(R),k(h)||(h._d=null),h))}function xr(h,y,_,S,R){var it={};return y!==!0&&y!==!1||(S=y,y=void 0),_!==!0&&_!==!1||(S=_,_=void 0),(s(h)&&o(h)||i(h)&&h.length===0)&&(h=void 0),it._isAMomentObject=!0,it._useUTC=it._isUTC=R,it._l=_,it._i=h,it._f=y,it._strict=S,(R=new H(Rt(qu(R=it))))._nextDay&&(R.add(1,\\\"d\\\"),R._nextDay=void 0),R}function Se(h,y,_,S){return xr(h,y,_,S,!1)}n.createFromInputFallback=W(\\\"value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.\\\",function(h){h._d=new Date(h._i+(h._useUTC?\\\" UTC\\\":\\\"\\\"))}),n.ISO_8601=function(){},n.RFC_2822=function(){},Yt=W(\\\"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/\\\",function(){var h=Se.apply(null,arguments);return this.isValid()&&h.isValid()?h\u003Cthis?this:h:T()}),et=W(\\\"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/\\\",function(){var h=Se.apply(null,arguments);return this.isValid()&&h.isValid()?this\u003Ch?this:h:T()});function Or(h,y){var _,S;if(!(y=y.length===1&&i(y[0])?y[0]:y).length)return Se();for(_=y[0],S=1;S\u003Cy.length;++S)y[S].isValid()&&!y[S][h](_)||(_=y[S]);return _}var Ai=[\\\"year\\\",\\\"quarter\\\",\\\"month\\\",\\\"week\\\",\\\"day\\\",\\\"hour\\\",\\\"minute\\\",\\\"second\\\",\\\"millisecond\\\"];function Bn(y){var y=K(y),_=y.year||0,S=y.quarter||0,R=y.month||0,it=y.week||y.isoWeek||0,mt=y.day||0,Ct=y.hour||0,Pt=y.minute||0,It=y.second||0,ue=y.millisecond||0;this._isValid=function(re){var He,lr,On=!1,Wd=Ai.length;for(He in re)if(a(re,He)&&(Ht.call(Ai,He)===-1||re[He]!=null&&isNaN(re[He])))return!1;for(lr=0;lr\u003CWd;++lr)if(re[Ai[lr]]){if(On)return!1;parseFloat(re[Ai[lr]])!==F(re[Ai[lr]])&&(On=!0)}return!0}(y),this._milliseconds=+ue+1e3*It+6e4*Pt+1e3*Ct*60*60,this._days=+mt+7*it,this._months=+R+3*S+12*_,this._data={},this._locale=oe(),this._bubble()}function Li(h){return h instanceof Bn}function Kr(h){return h\u003C0?-1*Math.round(-1*h):Math.round(h)}function cl(h,y){j(h,0,0,function(){var _=this.utcOffset(),S=\\\"+\\\";return _\u003C0&&(_=-_,S=\\\"-\\\"),S+Q(~~(_/60),2)+y+Q(~~_%60,2)})}cl(\\\"Z\\\",\\\":\\\"),cl(\\\"ZZ\\\",\\\"\\\"),st(\\\"Z\\\",wt),st(\\\"ZZ\\\",wt),Gt([\\\"Z\\\",\\\"ZZ\\\"],function(h,y,_){_._useUTC=!0,_._tzm=Rs(wt,h)});var Pa=/([\\\\+\\\\-]|\\\\d\\\\d)/gi;function Rs(h,_){var _=(_||\\\"\\\").match(h);return _===null?null:(_=60*(h=((_[_.length-1]||[])+\\\"\\\").match(Pa)||[\\\"-\\\",0,0])[1]+F(h[2]))===0?0:h[0]===\\\"+\\\"?_:-_}function Zr(h,y){var _;return y._isUTC?(y=y.clone(),_=(G(h)||d(h)?h:Se(h)).valueOf()-y.valueOf(),y._d.setTime(y._d.valueOf()+_),n.updateOffset(y,!1),y):Se(h).local()}function Fd(h){return-Math.round(h._d.getTimezoneOffset())}function cb(){return!!this.isValid()&&this._isUTC&&this._offset===0}n.updateOffset=function(){};var UY=/^(-|\\\\+)?(?:(\\\\d*)[. ])?(\\\\d+):(\\\\d+)(?::(\\\\d+)(\\\\.\\\\d*)?)?$/,zY=/^(-|\\\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function In(h,y){var _,S=h,R=null;return Li(h)?S={ms:h._milliseconds,d:h._days,M:h._months}:u(h)||!isNaN(+h)?(S={},y?S[y]=+h:S.milliseconds=+h):(R=UY.exec(h))?(_=R[1]===\\\"-\\\"?-1:1,S={y:0,d:F(R[xt])*_,h:F(R[ft])*_,m:F(R[Lt])*_,s:F(R[bt])*_,ms:F(Kr(1e3*R[Ut]))*_}):(R=zY.exec(h))?(_=R[1]===\\\"-\\\"?-1:1,S={y:Fs(R[2],_),M:Fs(R[3],_),w:Fs(R[4],_),d:Fs(R[5],_),h:Fs(R[6],_),m:Fs(R[7],_),s:Fs(R[8],_)}):S==null?S={}:typeof S==\\\"object\\\"&&(\\\"from\\\"in S||\\\"to\\\"in S)&&(y=function(it,mt){var Ct;return!it.isValid()||!mt.isValid()?{milliseconds:0,months:0}:(mt=Zr(mt,it),it.isBefore(mt)?Ct=ub(it,mt):((Ct=ub(mt,it)).milliseconds=-Ct.milliseconds,Ct.months=-Ct.months),Ct)}(Se(S.from),Se(S.to)),(S={}).ms=y.milliseconds,S.M=y.months),R=new Bn(S),Li(h)&&a(h,\\\"_locale\\\")&&(R._locale=h._locale),Li(h)&&a(h,\\\"_isValid\\\")&&(R._isValid=h._isValid),R}function Fs(h,y){return h=h&&parseFloat(h.replace(\\\",\\\",\\\".\\\")),(isNaN(h)?0:h)*y}function ub(h,y){var _={};return _.months=y.month()-h.month()+12*(y.year()-h.year()),h.clone().add(_.months,\\\"M\\\").isAfter(y)&&--_.months,_.milliseconds=+y-+h.clone().add(_.months,\\\"M\\\"),_}function hb(h,y){return function(_,S){var R;return S===null||isNaN(+S)||(D(y,\\\"moment().\\\"+y+\\\"(period, number) is deprecated. Please use moment().\\\"+y+\\\"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.\\\"),R=_,_=S,S=R),db(this,In(_,S),h),this}}function db(h,mt,_,S){var R=mt._milliseconds,it=Kr(mt._days),mt=Kr(mt._months);h.isValid()&&(S=S==null||S,mt&&$t(h,A(h,\\\"Month\\\")+mt*_),it&&J(h,\\\"Date\\\",A(h,\\\"Date\\\")+it*_),R&&h._d.setTime(h._d.valueOf()+R*_),S&&n.updateOffset(h,it||mt))}In.fn=Bn.prototype,In.invalid=function(){return In(NaN)},ee=hb(1,\\\"add\\\"),Ye=hb(-1,\\\"subtract\\\");function fb(h){return typeof h==\\\"string\\\"||h instanceof String}function WY(h){return G(h)||d(h)||fb(h)||u(h)||function(y){var _=i(y),S=!1;return _&&(S=y.filter(function(R){return!u(R)&&fb(y)}).length===0),_&&S}(h)||function(y){var _,S,R=s(y)&&!o(y),it=!1,mt=[\\\"years\\\",\\\"year\\\",\\\"y\\\",\\\"months\\\",\\\"month\\\",\\\"M\\\",\\\"days\\\",\\\"day\\\",\\\"d\\\",\\\"dates\\\",\\\"date\\\",\\\"D\\\",\\\"hours\\\",\\\"hour\\\",\\\"h\\\",\\\"minutes\\\",\\\"minute\\\",\\\"m\\\",\\\"seconds\\\",\\\"second\\\",\\\"s\\\",\\\"milliseconds\\\",\\\"millisecond\\\",\\\"ms\\\"],Ct=mt.length;for(_=0;_\u003CCt;_+=1)S=mt[_],it=it||a(y,S);return R&&it}(h)||h==null}function ju(h,R){if(h.date()\u003CR.date())return-ju(R,h);var _=12*(R.year()-h.year())+(R.month()-h.month()),S=h.clone().add(_,\\\"months\\\"),R=R-S\u003C0?(R-S)/(S-h.clone().add(_-1,\\\"months\\\")):(R-S)/(h.clone().add(1+_,\\\"months\\\")-S);return-(_+R)||0}function pb(h){return h===void 0?this._locale._abbr:((h=oe(h))!=null&&(this._locale=h),this)}n.defaultFormat=\\\"YYYY-MM-DDTHH:mm:ssZ\\\",n.defaultFormatUtc=\\\"YYYY-MM-DDTHH:mm:ss[Z]\\\",$e=W(\\\"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.\\\",function(h){return h===void 0?this.localeData():this.locale(h)});function gb(){return this._locale}var yb=126227808e5;function Ya(h,y){return(h%y+y)%y}function mb(h,y,_){return h\u003C100&&0\u003C=h?new Date(h+400,y,_)-yb:new Date(h,y,_).valueOf()}function bb(h,y,_){return h\u003C100&&0\u003C=h?Date.UTC(h+400,y,_)-yb:Date.UTC(h,y,_)}function Pd(h,y){return y.erasAbbrRegex(h)}function Yd(){for(var h=[],y=[],_=[],S=[],R=this.eras(),it=0,mt=R.length;it\u003Cmt;++it)y.push(Xt(R[it].name)),h.push(Xt(R[it].abbr)),_.push(Xt(R[it].narrow)),S.push(Xt(R[it].name)),S.push(Xt(R[it].abbr)),S.push(Xt(R[it].narrow));this._erasRegex=new RegExp(\\\"^(\\\"+S.join(\\\"|\\\")+\\\")\\\",\\\"i\\\"),this._erasNameRegex=new RegExp(\\\"^(\\\"+y.join(\\\"|\\\")+\\\")\\\",\\\"i\\\"),this._erasAbbrRegex=new RegExp(\\\"^(\\\"+h.join(\\\"|\\\")+\\\")\\\",\\\"i\\\"),this._erasNarrowRegex=new RegExp(\\\"^(\\\"+_.join(\\\"|\\\")+\\\")\\\",\\\"i\\\")}function $u(h,y){j(0,[h,h.length],0,y)}function _b(h,y,_,S,R){var it;return h==null?Be(this,S,R).year:(it=Re(h,S,R),function(mt,Ct,Pt,It,ue){return mt=ae(mt,Ct,Pt,It,ue),Ct=Xr(mt.year,0,mt.dayOfYear),this.year(Ct.getUTCFullYear()),this.month(Ct.getUTCMonth()),this.date(Ct.getUTCDate()),this}.call(this,h,y=it\u003Cy?it:y,_,S,R))}j(\\\"N\\\",0,0,\\\"eraAbbr\\\"),j(\\\"NN\\\",0,0,\\\"eraAbbr\\\"),j(\\\"NNN\\\",0,0,\\\"eraAbbr\\\"),j(\\\"NNNN\\\",0,0,\\\"eraName\\\"),j(\\\"NNNNN\\\",0,0,\\\"eraNarrow\\\"),j(\\\"y\\\",[\\\"y\\\",1],\\\"yo\\\",\\\"eraYear\\\"),j(\\\"y\\\",[\\\"yy\\\",2],0,\\\"eraYear\\\"),j(\\\"y\\\",[\\\"yyy\\\",3],0,\\\"eraYear\\\"),j(\\\"y\\\",[\\\"yyyy\\\",4],0,\\\"eraYear\\\"),st(\\\"N\\\",Pd),st(\\\"NN\\\",Pd),st(\\\"NNN\\\",Pd),st(\\\"NNNN\\\",function(h,y){return y.erasNameRegex(h)}),st(\\\"NNNNN\\\",function(h,y){return y.erasNarrowRegex(h)}),Gt([\\\"N\\\",\\\"NN\\\",\\\"NNN\\\",\\\"NNNN\\\",\\\"NNNNN\\\"],function(h,y,_,S){S=_._locale.erasParse(h,S,_._strict),S?b(_).era=S:b(_).invalidEra=h}),st(\\\"y\\\",Tt),st(\\\"yy\\\",Tt),st(\\\"yyy\\\",Tt),st(\\\"yyyy\\\",Tt),st(\\\"yo\\\",function(h,y){return y._eraYearOrdinalRegex||Tt}),Gt([\\\"y\\\",\\\"yy\\\",\\\"yyy\\\",\\\"yyyy\\\"],Vt),Gt([\\\"yo\\\"],function(h,y,_,S){var R;_._locale._eraYearOrdinalRegex&&(R=h.match(_._locale._eraYearOrdinalRegex)),_._locale.eraYearOrdinalParse?y[Vt]=_._locale.eraYearOrdinalParse(h,R):y[Vt]=parseInt(h,10)}),j(0,[\\\"gg\\\",2],0,function(){return this.weekYear()%100}),j(0,[\\\"GG\\\",2],0,function(){return this.isoWeekYear()%100}),$u(\\\"gggg\\\",\\\"weekYear\\\"),$u(\\\"ggggg\\\",\\\"weekYear\\\"),$u(\\\"GGGG\\\",\\\"isoWeekYear\\\"),$u(\\\"GGGGG\\\",\\\"isoWeekYear\\\"),ut(\\\"weekYear\\\",\\\"gg\\\"),ut(\\\"isoWeekYear\\\",\\\"GG\\\"),P(\\\"weekYear\\\",1),P(\\\"isoWeekYear\\\",1),st(\\\"G\\\",gt),st(\\\"g\\\",gt),st(\\\"GG\\\",U,ce),st(\\\"gg\\\",U,ce),st(\\\"GGGG\\\",ts,Ps),st(\\\"gggg\\\",ts,Ps),st(\\\"GGGGG\\\",Qi,Ji),st(\\\"ggggg\\\",Qi,Ji),Ee([\\\"gggg\\\",\\\"ggggg\\\",\\\"GGGG\\\",\\\"GGGGG\\\"],function(h,y,_,S){y[S.substr(0,2)]=F(h)}),Ee([\\\"gg\\\",\\\"GG\\\"],function(h,y,_,S){y[S]=n.parseTwoDigitYear(h)}),j(\\\"Q\\\",0,\\\"Qo\\\",\\\"quarter\\\"),ut(\\\"quarter\\\",\\\"Q\\\"),P(\\\"quarter\\\",7),st(\\\"Q\\\",C),Gt(\\\"Q\\\",function(h,y){y[Ft]=3*(F(h)-1)}),j(\\\"D\\\",[\\\"DD\\\",2],\\\"Do\\\",\\\"date\\\"),ut(\\\"date\\\",\\\"D\\\"),P(\\\"date\\\",9),st(\\\"D\\\",U),st(\\\"DD\\\",U,ce),st(\\\"Do\\\",function(h,y){return h?y._dayOfMonthOrdinalParse||y._ordinalParse:y._dayOfMonthOrdinalParseLenient}),Gt([\\\"D\\\",\\\"DD\\\"],xt),Gt(\\\"Do\\\",function(h,y){y[xt]=F(h.match(U)[0])}),ts=O(\\\"Date\\\",!0),j(\\\"DDD\\\",[\\\"DDDD\\\",3],\\\"DDDo\\\",\\\"dayOfYear\\\"),ut(\\\"dayOfYear\\\",\\\"DDD\\\"),P(\\\"dayOfYear\\\",4),st(\\\"DDD\\\",Mt),st(\\\"DDDD\\\",ht),Gt([\\\"DDD\\\",\\\"DDDD\\\"],function(h,y,_){_._dayOfYear=F(h)}),j(\\\"m\\\",[\\\"mm\\\",2],0,\\\"minute\\\"),ut(\\\"minute\\\",\\\"m\\\"),P(\\\"minute\\\",14),st(\\\"m\\\",U),st(\\\"mm\\\",U,ce),Gt([\\\"m\\\",\\\"mm\\\"],Lt);var Zi,Ps=O(\\\"Minutes\\\",!1),Qi=(j(\\\"s\\\",[\\\"ss\\\",2],0,\\\"second\\\"),ut(\\\"second\\\",\\\"s\\\"),P(\\\"second\\\",15),st(\\\"s\\\",U),st(\\\"ss\\\",U,ce),Gt([\\\"s\\\",\\\"ss\\\"],bt),O(\\\"Seconds\\\",!1));for(j(\\\"S\\\",0,0,function(){return~~(this.millisecond()/100)}),j(0,[\\\"SS\\\",2],0,function(){return~~(this.millisecond()/10)}),j(0,[\\\"SSS\\\",3],0,\\\"millisecond\\\"),j(0,[\\\"SSSS\\\",4],0,function(){return 10*this.millisecond()}),j(0,[\\\"SSSSS\\\",5],0,function(){return 100*this.millisecond()}),j(0,[\\\"SSSSSS\\\",6],0,function(){return 1e3*this.millisecond()}),j(0,[\\\"SSSSSSS\\\",7],0,function(){return 1e4*this.millisecond()}),j(0,[\\\"SSSSSSSS\\\",8],0,function(){return 1e5*this.millisecond()}),j(0,[\\\"SSSSSSSSS\\\",9],0,function(){return 1e6*this.millisecond()}),ut(\\\"millisecond\\\",\\\"ms\\\"),P(\\\"millisecond\\\",16),st(\\\"S\\\",Mt,C),st(\\\"SS\\\",Mt,ce),st(\\\"SSS\\\",Mt,ht),Zi=\\\"SSSS\\\";Zi.length\u003C=9;Zi+=\\\"S\\\")st(Zi,Tt);function HY(h,y){y[Ut]=F(1e3*(\\\"0.\\\"+h))}for(Zi=\\\"S\\\";Zi.length\u003C=9;Zi+=\\\"S\\\")Gt(Zi,HY);Ji=O(\\\"Milliseconds\\\",!1),j(\\\"z\\\",0,0,\\\"zoneAbbr\\\"),j(\\\"zz\\\",0,0,\\\"zoneName\\\"),C=H.prototype;function xb(h){return h}C.add=ee,C.calendar=function(_,R){arguments.length===1&&(arguments[0]?WY(arguments[0])?(_=arguments[0],R=void 0):function(it){for(var mt=s(it)&&!o(it),Ct=!1,Pt=[\\\"sameDay\\\",\\\"nextDay\\\",\\\"lastDay\\\",\\\"nextWeek\\\",\\\"lastWeek\\\",\\\"sameElse\\\"],It=0;It\u003CPt.length;It+=1)Ct=Ct||a(it,Pt[It]);return mt&&Ct}(arguments[0])&&(R=arguments[0],_=void 0):R=_=void 0);var _=_||Se(),S=Zr(_,this).startOf(\\\"day\\\"),S=n.calendarFormat(this,S)||\\\"sameElse\\\",R=R&&(w(R[S])?R[S].call(this,_):R[S]);return this.format(R||this.localeData().calendar(S,this,Se(_)))},C.clone=function(){return new H(this)},C.diff=function(h,y,_){var S,R,it;if(!this.isValid())return NaN;if(!(S=Zr(h,this)).isValid())return NaN;switch(R=6e4*(S.utcOffset()-this.utcOffset()),y=_t(y)){case\\\"year\\\":it=ju(this,S)/12;break;case\\\"month\\\":it=ju(this,S);break;case\\\"quarter\\\":it=ju(this,S)/3;break;case\\\"second\\\":it=(this-S)/1e3;break;case\\\"minute\\\":it=(this-S)/6e4;break;case\\\"hour\\\":it=(this-S)/36e5;break;case\\\"day\\\":it=(this-S-R)/864e5;break;case\\\"week\\\":it=(this-S-R)/6048e5;break;default:it=this-S}return _?it:X(it)},C.endOf=function(h){var y,_;if((h=_t(h))===void 0||h===\\\"millisecond\\\"||!this.isValid())return this;switch(_=this._isUTC?bb:mb,h){case\\\"year\\\":y=_(this.year()+1,0,1)-1;break;case\\\"quarter\\\":y=_(this.year(),this.month()-this.month()%3+3,1)-1;break;case\\\"month\\\":y=_(this.year(),this.month()+1,1)-1;break;case\\\"week\\\":y=_(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case\\\"isoWeek\\\":y=_(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case\\\"day\\\":case\\\"date\\\":y=_(this.year(),this.month(),this.date()+1)-1;break;case\\\"hour\\\":y=this._d.valueOf(),y+=36e5-Ya(y+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case\\\"minute\\\":y=this._d.valueOf(),y+=6e4-Ya(y,6e4)-1;break;case\\\"second\\\":y=this._d.valueOf(),y+=1e3-Ya(y,1e3)-1;break}return this._d.setTime(y),n.updateOffset(this,!0),this},C.format=function(h){return h=h||(this.isUtc()?n.defaultFormatUtc:n.defaultFormat),h=ot(this,h),this.localeData().postformat(h)},C.from=function(h,y){return this.isValid()&&(G(h)&&h.isValid()||Se(h).isValid())?In({to:this,from:h}).locale(this.locale()).humanize(!y):this.localeData().invalidDate()},C.fromNow=function(h){return this.from(Se(),h)},C.to=function(h,y){return this.isValid()&&(G(h)&&h.isValid()||Se(h).isValid())?In({from:this,to:h}).locale(this.locale()).humanize(!y):this.localeData().invalidDate()},C.toNow=function(h){return this.to(Se(),h)},C.get=function(h){return w(this[h=_t(h)])?this[h]():this},C.invalidAt=function(){return b(this).overflow},C.isAfter=function(h,y){return h=G(h)?h:Se(h),!(!this.isValid()||!h.isValid())&&((y=_t(y)||\\\"millisecond\\\")===\\\"millisecond\\\"?this.valueOf()>h.valueOf():h.valueOf()\u003Cthis.clone().startOf(y).valueOf())},C.isBefore=function(h,y){return h=G(h)?h:Se(h),!(!this.isValid()||!h.isValid())&&((y=_t(y)||\\\"millisecond\\\")===\\\"millisecond\\\"?this.valueOf()\u003Ch.valueOf():this.clone().endOf(y).valueOf()\u003Ch.valueOf())},C.isBetween=function(h,y,_,S){return h=G(h)?h:Se(h),y=G(y)?y:Se(y),!!(this.isValid()&&h.isValid()&&y.isValid())&&((S=S||\\\"()\\\")[0]===\\\"(\\\"?this.isAfter(h,_):!this.isBefore(h,_))&&(S[1]===\\\")\\\"?this.isBefore(y,_):!this.isAfter(y,_))},C.isSame=function(_,y){var _=G(_)?_:Se(_);return!(!this.isValid()||!_.isValid())&&((y=_t(y)||\\\"millisecond\\\")===\\\"millisecond\\\"?this.valueOf()===_.valueOf():(_=_.valueOf(),this.clone().startOf(y).valueOf()\u003C=_&&_\u003C=this.clone().endOf(y).valueOf()))},C.isSameOrAfter=function(h,y){return this.isSame(h,y)||this.isAfter(h,y)},C.isSameOrBefore=function(h,y){return this.isSame(h,y)||this.isBefore(h,y)},C.isValid=function(){return k(this)},C.lang=$e,C.locale=pb,C.localeData=gb,C.max=et,C.min=Yt,C.parsingFlags=function(){return p({},b(this))},C.set=function(h,y){if(typeof h==\\\"object\\\")for(var _=function(it){var mt,Ct=[];for(mt in it)a(it,mt)&&Ct.push({unit:mt,priority:Ot[mt]});return Ct.sort(function(Pt,It){return Pt.priority-It.priority}),Ct}(h=K(h)),S=_.length,R=0;R\u003CS;R++)this[_[R].unit](h[_[R].unit]);else if(w(this[h=_t(h)]))return this[h](y);return this},C.startOf=function(h){var y,_;if((h=_t(h))===void 0||h===\\\"millisecond\\\"||!this.isValid())return this;switch(_=this._isUTC?bb:mb,h){case\\\"year\\\":y=_(this.year(),0,1);break;case\\\"quarter\\\":y=_(this.year(),this.month()-this.month()%3,1);break;case\\\"month\\\":y=_(this.year(),this.month(),1);break;case\\\"week\\\":y=_(this.year(),this.month(),this.date()-this.weekday());break;case\\\"isoWeek\\\":y=_(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case\\\"day\\\":case\\\"date\\\":y=_(this.year(),this.month(),this.date());break;case\\\"hour\\\":y=this._d.valueOf(),y-=Ya(y+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case\\\"minute\\\":y=this._d.valueOf(),y-=Ya(y,6e4);break;case\\\"second\\\":y=this._d.valueOf(),y-=Ya(y,1e3);break}return this._d.setTime(y),n.updateOffset(this,!0),this},C.subtract=Ye,C.toArray=function(){var h=this;return[h.year(),h.month(),h.date(),h.hour(),h.minute(),h.second(),h.millisecond()]},C.toObject=function(){var h=this;return{years:h.year(),months:h.month(),date:h.date(),hours:h.hours(),minutes:h.minutes(),seconds:h.seconds(),milliseconds:h.milliseconds()}},C.toDate=function(){return new Date(this.valueOf())},C.toISOString=function(h){if(!this.isValid())return null;var y=(h=h!==!0)?this.clone().utc():this;return y.year()\u003C0||9999\u003Cy.year()?ot(y,h?\\\"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]\\\":\\\"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ\\\"):w(Date.prototype.toISOString)?h?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace(\\\"Z\\\",ot(y,\\\"Z\\\")):ot(y,h?\\\"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]\\\":\\\"YYYY-MM-DD[T]HH:mm:ss.SSSZ\\\")},C.inspect=function(){if(!this.isValid())return\\\"moment.invalid(/* \\\"+this._i+\\\" */)\\\";var h,y=\\\"moment\\\",_=\\\"\\\";return this.isLocal()||(y=this.utcOffset()===0?\\\"moment.utc\\\":\\\"moment.parseZone\\\",_=\\\"Z\\\"),y=\\\"[\\\"+y+'(\\\"]',h=0\u003C=this.year()&&this.year()\u003C=9999?\\\"YYYY\\\":\\\"YYYYYY\\\",this.format(y+h+\\\"-MM-DD[T]HH:mm:ss.SSS\\\"+(_+'[\\\")]'))},typeof Symbol\u003C\\\"u\\\"&&Symbol.for!=null&&(C[Symbol.for(\\\"nodejs.util.inspect.custom\\\")]=function(){return\\\"Moment\u003C\\\"+this.format()+\\\">\\\"}),C.toJSON=function(){return this.isValid()?this.toISOString():null},C.toString=function(){return this.clone().locale(\\\"en\\\").format(\\\"ddd MMM DD YYYY HH:mm:ss [GMT]ZZ\\\")},C.unix=function(){return Math.floor(this.valueOf()/1e3)},C.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},C.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},C.eraName=function(){for(var h,y=this.localeData().eras(),_=0,S=y.length;_\u003CS;++_)if(h=this.clone().startOf(\\\"day\\\").valueOf(),y[_].since\u003C=h&&h\u003C=y[_].until||y[_].until\u003C=h&&h\u003C=y[_].since)return y[_].name;return\\\"\\\"},C.eraNarrow=function(){for(var h,y=this.localeData().eras(),_=0,S=y.length;_\u003CS;++_)if(h=this.clone().startOf(\\\"day\\\").valueOf(),y[_].since\u003C=h&&h\u003C=y[_].until||y[_].until\u003C=h&&h\u003C=y[_].since)return y[_].narrow;return\\\"\\\"},C.eraAbbr=function(){for(var h,y=this.localeData().eras(),_=0,S=y.length;_\u003CS;++_)if(h=this.clone().startOf(\\\"day\\\").valueOf(),y[_].since\u003C=h&&h\u003C=y[_].until||y[_].until\u003C=h&&h\u003C=y[_].since)return y[_].abbr;return\\\"\\\"},C.eraYear=function(){for(var h,y,_=this.localeData().eras(),S=0,R=_.length;S\u003CR;++S)if(h=_[S].since\u003C=_[S].until?1:-1,y=this.clone().startOf(\\\"day\\\").valueOf(),_[S].since\u003C=y&&y\u003C=_[S].until||_[S].until\u003C=y&&y\u003C=_[S].since)return(this.year()-n(_[S].since).year())*h+_[S].offset;return this.year()},C.year=Ku,C.isLeapYear=function(){return z(this.year())},C.weekYear=function(h){return _b.call(this,h,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},C.isoWeekYear=function(h){return _b.call(this,h,this.isoWeek(),this.isoWeekday(),1,4)},C.quarter=C.quarters=function(h){return h==null?Math.ceil((this.month()+1)/3):this.month(3*(h-1)+this.month()%3)},C.month=se,C.daysInMonth=function(){return dt(this.year(),this.month())},C.week=C.weeks=function(h){var y=this.localeData().week(this);return h==null?y:this.add(7*(h-y),\\\"d\\\")},C.isoWeek=C.isoWeeks=function(h){var y=Be(this,1,4).week;return h==null?y:this.add(7*(h-y),\\\"d\\\")},C.weeksInYear=function(){var h=this.localeData()._week;return Re(this.year(),h.dow,h.doy)},C.weeksInWeekYear=function(){var h=this.localeData()._week;return Re(this.weekYear(),h.dow,h.doy)},C.isoWeeksInYear=function(){return Re(this.year(),1,4)},C.isoWeeksInISOWeekYear=function(){return Re(this.isoWeekYear(),1,4)},C.date=ts,C.day=C.days=function(h){if(!this.isValid())return h!=null?this:NaN;var y,_,S=this._isUTC?this._d.getUTCDay():this._d.getDay();return h!=null?(y=h,_=this.localeData(),h=typeof y!=\\\"string\\\"?y:isNaN(y)?typeof(y=_.weekdaysParse(y))==\\\"number\\\"?y:null:parseInt(y,10),this.add(h-S,\\\"d\\\")):S},C.weekday=function(h){if(!this.isValid())return h!=null?this:NaN;var y=(this.day()+7-this.localeData()._week.dow)%7;return h==null?y:this.add(h-y,\\\"d\\\")},C.isoWeekday=function(h){return this.isValid()?h!=null?(y=h,_=this.localeData(),_=typeof y==\\\"string\\\"?_.weekdaysParse(y)%7||7:isNaN(y)?null:y,this.day(this.day()%7?_:_-7)):this.day()||7:h!=null?this:NaN;var y,_},C.dayOfYear=function(h){var y=Math.round((this.clone().startOf(\\\"day\\\")-this.clone().startOf(\\\"year\\\"))/864e5)+1;return h==null?y:this.add(h-y,\\\"d\\\")},C.hour=C.hours=pt,C.minute=C.minutes=Ps,C.second=C.seconds=Qi,C.millisecond=C.milliseconds=Ji,C.utcOffset=function(h,y,_){var S,R=this._offset||0;if(!this.isValid())return h!=null?this:NaN;if(h==null)return this._isUTC?R:Fd(this);if(typeof h==\\\"string\\\"){if((h=Rs(wt,h))===null)return this}else Math.abs(h)\u003C16&&!_&&(h*=60);return!this._isUTC&&y&&(S=Fd(this)),this._offset=h,this._isUTC=!0,S!=null&&this.add(S,\\\"m\\\"),R!==h&&(!y||this._changeInProgress?db(this,In(h-R,\\\"m\\\"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this},C.utc=function(h){return this.utcOffset(0,h)},C.local=function(h){return this._isUTC&&(this.utcOffset(0,h),this._isUTC=!1,h&&this.subtract(Fd(this),\\\"m\\\")),this},C.parseZone=function(){var h;return this._tzm!=null?this.utcOffset(this._tzm,!1,!0):typeof this._i==\\\"string\\\"&&((h=Rs(Et,this._i))!=null?this.utcOffset(h):this.utcOffset(0,!0)),this},C.hasAlignedHourOffset=function(h){return!!this.isValid()&&(h=h?Se(h).utcOffset():0,(this.utcOffset()-h)%60==0)},C.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},C.isLocal=function(){return!!this.isValid()&&!this._isUTC},C.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},C.isUtc=cb,C.isUTC=cb,C.zoneAbbr=function(){return this._isUTC?\\\"UTC\\\":\\\"\\\"},C.zoneName=function(){return this._isUTC?\\\"Coordinated Universal Time\\\":\\\"\\\"},C.dates=W(\\\"dates accessor is deprecated. Use date instead.\\\",ts),C.months=W(\\\"months accessor is deprecated. Use month instead\\\",se),C.years=W(\\\"years accessor is deprecated. Use year instead\\\",Ku),C.zone=W(\\\"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/\\\",function(h,y){return h!=null?(this.utcOffset(h=typeof h!=\\\"string\\\"?-h:h,y),this):-this.utcOffset()}),C.isDSTShifted=W(\\\"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information\\\",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var h,y={};return V(y,this),(y=qu(y))._a?(h=(y._isUTC?g:Se)(y._a),this._isDSTShifted=this.isValid()&&0\u003Cfunction(_,S,R){for(var it=Math.min(_.length,S.length),mt=Math.abs(_.length-S.length),Ct=0,Pt=0;Pt\u003Cit;Pt++)(R&&_[Pt]!==S[Pt]||!R&&F(_[Pt])!==F(S[Pt]))&&Ct++;return Ct+mt}(y._a,h.toArray())):this._isDSTShifted=!1,this._isDSTShifted}),ce=M.prototype;function Xu(h,y,_,it){var R=oe(),it=g().set(it,y);return R[_](it,h)}function vb(h,y,_){if(u(h)&&(y=h,h=void 0),h=h||\\\"\\\",y!=null)return Xu(h,y,_,\\\"month\\\");for(var S=[],R=0;R\u003C12;R++)S[R]=Xu(h,R,_,\\\"month\\\");return S}function Vd(h,y,_,S){y=(typeof h==\\\"boolean\\\"?u(y)&&(_=y,y=void 0):(y=h,h=!1,u(_=y)&&(_=y,y=void 0)),y||\\\"\\\");var R,it=oe(),mt=h?it._week.dow:0,Ct=[];if(_!=null)return Xu(y,(_+mt)%7,S,\\\"day\\\");for(R=0;R\u003C7;R++)Ct[R]=Xu(y,(R+mt)%7,S,\\\"day\\\");return Ct}ce.calendar=function(h,y,_){return w(h=this._calendar[h]||this._calendar.sameElse)?h.call(y,_):h},ce.longDateFormat=function(h){var y=this._longDateFormat[h],_=this._longDateFormat[h.toUpperCase()];return y||!_?y:(this._longDateFormat[h]=_.match(x).map(function(S){return S===\\\"MMMM\\\"||S===\\\"MM\\\"||S===\\\"DD\\\"||S===\\\"dddd\\\"?S.slice(1):S}).join(\\\"\\\"),this._longDateFormat[h])},ce.invalidDate=function(){return this._invalidDate},ce.ordinal=function(h){return this._ordinal.replace(\\\"%d\\\",h)},ce.preparse=xb,ce.postformat=xb,ce.relativeTime=function(h,y,_,S){var R=this._relativeTime[_];return w(R)?R(h,y,_,S):R.replace(/%d/i,h)},ce.pastFuture=function(h,y){return w(h=this._relativeTime[0\u003Ch?\\\"future\\\":\\\"past\\\"])?h(y):h.replace(/%s/i,y)},ce.set=function(h){var y,_;for(_ in h)a(h,_)&&(w(y=h[_])?this[_]=y:this[\\\"_\\\"+_]=y);this._config=h,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+\\\"|\\\"+/\\\\d{1,2}/.source)},ce.eras=function(h,y){for(var _,S=this._eras||oe(\\\"en\\\")._eras,R=0,it=S.length;R\u003Cit;++R){switch(typeof S[R].since){case\\\"string\\\":_=n(S[R].since).startOf(\\\"day\\\"),S[R].since=_.valueOf();break}switch(typeof S[R].until){case\\\"undefined\\\":S[R].until=1/0;break;case\\\"string\\\":_=n(S[R].until).startOf(\\\"day\\\").valueOf(),S[R].until=_.valueOf();break}}return S},ce.erasParse=function(h,y,_){var S,R,it,mt,Ct,Pt=this.eras();for(h=h.toUpperCase(),S=0,R=Pt.length;S\u003CR;++S)if(it=Pt[S].name.toUpperCase(),mt=Pt[S].abbr.toUpperCase(),Ct=Pt[S].narrow.toUpperCase(),_)switch(y){case\\\"N\\\":case\\\"NN\\\":case\\\"NNN\\\":if(mt===h)return Pt[S];break;case\\\"NNNN\\\":if(it===h)return Pt[S];break;case\\\"NNNNN\\\":if(Ct===h)return Pt[S];break}else if(0\u003C=[it,mt,Ct].indexOf(h))return Pt[S]},ce.erasConvertYear=function(h,y){var _=h.since\u003C=h.until?1:-1;return y===void 0?n(h.since).year():n(h.since).year()+(y-h.offset)*_},ce.erasAbbrRegex=function(h){return a(this,\\\"_erasAbbrRegex\\\")||Yd.call(this),h?this._erasAbbrRegex:this._erasRegex},ce.erasNameRegex=function(h){return a(this,\\\"_erasNameRegex\\\")||Yd.call(this),h?this._erasNameRegex:this._erasRegex},ce.erasNarrowRegex=function(h){return a(this,\\\"_erasNarrowRegex\\\")||Yd.call(this),h?this._erasNarrowRegex:this._erasRegex},ce.months=function(h,y){return h?(i(this._months)?this._months:this._months[(this._months.isFormat||be).test(y)?\\\"format\\\":\\\"standalone\\\"])[h.month()]:i(this._months)?this._months:this._months.standalone},ce.monthsShort=function(h,y){return h?(i(this._monthsShort)?this._monthsShort:this._monthsShort[be.test(y)?\\\"format\\\":\\\"standalone\\\"])[h.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ce.monthsParse=function(h,y,_){var S,R;if(this._monthsParseExact)return function(re,mt,Ct){var Pt,It,ue,re=re.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],Pt=0;Pt\u003C12;++Pt)ue=g([2e3,Pt]),this._shortMonthsParse[Pt]=this.monthsShort(ue,\\\"\\\").toLocaleLowerCase(),this._longMonthsParse[Pt]=this.months(ue,\\\"\\\").toLocaleLowerCase();return Ct?mt===\\\"MMM\\\"?(It=Ht.call(this._shortMonthsParse,re))!==-1?It:null:(It=Ht.call(this._longMonthsParse,re))!==-1?It:null:mt===\\\"MMM\\\"?(It=Ht.call(this._shortMonthsParse,re))!==-1||(It=Ht.call(this._longMonthsParse,re))!==-1?It:null:(It=Ht.call(this._longMonthsParse,re))!==-1||(It=Ht.call(this._shortMonthsParse,re))!==-1?It:null}.call(this,h,y,_);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),S=0;S\u003C12;S++)if(R=g([2e3,S]),_&&!this._longMonthsParse[S]&&(this._longMonthsParse[S]=new RegExp(\\\"^\\\"+this.months(R,\\\"\\\").replace(\\\".\\\",\\\"\\\")+\\\"$\\\",\\\"i\\\"),this._shortMonthsParse[S]=new RegExp(\\\"^\\\"+this.monthsShort(R,\\\"\\\").replace(\\\".\\\",\\\"\\\")+\\\"$\\\",\\\"i\\\")),_||this._monthsParse[S]||(R=\\\"^\\\"+this.months(R,\\\"\\\")+\\\"|^\\\"+this.monthsShort(R,\\\"\\\"),this._monthsParse[S]=new RegExp(R.replace(\\\".\\\",\\\"\\\"),\\\"i\\\")),_&&y===\\\"MMMM\\\"&&this._longMonthsParse[S].test(h)||_&&y===\\\"MMM\\\"&&this._shortMonthsParse[S].test(h)||!_&&this._monthsParse[S].test(h))return S},ce.monthsRegex=function(h){return this._monthsParseExact?(a(this,\\\"_monthsRegex\\\")||ye.call(this),h?this._monthsStrictRegex:this._monthsRegex):(a(this,\\\"_monthsRegex\\\")||(this._monthsRegex=ke),this._monthsStrictRegex&&h?this._monthsStrictRegex:this._monthsRegex)},ce.monthsShortRegex=function(h){return this._monthsParseExact?(a(this,\\\"_monthsRegex\\\")||ye.call(this),h?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,\\\"_monthsShortRegex\\\")||(this._monthsShortRegex=_e),this._monthsShortStrictRegex&&h?this._monthsShortStrictRegex:this._monthsShortRegex)},ce.week=function(h){return Be(h,this._week.dow,this._week.doy).week},ce.firstDayOfYear=function(){return this._week.doy},ce.firstDayOfWeek=function(){return this._week.dow},ce.weekdays=function(h,y){return y=i(this._weekdays)?this._weekdays:this._weekdays[h&&h!==!0&&this._weekdays.isFormat.test(y)?\\\"format\\\":\\\"standalone\\\"],h===!0?Pe(y,this._week.dow):h?y[h.day()]:y},ce.weekdaysMin=function(h){return h===!0?Pe(this._weekdaysMin,this._week.dow):h?this._weekdaysMin[h.day()]:this._weekdaysMin},ce.weekdaysShort=function(h){return h===!0?Pe(this._weekdaysShort,this._week.dow):h?this._weekdaysShort[h.day()]:this._weekdaysShort},ce.weekdaysParse=function(h,y,_){var S,R;if(this._weekdaysParseExact)return function(re,mt,Ct){var Pt,It,ue,re=re.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Pt=0;Pt\u003C7;++Pt)ue=g([2e3,1]).day(Pt),this._minWeekdaysParse[Pt]=this.weekdaysMin(ue,\\\"\\\").toLocaleLowerCase(),this._shortWeekdaysParse[Pt]=this.weekdaysShort(ue,\\\"\\\").toLocaleLowerCase(),this._weekdaysParse[Pt]=this.weekdays(ue,\\\"\\\").toLocaleLowerCase();return Ct?mt===\\\"dddd\\\"?(It=Ht.call(this._weekdaysParse,re))!==-1?It:null:mt===\\\"ddd\\\"?(It=Ht.call(this._shortWeekdaysParse,re))!==-1?It:null:(It=Ht.call(this._minWeekdaysParse,re))!==-1?It:null:mt===\\\"dddd\\\"?(It=Ht.call(this._weekdaysParse,re))!==-1||(It=Ht.call(this._shortWeekdaysParse,re))!==-1||(It=Ht.call(this._minWeekdaysParse,re))!==-1?It:null:mt===\\\"ddd\\\"?(It=Ht.call(this._shortWeekdaysParse,re))!==-1||(It=Ht.call(this._weekdaysParse,re))!==-1||(It=Ht.call(this._minWeekdaysParse,re))!==-1?It:null:(It=Ht.call(this._minWeekdaysParse,re))!==-1||(It=Ht.call(this._weekdaysParse,re))!==-1||(It=Ht.call(this._shortWeekdaysParse,re))!==-1?It:null}.call(this,h,y,_);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),S=0;S\u003C7;S++)if(R=g([2e3,1]).day(S),_&&!this._fullWeekdaysParse[S]&&(this._fullWeekdaysParse[S]=new RegExp(\\\"^\\\"+this.weekdays(R,\\\"\\\").replace(\\\".\\\",\\\"\\\\\\\\.?\\\")+\\\"$\\\",\\\"i\\\"),this._shortWeekdaysParse[S]=new RegExp(\\\"^\\\"+this.weekdaysShort(R,\\\"\\\").replace(\\\".\\\",\\\"\\\\\\\\.?\\\")+\\\"$\\\",\\\"i\\\"),this._minWeekdaysParse[S]=new RegExp(\\\"^\\\"+this.weekdaysMin(R,\\\"\\\").replace(\\\".\\\",\\\"\\\\\\\\.?\\\")+\\\"$\\\",\\\"i\\\")),this._weekdaysParse[S]||(R=\\\"^\\\"+this.weekdays(R,\\\"\\\")+\\\"|^\\\"+this.weekdaysShort(R,\\\"\\\")+\\\"|^\\\"+this.weekdaysMin(R,\\\"\\\"),this._weekdaysParse[S]=new RegExp(R.replace(\\\".\\\",\\\"\\\"),\\\"i\\\")),_&&y===\\\"dddd\\\"&&this._fullWeekdaysParse[S].test(h)||_&&y===\\\"ddd\\\"&&this._shortWeekdaysParse[S].test(h)||_&&y===\\\"dd\\\"&&this._minWeekdaysParse[S].test(h)||!_&&this._weekdaysParse[S].test(h))return S},ce.weekdaysRegex=function(h){return this._weekdaysParseExact?(a(this,\\\"_weekdaysRegex\\\")||At.call(this),h?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,\\\"_weekdaysRegex\\\")||(this._weekdaysRegex=ar),this._weekdaysStrictRegex&&h?this._weekdaysStrictRegex:this._weekdaysRegex)},ce.weekdaysShortRegex=function(h){return this._weekdaysParseExact?(a(this,\\\"_weekdaysRegex\\\")||At.call(this),h?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,\\\"_weekdaysShortRegex\\\")||(this._weekdaysShortRegex=zt),this._weekdaysShortStrictRegex&&h?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ce.weekdaysMinRegex=function(h){return this._weekdaysParseExact?(a(this,\\\"_weekdaysRegex\\\")||At.call(this),h?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,\\\"_weekdaysMinRegex\\\")||(this._weekdaysMinRegex=Z),this._weekdaysMinStrictRegex&&h?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ce.isPM=function(h){return(h+\\\"\\\").toLowerCase().charAt(0)===\\\"p\\\"},ce.meridiem=function(h,y,_){return 11\u003Ch?_?\\\"pm\\\":\\\"PM\\\":_?\\\"am\\\":\\\"AM\\\"},qt(\\\"en\\\",{eras:[{since:\\\"0001-01-01\\\",until:1/0,offset:1,name:\\\"Anno Domini\\\",narrow:\\\"AD\\\",abbr:\\\"AD\\\"},{since:\\\"0000-12-31\\\",until:-1/0,offset:1,name:\\\"Before Christ\\\",narrow:\\\"BC\\\",abbr:\\\"BC\\\"}],dayOfMonthOrdinalParse:/\\\\d{1,2}(th|st|nd|rd)/,ordinal:function(h){var y=h%10;return h+(F(h%100/10)===1?\\\"th\\\":y==1?\\\"st\\\":y==2?\\\"nd\\\":y==3?\\\"rd\\\":\\\"th\\\")}}),n.lang=W(\\\"moment.lang is deprecated. Use moment.locale instead.\\\",qt),n.langData=W(\\\"moment.langData is deprecated. Use moment.localeData instead.\\\",oe);var Di=Math.abs;function kb(h,y,_,S){return y=In(y,_),h._milliseconds+=S*y._milliseconds,h._days+=S*y._days,h._months+=S*y._months,h._bubble()}function wb(h){return h\u003C0?Math.floor(h):Math.ceil(h)}function Tb(h){return 4800*h/146097}function Ud(h){return 146097*h/4800}function Mi(h){return function(){return this.as(h)}}Mt=Mi(\\\"ms\\\"),ht=Mi(\\\"s\\\"),ee=Mi(\\\"m\\\"),et=Mi(\\\"h\\\"),Yt=Mi(\\\"d\\\"),Ye=Mi(\\\"w\\\"),pt=Mi(\\\"M\\\"),Ps=Mi(\\\"Q\\\"),Qi=Mi(\\\"y\\\");function Ys(h){return function(){return this.isValid()?this._data[h]:NaN}}var Ji=Ys(\\\"milliseconds\\\"),ts=Ys(\\\"seconds\\\"),Ku=Ys(\\\"minutes\\\"),ce=Ys(\\\"hours\\\"),GY=Ys(\\\"days\\\"),qY=Ys(\\\"months\\\"),jY=Ys(\\\"years\\\"),Ni=Math.round,Va={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $Y(h,y,_,S){var It=In(h).abs(),ue=Ni(It.as(\\\"s\\\")),R=Ni(It.as(\\\"m\\\")),it=Ni(It.as(\\\"h\\\")),mt=Ni(It.as(\\\"d\\\")),Ct=Ni(It.as(\\\"M\\\")),Pt=Ni(It.as(\\\"w\\\")),It=Ni(It.as(\\\"y\\\")),ue=(ue\u003C=_.ss?[\\\"s\\\",ue]:ue\u003C_.s&&[\\\"ss\\\",ue])||R\u003C=1&&[\\\"m\\\"]||R\u003C_.m&&[\\\"mm\\\",R]||it\u003C=1&&[\\\"h\\\"]||it\u003C_.h&&[\\\"hh\\\",it]||mt\u003C=1&&[\\\"d\\\"]||mt\u003C_.d&&[\\\"dd\\\",mt];return(ue=(ue=_.w!=null?ue||Pt\u003C=1&&[\\\"w\\\"]||Pt\u003C_.w&&[\\\"ww\\\",Pt]:ue)||Ct\u003C=1&&[\\\"M\\\"]||Ct\u003C_.M&&[\\\"MM\\\",Ct]||It\u003C=1&&[\\\"y\\\"]||[\\\"yy\\\",It])[2]=y,ue[3]=0\u003C+h,ue[4]=S,function(re,He,lr,On,Wd){return Wd.relativeTime(He||1,!!lr,re,On)}.apply(null,ue)}var zd=Math.abs;function Ua(h){return(0\u003Ch)-(h\u003C0)||+h}function Zu(){if(!this.isValid())return this.localeData().invalidDate();var h,y,_,S,R,it,mt,Ct=zd(this._milliseconds)/1e3,Pt=zd(this._days),It=zd(this._months),ue=this.asSeconds();return ue?(h=X(Ct/60),y=X(h/60),Ct%=60,h%=60,_=X(It/12),It%=12,S=Ct?Ct.toFixed(3).replace(/\\\\.?0+$/,\\\"\\\"):\\\"\\\",R=Ua(this._months)!==Ua(ue)?\\\"-\\\":\\\"\\\",it=Ua(this._days)!==Ua(ue)?\\\"-\\\":\\\"\\\",mt=Ua(this._milliseconds)!==Ua(ue)?\\\"-\\\":\\\"\\\",(ue\u003C0?\\\"-\\\":\\\"\\\")+\\\"P\\\"+(_?R+_+\\\"Y\\\":\\\"\\\")+(It?R+It+\\\"M\\\":\\\"\\\")+(Pt?it+Pt+\\\"D\\\":\\\"\\\")+(y||h||Ct?\\\"T\\\":\\\"\\\")+(y?mt+y+\\\"H\\\":\\\"\\\")+(h?mt+h+\\\"M\\\":\\\"\\\")+(Ct?mt+S+\\\"S\\\":\\\"\\\")):\\\"P0D\\\"}var Ce=Bn.prototype;return Ce.isValid=function(){return this._isValid},Ce.abs=function(){var h=this._data;return this._milliseconds=Di(this._milliseconds),this._days=Di(this._days),this._months=Di(this._months),h.milliseconds=Di(h.milliseconds),h.seconds=Di(h.seconds),h.minutes=Di(h.minutes),h.hours=Di(h.hours),h.months=Di(h.months),h.years=Di(h.years),this},Ce.add=function(h,y){return kb(this,h,y,1)},Ce.subtract=function(h,y){return kb(this,h,y,-1)},Ce.as=function(h){if(!this.isValid())return NaN;var y,_,S=this._milliseconds;if((h=_t(h))===\\\"month\\\"||h===\\\"quarter\\\"||h===\\\"year\\\")switch(y=this._days+S/864e5,_=this._months+Tb(y),h){case\\\"month\\\":return _;case\\\"quarter\\\":return _/3;case\\\"year\\\":return _/12}else switch(y=this._days+Math.round(Ud(this._months)),h){case\\\"week\\\":return y/7+S/6048e5;case\\\"day\\\":return y+S/864e5;case\\\"hour\\\":return 24*y+S/36e5;case\\\"minute\\\":return 1440*y+S/6e4;case\\\"second\\\":return 86400*y+S/1e3;case\\\"millisecond\\\":return Math.floor(864e5*y)+S;default:throw new Error(\\\"Unknown unit \\\"+h)}},Ce.asMilliseconds=Mt,Ce.asSeconds=ht,Ce.asMinutes=ee,Ce.asHours=et,Ce.asDays=Yt,Ce.asWeeks=Ye,Ce.asMonths=pt,Ce.asQuarters=Ps,Ce.asYears=Qi,Ce.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*F(this._months/12):NaN},Ce._bubble=function(){var h=this._milliseconds,y=this._days,_=this._months,S=this._data;return 0\u003C=h&&0\u003C=y&&0\u003C=_||h\u003C=0&&y\u003C=0&&_\u003C=0||(h+=864e5*wb(Ud(_)+y),_=y=0),S.milliseconds=h%1e3,h=X(h/1e3),S.seconds=h%60,h=X(h/60),S.minutes=h%60,h=X(h/60),S.hours=h%24,y+=X(h/24),_+=h=X(Tb(y)),y-=wb(Ud(h)),h=X(_/12),_%=12,S.days=y,S.months=_,S.years=h,this},Ce.clone=function(){return In(this)},Ce.get=function(h){return h=_t(h),this.isValid()?this[h+\\\"s\\\"]():NaN},Ce.milliseconds=Ji,Ce.seconds=ts,Ce.minutes=Ku,Ce.hours=ce,Ce.days=GY,Ce.weeks=function(){return X(this.days()/7)},Ce.months=qY,Ce.years=jY,Ce.humanize=function(h,y){if(!this.isValid())return this.localeData().invalidDate();var _=!1,S=Va;return typeof h==\\\"object\\\"&&(y=h,h=!1),typeof h==\\\"boolean\\\"&&(_=h),typeof y==\\\"object\\\"&&(S=Object.assign({},Va,y),y.s!=null&&y.ss==null&&(S.ss=y.s-1)),h=this.localeData(),y=$Y(this,!_,S,h),_&&(y=h.pastFuture(+this,y)),h.postformat(y)},Ce.toISOString=Zu,Ce.toString=Zu,Ce.toJSON=Zu,Ce.locale=pb,Ce.localeData=gb,Ce.toIsoString=W(\\\"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)\\\",Zu),Ce.lang=$e,j(\\\"X\\\",0,0,\\\"unix\\\"),j(\\\"x\\\",0,0,\\\"valueOf\\\"),st(\\\"x\\\",gt),st(\\\"X\\\",/[+-]?\\\\d+(\\\\.\\\\d{1,3})?/),Gt(\\\"X\\\",function(h,y,_){_._d=new Date(1e3*parseFloat(h))}),Gt(\\\"x\\\",function(h,y,_){_._d=new Date(F(h))}),n.version=\\\"2.29.4\\\",r=Se,n.fn=C,n.min=function(){return Or(\\\"isBefore\\\",[].slice.call(arguments,0))},n.max=function(){return Or(\\\"isAfter\\\",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=g,n.unix=function(h){return Se(1e3*h)},n.months=function(h,y){return vb(h,y,\\\"months\\\")},n.isDate=d,n.locale=qt,n.invalid=T,n.duration=In,n.isMoment=G,n.weekdays=function(h,y,_){return Vd(h,y,_,\\\"weekdays\\\")},n.parseZone=function(){return Se.apply(null,arguments).parseZone()},n.localeData=oe,n.isDuration=Li,n.monthsShort=function(h,y){return vb(h,y,\\\"monthsShort\\\")},n.weekdaysMin=function(h,y,_){return Vd(h,y,_,\\\"weekdaysMin\\\")},n.defineLocale=te,n.updateLocale=function(h,y){var _,S;return y!=null?(S=We,ve[h]!=null&&ve[h].parentLocale!=null?ve[h].set(v(ve[h]._config,y)):(y=v(S=(_=zr(h))!=null?_._config:S,y),_==null&&(y.abbr=h),(S=new M(y)).parentLocale=ve[h],ve[h]=S),qt(h)):ve[h]!=null&&(ve[h].parentLocale!=null?(ve[h]=ve[h].parentLocale,h===qt()&&qt(h)):ve[h]!=null&&delete ve[h]),ve[h]},n.locales=function(){return m(ve)},n.weekdaysShort=function(h,y,_){return Vd(h,y,_,\\\"weekdaysShort\\\")},n.normalizeUnits=_t,n.relativeTimeRounding=function(h){return h===void 0?Ni:typeof h==\\\"function\\\"&&(Ni=h,!0)},n.relativeTimeThreshold=function(h,y){return Va[h]!==void 0&&(y===void 0?Va[h]:(Va[h]=y,h===\\\"s\\\"&&(Va.ss=y-1),!0))},n.calendarFormat=function(h,y){return(h=h.diff(y,\\\"days\\\",!0))\u003C-6?\\\"sameElse\\\":h\u003C-1?\\\"lastWeek\\\":h\u003C0?\\\"lastDay\\\":h\u003C1?\\\"sameDay\\\":h\u003C2?\\\"nextDay\\\":h\u003C7?\\\"nextWeek\\\":\\\"sameElse\\\"},n.prototype=C,n.HTML5_FMT={DATETIME_LOCAL:\\\"YYYY-MM-DDTHH:mm\\\",DATETIME_LOCAL_SECONDS:\\\"YYYY-MM-DDTHH:mm:ss\\\",DATETIME_LOCAL_MS:\\\"YYYY-MM-DDTHH:mm:ss.SSS\\\",DATE:\\\"YYYY-MM-DD\\\",TIME:\\\"HH:mm\\\",TIME_SECONDS:\\\"HH:mm:ss\\\",TIME_MS:\\\"HH:mm:ss.SSS\\\",WEEK:\\\"GGGG-[W]WW\\\",MONTH:\\\"YYYY-MM\\\"},n})})(Bi);const cn=Bi.exports,Jn={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},B={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},Qu=function(t=\\\"fatal\\\"){let e=Jn.fatal;typeof t==\\\"string\\\"?(t=t.toLowerCase(),t in Jn&&(e=Jn[t])):typeof t==\\\"number\\\"&&(e=t),B.trace=()=>{},B.debug=()=>{},B.info=()=>{},B.warn=()=>{},B.error=()=>{},B.fatal=()=>{},e\u003C=Jn.fatal&&(B.fatal=console.error?console.error.bind(console,Qr(\\\"FATAL\\\"),\\\"color: orange\\\"):console.log.bind(console,\\\"\\\\x1B[35m\\\",Qr(\\\"FATAL\\\"))),e\u003C=Jn.error&&(B.error=console.error?console.error.bind(console,Qr(\\\"ERROR\\\"),\\\"color: orange\\\"):console.log.bind(console,\\\"\\\\x1B[31m\\\",Qr(\\\"ERROR\\\"))),e\u003C=Jn.warn&&(B.warn=console.warn?console.warn.bind(console,Qr(\\\"WARN\\\"),\\\"color: orange\\\"):console.log.bind(console,\\\"\\\\x1B[33m\\\",Qr(\\\"WARN\\\"))),e\u003C=Jn.info&&(B.info=console.info?console.info.bind(console,Qr(\\\"INFO\\\"),\\\"color: lightblue\\\"):console.log.bind(console,\\\"\\\\x1B[34m\\\",Qr(\\\"INFO\\\"))),e\u003C=Jn.debug&&(B.debug=console.debug?console.debug.bind(console,Qr(\\\"DEBUG\\\"),\\\"color: lightgreen\\\"):console.log.bind(console,\\\"\\\\x1B[32m\\\",Qr(\\\"DEBUG\\\"))),e\u003C=Jn.trace&&(B.trace=console.debug?console.debug.bind(console,Qr(\\\"TRACE\\\"),\\\"color: lightgreen\\\"):console.log.bind(console,\\\"\\\\x1B[32m\\\",Qr(\\\"TRACE\\\")))},Qr=t=>`%c${cn().format(\\\"ss.SSS\\\")} : ${t} : `;var Ju={};Object.defineProperty(Ju,\\\"__esModule\\\",{value:!0});var ti=Ju.sanitizeUrl=void 0,Eb=/^([^\\\\w]*)(javascript|data|vbscript)/im,Cb=/&#(\\\\w+)(^\\\\w|;)?/g,Sb=/[\\\\u0000-\\\\u001F\\\\u007F-\\\\u009F\\\\u2000-\\\\u200D\\\\uFEFF]/gim,Ab=/^([^:]+):/gm,Lb=[\\\".\\\",\\\"/\\\"];function Db(t){return Lb.indexOf(t[0])>-1}function Mb(t){return t.replace(Cb,function(e,r){return String.fromCharCode(r)})}function Nb(t){var e=Mb(t||\\\"\\\").replace(Sb,\\\"\\\").trim();if(!e)return\\\"about:blank\\\";if(Db(e))return e;var r=e.match(Ab);if(!r)return e;var n=r[0];return Eb.test(n)?\\\"about:blank\\\":e}ti=Ju.sanitizeUrl=Nb;function ul(t,e){return t==null||e==null?NaN:t\u003Ce?-1:t>e?1:t>=e?0:NaN}function Bb(t,e){return t==null||e==null?NaN:e\u003Ct?-1:e>t?1:e>=t?0:NaN}function th(t){let e,r,n;t.length!==2?(e=ul,r=(o,l)=>ul(t(o),l),n=(o,l)=>t(o)-l):(e=t===ul||t===Bb?t:Ib,r=t,n=t);function i(o,l,u=0,d=o.length){if(u\u003Cd){if(e(l,l)!==0)return d;do{const f=u+d>>>1;r(o[f],l)\u003C0?u=f+1:d=f}while(u\u003Cd)}return u}function s(o,l,u=0,d=o.length){if(u\u003Cd){if(e(l,l)!==0)return d;do{const f=u+d>>>1;r(o[f],l)\u003C=0?u=f+1:d=f}while(u\u003Cd)}return u}function a(o,l,u=0,d=o.length){const f=i(o,l,u,d-1);return f>u&&n(o[f-1],l)>-n(o[f],l)?f-1:f}return{left:i,center:a,right:s}}function Ib(){return 0}function Ob(t){return t===null?NaN:+t}const Rb=th(ul).right;th(Ob).center;const Fb=Rb;class Hd extends Map{constructor(e,r=Vb){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),e!=null)for(const[n,i]of e)this.set(n,i)}get(e){return super.get(Gd(this,e))}has(e){return super.has(Gd(this,e))}set(e,r){return super.set(Pb(this,e),r)}delete(e){return super.delete(Yb(this,e))}}function Gd({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function Pb({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}function Yb({_intern:t,_key:e},r){const n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}function Vb(t){return t!==null&&typeof t==\\\"object\\\"?t.valueOf():t}var eh=Math.sqrt(50),rh=Math.sqrt(10),nh=Math.sqrt(2);function Ub(t,e,r){var n,i=-1,s,a,o;if(e=+e,t=+t,r=+r,t===e&&r>0)return[t];if((n=e\u003Ct)&&(s=t,t=e,e=s),(o=qd(t,e,r))===0||!isFinite(o))return[];if(o>0){let l=Math.round(t/o),u=Math.round(e/o);for(l*o\u003Ct&&++l,u*o>e&&--u,a=new Array(s=u-l+1);++i\u003Cs;)a[i]=(l+i)*o}else{o=-o;let l=Math.round(t*o),u=Math.round(e*o);for(l/o\u003Ct&&++l,u/o>e&&--u,a=new Array(s=u-l+1);++i\u003Cs;)a[i]=(l+i)/o}return n&&a.reverse(),a}function qd(t,e,r){var n=(e-t)/Math.max(0,r),i=Math.floor(Math.log(n)/Math.LN10),s=n/Math.pow(10,i);return i>=0?(s>=eh?10:s>=rh?5:s>=nh?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(s>=eh?10:s>=rh?5:s>=nh?2:1)}function ih(t,e,r){var n=Math.abs(e-t)/Math.max(0,r),i=Math.pow(10,Math.floor(Math.log(n)/Math.LN10)),s=n/i;return s>=eh?i*=10:s>=rh?i*=5:s>=nh&&(i*=2),e\u003Ct?-i:i}function zb(t,e){let r;if(e===void 0)for(const n of t)n!=null&&(r\u003Cn||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r\u003Ci||r===void 0&&i>=i)&&(r=i)}return r}function Wb(t,e){let r;if(e===void 0)for(const n of t)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}return r}function Hb(t){return t}var hl=1,sh=2,ah=3,dl=4,jd=1e-6;function Gb(t){return\\\"translate(\\\"+t+\\\",0)\\\"}function qb(t){return\\\"translate(0,\\\"+t+\\\")\\\"}function jb(t){return e=>+t(e)}function $b(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function Xb(){return!this.__axis}function $d(t,e){var r=[],n=null,i=null,s=6,a=6,o=3,l=typeof window\u003C\\\"u\\\"&&window.devicePixelRatio>1?0:.5,u=t===hl||t===dl?-1:1,d=t===dl||t===sh?\\\"x\\\":\\\"y\\\",f=t===hl||t===ah?Gb:qb;function p(g){var b=n==null?e.ticks?e.ticks.apply(e,r):e.domain():n,k=i==null?e.tickFormat?e.tickFormat.apply(e,r):Hb:i,T=Math.max(s,0)+o,L=e.range(),E=+L[0]+l,I=+L[L.length-1]+l,V=(e.bandwidth?$b:jb)(e.copy(),l),H=g.selection?g.selection():g,G=H.selectAll(\\\".domain\\\").data([null]),Y=H.selectAll(\\\".tick\\\").data(b,e).order(),W=Y.exit(),N=Y.enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"tick\\\"),D=Y.select(\\\"line\\\"),w=Y.select(\\\"text\\\");G=G.merge(G.enter().insert(\\\"path\\\",\\\".tick\\\").attr(\\\"class\\\",\\\"domain\\\").attr(\\\"stroke\\\",\\\"currentColor\\\")),Y=Y.merge(N),D=D.merge(N.append(\\\"line\\\").attr(\\\"stroke\\\",\\\"currentColor\\\").attr(d+\\\"2\\\",u*s)),w=w.merge(N.append(\\\"text\\\").attr(\\\"fill\\\",\\\"currentColor\\\").attr(d,u*T).attr(\\\"dy\\\",t===hl?\\\"0em\\\":t===ah?\\\"0.71em\\\":\\\"0.32em\\\")),g!==H&&(G=G.transition(g),Y=Y.transition(g),D=D.transition(g),w=w.transition(g),W=W.transition(g).attr(\\\"opacity\\\",jd).attr(\\\"transform\\\",function(v){return isFinite(v=V(v))?f(v+l):this.getAttribute(\\\"transform\\\")}),N.attr(\\\"opacity\\\",jd).attr(\\\"transform\\\",function(v){var M=this.parentNode.__axis;return f((M&&isFinite(M=M(v))?M:V(v))+l)})),W.remove(),G.attr(\\\"d\\\",t===dl||t===sh?a?\\\"M\\\"+u*a+\\\",\\\"+E+\\\"H\\\"+l+\\\"V\\\"+I+\\\"H\\\"+u*a:\\\"M\\\"+l+\\\",\\\"+E+\\\"V\\\"+I:a?\\\"M\\\"+E+\\\",\\\"+u*a+\\\"V\\\"+l+\\\"H\\\"+I+\\\"V\\\"+u*a:\\\"M\\\"+E+\\\",\\\"+l+\\\"H\\\"+I),Y.attr(\\\"opacity\\\",1).attr(\\\"transform\\\",function(v){return f(V(v)+l)}),D.attr(d+\\\"2\\\",u*s),w.attr(d,u*T).text(k),H.filter(Xb).attr(\\\"fill\\\",\\\"none\\\").attr(\\\"font-size\\\",10).attr(\\\"font-family\\\",\\\"sans-serif\\\").attr(\\\"text-anchor\\\",t===sh?\\\"start\\\":t===dl?\\\"end\\\":\\\"middle\\\"),H.each(function(){this.__axis=V})}return p.scale=function(g){return arguments.length?(e=g,p):e},p.ticks=function(){return r=Array.from(arguments),p},p.tickArguments=function(g){return arguments.length?(r=g==null?[]:Array.from(g),p):r.slice()},p.tickValues=function(g){return arguments.length?(n=g==null?null:Array.from(g),p):n&&n.slice()},p.tickFormat=function(g){return arguments.length?(i=g,p):i},p.tickSize=function(g){return arguments.length?(s=a=+g,p):s},p.tickSizeInner=function(g){return arguments.length?(s=+g,p):s},p.tickSizeOuter=function(g){return arguments.length?(a=+g,p):a},p.tickPadding=function(g){return arguments.length?(o=+g,p):o},p.offset=function(g){return arguments.length?(l=+g,p):l},p}function Kb(t){return $d(hl,t)}function Zb(t){return $d(ah,t)}var Qb={value:()=>{}};function Xd(){for(var t=0,e=arguments.length,r={},n;t\u003Ce;++t){if(!(n=arguments[t]+\\\"\\\")||n in r||/[\\\\s.]/.test(n))throw new Error(\\\"illegal type: \\\"+n);r[n]=[]}return new fl(r)}function fl(t){this._=t}function Jb(t,e){return t.trim().split(/^|\\\\s+/).map(function(r){var n=\\\"\\\",i=r.indexOf(\\\".\\\");if(i>=0&&(n=r.slice(i+1),r=r.slice(0,i)),r&&!e.hasOwnProperty(r))throw new Error(\\\"unknown type: \\\"+r);return{type:r,name:n}})}fl.prototype=Xd.prototype={constructor:fl,on:function(t,e){var r=this._,n=Jb(t+\\\"\\\",r),i,s=-1,a=n.length;if(arguments.length\u003C2){for(;++s\u003Ca;)if((i=(t=n[s]).type)&&(i=t5(r[i],t.name)))return i;return}if(e!=null&&typeof e!=\\\"function\\\")throw new Error(\\\"invalid callback: \\\"+e);for(;++s\u003Ca;)if(i=(t=n[s]).type)r[i]=Kd(r[i],t.name,e);else if(e==null)for(i in r)r[i]=Kd(r[i],t.name,null);return this},copy:function(){var t={},e=this._;for(var r in e)t[r]=e[r].slice();return new fl(t)},call:function(t,e){if((i=arguments.length-2)>0)for(var r=new Array(i),n=0,i,s;n\u003Ci;++n)r[n]=arguments[n+2];if(!this._.hasOwnProperty(t))throw new Error(\\\"unknown type: \\\"+t);for(s=this._[t],n=0,i=s.length;n\u003Ci;++n)s[n].value.apply(e,r)},apply:function(t,e,r){if(!this._.hasOwnProperty(t))throw new Error(\\\"unknown type: \\\"+t);for(var n=this._[t],i=0,s=n.length;i\u003Cs;++i)n[i].value.apply(e,r)}};function t5(t,e){for(var r=0,n=t.length,i;r\u003Cn;++r)if((i=t[r]).name===e)return i.value}function Kd(t,e,r){for(var n=0,i=t.length;n\u003Ci;++n)if(t[n].name===e){t[n]=Qb,t=t.slice(0,n).concat(t.slice(n+1));break}return r!=null&&t.push({name:e,value:r}),t}var oh=\\\"http://www.w3.org/1999/xhtml\\\";const Zd={svg:\\\"http://www.w3.org/2000/svg\\\",xhtml:oh,xlink:\\\"http://www.w3.org/1999/xlink\\\",xml:\\\"http://www.w3.org/XML/1998/namespace\\\",xmlns:\\\"http://www.w3.org/2000/xmlns/\\\"};function pl(t){var e=t+=\\\"\\\",r=e.indexOf(\\\":\\\");return r>=0&&(e=t.slice(0,r))!==\\\"xmlns\\\"&&(t=t.slice(r+1)),Zd.hasOwnProperty(e)?{space:Zd[e],local:t}:t}function e5(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===oh&&e.documentElement.namespaceURI===oh?e.createElement(t):e.createElementNS(r,t)}}function r5(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Qd(t){var e=pl(t);return(e.local?r5:e5)(e)}function n5(){}function lh(t){return t==null?n5:function(){return this.querySelector(t)}}function i5(t){typeof t!=\\\"function\\\"&&(t=lh(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i\u003Cr;++i)for(var s=e[i],a=s.length,o=n[i]=new Array(a),l,u,d=0;d\u003Ca;++d)(l=s[d])&&(u=t.call(l,l.__data__,d,s))&&(\\\"__data__\\\"in l&&(u.__data__=l.__data__),o[d]=u);return new Ar(n,this._parents)}function Jd(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function s5(){return[]}function tf(t){return t==null?s5:function(){return this.querySelectorAll(t)}}function a5(t){return function(){return Jd(t.apply(this,arguments))}}function o5(t){typeof t==\\\"function\\\"?t=a5(t):t=tf(t);for(var e=this._groups,r=e.length,n=[],i=[],s=0;s\u003Cr;++s)for(var a=e[s],o=a.length,l,u=0;u\u003Co;++u)(l=a[u])&&(n.push(t.call(l,l.__data__,u,a)),i.push(l));return new Ar(n,i)}function ef(t){return function(){return this.matches(t)}}function rf(t){return function(e){return e.matches(t)}}var l5=Array.prototype.find;function c5(t){return function(){return l5.call(this.children,t)}}function u5(){return this.firstElementChild}function h5(t){return this.select(t==null?u5:c5(typeof t==\\\"function\\\"?t:rf(t)))}var d5=Array.prototype.filter;function f5(){return Array.from(this.children)}function p5(t){return function(){return d5.call(this.children,t)}}function g5(t){return this.selectAll(t==null?f5:p5(typeof t==\\\"function\\\"?t:rf(t)))}function y5(t){typeof t!=\\\"function\\\"&&(t=ef(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i\u003Cr;++i)for(var s=e[i],a=s.length,o=n[i]=[],l,u=0;u\u003Ca;++u)(l=s[u])&&t.call(l,l.__data__,u,s)&&o.push(l);return new Ar(n,this._parents)}function nf(t){return new Array(t.length)}function m5(){return new Ar(this._enter||this._groups.map(nf),this._parents)}function gl(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}gl.prototype={constructor:gl,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function b5(t){return function(){return t}}function _5(t,e,r,n,i,s){for(var a=0,o,l=e.length,u=s.length;a\u003Cu;++a)(o=e[a])?(o.__data__=s[a],n[a]=o):r[a]=new gl(t,s[a]);for(;a\u003Cl;++a)(o=e[a])&&(i[a]=o)}function x5(t,e,r,n,i,s,a){var o,l,u=new Map,d=e.length,f=s.length,p=new Array(d),g;for(o=0;o\u003Cd;++o)(l=e[o])&&(p[o]=g=a.call(l,l.__data__,o,e)+\\\"\\\",u.has(g)?i[o]=l:u.set(g,l));for(o=0;o\u003Cf;++o)g=a.call(t,s[o],o,s)+\\\"\\\",(l=u.get(g))?(n[o]=l,l.__data__=s[o],u.delete(g)):r[o]=new gl(t,s[o]);for(o=0;o\u003Cd;++o)(l=e[o])&&u.get(p[o])===l&&(i[o]=l)}function v5(t){return t.__data__}function k5(t,e){if(!arguments.length)return Array.from(this,v5);var r=e?x5:_5,n=this._parents,i=this._groups;typeof t!=\\\"function\\\"&&(t=b5(t));for(var s=i.length,a=new Array(s),o=new Array(s),l=new Array(s),u=0;u\u003Cs;++u){var d=n[u],f=i[u],p=f.length,g=w5(t.call(d,d&&d.__data__,u,n)),b=g.length,k=o[u]=new Array(b),T=a[u]=new Array(b),L=l[u]=new Array(p);r(d,f,k,T,L,g,e);for(var E=0,I=0,V,H;E\u003Cb;++E)if(V=k[E]){for(E>=I&&(I=E+1);!(H=T[I])&&++I\u003Cb;);V._next=H||null}}return a=new Ar(a,n),a._enter=o,a._exit=l,a}function w5(t){return typeof t==\\\"object\\\"&&\\\"length\\\"in t?t:Array.from(t)}function T5(){return new Ar(this._exit||this._groups.map(nf),this._parents)}function E5(t,e,r){var n=this.enter(),i=this,s=this.exit();return typeof t==\\\"function\\\"?(n=t(n),n&&(n=n.selection())):n=n.append(t+\\\"\\\"),e!=null&&(i=e(i),i&&(i=i.selection())),r==null?s.remove():r(s),n&&i?n.merge(i).order():i}function C5(t){for(var e=t.selection?t.selection():t,r=this._groups,n=e._groups,i=r.length,s=n.length,a=Math.min(i,s),o=new Array(i),l=0;l\u003Ca;++l)for(var u=r[l],d=n[l],f=u.length,p=o[l]=new Array(f),g,b=0;b\u003Cf;++b)(g=u[b]||d[b])&&(p[b]=g);for(;l\u003Ci;++l)o[l]=r[l];return new Ar(o,this._parents)}function S5(){for(var t=this._groups,e=-1,r=t.length;++e\u003Cr;)for(var n=t[e],i=n.length-1,s=n[i],a;--i>=0;)(a=n[i])&&(s&&a.compareDocumentPosition(s)^4&&s.parentNode.insertBefore(a,s),s=a);return this}function A5(t){t||(t=L5);function e(f,p){return f&&p?t(f.__data__,p.__data__):!f-!p}for(var r=this._groups,n=r.length,i=new Array(n),s=0;s\u003Cn;++s){for(var a=r[s],o=a.length,l=i[s]=new Array(o),u,d=0;d\u003Co;++d)(u=a[d])&&(l[d]=u);l.sort(e)}return new Ar(i,this._parents).order()}function L5(t,e){return t\u003Ce?-1:t>e?1:t>=e?0:NaN}function D5(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function M5(){return Array.from(this)}function N5(){for(var t=this._groups,e=0,r=t.length;e\u003Cr;++e)for(var n=t[e],i=0,s=n.length;i\u003Cs;++i){var a=n[i];if(a)return a}return null}function B5(){let t=0;for(const e of this)++t;return t}function I5(){return!this.node()}function O5(t){for(var e=this._groups,r=0,n=e.length;r\u003Cn;++r)for(var i=e[r],s=0,a=i.length,o;s\u003Ca;++s)(o=i[s])&&t.call(o,o.__data__,s,i);return this}function R5(t){return function(){this.removeAttribute(t)}}function F5(t){return function(){this.removeAttributeNS(t.space,t.local)}}function P5(t,e){return function(){this.setAttribute(t,e)}}function Y5(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function V5(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttribute(t):this.setAttribute(t,r)}}function U5(t,e){return function(){var r=e.apply(this,arguments);r==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}function z5(t,e){var r=pl(t);if(arguments.length\u003C2){var n=this.node();return r.local?n.getAttributeNS(r.space,r.local):n.getAttribute(r)}return this.each((e==null?r.local?F5:R5:typeof e==\\\"function\\\"?r.local?U5:V5:r.local?Y5:P5)(r,e))}function sf(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function W5(t){return function(){this.style.removeProperty(t)}}function H5(t,e,r){return function(){this.style.setProperty(t,e,r)}}function G5(t,e,r){return function(){var n=e.apply(this,arguments);n==null?this.style.removeProperty(t):this.style.setProperty(t,n,r)}}function q5(t,e,r){return arguments.length>1?this.each((e==null?W5:typeof e==\\\"function\\\"?G5:H5)(t,e,r==null?\\\"\\\":r)):Vs(this.node(),t)}function Vs(t,e){return t.style.getPropertyValue(e)||sf(t).getComputedStyle(t,null).getPropertyValue(e)}function j5(t){return function(){delete this[t]}}function $5(t,e){return function(){this[t]=e}}function X5(t,e){return function(){var r=e.apply(this,arguments);r==null?delete this[t]:this[t]=r}}function K5(t,e){return arguments.length>1?this.each((e==null?j5:typeof e==\\\"function\\\"?X5:$5)(t,e)):this.node()[t]}function af(t){return t.trim().split(/^|\\\\s+/)}function ch(t){return t.classList||new of(t)}function of(t){this._node=t,this._names=af(t.getAttribute(\\\"class\\\")||\\\"\\\")}of.prototype={add:function(t){var e=this._names.indexOf(t);e\u003C0&&(this._names.push(t),this._node.setAttribute(\\\"class\\\",this._names.join(\\\" \\\")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute(\\\"class\\\",this._names.join(\\\" \\\")))},contains:function(t){return this._names.indexOf(t)>=0}};function lf(t,e){for(var r=ch(t),n=-1,i=e.length;++n\u003Ci;)r.add(e[n])}function cf(t,e){for(var r=ch(t),n=-1,i=e.length;++n\u003Ci;)r.remove(e[n])}function Z5(t){return function(){lf(this,t)}}function Q5(t){return function(){cf(this,t)}}function J5(t,e){return function(){(e.apply(this,arguments)?lf:cf)(this,t)}}function t_(t,e){var r=af(t+\\\"\\\");if(arguments.length\u003C2){for(var n=ch(this.node()),i=-1,s=r.length;++i\u003Cs;)if(!n.contains(r[i]))return!1;return!0}return this.each((typeof e==\\\"function\\\"?J5:e?Z5:Q5)(r,e))}function e_(){this.textContent=\\\"\\\"}function r_(t){return function(){this.textContent=t}}function n_(t){return function(){var e=t.apply(this,arguments);this.textContent=e==null?\\\"\\\":e}}function i_(t){return arguments.length?this.each(t==null?e_:(typeof t==\\\"function\\\"?n_:r_)(t)):this.node().textContent}function s_(){this.innerHTML=\\\"\\\"}function a_(t){return function(){this.innerHTML=t}}function o_(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e==null?\\\"\\\":e}}function l_(t){return arguments.length?this.each(t==null?s_:(typeof t==\\\"function\\\"?o_:a_)(t)):this.node().innerHTML}function c_(){this.nextSibling&&this.parentNode.appendChild(this)}function u_(){return this.each(c_)}function h_(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function d_(){return this.each(h_)}function f_(t){var e=typeof t==\\\"function\\\"?t:Qd(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function p_(){return null}function g_(t,e){var r=typeof t==\\\"function\\\"?t:Qd(t),n=e==null?p_:typeof e==\\\"function\\\"?e:lh(e);return this.select(function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)})}function y_(){var t=this.parentNode;t&&t.removeChild(this)}function m_(){return this.each(y_)}function b_(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function __(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function x_(t){return this.select(t?__:b_)}function v_(t){return arguments.length?this.property(\\\"__data__\\\",t):this.node().__data__}function k_(t){return function(e){t.call(this,e,this.__data__)}}function w_(t){return t.trim().split(/^|\\\\s+/).map(function(e){var r=\\\"\\\",n=e.indexOf(\\\".\\\");return n>=0&&(r=e.slice(n+1),e=e.slice(0,n)),{type:e,name:r}})}function T_(t){return function(){var e=this.__on;if(!!e){for(var r=0,n=-1,i=e.length,s;r\u003Ci;++r)s=e[r],(!t.type||s.type===t.type)&&s.name===t.name?this.removeEventListener(s.type,s.listener,s.options):e[++n]=s;++n?e.length=n:delete this.__on}}}function E_(t,e,r){return function(){var n=this.__on,i,s=k_(e);if(n){for(var a=0,o=n.length;a\u003Co;++a)if((i=n[a]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=s,i.options=r),i.value=e;return}}this.addEventListener(t.type,s,r),i={type:t.type,name:t.name,value:e,listener:s,options:r},n?n.push(i):this.__on=[i]}}function C_(t,e,r){var n=w_(t+\\\"\\\"),i,s=n.length,a;if(arguments.length\u003C2){var o=this.node().__on;if(o){for(var l=0,u=o.length,d;l\u003Cu;++l)for(i=0,d=o[l];i\u003Cs;++i)if((a=n[i]).type===d.type&&a.name===d.name)return d.value}return}for(o=e?E_:T_,i=0;i\u003Cs;++i)this.each(o(n[i],e,r));return this}function uf(t,e,r){var n=sf(t),i=n.CustomEvent;typeof i==\\\"function\\\"?i=new i(e,r):(i=n.document.createEvent(\\\"Event\\\"),r?(i.initEvent(e,r.bubbles,r.cancelable),i.detail=r.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function S_(t,e){return function(){return uf(this,t,e)}}function A_(t,e){return function(){return uf(this,t,e.apply(this,arguments))}}function L_(t,e){return this.each((typeof e==\\\"function\\\"?A_:S_)(t,e))}function*D_(){for(var t=this._groups,e=0,r=t.length;e\u003Cr;++e)for(var n=t[e],i=0,s=n.length,a;i\u003Cs;++i)(a=n[i])&&(yield a)}var uh=[null];function Ar(t,e){this._groups=t,this._parents=e}function Wa(){return new Ar([[document.documentElement]],uh)}function M_(){return this}Ar.prototype=Wa.prototype={constructor:Ar,select:i5,selectAll:o5,selectChild:h5,selectChildren:g5,filter:y5,data:k5,enter:m5,exit:T5,join:E5,merge:C5,selection:M_,order:S5,sort:A5,call:D5,nodes:M5,node:N5,size:B5,empty:I5,each:O5,attr:z5,style:q5,property:K5,classed:t_,text:i_,html:l_,raise:u_,lower:d_,append:f_,insert:g_,remove:m_,clone:x_,datum:v_,on:C_,dispatch:L_,[Symbol.iterator]:D_};function St(t){return typeof t==\\\"string\\\"?new Ar([[document.querySelector(t)]],[document.documentElement]):new Ar([[t]],uh)}function hh(t){return typeof t==\\\"string\\\"?new Ar([document.querySelectorAll(t)],[document.documentElement]):new Ar([Jd(t)],uh)}function Ha(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function yl(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function es(){}var Ga=.7,ml=1/Ga,Us=\\\"\\\\\\\\s*([+-]?\\\\\\\\d+)\\\\\\\\s*\\\",qa=\\\"\\\\\\\\s*([+-]?(?:\\\\\\\\d*\\\\\\\\.)?\\\\\\\\d+(?:[eE][+-]?\\\\\\\\d+)?)\\\\\\\\s*\\\",Rn=\\\"\\\\\\\\s*([+-]?(?:\\\\\\\\d*\\\\\\\\.)?\\\\\\\\d+(?:[eE][+-]?\\\\\\\\d+)?)%\\\\\\\\s*\\\",N_=/^#([0-9a-f]{3,8})$/,B_=new RegExp(`^rgb\\\\\\\\(${Us},${Us},${Us}\\\\\\\\)$`),I_=new RegExp(`^rgb\\\\\\\\(${Rn},${Rn},${Rn}\\\\\\\\)$`),O_=new RegExp(`^rgba\\\\\\\\(${Us},${Us},${Us},${qa}\\\\\\\\)$`),R_=new RegExp(`^rgba\\\\\\\\(${Rn},${Rn},${Rn},${qa}\\\\\\\\)$`),F_=new RegExp(`^hsl\\\\\\\\(${qa},${Rn},${Rn}\\\\\\\\)$`),P_=new RegExp(`^hsla\\\\\\\\(${qa},${Rn},${Rn},${qa}\\\\\\\\)$`),hf={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Ha(es,rs,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:df,formatHex:df,formatHex8:Y_,formatHsl:V_,formatRgb:ff,toString:ff});function df(){return this.rgb().formatHex()}function Y_(){return this.rgb().formatHex8()}function V_(){return _f(this).formatHsl()}function ff(){return this.rgb().formatRgb()}function rs(t){var e,r;return t=(t+\\\"\\\").trim().toLowerCase(),(e=N_.exec(t))?(r=e[1].length,e=parseInt(e[1],16),r===6?pf(e):r===3?new vr(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)\u003C\u003C4|e&15,1):r===8?bl(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):r===4?bl(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)\u003C\u003C4|e&15)/255):null):(e=B_.exec(t))?new vr(e[1],e[2],e[3],1):(e=I_.exec(t))?new vr(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=O_.exec(t))?bl(e[1],e[2],e[3],e[4]):(e=R_.exec(t))?bl(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=F_.exec(t))?bf(e[1],e[2]/100,e[3]/100,1):(e=P_.exec(t))?bf(e[1],e[2]/100,e[3]/100,e[4]):hf.hasOwnProperty(t)?pf(hf[t]):t===\\\"transparent\\\"?new vr(NaN,NaN,NaN,0):null}function pf(t){return new vr(t>>16&255,t>>8&255,t&255,1)}function bl(t,e,r,n){return n\u003C=0&&(t=e=r=NaN),new vr(t,e,r,n)}function gf(t){return t instanceof es||(t=rs(t)),t?(t=t.rgb(),new vr(t.r,t.g,t.b,t.opacity)):new vr}function dh(t,e,r,n){return arguments.length===1?gf(t):new vr(t,e,r,n==null?1:n)}function vr(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}Ha(vr,dh,yl(es,{brighter(t){return t=t==null?ml:Math.pow(ml,t),new vr(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?Ga:Math.pow(Ga,t),new vr(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new vr(ns(this.r),ns(this.g),ns(this.b),_l(this.opacity))},displayable(){return-.5\u003C=this.r&&this.r\u003C255.5&&-.5\u003C=this.g&&this.g\u003C255.5&&-.5\u003C=this.b&&this.b\u003C255.5&&0\u003C=this.opacity&&this.opacity\u003C=1},hex:yf,formatHex:yf,formatHex8:U_,formatRgb:mf,toString:mf}));function yf(){return`#${is(this.r)}${is(this.g)}${is(this.b)}`}function U_(){return`#${is(this.r)}${is(this.g)}${is(this.b)}${is((isNaN(this.opacity)?1:this.opacity)*255)}`}function mf(){const t=_l(this.opacity);return`${t===1?\\\"rgb(\\\":\\\"rgba(\\\"}${ns(this.r)}, ${ns(this.g)}, ${ns(this.b)}${t===1?\\\")\\\":`, ${t})`}`}function _l(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ns(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function is(t){return t=ns(t),(t\u003C16?\\\"0\\\":\\\"\\\")+t.toString(16)}function bf(t,e,r,n){return n\u003C=0?t=e=r=NaN:r\u003C=0||r>=1?t=e=NaN:e\u003C=0&&(t=NaN),new un(t,e,r,n)}function _f(t){if(t instanceof un)return new un(t.h,t.s,t.l,t.opacity);if(t instanceof es||(t=rs(t)),!t)return new un;if(t instanceof un)return t;t=t.rgb();var e=t.r/255,r=t.g/255,n=t.b/255,i=Math.min(e,r,n),s=Math.max(e,r,n),a=NaN,o=s-i,l=(s+i)/2;return o?(e===s?a=(r-n)/o+(r\u003Cn)*6:r===s?a=(n-e)/o+2:a=(e-r)/o+4,o/=l\u003C.5?s+i:2-s-i,a*=60):o=l>0&&l\u003C1?0:a,new un(a,o,l,t.opacity)}function z_(t,e,r,n){return arguments.length===1?_f(t):new un(t,e,r,n==null?1:n)}function un(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}Ha(un,z_,yl(es,{brighter(t){return t=t==null?ml:Math.pow(ml,t),new un(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?Ga:Math.pow(Ga,t),new un(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h\u003C0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r\u003C.5?r:1-r)*e,i=2*r-n;return new vr(fh(t>=240?t-240:t+120,i,n),fh(t,i,n),fh(t\u003C120?t+240:t-120,i,n),this.opacity)},clamp(){return new un(xf(this.h),xl(this.s),xl(this.l),_l(this.opacity))},displayable(){return(0\u003C=this.s&&this.s\u003C=1||isNaN(this.s))&&0\u003C=this.l&&this.l\u003C=1&&0\u003C=this.opacity&&this.opacity\u003C=1},formatHsl(){const t=_l(this.opacity);return`${t===1?\\\"hsl(\\\":\\\"hsla(\\\"}${xf(this.h)}, ${xl(this.s)*100}%, ${xl(this.l)*100}%${t===1?\\\")\\\":`, ${t})`}`}}));function xf(t){return t=(t||0)%360,t\u003C0?t+360:t}function xl(t){return Math.max(0,Math.min(1,t||0))}function fh(t,e,r){return(t\u003C60?e+(r-e)*t/60:t\u003C180?r:t\u003C240?e+(r-e)*(240-t)/60:e)*255}const W_=Math.PI/180,H_=180/Math.PI,vl=18,vf=.96422,kf=1,wf=.82521,Tf=4/29,zs=6/29,Ef=3*zs*zs,G_=zs*zs*zs;function Cf(t){if(t instanceof Fn)return new Fn(t.l,t.a,t.b,t.opacity);if(t instanceof ei)return Sf(t);t instanceof vr||(t=gf(t));var e=mh(t.r),r=mh(t.g),n=mh(t.b),i=ph((.2225045*e+.7168786*r+.0606169*n)/kf),s,a;return e===r&&r===n?s=a=i:(s=ph((.4360747*e+.3850649*r+.1430804*n)/vf),a=ph((.0139322*e+.0971045*r+.7141733*n)/wf)),new Fn(116*i-16,500*(s-i),200*(i-a),t.opacity)}function q_(t,e,r,n){return arguments.length===1?Cf(t):new Fn(t,e,r,n==null?1:n)}function Fn(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}Ha(Fn,q_,yl(es,{brighter(t){return new Fn(this.l+vl*(t==null?1:t),this.a,this.b,this.opacity)},darker(t){return new Fn(this.l-vl*(t==null?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=vf*gh(e),t=kf*gh(t),r=wf*gh(r),new vr(yh(3.1338561*e-1.6168667*t-.4906146*r),yh(-.9787684*e+1.9161415*t+.033454*r),yh(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}}));function ph(t){return t>G_?Math.pow(t,1/3):t/Ef+Tf}function gh(t){return t>zs?t*t*t:Ef*(t-Tf)}function yh(t){return 255*(t\u003C=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function mh(t){return(t/=255)\u003C=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function j_(t){if(t instanceof ei)return new ei(t.h,t.c,t.l,t.opacity);if(t instanceof Fn||(t=Cf(t)),t.a===0&&t.b===0)return new ei(NaN,0\u003Ct.l&&t.l\u003C100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*H_;return new ei(e\u003C0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function bh(t,e,r,n){return arguments.length===1?j_(t):new ei(t,e,r,n==null?1:n)}function ei(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function Sf(t){if(isNaN(t.h))return new Fn(t.l,0,0,t.opacity);var e=t.h*W_;return new Fn(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}Ha(ei,bh,yl(es,{brighter(t){return new ei(this.h,this.c,this.l+vl*(t==null?1:t),this.opacity)},darker(t){return new ei(this.h,this.c,this.l-vl*(t==null?1:t),this.opacity)},rgb(){return Sf(this).rgb()}}));const kl=t=>()=>t;function Af(t,e){return function(r){return t+r*e}}function $_(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}function X_(t,e){var r=e-t;return r?Af(t,r>180||r\u003C-180?r-360*Math.round(r/360):r):kl(isNaN(t)?e:t)}function K_(t){return(t=+t)==1?ja:function(e,r){return r-e?$_(e,r,t):kl(isNaN(e)?r:e)}}function ja(t,e){var r=e-t;return r?Af(t,r):kl(isNaN(t)?e:t)}const wl=function t(e){var r=K_(e);function n(i,s){var a=r((i=dh(i)).r,(s=dh(s)).r),o=r(i.g,s.g),l=r(i.b,s.b),u=ja(i.opacity,s.opacity);return function(d){return i.r=a(d),i.g=o(d),i.b=l(d),i.opacity=u(d),i+\\\"\\\"}}return n.gamma=t,n}(1);function Z_(t,e){e||(e=[]);var r=t?Math.min(e.length,t.length):0,n=e.slice(),i;return function(s){for(i=0;i\u003Cr;++i)n[i]=t[i]*(1-s)+e[i]*s;return n}}function Q_(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function J_(t,e){var r=e?e.length:0,n=t?Math.min(r,t.length):0,i=new Array(n),s=new Array(r),a;for(a=0;a\u003Cn;++a)i[a]=vh(t[a],e[a]);for(;a\u003Cr;++a)s[a]=e[a];return function(o){for(a=0;a\u003Cn;++a)s[a]=i[a](o);return s}}function tx(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function hn(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function ex(t,e){var r={},n={},i;(t===null||typeof t!=\\\"object\\\")&&(t={}),(e===null||typeof e!=\\\"object\\\")&&(e={});for(i in e)i in t?r[i]=vh(t[i],e[i]):n[i]=e[i];return function(s){for(i in r)n[i]=r[i](s);return n}}var _h=/[-+]?(?:\\\\d+\\\\.?\\\\d*|\\\\.?\\\\d+)(?:[eE][-+]?\\\\d+)?/g,xh=new RegExp(_h.source,\\\"g\\\");function rx(t){return function(){return t}}function nx(t){return function(e){return t(e)+\\\"\\\"}}function Lf(t,e){var r=_h.lastIndex=xh.lastIndex=0,n,i,s,a=-1,o=[],l=[];for(t=t+\\\"\\\",e=e+\\\"\\\";(n=_h.exec(t))&&(i=xh.exec(e));)(s=i.index)>r&&(s=e.slice(r,s),o[a]?o[a]+=s:o[++a]=s),(n=n[0])===(i=i[0])?o[a]?o[a]+=i:o[++a]=i:(o[++a]=null,l.push({i:a,x:hn(n,i)})),r=xh.lastIndex;return r\u003Ce.length&&(s=e.slice(r),o[a]?o[a]+=s:o[++a]=s),o.length\u003C2?l[0]?nx(l[0].x):rx(e):(e=l.length,function(u){for(var d=0,f;d\u003Ce;++d)o[(f=l[d]).i]=f.x(u);return o.join(\\\"\\\")})}function vh(t,e){var r=typeof e,n;return e==null||r===\\\"boolean\\\"?kl(e):(r===\\\"number\\\"?hn:r===\\\"string\\\"?(n=rs(e))?(e=n,wl):Lf:e instanceof rs?wl:e instanceof Date?tx:Q_(e)?Z_:Array.isArray(e)?J_:typeof e.valueOf!=\\\"function\\\"&&typeof e.toString!=\\\"function\\\"||isNaN(e)?ex:hn)(t,e)}function ix(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}var Df=180/Math.PI,kh={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Mf(t,e,r,n,i,s){var a,o,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*r+e*n)&&(r-=t*l,n-=e*l),(o=Math.sqrt(r*r+n*n))&&(r/=o,n/=o,l/=o),t*n\u003Ce*r&&(t=-t,e=-e,l=-l,a=-a),{translateX:i,translateY:s,rotate:Math.atan2(e,t)*Df,skewX:Math.atan(l)*Df,scaleX:a,scaleY:o}}var Tl;function sx(t){const e=new(typeof DOMMatrix==\\\"function\\\"?DOMMatrix:WebKitCSSMatrix)(t+\\\"\\\");return e.isIdentity?kh:Mf(e.a,e.b,e.c,e.d,e.e,e.f)}function ax(t){return t==null||(Tl||(Tl=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"g\\\")),Tl.setAttribute(\\\"transform\\\",t),!(t=Tl.transform.baseVal.consolidate()))?kh:(t=t.matrix,Mf(t.a,t.b,t.c,t.d,t.e,t.f))}function Nf(t,e,r,n){function i(u){return u.length?u.pop()+\\\" \\\":\\\"\\\"}function s(u,d,f,p,g,b){if(u!==f||d!==p){var k=g.push(\\\"translate(\\\",null,e,null,r);b.push({i:k-4,x:hn(u,f)},{i:k-2,x:hn(d,p)})}else(f||p)&&g.push(\\\"translate(\\\"+f+e+p+r)}function a(u,d,f,p){u!==d?(u-d>180?d+=360:d-u>180&&(u+=360),p.push({i:f.push(i(f)+\\\"rotate(\\\",null,n)-2,x:hn(u,d)})):d&&f.push(i(f)+\\\"rotate(\\\"+d+n)}function o(u,d,f,p){u!==d?p.push({i:f.push(i(f)+\\\"skewX(\\\",null,n)-2,x:hn(u,d)}):d&&f.push(i(f)+\\\"skewX(\\\"+d+n)}function l(u,d,f,p,g,b){if(u!==f||d!==p){var k=g.push(i(g)+\\\"scale(\\\",null,\\\",\\\",null,\\\")\\\");b.push({i:k-4,x:hn(u,f)},{i:k-2,x:hn(d,p)})}else(f!==1||p!==1)&&g.push(i(g)+\\\"scale(\\\"+f+\\\",\\\"+p+\\\")\\\")}return function(u,d){var f=[],p=[];return u=t(u),d=t(d),s(u.translateX,u.translateY,d.translateX,d.translateY,f,p),a(u.rotate,d.rotate,f,p),o(u.skewX,d.skewX,f,p),l(u.scaleX,u.scaleY,d.scaleX,d.scaleY,f,p),u=d=null,function(g){for(var b=-1,k=p.length,T;++b\u003Ck;)f[(T=p[b]).i]=T.x(g);return f.join(\\\"\\\")}}}var ox=Nf(sx,\\\"px, \\\",\\\"px)\\\",\\\"deg)\\\"),lx=Nf(ax,\\\", \\\",\\\")\\\",\\\")\\\");function cx(t){return function(e,r){var n=t((e=bh(e)).h,(r=bh(r)).h),i=ja(e.c,r.c),s=ja(e.l,r.l),a=ja(e.opacity,r.opacity);return function(o){return e.h=n(o),e.c=i(o),e.l=s(o),e.opacity=a(o),e+\\\"\\\"}}}const ux=cx(X_);var Ws=0,$a=0,Xa=0,Bf=1e3,El,Ka,Cl=0,ss=0,Sl=0,Za=typeof performance==\\\"object\\\"&&performance.now?performance:Date,If=typeof window==\\\"object\\\"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function wh(){return ss||(If(hx),ss=Za.now()+Sl)}function hx(){ss=0}function Al(){this._call=this._time=this._next=null}Al.prototype=Of.prototype={constructor:Al,restart:function(t,e,r){if(typeof t!=\\\"function\\\")throw new TypeError(\\\"callback is not a function\\\");r=(r==null?wh():+r)+(e==null?0:+e),!this._next&&Ka!==this&&(Ka?Ka._next=this:El=this,Ka=this),this._call=t,this._time=r,Th()},stop:function(){this._call&&(this._call=null,this._time=1/0,Th())}};function Of(t,e,r){var n=new Al;return n.restart(t,e,r),n}function dx(){wh(),++Ws;for(var t=El,e;t;)(e=ss-t._time)>=0&&t._call.call(void 0,e),t=t._next;--Ws}function Rf(){ss=(Cl=Za.now())+Sl,Ws=$a=0;try{dx()}finally{Ws=0,px(),ss=0}}function fx(){var t=Za.now(),e=t-Cl;e>Bf&&(Sl-=e,Cl=t)}function px(){for(var t,e=El,r,n=1/0;e;)e._call?(n>e._time&&(n=e._time),t=e,e=e._next):(r=e._next,e._next=null,e=t?t._next=r:El=r);Ka=t,Th(n)}function Th(t){if(!Ws){$a&&($a=clearTimeout($a));var e=t-ss;e>24?(t\u003C1/0&&($a=setTimeout(Rf,t-Za.now()-Sl)),Xa&&(Xa=clearInterval(Xa))):(Xa||(Cl=Za.now(),Xa=setInterval(fx,Bf)),Ws=1,If(Rf))}}function Ff(t,e,r){var n=new Al;return e=e==null?0:+e,n.restart(i=>{n.stop(),t(i+e)},e,r),n}var gx=Xd(\\\"start\\\",\\\"end\\\",\\\"cancel\\\",\\\"interrupt\\\"),yx=[],Pf=0,Yf=1,Eh=2,Ll=3,Vf=4,Ch=5,Dl=6;function Ml(t,e,r,n,i,s){var a=t.__transition;if(!a)t.__transition={};else if(r in a)return;mx(t,r,{name:e,index:n,group:i,on:gx,tween:yx,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:Pf})}function Sh(t,e){var r=dn(t,e);if(r.state>Pf)throw new Error(\\\"too late; already scheduled\\\");return r}function Pn(t,e){var r=dn(t,e);if(r.state>Ll)throw new Error(\\\"too late; already running\\\");return r}function dn(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error(\\\"transition not found\\\");return r}function mx(t,e,r){var n=t.__transition,i;n[e]=r,r.timer=Of(s,0,r.time);function s(u){r.state=Yf,r.timer.restart(a,r.delay,r.time),r.delay\u003C=u&&a(u-r.delay)}function a(u){var d,f,p,g;if(r.state!==Yf)return l();for(d in n)if(g=n[d],g.name===r.name){if(g.state===Ll)return Ff(a);g.state===Vf?(g.state=Dl,g.timer.stop(),g.on.call(\\\"interrupt\\\",t,t.__data__,g.index,g.group),delete n[d]):+d\u003Ce&&(g.state=Dl,g.timer.stop(),g.on.call(\\\"cancel\\\",t,t.__data__,g.index,g.group),delete n[d])}if(Ff(function(){r.state===Ll&&(r.state=Vf,r.timer.restart(o,r.delay,r.time),o(u))}),r.state=Eh,r.on.call(\\\"start\\\",t,t.__data__,r.index,r.group),r.state===Eh){for(r.state=Ll,i=new Array(p=r.tween.length),d=0,f=-1;d\u003Cp;++d)(g=r.tween[d].value.call(t,t.__data__,r.index,r.group))&&(i[++f]=g);i.length=f+1}}function o(u){for(var d=u\u003Cr.duration?r.ease.call(null,u/r.duration):(r.timer.restart(l),r.state=Ch,1),f=-1,p=i.length;++f\u003Cp;)i[f].call(t,d);r.state===Ch&&(r.on.call(\\\"end\\\",t,t.__data__,r.index,r.group),l())}function l(){r.state=Dl,r.timer.stop(),delete n[e];for(var u in n)return;delete t.__transition}}function bx(t,e){var r=t.__transition,n,i,s=!0,a;if(!!r){e=e==null?null:e+\\\"\\\";for(a in r){if((n=r[a]).name!==e){s=!1;continue}i=n.state>Eh&&n.state\u003CCh,n.state=Dl,n.timer.stop(),n.on.call(i?\\\"interrupt\\\":\\\"cancel\\\",t,t.__data__,n.index,n.group),delete r[a]}s&&delete t.__transition}}function _x(t){return this.each(function(){bx(this,t)})}function xx(t,e){var r,n;return function(){var i=Pn(this,t),s=i.tween;if(s!==r){n=r=s;for(var a=0,o=n.length;a\u003Co;++a)if(n[a].name===e){n=n.slice(),n.splice(a,1);break}}i.tween=n}}function vx(t,e,r){var n,i;if(typeof r!=\\\"function\\\")throw new Error;return function(){var s=Pn(this,t),a=s.tween;if(a!==n){i=(n=a).slice();for(var o={name:e,value:r},l=0,u=i.length;l\u003Cu;++l)if(i[l].name===e){i[l]=o;break}l===u&&i.push(o)}s.tween=i}}function kx(t,e){var r=this._id;if(t+=\\\"\\\",arguments.length\u003C2){for(var n=dn(this.node(),r).tween,i=0,s=n.length,a;i\u003Cs;++i)if((a=n[i]).name===t)return a.value;return null}return this.each((e==null?xx:vx)(r,t,e))}function Ah(t,e,r){var n=t._id;return t.each(function(){var i=Pn(this,n);(i.value||(i.value={}))[e]=r.apply(this,arguments)}),function(i){return dn(i,n).value[e]}}function Uf(t,e){var r;return(typeof e==\\\"number\\\"?hn:e instanceof rs?wl:(r=rs(e))?(e=r,wl):Lf)(t,e)}function wx(t){return function(){this.removeAttribute(t)}}function Tx(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ex(t,e,r){var n,i=r+\\\"\\\",s;return function(){var a=this.getAttribute(t);return a===i?null:a===n?s:s=e(n=a,r)}}function Cx(t,e,r){var n,i=r+\\\"\\\",s;return function(){var a=this.getAttributeNS(t.space,t.local);return a===i?null:a===n?s:s=e(n=a,r)}}function Sx(t,e,r){var n,i,s;return function(){var a,o=r(this),l;return o==null?void this.removeAttribute(t):(a=this.getAttribute(t),l=o+\\\"\\\",a===l?null:a===n&&l===i?s:(i=l,s=e(n=a,o)))}}function Ax(t,e,r){var n,i,s;return function(){var a,o=r(this),l;return o==null?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local),l=o+\\\"\\\",a===l?null:a===n&&l===i?s:(i=l,s=e(n=a,o)))}}function Lx(t,e){var r=pl(t),n=r===\\\"transform\\\"?lx:Uf;return this.attrTween(t,typeof e==\\\"function\\\"?(r.local?Ax:Sx)(r,n,Ah(this,\\\"attr.\\\"+t,e)):e==null?(r.local?Tx:wx)(r):(r.local?Cx:Ex)(r,n,e))}function Dx(t,e){return function(r){this.setAttribute(t,e.call(this,r))}}function Mx(t,e){return function(r){this.setAttributeNS(t.space,t.local,e.call(this,r))}}function Nx(t,e){var r,n;function i(){var s=e.apply(this,arguments);return s!==n&&(r=(n=s)&&Mx(t,s)),r}return i._value=e,i}function Bx(t,e){var r,n;function i(){var s=e.apply(this,arguments);return s!==n&&(r=(n=s)&&Dx(t,s)),r}return i._value=e,i}function Ix(t,e){var r=\\\"attr.\\\"+t;if(arguments.length\u003C2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!=\\\"function\\\")throw new Error;var n=pl(t);return this.tween(r,(n.local?Nx:Bx)(n,e))}function Ox(t,e){return function(){Sh(this,t).delay=+e.apply(this,arguments)}}function Rx(t,e){return e=+e,function(){Sh(this,t).delay=e}}function Fx(t){var e=this._id;return arguments.length?this.each((typeof t==\\\"function\\\"?Ox:Rx)(e,t)):dn(this.node(),e).delay}function Px(t,e){return function(){Pn(this,t).duration=+e.apply(this,arguments)}}function Yx(t,e){return e=+e,function(){Pn(this,t).duration=e}}function Vx(t){var e=this._id;return arguments.length?this.each((typeof t==\\\"function\\\"?Px:Yx)(e,t)):dn(this.node(),e).duration}function Ux(t,e){if(typeof e!=\\\"function\\\")throw new Error;return function(){Pn(this,t).ease=e}}function zx(t){var e=this._id;return arguments.length?this.each(Ux(e,t)):dn(this.node(),e).ease}function Wx(t,e){return function(){var r=e.apply(this,arguments);if(typeof r!=\\\"function\\\")throw new Error;Pn(this,t).ease=r}}function Hx(t){if(typeof t!=\\\"function\\\")throw new Error;return this.each(Wx(this._id,t))}function Gx(t){typeof t!=\\\"function\\\"&&(t=ef(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i\u003Cr;++i)for(var s=e[i],a=s.length,o=n[i]=[],l,u=0;u\u003Ca;++u)(l=s[u])&&t.call(l,l.__data__,u,s)&&o.push(l);return new ri(n,this._parents,this._name,this._id)}function qx(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,r=t._groups,n=e.length,i=r.length,s=Math.min(n,i),a=new Array(n),o=0;o\u003Cs;++o)for(var l=e[o],u=r[o],d=l.length,f=a[o]=new Array(d),p,g=0;g\u003Cd;++g)(p=l[g]||u[g])&&(f[g]=p);for(;o\u003Cn;++o)a[o]=e[o];return new ri(a,this._parents,this._name,this._id)}function jx(t){return(t+\\\"\\\").trim().split(/^|\\\\s+/).every(function(e){var r=e.indexOf(\\\".\\\");return r>=0&&(e=e.slice(0,r)),!e||e===\\\"start\\\"})}function $x(t,e,r){var n,i,s=jx(e)?Sh:Pn;return function(){var a=s(this,t),o=a.on;o!==n&&(i=(n=o).copy()).on(e,r),a.on=i}}function Xx(t,e){var r=this._id;return arguments.length\u003C2?dn(this.node(),r).on.on(t):this.each($x(r,t,e))}function Kx(t){return function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}}function Zx(){return this.on(\\\"end.remove\\\",Kx(this._id))}function Qx(t){var e=this._name,r=this._id;typeof t!=\\\"function\\\"&&(t=lh(t));for(var n=this._groups,i=n.length,s=new Array(i),a=0;a\u003Ci;++a)for(var o=n[a],l=o.length,u=s[a]=new Array(l),d,f,p=0;p\u003Cl;++p)(d=o[p])&&(f=t.call(d,d.__data__,p,o))&&(\\\"__data__\\\"in d&&(f.__data__=d.__data__),u[p]=f,Ml(u[p],e,r,p,u,dn(d,r)));return new ri(s,this._parents,e,r)}function Jx(t){var e=this._name,r=this._id;typeof t!=\\\"function\\\"&&(t=tf(t));for(var n=this._groups,i=n.length,s=[],a=[],o=0;o\u003Ci;++o)for(var l=n[o],u=l.length,d,f=0;f\u003Cu;++f)if(d=l[f]){for(var p=t.call(d,d.__data__,f,l),g,b=dn(d,r),k=0,T=p.length;k\u003CT;++k)(g=p[k])&&Ml(g,e,r,k,p,b);s.push(p),a.push(d)}return new ri(s,a,e,r)}var t6=Wa.prototype.constructor;function e6(){return new t6(this._groups,this._parents)}function r6(t,e){var r,n,i;return function(){var s=Vs(this,t),a=(this.style.removeProperty(t),Vs(this,t));return s===a?null:s===r&&a===n?i:i=e(r=s,n=a)}}function zf(t){return function(){this.style.removeProperty(t)}}function n6(t,e,r){var n,i=r+\\\"\\\",s;return function(){var a=Vs(this,t);return a===i?null:a===n?s:s=e(n=a,r)}}function i6(t,e,r){var n,i,s;return function(){var a=Vs(this,t),o=r(this),l=o+\\\"\\\";return o==null&&(l=o=(this.style.removeProperty(t),Vs(this,t))),a===l?null:a===n&&l===i?s:(i=l,s=e(n=a,o))}}function s6(t,e){var r,n,i,s=\\\"style.\\\"+e,a=\\\"end.\\\"+s,o;return function(){var l=Pn(this,t),u=l.on,d=l.value[s]==null?o||(o=zf(e)):void 0;(u!==r||i!==d)&&(n=(r=u).copy()).on(a,i=d),l.on=n}}function a6(t,e,r){var n=(t+=\\\"\\\")==\\\"transform\\\"?ox:Uf;return e==null?this.styleTween(t,r6(t,n)).on(\\\"end.style.\\\"+t,zf(t)):typeof e==\\\"function\\\"?this.styleTween(t,i6(t,n,Ah(this,\\\"style.\\\"+t,e))).each(s6(this._id,t)):this.styleTween(t,n6(t,n,e),r).on(\\\"end.style.\\\"+t,null)}function o6(t,e,r){return function(n){this.style.setProperty(t,e.call(this,n),r)}}function l6(t,e,r){var n,i;function s(){var a=e.apply(this,arguments);return a!==i&&(n=(i=a)&&o6(t,a,r)),n}return s._value=e,s}function c6(t,e,r){var n=\\\"style.\\\"+(t+=\\\"\\\");if(arguments.length\u003C2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!=\\\"function\\\")throw new Error;return this.tween(n,l6(t,e,r==null?\\\"\\\":r))}function u6(t){return function(){this.textContent=t}}function h6(t){return function(){var e=t(this);this.textContent=e==null?\\\"\\\":e}}function d6(t){return this.tween(\\\"text\\\",typeof t==\\\"function\\\"?h6(Ah(this,\\\"text\\\",t)):u6(t==null?\\\"\\\":t+\\\"\\\"))}function f6(t){return function(e){this.textContent=t.call(this,e)}}function p6(t){var e,r;function n(){var i=t.apply(this,arguments);return i!==r&&(e=(r=i)&&f6(i)),e}return n._value=t,n}function g6(t){var e=\\\"text\\\";if(arguments.length\u003C1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!=\\\"function\\\")throw new Error;return this.tween(e,p6(t))}function y6(){for(var t=this._name,e=this._id,r=Wf(),n=this._groups,i=n.length,s=0;s\u003Ci;++s)for(var a=n[s],o=a.length,l,u=0;u\u003Co;++u)if(l=a[u]){var d=dn(l,e);Ml(l,t,r,u,a,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new ri(n,this._parents,t,r)}function m6(){var t,e,r=this,n=r._id,i=r.size();return new Promise(function(s,a){var o={value:a},l={value:function(){--i===0&&s()}};r.each(function(){var u=Pn(this,n),d=u.on;d!==t&&(e=(t=d).copy(),e._.cancel.push(o),e._.interrupt.push(o),e._.end.push(l)),u.on=e}),i===0&&s()})}var b6=0;function ri(t,e,r,n){this._groups=t,this._parents=e,this._name=r,this._id=n}function Wf(){return++b6}var ni=Wa.prototype;ri.prototype={constructor:ri,select:Qx,selectAll:Jx,selectChild:ni.selectChild,selectChildren:ni.selectChildren,filter:Gx,merge:qx,selection:e6,transition:y6,call:ni.call,nodes:ni.nodes,node:ni.node,size:ni.size,empty:ni.empty,each:ni.each,on:Xx,attr:Lx,attrTween:Ix,style:a6,styleTween:c6,text:d6,textTween:g6,remove:Zx,tween:kx,delay:Fx,duration:Vx,ease:zx,easeVarying:Hx,end:m6,[Symbol.iterator]:ni[Symbol.iterator]};function _6(t){return((t*=2)\u003C=1?t*t*t:(t-=2)*t*t+2)/2}var x6={time:null,delay:0,duration:250,ease:_6};function v6(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return r}function k6(t){var e,r;t instanceof ri?(e=t._id,t=t._name):(e=Wf(),(r=x6).time=wh(),t=t==null?null:t+\\\"\\\");for(var n=this._groups,i=n.length,s=0;s\u003Ci;++s)for(var a=n[s],o=a.length,l,u=0;u\u003Co;++u)(l=a[u])&&Ml(l,t,e,u,a,r||v6(l,e));return new ri(n,this._parents,t,e)}Wa.prototype.interrupt=_x,Wa.prototype.transition=k6;const Lh=Math.PI,Dh=2*Lh,as=1e-6,w6=Dh-as;function Mh(){this._x0=this._y0=this._x1=this._y1=null,this._=\\\"\\\"}function Nh(){return new Mh}Mh.prototype=Nh.prototype={constructor:Mh,moveTo:function(t,e){this._+=\\\"M\\\"+(this._x0=this._x1=+t)+\\\",\\\"+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+=\\\"Z\\\")},lineTo:function(t,e){this._+=\\\"L\\\"+(this._x1=+t)+\\\",\\\"+(this._y1=+e)},quadraticCurveTo:function(t,e,r,n){this._+=\\\"Q\\\"+ +t+\\\",\\\"+ +e+\\\",\\\"+(this._x1=+r)+\\\",\\\"+(this._y1=+n)},bezierCurveTo:function(t,e,r,n,i,s){this._+=\\\"C\\\"+ +t+\\\",\\\"+ +e+\\\",\\\"+ +r+\\\",\\\"+ +n+\\\",\\\"+(this._x1=+i)+\\\",\\\"+(this._y1=+s)},arcTo:function(t,e,r,n,i){t=+t,e=+e,r=+r,n=+n,i=+i;var s=this._x1,a=this._y1,o=r-t,l=n-e,u=s-t,d=a-e,f=u*u+d*d;if(i\u003C0)throw new Error(\\\"negative radius: \\\"+i);if(this._x1===null)this._+=\\\"M\\\"+(this._x1=t)+\\\",\\\"+(this._y1=e);else if(f>as)if(!(Math.abs(d*o-l*u)>as)||!i)this._+=\\\"L\\\"+(this._x1=t)+\\\",\\\"+(this._y1=e);else{var p=r-s,g=n-a,b=o*o+l*l,k=p*p+g*g,T=Math.sqrt(b),L=Math.sqrt(f),E=i*Math.tan((Lh-Math.acos((b+f-k)/(2*T*L)))/2),I=E/L,V=E/T;Math.abs(I-1)>as&&(this._+=\\\"L\\\"+(t+I*u)+\\\",\\\"+(e+I*d)),this._+=\\\"A\\\"+i+\\\",\\\"+i+\\\",0,0,\\\"+ +(d*p>u*g)+\\\",\\\"+(this._x1=t+V*o)+\\\",\\\"+(this._y1=e+V*l)}},arc:function(t,e,r,n,i,s){t=+t,e=+e,r=+r,s=!!s;var a=r*Math.cos(n),o=r*Math.sin(n),l=t+a,u=e+o,d=1^s,f=s?n-i:i-n;if(r\u003C0)throw new Error(\\\"negative radius: \\\"+r);this._x1===null?this._+=\\\"M\\\"+l+\\\",\\\"+u:(Math.abs(this._x1-l)>as||Math.abs(this._y1-u)>as)&&(this._+=\\\"L\\\"+l+\\\",\\\"+u),r&&(f\u003C0&&(f=f%Dh+Dh),f>w6?this._+=\\\"A\\\"+r+\\\",\\\"+r+\\\",0,1,\\\"+d+\\\",\\\"+(t-a)+\\\",\\\"+(e-o)+\\\"A\\\"+r+\\\",\\\"+r+\\\",0,1,\\\"+d+\\\",\\\"+(this._x1=l)+\\\",\\\"+(this._y1=u):f>as&&(this._+=\\\"A\\\"+r+\\\",\\\"+r+\\\",0,\\\"+ +(f>=Lh)+\\\",\\\"+d+\\\",\\\"+(this._x1=t+r*Math.cos(i))+\\\",\\\"+(this._y1=e+r*Math.sin(i))))},rect:function(t,e,r,n){this._+=\\\"M\\\"+(this._x0=this._x1=+t)+\\\",\\\"+(this._y0=this._y1=+e)+\\\"h\\\"+ +r+\\\"v\\\"+ +n+\\\"h\\\"+-r+\\\"Z\\\"},toString:function(){return this._}};function T6(t){if(!t.ok)throw new Error(t.status+\\\" \\\"+t.statusText);return t.text()}function E6(t,e){return fetch(t,e).then(T6)}function C6(t){return(e,r)=>E6(e,r).then(n=>new DOMParser().parseFromString(n,t))}var S6=C6(\\\"image/svg+xml\\\");function A6(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString(\\\"en\\\").replace(/,/g,\\\"\\\"):t.toString(10)}function Nl(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf(\\\"e\\\"))\u003C0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function Hs(t){return t=Nl(Math.abs(t)),t?t[1]:NaN}function L6(t,e){return function(r,n){for(var i=r.length,s=[],a=0,o=t[0],l=0;i>0&&o>0&&(l+o+1>n&&(o=Math.max(1,n-l)),s.push(r.substring(i-=o,i+o)),!((l+=o+1)>n));)o=t[a=(a+1)%t.length];return s.reverse().join(e)}}function D6(t){return function(e){return e.replace(/[0-9]/g,function(r){return t[+r]})}}var M6=/^(?:(.)?([\u003C>=^]))?([+\\\\-( ])?([$#])?(0)?(\\\\d+)?(,)?(\\\\.\\\\d+)?(~)?([a-z%])?$/i;function Bl(t){if(!(e=M6.exec(t)))throw new Error(\\\"invalid format: \\\"+t);var e;return new Bh({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}Bl.prototype=Bh.prototype;function Bh(t){this.fill=t.fill===void 0?\\\" \\\":t.fill+\\\"\\\",this.align=t.align===void 0?\\\">\\\":t.align+\\\"\\\",this.sign=t.sign===void 0?\\\"-\\\":t.sign+\\\"\\\",this.symbol=t.symbol===void 0?\\\"\\\":t.symbol+\\\"\\\",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?\\\"\\\":t.type+\\\"\\\"}Bh.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?\\\"0\\\":\\\"\\\")+(this.width===void 0?\\\"\\\":Math.max(1,this.width|0))+(this.comma?\\\",\\\":\\\"\\\")+(this.precision===void 0?\\\"\\\":\\\".\\\"+Math.max(0,this.precision|0))+(this.trim?\\\"~\\\":\\\"\\\")+this.type};function N6(t){t:for(var e=t.length,r=1,n=-1,i;r\u003Ce;++r)switch(t[r]){case\\\".\\\":n=i=r;break;case\\\"0\\\":n===0&&(n=r),i=r;break;default:if(!+t[r])break t;n>0&&(n=0);break}return n>0?t.slice(0,n)+t.slice(i+1):t}var Hf;function B6(t,e){var r=Nl(t,e);if(!r)return t+\\\"\\\";var n=r[0],i=r[1],s=i-(Hf=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=n.length;return s===a?n:s>a?n+new Array(s-a+1).join(\\\"0\\\"):s>0?n.slice(0,s)+\\\".\\\"+n.slice(s):\\\"0.\\\"+new Array(1-s).join(\\\"0\\\")+Nl(t,Math.max(0,e+s-1))[0]}function Gf(t,e){var r=Nl(t,e);if(!r)return t+\\\"\\\";var n=r[0],i=r[1];return i\u003C0?\\\"0.\\\"+new Array(-i).join(\\\"0\\\")+n:n.length>i+1?n.slice(0,i+1)+\\\".\\\"+n.slice(i+1):n+new Array(i-n.length+2).join(\\\"0\\\")}const qf={\\\"%\\\":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+\\\"\\\",d:A6,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Gf(t*100,e),r:Gf,s:B6,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function jf(t){return t}var $f=Array.prototype.map,Xf=[\\\"y\\\",\\\"z\\\",\\\"a\\\",\\\"f\\\",\\\"p\\\",\\\"n\\\",\\\"\\\\xB5\\\",\\\"m\\\",\\\"\\\",\\\"k\\\",\\\"M\\\",\\\"G\\\",\\\"T\\\",\\\"P\\\",\\\"E\\\",\\\"Z\\\",\\\"Y\\\"];function I6(t){var e=t.grouping===void 0||t.thousands===void 0?jf:L6($f.call(t.grouping,Number),t.thousands+\\\"\\\"),r=t.currency===void 0?\\\"\\\":t.currency[0]+\\\"\\\",n=t.currency===void 0?\\\"\\\":t.currency[1]+\\\"\\\",i=t.decimal===void 0?\\\".\\\":t.decimal+\\\"\\\",s=t.numerals===void 0?jf:D6($f.call(t.numerals,String)),a=t.percent===void 0?\\\"%\\\":t.percent+\\\"\\\",o=t.minus===void 0?\\\"\\\\u2212\\\":t.minus+\\\"\\\",l=t.nan===void 0?\\\"NaN\\\":t.nan+\\\"\\\";function u(f){f=Bl(f);var p=f.fill,g=f.align,b=f.sign,k=f.symbol,T=f.zero,L=f.width,E=f.comma,I=f.precision,V=f.trim,H=f.type;H===\\\"n\\\"?(E=!0,H=\\\"g\\\"):qf[H]||(I===void 0&&(I=12),V=!0,H=\\\"g\\\"),(T||p===\\\"0\\\"&&g===\\\"=\\\")&&(T=!0,p=\\\"0\\\",g=\\\"=\\\");var G=k===\\\"$\\\"?r:k===\\\"#\\\"&&/[boxX]/.test(H)?\\\"0\\\"+H.toLowerCase():\\\"\\\",Y=k===\\\"$\\\"?n:/[%p]/.test(H)?a:\\\"\\\",W=qf[H],N=/[defgprs%]/.test(H);I=I===void 0?6:/[gprs]/.test(H)?Math.max(1,Math.min(21,I)):Math.max(0,Math.min(20,I));function D(w){var v=G,M=Y,m,Q,x;if(H===\\\"c\\\")M=W(w)+M,w=\\\"\\\";else{w=+w;var ct=w\u003C0||1/w\u003C0;if(w=isNaN(w)?l:W(Math.abs(w),I),V&&(w=N6(w)),ct&&+w==0&&b!==\\\"+\\\"&&(ct=!1),v=(ct?b===\\\"(\\\"?b:o:b===\\\"-\\\"||b===\\\"(\\\"?\\\"\\\":b)+v,M=(H===\\\"s\\\"?Xf[8+Hf/3]:\\\"\\\")+M+(ct&&b===\\\"(\\\"?\\\")\\\":\\\"\\\"),N){for(m=-1,Q=w.length;++m\u003CQ;)if(x=w.charCodeAt(m),48>x||x>57){M=(x===46?i+w.slice(m+1):w.slice(m))+M,w=w.slice(0,m);break}}}E&&!T&&(w=e(w,1/0));var Dt=v.length+w.length+M.length,kt=Dt\u003CL?new Array(L-Dt+1).join(p):\\\"\\\";switch(E&&T&&(w=e(kt+w,kt.length?L-M.length:1/0),kt=\\\"\\\"),g){case\\\"\u003C\\\":w=v+w+M+kt;break;case\\\"=\\\":w=v+kt+w+M;break;case\\\"^\\\":w=kt.slice(0,Dt=kt.length>>1)+v+w+M+kt.slice(Dt);break;default:w=kt+v+w+M;break}return s(w)}return D.toString=function(){return f+\\\"\\\"},D}function d(f,p){var g=u((f=Bl(f),f.type=\\\"f\\\",f)),b=Math.max(-8,Math.min(8,Math.floor(Hs(p)/3)))*3,k=Math.pow(10,-b),T=Xf[8+b/3];return function(L){return g(k*L)+T}}return{format:u,formatPrefix:d}}var Il,Kf,Zf;O6({thousands:\\\",\\\",grouping:[3],currency:[\\\"$\\\",\\\"\\\"]});function O6(t){return Il=I6(t),Kf=Il.format,Zf=Il.formatPrefix,Il}function R6(t){return Math.max(0,-Hs(Math.abs(t)))}function F6(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Hs(e)/3)))*3-Hs(Math.abs(t)))}function P6(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Hs(e)-Hs(t))+1}function Ih(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}const Qf=Symbol(\\\"implicit\\\");function Jf(){var t=new Hd,e=[],r=[],n=Qf;function i(s){let a=t.get(s);if(a===void 0){if(n!==Qf)return n;t.set(s,a=e.push(s)-1)}return r[a%r.length]}return i.domain=function(s){if(!arguments.length)return e.slice();e=[],t=new Hd;for(const a of s)t.has(a)||t.set(a,e.push(a)-1);return i},i.range=function(s){return arguments.length?(r=Array.from(s),i):r.slice()},i.unknown=function(s){return arguments.length?(n=s,i):n},i.copy=function(){return Jf(e,r).unknown(n)},Ih.apply(i,arguments),i}function Y6(t){return function(){return t}}function V6(t){return+t}var t2=[0,1];function Gs(t){return t}function Oh(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:Y6(isNaN(e)?NaN:.5)}function U6(t,e){var r;return t>e&&(r=t,t=e,e=r),function(n){return Math.max(t,Math.min(e,n))}}function z6(t,e,r){var n=t[0],i=t[1],s=e[0],a=e[1];return i\u003Cn?(n=Oh(i,n),s=r(a,s)):(n=Oh(n,i),s=r(s,a)),function(o){return s(n(o))}}function W6(t,e,r){var n=Math.min(t.length,e.length)-1,i=new Array(n),s=new Array(n),a=-1;for(t[n]\u003Ct[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a\u003Cn;)i[a]=Oh(t[a],t[a+1]),s[a]=r(e[a],e[a+1]);return function(o){var l=Fb(t,o,1,n)-1;return s[l](i[l](o))}}function e2(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function H6(){var t=t2,e=t2,r=vh,n,i,s,a=Gs,o,l,u;function d(){var p=Math.min(t.length,e.length);return a!==Gs&&(a=U6(t[0],t[p-1])),o=p>2?W6:z6,l=u=null,f}function f(p){return p==null||isNaN(p=+p)?s:(l||(l=o(t.map(n),e,r)))(n(a(p)))}return f.invert=function(p){return a(i((u||(u=o(e,t.map(n),hn)))(p)))},f.domain=function(p){return arguments.length?(t=Array.from(p,V6),d()):t.slice()},f.range=function(p){return arguments.length?(e=Array.from(p),d()):e.slice()},f.rangeRound=function(p){return e=Array.from(p),r=ix,d()},f.clamp=function(p){return arguments.length?(a=p?!0:Gs,d()):a!==Gs},f.interpolate=function(p){return arguments.length?(r=p,d()):r},f.unknown=function(p){return arguments.length?(s=p,f):s},function(p,g){return n=p,i=g,d()}}function r2(){return H6()(Gs,Gs)}function G6(t,e,r,n){var i=ih(t,e,r),s;switch(n=Bl(n==null?\\\",f\\\":n),n.type){case\\\"s\\\":{var a=Math.max(Math.abs(t),Math.abs(e));return n.precision==null&&!isNaN(s=F6(i,a))&&(n.precision=s),Zf(n,a)}case\\\"\\\":case\\\"e\\\":case\\\"g\\\":case\\\"p\\\":case\\\"r\\\":{n.precision==null&&!isNaN(s=P6(i,Math.max(Math.abs(t),Math.abs(e))))&&(n.precision=s-(n.type===\\\"e\\\"));break}case\\\"f\\\":case\\\"%\\\":{n.precision==null&&!isNaN(s=R6(i))&&(n.precision=s-(n.type===\\\"%\\\")*2);break}}return Kf(n)}function q6(t){var e=t.domain;return t.ticks=function(r){var n=e();return Ub(n[0],n[n.length-1],r==null?10:r)},t.tickFormat=function(r,n){var i=e();return G6(i[0],i[i.length-1],r==null?10:r,n)},t.nice=function(r){r==null&&(r=10);var n=e(),i=0,s=n.length-1,a=n[i],o=n[s],l,u,d=10;for(o\u003Ca&&(u=a,a=o,o=u,u=i,i=s,s=u);d-- >0;){if(u=qd(a,o,r),u===l)return n[i]=a,n[s]=o,e(n);if(u>0)a=Math.floor(a/u)*u,o=Math.ceil(o/u)*u;else if(u\u003C0)a=Math.ceil(a*u)/u,o=Math.floor(o*u)/u;else break;l=u}return t},t}function n2(){var t=r2();return t.copy=function(){return e2(t,n2())},Ih.apply(t,arguments),q6(t)}function j6(t,e){t=t.slice();var r=0,n=t.length-1,i=t[r],s=t[n],a;return s\u003Ci&&(a=r,r=n,n=a,a=i,i=s,s=a),t[r]=e.floor(i),t[n]=e.ceil(s),t}var Rh=new Date,Fh=new Date;function dr(t,e,r,n){function i(s){return t(s=arguments.length===0?new Date:new Date(+s)),s}return i.floor=function(s){return t(s=new Date(+s)),s},i.ceil=function(s){return t(s=new Date(s-1)),e(s,1),t(s),s},i.round=function(s){var a=i(s),o=i.ceil(s);return s-a\u003Co-s?a:o},i.offset=function(s,a){return e(s=new Date(+s),a==null?1:Math.floor(a)),s},i.range=function(s,a,o){var l=[],u;if(s=i.ceil(s),o=o==null?1:Math.floor(o),!(s\u003Ca)||!(o>0))return l;do l.push(u=new Date(+s)),e(s,o),t(s);while(u\u003Cs&&s\u003Ca);return l},i.filter=function(s){return dr(function(a){if(a>=a)for(;t(a),!s(a);)a.setTime(a-1)},function(a,o){if(a>=a)if(o\u003C0)for(;++o\u003C=0;)for(;e(a,-1),!s(a););else for(;--o>=0;)for(;e(a,1),!s(a););})},r&&(i.count=function(s,a){return Rh.setTime(+s),Fh.setTime(+a),t(Rh),t(Fh),Math.floor(r(Rh,Fh))},i.every=function(s){return s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(n?function(a){return n(a)%s===0}:function(a){return i.count(0,a)%s===0}):i}),i}var Ol=dr(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});Ol.every=function(t){return t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?dr(function(e){e.setTime(Math.floor(e/t)*t)},function(e,r){e.setTime(+e+r*t)},function(e,r){return(r-e)/t}):Ol};const $6=Ol;Ol.range;const ii=1e3,Jr=ii*60,si=Jr*60,os=si*24,Ph=os*7,i2=os*30,Yh=os*365;var s2=dr(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+e*ii)},function(t,e){return(e-t)/ii},function(t){return t.getUTCSeconds()});const Qa=s2;s2.range;var a2=dr(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ii)},function(t,e){t.setTime(+t+e*Jr)},function(t,e){return(e-t)/Jr},function(t){return t.getMinutes()});const Rl=a2;a2.range;var o2=dr(function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ii-t.getMinutes()*Jr)},function(t,e){t.setTime(+t+e*si)},function(t,e){return(e-t)/si},function(t){return t.getHours()});const Fl=o2;o2.range;var l2=dr(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Jr)/os,t=>t.getDate()-1);const qs=l2;l2.range;function ls(t){return dr(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,r){e.setDate(e.getDate()+r*7)},function(e,r){return(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*Jr)/Ph})}var js=ls(0),Pl=ls(1),X6=ls(2),K6=ls(3),$s=ls(4),Z6=ls(5),Q6=ls(6);js.range,Pl.range,X6.range,K6.range,$s.range,Z6.range,Q6.range;var c2=dr(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12},function(t){return t.getMonth()});const Yl=c2;c2.range;var Vh=dr(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Vh.every=function(t){return!isFinite(t=Math.floor(t))||!(t>0)?null:dr(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,r){e.setFullYear(e.getFullYear()+r*t)})};const cs=Vh;Vh.range;var u2=dr(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*Jr)},function(t,e){return(e-t)/Jr},function(t){return t.getUTCMinutes()});const J6=u2;u2.range;var h2=dr(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*si)},function(t,e){return(e-t)/si},function(t){return t.getUTCHours()});const tv=h2;h2.range;var d2=dr(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/os},function(t){return t.getUTCDate()-1});const Uh=d2;d2.range;function us(t){return dr(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCDate(e.getUTCDate()+r*7)},function(e,r){return(r-e)/Ph})}var zh=us(0),Vl=us(1),ev=us(2),rv=us(3),Xs=us(4),nv=us(5),iv=us(6);zh.range,Vl.range,ev.range,rv.range,Xs.range,nv.range,iv.range;var f2=dr(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12},function(t){return t.getUTCMonth()});const sv=f2;f2.range;var Wh=dr(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Wh.every=function(t){return!isFinite(t=Math.floor(t))||!(t>0)?null:dr(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)})};const Ks=Wh;Wh.range;function p2(t,e,r,n,i,s){const a=[[Qa,1,ii],[Qa,5,5*ii],[Qa,15,15*ii],[Qa,30,30*ii],[s,1,Jr],[s,5,5*Jr],[s,15,15*Jr],[s,30,30*Jr],[i,1,si],[i,3,3*si],[i,6,6*si],[i,12,12*si],[n,1,os],[n,2,2*os],[r,1,Ph],[e,1,i2],[e,3,3*i2],[t,1,Yh]];function o(u,d,f){const p=d\u003Cu;p&&([u,d]=[d,u]);const g=f&&typeof f.range==\\\"function\\\"?f:l(u,d,f),b=g?g.range(u,+d+1):[];return p?b.reverse():b}function l(u,d,f){const p=Math.abs(d-u)/f,g=th(([,,T])=>T).right(a,p);if(g===a.length)return t.every(ih(u/Yh,d/Yh,f));if(g===0)return $6.every(Math.max(ih(u,d,f),1));const[b,k]=a[p/a[g-1][2]\u003Ca[g][2]/p?g-1:g];return b.every(k)}return[o,l]}p2(Ks,sv,zh,Uh,tv,J6);const[av,ov]=p2(cs,Yl,js,qs,Fl,Rl);function Hh(t){if(0\u003C=t.y&&t.y\u003C100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Gh(t){if(0\u003C=t.y&&t.y\u003C100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Ja(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}function lv(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,s=t.days,a=t.shortDays,o=t.months,l=t.shortMonths,u=to(i),d=eo(i),f=to(s),p=eo(s),g=to(a),b=eo(a),k=to(o),T=eo(o),L=to(l),E=eo(l),I={a:ct,A:Dt,b:kt,B:j,c:null,d:x2,e:x2,f:Mv,g:Uv,G:Wv,H:Av,I:Lv,j:Dv,L:v2,m:Nv,M:Bv,p:ot,q:rt,Q:S2,s:A2,S:Iv,u:Ov,U:Rv,V:Fv,w:Pv,W:Yv,x:null,X:null,y:Vv,Y:zv,Z:Hv,\\\"%\\\":C2},V={a:nt,A:ut,b:_t,B:K,c:null,d:w2,e:w2,f:$v,g:ik,G:ak,H:Gv,I:qv,j:jv,L:T2,m:Xv,M:Kv,p:Ot,q:P,Q:S2,s:A2,S:Zv,u:Qv,U:Jv,V:tk,w:ek,W:rk,x:null,X:null,y:nk,Y:sk,Z:ok,\\\"%\\\":C2},H={a:D,A:w,b:v,B:M,c:m,d:b2,e:b2,f:Tv,g:m2,G:y2,H:_2,I:_2,j:xv,L:wv,m:_v,M:vv,p:N,q:bv,Q:Cv,s:Sv,S:kv,u:fv,U:pv,V:gv,w:dv,W:yv,x:Q,X:x,y:m2,Y:y2,Z:mv,\\\"%\\\":Ev};I.x=G(r,I),I.X=G(n,I),I.c=G(e,I),V.x=G(r,V),V.X=G(n,V),V.c=G(e,V);function G(z,X){return function(F){var O=[],A=-1,J=0,C=z.length,ht,U,Yt;for(F instanceof Date||(F=new Date(+F));++A\u003CC;)z.charCodeAt(A)===37&&(O.push(z.slice(J,A)),(U=g2[ht=z.charAt(++A)])!=null?ht=z.charAt(++A):U=ht===\\\"e\\\"?\\\" \\\":\\\"0\\\",(Yt=X[ht])&&(ht=Yt(F,U)),O.push(ht),J=A+1);return O.push(z.slice(J,A)),O.join(\\\"\\\")}}function Y(z,X){return function(F){var O=Ja(1900,void 0,1),A=W(O,z,F+=\\\"\\\",0),J,C;if(A!=F.length)return null;if(\\\"Q\\\"in O)return new Date(O.Q);if(\\\"s\\\"in O)return new Date(O.s*1e3+(\\\"L\\\"in O?O.L:0));if(X&&!(\\\"Z\\\"in O)&&(O.Z=0),\\\"p\\\"in O&&(O.H=O.H%12+O.p*12),O.m===void 0&&(O.m=\\\"q\\\"in O?O.q:0),\\\"V\\\"in O){if(O.V\u003C1||O.V>53)return null;\\\"w\\\"in O||(O.w=1),\\\"Z\\\"in O?(J=Gh(Ja(O.y,0,1)),C=J.getUTCDay(),J=C>4||C===0?Vl.ceil(J):Vl(J),J=Uh.offset(J,(O.V-1)*7),O.y=J.getUTCFullYear(),O.m=J.getUTCMonth(),O.d=J.getUTCDate()+(O.w+6)%7):(J=Hh(Ja(O.y,0,1)),C=J.getDay(),J=C>4||C===0?Pl.ceil(J):Pl(J),J=qs.offset(J,(O.V-1)*7),O.y=J.getFullYear(),O.m=J.getMonth(),O.d=J.getDate()+(O.w+6)%7)}else(\\\"W\\\"in O||\\\"U\\\"in O)&&(\\\"w\\\"in O||(O.w=\\\"u\\\"in O?O.u%7:\\\"W\\\"in O?1:0),C=\\\"Z\\\"in O?Gh(Ja(O.y,0,1)).getUTCDay():Hh(Ja(O.y,0,1)).getDay(),O.m=0,O.d=\\\"W\\\"in O?(O.w+6)%7+O.W*7-(C+5)%7:O.w+O.U*7-(C+6)%7);return\\\"Z\\\"in O?(O.H+=O.Z/100|0,O.M+=O.Z%100,Gh(O)):Hh(O)}}function W(z,X,F,O){for(var A=0,J=X.length,C=F.length,ht,U;A\u003CJ;){if(O>=C)return-1;if(ht=X.charCodeAt(A++),ht===37){if(ht=X.charAt(A++),U=H[ht in g2?X.charAt(A++):ht],!U||(O=U(z,F,O))\u003C0)return-1}else if(ht!=F.charCodeAt(O++))return-1}return O}function N(z,X,F){var O=u.exec(X.slice(F));return O?(z.p=d.get(O[0].toLowerCase()),F+O[0].length):-1}function D(z,X,F){var O=g.exec(X.slice(F));return O?(z.w=b.get(O[0].toLowerCase()),F+O[0].length):-1}function w(z,X,F){var O=f.exec(X.slice(F));return O?(z.w=p.get(O[0].toLowerCase()),F+O[0].length):-1}function v(z,X,F){var O=L.exec(X.slice(F));return O?(z.m=E.get(O[0].toLowerCase()),F+O[0].length):-1}function M(z,X,F){var O=k.exec(X.slice(F));return O?(z.m=T.get(O[0].toLowerCase()),F+O[0].length):-1}function m(z,X,F){return W(z,e,X,F)}function Q(z,X,F){return W(z,r,X,F)}function x(z,X,F){return W(z,n,X,F)}function ct(z){return a[z.getDay()]}function Dt(z){return s[z.getDay()]}function kt(z){return l[z.getMonth()]}function j(z){return o[z.getMonth()]}function ot(z){return i[+(z.getHours()>=12)]}function rt(z){return 1+~~(z.getMonth()/3)}function nt(z){return a[z.getUTCDay()]}function ut(z){return s[z.getUTCDay()]}function _t(z){return l[z.getUTCMonth()]}function K(z){return o[z.getUTCMonth()]}function Ot(z){return i[+(z.getUTCHours()>=12)]}function P(z){return 1+~~(z.getUTCMonth()/3)}return{format:function(z){var X=G(z+=\\\"\\\",I);return X.toString=function(){return z},X},parse:function(z){var X=Y(z+=\\\"\\\",!1);return X.toString=function(){return z},X},utcFormat:function(z){var X=G(z+=\\\"\\\",V);return X.toString=function(){return z},X},utcParse:function(z){var X=Y(z+=\\\"\\\",!0);return X.toString=function(){return z},X}}}var g2={\\\"-\\\":\\\"\\\",_:\\\" \\\",0:\\\"0\\\"},fr=/^\\\\s*\\\\d+/,cv=/^%/,uv=/[\\\\\\\\^$*+?|[\\\\]().{}]/g;function Ae(t,e,r){var n=t\u003C0?\\\"-\\\":\\\"\\\",i=(n?-t:t)+\\\"\\\",s=i.length;return n+(s\u003Cr?new Array(r-s+1).join(e)+i:i)}function hv(t){return t.replace(uv,\\\"\\\\\\\\$&\\\")}function to(t){return new RegExp(\\\"^(?:\\\"+t.map(hv).join(\\\"|\\\")+\\\")\\\",\\\"i\\\")}function eo(t){return new Map(t.map((e,r)=>[e.toLowerCase(),r]))}function dv(t,e,r){var n=fr.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function fv(t,e,r){var n=fr.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function pv(t,e,r){var n=fr.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function gv(t,e,r){var n=fr.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function yv(t,e,r){var n=fr.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function y2(t,e,r){var n=fr.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function m2(t,e,r){var n=fr.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function mv(t,e,r){var n=/^(Z)|([+-]\\\\d\\\\d)(?::?(\\\\d\\\\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||\\\"00\\\")),r+n[0].length):-1}function bv(t,e,r){var n=fr.exec(e.slice(r,r+1));return n?(t.q=n[0]*3-3,r+n[0].length):-1}function _v(t,e,r){var n=fr.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function b2(t,e,r){var n=fr.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function xv(t,e,r){var n=fr.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function _2(t,e,r){var n=fr.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function vv(t,e,r){var n=fr.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function kv(t,e,r){var n=fr.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function wv(t,e,r){var n=fr.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function Tv(t,e,r){var n=fr.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Ev(t,e,r){var n=cv.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function Cv(t,e,r){var n=fr.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function Sv(t,e,r){var n=fr.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function x2(t,e){return Ae(t.getDate(),e,2)}function Av(t,e){return Ae(t.getHours(),e,2)}function Lv(t,e){return Ae(t.getHours()%12||12,e,2)}function Dv(t,e){return Ae(1+qs.count(cs(t),t),e,3)}function v2(t,e){return Ae(t.getMilliseconds(),e,3)}function Mv(t,e){return v2(t,e)+\\\"000\\\"}function Nv(t,e){return Ae(t.getMonth()+1,e,2)}function Bv(t,e){return Ae(t.getMinutes(),e,2)}function Iv(t,e){return Ae(t.getSeconds(),e,2)}function Ov(t){var e=t.getDay();return e===0?7:e}function Rv(t,e){return Ae(js.count(cs(t)-1,t),e,2)}function k2(t){var e=t.getDay();return e>=4||e===0?$s(t):$s.ceil(t)}function Fv(t,e){return t=k2(t),Ae($s.count(cs(t),t)+(cs(t).getDay()===4),e,2)}function Pv(t){return t.getDay()}function Yv(t,e){return Ae(Pl.count(cs(t)-1,t),e,2)}function Vv(t,e){return Ae(t.getFullYear()%100,e,2)}function Uv(t,e){return t=k2(t),Ae(t.getFullYear()%100,e,2)}function zv(t,e){return Ae(t.getFullYear()%1e4,e,4)}function Wv(t,e){var r=t.getDay();return t=r>=4||r===0?$s(t):$s.ceil(t),Ae(t.getFullYear()%1e4,e,4)}function Hv(t){var e=t.getTimezoneOffset();return(e>0?\\\"-\\\":(e*=-1,\\\"+\\\"))+Ae(e/60|0,\\\"0\\\",2)+Ae(e%60,\\\"0\\\",2)}function w2(t,e){return Ae(t.getUTCDate(),e,2)}function Gv(t,e){return Ae(t.getUTCHours(),e,2)}function qv(t,e){return Ae(t.getUTCHours()%12||12,e,2)}function jv(t,e){return Ae(1+Uh.count(Ks(t),t),e,3)}function T2(t,e){return Ae(t.getUTCMilliseconds(),e,3)}function $v(t,e){return T2(t,e)+\\\"000\\\"}function Xv(t,e){return Ae(t.getUTCMonth()+1,e,2)}function Kv(t,e){return Ae(t.getUTCMinutes(),e,2)}function Zv(t,e){return Ae(t.getUTCSeconds(),e,2)}function Qv(t){var e=t.getUTCDay();return e===0?7:e}function Jv(t,e){return Ae(zh.count(Ks(t)-1,t),e,2)}function E2(t){var e=t.getUTCDay();return e>=4||e===0?Xs(t):Xs.ceil(t)}function tk(t,e){return t=E2(t),Ae(Xs.count(Ks(t),t)+(Ks(t).getUTCDay()===4),e,2)}function ek(t){return t.getUTCDay()}function rk(t,e){return Ae(Vl.count(Ks(t)-1,t),e,2)}function nk(t,e){return Ae(t.getUTCFullYear()%100,e,2)}function ik(t,e){return t=E2(t),Ae(t.getUTCFullYear()%100,e,2)}function sk(t,e){return Ae(t.getUTCFullYear()%1e4,e,4)}function ak(t,e){var r=t.getUTCDay();return t=r>=4||r===0?Xs(t):Xs.ceil(t),Ae(t.getUTCFullYear()%1e4,e,4)}function ok(){return\\\"+0000\\\"}function C2(){return\\\"%\\\"}function S2(t){return+t}function A2(t){return Math.floor(+t/1e3)}var Zs,Ul;lk({dateTime:\\\"%x, %X\\\",date:\\\"%-m/%-d/%Y\\\",time:\\\"%-I:%M:%S %p\\\",periods:[\\\"AM\\\",\\\"PM\\\"],days:[\\\"Sunday\\\",\\\"Monday\\\",\\\"Tuesday\\\",\\\"Wednesday\\\",\\\"Thursday\\\",\\\"Friday\\\",\\\"Saturday\\\"],shortDays:[\\\"Sun\\\",\\\"Mon\\\",\\\"Tue\\\",\\\"Wed\\\",\\\"Thu\\\",\\\"Fri\\\",\\\"Sat\\\"],months:[\\\"January\\\",\\\"February\\\",\\\"March\\\",\\\"April\\\",\\\"May\\\",\\\"June\\\",\\\"July\\\",\\\"August\\\",\\\"September\\\",\\\"October\\\",\\\"November\\\",\\\"December\\\"],shortMonths:[\\\"Jan\\\",\\\"Feb\\\",\\\"Mar\\\",\\\"Apr\\\",\\\"May\\\",\\\"Jun\\\",\\\"Jul\\\",\\\"Aug\\\",\\\"Sep\\\",\\\"Oct\\\",\\\"Nov\\\",\\\"Dec\\\"]});function lk(t){return Zs=lv(t),Ul=Zs.format,Zs.parse,Zs.utcFormat,Zs.utcParse,Zs}function ck(t){return new Date(t)}function uk(t){return t instanceof Date?+t:+new Date(+t)}function L2(t,e,r,n,i,s,a,o,l,u){var d=r2(),f=d.invert,p=d.domain,g=u(\\\".%L\\\"),b=u(\\\":%S\\\"),k=u(\\\"%I:%M\\\"),T=u(\\\"%I %p\\\"),L=u(\\\"%a %d\\\"),E=u(\\\"%b %d\\\"),I=u(\\\"%B\\\"),V=u(\\\"%Y\\\");function H(G){return(l(G)\u003CG?g:o(G)\u003CG?b:a(G)\u003CG?k:s(G)\u003CG?T:n(G)\u003CG?i(G)\u003CG?L:E:r(G)\u003CG?I:V)(G)}return d.invert=function(G){return new Date(f(G))},d.domain=function(G){return arguments.length?p(Array.from(G,uk)):p().map(ck)},d.ticks=function(G){var Y=p();return t(Y[0],Y[Y.length-1],G==null?10:G)},d.tickFormat=function(G,Y){return Y==null?H:u(Y)},d.nice=function(G){var Y=p();return(!G||typeof G.range!=\\\"function\\\")&&(G=e(Y[0],Y[Y.length-1],G==null?10:G)),G?p(j6(Y,G)):d},d.copy=function(){return e2(d,L2(t,e,r,n,i,s,a,o,l,u))},d}function hk(){return Ih.apply(L2(av,ov,cs,Yl,js,qs,Fl,Rl,Qa,Ul).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Xe(t){return function(){return t}}const D2=Math.abs,kr=Math.atan2,hs=Math.cos,dk=Math.max,qh=Math.min,Yn=Math.sin,Qs=Math.sqrt,Rr=1e-12,ro=Math.PI,zl=ro/2,Wl=2*ro;function fk(t){return t>1?0:t\u003C-1?ro:Math.acos(t)}function M2(t){return t>=1?zl:t\u003C=-1?-zl:Math.asin(t)}function pk(t){return t.innerRadius}function gk(t){return t.outerRadius}function yk(t){return t.startAngle}function mk(t){return t.endAngle}function bk(t){return t&&t.padAngle}function _k(t,e,r,n,i,s,a,o){var l=r-t,u=n-e,d=a-i,f=o-s,p=f*l-d*u;if(!(p*p\u003CRr))return p=(d*(e-s)-f*(t-i))/p,[t+p*l,e+p*u]}function Hl(t,e,r,n,i,s,a){var o=t-r,l=e-n,u=(a?s:-s)/Qs(o*o+l*l),d=u*l,f=-u*o,p=t+d,g=e+f,b=r+d,k=n+f,T=(p+b)/2,L=(g+k)/2,E=b-p,I=k-g,V=E*E+I*I,H=i-s,G=p*k-b*g,Y=(I\u003C0?-1:1)*Qs(dk(0,H*H*V-G*G)),W=(G*I-E*Y)/V,N=(-G*E-I*Y)/V,D=(G*I+E*Y)/V,w=(-G*E+I*Y)/V,v=W-T,M=N-L,m=D-T,Q=w-L;return v*v+M*M>m*m+Q*Q&&(W=D,N=w),{cx:W,cy:N,x01:-d,y01:-f,x11:W*(i/H-1),y11:N*(i/H-1)}}function jh(){var t=pk,e=gk,r=Xe(0),n=null,i=yk,s=mk,a=bk,o=null;function l(){var u,d,f=+t.apply(this,arguments),p=+e.apply(this,arguments),g=i.apply(this,arguments)-zl,b=s.apply(this,arguments)-zl,k=D2(b-g),T=b>g;if(o||(o=u=Nh()),p\u003Cf&&(d=p,p=f,f=d),!(p>Rr))o.moveTo(0,0);else if(k>Wl-Rr)o.moveTo(p*hs(g),p*Yn(g)),o.arc(0,0,p,g,b,!T),f>Rr&&(o.moveTo(f*hs(b),f*Yn(b)),o.arc(0,0,f,b,g,T));else{var L=g,E=b,I=g,V=b,H=k,G=k,Y=a.apply(this,arguments)/2,W=Y>Rr&&(n?+n.apply(this,arguments):Qs(f*f+p*p)),N=qh(D2(p-f)/2,+r.apply(this,arguments)),D=N,w=N,v,M;if(W>Rr){var m=M2(W/f*Yn(Y)),Q=M2(W/p*Yn(Y));(H-=m*2)>Rr?(m*=T?1:-1,I+=m,V-=m):(H=0,I=V=(g+b)/2),(G-=Q*2)>Rr?(Q*=T?1:-1,L+=Q,E-=Q):(G=0,L=E=(g+b)/2)}var x=p*hs(L),ct=p*Yn(L),Dt=f*hs(V),kt=f*Yn(V);if(N>Rr){var j=p*hs(E),ot=p*Yn(E),rt=f*hs(I),nt=f*Yn(I),ut;if(k\u003Cro&&(ut=_k(x,ct,rt,nt,j,ot,Dt,kt))){var _t=x-ut[0],K=ct-ut[1],Ot=j-ut[0],P=ot-ut[1],z=1/Yn(fk((_t*Ot+K*P)/(Qs(_t*_t+K*K)*Qs(Ot*Ot+P*P)))/2),X=Qs(ut[0]*ut[0]+ut[1]*ut[1]);D=qh(N,(f-X)/(z-1)),w=qh(N,(p-X)/(z+1))}}G>Rr?w>Rr?(v=Hl(rt,nt,x,ct,p,w,T),M=Hl(j,ot,Dt,kt,p,w,T),o.moveTo(v.cx+v.x01,v.cy+v.y01),w\u003CN?o.arc(v.cx,v.cy,w,kr(v.y01,v.x01),kr(M.y01,M.x01),!T):(o.arc(v.cx,v.cy,w,kr(v.y01,v.x01),kr(v.y11,v.x11),!T),o.arc(0,0,p,kr(v.cy+v.y11,v.cx+v.x11),kr(M.cy+M.y11,M.cx+M.x11),!T),o.arc(M.cx,M.cy,w,kr(M.y11,M.x11),kr(M.y01,M.x01),!T))):(o.moveTo(x,ct),o.arc(0,0,p,L,E,!T)):o.moveTo(x,ct),!(f>Rr)||!(H>Rr)?o.lineTo(Dt,kt):D>Rr?(v=Hl(Dt,kt,j,ot,f,-D,T),M=Hl(x,ct,rt,nt,f,-D,T),o.lineTo(v.cx+v.x01,v.cy+v.y01),D\u003CN?o.arc(v.cx,v.cy,D,kr(v.y01,v.x01),kr(M.y01,M.x01),!T):(o.arc(v.cx,v.cy,D,kr(v.y01,v.x01),kr(v.y11,v.x11),!T),o.arc(0,0,f,kr(v.cy+v.y11,v.cx+v.x11),kr(M.cy+M.y11,M.cx+M.x11),T),o.arc(M.cx,M.cy,D,kr(M.y11,M.x11),kr(M.y01,M.x01),!T))):o.arc(0,0,f,V,I,T)}if(o.closePath(),u)return o=null,u+\\\"\\\"||null}return l.centroid=function(){var u=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,d=(+i.apply(this,arguments)+ +s.apply(this,arguments))/2-ro/2;return[hs(d)*u,Yn(d)*u]},l.innerRadius=function(u){return arguments.length?(t=typeof u==\\\"function\\\"?u:Xe(+u),l):t},l.outerRadius=function(u){return arguments.length?(e=typeof u==\\\"function\\\"?u:Xe(+u),l):e},l.cornerRadius=function(u){return arguments.length?(r=typeof u==\\\"function\\\"?u:Xe(+u),l):r},l.padRadius=function(u){return arguments.length?(n=u==null?null:typeof u==\\\"function\\\"?u:Xe(+u),l):n},l.startAngle=function(u){return arguments.length?(i=typeof u==\\\"function\\\"?u:Xe(+u),l):i},l.endAngle=function(u){return arguments.length?(s=typeof u==\\\"function\\\"?u:Xe(+u),l):s},l.padAngle=function(u){return arguments.length?(a=typeof u==\\\"function\\\"?u:Xe(+u),l):a},l.context=function(u){return arguments.length?(o=u==null?null:u,l):o},l}function N2(t){return typeof t==\\\"object\\\"&&\\\"length\\\"in t?t:Array.from(t)}function B2(t){this._context=t}B2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function Hr(t){return new B2(t)}function xk(t){return t[0]}function vk(t){return t[1]}function Js(t,e){var r=Xe(!0),n=null,i=Hr,s=null;t=typeof t==\\\"function\\\"?t:t===void 0?xk:Xe(t),e=typeof e==\\\"function\\\"?e:e===void 0?vk:Xe(e);function a(o){var l,u=(o=N2(o)).length,d,f=!1,p;for(n==null&&(s=i(p=Nh())),l=0;l\u003C=u;++l)!(l\u003Cu&&r(d=o[l],l,o))===f&&((f=!f)?s.lineStart():s.lineEnd()),f&&s.point(+t(d,l,o),+e(d,l,o));if(p)return s=null,p+\\\"\\\"||null}return a.x=function(o){return arguments.length?(t=typeof o==\\\"function\\\"?o:Xe(+o),a):t},a.y=function(o){return arguments.length?(e=typeof o==\\\"function\\\"?o:Xe(+o),a):e},a.defined=function(o){return arguments.length?(r=typeof o==\\\"function\\\"?o:Xe(!!o),a):r},a.curve=function(o){return arguments.length?(i=o,n!=null&&(s=i(n)),a):i},a.context=function(o){return arguments.length?(o==null?n=s=null:s=i(n=o),a):n},a}function kk(t,e){return e\u003Ct?-1:e>t?1:e>=t?0:NaN}function wk(t){return t}function Tk(){var t=wk,e=kk,r=null,n=Xe(0),i=Xe(Wl),s=Xe(0);function a(o){var l,u=(o=N2(o)).length,d,f,p=0,g=new Array(u),b=new Array(u),k=+n.apply(this,arguments),T=Math.min(Wl,Math.max(-Wl,i.apply(this,arguments)-k)),L,E=Math.min(Math.abs(T)/u,s.apply(this,arguments)),I=E*(T\u003C0?-1:1),V;for(l=0;l\u003Cu;++l)(V=b[g[l]=l]=+t(o[l],l,o))>0&&(p+=V);for(e!=null?g.sort(function(H,G){return e(b[H],b[G])}):r!=null&&g.sort(function(H,G){return r(o[H],o[G])}),l=0,f=p?(T-u*I)/p:0;l\u003Cu;++l,k=L)d=g[l],V=b[d],L=k+(V>0?V*f:0)+I,b[d]={data:o[d],index:l,value:V,startAngle:k,endAngle:L,padAngle:E};return b}return a.value=function(o){return arguments.length?(t=typeof o==\\\"function\\\"?o:Xe(+o),a):t},a.sortValues=function(o){return arguments.length?(e=o,r=null,a):e},a.sort=function(o){return arguments.length?(r=o,e=null,a):r},a.startAngle=function(o){return arguments.length?(n=typeof o==\\\"function\\\"?o:Xe(+o),a):n},a.endAngle=function(o){return arguments.length?(i=typeof o==\\\"function\\\"?o:Xe(+o),a):i},a.padAngle=function(o){return arguments.length?(s=typeof o==\\\"function\\\"?o:Xe(+o),a):s},a}function Gl(){}function ql(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function I2(t){this._context=t}I2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ql(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ql(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function ta(t){return new I2(t)}function O2(t){this._context=t}O2.prototype={areaStart:Gl,areaEnd:Gl,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:ql(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Ek(t){return new O2(t)}function R2(t){this._context=t}R2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:ql(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Ck(t){return new R2(t)}function F2(t){this._context=t}F2.prototype={areaStart:Gl,areaEnd:Gl,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function Sk(t){return new F2(t)}function P2(t){return t\u003C0?-1:1}function Y2(t,e,r){var n=t._x1-t._x0,i=e-t._x1,s=(t._y1-t._y0)/(n||i\u003C0&&-0),a=(r-t._y1)/(i||n\u003C0&&-0),o=(s*i+a*n)/(n+i);return(P2(s)+P2(a))*Math.min(Math.abs(s),Math.abs(a),.5*Math.abs(o))||0}function V2(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function $h(t,e,r){var n=t._x0,i=t._y0,s=t._x1,a=t._y1,o=(s-n)/3;t._context.bezierCurveTo(n+o,i+o*e,s-o,a-o*r,s,a)}function jl(t){this._context=t}jl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:$h(this,this._t0,V2(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,$h(this,V2(this,r=Y2(this,t,e)),r);break;default:$h(this,this._t0,r=Y2(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}};function U2(t){this._context=new z2(t)}(U2.prototype=Object.create(jl.prototype)).point=function(t,e){jl.prototype.point.call(this,e,t)};function z2(t){this._context=t}z2.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,s){this._context.bezierCurveTo(e,t,n,r,s,i)}};function Ak(t){return new jl(t)}function Lk(t){return new U2(t)}function W2(t){this._context=t}W2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),r===2)this._context.lineTo(t[1],e[1]);else for(var n=H2(t),i=H2(e),s=0,a=1;a\u003Cr;++s,++a)this._context.bezierCurveTo(n[0][s],i[0][s],n[1][s],i[1][s],t[a],e[a]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function H2(t){var e,r=t.length-1,n,i=new Array(r),s=new Array(r),a=new Array(r);for(i[0]=0,s[0]=2,a[0]=t[0]+2*t[1],e=1;e\u003Cr-1;++e)i[e]=1,s[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,s[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e\u003Cr;++e)n=i[e]/s[e-1],s[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/s[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/s[e];for(s[r-1]=(t[r]+i[r-1])/2,e=0;e\u003Cr-1;++e)s[e]=2*t[e+1]-i[e+1];return[i,s]}function Dk(t){return new W2(t)}function $l(t,e){this._context=t,this._t=e}$l.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0\u003Cthis._t&&this._t\u003C1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t\u003C=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}break}}this._x=t,this._y=e}};function Mk(t){return new $l(t,.5)}function Nk(t){return new $l(t,0)}function Bk(t){return new $l(t,1)}function ea(t,e,r){this.k=t,this.x=e,this.y=r}ea.prototype={constructor:ea,scale:function(t){return t===1?this:new ea(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new ea(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return\\\"translate(\\\"+this.x+\\\",\\\"+this.y+\\\") scale(\\\"+this.k+\\\")\\\"}},new ea(1,0,0),ea.prototype;/*! @license DOMPurify 2.4.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.1/LICENSE */function Ii(t){return Ii=typeof Symbol==\\\"function\\\"&&typeof Symbol.iterator==\\\"symbol\\\"?function(e){return typeof e}:function(e){return e&&typeof Symbol==\\\"function\\\"&&e.constructor===Symbol&&e!==Symbol.prototype?\\\"symbol\\\":typeof e},Ii(t)}function Xh(t,e){return Xh=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Xh(t,e)}function Ik(){if(typeof Reflect>\\\"u\\\"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==\\\"function\\\")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Xl(t,e,r){return Ik()?Xl=Reflect.construct:Xl=function(i,s,a){var o=[null];o.push.apply(o,s);var l=Function.bind.apply(i,o),u=new l;return a&&Xh(u,a.prototype),u},Xl.apply(null,arguments)}function fn(t){return Ok(t)||Rk(t)||Fk(t)||Pk()}function Ok(t){if(Array.isArray(t))return Kh(t)}function Rk(t){if(typeof Symbol\u003C\\\"u\\\"&&t[Symbol.iterator]!=null||t[\\\"@@iterator\\\"]!=null)return Array.from(t)}function Fk(t,e){if(!!t){if(typeof t==\\\"string\\\")return Kh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r===\\\"Object\\\"&&t.constructor&&(r=t.constructor.name),r===\\\"Map\\\"||r===\\\"Set\\\")return Array.from(t);if(r===\\\"Arguments\\\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kh(t,e)}}function Kh(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r\u003Ce;r++)n[r]=t[r];return n}function Pk(){throw new TypeError(`Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Yk=Object.hasOwnProperty,G2=Object.setPrototypeOf,Vk=Object.isFrozen,Uk=Object.getPrototypeOf,zk=Object.getOwnPropertyDescriptor,Lr=Object.freeze,pn=Object.seal,Wk=Object.create,q2=typeof Reflect\u003C\\\"u\\\"&&Reflect,Kl=q2.apply,Zh=q2.construct;Kl||(Kl=function(e,r,n){return e.apply(r,n)}),Lr||(Lr=function(e){return e}),pn||(pn=function(e){return e}),Zh||(Zh=function(e,r){return Xl(e,fn(r))});var Hk=tn(Array.prototype.forEach),j2=tn(Array.prototype.pop),no=tn(Array.prototype.push),Zl=tn(String.prototype.toLowerCase),Qh=tn(String.prototype.toString),Gk=tn(String.prototype.match),gn=tn(String.prototype.replace),qk=tn(String.prototype.indexOf),jk=tn(String.prototype.trim),Dr=tn(RegExp.prototype.test),Jh=$k(TypeError);function tn(t){return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i\u003Cr;i++)n[i-1]=arguments[i];return Kl(t,e,n)}}function $k(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n\u003Ce;n++)r[n]=arguments[n];return Zh(t,r)}}function we(t,e,r){r=r||Zl,G2&&G2(t,null);for(var n=e.length;n--;){var i=e[n];if(typeof i==\\\"string\\\"){var s=r(i);s!==i&&(Vk(e)||(e[n]=s),i=s)}t[i]=!0}return t}function ds(t){var e=Wk(null),r;for(r in t)Kl(Yk,t,[r])&&(e[r]=t[r]);return e}function Ql(t,e){for(;t!==null;){var r=zk(t,e);if(r){if(r.get)return tn(r.get);if(typeof r.value==\\\"function\\\")return tn(r.value)}t=Uk(t)}function n(i){return console.warn(\\\"fallback value for\\\",i),null}return n}var $2=Lr([\\\"a\\\",\\\"abbr\\\",\\\"acronym\\\",\\\"address\\\",\\\"area\\\",\\\"article\\\",\\\"aside\\\",\\\"audio\\\",\\\"b\\\",\\\"bdi\\\",\\\"bdo\\\",\\\"big\\\",\\\"blink\\\",\\\"blockquote\\\",\\\"body\\\",\\\"br\\\",\\\"button\\\",\\\"canvas\\\",\\\"caption\\\",\\\"center\\\",\\\"cite\\\",\\\"code\\\",\\\"col\\\",\\\"colgroup\\\",\\\"content\\\",\\\"data\\\",\\\"datalist\\\",\\\"dd\\\",\\\"decorator\\\",\\\"del\\\",\\\"details\\\",\\\"dfn\\\",\\\"dialog\\\",\\\"dir\\\",\\\"div\\\",\\\"dl\\\",\\\"dt\\\",\\\"element\\\",\\\"em\\\",\\\"fieldset\\\",\\\"figcaption\\\",\\\"figure\\\",\\\"font\\\",\\\"footer\\\",\\\"form\\\",\\\"h1\\\",\\\"h2\\\",\\\"h3\\\",\\\"h4\\\",\\\"h5\\\",\\\"h6\\\",\\\"head\\\",\\\"header\\\",\\\"hgroup\\\",\\\"hr\\\",\\\"html\\\",\\\"i\\\",\\\"img\\\",\\\"input\\\",\\\"ins\\\",\\\"kbd\\\",\\\"label\\\",\\\"legend\\\",\\\"li\\\",\\\"main\\\",\\\"map\\\",\\\"mark\\\",\\\"marquee\\\",\\\"menu\\\",\\\"menuitem\\\",\\\"meter\\\",\\\"nav\\\",\\\"nobr\\\",\\\"ol\\\",\\\"optgroup\\\",\\\"option\\\",\\\"output\\\",\\\"p\\\",\\\"picture\\\",\\\"pre\\\",\\\"progress\\\",\\\"q\\\",\\\"rp\\\",\\\"rt\\\",\\\"ruby\\\",\\\"s\\\",\\\"samp\\\",\\\"section\\\",\\\"select\\\",\\\"shadow\\\",\\\"small\\\",\\\"source\\\",\\\"spacer\\\",\\\"span\\\",\\\"strike\\\",\\\"strong\\\",\\\"style\\\",\\\"sub\\\",\\\"summary\\\",\\\"sup\\\",\\\"table\\\",\\\"tbody\\\",\\\"td\\\",\\\"template\\\",\\\"textarea\\\",\\\"tfoot\\\",\\\"th\\\",\\\"thead\\\",\\\"time\\\",\\\"tr\\\",\\\"track\\\",\\\"tt\\\",\\\"u\\\",\\\"ul\\\",\\\"var\\\",\\\"video\\\",\\\"wbr\\\"]),t1=Lr([\\\"svg\\\",\\\"a\\\",\\\"altglyph\\\",\\\"altglyphdef\\\",\\\"altglyphitem\\\",\\\"animatecolor\\\",\\\"animatemotion\\\",\\\"animatetransform\\\",\\\"circle\\\",\\\"clippath\\\",\\\"defs\\\",\\\"desc\\\",\\\"ellipse\\\",\\\"filter\\\",\\\"font\\\",\\\"g\\\",\\\"glyph\\\",\\\"glyphref\\\",\\\"hkern\\\",\\\"image\\\",\\\"line\\\",\\\"lineargradient\\\",\\\"marker\\\",\\\"mask\\\",\\\"metadata\\\",\\\"mpath\\\",\\\"path\\\",\\\"pattern\\\",\\\"polygon\\\",\\\"polyline\\\",\\\"radialgradient\\\",\\\"rect\\\",\\\"stop\\\",\\\"style\\\",\\\"switch\\\",\\\"symbol\\\",\\\"text\\\",\\\"textpath\\\",\\\"title\\\",\\\"tref\\\",\\\"tspan\\\",\\\"view\\\",\\\"vkern\\\"]),e1=Lr([\\\"feBlend\\\",\\\"feColorMatrix\\\",\\\"feComponentTransfer\\\",\\\"feComposite\\\",\\\"feConvolveMatrix\\\",\\\"feDiffuseLighting\\\",\\\"feDisplacementMap\\\",\\\"feDistantLight\\\",\\\"feFlood\\\",\\\"feFuncA\\\",\\\"feFuncB\\\",\\\"feFuncG\\\",\\\"feFuncR\\\",\\\"feGaussianBlur\\\",\\\"feImage\\\",\\\"feMerge\\\",\\\"feMergeNode\\\",\\\"feMorphology\\\",\\\"feOffset\\\",\\\"fePointLight\\\",\\\"feSpecularLighting\\\",\\\"feSpotLight\\\",\\\"feTile\\\",\\\"feTurbulence\\\"]),Xk=Lr([\\\"animate\\\",\\\"color-profile\\\",\\\"cursor\\\",\\\"discard\\\",\\\"fedropshadow\\\",\\\"font-face\\\",\\\"font-face-format\\\",\\\"font-face-name\\\",\\\"font-face-src\\\",\\\"font-face-uri\\\",\\\"foreignobject\\\",\\\"hatch\\\",\\\"hatchpath\\\",\\\"mesh\\\",\\\"meshgradient\\\",\\\"meshpatch\\\",\\\"meshrow\\\",\\\"missing-glyph\\\",\\\"script\\\",\\\"set\\\",\\\"solidcolor\\\",\\\"unknown\\\",\\\"use\\\"]),r1=Lr([\\\"math\\\",\\\"menclose\\\",\\\"merror\\\",\\\"mfenced\\\",\\\"mfrac\\\",\\\"mglyph\\\",\\\"mi\\\",\\\"mlabeledtr\\\",\\\"mmultiscripts\\\",\\\"mn\\\",\\\"mo\\\",\\\"mover\\\",\\\"mpadded\\\",\\\"mphantom\\\",\\\"mroot\\\",\\\"mrow\\\",\\\"ms\\\",\\\"mspace\\\",\\\"msqrt\\\",\\\"mstyle\\\",\\\"msub\\\",\\\"msup\\\",\\\"msubsup\\\",\\\"mtable\\\",\\\"mtd\\\",\\\"mtext\\\",\\\"mtr\\\",\\\"munder\\\",\\\"munderover\\\"]),Kk=Lr([\\\"maction\\\",\\\"maligngroup\\\",\\\"malignmark\\\",\\\"mlongdiv\\\",\\\"mscarries\\\",\\\"mscarry\\\",\\\"msgroup\\\",\\\"mstack\\\",\\\"msline\\\",\\\"msrow\\\",\\\"semantics\\\",\\\"annotation\\\",\\\"annotation-xml\\\",\\\"mprescripts\\\",\\\"none\\\"]),X2=Lr([\\\"#text\\\"]),K2=Lr([\\\"accept\\\",\\\"action\\\",\\\"align\\\",\\\"alt\\\",\\\"autocapitalize\\\",\\\"autocomplete\\\",\\\"autopictureinpicture\\\",\\\"autoplay\\\",\\\"background\\\",\\\"bgcolor\\\",\\\"border\\\",\\\"capture\\\",\\\"cellpadding\\\",\\\"cellspacing\\\",\\\"checked\\\",\\\"cite\\\",\\\"class\\\",\\\"clear\\\",\\\"color\\\",\\\"cols\\\",\\\"colspan\\\",\\\"controls\\\",\\\"controlslist\\\",\\\"coords\\\",\\\"crossorigin\\\",\\\"datetime\\\",\\\"decoding\\\",\\\"default\\\",\\\"dir\\\",\\\"disabled\\\",\\\"disablepictureinpicture\\\",\\\"disableremoteplayback\\\",\\\"download\\\",\\\"draggable\\\",\\\"enctype\\\",\\\"enterkeyhint\\\",\\\"face\\\",\\\"for\\\",\\\"headers\\\",\\\"height\\\",\\\"hidden\\\",\\\"high\\\",\\\"href\\\",\\\"hreflang\\\",\\\"id\\\",\\\"inputmode\\\",\\\"integrity\\\",\\\"ismap\\\",\\\"kind\\\",\\\"label\\\",\\\"lang\\\",\\\"list\\\",\\\"loading\\\",\\\"loop\\\",\\\"low\\\",\\\"max\\\",\\\"maxlength\\\",\\\"media\\\",\\\"method\\\",\\\"min\\\",\\\"minlength\\\",\\\"multiple\\\",\\\"muted\\\",\\\"name\\\",\\\"nonce\\\",\\\"noshade\\\",\\\"novalidate\\\",\\\"nowrap\\\",\\\"open\\\",\\\"optimum\\\",\\\"pattern\\\",\\\"placeholder\\\",\\\"playsinline\\\",\\\"poster\\\",\\\"preload\\\",\\\"pubdate\\\",\\\"radiogroup\\\",\\\"readonly\\\",\\\"rel\\\",\\\"required\\\",\\\"rev\\\",\\\"reversed\\\",\\\"role\\\",\\\"rows\\\",\\\"rowspan\\\",\\\"spellcheck\\\",\\\"scope\\\",\\\"selected\\\",\\\"shape\\\",\\\"size\\\",\\\"sizes\\\",\\\"span\\\",\\\"srclang\\\",\\\"start\\\",\\\"src\\\",\\\"srcset\\\",\\\"step\\\",\\\"style\\\",\\\"summary\\\",\\\"tabindex\\\",\\\"title\\\",\\\"translate\\\",\\\"type\\\",\\\"usemap\\\",\\\"valign\\\",\\\"value\\\",\\\"width\\\",\\\"xmlns\\\",\\\"slot\\\"]),n1=Lr([\\\"accent-height\\\",\\\"accumulate\\\",\\\"additive\\\",\\\"alignment-baseline\\\",\\\"ascent\\\",\\\"attributename\\\",\\\"attributetype\\\",\\\"azimuth\\\",\\\"basefrequency\\\",\\\"baseline-shift\\\",\\\"begin\\\",\\\"bias\\\",\\\"by\\\",\\\"class\\\",\\\"clip\\\",\\\"clippathunits\\\",\\\"clip-path\\\",\\\"clip-rule\\\",\\\"color\\\",\\\"color-interpolation\\\",\\\"color-interpolation-filters\\\",\\\"color-profile\\\",\\\"color-rendering\\\",\\\"cx\\\",\\\"cy\\\",\\\"d\\\",\\\"dx\\\",\\\"dy\\\",\\\"diffuseconstant\\\",\\\"direction\\\",\\\"display\\\",\\\"divisor\\\",\\\"dur\\\",\\\"edgemode\\\",\\\"elevation\\\",\\\"end\\\",\\\"fill\\\",\\\"fill-opacity\\\",\\\"fill-rule\\\",\\\"filter\\\",\\\"filterunits\\\",\\\"flood-color\\\",\\\"flood-opacity\\\",\\\"font-family\\\",\\\"font-size\\\",\\\"font-size-adjust\\\",\\\"font-stretch\\\",\\\"font-style\\\",\\\"font-variant\\\",\\\"font-weight\\\",\\\"fx\\\",\\\"fy\\\",\\\"g1\\\",\\\"g2\\\",\\\"glyph-name\\\",\\\"glyphref\\\",\\\"gradientunits\\\",\\\"gradienttransform\\\",\\\"height\\\",\\\"href\\\",\\\"id\\\",\\\"image-rendering\\\",\\\"in\\\",\\\"in2\\\",\\\"k\\\",\\\"k1\\\",\\\"k2\\\",\\\"k3\\\",\\\"k4\\\",\\\"kerning\\\",\\\"keypoints\\\",\\\"keysplines\\\",\\\"keytimes\\\",\\\"lang\\\",\\\"lengthadjust\\\",\\\"letter-spacing\\\",\\\"kernelmatrix\\\",\\\"kernelunitlength\\\",\\\"lighting-color\\\",\\\"local\\\",\\\"marker-end\\\",\\\"marker-mid\\\",\\\"marker-start\\\",\\\"markerheight\\\",\\\"markerunits\\\",\\\"markerwidth\\\",\\\"maskcontentunits\\\",\\\"maskunits\\\",\\\"max\\\",\\\"mask\\\",\\\"media\\\",\\\"method\\\",\\\"mode\\\",\\\"min\\\",\\\"name\\\",\\\"numoctaves\\\",\\\"offset\\\",\\\"operator\\\",\\\"opacity\\\",\\\"order\\\",\\\"orient\\\",\\\"orientation\\\",\\\"origin\\\",\\\"overflow\\\",\\\"paint-order\\\",\\\"path\\\",\\\"pathlength\\\",\\\"patterncontentunits\\\",\\\"patterntransform\\\",\\\"patternunits\\\",\\\"points\\\",\\\"preservealpha\\\",\\\"preserveaspectratio\\\",\\\"primitiveunits\\\",\\\"r\\\",\\\"rx\\\",\\\"ry\\\",\\\"radius\\\",\\\"refx\\\",\\\"refy\\\",\\\"repeatcount\\\",\\\"repeatdur\\\",\\\"restart\\\",\\\"result\\\",\\\"rotate\\\",\\\"scale\\\",\\\"seed\\\",\\\"shape-rendering\\\",\\\"specularconstant\\\",\\\"specularexponent\\\",\\\"spreadmethod\\\",\\\"startoffset\\\",\\\"stddeviation\\\",\\\"stitchtiles\\\",\\\"stop-color\\\",\\\"stop-opacity\\\",\\\"stroke-dasharray\\\",\\\"stroke-dashoffset\\\",\\\"stroke-linecap\\\",\\\"stroke-linejoin\\\",\\\"stroke-miterlimit\\\",\\\"stroke-opacity\\\",\\\"stroke\\\",\\\"stroke-width\\\",\\\"style\\\",\\\"surfacescale\\\",\\\"systemlanguage\\\",\\\"tabindex\\\",\\\"targetx\\\",\\\"targety\\\",\\\"transform\\\",\\\"transform-origin\\\",\\\"text-anchor\\\",\\\"text-decoration\\\",\\\"text-rendering\\\",\\\"textlength\\\",\\\"type\\\",\\\"u1\\\",\\\"u2\\\",\\\"unicode\\\",\\\"values\\\",\\\"viewbox\\\",\\\"visibility\\\",\\\"version\\\",\\\"vert-adv-y\\\",\\\"vert-origin-x\\\",\\\"vert-origin-y\\\",\\\"width\\\",\\\"word-spacing\\\",\\\"wrap\\\",\\\"writing-mode\\\",\\\"xchannelselector\\\",\\\"ychannelselector\\\",\\\"x\\\",\\\"x1\\\",\\\"x2\\\",\\\"xmlns\\\",\\\"y\\\",\\\"y1\\\",\\\"y2\\\",\\\"z\\\",\\\"zoomandpan\\\"]),Z2=Lr([\\\"accent\\\",\\\"accentunder\\\",\\\"align\\\",\\\"bevelled\\\",\\\"close\\\",\\\"columnsalign\\\",\\\"columnlines\\\",\\\"columnspan\\\",\\\"denomalign\\\",\\\"depth\\\",\\\"dir\\\",\\\"display\\\",\\\"displaystyle\\\",\\\"encoding\\\",\\\"fence\\\",\\\"frame\\\",\\\"height\\\",\\\"href\\\",\\\"id\\\",\\\"largeop\\\",\\\"length\\\",\\\"linethickness\\\",\\\"lspace\\\",\\\"lquote\\\",\\\"mathbackground\\\",\\\"mathcolor\\\",\\\"mathsize\\\",\\\"mathvariant\\\",\\\"maxsize\\\",\\\"minsize\\\",\\\"movablelimits\\\",\\\"notation\\\",\\\"numalign\\\",\\\"open\\\",\\\"rowalign\\\",\\\"rowlines\\\",\\\"rowspacing\\\",\\\"rowspan\\\",\\\"rspace\\\",\\\"rquote\\\",\\\"scriptlevel\\\",\\\"scriptminsize\\\",\\\"scriptsizemultiplier\\\",\\\"selection\\\",\\\"separator\\\",\\\"separators\\\",\\\"stretchy\\\",\\\"subscriptshift\\\",\\\"supscriptshift\\\",\\\"symmetric\\\",\\\"voffset\\\",\\\"width\\\",\\\"xmlns\\\"]),Jl=Lr([\\\"xlink:href\\\",\\\"xml:id\\\",\\\"xlink:title\\\",\\\"xml:space\\\",\\\"xmlns:xlink\\\"]),Zk=pn(/\\\\{\\\\{[\\\\w\\\\W]*|[\\\\w\\\\W]*\\\\}\\\\}/gm),Qk=pn(/\u003C%[\\\\w\\\\W]*|[\\\\w\\\\W]*%>/gm),Jk=pn(/\\\\${[\\\\w\\\\W]*}/gm),t8=pn(/^data-[\\\\-\\\\w.\\\\u00B7-\\\\uFFFF]/),e8=pn(/^aria-[\\\\-\\\\w]+$/),r8=pn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\\\\-]+(?:[^a-z+.\\\\-:]|$))/i),n8=pn(/^(?:\\\\w+script|data):/i),i8=pn(/[\\\\u0000-\\\\u0020\\\\u00A0\\\\u1680\\\\u180E\\\\u2000-\\\\u2029\\\\u205F\\\\u3000]/g),s8=pn(/^html$/i),a8=function(){return typeof window>\\\"u\\\"?null:window},o8=function(e,r){if(Ii(e)!==\\\"object\\\"||typeof e.createPolicy!=\\\"function\\\")return null;var n=null,i=\\\"data-tt-policy-suffix\\\";r.currentScript&&r.currentScript.hasAttribute(i)&&(n=r.currentScript.getAttribute(i));var s=\\\"dompurify\\\"+(n?\\\"#\\\"+n:\\\"\\\");try{return e.createPolicy(s,{createHTML:function(o){return o},createScriptURL:function(o){return o}})}catch{return console.warn(\\\"TrustedTypes policy \\\"+s+\\\" could not be created.\\\"),null}};function Q2(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a8(),e=function(Z){return Q2(Z)};if(e.version=\\\"2.4.1\\\",e.removed=[],!t||!t.document||t.document.nodeType!==9)return e.isSupported=!1,e;var r=t.document,n=t.document,i=t.DocumentFragment,s=t.HTMLTemplateElement,a=t.Node,o=t.Element,l=t.NodeFilter,u=t.NamedNodeMap,d=u===void 0?t.NamedNodeMap||t.MozNamedAttrMap:u,f=t.HTMLFormElement,p=t.DOMParser,g=t.trustedTypes,b=o.prototype,k=Ql(b,\\\"cloneNode\\\"),T=Ql(b,\\\"nextSibling\\\"),L=Ql(b,\\\"childNodes\\\"),E=Ql(b,\\\"parentNode\\\");if(typeof s==\\\"function\\\"){var I=n.createElement(\\\"template\\\");I.content&&I.content.ownerDocument&&(n=I.content.ownerDocument)}var V=o8(g,r),H=V?V.createHTML(\\\"\\\"):\\\"\\\",G=n,Y=G.implementation,W=G.createNodeIterator,N=G.createDocumentFragment,D=G.getElementsByTagName,w=r.importNode,v={};try{v=ds(n).documentMode?n.documentMode:{}}catch{}var M={};e.isSupported=typeof E==\\\"function\\\"&&Y&&typeof Y.createHTMLDocument\u003C\\\"u\\\"&&v!==9;var m=Zk,Q=Qk,x=Jk,ct=t8,Dt=e8,kt=n8,j=i8,ot=r8,rt=null,nt=we({},[].concat(fn($2),fn(t1),fn(e1),fn(r1),fn(X2))),ut=null,_t=we({},[].concat(fn(K2),fn(n1),fn(Z2),fn(Jl))),K=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ot=null,P=null,z=!0,X=!0,F=!1,O=!1,A=!1,J=!1,C=!1,ht=!1,U=!1,Yt=!1,et=!0,Mt=!1,Tt=\\\"user-content-\\\",gt=!0,Et=!1,wt={},pt=null,st=we({},[\\\"annotation-xml\\\",\\\"audio\\\",\\\"colgroup\\\",\\\"desc\\\",\\\"foreignobject\\\",\\\"head\\\",\\\"iframe\\\",\\\"math\\\",\\\"mi\\\",\\\"mn\\\",\\\"mo\\\",\\\"ms\\\",\\\"mtext\\\",\\\"noembed\\\",\\\"noframes\\\",\\\"noscript\\\",\\\"plaintext\\\",\\\"script\\\",\\\"style\\\",\\\"svg\\\",\\\"template\\\",\\\"thead\\\",\\\"title\\\",\\\"video\\\",\\\"xmp\\\"]),le=null,Xt=we({},[\\\"audio\\\",\\\"video\\\",\\\"img\\\",\\\"source\\\",\\\"image\\\",\\\"track\\\"]),jt=null,Kt=we({},[\\\"alt\\\",\\\"class\\\",\\\"for\\\",\\\"id\\\",\\\"label\\\",\\\"name\\\",\\\"pattern\\\",\\\"placeholder\\\",\\\"role\\\",\\\"summary\\\",\\\"title\\\",\\\"value\\\",\\\"style\\\",\\\"xmlns\\\"]),Gt=\\\"http://www.w3.org/1998/Math/MathML\\\",Ee=\\\"http://www.w3.org/2000/svg\\\",Ht=\\\"http://www.w3.org/1999/xhtml\\\",Vt=Ht,Ft=!1,xt=null,ft=we({},[Gt,Ee,Ht],Qh),Lt,bt=[\\\"application/xhtml+xml\\\",\\\"text/html\\\"],Ut=\\\"text/html\\\",at,ie=null,dt=n.createElement(\\\"form\\\"),ee=function(Z){return Z instanceof RegExp||Z instanceof Function},fe=function(Z){ie&&ie===Z||((!Z||Ii(Z)!==\\\"object\\\")&&(Z={}),Z=ds(Z),Lt=bt.indexOf(Z.PARSER_MEDIA_TYPE)===-1?Lt=Ut:Lt=Z.PARSER_MEDIA_TYPE,at=Lt===\\\"application/xhtml+xml\\\"?Qh:Zl,rt=\\\"ALLOWED_TAGS\\\"in Z?we({},Z.ALLOWED_TAGS,at):nt,ut=\\\"ALLOWED_ATTR\\\"in Z?we({},Z.ALLOWED_ATTR,at):_t,xt=\\\"ALLOWED_NAMESPACES\\\"in Z?we({},Z.ALLOWED_NAMESPACES,Qh):ft,jt=\\\"ADD_URI_SAFE_ATTR\\\"in Z?we(ds(Kt),Z.ADD_URI_SAFE_ATTR,at):Kt,le=\\\"ADD_DATA_URI_TAGS\\\"in Z?we(ds(Xt),Z.ADD_DATA_URI_TAGS,at):Xt,pt=\\\"FORBID_CONTENTS\\\"in Z?we({},Z.FORBID_CONTENTS,at):st,Ot=\\\"FORBID_TAGS\\\"in Z?we({},Z.FORBID_TAGS,at):{},P=\\\"FORBID_ATTR\\\"in Z?we({},Z.FORBID_ATTR,at):{},wt=\\\"USE_PROFILES\\\"in Z?Z.USE_PROFILES:!1,z=Z.ALLOW_ARIA_ATTR!==!1,X=Z.ALLOW_DATA_ATTR!==!1,F=Z.ALLOW_UNKNOWN_PROTOCOLS||!1,O=Z.SAFE_FOR_TEMPLATES||!1,A=Z.WHOLE_DOCUMENT||!1,ht=Z.RETURN_DOM||!1,U=Z.RETURN_DOM_FRAGMENT||!1,Yt=Z.RETURN_TRUSTED_TYPE||!1,C=Z.FORCE_BODY||!1,et=Z.SANITIZE_DOM!==!1,Mt=Z.SANITIZE_NAMED_PROPS||!1,gt=Z.KEEP_CONTENT!==!1,Et=Z.IN_PLACE||!1,ot=Z.ALLOWED_URI_REGEXP||ot,Vt=Z.NAMESPACE||Ht,Z.CUSTOM_ELEMENT_HANDLING&&ee(Z.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(K.tagNameCheck=Z.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Z.CUSTOM_ELEMENT_HANDLING&&ee(Z.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(K.attributeNameCheck=Z.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Z.CUSTOM_ELEMENT_HANDLING&&typeof Z.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==\\\"boolean\\\"&&(K.allowCustomizedBuiltInElements=Z.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),O&&(X=!1),U&&(ht=!0),wt&&(rt=we({},fn(X2)),ut=[],wt.html===!0&&(we(rt,$2),we(ut,K2)),wt.svg===!0&&(we(rt,t1),we(ut,n1),we(ut,Jl)),wt.svgFilters===!0&&(we(rt,e1),we(ut,n1),we(ut,Jl)),wt.mathMl===!0&&(we(rt,r1),we(ut,Z2),we(ut,Jl))),Z.ADD_TAGS&&(rt===nt&&(rt=ds(rt)),we(rt,Z.ADD_TAGS,at)),Z.ADD_ATTR&&(ut===_t&&(ut=ds(ut)),we(ut,Z.ADD_ATTR,at)),Z.ADD_URI_SAFE_ATTR&&we(jt,Z.ADD_URI_SAFE_ATTR,at),Z.FORBID_CONTENTS&&(pt===st&&(pt=ds(pt)),we(pt,Z.FORBID_CONTENTS,at)),gt&&(rt[\\\"#text\\\"]=!0),A&&we(rt,[\\\"html\\\",\\\"head\\\",\\\"body\\\"]),rt.table&&(we(rt,[\\\"tbody\\\"]),delete Ot.tbody),Lr&&Lr(Z),ie=Z)},be=we({},[\\\"mi\\\",\\\"mo\\\",\\\"mn\\\",\\\"ms\\\",\\\"mtext\\\"]),_e=we({},[\\\"foreignobject\\\",\\\"desc\\\",\\\"title\\\",\\\"annotation-xml\\\"]),ke=we({},[\\\"title\\\",\\\"style\\\",\\\"font\\\",\\\"a\\\",\\\"script\\\"]),$t=we({},t1);we($t,e1),we($t,Xk);var se=we({},r1);we(se,Kk);var ye=function(Z){var At=E(Z);(!At||!At.tagName)&&(At={namespaceURI:Vt,tagName:\\\"template\\\"});var Nt=Zl(Z.tagName),pe=Zl(At.tagName);return xt[Z.namespaceURI]?Z.namespaceURI===Ee?At.namespaceURI===Ht?Nt===\\\"svg\\\":At.namespaceURI===Gt?Nt===\\\"svg\\\"&&(pe===\\\"annotation-xml\\\"||be[pe]):Boolean($t[Nt]):Z.namespaceURI===Gt?At.namespaceURI===Ht?Nt===\\\"math\\\":At.namespaceURI===Ee?Nt===\\\"math\\\"&&_e[pe]:Boolean(se[Nt]):Z.namespaceURI===Ht?At.namespaceURI===Ee&&!_e[pe]||At.namespaceURI===Gt&&!be[pe]?!1:!se[Nt]&&(ke[Nt]||!$t[Nt]):!!(Lt===\\\"application/xhtml+xml\\\"&&xt[Z.namespaceURI]):!1},Jt=function(Z){no(e.removed,{element:Z});try{Z.parentNode.removeChild(Z)}catch{try{Z.outerHTML=H}catch{Z.remove()}}},Nn=function(Z,At){try{no(e.removed,{attribute:At.getAttributeNode(Z),from:At})}catch{no(e.removed,{attribute:null,from:At})}if(At.removeAttribute(Z),Z===\\\"is\\\"&&!ut[Z])if(ht||U)try{Jt(At)}catch{}else try{At.setAttribute(Z,\\\"\\\")}catch{}},Xr=function(Z){var At,Nt;if(C)Z=\\\"\u003Cremove>\u003C/remove>\\\"+Z;else{var pe=Gk(Z,/^[\\\\r\\\\n\\\\t ]+/);Nt=pe&&pe[0]}Lt===\\\"application/xhtml+xml\\\"&&Vt===Ht&&(Z='\u003Chtml xmlns=\\\"http://www.w3.org/1999/xhtml\\\">\u003Chead>\u003C/head>\u003Cbody>'+Z+\\\"\u003C/body>\u003C/html>\\\");var Me=V?V.createHTML(Z):Z;if(Vt===Ht)try{At=new p().parseFromString(Me,Lt)}catch{}if(!At||!At.documentElement){At=Y.createDocument(Vt,\\\"template\\\",null);try{At.documentElement.innerHTML=Ft?\\\"\\\":Me}catch{}}var Le=At.body||At.documentElement;return Z&&Nt&&Le.insertBefore(n.createTextNode(Nt),Le.childNodes[0]||null),Vt===Ht?D.call(At,A?\\\"html\\\":\\\"body\\\")[0]:A?At.documentElement:Le},De=function(Z){return W.call(Z.ownerDocument||Z,Z,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},ae=function(Z){return Z instanceof f&&(typeof Z.nodeName!=\\\"string\\\"||typeof Z.textContent!=\\\"string\\\"||typeof Z.removeChild!=\\\"function\\\"||!(Z.attributes instanceof d)||typeof Z.removeAttribute!=\\\"function\\\"||typeof Z.setAttribute!=\\\"function\\\"||typeof Z.namespaceURI!=\\\"string\\\"||typeof Z.insertBefore!=\\\"function\\\"||typeof Z.hasChildNodes!=\\\"function\\\")},Be=function(Z){return Ii(a)===\\\"object\\\"?Z instanceof a:Z&&Ii(Z)===\\\"object\\\"&&typeof Z.nodeType==\\\"number\\\"&&typeof Z.nodeName==\\\"string\\\"},Re=function(Z,At,Nt){!M[Z]||Hk(M[Z],function(pe){pe.call(e,At,Nt,ie)})},Pe=function(Z){var At;if(Re(\\\"beforeSanitizeElements\\\",Z,null),ae(Z)||Dr(/[\\\\u0080-\\\\uFFFF]/,Z.nodeName))return Jt(Z),!0;var Nt=at(Z.nodeName);if(Re(\\\"uponSanitizeElement\\\",Z,{tagName:Nt,allowedTags:rt}),Z.hasChildNodes()&&!Be(Z.firstElementChild)&&(!Be(Z.content)||!Be(Z.content.firstElementChild))&&Dr(/\u003C[/\\\\w]/g,Z.innerHTML)&&Dr(/\u003C[/\\\\w]/g,Z.textContent)||Nt===\\\"select\\\"&&Dr(/\u003Ctemplate/i,Z.innerHTML))return Jt(Z),!0;if(!rt[Nt]||Ot[Nt]){if(!Ot[Nt]&&Ie(Nt)&&(K.tagNameCheck instanceof RegExp&&Dr(K.tagNameCheck,Nt)||K.tagNameCheck instanceof Function&&K.tagNameCheck(Nt)))return!1;if(gt&&!pt[Nt]){var pe=E(Z)||Z.parentNode,Me=L(Z)||Z.childNodes;if(Me&&pe)for(var Le=Me.length,We=Le-1;We>=0;--We)pe.insertBefore(k(Me[We],!0),T(Z))}return Jt(Z),!0}return Z instanceof o&&!ye(Z)||(Nt===\\\"noscript\\\"||Nt===\\\"noembed\\\")&&Dr(/\u003C\\\\/no(script|embed)/i,Z.innerHTML)?(Jt(Z),!0):(O&&Z.nodeType===3&&(At=Z.textContent,At=gn(At,m,\\\" \\\"),At=gn(At,Q,\\\" \\\"),At=gn(At,x,\\\" \\\"),Z.textContent!==At&&(no(e.removed,{element:Z.cloneNode()}),Z.textContent=At)),Re(\\\"afterSanitizeElements\\\",Z,null),!1)},Ye=function(Z,At,Nt){if(et&&(At===\\\"id\\\"||At===\\\"name\\\")&&(Nt in n||Nt in dt))return!1;if(!(X&&!P[At]&&Dr(ct,At))){if(!(z&&Dr(Dt,At))){if(!ut[At]||P[At]){if(!(Ie(Z)&&(K.tagNameCheck instanceof RegExp&&Dr(K.tagNameCheck,Z)||K.tagNameCheck instanceof Function&&K.tagNameCheck(Z))&&(K.attributeNameCheck instanceof RegExp&&Dr(K.attributeNameCheck,At)||K.attributeNameCheck instanceof Function&&K.attributeNameCheck(At))||At===\\\"is\\\"&&K.allowCustomizedBuiltInElements&&(K.tagNameCheck instanceof RegExp&&Dr(K.tagNameCheck,Nt)||K.tagNameCheck instanceof Function&&K.tagNameCheck(Nt))))return!1}else if(!jt[At]){if(!Dr(ot,gn(Nt,j,\\\"\\\"))){if(!((At===\\\"src\\\"||At===\\\"xlink:href\\\"||At===\\\"href\\\")&&Z!==\\\"script\\\"&&qk(Nt,\\\"data:\\\")===0&&le[Z])){if(!(F&&!Dr(kt,gn(Nt,j,\\\"\\\")))){if(Nt)return!1}}}}}}return!0},Ie=function(Z){return Z.indexOf(\\\"-\\\")>0},$e=function(Z){var At,Nt,pe,Me;Re(\\\"beforeSanitizeAttributes\\\",Z,null);var Le=Z.attributes;if(!!Le){var We={attrName:\\\"\\\",attrValue:\\\"\\\",keepAttr:!0,allowedAttributes:ut};for(Me=Le.length;Me--;){At=Le[Me];var ve=At,Ne=ve.name,Xi=ve.namespaceURI;if(Nt=Ne===\\\"value\\\"?At.value:jk(At.value),pe=at(Ne),We.attrName=pe,We.attrValue=Nt,We.keepAttr=!0,We.forceKeepAttr=void 0,Re(\\\"uponSanitizeAttribute\\\",Z,We),Nt=We.attrValue,!We.forceKeepAttr&&(Nn(Ne,Z),!!We.keepAttr)){if(Dr(/\\\\/>/i,Nt)){Nn(Ne,Z);continue}O&&(Nt=gn(Nt,m,\\\" \\\"),Nt=gn(Nt,Q,\\\" \\\"),Nt=gn(Nt,x,\\\" \\\"));var Ki=at(Z.nodeName);if(!!Ye(Ki,pe,Nt)){if(Mt&&(pe===\\\"id\\\"||pe===\\\"name\\\")&&(Nn(Ne,Z),Nt=Tt+Nt),V&&Ii(g)===\\\"object\\\"&&typeof g.getAttributeType==\\\"function\\\"&&!Xi)switch(g.getAttributeType(Ki,pe)){case\\\"TrustedHTML\\\":Nt=V.createHTML(Nt);break;case\\\"TrustedScriptURL\\\":Nt=V.createScriptURL(Nt);break}try{Xi?Z.setAttributeNS(Xi,Ne,Nt):Z.setAttribute(Ne,Nt),j2(e.removed)}catch{}}}}Re(\\\"afterSanitizeAttributes\\\",Z,null)}},ar=function zt(Z){var At,Nt=De(Z);for(Re(\\\"beforeSanitizeShadowDOM\\\",Z,null);At=Nt.nextNode();)Re(\\\"uponSanitizeShadowNode\\\",At,null),!Pe(At)&&(At.content instanceof i&&zt(At.content),$e(At));Re(\\\"afterSanitizeShadowDOM\\\",Z,null)};return e.sanitize=function(zt){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},At,Nt,pe,Me,Le;if(Ft=!zt,Ft&&(zt=\\\"\u003C!-->\\\"),typeof zt!=\\\"string\\\"&&!Be(zt)){if(typeof zt.toString!=\\\"function\\\")throw Jh(\\\"toString is not a function\\\");if(zt=zt.toString(),typeof zt!=\\\"string\\\")throw Jh(\\\"dirty is not a string, aborting\\\")}if(!e.isSupported){if(Ii(t.toStaticHTML)===\\\"object\\\"||typeof t.toStaticHTML==\\\"function\\\"){if(typeof zt==\\\"string\\\")return t.toStaticHTML(zt);if(Be(zt))return t.toStaticHTML(zt.outerHTML)}return zt}if(J||fe(Z),e.removed=[],typeof zt==\\\"string\\\"&&(Et=!1),Et){if(zt.nodeName){var We=at(zt.nodeName);if(!rt[We]||Ot[We])throw Jh(\\\"root node is forbidden and cannot be sanitized in-place\\\")}}else if(zt instanceof a)At=Xr(\\\"\u003C!---->\\\"),Nt=At.ownerDocument.importNode(zt,!0),Nt.nodeType===1&&Nt.nodeName===\\\"BODY\\\"||Nt.nodeName===\\\"HTML\\\"?At=Nt:At.appendChild(Nt);else{if(!ht&&!O&&!A&&zt.indexOf(\\\"\u003C\\\")===-1)return V&&Yt?V.createHTML(zt):zt;if(At=Xr(zt),!At)return ht?null:Yt?H:\\\"\\\"}At&&C&&Jt(At.firstChild);for(var ve=De(Et?zt:At);pe=ve.nextNode();)pe.nodeType===3&&pe===Me||Pe(pe)||(pe.content instanceof i&&ar(pe.content),$e(pe),Me=pe);if(Me=null,Et)return zt;if(ht){if(U)for(Le=N.call(At.ownerDocument);At.firstChild;)Le.appendChild(At.firstChild);else Le=At;return ut.shadowroot&&(Le=w.call(r,Le,!0)),Le}var Ne=A?At.outerHTML:At.innerHTML;return A&&rt[\\\"!doctype\\\"]&&At.ownerDocument&&At.ownerDocument.doctype&&At.ownerDocument.doctype.name&&Dr(s8,At.ownerDocument.doctype.name)&&(Ne=\\\"\u003C!DOCTYPE \\\"+At.ownerDocument.doctype.name+`>\\n`+Ne),O&&(Ne=gn(Ne,m,\\\" \\\"),Ne=gn(Ne,Q,\\\" \\\"),Ne=gn(Ne,x,\\\" \\\")),V&&Yt?V.createHTML(Ne):Ne},e.setConfig=function(zt){fe(zt),J=!0},e.clearConfig=function(){ie=null,J=!1},e.isValidAttribute=function(zt,Z,At){ie||fe({});var Nt=at(zt),pe=at(Z);return Ye(Nt,pe,At)},e.addHook=function(zt,Z){typeof Z==\\\"function\\\"&&(M[zt]=M[zt]||[],no(M[zt],Z))},e.removeHook=function(zt){if(M[zt])return j2(M[zt])},e.removeHooks=function(zt){M[zt]&&(M[zt]=[])},e.removeAllHooks=function(){M={}},e}var io=Q2();const l8=t=>t?ep(t).replace(/\\\\\\\\n/g,\\\"#br#\\\").split(\\\"#br#\\\"):[\\\"\\\"],J2=t=>io.sanitize(t),tp=(t,e)=>{var r;if(((r=e.flowchart)==null?void 0:r.htmlLabels)!==!1){const n=e.securityLevel;n===\\\"antiscript\\\"||n===\\\"strict\\\"?t=J2(t):n!==\\\"loose\\\"&&(t=ep(t),t=t.replace(/\u003C/g,\\\"<\\\").replace(/>/g,\\\">\\\"),t=t.replace(/=/g,\\\"=\\\"),t=d8(t))}return t},yn=(t,e)=>t&&(e.dompurifyConfig?t=io.sanitize(tp(t,e),e.dompurifyConfig).toString():t=io.sanitize(tp(t,e),{FORBID_TAGS:[\\\"style\\\"]}).toString(),t),c8=(t,e)=>typeof t==\\\"string\\\"?yn(t,e):t.flat().map(r=>yn(r,e)),tc=/\u003Cbr\\\\s*\\\\/?>/gi,u8=t=>tc.test(t),h8=t=>t.split(tc),d8=t=>t.replace(/#br#/g,\\\"\u003Cbr/>\\\"),ep=t=>t.replace(tc,\\\"#br#\\\"),f8=t=>{let e=\\\"\\\";return t&&(e=window.location.protocol+\\\"//\\\"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\\\\(/g,\\\"\\\\\\\\(\\\"),e=e.replaceAll(/\\\\)/g,\\\"\\\\\\\\)\\\")),e},pr=t=>!(t===!1||[\\\"false\\\",\\\"null\\\",\\\"0\\\"].includes(String(t).trim().toLowerCase())),Oi=function(t){let e=t;return t.includes(\\\"~\\\")?(e=e.replace(/~([^~].*)/,\\\"\u003C$1\\\"),e=e.replace(/~([^~]*)$/,\\\">$1\\\"),Oi(e)):e},he={getRows:l8,sanitizeText:yn,sanitizeTextOrArray:c8,hasBreaks:u8,splitBreaks:h8,lineBreakRegex:tc,removeScript:J2,getUrl:f8,evaluate:pr},ec={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t\u003C0?0:t,g:t=>t>=255?255:t\u003C0?0:t,b:t=>t>=255?255:t\u003C0?0:t,h:t=>t%360,s:t=>t>=100?100:t\u003C0?0:t,l:t=>t>=100?100:t\u003C0?0:t,a:t=>t>=1?1:t\u003C0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r\u003C0&&(r+=1),r>1&&(r-=1),r\u003C1/6?t+(e-t)*6*r:r\u003C1/2?e:r\u003C2/3?t+(e-t)*(2/3-r)*6:t),hsl2rgb:({h:t,s:e,l:r},n)=>{if(!e)return r*2.55;t/=360,e/=100,r/=100;const i=r\u003C.5?r*(1+e):r+e-r*e,s=2*r-i;switch(n){case\\\"r\\\":return ec.hue2rgb(s,i,t+1/3)*255;case\\\"g\\\":return ec.hue2rgb(s,i,t)*255;case\\\"b\\\":return ec.hue2rgb(s,i,t-1/3)*255}},rgb2hsl:({r:t,g:e,b:r},n)=>{t/=255,e/=255,r/=255;const i=Math.max(t,e,r),s=Math.min(t,e,r),a=(i+s)/2;if(n===\\\"l\\\")return a*100;if(i===s)return 0;const o=i-s,l=a>.5?o/(2-i-s):o/(i+s);if(n===\\\"s\\\")return l*100;switch(i){case t:return((e-r)/o+(e\u003Cr?6:0))*60;case e:return((r-t)/o+2)*60;case r:return((t-e)/o+4)*60;default:return-1}}},xe={channel:ec,lang:{clamp:(t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(t*1e10)/1e10},unit:{dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}},Ri={};for(let t=0;t\u003C=255;t++)Ri[t]=xe.unit.dec2hex(t);const wr={ALL:0,RGB:1,HSL:2};class p8{constructor(){this.type=wr.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error(\\\"Cannot change both RGB and HSL channels at the same time\\\");this.type=e}reset(){this.type=wr.ALL}is(e){return this.type===e}}const g8=p8;class y8{constructor(e,r){this.color=r,this.changed=!1,this.data=e,this.type=new g8}set(e,r){return this.color=r,this.changed=!1,this.data=e,this.type.type=wr.ALL,this}_ensureHSL(){const e=this.data,{h:r,s:n,l:i}=e;r===void 0&&(e.h=xe.channel.rgb2hsl(e,\\\"h\\\")),n===void 0&&(e.s=xe.channel.rgb2hsl(e,\\\"s\\\")),i===void 0&&(e.l=xe.channel.rgb2hsl(e,\\\"l\\\"))}_ensureRGB(){const e=this.data,{r,g:n,b:i}=e;r===void 0&&(e.r=xe.channel.hsl2rgb(e,\\\"r\\\")),n===void 0&&(e.g=xe.channel.hsl2rgb(e,\\\"g\\\")),i===void 0&&(e.b=xe.channel.hsl2rgb(e,\\\"b\\\"))}get r(){const e=this.data,r=e.r;return!this.type.is(wr.HSL)&&r!==void 0?r:(this._ensureHSL(),xe.channel.hsl2rgb(e,\\\"r\\\"))}get g(){const e=this.data,r=e.g;return!this.type.is(wr.HSL)&&r!==void 0?r:(this._ensureHSL(),xe.channel.hsl2rgb(e,\\\"g\\\"))}get b(){const e=this.data,r=e.b;return!this.type.is(wr.HSL)&&r!==void 0?r:(this._ensureHSL(),xe.channel.hsl2rgb(e,\\\"b\\\"))}get h(){const e=this.data,r=e.h;return!this.type.is(wr.RGB)&&r!==void 0?r:(this._ensureRGB(),xe.channel.rgb2hsl(e,\\\"h\\\"))}get s(){const e=this.data,r=e.s;return!this.type.is(wr.RGB)&&r!==void 0?r:(this._ensureRGB(),xe.channel.rgb2hsl(e,\\\"s\\\"))}get l(){const e=this.data,r=e.l;return!this.type.is(wr.RGB)&&r!==void 0?r:(this._ensureRGB(),xe.channel.rgb2hsl(e,\\\"l\\\"))}get a(){return this.data.a}set r(e){this.type.set(wr.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(wr.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(wr.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(wr.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(wr.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(wr.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}}const m8=y8,rc=new m8({r:0,g:0,b:0,a:0},\\\"transparent\\\"),rp={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(t.charCodeAt(0)!==35)return;const e=t.match(rp.re);if(!e)return;const r=e[1],n=parseInt(r,16),i=r.length,s=i%4===0,a=i>4,o=a?1:17,l=a?8:4,u=s?0:-1,d=a?255:15;return rc.set({r:(n>>l*(u+3)&d)*o,g:(n>>l*(u+2)&d)*o,b:(n>>l*(u+1)&d)*o,a:s?(n&d)*o/255:1},t)},stringify:t=>{const{r:e,g:r,b:n,a:i}=t;return i\u003C1?`#${Ri[Math.round(e)]}${Ri[Math.round(r)]}${Ri[Math.round(n)]}${Ri[Math.round(i*255)]}`:`#${Ri[Math.round(e)]}${Ri[Math.round(r)]}${Ri[Math.round(n)]}`}},so=rp,nc={re:/^hsla?\\\\(\\\\s*?(-?(?:\\\\d+(?:\\\\.\\\\d+)?|(?:\\\\.\\\\d+))(?:e-?\\\\d+)?(?:deg|grad|rad|turn)?)\\\\s*?(?:,|\\\\s)\\\\s*?(-?(?:\\\\d+(?:\\\\.\\\\d+)?|(?:\\\\.\\\\d+))(?:e-?\\\\d+)?%)\\\\s*?(?:,|\\\\s)\\\\s*?(-?(?:\\\\d+(?:\\\\.\\\\d+)?|(?:\\\\.\\\\d+))(?:e-?\\\\d+)?%)(?:\\\\s*?(?:,|\\\\/)\\\\s*?\\\\+?(-?(?:\\\\d+(?:\\\\.\\\\d+)?|(?:\\\\.\\\\d+))(?:e-?\\\\d+)?(%)?))?\\\\s*?\\\\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(nc.hueRe);if(e){const[,r,n]=e;switch(n){case\\\"grad\\\":return xe.channel.clamp.h(parseFloat(r)*.9);case\\\"rad\\\":return xe.channel.clamp.h(parseFloat(r)*180/Math.PI);case\\\"turn\\\":return xe.channel.clamp.h(parseFloat(r)*360)}}return xe.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(e!==104&&e!==72)return;const r=t.match(nc.re);if(!r)return;const[,n,i,s,a,o]=r;return rc.set({h:nc._hue2deg(n),s:xe.channel.clamp.s(parseFloat(i)),l:xe.channel.clamp.l(parseFloat(s)),a:a?xe.channel.clamp.a(o?parseFloat(a)/100:parseFloat(a)):1},t)},stringify:t=>{const{h:e,s:r,l:n,a:i}=t;return i\u003C1?`hsla(${xe.lang.round(e)}, ${xe.lang.round(r)}%, ${xe.lang.round(n)}%, ${i})`:`hsl(${xe.lang.round(e)}, ${xe.lang.round(r)}%, ${xe.lang.round(n)}%)`}},ic=nc,sc={colors:{aliceblue:\\\"#f0f8ff\\\",antiquewhite:\\\"#faebd7\\\",aqua:\\\"#00ffff\\\",aquamarine:\\\"#7fffd4\\\",azure:\\\"#f0ffff\\\",beige:\\\"#f5f5dc\\\",bisque:\\\"#ffe4c4\\\",black:\\\"#000000\\\",blanchedalmond:\\\"#ffebcd\\\",blue:\\\"#0000ff\\\",blueviolet:\\\"#8a2be2\\\",brown:\\\"#a52a2a\\\",burlywood:\\\"#deb887\\\",cadetblue:\\\"#5f9ea0\\\",chartreuse:\\\"#7fff00\\\",chocolate:\\\"#d2691e\\\",coral:\\\"#ff7f50\\\",cornflowerblue:\\\"#6495ed\\\",cornsilk:\\\"#fff8dc\\\",crimson:\\\"#dc143c\\\",cyanaqua:\\\"#00ffff\\\",darkblue:\\\"#00008b\\\",darkcyan:\\\"#008b8b\\\",darkgoldenrod:\\\"#b8860b\\\",darkgray:\\\"#a9a9a9\\\",darkgreen:\\\"#006400\\\",darkgrey:\\\"#a9a9a9\\\",darkkhaki:\\\"#bdb76b\\\",darkmagenta:\\\"#8b008b\\\",darkolivegreen:\\\"#556b2f\\\",darkorange:\\\"#ff8c00\\\",darkorchid:\\\"#9932cc\\\",darkred:\\\"#8b0000\\\",darksalmon:\\\"#e9967a\\\",darkseagreen:\\\"#8fbc8f\\\",darkslateblue:\\\"#483d8b\\\",darkslategray:\\\"#2f4f4f\\\",darkslategrey:\\\"#2f4f4f\\\",darkturquoise:\\\"#00ced1\\\",darkviolet:\\\"#9400d3\\\",deeppink:\\\"#ff1493\\\",deepskyblue:\\\"#00bfff\\\",dimgray:\\\"#696969\\\",dimgrey:\\\"#696969\\\",dodgerblue:\\\"#1e90ff\\\",firebrick:\\\"#b22222\\\",floralwhite:\\\"#fffaf0\\\",forestgreen:\\\"#228b22\\\",fuchsia:\\\"#ff00ff\\\",gainsboro:\\\"#dcdcdc\\\",ghostwhite:\\\"#f8f8ff\\\",gold:\\\"#ffd700\\\",goldenrod:\\\"#daa520\\\",gray:\\\"#808080\\\",green:\\\"#008000\\\",greenyellow:\\\"#adff2f\\\",grey:\\\"#808080\\\",honeydew:\\\"#f0fff0\\\",hotpink:\\\"#ff69b4\\\",indianred:\\\"#cd5c5c\\\",indigo:\\\"#4b0082\\\",ivory:\\\"#fffff0\\\",khaki:\\\"#f0e68c\\\",lavender:\\\"#e6e6fa\\\",lavenderblush:\\\"#fff0f5\\\",lawngreen:\\\"#7cfc00\\\",lemonchiffon:\\\"#fffacd\\\",lightblue:\\\"#add8e6\\\",lightcoral:\\\"#f08080\\\",lightcyan:\\\"#e0ffff\\\",lightgoldenrodyellow:\\\"#fafad2\\\",lightgray:\\\"#d3d3d3\\\",lightgreen:\\\"#90ee90\\\",lightgrey:\\\"#d3d3d3\\\",lightpink:\\\"#ffb6c1\\\",lightsalmon:\\\"#ffa07a\\\",lightseagreen:\\\"#20b2aa\\\",lightskyblue:\\\"#87cefa\\\",lightslategray:\\\"#778899\\\",lightslategrey:\\\"#778899\\\",lightsteelblue:\\\"#b0c4de\\\",lightyellow:\\\"#ffffe0\\\",lime:\\\"#00ff00\\\",limegreen:\\\"#32cd32\\\",linen:\\\"#faf0e6\\\",magenta:\\\"#ff00ff\\\",maroon:\\\"#800000\\\",mediumaquamarine:\\\"#66cdaa\\\",mediumblue:\\\"#0000cd\\\",mediumorchid:\\\"#ba55d3\\\",mediumpurple:\\\"#9370db\\\",mediumseagreen:\\\"#3cb371\\\",mediumslateblue:\\\"#7b68ee\\\",mediumspringgreen:\\\"#00fa9a\\\",mediumturquoise:\\\"#48d1cc\\\",mediumvioletred:\\\"#c71585\\\",midnightblue:\\\"#191970\\\",mintcream:\\\"#f5fffa\\\",mistyrose:\\\"#ffe4e1\\\",moccasin:\\\"#ffe4b5\\\",navajowhite:\\\"#ffdead\\\",navy:\\\"#000080\\\",oldlace:\\\"#fdf5e6\\\",olive:\\\"#808000\\\",olivedrab:\\\"#6b8e23\\\",orange:\\\"#ffa500\\\",orangered:\\\"#ff4500\\\",orchid:\\\"#da70d6\\\",palegoldenrod:\\\"#eee8aa\\\",palegreen:\\\"#98fb98\\\",paleturquoise:\\\"#afeeee\\\",palevioletred:\\\"#db7093\\\",papayawhip:\\\"#ffefd5\\\",peachpuff:\\\"#ffdab9\\\",peru:\\\"#cd853f\\\",pink:\\\"#ffc0cb\\\",plum:\\\"#dda0dd\\\",powderblue:\\\"#b0e0e6\\\",purple:\\\"#800080\\\",rebeccapurple:\\\"#663399\\\",red:\\\"#ff0000\\\",rosybrown:\\\"#bc8f8f\\\",royalblue:\\\"#4169e1\\\",saddlebrown:\\\"#8b4513\\\",salmon:\\\"#fa8072\\\",sandybrown:\\\"#f4a460\\\",seagreen:\\\"#2e8b57\\\",seashell:\\\"#fff5ee\\\",sienna:\\\"#a0522d\\\",silver:\\\"#c0c0c0\\\",skyblue:\\\"#87ceeb\\\",slateblue:\\\"#6a5acd\\\",slategray:\\\"#708090\\\",slategrey:\\\"#708090\\\",snow:\\\"#fffafa\\\",springgreen:\\\"#00ff7f\\\",tan:\\\"#d2b48c\\\",teal:\\\"#008080\\\",thistle:\\\"#d8bfd8\\\",transparent:\\\"#00000000\\\",turquoise:\\\"#40e0d0\\\",violet:\\\"#ee82ee\\\",wheat:\\\"#f5deb3\\\",white:\\\"#ffffff\\\",whitesmoke:\\\"#f5f5f5\\\",yellow:\\\"#ffff00\\\",yellowgreen:\\\"#9acd32\\\"},parse:t=>{t=t.toLowerCase();const e=sc.colors[t];if(!!e)return so.parse(e)},stringify:t=>{const e=so.stringify(t);for(const r in sc.colors)if(sc.colors[r]===e)return r}},np=sc,ip={re:/^rgba?\\\\(\\\\s*?(-?(?:\\\\d+(?:\\\\.\\\\d+)?|(?:\\\\.\\\\d+))(?:e\\\\d+)?(%?))\\\\s*?(?:,|\\\\s)\\\\s*?(-?(?:\\\\d+(?:\\\\.\\\\d+)?|(?:\\\\.\\\\d+))(?:e\\\\d+)?(%?))\\\\s*?(?:,|\\\\s)\\\\s*?(-?(?:\\\\d+(?:\\\\.\\\\d+)?|(?:\\\\.\\\\d+))(?:e\\\\d+)?(%?))(?:\\\\s*?(?:,|\\\\/)\\\\s*?\\\\+?(-?(?:\\\\d+(?:\\\\.\\\\d+)?|(?:\\\\.\\\\d+))(?:e\\\\d+)?(%?)))?\\\\s*?\\\\)$/i,parse:t=>{const e=t.charCodeAt(0);if(e!==114&&e!==82)return;const r=t.match(ip.re);if(!r)return;const[,n,i,s,a,o,l,u,d]=r;return rc.set({r:xe.channel.clamp.r(i?parseFloat(n)*2.55:parseFloat(n)),g:xe.channel.clamp.g(a?parseFloat(s)*2.55:parseFloat(s)),b:xe.channel.clamp.b(l?parseFloat(o)*2.55:parseFloat(o)),a:u?xe.channel.clamp.a(d?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{r:e,g:r,b:n,a:i}=t;return i\u003C1?`rgba(${xe.lang.round(e)}, ${xe.lang.round(r)}, ${xe.lang.round(n)}, ${xe.lang.round(i)})`:`rgb(${xe.lang.round(e)}, ${xe.lang.round(r)}, ${xe.lang.round(n)})`}},ac=ip,ai={format:{keyword:np,hex:so,rgb:ac,rgba:ac,hsl:ic,hsla:ic},parse:t=>{if(typeof t!=\\\"string\\\")return t;const e=so.parse(t)||ac.parse(t)||ic.parse(t)||np.parse(t);if(e)return e;throw new Error(`Unsupported color format: \\\"${t}\\\"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(wr.HSL)||t.data.r===void 0?ic.stringify(t):t.a\u003C1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?ac.stringify(t):so.stringify(t)},sp=(t,e)=>{const r=ai.parse(t);for(const n in e)r[n]=xe.channel.clamp[n](e[n]);return ai.stringify(r)},ao=(t,e,r=0,n=1)=>{if(typeof t!=\\\"number\\\")return sp(t,{a:e});const i=rc.set({r:xe.channel.clamp.r(t),g:xe.channel.clamp.g(e),b:xe.channel.clamp.b(r),a:xe.channel.clamp.a(n)});return ai.stringify(i)},ap=(t,e,r)=>{const n=ai.parse(t),i=n[e],s=xe.channel.clamp[e](i+r);return i!==s&&(n[e]=s),ai.stringify(n)},ne=(t,e)=>ap(t,\\\"l\\\",e),de=(t,e)=>ap(t,\\\"l\\\",-e),yt=(t,e)=>{const r=ai.parse(t),n={};for(const i in e)!e[i]||(n[i]=r[i]+e[i]);return sp(t,n)},b8=(t,e,r=50)=>{const{r:n,g:i,b:s,a}=ai.parse(t),{r:o,g:l,b:u,a:d}=ai.parse(e),f=r/100,p=f*2-1,g=a-d,k=((p*g===-1?p:(p+g)/(1+p*g))+1)/2,T=1-k,L=n*k+o*T,E=i*k+l*T,I=s*k+u*T,V=a*f+d*(1-f);return ao(L,E,I,V)},Wt=(t,e=100)=>{const r=ai.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,b8(r,t,e)},Mr=(t,e)=>e?yt(t,{s:-40,l:10}):yt(t,{s:-40,l:-10}),oc=\\\"#ffffff\\\",lc=\\\"#f2f2f2\\\";class _8{constructor(){this.background=\\\"#f4f4f4\\\",this.darkMode=!1,this.primaryColor=\\\"#fff4dd\\\",this.noteBkgColor=\\\"#fff5ad\\\",this.noteTextColor=\\\"#333\\\",this.THEME_COLOR_LIMIT=12,this.fontFamily='\\\"trebuchet ms\\\", verdana, arial, sans-serif',this.fontSize=\\\"16px\\\"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?\\\"#eee\\\":\\\"#333\\\"),this.secondaryColor=this.secondaryColor||yt(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||yt(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Mr(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Mr(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Mr(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Mr(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||\\\"#fff5ad\\\",this.noteTextColor=this.noteTextColor||\\\"#333\\\",this.secondaryTextColor=this.secondaryTextColor||Wt(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Wt(this.tertiaryColor),this.lineColor=this.lineColor||Wt(this.background),this.textColor=this.textColor||this.primaryTextColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?de(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||\\\"grey\\\",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||de(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Wt(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||\\\"white\\\",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||\\\"#eeeeee\\\",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ne(this.primaryColor,23),this.gridColor=this.gridColor||\\\"lightgrey\\\",this.doneTaskBkgColor=this.doneTaskBkgColor||\\\"lightgrey\\\",this.doneTaskBorderColor=this.doneTaskBorderColor||\\\"grey\\\",this.critBorderColor=this.critBorderColor||\\\"#ff8888\\\",this.critBkgColor=this.critBkgColor||\\\"red\\\",this.todayLineColor=this.todayLineColor||\\\"red\\\",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||\\\"#003163\\\",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||yt(this.primaryColor,{h:30}),this.cScale4=this.cScale4||yt(this.primaryColor,{h:60}),this.cScale5=this.cScale5||yt(this.primaryColor,{h:90}),this.cScale6=this.cScale6||yt(this.primaryColor,{h:120}),this.cScale7=this.cScale7||yt(this.primaryColor,{h:150}),this.cScale8=this.cScale8||yt(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||yt(this.primaryColor,{h:270}),this.cScale10=this.cScale10||yt(this.primaryColor,{h:300}),this.cScale11=this.cScale11||yt(this.primaryColor,{h:330}),this.darkMode)for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScale\\\"+e]=de(this[\\\"cScale\\\"+e],75);else for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScale\\\"+e]=de(this[\\\"cScale\\\"+e],25);for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScaleInv\\\"+e]=this[\\\"cScaleInv\\\"+e]||Wt(this[\\\"cScale\\\"+e]);for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this.darkMode?this[\\\"cScalePeer\\\"+e]=this[\\\"cScalePeer\\\"+e]||ne(this[\\\"cScale\\\"+e],10):this[\\\"cScalePeer\\\"+e]=this[\\\"cScalePeer\\\"+e]||de(this[\\\"cScale\\\"+e],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScaleLabel\\\"+e]=this[\\\"cScaleLabel\\\"+e]||this.scaleLabelColor;this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||yt(this.primaryColor,{h:64}),this.fillType3=this.fillType3||yt(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||yt(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||yt(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||yt(this.primaryColor,{h:128}),this.fillType7=this.fillType7||yt(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||yt(this.primaryColor,{l:-10}),this.pie5=this.pie5||yt(this.secondaryColor,{l:-10}),this.pie6=this.pie6||yt(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||yt(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||yt(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||yt(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||yt(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||yt(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||yt(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||\\\"25px\\\",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||\\\"17px\\\",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||\\\"17px\\\",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||\\\"black\\\",this.pieStrokeWidth=this.pieStrokeWidth||\\\"2px\\\",this.pieOpacity=this.pieOpacity||\\\"0.7\\\",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?de(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||yt(this.primaryColor,{h:-30}),this.git4=this.git4||yt(this.primaryColor,{h:-60}),this.git5=this.git5||yt(this.primaryColor,{h:-90}),this.git6=this.git6||yt(this.primaryColor,{h:60}),this.git7=this.git7||yt(this.primaryColor,{h:120}),this.darkMode?(this.git0=ne(this.git0,25),this.git1=ne(this.git1,25),this.git2=ne(this.git2,25),this.git3=ne(this.git3,25),this.git4=ne(this.git4,25),this.git5=ne(this.git5,25),this.git6=ne(this.git6,25),this.git7=ne(this.git7,25)):(this.git0=de(this.git0,25),this.git1=de(this.git1,25),this.git2=de(this.git2,25),this.git3=de(this.git3,25),this.git4=de(this.git4,25),this.git5=de(this.git5,25),this.git6=de(this.git6,25),this.git7=de(this.git7,25)),this.gitInv0=this.gitInv0||Wt(this.git0),this.gitInv1=this.gitInv1||Wt(this.git1),this.gitInv2=this.gitInv2||Wt(this.git2),this.gitInv3=this.gitInv3||Wt(this.git3),this.gitInv4=this.gitInv4||Wt(this.git4),this.gitInv5=this.gitInv5||Wt(this.git5),this.gitInv6=this.gitInv6||Wt(this.git6),this.gitInv7=this.gitInv7||Wt(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?\\\"black\\\":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||\\\"10px\\\",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||\\\"10px\\\",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||lc}calculate(e){if(typeof e!=\\\"object\\\"){this.updateColors();return}const r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}}const x8=t=>{const e=new _8;return e.calculate(t),e};class v8{constructor(){this.background=\\\"#333\\\",this.primaryColor=\\\"#1f2020\\\",this.secondaryColor=ne(this.primaryColor,16),this.tertiaryColor=yt(this.primaryColor,{h:-160}),this.primaryBorderColor=Wt(this.background),this.secondaryBorderColor=Mr(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Mr(this.tertiaryColor,this.darkMode),this.primaryTextColor=Wt(this.primaryColor),this.secondaryTextColor=Wt(this.secondaryColor),this.tertiaryTextColor=Wt(this.tertiaryColor),this.lineColor=Wt(this.background),this.textColor=Wt(this.background),this.mainBkg=\\\"#1f2020\\\",this.secondBkg=\\\"calculated\\\",this.mainContrastColor=\\\"lightgrey\\\",this.darkTextColor=ne(Wt(\\\"#323D47\\\"),10),this.lineColor=\\\"calculated\\\",this.border1=\\\"#81B1DB\\\",this.border2=ao(255,255,255,.25),this.arrowheadColor=\\\"calculated\\\",this.fontFamily='\\\"trebuchet ms\\\", verdana, arial, sans-serif',this.fontSize=\\\"16px\\\",this.labelBackground=\\\"#181818\\\",this.textColor=\\\"#ccc\\\",this.THEME_COLOR_LIMIT=12,this.nodeBkg=\\\"calculated\\\",this.nodeBorder=\\\"calculated\\\",this.clusterBkg=\\\"calculated\\\",this.clusterBorder=\\\"calculated\\\",this.defaultLinkColor=\\\"calculated\\\",this.titleColor=\\\"#F9FFFE\\\",this.edgeLabelBackground=\\\"calculated\\\",this.actorBorder=\\\"calculated\\\",this.actorBkg=\\\"calculated\\\",this.actorTextColor=\\\"calculated\\\",this.actorLineColor=\\\"calculated\\\",this.signalColor=\\\"calculated\\\",this.signalTextColor=\\\"calculated\\\",this.labelBoxBkgColor=\\\"calculated\\\",this.labelBoxBorderColor=\\\"calculated\\\",this.labelTextColor=\\\"calculated\\\",this.loopTextColor=\\\"calculated\\\",this.noteBorderColor=\\\"calculated\\\",this.noteBkgColor=\\\"#fff5ad\\\",this.noteTextColor=\\\"calculated\\\",this.activationBorderColor=\\\"calculated\\\",this.activationBkgColor=\\\"calculated\\\",this.sequenceNumberColor=\\\"black\\\",this.sectionBkgColor=de(\\\"#EAE8D9\\\",30),this.altSectionBkgColor=\\\"calculated\\\",this.sectionBkgColor2=\\\"#EAE8D9\\\",this.taskBorderColor=ao(255,255,255,70),this.taskBkgColor=\\\"calculated\\\",this.taskTextColor=\\\"calculated\\\",this.taskTextLightColor=\\\"calculated\\\",this.taskTextOutsideColor=\\\"calculated\\\",this.taskTextClickableColor=\\\"#003163\\\",this.activeTaskBorderColor=ao(255,255,255,50),this.activeTaskBkgColor=\\\"#81B1DB\\\",this.gridColor=\\\"calculated\\\",this.doneTaskBkgColor=\\\"calculated\\\",this.doneTaskBorderColor=\\\"grey\\\",this.critBorderColor=\\\"#E83737\\\",this.critBkgColor=\\\"#E83737\\\",this.taskTextDarkColor=\\\"calculated\\\",this.todayLineColor=\\\"#DB5757\\\",this.personBorder=\\\"calculated\\\",this.personBkg=\\\"calculated\\\",this.labelColor=\\\"calculated\\\",this.errorBkgColor=\\\"#a44141\\\",this.errorTextColor=\\\"#ddd\\\"}updateColors(){this.secondBkg=ne(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=ne(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=ne(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||\\\"#555\\\",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=\\\"#f4f4f4\\\",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=yt(this.primaryColor,{h:64}),this.fillType3=yt(this.secondaryColor,{h:64}),this.fillType4=yt(this.primaryColor,{h:-64}),this.fillType5=yt(this.secondaryColor,{h:-64}),this.fillType6=yt(this.primaryColor,{h:128}),this.fillType7=yt(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||\\\"#0b0000\\\",this.cScale2=this.cScale2||\\\"#4d1037\\\",this.cScale3=this.cScale3||\\\"#3f5258\\\",this.cScale4=this.cScale4||\\\"#4f2f1b\\\",this.cScale5=this.cScale5||\\\"#6e0a0a\\\",this.cScale6=this.cScale6||\\\"#3b0048\\\",this.cScale7=this.cScale7||\\\"#995a01\\\",this.cScale8=this.cScale8||\\\"#154706\\\",this.cScale9=this.cScale9||\\\"#161722\\\",this.cScale10=this.cScale10||\\\"#00296f\\\",this.cScale11=this.cScale11||\\\"#01629c\\\",this.cScale12=this.cScale12||\\\"#010029\\\",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||yt(this.primaryColor,{h:30}),this.cScale4=this.cScale4||yt(this.primaryColor,{h:60}),this.cScale5=this.cScale5||yt(this.primaryColor,{h:90}),this.cScale6=this.cScale6||yt(this.primaryColor,{h:120}),this.cScale7=this.cScale7||yt(this.primaryColor,{h:150}),this.cScale8=this.cScale8||yt(this.primaryColor,{h:210}),this.cScale9=this.cScale9||yt(this.primaryColor,{h:270}),this.cScale10=this.cScale10||yt(this.primaryColor,{h:300}),this.cScale11=this.cScale11||yt(this.primaryColor,{h:330});for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScaleInv\\\"+e]=this[\\\"cScaleInv\\\"+e]||Wt(this[\\\"cScale\\\"+e]);for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScalePeer\\\"+e]=this[\\\"cScalePeer\\\"+e]||ne(this[\\\"cScale\\\"+e],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?\\\"black\\\":this.labelTextColor);for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScaleLabel\\\"+e]=this[\\\"cScaleLabel\\\"+e]||this.scaleLabelColor;for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"pie\\\"+e]=this[\\\"cScale\\\"+e];this.pieTitleTextSize=this.pieTitleTextSize||\\\"25px\\\",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||\\\"17px\\\",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||\\\"17px\\\",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||\\\"black\\\",this.pieStrokeWidth=this.pieStrokeWidth||\\\"2px\\\",this.pieOpacity=this.pieOpacity||\\\"0.7\\\",this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?de(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=ne(this.secondaryColor,20),this.git1=ne(this.pie2||this.secondaryColor,20),this.git2=ne(this.pie3||this.tertiaryColor,20),this.git3=ne(this.pie4||yt(this.primaryColor,{h:-30}),20),this.git4=ne(this.pie5||yt(this.primaryColor,{h:-60}),20),this.git5=ne(this.pie6||yt(this.primaryColor,{h:-90}),10),this.git6=ne(this.pie7||yt(this.primaryColor,{h:60}),10),this.git7=ne(this.pie8||yt(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||Wt(this.git0),this.gitInv1=this.gitInv1||Wt(this.git1),this.gitInv2=this.gitInv2||Wt(this.git2),this.gitInv3=this.gitInv3||Wt(this.git3),this.gitInv4=this.gitInv4||Wt(this.git4),this.gitInv5=this.gitInv5||Wt(this.git5),this.gitInv6=this.gitInv6||Wt(this.git6),this.gitInv7=this.gitInv7||Wt(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||\\\"10px\\\",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||\\\"10px\\\",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||ne(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ne(this.background,2)}calculate(e){if(typeof e!=\\\"object\\\"){this.updateColors();return}const r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}}const k8=t=>{const e=new v8;return e.calculate(t),e};class w8{constructor(){this.background=\\\"#f4f4f4\\\",this.primaryColor=\\\"#ECECFF\\\",this.secondaryColor=yt(this.primaryColor,{h:120}),this.secondaryColor=\\\"#ffffde\\\",this.tertiaryColor=yt(this.primaryColor,{h:-160}),this.primaryBorderColor=Mr(this.primaryColor,this.darkMode),this.secondaryBorderColor=Mr(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Mr(this.tertiaryColor,this.darkMode),this.primaryTextColor=Wt(this.primaryColor),this.secondaryTextColor=Wt(this.secondaryColor),this.tertiaryTextColor=Wt(this.tertiaryColor),this.lineColor=Wt(this.background),this.textColor=Wt(this.background),this.background=\\\"white\\\",this.mainBkg=\\\"#ECECFF\\\",this.secondBkg=\\\"#ffffde\\\",this.lineColor=\\\"#333333\\\",this.border1=\\\"#9370DB\\\",this.border2=\\\"#aaaa33\\\",this.arrowheadColor=\\\"#333333\\\",this.fontFamily='\\\"trebuchet ms\\\", verdana, arial, sans-serif',this.fontSize=\\\"16px\\\",this.labelBackground=\\\"#e8e8e8\\\",this.textColor=\\\"#333\\\",this.THEME_COLOR_LIMIT=12,this.nodeBkg=\\\"calculated\\\",this.nodeBorder=\\\"calculated\\\",this.clusterBkg=\\\"calculated\\\",this.clusterBorder=\\\"calculated\\\",this.defaultLinkColor=\\\"calculated\\\",this.titleColor=\\\"calculated\\\",this.edgeLabelBackground=\\\"calculated\\\",this.actorBorder=\\\"calculated\\\",this.actorBkg=\\\"calculated\\\",this.actorTextColor=\\\"black\\\",this.actorLineColor=\\\"grey\\\",this.signalColor=\\\"calculated\\\",this.signalTextColor=\\\"calculated\\\",this.labelBoxBkgColor=\\\"calculated\\\",this.labelBoxBorderColor=\\\"calculated\\\",this.labelTextColor=\\\"calculated\\\",this.loopTextColor=\\\"calculated\\\",this.noteBorderColor=\\\"calculated\\\",this.noteBkgColor=\\\"#fff5ad\\\",this.noteTextColor=\\\"calculated\\\",this.activationBorderColor=\\\"#666\\\",this.activationBkgColor=\\\"#f4f4f4\\\",this.sequenceNumberColor=\\\"white\\\",this.sectionBkgColor=\\\"calculated\\\",this.altSectionBkgColor=\\\"calculated\\\",this.sectionBkgColor2=\\\"calculated\\\",this.excludeBkgColor=\\\"#eeeeee\\\",this.taskBorderColor=\\\"calculated\\\",this.taskBkgColor=\\\"calculated\\\",this.taskTextLightColor=\\\"calculated\\\",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=\\\"calculated\\\",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor=\\\"calculated\\\",this.activeTaskBorderColor=\\\"calculated\\\",this.activeTaskBkgColor=\\\"calculated\\\",this.gridColor=\\\"calculated\\\",this.doneTaskBkgColor=\\\"calculated\\\",this.doneTaskBorderColor=\\\"calculated\\\",this.critBorderColor=\\\"calculated\\\",this.critBkgColor=\\\"calculated\\\",this.todayLineColor=\\\"calculated\\\",this.sectionBkgColor=ao(102,102,255,.49),this.altSectionBkgColor=\\\"white\\\",this.sectionBkgColor2=\\\"#fff400\\\",this.taskBorderColor=\\\"#534fbc\\\",this.taskBkgColor=\\\"#8a90dd\\\",this.taskTextLightColor=\\\"white\\\",this.taskTextColor=\\\"calculated\\\",this.taskTextDarkColor=\\\"black\\\",this.taskTextOutsideColor=\\\"calculated\\\",this.taskTextClickableColor=\\\"#003163\\\",this.activeTaskBorderColor=\\\"#534fbc\\\",this.activeTaskBkgColor=\\\"#bfc7ff\\\",this.gridColor=\\\"lightgrey\\\",this.doneTaskBkgColor=\\\"lightgrey\\\",this.doneTaskBorderColor=\\\"grey\\\",this.critBorderColor=\\\"#ff8888\\\",this.critBkgColor=\\\"red\\\",this.todayLineColor=\\\"red\\\",this.personBorder=\\\"calculated\\\",this.personBkg=\\\"calculated\\\",this.labelColor=\\\"black\\\",this.errorBkgColor=\\\"#552222\\\",this.errorTextColor=\\\"#552222\\\",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||yt(this.primaryColor,{h:30}),this.cScale4=this.cScale4||yt(this.primaryColor,{h:60}),this.cScale5=this.cScale5||yt(this.primaryColor,{h:90}),this.cScale6=this.cScale6||yt(this.primaryColor,{h:120}),this.cScale7=this.cScale7||yt(this.primaryColor,{h:150}),this.cScale8=this.cScale8||yt(this.primaryColor,{h:210}),this.cScale9=this.cScale9||yt(this.primaryColor,{h:270}),this.cScale10=this.cScale10||yt(this.primaryColor,{h:300}),this.cScale11=this.cScale11||yt(this.primaryColor,{h:330}),this[\\\"cScalePeer\\\"+1]=this[\\\"cScalePeer\\\"+1]||de(this.secondaryColor,45),this[\\\"cScalePeer\\\"+2]=this[\\\"cScalePeer\\\"+2]||de(this.tertiaryColor,40);for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScale\\\"+e]=de(this[\\\"cScale\\\"+e],10),this[\\\"cScalePeer\\\"+e]=this[\\\"cScalePeer\\\"+e]||de(this[\\\"cScale\\\"+e],25);for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScaleInv\\\"+e]=this[\\\"cScaleInv\\\"+e]||yt(this[\\\"cScale\\\"+e],{h:180});if(this.scaleLabelColor=this.scaleLabelColor!==\\\"calculated\\\"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!==\\\"calculated\\\"){this.cScaleLabel0=this.cScaleLabel0||Wt(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||Wt(this.labelTextColor);for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScaleLabel\\\"+e]=this[\\\"cScaleLabel\\\"+e]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=ne(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||\\\"#f0f0f0\\\",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=yt(this.primaryColor,{h:64}),this.fillType3=yt(this.secondaryColor,{h:64}),this.fillType4=yt(this.primaryColor,{h:-64}),this.fillType5=yt(this.secondaryColor,{h:-64}),this.fillType6=yt(this.primaryColor,{h:128}),this.fillType7=yt(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||yt(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||yt(this.primaryColor,{l:-10}),this.pie5=this.pie5||yt(this.secondaryColor,{l:-30}),this.pie6=this.pie6||yt(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||yt(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||yt(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||yt(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||yt(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||yt(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||yt(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||\\\"25px\\\",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||\\\"17px\\\",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||\\\"17px\\\",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||\\\"black\\\",this.pieStrokeWidth=this.pieStrokeWidth||\\\"2px\\\",this.pieOpacity=this.pieOpacity||\\\"0.7\\\",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||yt(this.primaryColor,{h:-30}),this.git4=this.git4||yt(this.primaryColor,{h:-60}),this.git5=this.git5||yt(this.primaryColor,{h:-90}),this.git6=this.git6||yt(this.primaryColor,{h:60}),this.git7=this.git7||yt(this.primaryColor,{h:120}),this.darkMode?(this.git0=ne(this.git0,25),this.git1=ne(this.git1,25),this.git2=ne(this.git2,25),this.git3=ne(this.git3,25),this.git4=ne(this.git4,25),this.git5=ne(this.git5,25),this.git6=ne(this.git6,25),this.git7=ne(this.git7,25)):(this.git0=de(this.git0,25),this.git1=de(this.git1,25),this.git2=de(this.git2,25),this.git3=de(this.git3,25),this.git4=de(this.git4,25),this.git5=de(this.git5,25),this.git6=de(this.git6,25),this.git7=de(this.git7,25)),this.gitInv0=this.gitInv0||de(Wt(this.git0),25),this.gitInv1=this.gitInv1||Wt(this.git1),this.gitInv2=this.gitInv2||Wt(this.git2),this.gitInv3=this.gitInv3||Wt(this.git3),this.gitInv4=this.gitInv4||Wt(this.git4),this.gitInv5=this.gitInv5||Wt(this.git5),this.gitInv6=this.gitInv6||Wt(this.git6),this.gitInv7=this.gitInv7||Wt(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||Wt(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||Wt(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||\\\"10px\\\",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||\\\"10px\\\",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||lc}calculate(e){if(typeof e!=\\\"object\\\"){this.updateColors();return}const r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}}const T8=t=>{const e=new w8;return e.calculate(t),e};class E8{constructor(){this.background=\\\"#f4f4f4\\\",this.primaryColor=\\\"#cde498\\\",this.secondaryColor=\\\"#cdffb2\\\",this.background=\\\"white\\\",this.mainBkg=\\\"#cde498\\\",this.secondBkg=\\\"#cdffb2\\\",this.lineColor=\\\"green\\\",this.border1=\\\"#13540c\\\",this.border2=\\\"#6eaa49\\\",this.arrowheadColor=\\\"green\\\",this.fontFamily='\\\"trebuchet ms\\\", verdana, arial, sans-serif',this.fontSize=\\\"16px\\\",this.tertiaryColor=ne(\\\"#cde498\\\",10),this.primaryBorderColor=Mr(this.primaryColor,this.darkMode),this.secondaryBorderColor=Mr(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Mr(this.tertiaryColor,this.darkMode),this.primaryTextColor=Wt(this.primaryColor),this.secondaryTextColor=Wt(this.secondaryColor),this.tertiaryTextColor=Wt(this.primaryColor),this.lineColor=Wt(this.background),this.textColor=Wt(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg=\\\"calculated\\\",this.nodeBorder=\\\"calculated\\\",this.clusterBkg=\\\"calculated\\\",this.clusterBorder=\\\"calculated\\\",this.defaultLinkColor=\\\"calculated\\\",this.titleColor=\\\"#333\\\",this.edgeLabelBackground=\\\"#e8e8e8\\\",this.actorBorder=\\\"calculated\\\",this.actorBkg=\\\"calculated\\\",this.actorTextColor=\\\"black\\\",this.actorLineColor=\\\"grey\\\",this.signalColor=\\\"#333\\\",this.signalTextColor=\\\"#333\\\",this.labelBoxBkgColor=\\\"calculated\\\",this.labelBoxBorderColor=\\\"#326932\\\",this.labelTextColor=\\\"calculated\\\",this.loopTextColor=\\\"calculated\\\",this.noteBorderColor=\\\"calculated\\\",this.noteBkgColor=\\\"#fff5ad\\\",this.noteTextColor=\\\"calculated\\\",this.activationBorderColor=\\\"#666\\\",this.activationBkgColor=\\\"#f4f4f4\\\",this.sequenceNumberColor=\\\"white\\\",this.sectionBkgColor=\\\"#6eaa49\\\",this.altSectionBkgColor=\\\"white\\\",this.sectionBkgColor2=\\\"#6eaa49\\\",this.excludeBkgColor=\\\"#eeeeee\\\",this.taskBorderColor=\\\"calculated\\\",this.taskBkgColor=\\\"#487e3a\\\",this.taskTextLightColor=\\\"white\\\",this.taskTextColor=\\\"calculated\\\",this.taskTextDarkColor=\\\"black\\\",this.taskTextOutsideColor=\\\"calculated\\\",this.taskTextClickableColor=\\\"#003163\\\",this.activeTaskBorderColor=\\\"calculated\\\",this.activeTaskBkgColor=\\\"calculated\\\",this.gridColor=\\\"lightgrey\\\",this.doneTaskBkgColor=\\\"lightgrey\\\",this.doneTaskBorderColor=\\\"grey\\\",this.critBorderColor=\\\"#ff8888\\\",this.critBkgColor=\\\"red\\\",this.todayLineColor=\\\"red\\\",this.personBorder=\\\"calculated\\\",this.personBkg=\\\"calculated\\\",this.labelColor=\\\"black\\\",this.errorBkgColor=\\\"#552222\\\",this.errorTextColor=\\\"#552222\\\"}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||yt(this.primaryColor,{h:30}),this.cScale4=this.cScale4||yt(this.primaryColor,{h:60}),this.cScale5=this.cScale5||yt(this.primaryColor,{h:90}),this.cScale6=this.cScale6||yt(this.primaryColor,{h:120}),this.cScale7=this.cScale7||yt(this.primaryColor,{h:150}),this.cScale8=this.cScale8||yt(this.primaryColor,{h:210}),this.cScale9=this.cScale9||yt(this.primaryColor,{h:270}),this.cScale10=this.cScale10||yt(this.primaryColor,{h:300}),this.cScale11=this.cScale11||yt(this.primaryColor,{h:330}),this[\\\"cScalePeer\\\"+1]=this[\\\"cScalePeer\\\"+1]||de(this.secondaryColor,45),this[\\\"cScalePeer\\\"+2]=this[\\\"cScalePeer\\\"+2]||de(this.tertiaryColor,40);for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScale\\\"+e]=de(this[\\\"cScale\\\"+e],10),this[\\\"cScalePeer\\\"+e]=this[\\\"cScalePeer\\\"+e]||de(this[\\\"cScale\\\"+e],25);for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScaleInv\\\"+e]=this[\\\"cScaleInv\\\"+e]||yt(this[\\\"cScale\\\"+e],{h:180});this.scaleLabelColor=this.scaleLabelColor!==\\\"calculated\\\"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScaleLabel\\\"+e]=this[\\\"cScaleLabel\\\"+e]||this.scaleLabelColor;this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.actorBorder=de(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||\\\"#f0f0f0\\\",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=yt(this.primaryColor,{h:64}),this.fillType3=yt(this.secondaryColor,{h:64}),this.fillType4=yt(this.primaryColor,{h:-64}),this.fillType5=yt(this.secondaryColor,{h:-64}),this.fillType6=yt(this.primaryColor,{h:128}),this.fillType7=yt(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||yt(this.primaryColor,{l:-30}),this.pie5=this.pie5||yt(this.secondaryColor,{l:-30}),this.pie6=this.pie6||yt(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||yt(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||yt(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||yt(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||yt(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||yt(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||yt(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||\\\"25px\\\",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||\\\"17px\\\",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||\\\"17px\\\",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||\\\"black\\\",this.pieStrokeWidth=this.pieStrokeWidth||\\\"2px\\\",this.pieOpacity=this.pieOpacity||\\\"0.7\\\",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||yt(this.primaryColor,{h:-30}),this.git4=this.git4||yt(this.primaryColor,{h:-60}),this.git5=this.git5||yt(this.primaryColor,{h:-90}),this.git6=this.git6||yt(this.primaryColor,{h:60}),this.git7=this.git7||yt(this.primaryColor,{h:120}),this.darkMode?(this.git0=ne(this.git0,25),this.git1=ne(this.git1,25),this.git2=ne(this.git2,25),this.git3=ne(this.git3,25),this.git4=ne(this.git4,25),this.git5=ne(this.git5,25),this.git6=ne(this.git6,25),this.git7=ne(this.git7,25)):(this.git0=de(this.git0,25),this.git1=de(this.git1,25),this.git2=de(this.git2,25),this.git3=de(this.git3,25),this.git4=de(this.git4,25),this.git5=de(this.git5,25),this.git6=de(this.git6,25),this.git7=de(this.git7,25)),this.gitInv0=this.gitInv0||Wt(this.git0),this.gitInv1=this.gitInv1||Wt(this.git1),this.gitInv2=this.gitInv2||Wt(this.git2),this.gitInv3=this.gitInv3||Wt(this.git3),this.gitInv4=this.gitInv4||Wt(this.git4),this.gitInv5=this.gitInv5||Wt(this.git5),this.gitInv6=this.gitInv6||Wt(this.git6),this.gitInv7=this.gitInv7||Wt(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||\\\"10px\\\",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||\\\"10px\\\",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||lc}calculate(e){if(typeof e!=\\\"object\\\"){this.updateColors();return}const r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}}const C8=t=>{const e=new E8;return e.calculate(t),e};class S8{constructor(){this.primaryColor=\\\"#eee\\\",this.contrast=\\\"#707070\\\",this.secondaryColor=ne(this.contrast,55),this.background=\\\"#ffffff\\\",this.tertiaryColor=yt(this.primaryColor,{h:-160}),this.primaryBorderColor=Mr(this.primaryColor,this.darkMode),this.secondaryBorderColor=Mr(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Mr(this.tertiaryColor,this.darkMode),this.primaryTextColor=Wt(this.primaryColor),this.secondaryTextColor=Wt(this.secondaryColor),this.tertiaryTextColor=Wt(this.tertiaryColor),this.lineColor=Wt(this.background),this.textColor=Wt(this.background),this.mainBkg=\\\"#eee\\\",this.secondBkg=\\\"calculated\\\",this.lineColor=\\\"#666\\\",this.border1=\\\"#999\\\",this.border2=\\\"calculated\\\",this.note=\\\"#ffa\\\",this.text=\\\"#333\\\",this.critical=\\\"#d42\\\",this.done=\\\"#bbb\\\",this.arrowheadColor=\\\"#333333\\\",this.fontFamily='\\\"trebuchet ms\\\", verdana, arial, sans-serif',this.fontSize=\\\"16px\\\",this.THEME_COLOR_LIMIT=12,this.nodeBkg=\\\"calculated\\\",this.nodeBorder=\\\"calculated\\\",this.clusterBkg=\\\"calculated\\\",this.clusterBorder=\\\"calculated\\\",this.defaultLinkColor=\\\"calculated\\\",this.titleColor=\\\"calculated\\\",this.edgeLabelBackground=\\\"white\\\",this.actorBorder=\\\"calculated\\\",this.actorBkg=\\\"calculated\\\",this.actorTextColor=\\\"calculated\\\",this.actorLineColor=\\\"calculated\\\",this.signalColor=\\\"calculated\\\",this.signalTextColor=\\\"calculated\\\",this.labelBoxBkgColor=\\\"calculated\\\",this.labelBoxBorderColor=\\\"calculated\\\",this.labelTextColor=\\\"calculated\\\",this.loopTextColor=\\\"calculated\\\",this.noteBorderColor=\\\"calculated\\\",this.noteBkgColor=\\\"calculated\\\",this.noteTextColor=\\\"calculated\\\",this.activationBorderColor=\\\"#666\\\",this.activationBkgColor=\\\"#f4f4f4\\\",this.sequenceNumberColor=\\\"white\\\",this.sectionBkgColor=\\\"calculated\\\",this.altSectionBkgColor=\\\"white\\\",this.sectionBkgColor2=\\\"calculated\\\",this.excludeBkgColor=\\\"#eeeeee\\\",this.taskBorderColor=\\\"calculated\\\",this.taskBkgColor=\\\"calculated\\\",this.taskTextLightColor=\\\"white\\\",this.taskTextColor=\\\"calculated\\\",this.taskTextDarkColor=\\\"calculated\\\",this.taskTextOutsideColor=\\\"calculated\\\",this.taskTextClickableColor=\\\"#003163\\\",this.activeTaskBorderColor=\\\"calculated\\\",this.activeTaskBkgColor=\\\"calculated\\\",this.gridColor=\\\"calculated\\\",this.doneTaskBkgColor=\\\"calculated\\\",this.doneTaskBorderColor=\\\"calculated\\\",this.critBkgColor=\\\"calculated\\\",this.critBorderColor=\\\"calculated\\\",this.todayLineColor=\\\"calculated\\\",this.personBorder=\\\"calculated\\\",this.personBkg=\\\"calculated\\\",this.labelColor=\\\"black\\\",this.errorBkgColor=\\\"#552222\\\",this.errorTextColor=\\\"#552222\\\"}updateColors(){this.secondBkg=ne(this.contrast,55),this.border2=this.contrast,this.cScale0=this.cScale0||\\\"#555\\\",this.cScale1=this.cScale1||\\\"#F4F4F4\\\",this.cScale2=this.cScale2||\\\"#555\\\",this.cScale3=this.cScale3||\\\"#BBB\\\",this.cScale4=this.cScale4||\\\"#777\\\",this.cScale5=this.cScale5||\\\"#999\\\",this.cScale6=this.cScale6||\\\"#DDD\\\",this.cScale7=this.cScale7||\\\"#FFF\\\",this.cScale8=this.cScale8||\\\"#DDD\\\",this.cScale9=this.cScale9||\\\"#BBB\\\",this.cScale10=this.cScale10||\\\"#999\\\",this.cScale11=this.cScale11||\\\"#777\\\";for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScaleInv\\\"+e]=this[\\\"cScaleInv\\\"+e]||Wt(this[\\\"cScale\\\"+e]);for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this.darkMode?this[\\\"cScalePeer\\\"+e]=this[\\\"cScalePeer\\\"+e]||ne(this[\\\"cScale\\\"+e],10):this[\\\"cScalePeer\\\"+e]=this[\\\"cScalePeer\\\"+e]||de(this[\\\"cScale\\\"+e],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?\\\"black\\\":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"cScaleLabel\\\"+e]=this[\\\"cScaleLabel\\\"+e]||this.scaleLabelColor;this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.actorBorder=ne(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor=\\\"#999\\\",this.noteBkgColor=\\\"#666\\\",this.noteTextColor=\\\"#fff\\\",this.sectionBkgColor=ne(this.contrast,30),this.sectionBkgColor2=ne(this.contrast,30),this.taskBorderColor=de(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=ne(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=de(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||\\\"#000\\\",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||\\\"#f4f4f4\\\",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||\\\"#000\\\",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=\\\"#222\\\",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=yt(this.primaryColor,{h:64}),this.fillType3=yt(this.secondaryColor,{h:64}),this.fillType4=yt(this.primaryColor,{h:-64}),this.fillType5=yt(this.secondaryColor,{h:-64}),this.fillType6=yt(this.primaryColor,{h:128}),this.fillType7=yt(this.secondaryColor,{h:128});for(let e=0;e\u003Cthis.THEME_COLOR_LIMIT;e++)this[\\\"pie\\\"+e]=this[\\\"cScale\\\"+e];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||\\\"25px\\\",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||\\\"17px\\\",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||\\\"17px\\\",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||\\\"black\\\",this.pieStrokeWidth=this.pieStrokeWidth||\\\"2px\\\",this.pieOpacity=this.pieOpacity||\\\"0.7\\\",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=de(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||yt(this.primaryColor,{h:-30}),this.git4=this.pie5||yt(this.primaryColor,{h:-60}),this.git5=this.pie6||yt(this.primaryColor,{h:-90}),this.git6=this.pie7||yt(this.primaryColor,{h:60}),this.git7=this.pie8||yt(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||Wt(this.git0),this.gitInv1=this.gitInv1||Wt(this.git1),this.gitInv2=this.gitInv2||Wt(this.git2),this.gitInv3=this.gitInv3||Wt(this.git3),this.gitInv4=this.gitInv4||Wt(this.git4),this.gitInv5=this.gitInv5||Wt(this.git5),this.gitInv6=this.gitInv6||Wt(this.git6),this.gitInv7=this.gitInv7||Wt(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1=\\\"white\\\",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3=\\\"white\\\",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||\\\"10px\\\",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||\\\"10px\\\",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||oc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||lc}calculate(e){if(typeof e!=\\\"object\\\"){this.updateColors();return}const r=Object.keys(e);r.forEach(n=>{this[n]=e[n]}),this.updateColors(),r.forEach(n=>{this[n]=e[n]})}}const oi={base:{getThemeVariables:x8},dark:{getThemeVariables:k8},default:{getThemeVariables:T8},forest:{getThemeVariables:C8},neutral:{getThemeVariables:t=>{const e=new S8;return e.calculate(t),e}}},Fi={theme:\\\"default\\\",themeVariables:oi.default.getThemeVariables(),themeCSS:void 0,maxTextSize:5e4,darkMode:!1,fontFamily:'\\\"trebuchet ms\\\", verdana, arial, sans-serif;',logLevel:5,securityLevel:\\\"strict\\\",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:[\\\"secure\\\",\\\"securityLevel\\\",\\\"startOnLoad\\\",\\\"maxTextSize\\\"],deterministicIds:!1,deterministicIDSeed:void 0,flowchart:{titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:\\\"basis\\\",padding:15,useMaxWidth:!0,defaultRenderer:\\\"dagre-wrapper\\\"},sequence:{hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:\\\"center\\\",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'\\\"Open Sans\\\", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'\\\"trebuchet ms\\\", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:\\\"center\\\",messageFontSize:16,messageFontFamily:'\\\"trebuchet ms\\\", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:\\\"%Y-%m-%d\\\",tickInterval:void 0,useMaxWidth:!0,topAxis:!1,useWidth:void 0},journey:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:\\\"center\\\",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'\\\"Open Sans\\\", sans-serif',taskMargin:50,activationWidth:10,textPlacement:\\\"fo\\\",actorColours:[\\\"#8FBC8F\\\",\\\"#7CFC00\\\",\\\"#00FFFF\\\",\\\"#20B2AA\\\",\\\"#B0E0E6\\\",\\\"#FFFFE0\\\"],sectionFills:[\\\"#191970\\\",\\\"#8B008B\\\",\\\"#4B0082\\\",\\\"#2F4F4F\\\",\\\"#800000\\\",\\\"#8B4513\\\",\\\"#00008B\\\"],sectionColours:[\\\"#fff\\\"]},class:{titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,useMaxWidth:!0,defaultRenderer:\\\"dagre-wrapper\\\"},state:{titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:\\\"20\\\",compositTitleSize:35,radius:5,useMaxWidth:!0,defaultRenderer:\\\"dagre-wrapper\\\"},er:{titleTopMargin:25,diagramPadding:20,layoutDirection:\\\"TB\\\",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:\\\"gray\\\",fill:\\\"honeydew\\\",fontSize:12,useMaxWidth:!0},pie:{useWidth:void 0,useMaxWidth:!0},requirement:{useWidth:void 0,useMaxWidth:!0,rect_fill:\\\"#f9f9f9\\\",text_color:\\\"#333\\\",rect_border_size:\\\"0.5px\\\",rect_border_color:\\\"#bbb\\\",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},gitGraph:{titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:\\\"main\\\",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0},c4:{useWidth:void 0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,useMaxWidth:!0,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'\\\"Open Sans\\\", sans-serif',personFontWeight:\\\"normal\\\",external_personFontSize:14,external_personFontFamily:'\\\"Open Sans\\\", sans-serif',external_personFontWeight:\\\"normal\\\",systemFontSize:14,systemFontFamily:'\\\"Open Sans\\\", sans-serif',systemFontWeight:\\\"normal\\\",external_systemFontSize:14,external_systemFontFamily:'\\\"Open Sans\\\", sans-serif',external_systemFontWeight:\\\"normal\\\",system_dbFontSize:14,system_dbFontFamily:'\\\"Open Sans\\\", sans-serif',system_dbFontWeight:\\\"normal\\\",external_system_dbFontSize:14,external_system_dbFontFamily:'\\\"Open Sans\\\", sans-serif',external_system_dbFontWeight:\\\"normal\\\",system_queueFontSize:14,system_queueFontFamily:'\\\"Open Sans\\\", sans-serif',system_queueFontWeight:\\\"normal\\\",external_system_queueFontSize:14,external_system_queueFontFamily:'\\\"Open Sans\\\", sans-serif',external_system_queueFontWeight:\\\"normal\\\",boundaryFontSize:14,boundaryFontFamily:'\\\"Open Sans\\\", sans-serif',boundaryFontWeight:\\\"normal\\\",messageFontSize:12,messageFontFamily:'\\\"Open Sans\\\", sans-serif',messageFontWeight:\\\"normal\\\",containerFontSize:14,containerFontFamily:'\\\"Open Sans\\\", sans-serif',containerFontWeight:\\\"normal\\\",external_containerFontSize:14,external_containerFontFamily:'\\\"Open Sans\\\", sans-serif',external_containerFontWeight:\\\"normal\\\",container_dbFontSize:14,container_dbFontFamily:'\\\"Open Sans\\\", sans-serif',container_dbFontWeight:\\\"normal\\\",external_container_dbFontSize:14,external_container_dbFontFamily:'\\\"Open Sans\\\", sans-serif',external_container_dbFontWeight:\\\"normal\\\",container_queueFontSize:14,container_queueFontFamily:'\\\"Open Sans\\\", sans-serif',container_queueFontWeight:\\\"normal\\\",external_container_queueFontSize:14,external_container_queueFontFamily:'\\\"Open Sans\\\", sans-serif',external_container_queueFontWeight:\\\"normal\\\",componentFontSize:14,componentFontFamily:'\\\"Open Sans\\\", sans-serif',componentFontWeight:\\\"normal\\\",external_componentFontSize:14,external_componentFontFamily:'\\\"Open Sans\\\", sans-serif',external_componentFontWeight:\\\"normal\\\",component_dbFontSize:14,component_dbFontFamily:'\\\"Open Sans\\\", sans-serif',component_dbFontWeight:\\\"normal\\\",external_component_dbFontSize:14,external_component_dbFontFamily:'\\\"Open Sans\\\", sans-serif',external_component_dbFontWeight:\\\"normal\\\",component_queueFontSize:14,component_queueFontFamily:'\\\"Open Sans\\\", sans-serif',component_queueFontWeight:\\\"normal\\\",external_component_queueFontSize:14,external_component_queueFontFamily:'\\\"Open Sans\\\", sans-serif',external_component_queueFontWeight:\\\"normal\\\",wrap:!0,wrapPadding:10,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},person_bg_color:\\\"#08427B\\\",person_border_color:\\\"#073B6F\\\",external_person_bg_color:\\\"#686868\\\",external_person_border_color:\\\"#8A8A8A\\\",system_bg_color:\\\"#1168BD\\\",system_border_color:\\\"#3C7FC0\\\",system_db_bg_color:\\\"#1168BD\\\",system_db_border_color:\\\"#3C7FC0\\\",system_queue_bg_color:\\\"#1168BD\\\",system_queue_border_color:\\\"#3C7FC0\\\",external_system_bg_color:\\\"#999999\\\",external_system_border_color:\\\"#8A8A8A\\\",external_system_db_bg_color:\\\"#999999\\\",external_system_db_border_color:\\\"#8A8A8A\\\",external_system_queue_bg_color:\\\"#999999\\\",external_system_queue_border_color:\\\"#8A8A8A\\\",container_bg_color:\\\"#438DD5\\\",container_border_color:\\\"#3C7FC0\\\",container_db_bg_color:\\\"#438DD5\\\",container_db_border_color:\\\"#3C7FC0\\\",container_queue_bg_color:\\\"#438DD5\\\",container_queue_border_color:\\\"#3C7FC0\\\",external_container_bg_color:\\\"#B3B3B3\\\",external_container_border_color:\\\"#A6A6A6\\\",external_container_db_bg_color:\\\"#B3B3B3\\\",external_container_db_border_color:\\\"#A6A6A6\\\",external_container_queue_bg_color:\\\"#B3B3B3\\\",external_container_queue_border_color:\\\"#A6A6A6\\\",component_bg_color:\\\"#85BBF0\\\",component_border_color:\\\"#78A8D8\\\",component_db_bg_color:\\\"#85BBF0\\\",component_db_border_color:\\\"#78A8D8\\\",component_queue_bg_color:\\\"#85BBF0\\\",component_queue_border_color:\\\"#78A8D8\\\",external_component_bg_color:\\\"#CCCCCC\\\",external_component_border_color:\\\"#BFBFBF\\\",external_component_db_bg_color:\\\"#CCCCCC\\\",external_component_db_border_color:\\\"#BFBFBF\\\",external_component_queue_bg_color:\\\"#CCCCCC\\\",external_component_queue_border_color:\\\"#BFBFBF\\\"},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},fontSize:16};Fi.class&&(Fi.class.arrowMarkerAbsolute=Fi.arrowMarkerAbsolute),Fi.gitGraph&&(Fi.gitGraph.arrowMarkerAbsolute=Fi.arrowMarkerAbsolute);const op=(t,e=\\\"\\\")=>Object.keys(t).reduce((r,n)=>Array.isArray(t[n])?r:typeof t[n]==\\\"object\\\"&&t[n]!==null?[...r,e+n,...op(t[n],\\\"\\\")]:[...r,e+n],[]),A8=op(Fi,\\\"\\\"),L8=Fi;/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function lp(t){return typeof t>\\\"u\\\"||t===null}function D8(t){return typeof t==\\\"object\\\"&&t!==null}function M8(t){return Array.isArray(t)?t:lp(t)?[]:[t]}function N8(t,e){var r,n,i,s;if(e)for(s=Object.keys(e),r=0,n=s.length;r\u003Cn;r+=1)i=s[r],t[i]=e[i];return t}function B8(t,e){var r=\\\"\\\",n;for(n=0;n\u003Ce;n+=1)r+=t;return r}function I8(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}var O8=lp,R8=D8,F8=M8,P8=B8,Y8=I8,V8=N8,Nr={isNothing:O8,isObject:R8,toArray:F8,repeat:P8,isNegativeZero:Y8,extend:V8};function cp(t,e){var r=\\\"\\\",n=t.reason||\\\"(unknown reason)\\\";return t.mark?(t.mark.name&&(r+='in \\\"'+t.mark.name+'\\\" '),r+=\\\"(\\\"+(t.mark.line+1)+\\\":\\\"+(t.mark.column+1)+\\\")\\\",!e&&t.mark.snippet&&(r+=`\\n\\n`+t.mark.snippet),n+\\\" \\\"+r):n}function oo(t,e){Error.call(this),this.name=\\\"YAMLException\\\",this.reason=t,this.mark=e,this.message=cp(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||\\\"\\\"}oo.prototype=Object.create(Error.prototype),oo.prototype.constructor=oo,oo.prototype.toString=function(e){return this.name+\\\": \\\"+cp(this,e)};var li=oo;function i1(t,e,r,n,i){var s=\\\"\\\",a=\\\"\\\",o=Math.floor(i/2)-1;return n-e>o&&(s=\\\" ... \\\",e=n-o+s.length),r-n>o&&(a=\\\" ...\\\",r=n+o-a.length),{str:s+t.slice(e,r).replace(/\\\\t/g,\\\"\\\\u2192\\\")+a,pos:n-e+s.length}}function s1(t,e){return Nr.repeat(\\\" \\\",e-t.length)+t}function U8(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!=\\\"number\\\"&&(e.indent=1),typeof e.linesBefore!=\\\"number\\\"&&(e.linesBefore=3),typeof e.linesAfter!=\\\"number\\\"&&(e.linesAfter=2);for(var r=/\\\\r?\\\\n|\\\\r|\\\\0/g,n=[0],i=[],s,a=-1;s=r.exec(t.buffer);)i.push(s.index),n.push(s.index+s[0].length),t.position\u003C=s.index&&a\u003C0&&(a=n.length-2);a\u003C0&&(a=n.length-1);var o=\\\"\\\",l,u,d=Math.min(t.line+e.linesAfter,i.length).toString().length,f=e.maxLength-(e.indent+d+3);for(l=1;l\u003C=e.linesBefore&&!(a-l\u003C0);l++)u=i1(t.buffer,n[a-l],i[a-l],t.position-(n[a]-n[a-l]),f),o=Nr.repeat(\\\" \\\",e.indent)+s1((t.line-l+1).toString(),d)+\\\" | \\\"+u.str+`\\n`+o;for(u=i1(t.buffer,n[a],i[a],t.position,f),o+=Nr.repeat(\\\" \\\",e.indent)+s1((t.line+1).toString(),d)+\\\" | \\\"+u.str+`\\n`,o+=Nr.repeat(\\\"-\\\",e.indent+d+3+u.pos)+`^\\n`,l=1;l\u003C=e.linesAfter&&!(a+l>=i.length);l++)u=i1(t.buffer,n[a+l],i[a+l],t.position-(n[a]-n[a+l]),f),o+=Nr.repeat(\\\" \\\",e.indent)+s1((t.line+l+1).toString(),d)+\\\" | \\\"+u.str+`\\n`;return o.replace(/\\\\n$/,\\\"\\\")}var z8=U8,W8=[\\\"kind\\\",\\\"multi\\\",\\\"resolve\\\",\\\"construct\\\",\\\"instanceOf\\\",\\\"predicate\\\",\\\"represent\\\",\\\"representName\\\",\\\"defaultStyle\\\",\\\"styleAliases\\\"],H8=[\\\"scalar\\\",\\\"sequence\\\",\\\"mapping\\\"];function G8(t){var e={};return t!==null&&Object.keys(t).forEach(function(r){t[r].forEach(function(n){e[String(n)]=r})}),e}function q8(t,e){if(e=e||{},Object.keys(e).forEach(function(r){if(W8.indexOf(r)===-1)throw new li('Unknown option \\\"'+r+'\\\" is met in definition of \\\"'+t+'\\\" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(r){return r},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=G8(e.styleAliases||null),H8.indexOf(this.kind)===-1)throw new li('Unknown kind \\\"'+this.kind+'\\\" is specified for \\\"'+t+'\\\" YAML type.')}var Tr=q8;function up(t,e){var r=[];return t[e].forEach(function(n){var i=r.length;r.forEach(function(s,a){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(i=a)}),r[i]=n}),r}function j8(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,r;function n(i){i.multi?(t.multi[i.kind].push(i),t.multi.fallback.push(i)):t[i.kind][i.tag]=t.fallback[i.tag]=i}for(e=0,r=arguments.length;e\u003Cr;e+=1)arguments[e].forEach(n);return t}function a1(t){return this.extend(t)}a1.prototype.extend=function(e){var r=[],n=[];if(e instanceof Tr)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(r=r.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new li(\\\"Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })\\\");r.forEach(function(s){if(!(s instanceof Tr))throw new li(\\\"Specified list of YAML types (or a single Type object) contains a non-Type object.\\\");if(s.loadKind&&s.loadKind!==\\\"scalar\\\")throw new li(\\\"There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.\\\");if(s.multi)throw new li(\\\"There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.\\\")}),n.forEach(function(s){if(!(s instanceof Tr))throw new li(\\\"Specified list of YAML types (or a single Type object) contains a non-Type object.\\\")});var i=Object.create(a1.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=up(i,\\\"implicit\\\"),i.compiledExplicit=up(i,\\\"explicit\\\"),i.compiledTypeMap=j8(i.compiledImplicit,i.compiledExplicit),i};var $8=a1,X8=new Tr(\\\"tag:yaml.org,2002:str\\\",{kind:\\\"scalar\\\",construct:function(t){return t!==null?t:\\\"\\\"}}),K8=new Tr(\\\"tag:yaml.org,2002:seq\\\",{kind:\\\"sequence\\\",construct:function(t){return t!==null?t:[]}}),Z8=new Tr(\\\"tag:yaml.org,2002:map\\\",{kind:\\\"mapping\\\",construct:function(t){return t!==null?t:{}}}),hp=new $8({explicit:[X8,K8,Z8]});function Q8(t){if(t===null)return!0;var e=t.length;return e===1&&t===\\\"~\\\"||e===4&&(t===\\\"null\\\"||t===\\\"Null\\\"||t===\\\"NULL\\\")}function J8(){return null}function tw(t){return t===null}var ew=new Tr(\\\"tag:yaml.org,2002:null\\\",{kind:\\\"scalar\\\",resolve:Q8,construct:J8,predicate:tw,represent:{canonical:function(){return\\\"~\\\"},lowercase:function(){return\\\"null\\\"},uppercase:function(){return\\\"NULL\\\"},camelcase:function(){return\\\"Null\\\"},empty:function(){return\\\"\\\"}},defaultStyle:\\\"lowercase\\\"});function rw(t){if(t===null)return!1;var e=t.length;return e===4&&(t===\\\"true\\\"||t===\\\"True\\\"||t===\\\"TRUE\\\")||e===5&&(t===\\\"false\\\"||t===\\\"False\\\"||t===\\\"FALSE\\\")}function nw(t){return t===\\\"true\\\"||t===\\\"True\\\"||t===\\\"TRUE\\\"}function iw(t){return Object.prototype.toString.call(t)===\\\"[object Boolean]\\\"}var sw=new Tr(\\\"tag:yaml.org,2002:bool\\\",{kind:\\\"scalar\\\",resolve:rw,construct:nw,predicate:iw,represent:{lowercase:function(t){return t?\\\"true\\\":\\\"false\\\"},uppercase:function(t){return t?\\\"TRUE\\\":\\\"FALSE\\\"},camelcase:function(t){return t?\\\"True\\\":\\\"False\\\"}},defaultStyle:\\\"lowercase\\\"});function aw(t){return 48\u003C=t&&t\u003C=57||65\u003C=t&&t\u003C=70||97\u003C=t&&t\u003C=102}function ow(t){return 48\u003C=t&&t\u003C=55}function lw(t){return 48\u003C=t&&t\u003C=57}function cw(t){if(t===null)return!1;var e=t.length,r=0,n=!1,i;if(!e)return!1;if(i=t[r],(i===\\\"-\\\"||i===\\\"+\\\")&&(i=t[++r]),i===\\\"0\\\"){if(r+1===e)return!0;if(i=t[++r],i===\\\"b\\\"){for(r++;r\u003Ce;r++)if(i=t[r],i!==\\\"_\\\"){if(i!==\\\"0\\\"&&i!==\\\"1\\\")return!1;n=!0}return n&&i!==\\\"_\\\"}if(i===\\\"x\\\"){for(r++;r\u003Ce;r++)if(i=t[r],i!==\\\"_\\\"){if(!aw(t.charCodeAt(r)))return!1;n=!0}return n&&i!==\\\"_\\\"}if(i===\\\"o\\\"){for(r++;r\u003Ce;r++)if(i=t[r],i!==\\\"_\\\"){if(!ow(t.charCodeAt(r)))return!1;n=!0}return n&&i!==\\\"_\\\"}}if(i===\\\"_\\\")return!1;for(;r\u003Ce;r++)if(i=t[r],i!==\\\"_\\\"){if(!lw(t.charCodeAt(r)))return!1;n=!0}return!(!n||i===\\\"_\\\")}function uw(t){var e=t,r=1,n;if(e.indexOf(\\\"_\\\")!==-1&&(e=e.replace(/_/g,\\\"\\\")),n=e[0],(n===\\\"-\\\"||n===\\\"+\\\")&&(n===\\\"-\\\"&&(r=-1),e=e.slice(1),n=e[0]),e===\\\"0\\\")return 0;if(n===\\\"0\\\"){if(e[1]===\\\"b\\\")return r*parseInt(e.slice(2),2);if(e[1]===\\\"x\\\")return r*parseInt(e.slice(2),16);if(e[1]===\\\"o\\\")return r*parseInt(e.slice(2),8)}return r*parseInt(e,10)}function hw(t){return Object.prototype.toString.call(t)===\\\"[object Number]\\\"&&t%1===0&&!Nr.isNegativeZero(t)}var dw=new Tr(\\\"tag:yaml.org,2002:int\\\",{kind:\\\"scalar\\\",resolve:cw,construct:uw,predicate:hw,represent:{binary:function(t){return t>=0?\\\"0b\\\"+t.toString(2):\\\"-0b\\\"+t.toString(2).slice(1)},octal:function(t){return t>=0?\\\"0o\\\"+t.toString(8):\\\"-0o\\\"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?\\\"0x\\\"+t.toString(16).toUpperCase():\\\"-0x\\\"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:\\\"decimal\\\",styleAliases:{binary:[2,\\\"bin\\\"],octal:[8,\\\"oct\\\"],decimal:[10,\\\"dec\\\"],hexadecimal:[16,\\\"hex\\\"]}}),fw=new RegExp(\\\"^(?:[-+]?(?:[0-9][0-9_]*)(?:\\\\\\\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\\\\\\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\\\\\\\.(?:inf|Inf|INF)|\\\\\\\\.(?:nan|NaN|NAN))$\\\");function pw(t){return!(t===null||!fw.test(t)||t[t.length-1]===\\\"_\\\")}function gw(t){var e,r;return e=t.replace(/_/g,\\\"\\\").toLowerCase(),r=e[0]===\\\"-\\\"?-1:1,\\\"+-\\\".indexOf(e[0])>=0&&(e=e.slice(1)),e===\\\".inf\\\"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===\\\".nan\\\"?NaN:r*parseFloat(e,10)}var yw=/^[-+]?[0-9]+e/;function mw(t,e){var r;if(isNaN(t))switch(e){case\\\"lowercase\\\":return\\\".nan\\\";case\\\"uppercase\\\":return\\\".NAN\\\";case\\\"camelcase\\\":return\\\".NaN\\\"}else if(Number.POSITIVE_INFINITY===t)switch(e){case\\\"lowercase\\\":return\\\".inf\\\";case\\\"uppercase\\\":return\\\".INF\\\";case\\\"camelcase\\\":return\\\".Inf\\\"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case\\\"lowercase\\\":return\\\"-.inf\\\";case\\\"uppercase\\\":return\\\"-.INF\\\";case\\\"camelcase\\\":return\\\"-.Inf\\\"}else if(Nr.isNegativeZero(t))return\\\"-0.0\\\";return r=t.toString(10),yw.test(r)?r.replace(\\\"e\\\",\\\".e\\\"):r}function bw(t){return Object.prototype.toString.call(t)===\\\"[object Number]\\\"&&(t%1!==0||Nr.isNegativeZero(t))}var _w=new Tr(\\\"tag:yaml.org,2002:float\\\",{kind:\\\"scalar\\\",resolve:pw,construct:gw,predicate:bw,represent:mw,defaultStyle:\\\"lowercase\\\"}),xw=hp.extend({implicit:[ew,sw,dw,_w]}),vw=xw,dp=new RegExp(\\\"^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$\\\"),fp=new RegExp(\\\"^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\\\\\\\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\\\\\\\.([0-9]*))?(?:[ \\\\\\\\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$\\\");function kw(t){return t===null?!1:dp.exec(t)!==null||fp.exec(t)!==null}function ww(t){var e,r,n,i,s,a,o,l=0,u=null,d,f,p;if(e=dp.exec(t),e===null&&(e=fp.exec(t)),e===null)throw new Error(\\\"Date resolve error\\\");if(r=+e[1],n=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(r,n,i));if(s=+e[4],a=+e[5],o=+e[6],e[7]){for(l=e[7].slice(0,3);l.length\u003C3;)l+=\\\"0\\\";l=+l}return e[9]&&(d=+e[10],f=+(e[11]||0),u=(d*60+f)*6e4,e[9]===\\\"-\\\"&&(u=-u)),p=new Date(Date.UTC(r,n,i,s,a,o,l)),u&&p.setTime(p.getTime()-u),p}function Tw(t){return t.toISOString()}var Ew=new Tr(\\\"tag:yaml.org,2002:timestamp\\\",{kind:\\\"scalar\\\",resolve:kw,construct:ww,instanceOf:Date,represent:Tw});function Cw(t){return t===\\\"\u003C\u003C\\\"||t===null}var Sw=new Tr(\\\"tag:yaml.org,2002:merge\\\",{kind:\\\"scalar\\\",resolve:Cw}),o1=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\\n\\\\r`;function Aw(t){if(t===null)return!1;var e,r,n=0,i=t.length,s=o1;for(r=0;r\u003Ci;r++)if(e=s.indexOf(t.charAt(r)),!(e>64)){if(e\u003C0)return!1;n+=6}return n%8===0}function Lw(t){var e,r,n=t.replace(/[\\\\r\\\\n=]/g,\\\"\\\"),i=n.length,s=o1,a=0,o=[];for(e=0;e\u003Ci;e++)e%4===0&&e&&(o.push(a>>16&255),o.push(a>>8&255),o.push(a&255)),a=a\u003C\u003C6|s.indexOf(n.charAt(e));return r=i%4*6,r===0?(o.push(a>>16&255),o.push(a>>8&255),o.push(a&255)):r===18?(o.push(a>>10&255),o.push(a>>2&255)):r===12&&o.push(a>>4&255),new Uint8Array(o)}function Dw(t){var e=\\\"\\\",r=0,n,i,s=t.length,a=o1;for(n=0;n\u003Cs;n++)n%3===0&&n&&(e+=a[r>>18&63],e+=a[r>>12&63],e+=a[r>>6&63],e+=a[r&63]),r=(r\u003C\u003C8)+t[n];return i=s%3,i===0?(e+=a[r>>18&63],e+=a[r>>12&63],e+=a[r>>6&63],e+=a[r&63]):i===2?(e+=a[r>>10&63],e+=a[r>>4&63],e+=a[r\u003C\u003C2&63],e+=a[64]):i===1&&(e+=a[r>>2&63],e+=a[r\u003C\u003C4&63],e+=a[64],e+=a[64]),e}function Mw(t){return Object.prototype.toString.call(t)===\\\"[object Uint8Array]\\\"}var Nw=new Tr(\\\"tag:yaml.org,2002:binary\\\",{kind:\\\"scalar\\\",resolve:Aw,construct:Lw,predicate:Mw,represent:Dw}),Bw=Object.prototype.hasOwnProperty,Iw=Object.prototype.toString;function Ow(t){if(t===null)return!0;var e=[],r,n,i,s,a,o=t;for(r=0,n=o.length;r\u003Cn;r+=1){if(i=o[r],a=!1,Iw.call(i)!==\\\"[object Object]\\\")return!1;for(s in i)if(Bw.call(i,s))if(!a)a=!0;else return!1;if(!a)return!1;if(e.indexOf(s)===-1)e.push(s);else return!1}return!0}function Rw(t){return t!==null?t:[]}var Fw=new Tr(\\\"tag:yaml.org,2002:omap\\\",{kind:\\\"sequence\\\",resolve:Ow,construct:Rw}),Pw=Object.prototype.toString;function Yw(t){if(t===null)return!0;var e,r,n,i,s,a=t;for(s=new Array(a.length),e=0,r=a.length;e\u003Cr;e+=1){if(n=a[e],Pw.call(n)!==\\\"[object Object]\\\"||(i=Object.keys(n),i.length!==1))return!1;s[e]=[i[0],n[i[0]]]}return!0}function Vw(t){if(t===null)return[];var e,r,n,i,s,a=t;for(s=new Array(a.length),e=0,r=a.length;e\u003Cr;e+=1)n=a[e],i=Object.keys(n),s[e]=[i[0],n[i[0]]];return s}var Uw=new Tr(\\\"tag:yaml.org,2002:pairs\\\",{kind:\\\"sequence\\\",resolve:Yw,construct:Vw}),zw=Object.prototype.hasOwnProperty;function Ww(t){if(t===null)return!0;var e,r=t;for(e in r)if(zw.call(r,e)&&r[e]!==null)return!1;return!0}function Hw(t){return t!==null?t:{}}var Gw=new Tr(\\\"tag:yaml.org,2002:set\\\",{kind:\\\"mapping\\\",resolve:Ww,construct:Hw}),qw=vw.extend({implicit:[Ew,Sw],explicit:[Nw,Fw,Uw,Gw]}),Pi=Object.prototype.hasOwnProperty,cc=1,pp=2,gp=3,uc=4,l1=1,jw=2,yp=3,$w=/[\\\\x00-\\\\x08\\\\x0B\\\\x0C\\\\x0E-\\\\x1F\\\\x7F-\\\\x84\\\\x86-\\\\x9F\\\\uFFFE\\\\uFFFF]|[\\\\uD800-\\\\uDBFF](?![\\\\uDC00-\\\\uDFFF])|(?:[^\\\\uD800-\\\\uDBFF]|^)[\\\\uDC00-\\\\uDFFF]/,Xw=/[\\\\x85\\\\u2028\\\\u2029]/,Kw=/[,\\\\[\\\\]\\\\{\\\\}]/,mp=/^(?:!|!!|![a-z\\\\-]+!)$/i,bp=/^(?:!|[^,\\\\[\\\\]\\\\{\\\\}])(?:%[0-9a-f]{2}|[0-9a-z\\\\-#;\\\\/\\\\?:@&=\\\\+\\\\$,_\\\\.!~\\\\*'\\\\(\\\\)\\\\[\\\\]])*$/i;function _p(t){return Object.prototype.toString.call(t)}function Vn(t){return t===10||t===13}function fs(t){return t===9||t===32}function Fr(t){return t===9||t===32||t===10||t===13}function ra(t){return t===44||t===91||t===93||t===123||t===125}function Zw(t){var e;return 48\u003C=t&&t\u003C=57?t-48:(e=t|32,97\u003C=e&&e\u003C=102?e-97+10:-1)}function Qw(t){return t===120?2:t===117?4:t===85?8:0}function Jw(t){return 48\u003C=t&&t\u003C=57?t-48:-1}function xp(t){return t===48?\\\"\\\\0\\\":t===97?\\\"\\\\x07\\\":t===98?\\\"\\\\b\\\":t===116||t===9?\\\"\\t\\\":t===110?`\\n`:t===118?\\\"\\\\v\\\":t===102?\\\"\\\\f\\\":t===114?\\\"\\\\r\\\":t===101?\\\"\\\\x1B\\\":t===32?\\\" \\\":t===34?'\\\"':t===47?\\\"/\\\":t===92?\\\"\\\\\\\\\\\":t===78?\\\"\\\\x85\\\":t===95?\\\"\\\\xA0\\\":t===76?\\\"\\\\u2028\\\":t===80?\\\"\\\\u2029\\\":\\\"\\\"}function t7(t){return t\u003C=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}for(var vp=new Array(256),kp=new Array(256),na=0;na\u003C256;na++)vp[na]=xp(na)?1:0,kp[na]=xp(na);function e7(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||qw,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function wp(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=z8(r),new li(e,r)}function Qt(t,e){throw wp(t,e)}function hc(t,e){t.onWarning&&t.onWarning.call(null,wp(t,e))}var Tp={YAML:function(e,r,n){var i,s,a;e.version!==null&&Qt(e,\\\"duplication of %YAML directive\\\"),n.length!==1&&Qt(e,\\\"YAML directive accepts exactly one argument\\\"),i=/^([0-9]+)\\\\.([0-9]+)$/.exec(n[0]),i===null&&Qt(e,\\\"ill-formed argument of the YAML directive\\\"),s=parseInt(i[1],10),a=parseInt(i[2],10),s!==1&&Qt(e,\\\"unacceptable YAML version of the document\\\"),e.version=n[0],e.checkLineBreaks=a\u003C2,a!==1&&a!==2&&hc(e,\\\"unsupported YAML version of the document\\\")},TAG:function(e,r,n){var i,s;n.length!==2&&Qt(e,\\\"TAG directive accepts exactly two arguments\\\"),i=n[0],s=n[1],mp.test(i)||Qt(e,\\\"ill-formed tag handle (first argument) of the TAG directive\\\"),Pi.call(e.tagMap,i)&&Qt(e,'there is a previously declared suffix for \\\"'+i+'\\\" tag handle'),bp.test(s)||Qt(e,\\\"ill-formed tag prefix (second argument) of the TAG directive\\\");try{s=decodeURIComponent(s)}catch{Qt(e,\\\"tag prefix is malformed: \\\"+s)}e.tagMap[i]=s}};function Yi(t,e,r,n){var i,s,a,o;if(e\u003Cr){if(o=t.input.slice(e,r),n)for(i=0,s=o.length;i\u003Cs;i+=1)a=o.charCodeAt(i),a===9||32\u003C=a&&a\u003C=1114111||Qt(t,\\\"expected valid JSON character\\\");else $w.test(o)&&Qt(t,\\\"the stream contains non-printable characters\\\");t.result+=o}}function Ep(t,e,r,n){var i,s,a,o;for(Nr.isObject(r)||Qt(t,\\\"cannot merge mappings; the provided source object is unacceptable\\\"),i=Object.keys(r),a=0,o=i.length;a\u003Co;a+=1)s=i[a],Pi.call(e,s)||(e[s]=r[s],n[s]=!0)}function ia(t,e,r,n,i,s,a,o,l){var u,d;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),u=0,d=i.length;u\u003Cd;u+=1)Array.isArray(i[u])&&Qt(t,\\\"nested arrays are not supported inside keys\\\"),typeof i==\\\"object\\\"&&_p(i[u])===\\\"[object Object]\\\"&&(i[u]=\\\"[object Object]\\\");if(typeof i==\\\"object\\\"&&_p(i)===\\\"[object Object]\\\"&&(i=\\\"[object Object]\\\"),i=String(i),e===null&&(e={}),n===\\\"tag:yaml.org,2002:merge\\\")if(Array.isArray(s))for(u=0,d=s.length;u\u003Cd;u+=1)Ep(t,e,s[u],r);else Ep(t,e,s,r);else!t.json&&!Pi.call(r,i)&&Pi.call(e,i)&&(t.line=a||t.line,t.lineStart=o||t.lineStart,t.position=l||t.position,Qt(t,\\\"duplicated mapping key\\\")),i===\\\"__proto__\\\"?Object.defineProperty(e,i,{configurable:!0,enumerable:!0,writable:!0,value:s}):e[i]=s,delete r[i];return e}function c1(t){var e;e=t.input.charCodeAt(t.position),e===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):Qt(t,\\\"a line break is expected\\\"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function tr(t,e,r){for(var n=0,i=t.input.charCodeAt(t.position);i!==0;){for(;fs(i);)i===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),i=t.input.charCodeAt(++t.position);if(e&&i===35)do i=t.input.charCodeAt(++t.position);while(i!==10&&i!==13&&i!==0);if(Vn(i))for(c1(t),i=t.input.charCodeAt(t.position),n++,t.lineIndent=0;i===32;)t.lineIndent++,i=t.input.charCodeAt(++t.position);else break}return r!==-1&&n!==0&&t.lineIndent\u003Cr&&hc(t,\\\"deficient indentation\\\"),n}function dc(t){var e=t.position,r;return r=t.input.charCodeAt(e),!!((r===45||r===46)&&r===t.input.charCodeAt(e+1)&&r===t.input.charCodeAt(e+2)&&(e+=3,r=t.input.charCodeAt(e),r===0||Fr(r)))}function u1(t,e){e===1?t.result+=\\\" \\\":e>1&&(t.result+=Nr.repeat(`\\n`,e-1))}function r7(t,e,r){var n,i,s,a,o,l,u,d,f=t.kind,p=t.result,g;if(g=t.input.charCodeAt(t.position),Fr(g)||ra(g)||g===35||g===38||g===42||g===33||g===124||g===62||g===39||g===34||g===37||g===64||g===96||(g===63||g===45)&&(i=t.input.charCodeAt(t.position+1),Fr(i)||r&&ra(i)))return!1;for(t.kind=\\\"scalar\\\",t.result=\\\"\\\",s=a=t.position,o=!1;g!==0;){if(g===58){if(i=t.input.charCodeAt(t.position+1),Fr(i)||r&&ra(i))break}else if(g===35){if(n=t.input.charCodeAt(t.position-1),Fr(n))break}else{if(t.position===t.lineStart&&dc(t)||r&&ra(g))break;if(Vn(g))if(l=t.line,u=t.lineStart,d=t.lineIndent,tr(t,!1,-1),t.lineIndent>=e){o=!0,g=t.input.charCodeAt(t.position);continue}else{t.position=a,t.line=l,t.lineStart=u,t.lineIndent=d;break}}o&&(Yi(t,s,a,!1),u1(t,t.line-l),s=a=t.position,o=!1),fs(g)||(a=t.position+1),g=t.input.charCodeAt(++t.position)}return Yi(t,s,a,!1),t.result?!0:(t.kind=f,t.result=p,!1)}function n7(t,e){var r,n,i;if(r=t.input.charCodeAt(t.position),r!==39)return!1;for(t.kind=\\\"scalar\\\",t.result=\\\"\\\",t.position++,n=i=t.position;(r=t.input.charCodeAt(t.position))!==0;)if(r===39)if(Yi(t,n,t.position,!0),r=t.input.charCodeAt(++t.position),r===39)n=t.position,t.position++,i=t.position;else return!0;else Vn(r)?(Yi(t,n,i,!0),u1(t,tr(t,!1,e)),n=i=t.position):t.position===t.lineStart&&dc(t)?Qt(t,\\\"unexpected end of the document within a single quoted scalar\\\"):(t.position++,i=t.position);Qt(t,\\\"unexpected end of the stream within a single quoted scalar\\\")}function i7(t,e){var r,n,i,s,a,o;if(o=t.input.charCodeAt(t.position),o!==34)return!1;for(t.kind=\\\"scalar\\\",t.result=\\\"\\\",t.position++,r=n=t.position;(o=t.input.charCodeAt(t.position))!==0;){if(o===34)return Yi(t,r,t.position,!0),t.position++,!0;if(o===92){if(Yi(t,r,t.position,!0),o=t.input.charCodeAt(++t.position),Vn(o))tr(t,!1,e);else if(o\u003C256&&vp[o])t.result+=kp[o],t.position++;else if((a=Qw(o))>0){for(i=a,s=0;i>0;i--)o=t.input.charCodeAt(++t.position),(a=Zw(o))>=0?s=(s\u003C\u003C4)+a:Qt(t,\\\"expected hexadecimal character\\\");t.result+=t7(s),t.position++}else Qt(t,\\\"unknown escape sequence\\\");r=n=t.position}else Vn(o)?(Yi(t,r,n,!0),u1(t,tr(t,!1,e)),r=n=t.position):t.position===t.lineStart&&dc(t)?Qt(t,\\\"unexpected end of the document within a double quoted scalar\\\"):(t.position++,n=t.position)}Qt(t,\\\"unexpected end of the stream within a double quoted scalar\\\")}function s7(t,e){var r=!0,n,i,s,a=t.tag,o,l=t.anchor,u,d,f,p,g,b=Object.create(null),k,T,L,E;if(E=t.input.charCodeAt(t.position),E===91)d=93,g=!1,o=[];else if(E===123)d=125,g=!0,o={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=o),E=t.input.charCodeAt(++t.position);E!==0;){if(tr(t,!0,e),E=t.input.charCodeAt(t.position),E===d)return t.position++,t.tag=a,t.anchor=l,t.kind=g?\\\"mapping\\\":\\\"sequence\\\",t.result=o,!0;r?E===44&&Qt(t,\\\"expected the node content, but found ','\\\"):Qt(t,\\\"missed comma between flow collection entries\\\"),T=k=L=null,f=p=!1,E===63&&(u=t.input.charCodeAt(t.position+1),Fr(u)&&(f=p=!0,t.position++,tr(t,!0,e))),n=t.line,i=t.lineStart,s=t.position,sa(t,e,cc,!1,!0),T=t.tag,k=t.result,tr(t,!0,e),E=t.input.charCodeAt(t.position),(p||t.line===n)&&E===58&&(f=!0,E=t.input.charCodeAt(++t.position),tr(t,!0,e),sa(t,e,cc,!1,!0),L=t.result),g?ia(t,o,b,T,k,L,n,i,s):f?o.push(ia(t,null,b,T,k,L,n,i,s)):o.push(k),tr(t,!0,e),E=t.input.charCodeAt(t.position),E===44?(r=!0,E=t.input.charCodeAt(++t.position)):r=!1}Qt(t,\\\"unexpected end of the stream within a flow collection\\\")}function a7(t,e){var r,n,i=l1,s=!1,a=!1,o=e,l=0,u=!1,d,f;if(f=t.input.charCodeAt(t.position),f===124)n=!1;else if(f===62)n=!0;else return!1;for(t.kind=\\\"scalar\\\",t.result=\\\"\\\";f!==0;)if(f=t.input.charCodeAt(++t.position),f===43||f===45)l1===i?i=f===43?yp:jw:Qt(t,\\\"repeat of a chomping mode identifier\\\");else if((d=Jw(f))>=0)d===0?Qt(t,\\\"bad explicit indentation width of a block scalar; it cannot be less than one\\\"):a?Qt(t,\\\"repeat of an indentation width identifier\\\"):(o=e+d-1,a=!0);else break;if(fs(f)){do f=t.input.charCodeAt(++t.position);while(fs(f));if(f===35)do f=t.input.charCodeAt(++t.position);while(!Vn(f)&&f!==0)}for(;f!==0;){for(c1(t),t.lineIndent=0,f=t.input.charCodeAt(t.position);(!a||t.lineIndent\u003Co)&&f===32;)t.lineIndent++,f=t.input.charCodeAt(++t.position);if(!a&&t.lineIndent>o&&(o=t.lineIndent),Vn(f)){l++;continue}if(t.lineIndent\u003Co){i===yp?t.result+=Nr.repeat(`\\n`,s?1+l:l):i===l1&&s&&(t.result+=`\\n`);break}for(n?fs(f)?(u=!0,t.result+=Nr.repeat(`\\n`,s?1+l:l)):u?(u=!1,t.result+=Nr.repeat(`\\n`,l+1)):l===0?s&&(t.result+=\\\" \\\"):t.result+=Nr.repeat(`\\n`,l):t.result+=Nr.repeat(`\\n`,s?1+l:l),s=!0,a=!0,l=0,r=t.position;!Vn(f)&&f!==0;)f=t.input.charCodeAt(++t.position);Yi(t,r,t.position,!1)}return!0}function Cp(t,e){var r,n=t.tag,i=t.anchor,s=[],a,o=!1,l;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=s),l=t.input.charCodeAt(t.position);l!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,Qt(t,\\\"tab characters must not be used in indentation\\\")),!(l!==45||(a=t.input.charCodeAt(t.position+1),!Fr(a))));){if(o=!0,t.position++,tr(t,!0,-1)&&t.lineIndent\u003C=e){s.push(null),l=t.input.charCodeAt(t.position);continue}if(r=t.line,sa(t,e,gp,!1,!0),s.push(t.result),tr(t,!0,-1),l=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&l!==0)Qt(t,\\\"bad indentation of a sequence entry\\\");else if(t.lineIndent\u003Ce)break}return o?(t.tag=n,t.anchor=i,t.kind=\\\"sequence\\\",t.result=s,!0):!1}function o7(t,e,r){var n,i,s,a,o,l,u=t.tag,d=t.anchor,f={},p=Object.create(null),g=null,b=null,k=null,T=!1,L=!1,E;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=f),E=t.input.charCodeAt(t.position);E!==0;){if(!T&&t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,Qt(t,\\\"tab characters must not be used in indentation\\\")),n=t.input.charCodeAt(t.position+1),s=t.line,(E===63||E===58)&&Fr(n))E===63?(T&&(ia(t,f,p,g,b,null,a,o,l),g=b=k=null),L=!0,T=!0,i=!0):T?(T=!1,i=!0):Qt(t,\\\"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line\\\"),t.position+=1,E=n;else{if(a=t.line,o=t.lineStart,l=t.position,!sa(t,r,pp,!1,!0))break;if(t.line===s){for(E=t.input.charCodeAt(t.position);fs(E);)E=t.input.charCodeAt(++t.position);if(E===58)E=t.input.charCodeAt(++t.position),Fr(E)||Qt(t,\\\"a whitespace character is expected after the key-value separator within a block mapping\\\"),T&&(ia(t,f,p,g,b,null,a,o,l),g=b=k=null),L=!0,T=!1,i=!1,g=t.tag,b=t.result;else if(L)Qt(t,\\\"can not read an implicit mapping pair; a colon is missed\\\");else return t.tag=u,t.anchor=d,!0}else if(L)Qt(t,\\\"can not read a block mapping entry; a multiline key may not be an implicit key\\\");else return t.tag=u,t.anchor=d,!0}if((t.line===s||t.lineIndent>e)&&(T&&(a=t.line,o=t.lineStart,l=t.position),sa(t,e,uc,!0,i)&&(T?b=t.result:k=t.result),T||(ia(t,f,p,g,b,k,a,o,l),g=b=k=null),tr(t,!0,-1),E=t.input.charCodeAt(t.position)),(t.line===s||t.lineIndent>e)&&E!==0)Qt(t,\\\"bad indentation of a mapping entry\\\");else if(t.lineIndent\u003Ce)break}return T&&ia(t,f,p,g,b,null,a,o,l),L&&(t.tag=u,t.anchor=d,t.kind=\\\"mapping\\\",t.result=f),L}function l7(t){var e,r=!1,n=!1,i,s,a;if(a=t.input.charCodeAt(t.position),a!==33)return!1;if(t.tag!==null&&Qt(t,\\\"duplication of a tag property\\\"),a=t.input.charCodeAt(++t.position),a===60?(r=!0,a=t.input.charCodeAt(++t.position)):a===33?(n=!0,i=\\\"!!\\\",a=t.input.charCodeAt(++t.position)):i=\\\"!\\\",e=t.position,r){do a=t.input.charCodeAt(++t.position);while(a!==0&&a!==62);t.position\u003Ct.length?(s=t.input.slice(e,t.position),a=t.input.charCodeAt(++t.position)):Qt(t,\\\"unexpected end of the stream within a verbatim tag\\\")}else{for(;a!==0&&!Fr(a);)a===33&&(n?Qt(t,\\\"tag suffix cannot contain exclamation marks\\\"):(i=t.input.slice(e-1,t.position+1),mp.test(i)||Qt(t,\\\"named tag handle cannot contain such characters\\\"),n=!0,e=t.position+1)),a=t.input.charCodeAt(++t.position);s=t.input.slice(e,t.position),Kw.test(s)&&Qt(t,\\\"tag suffix cannot contain flow indicator characters\\\")}s&&!bp.test(s)&&Qt(t,\\\"tag name cannot contain such characters: \\\"+s);try{s=decodeURIComponent(s)}catch{Qt(t,\\\"tag name is malformed: \\\"+s)}return r?t.tag=s:Pi.call(t.tagMap,i)?t.tag=t.tagMap[i]+s:i===\\\"!\\\"?t.tag=\\\"!\\\"+s:i===\\\"!!\\\"?t.tag=\\\"tag:yaml.org,2002:\\\"+s:Qt(t,'undeclared tag handle \\\"'+i+'\\\"'),!0}function c7(t){var e,r;if(r=t.input.charCodeAt(t.position),r!==38)return!1;for(t.anchor!==null&&Qt(t,\\\"duplication of an anchor property\\\"),r=t.input.charCodeAt(++t.position),e=t.position;r!==0&&!Fr(r)&&!ra(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&Qt(t,\\\"name of an anchor node must contain at least one character\\\"),t.anchor=t.input.slice(e,t.position),!0}function u7(t){var e,r,n;if(n=t.input.charCodeAt(t.position),n!==42)return!1;for(n=t.input.charCodeAt(++t.position),e=t.position;n!==0&&!Fr(n)&&!ra(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&Qt(t,\\\"name of an alias node must contain at least one character\\\"),r=t.input.slice(e,t.position),Pi.call(t.anchorMap,r)||Qt(t,'unidentified alias \\\"'+r+'\\\"'),t.result=t.anchorMap[r],tr(t,!0,-1),!0}function sa(t,e,r,n,i){var s,a,o,l=1,u=!1,d=!1,f,p,g,b,k,T;if(t.listener!==null&&t.listener(\\\"open\\\",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,s=a=o=uc===r||gp===r,n&&tr(t,!0,-1)&&(u=!0,t.lineIndent>e?l=1:t.lineIndent===e?l=0:t.lineIndent\u003Ce&&(l=-1)),l===1)for(;l7(t)||c7(t);)tr(t,!0,-1)?(u=!0,o=s,t.lineIndent>e?l=1:t.lineIndent===e?l=0:t.lineIndent\u003Ce&&(l=-1)):o=!1;if(o&&(o=u||i),(l===1||uc===r)&&(cc===r||pp===r?k=e:k=e+1,T=t.position-t.lineStart,l===1?o&&(Cp(t,T)||o7(t,T,k))||s7(t,k)?d=!0:(a&&a7(t,k)||n7(t,k)||i7(t,k)?d=!0:u7(t)?(d=!0,(t.tag!==null||t.anchor!==null)&&Qt(t,\\\"alias node should not have any properties\\\")):r7(t,k,cc===r)&&(d=!0,t.tag===null&&(t.tag=\\\"?\\\")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):l===0&&(d=o&&Cp(t,T))),t.tag===null)t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);else if(t.tag===\\\"?\\\"){for(t.result!==null&&t.kind!==\\\"scalar\\\"&&Qt(t,'unacceptable node kind for !\u003C?> tag; it should be \\\"scalar\\\", not \\\"'+t.kind+'\\\"'),f=0,p=t.implicitTypes.length;f\u003Cp;f+=1)if(b=t.implicitTypes[f],b.resolve(t.result)){t.result=b.construct(t.result),t.tag=b.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else if(t.tag!==\\\"!\\\"){if(Pi.call(t.typeMap[t.kind||\\\"fallback\\\"],t.tag))b=t.typeMap[t.kind||\\\"fallback\\\"][t.tag];else for(b=null,g=t.typeMap.multi[t.kind||\\\"fallback\\\"],f=0,p=g.length;f\u003Cp;f+=1)if(t.tag.slice(0,g[f].tag.length)===g[f].tag){b=g[f];break}b||Qt(t,\\\"unknown tag !\u003C\\\"+t.tag+\\\">\\\"),t.result!==null&&b.kind!==t.kind&&Qt(t,\\\"unacceptable node kind for !\u003C\\\"+t.tag+'> tag; it should be \\\"'+b.kind+'\\\", not \\\"'+t.kind+'\\\"'),b.resolve(t.result,t.tag)?(t.result=b.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):Qt(t,\\\"cannot resolve a node with !\u003C\\\"+t.tag+\\\"> explicit tag\\\")}return t.listener!==null&&t.listener(\\\"close\\\",t),t.tag!==null||t.anchor!==null||d}function h7(t){var e=t.position,r,n,i,s=!1,a;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(a=t.input.charCodeAt(t.position))!==0&&(tr(t,!0,-1),a=t.input.charCodeAt(t.position),!(t.lineIndent>0||a!==37));){for(s=!0,a=t.input.charCodeAt(++t.position),r=t.position;a!==0&&!Fr(a);)a=t.input.charCodeAt(++t.position);for(n=t.input.slice(r,t.position),i=[],n.length\u003C1&&Qt(t,\\\"directive name must not be less than one character in length\\\");a!==0;){for(;fs(a);)a=t.input.charCodeAt(++t.position);if(a===35){do a=t.input.charCodeAt(++t.position);while(a!==0&&!Vn(a));break}if(Vn(a))break;for(r=t.position;a!==0&&!Fr(a);)a=t.input.charCodeAt(++t.position);i.push(t.input.slice(r,t.position))}a!==0&&c1(t),Pi.call(Tp,n)?Tp[n](t,n,i):hc(t,'unknown document directive \\\"'+n+'\\\"')}if(tr(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,tr(t,!0,-1)):s&&Qt(t,\\\"directives end mark is expected\\\"),sa(t,t.lineIndent-1,uc,!1,!0),tr(t,!0,-1),t.checkLineBreaks&&Xw.test(t.input.slice(e,t.position))&&hc(t,\\\"non-ASCII line breaks are interpreted as content\\\"),t.documents.push(t.result),t.position===t.lineStart&&dc(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,tr(t,!0,-1));return}if(t.position\u003Ct.length-1)Qt(t,\\\"end of the stream or a document separator is expected\\\");else return}function Sp(t,e){t=String(t),e=e||{},t.length!==0&&(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13&&(t+=`\\n`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var r=new e7(t,e),n=t.indexOf(\\\"\\\\0\\\");for(n!==-1&&(r.position=n,Qt(r,\\\"null byte is not allowed in input\\\")),r.input+=\\\"\\\\0\\\";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position\u003Cr.length-1;)h7(r);return r.documents}function d7(t,e,r){e!==null&&typeof e==\\\"object\\\"&&typeof r>\\\"u\\\"&&(r=e,e=null);var n=Sp(t,r);if(typeof e!=\\\"function\\\")return n;for(var i=0,s=n.length;i\u003Cs;i+=1)e(n[i])}function f7(t,e){var r=Sp(t,e);if(r.length!==0){if(r.length===1)return r[0];throw new li(\\\"expected a single document in the stream, but found more\\\")}}var p7=d7,g7=f7,y7={loadAll:p7,load:g7},m7=hp,b7=y7.load;const Ap=/^-{3}\\\\s*[\\\\n\\\\r](.*?)[\\\\n\\\\r]-{3}\\\\s*[\\\\n\\\\r]+/s;function _7(t,e){var n;const r=t.match(Ap);if(r){const i=b7(r[1],{schema:m7});return i!=null&&i.title&&((n=e.setDiagramTitle)==null||n.call(e,i.title)),t.slice(r[0].length)}else return t}const x7=/%{2}{\\\\s*(?:(\\\\w+)\\\\s*:|(\\\\w+))\\\\s*(?:(\\\\w+)|((?:(?!}%{2}).|\\\\r?\\\\n)*))?\\\\s*(?:}%{2})?/gi,v7=/\\\\s*%%.*\\\\n/gm,fc={},h1=function(t,e){t=t.replace(Ap,\\\"\\\").replace(x7,\\\"\\\").replace(v7,`\\n`);for(const[r,{detector:n}]of Object.entries(fc))if(n(t,e))return r;throw new Error(`No diagram type detected for text: ${t}`)},Lp=(t,e,r)=>{if(fc[t])throw new Error(`Detector with key ${t} already exists`);fc[t]={detector:e,loader:r},B.debug(`Detector with key ${t} added${r?\\\" with loader\\\":\\\"\\\"}`)},k7=t=>fc[t].loader,d1=function(t,e,r){const{depth:n,clobber:i}=Object.assign({depth:2,clobber:!1},r);return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(s=>d1(t,s,r)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(s=>{t.includes(s)||t.push(s)}),t):t===void 0||n\u003C=0?t!=null&&typeof t==\\\"object\\\"&&typeof e==\\\"object\\\"?Object.assign(t,e):e:(e!==void 0&&typeof t==\\\"object\\\"&&typeof e==\\\"object\\\"&&Object.keys(e).forEach(s=>{typeof e[s]==\\\"object\\\"&&(t[s]===void 0||typeof t[s]==\\\"object\\\")?(t[s]===void 0&&(t[s]=Array.isArray(e[s])?[]:{}),t[s]=d1(t[s],e[s],{depth:n-1,clobber:i})):(i||typeof t[s]!=\\\"object\\\"&&typeof e[s]!=\\\"object\\\")&&(t[s]=e[s])}),t)},gr=d1;var w7=typeof global==\\\"object\\\"&&global&&global.Object===Object&&global;const Dp=w7;var T7=typeof self==\\\"object\\\"&&self&&self.Object===Object&&self,E7=Dp||T7||Function(\\\"return this\\\")();const mn=E7;var C7=mn.Symbol;const en=C7;var Mp=Object.prototype,S7=Mp.hasOwnProperty,A7=Mp.toString,lo=en?en.toStringTag:void 0;function L7(t){var e=S7.call(t,lo),r=t[lo];try{t[lo]=void 0;var n=!0}catch{}var i=A7.call(t);return n&&(e?t[lo]=r:delete t[lo]),i}var D7=Object.prototype,M7=D7.toString;function N7(t){return M7.call(t)}var B7=\\\"[object Null]\\\",I7=\\\"[object Undefined]\\\",Np=en?en.toStringTag:void 0;function ps(t){return t==null?t===void 0?I7:B7:Np&&Np in Object(t)?L7(t):N7(t)}function Gr(t){var e=typeof t;return t!=null&&(e==\\\"object\\\"||e==\\\"function\\\")}var O7=\\\"[object AsyncFunction]\\\",R7=\\\"[object Function]\\\",F7=\\\"[object GeneratorFunction]\\\",P7=\\\"[object Proxy]\\\";function aa(t){if(!Gr(t))return!1;var e=ps(t);return e==R7||e==F7||e==O7||e==P7}var Y7=mn[\\\"__core-js_shared__\\\"];const f1=Y7;var Bp=function(){var t=/[^.]+$/.exec(f1&&f1.keys&&f1.keys.IE_PROTO||\\\"\\\");return t?\\\"Symbol(src)_1.\\\"+t:\\\"\\\"}();function V7(t){return!!Bp&&Bp in t}var U7=Function.prototype,z7=U7.toString;function gs(t){if(t!=null){try{return z7.call(t)}catch{}try{return t+\\\"\\\"}catch{}}return\\\"\\\"}var W7=/[\\\\\\\\^$.*+?()[\\\\]{}|]/g,H7=/^\\\\[object .+?Constructor\\\\]$/,G7=Function.prototype,q7=Object.prototype,j7=G7.toString,$7=q7.hasOwnProperty,X7=RegExp(\\\"^\\\"+j7.call($7).replace(W7,\\\"\\\\\\\\$&\\\").replace(/hasOwnProperty|(function).*?(?=\\\\\\\\\\\\()| for .+?(?=\\\\\\\\\\\\])/g,\\\"$1.*?\\\")+\\\"$\\\");function K7(t){if(!Gr(t)||V7(t))return!1;var e=aa(t)?X7:H7;return e.test(gs(t))}function Z7(t,e){return t==null?void 0:t[e]}function ys(t,e){var r=Z7(t,e);return K7(r)?r:void 0}var Q7=ys(Object,\\\"create\\\");const co=Q7;function J7(){this.__data__=co?co(null):{},this.size=0}function tT(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var eT=\\\"__lodash_hash_undefined__\\\",rT=Object.prototype,nT=rT.hasOwnProperty;function iT(t){var e=this.__data__;if(co){var r=e[t];return r===eT?void 0:r}return nT.call(e,t)?e[t]:void 0}var sT=Object.prototype,aT=sT.hasOwnProperty;function oT(t){var e=this.__data__;return co?e[t]!==void 0:aT.call(e,t)}var lT=\\\"__lodash_hash_undefined__\\\";function cT(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=co&&e===void 0?lT:e,this}function ms(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e\u003Cr;){var n=t[e];this.set(n[0],n[1])}}ms.prototype.clear=J7,ms.prototype.delete=tT,ms.prototype.get=iT,ms.prototype.has=oT,ms.prototype.set=cT;function uT(){this.__data__=[],this.size=0}function oa(t,e){return t===e||t!==t&&e!==e}function pc(t,e){for(var r=t.length;r--;)if(oa(t[r][0],e))return r;return-1}var hT=Array.prototype,dT=hT.splice;function fT(t){var e=this.__data__,r=pc(e,t);if(r\u003C0)return!1;var n=e.length-1;return r==n?e.pop():dT.call(e,r,1),--this.size,!0}function pT(t){var e=this.__data__,r=pc(e,t);return r\u003C0?void 0:e[r][1]}function gT(t){return pc(this.__data__,t)>-1}function yT(t,e){var r=this.__data__,n=pc(r,t);return n\u003C0?(++this.size,r.push([t,e])):r[n][1]=e,this}function ci(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e\u003Cr;){var n=t[e];this.set(n[0],n[1])}}ci.prototype.clear=uT,ci.prototype.delete=fT,ci.prototype.get=pT,ci.prototype.has=gT,ci.prototype.set=yT;var mT=ys(mn,\\\"Map\\\");const uo=mT;function bT(){this.size=0,this.__data__={hash:new ms,map:new(uo||ci),string:new ms}}function _T(t){var e=typeof t;return e==\\\"string\\\"||e==\\\"number\\\"||e==\\\"symbol\\\"||e==\\\"boolean\\\"?t!==\\\"__proto__\\\":t===null}function gc(t,e){var r=t.__data__;return _T(e)?r[typeof e==\\\"string\\\"?\\\"string\\\":\\\"hash\\\"]:r.map}function xT(t){var e=gc(this,t).delete(t);return this.size-=e?1:0,e}function vT(t){return gc(this,t).get(t)}function kT(t){return gc(this,t).has(t)}function wT(t,e){var r=gc(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function ui(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e\u003Cr;){var n=t[e];this.set(n[0],n[1])}}ui.prototype.clear=bT,ui.prototype.delete=xT,ui.prototype.get=vT,ui.prototype.has=kT,ui.prototype.set=wT;var TT=\\\"Expected a function\\\";function la(t,e){if(typeof t!=\\\"function\\\"||e!=null&&typeof e!=\\\"function\\\")throw new TypeError(TT);var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],s=r.cache;if(s.has(i))return s.get(i);var a=t.apply(this,n);return r.cache=s.set(i,a)||s,a};return r.cache=new(la.Cache||ui),r}la.Cache=ui;const ET={curveBasis:ta,curveBasisClosed:Ek,curveBasisOpen:Ck,curveLinear:Hr,curveLinearClosed:Sk,curveMonotoneX:Ak,curveMonotoneY:Lk,curveNatural:Dk,curveStep:Mk,curveStepAfter:Bk,curveStepBefore:Nk},p1=/%{2}{\\\\s*(?:(\\\\w+)\\\\s*:|(\\\\w+))\\\\s*(?:(\\\\w+)|((?:(?!}%{2}).|\\\\r?\\\\n)*))?\\\\s*(?:}%{2})?/gi,CT=/\\\\s*(?:(\\\\w+)(?=:):|(\\\\w+))\\\\s*(?:(\\\\w+)|((?:(?!}%{2}).|\\\\r?\\\\n)*))?\\\\s*(?:}%{2})?/gi,ST=function(t,e){const r=Ip(t,/(?:init\\\\b)|(?:initialize\\\\b)/);let n={};if(Array.isArray(r)){const i=r.map(s=>s.args);bs(i),n=gr(n,[...i])}else n=r.args;if(n){let i=h1(t,e);[\\\"config\\\"].forEach(s=>{n[s]!==void 0&&(i===\\\"flowchart-v2\\\"&&(i=\\\"flowchart\\\"),n[i]=n[s],delete n[s])})}return n},Ip=function(t,e=null){try{const r=new RegExp(`[%]{2}(?![{]${CT.source})(?=[}][%]{2}).*\\n`,\\\"ig\\\");t=t.trim().replace(r,\\\"\\\").replace(/'/gm,'\\\"'),B.debug(`Detecting diagram directive${e!==null?\\\" type:\\\"+e:\\\"\\\"} based on the text:${t}`);let n;const i=[];for(;(n=p1.exec(t))!==null;)if(n.index===p1.lastIndex&&p1.lastIndex++,n&&!e||e&&n[1]&&n[1].match(e)||e&&n[2]&&n[2].match(e)){const s=n[1]?n[1]:n[2],a=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null;i.push({type:s,args:a})}return i.length===0&&i.push({type:t,args:null}),i.length===1?i[0]:i}catch(r){return B.error(`ERROR: ${r.message} - Unable to parse directive\\n ${e!==null?\\\" type:\\\"+e:\\\"\\\"} based on the text:${t}`),{type:null,args:null}}},AT=function(t,e){for(const[r,n]of e.entries())if(n.match(t))return r;return-1};function bn(t,e){if(!t)return e;const r=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return ET[r]||e}function LT(t,e){const r=t.trim();if(r)return e.securityLevel!==\\\"loose\\\"?ti(r):r}const DT=(t,...e)=>{const r=t.split(\\\".\\\"),n=r.length-1,i=r[n];let s=window;for(let a=0;a\u003Cn;a++)if(s=s[r[a]],!s)return;s[i](...e)};function yc(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function MT(t){let e,r=0;t.forEach(s=>{r+=yc(s,e),e=s});let n=r/2,i;return e=void 0,t.forEach(s=>{if(e&&!i){const a=yc(s,e);if(a\u003Cn)n-=a;else{const o=n/a;o\u003C=0&&(i=e),o>=1&&(i={x:s.x,y:s.y}),o>0&&o\u003C1&&(i={x:(1-o)*e.x+o*s.x,y:(1-o)*e.y+o*s.y})}}e=s}),i}function NT(t){return t.length===1?t[0]:MT(t)}const BT=(t,e,r)=>{let n;B.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let s=25,a;n=void 0,e.forEach(d=>{if(n&&!a){const f=yc(d,n);if(f\u003Cs)s-=f;else{const p=s/f;p\u003C=0&&(a=n),p>=1&&(a={x:d.x,y:d.y}),p>0&&p\u003C1&&(a={x:(1-p)*n.x+p*d.x,y:(1-p)*n.y+p*d.y})}}n=d});const o=t?10:5,l=Math.atan2(e[0].y-a.y,e[0].x-a.x),u={x:0,y:0};return u.x=Math.sin(l)*o+(e[0].x+a.x)/2,u.y=-Math.cos(l)*o+(e[0].y+a.y)/2,u};function IT(t,e,r){let n=JSON.parse(JSON.stringify(r)),i;B.info(\\\"our points\\\",n),e!==\\\"start_left\\\"&&e!==\\\"start_right\\\"&&(n=n.reverse()),n.forEach(f=>{i=f});let a=25+t,o;i=void 0,n.forEach(f=>{if(i&&!o){const p=yc(f,i);if(p\u003Ca)a-=p;else{const g=a/p;g\u003C=0&&(o=i),g>=1&&(o={x:f.x,y:f.y}),g>0&&g\u003C1&&(o={x:(1-g)*i.x+g*f.x,y:(1-g)*i.y+g*f.y})}}i=f});const l=10+t*.5,u=Math.atan2(n[0].y-o.y,n[0].x-o.x),d={x:0,y:0};return d.x=Math.sin(u)*l+(n[0].x+o.x)/2,d.y=-Math.cos(u)*l+(n[0].y+o.y)/2,e===\\\"start_left\\\"&&(d.x=Math.sin(u+Math.PI)*l+(n[0].x+o.x)/2,d.y=-Math.cos(u+Math.PI)*l+(n[0].y+o.y)/2),e===\\\"end_right\\\"&&(d.x=Math.sin(u-Math.PI)*l+(n[0].x+o.x)/2-5,d.y=-Math.cos(u-Math.PI)*l+(n[0].y+o.y)/2-5),e===\\\"end_left\\\"&&(d.x=Math.sin(u)*l+(n[0].x+o.x)/2-5,d.y=-Math.cos(u)*l+(n[0].y+o.y)/2-5),d}function Vi(t){let e=\\\"\\\",r=\\\"\\\";for(const n of t)n!==void 0&&(n.startsWith(\\\"color:\\\")||n.startsWith(\\\"text-align:\\\")?r=r+n+\\\";\\\":e=e+n+\\\";\\\");return{style:e,labelStyle:r}}let Op=0;const Rp=()=>(Op++,\\\"id-\\\"+Math.random().toString(36).substr(2,12)+\\\"-\\\"+Op);function OT(t){let e=\\\"\\\";const r=\\\"0123456789abcdef\\\",n=r.length;for(let i=0;i\u003Ct;i++)e+=r.charAt(Math.floor(Math.random()*n));return e}const Fp=t=>OT(t.length),RT=function(){return{x:0,y:0,fill:void 0,anchor:\\\"start\\\",style:\\\"#666\\\",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0}},FT=function(t,e){const r=e.text.replace(he.lineBreakRegex,\\\" \\\"),n=t.append(\\\"text\\\");n.attr(\\\"x\\\",e.x),n.attr(\\\"y\\\",e.y),n.style(\\\"text-anchor\\\",e.anchor),n.style(\\\"font-family\\\",e.fontFamily),n.style(\\\"font-size\\\",e.fontSize),n.style(\\\"font-weight\\\",e.fontWeight),n.attr(\\\"fill\\\",e.fill),e.class!==void 0&&n.attr(\\\"class\\\",e.class);const i=n.append(\\\"tspan\\\");return i.attr(\\\"x\\\",e.x+e.textMargin*2),i.attr(\\\"fill\\\",e.fill),i.text(r),n},Pp=la((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:\\\"Arial\\\",joinWith:\\\"\u003Cbr/>\\\"},r),he.lineBreakRegex.test(t)))return t;const n=t.split(\\\" \\\"),i=[];let s=\\\"\\\";return n.forEach((a,o)=>{const l=Un(`${a} `,r),u=Un(s,r);if(l>e){const{hyphenatedStrings:p,remainingWord:g}=PT(a,e,\\\"-\\\",r);i.push(s,...p),s=g}else u+l>=e?(i.push(s),s=a):s=[s,a].filter(Boolean).join(\\\" \\\");o+1===n.length&&i.push(s)}),i.filter(a=>a!==\\\"\\\").join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),PT=la((t,e,r=\\\"-\\\",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:\\\"Arial\\\",margin:0},n);const i=[...t],s=[];let a=\\\"\\\";return i.forEach((o,l)=>{const u=`${a}${o}`;if(Un(u,n)>=e){const f=l+1,p=i.length===f,g=`${u}${r}`;s.push(p?u:g),a=\\\"\\\"}else a=u}),{hyphenatedStrings:s,remainingWord:a}},(t,e,r=\\\"-\\\",n)=>`${t}${e}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`);function g1(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:\\\"Arial\\\",margin:15},e),y1(t,e).height}function Un(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:\\\"Arial\\\"},e),y1(t,e).width}const y1=la((t,e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:\\\"Arial\\\"},e);const{fontSize:r,fontFamily:n,fontWeight:i}=e;if(!t)return{width:0,height:0};const s=[\\\"sans-serif\\\",n],a=t.split(he.lineBreakRegex),o=[],l=St(\\\"body\\\");if(!l.remove)return{width:0,height:0,lineHeight:0};const u=l.append(\\\"svg\\\");for(const f of s){let p=0;const g={width:0,height:0,lineHeight:0};for(const b of a){const k=RT();k.text=b;const T=FT(u,k).style(\\\"font-size\\\",r).style(\\\"font-weight\\\",i).style(\\\"font-family\\\",f),L=(T._groups||T)[0][0].getBBox();g.width=Math.round(Math.max(g.width,L.width)),p=Math.round(L.height),g.height+=p,g.lineHeight=Math.round(Math.max(g.lineHeight,p))}o.push(g)}u.remove();const d=isNaN(o[1].height)||isNaN(o[1].width)||isNaN(o[1].lineHeight)||o[0].height>o[1].height&&o[0].width>o[1].width&&o[0].lineHeight>o[1].lineHeight?0:1;return o[d]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),YT=class{constructor(e,r){this.deterministic=e,this.seed=r,this.count=r?r.length:0}next(){return this.deterministic?this.count++:Date.now()}};let mc;const VT=function(t){return mc=mc||document.createElement(\\\"div\\\"),t=escape(t).replace(/%26/g,\\\"&\\\").replace(/%23/g,\\\"#\\\").replace(/%3B/g,\\\";\\\"),mc.innerHTML=t,unescape(mc.textContent)},bs=t=>{if(B.debug(\\\"directiveSanitizer called with\\\",t),typeof t==\\\"object\\\"&&(t.length?t.forEach(e=>bs(e)):Object.keys(t).forEach(e=>{B.debug(\\\"Checking key\\\",e),e.startsWith(\\\"__\\\")&&(B.debug(\\\"sanitize deleting __ option\\\",e),delete t[e]),e.includes(\\\"proto\\\")&&(B.debug(\\\"sanitize deleting proto option\\\",e),delete t[e]),e.includes(\\\"constr\\\")&&(B.debug(\\\"sanitize deleting constr option\\\",e),delete t[e]),e.includes(\\\"themeCSS\\\")&&(B.debug(\\\"sanitizing themeCss option\\\"),t[e]=bc(t[e])),e.includes(\\\"fontFamily\\\")&&(B.debug(\\\"sanitizing fontFamily option\\\"),t[e]=bc(t[e])),e.includes(\\\"altFontFamily\\\")&&(B.debug(\\\"sanitizing altFontFamily option\\\"),t[e]=bc(t[e])),A8.includes(e)?typeof t[e]==\\\"object\\\"&&(B.debug(\\\"sanitize deleting object\\\",e),bs(t[e])):(B.debug(\\\"sanitize deleting option\\\",e),delete t[e])})),t.themeVariables){const e=Object.keys(t.themeVariables);for(const r of e){const n=t.themeVariables[r];n&&n.match&&!n.match(/^[\\\\d \\\"#%(),.;A-Za-z]+$/)&&(t.themeVariables[r]=\\\"\\\")}}B.debug(\\\"After sanitization\\\",t)},bc=t=>{let e=0,r=0;for(const n of t){if(e\u003Cr)return\\\"{ /* ERROR: Unbalanced CSS */ }\\\";n===\\\"{\\\"?e++:n===\\\"}\\\"&&r++}return e!==r?\\\"{ /* ERROR: Unbalanced CSS */ }\\\":t};function m1(t){return\\\"str\\\"in t}function UT(t){return t instanceof Error?t.message:String(t)}const ge={assignWithDepth:gr,wrapLabel:Pp,calculateTextHeight:g1,calculateTextWidth:Un,calculateTextDimensions:y1,detectInit:ST,detectDirective:Ip,isSubstringInArray:AT,interpolateToCurve:bn,calcLabelPosition:NT,calcCardinalityPosition:BT,calcTerminalLabelPosition:IT,formatUrl:LT,getStylesFromArray:Vi,generateId:Rp,random:Fp,runFunc:DT,entityDecode:VT,initIdGenerator:YT,directiveSanitizer:bs,sanitizeCss:bc,insertTitle:(t,e,r,n)=>{if(!n)return;const i=t.node().getBBox();t.append(\\\"text\\\").text(n).attr(\\\"x\\\",i.x+i.width/2).attr(\\\"y\\\",-r).attr(\\\"class\\\",e)}};var Yp=\\\"comm\\\",Vp=\\\"rule\\\",Up=\\\"decl\\\",zT=\\\"@import\\\",WT=\\\"@keyframes\\\",HT=Math.abs,b1=String.fromCharCode;function zp(t){return t.trim()}function _1(t,e,r){return t.replace(e,r)}function GT(t,e){return t.indexOf(e)}function _c(t,e){return t.charCodeAt(e)|0}function ho(t,e,r){return t.slice(e,r)}function Ui(t){return t.length}function Wp(t){return t.length}function xc(t,e){return e.push(t),t}var vc=1,ca=1,Hp=0,rn=0,er=0,ua=\\\"\\\";function x1(t,e,r,n,i,s,a){return{value:t,root:e,parent:r,type:n,props:i,children:s,line:vc,column:ca,length:a,return:\\\"\\\"}}function qT(){return er}function jT(){return er=rn>0?_c(ua,--rn):0,ca--,er===10&&(ca=1,vc--),er}function _n(){return er=rn\u003CHp?_c(ua,rn++):0,ca++,er===10&&(ca=1,vc++),er}function _s(){return _c(ua,rn)}function kc(){return rn}function wc(t,e){return ho(ua,t,e)}function v1(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $T(t){return vc=ca=1,Hp=Ui(ua=t),rn=0,[]}function XT(t){return ua=\\\"\\\",t}function k1(t){return zp(wc(rn-1,w1(t===91?t+2:t===40?t+1:t)))}function KT(t){for(;(er=_s())&&er\u003C33;)_n();return v1(t)>2||v1(er)>3?\\\"\\\":\\\" \\\"}function ZT(t,e){for(;--e&&_n()&&!(er\u003C48||er>102||er>57&&er\u003C65||er>70&&er\u003C97););return wc(t,kc()+(e\u003C6&&_s()==32&&_n()==32))}function w1(t){for(;_n();)switch(er){case t:return rn;case 34:case 39:t!==34&&t!==39&&w1(er);break;case 40:t===41&&w1(t);break;case 92:_n();break}return rn}function QT(t,e){for(;_n()&&t+er!==47+10;)if(t+er===42+42&&_s()===47)break;return\\\"/*\\\"+wc(e,rn-1)+\\\"*\\\"+b1(t===47?t:_n())}function JT(t){for(;!v1(_s());)_n();return wc(t,rn)}function tE(t){return XT(Tc(\\\"\\\",null,null,null,[\\\"\\\"],t=$T(t),0,[0],t))}function Tc(t,e,r,n,i,s,a,o,l){for(var u=0,d=0,f=a,p=0,g=0,b=0,k=1,T=1,L=1,E=0,I=\\\"\\\",V=i,H=s,G=n,Y=I;T;)switch(b=E,E=_n()){case 40:if(b!=108&&_c(Y,f-1)==58){GT(Y+=_1(k1(E),\\\"&\\\",\\\"&\\\\f\\\"),\\\"&\\\\f\\\")!=-1&&(L=-1);break}case 34:case 39:case 91:Y+=k1(E);break;case 9:case 10:case 13:case 32:Y+=KT(b);break;case 92:Y+=ZT(kc()-1,7);continue;case 47:switch(_s()){case 42:case 47:xc(eE(QT(_n(),kc()),e,r),l);break;default:Y+=\\\"/\\\"}break;case 123*k:o[u++]=Ui(Y)*L;case 125*k:case 59:case 0:switch(E){case 0:case 125:T=0;case 59+d:g>0&&Ui(Y)-f&&xc(g>32?qp(Y+\\\";\\\",n,r,f-1):qp(_1(Y,\\\" \\\",\\\"\\\")+\\\";\\\",n,r,f-2),l);break;case 59:Y+=\\\";\\\";default:if(xc(G=Gp(Y,e,r,u,d,i,o,I,V=[],H=[],f),s),E===123)if(d===0)Tc(Y,e,G,G,V,s,f,o,H);else switch(p){case 100:case 109:case 115:Tc(t,G,G,n&&xc(Gp(t,G,G,0,0,i,o,I,i,V=[],f),H),i,H,f,o,n?V:H);break;default:Tc(Y,G,G,G,[\\\"\\\"],H,0,o,H)}}u=d=g=0,k=L=1,I=Y=\\\"\\\",f=a;break;case 58:f=1+Ui(Y),g=b;default:if(k\u003C1){if(E==123)--k;else if(E==125&&k++==0&&jT()==125)continue}switch(Y+=b1(E),E*k){case 38:L=d>0?1:(Y+=\\\"\\\\f\\\",-1);break;case 44:o[u++]=(Ui(Y)-1)*L,L=1;break;case 64:_s()===45&&(Y+=k1(_n())),p=_s(),d=f=Ui(I=Y+=JT(kc())),E++;break;case 45:b===45&&Ui(Y)==2&&(k=0)}}return s}function Gp(t,e,r,n,i,s,a,o,l,u,d){for(var f=i-1,p=i===0?s:[\\\"\\\"],g=Wp(p),b=0,k=0,T=0;b\u003Cn;++b)for(var L=0,E=ho(t,f+1,f=HT(k=a[b])),I=t;L\u003Cg;++L)(I=zp(k>0?p[L]+\\\" \\\"+E:_1(E,/&\\\\f/g,p[L])))&&(l[T++]=I);return x1(t,e,r,i===0?Vp:o,l,u,d)}function eE(t,e,r){return x1(t,e,r,Yp,b1(qT()),ho(t,2,-2),0)}function qp(t,e,r,n){return x1(t,e,r,Up,ho(t,0,n),ho(t,n+1,-1),n)}function T1(t,e){for(var r=\\\"\\\",n=Wp(t),i=0;i\u003Cn;i++)r+=e(t[i],i,t,e)||\\\"\\\";return r}function rE(t,e,r,n){switch(t.type){case zT:case Up:return t.return=t.return||t.value;case Yp:return\\\"\\\";case WT:return t.return=t.value+\\\"{\\\"+T1(t.children,n)+\\\"}\\\";case Vp:t.value=t.props.join(\\\",\\\")}return Ui(r=T1(t.children,n))?t.return=t.value+\\\"{\\\"+r+\\\"}\\\":\\\"\\\"}const Ec={name:\\\"mermaid\\\",version:\\\"9.3.0\\\",description:\\\"Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.\\\",main:\\\"./dist/mermaid.min.js\\\",module:\\\"./dist/mermaid.core.mjs\\\",types:\\\"./dist/mermaid.d.ts\\\",exports:{\\\".\\\":{require:\\\"./dist/mermaid.min.js\\\",import:\\\"./dist/mermaid.core.mjs\\\",types:\\\"./dist/mermaid.d.ts\\\"},\\\"./*\\\":\\\"./*\\\"},keywords:[\\\"diagram\\\",\\\"markdown\\\",\\\"flowchart\\\",\\\"sequence diagram\\\",\\\"gantt\\\",\\\"class diagram\\\",\\\"git graph\\\"],scripts:{clean:\\\"rimraf dist\\\",\\\"docs:code\\\":\\\"typedoc src/defaultConfig.ts src/config.ts src/mermaidAPI.ts && prettier --write ./src/docs/config/setup\\\",\\\"docs:build\\\":\\\"rimraf ../../docs && pnpm docs:spellcheck && pnpm docs:code && ts-node-esm src/docs.mts\\\",\\\"docs:verify\\\":\\\"pnpm docs:spellcheck && pnpm docs:code && ts-node-esm src/docs.mts --verify\\\",\\\"docs:pre:vitepress\\\":\\\"rimraf src/vitepress && pnpm docs:code && ts-node-esm src/docs.mts --vitepress\\\",\\\"docs:build:vitepress\\\":\\\"pnpm docs:pre:vitepress && vitepress build src/vitepress\\\",\\\"docs:dev\\\":'pnpm docs:pre:vitepress && concurrently \\\"vitepress dev src/vitepress\\\" \\\"ts-node-esm src/docs.mts --watch --vitepress\\\"',\\\"docs:serve\\\":\\\"pnpm docs:build:vitepress && vitepress serve src/vitepress\\\",\\\"docs:spellcheck\\\":'cspell --config ../../cSpell.json \\\"src/docs/**/*.md\\\"',release:\\\"pnpm build\\\",prepublishOnly:\\\"pnpm -w run build\\\"},repository:{type:\\\"git\\\",url:\\\"https://github.com/mermaid-js/mermaid\\\"},author:\\\"Knut Sveidqvist\\\",license:\\\"MIT\\\",standard:{ignore:[\\\"**/parser/*.js\\\",\\\"dist/**/*.js\\\",\\\"cypress/**/*.js\\\"],globals:[\\\"page\\\"]},dependencies:{\\\"@braintree/sanitize-url\\\":\\\"^6.0.0\\\",d3:\\\"^7.0.0\\\",\\\"dagre-d3-es\\\":\\\"7.0.6\\\",dompurify:\\\"2.4.1\\\",khroma:\\\"^2.0.0\\\",\\\"lodash-es\\\":\\\"^4.17.21\\\",\\\"moment-mini\\\":\\\"^2.24.0\\\",\\\"non-layered-tidy-tree-layout\\\":\\\"^2.0.2\\\",stylis:\\\"^4.1.2\\\",uuid:\\\"^9.0.0\\\"},devDependencies:{\\\"@types/d3\\\":\\\"^7.4.0\\\",\\\"@types/dompurify\\\":\\\"^2.4.0\\\",\\\"@types/jsdom\\\":\\\"^20.0.1\\\",\\\"@types/lodash-es\\\":\\\"^4.17.6\\\",\\\"@types/micromatch\\\":\\\"^4.0.2\\\",\\\"@types/prettier\\\":\\\"^2.7.1\\\",\\\"@types/stylis\\\":\\\"^4.0.2\\\",\\\"@types/uuid\\\":\\\"^8.3.4\\\",\\\"@typescript-eslint/eslint-plugin\\\":\\\"^5.42.1\\\",\\\"@typescript-eslint/parser\\\":\\\"^5.42.1\\\",chokidar:\\\"^3.5.3\\\",concurrently:\\\"^7.5.0\\\",coveralls:\\\"^3.1.1\\\",cspell:\\\"^6.14.3\\\",globby:\\\"^13.1.2\\\",jison:\\\"^0.4.18\\\",\\\"js-base64\\\":\\\"^3.7.2\\\",jsdom:\\\"^20.0.2\\\",micromatch:\\\"^4.0.5\\\",moment:\\\"^2.29.4\\\",\\\"path-browserify\\\":\\\"^1.0.1\\\",prettier:\\\"^2.7.1\\\",remark:\\\"^14.0.2\\\",rimraf:\\\"^3.0.2\\\",\\\"start-server-and-test\\\":\\\"^1.14.0\\\",typedoc:\\\"^0.23.18\\\",\\\"typedoc-plugin-markdown\\\":\\\"^3.13.6\\\",typescript:\\\"^4.8.4\\\",\\\"unist-util-flatmap\\\":\\\"^1.0.0\\\",vitepress:\\\"^1.0.0-alpha.28\\\",\\\"vitepress-plugin-search\\\":\\\"^1.0.4-alpha.15\\\"},files:[\\\"dist\\\",\\\"README.md\\\"],sideEffects:[\\\"**/*.css\\\",\\\"**/*.scss\\\"]},ha=Object.freeze(L8);let Pr=gr({},ha),jp,da=[],fo=gr({},ha);const Cc=(t,e)=>{let r=gr({},t),n={};for(const i of e)Kp(i),n=gr(n,i);if(r=gr(r,n),n.theme&&n.theme in oi){const i=gr({},jp),s=gr(i.themeVariables||{},n.themeVariables);r.theme&&r.theme in oi&&(r.themeVariables=oi[r.theme].getThemeVariables(s))}return fo=r,Jp(fo),fo},nE=t=>(Pr=gr({},ha),Pr=gr(Pr,t),t.theme&&oi[t.theme]&&(Pr.themeVariables=oi[t.theme].getThemeVariables(t.themeVariables)),Cc(Pr,da),Pr),iE=t=>{jp=gr({},t)},sE=t=>(Pr=gr(Pr,t),Cc(Pr,da),Pr),$p=()=>gr({},Pr),Xp=t=>(Jp(t),gr(fo,t),$()),$=()=>gr({},fo),Kp=t=>{var e;[\\\"secure\\\",...(e=Pr.secure)!=null?e:[]].forEach(r=>{t[r]!==void 0&&(B.debug(`Denied attempt to modify a secure key ${r}`,t[r]),delete t[r])}),Object.keys(t).forEach(r=>{r.indexOf(\\\"__\\\")===0&&delete t[r]}),Object.keys(t).forEach(r=>{typeof t[r]==\\\"string\\\"&&(t[r].includes(\\\"\u003C\\\")||t[r].includes(\\\">\\\")||t[r].includes(\\\"url(data:\\\"))&&delete t[r],typeof t[r]==\\\"object\\\"&&Kp(t[r])})},E1=t=>{t.fontFamily&&(t.themeVariables?t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily}):t.themeVariables={fontFamily:t.fontFamily}),da.push(t),Cc(Pr,da)},po=(t=Pr)=>{da=[],Cc(t,da)};var Zp=(t=>(t.LAZY_LOAD_DEPRECATED=\\\"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.\\\",t))(Zp||{});const Qp={},aE=t=>{Qp[t]||(B.warn(Zp[t]),Qp[t]=!0)},Jp=t=>{!t||(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&aE(\\\"LAZY_LOAD_DEPRECATED\\\")},oE=function(t,e){for(let r of e)t.attr(r[0],r[1])},lE=function(t,e,r){let n=new Map;return r?(n.set(\\\"width\\\",\\\"100%\\\"),n.set(\\\"style\\\",`max-width: ${e}px;`)):(n.set(\\\"height\\\",t),n.set(\\\"width\\\",e)),n},xn=function(t,e,r,n){const i=lE(e,r,n);oE(t,i)},Sc=function(t,e,r,n){const i=e.node().getBBox(),s=i.width,a=i.height;B.info(`SVG bounds: ${s}x${a}`,i);let o=0,l=0;B.info(`Graph bounds: ${o}x${l}`,t),o=s+r*2,l=a+r*2,B.info(`Calculated bounds: ${o}x${l}`),xn(e,l,o,n);const u=`${i.x-r} ${i.y-r} ${i.width+2*r} ${i.height+2*r}`;e.attr(\\\"viewBox\\\",u)},go=t=>`g.classGroup text {\\n fill: ${t.nodeBorder};\\n fill: ${t.classText};\\n stroke: none;\\n font-family: ${t.fontFamily};\\n font-size: 10px;\\n\\n .title {\\n font-weight: bolder;\\n }\\n\\n}\\n\\n.nodeLabel, .edgeLabel {\\n color: ${t.classText};\\n}\\n.edgeLabel .label rect {\\n fill: ${t.mainBkg};\\n}\\n.label text {\\n fill: ${t.classText};\\n}\\n.edgeLabel .label span {\\n background: ${t.mainBkg};\\n}\\n\\n.classTitle {\\n font-weight: bolder;\\n}\\n.node rect,\\n .node circle,\\n .node ellipse,\\n .node polygon,\\n .node path {\\n fill: ${t.mainBkg};\\n stroke: ${t.nodeBorder};\\n stroke-width: 1px;\\n }\\n\\n\\n.divider {\\n stroke: ${t.nodeBorder};\\n stroke: 1;\\n}\\n\\ng.clickable {\\n cursor: pointer;\\n}\\n\\ng.classGroup rect {\\n fill: ${t.mainBkg};\\n stroke: ${t.nodeBorder};\\n}\\n\\ng.classGroup line {\\n stroke: ${t.nodeBorder};\\n stroke-width: 1;\\n}\\n\\n.classLabel .box {\\n stroke: none;\\n stroke-width: 0;\\n fill: ${t.mainBkg};\\n opacity: 0.5;\\n}\\n\\n.classLabel .label {\\n fill: ${t.nodeBorder};\\n font-size: 10px;\\n}\\n\\n.relation {\\n stroke: ${t.lineColor};\\n stroke-width: 1;\\n fill: none;\\n}\\n\\n.dashed-line{\\n stroke-dasharray: 3;\\n}\\n\\n.dotted-line{\\n stroke-dasharray: 1 2;\\n}\\n\\n#compositionStart, .composition {\\n fill: ${t.lineColor} !important;\\n stroke: ${t.lineColor} !important;\\n stroke-width: 1;\\n}\\n\\n#compositionEnd, .composition {\\n fill: ${t.lineColor} !important;\\n stroke: ${t.lineColor} !important;\\n stroke-width: 1;\\n}\\n\\n#dependencyStart, .dependency {\\n fill: ${t.lineColor} !important;\\n stroke: ${t.lineColor} !important;\\n stroke-width: 1;\\n}\\n\\n#dependencyStart, .dependency {\\n fill: ${t.lineColor} !important;\\n stroke: ${t.lineColor} !important;\\n stroke-width: 1;\\n}\\n\\n#extensionStart, .extension {\\n fill: ${t.mainBkg} !important;\\n stroke: ${t.lineColor} !important;\\n stroke-width: 1;\\n}\\n\\n#extensionEnd, .extension {\\n fill: ${t.mainBkg} !important;\\n stroke: ${t.lineColor} !important;\\n stroke-width: 1;\\n}\\n\\n#aggregationStart, .aggregation {\\n fill: ${t.mainBkg} !important;\\n stroke: ${t.lineColor} !important;\\n stroke-width: 1;\\n}\\n\\n#aggregationEnd, .aggregation {\\n fill: ${t.mainBkg} !important;\\n stroke: ${t.lineColor} !important;\\n stroke-width: 1;\\n}\\n\\n#lollipopStart, .lollipop {\\n fill: ${t.mainBkg} !important;\\n stroke: ${t.lineColor} !important;\\n stroke-width: 1;\\n}\\n\\n#lollipopEnd, .lollipop {\\n fill: ${t.mainBkg} !important;\\n stroke: ${t.lineColor} !important;\\n stroke-width: 1;\\n}\\n\\n.edgeTerminals {\\n font-size: 11px;\\n}\\n\\n.classTitleText {\\n text-anchor: middle;\\n font-size: 18px;\\n fill: ${t.textColor};\\n}\\n`,tg=t=>`\\n .entityBox {\\n fill: ${t.mainBkg};\\n stroke: ${t.nodeBorder};\\n }\\n\\n .attributeBoxOdd {\\n fill: ${t.attributeBackgroundColorOdd};\\n stroke: ${t.nodeBorder};\\n }\\n\\n .attributeBoxEven {\\n fill: ${t.attributeBackgroundColorEven};\\n stroke: ${t.nodeBorder};\\n }\\n\\n .relationshipLabelBox {\\n fill: ${t.tertiaryColor};\\n opacity: 0.7;\\n background-color: ${t.tertiaryColor};\\n rect {\\n opacity: 0.5;\\n }\\n }\\n\\n .relationshipLine {\\n stroke: ${t.lineColor};\\n }\\n\\n .entityTitleText {\\n text-anchor: middle;\\n font-size: 18px;\\n fill: ${t.textColor};\\n } \\n`,eg=()=>\\\"\\\",Ac=t=>`.label {\\n font-family: ${t.fontFamily};\\n color: ${t.nodeTextColor||t.textColor};\\n }\\n .cluster-label text {\\n fill: ${t.titleColor};\\n }\\n .cluster-label span {\\n color: ${t.titleColor};\\n }\\n\\n .label text,span {\\n fill: ${t.nodeTextColor||t.textColor};\\n color: ${t.nodeTextColor||t.textColor};\\n }\\n\\n .node rect,\\n .node circle,\\n .node ellipse,\\n .node polygon,\\n .node path {\\n fill: ${t.mainBkg};\\n stroke: ${t.nodeBorder};\\n stroke-width: 1px;\\n }\\n\\n .node .label {\\n text-align: center;\\n }\\n .node.clickable {\\n cursor: pointer;\\n }\\n\\n .arrowheadPath {\\n fill: ${t.arrowheadColor};\\n }\\n\\n .edgePath .path {\\n stroke: ${t.lineColor};\\n stroke-width: 2.0px;\\n }\\n\\n .flowchart-link {\\n stroke: ${t.lineColor};\\n fill: none;\\n }\\n\\n .edgeLabel {\\n background-color: ${t.edgeLabelBackground};\\n rect {\\n opacity: 0.5;\\n background-color: ${t.edgeLabelBackground};\\n fill: ${t.edgeLabelBackground};\\n }\\n text-align: center;\\n }\\n\\n .cluster rect {\\n fill: ${t.clusterBkg};\\n stroke: ${t.clusterBorder};\\n stroke-width: 1px;\\n }\\n\\n .cluster text {\\n fill: ${t.titleColor};\\n }\\n\\n .cluster span {\\n color: ${t.titleColor};\\n }\\n /* .cluster div {\\n color: ${t.titleColor};\\n } */\\n\\n div.mermaidTooltip {\\n position: absolute;\\n text-align: center;\\n max-width: 200px;\\n padding: 2px;\\n font-family: ${t.fontFamily};\\n font-size: 12px;\\n background: ${t.tertiaryColor};\\n border: 1px solid ${t.border2};\\n border-radius: 2px;\\n pointer-events: none;\\n z-index: 100;\\n }\\n\\n .flowchartTitleText {\\n text-anchor: middle;\\n font-size: 18px;\\n fill: ${t.textColor};\\n }\\n`,rg=t=>`\\n .mermaid-main-font {\\n font-family: \\\"trebuchet ms\\\", verdana, arial, sans-serif;\\n font-family: var(--mermaid-font-family);\\n }\\n .exclude-range {\\n fill: ${t.excludeBkgColor};\\n }\\n\\n .section {\\n stroke: none;\\n opacity: 0.2;\\n }\\n\\n .section0 {\\n fill: ${t.sectionBkgColor};\\n }\\n\\n .section2 {\\n fill: ${t.sectionBkgColor2};\\n }\\n\\n .section1,\\n .section3 {\\n fill: ${t.altSectionBkgColor};\\n opacity: 0.2;\\n }\\n\\n .sectionTitle0 {\\n fill: ${t.titleColor};\\n }\\n\\n .sectionTitle1 {\\n fill: ${t.titleColor};\\n }\\n\\n .sectionTitle2 {\\n fill: ${t.titleColor};\\n }\\n\\n .sectionTitle3 {\\n fill: ${t.titleColor};\\n }\\n\\n .sectionTitle {\\n text-anchor: start;\\n // font-size: ${t.ganttFontSize};\\n // text-height: 14px;\\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\\n font-family: var(--mermaid-font-family);\\n\\n }\\n\\n\\n /* Grid and axis */\\n\\n .grid .tick {\\n stroke: ${t.gridColor};\\n opacity: 0.8;\\n shape-rendering: crispEdges;\\n text {\\n font-family: ${t.fontFamily};\\n fill: ${t.textColor};\\n }\\n }\\n\\n .grid path {\\n stroke-width: 0;\\n }\\n\\n\\n /* Today line */\\n\\n .today {\\n fill: none;\\n stroke: ${t.todayLineColor};\\n stroke-width: 2px;\\n }\\n\\n\\n /* Task styling */\\n\\n /* Default task */\\n\\n .task {\\n stroke-width: 2;\\n }\\n\\n .taskText {\\n text-anchor: middle;\\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\\n font-family: var(--mermaid-font-family);\\n }\\n\\n // .taskText:not([font-size]) {\\n // font-size: ${t.ganttFontSize};\\n // }\\n\\n .taskTextOutsideRight {\\n fill: ${t.taskTextDarkColor};\\n text-anchor: start;\\n // font-size: ${t.ganttFontSize};\\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\\n font-family: var(--mermaid-font-family);\\n\\n }\\n\\n .taskTextOutsideLeft {\\n fill: ${t.taskTextDarkColor};\\n text-anchor: end;\\n // font-size: ${t.ganttFontSize};\\n }\\n\\n /* Special case clickable */\\n .task.clickable {\\n cursor: pointer;\\n }\\n .taskText.clickable {\\n cursor: pointer;\\n fill: ${t.taskTextClickableColor} !important;\\n font-weight: bold;\\n }\\n\\n .taskTextOutsideLeft.clickable {\\n cursor: pointer;\\n fill: ${t.taskTextClickableColor} !important;\\n font-weight: bold;\\n }\\n\\n .taskTextOutsideRight.clickable {\\n cursor: pointer;\\n fill: ${t.taskTextClickableColor} !important;\\n font-weight: bold;\\n }\\n\\n /* Specific task settings for the sections*/\\n\\n .taskText0,\\n .taskText1,\\n .taskText2,\\n .taskText3 {\\n fill: ${t.taskTextColor};\\n }\\n\\n .task0,\\n .task1,\\n .task2,\\n .task3 {\\n fill: ${t.taskBkgColor};\\n stroke: ${t.taskBorderColor};\\n }\\n\\n .taskTextOutside0,\\n .taskTextOutside2\\n {\\n fill: ${t.taskTextOutsideColor};\\n }\\n\\n .taskTextOutside1,\\n .taskTextOutside3 {\\n fill: ${t.taskTextOutsideColor};\\n }\\n\\n\\n /* Active task */\\n\\n .active0,\\n .active1,\\n .active2,\\n .active3 {\\n fill: ${t.activeTaskBkgColor};\\n stroke: ${t.activeTaskBorderColor};\\n }\\n\\n .activeText0,\\n .activeText1,\\n .activeText2,\\n .activeText3 {\\n fill: ${t.taskTextDarkColor} !important;\\n }\\n\\n\\n /* Completed task */\\n\\n .done0,\\n .done1,\\n .done2,\\n .done3 {\\n stroke: ${t.doneTaskBorderColor};\\n fill: ${t.doneTaskBkgColor};\\n stroke-width: 2;\\n }\\n\\n .doneText0,\\n .doneText1,\\n .doneText2,\\n .doneText3 {\\n fill: ${t.taskTextDarkColor} !important;\\n }\\n\\n\\n /* Tasks on the critical line */\\n\\n .crit0,\\n .crit1,\\n .crit2,\\n .crit3 {\\n stroke: ${t.critBorderColor};\\n fill: ${t.critBkgColor};\\n stroke-width: 2;\\n }\\n\\n .activeCrit0,\\n .activeCrit1,\\n .activeCrit2,\\n .activeCrit3 {\\n stroke: ${t.critBorderColor};\\n fill: ${t.activeTaskBkgColor};\\n stroke-width: 2;\\n }\\n\\n .doneCrit0,\\n .doneCrit1,\\n .doneCrit2,\\n .doneCrit3 {\\n stroke: ${t.critBorderColor};\\n fill: ${t.doneTaskBkgColor};\\n stroke-width: 2;\\n cursor: pointer;\\n shape-rendering: crispEdges;\\n }\\n\\n .milestone {\\n transform: rotate(45deg) scale(0.8,0.8);\\n }\\n\\n .milestoneText {\\n font-style: italic;\\n }\\n .doneCritText0,\\n .doneCritText1,\\n .doneCritText2,\\n .doneCritText3 {\\n fill: ${t.taskTextDarkColor} !important;\\n }\\n\\n .activeCritText0,\\n .activeCritText1,\\n .activeCritText2,\\n .activeCritText3 {\\n fill: ${t.taskTextDarkColor} !important;\\n }\\n\\n .titleText {\\n text-anchor: middle;\\n font-size: 18px;\\n fill: ${t.textColor} ;\\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\\n font-family: var(--mermaid-font-family);\\n }\\n`,ng=()=>\\\"\\\",ig=t=>`\\n .pieCircle{\\n stroke: ${t.pieStrokeColor};\\n stroke-width : ${t.pieStrokeWidth};\\n opacity : ${t.pieOpacity};\\n }\\n .pieTitleText {\\n text-anchor: middle;\\n font-size: ${t.pieTitleTextSize};\\n fill: ${t.pieTitleTextColor};\\n font-family: ${t.fontFamily};\\n }\\n .slice {\\n font-family: ${t.fontFamily};\\n fill: ${t.pieSectionTextColor};\\n font-size:${t.pieSectionTextSize};\\n // fill: white;\\n }\\n .legend text {\\n fill: ${t.pieLegendTextColor};\\n font-family: ${t.fontFamily};\\n font-size: ${t.pieLegendTextSize};\\n }\\n`,sg=t=>`\\n\\n marker {\\n fill: ${t.relationColor};\\n stroke: ${t.relationColor};\\n }\\n\\n marker.cross {\\n stroke: ${t.lineColor};\\n }\\n\\n svg {\\n font-family: ${t.fontFamily};\\n font-size: ${t.fontSize};\\n }\\n\\n .reqBox {\\n fill: ${t.requirementBackground};\\n fill-opacity: 100%;\\n stroke: ${t.requirementBorderColor};\\n stroke-width: ${t.requirementBorderSize};\\n }\\n \\n .reqTitle, .reqLabel{\\n fill: ${t.requirementTextColor};\\n }\\n .reqLabelBox {\\n fill: ${t.relationLabelBackground};\\n fill-opacity: 100%;\\n }\\n\\n .req-title-line {\\n stroke: ${t.requirementBorderColor};\\n stroke-width: ${t.requirementBorderSize};\\n }\\n .relationshipLine {\\n stroke: ${t.relationColor};\\n stroke-width: 1;\\n }\\n .relationshipLabel {\\n fill: ${t.relationLabelColor};\\n }\\n\\n`,ag=t=>`.actor {\\n stroke: ${t.actorBorder};\\n fill: ${t.actorBkg};\\n }\\n\\n text.actor > tspan {\\n fill: ${t.actorTextColor};\\n stroke: none;\\n }\\n\\n .actor-line {\\n stroke: ${t.actorLineColor};\\n }\\n\\n .messageLine0 {\\n stroke-width: 1.5;\\n stroke-dasharray: none;\\n stroke: ${t.signalColor};\\n }\\n\\n .messageLine1 {\\n stroke-width: 1.5;\\n stroke-dasharray: 2, 2;\\n stroke: ${t.signalColor};\\n }\\n\\n #arrowhead path {\\n fill: ${t.signalColor};\\n stroke: ${t.signalColor};\\n }\\n\\n .sequenceNumber {\\n fill: ${t.sequenceNumberColor};\\n }\\n\\n #sequencenumber {\\n fill: ${t.signalColor};\\n }\\n\\n #crosshead path {\\n fill: ${t.signalColor};\\n stroke: ${t.signalColor};\\n }\\n\\n .messageText {\\n fill: ${t.signalTextColor};\\n stroke: none;\\n }\\n\\n .labelBox {\\n stroke: ${t.labelBoxBorderColor};\\n fill: ${t.labelBoxBkgColor};\\n }\\n\\n .labelText, .labelText > tspan {\\n fill: ${t.labelTextColor};\\n stroke: none;\\n }\\n\\n .loopText, .loopText > tspan {\\n fill: ${t.loopTextColor};\\n stroke: none;\\n }\\n\\n .loopLine {\\n stroke-width: 2px;\\n stroke-dasharray: 2, 2;\\n stroke: ${t.labelBoxBorderColor};\\n fill: ${t.labelBoxBorderColor};\\n }\\n\\n .note {\\n //stroke: #decc93;\\n stroke: ${t.noteBorderColor};\\n fill: ${t.noteBkgColor};\\n }\\n\\n .noteText, .noteText > tspan {\\n fill: ${t.noteTextColor};\\n stroke: none;\\n }\\n\\n .activation0 {\\n fill: ${t.activationBkgColor};\\n stroke: ${t.activationBorderColor};\\n }\\n\\n .activation1 {\\n fill: ${t.activationBkgColor};\\n stroke: ${t.activationBorderColor};\\n }\\n\\n .activation2 {\\n fill: ${t.activationBkgColor};\\n stroke: ${t.activationBorderColor};\\n }\\n\\n .actorPopupMenu {\\n position: absolute;\\n }\\n\\n .actorPopupMenuPanel {\\n position: absolute;\\n fill: ${t.actorBkg};\\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\\n}\\n .actor-man line {\\n stroke: ${t.actorBorder};\\n fill: ${t.actorBkg};\\n }\\n .actor-man circle, line {\\n stroke: ${t.actorBorder};\\n fill: ${t.actorBkg};\\n stroke-width: 2px;\\n }\\n`,Lc=t=>`\\ndefs #statediagram-barbEnd {\\n fill: ${t.transitionColor};\\n stroke: ${t.transitionColor};\\n }\\ng.stateGroup text {\\n fill: ${t.nodeBorder};\\n stroke: none;\\n font-size: 10px;\\n}\\ng.stateGroup text {\\n fill: ${t.textColor};\\n stroke: none;\\n font-size: 10px;\\n\\n}\\ng.stateGroup .state-title {\\n font-weight: bolder;\\n fill: ${t.stateLabelColor};\\n}\\n\\ng.stateGroup rect {\\n fill: ${t.mainBkg};\\n stroke: ${t.nodeBorder};\\n}\\n\\ng.stateGroup line {\\n stroke: ${t.lineColor};\\n stroke-width: 1;\\n}\\n\\n.transition {\\n stroke: ${t.transitionColor};\\n stroke-width: 1;\\n fill: none;\\n}\\n\\n.stateGroup .composit {\\n fill: ${t.background};\\n border-bottom: 1px\\n}\\n\\n.stateGroup .alt-composit {\\n fill: #e0e0e0;\\n border-bottom: 1px\\n}\\n\\n.state-note {\\n stroke: ${t.noteBorderColor};\\n fill: ${t.noteBkgColor};\\n\\n text {\\n fill: ${t.noteTextColor};\\n stroke: none;\\n font-size: 10px;\\n }\\n}\\n\\n.stateLabel .box {\\n stroke: none;\\n stroke-width: 0;\\n fill: ${t.mainBkg};\\n opacity: 0.5;\\n}\\n\\n.edgeLabel .label rect {\\n fill: ${t.labelBackgroundColor};\\n opacity: 0.5;\\n}\\n.edgeLabel .label text {\\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\\n}\\n.label div .edgeLabel {\\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\\n}\\n\\n.stateLabel text {\\n fill: ${t.stateLabelColor};\\n font-size: 10px;\\n font-weight: bold;\\n}\\n\\n.node circle.state-start {\\n fill: ${t.specialStateColor};\\n stroke: ${t.specialStateColor};\\n}\\n\\n.node .fork-join {\\n fill: ${t.specialStateColor};\\n stroke: ${t.specialStateColor};\\n}\\n\\n.node circle.state-end {\\n fill: ${t.innerEndBackground};\\n stroke: ${t.background};\\n stroke-width: 1.5\\n}\\n.end-state-inner {\\n fill: ${t.compositeBackground||t.background};\\n // stroke: ${t.background};\\n stroke-width: 1.5\\n}\\n\\n.node rect {\\n fill: ${t.stateBkg||t.mainBkg};\\n stroke: ${t.stateBorder||t.nodeBorder};\\n stroke-width: 1px;\\n}\\n.node polygon {\\n fill: ${t.mainBkg};\\n stroke: ${t.stateBorder||t.nodeBorder};;\\n stroke-width: 1px;\\n}\\n#statediagram-barbEnd {\\n fill: ${t.lineColor};\\n}\\n\\n.statediagram-cluster rect {\\n fill: ${t.compositeTitleBackground};\\n stroke: ${t.stateBorder||t.nodeBorder};\\n stroke-width: 1px;\\n}\\n\\n.cluster-label, .nodeLabel {\\n color: ${t.stateLabelColor};\\n}\\n\\n.statediagram-cluster rect.outer {\\n rx: 5px;\\n ry: 5px;\\n}\\n.statediagram-state .divider {\\n stroke: ${t.stateBorder||t.nodeBorder};\\n}\\n\\n.statediagram-state .title-state {\\n rx: 5px;\\n ry: 5px;\\n}\\n.statediagram-cluster.statediagram-cluster .inner {\\n fill: ${t.compositeBackground||t.background};\\n}\\n.statediagram-cluster.statediagram-cluster-alt .inner {\\n fill: ${t.altBackground?t.altBackground:\\\"#efefef\\\"};\\n}\\n\\n.statediagram-cluster .inner {\\n rx:0;\\n ry:0;\\n}\\n\\n.statediagram-state rect.basic {\\n rx: 5px;\\n ry: 5px;\\n}\\n.statediagram-state rect.divider {\\n stroke-dasharray: 10,10;\\n fill: ${t.altBackground?t.altBackground:\\\"#efefef\\\"};\\n}\\n\\n.note-edge {\\n stroke-dasharray: 5;\\n}\\n\\n.statediagram-note rect {\\n fill: ${t.noteBkgColor};\\n stroke: ${t.noteBorderColor};\\n stroke-width: 1px;\\n rx: 0;\\n ry: 0;\\n}\\n.statediagram-note rect {\\n fill: ${t.noteBkgColor};\\n stroke: ${t.noteBorderColor};\\n stroke-width: 1px;\\n rx: 0;\\n ry: 0;\\n}\\n\\n.statediagram-note text {\\n fill: ${t.noteTextColor};\\n}\\n\\n.statediagram-note .nodeLabel {\\n color: ${t.noteTextColor};\\n}\\n.statediagram .edgeLabel {\\n color: red; // ${t.noteTextColor};\\n}\\n\\n#dependencyStart, #dependencyEnd {\\n fill: ${t.lineColor};\\n stroke: ${t.lineColor};\\n stroke-width: 1;\\n}\\n\\n.statediagramTitleText {\\n text-anchor: middle;\\n font-size: 18px;\\n fill: ${t.textColor};\\n}\\n`,og=t=>`.label {\\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\\n font-family: var(--mermaid-font-family);\\n color: ${t.textColor};\\n }\\n .mouth {\\n stroke: #666;\\n }\\n\\n line {\\n stroke: ${t.textColor}\\n }\\n\\n .legend {\\n fill: ${t.textColor};\\n }\\n\\n .label text {\\n fill: #333;\\n }\\n .label {\\n color: ${t.textColor}\\n }\\n\\n .face {\\n ${t.faceColor?`fill: ${t.faceColor}`:\\\"fill: #FFF8DC\\\"};\\n stroke: #999;\\n }\\n\\n .node rect,\\n .node circle,\\n .node ellipse,\\n .node polygon,\\n .node path {\\n fill: ${t.mainBkg};\\n stroke: ${t.nodeBorder};\\n stroke-width: 1px;\\n }\\n\\n .node .label {\\n text-align: center;\\n }\\n .node.clickable {\\n cursor: pointer;\\n }\\n\\n .arrowheadPath {\\n fill: ${t.arrowheadColor};\\n }\\n\\n .edgePath .path {\\n stroke: ${t.lineColor};\\n stroke-width: 1.5px;\\n }\\n\\n .flowchart-link {\\n stroke: ${t.lineColor};\\n fill: none;\\n }\\n\\n .edgeLabel {\\n background-color: ${t.edgeLabelBackground};\\n rect {\\n opacity: 0.5;\\n }\\n text-align: center;\\n }\\n\\n .cluster rect {\\n }\\n\\n .cluster text {\\n fill: ${t.titleColor};\\n }\\n\\n div.mermaidTooltip {\\n position: absolute;\\n text-align: center;\\n max-width: 200px;\\n padding: 2px;\\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\\n font-family: var(--mermaid-font-family);\\n font-size: 12px;\\n background: ${t.tertiaryColor};\\n border: 1px solid ${t.border2};\\n border-radius: 2px;\\n pointer-events: none;\\n z-index: 100;\\n }\\n\\n .task-type-0, .section-type-0 {\\n ${t.fillType0?`fill: ${t.fillType0}`:\\\"\\\"};\\n }\\n .task-type-1, .section-type-1 {\\n ${t.fillType0?`fill: ${t.fillType1}`:\\\"\\\"};\\n }\\n .task-type-2, .section-type-2 {\\n ${t.fillType0?`fill: ${t.fillType2}`:\\\"\\\"};\\n }\\n .task-type-3, .section-type-3 {\\n ${t.fillType0?`fill: ${t.fillType3}`:\\\"\\\"};\\n }\\n .task-type-4, .section-type-4 {\\n ${t.fillType0?`fill: ${t.fillType4}`:\\\"\\\"};\\n }\\n .task-type-5, .section-type-5 {\\n ${t.fillType0?`fill: ${t.fillType5}`:\\\"\\\"};\\n }\\n .task-type-6, .section-type-6 {\\n ${t.fillType0?`fill: ${t.fillType6}`:\\\"\\\"};\\n }\\n .task-type-7, .section-type-7 {\\n ${t.fillType0?`fill: ${t.fillType7}`:\\\"\\\"};\\n }\\n\\n .actor-0 {\\n ${t.actor0?`fill: ${t.actor0}`:\\\"\\\"};\\n }\\n .actor-1 {\\n ${t.actor1?`fill: ${t.actor1}`:\\\"\\\"};\\n }\\n .actor-2 {\\n ${t.actor2?`fill: ${t.actor2}`:\\\"\\\"};\\n }\\n .actor-3 {\\n ${t.actor3?`fill: ${t.actor3}`:\\\"\\\"};\\n }\\n .actor-4 {\\n ${t.actor4?`fill: ${t.actor4}`:\\\"\\\"};\\n }\\n .actor-5 {\\n ${t.actor5?`fill: ${t.actor5}`:\\\"\\\"};\\n }\\n`,lg=t=>`.person {\\n stroke: ${t.personBorder};\\n fill: ${t.personBkg};\\n }\\n`,Dc={flowchart:Ac,\\\"flowchart-v2\\\":Ac,sequence:ag,gantt:rg,classDiagram:go,\\\"classDiagram-v2\\\":go,class:go,stateDiagram:Lc,state:Lc,info:ng,pie:ig,er:tg,error:eg,journey:og,requirement:sg,c4:lg},cE=(t,e,r)=>{let n=\\\"\\\";return t in Dc&&Dc[t]?n=Dc[t](r):B.warn(`No theme found for ${t}`),` & {\\n font-family: ${r.fontFamily};\\n font-size: ${r.fontSize};\\n fill: ${r.textColor}\\n }\\n\\n /* Classes common for multiple diagrams */\\n\\n & .error-icon {\\n fill: ${r.errorBkgColor};\\n }\\n & .error-text {\\n fill: ${r.errorTextColor};\\n stroke: ${r.errorTextColor};\\n }\\n\\n & .edge-thickness-normal {\\n stroke-width: 2px;\\n }\\n & .edge-thickness-thick {\\n stroke-width: 3.5px\\n }\\n & .edge-pattern-solid {\\n stroke-dasharray: 0;\\n }\\n\\n & .edge-pattern-dashed{\\n stroke-dasharray: 3;\\n }\\n .edge-pattern-dotted {\\n stroke-dasharray: 2;\\n }\\n\\n & .marker {\\n fill: ${r.lineColor};\\n stroke: ${r.lineColor};\\n }\\n & .marker.cross {\\n stroke: ${r.lineColor};\\n }\\n\\n & svg {\\n font-family: ${r.fontFamily};\\n font-size: ${r.fontSize};\\n }\\n\\n ${n}\\n\\n ${e}\\n`},uE=(t,e)=>{Dc[t]=e},hE=cE,dE=B,fE=Qu,yo=$,pE=t=>yn(t,yo()),cg=Sc,Mc={},yr=(t,e,r)=>{if(Mc[t])throw new Error(`Diagram ${t} already registered.`);Mc[t]=e,r&&Lp(t,r),uE(t,e.styles),e.injectUtils&&e.injectUtils(dE,fE,yo,pE,cg)},ug=t=>{if(t in Mc)return Mc[t];throw new Error(`Diagram ${t} not found.`)};var C1=function(){var t=function(W,N,D,w){for(D=D||{},w=W.length;w--;D[W[w]]=N);return D},e=[1,4],r=[1,7],n=[1,5],i=[1,9],s=[1,6],a=[2,6],o=[1,16],l=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],u=[8,14,20,22,24,25,27,29,32,37,40],d=[8,13,14,20,22,24,25,27,29,32,37,40],f=[1,26],p=[6,8,14,50,55],g=[8,14,55],b=[1,53],k=[1,52],T=[8,14,30,33,35,38,55],L=[1,67],E=[1,68],I=[1,69],V=[8,14,33,35,42,55],H={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,\\\":\\\":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,\\\";\\\":55,$accept:0,$end:1},terminals_:{2:\\\"error\\\",6:\\\"GG\\\",8:\\\"EOF\\\",9:\\\":\\\",10:\\\"DIR\\\",13:\\\"OPT\\\",14:\\\"NL\\\",20:\\\"acc_title\\\",21:\\\"acc_title_value\\\",22:\\\"acc_descr\\\",23:\\\"acc_descr_value\\\",24:\\\"acc_descr_multiline_value\\\",25:\\\"section\\\",27:\\\"CHECKOUT\\\",29:\\\"BRANCH\\\",30:\\\"ORDER\\\",31:\\\"NUM\\\",32:\\\"CHERRY_PICK\\\",33:\\\"COMMIT_ID\\\",34:\\\"STR\\\",35:\\\"COMMIT_TAG\\\",36:\\\"EMPTYSTR\\\",37:\\\"MERGE\\\",38:\\\"COMMIT_TYPE\\\",40:\\\"COMMIT\\\",42:\\\"COMMIT_MSG\\\",43:\\\"NORMAL\\\",44:\\\"REVERSE\\\",45:\\\"HIGHLIGHT\\\",50:\\\"open_directive\\\",51:\\\"type_directive\\\",52:\\\"arg_directive\\\",53:\\\"close_directive\\\",54:\\\"ID\\\",55:\\\";\\\"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(N,D,w,v,M,m,Q){var x=m.length-1;switch(M){case 3:return m[x];case 4:return m[x-1];case 5:return v.setDirection(m[x-3]),m[x-1];case 7:v.setOptions(m[x-1]),this.$=m[x];break;case 8:m[x-1]+=m[x],this.$=m[x-1];break;case 10:this.$=[];break;case 11:m[x-1].push(m[x]),this.$=m[x-1];break;case 12:this.$=m[x-1];break;case 17:this.$=m[x].trim(),v.setAccTitle(this.$);break;case 18:case 19:this.$=m[x].trim(),v.setAccDescription(this.$);break;case 20:v.addSection(m[x].substr(8)),this.$=m[x].substr(8);break;case 22:v.checkout(m[x]);break;case 23:v.branch(m[x]);break;case 24:v.branch(m[x-2],m[x]);break;case 25:v.cherryPick(m[x],\\\"\\\",void 0);break;case 26:v.cherryPick(m[x-2],\\\"\\\",m[x]);break;case 27:case 29:v.cherryPick(m[x-2],\\\"\\\",\\\"\\\");break;case 28:v.cherryPick(m[x],\\\"\\\",m[x-2]);break;case 30:v.merge(m[x],\\\"\\\",\\\"\\\",\\\"\\\");break;case 31:v.merge(m[x-2],m[x],\\\"\\\",\\\"\\\");break;case 32:v.merge(m[x-2],\\\"\\\",m[x],\\\"\\\");break;case 33:v.merge(m[x-2],\\\"\\\",\\\"\\\",m[x]);break;case 34:v.merge(m[x-4],m[x],\\\"\\\",m[x-2]);break;case 35:v.merge(m[x-4],\\\"\\\",m[x],m[x-2]);break;case 36:v.merge(m[x-4],\\\"\\\",m[x-2],m[x]);break;case 37:v.merge(m[x-4],m[x-2],m[x],\\\"\\\");break;case 38:v.merge(m[x-4],m[x-2],\\\"\\\",m[x]);break;case 39:v.merge(m[x-4],m[x],m[x-2],\\\"\\\");break;case 40:v.merge(m[x-6],m[x-4],m[x-2],m[x]);break;case 41:v.merge(m[x-6],m[x],m[x-4],m[x-2]);break;case 42:v.merge(m[x-6],m[x-4],m[x],m[x-2]);break;case 43:v.merge(m[x-6],m[x-2],m[x-4],m[x]);break;case 44:v.merge(m[x-6],m[x],m[x-2],m[x-4]);break;case 45:v.merge(m[x-6],m[x-2],m[x],m[x-4]);break;case 46:v.commit(m[x]);break;case 47:v.commit(\\\"\\\",\\\"\\\",v.commitType.NORMAL,m[x]);break;case 48:v.commit(\\\"\\\",\\\"\\\",m[x],\\\"\\\");break;case 49:v.commit(\\\"\\\",\\\"\\\",m[x],m[x-2]);break;case 50:v.commit(\\\"\\\",\\\"\\\",m[x-2],m[x]);break;case 51:v.commit(\\\"\\\",m[x],v.commitType.NORMAL,\\\"\\\");break;case 52:v.commit(\\\"\\\",m[x-2],v.commitType.NORMAL,m[x]);break;case 53:v.commit(\\\"\\\",m[x],v.commitType.NORMAL,m[x-2]);break;case 54:v.commit(\\\"\\\",m[x-2],m[x],\\\"\\\");break;case 55:v.commit(\\\"\\\",m[x],m[x-2],\\\"\\\");break;case 56:v.commit(\\\"\\\",m[x-4],m[x-2],m[x]);break;case 57:v.commit(\\\"\\\",m[x-4],m[x],m[x-2]);break;case 58:v.commit(\\\"\\\",m[x-2],m[x-4],m[x]);break;case 59:v.commit(\\\"\\\",m[x],m[x-4],m[x-2]);break;case 60:v.commit(\\\"\\\",m[x],m[x-2],m[x-4]);break;case 61:v.commit(\\\"\\\",m[x-2],m[x],m[x-4]);break;case 62:v.commit(m[x],\\\"\\\",v.commitType.NORMAL,\\\"\\\");break;case 63:v.commit(m[x],\\\"\\\",v.commitType.NORMAL,m[x-2]);break;case 64:v.commit(m[x-2],\\\"\\\",v.commitType.NORMAL,m[x]);break;case 65:v.commit(m[x-2],\\\"\\\",m[x],\\\"\\\");break;case 66:v.commit(m[x],\\\"\\\",m[x-2],\\\"\\\");break;case 67:v.commit(m[x],m[x-2],v.commitType.NORMAL,\\\"\\\");break;case 68:v.commit(m[x-2],m[x],v.commitType.NORMAL,\\\"\\\");break;case 69:v.commit(m[x-4],\\\"\\\",m[x-2],m[x]);break;case 70:v.commit(m[x-4],\\\"\\\",m[x],m[x-2]);break;case 71:v.commit(m[x-2],\\\"\\\",m[x-4],m[x]);break;case 72:v.commit(m[x],\\\"\\\",m[x-4],m[x-2]);break;case 73:v.commit(m[x],\\\"\\\",m[x-2],m[x-4]);break;case 74:v.commit(m[x-2],\\\"\\\",m[x],m[x-4]);break;case 75:v.commit(m[x-4],m[x],m[x-2],\\\"\\\");break;case 76:v.commit(m[x-4],m[x-2],m[x],\\\"\\\");break;case 77:v.commit(m[x-2],m[x],m[x-4],\\\"\\\");break;case 78:v.commit(m[x],m[x-2],m[x-4],\\\"\\\");break;case 79:v.commit(m[x],m[x-4],m[x-2],\\\"\\\");break;case 80:v.commit(m[x-2],m[x-4],m[x],\\\"\\\");break;case 81:v.commit(m[x-4],m[x],v.commitType.NORMAL,m[x-2]);break;case 82:v.commit(m[x-4],m[x-2],v.commitType.NORMAL,m[x]);break;case 83:v.commit(m[x-2],m[x],v.commitType.NORMAL,m[x-4]);break;case 84:v.commit(m[x],m[x-2],v.commitType.NORMAL,m[x-4]);break;case 85:v.commit(m[x],m[x-4],v.commitType.NORMAL,m[x-2]);break;case 86:v.commit(m[x-2],m[x-4],v.commitType.NORMAL,m[x]);break;case 87:v.commit(m[x-6],m[x-4],m[x-2],m[x]);break;case 88:v.commit(m[x-6],m[x-4],m[x],m[x-2]);break;case 89:v.commit(m[x-6],m[x-2],m[x-4],m[x]);break;case 90:v.commit(m[x-6],m[x],m[x-4],m[x-2]);break;case 91:v.commit(m[x-6],m[x-2],m[x],m[x-4]);break;case 92:v.commit(m[x-6],m[x],m[x-2],m[x-4]);break;case 93:v.commit(m[x-4],m[x-6],m[x-2],m[x]);break;case 94:v.commit(m[x-4],m[x-6],m[x],m[x-2]);break;case 95:v.commit(m[x-2],m[x-6],m[x-4],m[x]);break;case 96:v.commit(m[x],m[x-6],m[x-4],m[x-2]);break;case 97:v.commit(m[x-2],m[x-6],m[x],m[x-4]);break;case 98:v.commit(m[x],m[x-6],m[x-2],m[x-4]);break;case 99:v.commit(m[x],m[x-4],m[x-2],m[x-6]);break;case 100:v.commit(m[x-2],m[x-4],m[x],m[x-6]);break;case 101:v.commit(m[x],m[x-2],m[x-4],m[x-6]);break;case 102:v.commit(m[x-2],m[x],m[x-4],m[x-6]);break;case 103:v.commit(m[x-4],m[x-2],m[x],m[x-6]);break;case 104:v.commit(m[x-4],m[x],m[x-2],m[x-6]);break;case 105:v.commit(m[x-2],m[x-4],m[x-6],m[x]);break;case 106:v.commit(m[x],m[x-4],m[x-6],m[x-2]);break;case 107:v.commit(m[x-2],m[x],m[x-6],m[x-4]);break;case 108:v.commit(m[x],m[x-2],m[x-6],m[x-4]);break;case 109:v.commit(m[x-4],m[x-2],m[x-6],m[x]);break;case 110:v.commit(m[x-4],m[x],m[x-6],m[x-2]);break;case 111:this.$=\\\"\\\";break;case 112:this.$=m[x];break;case 113:this.$=v.commitType.NORMAL;break;case 114:this.$=v.commitType.REVERSE;break;case 115:this.$=v.commitType.HIGHLIGHT;break;case 118:v.parseDirective(\\\"%%{\\\",\\\"open_directive\\\");break;case 119:v.parseDirective(m[x],\\\"type_directive\\\");break;case 120:m[x]=m[x].trim().replace(/'/g,'\\\"'),v.parseDirective(m[x],\\\"arg_directive\\\");break;case 121:v.parseDirective(\\\"}%%\\\",\\\"close_directive\\\",\\\"gitGraph\\\");break}},table:[{3:1,4:2,5:3,6:e,8:r,14:n,46:8,50:i,55:s},{1:[3]},{3:10,4:2,5:3,6:e,8:r,14:n,46:8,50:i,55:s},{3:11,4:2,5:3,6:e,8:r,14:n,46:8,50:i,55:s},{7:12,8:a,9:[1,13],10:[1,14],11:15,14:o},t(l,[2,124]),t(l,[2,125]),t(l,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:a,11:15,14:o},{9:[1,21]},t(u,[2,10],{12:22,13:[1,23]}),t(d,[2,9]),{9:[1,25],48:24,53:f},t([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:a,11:15,14:o},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},t(d,[2,8]),t(p,[2,116]),{49:45,52:[1,46]},t(p,[2,121]),{1:[2,4]},{8:[1,47]},t(u,[2,11]),{4:48,8:r,14:n,55:s},t(u,[2,13]),t(g,[2,14]),t(g,[2,15]),t(g,[2,16]),{21:[1,49]},{23:[1,50]},t(g,[2,19]),t(g,[2,20]),t(g,[2,21]),{28:51,34:b,54:k},t(g,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:b,54:k},{33:[1,61],35:[1,62]},{28:63,34:b,54:k},{48:64,53:f},{53:[2,120]},{1:[2,5]},t(u,[2,12]),t(g,[2,17]),t(g,[2,18]),t(g,[2,22]),t(T,[2,122]),t(T,[2,123]),t(g,[2,46]),{34:[1,65]},{39:66,43:L,44:E,45:I},{34:[1,70]},{34:[1,71]},t(g,[2,112]),t(g,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},t(g,[2,23],{30:[1,78]}),t(p,[2,117]),t(g,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),t(g,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),t(V,[2,113]),t(V,[2,114]),t(V,[2,115]),t(g,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),t(g,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:L,44:E,45:I},{34:[1,93]},t(g,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:L,44:E,45:I},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:L,44:E,45:I},{34:[1,106]},{34:[1,107]},{39:108,43:L,44:E,45:I},{34:[1,109]},t(g,[2,31],{35:[1,111],38:[1,110]}),t(g,[2,32],{33:[1,113],35:[1,112]}),t(g,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},t(g,[2,24]),t(g,[2,49],{33:[1,120],42:[1,121]}),t(g,[2,53],{38:[1,122],42:[1,123]}),t(g,[2,63],{33:[1,125],38:[1,124]}),t(g,[2,50],{33:[1,126],42:[1,127]}),t(g,[2,55],{35:[1,128],42:[1,129]}),t(g,[2,66],{33:[1,131],35:[1,130]}),t(g,[2,52],{38:[1,132],42:[1,133]}),t(g,[2,54],{35:[1,134],42:[1,135]}),t(g,[2,67],{35:[1,137],38:[1,136]}),t(g,[2,64],{33:[1,139],38:[1,138]}),t(g,[2,65],{33:[1,141],35:[1,140]}),t(g,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:L,44:E,45:I},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:L,44:E,45:I},t(g,[2,26]),t(g,[2,27]),t(g,[2,28]),t(g,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:L,44:E,45:I},{34:[1,153]},{39:154,43:L,44:E,45:I},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:L,44:E,45:I},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:L,44:E,45:I},{34:[1,167]},{39:168,43:L,44:E,45:I},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:L,44:E,45:I},{34:[1,173]},t(g,[2,37],{35:[1,174]}),t(g,[2,38],{38:[1,175]}),t(g,[2,36],{33:[1,176]}),t(g,[2,39],{35:[1,177]}),t(g,[2,34],{38:[1,178]}),t(g,[2,35],{33:[1,179]}),t(g,[2,60],{42:[1,180]}),t(g,[2,73],{33:[1,181]}),t(g,[2,61],{42:[1,182]}),t(g,[2,84],{38:[1,183]}),t(g,[2,74],{33:[1,184]}),t(g,[2,83],{38:[1,185]}),t(g,[2,59],{42:[1,186]}),t(g,[2,72],{33:[1,187]}),t(g,[2,58],{42:[1,188]}),t(g,[2,78],{35:[1,189]}),t(g,[2,71],{33:[1,190]}),t(g,[2,77],{35:[1,191]}),t(g,[2,57],{42:[1,192]}),t(g,[2,85],{38:[1,193]}),t(g,[2,56],{42:[1,194]}),t(g,[2,79],{35:[1,195]}),t(g,[2,80],{35:[1,196]}),t(g,[2,86],{38:[1,197]}),t(g,[2,70],{33:[1,198]}),t(g,[2,81],{38:[1,199]}),t(g,[2,69],{33:[1,200]}),t(g,[2,75],{35:[1,201]}),t(g,[2,76],{35:[1,202]}),t(g,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:L,44:E,45:I},{34:[1,206]},{34:[1,207]},{39:208,43:L,44:E,45:I},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:L,44:E,45:I},{34:[1,214]},{39:215,43:L,44:E,45:I},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:L,44:E,45:I},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:L,44:E,45:I},{34:[1,228]},{39:229,43:L,44:E,45:I},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:L,44:E,45:I},t(g,[2,40]),t(g,[2,42]),t(g,[2,41]),t(g,[2,43]),t(g,[2,45]),t(g,[2,44]),t(g,[2,101]),t(g,[2,102]),t(g,[2,99]),t(g,[2,100]),t(g,[2,104]),t(g,[2,103]),t(g,[2,108]),t(g,[2,107]),t(g,[2,106]),t(g,[2,105]),t(g,[2,110]),t(g,[2,109]),t(g,[2,98]),t(g,[2,97]),t(g,[2,96]),t(g,[2,95]),t(g,[2,93]),t(g,[2,94]),t(g,[2,92]),t(g,[2,91]),t(g,[2,90]),t(g,[2,89]),t(g,[2,87]),t(g,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(N,D){if(D.recoverable)this.trace(N);else{var w=new Error(N);throw w.hash=D,w}},parse:function(N){var D=this,w=[0],v=[],M=[null],m=[],Q=this.table,x=\\\"\\\",ct=0,Dt=0,kt=2,j=1,ot=m.slice.call(arguments,1),rt=Object.create(this.lexer),nt={yy:{}};for(var ut in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ut)&&(nt.yy[ut]=this.yy[ut]);rt.setInput(N,nt.yy),nt.yy.lexer=rt,nt.yy.parser=this,typeof rt.yylloc>\\\"u\\\"&&(rt.yylloc={});var _t=rt.yylloc;m.push(_t);var K=rt.options&&rt.options.ranges;typeof nt.yy.parseError==\\\"function\\\"?this.parseError=nt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ot(){var Yt;return Yt=v.pop()||rt.lex()||j,typeof Yt!=\\\"number\\\"&&(Yt instanceof Array&&(v=Yt,Yt=v.pop()),Yt=D.symbols_[Yt]||Yt),Yt}for(var P,z,X,F,O={},A,J,C,ht;;){if(z=w[w.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((P===null||typeof P>\\\"u\\\")&&(P=Ot()),X=Q[z]&&Q[z][P]),typeof X>\\\"u\\\"||!X.length||!X[0]){var U=\\\"\\\";ht=[];for(A in Q[z])this.terminals_[A]&&A>kt&&ht.push(\\\"'\\\"+this.terminals_[A]+\\\"'\\\");rt.showPosition?U=\\\"Parse error on line \\\"+(ct+1)+`:\\n`+rt.showPosition()+`\\nExpecting `+ht.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[P]||P)+\\\"'\\\":U=\\\"Parse error on line \\\"+(ct+1)+\\\": Unexpected \\\"+(P==j?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[P]||P)+\\\"'\\\"),this.parseError(U,{text:rt.match,token:this.terminals_[P]||P,line:rt.yylineno,loc:_t,expected:ht})}if(X[0]instanceof Array&&X.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+z+\\\", token: \\\"+P);switch(X[0]){case 1:w.push(P),M.push(rt.yytext),m.push(rt.yylloc),w.push(X[1]),P=null,Dt=rt.yyleng,x=rt.yytext,ct=rt.yylineno,_t=rt.yylloc;break;case 2:if(J=this.productions_[X[1]][1],O.$=M[M.length-J],O._$={first_line:m[m.length-(J||1)].first_line,last_line:m[m.length-1].last_line,first_column:m[m.length-(J||1)].first_column,last_column:m[m.length-1].last_column},K&&(O._$.range=[m[m.length-(J||1)].range[0],m[m.length-1].range[1]]),F=this.performAction.apply(O,[x,Dt,ct,nt.yy,X[1],M,m].concat(ot)),typeof F\u003C\\\"u\\\")return F;J&&(w=w.slice(0,-1*J*2),M=M.slice(0,-1*J),m=m.slice(0,-1*J)),w.push(this.productions_[X[1]][0]),M.push(O.$),m.push(O._$),C=Q[w[w.length-2]][w[w.length-1]],w.push(C);break;case 3:return!0}}return!0}},G=function(){var W={EOF:1,parseError:function(D,w){if(this.yy.parser)this.yy.parser.parseError(D,w);else throw new Error(D)},setInput:function(N,D){return this.yy=D||this.yy||{},this._input=N,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var N=this._input[0];this.yytext+=N,this.yyleng++,this.offset++,this.match+=N,this.matched+=N;var D=N.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return D?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),N},unput:function(N){var D=N.length,w=N.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=N+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-D),this.offset-=D;var v=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),w.length-1&&(this.yylineno-=w.length-1);var M=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:w?(w.length===v.length?this.yylloc.first_column:0)+v[v.length-w.length].length-w[0].length:this.yylloc.first_column-D},this.options.ranges&&(this.yylloc.range=[M[0],M[0]+this.yyleng-D]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(N){this.unput(this.match.slice(N))},pastInput:function(){var N=this.matched.substr(0,this.matched.length-this.match.length);return(N.length>20?\\\"...\\\":\\\"\\\")+N.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var N=this.match;return N.length\u003C20&&(N+=this._input.substr(0,20-N.length)),(N.substr(0,20)+(N.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var N=this.pastInput(),D=new Array(N.length+1).join(\\\"-\\\");return N+this.upcomingInput()+`\\n`+D+\\\"^\\\"},test_match:function(N,D){var w,v,M;if(this.options.backtrack_lexer&&(M={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(M.yylloc.range=this.yylloc.range.slice(0))),v=N[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),v&&(this.yylineno+=v.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:v?v[v.length-1].length-v[v.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+N[0].length},this.yytext+=N[0],this.match+=N[0],this.matches=N,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(N[0].length),this.matched+=N[0],w=this.performAction.call(this,this.yy,this,D,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),w)return w;if(this._backtrack){for(var m in M)this[m]=M[m];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var N,D,w,v;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var M=this._currentRules(),m=0;m\u003CM.length;m++)if(w=this._input.match(this.rules[M[m]]),w&&(!D||w[0].length>D[0].length)){if(D=w,v=m,this.options.backtrack_lexer){if(N=this.test_match(w,M[m]),N!==!1)return N;if(this._backtrack){D=!1;continue}else return!1}else if(!this.options.flex)break}return D?(N=this.test_match(D,M[v]),N!==!1?N:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var D=this.next();return D||this.lex()},begin:function(D){this.conditionStack.push(D)},popState:function(){var D=this.conditionStack.length-1;return D>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(D){return D=this.conditionStack.length-1-Math.abs(D||0),D>=0?this.conditionStack[D]:\\\"INITIAL\\\"},pushState:function(D){this.begin(D)},stateStackSize:function(){return this.conditionStack.length},options:{\\\"case-insensitive\\\":!0},performAction:function(D,w,v,M){switch(v){case 0:return this.begin(\\\"open_directive\\\"),50;case 1:return this.begin(\\\"type_directive\\\"),51;case 2:return this.popState(),this.begin(\\\"arg_directive\\\"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin(\\\"acc_title\\\"),20;case 6:return this.popState(),\\\"acc_title_value\\\";case 7:return this.begin(\\\"acc_descr\\\"),22;case 8:return this.popState(),\\\"acc_descr_value\\\";case 9:this.begin(\\\"acc_descr_multiline\\\");break;case 10:this.popState();break;case 11:return\\\"acc_descr_multiline_value\\\";case 12:return 14;case 13:break;case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:return 10;case 30:return 10;case 31:return 9;case 32:return\\\"CARET\\\";case 33:this.begin(\\\"options\\\");break;case 34:this.popState();break;case 35:return 13;case 36:return 36;case 37:this.begin(\\\"string\\\");break;case 38:this.popState();break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\\\\{)/i,/^(?:((?:(?!\\\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\\\}%%)/i,/^(?:((?:(?!\\\\}%%).|\\\\n)*))/i,/^(?:accTitle\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*\\\\{\\\\s*)/i,/^(?:[\\\\}])/i,/^(?:[^\\\\}]*)/i,/^(?:(\\\\r?\\\\n)+)/i,/^(?:#[^\\\\n]*)/i,/^(?:%[^\\\\n]*)/i,/^(?:gitGraph\\\\b)/i,/^(?:commit(?=\\\\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\\\\b)/i,/^(?:REVERSE\\\\b)/i,/^(?:HIGHLIGHT\\\\b)/i,/^(?:tag:)/i,/^(?:branch(?=\\\\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\\\\s|$))/i,/^(?:cherry-pick(?=\\\\s|$))/i,/^(?:checkout(?=\\\\s|$))/i,/^(?:LR\\\\b)/i,/^(?:BT\\\\b)/i,/^(?::)/i,/^(?:\\\\^)/i,/^(?:options\\\\r?\\\\n)/i,/^(?:[ \\\\r\\\\n\\\\t]+end\\\\b)/i,/^(?:[\\\\s\\\\S]+(?=[ \\\\r\\\\n\\\\t]+end))/i,/^(?:[\\\"][\\\"])/i,/^(?:[\\\"])/i,/^(?:[\\\"])/i,/^(?:[^\\\"]*)/i,/^(?:[0-9]+(?=\\\\s|$))/i,/^(?:\\\\w([-\\\\./\\\\w]*[-\\\\w])?)/i,/^(?:$)/i,/^(?:\\\\s+)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}};return W}();H.lexer=G;function Y(){this.yy={}}return Y.prototype=H,H.Parser=Y,new Y}();C1.parser=C1;const gE=C1,yE=t=>t.match(/^\\\\s*gitGraph/)!==null;let S1=\\\"\\\",Nc=\\\"\\\",A1=\\\"\\\";const L1=t=>yn(t,$()),vn=function(){S1=\\\"\\\",A1=\\\"\\\",Nc=\\\"\\\"},nn=function(t){S1=L1(t).replace(/^\\\\s+/g,\\\"\\\")},kn=function(){return S1||Nc},wn=function(t){A1=L1(t).replace(/\\\\n\\\\s+/g,`\\n`)},Tn=function(){return A1},hi=function(t){Nc=L1(t)},di=function(){return Nc};let Bc=$().gitGraph.mainBranchName,mE=$().gitGraph.mainBranchOrder,cr={},Br=null,mo={};mo[Bc]={name:Bc,order:mE};let rr={};rr[Bc]=Br;let mr=Bc,hg=\\\"LR\\\",xs=0;function D1(){return Fp({length:7})}const bE=function(t,e,r){ze.parseDirective(this,t,e,r)};function _E(t,e){const r=Object.create(null);return t.reduce((n,i)=>{const s=e(i);return r[s]||(r[s]=!0,n.push(i)),n},[])}const xE=function(t){hg=t};let dg={};const vE=function(t){B.debug(\\\"options str\\\",t),t=t&&t.trim(),t=t||\\\"{}\\\";try{dg=JSON.parse(t)}catch(e){B.error(\\\"error while parsing gitGraph options\\\",e.message)}},kE=function(){return dg},wE=function(t,e,r,n){B.debug(\\\"Entering commit:\\\",t,e,r,n),e=he.sanitizeText(e,$()),t=he.sanitizeText(t,$()),n=he.sanitizeText(n,$());const i={id:e||xs+\\\"-\\\"+D1(),message:t,seq:xs++,type:r||bo.NORMAL,tag:n||\\\"\\\",parents:Br==null?[]:[Br.id],branch:mr};Br=i,cr[i.id]=i,rr[mr]=i.id,B.debug(\\\"in pushCommit \\\"+i.id)},TE=function(t,e){if(t=he.sanitizeText(t,$()),rr[t]===void 0)rr[t]=Br!=null?Br.id:null,mo[t]={name:t,order:e?parseInt(e,10):null},fg(t),B.debug(\\\"in createBranch\\\");else{let r=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using \\\"checkout '+t+'\\\")');throw r.hash={text:\\\"branch \\\"+t,token:\\\"branch \\\"+t,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['\\\"checkout '+t+'\\\"']},r}},EE=function(t,e,r,n){t=he.sanitizeText(t,$()),e=he.sanitizeText(e,$());const i=cr[rr[mr]],s=cr[rr[t]];if(mr===t){let o=new Error('Incorrect usage of \\\"merge\\\". Cannot merge a branch to itself');throw o.hash={text:\\\"merge \\\"+t,token:\\\"merge \\\"+t,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:[\\\"branch abc\\\"]},o}else if(i===void 0||!i){let o=new Error('Incorrect usage of \\\"merge\\\". Current branch ('+mr+\\\")has no commits\\\");throw o.hash={text:\\\"merge \\\"+t,token:\\\"merge \\\"+t,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:[\\\"commit\\\"]},o}else if(rr[t]===void 0){let o=new Error('Incorrect usage of \\\"merge\\\". Branch to be merged ('+t+\\\") does not exist\\\");throw o.hash={text:\\\"merge \\\"+t,token:\\\"merge \\\"+t,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:[\\\"branch \\\"+t]},o}else if(s===void 0||!s){let o=new Error('Incorrect usage of \\\"merge\\\". Branch to be merged ('+t+\\\") has no commits\\\");throw o.hash={text:\\\"merge \\\"+t,token:\\\"merge \\\"+t,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['\\\"commit\\\"']},o}else if(i===s){let o=new Error('Incorrect usage of \\\"merge\\\". Both branches have same head');throw o.hash={text:\\\"merge \\\"+t,token:\\\"merge \\\"+t,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:[\\\"branch abc\\\"]},o}else if(e&&cr[e]!==void 0){let o=new Error('Incorrect usage of \\\"merge\\\". Commit with id:'+e+\\\" already exists, use different custom Id\\\");throw o.hash={text:\\\"merge \\\"+t+e+r+n,token:\\\"merge \\\"+t+e+r+n,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:[\\\"merge \\\"+t+\\\" \\\"+e+\\\"_UNIQUE \\\"+r+\\\" \\\"+n]},o}const a={id:e||xs+\\\"-\\\"+D1(),message:\\\"merged branch \\\"+t+\\\" into \\\"+mr,seq:xs++,parents:[Br==null?null:Br.id,rr[t]],branch:mr,type:bo.MERGE,customType:r,customId:!!e,tag:n||\\\"\\\"};Br=a,cr[a.id]=a,rr[mr]=a.id,B.debug(rr),B.debug(\\\"in mergeBranch\\\")},CE=function(t,e,r){if(B.debug(\\\"Entering cherryPick:\\\",t,e,r),t=he.sanitizeText(t,$()),e=he.sanitizeText(e,$()),r=he.sanitizeText(r,$()),!t||cr[t]===void 0){let s=new Error('Incorrect usage of \\\"cherryPick\\\". Source commit id should exist and provided');throw s.hash={text:\\\"cherryPick \\\"+t+\\\" \\\"+e,token:\\\"cherryPick \\\"+t+\\\" \\\"+e,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:[\\\"cherry-pick abc\\\"]},s}let n=cr[t],i=n.branch;if(n.type===bo.MERGE){let s=new Error('Incorrect usage of \\\"cherryPick\\\". Source commit should not be a merge commit');throw s.hash={text:\\\"cherryPick \\\"+t+\\\" \\\"+e,token:\\\"cherryPick \\\"+t+\\\" \\\"+e,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:[\\\"cherry-pick abc\\\"]},s}if(!e||cr[e]===void 0){if(i===mr){let o=new Error('Incorrect usage of \\\"cherryPick\\\". Source commit is already on current branch');throw o.hash={text:\\\"cherryPick \\\"+t+\\\" \\\"+e,token:\\\"cherryPick \\\"+t+\\\" \\\"+e,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:[\\\"cherry-pick abc\\\"]},o}const s=cr[rr[mr]];if(s===void 0||!s){let o=new Error('Incorrect usage of \\\"cherry-pick\\\". Current branch ('+mr+\\\")has no commits\\\");throw o.hash={text:\\\"cherryPick \\\"+t+\\\" \\\"+e,token:\\\"cherryPick \\\"+t+\\\" \\\"+e,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:[\\\"cherry-pick abc\\\"]},o}const a={id:xs+\\\"-\\\"+D1(),message:\\\"cherry-picked \\\"+n+\\\" into \\\"+mr,seq:xs++,parents:[Br==null?null:Br.id,n.id],branch:mr,type:bo.CHERRY_PICK,tag:r!=null?r:\\\"cherry-pick:\\\"+n.id};Br=a,cr[a.id]=a,rr[mr]=a.id,B.debug(rr),B.debug(\\\"in cherryPick\\\")}},fg=function(t){if(t=he.sanitizeText(t,$()),rr[t]===void 0){let e=new Error('Trying to checkout branch which is not yet created. (Help try using \\\"branch '+t+'\\\")');throw e.hash={text:\\\"checkout \\\"+t,token:\\\"checkout \\\"+t,line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['\\\"branch '+t+'\\\"']},e}else{mr=t;const e=rr[mr];Br=cr[e]}};function pg(t,e,r){const n=t.indexOf(e);n===-1?t.push(r):t.splice(n,1,r)}function gg(t){const e=t.reduce((i,s)=>i.seq>s.seq?i:s,t[0]);let r=\\\"\\\";t.forEach(function(i){i===e?r+=\\\"\\t*\\\":r+=\\\"\\t|\\\"});const n=[r,e.id,e.seq];for(let i in rr)rr[i]===e.id&&n.push(i);if(B.debug(n.join(\\\" \\\")),e.parents&&e.parents.length==2){const i=cr[e.parents[0]];pg(t,e,i),t.push(cr[e.parents[1]])}else{if(e.parents.length==0)return;{const i=cr[e.parents];pg(t,e,i)}}t=_E(t,i=>i.id),gg(t)}const SE=function(){B.debug(cr);const t=yg()[0];gg([t])},AE=function(){cr={},Br=null;let t=$().gitGraph.mainBranchName,e=$().gitGraph.mainBranchOrder;rr={},rr[t]=null,mo={},mo[t]={name:t,order:e},mr=t,xs=0,vn()},LE=function(){return Object.values(mo).map((e,r)=>e.order!==null?e:{...e,order:parseFloat(`0.${r}`,10)}).sort((e,r)=>e.order-r.order).map(({name:e})=>({name:e}))},DE=function(){return rr},ME=function(){return cr},yg=function(){const t=Object.keys(cr).map(function(e){return cr[e]});return t.forEach(function(e){B.debug(e.id)}),t.sort((e,r)=>e.seq-r.seq),t},NE=function(){return mr},BE=function(){return hg},IE=function(){return Br},bo={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},OE={parseDirective:bE,getConfig:()=>$().gitGraph,setDirection:xE,setOptions:vE,getOptions:kE,commit:wE,branch:TE,merge:EE,cherryPick:CE,checkout:fg,prettyPrint:SE,clear:AE,getBranchesAsObjArray:LE,getBranches:DE,getCommits:ME,getCommitsArray:yg,getCurrentBranch:NE,getDirection:BE,getHead:IE,setAccTitle:nn,getAccTitle:kn,getAccDescription:Tn,setAccDescription:wn,setDiagramTitle:hi,getDiagramTitle:di,commitType:bo};let _o={};const qr={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},vs=8;let Yr={},Ic={},Oc=[],Rc=0;const RE=()=>{Yr={},Ic={},_o={},Rc=0,Oc=[]},FE=t=>{const e=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"text\\\");let r=[];typeof t==\\\"string\\\"?r=t.split(/\\\\\\\\n|\\\\n|\u003Cbr\\\\s*\\\\/?>/gi):Array.isArray(t)?r=t:r=[];for(const n of r){const i=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"tspan\\\");i.setAttributeNS(\\\"http://www.w3.org/XML/1998/namespace\\\",\\\"xml:space\\\",\\\"preserve\\\"),i.setAttribute(\\\"dy\\\",\\\"1em\\\"),i.setAttribute(\\\"x\\\",\\\"0\\\"),i.setAttribute(\\\"class\\\",\\\"row\\\"),i.textContent=n.trim(),e.appendChild(i)}return e},mg=(t,e,r)=>{const n=yo().gitGraph,i=t.append(\\\"g\\\").attr(\\\"class\\\",\\\"commit-bullets\\\"),s=t.append(\\\"g\\\").attr(\\\"class\\\",\\\"commit-labels\\\");let a=0;Object.keys(e).sort((u,d)=>e[u].seq-e[d].seq).forEach(u=>{const d=e[u],f=Yr[d.branch].pos,p=a+10;if(r){let g,b=d.customType!==void 0&&d.customType!==\\\"\\\"?d.customType:d.type;switch(b){case qr.NORMAL:g=\\\"commit-normal\\\";break;case qr.REVERSE:g=\\\"commit-reverse\\\";break;case qr.HIGHLIGHT:g=\\\"commit-highlight\\\";break;case qr.MERGE:g=\\\"commit-merge\\\";break;case qr.CHERRY_PICK:g=\\\"commit-cherry-pick\\\";break;default:g=\\\"commit-normal\\\"}if(b===qr.HIGHLIGHT){const k=i.append(\\\"rect\\\");k.attr(\\\"x\\\",p-10),k.attr(\\\"y\\\",f-10),k.attr(\\\"height\\\",20),k.attr(\\\"width\\\",20),k.attr(\\\"class\\\",`commit ${d.id} commit-highlight${Yr[d.branch].index%vs} ${g}-outer`),i.append(\\\"rect\\\").attr(\\\"x\\\",p-6).attr(\\\"y\\\",f-6).attr(\\\"height\\\",12).attr(\\\"width\\\",12).attr(\\\"class\\\",`commit ${d.id} commit${Yr[d.branch].index%vs} ${g}-inner`)}else if(b===qr.CHERRY_PICK)i.append(\\\"circle\\\").attr(\\\"cx\\\",p).attr(\\\"cy\\\",f).attr(\\\"r\\\",10).attr(\\\"class\\\",`commit ${d.id} ${g}`),i.append(\\\"circle\\\").attr(\\\"cx\\\",p-3).attr(\\\"cy\\\",f+2).attr(\\\"r\\\",2.75).attr(\\\"fill\\\",\\\"#fff\\\").attr(\\\"class\\\",`commit ${d.id} ${g}`),i.append(\\\"circle\\\").attr(\\\"cx\\\",p+3).attr(\\\"cy\\\",f+2).attr(\\\"r\\\",2.75).attr(\\\"fill\\\",\\\"#fff\\\").attr(\\\"class\\\",`commit ${d.id} ${g}`),i.append(\\\"line\\\").attr(\\\"x1\\\",p+3).attr(\\\"y1\\\",f+1).attr(\\\"x2\\\",p).attr(\\\"y2\\\",f-5).attr(\\\"stroke\\\",\\\"#fff\\\").attr(\\\"class\\\",`commit ${d.id} ${g}`),i.append(\\\"line\\\").attr(\\\"x1\\\",p-3).attr(\\\"y1\\\",f+1).attr(\\\"x2\\\",p).attr(\\\"y2\\\",f-5).attr(\\\"stroke\\\",\\\"#fff\\\").attr(\\\"class\\\",`commit ${d.id} ${g}`);else{const k=i.append(\\\"circle\\\");if(k.attr(\\\"cx\\\",p),k.attr(\\\"cy\\\",f),k.attr(\\\"r\\\",d.type===qr.MERGE?9:10),k.attr(\\\"class\\\",`commit ${d.id} commit${Yr[d.branch].index%vs}`),b===qr.MERGE){const T=i.append(\\\"circle\\\");T.attr(\\\"cx\\\",p),T.attr(\\\"cy\\\",f),T.attr(\\\"r\\\",6),T.attr(\\\"class\\\",`commit ${g} ${d.id} commit${Yr[d.branch].index%vs}`)}b===qr.REVERSE&&i.append(\\\"path\\\").attr(\\\"d\\\",`M ${p-5},${f-5}L${p+5},${f+5}M${p-5},${f+5}L${p+5},${f-5}`).attr(\\\"class\\\",`commit ${g} ${d.id} commit${Yr[d.branch].index%vs}`)}}if(Ic[d.id]={x:a+10,y:f},r){if(d.type!==qr.CHERRY_PICK&&(d.customId&&d.type===qr.MERGE||d.type!==qr.MERGE)&&n.showCommitLabel){const k=s.append(\\\"g\\\"),T=k.insert(\\\"rect\\\").attr(\\\"class\\\",\\\"commit-label-bkg\\\"),L=k.append(\\\"text\\\").attr(\\\"x\\\",a).attr(\\\"y\\\",f+25).attr(\\\"class\\\",\\\"commit-label\\\").text(d.id);let E=L.node().getBBox();if(T.attr(\\\"x\\\",a+10-E.width/2-2).attr(\\\"y\\\",f+13.5).attr(\\\"width\\\",E.width+2*2).attr(\\\"height\\\",E.height+2*2),L.attr(\\\"x\\\",a+10-E.width/2),n.rotateCommitLabel){let I=-7.5-(E.width+10)/25*9.5,V=10+E.width/25*8.5;k.attr(\\\"transform\\\",\\\"translate(\\\"+I+\\\", \\\"+V+\\\") rotate(\\\"+-45+\\\", \\\"+a+\\\", \\\"+f+\\\")\\\")}}if(d.tag){const k=s.insert(\\\"polygon\\\"),T=s.append(\\\"circle\\\"),L=s.append(\\\"text\\\").attr(\\\"y\\\",f-16).attr(\\\"class\\\",\\\"tag-label\\\").text(d.tag);let E=L.node().getBBox();L.attr(\\\"x\\\",a+10-E.width/2);const I=E.height/2,V=f-19.2;k.attr(\\\"class\\\",\\\"tag-label-bkg\\\").attr(\\\"points\\\",`\\n ${a-E.width/2-4/2},${V+2}\\n ${a-E.width/2-4/2},${V-2}\\n ${a+10-E.width/2-4},${V-I-2}\\n ${a+10+E.width/2+4},${V-I-2}\\n ${a+10+E.width/2+4},${V+I+2}\\n ${a+10-E.width/2-4},${V+I+2}`),T.attr(\\\"cx\\\",a-E.width/2+4/2).attr(\\\"cy\\\",V).attr(\\\"r\\\",1.5).attr(\\\"class\\\",\\\"tag-hole\\\")}}a+=50,a>Rc&&(Rc=a)})},PE=(t,e,r)=>Object.keys(r).filter(s=>r[s].branch===e.branch&&r[s].seq>t.seq&&r[s].seq\u003Ce.seq).length>0,M1=(t,e,r=0)=>{const n=t+Math.abs(t-e)/2;if(r>5)return n;if(Oc.every(a=>Math.abs(a-n)>=10))return Oc.push(n),n;const s=Math.abs(t-e);return M1(t,e-s/5,r+1)},YE=(t,e,r,n)=>{const i=Ic[e.id],s=Ic[r.id],a=PE(e,r,n);let o=\\\"\\\",l=\\\"\\\",u=0,d=0,f=Yr[r.branch].index,p;if(a){o=\\\"A 10 10, 0, 0, 0,\\\",l=\\\"A 10 10, 0, 0, 1,\\\",u=10,d=10,f=Yr[r.branch].index;const g=i.y\u003Cs.y?M1(i.y,s.y):M1(s.y,i.y);i.y\u003Cs.y?p=`M ${i.x} ${i.y} L ${i.x} ${g-u} ${o} ${i.x+d} ${g} L ${s.x-u} ${g} ${l} ${s.x} ${g+d} L ${s.x} ${s.y}`:p=`M ${i.x} ${i.y} L ${i.x} ${g+u} ${l} ${i.x+d} ${g} L ${s.x-u} ${g} ${o} ${s.x} ${g-d} L ${s.x} ${s.y}`}else i.y\u003Cs.y&&(o=\\\"A 20 20, 0, 0, 0,\\\",u=20,d=20,f=Yr[r.branch].index,p=`M ${i.x} ${i.y} L ${i.x} ${s.y-u} ${o} ${i.x+d} ${s.y} L ${s.x} ${s.y}`),i.y>s.y&&(o=\\\"A 20 20, 0, 0, 0,\\\",u=20,d=20,f=Yr[e.branch].index,p=`M ${i.x} ${i.y} L ${s.x-u} ${i.y} ${o} ${s.x} ${i.y-d} L ${s.x} ${s.y}`),i.y===s.y&&(f=Yr[e.branch].index,p=`M ${i.x} ${i.y} L ${i.x} ${s.y-u} ${o} ${i.x+d} ${s.y} L ${s.x} ${s.y}`);t.append(\\\"path\\\").attr(\\\"d\\\",p).attr(\\\"class\\\",\\\"arrow arrow\\\"+f%vs)},VE=(t,e)=>{const r=t.append(\\\"g\\\").attr(\\\"class\\\",\\\"commit-arrows\\\");Object.keys(e).forEach(n=>{const i=e[n];i.parents&&i.parents.length>0&&i.parents.forEach(s=>{YE(r,e[s],i,e)})})},UE=(t,e)=>{const r=yo().gitGraph,n=t.append(\\\"g\\\");e.forEach((i,s)=>{const a=s%vs,o=Yr[i.name].pos,l=n.append(\\\"line\\\");l.attr(\\\"x1\\\",0),l.attr(\\\"y1\\\",o),l.attr(\\\"x2\\\",Rc),l.attr(\\\"y2\\\",o),l.attr(\\\"class\\\",\\\"branch branch\\\"+a),Oc.push(o);let u=i.name;const d=FE(u),f=n.insert(\\\"rect\\\"),g=n.insert(\\\"g\\\").attr(\\\"class\\\",\\\"branchLabel\\\").insert(\\\"g\\\").attr(\\\"class\\\",\\\"label branch-label\\\"+a);g.node().appendChild(d);let b=d.getBBox();f.attr(\\\"class\\\",\\\"branchLabelBkg label\\\"+a).attr(\\\"rx\\\",4).attr(\\\"ry\\\",4).attr(\\\"x\\\",-b.width-4-(r.rotateCommitLabel===!0?30:0)).attr(\\\"y\\\",-b.height/2+8).attr(\\\"width\\\",b.width+18).attr(\\\"height\\\",b.height+4),g.attr(\\\"transform\\\",\\\"translate(\\\"+(-b.width-14-(r.rotateCommitLabel===!0?30:0))+\\\", \\\"+(o-b.height/2-1)+\\\")\\\"),f.attr(\\\"transform\\\",\\\"translate(\\\"+-19+\\\", \\\"+(o-b.height/2)+\\\")\\\")})},zE={draw:function(t,e,r,n){var u;RE();const i=yo(),s=i.gitGraph;B.debug(\\\"in gitgraph renderer\\\",t+`\\n`,\\\"id:\\\",e,r),_o=n.db.getCommits();const a=n.db.getBranchesAsObjArray();let o=0;a.forEach((d,f)=>{Yr[d.name]={pos:o,index:f},o+=50+(s.rotateCommitLabel?40:0)});const l=St(`[id=\\\"${e}\\\"]`);mg(l,_o,!1),s.showBranches&&UE(l,a),VE(l,_o),mg(l,_o,!0),ge.insertTitle(l,\\\"gitTitleText\\\",s.titleTopMargin,n.db.getDiagramTitle()),cg(void 0,l,s.diagramPadding,(u=s.useMaxWidth)!=null?u:i.useMaxWidth)}},WE=t=>`\\n .commit-id,\\n .commit-msg,\\n .branch-label {\\n fill: lightgrey;\\n color: lightgrey;\\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\\n font-family: var(--mermaid-font-family);\\n }\\n ${[0,1,2,3,4,5,6,7].map(e=>`\\n .branch-label${e} { fill: ${t[\\\"gitBranchLabel\\\"+e]}; }\\n .commit${e} { stroke: ${t[\\\"git\\\"+e]}; fill: ${t[\\\"git\\\"+e]}; }\\n .commit-highlight${e} { stroke: ${t[\\\"gitInv\\\"+e]}; fill: ${t[\\\"gitInv\\\"+e]}; }\\n .label${e} { fill: ${t[\\\"git\\\"+e]}; }\\n .arrow${e} { stroke: ${t[\\\"git\\\"+e]}; }\\n `).join(`\\n`)}\\n\\n .branch {\\n stroke-width: 1;\\n stroke: ${t.lineColor};\\n stroke-dasharray: 2;\\n }\\n .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}\\n .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }\\n .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}\\n .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }\\n .tag-hole { fill: ${t.textColor}; }\\n\\n .commit-merge {\\n stroke: ${t.primaryColor};\\n fill: ${t.primaryColor};\\n }\\n .commit-reverse {\\n stroke: ${t.primaryColor};\\n fill: ${t.primaryColor};\\n stroke-width: 3;\\n }\\n .commit-highlight-outer {\\n }\\n .commit-highlight-inner {\\n stroke: ${t.primaryColor};\\n fill: ${t.primaryColor};\\n }\\n\\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\\n .gitTitleText {\\n text-anchor: middle;\\n font-size: 18px;\\n fill: ${t.textColor};\\n }\\n }\\n`;var Fc=function(){var t=function(Ft,xt,ft,Lt){for(ft=ft||{},Lt=Ft.length;Lt--;ft[Ft[Lt]]=xt);return ft},e=[1,6],r=[1,7],n=[1,8],i=[1,9],s=[1,16],a=[1,11],o=[1,12],l=[1,13],u=[1,14],d=[1,15],f=[1,27],p=[1,33],g=[1,34],b=[1,35],k=[1,36],T=[1,37],L=[1,72],E=[1,73],I=[1,74],V=[1,75],H=[1,76],G=[1,77],Y=[1,78],W=[1,38],N=[1,39],D=[1,40],w=[1,41],v=[1,42],M=[1,43],m=[1,44],Q=[1,45],x=[1,46],ct=[1,47],Dt=[1,48],kt=[1,49],j=[1,50],ot=[1,51],rt=[1,52],nt=[1,53],ut=[1,54],_t=[1,55],K=[1,56],Ot=[1,57],P=[1,59],z=[1,60],X=[1,61],F=[1,62],O=[1,63],A=[1,64],J=[1,65],C=[1,66],ht=[1,67],U=[1,68],Yt=[1,69],et=[24,52],Mt=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],Tt=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],gt=[1,94],Et=[1,95],wt=[1,96],pt=[1,97],st=[15,24,52],le=[7,8,9,10,18,22,25,26,27,28],Xt=[15,24,43,52],jt=[15,24,43,52,86,87,89,90],Kt=[15,43],Gt=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],Ee={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,\\\":\\\":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:\\\"error\\\",7:\\\"direction_tb\\\",8:\\\"direction_bt\\\",9:\\\"direction_rl\\\",10:\\\"direction_lr\\\",15:\\\"NEWLINE\\\",16:\\\":\\\",18:\\\"open_directive\\\",19:\\\"type_directive\\\",20:\\\"arg_directive\\\",21:\\\"close_directive\\\",22:\\\"C4_CONTEXT\\\",24:\\\"EOF\\\",25:\\\"C4_CONTAINER\\\",26:\\\"C4_COMPONENT\\\",27:\\\"C4_DYNAMIC\\\",28:\\\"C4_DEPLOYMENT\\\",32:\\\"title\\\",33:\\\"accDescription\\\",34:\\\"acc_title\\\",35:\\\"acc_title_value\\\",36:\\\"acc_descr\\\",37:\\\"acc_descr_value\\\",38:\\\"acc_descr_multiline_value\\\",43:\\\"LBRACE\\\",44:\\\"ENTERPRISE_BOUNDARY\\\",46:\\\"SYSTEM_BOUNDARY\\\",47:\\\"BOUNDARY\\\",48:\\\"CONTAINER_BOUNDARY\\\",49:\\\"NODE\\\",50:\\\"NODE_L\\\",51:\\\"NODE_R\\\",52:\\\"RBRACE\\\",54:\\\"PERSON\\\",55:\\\"PERSON_EXT\\\",56:\\\"SYSTEM\\\",57:\\\"SYSTEM_DB\\\",58:\\\"SYSTEM_QUEUE\\\",59:\\\"SYSTEM_EXT\\\",60:\\\"SYSTEM_EXT_DB\\\",61:\\\"SYSTEM_EXT_QUEUE\\\",62:\\\"CONTAINER\\\",63:\\\"CONTAINER_DB\\\",64:\\\"CONTAINER_QUEUE\\\",65:\\\"CONTAINER_EXT\\\",66:\\\"CONTAINER_EXT_DB\\\",67:\\\"CONTAINER_EXT_QUEUE\\\",68:\\\"COMPONENT\\\",69:\\\"COMPONENT_DB\\\",70:\\\"COMPONENT_QUEUE\\\",71:\\\"COMPONENT_EXT\\\",72:\\\"COMPONENT_EXT_DB\\\",73:\\\"COMPONENT_EXT_QUEUE\\\",74:\\\"REL\\\",75:\\\"BIREL\\\",76:\\\"REL_U\\\",77:\\\"REL_D\\\",78:\\\"REL_L\\\",79:\\\"REL_R\\\",80:\\\"REL_B\\\",81:\\\"REL_INDEX\\\",82:\\\"UPDATE_EL_STYLE\\\",83:\\\"UPDATE_REL_STYLE\\\",84:\\\"UPDATE_LAYOUT_CONFIG\\\",86:\\\"STR\\\",87:\\\"STR_KEY\\\",88:\\\"STR_VALUE\\\",89:\\\"ATTRIBUTE\\\",90:\\\"ATTRIBUTE_EMPTY\\\"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(xt,ft,Lt,bt,Ut,at,ie){var dt=at.length-1;switch(Ut){case 4:bt.setDirection(\\\"TB\\\");break;case 5:bt.setDirection(\\\"BT\\\");break;case 6:bt.setDirection(\\\"RL\\\");break;case 7:bt.setDirection(\\\"LR\\\");break;case 11:bt.parseDirective(\\\"%%{\\\",\\\"open_directive\\\");break;case 12:break;case 13:at[dt]=at[dt].trim().replace(/'/g,'\\\"'),bt.parseDirective(at[dt],\\\"arg_directive\\\");break;case 14:bt.parseDirective(\\\"}%%\\\",\\\"close_directive\\\",\\\"c4Context\\\");break;case 15:case 16:case 17:case 18:case 19:bt.setC4Type(at[dt-3]);break;case 26:bt.setTitle(at[dt].substring(6)),this.$=at[dt].substring(6);break;case 27:bt.setAccDescription(at[dt].substring(15)),this.$=at[dt].substring(15);break;case 28:this.$=at[dt].trim(),bt.setTitle(this.$);break;case 29:case 30:this.$=at[dt].trim(),bt.setAccDescription(this.$);break;case 35:case 36:at[dt].splice(2,0,\\\"ENTERPRISE\\\"),bt.addPersonOrSystemBoundary(...at[dt]),this.$=at[dt];break;case 37:bt.addPersonOrSystemBoundary(...at[dt]),this.$=at[dt];break;case 38:at[dt].splice(2,0,\\\"CONTAINER\\\"),bt.addContainerBoundary(...at[dt]),this.$=at[dt];break;case 39:bt.addDeploymentNode(\\\"node\\\",...at[dt]),this.$=at[dt];break;case 40:bt.addDeploymentNode(\\\"nodeL\\\",...at[dt]),this.$=at[dt];break;case 41:bt.addDeploymentNode(\\\"nodeR\\\",...at[dt]),this.$=at[dt];break;case 42:bt.popBoundaryParseStack();break;case 46:bt.addPersonOrSystem(\\\"person\\\",...at[dt]),this.$=at[dt];break;case 47:bt.addPersonOrSystem(\\\"external_person\\\",...at[dt]),this.$=at[dt];break;case 48:bt.addPersonOrSystem(\\\"system\\\",...at[dt]),this.$=at[dt];break;case 49:bt.addPersonOrSystem(\\\"system_db\\\",...at[dt]),this.$=at[dt];break;case 50:bt.addPersonOrSystem(\\\"system_queue\\\",...at[dt]),this.$=at[dt];break;case 51:bt.addPersonOrSystem(\\\"external_system\\\",...at[dt]),this.$=at[dt];break;case 52:bt.addPersonOrSystem(\\\"external_system_db\\\",...at[dt]),this.$=at[dt];break;case 53:bt.addPersonOrSystem(\\\"external_system_queue\\\",...at[dt]),this.$=at[dt];break;case 54:bt.addContainer(\\\"container\\\",...at[dt]),this.$=at[dt];break;case 55:bt.addContainer(\\\"container_db\\\",...at[dt]),this.$=at[dt];break;case 56:bt.addContainer(\\\"container_queue\\\",...at[dt]),this.$=at[dt];break;case 57:bt.addContainer(\\\"external_container\\\",...at[dt]),this.$=at[dt];break;case 58:bt.addContainer(\\\"external_container_db\\\",...at[dt]),this.$=at[dt];break;case 59:bt.addContainer(\\\"external_container_queue\\\",...at[dt]),this.$=at[dt];break;case 60:bt.addComponent(\\\"component\\\",...at[dt]),this.$=at[dt];break;case 61:bt.addComponent(\\\"component_db\\\",...at[dt]),this.$=at[dt];break;case 62:bt.addComponent(\\\"component_queue\\\",...at[dt]),this.$=at[dt];break;case 63:bt.addComponent(\\\"external_component\\\",...at[dt]),this.$=at[dt];break;case 64:bt.addComponent(\\\"external_component_db\\\",...at[dt]),this.$=at[dt];break;case 65:bt.addComponent(\\\"external_component_queue\\\",...at[dt]),this.$=at[dt];break;case 67:bt.addRel(\\\"rel\\\",...at[dt]),this.$=at[dt];break;case 68:bt.addRel(\\\"birel\\\",...at[dt]),this.$=at[dt];break;case 69:bt.addRel(\\\"rel_u\\\",...at[dt]),this.$=at[dt];break;case 70:bt.addRel(\\\"rel_d\\\",...at[dt]),this.$=at[dt];break;case 71:bt.addRel(\\\"rel_l\\\",...at[dt]),this.$=at[dt];break;case 72:bt.addRel(\\\"rel_r\\\",...at[dt]),this.$=at[dt];break;case 73:bt.addRel(\\\"rel_b\\\",...at[dt]),this.$=at[dt];break;case 74:at[dt].splice(0,1),bt.addRel(\\\"rel\\\",...at[dt]),this.$=at[dt];break;case 75:bt.updateElStyle(\\\"update_el_style\\\",...at[dt]),this.$=at[dt];break;case 76:bt.updateRelStyle(\\\"update_rel_style\\\",...at[dt]),this.$=at[dt];break;case 77:bt.updateLayoutConfig(\\\"update_layout_config\\\",...at[dt]),this.$=at[dt];break;case 78:this.$=[at[dt]];break;case 79:at[dt].unshift(at[dt-1]),this.$=at[dt];break;case 80:case 82:this.$=at[dt].trim();break;case 81:let ee={};ee[at[dt-1].trim()]=at[dt].trim(),this.$=ee;break;case 83:this.$=\\\"\\\";break}},table:[{3:1,4:2,5:3,6:4,7:e,8:r,9:n,10:i,11:5,12:10,18:s,22:a,25:o,26:l,27:u,28:d},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:e,8:r,9:n,10:i,11:5,12:10,18:s,22:a,25:o,26:l,27:u,28:d},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:f},t([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:p,33:g,34:b,36:k,38:T,39:58,40:70,42:71,44:L,46:E,47:I,48:V,49:H,50:G,51:Y,53:32,54:W,55:N,56:D,57:w,58:v,59:M,60:m,61:Q,62:x,63:ct,64:Dt,65:kt,66:j,67:ot,68:rt,69:nt,70:ut,71:_t,72:K,73:Ot,74:P,75:z,76:X,77:F,78:O,79:A,80:J,81:C,82:ht,83:U,84:Yt},{23:79,29:29,30:30,31:31,32:p,33:g,34:b,36:k,38:T,39:58,40:70,42:71,44:L,46:E,47:I,48:V,49:H,50:G,51:Y,53:32,54:W,55:N,56:D,57:w,58:v,59:M,60:m,61:Q,62:x,63:ct,64:Dt,65:kt,66:j,67:ot,68:rt,69:nt,70:ut,71:_t,72:K,73:Ot,74:P,75:z,76:X,77:F,78:O,79:A,80:J,81:C,82:ht,83:U,84:Yt},{23:80,29:29,30:30,31:31,32:p,33:g,34:b,36:k,38:T,39:58,40:70,42:71,44:L,46:E,47:I,48:V,49:H,50:G,51:Y,53:32,54:W,55:N,56:D,57:w,58:v,59:M,60:m,61:Q,62:x,63:ct,64:Dt,65:kt,66:j,67:ot,68:rt,69:nt,70:ut,71:_t,72:K,73:Ot,74:P,75:z,76:X,77:F,78:O,79:A,80:J,81:C,82:ht,83:U,84:Yt},{23:81,29:29,30:30,31:31,32:p,33:g,34:b,36:k,38:T,39:58,40:70,42:71,44:L,46:E,47:I,48:V,49:H,50:G,51:Y,53:32,54:W,55:N,56:D,57:w,58:v,59:M,60:m,61:Q,62:x,63:ct,64:Dt,65:kt,66:j,67:ot,68:rt,69:nt,70:ut,71:_t,72:K,73:Ot,74:P,75:z,76:X,77:F,78:O,79:A,80:J,81:C,82:ht,83:U,84:Yt},{23:82,29:29,30:30,31:31,32:p,33:g,34:b,36:k,38:T,39:58,40:70,42:71,44:L,46:E,47:I,48:V,49:H,50:G,51:Y,53:32,54:W,55:N,56:D,57:w,58:v,59:M,60:m,61:Q,62:x,63:ct,64:Dt,65:kt,66:j,67:ot,68:rt,69:nt,70:ut,71:_t,72:K,73:Ot,74:P,75:z,76:X,77:F,78:O,79:A,80:J,81:C,82:ht,83:U,84:Yt},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},t(et,[2,20],{53:32,39:58,40:70,42:71,30:87,44:L,46:E,47:I,48:V,49:H,50:G,51:Y,54:W,55:N,56:D,57:w,58:v,59:M,60:m,61:Q,62:x,63:ct,64:Dt,65:kt,66:j,67:ot,68:rt,69:nt,70:ut,71:_t,72:K,73:Ot,74:P,75:z,76:X,77:F,78:O,79:A,80:J,81:C,82:ht,83:U,84:Yt}),t(et,[2,21]),t(Mt,[2,23],{15:[1,88]}),t(et,[2,43],{15:[1,89]}),t(Tt,[2,26]),t(Tt,[2,27]),{35:[1,90]},{37:[1,91]},t(Tt,[2,30]),{45:92,85:93,86:gt,87:Et,89:wt,90:pt},{45:98,85:93,86:gt,87:Et,89:wt,90:pt},{45:99,85:93,86:gt,87:Et,89:wt,90:pt},{45:100,85:93,86:gt,87:Et,89:wt,90:pt},{45:101,85:93,86:gt,87:Et,89:wt,90:pt},{45:102,85:93,86:gt,87:Et,89:wt,90:pt},{45:103,85:93,86:gt,87:Et,89:wt,90:pt},{45:104,85:93,86:gt,87:Et,89:wt,90:pt},{45:105,85:93,86:gt,87:Et,89:wt,90:pt},{45:106,85:93,86:gt,87:Et,89:wt,90:pt},{45:107,85:93,86:gt,87:Et,89:wt,90:pt},{45:108,85:93,86:gt,87:Et,89:wt,90:pt},{45:109,85:93,86:gt,87:Et,89:wt,90:pt},{45:110,85:93,86:gt,87:Et,89:wt,90:pt},{45:111,85:93,86:gt,87:Et,89:wt,90:pt},{45:112,85:93,86:gt,87:Et,89:wt,90:pt},{45:113,85:93,86:gt,87:Et,89:wt,90:pt},{45:114,85:93,86:gt,87:Et,89:wt,90:pt},{45:115,85:93,86:gt,87:Et,89:wt,90:pt},{45:116,85:93,86:gt,87:Et,89:wt,90:pt},t(st,[2,66]),{45:117,85:93,86:gt,87:Et,89:wt,90:pt},{45:118,85:93,86:gt,87:Et,89:wt,90:pt},{45:119,85:93,86:gt,87:Et,89:wt,90:pt},{45:120,85:93,86:gt,87:Et,89:wt,90:pt},{45:121,85:93,86:gt,87:Et,89:wt,90:pt},{45:122,85:93,86:gt,87:Et,89:wt,90:pt},{45:123,85:93,86:gt,87:Et,89:wt,90:pt},{45:124,85:93,86:gt,87:Et,89:wt,90:pt},{45:125,85:93,86:gt,87:Et,89:wt,90:pt},{45:126,85:93,86:gt,87:Et,89:wt,90:pt},{45:127,85:93,86:gt,87:Et,89:wt,90:pt},{30:128,39:58,40:70,42:71,44:L,46:E,47:I,48:V,49:H,50:G,51:Y,53:32,54:W,55:N,56:D,57:w,58:v,59:M,60:m,61:Q,62:x,63:ct,64:Dt,65:kt,66:j,67:ot,68:rt,69:nt,70:ut,71:_t,72:K,73:Ot,74:P,75:z,76:X,77:F,78:O,79:A,80:J,81:C,82:ht,83:U,84:Yt},{15:[1,130],43:[1,129]},{45:131,85:93,86:gt,87:Et,89:wt,90:pt},{45:132,85:93,86:gt,87:Et,89:wt,90:pt},{45:133,85:93,86:gt,87:Et,89:wt,90:pt},{45:134,85:93,86:gt,87:Et,89:wt,90:pt},{45:135,85:93,86:gt,87:Et,89:wt,90:pt},{45:136,85:93,86:gt,87:Et,89:wt,90:pt},{45:137,85:93,86:gt,87:Et,89:wt,90:pt},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},t(le,[2,9]),{14:142,21:f},{21:[2,13]},{1:[2,15]},t(et,[2,22]),t(Mt,[2,24],{31:31,29:143,32:p,33:g,34:b,36:k,38:T}),t(et,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:p,33:g,34:b,36:k,38:T,44:L,46:E,47:I,48:V,49:H,50:G,51:Y,54:W,55:N,56:D,57:w,58:v,59:M,60:m,61:Q,62:x,63:ct,64:Dt,65:kt,66:j,67:ot,68:rt,69:nt,70:ut,71:_t,72:K,73:Ot,74:P,75:z,76:X,77:F,78:O,79:A,80:J,81:C,82:ht,83:U,84:Yt}),t(Tt,[2,28]),t(Tt,[2,29]),t(st,[2,46]),t(Xt,[2,78],{85:93,45:145,86:gt,87:Et,89:wt,90:pt}),t(jt,[2,80]),{88:[1,146]},t(jt,[2,82]),t(jt,[2,83]),t(st,[2,47]),t(st,[2,48]),t(st,[2,49]),t(st,[2,50]),t(st,[2,51]),t(st,[2,52]),t(st,[2,53]),t(st,[2,54]),t(st,[2,55]),t(st,[2,56]),t(st,[2,57]),t(st,[2,58]),t(st,[2,59]),t(st,[2,60]),t(st,[2,61]),t(st,[2,62]),t(st,[2,63]),t(st,[2,64]),t(st,[2,65]),t(st,[2,67]),t(st,[2,68]),t(st,[2,69]),t(st,[2,70]),t(st,[2,71]),t(st,[2,72]),t(st,[2,73]),t(st,[2,74]),t(st,[2,75]),t(st,[2,76]),t(st,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},t(Kt,[2,35]),t(Kt,[2,36]),t(Kt,[2,37]),t(Kt,[2,38]),t(Kt,[2,39]),t(Kt,[2,40]),t(Kt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},t(Mt,[2,25]),t(et,[2,45]),t(Xt,[2,79]),t(jt,[2,81]),t(st,[2,31]),t(st,[2,42]),t(Gt,[2,32]),t(Gt,[2,33],{15:[1,152]}),t(le,[2,10]),t(Gt,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(xt,ft){if(ft.recoverable)this.trace(xt);else{var Lt=new Error(xt);throw Lt.hash=ft,Lt}},parse:function(xt){var ft=this,Lt=[0],bt=[],Ut=[null],at=[],ie=this.table,dt=\\\"\\\",ee=0,fe=0,be=2,_e=1,ke=at.slice.call(arguments,1),$t=Object.create(this.lexer),se={yy:{}};for(var ye in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ye)&&(se.yy[ye]=this.yy[ye]);$t.setInput(xt,se.yy),se.yy.lexer=$t,se.yy.parser=this,typeof $t.yylloc>\\\"u\\\"&&($t.yylloc={});var Jt=$t.yylloc;at.push(Jt);var Nn=$t.options&&$t.options.ranges;typeof se.yy.parseError==\\\"function\\\"?this.parseError=se.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Xr(){var Z;return Z=bt.pop()||$t.lex()||_e,typeof Z!=\\\"number\\\"&&(Z instanceof Array&&(bt=Z,Z=bt.pop()),Z=ft.symbols_[Z]||Z),Z}for(var De,ae,Be,Re,Pe={},Ye,Ie,$e,ar;;){if(ae=Lt[Lt.length-1],this.defaultActions[ae]?Be=this.defaultActions[ae]:((De===null||typeof De>\\\"u\\\")&&(De=Xr()),Be=ie[ae]&&ie[ae][De]),typeof Be>\\\"u\\\"||!Be.length||!Be[0]){var zt=\\\"\\\";ar=[];for(Ye in ie[ae])this.terminals_[Ye]&&Ye>be&&ar.push(\\\"'\\\"+this.terminals_[Ye]+\\\"'\\\");$t.showPosition?zt=\\\"Parse error on line \\\"+(ee+1)+`:\\n`+$t.showPosition()+`\\nExpecting `+ar.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[De]||De)+\\\"'\\\":zt=\\\"Parse error on line \\\"+(ee+1)+\\\": Unexpected \\\"+(De==_e?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[De]||De)+\\\"'\\\"),this.parseError(zt,{text:$t.match,token:this.terminals_[De]||De,line:$t.yylineno,loc:Jt,expected:ar})}if(Be[0]instanceof Array&&Be.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+ae+\\\", token: \\\"+De);switch(Be[0]){case 1:Lt.push(De),Ut.push($t.yytext),at.push($t.yylloc),Lt.push(Be[1]),De=null,fe=$t.yyleng,dt=$t.yytext,ee=$t.yylineno,Jt=$t.yylloc;break;case 2:if(Ie=this.productions_[Be[1]][1],Pe.$=Ut[Ut.length-Ie],Pe._$={first_line:at[at.length-(Ie||1)].first_line,last_line:at[at.length-1].last_line,first_column:at[at.length-(Ie||1)].first_column,last_column:at[at.length-1].last_column},Nn&&(Pe._$.range=[at[at.length-(Ie||1)].range[0],at[at.length-1].range[1]]),Re=this.performAction.apply(Pe,[dt,fe,ee,se.yy,Be[1],Ut,at].concat(ke)),typeof Re\u003C\\\"u\\\")return Re;Ie&&(Lt=Lt.slice(0,-1*Ie*2),Ut=Ut.slice(0,-1*Ie),at=at.slice(0,-1*Ie)),Lt.push(this.productions_[Be[1]][0]),Ut.push(Pe.$),at.push(Pe._$),$e=ie[Lt[Lt.length-2]][Lt[Lt.length-1]],Lt.push($e);break;case 3:return!0}}return!0}},Ht=function(){var Ft={EOF:1,parseError:function(ft,Lt){if(this.yy.parser)this.yy.parser.parseError(ft,Lt);else throw new Error(ft)},setInput:function(xt,ft){return this.yy=ft||this.yy||{},this._input=xt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var xt=this._input[0];this.yytext+=xt,this.yyleng++,this.offset++,this.match+=xt,this.matched+=xt;var ft=xt.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return ft?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),xt},unput:function(xt){var ft=xt.length,Lt=xt.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=xt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ft),this.offset-=ft;var bt=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),Lt.length-1&&(this.yylineno-=Lt.length-1);var Ut=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:Lt?(Lt.length===bt.length?this.yylloc.first_column:0)+bt[bt.length-Lt.length].length-Lt[0].length:this.yylloc.first_column-ft},this.options.ranges&&(this.yylloc.range=[Ut[0],Ut[0]+this.yyleng-ft]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(xt){this.unput(this.match.slice(xt))},pastInput:function(){var xt=this.matched.substr(0,this.matched.length-this.match.length);return(xt.length>20?\\\"...\\\":\\\"\\\")+xt.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var xt=this.match;return xt.length\u003C20&&(xt+=this._input.substr(0,20-xt.length)),(xt.substr(0,20)+(xt.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var xt=this.pastInput(),ft=new Array(xt.length+1).join(\\\"-\\\");return xt+this.upcomingInput()+`\\n`+ft+\\\"^\\\"},test_match:function(xt,ft){var Lt,bt,Ut;if(this.options.backtrack_lexer&&(Ut={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ut.yylloc.range=this.yylloc.range.slice(0))),bt=xt[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),bt&&(this.yylineno+=bt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:bt?bt[bt.length-1].length-bt[bt.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+xt[0].length},this.yytext+=xt[0],this.match+=xt[0],this.matches=xt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(xt[0].length),this.matched+=xt[0],Lt=this.performAction.call(this,this.yy,this,ft,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Lt)return Lt;if(this._backtrack){for(var at in Ut)this[at]=Ut[at];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var xt,ft,Lt,bt;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var Ut=this._currentRules(),at=0;at\u003CUt.length;at++)if(Lt=this._input.match(this.rules[Ut[at]]),Lt&&(!ft||Lt[0].length>ft[0].length)){if(ft=Lt,bt=at,this.options.backtrack_lexer){if(xt=this.test_match(Lt,Ut[at]),xt!==!1)return xt;if(this._backtrack){ft=!1;continue}else return!1}else if(!this.options.flex)break}return ft?(xt=this.test_match(ft,Ut[bt]),xt!==!1?xt:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var ft=this.next();return ft||this.lex()},begin:function(ft){this.conditionStack.push(ft)},popState:function(){var ft=this.conditionStack.length-1;return ft>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(ft){return ft=this.conditionStack.length-1-Math.abs(ft||0),ft>=0?this.conditionStack[ft]:\\\"INITIAL\\\"},pushState:function(ft){this.begin(ft)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(ft,Lt,bt,Ut){switch(bt){case 0:return this.begin(\\\"open_directive\\\"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin(\\\"type_directive\\\"),19;case 6:return this.popState(),this.begin(\\\"arg_directive\\\"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin(\\\"acc_title\\\"),34;case 12:return this.popState(),\\\"acc_title_value\\\";case 13:return this.begin(\\\"acc_descr\\\"),36;case 14:return this.popState(),\\\"acc_descr_value\\\";case 15:this.begin(\\\"acc_descr_multiline\\\");break;case 16:this.popState();break;case 17:return\\\"acc_descr_multiline_value\\\";case 18:break;case 19:c;break;case 20:return 15;case 21:break;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin(\\\"person_ext\\\"),55;case 28:return this.begin(\\\"person\\\"),54;case 29:return this.begin(\\\"system_ext_queue\\\"),61;case 30:return this.begin(\\\"system_ext_db\\\"),60;case 31:return this.begin(\\\"system_ext\\\"),59;case 32:return this.begin(\\\"system_queue\\\"),58;case 33:return this.begin(\\\"system_db\\\"),57;case 34:return this.begin(\\\"system\\\"),56;case 35:return this.begin(\\\"boundary\\\"),47;case 36:return this.begin(\\\"enterprise_boundary\\\"),44;case 37:return this.begin(\\\"system_boundary\\\"),46;case 38:return this.begin(\\\"container_ext_queue\\\"),67;case 39:return this.begin(\\\"container_ext_db\\\"),66;case 40:return this.begin(\\\"container_ext\\\"),65;case 41:return this.begin(\\\"container_queue\\\"),64;case 42:return this.begin(\\\"container_db\\\"),63;case 43:return this.begin(\\\"container\\\"),62;case 44:return this.begin(\\\"container_boundary\\\"),48;case 45:return this.begin(\\\"component_ext_queue\\\"),73;case 46:return this.begin(\\\"component_ext_db\\\"),72;case 47:return this.begin(\\\"component_ext\\\"),71;case 48:return this.begin(\\\"component_queue\\\"),70;case 49:return this.begin(\\\"component_db\\\"),69;case 50:return this.begin(\\\"component\\\"),68;case 51:return this.begin(\\\"node\\\"),49;case 52:return this.begin(\\\"node\\\"),49;case 53:return this.begin(\\\"node_l\\\"),50;case 54:return this.begin(\\\"node_r\\\"),51;case 55:return this.begin(\\\"rel\\\"),74;case 56:return this.begin(\\\"birel\\\"),75;case 57:return this.begin(\\\"rel_u\\\"),76;case 58:return this.begin(\\\"rel_u\\\"),76;case 59:return this.begin(\\\"rel_d\\\"),77;case 60:return this.begin(\\\"rel_d\\\"),77;case 61:return this.begin(\\\"rel_l\\\"),78;case 62:return this.begin(\\\"rel_l\\\"),78;case 63:return this.begin(\\\"rel_r\\\"),79;case 64:return this.begin(\\\"rel_r\\\"),79;case 65:return this.begin(\\\"rel_b\\\"),80;case 66:return this.begin(\\\"rel_index\\\"),81;case 67:return this.begin(\\\"update_el_style\\\"),82;case 68:return this.begin(\\\"update_rel_style\\\"),83;case 69:return this.begin(\\\"update_layout_config\\\"),84;case 70:return\\\"EOF_IN_STRUCT\\\";case 71:return this.begin(\\\"attribute\\\"),\\\"ATTRIBUTE_EMPTY\\\";case 72:this.begin(\\\"attribute\\\");break;case 73:this.popState(),this.popState();break;case 74:return 90;case 75:break;case 76:return 90;case 77:this.begin(\\\"string\\\");break;case 78:this.popState();break;case 79:return\\\"STR\\\";case 80:this.begin(\\\"string_kv\\\");break;case 81:return this.begin(\\\"string_kv_key\\\"),\\\"STR_KEY\\\";case 82:this.popState(),this.begin(\\\"string_kv_value\\\");break;case 83:return\\\"STR_VALUE\\\";case 84:this.popState(),this.popState();break;case 85:return\\\"STR\\\";case 86:return\\\"LBRACE\\\";case 87:return\\\"RBRACE\\\";case 88:return\\\"SPACE\\\";case 89:return\\\"EOL\\\";case 90:return 24}},rules:[/^(?:%%\\\\{)/,/^(?:.*direction\\\\s+TB[^\\\\n]*)/,/^(?:.*direction\\\\s+BT[^\\\\n]*)/,/^(?:.*direction\\\\s+RL[^\\\\n]*)/,/^(?:.*direction\\\\s+LR[^\\\\n]*)/,/^(?:((?:(?!\\\\}%%)[^:.])*))/,/^(?::)/,/^(?:\\\\}%%)/,/^(?:((?:(?!\\\\}%%).|\\\\n)*))/,/^(?:title\\\\s[^#\\\\n;]+)/,/^(?:accDescription\\\\s[^#\\\\n;]+)/,/^(?:accTitle\\\\s*:\\\\s*)/,/^(?:(?!\\\\n||)*[^\\\\n]*)/,/^(?:accDescr\\\\s*:\\\\s*)/,/^(?:(?!\\\\n||)*[^\\\\n]*)/,/^(?:accDescr\\\\s*\\\\{\\\\s*)/,/^(?:[\\\\}])/,/^(?:[^\\\\}]*)/,/^(?:%%(?!\\\\{)*[^\\\\n]*(\\\\r?\\\\n?)+)/,/^(?:%%[^\\\\n]*(\\\\r?\\\\n)*)/,/^(?:\\\\s*(\\\\r?\\\\n)+)/,/^(?:\\\\s+)/,/^(?:C4Context\\\\b)/,/^(?:C4Container\\\\b)/,/^(?:C4Component\\\\b)/,/^(?:C4Dynamic\\\\b)/,/^(?:C4Deployment\\\\b)/,/^(?:Person_Ext\\\\b)/,/^(?:Person\\\\b)/,/^(?:SystemQueue_Ext\\\\b)/,/^(?:SystemDb_Ext\\\\b)/,/^(?:System_Ext\\\\b)/,/^(?:SystemQueue\\\\b)/,/^(?:SystemDb\\\\b)/,/^(?:System\\\\b)/,/^(?:Boundary\\\\b)/,/^(?:Enterprise_Boundary\\\\b)/,/^(?:System_Boundary\\\\b)/,/^(?:ContainerQueue_Ext\\\\b)/,/^(?:ContainerDb_Ext\\\\b)/,/^(?:Container_Ext\\\\b)/,/^(?:ContainerQueue\\\\b)/,/^(?:ContainerDb\\\\b)/,/^(?:Container\\\\b)/,/^(?:Container_Boundary\\\\b)/,/^(?:ComponentQueue_Ext\\\\b)/,/^(?:ComponentDb_Ext\\\\b)/,/^(?:Component_Ext\\\\b)/,/^(?:ComponentQueue\\\\b)/,/^(?:ComponentDb\\\\b)/,/^(?:Component\\\\b)/,/^(?:Deployment_Node\\\\b)/,/^(?:Node\\\\b)/,/^(?:Node_L\\\\b)/,/^(?:Node_R\\\\b)/,/^(?:Rel\\\\b)/,/^(?:BiRel\\\\b)/,/^(?:Rel_Up\\\\b)/,/^(?:Rel_U\\\\b)/,/^(?:Rel_Down\\\\b)/,/^(?:Rel_D\\\\b)/,/^(?:Rel_Left\\\\b)/,/^(?:Rel_L\\\\b)/,/^(?:Rel_Right\\\\b)/,/^(?:Rel_R\\\\b)/,/^(?:Rel_Back\\\\b)/,/^(?:RelIndex\\\\b)/,/^(?:UpdateElementStyle\\\\b)/,/^(?:UpdateRelStyle\\\\b)/,/^(?:UpdateLayoutConfig\\\\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*[\\\"][\\\"])/,/^(?:[ ]*[\\\"])/,/^(?:[\\\"])/,/^(?:[^\\\"]*)/,/^(?:[ ]*[\\\\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*[\\\"])/,/^(?:[^\\\"]+)/,/^(?:[\\\"])/,/^(?:[^,]+)/,/^(?:\\\\{)/,/^(?:\\\\})/,/^(?:[\\\\s]+)/,/^(?:[\\\\n\\\\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}};return Ft}();Ee.lexer=Ht;function Vt(){this.yy={}}return Vt.prototype=Ee,Ee.Parser=Vt,new Vt}();Fc.parser=Fc;const HE=Fc,GE=t=>t.match(/^\\\\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/)!==null;let En=[],zi=[\\\"\\\"],Ir=\\\"global\\\",Cn=\\\"\\\",zn=[{alias:\\\"global\\\",label:{text:\\\"global\\\"},type:{text:\\\"global\\\"},tags:null,link:null,parentBoundary:\\\"\\\"}],xo=[],N1=\\\"\\\",B1=!1,Pc=4,Yc=2;var bg;const qE=function(){return bg},jE=function(t){bg=yn(t,$())},$E=function(t,e,r){ze.parseDirective(this,t,e,r)},XE=function(t,e,r,n,i,s,a,o,l){if(t==null||e===void 0||e===null||r===void 0||r===null||n===void 0||n===null)return;let u={};const d=xo.find(f=>f.from===e&&f.to===r);if(d?u=d:xo.push(u),u.type=t,u.from=e,u.to=r,u.label={text:n},i==null)u.techn={text:\\\"\\\"};else if(typeof i==\\\"object\\\"){let[f,p]=Object.entries(i)[0];u[f]={text:p}}else u.techn={text:i};if(s==null)u.descr={text:\\\"\\\"};else if(typeof s==\\\"object\\\"){let[f,p]=Object.entries(s)[0];u[f]={text:p}}else u.descr={text:s};if(typeof a==\\\"object\\\"){let[f,p]=Object.entries(a)[0];u[f]=p}else u.sprite=a;if(typeof o==\\\"object\\\"){let[f,p]=Object.entries(o)[0];u[f]=p}else u.tags=o;if(typeof l==\\\"object\\\"){let[f,p]=Object.entries(l)[0];u[f]=p}else u.link=l;u.wrap=Wi()},KE=function(t,e,r,n,i,s,a){if(e===null||r===null)return;let o={};const l=En.find(u=>u.alias===e);if(l&&e===l.alias?o=l:(o.alias=e,En.push(o)),r==null?o.label={text:\\\"\\\"}:o.label={text:r},n==null)o.descr={text:\\\"\\\"};else if(typeof n==\\\"object\\\"){let[u,d]=Object.entries(n)[0];o[u]={text:d}}else o.descr={text:n};if(typeof i==\\\"object\\\"){let[u,d]=Object.entries(i)[0];o[u]=d}else o.sprite=i;if(typeof s==\\\"object\\\"){let[u,d]=Object.entries(s)[0];o[u]=d}else o.tags=s;if(typeof a==\\\"object\\\"){let[u,d]=Object.entries(a)[0];o[u]=d}else o.link=a;o.typeC4Shape={text:t},o.parentBoundary=Ir,o.wrap=Wi()},ZE=function(t,e,r,n,i,s,a,o){if(e===null||r===null)return;let l={};const u=En.find(d=>d.alias===e);if(u&&e===u.alias?l=u:(l.alias=e,En.push(l)),r==null?l.label={text:\\\"\\\"}:l.label={text:r},n==null)l.techn={text:\\\"\\\"};else if(typeof n==\\\"object\\\"){let[d,f]=Object.entries(n)[0];l[d]={text:f}}else l.techn={text:n};if(i==null)l.descr={text:\\\"\\\"};else if(typeof i==\\\"object\\\"){let[d,f]=Object.entries(i)[0];l[d]={text:f}}else l.descr={text:i};if(typeof s==\\\"object\\\"){let[d,f]=Object.entries(s)[0];l[d]=f}else l.sprite=s;if(typeof a==\\\"object\\\"){let[d,f]=Object.entries(a)[0];l[d]=f}else l.tags=a;if(typeof o==\\\"object\\\"){let[d,f]=Object.entries(o)[0];l[d]=f}else l.link=o;l.wrap=Wi(),l.typeC4Shape={text:t},l.parentBoundary=Ir},QE=function(t,e,r,n,i,s,a,o){if(e===null||r===null)return;let l={};const u=En.find(d=>d.alias===e);if(u&&e===u.alias?l=u:(l.alias=e,En.push(l)),r==null?l.label={text:\\\"\\\"}:l.label={text:r},n==null)l.techn={text:\\\"\\\"};else if(typeof n==\\\"object\\\"){let[d,f]=Object.entries(n)[0];l[d]={text:f}}else l.techn={text:n};if(i==null)l.descr={text:\\\"\\\"};else if(typeof i==\\\"object\\\"){let[d,f]=Object.entries(i)[0];l[d]={text:f}}else l.descr={text:i};if(typeof s==\\\"object\\\"){let[d,f]=Object.entries(s)[0];l[d]=f}else l.sprite=s;if(typeof a==\\\"object\\\"){let[d,f]=Object.entries(a)[0];l[d]=f}else l.tags=a;if(typeof o==\\\"object\\\"){let[d,f]=Object.entries(o)[0];l[d]=f}else l.link=o;l.wrap=Wi(),l.typeC4Shape={text:t},l.parentBoundary=Ir},JE=function(t,e,r,n,i){if(t===null||e===null)return;let s={};const a=zn.find(o=>o.alias===t);if(a&&t===a.alias?s=a:(s.alias=t,zn.push(s)),e==null?s.label={text:\\\"\\\"}:s.label={text:e},r==null)s.type={text:\\\"system\\\"};else if(typeof r==\\\"object\\\"){let[o,l]=Object.entries(r)[0];s[o]={text:l}}else s.type={text:r};if(typeof n==\\\"object\\\"){let[o,l]=Object.entries(n)[0];s[o]=l}else s.tags=n;if(typeof i==\\\"object\\\"){let[o,l]=Object.entries(i)[0];s[o]=l}else s.link=i;s.parentBoundary=Ir,s.wrap=Wi(),Cn=Ir,Ir=t,zi.push(Cn)},tC=function(t,e,r,n,i){if(t===null||e===null)return;let s={};const a=zn.find(o=>o.alias===t);if(a&&t===a.alias?s=a:(s.alias=t,zn.push(s)),e==null?s.label={text:\\\"\\\"}:s.label={text:e},r==null)s.type={text:\\\"container\\\"};else if(typeof r==\\\"object\\\"){let[o,l]=Object.entries(r)[0];s[o]={text:l}}else s.type={text:r};if(typeof n==\\\"object\\\"){let[o,l]=Object.entries(n)[0];s[o]=l}else s.tags=n;if(typeof i==\\\"object\\\"){let[o,l]=Object.entries(i)[0];s[o]=l}else s.link=i;s.parentBoundary=Ir,s.wrap=Wi(),Cn=Ir,Ir=t,zi.push(Cn)},eC=function(t,e,r,n,i,s,a,o){if(e===null||r===null)return;let l={};const u=zn.find(d=>d.alias===e);if(u&&e===u.alias?l=u:(l.alias=e,zn.push(l)),r==null?l.label={text:\\\"\\\"}:l.label={text:r},n==null)l.type={text:\\\"node\\\"};else if(typeof n==\\\"object\\\"){let[d,f]=Object.entries(n)[0];l[d]={text:f}}else l.type={text:n};if(i==null)l.descr={text:\\\"\\\"};else if(typeof i==\\\"object\\\"){let[d,f]=Object.entries(i)[0];l[d]={text:f}}else l.descr={text:i};if(typeof a==\\\"object\\\"){let[d,f]=Object.entries(a)[0];l[d]=f}else l.tags=a;if(typeof o==\\\"object\\\"){let[d,f]=Object.entries(o)[0];l[d]=f}else l.link=o;l.nodeType=t,l.parentBoundary=Ir,l.wrap=Wi(),Cn=Ir,Ir=e,zi.push(Cn)},rC=function(){Ir=Cn,zi.pop(),Cn=zi.pop(),zi.push(Cn)},nC=function(t,e,r,n,i,s,a,o,l,u,d){let f=En.find(p=>p.alias===e);if(!(f===void 0&&(f=zn.find(p=>p.alias===e),f===void 0))){if(r!=null)if(typeof r==\\\"object\\\"){let[p,g]=Object.entries(r)[0];f[p]=g}else f.bgColor=r;if(n!=null)if(typeof n==\\\"object\\\"){let[p,g]=Object.entries(n)[0];f[p]=g}else f.fontColor=n;if(i!=null)if(typeof i==\\\"object\\\"){let[p,g]=Object.entries(i)[0];f[p]=g}else f.borderColor=i;if(s!=null)if(typeof s==\\\"object\\\"){let[p,g]=Object.entries(s)[0];f[p]=g}else f.shadowing=s;if(a!=null)if(typeof a==\\\"object\\\"){let[p,g]=Object.entries(a)[0];f[p]=g}else f.shape=a;if(o!=null)if(typeof o==\\\"object\\\"){let[p,g]=Object.entries(o)[0];f[p]=g}else f.sprite=o;if(l!=null)if(typeof l==\\\"object\\\"){let[p,g]=Object.entries(l)[0];f[p]=g}else f.techn=l;if(u!=null)if(typeof u==\\\"object\\\"){let[p,g]=Object.entries(u)[0];f[p]=g}else f.legendText=u;if(d!=null)if(typeof d==\\\"object\\\"){let[p,g]=Object.entries(d)[0];f[p]=g}else f.legendSprite=d}},iC=function(t,e,r,n,i,s,a){const o=xo.find(l=>l.from===e&&l.to===r);if(o!==void 0){if(n!=null)if(typeof n==\\\"object\\\"){let[l,u]=Object.entries(n)[0];o[l]=u}else o.textColor=n;if(i!=null)if(typeof i==\\\"object\\\"){let[l,u]=Object.entries(i)[0];o[l]=u}else o.lineColor=i;if(s!=null)if(typeof s==\\\"object\\\"){let[l,u]=Object.entries(s)[0];o[l]=parseInt(u)}else o.offsetX=parseInt(s);if(a!=null)if(typeof a==\\\"object\\\"){let[l,u]=Object.entries(a)[0];o[l]=parseInt(u)}else o.offsetY=parseInt(a)}},sC=function(t,e,r){let n=Pc,i=Yc;if(typeof e==\\\"object\\\"){const s=Object.values(e)[0];n=parseInt(s)}else n=parseInt(e);if(typeof r==\\\"object\\\"){const s=Object.values(r)[0];i=parseInt(s)}else i=parseInt(r);n>=1&&(Pc=n),i>=1&&(Yc=i)},aC=function(){return Pc},oC=function(){return Yc},lC=function(){return Ir},cC=function(){return Cn},_g=function(t){return t==null?En:En.filter(e=>e.parentBoundary===t)},uC=function(t){return En.find(e=>e.alias===t)},hC=function(t){return Object.keys(_g(t))},dC=function(t){return t==null?zn:zn.filter(e=>e.parentBoundary===t)},fC=function(){return xo},pC=function(){return N1},gC=function(t){B1=t},Wi=function(){return B1},xg={addPersonOrSystem:KE,addPersonOrSystemBoundary:JE,addContainer:ZE,addContainerBoundary:tC,addComponent:QE,addDeploymentNode:eC,popBoundaryParseStack:rC,addRel:XE,updateElStyle:nC,updateRelStyle:iC,updateLayoutConfig:sC,autoWrap:Wi,setWrap:gC,getC4ShapeArray:_g,getC4Shape:uC,getC4ShapeKeys:hC,getBoundarys:dC,getCurrentBoundaryParse:lC,getParentBoundaryParse:cC,getRels:fC,getTitle:pC,getC4Type:qE,getC4ShapeInRow:aC,getC4BoundaryInRow:oC,setAccTitle:nn,getAccTitle:kn,getAccDescription:Tn,setAccDescription:wn,parseDirective:$E,getConfig:()=>$().c4,clear:function(){En=[],zn=[{alias:\\\"global\\\",label:{text:\\\"global\\\"},type:{text:\\\"global\\\"},tags:null,link:null,parentBoundary:\\\"\\\"}],Cn=\\\"\\\",Ir=\\\"global\\\",zi=[\\\"\\\"],xo=[],zi=[\\\"\\\"],N1=\\\"\\\",B1=!1,Pc=4,Yc=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(t){N1=yn(t,$())},setC4Type:jE},I1=function(t,e){const r=t.append(\\\"rect\\\");if(r.attr(\\\"x\\\",e.x),r.attr(\\\"y\\\",e.y),r.attr(\\\"fill\\\",e.fill),r.attr(\\\"stroke\\\",e.stroke),r.attr(\\\"width\\\",e.width),r.attr(\\\"height\\\",e.height),r.attr(\\\"rx\\\",e.rx),r.attr(\\\"ry\\\",e.ry),e.attrs!==\\\"undefined\\\"&&e.attrs!==null)for(let n in e.attrs)r.attr(n,e.attrs[n]);return e.class!==\\\"undefined\\\"&&r.attr(\\\"class\\\",e.class),r},vg=function(t,e,r,n,i,s){const a=t.append(\\\"image\\\");a.attr(\\\"width\\\",e),a.attr(\\\"height\\\",r),a.attr(\\\"x\\\",n),a.attr(\\\"y\\\",i);let o=s.startsWith(\\\"data:image/png;base64\\\")?s:ti(s);a.attr(\\\"xlink:href\\\",o)},yC=(t,e,r)=>{const n=t.append(\\\"g\\\");let i=0;for(let s of e){let a=s.textColor?s.textColor:\\\"#444444\\\",o=s.lineColor?s.lineColor:\\\"#444444\\\",l=s.offsetX?parseInt(s.offsetX):0,u=s.offsetY?parseInt(s.offsetY):0,d=\\\"\\\";if(i===0){let p=n.append(\\\"line\\\");p.attr(\\\"x1\\\",s.startPoint.x),p.attr(\\\"y1\\\",s.startPoint.y),p.attr(\\\"x2\\\",s.endPoint.x),p.attr(\\\"y2\\\",s.endPoint.y),p.attr(\\\"stroke-width\\\",\\\"1\\\"),p.attr(\\\"stroke\\\",o),p.style(\\\"fill\\\",\\\"none\\\"),s.type!==\\\"rel_b\\\"&&p.attr(\\\"marker-end\\\",\\\"url(\\\"+d+\\\"#arrowhead)\\\"),(s.type===\\\"birel\\\"||s.type===\\\"rel_b\\\")&&p.attr(\\\"marker-start\\\",\\\"url(\\\"+d+\\\"#arrowend)\\\"),i=-1}else{let p=n.append(\\\"path\\\");p.attr(\\\"fill\\\",\\\"none\\\").attr(\\\"stroke-width\\\",\\\"1\\\").attr(\\\"stroke\\\",o).attr(\\\"d\\\",\\\"Mstartx,starty Qcontrolx,controly stopx,stopy \\\".replaceAll(\\\"startx\\\",s.startPoint.x).replaceAll(\\\"starty\\\",s.startPoint.y).replaceAll(\\\"controlx\\\",s.startPoint.x+(s.endPoint.x-s.startPoint.x)/2-(s.endPoint.x-s.startPoint.x)/4).replaceAll(\\\"controly\\\",s.startPoint.y+(s.endPoint.y-s.startPoint.y)/2).replaceAll(\\\"stopx\\\",s.endPoint.x).replaceAll(\\\"stopy\\\",s.endPoint.y)),s.type!==\\\"rel_b\\\"&&p.attr(\\\"marker-end\\\",\\\"url(\\\"+d+\\\"#arrowhead)\\\"),(s.type===\\\"birel\\\"||s.type===\\\"rel_b\\\")&&p.attr(\\\"marker-start\\\",\\\"url(\\\"+d+\\\"#arrowend)\\\")}let f=r.messageFont();fi(r)(s.label.text,n,Math.min(s.startPoint.x,s.endPoint.x)+Math.abs(s.endPoint.x-s.startPoint.x)/2+l,Math.min(s.startPoint.y,s.endPoint.y)+Math.abs(s.endPoint.y-s.startPoint.y)/2+u,s.label.width,s.label.height,{fill:a},f),s.techn&&s.techn.text!==\\\"\\\"&&(f=r.messageFont(),fi(r)(\\\"[\\\"+s.techn.text+\\\"]\\\",n,Math.min(s.startPoint.x,s.endPoint.x)+Math.abs(s.endPoint.x-s.startPoint.x)/2+l,Math.min(s.startPoint.y,s.endPoint.y)+Math.abs(s.endPoint.y-s.startPoint.y)/2+r.messageFontSize+5+u,Math.max(s.label.width,s.techn.width),s.techn.height,{fill:a,\\\"font-style\\\":\\\"italic\\\"},f))}},mC=function(t,e,r){const n=t.append(\\\"g\\\");let i=e.bgColor?e.bgColor:\\\"none\\\",s=e.borderColor?e.borderColor:\\\"#444444\\\",a=e.fontColor?e.fontColor:\\\"black\\\",o={\\\"stroke-width\\\":1,\\\"stroke-dasharray\\\":\\\"7.0,7.0\\\"};e.nodeType&&(o={\\\"stroke-width\\\":1});let l={x:e.x,y:e.y,fill:i,stroke:s,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:o};I1(n,l);let u=r.boundaryFont();u.fontWeight=\\\"bold\\\",u.fontSize=u.fontSize+2,u.fontColor=a,fi(r)(e.label.text,n,e.x,e.y+e.label.Y,e.width,e.height,{fill:\\\"#444444\\\"},u),e.type&&e.type.text!==\\\"\\\"&&(u=r.boundaryFont(),u.fontColor=a,fi(r)(e.type.text,n,e.x,e.y+e.type.Y,e.width,e.height,{fill:\\\"#444444\\\"},u)),e.descr&&e.descr.text!==\\\"\\\"&&(u=r.boundaryFont(),u.fontSize=u.fontSize-2,u.fontColor=a,fi(r)(e.descr.text,n,e.x,e.y+e.descr.Y,e.width,e.height,{fill:\\\"#444444\\\"},u))},bC=function(t,e,r){let n=e.bgColor?e.bgColor:r[e.typeC4Shape.text+\\\"_bg_color\\\"],i=e.borderColor?e.borderColor:r[e.typeC4Shape.text+\\\"_border_color\\\"],s=e.fontColor?e.fontColor:\\\"#FFFFFF\\\",a=\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=\\\";switch(e.typeC4Shape.text){case\\\"person\\\":a=\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=\\\";break;case\\\"external_person\\\":a=\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=\\\";break}const o=t.append(\\\"g\\\");o.attr(\\\"class\\\",\\\"person-man\\\");const l=kg();switch(e.typeC4Shape.text){case\\\"person\\\":case\\\"external_person\\\":case\\\"system\\\":case\\\"external_system\\\":case\\\"container\\\":case\\\"external_container\\\":case\\\"component\\\":case\\\"external_component\\\":l.x=e.x,l.y=e.y,l.fill=n,l.width=e.width,l.height=e.height,l.style=\\\"stroke:\\\"+i+\\\";stroke-width:0.5;\\\",l.rx=2.5,l.ry=2.5,I1(o,l);break;case\\\"system_db\\\":case\\\"external_system_db\\\":case\\\"container_db\\\":case\\\"external_container_db\\\":case\\\"component_db\\\":case\\\"external_component_db\\\":o.append(\\\"path\\\").attr(\\\"fill\\\",n).attr(\\\"stroke-width\\\",\\\"0.5\\\").attr(\\\"stroke\\\",i).attr(\\\"d\\\",\\\"Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height\\\".replaceAll(\\\"startx\\\",e.x).replaceAll(\\\"starty\\\",e.y).replaceAll(\\\"half\\\",e.width/2).replaceAll(\\\"height\\\",e.height)),o.append(\\\"path\\\").attr(\\\"fill\\\",\\\"none\\\").attr(\\\"stroke-width\\\",\\\"0.5\\\").attr(\\\"stroke\\\",i).attr(\\\"d\\\",\\\"Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10\\\".replaceAll(\\\"startx\\\",e.x).replaceAll(\\\"starty\\\",e.y).replaceAll(\\\"half\\\",e.width/2));break;case\\\"system_queue\\\":case\\\"external_system_queue\\\":case\\\"container_queue\\\":case\\\"external_container_queue\\\":case\\\"component_queue\\\":case\\\"external_component_queue\\\":o.append(\\\"path\\\").attr(\\\"fill\\\",n).attr(\\\"stroke-width\\\",\\\"0.5\\\").attr(\\\"stroke\\\",i).attr(\\\"d\\\",\\\"Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half\\\".replaceAll(\\\"startx\\\",e.x).replaceAll(\\\"starty\\\",e.y).replaceAll(\\\"width\\\",e.width).replaceAll(\\\"half\\\",e.height/2)),o.append(\\\"path\\\").attr(\\\"fill\\\",\\\"none\\\").attr(\\\"stroke-width\\\",\\\"0.5\\\").attr(\\\"stroke\\\",i).attr(\\\"d\\\",\\\"Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half\\\".replaceAll(\\\"startx\\\",e.x+e.width).replaceAll(\\\"starty\\\",e.y).replaceAll(\\\"half\\\",e.height/2));break}let u=SC(r,e.typeC4Shape.text);switch(o.append(\\\"text\\\").attr(\\\"fill\\\",s).attr(\\\"font-family\\\",u.fontFamily).attr(\\\"font-size\\\",u.fontSize-2).attr(\\\"font-style\\\",\\\"italic\\\").attr(\\\"lengthAdjust\\\",\\\"spacing\\\").attr(\\\"textLength\\\",e.typeC4Shape.width).attr(\\\"x\\\",e.x+e.width/2-e.typeC4Shape.width/2).attr(\\\"y\\\",e.y+e.typeC4Shape.Y).text(\\\"\u003C\u003C\\\"+e.typeC4Shape.text+\\\">>\\\"),e.typeC4Shape.text){case\\\"person\\\":case\\\"external_person\\\":vg(o,48,48,e.x+e.width/2-24,e.y+e.image.Y,a);break}let d=r[e.typeC4Shape.text+\\\"Font\\\"]();return d.fontWeight=\\\"bold\\\",d.fontSize=d.fontSize+2,d.fontColor=s,fi(r)(e.label.text,o,e.x,e.y+e.label.Y,e.width,e.height,{fill:s},d),d=r[e.typeC4Shape.text+\\\"Font\\\"](),d.fontColor=s,e.thchn&&e.thchn.text!==\\\"\\\"?fi(r)(e.thchn.text,o,e.x,e.y+e.thchn.Y,e.width,e.height,{fill:s,\\\"font-style\\\":\\\"italic\\\"},d):e.type&&e.type.text!==\\\"\\\"&&fi(r)(e.type.text,o,e.x,e.y+e.type.Y,e.width,e.height,{fill:s,\\\"font-style\\\":\\\"italic\\\"},d),e.descr&&e.descr.text!==\\\"\\\"&&(d=r.personFont(),d.fontColor=s,fi(r)(e.descr.text,o,e.x,e.y+e.descr.Y,e.width,e.height,{fill:s},d)),e.height},_C=function(t){t.append(\\\"defs\\\").append(\\\"symbol\\\").attr(\\\"id\\\",\\\"database\\\").attr(\\\"fill-rule\\\",\\\"evenodd\\\").attr(\\\"clip-rule\\\",\\\"evenodd\\\").append(\\\"path\\\").attr(\\\"transform\\\",\\\"scale(.5)\\\").attr(\\\"d\\\",\\\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\\\")},xC=function(t){t.append(\\\"defs\\\").append(\\\"symbol\\\").attr(\\\"id\\\",\\\"computer\\\").attr(\\\"width\\\",\\\"24\\\").attr(\\\"height\\\",\\\"24\\\").append(\\\"path\\\").attr(\\\"transform\\\",\\\"scale(.5)\\\").attr(\\\"d\\\",\\\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\\\")},vC=function(t){t.append(\\\"defs\\\").append(\\\"symbol\\\").attr(\\\"id\\\",\\\"clock\\\").attr(\\\"width\\\",\\\"24\\\").attr(\\\"height\\\",\\\"24\\\").append(\\\"path\\\").attr(\\\"transform\\\",\\\"scale(.5)\\\").attr(\\\"d\\\",\\\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\\\")},kC=function(t){t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"arrowhead\\\").attr(\\\"refX\\\",9).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"userSpaceOnUse\\\").attr(\\\"markerWidth\\\",12).attr(\\\"markerHeight\\\",12).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 0 0 L 10 5 L 0 10 z\\\")},wC=function(t){t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"arrowend\\\").attr(\\\"refX\\\",1).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"userSpaceOnUse\\\").attr(\\\"markerWidth\\\",12).attr(\\\"markerHeight\\\",12).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 10 0 L 0 5 L 10 10 z\\\")},TC=function(t){t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"filled-head\\\").attr(\\\"refX\\\",18).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",28).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L14,7 L9,1 Z\\\")},EC=function(t){t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"sequencenumber\\\").attr(\\\"refX\\\",15).attr(\\\"refY\\\",15).attr(\\\"markerWidth\\\",60).attr(\\\"markerHeight\\\",40).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"circle\\\").attr(\\\"cx\\\",15).attr(\\\"cy\\\",15).attr(\\\"r\\\",6)},CC=function(t){const r=t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"crosshead\\\").attr(\\\"markerWidth\\\",15).attr(\\\"markerHeight\\\",8).attr(\\\"orient\\\",\\\"auto\\\").attr(\\\"refX\\\",16).attr(\\\"refY\\\",4);r.append(\\\"path\\\").attr(\\\"fill\\\",\\\"black\\\").attr(\\\"stroke\\\",\\\"#000000\\\").style(\\\"stroke-dasharray\\\",\\\"0, 0\\\").attr(\\\"stroke-width\\\",\\\"1px\\\").attr(\\\"d\\\",\\\"M 9,2 V 6 L16,4 Z\\\"),r.append(\\\"path\\\").attr(\\\"fill\\\",\\\"none\\\").attr(\\\"stroke\\\",\\\"#000000\\\").style(\\\"stroke-dasharray\\\",\\\"0, 0\\\").attr(\\\"stroke-width\\\",\\\"1px\\\").attr(\\\"d\\\",\\\"M 0,1 L 6,7 M 6,1 L 0,7\\\")},kg=function(){return{x:0,y:0,fill:\\\"#EDF2AE\\\",stroke:\\\"#666\\\",width:100,anchor:\\\"start\\\",height:100,rx:0,ry:0}},SC=(t,e)=>({fontFamily:t[e+\\\"FontFamily\\\"],fontSize:t[e+\\\"FontSize\\\"],fontWeight:t[e+\\\"FontWeight\\\"]}),fi=function(){function t(i,s,a,o,l,u,d){const f=s.append(\\\"text\\\").attr(\\\"x\\\",a+l/2).attr(\\\"y\\\",o+u/2+5).style(\\\"text-anchor\\\",\\\"middle\\\").text(i);n(f,d)}function e(i,s,a,o,l,u,d,f){const{fontSize:p,fontFamily:g,fontWeight:b}=f,k=i.split(he.lineBreakRegex);for(let T=0;T\u003Ck.length;T++){const L=T*p-p*(k.length-1)/2,E=s.append(\\\"text\\\").attr(\\\"x\\\",a+l/2).attr(\\\"y\\\",o).style(\\\"text-anchor\\\",\\\"middle\\\").attr(\\\"dominant-baseline\\\",\\\"middle\\\").style(\\\"font-size\\\",p).style(\\\"font-weight\\\",b).style(\\\"font-family\\\",g);E.append(\\\"tspan\\\").attr(\\\"dy\\\",L).text(k[T]).attr(\\\"alignment-baseline\\\",\\\"mathematical\\\"),n(E,d)}}function r(i,s,a,o,l,u,d,f){const p=s.append(\\\"switch\\\"),b=p.append(\\\"foreignObject\\\").attr(\\\"x\\\",a).attr(\\\"y\\\",o).attr(\\\"width\\\",l).attr(\\\"height\\\",u).append(\\\"xhtml:div\\\").style(\\\"display\\\",\\\"table\\\").style(\\\"height\\\",\\\"100%\\\").style(\\\"width\\\",\\\"100%\\\");b.append(\\\"div\\\").style(\\\"display\\\",\\\"table-cell\\\").style(\\\"text-align\\\",\\\"center\\\").style(\\\"vertical-align\\\",\\\"middle\\\").text(i),e(i,p,a,o,l,u,d,f),n(b,d)}function n(i,s){for(const a in s)s.hasOwnProperty(a)&&i.attr(a,s[a])}return function(i){return i.textPlacement===\\\"fo\\\"?r:i.textPlacement===\\\"old\\\"?t:e}}(),Wn={drawRect:I1,drawBoundary:mC,drawC4Shape:bC,drawRels:yC,drawImage:vg,insertArrowHead:kC,insertArrowEnd:wC,insertArrowFilledHead:TC,insertDynamicNumber:EC,insertArrowCrossHead:CC,insertDatabaseIcon:_C,insertComputerIcon:xC,insertClockIcon:vC,getNoteRect:kg,sanitizeUrl:ti};let Vc=0,Uc=0,wg=4,O1=2;Fc.yy=xg;let Zt={};class Tg{constructor(e){this.name=\\\"\\\",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,R1(e.db.getConfig())}setData(e,r,n,i){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=r,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=i}updateVal(e,r,n,i){e[r]===void 0?e[r]=n:e[r]=i(n,e[r])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let r=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+e.margin:this.nextData.stopx+e.margin*2,n=r+e.width,i=this.nextData.starty+e.margin*2,s=i+e.height;(r>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>wg)&&(r=this.nextData.startx+e.margin+Zt.nextLinePaddingX,i=this.nextData.stopy+e.margin*2,this.nextData.stopx=n=r+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=s=i+e.height,this.nextData.cnt=1),e.x=r,e.y=i,this.updateVal(this.data,\\\"startx\\\",r,Math.min),this.updateVal(this.data,\\\"starty\\\",i,Math.min),this.updateVal(this.data,\\\"stopx\\\",n,Math.max),this.updateVal(this.data,\\\"stopy\\\",s,Math.max),this.updateVal(this.nextData,\\\"startx\\\",r,Math.min),this.updateVal(this.nextData,\\\"starty\\\",i,Math.min),this.updateVal(this.nextData,\\\"stopx\\\",n,Math.max),this.updateVal(this.nextData,\\\"stopy\\\",s,Math.max)}init(e){this.name=\\\"\\\",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},R1(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}}const R1=function(t){gr(Zt,t),t.fontFamily&&(Zt.personFontFamily=Zt.systemFontFamily=Zt.messageFontFamily=t.fontFamily),t.fontSize&&(Zt.personFontSize=Zt.systemFontSize=Zt.messageFontSize=t.fontSize),t.fontWeight&&(Zt.personFontWeight=Zt.systemFontWeight=Zt.messageFontWeight=t.fontWeight)},vo=(t,e)=>({fontFamily:t[e+\\\"FontFamily\\\"],fontSize:t[e+\\\"FontSize\\\"],fontWeight:t[e+\\\"FontWeight\\\"]}),zc=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),AC=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight});function Sn(t,e,r,n,i){if(!e[t].width)if(r)e[t].text=Pp(e[t].text,i,n),e[t].textLines=e[t].text.split(he.lineBreakRegex).length,e[t].width=i,e[t].height=g1(e[t].text,n);else{let s=e[t].text.split(he.lineBreakRegex);e[t].textLines=s.length;let a=0;e[t].height=0,e[t].width=0;for(const o of s)e[t].width=Math.max(Un(o,n),e[t].width),a=g1(o,n),e[t].height=e[t].height+a}}const Eg=function(t,e,r){e.x=r.data.startx,e.y=r.data.starty,e.width=r.data.stopx-r.data.startx,e.height=r.data.stopy-r.data.starty,e.label.y=Zt.c4ShapeMargin-35;let n=e.wrap&&Zt.wrap,i=zc(Zt);i.fontSize=i.fontSize+2,i.fontWeight=\\\"bold\\\";let s=Un(e.label.text,i);Sn(\\\"label\\\",e,n,i,s),Wn.drawBoundary(t,e,Zt)},Cg=function(t,e,r,n){let i=0;for(const s of n){i=0;const a=r[s];let o=vo(Zt,a.typeC4Shape.text);switch(o.fontSize=o.fontSize-2,a.typeC4Shape.width=Un(\\\"\u003C\u003C\\\"+a.typeC4Shape.text+\\\">>\\\",o),a.typeC4Shape.height=o.fontSize+2,a.typeC4Shape.Y=Zt.c4ShapePadding,i=a.typeC4Shape.Y+a.typeC4Shape.height-4,a.image={width:0,height:0,Y:0},a.typeC4Shape.text){case\\\"person\\\":case\\\"external_person\\\":a.image.width=48,a.image.height=48,a.image.Y=i,i=a.image.Y+a.image.height;break}a.sprite&&(a.image.width=48,a.image.height=48,a.image.Y=i,i=a.image.Y+a.image.height);let l=a.wrap&&Zt.wrap,u=Zt.width-Zt.c4ShapePadding*2,d=vo(Zt,a.typeC4Shape.text);if(d.fontSize=d.fontSize+2,d.fontWeight=\\\"bold\\\",Sn(\\\"label\\\",a,l,d,u),a.label.Y=i+8,i=a.label.Y+a.label.height,a.type&&a.type.text!==\\\"\\\"){a.type.text=\\\"[\\\"+a.type.text+\\\"]\\\";let g=vo(Zt,a.typeC4Shape.text);Sn(\\\"type\\\",a,l,g,u),a.type.Y=i+5,i=a.type.Y+a.type.height}else if(a.techn&&a.techn.text!==\\\"\\\"){a.techn.text=\\\"[\\\"+a.techn.text+\\\"]\\\";let g=vo(Zt,a.techn.text);Sn(\\\"techn\\\",a,l,g,u),a.techn.Y=i+5,i=a.techn.Y+a.techn.height}let f=i,p=a.label.width;if(a.descr&&a.descr.text!==\\\"\\\"){let g=vo(Zt,a.typeC4Shape.text);Sn(\\\"descr\\\",a,l,g,u),a.descr.Y=i+20,i=a.descr.Y+a.descr.height,p=Math.max(a.label.width,a.descr.width),f=i-a.descr.textLines*5}p=p+Zt.c4ShapePadding,a.width=Math.max(a.width||Zt.width,p,Zt.width),a.height=Math.max(a.height||Zt.height,f,Zt.height),a.margin=a.margin||Zt.c4ShapeMargin,t.insert(a),Wn.drawC4Shape(e,a,Zt)}t.bumpLastMargin(Zt.c4ShapeMargin)};class sn{constructor(e,r){this.x=e,this.y=r}}let Sg=function(t,e){let r=t.x,n=t.y,i=e.x,s=e.y,a=r+t.width/2,o=n+t.height/2,l=Math.abs(r-i),u=Math.abs(n-s),d=u/l,f=t.height/t.width,p=null;return n==s&&r\u003Ci?p=new sn(r+t.width,o):n==s&&r>i?p=new sn(r,o):r==i&&n\u003Cs?p=new sn(a,n+t.height):r==i&&n>s&&(p=new sn(a,n)),r>i&&n\u003Cs?f>=d?p=new sn(r,o+d*t.width/2):p=new sn(a-l/u*t.height/2,n+t.height):r\u003Ci&&n\u003Cs?f>=d?p=new sn(r+t.width,o+d*t.width/2):p=new sn(a+l/u*t.height/2,n+t.height):r\u003Ci&&n>s?f>=d?p=new sn(r+t.width,o-d*t.width/2):p=new sn(a+t.height/2*l/u,n):r>i&&n>s&&(f>=d?p=new sn(r,o-t.width/2*d):p=new sn(a-t.height/2*l/u,n)),p},LC=function(t,e){let r={x:0,y:0};r.x=e.x+e.width/2,r.y=e.y+e.height/2;let n=Sg(t,r);r.x=t.x+t.width/2,r.y=t.y+t.height/2;let i=Sg(e,r);return{startPoint:n,endPoint:i}};const DC=function(t,e,r,n){let i=0;for(let s of e){i=i+1;let a=s.wrap&&Zt.wrap,o=AC(Zt);n.db.getC4Type()===\\\"C4Dynamic\\\"&&(s.label.text=i+\\\": \\\"+s.label.text);let u=Un(s.label.text,o);Sn(\\\"label\\\",s,a,o,u),s.techn&&s.techn.text!==\\\"\\\"&&(u=Un(s.techn.text,o),Sn(\\\"techn\\\",s,a,o,u)),s.descr&&s.descr.text!==\\\"\\\"&&(u=Un(s.descr.text,o),Sn(\\\"descr\\\",s,a,o,u));let d=r(s.from),f=r(s.to),p=LC(d,f);s.startPoint=p.startPoint,s.endPoint=p.endPoint}Wn.drawRels(t,e,Zt)};function Ag(t,e,r,n,i){let s=new Tg(i);s.data.widthLimit=r.data.widthLimit/Math.min(O1,n.length);for(let[a,o]of n.entries()){let l=0;o.image={width:0,height:0,Y:0},o.sprite&&(o.image.width=48,o.image.height=48,o.image.Y=l,l=o.image.Y+o.image.height);let u=o.wrap&&Zt.wrap,d=zc(Zt);if(d.fontSize=d.fontSize+2,d.fontWeight=\\\"bold\\\",Sn(\\\"label\\\",o,u,d,s.data.widthLimit),o.label.Y=l+8,l=o.label.Y+o.label.height,o.type&&o.type.text!==\\\"\\\"){o.type.text=\\\"[\\\"+o.type.text+\\\"]\\\";let b=zc(Zt);Sn(\\\"type\\\",o,u,b,s.data.widthLimit),o.type.Y=l+5,l=o.type.Y+o.type.height}if(o.descr&&o.descr.text!==\\\"\\\"){let b=zc(Zt);b.fontSize=b.fontSize-2,Sn(\\\"descr\\\",o,u,b,s.data.widthLimit),o.descr.Y=l+20,l=o.descr.Y+o.descr.height}if(a==0||a%O1===0){let b=r.data.startx+Zt.diagramMarginX,k=r.data.stopy+Zt.diagramMarginY+l;s.setData(b,b,k,k)}else{let b=s.data.stopx!==s.data.startx?s.data.stopx+Zt.diagramMarginX:s.data.startx,k=s.data.starty;s.setData(b,b,k,k)}s.name=o.alias;let f=i.db.getC4ShapeArray(o.alias),p=i.db.getC4ShapeKeys(o.alias);p.length>0&&Cg(s,t,f,p),e=o.alias;let g=i.db.getBoundarys(e);g.length>0&&Ag(t,e,s,g,i),o.alias!==\\\"global\\\"&&Eg(t,o,s),r.data.stopy=Math.max(s.data.stopy+Zt.c4ShapeMargin,r.data.stopy),r.data.stopx=Math.max(s.data.stopx+Zt.c4ShapeMargin,r.data.stopx),Vc=Math.max(Vc,r.data.stopx),Uc=Math.max(Uc,r.data.stopy)}}const Lg={drawPersonOrSystemArray:Cg,drawBoundary:Eg,setConf:R1,draw:function(t,e,r,n){Zt=$().c4;const i=$().securityLevel;let s;i===\\\"sandbox\\\"&&(s=St(\\\"#i\\\"+e));const a=St(i===\\\"sandbox\\\"?s.nodes()[0].contentDocument.body:\\\"body\\\");let o=n.db;n.db.setWrap(Zt.wrap),wg=o.getC4ShapeInRow(),O1=o.getC4BoundaryInRow(),B.debug(`C:${JSON.stringify(Zt,null,2)}`);const l=i===\\\"sandbox\\\"?a.select(`[id=\\\"${e}\\\"]`):St(`[id=\\\"${e}\\\"]`);Wn.insertComputerIcon(l),Wn.insertDatabaseIcon(l),Wn.insertClockIcon(l);let u=new Tg(n);u.setData(Zt.diagramMarginX,Zt.diagramMarginX,Zt.diagramMarginY,Zt.diagramMarginY),u.data.widthLimit=screen.availWidth,Vc=Zt.diagramMarginX,Uc=Zt.diagramMarginY;const d=n.db.getTitle();let f=n.db.getBoundarys(\\\"\\\");Ag(l,\\\"\\\",u,f,n),Wn.insertArrowHead(l),Wn.insertArrowEnd(l),Wn.insertArrowCrossHead(l),Wn.insertArrowFilledHead(l),DC(l,n.db.getRels(),n.db.getC4Shape,n),u.data.stopx=Vc,u.data.stopy=Uc;const p=u.data;let b=p.stopy-p.starty+2*Zt.diagramMarginY;const T=p.stopx-p.startx+2*Zt.diagramMarginX;d&&l.append(\\\"text\\\").text(d).attr(\\\"x\\\",(p.stopx-p.startx)/2-4*Zt.diagramMarginX).attr(\\\"y\\\",p.starty+Zt.diagramMarginY),xn(l,b,T,Zt.useMaxWidth);const L=d?60:0;l.attr(\\\"viewBox\\\",p.startx-Zt.diagramMarginX+\\\" -\\\"+(Zt.diagramMarginY+L)+\\\" \\\"+T+\\\" \\\"+(b+L)),B.debug(\\\"models:\\\",p)}};var F1=function(){var t=function(F,O,A,J){for(A=A||{},J=F.length;J--;A[F[J]]=O);return A},e=[1,3],r=[1,7],n=[1,8],i=[1,9],s=[1,10],a=[1,13],o=[1,12],l=[1,16,25],u=[1,20],d=[1,32],f=[1,33],p=[1,34],g=[1,36],b=[1,39],k=[1,37],T=[1,38],L=[1,44],E=[1,45],I=[1,40],V=[1,41],H=[1,42],G=[1,43],Y=[1,48],W=[1,49],N=[1,50],D=[1,51],w=[16,25],v=[1,65],M=[1,66],m=[1,67],Q=[1,68],x=[1,69],ct=[1,70],Dt=[1,71],kt=[1,80],j=[16,25,32,45,46,54,60,61,62,63,64,65,66,71,73],ot=[16,25,30,32,45,46,50,54,60,61,62,63,64,65,66,71,73,88,89,90,91],rt=[5,8,9,10,11,16,19,23,25],nt=[54,88,89,90,91],ut=[54,65,66,88,89,90,91],_t=[54,60,61,62,63,64,88,89,90,91],K=[16,25,32],Ot=[1,107],P={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,\\\":\\\":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,className:27,alphaNumToken:28,classLiteralName:29,GENERICTYPE:30,relationStatement:31,LABEL:32,classStatement:33,methodStatement:34,annotationStatement:35,clickStatement:36,cssClassStatement:37,noteStatement:38,acc_title:39,acc_title_value:40,acc_descr:41,acc_descr_value:42,acc_descr_multiline_value:43,CLASS:44,STYLE_SEPARATOR:45,STRUCT_START:46,members:47,STRUCT_STOP:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,STR:54,NOTE_FOR:55,noteText:56,NOTE:57,relationType:58,lineType:59,AGGREGATION:60,EXTENSION:61,COMPOSITION:62,DEPENDENCY:63,LOLLIPOP:64,LINE:65,DOTTED_LINE:66,CALLBACK:67,LINK:68,LINK_TARGET:69,CLICK:70,CALLBACK_NAME:71,CALLBACK_ARGS:72,HREF:73,CSSCLASS:74,commentToken:75,textToken:76,graphCodeTokens:77,textNoTagsToken:78,TAGSTART:79,TAGEND:80,\\\"==\\\":81,\\\"--\\\":82,PCT:83,DEFAULT:84,SPACE:85,MINUS:86,keywords:87,UNICODE_TEXT:88,NUM:89,ALPHA:90,BQUOTE_STR:91,$accept:0,$end:1},terminals_:{2:\\\"error\\\",5:\\\"statments\\\",8:\\\"direction_tb\\\",9:\\\"direction_bt\\\",10:\\\"direction_rl\\\",11:\\\"direction_lr\\\",16:\\\"NEWLINE\\\",17:\\\":\\\",19:\\\"open_directive\\\",20:\\\"type_directive\\\",21:\\\"arg_directive\\\",22:\\\"close_directive\\\",23:\\\"CLASS_DIAGRAM\\\",25:\\\"EOF\\\",30:\\\"GENERICTYPE\\\",32:\\\"LABEL\\\",39:\\\"acc_title\\\",40:\\\"acc_title_value\\\",41:\\\"acc_descr\\\",42:\\\"acc_descr_value\\\",43:\\\"acc_descr_multiline_value\\\",44:\\\"CLASS\\\",45:\\\"STYLE_SEPARATOR\\\",46:\\\"STRUCT_START\\\",48:\\\"STRUCT_STOP\\\",49:\\\"ANNOTATION_START\\\",50:\\\"ANNOTATION_END\\\",51:\\\"MEMBER\\\",52:\\\"SEPARATOR\\\",54:\\\"STR\\\",55:\\\"NOTE_FOR\\\",57:\\\"NOTE\\\",60:\\\"AGGREGATION\\\",61:\\\"EXTENSION\\\",62:\\\"COMPOSITION\\\",63:\\\"DEPENDENCY\\\",64:\\\"LOLLIPOP\\\",65:\\\"LINE\\\",66:\\\"DOTTED_LINE\\\",67:\\\"CALLBACK\\\",68:\\\"LINK\\\",69:\\\"LINK_TARGET\\\",70:\\\"CLICK\\\",71:\\\"CALLBACK_NAME\\\",72:\\\"CALLBACK_ARGS\\\",73:\\\"HREF\\\",74:\\\"CSSCLASS\\\",77:\\\"graphCodeTokens\\\",79:\\\"TAGSTART\\\",80:\\\"TAGEND\\\",81:\\\"==\\\",82:\\\"--\\\",83:\\\"PCT\\\",84:\\\"DEFAULT\\\",85:\\\"SPACE\\\",86:\\\"MINUS\\\",87:\\\"keywords\\\",88:\\\"UNICODE_TEXT\\\",89:\\\"NUM\\\",90:\\\"ALPHA\\\",91:\\\"BQUOTE_STR\\\"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,1],[27,1],[27,2],[27,2],[27,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[33,2],[33,4],[33,5],[33,7],[35,4],[47,1],[47,2],[34,1],[34,2],[34,1],[34,1],[31,3],[31,4],[31,4],[31,5],[38,3],[38,2],[53,3],[53,2],[53,2],[53,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[36,3],[36,4],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[37,3],[75,1],[75,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[78,1],[78,1],[78,1],[78,1],[28,1],[28,1],[28,1],[29,1],[56,1]],performAction:function(O,A,J,C,ht,U,Yt){var et=U.length-1;switch(ht){case 5:C.setDirection(\\\"TB\\\");break;case 6:C.setDirection(\\\"BT\\\");break;case 7:C.setDirection(\\\"RL\\\");break;case 8:C.setDirection(\\\"LR\\\");break;case 12:C.parseDirective(\\\"%%{\\\",\\\"open_directive\\\");break;case 13:C.parseDirective(U[et],\\\"type_directive\\\");break;case 14:U[et]=U[et].trim().replace(/'/g,'\\\"'),C.parseDirective(U[et],\\\"arg_directive\\\");break;case 15:C.parseDirective(\\\"}%%\\\",\\\"close_directive\\\",\\\"class\\\");break;case 20:case 21:this.$=U[et];break;case 22:this.$=U[et-1]+U[et];break;case 23:case 24:this.$=U[et-1]+\\\"~\\\"+U[et];break;case 25:C.addRelation(U[et]);break;case 26:U[et-1].title=C.cleanupLabel(U[et]),C.addRelation(U[et-1]);break;case 35:this.$=U[et].trim(),C.setAccTitle(this.$);break;case 36:case 37:this.$=U[et].trim(),C.setAccDescription(this.$);break;case 38:C.addClass(U[et]);break;case 39:C.addClass(U[et-2]),C.setCssClass(U[et-2],U[et]);break;case 40:C.addClass(U[et-3]),C.addMembers(U[et-3],U[et-1]);break;case 41:C.addClass(U[et-5]),C.setCssClass(U[et-5],U[et-3]),C.addMembers(U[et-5],U[et-1]);break;case 42:C.addAnnotation(U[et],U[et-2]);break;case 43:this.$=[U[et]];break;case 44:U[et].push(U[et-1]),this.$=U[et];break;case 45:break;case 46:C.addMember(U[et-1],C.cleanupLabel(U[et]));break;case 47:break;case 48:break;case 49:this.$={id1:U[et-2],id2:U[et],relation:U[et-1],relationTitle1:\\\"none\\\",relationTitle2:\\\"none\\\"};break;case 50:this.$={id1:U[et-3],id2:U[et],relation:U[et-1],relationTitle1:U[et-2],relationTitle2:\\\"none\\\"};break;case 51:this.$={id1:U[et-3],id2:U[et],relation:U[et-2],relationTitle1:\\\"none\\\",relationTitle2:U[et-1]};break;case 52:this.$={id1:U[et-4],id2:U[et],relation:U[et-2],relationTitle1:U[et-3],relationTitle2:U[et-1]};break;case 53:C.addNote(U[et],U[et-1]);break;case 54:C.addNote(U[et]);break;case 55:this.$={type1:U[et-2],type2:U[et],lineType:U[et-1]};break;case 56:this.$={type1:\\\"none\\\",type2:U[et],lineType:U[et-1]};break;case 57:this.$={type1:U[et-1],type2:\\\"none\\\",lineType:U[et]};break;case 58:this.$={type1:\\\"none\\\",type2:\\\"none\\\",lineType:U[et]};break;case 59:this.$=C.relationType.AGGREGATION;break;case 60:this.$=C.relationType.EXTENSION;break;case 61:this.$=C.relationType.COMPOSITION;break;case 62:this.$=C.relationType.DEPENDENCY;break;case 63:this.$=C.relationType.LOLLIPOP;break;case 64:this.$=C.lineType.LINE;break;case 65:this.$=C.lineType.DOTTED_LINE;break;case 66:case 72:this.$=U[et-2],C.setClickEvent(U[et-1],U[et]);break;case 67:case 73:this.$=U[et-3],C.setClickEvent(U[et-2],U[et-1]),C.setTooltip(U[et-2],U[et]);break;case 68:case 76:this.$=U[et-2],C.setLink(U[et-1],U[et]);break;case 69:this.$=U[et-3],C.setLink(U[et-2],U[et-1],U[et]);break;case 70:case 78:this.$=U[et-3],C.setLink(U[et-2],U[et-1]),C.setTooltip(U[et-2],U[et]);break;case 71:case 79:this.$=U[et-4],C.setLink(U[et-3],U[et-2],U[et]),C.setTooltip(U[et-3],U[et-1]);break;case 74:this.$=U[et-3],C.setClickEvent(U[et-2],U[et-1],U[et]);break;case 75:this.$=U[et-4],C.setClickEvent(U[et-3],U[et-2],U[et-1]),C.setTooltip(U[et-3],U[et]);break;case 77:this.$=U[et-3],C.setLink(U[et-2],U[et-1],U[et]);break;case 80:C.setCssClass(U[et-1],U[et]);break}},table:[{3:1,4:2,5:e,6:4,7:5,8:r,9:n,10:i,11:s,12:6,13:11,19:a,23:o},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:e,6:4,7:5,8:r,9:n,10:i,11:s,12:6,13:11,19:a,23:o},{1:[2,9]},t(l,[2,5]),t(l,[2,6]),t(l,[2,7]),t(l,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:u},t([17,22],[2,13]),{6:31,7:30,8:r,9:n,10:i,11:s,13:11,19:a,24:21,26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:d,41:f,43:p,44:g,49:b,51:k,52:T,55:L,57:E,67:I,68:V,70:H,74:G,88:Y,89:W,90:N,91:D},{16:[1,52]},{18:53,21:[1,54]},{16:[2,15]},{25:[1,55]},{16:[1,56],25:[2,17]},t(w,[2,25],{32:[1,57]}),t(w,[2,27]),t(w,[2,28]),t(w,[2,29]),t(w,[2,30]),t(w,[2,31]),t(w,[2,32]),t(w,[2,33]),t(w,[2,34]),{40:[1,58]},{42:[1,59]},t(w,[2,37]),t(w,[2,45],{53:60,58:63,59:64,32:[1,62],54:[1,61],60:v,61:M,62:m,63:Q,64:x,65:ct,66:Dt}),{27:72,28:46,29:47,88:Y,89:W,90:N,91:D},t(w,[2,47]),t(w,[2,48]),{28:73,88:Y,89:W,90:N},{27:74,28:46,29:47,88:Y,89:W,90:N,91:D},{27:75,28:46,29:47,88:Y,89:W,90:N,91:D},{27:76,28:46,29:47,88:Y,89:W,90:N,91:D},{54:[1,77]},{27:78,28:46,29:47,88:Y,89:W,90:N,91:D},{54:kt,56:79},t(j,[2,20],{28:46,29:47,27:81,30:[1,82],88:Y,89:W,90:N,91:D}),t(j,[2,21],{30:[1,83]}),t(ot,[2,94]),t(ot,[2,95]),t(ot,[2,96]),t([16,25,30,32,45,46,54,60,61,62,63,64,65,66,71,73],[2,97]),t(rt,[2,10]),{15:84,22:u},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:r,9:n,10:i,11:s,13:11,19:a,24:85,25:[2,18],26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:d,41:f,43:p,44:g,49:b,51:k,52:T,55:L,57:E,67:I,68:V,70:H,74:G,88:Y,89:W,90:N,91:D},t(w,[2,26]),t(w,[2,35]),t(w,[2,36]),{27:86,28:46,29:47,54:[1,87],88:Y,89:W,90:N,91:D},{53:88,58:63,59:64,60:v,61:M,62:m,63:Q,64:x,65:ct,66:Dt},t(w,[2,46]),{59:89,65:ct,66:Dt},t(nt,[2,58],{58:90,60:v,61:M,62:m,63:Q,64:x}),t(ut,[2,59]),t(ut,[2,60]),t(ut,[2,61]),t(ut,[2,62]),t(ut,[2,63]),t(_t,[2,64]),t(_t,[2,65]),t(w,[2,38],{45:[1,91],46:[1,92]}),{50:[1,93]},{54:[1,94]},{54:[1,95]},{71:[1,96],73:[1,97]},{28:98,88:Y,89:W,90:N},{54:kt,56:99},t(w,[2,54]),t(w,[2,98]),t(j,[2,22]),t(j,[2,23]),t(j,[2,24]),{16:[1,100]},{25:[2,19]},t(K,[2,49]),{27:101,28:46,29:47,88:Y,89:W,90:N,91:D},{27:102,28:46,29:47,54:[1,103],88:Y,89:W,90:N,91:D},t(nt,[2,57],{58:104,60:v,61:M,62:m,63:Q,64:x}),t(nt,[2,56]),{28:105,88:Y,89:W,90:N},{47:106,51:Ot},{27:108,28:46,29:47,88:Y,89:W,90:N,91:D},t(w,[2,66],{54:[1,109]}),t(w,[2,68],{54:[1,111],69:[1,110]}),t(w,[2,72],{54:[1,112],72:[1,113]}),t(w,[2,76],{54:[1,115],69:[1,114]}),t(w,[2,80]),t(w,[2,53]),t(rt,[2,11]),t(K,[2,51]),t(K,[2,50]),{27:116,28:46,29:47,88:Y,89:W,90:N,91:D},t(nt,[2,55]),t(w,[2,39],{46:[1,117]}),{48:[1,118]},{47:119,48:[2,43],51:Ot},t(w,[2,42]),t(w,[2,67]),t(w,[2,69]),t(w,[2,70],{69:[1,120]}),t(w,[2,73]),t(w,[2,74],{54:[1,121]}),t(w,[2,77]),t(w,[2,78],{69:[1,122]}),t(K,[2,52]),{47:123,51:Ot},t(w,[2,40]),{48:[2,44]},t(w,[2,71]),t(w,[2,75]),t(w,[2,79]),{48:[1,124]},t(w,[2,41])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],54:[2,14],55:[2,16],85:[2,19],119:[2,44]},parseError:function(O,A){if(A.recoverable)this.trace(O);else{var J=new Error(O);throw J.hash=A,J}},parse:function(O){var A=this,J=[0],C=[],ht=[null],U=[],Yt=this.table,et=\\\"\\\",Mt=0,Tt=0,gt=2,Et=1,wt=U.slice.call(arguments,1),pt=Object.create(this.lexer),st={yy:{}};for(var le in this.yy)Object.prototype.hasOwnProperty.call(this.yy,le)&&(st.yy[le]=this.yy[le]);pt.setInput(O,st.yy),st.yy.lexer=pt,st.yy.parser=this,typeof pt.yylloc>\\\"u\\\"&&(pt.yylloc={});var Xt=pt.yylloc;U.push(Xt);var jt=pt.options&&pt.options.ranges;typeof st.yy.parseError==\\\"function\\\"?this.parseError=st.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Kt(){var at;return at=C.pop()||pt.lex()||Et,typeof at!=\\\"number\\\"&&(at instanceof Array&&(C=at,at=C.pop()),at=A.symbols_[at]||at),at}for(var Gt,Ee,Ht,Vt,Ft={},xt,ft,Lt,bt;;){if(Ee=J[J.length-1],this.defaultActions[Ee]?Ht=this.defaultActions[Ee]:((Gt===null||typeof Gt>\\\"u\\\")&&(Gt=Kt()),Ht=Yt[Ee]&&Yt[Ee][Gt]),typeof Ht>\\\"u\\\"||!Ht.length||!Ht[0]){var Ut=\\\"\\\";bt=[];for(xt in Yt[Ee])this.terminals_[xt]&&xt>gt&&bt.push(\\\"'\\\"+this.terminals_[xt]+\\\"'\\\");pt.showPosition?Ut=\\\"Parse error on line \\\"+(Mt+1)+`:\\n`+pt.showPosition()+`\\nExpecting `+bt.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[Gt]||Gt)+\\\"'\\\":Ut=\\\"Parse error on line \\\"+(Mt+1)+\\\": Unexpected \\\"+(Gt==Et?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[Gt]||Gt)+\\\"'\\\"),this.parseError(Ut,{text:pt.match,token:this.terminals_[Gt]||Gt,line:pt.yylineno,loc:Xt,expected:bt})}if(Ht[0]instanceof Array&&Ht.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+Ee+\\\", token: \\\"+Gt);switch(Ht[0]){case 1:J.push(Gt),ht.push(pt.yytext),U.push(pt.yylloc),J.push(Ht[1]),Gt=null,Tt=pt.yyleng,et=pt.yytext,Mt=pt.yylineno,Xt=pt.yylloc;break;case 2:if(ft=this.productions_[Ht[1]][1],Ft.$=ht[ht.length-ft],Ft._$={first_line:U[U.length-(ft||1)].first_line,last_line:U[U.length-1].last_line,first_column:U[U.length-(ft||1)].first_column,last_column:U[U.length-1].last_column},jt&&(Ft._$.range=[U[U.length-(ft||1)].range[0],U[U.length-1].range[1]]),Vt=this.performAction.apply(Ft,[et,Tt,Mt,st.yy,Ht[1],ht,U].concat(wt)),typeof Vt\u003C\\\"u\\\")return Vt;ft&&(J=J.slice(0,-1*ft*2),ht=ht.slice(0,-1*ft),U=U.slice(0,-1*ft)),J.push(this.productions_[Ht[1]][0]),ht.push(Ft.$),U.push(Ft._$),Lt=Yt[J[J.length-2]][J[J.length-1]],J.push(Lt);break;case 3:return!0}}return!0}},z=function(){var F={EOF:1,parseError:function(A,J){if(this.yy.parser)this.yy.parser.parseError(A,J);else throw new Error(A)},setInput:function(O,A){return this.yy=A||this.yy||{},this._input=O,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var O=this._input[0];this.yytext+=O,this.yyleng++,this.offset++,this.match+=O,this.matched+=O;var A=O.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return A?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),O},unput:function(O){var A=O.length,J=O.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=O+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-A),this.offset-=A;var C=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),J.length-1&&(this.yylineno-=J.length-1);var ht=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:J?(J.length===C.length?this.yylloc.first_column:0)+C[C.length-J.length].length-J[0].length:this.yylloc.first_column-A},this.options.ranges&&(this.yylloc.range=[ht[0],ht[0]+this.yyleng-A]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(O){this.unput(this.match.slice(O))},pastInput:function(){var O=this.matched.substr(0,this.matched.length-this.match.length);return(O.length>20?\\\"...\\\":\\\"\\\")+O.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var O=this.match;return O.length\u003C20&&(O+=this._input.substr(0,20-O.length)),(O.substr(0,20)+(O.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var O=this.pastInput(),A=new Array(O.length+1).join(\\\"-\\\");return O+this.upcomingInput()+`\\n`+A+\\\"^\\\"},test_match:function(O,A){var J,C,ht;if(this.options.backtrack_lexer&&(ht={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(ht.yylloc.range=this.yylloc.range.slice(0))),C=O[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),C&&(this.yylineno+=C.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:C?C[C.length-1].length-C[C.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+O[0].length},this.yytext+=O[0],this.match+=O[0],this.matches=O,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(O[0].length),this.matched+=O[0],J=this.performAction.call(this,this.yy,this,A,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),J)return J;if(this._backtrack){for(var U in ht)this[U]=ht[U];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var O,A,J,C;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var ht=this._currentRules(),U=0;U\u003Cht.length;U++)if(J=this._input.match(this.rules[ht[U]]),J&&(!A||J[0].length>A[0].length)){if(A=J,C=U,this.options.backtrack_lexer){if(O=this.test_match(J,ht[U]),O!==!1)return O;if(this._backtrack){A=!1;continue}else return!1}else if(!this.options.flex)break}return A?(O=this.test_match(A,ht[C]),O!==!1?O:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var A=this.next();return A||this.lex()},begin:function(A){this.conditionStack.push(A)},popState:function(){var A=this.conditionStack.length-1;return A>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(A){return A=this.conditionStack.length-1-Math.abs(A||0),A>=0?this.conditionStack[A]:\\\"INITIAL\\\"},pushState:function(A){this.begin(A)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(A,J,C,ht){switch(C){case 0:return this.begin(\\\"open_directive\\\"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin(\\\"type_directive\\\"),20;case 6:return this.popState(),this.begin(\\\"arg_directive\\\"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:break;case 10:break;case 11:return this.begin(\\\"acc_title\\\"),39;case 12:return this.popState(),\\\"acc_title_value\\\";case 13:return this.begin(\\\"acc_descr\\\"),41;case 14:return this.popState(),\\\"acc_descr_value\\\";case 15:this.begin(\\\"acc_descr_multiline\\\");break;case 16:this.popState();break;case 17:return\\\"acc_descr_multiline_value\\\";case 18:return 16;case 19:break;case 20:return 23;case 21:return 23;case 22:return this.begin(\\\"struct\\\"),46;case 23:return\\\"EDGE_STATE\\\";case 24:return\\\"EOF_IN_STRUCT\\\";case 25:return\\\"OPEN_IN_STRUCT\\\";case 26:return this.popState(),48;case 27:break;case 28:return\\\"MEMBER\\\";case 29:return 44;case 30:return 74;case 31:return 67;case 32:return 68;case 33:return 70;case 34:return 55;case 35:return 57;case 36:return 49;case 37:return 50;case 38:this.begin(\\\"generic\\\");break;case 39:this.popState();break;case 40:return\\\"GENERICTYPE\\\";case 41:this.begin(\\\"string\\\");break;case 42:this.popState();break;case 43:return\\\"STR\\\";case 44:this.begin(\\\"bqstring\\\");break;case 45:this.popState();break;case 46:return\\\"BQUOTE_STR\\\";case 47:this.begin(\\\"href\\\");break;case 48:this.popState();break;case 49:return 73;case 50:this.begin(\\\"callback_name\\\");break;case 51:this.popState();break;case 52:this.popState(),this.begin(\\\"callback_args\\\");break;case 53:return 71;case 54:this.popState();break;case 55:return 72;case 56:return 69;case 57:return 69;case 58:return 69;case 59:return 69;case 60:return 61;case 61:return 61;case 62:return 63;case 63:return 63;case 64:return 62;case 65:return 60;case 66:return 64;case 67:return 65;case 68:return 66;case 69:return 32;case 70:return 45;case 71:return 86;case 72:return\\\"DOT\\\";case 73:return\\\"PLUS\\\";case 74:return 83;case 75:return\\\"EQUALS\\\";case 76:return\\\"EQUALS\\\";case 77:return 90;case 78:return\\\"PUNCTUATION\\\";case 79:return 89;case 80:return 88;case 81:return 85;case 82:return 25}},rules:[/^(?:%%\\\\{)/,/^(?:.*direction\\\\s+TB[^\\\\n]*)/,/^(?:.*direction\\\\s+BT[^\\\\n]*)/,/^(?:.*direction\\\\s+RL[^\\\\n]*)/,/^(?:.*direction\\\\s+LR[^\\\\n]*)/,/^(?:((?:(?!\\\\}%%)[^:.])*))/,/^(?::)/,/^(?:\\\\}%%)/,/^(?:((?:(?!\\\\}%%).|\\\\n)*))/,/^(?:%%(?!\\\\{)*[^\\\\n]*(\\\\r?\\\\n?)+)/,/^(?:%%[^\\\\n]*(\\\\r?\\\\n)*)/,/^(?:accTitle\\\\s*:\\\\s*)/,/^(?:(?!\\\\n||)*[^\\\\n]*)/,/^(?:accDescr\\\\s*:\\\\s*)/,/^(?:(?!\\\\n||)*[^\\\\n]*)/,/^(?:accDescr\\\\s*\\\\{\\\\s*)/,/^(?:[\\\\}])/,/^(?:[^\\\\}]*)/,/^(?:\\\\s*(\\\\r?\\\\n)+)/,/^(?:\\\\s+)/,/^(?:classDiagram-v2\\\\b)/,/^(?:classDiagram\\\\b)/,/^(?:[{])/,/^(?:\\\\[\\\\*\\\\])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\\\\n])/,/^(?:[^{}\\\\n]*)/,/^(?:class\\\\b)/,/^(?:cssClass\\\\b)/,/^(?:callback\\\\b)/,/^(?:link\\\\b)/,/^(?:click\\\\b)/,/^(?:note for\\\\b)/,/^(?:note\\\\b)/,/^(?:\u003C\u003C)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:[\\\"])/,/^(?:[\\\"])/,/^(?:[^\\\"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\\\\s]+[\\\"])/,/^(?:[\\\"])/,/^(?:[^\\\"]*)/,/^(?:call[\\\\s]+)/,/^(?:\\\\([\\\\s]*\\\\))/,/^(?:\\\\()/,/^(?:[^(]*)/,/^(?:\\\\))/,/^(?:[^)]*)/,/^(?:_self\\\\b)/,/^(?:_blank\\\\b)/,/^(?:_parent\\\\b)/,/^(?:_top\\\\b)/,/^(?:\\\\s*\u003C\\\\|)/,/^(?:\\\\s*\\\\|>)/,/^(?:\\\\s*>)/,/^(?:\\\\s*\u003C)/,/^(?:\\\\s*\\\\*)/,/^(?:\\\\s*o\\\\b)/,/^(?:\\\\s*\\\\(\\\\))/,/^(?:--)/,/^(?:\\\\.\\\\.)/,/^(?::{1}[^:\\\\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\\\\.)/,/^(?:\\\\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\\\\w+)/,/^(?:[!\\\"#$%&'*+,-.`?\\\\\\\\/])/,/^(?:[0-9]+)/,/^(?:[\\\\u00AA\\\\u00B5\\\\u00BA\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6]|[\\\\u00F8-\\\\u02C1\\\\u02C6-\\\\u02D1\\\\u02E0-\\\\u02E4\\\\u02EC\\\\u02EE\\\\u0370-\\\\u0374\\\\u0376\\\\u0377]|[\\\\u037A-\\\\u037D\\\\u0386\\\\u0388-\\\\u038A\\\\u038C\\\\u038E-\\\\u03A1\\\\u03A3-\\\\u03F5]|[\\\\u03F7-\\\\u0481\\\\u048A-\\\\u0527\\\\u0531-\\\\u0556\\\\u0559\\\\u0561-\\\\u0587\\\\u05D0-\\\\u05EA]|[\\\\u05F0-\\\\u05F2\\\\u0620-\\\\u064A\\\\u066E\\\\u066F\\\\u0671-\\\\u06D3\\\\u06D5\\\\u06E5\\\\u06E6\\\\u06EE]|[\\\\u06EF\\\\u06FA-\\\\u06FC\\\\u06FF\\\\u0710\\\\u0712-\\\\u072F\\\\u074D-\\\\u07A5\\\\u07B1\\\\u07CA-\\\\u07EA]|[\\\\u07F4\\\\u07F5\\\\u07FA\\\\u0800-\\\\u0815\\\\u081A\\\\u0824\\\\u0828\\\\u0840-\\\\u0858\\\\u08A0]|[\\\\u08A2-\\\\u08AC\\\\u0904-\\\\u0939\\\\u093D\\\\u0950\\\\u0958-\\\\u0961\\\\u0971-\\\\u0977]|[\\\\u0979-\\\\u097F\\\\u0985-\\\\u098C\\\\u098F\\\\u0990\\\\u0993-\\\\u09A8\\\\u09AA-\\\\u09B0\\\\u09B2]|[\\\\u09B6-\\\\u09B9\\\\u09BD\\\\u09CE\\\\u09DC\\\\u09DD\\\\u09DF-\\\\u09E1\\\\u09F0\\\\u09F1\\\\u0A05-\\\\u0A0A]|[\\\\u0A0F\\\\u0A10\\\\u0A13-\\\\u0A28\\\\u0A2A-\\\\u0A30\\\\u0A32\\\\u0A33\\\\u0A35\\\\u0A36\\\\u0A38\\\\u0A39]|[\\\\u0A59-\\\\u0A5C\\\\u0A5E\\\\u0A72-\\\\u0A74\\\\u0A85-\\\\u0A8D\\\\u0A8F-\\\\u0A91\\\\u0A93-\\\\u0AA8]|[\\\\u0AAA-\\\\u0AB0\\\\u0AB2\\\\u0AB3\\\\u0AB5-\\\\u0AB9\\\\u0ABD\\\\u0AD0\\\\u0AE0\\\\u0AE1\\\\u0B05-\\\\u0B0C]|[\\\\u0B0F\\\\u0B10\\\\u0B13-\\\\u0B28\\\\u0B2A-\\\\u0B30\\\\u0B32\\\\u0B33\\\\u0B35-\\\\u0B39\\\\u0B3D\\\\u0B5C]|[\\\\u0B5D\\\\u0B5F-\\\\u0B61\\\\u0B71\\\\u0B83\\\\u0B85-\\\\u0B8A\\\\u0B8E-\\\\u0B90\\\\u0B92-\\\\u0B95\\\\u0B99]|[\\\\u0B9A\\\\u0B9C\\\\u0B9E\\\\u0B9F\\\\u0BA3\\\\u0BA4\\\\u0BA8-\\\\u0BAA\\\\u0BAE-\\\\u0BB9\\\\u0BD0]|[\\\\u0C05-\\\\u0C0C\\\\u0C0E-\\\\u0C10\\\\u0C12-\\\\u0C28\\\\u0C2A-\\\\u0C33\\\\u0C35-\\\\u0C39\\\\u0C3D]|[\\\\u0C58\\\\u0C59\\\\u0C60\\\\u0C61\\\\u0C85-\\\\u0C8C\\\\u0C8E-\\\\u0C90\\\\u0C92-\\\\u0CA8\\\\u0CAA-\\\\u0CB3]|[\\\\u0CB5-\\\\u0CB9\\\\u0CBD\\\\u0CDE\\\\u0CE0\\\\u0CE1\\\\u0CF1\\\\u0CF2\\\\u0D05-\\\\u0D0C\\\\u0D0E-\\\\u0D10]|[\\\\u0D12-\\\\u0D3A\\\\u0D3D\\\\u0D4E\\\\u0D60\\\\u0D61\\\\u0D7A-\\\\u0D7F\\\\u0D85-\\\\u0D96\\\\u0D9A-\\\\u0DB1]|[\\\\u0DB3-\\\\u0DBB\\\\u0DBD\\\\u0DC0-\\\\u0DC6\\\\u0E01-\\\\u0E30\\\\u0E32\\\\u0E33\\\\u0E40-\\\\u0E46\\\\u0E81]|[\\\\u0E82\\\\u0E84\\\\u0E87\\\\u0E88\\\\u0E8A\\\\u0E8D\\\\u0E94-\\\\u0E97\\\\u0E99-\\\\u0E9F\\\\u0EA1-\\\\u0EA3]|[\\\\u0EA5\\\\u0EA7\\\\u0EAA\\\\u0EAB\\\\u0EAD-\\\\u0EB0\\\\u0EB2\\\\u0EB3\\\\u0EBD\\\\u0EC0-\\\\u0EC4\\\\u0EC6]|[\\\\u0EDC-\\\\u0EDF\\\\u0F00\\\\u0F40-\\\\u0F47\\\\u0F49-\\\\u0F6C\\\\u0F88-\\\\u0F8C\\\\u1000-\\\\u102A]|[\\\\u103F\\\\u1050-\\\\u1055\\\\u105A-\\\\u105D\\\\u1061\\\\u1065\\\\u1066\\\\u106E-\\\\u1070\\\\u1075-\\\\u1081]|[\\\\u108E\\\\u10A0-\\\\u10C5\\\\u10C7\\\\u10CD\\\\u10D0-\\\\u10FA\\\\u10FC-\\\\u1248\\\\u124A-\\\\u124D]|[\\\\u1250-\\\\u1256\\\\u1258\\\\u125A-\\\\u125D\\\\u1260-\\\\u1288\\\\u128A-\\\\u128D\\\\u1290-\\\\u12B0]|[\\\\u12B2-\\\\u12B5\\\\u12B8-\\\\u12BE\\\\u12C0\\\\u12C2-\\\\u12C5\\\\u12C8-\\\\u12D6\\\\u12D8-\\\\u1310]|[\\\\u1312-\\\\u1315\\\\u1318-\\\\u135A\\\\u1380-\\\\u138F\\\\u13A0-\\\\u13F4\\\\u1401-\\\\u166C]|[\\\\u166F-\\\\u167F\\\\u1681-\\\\u169A\\\\u16A0-\\\\u16EA\\\\u1700-\\\\u170C\\\\u170E-\\\\u1711]|[\\\\u1720-\\\\u1731\\\\u1740-\\\\u1751\\\\u1760-\\\\u176C\\\\u176E-\\\\u1770\\\\u1780-\\\\u17B3\\\\u17D7]|[\\\\u17DC\\\\u1820-\\\\u1877\\\\u1880-\\\\u18A8\\\\u18AA\\\\u18B0-\\\\u18F5\\\\u1900-\\\\u191C]|[\\\\u1950-\\\\u196D\\\\u1970-\\\\u1974\\\\u1980-\\\\u19AB\\\\u19C1-\\\\u19C7\\\\u1A00-\\\\u1A16]|[\\\\u1A20-\\\\u1A54\\\\u1AA7\\\\u1B05-\\\\u1B33\\\\u1B45-\\\\u1B4B\\\\u1B83-\\\\u1BA0\\\\u1BAE\\\\u1BAF]|[\\\\u1BBA-\\\\u1BE5\\\\u1C00-\\\\u1C23\\\\u1C4D-\\\\u1C4F\\\\u1C5A-\\\\u1C7D\\\\u1CE9-\\\\u1CEC]|[\\\\u1CEE-\\\\u1CF1\\\\u1CF5\\\\u1CF6\\\\u1D00-\\\\u1DBF\\\\u1E00-\\\\u1F15\\\\u1F18-\\\\u1F1D]|[\\\\u1F20-\\\\u1F45\\\\u1F48-\\\\u1F4D\\\\u1F50-\\\\u1F57\\\\u1F59\\\\u1F5B\\\\u1F5D\\\\u1F5F-\\\\u1F7D]|[\\\\u1F80-\\\\u1FB4\\\\u1FB6-\\\\u1FBC\\\\u1FBE\\\\u1FC2-\\\\u1FC4\\\\u1FC6-\\\\u1FCC\\\\u1FD0-\\\\u1FD3]|[\\\\u1FD6-\\\\u1FDB\\\\u1FE0-\\\\u1FEC\\\\u1FF2-\\\\u1FF4\\\\u1FF6-\\\\u1FFC\\\\u2071\\\\u207F]|[\\\\u2090-\\\\u209C\\\\u2102\\\\u2107\\\\u210A-\\\\u2113\\\\u2115\\\\u2119-\\\\u211D\\\\u2124\\\\u2126\\\\u2128]|[\\\\u212A-\\\\u212D\\\\u212F-\\\\u2139\\\\u213C-\\\\u213F\\\\u2145-\\\\u2149\\\\u214E\\\\u2183\\\\u2184]|[\\\\u2C00-\\\\u2C2E\\\\u2C30-\\\\u2C5E\\\\u2C60-\\\\u2CE4\\\\u2CEB-\\\\u2CEE\\\\u2CF2\\\\u2CF3]|[\\\\u2D00-\\\\u2D25\\\\u2D27\\\\u2D2D\\\\u2D30-\\\\u2D67\\\\u2D6F\\\\u2D80-\\\\u2D96\\\\u2DA0-\\\\u2DA6]|[\\\\u2DA8-\\\\u2DAE\\\\u2DB0-\\\\u2DB6\\\\u2DB8-\\\\u2DBE\\\\u2DC0-\\\\u2DC6\\\\u2DC8-\\\\u2DCE]|[\\\\u2DD0-\\\\u2DD6\\\\u2DD8-\\\\u2DDE\\\\u2E2F\\\\u3005\\\\u3006\\\\u3031-\\\\u3035\\\\u303B\\\\u303C]|[\\\\u3041-\\\\u3096\\\\u309D-\\\\u309F\\\\u30A1-\\\\u30FA\\\\u30FC-\\\\u30FF\\\\u3105-\\\\u312D]|[\\\\u3131-\\\\u318E\\\\u31A0-\\\\u31BA\\\\u31F0-\\\\u31FF\\\\u3400-\\\\u4DB5\\\\u4E00-\\\\u9FCC]|[\\\\uA000-\\\\uA48C\\\\uA4D0-\\\\uA4FD\\\\uA500-\\\\uA60C\\\\uA610-\\\\uA61F\\\\uA62A\\\\uA62B]|[\\\\uA640-\\\\uA66E\\\\uA67F-\\\\uA697\\\\uA6A0-\\\\uA6E5\\\\uA717-\\\\uA71F\\\\uA722-\\\\uA788]|[\\\\uA78B-\\\\uA78E\\\\uA790-\\\\uA793\\\\uA7A0-\\\\uA7AA\\\\uA7F8-\\\\uA801\\\\uA803-\\\\uA805]|[\\\\uA807-\\\\uA80A\\\\uA80C-\\\\uA822\\\\uA840-\\\\uA873\\\\uA882-\\\\uA8B3\\\\uA8F2-\\\\uA8F7\\\\uA8FB]|[\\\\uA90A-\\\\uA925\\\\uA930-\\\\uA946\\\\uA960-\\\\uA97C\\\\uA984-\\\\uA9B2\\\\uA9CF\\\\uAA00-\\\\uAA28]|[\\\\uAA40-\\\\uAA42\\\\uAA44-\\\\uAA4B\\\\uAA60-\\\\uAA76\\\\uAA7A\\\\uAA80-\\\\uAAAF\\\\uAAB1\\\\uAAB5]|[\\\\uAAB6\\\\uAAB9-\\\\uAABD\\\\uAAC0\\\\uAAC2\\\\uAADB-\\\\uAADD\\\\uAAE0-\\\\uAAEA\\\\uAAF2-\\\\uAAF4]|[\\\\uAB01-\\\\uAB06\\\\uAB09-\\\\uAB0E\\\\uAB11-\\\\uAB16\\\\uAB20-\\\\uAB26\\\\uAB28-\\\\uAB2E]|[\\\\uABC0-\\\\uABE2\\\\uAC00-\\\\uD7A3\\\\uD7B0-\\\\uD7C6\\\\uD7CB-\\\\uD7FB\\\\uF900-\\\\uFA6D]|[\\\\uFA70-\\\\uFAD9\\\\uFB00-\\\\uFB06\\\\uFB13-\\\\uFB17\\\\uFB1D\\\\uFB1F-\\\\uFB28\\\\uFB2A-\\\\uFB36]|[\\\\uFB38-\\\\uFB3C\\\\uFB3E\\\\uFB40\\\\uFB41\\\\uFB43\\\\uFB44\\\\uFB46-\\\\uFBB1\\\\uFBD3-\\\\uFD3D]|[\\\\uFD50-\\\\uFD8F\\\\uFD92-\\\\uFDC7\\\\uFDF0-\\\\uFDFB\\\\uFE70-\\\\uFE74\\\\uFE76-\\\\uFEFC]|[\\\\uFF21-\\\\uFF3A\\\\uFF41-\\\\uFF5A\\\\uFF66-\\\\uFFBE\\\\uFFC2-\\\\uFFC7\\\\uFFCA-\\\\uFFCF]|[\\\\uFFD2-\\\\uFFD7\\\\uFFDA-\\\\uFFDC])/,/^(?:\\\\s)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[54,55],inclusive:!1},callback_name:{rules:[51,52,53],inclusive:!1},href:{rules:[48,49],inclusive:!1},struct:{rules:[23,24,25,26,27,28],inclusive:!1},generic:{rules:[39,40],inclusive:!1},bqstring:{rules:[45,46],inclusive:!1},string:{rules:[42,43],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,29,30,31,32,33,34,35,36,37,38,41,44,47,50,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82],inclusive:!0}}};return F}();P.lexer=z;function X(){this.yy={}}return X.prototype=P,P.Parser=X,new X}();F1.parser=F1;const Dg=F1,MC=(t,e)=>{var r;return((r=e==null?void 0:e.class)==null?void 0:r.defaultRenderer)===\\\"dagre-wrapper\\\"?!1:t.match(/^\\\\s*classDiagram/)!==null},NC=(t,e)=>{var r;return t.match(/^\\\\s*classDiagram/)!==null&&((r=e==null?void 0:e.class)==null?void 0:r.defaultRenderer)===\\\"dagre-wrapper\\\"?!0:t.match(/^\\\\s*classDiagram-v2/)!==null},P1=\\\"classid-\\\";let Y1=[],Ke={},Wc=[],Mg=0,ko=[];const wo=t=>he.sanitizeText(t,$()),BC=function(t,e,r){ze.parseDirective(this,t,e,r)},To=function(t){let e=\\\"\\\",r=t;if(t.indexOf(\\\"~\\\")>0){let n=t.split(\\\"~\\\");r=n[0],e=he.sanitizeText(n[1],$())}return{className:r,type:e}},V1=function(t){let e=To(t);Ke[e.className]===void 0&&(Ke[e.className]={id:e.className,type:e.type,cssClasses:[],methods:[],members:[],annotations:[],domId:P1+e.className+\\\"-\\\"+Mg},Mg++)},Ng=function(t){const e=Object.keys(Ke);for(const r of e)if(Ke[r].id===t)return Ke[r].domId},IC=function(){Y1=[],Ke={},Wc=[],ko=[],ko.push(Ig),vn()},OC=function(t){return Ke[t]},RC=function(){return Ke},FC=function(){return Y1},PC=function(){return Wc},YC=function(t){B.debug(\\\"Adding relation: \\\"+JSON.stringify(t)),V1(t.id1),V1(t.id2),t.id1=To(t.id1).className,t.id2=To(t.id2).className,t.relationTitle1=he.sanitizeText(t.relationTitle1.trim(),$()),t.relationTitle2=he.sanitizeText(t.relationTitle2.trim(),$()),Y1.push(t)},VC=function(t,e){const r=To(t).className;Ke[r].annotations.push(e)},Bg=function(t,e){const r=To(t).className,n=Ke[r];if(typeof e==\\\"string\\\"){const i=e.trim();i.startsWith(\\\"\u003C\u003C\\\")&&i.endsWith(\\\">>\\\")?n.annotations.push(wo(i.substring(2,i.length-2))):i.indexOf(\\\")\\\")>0?n.methods.push(wo(i)):i&&n.members.push(wo(i))}},UC=function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach(r=>Bg(t,r)))},zC=function(t,e){const r={id:`note${Wc.length}`,class:e,text:t};Wc.push(r)},WC=function(t){return t.substring(0,1)===\\\":\\\"?he.sanitizeText(t.substr(1).trim(),$()):wo(t.trim())},U1=function(t,e){t.split(\\\",\\\").forEach(function(r){let n=r;r[0].match(/\\\\d/)&&(n=P1+n),Ke[n]!==void 0&&Ke[n].cssClasses.push(e)})},HC=function(t,e){const r=$();t.split(\\\",\\\").forEach(function(n){e!==void 0&&(Ke[n].tooltip=he.sanitizeText(e,r))})},GC=function(t){return Ke[t].tooltip},qC=function(t,e,r){const n=$();t.split(\\\",\\\").forEach(function(i){let s=i;i[0].match(/\\\\d/)&&(s=P1+s),Ke[s]!==void 0&&(Ke[s].link=ge.formatUrl(e,n),n.securityLevel===\\\"sandbox\\\"?Ke[s].linkTarget=\\\"_top\\\":typeof r==\\\"string\\\"?Ke[s].linkTarget=wo(r):Ke[s].linkTarget=\\\"_blank\\\")}),U1(t,\\\"clickable\\\")},jC=function(t,e,r){t.split(\\\",\\\").forEach(function(n){$C(n,e,r),Ke[n].haveCallback=!0}),U1(t,\\\"clickable\\\")},$C=function(t,e,r){const n=$();let i=t,s=Ng(i);if(n.securityLevel===\\\"loose\\\"&&e!==void 0&&Ke[i]!==void 0){let a=[];if(typeof r==\\\"string\\\"){a=r.split(/,(?=(?:(?:[^\\\"]*\\\"){2})*[^\\\"]*$)/);for(let o=0;o\u003Ca.length;o++){let l=a[o].trim();l.charAt(0)==='\\\"'&&l.charAt(l.length-1)==='\\\"'&&(l=l.substr(1,l.length-2)),a[o]=l}}a.length===0&&a.push(s),ko.push(function(){const o=document.querySelector(`[id=\\\"${s}\\\"]`);o!==null&&o.addEventListener(\\\"click\\\",function(){ge.runFunc(e,...a)},!1)})}},XC=function(t){ko.forEach(function(e){e(t)})},KC={LINE:0,DOTTED_LINE:1},ZC={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},Ig=function(t){let e=St(\\\".mermaidTooltip\\\");(e._groups||e)[0][0]===null&&(e=St(\\\"body\\\").append(\\\"div\\\").attr(\\\"class\\\",\\\"mermaidTooltip\\\").style(\\\"opacity\\\",0)),St(t).select(\\\"svg\\\").selectAll(\\\"g.node\\\").on(\\\"mouseover\\\",function(){const i=St(this);if(i.attr(\\\"title\\\")===null)return;const a=this.getBoundingClientRect();e.transition().duration(200).style(\\\"opacity\\\",\\\".9\\\"),e.text(i.attr(\\\"title\\\")).style(\\\"left\\\",window.scrollX+a.left+(a.right-a.left)/2+\\\"px\\\").style(\\\"top\\\",window.scrollY+a.top-14+document.body.scrollTop+\\\"px\\\"),e.html(e.html().replace(/<br\\\\/>/g,\\\"\u003Cbr/>\\\")),i.classed(\\\"hover\\\",!0)}).on(\\\"mouseout\\\",function(){e.transition().duration(500).style(\\\"opacity\\\",0),St(this).classed(\\\"hover\\\",!1)})};ko.push(Ig);let Og=\\\"TB\\\";const fa={parseDirective:BC,setAccTitle:nn,getAccTitle:kn,getAccDescription:Tn,setAccDescription:wn,getConfig:()=>$().class,addClass:V1,bindFunctions:XC,clear:IC,getClass:OC,getClasses:RC,getNotes:PC,addAnnotation:VC,addNote:zC,getRelations:FC,addRelation:YC,getDirection:()=>Og,setDirection:t=>{Og=t},addMember:Bg,addMembers:UC,cleanupLabel:WC,lineType:KC,relationType:ZC,setClickEvent:jC,setCssClass:U1,setLink:qC,getTooltip:GC,setTooltip:HC,lookUpDomId:Ng,setDiagramTitle:hi,getDiagramTitle:di};function Hn(t){return t!=null&&typeof t==\\\"object\\\"}var QC=\\\"[object Symbol]\\\";function ks(t){return typeof t==\\\"symbol\\\"||Hn(t)&&ps(t)==QC}function pa(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r\u003Cn;)i[r]=e(t[r],r,t);return i}var JC=Array.isArray;const nr=JC;var t9=1/0,Rg=en?en.prototype:void 0,Fg=Rg?Rg.toString:void 0;function Pg(t){if(typeof t==\\\"string\\\")return t;if(nr(t))return pa(t,Pg)+\\\"\\\";if(ks(t))return Fg?Fg.call(t):\\\"\\\";var e=t+\\\"\\\";return e==\\\"0\\\"&&1/t==-t9?\\\"-0\\\":e}var e9=/\\\\s/;function r9(t){for(var e=t.length;e--&&e9.test(t.charAt(e)););return e}var n9=/^\\\\s+/;function i9(t){return t&&t.slice(0,r9(t)+1).replace(n9,\\\"\\\")}var Yg=0/0,s9=/^[-+]0x[0-9a-f]+$/i,a9=/^0b[01]+$/i,o9=/^0o[0-7]+$/i,l9=parseInt;function c9(t){if(typeof t==\\\"number\\\")return t;if(ks(t))return Yg;if(Gr(t)){var e=typeof t.valueOf==\\\"function\\\"?t.valueOf():t;t=Gr(e)?e+\\\"\\\":e}if(typeof t!=\\\"string\\\")return t===0?t:+t;t=i9(t);var r=a9.test(t);return r||o9.test(t)?l9(t.slice(2),r?2:8):s9.test(t)?Yg:+t}var Vg=1/0,u9=17976931348623157e292;function Hc(t){if(!t)return t===0?t:0;if(t=c9(t),t===Vg||t===-Vg){var e=t\u003C0?-1:1;return e*u9}return t===t?t:0}function h9(t){var e=Hc(t),r=e%1;return e===e?r?e-r:e:0}function ws(t){return t}var d9=ys(mn,\\\"WeakMap\\\");const z1=d9;var Ug=Object.create,f9=function(){function t(){}return function(e){if(!Gr(e))return{};if(Ug)return Ug(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();const p9=f9;function g9(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function y9(){}function zg(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r\u003Cn;)e[r]=t[r];return e}var m9=800,b9=16,_9=Date.now;function x9(t){var e=0,r=0;return function(){var n=_9(),i=b9-(n-r);if(r=n,i>0){if(++e>=m9)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function ga(t){return function(){return t}}var v9=function(){try{var t=ys(Object,\\\"defineProperty\\\");return t({},\\\"\\\",{}),t}catch{}}();const Gc=v9;var k9=Gc?function(t,e){return Gc(t,\\\"toString\\\",{configurable:!0,enumerable:!1,value:ga(e),writable:!0})}:ws,w9=x9(k9);const Wg=w9;function Hg(t,e){for(var r=-1,n=t==null?0:t.length;++r\u003Cn&&e(t[r],r,t)!==!1;);return t}function Gg(t,e,r,n){for(var i=t.length,s=r+(n?1:-1);n?s--:++s\u003Ci;)if(e(t[s],s,t))return s;return-1}function T9(t){return t!==t}function E9(t,e,r){for(var n=r-1,i=t.length;++n\u003Ci;)if(t[n]===e)return n;return-1}function C9(t,e,r){return e===e?E9(t,e,r):Gg(t,T9,r)}function S9(t,e){var r=t==null?0:t.length;return!!r&&C9(t,e,0)>-1}var A9=9007199254740991,L9=/^(?:0|[1-9]\\\\d*)$/;function qc(t,e){var r=typeof t;return e=e==null?A9:e,!!e&&(r==\\\"number\\\"||r!=\\\"symbol\\\"&&L9.test(t))&&t>-1&&t%1==0&&t\u003Ce}function jc(t,e,r){e==\\\"__proto__\\\"&&Gc?Gc(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var D9=Object.prototype,M9=D9.hasOwnProperty;function $c(t,e,r){var n=t[e];(!(M9.call(t,e)&&oa(n,r))||r===void 0&&!(e in t))&&jc(t,e,r)}function Eo(t,e,r,n){var i=!r;r||(r={});for(var s=-1,a=e.length;++s\u003Ca;){var o=e[s],l=n?n(r[o],t[o],o,r,t):void 0;l===void 0&&(l=t[o]),i?jc(r,o,l):$c(r,o,l)}return r}var qg=Math.max;function jg(t,e,r){return e=qg(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,s=qg(n.length-e,0),a=Array(s);++i\u003Cs;)a[i]=n[e+i];i=-1;for(var o=Array(e+1);++i\u003Ce;)o[i]=n[i];return o[e]=r(a),g9(t,this,o)}}function Xc(t,e){return Wg(jg(t,e,ws),t+\\\"\\\")}var N9=9007199254740991;function W1(t){return typeof t==\\\"number\\\"&&t>-1&&t%1==0&&t\u003C=N9}function Hi(t){return t!=null&&W1(t.length)&&!aa(t)}function Co(t,e,r){if(!Gr(r))return!1;var n=typeof e;return(n==\\\"number\\\"?Hi(r)&&qc(e,r.length):n==\\\"string\\\"&&e in r)?oa(r[e],t):!1}function B9(t){return Xc(function(e,r){var n=-1,i=r.length,s=i>1?r[i-1]:void 0,a=i>2?r[2]:void 0;for(s=t.length>3&&typeof s==\\\"function\\\"?(i--,s):void 0,a&&Co(r[0],r[1],a)&&(s=i\u003C3?void 0:s,i=1),e=Object(e);++n\u003Ci;){var o=r[n];o&&t(e,o,n,s)}return e})}var I9=Object.prototype;function Kc(t){var e=t&&t.constructor,r=typeof e==\\\"function\\\"&&e.prototype||I9;return t===r}function O9(t,e){for(var r=-1,n=Array(t);++r\u003Ct;)n[r]=e(r);return n}var R9=\\\"[object Arguments]\\\";function $g(t){return Hn(t)&&ps(t)==R9}var Xg=Object.prototype,F9=Xg.hasOwnProperty,P9=Xg.propertyIsEnumerable,Y9=$g(function(){return arguments}())?$g:function(t){return Hn(t)&&F9.call(t,\\\"callee\\\")&&!P9.call(t,\\\"callee\\\")};const ya=Y9;function V9(){return!1}var Kg=typeof exports==\\\"object\\\"&&exports&&!exports.nodeType&&exports,Zg=Kg&&typeof module==\\\"object\\\"&&module&&!module.nodeType&&module,U9=Zg&&Zg.exports===Kg,Qg=U9?mn.Buffer:void 0,z9=Qg?Qg.isBuffer:void 0,W9=z9||V9;const ma=W9;var H9=\\\"[object Arguments]\\\",G9=\\\"[object Array]\\\",q9=\\\"[object Boolean]\\\",j9=\\\"[object Date]\\\",$9=\\\"[object Error]\\\",X9=\\\"[object Function]\\\",K9=\\\"[object Map]\\\",Z9=\\\"[object Number]\\\",Q9=\\\"[object Object]\\\",J9=\\\"[object RegExp]\\\",tS=\\\"[object Set]\\\",eS=\\\"[object String]\\\",rS=\\\"[object WeakMap]\\\",nS=\\\"[object ArrayBuffer]\\\",iS=\\\"[object DataView]\\\",sS=\\\"[object Float32Array]\\\",aS=\\\"[object Float64Array]\\\",oS=\\\"[object Int8Array]\\\",lS=\\\"[object Int16Array]\\\",cS=\\\"[object Int32Array]\\\",uS=\\\"[object Uint8Array]\\\",hS=\\\"[object Uint8ClampedArray]\\\",dS=\\\"[object Uint16Array]\\\",fS=\\\"[object Uint32Array]\\\",Fe={};Fe[sS]=Fe[aS]=Fe[oS]=Fe[lS]=Fe[cS]=Fe[uS]=Fe[hS]=Fe[dS]=Fe[fS]=!0,Fe[H9]=Fe[G9]=Fe[nS]=Fe[q9]=Fe[iS]=Fe[j9]=Fe[$9]=Fe[X9]=Fe[K9]=Fe[Z9]=Fe[Q9]=Fe[J9]=Fe[tS]=Fe[eS]=Fe[rS]=!1;function pS(t){return Hn(t)&&W1(t.length)&&!!Fe[ps(t)]}function Zc(t){return function(e){return t(e)}}var Jg=typeof exports==\\\"object\\\"&&exports&&!exports.nodeType&&exports,So=Jg&&typeof module==\\\"object\\\"&&module&&!module.nodeType&&module,gS=So&&So.exports===Jg,H1=gS&&Dp.process,yS=function(){try{var t=So&&So.require&&So.require(\\\"util\\\").types;return t||H1&&H1.binding&&H1.binding(\\\"util\\\")}catch{}}();const ba=yS;var ty=ba&&ba.isTypedArray,mS=ty?Zc(ty):pS;const Qc=mS;var bS=Object.prototype,_S=bS.hasOwnProperty;function ey(t,e){var r=nr(t),n=!r&&ya(t),i=!r&&!n&&ma(t),s=!r&&!n&&!i&&Qc(t),a=r||n||i||s,o=a?O9(t.length,String):[],l=o.length;for(var u in t)(e||_S.call(t,u))&&!(a&&(u==\\\"length\\\"||i&&(u==\\\"offset\\\"||u==\\\"parent\\\")||s&&(u==\\\"buffer\\\"||u==\\\"byteLength\\\"||u==\\\"byteOffset\\\")||qc(u,l)))&&o.push(u);return o}function ry(t,e){return function(r){return t(e(r))}}var xS=ry(Object.keys,Object);const vS=xS;var kS=Object.prototype,wS=kS.hasOwnProperty;function ny(t){if(!Kc(t))return vS(t);var e=[];for(var r in Object(t))wS.call(t,r)&&r!=\\\"constructor\\\"&&e.push(r);return e}function jr(t){return Hi(t)?ey(t):ny(t)}function TS(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var ES=Object.prototype,CS=ES.hasOwnProperty;function SS(t){if(!Gr(t))return TS(t);var e=Kc(t),r=[];for(var n in t)n==\\\"constructor\\\"&&(e||!CS.call(t,n))||r.push(n);return r}function Ts(t){return Hi(t)?ey(t,!0):SS(t)}var AS=/\\\\.|\\\\[(?:[^[\\\\]]*|([\\\"'])(?:(?!\\\\1)[^\\\\\\\\]|\\\\\\\\.)*?\\\\1)\\\\]/,LS=/^\\\\w*$/;function G1(t,e){if(nr(t))return!1;var r=typeof t;return r==\\\"number\\\"||r==\\\"symbol\\\"||r==\\\"boolean\\\"||t==null||ks(t)?!0:LS.test(t)||!AS.test(t)||e!=null&&t in Object(e)}var DS=500;function MS(t){var e=la(t,function(n){return r.size===DS&&r.clear(),n}),r=e.cache;return e}var NS=/[^.[\\\\]]+|\\\\[(?:(-?\\\\d+(?:\\\\.\\\\d+)?)|([\\\"'])((?:(?!\\\\2)[^\\\\\\\\]|\\\\\\\\.)*?)\\\\2)\\\\]|(?=(?:\\\\.|\\\\[\\\\])(?:\\\\.|\\\\[\\\\]|$))/g,BS=/\\\\\\\\(\\\\\\\\)?/g,IS=MS(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(\\\"\\\"),t.replace(NS,function(r,n,i,s){e.push(i?s.replace(BS,\\\"$1\\\"):n||r)}),e});const OS=IS;function iy(t){return t==null?\\\"\\\":Pg(t)}function Jc(t,e){return nr(t)?t:G1(t,e)?[t]:OS(iy(t))}var RS=1/0;function Ao(t){if(typeof t==\\\"string\\\"||ks(t))return t;var e=t+\\\"\\\";return e==\\\"0\\\"&&1/t==-RS?\\\"-0\\\":e}function tu(t,e){e=Jc(e,t);for(var r=0,n=e.length;t!=null&&r\u003Cn;)t=t[Ao(e[r++])];return r&&r==n?t:void 0}function FS(t,e,r){var n=t==null?void 0:tu(t,e);return n===void 0?r:n}function q1(t,e){for(var r=-1,n=e.length,i=t.length;++r\u003Cn;)t[i+r]=e[r];return t}var sy=en?en.isConcatSpreadable:void 0;function PS(t){return nr(t)||ya(t)||!!(sy&&t&&t[sy])}function eu(t,e,r,n,i){var s=-1,a=t.length;for(r||(r=PS),i||(i=[]);++s\u003Ca;){var o=t[s];e>0&&r(o)?e>1?eu(o,e-1,r,n,i):q1(i,o):n||(i[i.length]=o)}return i}function _a(t){var e=t==null?0:t.length;return e?eu(t,1):[]}function YS(t){return Wg(jg(t,void 0,_a),t+\\\"\\\")}var VS=ry(Object.getPrototypeOf,Object);const j1=VS;var US=\\\"[object Object]\\\",zS=Function.prototype,WS=Object.prototype,ay=zS.toString,HS=WS.hasOwnProperty,GS=ay.call(Object);function oy(t){if(!Hn(t)||ps(t)!=US)return!1;var e=j1(t);if(e===null)return!0;var r=HS.call(e,\\\"constructor\\\")&&e.constructor;return typeof r==\\\"function\\\"&&r instanceof r&&ay.call(r)==GS}function qS(t,e,r,n){var i=-1,s=t==null?0:t.length;for(n&&s&&(r=t[++i]);++i\u003Cs;)r=e(r,t[i],i,t);return r}function jS(){this.__data__=new ci,this.size=0}function $S(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function XS(t){return this.__data__.get(t)}function KS(t){return this.__data__.has(t)}var ZS=200;function QS(t,e){var r=this.__data__;if(r instanceof ci){var n=r.__data__;if(!uo||n.length\u003CZS-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new ui(n)}return r.set(t,e),this.size=r.size,this}function An(t){var e=this.__data__=new ci(t);this.size=e.size}An.prototype.clear=jS,An.prototype.delete=$S,An.prototype.get=XS,An.prototype.has=KS,An.prototype.set=QS;function JS(t,e){return t&&Eo(e,jr(e),t)}function tA(t,e){return t&&Eo(e,Ts(e),t)}var ly=typeof exports==\\\"object\\\"&&exports&&!exports.nodeType&&exports,cy=ly&&typeof module==\\\"object\\\"&&module&&!module.nodeType&&module,eA=cy&&cy.exports===ly,uy=eA?mn.Buffer:void 0,hy=uy?uy.allocUnsafe:void 0;function dy(t,e){if(e)return t.slice();var r=t.length,n=hy?hy(r):new t.constructor(r);return t.copy(n),n}function fy(t,e){for(var r=-1,n=t==null?0:t.length,i=0,s=[];++r\u003Cn;){var a=t[r];e(a,r,t)&&(s[i++]=a)}return s}function py(){return[]}var rA=Object.prototype,nA=rA.propertyIsEnumerable,gy=Object.getOwnPropertySymbols,iA=gy?function(t){return t==null?[]:(t=Object(t),fy(gy(t),function(e){return nA.call(t,e)}))}:py;const $1=iA;function sA(t,e){return Eo(t,$1(t),e)}var aA=Object.getOwnPropertySymbols,oA=aA?function(t){for(var e=[];t;)q1(e,$1(t)),t=j1(t);return e}:py;const yy=oA;function lA(t,e){return Eo(t,yy(t),e)}function my(t,e,r){var n=e(t);return nr(t)?n:q1(n,r(t))}function X1(t){return my(t,jr,$1)}function cA(t){return my(t,Ts,yy)}var uA=ys(mn,\\\"DataView\\\");const K1=uA;var hA=ys(mn,\\\"Promise\\\");const Z1=hA;var dA=ys(mn,\\\"Set\\\");const xa=dA;var by=\\\"[object Map]\\\",fA=\\\"[object Object]\\\",_y=\\\"[object Promise]\\\",xy=\\\"[object Set]\\\",vy=\\\"[object WeakMap]\\\",ky=\\\"[object DataView]\\\",pA=gs(K1),gA=gs(uo),yA=gs(Z1),mA=gs(xa),bA=gs(z1),Es=ps;(K1&&Es(new K1(new ArrayBuffer(1)))!=ky||uo&&Es(new uo)!=by||Z1&&Es(Z1.resolve())!=_y||xa&&Es(new xa)!=xy||z1&&Es(new z1)!=vy)&&(Es=function(t){var e=ps(t),r=e==fA?t.constructor:void 0,n=r?gs(r):\\\"\\\";if(n)switch(n){case pA:return ky;case gA:return by;case yA:return _y;case mA:return xy;case bA:return vy}return e});const va=Es;var _A=Object.prototype,xA=_A.hasOwnProperty;function vA(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]==\\\"string\\\"&&xA.call(t,\\\"index\\\")&&(r.index=t.index,r.input=t.input),r}var kA=mn.Uint8Array;const ru=kA;function Q1(t){var e=new t.constructor(t.byteLength);return new ru(e).set(new ru(t)),e}function wA(t,e){var r=e?Q1(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var TA=/\\\\w*$/;function EA(t){var e=new t.constructor(t.source,TA.exec(t));return e.lastIndex=t.lastIndex,e}var wy=en?en.prototype:void 0,Ty=wy?wy.valueOf:void 0;function CA(t){return Ty?Object(Ty.call(t)):{}}function Ey(t,e){var r=e?Q1(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var SA=\\\"[object Boolean]\\\",AA=\\\"[object Date]\\\",LA=\\\"[object Map]\\\",DA=\\\"[object Number]\\\",MA=\\\"[object RegExp]\\\",NA=\\\"[object Set]\\\",BA=\\\"[object String]\\\",IA=\\\"[object Symbol]\\\",OA=\\\"[object ArrayBuffer]\\\",RA=\\\"[object DataView]\\\",FA=\\\"[object Float32Array]\\\",PA=\\\"[object Float64Array]\\\",YA=\\\"[object Int8Array]\\\",VA=\\\"[object Int16Array]\\\",UA=\\\"[object Int32Array]\\\",zA=\\\"[object Uint8Array]\\\",WA=\\\"[object Uint8ClampedArray]\\\",HA=\\\"[object Uint16Array]\\\",GA=\\\"[object Uint32Array]\\\";function qA(t,e,r){var n=t.constructor;switch(e){case OA:return Q1(t);case SA:case AA:return new n(+t);case RA:return wA(t,r);case FA:case PA:case YA:case VA:case UA:case zA:case WA:case HA:case GA:return Ey(t,r);case LA:return new n;case DA:case BA:return new n(t);case MA:return EA(t);case NA:return new n;case IA:return CA(t)}}function Cy(t){return typeof t.constructor==\\\"function\\\"&&!Kc(t)?p9(j1(t)):{}}var jA=\\\"[object Map]\\\";function $A(t){return Hn(t)&&va(t)==jA}var Sy=ba&&ba.isMap,XA=Sy?Zc(Sy):$A;const KA=XA;var ZA=\\\"[object Set]\\\";function QA(t){return Hn(t)&&va(t)==ZA}var Ay=ba&&ba.isSet,JA=Ay?Zc(Ay):QA;const tL=JA;var eL=1,rL=2,nL=4,Ly=\\\"[object Arguments]\\\",iL=\\\"[object Array]\\\",sL=\\\"[object Boolean]\\\",aL=\\\"[object Date]\\\",oL=\\\"[object Error]\\\",Dy=\\\"[object Function]\\\",lL=\\\"[object GeneratorFunction]\\\",cL=\\\"[object Map]\\\",uL=\\\"[object Number]\\\",My=\\\"[object Object]\\\",hL=\\\"[object RegExp]\\\",dL=\\\"[object Set]\\\",fL=\\\"[object String]\\\",pL=\\\"[object Symbol]\\\",gL=\\\"[object WeakMap]\\\",yL=\\\"[object ArrayBuffer]\\\",mL=\\\"[object DataView]\\\",bL=\\\"[object Float32Array]\\\",_L=\\\"[object Float64Array]\\\",xL=\\\"[object Int8Array]\\\",vL=\\\"[object Int16Array]\\\",kL=\\\"[object Int32Array]\\\",wL=\\\"[object Uint8Array]\\\",TL=\\\"[object Uint8ClampedArray]\\\",EL=\\\"[object Uint16Array]\\\",CL=\\\"[object Uint32Array]\\\",Oe={};Oe[Ly]=Oe[iL]=Oe[yL]=Oe[mL]=Oe[sL]=Oe[aL]=Oe[bL]=Oe[_L]=Oe[xL]=Oe[vL]=Oe[kL]=Oe[cL]=Oe[uL]=Oe[My]=Oe[hL]=Oe[dL]=Oe[fL]=Oe[pL]=Oe[wL]=Oe[TL]=Oe[EL]=Oe[CL]=!0,Oe[oL]=Oe[Dy]=Oe[gL]=!1;function Lo(t,e,r,n,i,s){var a,o=e&eL,l=e&rL,u=e&nL;if(r&&(a=i?r(t,n,i,s):r(t)),a!==void 0)return a;if(!Gr(t))return t;var d=nr(t);if(d){if(a=vA(t),!o)return zg(t,a)}else{var f=va(t),p=f==Dy||f==lL;if(ma(t))return dy(t,o);if(f==My||f==Ly||p&&!i){if(a=l||p?{}:Cy(t),!o)return l?lA(t,tA(a,t)):sA(t,JS(a,t))}else{if(!Oe[f])return i?t:{};a=qA(t,f,o)}}s||(s=new An);var g=s.get(t);if(g)return g;s.set(t,a),tL(t)?t.forEach(function(T){a.add(Lo(T,e,r,T,t,s))}):KA(t)&&t.forEach(function(T,L){a.set(L,Lo(T,e,r,L,t,s))});var b=u?l?cA:X1:l?Ts:jr,k=d?void 0:b(t);return Hg(k||t,function(T,L){k&&(L=T,T=t[L]),$c(a,L,Lo(T,e,r,L,t,s))}),a}var SL=4;function AL(t){return Lo(t,SL)}var LL=1,DL=4;function ML(t){return Lo(t,LL|DL)}var NL=\\\"__lodash_hash_undefined__\\\";function BL(t){return this.__data__.set(t,NL),this}function IL(t){return this.__data__.has(t)}function Do(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new ui;++e\u003Cr;)this.add(t[e])}Do.prototype.add=Do.prototype.push=BL,Do.prototype.has=IL;function OL(t,e){for(var r=-1,n=t==null?0:t.length;++r\u003Cn;)if(e(t[r],r,t))return!0;return!1}function Ny(t,e){return t.has(e)}var RL=1,FL=2;function By(t,e,r,n,i,s){var a=r&RL,o=t.length,l=e.length;if(o!=l&&!(a&&l>o))return!1;var u=s.get(t),d=s.get(e);if(u&&d)return u==e&&d==t;var f=-1,p=!0,g=r&FL?new Do:void 0;for(s.set(t,e),s.set(e,t);++f\u003Co;){var b=t[f],k=e[f];if(n)var T=a?n(k,b,f,e,t,s):n(b,k,f,t,e,s);if(T!==void 0){if(T)continue;p=!1;break}if(g){if(!OL(e,function(L,E){if(!Ny(g,E)&&(b===L||i(b,L,r,n,s)))return g.push(E)})){p=!1;break}}else if(!(b===k||i(b,k,r,n,s))){p=!1;break}}return s.delete(t),s.delete(e),p}function PL(t){var e=-1,r=Array(t.size);return t.forEach(function(n,i){r[++e]=[i,n]}),r}function J1(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var YL=1,VL=2,UL=\\\"[object Boolean]\\\",zL=\\\"[object Date]\\\",WL=\\\"[object Error]\\\",HL=\\\"[object Map]\\\",GL=\\\"[object Number]\\\",qL=\\\"[object RegExp]\\\",jL=\\\"[object Set]\\\",$L=\\\"[object String]\\\",XL=\\\"[object Symbol]\\\",KL=\\\"[object ArrayBuffer]\\\",ZL=\\\"[object DataView]\\\",Iy=en?en.prototype:void 0,t0=Iy?Iy.valueOf:void 0;function QL(t,e,r,n,i,s,a){switch(r){case ZL:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case KL:return!(t.byteLength!=e.byteLength||!s(new ru(t),new ru(e)));case UL:case zL:case GL:return oa(+t,+e);case WL:return t.name==e.name&&t.message==e.message;case qL:case $L:return t==e+\\\"\\\";case HL:var o=PL;case jL:var l=n&YL;if(o||(o=J1),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;n|=VL,a.set(t,e);var d=By(o(t),o(e),n,i,s,a);return a.delete(t),d;case XL:if(t0)return t0.call(t)==t0.call(e)}return!1}var JL=1,tD=Object.prototype,eD=tD.hasOwnProperty;function rD(t,e,r,n,i,s){var a=r&JL,o=X1(t),l=o.length,u=X1(e),d=u.length;if(l!=d&&!a)return!1;for(var f=l;f--;){var p=o[f];if(!(a?p in e:eD.call(e,p)))return!1}var g=s.get(t),b=s.get(e);if(g&&b)return g==e&&b==t;var k=!0;s.set(t,e),s.set(e,t);for(var T=a;++f\u003Cl;){p=o[f];var L=t[p],E=e[p];if(n)var I=a?n(E,L,p,e,t,s):n(L,E,p,t,e,s);if(!(I===void 0?L===E||i(L,E,r,n,s):I)){k=!1;break}T||(T=p==\\\"constructor\\\")}if(k&&!T){var V=t.constructor,H=e.constructor;V!=H&&\\\"constructor\\\"in t&&\\\"constructor\\\"in e&&!(typeof V==\\\"function\\\"&&V instanceof V&&typeof H==\\\"function\\\"&&H instanceof H)&&(k=!1)}return s.delete(t),s.delete(e),k}var nD=1,Oy=\\\"[object Arguments]\\\",Ry=\\\"[object Array]\\\",nu=\\\"[object Object]\\\",iD=Object.prototype,Fy=iD.hasOwnProperty;function sD(t,e,r,n,i,s){var a=nr(t),o=nr(e),l=a?Ry:va(t),u=o?Ry:va(e);l=l==Oy?nu:l,u=u==Oy?nu:u;var d=l==nu,f=u==nu,p=l==u;if(p&&ma(t)){if(!ma(e))return!1;a=!0,d=!1}if(p&&!d)return s||(s=new An),a||Qc(t)?By(t,e,r,n,i,s):QL(t,e,l,r,n,i,s);if(!(r&nD)){var g=d&&Fy.call(t,\\\"__wrapped__\\\"),b=f&&Fy.call(e,\\\"__wrapped__\\\");if(g||b){var k=g?t.value():t,T=b?e.value():e;return s||(s=new An),i(k,T,r,n,s)}}return p?(s||(s=new An),rD(t,e,r,n,i,s)):!1}function e0(t,e,r,n,i){return t===e?!0:t==null||e==null||!Hn(t)&&!Hn(e)?t!==t&&e!==e:sD(t,e,r,n,e0,i)}var aD=1,oD=2;function lD(t,e,r,n){var i=r.length,s=i,a=!n;if(t==null)return!s;for(t=Object(t);i--;){var o=r[i];if(a&&o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++i\u003Cs;){o=r[i];var l=o[0],u=t[l],d=o[1];if(a&&o[2]){if(u===void 0&&!(l in t))return!1}else{var f=new An;if(n)var p=n(u,d,l,t,e,f);if(!(p===void 0?e0(d,u,aD|oD,n,f):p))return!1}}return!0}function Py(t){return t===t&&!Gr(t)}function cD(t){for(var e=jr(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,Py(i)]}return e}function Yy(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}function uD(t){var e=cD(t);return e.length==1&&e[0][2]?Yy(e[0][0],e[0][1]):function(r){return r===t||lD(r,t,e)}}function hD(t,e){return t!=null&&e in Object(t)}function Vy(t,e,r){e=Jc(e,t);for(var n=-1,i=e.length,s=!1;++n\u003Ci;){var a=Ao(e[n]);if(!(s=t!=null&&r(t,a)))break;t=t[a]}return s||++n!=i?s:(i=t==null?0:t.length,!!i&&W1(i)&&qc(a,i)&&(nr(t)||ya(t)))}function Uy(t,e){return t!=null&&Vy(t,e,hD)}var dD=1,fD=2;function pD(t,e){return G1(t)&&Py(e)?Yy(Ao(t),e):function(r){var n=FS(r,t);return n===void 0&&n===e?Uy(r,t):e0(e,n,dD|fD)}}function gD(t){return function(e){return e==null?void 0:e[t]}}function yD(t){return function(e){return tu(e,t)}}function mD(t){return G1(t)?gD(Ao(t)):yD(t)}function Gi(t){return typeof t==\\\"function\\\"?t:t==null?ws:typeof t==\\\"object\\\"?nr(t)?pD(t[0],t[1]):uD(t):mD(t)}function bD(t){return function(e,r,n){for(var i=-1,s=Object(e),a=n(e),o=a.length;o--;){var l=a[t?o:++i];if(r(s[l],l,s)===!1)break}return e}}var _D=bD();const r0=_D;function zy(t,e){return t&&r0(t,e,jr)}function xD(t,e){return function(r,n){if(r==null)return r;if(!Hi(r))return t(r,n);for(var i=r.length,s=e?i:-1,a=Object(r);(e?s--:++s\u003Ci)&&n(a[s],s,a)!==!1;);return r}}var vD=xD(zy);const iu=vD;var kD=function(){return mn.Date.now()};const Wy=kD;var Hy=Object.prototype,wD=Hy.hasOwnProperty,TD=Xc(function(t,e){t=Object(t);var r=-1,n=e.length,i=n>2?e[2]:void 0;for(i&&Co(e[0],e[1],i)&&(n=1);++r\u003Cn;)for(var s=e[r],a=Ts(s),o=-1,l=a.length;++o\u003Cl;){var u=a[o],d=t[u];(d===void 0||oa(d,Hy[u])&&!wD.call(t,u))&&(t[u]=s[u])}return t});const ka=TD;function n0(t,e,r){(r!==void 0&&!oa(t[e],r)||r===void 0&&!(e in t))&&jc(t,e,r)}function Gy(t){return Hn(t)&&Hi(t)}function i0(t,e){if(!(e===\\\"constructor\\\"&&typeof t[e]==\\\"function\\\")&&e!=\\\"__proto__\\\")return t[e]}function ED(t){return Eo(t,Ts(t))}function CD(t,e,r,n,i,s,a){var o=i0(t,r),l=i0(e,r),u=a.get(l);if(u){n0(t,r,u);return}var d=s?s(o,l,r+\\\"\\\",t,e,a):void 0,f=d===void 0;if(f){var p=nr(l),g=!p&&ma(l),b=!p&&!g&&Qc(l);d=l,p||g||b?nr(o)?d=o:Gy(o)?d=zg(o):g?(f=!1,d=dy(l,!0)):b?(f=!1,d=Ey(l,!0)):d=[]:oy(l)||ya(l)?(d=o,ya(o)?d=ED(o):(!Gr(o)||aa(o))&&(d=Cy(l))):f=!1}f&&(a.set(l,d),i(d,l,n,s,a),a.delete(l)),n0(t,r,d)}function qy(t,e,r,n,i){t!==e&&r0(e,function(s,a){if(i||(i=new An),Gr(s))CD(t,e,a,r,qy,n,i);else{var o=n?n(i0(t,a),s,a+\\\"\\\",t,e,i):void 0;o===void 0&&(o=s),n0(t,a,o)}},Ts)}function SD(t,e,r){for(var n=-1,i=t==null?0:t.length;++n\u003Ci;)if(r(e,t[n]))return!0;return!1}function su(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function jy(t){return typeof t==\\\"function\\\"?t:ws}function vt(t,e){var r=nr(t)?Hg:iu;return r(t,jy(e))}function AD(t,e){var r=[];return iu(t,function(n,i,s){e(n,i,s)&&r.push(n)}),r}function pi(t,e){var r=nr(t)?fy:AD;return r(t,Gi(e))}function LD(t){return function(e,r,n){var i=Object(e);if(!Hi(e)){var s=Gi(r);e=jr(e),r=function(o){return s(i[o],o,i)}}var a=t(e,r,n);return a>-1?i[s?e[a]:a]:void 0}}var DD=Math.max;function MD(t,e,r){var n=t==null?0:t.length;if(!n)return-1;var i=r==null?0:h9(r);return i\u003C0&&(i=DD(n+i,0)),Gg(t,Gi(e),i)}var ND=LD(MD);const s0=ND;function $y(t,e){var r=-1,n=Hi(t)?Array(t.length):[];return iu(t,function(i,s,a){n[++r]=e(i,s,a)}),n}function ir(t,e){var r=nr(t)?pa:$y;return r(t,Gi(e))}function BD(t,e){return t==null?t:r0(t,jy(e),Ts)}function ID(t,e){return t>e}var OD=Object.prototype,RD=OD.hasOwnProperty;function FD(t,e){return t!=null&&RD.call(t,e)}function me(t,e){return t!=null&&Vy(t,e,FD)}function PD(t,e){return pa(e,function(r){return t[r]})}function gi(t){return t==null?[]:PD(t,jr(t))}var YD=\\\"[object Map]\\\",VD=\\\"[object Set]\\\",UD=Object.prototype,zD=UD.hasOwnProperty;function wa(t){if(t==null)return!0;if(Hi(t)&&(nr(t)||typeof t==\\\"string\\\"||typeof t.splice==\\\"function\\\"||ma(t)||Qc(t)||ya(t)))return!t.length;var e=va(t);if(e==YD||e==VD)return!t.size;if(Kc(t))return!ny(t).length;for(var r in t)if(zD.call(t,r))return!1;return!0}function Ze(t){return t===void 0}function Xy(t,e){return t\u003Ce}function au(t,e){var r={};return e=Gi(e),zy(t,function(n,i,s){jc(r,i,e(n,i,s))}),r}function a0(t,e,r){for(var n=-1,i=t.length;++n\u003Ci;){var s=t[n],a=e(s);if(a!=null&&(o===void 0?a===a&&!ks(a):r(a,o)))var o=a,l=s}return l}function Cs(t){return t&&t.length?a0(t,ws,ID):void 0}var WD=B9(function(t,e,r){qy(t,e,r)});const o0=WD;function Mo(t){return t&&t.length?a0(t,ws,Xy):void 0}function l0(t,e){return t&&t.length?a0(t,Gi(e),Xy):void 0}function HD(t,e,r,n){if(!Gr(t))return t;e=Jc(e,t);for(var i=-1,s=e.length,a=s-1,o=t;o!=null&&++i\u003Cs;){var l=Ao(e[i]),u=r;if(l===\\\"__proto__\\\"||l===\\\"constructor\\\"||l===\\\"prototype\\\")return t;if(i!=a){var d=o[l];u=n?n(d,l,o):void 0,u===void 0&&(u=Gr(d)?d:qc(e[i+1])?[]:{})}$c(o,l,u),o=o[l]}return t}function GD(t,e,r){for(var n=-1,i=e.length,s={};++n\u003Ci;){var a=e[n],o=tu(t,a);r(o,a)&&HD(s,Jc(a,t),o)}return s}function qD(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}function jD(t,e){if(t!==e){var r=t!==void 0,n=t===null,i=t===t,s=ks(t),a=e!==void 0,o=e===null,l=e===e,u=ks(e);if(!o&&!u&&!s&&t>e||s&&a&&l&&!o&&!u||n&&a&&l||!r&&l||!i)return 1;if(!n&&!s&&!u&&t\u003Ce||u&&r&&i&&!n&&!s||o&&r&&i||!a&&i||!l)return-1}return 0}function $D(t,e,r){for(var n=-1,i=t.criteria,s=e.criteria,a=i.length,o=r.length;++n\u003Ca;){var l=jD(i[n],s[n]);if(l){if(n>=o)return l;var u=r[n];return l*(u==\\\"desc\\\"?-1:1)}}return t.index-e.index}function XD(t,e,r){e.length?e=pa(e,function(s){return nr(s)?function(a){return tu(a,s.length===1?s[0]:s)}:s}):e=[ws];var n=-1;e=pa(e,Zc(Gi));var i=$y(t,function(s,a,o){var l=pa(e,function(u){return u(s)});return{criteria:l,index:++n,value:s}});return qD(i,function(s,a){return $D(s,a,r)})}function KD(t,e){return GD(t,e,function(r,n){return Uy(t,n)})}var ZD=YS(function(t,e){return t==null?{}:KD(t,e)});const No=ZD;var QD=Math.ceil,JD=Math.max;function tM(t,e,r,n){for(var i=-1,s=JD(QD((e-t)/(r||1)),0),a=Array(s);s--;)a[n?s:++i]=t,t+=r;return a}function eM(t){return function(e,r,n){return n&&typeof n!=\\\"number\\\"&&Co(e,r,n)&&(r=n=void 0),e=Hc(e),r===void 0?(r=e,e=0):r=Hc(r),n=n===void 0?e\u003Cr?1:-1:Hc(n),tM(e,r,n,t)}}var rM=eM();const Ss=rM;function nM(t,e,r,n,i){return i(t,function(s,a,o){r=n?(n=!1,s):e(r,s,a,o)}),r}function Bo(t,e,r){var n=nr(t)?qS:nM,i=arguments.length\u003C3;return n(t,Gi(e),r,i,iu)}var iM=Xc(function(t,e){if(t==null)return[];var r=e.length;return r>1&&Co(t,e[0],e[1])?e=[]:r>2&&Co(e[0],e[1],e[2])&&(e=[e[0]]),XD(t,eu(e,1),[])});const Io=iM;var sM=1/0,aM=xa&&1/J1(new xa([,-0]))[1]==sM?function(t){return new xa(t)}:y9;const oM=aM;var lM=200;function cM(t,e,r){var n=-1,i=S9,s=t.length,a=!0,o=[],l=o;if(r)a=!1,i=SD;else if(s>=lM){var u=e?null:oM(t);if(u)return J1(u);a=!1,i=Ny,l=new Do}else l=e?[]:o;t:for(;++n\u003Cs;){var d=t[n],f=e?e(d):d;if(d=r||d!==0?d:0,a&&f===f){for(var p=l.length;p--;)if(l[p]===f)continue t;e&&l.push(f),o.push(d)}else i(l,f,r)||(l!==o&&l.push(f),o.push(d))}return o}var uM=Xc(function(t){return cM(eu(t,1,Gy,!0))});const hM=uM;var dM=0;function ou(t){var e=++dM;return iy(t)+e}function fM(t,e,r){for(var n=-1,i=t.length,s=e.length,a={};++n\u003Ci;){var o=n\u003Cs?e[n]:void 0;r(a,t[n],o)}return a}function pM(t,e){return fM(t||[],e||[],$c)}var gM=\\\"\\\\0\\\",As=\\\"\\\\0\\\",Ky=\\\"\\u0001\\\";class sr{constructor(e={}){this._isDirected=me(e,\\\"directed\\\")?e.directed:!0,this._isMultigraph=me(e,\\\"multigraph\\\")?e.multigraph:!1,this._isCompound=me(e,\\\"compound\\\")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=ga(void 0),this._defaultEdgeLabelFn=ga(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[As]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return aa(e)||(e=ga(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return jr(this._nodes)}sources(){var e=this;return pi(this.nodes(),function(r){return wa(e._in[r])})}sinks(){var e=this;return pi(this.nodes(),function(r){return wa(e._out[r])})}setNodes(e,r){var n=arguments,i=this;return vt(e,function(s){n.length>1?i.setNode(s,r):i.setNode(s)}),this}setNode(e,r){return me(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=r),this):(this._nodes[e]=arguments.length>1?r:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=As,this._children[e]={},this._children[As][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return me(this._nodes,e)}removeNode(e){var r=this;if(me(this._nodes,e)){var n=function(i){r.removeEdge(r._edgeObjs[i])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],vt(this.children(e),function(i){r.setParent(i)}),delete this._children[e]),vt(jr(this._in[e]),n),delete this._in[e],delete this._preds[e],vt(jr(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,r){if(!this._isCompound)throw new Error(\\\"Cannot set parent in a non-compound graph\\\");if(Ze(r))r=As;else{r+=\\\"\\\";for(var n=r;!Ze(n);n=this.parent(n))if(n===e)throw new Error(\\\"Setting \\\"+r+\\\" as parent of \\\"+e+\\\" would create a cycle\\\");this.setNode(r)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=r,this._children[r][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var r=this._parent[e];if(r!==As)return r}}children(e){if(Ze(e)&&(e=As),this._isCompound){var r=this._children[e];if(r)return jr(r)}else{if(e===As)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var r=this._preds[e];if(r)return jr(r)}successors(e){var r=this._sucs[e];if(r)return jr(r)}neighbors(e){var r=this.predecessors(e);if(r)return hM(r,this.successors(e))}isLeaf(e){var r;return this.isDirected()?r=this.successors(e):r=this.neighbors(e),r.length===0}filterNodes(e){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var n=this;vt(this._nodes,function(a,o){e(o)&&r.setNode(o,a)}),vt(this._edgeObjs,function(a){r.hasNode(a.v)&&r.hasNode(a.w)&&r.setEdge(a,n.edge(a))});var i={};function s(a){var o=n.parent(a);return o===void 0||r.hasNode(o)?(i[a]=o,o):o in i?i[o]:s(o)}return this._isCompound&&vt(r.nodes(),function(a){r.setParent(a,s(a))}),r}setDefaultEdgeLabel(e){return aa(e)||(e=ga(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return gi(this._edgeObjs)}setPath(e,r){var n=this,i=arguments;return Bo(e,function(s,a){return i.length>1?n.setEdge(s,a,r):n.setEdge(s,a),a}),this}setEdge(){var e,r,n,i,s=!1,a=arguments[0];typeof a==\\\"object\\\"&&a!==null&&\\\"v\\\"in a?(e=a.v,r=a.w,n=a.name,arguments.length===2&&(i=arguments[1],s=!0)):(e=a,r=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),e=\\\"\\\"+e,r=\\\"\\\"+r,Ze(n)||(n=\\\"\\\"+n);var o=Oo(this._isDirected,e,r,n);if(me(this._edgeLabels,o))return s&&(this._edgeLabels[o]=i),this;if(!Ze(n)&&!this._isMultigraph)throw new Error(\\\"Cannot set a named edge when isMultigraph = false\\\");this.setNode(e),this.setNode(r),this._edgeLabels[o]=s?i:this._defaultEdgeLabelFn(e,r,n);var l=yM(this._isDirected,e,r,n);return e=l.v,r=l.w,Object.freeze(l),this._edgeObjs[o]=l,Zy(this._preds[r],e),Zy(this._sucs[e],r),this._in[r][o]=l,this._out[e][o]=l,this._edgeCount++,this}edge(e,r,n){var i=arguments.length===1?c0(this._isDirected,arguments[0]):Oo(this._isDirected,e,r,n);return this._edgeLabels[i]}hasEdge(e,r,n){var i=arguments.length===1?c0(this._isDirected,arguments[0]):Oo(this._isDirected,e,r,n);return me(this._edgeLabels,i)}removeEdge(e,r,n){var i=arguments.length===1?c0(this._isDirected,arguments[0]):Oo(this._isDirected,e,r,n),s=this._edgeObjs[i];return s&&(e=s.v,r=s.w,delete this._edgeLabels[i],delete this._edgeObjs[i],Qy(this._preds[r],e),Qy(this._sucs[e],r),delete this._in[r][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,r){var n=this._in[e];if(n){var i=gi(n);return r?pi(i,function(s){return s.v===r}):i}}outEdges(e,r){var n=this._out[e];if(n){var i=gi(n);return r?pi(i,function(s){return s.w===r}):i}}nodeEdges(e,r){var n=this.inEdges(e,r);if(n)return n.concat(this.outEdges(e,r))}}sr.prototype._nodeCount=0,sr.prototype._edgeCount=0;function Zy(t,e){t[e]?t[e]++:t[e]=1}function Qy(t,e){--t[e]||delete t[e]}function Oo(t,e,r,n){var i=\\\"\\\"+e,s=\\\"\\\"+r;if(!t&&i>s){var a=i;i=s,s=a}return i+Ky+s+Ky+(Ze(n)?gM:n)}function yM(t,e,r,n){var i=\\\"\\\"+e,s=\\\"\\\"+r;if(!t&&i>s){var a=i;i=s,s=a}var o={v:i,w:s};return n&&(o.name=n),o}function c0(t,e){return Oo(t,e.v,e.w,e.name)}class mM{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,r=e._prev;if(r!==e)return Jy(r),r}enqueue(e){var r=this._sentinel;e._prev&&e._next&&Jy(e),e._next=r._next,r._next._prev=e,r._next=e,e._prev=r}toString(){for(var e=[],r=this._sentinel,n=r._prev;n!==r;)e.push(JSON.stringify(n,bM)),n=n._prev;return\\\"[\\\"+e.join(\\\", \\\")+\\\"]\\\"}}function Jy(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function bM(t,e){if(t!==\\\"_next\\\"&&t!==\\\"_prev\\\")return e}var _M=ga(1);function xM(t,e){if(t.nodeCount()\u003C=1)return[];var r=kM(t,e||_M),n=vM(r.graph,r.buckets,r.zeroIdx);return _a(ir(n,function(i){return t.outEdges(i.v,i.w)}))}function vM(t,e,r){for(var n=[],i=e[e.length-1],s=e[0],a;t.nodeCount();){for(;a=s.dequeue();)u0(t,e,r,a);for(;a=i.dequeue();)u0(t,e,r,a);if(t.nodeCount()){for(var o=e.length-2;o>0;--o)if(a=e[o].dequeue(),a){n=n.concat(u0(t,e,r,a,!0));break}}}return n}function u0(t,e,r,n,i){var s=i?[]:void 0;return vt(t.inEdges(n.v),function(a){var o=t.edge(a),l=t.node(a.v);i&&s.push({v:a.v,w:a.w}),l.out-=o,h0(e,r,l)}),vt(t.outEdges(n.v),function(a){var o=t.edge(a),l=a.w,u=t.node(l);u.in-=o,h0(e,r,u)}),t.removeNode(n.v),s}function kM(t,e){var r=new sr,n=0,i=0;vt(t.nodes(),function(o){r.setNode(o,{v:o,in:0,out:0})}),vt(t.edges(),function(o){var l=r.edge(o.v,o.w)||0,u=e(o),d=l+u;r.setEdge(o.v,o.w,d),i=Math.max(i,r.node(o.v).out+=u),n=Math.max(n,r.node(o.w).in+=u)});var s=Ss(i+n+3).map(function(){return new mM}),a=n+1;return vt(r.nodes(),function(o){h0(s,a,r.node(o))}),{graph:r,buckets:s,zeroIdx:a}}function h0(t,e,r){r.out?r.in?t[r.out-r.in+e].enqueue(r):t[t.length-1].enqueue(r):t[0].enqueue(r)}function wM(t){var e=t.graph().acyclicer===\\\"greedy\\\"?xM(t,r(t)):TM(t);vt(e,function(n){var i=t.edge(n);t.removeEdge(n),i.forwardName=n.name,i.reversed=!0,t.setEdge(n.w,n.v,i,ou(\\\"rev\\\"))});function r(n){return function(i){return n.edge(i).weight}}}function TM(t){var e=[],r={},n={};function i(s){me(n,s)||(n[s]=!0,r[s]=!0,vt(t.outEdges(s),function(a){me(r,a.w)?e.push(a):i(a.w)}),delete r[s])}return vt(t.nodes(),i),e}function EM(t){vt(t.edges(),function(e){var r=t.edge(e);if(r.reversed){t.removeEdge(e);var n=r.forwardName;delete r.reversed,delete r.forwardName,t.setEdge(e.w,e.v,r,n)}})}function Ta(t,e,r,n){var i;do i=ou(n);while(t.hasNode(i));return r.dummy=e,t.setNode(i,r),i}function CM(t){var e=new sr().setGraph(t.graph());return vt(t.nodes(),function(r){e.setNode(r,t.node(r))}),vt(t.edges(),function(r){var n=e.edge(r.v,r.w)||{weight:0,minlen:1},i=t.edge(r);e.setEdge(r.v,r.w,{weight:n.weight+i.weight,minlen:Math.max(n.minlen,i.minlen)})}),e}function tm(t){var e=new sr({multigraph:t.isMultigraph()}).setGraph(t.graph());return vt(t.nodes(),function(r){t.children(r).length||e.setNode(r,t.node(r))}),vt(t.edges(),function(r){e.setEdge(r,t.edge(r))}),e}function em(t,e){var r=t.x,n=t.y,i=e.x-r,s=e.y-n,a=t.width/2,o=t.height/2;if(!i&&!s)throw new Error(\\\"Not possible to find intersection inside of the rectangle\\\");var l,u;return Math.abs(s)*a>Math.abs(i)*o?(s\u003C0&&(o=-o),l=o*i/s,u=o):(i\u003C0&&(a=-a),l=a,u=a*s/i),{x:r+l,y:n+u}}function lu(t){var e=ir(Ss(nm(t)+1),function(){return[]});return vt(t.nodes(),function(r){var n=t.node(r),i=n.rank;Ze(i)||(e[i][n.order]=r)}),e}function SM(t){var e=Mo(ir(t.nodes(),function(r){return t.node(r).rank}));vt(t.nodes(),function(r){var n=t.node(r);me(n,\\\"rank\\\")&&(n.rank-=e)})}function AM(t){var e=Mo(ir(t.nodes(),function(s){return t.node(s).rank})),r=[];vt(t.nodes(),function(s){var a=t.node(s).rank-e;r[a]||(r[a]=[]),r[a].push(s)});var n=0,i=t.graph().nodeRankFactor;vt(r,function(s,a){Ze(s)&&a%i!==0?--n:n&&vt(s,function(o){t.node(o).rank+=n})})}function rm(t,e,r,n){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=n),Ta(t,\\\"border\\\",i,e)}function nm(t){return Cs(ir(t.nodes(),function(e){var r=t.node(e).rank;if(!Ze(r))return r}))}function LM(t,e){var r={lhs:[],rhs:[]};return vt(t,function(n){e(n)?r.lhs.push(n):r.rhs.push(n)}),r}function DM(t,e){var r=Wy();try{return e()}finally{console.log(t+\\\" time: \\\"+(Wy()-r)+\\\"ms\\\")}}function MM(t,e){return e()}function NM(t){function e(r){var n=t.children(r),i=t.node(r);if(n.length&&vt(n,e),me(i,\\\"minRank\\\")){i.borderLeft=[],i.borderRight=[];for(var s=i.minRank,a=i.maxRank+1;s\u003Ca;++s)im(t,\\\"borderLeft\\\",\\\"_bl\\\",r,i,s),im(t,\\\"borderRight\\\",\\\"_br\\\",r,i,s)}}vt(t.children(),e)}function im(t,e,r,n,i,s){var a={width:0,height:0,rank:s,borderType:e},o=i[e][s-1],l=Ta(t,\\\"border\\\",a,r);i[e][s]=l,t.setParent(l,n),o&&t.setEdge(o,l,{weight:1})}function BM(t){var e=t.graph().rankdir.toLowerCase();(e===\\\"lr\\\"||e===\\\"rl\\\")&&sm(t)}function IM(t){var e=t.graph().rankdir.toLowerCase();(e===\\\"bt\\\"||e===\\\"rl\\\")&&OM(t),(e===\\\"lr\\\"||e===\\\"rl\\\")&&(RM(t),sm(t))}function sm(t){vt(t.nodes(),function(e){am(t.node(e))}),vt(t.edges(),function(e){am(t.edge(e))})}function am(t){var e=t.width;t.width=t.height,t.height=e}function OM(t){vt(t.nodes(),function(e){d0(t.node(e))}),vt(t.edges(),function(e){var r=t.edge(e);vt(r.points,d0),me(r,\\\"y\\\")&&d0(r)})}function d0(t){t.y=-t.y}function RM(t){vt(t.nodes(),function(e){f0(t.node(e))}),vt(t.edges(),function(e){var r=t.edge(e);vt(r.points,f0),me(r,\\\"x\\\")&&f0(r)})}function f0(t){var e=t.x;t.x=t.y,t.y=e}function FM(t){var e=Ta(t,\\\"root\\\",{},\\\"_root\\\"),r=PM(t),n=Cs(gi(r))-1,i=2*n+1;t.graph().nestingRoot=e,vt(t.edges(),function(a){t.edge(a).minlen*=i});var s=YM(t)+1;vt(t.children(),function(a){om(t,e,i,s,n,r,a)}),t.graph().nodeRankFactor=i}function om(t,e,r,n,i,s,a){var o=t.children(a);if(!o.length){a!==e&&t.setEdge(e,a,{weight:0,minlen:r});return}var l=rm(t,\\\"_bt\\\"),u=rm(t,\\\"_bb\\\"),d=t.node(a);t.setParent(l,a),d.borderTop=l,t.setParent(u,a),d.borderBottom=u,vt(o,function(f){om(t,e,r,n,i,s,f);var p=t.node(f),g=p.borderTop?p.borderTop:f,b=p.borderBottom?p.borderBottom:f,k=p.borderTop?n:2*n,T=g!==b?1:i-s[a]+1;t.setEdge(l,g,{weight:k,minlen:T,nestingEdge:!0}),t.setEdge(b,u,{weight:k,minlen:T,nestingEdge:!0})}),t.parent(a)||t.setEdge(e,l,{weight:0,minlen:i+s[a]})}function PM(t){var e={};function r(n,i){var s=t.children(n);s&&s.length&&vt(s,function(a){r(a,i+1)}),e[n]=i}return vt(t.children(),function(n){r(n,1)}),e}function YM(t){return Bo(t.edges(),function(e,r){return e+t.edge(r).weight},0)}function VM(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,vt(t.edges(),function(r){var n=t.edge(r);n.nestingEdge&&t.removeEdge(r)})}function UM(t,e,r){var n={},i;vt(r,function(s){for(var a=t.parent(s),o,l;a;){if(o=t.parent(a),o?(l=n[o],n[o]=a):(l=i,i=a),l&&l!==a){e.setEdge(l,a);return}a=o}})}function zM(t,e,r){var n=WM(t),i=new sr({compound:!0}).setGraph({root:n}).setDefaultNodeLabel(function(s){return t.node(s)});return vt(t.nodes(),function(s){var a=t.node(s),o=t.parent(s);(a.rank===e||a.minRank\u003C=e&&e\u003C=a.maxRank)&&(i.setNode(s),i.setParent(s,o||n),vt(t[r](s),function(l){var u=l.v===s?l.w:l.v,d=i.edge(u,s),f=Ze(d)?0:d.weight;i.setEdge(u,s,{weight:t.edge(l).weight+f})}),me(a,\\\"minRank\\\")&&i.setNode(s,{borderLeft:a.borderLeft[e],borderRight:a.borderRight[e]}))}),i}function WM(t){for(var e;t.hasNode(e=ou(\\\"_root\\\")););return e}function HM(t,e){for(var r=0,n=1;n\u003Ce.length;++n)r+=GM(t,e[n-1],e[n]);return r}function GM(t,e,r){for(var n=pM(r,ir(r,function(u,d){return d})),i=_a(ir(e,function(u){return Io(ir(t.outEdges(u),function(d){return{pos:n[d.w],weight:t.edge(d).weight}}),\\\"pos\\\")})),s=1;s\u003Cr.length;)s\u003C\u003C=1;var a=2*s-1;s-=1;var o=ir(new Array(a),function(){return 0}),l=0;return vt(i.forEach(function(u){var d=u.pos+s;o[d]+=u.weight;for(var f=0;d>0;)d%2&&(f+=o[d+1]),d=d-1>>1,o[d]+=u.weight;l+=u.weight*f})),l}function qM(t){var e={},r=pi(t.nodes(),function(o){return!t.children(o).length}),n=Cs(ir(r,function(o){return t.node(o).rank})),i=ir(Ss(n+1),function(){return[]});function s(o){if(!me(e,o)){e[o]=!0;var l=t.node(o);i[l.rank].push(o),vt(t.successors(o),s)}}var a=Io(r,function(o){return t.node(o).rank});return vt(a,s),i}function jM(t,e){return ir(e,function(r){var n=t.inEdges(r);if(n.length){var i=Bo(n,function(s,a){var o=t.edge(a),l=t.node(a.v);return{sum:s.sum+o.weight*l.order,weight:s.weight+o.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:r}})}function $M(t,e){var r={};vt(t,function(i,s){var a=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:s};Ze(i.barycenter)||(a.barycenter=i.barycenter,a.weight=i.weight)}),vt(e.edges(),function(i){var s=r[i.v],a=r[i.w];!Ze(s)&&!Ze(a)&&(a.indegree++,s.out.push(r[i.w]))});var n=pi(r,function(i){return!i.indegree});return XM(n)}function XM(t){var e=[];function r(s){return function(a){a.merged||(Ze(a.barycenter)||Ze(s.barycenter)||a.barycenter>=s.barycenter)&&KM(s,a)}}function n(s){return function(a){a.in.push(s),--a.indegree===0&&t.push(a)}}for(;t.length;){var i=t.pop();e.push(i),vt(i.in.reverse(),r(i)),vt(i.out,n(i))}return ir(pi(e,function(s){return!s.merged}),function(s){return No(s,[\\\"vs\\\",\\\"i\\\",\\\"barycenter\\\",\\\"weight\\\"])})}function KM(t,e){var r=0,n=0;t.weight&&(r+=t.barycenter*t.weight,n+=t.weight),e.weight&&(r+=e.barycenter*e.weight,n+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=r/n,t.weight=n,t.i=Math.min(e.i,t.i),e.merged=!0}function ZM(t,e){var r=LM(t,function(d){return me(d,\\\"barycenter\\\")}),n=r.lhs,i=Io(r.rhs,function(d){return-d.i}),s=[],a=0,o=0,l=0;n.sort(QM(!!e)),l=lm(s,i,l),vt(n,function(d){l+=d.vs.length,s.push(d.vs),a+=d.barycenter*d.weight,o+=d.weight,l=lm(s,i,l)});var u={vs:_a(s)};return o&&(u.barycenter=a/o,u.weight=o),u}function lm(t,e,r){for(var n;e.length&&(n=su(e)).i\u003C=r;)e.pop(),t.push(n.vs),r++;return r}function QM(t){return function(e,r){return e.barycenter\u003Cr.barycenter?-1:e.barycenter>r.barycenter?1:t?r.i-e.i:e.i-r.i}}function cm(t,e,r,n){var i=t.children(e),s=t.node(e),a=s?s.borderLeft:void 0,o=s?s.borderRight:void 0,l={};a&&(i=pi(i,function(b){return b!==a&&b!==o}));var u=jM(t,i);vt(u,function(b){if(t.children(b.v).length){var k=cm(t,b.v,r,n);l[b.v]=k,me(k,\\\"barycenter\\\")&&tN(b,k)}});var d=$M(u,r);JM(d,l);var f=ZM(d,n);if(a&&(f.vs=_a([a,f.vs,o]),t.predecessors(a).length)){var p=t.node(t.predecessors(a)[0]),g=t.node(t.predecessors(o)[0]);me(f,\\\"barycenter\\\")||(f.barycenter=0,f.weight=0),f.barycenter=(f.barycenter*f.weight+p.order+g.order)/(f.weight+2),f.weight+=2}return f}function JM(t,e){vt(t,function(r){r.vs=_a(r.vs.map(function(n){return e[n]?e[n].vs:n}))})}function tN(t,e){Ze(t.barycenter)?(t.barycenter=e.barycenter,t.weight=e.weight):(t.barycenter=(t.barycenter*t.weight+e.barycenter*e.weight)/(t.weight+e.weight),t.weight+=e.weight)}function eN(t){var e=nm(t),r=um(t,Ss(1,e+1),\\\"inEdges\\\"),n=um(t,Ss(e-1,-1,-1),\\\"outEdges\\\"),i=qM(t);hm(t,i);for(var s=Number.POSITIVE_INFINITY,a,o=0,l=0;l\u003C4;++o,++l){rN(o%2?r:n,o%4>=2),i=lu(t);var u=HM(t,i);u\u003Cs&&(l=0,a=ML(i),s=u)}hm(t,a)}function um(t,e,r){return ir(e,function(n){return zM(t,n,r)})}function rN(t,e){var r=new sr;vt(t,function(n){var i=n.graph().root,s=cm(n,i,r,e);vt(s.vs,function(a,o){n.node(a).order=o}),UM(n,r,s.vs)})}function hm(t,e){vt(e,function(r){vt(r,function(n,i){t.node(n).order=i})})}function nN(t){var e=sN(t);vt(t.graph().dummyChains,function(r){for(var n=t.node(r),i=n.edgeObj,s=iN(t,e,i.v,i.w),a=s.path,o=s.lca,l=0,u=a[l],d=!0;r!==i.w;){if(n=t.node(r),d){for(;(u=a[l])!==o&&t.node(u).maxRank\u003Cn.rank;)l++;u===o&&(d=!1)}if(!d){for(;l\u003Ca.length-1&&t.node(u=a[l+1]).minRank\u003C=n.rank;)l++;u=a[l]}t.setParent(r,u),r=t.successors(r)[0]}})}function iN(t,e,r,n){var i=[],s=[],a=Math.min(e[r].low,e[n].low),o=Math.max(e[r].lim,e[n].lim),l,u;l=r;do l=t.parent(l),i.push(l);while(l&&(e[l].low>a||o>e[l].lim));for(u=l,l=n;(l=t.parent(l))!==u;)s.push(l);return{path:i.concat(s.reverse()),lca:u}}function sN(t){var e={},r=0;function n(i){var s=r;vt(t.children(i),n),e[i]={low:s,lim:r++}}return vt(t.children(),n),e}function aN(t,e){var r={};function n(i,s){var a=0,o=0,l=i.length,u=su(s);return vt(s,function(d,f){var p=lN(t,d),g=p?t.node(p).order:l;(p||d===u)&&(vt(s.slice(o,f+1),function(b){vt(t.predecessors(b),function(k){var T=t.node(k),L=T.order;(L\u003Ca||g\u003CL)&&!(T.dummy&&t.node(b).dummy)&&dm(r,k,b)})}),o=f+1,a=g)}),s}return Bo(e,n),r}function oN(t,e){var r={};function n(s,a,o,l,u){var d;vt(Ss(a,o),function(f){d=s[f],t.node(d).dummy&&vt(t.predecessors(d),function(p){var g=t.node(p);g.dummy&&(g.order\u003Cl||g.order>u)&&dm(r,p,d)})})}function i(s,a){var o=-1,l,u=0;return vt(a,function(d,f){if(t.node(d).dummy===\\\"border\\\"){var p=t.predecessors(d);p.length&&(l=t.node(p[0]).order,n(a,u,f,o,l),u=f,o=l)}n(a,u,a.length,l,s.length)}),a}return Bo(e,i),r}function lN(t,e){if(t.node(e).dummy)return s0(t.predecessors(e),function(r){return t.node(r).dummy})}function dm(t,e,r){if(e>r){var n=e;e=r,r=n}var i=t[e];i||(t[e]=i={}),i[r]=!0}function cN(t,e,r){if(e>r){var n=e;e=r,r=n}return me(t[e],r)}function uN(t,e,r,n){var i={},s={},a={};return vt(e,function(o){vt(o,function(l,u){i[l]=l,s[l]=l,a[l]=u})}),vt(e,function(o){var l=-1;vt(o,function(u){var d=n(u);if(d.length){d=Io(d,function(k){return a[k]});for(var f=(d.length-1)/2,p=Math.floor(f),g=Math.ceil(f);p\u003C=g;++p){var b=d[p];s[u]===u&&l\u003Ca[b]&&!cN(r,u,b)&&(s[b]=u,s[u]=i[u]=i[b],l=a[b])}}})}),{root:i,align:s}}function hN(t,e,r,n,i){var s={},a=dN(t,e,r,i),o=i?\\\"borderLeft\\\":\\\"borderRight\\\";function l(f,p){for(var g=a.nodes(),b=g.pop(),k={};b;)k[b]?f(b):(k[b]=!0,g.push(b),g=g.concat(p(b))),b=g.pop()}function u(f){s[f]=a.inEdges(f).reduce(function(p,g){return Math.max(p,s[g.v]+a.edge(g))},0)}function d(f){var p=a.outEdges(f).reduce(function(b,k){return Math.min(b,s[k.w]-a.edge(k))},Number.POSITIVE_INFINITY),g=t.node(f);p!==Number.POSITIVE_INFINITY&&g.borderType!==o&&(s[f]=Math.max(s[f],p))}return l(u,a.predecessors.bind(a)),l(d,a.successors.bind(a)),vt(n,function(f){s[f]=s[r[f]]}),s}function dN(t,e,r,n){var i=new sr,s=t.graph(),a=mN(s.nodesep,s.edgesep,n);return vt(e,function(o){var l;vt(o,function(u){var d=r[u];if(i.setNode(d),l){var f=r[l],p=i.edge(f,d);i.setEdge(f,d,Math.max(a(t,u,l),p||0))}l=u})}),i}function fN(t,e){return l0(gi(e),function(r){var n=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return BD(r,function(s,a){var o=bN(t,a)/2;n=Math.max(s+o,n),i=Math.min(s-o,i)}),n-i})}function pN(t,e){var r=gi(e),n=Mo(r),i=Cs(r);vt([\\\"u\\\",\\\"d\\\"],function(s){vt([\\\"l\\\",\\\"r\\\"],function(a){var o=s+a,l=t[o],u;if(l!==e){var d=gi(l);u=a===\\\"l\\\"?n-Mo(d):i-Cs(d),u&&(t[o]=au(l,function(f){return f+u}))}})})}function gN(t,e){return au(t.ul,function(r,n){if(e)return t[e.toLowerCase()][n];var i=Io(ir(t,n));return(i[1]+i[2])/2})}function yN(t){var e=lu(t),r=o0(aN(t,e),oN(t,e)),n={},i;vt([\\\"u\\\",\\\"d\\\"],function(a){i=a===\\\"u\\\"?e:gi(e).reverse(),vt([\\\"l\\\",\\\"r\\\"],function(o){o===\\\"r\\\"&&(i=ir(i,function(f){return gi(f).reverse()}));var l=(a===\\\"u\\\"?t.predecessors:t.successors).bind(t),u=uN(t,i,r,l),d=hN(t,i,u.root,u.align,o===\\\"r\\\");o===\\\"r\\\"&&(d=au(d,function(f){return-f})),n[a+o]=d})});var s=fN(t,n);return pN(n,s),gN(n,t.graph().align)}function mN(t,e,r){return function(n,i,s){var a=n.node(i),o=n.node(s),l=0,u;if(l+=a.width/2,me(a,\\\"labelpos\\\"))switch(a.labelpos.toLowerCase()){case\\\"l\\\":u=-a.width/2;break;case\\\"r\\\":u=a.width/2;break}if(u&&(l+=r?u:-u),u=0,l+=(a.dummy?e:t)/2,l+=(o.dummy?e:t)/2,l+=o.width/2,me(o,\\\"labelpos\\\"))switch(o.labelpos.toLowerCase()){case\\\"l\\\":u=o.width/2;break;case\\\"r\\\":u=-o.width/2;break}return u&&(l+=r?u:-u),u=0,l}}function bN(t,e){return t.node(e).width}function _N(t){t=tm(t),xN(t),vt(yN(t),function(e,r){t.node(r).x=e})}function xN(t){var e=lu(t),r=t.graph().ranksep,n=0;vt(e,function(i){var s=Cs(ir(i,function(a){return t.node(a).height}));vt(i,function(a){t.node(a).y=n+s/2}),n+=s+r})}function Ea(t,e){var r=e&&e.debugTiming?DM:MM;r(\\\"layout\\\",function(){var n=r(\\\" buildLayoutGraph\\\",function(){return MN(t)});r(\\\" runLayout\\\",function(){vN(n,r)}),r(\\\" updateInputGraph\\\",function(){kN(t,n)})})}function vN(t,e){e(\\\" makeSpaceForEdgeLabels\\\",function(){NN(t)}),e(\\\" removeSelfEdges\\\",function(){UN(t)}),e(\\\" acyclic\\\",function(){wM(t)}),e(\\\" nestingGraph.run\\\",function(){FM(t)}),e(\\\" rank\\\",function(){rB(tm(t))}),e(\\\" injectEdgeLabelProxies\\\",function(){BN(t)}),e(\\\" removeEmptyRanks\\\",function(){AM(t)}),e(\\\" nestingGraph.cleanup\\\",function(){VM(t)}),e(\\\" normalizeRanks\\\",function(){SM(t)}),e(\\\" assignRankMinMax\\\",function(){IN(t)}),e(\\\" removeEdgeLabelProxies\\\",function(){ON(t)}),e(\\\" normalize.run\\\",function(){HN(t)}),e(\\\" parentDummyChains\\\",function(){nN(t)}),e(\\\" addBorderSegments\\\",function(){NM(t)}),e(\\\" order\\\",function(){eN(t)}),e(\\\" insertSelfEdges\\\",function(){zN(t)}),e(\\\" adjustCoordinateSystem\\\",function(){BM(t)}),e(\\\" position\\\",function(){_N(t)}),e(\\\" positionSelfEdges\\\",function(){WN(t)}),e(\\\" removeBorderNodes\\\",function(){VN(t)}),e(\\\" normalize.undo\\\",function(){qN(t)}),e(\\\" fixupEdgeLabelCoords\\\",function(){PN(t)}),e(\\\" undoCoordinateSystem\\\",function(){IM(t)}),e(\\\" translateGraph\\\",function(){RN(t)}),e(\\\" assignNodeIntersects\\\",function(){FN(t)}),e(\\\" reversePoints\\\",function(){YN(t)}),e(\\\" acyclic.undo\\\",function(){EM(t)})}function kN(t,e){vt(t.nodes(),function(r){var n=t.node(r),i=e.node(r);n&&(n.x=i.x,n.y=i.y,e.children(r).length&&(n.width=i.width,n.height=i.height))}),vt(t.edges(),function(r){var n=t.edge(r),i=e.edge(r);n.points=i.points,me(i,\\\"x\\\")&&(n.x=i.x,n.y=i.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height}var wN=[\\\"nodesep\\\",\\\"edgesep\\\",\\\"ranksep\\\",\\\"marginx\\\",\\\"marginy\\\"],TN={ranksep:50,edgesep:20,nodesep:50,rankdir:\\\"tb\\\"},EN=[\\\"acyclicer\\\",\\\"ranker\\\",\\\"rankdir\\\",\\\"align\\\"],CN=[\\\"width\\\",\\\"height\\\"],SN={width:0,height:0},AN=[\\\"minlen\\\",\\\"weight\\\",\\\"width\\\",\\\"height\\\",\\\"labeloffset\\\"],LN={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:\\\"r\\\"},DN=[\\\"labelpos\\\"];function MN(t){var e=new sr({multigraph:!0,compound:!0}),r=g0(t.graph());return e.setGraph(o0({},TN,p0(r,wN),No(r,EN))),vt(t.nodes(),function(n){var i=g0(t.node(n));e.setNode(n,ka(p0(i,CN),SN)),e.setParent(n,t.parent(n))}),vt(t.edges(),function(n){var i=g0(t.edge(n));e.setEdge(n,o0({},LN,p0(i,AN),No(i,DN)))}),e}function NN(t){var e=t.graph();e.ranksep/=2,vt(t.edges(),function(r){var n=t.edge(r);n.minlen*=2,n.labelpos.toLowerCase()!==\\\"c\\\"&&(e.rankdir===\\\"TB\\\"||e.rankdir===\\\"BT\\\"?n.width+=n.labeloffset:n.height+=n.labeloffset)})}function BN(t){vt(t.edges(),function(e){var r=t.edge(e);if(r.width&&r.height){var n=t.node(e.v),i=t.node(e.w),s={rank:(i.rank-n.rank)/2+n.rank,e};Ta(t,\\\"edge-proxy\\\",s,\\\"_ep\\\")}})}function IN(t){var e=0;vt(t.nodes(),function(r){var n=t.node(r);n.borderTop&&(n.minRank=t.node(n.borderTop).rank,n.maxRank=t.node(n.borderBottom).rank,e=Cs(e,n.maxRank))}),t.graph().maxRank=e}function ON(t){vt(t.nodes(),function(e){var r=t.node(e);r.dummy===\\\"edge-proxy\\\"&&(t.edge(r.e).labelRank=r.rank,t.removeNode(e))})}function RN(t){var e=Number.POSITIVE_INFINITY,r=0,n=Number.POSITIVE_INFINITY,i=0,s=t.graph(),a=s.marginx||0,o=s.marginy||0;function l(u){var d=u.x,f=u.y,p=u.width,g=u.height;e=Math.min(e,d-p/2),r=Math.max(r,d+p/2),n=Math.min(n,f-g/2),i=Math.max(i,f+g/2)}vt(t.nodes(),function(u){l(t.node(u))}),vt(t.edges(),function(u){var d=t.edge(u);me(d,\\\"x\\\")&&l(d)}),e-=a,n-=o,vt(t.nodes(),function(u){var d=t.node(u);d.x-=e,d.y-=n}),vt(t.edges(),function(u){var d=t.edge(u);vt(d.points,function(f){f.x-=e,f.y-=n}),me(d,\\\"x\\\")&&(d.x-=e),me(d,\\\"y\\\")&&(d.y-=n)}),s.width=r-e+a,s.height=i-n+o}function FN(t){vt(t.edges(),function(e){var r=t.edge(e),n=t.node(e.v),i=t.node(e.w),s,a;r.points?(s=r.points[0],a=r.points[r.points.length-1]):(r.points=[],s=i,a=n),r.points.unshift(em(n,s)),r.points.push(em(i,a))})}function PN(t){vt(t.edges(),function(e){var r=t.edge(e);if(me(r,\\\"x\\\"))switch((r.labelpos===\\\"l\\\"||r.labelpos===\\\"r\\\")&&(r.width-=r.labeloffset),r.labelpos){case\\\"l\\\":r.x-=r.width/2+r.labeloffset;break;case\\\"r\\\":r.x+=r.width/2+r.labeloffset;break}})}function YN(t){vt(t.edges(),function(e){var r=t.edge(e);r.reversed&&r.points.reverse()})}function VN(t){vt(t.nodes(),function(e){if(t.children(e).length){var r=t.node(e),n=t.node(r.borderTop),i=t.node(r.borderBottom),s=t.node(su(r.borderLeft)),a=t.node(su(r.borderRight));r.width=Math.abs(a.x-s.x),r.height=Math.abs(i.y-n.y),r.x=s.x+r.width/2,r.y=n.y+r.height/2}}),vt(t.nodes(),function(e){t.node(e).dummy===\\\"border\\\"&&t.removeNode(e)})}function UN(t){vt(t.edges(),function(e){if(e.v===e.w){var r=t.node(e.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e,label:t.edge(e)}),t.removeEdge(e)}})}function zN(t){var e=lu(t);vt(e,function(r){var n=0;vt(r,function(i,s){var a=t.node(i);a.order=s+n,vt(a.selfEdges,function(o){Ta(t,\\\"selfedge\\\",{width:o.label.width,height:o.label.height,rank:a.rank,order:s+ ++n,e:o.e,label:o.label},\\\"_se\\\")}),delete a.selfEdges})})}function WN(t){vt(t.nodes(),function(e){var r=t.node(e);if(r.dummy===\\\"selfedge\\\"){var n=t.node(r.e.v),i=n.x+n.width/2,s=n.y,a=r.x-i,o=n.height/2;t.setEdge(r.e,r.label),t.removeNode(e),r.label.points=[{x:i+2*a/3,y:s-o},{x:i+5*a/6,y:s-o},{x:i+a,y:s},{x:i+5*a/6,y:s+o},{x:i+2*a/3,y:s+o}],r.label.x=r.x,r.label.y=r.y}})}function p0(t,e){return au(No(t,e),Number)}function g0(t){var e={};return vt(t,function(r,n){e[n.toLowerCase()]=r}),e}function HN(t){t.graph().dummyChains=[],vt(t.edges(),function(e){GN(t,e)})}function GN(t,e){var r=e.v,n=t.node(r).rank,i=e.w,s=t.node(i).rank,a=e.name,o=t.edge(e),l=o.labelRank;if(s!==n+1){t.removeEdge(e);var u,d,f;for(f=0,++n;n\u003Cs;++f,++n)o.points=[],d={width:0,height:0,edgeLabel:o,edgeObj:e,rank:n},u=Ta(t,\\\"edge\\\",d,\\\"_d\\\"),n===l&&(d.width=o.width,d.height=o.height,d.dummy=\\\"edge-label\\\",d.labelpos=o.labelpos),t.setEdge(r,u,{weight:o.weight},a),f===0&&t.graph().dummyChains.push(u),r=u;t.setEdge(r,i,{weight:o.weight},a)}}function qN(t){vt(t.graph().dummyChains,function(e){var r=t.node(e),n=r.edgeLabel,i;for(t.setEdge(r.edgeObj,n);r.dummy;)i=t.successors(e)[0],t.removeNode(e),n.points.push({x:r.x,y:r.y}),r.dummy===\\\"edge-label\\\"&&(n.x=r.x,n.y=r.y,n.width=r.width,n.height=r.height),e=i,r=t.node(e)})}function y0(t){var e={};function r(n){var i=t.node(n);if(me(e,n))return i.rank;e[n]=!0;var s=Mo(ir(t.outEdges(n),function(a){return r(a.w)-t.edge(a).minlen}));return(s===Number.POSITIVE_INFINITY||s===void 0||s===null)&&(s=0),i.rank=s}vt(t.sources(),r)}function Ro(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}function fm(t){var e=new sr({directed:!1}),r=t.nodes()[0],n=t.nodeCount();e.setNode(r,{});for(var i,s;jN(e,t)\u003Cn;)i=$N(e,t),s=e.hasNode(i.v)?Ro(t,i):-Ro(t,i),XN(e,t,s);return e}function jN(t,e){function r(n){vt(e.nodeEdges(n),function(i){var s=i.v,a=n===s?i.w:s;!t.hasNode(a)&&!Ro(e,i)&&(t.setNode(a,{}),t.setEdge(n,a,{}),r(a))})}return vt(t.nodes(),r),t.nodeCount()}function $N(t,e){return l0(e.edges(),function(r){if(t.hasNode(r.v)!==t.hasNode(r.w))return Ro(e,r)})}function XN(t,e,r){vt(t.nodes(),function(n){e.node(n).rank+=r})}function KN(){}KN.prototype=new Error;function pm(t,e,r){nr(e)||(e=[e]);var n=(t.isDirected()?t.successors:t.neighbors).bind(t),i=[],s={};return vt(e,function(a){if(!t.hasNode(a))throw new Error(\\\"Graph does not have node: \\\"+a);gm(t,a,r===\\\"post\\\",s,n,i)}),i}function gm(t,e,r,n,i,s){me(n,e)||(n[e]=!0,r||s.push(e),vt(i(e),function(a){gm(t,a,r,n,i,s)}),r&&s.push(e))}function ZN(t,e){return pm(t,e,\\\"post\\\")}function QN(t,e){return pm(t,e,\\\"pre\\\")}Ls.initLowLimValues=b0,Ls.initCutValues=m0,Ls.calcCutValue=ym,Ls.leaveEdge=bm,Ls.enterEdge=_m,Ls.exchangeEdges=xm;function Ls(t){t=CM(t),y0(t);var e=fm(t);b0(e),m0(e,t);for(var r,n;r=bm(e);)n=_m(e,t,r),xm(e,t,r,n)}function m0(t,e){var r=ZN(t,t.nodes());r=r.slice(0,r.length-1),vt(r,function(n){JN(t,e,n)})}function JN(t,e,r){var n=t.node(r),i=n.parent;t.edge(r,i).cutvalue=ym(t,e,r)}function ym(t,e,r){var n=t.node(r),i=n.parent,s=!0,a=e.edge(r,i),o=0;return a||(s=!1,a=e.edge(i,r)),o=a.weight,vt(e.nodeEdges(r),function(l){var u=l.v===r,d=u?l.w:l.v;if(d!==i){var f=u===s,p=e.edge(l).weight;if(o+=f?p:-p,eB(t,r,d)){var g=t.edge(r,d).cutvalue;o+=f?-g:g}}}),o}function b0(t,e){arguments.length\u003C2&&(e=t.nodes()[0]),mm(t,{},1,e)}function mm(t,e,r,n,i){var s=r,a=t.node(n);return e[n]=!0,vt(t.neighbors(n),function(o){me(e,o)||(r=mm(t,e,r,o,n))}),a.low=s,a.lim=r++,i?a.parent=i:delete a.parent,r}function bm(t){return s0(t.edges(),function(e){return t.edge(e).cutvalue\u003C0})}function _m(t,e,r){var n=r.v,i=r.w;e.hasEdge(n,i)||(n=r.w,i=r.v);var s=t.node(n),a=t.node(i),o=s,l=!1;s.lim>a.lim&&(o=a,l=!0);var u=pi(e.edges(),function(d){return l===vm(t,t.node(d.v),o)&&l!==vm(t,t.node(d.w),o)});return l0(u,function(d){return Ro(e,d)})}function xm(t,e,r,n){var i=r.v,s=r.w;t.removeEdge(i,s),t.setEdge(n.v,n.w,{}),b0(t),m0(t,e),tB(t,e)}function tB(t,e){var r=s0(t.nodes(),function(i){return!e.node(i).parent}),n=QN(t,r);n=n.slice(1),vt(n,function(i){var s=t.node(i).parent,a=e.edge(i,s),o=!1;a||(a=e.edge(s,i),o=!0),e.node(i).rank=e.node(s).rank+(o?a.minlen:-a.minlen)})}function eB(t,e,r){return t.hasEdge(e,r)}function vm(t,e,r){return r.low\u003C=e.lim&&e.lim\u003C=r.lim}function rB(t){switch(t.graph().ranker){case\\\"network-simplex\\\":km(t);break;case\\\"tight-tree\\\":iB(t);break;case\\\"longest-path\\\":nB(t);break;default:km(t)}}var nB=y0;function iB(t){y0(t),fm(t)}function km(t){Ls(t)}let wm=0;const sB=function(t,e,r,n,i){const s=function(E){switch(E){case i.db.relationType.AGGREGATION:return\\\"aggregation\\\";case i.db.relationType.EXTENSION:return\\\"extension\\\";case i.db.relationType.COMPOSITION:return\\\"composition\\\";case i.db.relationType.DEPENDENCY:return\\\"dependency\\\";case i.db.relationType.LOLLIPOP:return\\\"lollipop\\\"}};e.points=e.points.filter(E=>!Number.isNaN(E.y));const a=e.points,o=Js().x(function(E){return E.x}).y(function(E){return E.y}).curve(ta),l=t.append(\\\"path\\\").attr(\\\"d\\\",o(a)).attr(\\\"id\\\",\\\"edge\\\"+wm).attr(\\\"class\\\",\\\"relation\\\");let u=\\\"\\\";n.arrowMarkerAbsolute&&(u=window.location.protocol+\\\"//\\\"+window.location.host+window.location.pathname+window.location.search,u=u.replace(/\\\\(/g,\\\"\\\\\\\\(\\\"),u=u.replace(/\\\\)/g,\\\"\\\\\\\\)\\\")),r.relation.lineType==1&&l.attr(\\\"class\\\",\\\"relation dashed-line\\\"),r.relation.lineType==10&&l.attr(\\\"class\\\",\\\"relation dotted-line\\\"),r.relation.type1!==\\\"none\\\"&&l.attr(\\\"marker-start\\\",\\\"url(\\\"+u+\\\"#\\\"+s(r.relation.type1)+\\\"Start)\\\"),r.relation.type2!==\\\"none\\\"&&l.attr(\\\"marker-end\\\",\\\"url(\\\"+u+\\\"#\\\"+s(r.relation.type2)+\\\"End)\\\");let d,f;const p=e.points.length;let g=ge.calcLabelPosition(e.points);d=g.x,f=g.y;let b,k,T,L;if(p%2!==0&&p>1){let E=ge.calcCardinalityPosition(r.relation.type1!==\\\"none\\\",e.points,e.points[0]),I=ge.calcCardinalityPosition(r.relation.type2!==\\\"none\\\",e.points,e.points[p-1]);B.debug(\\\"cardinality_1_point \\\"+JSON.stringify(E)),B.debug(\\\"cardinality_2_point \\\"+JSON.stringify(I)),b=E.x,k=E.y,T=I.x,L=I.y}if(r.title!==void 0){const E=t.append(\\\"g\\\").attr(\\\"class\\\",\\\"classLabel\\\"),I=E.append(\\\"text\\\").attr(\\\"class\\\",\\\"label\\\").attr(\\\"x\\\",d).attr(\\\"y\\\",f).attr(\\\"fill\\\",\\\"red\\\").attr(\\\"text-anchor\\\",\\\"middle\\\").text(r.title);window.label=I;const V=I.node().getBBox();E.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"class\\\",\\\"box\\\").attr(\\\"x\\\",V.x-n.padding/2).attr(\\\"y\\\",V.y-n.padding/2).attr(\\\"width\\\",V.width+n.padding).attr(\\\"height\\\",V.height+n.padding)}B.info(\\\"Rendering relation \\\"+JSON.stringify(r)),r.relationTitle1!==void 0&&r.relationTitle1!==\\\"none\\\"&&t.append(\\\"g\\\").attr(\\\"class\\\",\\\"cardinality\\\").append(\\\"text\\\").attr(\\\"class\\\",\\\"type1\\\").attr(\\\"x\\\",b).attr(\\\"y\\\",k).attr(\\\"fill\\\",\\\"black\\\").attr(\\\"font-size\\\",\\\"6\\\").text(r.relationTitle1),r.relationTitle2!==void 0&&r.relationTitle2!==\\\"none\\\"&&t.append(\\\"g\\\").attr(\\\"class\\\",\\\"cardinality\\\").append(\\\"text\\\").attr(\\\"class\\\",\\\"type2\\\").attr(\\\"x\\\",T).attr(\\\"y\\\",L).attr(\\\"fill\\\",\\\"black\\\").attr(\\\"font-size\\\",\\\"6\\\").text(r.relationTitle2),wm++},aB=function(t,e,r,n){B.debug(\\\"Rendering class \\\",e,r);const i=e.id,s={id:i,label:e.id,width:0,height:0},a=t.append(\\\"g\\\").attr(\\\"id\\\",n.db.lookUpDomId(i)).attr(\\\"class\\\",\\\"classGroup\\\");let o;e.link?o=a.append(\\\"svg:a\\\").attr(\\\"xlink:href\\\",e.link).attr(\\\"target\\\",e.linkTarget).append(\\\"text\\\").attr(\\\"y\\\",r.textHeight+r.padding).attr(\\\"x\\\",0):o=a.append(\\\"text\\\").attr(\\\"y\\\",r.textHeight+r.padding).attr(\\\"x\\\",0);let l=!0;e.annotations.forEach(function(H){const G=o.append(\\\"tspan\\\").text(\\\"\\\\xAB\\\"+H+\\\"\\\\xBB\\\");l||G.attr(\\\"dy\\\",r.textHeight),l=!1});let u=e.id;e.type!==void 0&&e.type!==\\\"\\\"&&(u+=\\\"\u003C\\\"+e.type+\\\">\\\");const d=o.append(\\\"tspan\\\").text(u).attr(\\\"class\\\",\\\"title\\\");l||d.attr(\\\"dy\\\",r.textHeight);const f=o.node().getBBox().height,p=a.append(\\\"line\\\").attr(\\\"x1\\\",0).attr(\\\"y1\\\",r.padding+f+r.dividerMargin/2).attr(\\\"y2\\\",r.padding+f+r.dividerMargin/2),g=a.append(\\\"text\\\").attr(\\\"x\\\",r.padding).attr(\\\"y\\\",f+r.dividerMargin+r.textHeight).attr(\\\"fill\\\",\\\"white\\\").attr(\\\"class\\\",\\\"classText\\\");l=!0,e.members.forEach(function(H){Tm(g,H,l,r),l=!1});const b=g.node().getBBox(),k=a.append(\\\"line\\\").attr(\\\"x1\\\",0).attr(\\\"y1\\\",r.padding+f+r.dividerMargin+b.height).attr(\\\"y2\\\",r.padding+f+r.dividerMargin+b.height),T=a.append(\\\"text\\\").attr(\\\"x\\\",r.padding).attr(\\\"y\\\",f+2*r.dividerMargin+b.height+r.textHeight).attr(\\\"fill\\\",\\\"white\\\").attr(\\\"class\\\",\\\"classText\\\");l=!0,e.methods.forEach(function(H){Tm(T,H,l,r),l=!1});const L=a.node().getBBox();var E=\\\" \\\";e.cssClasses.length>0&&(E=E+e.cssClasses.join(\\\" \\\"));const V=a.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"x\\\",0).attr(\\\"y\\\",0).attr(\\\"width\\\",L.width+2*r.padding).attr(\\\"height\\\",L.height+r.padding+.5*r.dividerMargin).attr(\\\"class\\\",E).node().getBBox().width;return o.node().childNodes.forEach(function(H){H.setAttribute(\\\"x\\\",(V-H.getBBox().width)/2)}),e.tooltip&&o.insert(\\\"title\\\").text(e.tooltip),p.attr(\\\"x2\\\",V),k.attr(\\\"x2\\\",V),s.width=V,s.height=L.height+r.padding+.5*r.dividerMargin,s},oB=function(t,e,r,n){B.debug(\\\"Rendering note \\\",e,r);const i=e.id,s={id:i,text:e.text,width:0,height:0},a=t.append(\\\"g\\\").attr(\\\"id\\\",i).attr(\\\"class\\\",\\\"classGroup\\\");let o=a.append(\\\"text\\\").attr(\\\"y\\\",r.textHeight+r.padding).attr(\\\"x\\\",0);const l=JSON.parse(`\\\"${e.text}\\\"`).split(`\\n`);l.forEach(function(p){B.debug(`Adding line: ${p}`),o.append(\\\"tspan\\\").text(p).attr(\\\"class\\\",\\\"title\\\").attr(\\\"dy\\\",r.textHeight)});const u=a.node().getBBox(),f=a.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"x\\\",0).attr(\\\"y\\\",0).attr(\\\"width\\\",u.width+2*r.padding).attr(\\\"height\\\",u.height+l.length*r.textHeight+r.padding+.5*r.dividerMargin).node().getBBox().width;return o.node().childNodes.forEach(function(p){p.setAttribute(\\\"x\\\",(f-p.getBBox().width)/2)}),s.width=f,s.height=u.height+l.length*r.textHeight+r.padding+.5*r.dividerMargin,s},cu=function(t){const e=/^([#+~-])?(\\\\w+)(~\\\\w+~|\\\\[])?\\\\s+(\\\\w+) *([$*])?$/,r=/^([#+|~-])?(\\\\w+) *\\\\( *(.*)\\\\) *([$*])? *(\\\\w*[[\\\\]|~]*\\\\s*\\\\w*~?)$/;let n=t.match(e),i=t.match(r);return n&&!i?lB(n):i?cB(i):uB(t)},lB=function(t){let e=\\\"\\\",r=\\\"\\\";try{let n=t[1]?t[1].trim():\\\"\\\",i=t[2]?t[2].trim():\\\"\\\",s=t[3]?Oi(t[3].trim()):\\\"\\\",a=t[4]?t[4].trim():\\\"\\\",o=t[5]?t[5].trim():\\\"\\\";r=n+i+s+\\\" \\\"+a,e=_0(o)}catch{r=t}return{displayText:r,cssStyle:e}},cB=function(t){let e=\\\"\\\",r=\\\"\\\";try{let n=t[1]?t[1].trim():\\\"\\\",i=t[2]?t[2].trim():\\\"\\\",s=t[3]?Oi(t[3].trim()):\\\"\\\",a=t[4]?t[4].trim():\\\"\\\",o=t[5]?\\\" : \\\"+Oi(t[5]).trim():\\\"\\\";r=n+i+\\\"(\\\"+s+\\\")\\\"+o,e=_0(a)}catch{r=t}return{displayText:r,cssStyle:e}},uB=function(t){let e=\\\"\\\",r=\\\"\\\",n=\\\"\\\",i=t.indexOf(\\\"(\\\"),s=t.indexOf(\\\")\\\");if(i>1&&s>i&&s\u003C=t.length){let a=\\\"\\\",o=\\\"\\\",l=t.substring(0,1);l.match(/\\\\w/)?o=t.substring(0,i).trim():(l.match(/[#+~-]/)&&(a=l),o=t.substring(1,i).trim());const u=t.substring(i+1,s);t.substring(s+1,1),r=_0(t.substring(s+1,s+2)),e=a+o+\\\"(\\\"+Oi(u.trim())+\\\")\\\",s\u003Ct.length&&(n=t.substring(s+2).trim(),n!==\\\"\\\"&&(n=\\\" : \\\"+Oi(n),e+=n))}else e=Oi(t);return{displayText:e,cssStyle:r}},Tm=function(t,e,r,n){let i=cu(e);const s=t.append(\\\"tspan\\\").attr(\\\"x\\\",n.padding).text(i.displayText);i.cssStyle!==\\\"\\\"&&s.attr(\\\"style\\\",i.cssStyle),r||s.attr(\\\"dy\\\",n.textHeight)},_0=function(t){switch(t){case\\\"*\\\":return\\\"font-style:italic;\\\";case\\\"$\\\":return\\\"text-decoration:underline;\\\";default:return\\\"\\\"}},x0={drawClass:aB,drawEdge:sB,drawNote:oB,parseMember:cu};let uu={};const hu=20,Fo=function(t){const e=Object.entries(uu).find(r=>r[1].label===t);if(e)return e[0]},hB=function(t){t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"extensionStart\\\").attr(\\\"class\\\",\\\"extension\\\").attr(\\\"refX\\\",0).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",190).attr(\\\"markerHeight\\\",240).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 1,7 L18,13 V 1 Z\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"extensionEnd\\\").attr(\\\"refX\\\",19).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",28).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 1,1 V 13 L18,7 Z\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"compositionStart\\\").attr(\\\"class\\\",\\\"extension\\\").attr(\\\"refX\\\",0).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",190).attr(\\\"markerHeight\\\",240).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L1,7 L9,1 Z\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"compositionEnd\\\").attr(\\\"refX\\\",19).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",28).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L1,7 L9,1 Z\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"aggregationStart\\\").attr(\\\"class\\\",\\\"extension\\\").attr(\\\"refX\\\",0).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",190).attr(\\\"markerHeight\\\",240).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L1,7 L9,1 Z\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"aggregationEnd\\\").attr(\\\"refX\\\",19).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",28).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L1,7 L9,1 Z\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"dependencyStart\\\").attr(\\\"class\\\",\\\"extension\\\").attr(\\\"refX\\\",0).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",190).attr(\\\"markerHeight\\\",240).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 5,7 L9,13 L1,7 L9,1 Z\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"dependencyEnd\\\").attr(\\\"refX\\\",19).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",28).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L14,7 L9,1 Z\\\")},dB={draw:function(t,e,r,n){const i=$().class;uu={},B.info(\\\"Rendering diagram \\\"+t);const s=$().securityLevel;let a;s===\\\"sandbox\\\"&&(a=St(\\\"#i\\\"+e));const o=St(s===\\\"sandbox\\\"?a.nodes()[0].contentDocument.body:\\\"body\\\"),l=o.select(`[id='${e}']`);hB(l);const u=new sr({multigraph:!0});u.setGraph({isMultiGraph:!0}),u.setDefaultEdgeLabel(function(){return{}});const d=n.db.getClasses(),f=Object.keys(d);for(const E of f){const I=d[E],V=x0.drawClass(l,I,i,n);uu[V.id]=V,u.setNode(V.id,V),B.info(\\\"Org height: \\\"+V.height)}n.db.getRelations().forEach(function(E){B.info(\\\"tjoho\\\"+Fo(E.id1)+Fo(E.id2)+JSON.stringify(E)),u.setEdge(Fo(E.id1),Fo(E.id2),{relation:E},E.title||\\\"DEFAULT\\\")}),n.db.getNotes().forEach(function(E){B.debug(`Adding note: ${JSON.stringify(E)}`);const I=x0.drawNote(l,E,i,n);uu[I.id]=I,u.setNode(I.id,I),E.class&&E.class in d&&u.setEdge(E.id,Fo(E.class),{relation:{id1:E.id,id2:E.class,relation:{type1:\\\"none\\\",type2:\\\"none\\\",lineType:10}}},\\\"DEFAULT\\\")}),Ea(u),u.nodes().forEach(function(E){E!==void 0&&u.node(E)!==void 0&&(B.debug(\\\"Node \\\"+E+\\\": \\\"+JSON.stringify(u.node(E))),o.select(\\\"#\\\"+(n.db.lookUpDomId(E)||E)).attr(\\\"transform\\\",\\\"translate(\\\"+(u.node(E).x-u.node(E).width/2)+\\\",\\\"+(u.node(E).y-u.node(E).height/2)+\\\" )\\\"))}),u.edges().forEach(function(E){E!==void 0&&u.edge(E)!==void 0&&(B.debug(\\\"Edge \\\"+E.v+\\\" -> \\\"+E.w+\\\": \\\"+JSON.stringify(u.edge(E))),x0.drawEdge(l,u.edge(E),u.edge(E).relation,i,n))});const b=l.node().getBBox(),k=b.width+hu*2,T=b.height+hu*2;xn(l,T,k,i.useMaxWidth);const L=`${b.x-hu} ${b.y-hu} ${k} ${T}`;B.debug(`viewBox ${L}`),l.attr(\\\"viewBox\\\",L)}};function yi(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:fB(t),edges:pB(t)};return Ze(t.graph())||(e.value=AL(t.graph())),e}function fB(t){return ir(t.nodes(),function(e){var r=t.node(e),n=t.parent(e),i={v:e};return Ze(r)||(i.value=r),Ze(n)||(i.parent=n),i})}function pB(t){return ir(t.edges(),function(e){var r=t.edge(e),n={v:e.v,w:e.w};return Ze(e.name)||(n.name=e.name),Ze(r)||(n.value=r),n})}const gB=(t,e,r,n)=>{e.forEach(i=>{yB[i](t,r,n)})},yB={extension:(t,e,r)=>{B.trace(\\\"Making markers for \\\",r),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-extensionStart\\\").attr(\\\"class\\\",\\\"marker extension \\\"+e).attr(\\\"refX\\\",0).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",190).attr(\\\"markerHeight\\\",240).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 1,7 L18,13 V 1 Z\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-extensionEnd\\\").attr(\\\"class\\\",\\\"marker extension \\\"+e).attr(\\\"refX\\\",19).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",28).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 1,1 V 13 L18,7 Z\\\")},composition:(t,e)=>{t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-compositionStart\\\").attr(\\\"class\\\",\\\"marker composition \\\"+e).attr(\\\"refX\\\",0).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",190).attr(\\\"markerHeight\\\",240).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L1,7 L9,1 Z\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-compositionEnd\\\").attr(\\\"class\\\",\\\"marker composition \\\"+e).attr(\\\"refX\\\",19).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",28).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L1,7 L9,1 Z\\\")},aggregation:(t,e)=>{t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-aggregationStart\\\").attr(\\\"class\\\",\\\"marker aggregation \\\"+e).attr(\\\"refX\\\",0).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",190).attr(\\\"markerHeight\\\",240).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L1,7 L9,1 Z\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-aggregationEnd\\\").attr(\\\"class\\\",\\\"marker aggregation \\\"+e).attr(\\\"refX\\\",19).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",28).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L1,7 L9,1 Z\\\")},dependency:(t,e)=>{t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-dependencyStart\\\").attr(\\\"class\\\",\\\"marker dependency \\\"+e).attr(\\\"refX\\\",0).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",190).attr(\\\"markerHeight\\\",240).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 5,7 L9,13 L1,7 L9,1 Z\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-dependencyEnd\\\").attr(\\\"class\\\",\\\"marker dependency \\\"+e).attr(\\\"refX\\\",19).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",28).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L14,7 L9,1 Z\\\")},lollipop:(t,e)=>{t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-lollipopStart\\\").attr(\\\"class\\\",\\\"marker lollipop \\\"+e).attr(\\\"refX\\\",0).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",190).attr(\\\"markerHeight\\\",240).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"circle\\\").attr(\\\"stroke\\\",\\\"black\\\").attr(\\\"fill\\\",\\\"white\\\").attr(\\\"cx\\\",6).attr(\\\"cy\\\",7).attr(\\\"r\\\",6)},point:(t,e)=>{t.append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-pointEnd\\\").attr(\\\"class\\\",\\\"marker \\\"+e).attr(\\\"viewBox\\\",\\\"0 0 10 10\\\").attr(\\\"refX\\\",10).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"userSpaceOnUse\\\").attr(\\\"markerWidth\\\",12).attr(\\\"markerHeight\\\",12).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 0 0 L 10 5 L 0 10 z\\\").attr(\\\"class\\\",\\\"arrowMarkerPath\\\").style(\\\"stroke-width\\\",1).style(\\\"stroke-dasharray\\\",\\\"1,0\\\"),t.append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-pointStart\\\").attr(\\\"class\\\",\\\"marker \\\"+e).attr(\\\"viewBox\\\",\\\"0 0 10 10\\\").attr(\\\"refX\\\",0).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"userSpaceOnUse\\\").attr(\\\"markerWidth\\\",12).attr(\\\"markerHeight\\\",12).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 0 5 L 10 10 L 10 0 z\\\").attr(\\\"class\\\",\\\"arrowMarkerPath\\\").style(\\\"stroke-width\\\",1).style(\\\"stroke-dasharray\\\",\\\"1,0\\\")},circle:(t,e)=>{t.append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-circleEnd\\\").attr(\\\"class\\\",\\\"marker \\\"+e).attr(\\\"viewBox\\\",\\\"0 0 10 10\\\").attr(\\\"refX\\\",11).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"userSpaceOnUse\\\").attr(\\\"markerWidth\\\",11).attr(\\\"markerHeight\\\",11).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"circle\\\").attr(\\\"cx\\\",\\\"5\\\").attr(\\\"cy\\\",\\\"5\\\").attr(\\\"r\\\",\\\"5\\\").attr(\\\"class\\\",\\\"arrowMarkerPath\\\").style(\\\"stroke-width\\\",1).style(\\\"stroke-dasharray\\\",\\\"1,0\\\"),t.append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-circleStart\\\").attr(\\\"class\\\",\\\"marker \\\"+e).attr(\\\"viewBox\\\",\\\"0 0 10 10\\\").attr(\\\"refX\\\",-1).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"userSpaceOnUse\\\").attr(\\\"markerWidth\\\",11).attr(\\\"markerHeight\\\",11).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"circle\\\").attr(\\\"cx\\\",\\\"5\\\").attr(\\\"cy\\\",\\\"5\\\").attr(\\\"r\\\",\\\"5\\\").attr(\\\"class\\\",\\\"arrowMarkerPath\\\").style(\\\"stroke-width\\\",1).style(\\\"stroke-dasharray\\\",\\\"1,0\\\")},cross:(t,e)=>{t.append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-crossEnd\\\").attr(\\\"class\\\",\\\"marker cross \\\"+e).attr(\\\"viewBox\\\",\\\"0 0 11 11\\\").attr(\\\"refX\\\",12).attr(\\\"refY\\\",5.2).attr(\\\"markerUnits\\\",\\\"userSpaceOnUse\\\").attr(\\\"markerWidth\\\",11).attr(\\\"markerHeight\\\",11).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 1,1 l 9,9 M 10,1 l -9,9\\\").attr(\\\"class\\\",\\\"arrowMarkerPath\\\").style(\\\"stroke-width\\\",2).style(\\\"stroke-dasharray\\\",\\\"1,0\\\"),t.append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-crossStart\\\").attr(\\\"class\\\",\\\"marker cross \\\"+e).attr(\\\"viewBox\\\",\\\"0 0 11 11\\\").attr(\\\"refX\\\",-1).attr(\\\"refY\\\",5.2).attr(\\\"markerUnits\\\",\\\"userSpaceOnUse\\\").attr(\\\"markerWidth\\\",11).attr(\\\"markerHeight\\\",11).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 1,1 l 9,9 M 10,1 l -9,9\\\").attr(\\\"class\\\",\\\"arrowMarkerPath\\\").style(\\\"stroke-width\\\",2).style(\\\"stroke-dasharray\\\",\\\"1,0\\\")},barb:(t,e)=>{t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",e+\\\"-barbEnd\\\").attr(\\\"refX\\\",19).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",14).attr(\\\"markerUnits\\\",\\\"strokeWidth\\\").attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 19,7 L9,13 L14,7 L9,1 Z\\\")}},mB=gB;function bB(t,e){e&&t.attr(\\\"style\\\",e)}function _B(t){const e=St(document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"foreignObject\\\")),r=e.append(\\\"xhtml:div\\\"),n=t.label,i=t.isNode?\\\"nodeLabel\\\":\\\"edgeLabel\\\";return r.html('\u003Cspan class=\\\"'+i+'\\\" '+(t.labelStyle?'style=\\\"'+t.labelStyle+'\\\"':\\\"\\\")+\\\">\\\"+n+\\\"\u003C/span>\\\"),bB(r,t.labelStyle),r.style(\\\"display\\\",\\\"inline-block\\\"),r.style(\\\"white-space\\\",\\\"nowrap\\\"),r.attr(\\\"xmlns\\\",\\\"http://www.w3.org/1999/xhtml\\\"),e.node()}const Vr=(t,e,r,n)=>{let i=t||\\\"\\\";if(typeof i==\\\"object\\\"&&(i=i[0]),pr($().flowchart.htmlLabels)){i=i.replace(/\\\\\\\\n|\\\\n/g,\\\"\u003Cbr />\\\"),B.info(\\\"vertexText\\\"+i);const s={isNode:n,label:Id(i).replace(/fa[blrs]?:fa-[\\\\w-]+/g,o=>`\u003Ci class='${o.replace(\\\":\\\",\\\" \\\")}'>\u003C/i>`),labelStyle:e.replace(\\\"fill:\\\",\\\"color:\\\")};return _B(s)}else{const s=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"text\\\");s.setAttribute(\\\"style\\\",e.replace(\\\"color:\\\",\\\"fill:\\\"));let a=[];typeof i==\\\"string\\\"?a=i.split(/\\\\\\\\n|\\\\n|\u003Cbr\\\\s*\\\\/?>/gi):Array.isArray(i)?a=i:a=[];for(const o of a){const l=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"tspan\\\");l.setAttributeNS(\\\"http://www.w3.org/XML/1998/namespace\\\",\\\"xml:space\\\",\\\"preserve\\\"),l.setAttribute(\\\"dy\\\",\\\"1em\\\"),l.setAttribute(\\\"x\\\",\\\"0\\\"),r?l.setAttribute(\\\"class\\\",\\\"title-row\\\"):l.setAttribute(\\\"class\\\",\\\"row\\\"),l.textContent=o.trim(),s.appendChild(l)}return s}},Er=(t,e,r,n)=>{let i;r?i=r:i=\\\"node default\\\";const s=t.insert(\\\"g\\\").attr(\\\"class\\\",i).attr(\\\"id\\\",e.domId||e.id),a=s.insert(\\\"g\\\").attr(\\\"class\\\",\\\"label\\\").attr(\\\"style\\\",e.labelStyle);let o;e.labelText===void 0?o=\\\"\\\":o=typeof e.labelText==\\\"string\\\"?e.labelText:e.labelText[0];const l=a.node().appendChild(Vr(yn(Id(o),$()),e.labelStyle,!1,n));let u=l.getBBox();if(pr($().flowchart.htmlLabels)){const f=l.children[0],p=St(l);u=f.getBoundingClientRect(),p.attr(\\\"width\\\",u.width),p.attr(\\\"height\\\",u.height)}const d=e.padding/2;return a.attr(\\\"transform\\\",\\\"translate(\\\"+-u.width/2+\\\", \\\"+-u.height/2+\\\")\\\"),{shapeSvg:s,bbox:u,halfPadding:d,label:a}},Qe=(t,e)=>{const r=e.node().getBBox();t.width=r.width,t.height=r.height};function mi(t,e,r,n){return t.insert(\\\"polygon\\\",\\\":first-child\\\").attr(\\\"points\\\",n.map(function(i){return i.x+\\\",\\\"+i.y}).join(\\\" \\\")).attr(\\\"class\\\",\\\"label-container\\\").attr(\\\"transform\\\",\\\"translate(\\\"+-e/2+\\\",\\\"+r/2+\\\")\\\")}let Te={},Ln={},Em={};const xB=()=>{Ln={},Em={},Te={}},du=(t,e)=>(B.trace(\\\"In isDecendant\\\",e,\\\" \\\",t,\\\" = \\\",Ln[e].includes(t)),!!Ln[e].includes(t)),vB=(t,e)=>(B.info(\\\"Decendants of \\\",e,\\\" is \\\",Ln[e]),B.info(\\\"Edge is \\\",t),t.v===e||t.w===e?!1:Ln[e]?Ln[e].includes(t.v)||du(t.v,e)||du(t.w,e)||Ln[e].includes(t.w):(B.debug(\\\"Tilt, \\\",e,\\\",not in decendants\\\"),!1)),Cm=(t,e,r,n)=>{B.warn(\\\"Copying children of \\\",t,\\\"root\\\",n,\\\"data\\\",e.node(t),n);const i=e.children(t)||[];t!==n&&i.push(t),B.warn(\\\"Copying (nodes) clusterId\\\",t,\\\"nodes\\\",i),i.forEach(s=>{if(e.children(s).length>0)Cm(s,e,r,n);else{const a=e.node(s);B.info(\\\"cp \\\",s,\\\" to \\\",n,\\\" with parent \\\",t),r.setNode(s,a),n!==e.parent(s)&&(B.warn(\\\"Setting parent\\\",s,e.parent(s)),r.setParent(s,e.parent(s))),t!==n&&s!==t?(B.debug(\\\"Setting parent\\\",s,t),r.setParent(s,t)):(B.info(\\\"In copy \\\",t,\\\"root\\\",n,\\\"data\\\",e.node(t),n),B.debug(\\\"Not Setting parent for node=\\\",s,\\\"cluster!==rootId\\\",t!==n,\\\"node!==clusterId\\\",s!==t));const o=e.edges(s);B.debug(\\\"Copying Edges\\\",o),o.forEach(l=>{B.info(\\\"Edge\\\",l);const u=e.edge(l.v,l.w,l.name);B.info(\\\"Edge data\\\",u,n);try{vB(l,n)?(B.info(\\\"Copying as \\\",l.v,l.w,u,l.name),r.setEdge(l.v,l.w,u,l.name),B.info(\\\"newGraph edges \\\",r.edges(),r.edge(r.edges()[0]))):B.info(\\\"Skipping copy of edge \\\",l.v,\\\"-->\\\",l.w,\\\" rootId: \\\",n,\\\" clusterId:\\\",t)}catch(d){B.error(d)}})}B.debug(\\\"Removing node\\\",s),e.removeNode(s)})},Sm=(t,e)=>{const r=e.children(t);let n=[...r];for(const i of r)Em[i]=t,n=[...n,...Sm(i,e)];return n},Po=(t,e)=>{B.trace(\\\"Searching\\\",t);const r=e.children(t);if(B.trace(\\\"Searching children of id \\\",t,r),r.length\u003C1)return B.trace(\\\"This is a valid node\\\",t),t;for(const n of r){const i=Po(n,e);if(i)return B.trace(\\\"Found replacement for\\\",t,\\\" => \\\",i),i}},fu=t=>!Te[t]||!Te[t].externalConnections?t:Te[t]?Te[t].id:t,kB=(t,e)=>{if(!t||e>10){B.debug(\\\"Opting out, no graph \\\");return}else B.debug(\\\"Opting in, graph \\\");t.nodes().forEach(function(r){t.children(r).length>0&&(B.warn(\\\"Cluster identified\\\",r,\\\" Replacement id in edges: \\\",Po(r,t)),Ln[r]=Sm(r,t),Te[r]={id:Po(r,t),clusterData:t.node(r)})}),t.nodes().forEach(function(r){const n=t.children(r),i=t.edges();n.length>0?(B.debug(\\\"Cluster identified\\\",r,Ln),i.forEach(s=>{if(s.v!==r&&s.w!==r){const a=du(s.v,r),o=du(s.w,r);a^o&&(B.warn(\\\"Edge: \\\",s,\\\" leaves cluster \\\",r),B.warn(\\\"Decendants of XXX \\\",r,\\\": \\\",Ln[r]),Te[r].externalConnections=!0)}})):B.debug(\\\"Not a cluster \\\",r,Ln)}),t.edges().forEach(function(r){const n=t.edge(r);B.warn(\\\"Edge \\\"+r.v+\\\" -> \\\"+r.w+\\\": \\\"+JSON.stringify(r)),B.warn(\\\"Edge \\\"+r.v+\\\" -> \\\"+r.w+\\\": \\\"+JSON.stringify(t.edge(r)));let i=r.v,s=r.w;if(B.warn(\\\"Fix XXX\\\",Te,\\\"ids:\\\",r.v,r.w,\\\"Translating: \\\",Te[r.v],\\\" --- \\\",Te[r.w]),Te[r.v]&&Te[r.w]&&Te[r.v]===Te[r.w]){B.warn(\\\"Fixing and trixing link to self - removing XXX\\\",r.v,r.w,r.name),B.warn(\\\"Fixing and trixing - removing XXX\\\",r.v,r.w,r.name),i=fu(r.v),s=fu(r.w),t.removeEdge(r.v,r.w,r.name);const a=r.w+\\\"---\\\"+r.v;t.setNode(a,{domId:a,id:a,labelStyle:\\\"\\\",labelText:n.label,padding:0,shape:\\\"labelRect\\\",style:\\\"\\\"});const o=JSON.parse(JSON.stringify(n)),l=JSON.parse(JSON.stringify(n));o.label=\\\"\\\",o.arrowTypeEnd=\\\"none\\\",l.label=\\\"\\\",o.fromCluster=r.v,l.toCluster=r.v,t.setEdge(i,a,o,r.name+\\\"-cyclic-special\\\"),t.setEdge(a,s,l,r.name+\\\"-cyclic-special\\\")}else(Te[r.v]||Te[r.w])&&(B.warn(\\\"Fixing and trixing - removing XXX\\\",r.v,r.w,r.name),i=fu(r.v),s=fu(r.w),t.removeEdge(r.v,r.w,r.name),i!==r.v&&(n.fromCluster=r.v),s!==r.w&&(n.toCluster=r.w),B.warn(\\\"Fix Replacing with XXX\\\",i,s,r.name),t.setEdge(i,s,n,r.name))}),B.warn(\\\"Adjusted Graph\\\",yi(t)),Am(t,0),B.trace(Te)},Am=(t,e)=>{if(B.warn(\\\"extractor - \\\",e,yi(t),t.children(\\\"D\\\")),e>10){B.error(\\\"Bailing out\\\");return}let r=t.nodes(),n=!1;for(const i of r){const s=t.children(i);n=n||s.length>0}if(!n){B.debug(\\\"Done, no node has children\\\",t.nodes());return}B.debug(\\\"Nodes = \\\",r,e);for(const i of r)if(B.debug(\\\"Extracting node\\\",i,Te,Te[i]&&!Te[i].externalConnections,!t.parent(i),t.node(i),t.children(\\\"D\\\"),\\\" Depth \\\",e),!Te[i])B.debug(\\\"Not a cluster\\\",i,e);else if(!Te[i].externalConnections&&t.children(i)&&t.children(i).length>0){B.warn(\\\"Cluster without external connections, without a parent and with children\\\",i,e);let a=t.graph().rankdir===\\\"TB\\\"?\\\"LR\\\":\\\"TB\\\";Te[i]&&Te[i].clusterData&&Te[i].clusterData.dir&&(a=Te[i].clusterData.dir,B.warn(\\\"Fixing dir\\\",Te[i].clusterData.dir,a));const o=new sr({multigraph:!0,compound:!0}).setGraph({rankdir:a,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});B.warn(\\\"Old graph before copy\\\",yi(t)),Cm(i,t,o,i),t.setNode(i,{clusterNode:!0,id:i,clusterData:Te[i].clusterData,labelText:Te[i].labelText,graph:o}),B.warn(\\\"New graph after copy node: (\\\",i,\\\")\\\",yi(o)),B.debug(\\\"Old graph after copy\\\",yi(t))}else B.warn(\\\"Cluster ** \\\",i,\\\" **not meeting the criteria !externalConnections:\\\",!Te[i].externalConnections,\\\" no parent: \\\",!t.parent(i),\\\" children \\\",t.children(i)&&t.children(i).length>0,t.children(\\\"D\\\"),e),B.debug(Te);r=t.nodes(),B.warn(\\\"New list of nodes\\\",r);for(const i of r){const s=t.node(i);B.warn(\\\" Now next level\\\",i,s),s.clusterNode&&Am(s.graph,e+1)}},Lm=(t,e)=>{if(e.length===0)return[];let r=Object.assign(e);return e.forEach(n=>{const i=t.children(n),s=Lm(t,i);r=[...r,...s]}),r},wB=t=>Lm(t,t.children());function TB(t,e){return t.intersect(e)}function Dm(t,e,r,n){var i=t.x,s=t.y,a=i-n.x,o=s-n.y,l=Math.sqrt(e*e*o*o+r*r*a*a),u=Math.abs(e*r*a/l);n.x\u003Ci&&(u=-u);var d=Math.abs(e*r*o/l);return n.y\u003Cs&&(d=-d),{x:i+u,y:s+d}}function EB(t,e,r){return Dm(t,e,e,r)}function CB(t,e,r,n){var i,s,a,o,l,u,d,f,p,g,b,k,T,L,E;if(i=e.y-t.y,a=t.x-e.x,l=e.x*t.y-t.x*e.y,p=i*r.x+a*r.y+l,g=i*n.x+a*n.y+l,!(p!==0&&g!==0&&Mm(p,g))&&(s=n.y-r.y,o=r.x-n.x,u=n.x*r.y-r.x*n.y,d=s*t.x+o*t.y+u,f=s*e.x+o*e.y+u,!(d!==0&&f!==0&&Mm(d,f))&&(b=i*o-s*a,b!==0)))return k=Math.abs(b/2),T=a*u-o*l,L=T\u003C0?(T-k)/b:(T+k)/b,T=s*l-i*u,E=T\u003C0?(T-k)/b:(T+k)/b,{x:L,y:E}}function Mm(t,e){return t*e>0}function SB(t,e,r){var n=t.x,i=t.y,s=[],a=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY;typeof e.forEach==\\\"function\\\"?e.forEach(function(b){a=Math.min(a,b.x),o=Math.min(o,b.y)}):(a=Math.min(a,e.x),o=Math.min(o,e.y));for(var l=n-t.width/2-a,u=i-t.height/2-o,d=0;d\u003Ce.length;d++){var f=e[d],p=e[d\u003Ce.length-1?d+1:0],g=CB(t,r,{x:l+f.x,y:u+f.y},{x:l+p.x,y:u+p.y});g&&s.push(g)}return s.length?(s.length>1&&s.sort(function(b,k){var T=b.x-r.x,L=b.y-r.y,E=Math.sqrt(T*T+L*L),I=k.x-r.x,V=k.y-r.y,H=Math.sqrt(I*I+V*V);return E\u003CH?-1:E===H?0:1}),s[0]):t}const Yo=(t,e)=>{var r=t.x,n=t.y,i=e.x-r,s=e.y-n,a=t.width/2,o=t.height/2,l,u;return Math.abs(s)*a>Math.abs(i)*o?(s\u003C0&&(o=-o),l=s===0?0:o*i/s,u=o):(i\u003C0&&(a=-a),l=a,u=i===0?0:a*s/i),{x:r+l,y:n+u}},Ge={node:TB,circle:EB,ellipse:Dm,polygon:SB,rect:Yo},AB=(t,e)=>{const{shapeSvg:r,bbox:n,halfPadding:i}=Er(t,e,\\\"node \\\"+e.classes,!0);B.info(\\\"Classes = \\\",e.classes);const s=r.insert(\\\"rect\\\",\\\":first-child\\\");return s.attr(\\\"rx\\\",e.rx).attr(\\\"ry\\\",e.ry).attr(\\\"x\\\",-n.width/2-i).attr(\\\"y\\\",-n.height/2-i).attr(\\\"width\\\",n.width+e.padding).attr(\\\"height\\\",n.height+e.padding),Qe(e,s),e.intersect=function(a){return Ge.rect(e,a)},r},LB=(t,e)=>{const{shapeSvg:r,bbox:n}=Er(t,e,void 0,!0),i=n.width+e.padding,s=n.height+e.padding,a=i+s,o=[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}];B.info(\\\"Question main (Circle)\\\");const l=mi(r,a,a,o);return l.attr(\\\"style\\\",e.style),Qe(e,l),e.intersect=function(u){return B.warn(\\\"Intersect called\\\"),Ge.polygon(e,o,u)},r},DB=(t,e)=>{const r=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"node default\\\").attr(\\\"id\\\",e.domId||e.id),n=28,i=[{x:0,y:n/2},{x:n/2,y:0},{x:0,y:-n/2},{x:-n/2,y:0}];return r.insert(\\\"polygon\\\",\\\":first-child\\\").attr(\\\"points\\\",i.map(function(a){return a.x+\\\",\\\"+a.y}).join(\\\" \\\")).attr(\\\"class\\\",\\\"state-start\\\").attr(\\\"r\\\",7).attr(\\\"width\\\",28).attr(\\\"height\\\",28),e.width=28,e.height=28,e.intersect=function(a){return Ge.circle(e,14,a)},r},MB=(t,e)=>{const{shapeSvg:r,bbox:n}=Er(t,e,void 0,!0),i=4,s=n.height+e.padding,a=s/i,o=n.width+2*a+e.padding,l=[{x:a,y:0},{x:o-a,y:0},{x:o,y:-s/2},{x:o-a,y:-s},{x:a,y:-s},{x:0,y:-s/2}],u=mi(r,o,s,l);return u.attr(\\\"style\\\",e.style),Qe(e,u),e.intersect=function(d){return Ge.polygon(e,l,d)},r},NB=(t,e)=>{const{shapeSvg:r,bbox:n}=Er(t,e,void 0,!0),i=n.width+e.padding,s=n.height+e.padding,a=[{x:-s/2,y:0},{x:i,y:0},{x:i,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return mi(r,i,s,a).attr(\\\"style\\\",e.style),e.width=i+s,e.height=s,e.intersect=function(l){return Ge.polygon(e,a,l)},r},BB=(t,e)=>{const{shapeSvg:r,bbox:n}=Er(t,e,void 0,!0),i=n.width+e.padding,s=n.height+e.padding,a=[{x:-2*s/6,y:0},{x:i-s/6,y:0},{x:i+2*s/6,y:-s},{x:s/6,y:-s}],o=mi(r,i,s,a);return o.attr(\\\"style\\\",e.style),Qe(e,o),e.intersect=function(l){return Ge.polygon(e,a,l)},r},IB=(t,e)=>{const{shapeSvg:r,bbox:n}=Er(t,e,void 0,!0),i=n.width+e.padding,s=n.height+e.padding,a=[{x:2*s/6,y:0},{x:i+s/6,y:0},{x:i-2*s/6,y:-s},{x:-s/6,y:-s}],o=mi(r,i,s,a);return o.attr(\\\"style\\\",e.style),Qe(e,o),e.intersect=function(l){return Ge.polygon(e,a,l)},r},OB=(t,e)=>{const{shapeSvg:r,bbox:n}=Er(t,e,void 0,!0),i=n.width+e.padding,s=n.height+e.padding,a=[{x:-2*s/6,y:0},{x:i+2*s/6,y:0},{x:i-s/6,y:-s},{x:s/6,y:-s}],o=mi(r,i,s,a);return o.attr(\\\"style\\\",e.style),Qe(e,o),e.intersect=function(l){return Ge.polygon(e,a,l)},r},RB=(t,e)=>{const{shapeSvg:r,bbox:n}=Er(t,e,void 0,!0),i=n.width+e.padding,s=n.height+e.padding,a=[{x:s/6,y:0},{x:i-s/6,y:0},{x:i+2*s/6,y:-s},{x:-2*s/6,y:-s}],o=mi(r,i,s,a);return o.attr(\\\"style\\\",e.style),Qe(e,o),e.intersect=function(l){return Ge.polygon(e,a,l)},r},FB=(t,e)=>{const{shapeSvg:r,bbox:n}=Er(t,e,void 0,!0),i=n.width+e.padding,s=n.height+e.padding,a=[{x:0,y:0},{x:i+s/2,y:0},{x:i,y:-s/2},{x:i+s/2,y:-s},{x:0,y:-s}],o=mi(r,i,s,a);return o.attr(\\\"style\\\",e.style),Qe(e,o),e.intersect=function(l){return Ge.polygon(e,a,l)},r},PB=(t,e)=>{const{shapeSvg:r,bbox:n}=Er(t,e,void 0,!0),i=n.width+e.padding,s=i/2,a=s/(2.5+i/50),o=n.height+a+e.padding,l=\\\"M 0,\\\"+a+\\\" a \\\"+s+\\\",\\\"+a+\\\" 0,0,0 \\\"+i+\\\" 0 a \\\"+s+\\\",\\\"+a+\\\" 0,0,0 \\\"+-i+\\\" 0 l 0,\\\"+o+\\\" a \\\"+s+\\\",\\\"+a+\\\" 0,0,0 \\\"+i+\\\" 0 l 0,\\\"+-o,u=r.attr(\\\"label-offset-y\\\",a).insert(\\\"path\\\",\\\":first-child\\\").attr(\\\"style\\\",e.style).attr(\\\"d\\\",l).attr(\\\"transform\\\",\\\"translate(\\\"+-i/2+\\\",\\\"+-(o/2+a)+\\\")\\\");return Qe(e,u),e.intersect=function(d){const f=Ge.rect(e,d),p=f.x-e.x;if(s!=0&&(Math.abs(p)\u003Ce.width/2||Math.abs(p)==e.width/2&&Math.abs(f.y-e.y)>e.height/2-a)){let g=a*a*(1-p*p/(s*s));g!=0&&(g=Math.sqrt(g)),g=a-g,d.y-e.y>0&&(g=-g),f.y+=g}return f},r},YB=(t,e)=>{const{shapeSvg:r,bbox:n,halfPadding:i}=Er(t,e,\\\"node \\\"+e.classes,!0);B.trace(\\\"Classes = \\\",e.classes);const s=r.insert(\\\"rect\\\",\\\":first-child\\\"),a=n.width+e.padding,o=n.height+e.padding;if(s.attr(\\\"class\\\",\\\"basic label-container\\\").attr(\\\"style\\\",e.style).attr(\\\"rx\\\",e.rx).attr(\\\"ry\\\",e.ry).attr(\\\"x\\\",-n.width/2-i).attr(\\\"y\\\",-n.height/2-i).attr(\\\"width\\\",a).attr(\\\"height\\\",o),e.props){const l=new Set(Object.keys(e.props));e.props.borders&&(Nm(s,e.props.borders,a,o),l.delete(\\\"borders\\\")),l.forEach(u=>{B.warn(`Unknown node property ${u}`)})}return Qe(e,s),e.intersect=function(l){return Ge.rect(e,l)},r},VB=(t,e)=>{const{shapeSvg:r}=Er(t,e,\\\"label\\\",!0);B.trace(\\\"Classes = \\\",e.classes);const n=r.insert(\\\"rect\\\",\\\":first-child\\\"),i=0,s=0;if(n.attr(\\\"width\\\",i).attr(\\\"height\\\",s),r.attr(\\\"class\\\",\\\"label edgeLabel\\\"),e.props){const a=new Set(Object.keys(e.props));e.props.borders&&(Nm(n,e.props.borders,i,s),a.delete(\\\"borders\\\")),a.forEach(o=>{B.warn(`Unknown node property ${o}`)})}return Qe(e,n),e.intersect=function(a){return Ge.rect(e,a)},r};function Nm(t,e,r,n){const i=[],s=o=>{i.push(o,0)},a=o=>{i.push(0,o)};e.includes(\\\"t\\\")?(B.debug(\\\"add top border\\\"),s(r)):a(r),e.includes(\\\"r\\\")?(B.debug(\\\"add right border\\\"),s(n)):a(n),e.includes(\\\"b\\\")?(B.debug(\\\"add bottom border\\\"),s(r)):a(r),e.includes(\\\"l\\\")?(B.debug(\\\"add left border\\\"),s(n)):a(n),t.attr(\\\"stroke-dasharray\\\",i.join(\\\" \\\"))}const UB=(t,e)=>{let r;e.classes?r=\\\"node \\\"+e.classes:r=\\\"node default\\\";const n=t.insert(\\\"g\\\").attr(\\\"class\\\",r).attr(\\\"id\\\",e.domId||e.id),i=n.insert(\\\"rect\\\",\\\":first-child\\\"),s=n.insert(\\\"line\\\"),a=n.insert(\\\"g\\\").attr(\\\"class\\\",\\\"label\\\"),o=e.labelText.flat?e.labelText.flat():e.labelText;let l=\\\"\\\";typeof o==\\\"object\\\"?l=o[0]:l=o,B.info(\\\"Label text abc79\\\",l,o,typeof o==\\\"object\\\");const u=a.node().appendChild(Vr(l,e.labelStyle,!0,!0));let d={width:0,height:0};if(pr($().flowchart.htmlLabels)){const k=u.children[0],T=St(u);d=k.getBoundingClientRect(),T.attr(\\\"width\\\",d.width),T.attr(\\\"height\\\",d.height)}B.info(\\\"Text 2\\\",o);const f=o.slice(1,o.length);let p=u.getBBox();const g=a.node().appendChild(Vr(f.join?f.join(\\\"\u003Cbr/>\\\"):f,e.labelStyle,!0,!0));if(pr($().flowchart.htmlLabels)){const k=g.children[0],T=St(g);d=k.getBoundingClientRect(),T.attr(\\\"width\\\",d.width),T.attr(\\\"height\\\",d.height)}const b=e.padding/2;return St(g).attr(\\\"transform\\\",\\\"translate( \\\"+(d.width>p.width?0:(p.width-d.width)/2)+\\\", \\\"+(p.height+b+5)+\\\")\\\"),St(u).attr(\\\"transform\\\",\\\"translate( \\\"+(d.width\u003Cp.width?0:-(p.width-d.width)/2)+\\\", \\\"+0+\\\")\\\"),d=a.node().getBBox(),a.attr(\\\"transform\\\",\\\"translate(\\\"+-d.width/2+\\\", \\\"+(-d.height/2-b+3)+\\\")\\\"),i.attr(\\\"class\\\",\\\"outer title-state\\\").attr(\\\"x\\\",-d.width/2-b).attr(\\\"y\\\",-d.height/2-b).attr(\\\"width\\\",d.width+e.padding).attr(\\\"height\\\",d.height+e.padding),s.attr(\\\"class\\\",\\\"divider\\\").attr(\\\"x1\\\",-d.width/2-b).attr(\\\"x2\\\",d.width/2+b).attr(\\\"y1\\\",-d.height/2-b+p.height+b).attr(\\\"y2\\\",-d.height/2-b+p.height+b),Qe(e,i),e.intersect=function(k){return Ge.rect(e,k)},n},zB=(t,e)=>{const{shapeSvg:r,bbox:n}=Er(t,e,void 0,!0),i=n.height+e.padding,s=n.width+i/4+e.padding,a=r.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"style\\\",e.style).attr(\\\"rx\\\",i/2).attr(\\\"ry\\\",i/2).attr(\\\"x\\\",-s/2).attr(\\\"y\\\",-i/2).attr(\\\"width\\\",s).attr(\\\"height\\\",i);return Qe(e,a),e.intersect=function(o){return Ge.rect(e,o)},r},WB=(t,e)=>{const{shapeSvg:r,bbox:n,halfPadding:i}=Er(t,e,void 0,!0),s=r.insert(\\\"circle\\\",\\\":first-child\\\");return s.attr(\\\"style\\\",e.style).attr(\\\"rx\\\",e.rx).attr(\\\"ry\\\",e.ry).attr(\\\"r\\\",n.width/2+i).attr(\\\"width\\\",n.width+e.padding).attr(\\\"height\\\",n.height+e.padding),B.info(\\\"Circle main\\\"),Qe(e,s),e.intersect=function(a){return B.info(\\\"Circle intersect\\\",e,n.width/2+i,a),Ge.circle(e,n.width/2+i,a)},r},HB=(t,e)=>{const{shapeSvg:r,bbox:n,halfPadding:i}=Er(t,e,void 0,!0),s=5,a=r.insert(\\\"g\\\",\\\":first-child\\\"),o=a.insert(\\\"circle\\\"),l=a.insert(\\\"circle\\\");return o.attr(\\\"style\\\",e.style).attr(\\\"rx\\\",e.rx).attr(\\\"ry\\\",e.ry).attr(\\\"r\\\",n.width/2+i+s).attr(\\\"width\\\",n.width+e.padding+s*2).attr(\\\"height\\\",n.height+e.padding+s*2),l.attr(\\\"style\\\",e.style).attr(\\\"rx\\\",e.rx).attr(\\\"ry\\\",e.ry).attr(\\\"r\\\",n.width/2+i).attr(\\\"width\\\",n.width+e.padding).attr(\\\"height\\\",n.height+e.padding),B.info(\\\"DoubleCircle main\\\"),Qe(e,o),e.intersect=function(u){return B.info(\\\"DoubleCircle intersect\\\",e,n.width/2+i+s,u),Ge.circle(e,n.width/2+i+s,u)},r},GB=(t,e)=>{const{shapeSvg:r,bbox:n}=Er(t,e,void 0,!0),i=n.width+e.padding,s=n.height+e.padding,a=[{x:0,y:0},{x:i,y:0},{x:i,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],o=mi(r,i,s,a);return o.attr(\\\"style\\\",e.style),Qe(e,o),e.intersect=function(l){return Ge.polygon(e,a,l)},r},qB=(t,e)=>{const r=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"node default\\\").attr(\\\"id\\\",e.domId||e.id),n=r.insert(\\\"circle\\\",\\\":first-child\\\");return n.attr(\\\"class\\\",\\\"state-start\\\").attr(\\\"r\\\",7).attr(\\\"width\\\",14).attr(\\\"height\\\",14),Qe(e,n),e.intersect=function(i){return Ge.circle(e,7,i)},r},Bm=(t,e,r)=>{const n=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"node default\\\").attr(\\\"id\\\",e.domId||e.id);let i=70,s=10;r===\\\"LR\\\"&&(i=10,s=70);const a=n.append(\\\"rect\\\").attr(\\\"x\\\",-1*i/2).attr(\\\"y\\\",-1*s/2).attr(\\\"width\\\",i).attr(\\\"height\\\",s).attr(\\\"class\\\",\\\"fork-join\\\");return Qe(e,a),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(o){return Ge.rect(e,o)},n},Im={question:LB,rect:YB,labelRect:VB,rectWithTitle:UB,choice:DB,circle:WB,doublecircle:HB,stadium:zB,hexagon:MB,rect_left_inv_arrow:NB,lean_right:BB,lean_left:IB,trapezoid:OB,inv_trapezoid:RB,rect_right_inv_arrow:FB,cylinder:PB,start:qB,end:(t,e)=>{const r=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"node default\\\").attr(\\\"id\\\",e.domId||e.id),n=r.insert(\\\"circle\\\",\\\":first-child\\\"),i=r.insert(\\\"circle\\\",\\\":first-child\\\");return i.attr(\\\"class\\\",\\\"state-start\\\").attr(\\\"r\\\",7).attr(\\\"width\\\",14).attr(\\\"height\\\",14),n.attr(\\\"class\\\",\\\"state-end\\\").attr(\\\"r\\\",5).attr(\\\"width\\\",10).attr(\\\"height\\\",10),Qe(e,i),e.intersect=function(s){return Ge.circle(e,7,s)},r},note:AB,subroutine:GB,fork:Bm,join:Bm,class_box:(t,e)=>{const r=e.padding/2,n=4,i=8;let s;e.classes?s=\\\"node \\\"+e.classes:s=\\\"node default\\\";const a=t.insert(\\\"g\\\").attr(\\\"class\\\",s).attr(\\\"id\\\",e.domId||e.id),o=a.insert(\\\"rect\\\",\\\":first-child\\\"),l=a.insert(\\\"line\\\"),u=a.insert(\\\"line\\\");let d=0,f=n;const p=a.insert(\\\"g\\\").attr(\\\"class\\\",\\\"label\\\");let g=0;const b=e.classData.annotations&&e.classData.annotations[0],k=e.classData.annotations[0]?\\\"\\\\xAB\\\"+e.classData.annotations[0]+\\\"\\\\xBB\\\":\\\"\\\",T=p.node().appendChild(Vr(k,e.labelStyle,!0,!0));let L=T.getBBox();if(pr($().flowchart.htmlLabels)){const W=T.children[0],N=St(T);L=W.getBoundingClientRect(),N.attr(\\\"width\\\",L.width),N.attr(\\\"height\\\",L.height)}e.classData.annotations[0]&&(f+=L.height+n,d+=L.width);let E=e.classData.id;e.classData.type!==void 0&&e.classData.type!==\\\"\\\"&&($().flowchart.htmlLabels?E+=\\\"<\\\"+e.classData.type+\\\">\\\":E+=\\\"\u003C\\\"+e.classData.type+\\\">\\\");const I=p.node().appendChild(Vr(E,e.labelStyle,!0,!0));St(I).attr(\\\"class\\\",\\\"classTitle\\\");let V=I.getBBox();if(pr($().flowchart.htmlLabels)){const W=I.children[0],N=St(I);V=W.getBoundingClientRect(),N.attr(\\\"width\\\",V.width),N.attr(\\\"height\\\",V.height)}f+=V.height+n,V.width>d&&(d=V.width);const H=[];e.classData.members.forEach(W=>{const N=cu(W);let D=N.displayText;$().flowchart.htmlLabels&&(D=D.replace(/\u003C/g,\\\"<\\\").replace(/>/g,\\\">\\\"));const w=p.node().appendChild(Vr(D,N.cssStyle?N.cssStyle:e.labelStyle,!0,!0));let v=w.getBBox();if(pr($().flowchart.htmlLabels)){const M=w.children[0],m=St(w);v=M.getBoundingClientRect(),m.attr(\\\"width\\\",v.width),m.attr(\\\"height\\\",v.height)}v.width>d&&(d=v.width),f+=v.height+n,H.push(w)}),f+=i;const G=[];if(e.classData.methods.forEach(W=>{const N=cu(W);let D=N.displayText;$().flowchart.htmlLabels&&(D=D.replace(/\u003C/g,\\\"<\\\").replace(/>/g,\\\">\\\"));const w=p.node().appendChild(Vr(D,N.cssStyle?N.cssStyle:e.labelStyle,!0,!0));let v=w.getBBox();if(pr($().flowchart.htmlLabels)){const M=w.children[0],m=St(w);v=M.getBoundingClientRect(),m.attr(\\\"width\\\",v.width),m.attr(\\\"height\\\",v.height)}v.width>d&&(d=v.width),f+=v.height+n,G.push(w)}),f+=i,b){let W=(d-L.width)/2;St(T).attr(\\\"transform\\\",\\\"translate( \\\"+(-1*d/2+W)+\\\", \\\"+-1*f/2+\\\")\\\"),g=L.height+n}let Y=(d-V.width)/2;return St(I).attr(\\\"transform\\\",\\\"translate( \\\"+(-1*d/2+Y)+\\\", \\\"+(-1*f/2+g)+\\\")\\\"),g+=V.height+n,l.attr(\\\"class\\\",\\\"divider\\\").attr(\\\"x1\\\",-d/2-r).attr(\\\"x2\\\",d/2+r).attr(\\\"y1\\\",-f/2-r+i+g).attr(\\\"y2\\\",-f/2-r+i+g),g+=i,H.forEach(W=>{St(W).attr(\\\"transform\\\",\\\"translate( \\\"+-d/2+\\\", \\\"+(-1*f/2+g+i/2)+\\\")\\\"),g+=V.height+n}),g+=i,u.attr(\\\"class\\\",\\\"divider\\\").attr(\\\"x1\\\",-d/2-r).attr(\\\"x2\\\",d/2+r).attr(\\\"y1\\\",-f/2-r+i+g).attr(\\\"y2\\\",-f/2-r+i+g),g+=i,G.forEach(W=>{St(W).attr(\\\"transform\\\",\\\"translate( \\\"+-d/2+\\\", \\\"+(-1*f/2+g)+\\\")\\\"),g+=V.height+n}),o.attr(\\\"class\\\",\\\"outer title-state\\\").attr(\\\"x\\\",-d/2-r).attr(\\\"y\\\",-(f/2)-r).attr(\\\"width\\\",d+e.padding).attr(\\\"height\\\",f+e.padding),Qe(e,o),e.intersect=function(W){return Ge.rect(e,W)},a}};let Ca={};const jB=(t,e,r)=>{let n,i;if(e.link){let s;$().securityLevel===\\\"sandbox\\\"?s=\\\"_top\\\":e.linkTarget&&(s=e.linkTarget||\\\"_blank\\\"),n=t.insert(\\\"svg:a\\\").attr(\\\"xlink:href\\\",e.link).attr(\\\"target\\\",s),i=Im[e.shape](n,e,r)}else i=Im[e.shape](t,e,r),n=i;e.tooltip&&i.attr(\\\"title\\\",e.tooltip),e.class&&i.attr(\\\"class\\\",\\\"node default \\\"+e.class),Ca[e.id]=n,e.haveCallback&&Ca[e.id].attr(\\\"class\\\",Ca[e.id].attr(\\\"class\\\")+\\\" clickable\\\")},$B=(t,e)=>{Ca[e.id]=t},XB=()=>{Ca={}},Om=t=>{const e=Ca[t.id];B.trace(\\\"Transforming node\\\",t.diff,t,\\\"translate(\\\"+(t.x-t.width/2-5)+\\\", \\\"+t.width/2+\\\")\\\");const r=8,n=t.diff||0;return t.clusterNode?e.attr(\\\"transform\\\",\\\"translate(\\\"+(t.x+n-t.width/2)+\\\", \\\"+(t.y-t.height/2-r)+\\\")\\\"):e.attr(\\\"transform\\\",\\\"translate(\\\"+t.x+\\\", \\\"+t.y+\\\")\\\"),n},KB={rect:(t,e)=>{B.trace(\\\"Creating subgraph rect for \\\",e.id,e);const r=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"cluster\\\"+(e.class?\\\" \\\"+e.class:\\\"\\\")).attr(\\\"id\\\",e.id),n=r.insert(\\\"rect\\\",\\\":first-child\\\"),i=r.insert(\\\"g\\\").attr(\\\"class\\\",\\\"cluster-label\\\"),s=i.node().appendChild(Vr(e.labelText,e.labelStyle,void 0,!0));let a=s.getBBox();if(pr($().flowchart.htmlLabels)){const f=s.children[0],p=St(s);a=f.getBoundingClientRect(),p.attr(\\\"width\\\",a.width),p.attr(\\\"height\\\",a.height)}const o=0*e.padding,l=o/2,u=e.width\u003C=a.width+o?a.width+o:e.width;e.width\u003C=a.width+o?e.diff=(a.width-e.width)/2-e.padding/2:e.diff=-e.padding/2,B.trace(\\\"Data \\\",e,JSON.stringify(e)),n.attr(\\\"style\\\",e.style).attr(\\\"rx\\\",e.rx).attr(\\\"ry\\\",e.ry).attr(\\\"x\\\",e.x-u/2).attr(\\\"y\\\",e.y-e.height/2-l).attr(\\\"width\\\",u).attr(\\\"height\\\",e.height+o),i.attr(\\\"transform\\\",\\\"translate(\\\"+(e.x-a.width/2)+\\\", \\\"+(e.y-e.height/2)+\\\")\\\");const d=n.node().getBBox();return e.width=d.width,e.height=d.height,e.intersect=function(f){return Yo(e,f)},r},roundedWithTitle:(t,e)=>{const r=t.insert(\\\"g\\\").attr(\\\"class\\\",e.classes).attr(\\\"id\\\",e.id),n=r.insert(\\\"rect\\\",\\\":first-child\\\"),i=r.insert(\\\"g\\\").attr(\\\"class\\\",\\\"cluster-label\\\"),s=r.append(\\\"rect\\\"),a=i.node().appendChild(Vr(e.labelText,e.labelStyle,void 0,!0));let o=a.getBBox();if(pr($().flowchart.htmlLabels)){const p=a.children[0],g=St(a);o=p.getBoundingClientRect(),g.attr(\\\"width\\\",o.width),g.attr(\\\"height\\\",o.height)}o=a.getBBox();const l=0*e.padding,u=l/2,d=e.width\u003C=o.width+e.padding?o.width+e.padding:e.width;e.width\u003C=o.width+e.padding?e.diff=(o.width+e.padding*0-e.width)/2:e.diff=-e.padding/2,n.attr(\\\"class\\\",\\\"outer\\\").attr(\\\"x\\\",e.x-d/2-u).attr(\\\"y\\\",e.y-e.height/2-u).attr(\\\"width\\\",d+l).attr(\\\"height\\\",e.height+l),s.attr(\\\"class\\\",\\\"inner\\\").attr(\\\"x\\\",e.x-d/2-u).attr(\\\"y\\\",e.y-e.height/2-u+o.height-1).attr(\\\"width\\\",d+l).attr(\\\"height\\\",e.height+l-o.height-3),i.attr(\\\"transform\\\",\\\"translate(\\\"+(e.x-o.width/2)+\\\", \\\"+(e.y-e.height/2-e.padding/3+(pr($().flowchart.htmlLabels)?5:3))+\\\")\\\");const f=n.node().getBBox();return e.height=f.height,e.intersect=function(p){return Yo(e,p)},r},noteGroup:(t,e)=>{const r=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"note-cluster\\\").attr(\\\"id\\\",e.id),n=r.insert(\\\"rect\\\",\\\":first-child\\\"),i=0*e.padding,s=i/2;n.attr(\\\"rx\\\",e.rx).attr(\\\"ry\\\",e.ry).attr(\\\"x\\\",e.x-e.width/2-s).attr(\\\"y\\\",e.y-e.height/2-s).attr(\\\"width\\\",e.width+i).attr(\\\"height\\\",e.height+i).attr(\\\"fill\\\",\\\"none\\\");const a=n.node().getBBox();return e.width=a.width,e.height=a.height,e.intersect=function(o){return Yo(e,o)},r},divider:(t,e)=>{const r=t.insert(\\\"g\\\").attr(\\\"class\\\",e.classes).attr(\\\"id\\\",e.id),n=r.insert(\\\"rect\\\",\\\":first-child\\\"),i=0*e.padding,s=i/2;n.attr(\\\"class\\\",\\\"divider\\\").attr(\\\"x\\\",e.x-e.width/2-s).attr(\\\"y\\\",e.y-e.height/2).attr(\\\"width\\\",e.width+i).attr(\\\"height\\\",e.height+i);const a=n.node().getBBox();return e.width=a.width,e.height=a.height,e.diff=-e.padding/2,e.intersect=function(o){return Yo(e,o)},r}};let Rm={};const ZB=(t,e)=>{B.trace(\\\"Inserting cluster\\\");const r=e.shape||\\\"rect\\\";Rm[e.id]=KB[r](t,e)},QB=()=>{Rm={}};let pu={},br={};const JB=()=>{pu={},br={}},tI=(t,e)=>{const r=Vr(e.label,e.labelStyle),n=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"edgeLabel\\\"),i=n.insert(\\\"g\\\").attr(\\\"class\\\",\\\"label\\\");i.node().appendChild(r);let s=r.getBBox();if(pr($().flowchart.htmlLabels)){const o=r.children[0],l=St(r);s=o.getBoundingClientRect(),l.attr(\\\"width\\\",s.width),l.attr(\\\"height\\\",s.height)}i.attr(\\\"transform\\\",\\\"translate(\\\"+-s.width/2+\\\", \\\"+-s.height/2+\\\")\\\"),pu[e.id]=n,e.width=s.width,e.height=s.height;let a;if(e.startLabelLeft){const o=Vr(e.startLabelLeft,e.labelStyle),l=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"edgeTerminals\\\"),u=l.insert(\\\"g\\\").attr(\\\"class\\\",\\\"inner\\\");a=u.node().appendChild(o);const d=o.getBBox();u.attr(\\\"transform\\\",\\\"translate(\\\"+-d.width/2+\\\", \\\"+-d.height/2+\\\")\\\"),br[e.id]||(br[e.id]={}),br[e.id].startLeft=l,gu(a,e.startLabelLeft)}if(e.startLabelRight){const o=Vr(e.startLabelRight,e.labelStyle),l=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"edgeTerminals\\\"),u=l.insert(\\\"g\\\").attr(\\\"class\\\",\\\"inner\\\");a=l.node().appendChild(o),u.node().appendChild(o);const d=o.getBBox();u.attr(\\\"transform\\\",\\\"translate(\\\"+-d.width/2+\\\", \\\"+-d.height/2+\\\")\\\"),br[e.id]||(br[e.id]={}),br[e.id].startRight=l,gu(a,e.startLabelRight)}if(e.endLabelLeft){const o=Vr(e.endLabelLeft,e.labelStyle),l=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"edgeTerminals\\\"),u=l.insert(\\\"g\\\").attr(\\\"class\\\",\\\"inner\\\");a=u.node().appendChild(o);const d=o.getBBox();u.attr(\\\"transform\\\",\\\"translate(\\\"+-d.width/2+\\\", \\\"+-d.height/2+\\\")\\\"),l.node().appendChild(o),br[e.id]||(br[e.id]={}),br[e.id].endLeft=l,gu(a,e.endLabelLeft)}if(e.endLabelRight){const o=Vr(e.endLabelRight,e.labelStyle),l=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"edgeTerminals\\\"),u=l.insert(\\\"g\\\").attr(\\\"class\\\",\\\"inner\\\");a=u.node().appendChild(o);const d=o.getBBox();u.attr(\\\"transform\\\",\\\"translate(\\\"+-d.width/2+\\\", \\\"+-d.height/2+\\\")\\\"),l.node().appendChild(o),br[e.id]||(br[e.id]={}),br[e.id].endRight=l,gu(a,e.endLabelRight)}};function gu(t,e){$().flowchart.htmlLabels&&t&&(t.style.width=e.length*9+\\\"px\\\",t.style.height=\\\"12px\\\")}const eI=(t,e)=>{B.info(\\\"Moving label abc78 \\\",t.id,t.label,pu[t.id]);let r=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const n=pu[t.id];let i=t.x,s=t.y;if(r){const a=ge.calcLabelPosition(r);B.info(\\\"Moving label \\\"+t.label+\\\" from (\\\",i,\\\",\\\",s,\\\") to (\\\",a.x,\\\",\\\",a.y,\\\") abc78\\\"),e.updatedPath&&(i=a.x,s=a.y)}n.attr(\\\"transform\\\",\\\"translate(\\\"+i+\\\", \\\"+s+\\\")\\\")}if(t.startLabelLeft){const n=br[t.id].startLeft;let i=t.x,s=t.y;if(r){const a=ge.calcTerminalLabelPosition(t.arrowTypeStart?10:0,\\\"start_left\\\",r);i=a.x,s=a.y}n.attr(\\\"transform\\\",\\\"translate(\\\"+i+\\\", \\\"+s+\\\")\\\")}if(t.startLabelRight){const n=br[t.id].startRight;let i=t.x,s=t.y;if(r){const a=ge.calcTerminalLabelPosition(t.arrowTypeStart?10:0,\\\"start_right\\\",r);i=a.x,s=a.y}n.attr(\\\"transform\\\",\\\"translate(\\\"+i+\\\", \\\"+s+\\\")\\\")}if(t.endLabelLeft){const n=br[t.id].endLeft;let i=t.x,s=t.y;if(r){const a=ge.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,\\\"end_left\\\",r);i=a.x,s=a.y}n.attr(\\\"transform\\\",\\\"translate(\\\"+i+\\\", \\\"+s+\\\")\\\")}if(t.endLabelRight){const n=br[t.id].endRight;let i=t.x,s=t.y;if(r){const a=ge.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,\\\"end_right\\\",r);i=a.x,s=a.y}n.attr(\\\"transform\\\",\\\"translate(\\\"+i+\\\", \\\"+s+\\\")\\\")}},rI=(t,e)=>{const r=t.x,n=t.y,i=Math.abs(e.x-r),s=Math.abs(e.y-n),a=t.width/2,o=t.height/2;return i>=a||s>=o},nI=(t,e,r)=>{B.warn(`intersection calc abc89:\\n outsidePoint: ${JSON.stringify(e)}\\n insidePoint : ${JSON.stringify(r)}\\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const n=t.x,i=t.y,s=Math.abs(n-r.x),a=t.width/2;let o=r.x\u003Ce.x?a-s:a+s;const l=t.height/2,u=Math.abs(e.y-r.y),d=Math.abs(e.x-r.x);if(Math.abs(i-e.y)*a>Math.abs(n-e.x)*l){let f=r.y\u003Ce.y?e.y-l-i:i-l-e.y;o=d*f/u;const p={x:r.x\u003Ce.x?r.x+o:r.x-d+o,y:r.y\u003Ce.y?r.y+u-f:r.y-u+f};return o===0&&(p.x=e.x,p.y=e.y),d===0&&(p.x=e.x),u===0&&(p.y=e.y),B.warn(`abc89 topp/bott calc, Q ${u}, q ${f}, R ${d}, r ${o}`,p),p}else{r.x\u003Ce.x?o=e.x-a-n:o=n-a-e.x;let f=u*o/d,p=r.x\u003Ce.x?r.x+d-o:r.x-d+o,g=r.y\u003Ce.y?r.y+f:r.y-f;return B.warn(`sides calc abc89, Q ${u}, q ${f}, R ${d}, r ${o}`,{_x:p,_y:g}),o===0&&(p=e.x,g=e.y),d===0&&(p=e.x),u===0&&(g=e.y),{x:p,y:g}}},Fm=(t,e)=>{B.warn(\\\"abc88 cutPathAtIntersect\\\",t,e);let r=[],n=t[0],i=!1;return t.forEach(s=>{if(B.info(\\\"abc88 checking point\\\",s,e),!rI(e,s)&&!i){const a=nI(e,n,s);B.warn(\\\"abc88 inside\\\",s,n,a),B.warn(\\\"abc88 intersection\\\",a);let o=!1;r.forEach(l=>{o=o||l.x===a.x&&l.y===a.y}),r.some(l=>l.x===a.x&&l.y===a.y)?B.warn(\\\"abc88 no intersect\\\",a,r):r.push(a),i=!0}else B.warn(\\\"abc88 outside\\\",s,n),n=s,i||r.push(s)}),B.warn(\\\"abc88 returning points\\\",r),r},iI=function(t,e,r,n,i,s){let a=r.points,o=!1;const l=s.node(e.v);var u=s.node(e.w);B.info(\\\"abc88 InsertEdge: \\\",r),u.intersect&&l.intersect&&(a=a.slice(1,r.points.length-1),a.unshift(l.intersect(a[0])),B.info(\\\"Last point\\\",a[a.length-1],u,u.intersect(a[a.length-1])),a.push(u.intersect(a[a.length-1]))),r.toCluster&&(B.info(\\\"to cluster abc88\\\",n[r.toCluster]),a=Fm(r.points,n[r.toCluster].node),o=!0),r.fromCluster&&(B.info(\\\"from cluster abc88\\\",n[r.fromCluster]),a=Fm(a.reverse(),n[r.fromCluster].node).reverse(),o=!0);const d=a.filter(L=>!Number.isNaN(L.y));let f;i===\\\"graph\\\"||i===\\\"flowchart\\\"?f=r.curve||ta:f=ta;const p=Js().x(function(L){return L.x}).y(function(L){return L.y}).curve(f);let g;switch(r.thickness){case\\\"normal\\\":g=\\\"edge-thickness-normal\\\";break;case\\\"thick\\\":g=\\\"edge-thickness-thick\\\";break;default:g=\\\"\\\"}switch(r.pattern){case\\\"solid\\\":g+=\\\" edge-pattern-solid\\\";break;case\\\"dotted\\\":g+=\\\" edge-pattern-dotted\\\";break;case\\\"dashed\\\":g+=\\\" edge-pattern-dashed\\\";break}const b=t.append(\\\"path\\\").attr(\\\"d\\\",p(d)).attr(\\\"id\\\",r.id).attr(\\\"class\\\",\\\" \\\"+g+(r.classes?\\\" \\\"+r.classes:\\\"\\\")).attr(\\\"style\\\",r.style);let k=\\\"\\\";switch(($().flowchart.arrowMarkerAbsolute||$().state.arrowMarkerAbsolute)&&(k=window.location.protocol+\\\"//\\\"+window.location.host+window.location.pathname+window.location.search,k=k.replace(/\\\\(/g,\\\"\\\\\\\\(\\\"),k=k.replace(/\\\\)/g,\\\"\\\\\\\\)\\\")),B.info(\\\"arrowTypeStart\\\",r.arrowTypeStart),B.info(\\\"arrowTypeEnd\\\",r.arrowTypeEnd),r.arrowTypeStart){case\\\"arrow_cross\\\":b.attr(\\\"marker-start\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-crossStart)\\\");break;case\\\"arrow_point\\\":b.attr(\\\"marker-start\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-pointStart)\\\");break;case\\\"arrow_barb\\\":b.attr(\\\"marker-start\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-barbStart)\\\");break;case\\\"arrow_circle\\\":b.attr(\\\"marker-start\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-circleStart)\\\");break;case\\\"aggregation\\\":b.attr(\\\"marker-start\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-aggregationStart)\\\");break;case\\\"extension\\\":b.attr(\\\"marker-start\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-extensionStart)\\\");break;case\\\"composition\\\":b.attr(\\\"marker-start\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-compositionStart)\\\");break;case\\\"dependency\\\":b.attr(\\\"marker-start\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-dependencyStart)\\\");break;case\\\"lollipop\\\":b.attr(\\\"marker-start\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-lollipopStart)\\\");break}switch(r.arrowTypeEnd){case\\\"arrow_cross\\\":b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-crossEnd)\\\");break;case\\\"arrow_point\\\":b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-pointEnd)\\\");break;case\\\"arrow_barb\\\":b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-barbEnd)\\\");break;case\\\"arrow_circle\\\":b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-circleEnd)\\\");break;case\\\"aggregation\\\":b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-aggregationEnd)\\\");break;case\\\"extension\\\":b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-extensionEnd)\\\");break;case\\\"composition\\\":b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-compositionEnd)\\\");break;case\\\"dependency\\\":b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-dependencyEnd)\\\");break;case\\\"lollipop\\\":b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#\\\"+i+\\\"-lollipopEnd)\\\");break}let T={};return o&&(T.updatedPath=a),T.originalPath=r.points,T},Pm=(t,e,r,n)=>{B.info(\\\"Graph in recursive render: XXX\\\",yi(e),n);const i=e.graph().rankdir;B.trace(\\\"Dir in recursive render - dir:\\\",i);const s=t.insert(\\\"g\\\").attr(\\\"class\\\",\\\"root\\\");e.nodes()?B.info(\\\"Recursive render XXX\\\",e.nodes()):B.info(\\\"No nodes found for\\\",e),e.edges().length>0&&B.trace(\\\"Recursive edges\\\",e.edge(e.edges()[0]));const a=s.insert(\\\"g\\\").attr(\\\"class\\\",\\\"clusters\\\"),o=s.insert(\\\"g\\\").attr(\\\"class\\\",\\\"edgePaths\\\"),l=s.insert(\\\"g\\\").attr(\\\"class\\\",\\\"edgeLabels\\\"),u=s.insert(\\\"g\\\").attr(\\\"class\\\",\\\"nodes\\\");e.nodes().forEach(function(f){const p=e.node(f);if(n!==void 0){const g=JSON.parse(JSON.stringify(n.clusterData));B.info(\\\"Setting data for cluster XXX (\\\",f,\\\") \\\",g,n),e.setNode(n.id,g),e.parent(f)||(B.trace(\\\"Setting parent\\\",f,n.id),e.setParent(f,n.id,g))}if(B.info(\\\"(Insert) Node XXX\\\"+f+\\\": \\\"+JSON.stringify(e.node(f))),p&&p.clusterNode){B.info(\\\"Cluster identified\\\",f,p.width,e.node(f));const g=Pm(u,p.graph,r,e.node(f)),b=g.elem;Qe(p,b),p.diff=g.diff||0,B.info(\\\"Node bounds (abc123)\\\",f,p,p.width,p.x,p.y),$B(b,p),B.warn(\\\"Recursive render complete \\\",b,p)}else e.children(f).length>0?(B.info(\\\"Cluster - the non recursive path XXX\\\",f,p.id,p,e),B.info(Po(p.id,e)),Te[p.id]={id:Po(p.id,e),node:p}):(B.info(\\\"Node - the non recursive path\\\",f,p.id,p),jB(u,e.node(f),i))}),e.edges().forEach(function(f){const p=e.edge(f.v,f.w,f.name);B.info(\\\"Edge \\\"+f.v+\\\" -> \\\"+f.w+\\\": \\\"+JSON.stringify(f)),B.info(\\\"Edge \\\"+f.v+\\\" -> \\\"+f.w+\\\": \\\",f,\\\" \\\",JSON.stringify(e.edge(f))),B.info(\\\"Fix\\\",Te,\\\"ids:\\\",f.v,f.w,\\\"Translateing: \\\",Te[f.v],Te[f.w]),tI(l,p)}),e.edges().forEach(function(f){B.info(\\\"Edge \\\"+f.v+\\\" -> \\\"+f.w+\\\": \\\"+JSON.stringify(f))}),B.info(\\\"#############################################\\\"),B.info(\\\"### Layout ###\\\"),B.info(\\\"#############################################\\\"),B.info(e),Ea(e),B.info(\\\"Graph after layout:\\\",yi(e));let d=0;return wB(e).forEach(function(f){const p=e.node(f);B.info(\\\"Position \\\"+f+\\\": \\\"+JSON.stringify(e.node(f))),B.info(\\\"Position \\\"+f+\\\": (\\\"+p.x,\\\",\\\"+p.y,\\\") width: \\\",p.width,\\\" height: \\\",p.height),p&&p.clusterNode?Om(p):e.children(f).length>0?(ZB(a,p),Te[p.id].node=p):Om(p)}),e.edges().forEach(function(f){const p=e.edge(f);B.info(\\\"Edge \\\"+f.v+\\\" -> \\\"+f.w+\\\": \\\"+JSON.stringify(p),p);const g=iI(o,f,p,Te,r,e);eI(p,g)}),e.nodes().forEach(function(f){const p=e.node(f);B.info(f,p.type,p.diff),p.type===\\\"group\\\"&&(d=p.diff)}),{elem:s,diff:d}},v0=(t,e,r,n,i)=>{mB(t,r,n,i),XB(),JB(),QB(),xB(),B.warn(\\\"Graph at first:\\\",yi(e)),kB(e),B.warn(\\\"Graph after:\\\",yi(e)),Pm(t,e,n)},Ym=t=>he.sanitizeText(t,$());let Vm={dividerMargin:10,padding:5,textHeight:10};const sI=function(t,e,r,n){const i=Object.keys(t);B.info(\\\"keys:\\\",i),B.info(t),i.forEach(function(s){const a=t[s];let o=\\\"\\\";a.cssClasses.length>0&&(o=o+\\\" \\\"+a.cssClasses.join(\\\" \\\"));const l={labelStyle:\\\"\\\"};let u=a.text!==void 0?a.text:a.id,d=0,f=\\\"\\\";switch(a.type){case\\\"class\\\":f=\\\"class_box\\\";break;default:f=\\\"class_box\\\"}e.setNode(a.id,{labelStyle:l.labelStyle,shape:f,labelText:Ym(u),classData:a,rx:d,ry:d,class:o,style:l.style,id:a.id,domId:a.domId,tooltip:n.db.getTooltip(a.id)||\\\"\\\",haveCallback:a.haveCallback,link:a.link,width:a.type===\\\"group\\\"?500:void 0,type:a.type,padding:$().flowchart.padding}),B.info(\\\"setNode\\\",{labelStyle:l.labelStyle,shape:f,labelText:u,rx:d,ry:d,class:o,style:l.style,id:a.id,width:a.type===\\\"group\\\"?500:void 0,type:a.type,padding:$().flowchart.padding})})},aI=function(t,e,r,n){B.info(t),t.forEach(function(i,s){const a=i;let o=\\\"\\\";const l={labelStyle:\\\"\\\",style:\\\"\\\"};let u=a.text,d=0,f=\\\"note\\\";if(e.setNode(a.id,{labelStyle:l.labelStyle,shape:f,labelText:Ym(u),noteData:a,rx:d,ry:d,class:o,style:l.style,id:a.id,domId:a.id,tooltip:\\\"\\\",type:\\\"note\\\",padding:$().flowchart.padding}),B.info(\\\"setNode\\\",{labelStyle:l.labelStyle,shape:f,labelText:u,rx:d,ry:d,style:l.style,id:a.id,type:\\\"note\\\",padding:$().flowchart.padding}),!a.class||!(a.class in n))return;const p=r+s,g={};g.classes=\\\"relation\\\",g.pattern=\\\"dotted\\\",g.id=`edgeNote${p}`,g.arrowhead=\\\"none\\\",B.info(`Note edge: ${JSON.stringify(g)}, ${JSON.stringify(a)}`),g.startLabelRight=\\\"\\\",g.endLabelLeft=\\\"\\\",g.arrowTypeStart=\\\"none\\\",g.arrowTypeEnd=\\\"none\\\";let b=\\\"fill:none\\\",k=\\\"\\\";g.style=b,g.labelStyle=k,g.curve=bn(Vm.curve,Hr),e.setEdge(a.id,a.class,g,p)})},oI=function(t,e){const r=$().flowchart;let n=0;t.forEach(function(i){n++;const s={};s.classes=\\\"relation\\\",s.pattern=i.relation.lineType==1?\\\"dashed\\\":\\\"solid\\\",s.id=\\\"id\\\"+n,i.type===\\\"arrow_open\\\"?s.arrowhead=\\\"none\\\":s.arrowhead=\\\"normal\\\",B.info(s,i),s.startLabelRight=i.relationTitle1===\\\"none\\\"?\\\"\\\":i.relationTitle1,s.endLabelLeft=i.relationTitle2===\\\"none\\\"?\\\"\\\":i.relationTitle2,s.arrowTypeStart=Um(i.relation.type1),s.arrowTypeEnd=Um(i.relation.type2);let a=\\\"\\\",o=\\\"\\\";if(i.style!==void 0){const l=Vi(i.style);a=l.style,o=l.labelStyle}else a=\\\"fill:none\\\";s.style=a,s.labelStyle=o,i.interpolate!==void 0?s.curve=bn(i.interpolate,Hr):t.defaultInterpolate!==void 0?s.curve=bn(t.defaultInterpolate,Hr):s.curve=bn(r.curve,Hr),i.text=i.title,i.text===void 0?i.style!==void 0&&(s.arrowheadStyle=\\\"fill: #333\\\"):(s.arrowheadStyle=\\\"fill: #333\\\",s.labelpos=\\\"c\\\",$().flowchart.htmlLabels?(s.labelType=\\\"html\\\",s.label='\u003Cspan class=\\\"edgeLabel\\\">'+i.text+\\\"\u003C/span>\\\"):(s.labelType=\\\"text\\\",s.label=i.text.replace(he.lineBreakRegex,`\\n`),i.style===void 0&&(s.style=s.style||\\\"stroke: #333; stroke-width: 1.5px;fill:none\\\"),s.labelStyle=s.labelStyle.replace(\\\"color:\\\",\\\"fill:\\\"))),e.setEdge(i.id1,i.id2,s,n)})},lI=function(t){Object.keys(t).forEach(function(r){Vm[r]=t[r]})},cI=function(t,e,r,n){B.info(\\\"Drawing class - \\\",e);const i=$().flowchart,s=$().securityLevel;B.info(\\\"config:\\\",i);const a=i.nodeSpacing||50,o=i.rankSpacing||50,l=new sr({multigraph:!0,compound:!0}).setGraph({rankdir:n.db.getDirection(),nodesep:a,ranksep:o,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),u=n.db.getClasses(),d=n.db.getRelations(),f=n.db.getNotes();B.info(d),sI(u,l,e,n),oI(d,l),aI(f,l,d.length+1,u);let p;s===\\\"sandbox\\\"&&(p=St(\\\"#i\\\"+e));const g=St(s===\\\"sandbox\\\"?p.nodes()[0].contentDocument.body:\\\"body\\\"),b=g.select(`[id=\\\"${e}\\\"]`),k=g.select(\\\"#\\\"+e+\\\" g\\\");if(v0(k,l,[\\\"aggregation\\\",\\\"extension\\\",\\\"composition\\\",\\\"dependency\\\",\\\"lollipop\\\"],\\\"classDiagram\\\",e),ge.insertTitle(b,\\\"classTitleText\\\",i.titleTopMargin,n.db.getDiagramTitle()),Sc(l,b,i.diagramPadding,i.useMaxWidth),!i.htmlLabels){const T=s===\\\"sandbox\\\"?p.nodes()[0].contentDocument:document,L=T.querySelectorAll('[id=\\\"'+e+'\\\"] .edgeLabel .label');for(const E of L){const I=E.getBBox(),V=T.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"rect\\\");V.setAttribute(\\\"rx\\\",0),V.setAttribute(\\\"ry\\\",0),V.setAttribute(\\\"width\\\",I.width),V.setAttribute(\\\"height\\\",I.height),E.insertBefore(V,E.firstChild)}}};function Um(t){let e;switch(t){case 0:e=\\\"aggregation\\\";break;case 1:e=\\\"extension\\\";break;case 2:e=\\\"composition\\\";break;case 3:e=\\\"dependency\\\";break;case 4:e=\\\"lollipop\\\";break;default:e=\\\"none\\\"}return e}const uI={setConf:lI,draw:cI};var k0=function(){var t=function(N,D,w,v){for(w=w||{},v=N.length;v--;w[N[v]]=D);return w},e=[1,2],r=[1,5],n=[6,9,11,23,25,27,29,30,31,49],i=[1,17],s=[1,18],a=[1,19],o=[1,20],l=[1,21],u=[1,22],d=[1,25],f=[1,30],p=[1,31],g=[1,32],b=[1,33],k=[6,9,11,15,20,23,25,27,29,30,31,42,43,44,45,49],T=[1,45],L=[30,31,46,47],E=[4,6,9,11,23,25,27,29,30,31,49],I=[42,43,44,45],V=[22,37],H=[1,64],G={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,\\\":\\\":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyType:35,attributeComment:36,ATTRIBUTE_WORD:37,ATTRIBUTE_KEY:38,COMMENT:39,cardinality:40,relType:41,ZERO_OR_ONE:42,ZERO_OR_MORE:43,ONE_OR_MORE:44,ONLY_ONE:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,open_directive:49,type_directive:50,arg_directive:51,close_directive:52,$accept:0,$end:1},terminals_:{2:\\\"error\\\",4:\\\"ER_DIAGRAM\\\",6:\\\"EOF\\\",9:\\\"SPACE\\\",11:\\\"NEWLINE\\\",15:\\\":\\\",20:\\\"BLOCK_START\\\",22:\\\"BLOCK_STOP\\\",23:\\\"title\\\",24:\\\"title_value\\\",25:\\\"acc_title\\\",26:\\\"acc_title_value\\\",27:\\\"acc_descr\\\",28:\\\"acc_descr_value\\\",29:\\\"acc_descr_multiline_value\\\",30:\\\"ALPHANUM\\\",31:\\\"ENTITY_NAME\\\",37:\\\"ATTRIBUTE_WORD\\\",38:\\\"ATTRIBUTE_KEY\\\",39:\\\"COMMENT\\\",42:\\\"ZERO_OR_ONE\\\",43:\\\"ZERO_OR_MORE\\\",44:\\\"ONE_OR_MORE\\\",45:\\\"ONLY_ONE\\\",46:\\\"NON_IDENTIFYING\\\",47:\\\"IDENTIFYING\\\",48:\\\"WORD\\\",49:\\\"open_directive\\\",50:\\\"type_directive\\\",51:\\\"arg_directive\\\",52:\\\"close_directive\\\"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[36,1],[18,3],[40,1],[40,1],[40,1],[40,1],[41,1],[41,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(D,w,v,M,m,Q,x){var ct=Q.length-1;switch(m){case 1:break;case 3:this.$=[];break;case 4:Q[ct-1].push(Q[ct]),this.$=Q[ct-1];break;case 5:case 6:this.$=Q[ct];break;case 7:case 8:this.$=[];break;case 12:M.addEntity(Q[ct-4]),M.addEntity(Q[ct-2]),M.addRelationship(Q[ct-4],Q[ct],Q[ct-2],Q[ct-3]);break;case 13:M.addEntity(Q[ct-3]),M.addAttributes(Q[ct-3],Q[ct-1]);break;case 14:M.addEntity(Q[ct-2]);break;case 15:M.addEntity(Q[ct]);break;case 16:case 17:this.$=Q[ct].trim(),M.setAccTitle(this.$);break;case 18:case 19:this.$=Q[ct].trim(),M.setAccDescription(this.$);break;case 20:case 41:this.$=Q[ct];break;case 21:case 39:case 40:this.$=Q[ct].replace(/\\\"/g,\\\"\\\");break;case 22:this.$=[Q[ct]];break;case 23:Q[ct].push(Q[ct-1]),this.$=Q[ct];break;case 24:this.$={attributeType:Q[ct-1],attributeName:Q[ct]};break;case 25:this.$={attributeType:Q[ct-2],attributeName:Q[ct-1],attributeKeyType:Q[ct]};break;case 26:this.$={attributeType:Q[ct-2],attributeName:Q[ct-1],attributeComment:Q[ct]};break;case 27:this.$={attributeType:Q[ct-3],attributeName:Q[ct-2],attributeKeyType:Q[ct-1],attributeComment:Q[ct]};break;case 28:case 29:case 30:this.$=Q[ct];break;case 31:this.$=Q[ct].replace(/\\\"/g,\\\"\\\");break;case 32:this.$={cardA:Q[ct],relType:Q[ct-1],cardB:Q[ct-2]};break;case 33:this.$=M.Cardinality.ZERO_OR_ONE;break;case 34:this.$=M.Cardinality.ZERO_OR_MORE;break;case 35:this.$=M.Cardinality.ONE_OR_MORE;break;case 36:this.$=M.Cardinality.ONLY_ONE;break;case 37:this.$=M.Identification.NON_IDENTIFYING;break;case 38:this.$=M.Identification.IDENTIFYING;break;case 42:M.parseDirective(\\\"%%{\\\",\\\"open_directive\\\");break;case 43:M.parseDirective(Q[ct],\\\"type_directive\\\");break;case 44:Q[ct]=Q[ct].trim().replace(/'/g,'\\\"'),M.parseDirective(Q[ct],\\\"arg_directive\\\");break;case 45:M.parseDirective(\\\"}%%\\\",\\\"close_directive\\\",\\\"er\\\");break}},table:[{3:1,4:e,7:3,12:4,49:r},{1:[3]},t(n,[2,3],{5:6}),{3:7,4:e,7:3,12:4,49:r},{13:8,50:[1,9]},{50:[2,42]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:i,25:s,27:a,29:o,30:l,31:u,49:r},{1:[2,2]},{14:23,15:[1,24],52:d},t([15,52],[2,43]),t(n,[2,8],{1:[2,1]}),t(n,[2,4]),{7:15,10:26,12:4,17:16,23:i,25:s,27:a,29:o,30:l,31:u,49:r},t(n,[2,6]),t(n,[2,7]),t(n,[2,11]),t(n,[2,15],{18:27,40:29,20:[1,28],42:f,43:p,44:g,45:b}),{24:[1,34]},{26:[1,35]},{28:[1,36]},t(n,[2,19]),t(k,[2,20]),t(k,[2,21]),{11:[1,37]},{16:38,51:[1,39]},{11:[2,45]},t(n,[2,5]),{17:40,30:l,31:u},{21:41,22:[1,42],32:43,33:44,37:T},{41:46,46:[1,47],47:[1,48]},t(L,[2,33]),t(L,[2,34]),t(L,[2,35]),t(L,[2,36]),t(n,[2,16]),t(n,[2,17]),t(n,[2,18]),t(E,[2,9]),{14:49,52:d},{52:[2,44]},{15:[1,50]},{22:[1,51]},t(n,[2,14]),{21:52,22:[2,22],32:43,33:44,37:T},{34:53,37:[1,54]},{37:[2,28]},{40:55,42:f,43:p,44:g,45:b},t(I,[2,37]),t(I,[2,38]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],48:[1,58]},t(n,[2,13]),{22:[2,23]},t(V,[2,24],{35:61,36:62,38:[1,63],39:H}),t([22,37,38,39],[2,29]),t([30,31],[2,32]),t(E,[2,10]),t(n,[2,12]),t(n,[2,39]),t(n,[2,40]),t(n,[2,41]),t(V,[2,25],{36:65,39:H}),t(V,[2,26]),t([22,37,39],[2,30]),t(V,[2,31]),t(V,[2,27])],defaultActions:{5:[2,42],7:[2,2],25:[2,45],39:[2,44],45:[2,28],52:[2,23]},parseError:function(D,w){if(w.recoverable)this.trace(D);else{var v=new Error(D);throw v.hash=w,v}},parse:function(D){var w=this,v=[0],M=[],m=[null],Q=[],x=this.table,ct=\\\"\\\",Dt=0,kt=0,j=2,ot=1,rt=Q.slice.call(arguments,1),nt=Object.create(this.lexer),ut={yy:{}};for(var _t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_t)&&(ut.yy[_t]=this.yy[_t]);nt.setInput(D,ut.yy),ut.yy.lexer=nt,ut.yy.parser=this,typeof nt.yylloc>\\\"u\\\"&&(nt.yylloc={});var K=nt.yylloc;Q.push(K);var Ot=nt.options&&nt.options.ranges;typeof ut.yy.parseError==\\\"function\\\"?this.parseError=ut.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function P(){var et;return et=M.pop()||nt.lex()||ot,typeof et!=\\\"number\\\"&&(et instanceof Array&&(M=et,et=M.pop()),et=w.symbols_[et]||et),et}for(var z,X,F,O,A={},J,C,ht,U;;){if(X=v[v.length-1],this.defaultActions[X]?F=this.defaultActions[X]:((z===null||typeof z>\\\"u\\\")&&(z=P()),F=x[X]&&x[X][z]),typeof F>\\\"u\\\"||!F.length||!F[0]){var Yt=\\\"\\\";U=[];for(J in x[X])this.terminals_[J]&&J>j&&U.push(\\\"'\\\"+this.terminals_[J]+\\\"'\\\");nt.showPosition?Yt=\\\"Parse error on line \\\"+(Dt+1)+`:\\n`+nt.showPosition()+`\\nExpecting `+U.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[z]||z)+\\\"'\\\":Yt=\\\"Parse error on line \\\"+(Dt+1)+\\\": Unexpected \\\"+(z==ot?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[z]||z)+\\\"'\\\"),this.parseError(Yt,{text:nt.match,token:this.terminals_[z]||z,line:nt.yylineno,loc:K,expected:U})}if(F[0]instanceof Array&&F.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+X+\\\", token: \\\"+z);switch(F[0]){case 1:v.push(z),m.push(nt.yytext),Q.push(nt.yylloc),v.push(F[1]),z=null,kt=nt.yyleng,ct=nt.yytext,Dt=nt.yylineno,K=nt.yylloc;break;case 2:if(C=this.productions_[F[1]][1],A.$=m[m.length-C],A._$={first_line:Q[Q.length-(C||1)].first_line,last_line:Q[Q.length-1].last_line,first_column:Q[Q.length-(C||1)].first_column,last_column:Q[Q.length-1].last_column},Ot&&(A._$.range=[Q[Q.length-(C||1)].range[0],Q[Q.length-1].range[1]]),O=this.performAction.apply(A,[ct,kt,Dt,ut.yy,F[1],m,Q].concat(rt)),typeof O\u003C\\\"u\\\")return O;C&&(v=v.slice(0,-1*C*2),m=m.slice(0,-1*C),Q=Q.slice(0,-1*C)),v.push(this.productions_[F[1]][0]),m.push(A.$),Q.push(A._$),ht=x[v[v.length-2]][v[v.length-1]],v.push(ht);break;case 3:return!0}}return!0}},Y=function(){var N={EOF:1,parseError:function(w,v){if(this.yy.parser)this.yy.parser.parseError(w,v);else throw new Error(w)},setInput:function(D,w){return this.yy=w||this.yy||{},this._input=D,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var D=this._input[0];this.yytext+=D,this.yyleng++,this.offset++,this.match+=D,this.matched+=D;var w=D.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return w?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),D},unput:function(D){var w=D.length,v=D.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=D+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-w),this.offset-=w;var M=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),v.length-1&&(this.yylineno-=v.length-1);var m=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:v?(v.length===M.length?this.yylloc.first_column:0)+M[M.length-v.length].length-v[0].length:this.yylloc.first_column-w},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-w]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(D){this.unput(this.match.slice(D))},pastInput:function(){var D=this.matched.substr(0,this.matched.length-this.match.length);return(D.length>20?\\\"...\\\":\\\"\\\")+D.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var D=this.match;return D.length\u003C20&&(D+=this._input.substr(0,20-D.length)),(D.substr(0,20)+(D.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var D=this.pastInput(),w=new Array(D.length+1).join(\\\"-\\\");return D+this.upcomingInput()+`\\n`+w+\\\"^\\\"},test_match:function(D,w){var v,M,m;if(this.options.backtrack_lexer&&(m={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(m.yylloc.range=this.yylloc.range.slice(0))),M=D[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),M&&(this.yylineno+=M.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:M?M[M.length-1].length-M[M.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+D[0].length},this.yytext+=D[0],this.match+=D[0],this.matches=D,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(D[0].length),this.matched+=D[0],v=this.performAction.call(this,this.yy,this,w,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),v)return v;if(this._backtrack){for(var Q in m)this[Q]=m[Q];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var D,w,v,M;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var m=this._currentRules(),Q=0;Q\u003Cm.length;Q++)if(v=this._input.match(this.rules[m[Q]]),v&&(!w||v[0].length>w[0].length)){if(w=v,M=Q,this.options.backtrack_lexer){if(D=this.test_match(v,m[Q]),D!==!1)return D;if(this._backtrack){w=!1;continue}else return!1}else if(!this.options.flex)break}return w?(D=this.test_match(w,m[M]),D!==!1?D:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var w=this.next();return w||this.lex()},begin:function(w){this.conditionStack.push(w)},popState:function(){var w=this.conditionStack.length-1;return w>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(w){return w=this.conditionStack.length-1-Math.abs(w||0),w>=0?this.conditionStack[w]:\\\"INITIAL\\\"},pushState:function(w){this.begin(w)},stateStackSize:function(){return this.conditionStack.length},options:{\\\"case-insensitive\\\":!0},performAction:function(w,v,M,m){switch(M){case 0:return this.begin(\\\"acc_title\\\"),25;case 1:return this.popState(),\\\"acc_title_value\\\";case 2:return this.begin(\\\"acc_descr\\\"),27;case 3:return this.popState(),\\\"acc_descr_value\\\";case 4:this.begin(\\\"acc_descr_multiline\\\");break;case 5:this.popState();break;case 6:return\\\"acc_descr_multiline_value\\\";case 7:return this.begin(\\\"open_directive\\\"),49;case 8:return this.begin(\\\"type_directive\\\"),50;case 9:return this.popState(),this.begin(\\\"arg_directive\\\"),15;case 10:return this.popState(),this.popState(),52;case 11:return 51;case 12:break;case 13:break;case 14:return 11;case 15:break;case 16:return 9;case 17:return 31;case 18:return 48;case 19:return 4;case 20:return this.begin(\\\"block\\\"),20;case 21:break;case 22:return 38;case 23:return 37;case 24:return 37;case 25:return 39;case 26:break;case 27:return this.popState(),22;case 28:return v.yytext[0];case 29:return 42;case 30:return 44;case 31:return 44;case 32:return 44;case 33:return 42;case 34:return 42;case 35:return 43;case 36:return 43;case 37:return 43;case 38:return 43;case 39:return 43;case 40:return 44;case 41:return 43;case 42:return 44;case 43:return 45;case 44:return 45;case 45:return 45;case 46:return 45;case 47:return 42;case 48:return 43;case 49:return 44;case 50:return 46;case 51:return 47;case 52:return 47;case 53:return 46;case 54:return 46;case 55:return 46;case 56:return 30;case 57:return v.yytext[0];case 58:return 6}},rules:[/^(?:accTitle\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*\\\\{\\\\s*)/i,/^(?:[\\\\}])/i,/^(?:[^\\\\}]*)/i,/^(?:%%\\\\{)/i,/^(?:((?:(?!\\\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\\\}%%)/i,/^(?:((?:(?!\\\\}%%).|\\\\n)*))/i,/^(?:%(?!\\\\{)[^\\\\n]*)/i,/^(?:[^\\\\}]%%[^\\\\n]*)/i,/^(?:[\\\\n]+)/i,/^(?:\\\\s+)/i,/^(?:[\\\\s]+)/i,/^(?:\\\"[^\\\"%\\\\r\\\\n\\\\v\\\\b\\\\\\\\]+\\\")/i,/^(?:\\\"[^\\\"]*\\\")/i,/^(?:erDiagram\\\\b)/i,/^(?:\\\\{)/i,/^(?:\\\\s+)/i,/^(?:\\\\b((?:PK)|(?:FK))\\\\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[A-Za-z][A-Za-z0-9\\\\-_\\\\[\\\\]]*)/i,/^(?:\\\"[^\\\"]*\\\")/i,/^(?:[\\\\n]+)/i,/^(?:\\\\})/i,/^(?:.)/i,/^(?:one or zero\\\\b)/i,/^(?:one or more\\\\b)/i,/^(?:one or many\\\\b)/i,/^(?:1\\\\+)/i,/^(?:\\\\|o\\\\b)/i,/^(?:zero or one\\\\b)/i,/^(?:zero or more\\\\b)/i,/^(?:zero or many\\\\b)/i,/^(?:0\\\\+)/i,/^(?:\\\\}o\\\\b)/i,/^(?:many\\\\(0\\\\))/i,/^(?:many\\\\(1\\\\))/i,/^(?:many\\\\b)/i,/^(?:\\\\}\\\\|)/i,/^(?:one\\\\b)/i,/^(?:only one\\\\b)/i,/^(?:1\\\\b)/i,/^(?:\\\\|\\\\|)/i,/^(?:o\\\\|)/i,/^(?:o\\\\{)/i,/^(?:\\\\|\\\\{)/i,/^(?:\\\\.\\\\.)/i,/^(?:--)/i,/^(?:to\\\\b)/i,/^(?:optionally to\\\\b)/i,/^(?:\\\\.-)/i,/^(?:-\\\\.)/i,/^(?:[A-Za-z][A-Za-z0-9\\\\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[21,22,23,24,25,26,27,28],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,20,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58],inclusive:!0}}};return N}();G.lexer=Y;function W(){this.yy={}}return W.prototype=G,G.Parser=W,new W}();k0.parser=k0;const hI=k0,dI=t=>t.match(/^\\\\s*erDiagram/)!==null;let Vo={},w0=[];const fI={ZERO_OR_ONE:\\\"ZERO_OR_ONE\\\",ZERO_OR_MORE:\\\"ZERO_OR_MORE\\\",ONE_OR_MORE:\\\"ONE_OR_MORE\\\",ONLY_ONE:\\\"ONLY_ONE\\\"},pI={NON_IDENTIFYING:\\\"NON_IDENTIFYING\\\",IDENTIFYING:\\\"IDENTIFYING\\\"},gI=function(t,e,r){ze.parseDirective(this,t,e,r)},zm=function(t){return Vo[t]===void 0&&(Vo[t]={attributes:[]},B.info(\\\"Added new entity :\\\",t)),Vo[t]},yI={Cardinality:fI,Identification:pI,parseDirective:gI,getConfig:()=>$().er,addEntity:zm,addAttributes:function(t,e){let r=zm(t),n;for(n=e.length-1;n>=0;n--)r.attributes.push(e[n]),B.debug(\\\"Added attribute \\\",e[n].attributeName)},getEntities:()=>Vo,addRelationship:function(t,e,r,n){let i={entityA:t,roleA:e,entityB:r,relSpec:n};w0.push(i),B.debug(\\\"Added new relationship :\\\",i)},getRelationships:()=>w0,clear:function(){Vo={},w0=[],vn()},setAccTitle:nn,getAccTitle:kn,setAccDescription:wn,getAccDescription:Tn,setDiagramTitle:hi,getDiagramTitle:di},bi={ONLY_ONE_START:\\\"ONLY_ONE_START\\\",ONLY_ONE_END:\\\"ONLY_ONE_END\\\",ZERO_OR_ONE_START:\\\"ZERO_OR_ONE_START\\\",ZERO_OR_ONE_END:\\\"ZERO_OR_ONE_END\\\",ONE_OR_MORE_START:\\\"ONE_OR_MORE_START\\\",ONE_OR_MORE_END:\\\"ONE_OR_MORE_END\\\",ZERO_OR_MORE_START:\\\"ZERO_OR_MORE_START\\\",ZERO_OR_MORE_END:\\\"ZERO_OR_MORE_END\\\"},_i={ERMarkers:bi,insertMarkers:function(t,e){let r;t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",bi.ONLY_ONE_START).attr(\\\"refX\\\",0).attr(\\\"refY\\\",9).attr(\\\"markerWidth\\\",18).attr(\\\"markerHeight\\\",18).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"none\\\").attr(\\\"d\\\",\\\"M9,0 L9,18 M15,0 L15,18\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",bi.ONLY_ONE_END).attr(\\\"refX\\\",18).attr(\\\"refY\\\",9).attr(\\\"markerWidth\\\",18).attr(\\\"markerHeight\\\",18).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"none\\\").attr(\\\"d\\\",\\\"M3,0 L3,18 M9,0 L9,18\\\"),r=t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",bi.ZERO_OR_ONE_START).attr(\\\"refX\\\",0).attr(\\\"refY\\\",9).attr(\\\"markerWidth\\\",30).attr(\\\"markerHeight\\\",18).attr(\\\"orient\\\",\\\"auto\\\"),r.append(\\\"circle\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"white\\\").attr(\\\"cx\\\",21).attr(\\\"cy\\\",9).attr(\\\"r\\\",6),r.append(\\\"path\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"none\\\").attr(\\\"d\\\",\\\"M9,0 L9,18\\\"),r=t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",bi.ZERO_OR_ONE_END).attr(\\\"refX\\\",30).attr(\\\"refY\\\",9).attr(\\\"markerWidth\\\",30).attr(\\\"markerHeight\\\",18).attr(\\\"orient\\\",\\\"auto\\\"),r.append(\\\"circle\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"white\\\").attr(\\\"cx\\\",9).attr(\\\"cy\\\",9).attr(\\\"r\\\",6),r.append(\\\"path\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"none\\\").attr(\\\"d\\\",\\\"M21,0 L21,18\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",bi.ONE_OR_MORE_START).attr(\\\"refX\\\",18).attr(\\\"refY\\\",18).attr(\\\"markerWidth\\\",45).attr(\\\"markerHeight\\\",36).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"none\\\").attr(\\\"d\\\",\\\"M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27\\\"),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",bi.ONE_OR_MORE_END).attr(\\\"refX\\\",27).attr(\\\"refY\\\",18).attr(\\\"markerWidth\\\",45).attr(\\\"markerHeight\\\",36).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"none\\\").attr(\\\"d\\\",\\\"M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18\\\"),r=t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",bi.ZERO_OR_MORE_START).attr(\\\"refX\\\",18).attr(\\\"refY\\\",18).attr(\\\"markerWidth\\\",57).attr(\\\"markerHeight\\\",36).attr(\\\"orient\\\",\\\"auto\\\"),r.append(\\\"circle\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"white\\\").attr(\\\"cx\\\",48).attr(\\\"cy\\\",18).attr(\\\"r\\\",6),r.append(\\\"path\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"none\\\").attr(\\\"d\\\",\\\"M0,18 Q18,0 36,18 Q18,36 0,18\\\"),r=t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",bi.ZERO_OR_MORE_END).attr(\\\"refX\\\",39).attr(\\\"refY\\\",18).attr(\\\"markerWidth\\\",57).attr(\\\"markerHeight\\\",36).attr(\\\"orient\\\",\\\"auto\\\"),r.append(\\\"circle\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"white\\\").attr(\\\"cx\\\",9).attr(\\\"cy\\\",18).attr(\\\"r\\\",6),r.append(\\\"path\\\").attr(\\\"stroke\\\",e.stroke).attr(\\\"fill\\\",\\\"none\\\").attr(\\\"d\\\",\\\"M21,18 Q39,0 57,18 Q39,36 21,18\\\")}};let yu;const mI=new Uint8Array(16);function bI(){if(!yu&&(yu=typeof crypto\u003C\\\"u\\\"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!yu))throw new Error(\\\"crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported\\\");return yu(mI)}const _r=[];for(let t=0;t\u003C256;++t)_r.push((t+256).toString(16).slice(1));function _I(t,e=0){return(_r[t[e+0]]+_r[t[e+1]]+_r[t[e+2]]+_r[t[e+3]]+\\\"-\\\"+_r[t[e+4]]+_r[t[e+5]]+\\\"-\\\"+_r[t[e+6]]+_r[t[e+7]]+\\\"-\\\"+_r[t[e+8]]+_r[t[e+9]]+\\\"-\\\"+_r[t[e+10]]+_r[t[e+11]]+_r[t[e+12]]+_r[t[e+13]]+_r[t[e+14]]+_r[t[e+15]]).toLowerCase()}const Wm={randomUUID:typeof crypto\u003C\\\"u\\\"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function xI(t,e,r){if(Wm.randomUUID&&!e&&!t)return Wm.randomUUID();t=t||{};const n=t.random||(t.rng||bI)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){r=r||0;for(let i=0;i\u003C16;++i)e[r+i]=n[i];return e}return _I(n)}const vI=/[^\\\\dA-Za-z](\\\\W)*/g;let ur={},Uo=new Map;const kI=function(t){const e=Object.keys(t);for(const r of e)ur[r]=t[r]},wI=(t,e,r)=>{const n=ur.entityPadding/3,i=ur.entityPadding/3,s=ur.fontSize*.85,a=e.node().getBBox(),o=[];let l=!1,u=!1,d=0,f=0,p=0,g=0,b=a.height+n*2,k=1;r.forEach(I=>{I.attributeKeyType!==void 0&&(l=!0),I.attributeComment!==void 0&&(u=!0)}),r.forEach(I=>{const V=`${e.node().id}-attr-${k}`;let H=0;const G=Oi(I.attributeType),Y=t.append(\\\"text\\\").classed(\\\"er entityLabel\\\",!0).attr(\\\"id\\\",`${V}-type`).attr(\\\"x\\\",0).attr(\\\"y\\\",0).style(\\\"dominant-baseline\\\",\\\"middle\\\").style(\\\"text-anchor\\\",\\\"left\\\").style(\\\"font-family\\\",$().fontFamily).style(\\\"font-size\\\",s+\\\"px\\\").text(G),W=t.append(\\\"text\\\").classed(\\\"er entityLabel\\\",!0).attr(\\\"id\\\",`${V}-name`).attr(\\\"x\\\",0).attr(\\\"y\\\",0).style(\\\"dominant-baseline\\\",\\\"middle\\\").style(\\\"text-anchor\\\",\\\"left\\\").style(\\\"font-family\\\",$().fontFamily).style(\\\"font-size\\\",s+\\\"px\\\").text(I.attributeName),N={};N.tn=Y,N.nn=W;const D=Y.node().getBBox(),w=W.node().getBBox();if(d=Math.max(d,D.width),f=Math.max(f,w.width),H=Math.max(D.height,w.height),l){const v=t.append(\\\"text\\\").classed(\\\"er entityLabel\\\",!0).attr(\\\"id\\\",`${V}-key`).attr(\\\"x\\\",0).attr(\\\"y\\\",0).style(\\\"dominant-baseline\\\",\\\"middle\\\").style(\\\"text-anchor\\\",\\\"left\\\").style(\\\"font-family\\\",$().fontFamily).style(\\\"font-size\\\",s+\\\"px\\\").text(I.attributeKeyType||\\\"\\\");N.kn=v;const M=v.node().getBBox();p=Math.max(p,M.width),H=Math.max(H,M.height)}if(u){const v=t.append(\\\"text\\\").classed(\\\"er entityLabel\\\",!0).attr(\\\"id\\\",`${V}-comment`).attr(\\\"x\\\",0).attr(\\\"y\\\",0).style(\\\"dominant-baseline\\\",\\\"middle\\\").style(\\\"text-anchor\\\",\\\"left\\\").style(\\\"font-family\\\",$().fontFamily).style(\\\"font-size\\\",s+\\\"px\\\").text(I.attributeComment||\\\"\\\");N.cn=v;const M=v.node().getBBox();g=Math.max(g,M.width),H=Math.max(H,M.height)}N.height=H,o.push(N),b+=H+n*2,k+=1});let T=4;l&&(T+=2),u&&(T+=2);const L=d+f+p+g,E={width:Math.max(ur.minEntityWidth,Math.max(a.width+ur.entityPadding*2,L+i*T)),height:r.length>0?b:Math.max(ur.minEntityHeight,a.height+ur.entityPadding*2)};if(r.length>0){const I=Math.max(0,(E.width-L-i*T)/(T/2));e.attr(\\\"transform\\\",\\\"translate(\\\"+E.width/2+\\\",\\\"+(n+a.height/2)+\\\")\\\");let V=a.height+n*2,H=\\\"attributeBoxOdd\\\";o.forEach(G=>{const Y=V+n+G.height/2;G.tn.attr(\\\"transform\\\",\\\"translate(\\\"+i+\\\",\\\"+Y+\\\")\\\");const W=t.insert(\\\"rect\\\",\\\"#\\\"+G.tn.node().id).classed(`er ${H}`,!0).attr(\\\"x\\\",0).attr(\\\"y\\\",V).attr(\\\"width\\\",d+i*2+I).attr(\\\"height\\\",G.height+n*2),N=parseFloat(W.attr(\\\"x\\\"))+parseFloat(W.attr(\\\"width\\\"));G.nn.attr(\\\"transform\\\",\\\"translate(\\\"+(N+i)+\\\",\\\"+Y+\\\")\\\");const D=t.insert(\\\"rect\\\",\\\"#\\\"+G.nn.node().id).classed(`er ${H}`,!0).attr(\\\"x\\\",N).attr(\\\"y\\\",V).attr(\\\"width\\\",f+i*2+I).attr(\\\"height\\\",G.height+n*2);let w=parseFloat(D.attr(\\\"x\\\"))+parseFloat(D.attr(\\\"width\\\"));if(l){G.kn.attr(\\\"transform\\\",\\\"translate(\\\"+(w+i)+\\\",\\\"+Y+\\\")\\\");const v=t.insert(\\\"rect\\\",\\\"#\\\"+G.kn.node().id).classed(`er ${H}`,!0).attr(\\\"x\\\",w).attr(\\\"y\\\",V).attr(\\\"width\\\",p+i*2+I).attr(\\\"height\\\",G.height+n*2);w=parseFloat(v.attr(\\\"x\\\"))+parseFloat(v.attr(\\\"width\\\"))}u&&(G.cn.attr(\\\"transform\\\",\\\"translate(\\\"+(w+i)+\\\",\\\"+Y+\\\")\\\"),t.insert(\\\"rect\\\",\\\"#\\\"+G.cn.node().id).classed(`er ${H}`,\\\"true\\\").attr(\\\"x\\\",w).attr(\\\"y\\\",V).attr(\\\"width\\\",g+i*2+I).attr(\\\"height\\\",G.height+n*2)),V+=G.height+n*2,H=H===\\\"attributeBoxOdd\\\"?\\\"attributeBoxEven\\\":\\\"attributeBoxOdd\\\"})}else E.height=Math.max(ur.minEntityHeight,b),e.attr(\\\"transform\\\",\\\"translate(\\\"+E.width/2+\\\",\\\"+E.height/2+\\\")\\\");return E},TI=function(t,e,r){const n=Object.keys(e);let i;return n.forEach(function(s){const a=LI(s,\\\"entity\\\");Uo.set(s,a);const o=t.append(\\\"g\\\").attr(\\\"id\\\",a);i=i===void 0?a:i;const l=\\\"text-\\\"+a,u=o.append(\\\"text\\\").classed(\\\"er entityLabel\\\",!0).attr(\\\"id\\\",l).attr(\\\"x\\\",0).attr(\\\"y\\\",0).style(\\\"dominant-baseline\\\",\\\"middle\\\").style(\\\"text-anchor\\\",\\\"middle\\\").style(\\\"font-family\\\",$().fontFamily).style(\\\"font-size\\\",ur.fontSize+\\\"px\\\").text(s),{width:d,height:f}=wI(o,u,e[s].attributes),g=o.insert(\\\"rect\\\",\\\"#\\\"+l).classed(\\\"er entityBox\\\",!0).attr(\\\"x\\\",0).attr(\\\"y\\\",0).attr(\\\"width\\\",d).attr(\\\"height\\\",f).node().getBBox();r.setNode(a,{width:g.width,height:g.height,shape:\\\"rect\\\",id:a})}),i},EI=function(t,e){e.nodes().forEach(function(r){r!==void 0&&e.node(r)!==void 0&&t.select(\\\"#\\\"+r).attr(\\\"transform\\\",\\\"translate(\\\"+(e.node(r).x-e.node(r).width/2)+\\\",\\\"+(e.node(r).y-e.node(r).height/2)+\\\" )\\\")})},Hm=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\\\\s/g,\\\"\\\")},CI=function(t,e){return t.forEach(function(r){e.setEdge(Uo.get(r.entityA),Uo.get(r.entityB),{relationship:r},Hm(r))}),t};let Gm=0;const SI=function(t,e,r,n,i){Gm++;const s=r.edge(Uo.get(e.entityA),Uo.get(e.entityB),Hm(e)),a=Js().x(function(b){return b.x}).y(function(b){return b.y}).curve(ta),o=t.insert(\\\"path\\\",\\\"#\\\"+n).classed(\\\"er relationshipLine\\\",!0).attr(\\\"d\\\",a(s.points)).style(\\\"stroke\\\",ur.stroke).style(\\\"fill\\\",\\\"none\\\");e.relSpec.relType===i.db.Identification.NON_IDENTIFYING&&o.attr(\\\"stroke-dasharray\\\",\\\"8,8\\\");let l=\\\"\\\";switch(ur.arrowMarkerAbsolute&&(l=window.location.protocol+\\\"//\\\"+window.location.host+window.location.pathname+window.location.search,l=l.replace(/\\\\(/g,\\\"\\\\\\\\(\\\"),l=l.replace(/\\\\)/g,\\\"\\\\\\\\)\\\")),e.relSpec.cardA){case i.db.Cardinality.ZERO_OR_ONE:o.attr(\\\"marker-end\\\",\\\"url(\\\"+l+\\\"#\\\"+_i.ERMarkers.ZERO_OR_ONE_END+\\\")\\\");break;case i.db.Cardinality.ZERO_OR_MORE:o.attr(\\\"marker-end\\\",\\\"url(\\\"+l+\\\"#\\\"+_i.ERMarkers.ZERO_OR_MORE_END+\\\")\\\");break;case i.db.Cardinality.ONE_OR_MORE:o.attr(\\\"marker-end\\\",\\\"url(\\\"+l+\\\"#\\\"+_i.ERMarkers.ONE_OR_MORE_END+\\\")\\\");break;case i.db.Cardinality.ONLY_ONE:o.attr(\\\"marker-end\\\",\\\"url(\\\"+l+\\\"#\\\"+_i.ERMarkers.ONLY_ONE_END+\\\")\\\");break}switch(e.relSpec.cardB){case i.db.Cardinality.ZERO_OR_ONE:o.attr(\\\"marker-start\\\",\\\"url(\\\"+l+\\\"#\\\"+_i.ERMarkers.ZERO_OR_ONE_START+\\\")\\\");break;case i.db.Cardinality.ZERO_OR_MORE:o.attr(\\\"marker-start\\\",\\\"url(\\\"+l+\\\"#\\\"+_i.ERMarkers.ZERO_OR_MORE_START+\\\")\\\");break;case i.db.Cardinality.ONE_OR_MORE:o.attr(\\\"marker-start\\\",\\\"url(\\\"+l+\\\"#\\\"+_i.ERMarkers.ONE_OR_MORE_START+\\\")\\\");break;case i.db.Cardinality.ONLY_ONE:o.attr(\\\"marker-start\\\",\\\"url(\\\"+l+\\\"#\\\"+_i.ERMarkers.ONLY_ONE_START+\\\")\\\");break}const u=o.node().getTotalLength(),d=o.node().getPointAtLength(u*.5),f=\\\"rel\\\"+Gm,g=t.append(\\\"text\\\").classed(\\\"er relationshipLabel\\\",!0).attr(\\\"id\\\",f).attr(\\\"x\\\",d.x).attr(\\\"y\\\",d.y).style(\\\"text-anchor\\\",\\\"middle\\\").style(\\\"dominant-baseline\\\",\\\"middle\\\").style(\\\"font-family\\\",$().fontFamily).style(\\\"font-size\\\",ur.fontSize+\\\"px\\\").text(e.roleA).node().getBBox();t.insert(\\\"rect\\\",\\\"#\\\"+f).classed(\\\"er relationshipLabelBox\\\",!0).attr(\\\"x\\\",d.x-g.width/2).attr(\\\"y\\\",d.y-g.height/2).attr(\\\"width\\\",g.width).attr(\\\"height\\\",g.height)},AI=function(t,e,r,n){ur=$().er,B.info(\\\"Drawing ER diagram\\\");const i=$().securityLevel;let s;i===\\\"sandbox\\\"&&(s=St(\\\"#i\\\"+e));const o=St(i===\\\"sandbox\\\"?s.nodes()[0].contentDocument.body:\\\"body\\\").select(`[id='${e}']`);_i.insertMarkers(o,ur);let l;l=new sr({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:ur.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});const u=TI(o,n.db.getEntities(),l),d=CI(n.db.getRelationships(),l);Ea(l),EI(o,l),d.forEach(function(k){SI(o,k,l,u,n)});const f=ur.diagramPadding;ge.insertTitle(o,\\\"entityTitleText\\\",ur.titleTopMargin,n.db.getDiagramTitle());const p=o.node().getBBox(),g=p.width+f*2,b=p.height+f*2;xn(o,b,g,ur.useMaxWidth),o.attr(\\\"viewBox\\\",`${p.x-f} ${p.y-f} ${g} ${b}`)};function LI(t=\\\"\\\",e=\\\"\\\"){const r=t.replace(vI,\\\"\\\");return`${qm(e)}${qm(r)}${xI()}`}function qm(t=\\\"\\\"){return t.length>0?`${t}-`:\\\"\\\"}const DI={setConf:kI,draw:AI};var T0=function(){var t=function(zr,qt,te,oe){for(te=te||{},oe=zr.length;oe--;te[zr[oe]]=qt);return te},e=[1,9],r=[1,7],n=[1,6],i=[1,8],s=[1,20,21,22,23,38,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],a=[2,10],o=[1,20],l=[1,21],u=[1,22],d=[1,23],f=[1,30],p=[1,32],g=[1,33],b=[1,34],k=[1,62],T=[1,48],L=[1,52],E=[1,36],I=[1,37],V=[1,38],H=[1,39],G=[1,40],Y=[1,56],W=[1,63],N=[1,51],D=[1,53],w=[1,55],v=[1,59],M=[1,60],m=[1,41],Q=[1,42],x=[1,43],ct=[1,44],Dt=[1,61],kt=[1,50],j=[1,54],ot=[1,57],rt=[1,58],nt=[1,49],ut=[1,66],_t=[1,71],K=[1,20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Ot=[1,75],P=[1,74],z=[1,76],X=[20,21,23,81,82],F=[1,99],O=[1,104],A=[1,107],J=[1,108],C=[1,101],ht=[1,106],U=[1,109],Yt=[1,102],et=[1,114],Mt=[1,113],Tt=[1,103],gt=[1,105],Et=[1,110],wt=[1,111],pt=[1,112],st=[1,115],le=[20,21,22,23,81,82],Xt=[20,21,22,23,53,81,82],jt=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],Kt=[20,21,23],Gt=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],Ee=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Ht=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],Vt=[1,149],Ft=[1,157],xt=[1,158],ft=[1,159],Lt=[1,160],bt=[1,144],Ut=[1,145],at=[1,141],ie=[1,152],dt=[1,153],ee=[1,154],fe=[1,155],be=[1,156],_e=[1,161],ke=[1,162],$t=[1,147],se=[1,150],ye=[1,146],Jt=[1,143],Nn=[20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Xr=[1,165],De=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],ae=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,86,87,88,89,90,91,92,95,105,106,109,111,112,113,114,122,123,124,125,126,127],Be=[12,21,22,24],Re=[22,106],Pe=[1,250],Ye=[1,245],Ie=[1,246],$e=[1,254],ar=[1,251],zt=[1,248],Z=[1,247],At=[1,249],Nt=[1,252],pe=[1,253],Me=[1,255],Le=[1,273],We=[20,21,23,106],ve=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],Ne={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,\\\":\\\":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,\\\"(-\\\":59,\\\"-)\\\":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,keywords:85,STYLE:86,LINKSTYLE:87,CLASSDEF:88,CLASS:89,CLICK:90,DOWN:91,UP:92,textNoTags:93,textNoTagsToken:94,DEFAULT:95,stylesOpt:96,alphaNum:97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,HEX:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,MINUS:109,UNIT:110,BRKT:111,DOT:112,PCT:113,TAGSTART:114,alphaNumToken:115,idStringToken:116,alphaNumStatement:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,PUNCTUATION:122,UNICODE_TEXT:123,PLUS:124,EQUALS:125,MULT:126,UNDERSCORE:127,graphCodeTokens:128,ARROW_CROSS:129,ARROW_POINT:130,ARROW_CIRCLE:131,ARROW_OPEN:132,QUOTE:133,$accept:0,$end:1},terminals_:{2:\\\"error\\\",10:\\\":\\\",12:\\\"open_directive\\\",13:\\\"type_directive\\\",14:\\\"arg_directive\\\",15:\\\"close_directive\\\",20:\\\"SEMI\\\",21:\\\"NEWLINE\\\",22:\\\"SPACE\\\",23:\\\"EOF\\\",24:\\\"GRAPH\\\",25:\\\"NODIR\\\",26:\\\"DIR\\\",38:\\\"subgraph\\\",40:\\\"SQS\\\",41:\\\"SQE\\\",42:\\\"end\\\",44:\\\"acc_title\\\",45:\\\"acc_title_value\\\",46:\\\"acc_descr\\\",47:\\\"acc_descr_value\\\",48:\\\"acc_descr_multiline_value\\\",52:\\\"AMP\\\",53:\\\"STYLE_SEPARATOR\\\",55:\\\"DOUBLECIRCLESTART\\\",56:\\\"DOUBLECIRCLEEND\\\",57:\\\"PS\\\",58:\\\"PE\\\",59:\\\"(-\\\",60:\\\"-)\\\",61:\\\"STADIUMSTART\\\",62:\\\"STADIUMEND\\\",63:\\\"SUBROUTINESTART\\\",64:\\\"SUBROUTINEEND\\\",65:\\\"VERTEX_WITH_PROPS_START\\\",66:\\\"ALPHA\\\",67:\\\"COLON\\\",68:\\\"PIPE\\\",69:\\\"CYLINDERSTART\\\",70:\\\"CYLINDEREND\\\",71:\\\"DIAMOND_START\\\",72:\\\"DIAMOND_STOP\\\",73:\\\"TAGEND\\\",74:\\\"TRAPSTART\\\",75:\\\"TRAPEND\\\",76:\\\"INVTRAPSTART\\\",77:\\\"INVTRAPEND\\\",80:\\\"TESTSTR\\\",81:\\\"START_LINK\\\",82:\\\"LINK\\\",84:\\\"STR\\\",86:\\\"STYLE\\\",87:\\\"LINKSTYLE\\\",88:\\\"CLASSDEF\\\",89:\\\"CLASS\\\",90:\\\"CLICK\\\",91:\\\"DOWN\\\",92:\\\"UP\\\",95:\\\"DEFAULT\\\",98:\\\"CALLBACKNAME\\\",99:\\\"CALLBACKARGS\\\",100:\\\"HREF\\\",101:\\\"LINK_TARGET\\\",102:\\\"HEX\\\",104:\\\"INTERPOLATE\\\",105:\\\"NUM\\\",106:\\\"COMMA\\\",109:\\\"MINUS\\\",110:\\\"UNIT\\\",111:\\\"BRKT\\\",112:\\\"DOT\\\",113:\\\"PCT\\\",114:\\\"TAGSTART\\\",118:\\\"direction_tb\\\",119:\\\"direction_bt\\\",120:\\\"direction_rl\\\",121:\\\"direction_lr\\\",122:\\\"PUNCTUATION\\\",123:\\\"UNICODE_TEXT\\\",124:\\\"PLUS\\\",125:\\\"EQUALS\\\",126:\\\"MULT\\\",127:\\\"UNDERSCORE\\\",129:\\\"ARROW_CROSS\\\",130:\\\"ARROW_POINT\\\",131:\\\"ARROW_CIRCLE\\\",132:\\\"ARROW_OPEN\\\",133:\\\"QUOTE\\\"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[93,1],[93,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[103,1],[103,3],[96,1],[96,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[94,1],[94,1],[94,1],[94,1],[54,1],[54,2],[97,1],[97,2],[117,1],[117,1],[117,1],[117,1],[43,1],[43,1],[43,1],[43,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1]],performAction:function(qt,te,oe,Rt,Ve,q,Is){var tt=q.length-1;switch(Ve){case 5:Rt.parseDirective(\\\"%%{\\\",\\\"open_directive\\\");break;case 6:Rt.parseDirective(q[tt],\\\"type_directive\\\");break;case 7:q[tt]=q[tt].trim().replace(/'/g,'\\\"'),Rt.parseDirective(q[tt],\\\"arg_directive\\\");break;case 8:Rt.parseDirective(\\\"}%%\\\",\\\"close_directive\\\",\\\"flowchart\\\");break;case 10:this.$=[];break;case 11:(!Array.isArray(q[tt])||q[tt].length>0)&&q[tt-1].push(q[tt]),this.$=q[tt-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:this.$=q[tt];break;case 19:Rt.setDirection(\\\"TB\\\"),this.$=\\\"TB\\\";break;case 20:Rt.setDirection(q[tt-1]),this.$=q[tt-1];break;case 35:this.$=q[tt-1].nodes;break;case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 41:this.$=Rt.addSubGraph(q[tt-6],q[tt-1],q[tt-4]);break;case 42:this.$=Rt.addSubGraph(q[tt-3],q[tt-1],q[tt-3]);break;case 43:this.$=Rt.addSubGraph(void 0,q[tt-1],void 0);break;case 45:this.$=q[tt].trim(),Rt.setAccTitle(this.$);break;case 46:case 47:this.$=q[tt].trim(),Rt.setAccDescription(this.$);break;case 51:Rt.addLink(q[tt-2].stmt,q[tt],q[tt-1]),this.$={stmt:q[tt],nodes:q[tt].concat(q[tt-2].nodes)};break;case 52:Rt.addLink(q[tt-3].stmt,q[tt-1],q[tt-2]),this.$={stmt:q[tt-1],nodes:q[tt-1].concat(q[tt-3].nodes)};break;case 53:this.$={stmt:q[tt-1],nodes:q[tt-1]};break;case 54:this.$={stmt:q[tt],nodes:q[tt]};break;case 55:this.$=[q[tt]];break;case 56:this.$=q[tt-4].concat(q[tt]);break;case 57:this.$=[q[tt-2]],Rt.setClass(q[tt-2],q[tt]);break;case 58:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"square\\\");break;case 59:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"doublecircle\\\");break;case 60:this.$=q[tt-5],Rt.addVertex(q[tt-5],q[tt-2],\\\"circle\\\");break;case 61:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"ellipse\\\");break;case 62:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"stadium\\\");break;case 63:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"subroutine\\\");break;case 64:this.$=q[tt-7],Rt.addVertex(q[tt-7],q[tt-1],\\\"rect\\\",void 0,void 0,void 0,Object.fromEntries([[q[tt-5],q[tt-3]]]));break;case 65:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"cylinder\\\");break;case 66:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"round\\\");break;case 67:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"diamond\\\");break;case 68:this.$=q[tt-5],Rt.addVertex(q[tt-5],q[tt-2],\\\"hexagon\\\");break;case 69:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"odd\\\");break;case 70:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"trapezoid\\\");break;case 71:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"inv_trapezoid\\\");break;case 72:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"lean_right\\\");break;case 73:this.$=q[tt-3],Rt.addVertex(q[tt-3],q[tt-1],\\\"lean_left\\\");break;case 74:this.$=q[tt],Rt.addVertex(q[tt]);break;case 75:q[tt-1].text=q[tt],this.$=q[tt-1];break;case 76:case 77:q[tt-2].text=q[tt-1],this.$=q[tt-2];break;case 78:this.$=q[tt];break;case 79:var Sr=Rt.destructLink(q[tt],q[tt-2]);this.$={type:Sr.type,stroke:Sr.stroke,length:Sr.length,text:q[tt-1]};break;case 80:var Sr=Rt.destructLink(q[tt]);this.$={type:Sr.type,stroke:Sr.stroke,length:Sr.length};break;case 81:this.$=q[tt-1];break;case 83:case 97:case 153:this.$=q[tt-1]+\\\"\\\"+q[tt];break;case 98:case 99:this.$=q[tt-4],Rt.addClass(q[tt-2],q[tt]);break;case 100:this.$=q[tt-4],Rt.setClass(q[tt-2],q[tt]);break;case 101:case 109:this.$=q[tt-1],Rt.setClickEvent(q[tt-1],q[tt]);break;case 102:case 110:this.$=q[tt-3],Rt.setClickEvent(q[tt-3],q[tt-2]),Rt.setTooltip(q[tt-3],q[tt]);break;case 103:this.$=q[tt-2],Rt.setClickEvent(q[tt-2],q[tt-1],q[tt]);break;case 104:this.$=q[tt-4],Rt.setClickEvent(q[tt-4],q[tt-3],q[tt-2]),Rt.setTooltip(q[tt-4],q[tt]);break;case 105:case 111:this.$=q[tt-1],Rt.setLink(q[tt-1],q[tt]);break;case 106:case 112:this.$=q[tt-3],Rt.setLink(q[tt-3],q[tt-2]),Rt.setTooltip(q[tt-3],q[tt]);break;case 107:case 113:this.$=q[tt-3],Rt.setLink(q[tt-3],q[tt-2],q[tt]);break;case 108:case 114:this.$=q[tt-5],Rt.setLink(q[tt-5],q[tt-4],q[tt]),Rt.setTooltip(q[tt-5],q[tt-2]);break;case 115:this.$=q[tt-4],Rt.addVertex(q[tt-2],void 0,void 0,q[tt]);break;case 116:case 118:this.$=q[tt-4],Rt.updateLink(q[tt-2],q[tt]);break;case 117:this.$=q[tt-4],Rt.updateLink([q[tt-2]],q[tt]);break;case 119:this.$=q[tt-8],Rt.updateLinkInterpolate([q[tt-6]],q[tt-2]),Rt.updateLink([q[tt-6]],q[tt]);break;case 120:this.$=q[tt-8],Rt.updateLinkInterpolate(q[tt-6],q[tt-2]),Rt.updateLink(q[tt-6],q[tt]);break;case 121:this.$=q[tt-6],Rt.updateLinkInterpolate([q[tt-4]],q[tt]);break;case 122:this.$=q[tt-6],Rt.updateLinkInterpolate(q[tt-4],q[tt]);break;case 123:case 125:this.$=[q[tt]];break;case 124:case 126:q[tt-2].push(q[tt]),this.$=q[tt-2];break;case 128:this.$=q[tt-1]+q[tt];break;case 150:this.$=q[tt];break;case 151:this.$=q[tt-1]+\\\"\\\"+q[tt];break;case 156:this.$=\\\"v\\\";break;case 157:this.$=\\\"-\\\";break;case 158:this.$={stmt:\\\"dir\\\",value:\\\"TB\\\"};break;case 159:this.$={stmt:\\\"dir\\\",value:\\\"BT\\\"};break;case 160:this.$={stmt:\\\"dir\\\",value:\\\"RL\\\"};break;case 161:this.$={stmt:\\\"dir\\\",value:\\\"LR\\\"};break}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:r,22:n,24:i},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:r,22:n,24:i},t(s,a,{17:11}),{7:12,13:[1,13]},{16:14,21:r,22:n,24:i},{16:15,21:r,22:n,24:i},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:o,21:l,22:u,23:d,32:24,33:25,34:26,35:27,36:28,37:29,38:f,43:31,44:p,46:g,48:b,50:35,51:45,52:k,54:46,66:T,67:L,86:E,87:I,88:V,89:H,90:G,91:Y,95:W,105:N,106:D,109:w,111:v,112:M,116:47,118:m,119:Q,120:x,121:ct,122:Dt,123:kt,124:j,125:ot,126:rt,127:nt},{8:64,10:[1,65],15:ut},t([10,15],[2,6]),t(s,[2,17]),t(s,[2,18]),t(s,[2,19]),{20:[1,68],21:[1,69],22:_t,27:67,30:70},t(K,[2,11]),t(K,[2,12]),t(K,[2,13]),t(K,[2,14]),t(K,[2,15]),t(K,[2,16]),{9:72,20:Ot,21:P,23:z,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:Ot,21:P,23:z},{9:81,20:Ot,21:P,23:z},{9:82,20:Ot,21:P,23:z},{9:83,20:Ot,21:P,23:z},{9:84,20:Ot,21:P,23:z},{9:86,20:Ot,21:P,22:[1,85],23:z},t(K,[2,44]),{45:[1,87]},{47:[1,88]},t(K,[2,47]),t(X,[2,54],{30:89,22:_t}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:F,52:O,66:A,67:J,84:[1,97],91:C,97:96,98:[1,94],100:[1,95],105:ht,106:U,109:Yt,111:et,112:Mt,115:100,117:98,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(K,[2,158]),t(K,[2,159]),t(K,[2,160]),t(K,[2,161]),t(le,[2,55],{53:[1,116]}),t(Xt,[2,74],{116:129,40:[1,117],52:k,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:T,67:L,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:Y,95:W,105:N,106:D,109:w,111:v,112:M,122:Dt,123:kt,124:j,125:ot,126:rt,127:nt}),t(jt,[2,150]),t(jt,[2,175]),t(jt,[2,176]),t(jt,[2,177]),t(jt,[2,178]),t(jt,[2,179]),t(jt,[2,180]),t(jt,[2,181]),t(jt,[2,182]),t(jt,[2,183]),t(jt,[2,184]),t(jt,[2,185]),t(jt,[2,186]),t(jt,[2,187]),t(jt,[2,188]),t(jt,[2,189]),t(jt,[2,190]),{9:130,20:Ot,21:P,23:z},{11:131,14:[1,132]},t(Kt,[2,8]),t(s,[2,20]),t(s,[2,26]),t(s,[2,27]),{21:[1,133]},t(Gt,[2,34],{30:134,22:_t}),t(K,[2,35]),{50:135,51:45,52:k,54:46,66:T,67:L,91:Y,95:W,105:N,106:D,109:w,111:v,112:M,116:47,122:Dt,123:kt,124:j,125:ot,126:rt,127:nt},t(Ee,[2,48]),t(Ee,[2,49]),t(Ee,[2,50]),t(Ht,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:Vt,24:Ft,26:xt,38:ft,39:139,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),t(K,[2,36]),t(K,[2,37]),t(K,[2,38]),t(K,[2,39]),t(K,[2,40]),{22:Vt,24:Ft,26:xt,38:ft,39:163,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(Nn,a,{17:164}),t(K,[2,45]),t(K,[2,46]),t(X,[2,53],{52:Xr}),{26:F,52:O,66:A,67:J,91:C,97:166,102:[1,167],105:ht,106:U,109:Yt,111:et,112:Mt,115:100,117:98,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{95:[1,168],103:169,105:[1,170]},{26:F,52:O,66:A,67:J,91:C,95:[1,171],97:172,105:ht,106:U,109:Yt,111:et,112:Mt,115:100,117:98,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{26:F,52:O,66:A,67:J,91:C,97:173,105:ht,106:U,109:Yt,111:et,112:Mt,115:100,117:98,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(Kt,[2,101],{22:[1,174],99:[1,175]}),t(Kt,[2,105],{22:[1,176]}),t(Kt,[2,109],{115:100,117:178,22:[1,177],26:F,52:O,66:A,67:J,91:C,105:ht,106:U,109:Yt,111:et,112:Mt,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st}),t(Kt,[2,111],{22:[1,179]}),t(De,[2,152]),t(De,[2,154]),t(De,[2,155]),t(De,[2,156]),t(De,[2,157]),t(ae,[2,162]),t(ae,[2,163]),t(ae,[2,164]),t(ae,[2,165]),t(ae,[2,166]),t(ae,[2,167]),t(ae,[2,168]),t(ae,[2,169]),t(ae,[2,170]),t(ae,[2,171]),t(ae,[2,172]),t(ae,[2,173]),t(ae,[2,174]),{52:k,54:180,66:T,67:L,91:Y,95:W,105:N,106:D,109:w,111:v,112:M,116:47,122:Dt,123:kt,124:j,125:ot,126:rt,127:nt},{22:Vt,24:Ft,26:xt,38:ft,39:181,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,39:182,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,39:184,42:Lt,52:O,57:[1,183],66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,39:185,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,39:186,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,39:187,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{66:[1,188]},{22:Vt,24:Ft,26:xt,38:ft,39:189,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,39:190,42:Lt,52:O,66:A,67:J,71:[1,191],73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,39:192,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,39:193,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,39:194,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(jt,[2,151]),t(Be,[2,3]),{8:195,15:ut},{15:[2,7]},t(s,[2,28]),t(Gt,[2,33]),t(X,[2,51],{30:196,22:_t}),t(Ht,[2,75],{22:[1,197]}),{22:[1,198]},{22:Vt,24:Ft,26:xt,38:ft,39:199,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,82:[1,200],83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(ae,[2,82]),t(ae,[2,84]),t(ae,[2,140]),t(ae,[2,141]),t(ae,[2,142]),t(ae,[2,143]),t(ae,[2,144]),t(ae,[2,145]),t(ae,[2,146]),t(ae,[2,147]),t(ae,[2,148]),t(ae,[2,149]),t(ae,[2,85]),t(ae,[2,86]),t(ae,[2,87]),t(ae,[2,88]),t(ae,[2,89]),t(ae,[2,90]),t(ae,[2,91]),t(ae,[2,92]),t(ae,[2,93]),t(ae,[2,94]),t(ae,[2,95]),{9:203,20:Ot,21:P,22:Vt,23:z,24:Ft,26:xt,38:ft,40:[1,202],42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{18:18,19:19,20:o,21:l,22:u,23:d,32:24,33:25,34:26,35:27,36:28,37:29,38:f,42:[1,204],43:31,44:p,46:g,48:b,50:35,51:45,52:k,54:46,66:T,67:L,86:E,87:I,88:V,89:H,90:G,91:Y,95:W,105:N,106:D,109:w,111:v,112:M,116:47,118:m,119:Q,120:x,121:ct,122:Dt,123:kt,124:j,125:ot,126:rt,127:nt},{22:_t,30:205},{22:[1,206],26:F,52:O,66:A,67:J,91:C,105:ht,106:U,109:Yt,111:et,112:Mt,115:100,117:178,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},t(Re,[2,123]),{22:[1,211]},{22:[1,212],26:F,52:O,66:A,67:J,91:C,105:ht,106:U,109:Yt,111:et,112:Mt,115:100,117:178,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:[1,213],26:F,52:O,66:A,67:J,91:C,105:ht,106:U,109:Yt,111:et,112:Mt,115:100,117:178,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{84:[1,214]},t(Kt,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},t(De,[2,153]),{84:[1,219],101:[1,220]},t(le,[2,57],{116:129,52:k,66:T,67:L,91:Y,95:W,105:N,106:D,109:w,111:v,112:M,122:Dt,123:kt,124:j,125:ot,126:rt,127:nt}),{22:Vt,24:Ft,26:xt,38:ft,41:[1,221],42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,56:[1,222],66:A,67:J,73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,39:223,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,58:[1,224],66:A,67:J,73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,60:[1,225],66:A,67:J,73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,62:[1,226],66:A,67:J,73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,64:[1,227],66:A,67:J,73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{67:[1,228]},{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,66:A,67:J,70:[1,229],73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,66:A,67:J,72:[1,230],73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,39:231,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,41:[1,232],42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,66:A,67:J,73:bt,75:[1,233],77:[1,234],81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,66:A,67:J,73:bt,75:[1,236],77:[1,235],81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{9:237,20:Ot,21:P,23:z},t(X,[2,52],{52:Xr}),t(Ht,[2,77]),t(Ht,[2,76]),{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,66:A,67:J,68:[1,238],73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(Ht,[2,79]),t(ae,[2,83]),{22:Vt,24:Ft,26:xt,38:ft,39:239,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(Nn,a,{17:240}),t(K,[2,43]),{51:241,52:k,54:46,66:T,67:L,91:Y,95:W,105:N,106:D,109:w,111:v,112:M,116:47,122:Dt,123:kt,124:j,125:ot,126:rt,127:nt},{22:Pe,66:Ye,67:Ie,86:$e,96:242,102:ar,105:zt,107:243,108:244,109:Z,110:At,111:Nt,112:pe,113:Me},{22:Pe,66:Ye,67:Ie,86:$e,96:256,102:ar,105:zt,107:243,108:244,109:Z,110:At,111:Nt,112:pe,113:Me},{22:Pe,66:Ye,67:Ie,86:$e,96:257,102:ar,104:[1,258],105:zt,107:243,108:244,109:Z,110:At,111:Nt,112:pe,113:Me},{22:Pe,66:Ye,67:Ie,86:$e,96:259,102:ar,104:[1,260],105:zt,107:243,108:244,109:Z,110:At,111:Nt,112:pe,113:Me},{105:[1,261]},{22:Pe,66:Ye,67:Ie,86:$e,96:262,102:ar,105:zt,107:243,108:244,109:Z,110:At,111:Nt,112:pe,113:Me},{22:Pe,66:Ye,67:Ie,86:$e,96:263,102:ar,105:zt,107:243,108:244,109:Z,110:At,111:Nt,112:pe,113:Me},{26:F,52:O,66:A,67:J,91:C,97:264,105:ht,106:U,109:Yt,111:et,112:Mt,115:100,117:98,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(Kt,[2,102]),{84:[1,265]},t(Kt,[2,106],{22:[1,266]}),t(Kt,[2,107]),t(Kt,[2,110]),t(Kt,[2,112],{22:[1,267]}),t(Kt,[2,113]),t(Xt,[2,58]),t(Xt,[2,59]),{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,58:[1,268],66:A,67:J,73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(Xt,[2,66]),t(Xt,[2,61]),t(Xt,[2,62]),t(Xt,[2,63]),{66:[1,269]},t(Xt,[2,65]),t(Xt,[2,67]),{22:Vt,24:Ft,26:xt,38:ft,42:Lt,52:O,66:A,67:J,72:[1,270],73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(Xt,[2,69]),t(Xt,[2,70]),t(Xt,[2,72]),t(Xt,[2,71]),t(Xt,[2,73]),t(Be,[2,4]),t([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:Vt,24:Ft,26:xt,38:ft,41:[1,271],42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{18:18,19:19,20:o,21:l,22:u,23:d,32:24,33:25,34:26,35:27,36:28,37:29,38:f,42:[1,272],43:31,44:p,46:g,48:b,50:35,51:45,52:k,54:46,66:T,67:L,86:E,87:I,88:V,89:H,90:G,91:Y,95:W,105:N,106:D,109:w,111:v,112:M,116:47,118:m,119:Q,120:x,121:ct,122:Dt,123:kt,124:j,125:ot,126:rt,127:nt},t(le,[2,56]),t(Kt,[2,115],{106:Le}),t(We,[2,125],{108:274,22:Pe,66:Ye,67:Ie,86:$e,102:ar,105:zt,109:Z,110:At,111:Nt,112:pe,113:Me}),t(ve,[2,127]),t(ve,[2,129]),t(ve,[2,130]),t(ve,[2,131]),t(ve,[2,132]),t(ve,[2,133]),t(ve,[2,134]),t(ve,[2,135]),t(ve,[2,136]),t(ve,[2,137]),t(ve,[2,138]),t(ve,[2,139]),t(Kt,[2,116],{106:Le}),t(Kt,[2,117],{106:Le}),{22:[1,275]},t(Kt,[2,118],{106:Le}),{22:[1,276]},t(Re,[2,124]),t(Kt,[2,98],{106:Le}),t(Kt,[2,99],{106:Le}),t(Kt,[2,100],{115:100,117:178,26:F,52:O,66:A,67:J,91:C,105:ht,106:U,109:Yt,111:et,112:Mt,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st}),t(Kt,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:Ot,21:P,23:z},t(K,[2,42]),{22:Pe,66:Ye,67:Ie,86:$e,102:ar,105:zt,107:283,108:244,109:Z,110:At,111:Nt,112:pe,113:Me},t(ve,[2,128]),{26:F,52:O,66:A,67:J,91:C,97:284,105:ht,106:U,109:Yt,111:et,112:Mt,115:100,117:98,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{26:F,52:O,66:A,67:J,91:C,97:285,105:ht,106:U,109:Yt,111:et,112:Mt,115:100,117:98,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(Kt,[2,108]),t(Kt,[2,114]),t(Xt,[2,60]),{22:Vt,24:Ft,26:xt,38:ft,39:286,42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:140,84:at,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},t(Xt,[2,68]),t(Nn,a,{17:287}),t(We,[2,126],{108:274,22:Pe,66:Ye,67:Ie,86:$e,102:ar,105:zt,109:Z,110:At,111:Nt,112:pe,113:Me}),t(Kt,[2,121],{115:100,117:178,22:[1,288],26:F,52:O,66:A,67:J,91:C,105:ht,106:U,109:Yt,111:et,112:Mt,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st}),t(Kt,[2,122],{115:100,117:178,22:[1,289],26:F,52:O,66:A,67:J,91:C,105:ht,106:U,109:Yt,111:et,112:Mt,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st}),{22:Vt,24:Ft,26:xt,38:ft,41:[1,290],42:Lt,52:O,66:A,67:J,73:bt,81:Ut,83:201,85:151,86:ie,87:dt,88:ee,89:fe,90:be,91:_e,92:ke,94:142,95:$t,105:ht,106:U,109:se,111:et,112:Mt,113:ye,114:Jt,115:148,122:Tt,123:gt,124:Et,125:wt,126:pt,127:st},{18:18,19:19,20:o,21:l,22:u,23:d,32:24,33:25,34:26,35:27,36:28,37:29,38:f,42:[1,291],43:31,44:p,46:g,48:b,50:35,51:45,52:k,54:46,66:T,67:L,86:E,87:I,88:V,89:H,90:G,91:Y,95:W,105:N,106:D,109:w,111:v,112:M,116:47,118:m,119:Q,120:x,121:ct,122:Dt,123:kt,124:j,125:ot,126:rt,127:nt},{22:Pe,66:Ye,67:Ie,86:$e,96:292,102:ar,105:zt,107:243,108:244,109:Z,110:At,111:Nt,112:pe,113:Me},{22:Pe,66:Ye,67:Ie,86:$e,96:293,102:ar,105:zt,107:243,108:244,109:Z,110:At,111:Nt,112:pe,113:Me},t(Xt,[2,64]),t(K,[2,41]),t(Kt,[2,119],{106:Le}),t(Kt,[2,120],{106:Le})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(qt,te){if(te.recoverable)this.trace(qt);else{var oe=new Error(qt);throw oe.hash=te,oe}},parse:function(qt){var te=this,oe=[0],Rt=[],Ve=[null],q=[],Is=this.table,tt=\\\"\\\",Sr=0,Wu=0,Rd=2,Hu=1,Gu=q.slice.call(arguments,1),or=Object.create(this.lexer),Zn={yy:{}};for(var Qn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qn)&&(Zn.yy[Qn]=this.yy[Qn]);or.setInput(qt,Zn.yy),Zn.yy.lexer=or,Zn.yy.parser=this,typeof or.yylloc>\\\"u\\\"&&(or.yylloc={});var Os=or.yylloc;q.push(Os);var ll=or.options&&or.options.ranges;typeof Zn.yy.parseError==\\\"function\\\"?this.parseError=Zn.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qu(){var Zr;return Zr=Rt.pop()||or.lex()||Hu,typeof Zr!=\\\"number\\\"&&(Zr instanceof Array&&(Rt=Zr,Zr=Rt.pop()),Zr=te.symbols_[Zr]||Zr),Zr}for(var xr,Se,Or,Ai,Bn={},Li,Kr,cl,Pa;;){if(Se=oe[oe.length-1],this.defaultActions[Se]?Or=this.defaultActions[Se]:((xr===null||typeof xr>\\\"u\\\")&&(xr=qu()),Or=Is[Se]&&Is[Se][xr]),typeof Or>\\\"u\\\"||!Or.length||!Or[0]){var Rs=\\\"\\\";Pa=[];for(Li in Is[Se])this.terminals_[Li]&&Li>Rd&&Pa.push(\\\"'\\\"+this.terminals_[Li]+\\\"'\\\");or.showPosition?Rs=\\\"Parse error on line \\\"+(Sr+1)+`:\\n`+or.showPosition()+`\\nExpecting `+Pa.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[xr]||xr)+\\\"'\\\":Rs=\\\"Parse error on line \\\"+(Sr+1)+\\\": Unexpected \\\"+(xr==Hu?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[xr]||xr)+\\\"'\\\"),this.parseError(Rs,{text:or.match,token:this.terminals_[xr]||xr,line:or.yylineno,loc:Os,expected:Pa})}if(Or[0]instanceof Array&&Or.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+Se+\\\", token: \\\"+xr);switch(Or[0]){case 1:oe.push(xr),Ve.push(or.yytext),q.push(or.yylloc),oe.push(Or[1]),xr=null,Wu=or.yyleng,tt=or.yytext,Sr=or.yylineno,Os=or.yylloc;break;case 2:if(Kr=this.productions_[Or[1]][1],Bn.$=Ve[Ve.length-Kr],Bn._$={first_line:q[q.length-(Kr||1)].first_line,last_line:q[q.length-1].last_line,first_column:q[q.length-(Kr||1)].first_column,last_column:q[q.length-1].last_column},ll&&(Bn._$.range=[q[q.length-(Kr||1)].range[0],q[q.length-1].range[1]]),Ai=this.performAction.apply(Bn,[tt,Wu,Sr,Zn.yy,Or[1],Ve,q].concat(Gu)),typeof Ai\u003C\\\"u\\\")return Ai;Kr&&(oe=oe.slice(0,-1*Kr*2),Ve=Ve.slice(0,-1*Kr),q=q.slice(0,-1*Kr)),oe.push(this.productions_[Or[1]][0]),Ve.push(Bn.$),q.push(Bn._$),cl=Is[oe[oe.length-2]][oe[oe.length-1]],oe.push(cl);break;case 3:return!0}}return!0}},Xi=function(){var zr={EOF:1,parseError:function(te,oe){if(this.yy.parser)this.yy.parser.parseError(te,oe);else throw new Error(te)},setInput:function(qt,te){return this.yy=te||this.yy||{},this._input=qt,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var qt=this._input[0];this.yytext+=qt,this.yyleng++,this.offset++,this.match+=qt,this.matched+=qt;var te=qt.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return te?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),qt},unput:function(qt){var te=qt.length,oe=qt.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=qt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-te),this.offset-=te;var Rt=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),oe.length-1&&(this.yylineno-=oe.length-1);var Ve=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:oe?(oe.length===Rt.length?this.yylloc.first_column:0)+Rt[Rt.length-oe.length].length-oe[0].length:this.yylloc.first_column-te},this.options.ranges&&(this.yylloc.range=[Ve[0],Ve[0]+this.yyleng-te]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(qt){this.unput(this.match.slice(qt))},pastInput:function(){var qt=this.matched.substr(0,this.matched.length-this.match.length);return(qt.length>20?\\\"...\\\":\\\"\\\")+qt.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var qt=this.match;return qt.length\u003C20&&(qt+=this._input.substr(0,20-qt.length)),(qt.substr(0,20)+(qt.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var qt=this.pastInput(),te=new Array(qt.length+1).join(\\\"-\\\");return qt+this.upcomingInput()+`\\n`+te+\\\"^\\\"},test_match:function(qt,te){var oe,Rt,Ve;if(this.options.backtrack_lexer&&(Ve={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Ve.yylloc.range=this.yylloc.range.slice(0))),Rt=qt[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),Rt&&(this.yylineno+=Rt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Rt?Rt[Rt.length-1].length-Rt[Rt.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+qt[0].length},this.yytext+=qt[0],this.match+=qt[0],this.matches=qt,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(qt[0].length),this.matched+=qt[0],oe=this.performAction.call(this,this.yy,this,te,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),oe)return oe;if(this._backtrack){for(var q in Ve)this[q]=Ve[q];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var qt,te,oe,Rt;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var Ve=this._currentRules(),q=0;q\u003CVe.length;q++)if(oe=this._input.match(this.rules[Ve[q]]),oe&&(!te||oe[0].length>te[0].length)){if(te=oe,Rt=q,this.options.backtrack_lexer){if(qt=this.test_match(oe,Ve[q]),qt!==!1)return qt;if(this._backtrack){te=!1;continue}else return!1}else if(!this.options.flex)break}return te?(qt=this.test_match(te,Ve[Rt]),qt!==!1?qt:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var te=this.next();return te||this.lex()},begin:function(te){this.conditionStack.push(te)},popState:function(){var te=this.conditionStack.length-1;return te>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(te){return te=this.conditionStack.length-1-Math.abs(te||0),te>=0?this.conditionStack[te]:\\\"INITIAL\\\"},pushState:function(te){this.begin(te)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(te,oe,Rt,Ve){switch(Rt){case 0:return this.begin(\\\"open_directive\\\"),12;case 1:return this.begin(\\\"type_directive\\\"),13;case 2:return this.popState(),this.begin(\\\"arg_directive\\\"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:break;case 6:break;case 7:return this.begin(\\\"acc_title\\\"),44;case 8:return this.popState(),\\\"acc_title_value\\\";case 9:return this.begin(\\\"acc_descr\\\"),46;case 10:return this.popState(),\\\"acc_descr_value\\\";case 11:this.begin(\\\"acc_descr_multiline\\\");break;case 12:this.popState();break;case 13:return\\\"acc_descr_multiline_value\\\";case 14:this.begin(\\\"string\\\");break;case 15:this.popState();break;case 16:return\\\"STR\\\";case 17:return 86;case 18:return 95;case 19:return 87;case 20:return 104;case 21:return 88;case 22:return 89;case 23:this.begin(\\\"href\\\");break;case 24:this.popState();break;case 25:return 100;case 26:this.begin(\\\"callbackname\\\");break;case 27:this.popState();break;case 28:this.popState(),this.begin(\\\"callbackargs\\\");break;case 29:return 98;case 30:this.popState();break;case 31:return 99;case 32:this.begin(\\\"click\\\");break;case 33:this.popState();break;case 34:return 90;case 35:return te.lex.firstGraph()&&this.begin(\\\"dir\\\"),24;case 36:return te.lex.firstGraph()&&this.begin(\\\"dir\\\"),24;case 37:return 38;case 38:return 42;case 39:return 101;case 40:return 101;case 41:return 101;case 42:return 101;case 43:return this.popState(),25;case 44:return this.popState(),26;case 45:return this.popState(),26;case 46:return this.popState(),26;case 47:return this.popState(),26;case 48:return this.popState(),26;case 49:return this.popState(),26;case 50:return this.popState(),26;case 51:return this.popState(),26;case 52:return this.popState(),26;case 53:return this.popState(),26;case 54:return 118;case 55:return 119;case 56:return 120;case 57:return 121;case 58:return 105;case 59:return 111;case 60:return 53;case 61:return 67;case 62:return 52;case 63:return 20;case 64:return 106;case 65:return 126;case 66:return 82;case 67:return 82;case 68:return 82;case 69:return 81;case 70:return 81;case 71:return 81;case 72:return 59;case 73:return 60;case 74:return 61;case 75:return 62;case 76:return 63;case 77:return 64;case 78:return 65;case 79:return 69;case 80:return 70;case 81:return 55;case 82:return 56;case 83:return 109;case 84:return 112;case 85:return 127;case 86:return 124;case 87:return 113;case 88:return 125;case 89:return 125;case 90:return 114;case 91:return 73;case 92:return 92;case 93:return\\\"SEP\\\";case 94:return 91;case 95:return 66;case 96:return 75;case 97:return 74;case 98:return 77;case 99:return 76;case 100:return 122;case 101:return 123;case 102:return 68;case 103:return 57;case 104:return 58;case 105:return 40;case 106:return 41;case 107:return 71;case 108:return 72;case 109:return 133;case 110:return 21;case 111:return 22;case 112:return 23}},rules:[/^(?:%%\\\\{)/,/^(?:((?:(?!\\\\}%%)[^:.])*))/,/^(?::)/,/^(?:\\\\}%%)/,/^(?:((?:(?!\\\\}%%).|\\\\n)*))/,/^(?:%%(?!\\\\{)[^\\\\n]*)/,/^(?:[^\\\\}]%%[^\\\\n]*)/,/^(?:accTitle\\\\s*:\\\\s*)/,/^(?:(?!\\\\n||)*[^\\\\n]*)/,/^(?:accDescr\\\\s*:\\\\s*)/,/^(?:(?!\\\\n||)*[^\\\\n]*)/,/^(?:accDescr\\\\s*\\\\{\\\\s*)/,/^(?:[\\\\}])/,/^(?:[^\\\\}]*)/,/^(?:[\\\"])/,/^(?:[\\\"])/,/^(?:[^\\\"]*)/,/^(?:style\\\\b)/,/^(?:default\\\\b)/,/^(?:linkStyle\\\\b)/,/^(?:interpolate\\\\b)/,/^(?:classDef\\\\b)/,/^(?:class\\\\b)/,/^(?:href[\\\\s]+[\\\"])/,/^(?:[\\\"])/,/^(?:[^\\\"]*)/,/^(?:call[\\\\s]+)/,/^(?:\\\\([\\\\s]*\\\\))/,/^(?:\\\\()/,/^(?:[^(]*)/,/^(?:\\\\))/,/^(?:[^)]*)/,/^(?:click[\\\\s]+)/,/^(?:[\\\\s\\\\n])/,/^(?:[^\\\\s\\\\n]*)/,/^(?:graph\\\\b)/,/^(?:flowchart\\\\b)/,/^(?:subgraph\\\\b)/,/^(?:end\\\\b\\\\s*)/,/^(?:_self\\\\b)/,/^(?:_blank\\\\b)/,/^(?:_parent\\\\b)/,/^(?:_top\\\\b)/,/^(?:(\\\\r?\\\\n)*\\\\s*\\\\n)/,/^(?:\\\\s*LR\\\\b)/,/^(?:\\\\s*RL\\\\b)/,/^(?:\\\\s*TB\\\\b)/,/^(?:\\\\s*BT\\\\b)/,/^(?:\\\\s*TD\\\\b)/,/^(?:\\\\s*BR\\\\b)/,/^(?:\\\\s*\u003C)/,/^(?:\\\\s*>)/,/^(?:\\\\s*\\\\^)/,/^(?:\\\\s*v\\\\b)/,/^(?:.*direction\\\\s+TB[^\\\\n]*)/,/^(?:.*direction\\\\s+BT[^\\\\n]*)/,/^(?:.*direction\\\\s+RL[^\\\\n]*)/,/^(?:.*direction\\\\s+LR[^\\\\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\\\\*)/,/^(?:\\\\s*[xo\u003C]?--+[-xo>]\\\\s*)/,/^(?:\\\\s*[xo\u003C]?==+[=xo>]\\\\s*)/,/^(?:\\\\s*[xo\u003C]?-?\\\\.+-[xo>]?\\\\s*)/,/^(?:\\\\s*[xo\u003C]?--\\\\s*)/,/^(?:\\\\s*[xo\u003C]?==\\\\s*)/,/^(?:\\\\s*[xo\u003C]?-\\\\.\\\\s*)/,/^(?:\\\\(-)/,/^(?:-\\\\))/,/^(?:\\\\(\\\\[)/,/^(?:\\\\]\\\\))/,/^(?:\\\\[\\\\[)/,/^(?:\\\\]\\\\])/,/^(?:\\\\[\\\\|)/,/^(?:\\\\[\\\\()/,/^(?:\\\\)\\\\])/,/^(?:\\\\(\\\\(\\\\()/,/^(?:\\\\)\\\\)\\\\))/,/^(?:-)/,/^(?:\\\\.)/,/^(?:[\\\\_])/,/^(?:\\\\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\u003C)/,/^(?:>)/,/^(?:\\\\^)/,/^(?:\\\\\\\\\\\\|)/,/^(?:v\\\\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\\\\\\\\\\])/,/^(?:\\\\[\\\\/)/,/^(?:\\\\/\\\\])/,/^(?:\\\\[\\\\\\\\)/,/^(?:[!\\\"#$%&'*+,-.`?\\\\\\\\_/])/,/^(?:[\\\\u00AA\\\\u00B5\\\\u00BA\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6]|[\\\\u00F8-\\\\u02C1\\\\u02C6-\\\\u02D1\\\\u02E0-\\\\u02E4\\\\u02EC\\\\u02EE\\\\u0370-\\\\u0374\\\\u0376\\\\u0377]|[\\\\u037A-\\\\u037D\\\\u0386\\\\u0388-\\\\u038A\\\\u038C\\\\u038E-\\\\u03A1\\\\u03A3-\\\\u03F5]|[\\\\u03F7-\\\\u0481\\\\u048A-\\\\u0527\\\\u0531-\\\\u0556\\\\u0559\\\\u0561-\\\\u0587\\\\u05D0-\\\\u05EA]|[\\\\u05F0-\\\\u05F2\\\\u0620-\\\\u064A\\\\u066E\\\\u066F\\\\u0671-\\\\u06D3\\\\u06D5\\\\u06E5\\\\u06E6\\\\u06EE]|[\\\\u06EF\\\\u06FA-\\\\u06FC\\\\u06FF\\\\u0710\\\\u0712-\\\\u072F\\\\u074D-\\\\u07A5\\\\u07B1\\\\u07CA-\\\\u07EA]|[\\\\u07F4\\\\u07F5\\\\u07FA\\\\u0800-\\\\u0815\\\\u081A\\\\u0824\\\\u0828\\\\u0840-\\\\u0858\\\\u08A0]|[\\\\u08A2-\\\\u08AC\\\\u0904-\\\\u0939\\\\u093D\\\\u0950\\\\u0958-\\\\u0961\\\\u0971-\\\\u0977]|[\\\\u0979-\\\\u097F\\\\u0985-\\\\u098C\\\\u098F\\\\u0990\\\\u0993-\\\\u09A8\\\\u09AA-\\\\u09B0\\\\u09B2]|[\\\\u09B6-\\\\u09B9\\\\u09BD\\\\u09CE\\\\u09DC\\\\u09DD\\\\u09DF-\\\\u09E1\\\\u09F0\\\\u09F1\\\\u0A05-\\\\u0A0A]|[\\\\u0A0F\\\\u0A10\\\\u0A13-\\\\u0A28\\\\u0A2A-\\\\u0A30\\\\u0A32\\\\u0A33\\\\u0A35\\\\u0A36\\\\u0A38\\\\u0A39]|[\\\\u0A59-\\\\u0A5C\\\\u0A5E\\\\u0A72-\\\\u0A74\\\\u0A85-\\\\u0A8D\\\\u0A8F-\\\\u0A91\\\\u0A93-\\\\u0AA8]|[\\\\u0AAA-\\\\u0AB0\\\\u0AB2\\\\u0AB3\\\\u0AB5-\\\\u0AB9\\\\u0ABD\\\\u0AD0\\\\u0AE0\\\\u0AE1\\\\u0B05-\\\\u0B0C]|[\\\\u0B0F\\\\u0B10\\\\u0B13-\\\\u0B28\\\\u0B2A-\\\\u0B30\\\\u0B32\\\\u0B33\\\\u0B35-\\\\u0B39\\\\u0B3D\\\\u0B5C]|[\\\\u0B5D\\\\u0B5F-\\\\u0B61\\\\u0B71\\\\u0B83\\\\u0B85-\\\\u0B8A\\\\u0B8E-\\\\u0B90\\\\u0B92-\\\\u0B95\\\\u0B99]|[\\\\u0B9A\\\\u0B9C\\\\u0B9E\\\\u0B9F\\\\u0BA3\\\\u0BA4\\\\u0BA8-\\\\u0BAA\\\\u0BAE-\\\\u0BB9\\\\u0BD0]|[\\\\u0C05-\\\\u0C0C\\\\u0C0E-\\\\u0C10\\\\u0C12-\\\\u0C28\\\\u0C2A-\\\\u0C33\\\\u0C35-\\\\u0C39\\\\u0C3D]|[\\\\u0C58\\\\u0C59\\\\u0C60\\\\u0C61\\\\u0C85-\\\\u0C8C\\\\u0C8E-\\\\u0C90\\\\u0C92-\\\\u0CA8\\\\u0CAA-\\\\u0CB3]|[\\\\u0CB5-\\\\u0CB9\\\\u0CBD\\\\u0CDE\\\\u0CE0\\\\u0CE1\\\\u0CF1\\\\u0CF2\\\\u0D05-\\\\u0D0C\\\\u0D0E-\\\\u0D10]|[\\\\u0D12-\\\\u0D3A\\\\u0D3D\\\\u0D4E\\\\u0D60\\\\u0D61\\\\u0D7A-\\\\u0D7F\\\\u0D85-\\\\u0D96\\\\u0D9A-\\\\u0DB1]|[\\\\u0DB3-\\\\u0DBB\\\\u0DBD\\\\u0DC0-\\\\u0DC6\\\\u0E01-\\\\u0E30\\\\u0E32\\\\u0E33\\\\u0E40-\\\\u0E46\\\\u0E81]|[\\\\u0E82\\\\u0E84\\\\u0E87\\\\u0E88\\\\u0E8A\\\\u0E8D\\\\u0E94-\\\\u0E97\\\\u0E99-\\\\u0E9F\\\\u0EA1-\\\\u0EA3]|[\\\\u0EA5\\\\u0EA7\\\\u0EAA\\\\u0EAB\\\\u0EAD-\\\\u0EB0\\\\u0EB2\\\\u0EB3\\\\u0EBD\\\\u0EC0-\\\\u0EC4\\\\u0EC6]|[\\\\u0EDC-\\\\u0EDF\\\\u0F00\\\\u0F40-\\\\u0F47\\\\u0F49-\\\\u0F6C\\\\u0F88-\\\\u0F8C\\\\u1000-\\\\u102A]|[\\\\u103F\\\\u1050-\\\\u1055\\\\u105A-\\\\u105D\\\\u1061\\\\u1065\\\\u1066\\\\u106E-\\\\u1070\\\\u1075-\\\\u1081]|[\\\\u108E\\\\u10A0-\\\\u10C5\\\\u10C7\\\\u10CD\\\\u10D0-\\\\u10FA\\\\u10FC-\\\\u1248\\\\u124A-\\\\u124D]|[\\\\u1250-\\\\u1256\\\\u1258\\\\u125A-\\\\u125D\\\\u1260-\\\\u1288\\\\u128A-\\\\u128D\\\\u1290-\\\\u12B0]|[\\\\u12B2-\\\\u12B5\\\\u12B8-\\\\u12BE\\\\u12C0\\\\u12C2-\\\\u12C5\\\\u12C8-\\\\u12D6\\\\u12D8-\\\\u1310]|[\\\\u1312-\\\\u1315\\\\u1318-\\\\u135A\\\\u1380-\\\\u138F\\\\u13A0-\\\\u13F4\\\\u1401-\\\\u166C]|[\\\\u166F-\\\\u167F\\\\u1681-\\\\u169A\\\\u16A0-\\\\u16EA\\\\u1700-\\\\u170C\\\\u170E-\\\\u1711]|[\\\\u1720-\\\\u1731\\\\u1740-\\\\u1751\\\\u1760-\\\\u176C\\\\u176E-\\\\u1770\\\\u1780-\\\\u17B3\\\\u17D7]|[\\\\u17DC\\\\u1820-\\\\u1877\\\\u1880-\\\\u18A8\\\\u18AA\\\\u18B0-\\\\u18F5\\\\u1900-\\\\u191C]|[\\\\u1950-\\\\u196D\\\\u1970-\\\\u1974\\\\u1980-\\\\u19AB\\\\u19C1-\\\\u19C7\\\\u1A00-\\\\u1A16]|[\\\\u1A20-\\\\u1A54\\\\u1AA7\\\\u1B05-\\\\u1B33\\\\u1B45-\\\\u1B4B\\\\u1B83-\\\\u1BA0\\\\u1BAE\\\\u1BAF]|[\\\\u1BBA-\\\\u1BE5\\\\u1C00-\\\\u1C23\\\\u1C4D-\\\\u1C4F\\\\u1C5A-\\\\u1C7D\\\\u1CE9-\\\\u1CEC]|[\\\\u1CEE-\\\\u1CF1\\\\u1CF5\\\\u1CF6\\\\u1D00-\\\\u1DBF\\\\u1E00-\\\\u1F15\\\\u1F18-\\\\u1F1D]|[\\\\u1F20-\\\\u1F45\\\\u1F48-\\\\u1F4D\\\\u1F50-\\\\u1F57\\\\u1F59\\\\u1F5B\\\\u1F5D\\\\u1F5F-\\\\u1F7D]|[\\\\u1F80-\\\\u1FB4\\\\u1FB6-\\\\u1FBC\\\\u1FBE\\\\u1FC2-\\\\u1FC4\\\\u1FC6-\\\\u1FCC\\\\u1FD0-\\\\u1FD3]|[\\\\u1FD6-\\\\u1FDB\\\\u1FE0-\\\\u1FEC\\\\u1FF2-\\\\u1FF4\\\\u1FF6-\\\\u1FFC\\\\u2071\\\\u207F]|[\\\\u2090-\\\\u209C\\\\u2102\\\\u2107\\\\u210A-\\\\u2113\\\\u2115\\\\u2119-\\\\u211D\\\\u2124\\\\u2126\\\\u2128]|[\\\\u212A-\\\\u212D\\\\u212F-\\\\u2139\\\\u213C-\\\\u213F\\\\u2145-\\\\u2149\\\\u214E\\\\u2183\\\\u2184]|[\\\\u2C00-\\\\u2C2E\\\\u2C30-\\\\u2C5E\\\\u2C60-\\\\u2CE4\\\\u2CEB-\\\\u2CEE\\\\u2CF2\\\\u2CF3]|[\\\\u2D00-\\\\u2D25\\\\u2D27\\\\u2D2D\\\\u2D30-\\\\u2D67\\\\u2D6F\\\\u2D80-\\\\u2D96\\\\u2DA0-\\\\u2DA6]|[\\\\u2DA8-\\\\u2DAE\\\\u2DB0-\\\\u2DB6\\\\u2DB8-\\\\u2DBE\\\\u2DC0-\\\\u2DC6\\\\u2DC8-\\\\u2DCE]|[\\\\u2DD0-\\\\u2DD6\\\\u2DD8-\\\\u2DDE\\\\u2E2F\\\\u3005\\\\u3006\\\\u3031-\\\\u3035\\\\u303B\\\\u303C]|[\\\\u3041-\\\\u3096\\\\u309D-\\\\u309F\\\\u30A1-\\\\u30FA\\\\u30FC-\\\\u30FF\\\\u3105-\\\\u312D]|[\\\\u3131-\\\\u318E\\\\u31A0-\\\\u31BA\\\\u31F0-\\\\u31FF\\\\u3400-\\\\u4DB5\\\\u4E00-\\\\u9FCC]|[\\\\uA000-\\\\uA48C\\\\uA4D0-\\\\uA4FD\\\\uA500-\\\\uA60C\\\\uA610-\\\\uA61F\\\\uA62A\\\\uA62B]|[\\\\uA640-\\\\uA66E\\\\uA67F-\\\\uA697\\\\uA6A0-\\\\uA6E5\\\\uA717-\\\\uA71F\\\\uA722-\\\\uA788]|[\\\\uA78B-\\\\uA78E\\\\uA790-\\\\uA793\\\\uA7A0-\\\\uA7AA\\\\uA7F8-\\\\uA801\\\\uA803-\\\\uA805]|[\\\\uA807-\\\\uA80A\\\\uA80C-\\\\uA822\\\\uA840-\\\\uA873\\\\uA882-\\\\uA8B3\\\\uA8F2-\\\\uA8F7\\\\uA8FB]|[\\\\uA90A-\\\\uA925\\\\uA930-\\\\uA946\\\\uA960-\\\\uA97C\\\\uA984-\\\\uA9B2\\\\uA9CF\\\\uAA00-\\\\uAA28]|[\\\\uAA40-\\\\uAA42\\\\uAA44-\\\\uAA4B\\\\uAA60-\\\\uAA76\\\\uAA7A\\\\uAA80-\\\\uAAAF\\\\uAAB1\\\\uAAB5]|[\\\\uAAB6\\\\uAAB9-\\\\uAABD\\\\uAAC0\\\\uAAC2\\\\uAADB-\\\\uAADD\\\\uAAE0-\\\\uAAEA\\\\uAAF2-\\\\uAAF4]|[\\\\uAB01-\\\\uAB06\\\\uAB09-\\\\uAB0E\\\\uAB11-\\\\uAB16\\\\uAB20-\\\\uAB26\\\\uAB28-\\\\uAB2E]|[\\\\uABC0-\\\\uABE2\\\\uAC00-\\\\uD7A3\\\\uD7B0-\\\\uD7C6\\\\uD7CB-\\\\uD7FB\\\\uF900-\\\\uFA6D]|[\\\\uFA70-\\\\uFAD9\\\\uFB00-\\\\uFB06\\\\uFB13-\\\\uFB17\\\\uFB1D\\\\uFB1F-\\\\uFB28\\\\uFB2A-\\\\uFB36]|[\\\\uFB38-\\\\uFB3C\\\\uFB3E\\\\uFB40\\\\uFB41\\\\uFB43\\\\uFB44\\\\uFB46-\\\\uFBB1\\\\uFBD3-\\\\uFD3D]|[\\\\uFD50-\\\\uFD8F\\\\uFD92-\\\\uFDC7\\\\uFDF0-\\\\uFDFB\\\\uFE70-\\\\uFE74\\\\uFE76-\\\\uFEFC]|[\\\\uFF21-\\\\uFF3A\\\\uFF41-\\\\uFF5A\\\\uFF66-\\\\uFFBE\\\\uFFC2-\\\\uFFC7\\\\uFFCA-\\\\uFFCF]|[\\\\uFFD2-\\\\uFFD7\\\\uFFDA-\\\\uFFDC])/,/^(?:\\\\|)/,/^(?:\\\\()/,/^(?:\\\\))/,/^(?:\\\\[)/,/^(?:\\\\])/,/^(?:\\\\{)/,/^(?:\\\\})/,/^(?:\\\")/,/^(?:(\\\\r?\\\\n)+)/,/^(?:\\\\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[30,31],inclusive:!1},callbackname:{rules:[27,28,29],inclusive:!1},href:{rules:[24,25],inclusive:!1},click:{rules:[33,34],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[43,44,45,46,47,48,49,50,51,52,53],inclusive:!1},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,5,6,7,9,11,14,17,18,19,20,21,22,23,26,32,35,36,37,38,39,40,41,42,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112],inclusive:!0}}};return zr}();Ne.lexer=Xi;function Ki(){this.yy={}}return Ki.prototype=Ne,Ne.Parser=Ki,new Ki}();T0.parser=T0;const jm=T0,MI=(t,e)=>{var r;return((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)===\\\"dagre-wrapper\\\"?!1:t.match(/^\\\\s*graph/)!==null},NI=(t,e)=>{var r;return((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)===\\\"dagre-wrapper\\\"&&t.match(/^\\\\s*graph/)!==null?!0:t.match(/^\\\\s*flowchart/)!==null},BI=\\\"flowchart-\\\";let $m=0,E0=$(),Ue={},Ds=[],Sa={},xi=[],mu={},C0={},bu=0,S0=!0,Gn,_u,xu=[];const vu=t=>he.sanitizeText(t,E0),II=function(t,e,r){ze.parseDirective(this,t,e,r)},ku=function(t){const e=Object.keys(Ue);for(const r of e)if(Ue[r].id===t)return Ue[r].domId;return t},OI=function(t,e,r,n,i,s,a={}){let o,l=t;l!==void 0&&l.trim().length!==0&&(Ue[l]===void 0&&(Ue[l]={id:l,domId:BI+l+\\\"-\\\"+$m,styles:[],classes:[]}),$m++,e!==void 0?(E0=$(),o=vu(e.trim()),o[0]==='\\\"'&&o[o.length-1]==='\\\"'&&(o=o.substring(1,o.length-1)),Ue[l].text=o):Ue[l].text===void 0&&(Ue[l].text=t),r!==void 0&&(Ue[l].type=r),n!=null&&n.forEach(function(u){Ue[l].styles.push(u)}),i!=null&&i.forEach(function(u){Ue[l].classes.push(u)}),s!==void 0&&(Ue[l].dir=s),Ue[l].props===void 0?Ue[l].props=a:a!==void 0&&Object.assign(Ue[l].props,a))},RI=function(t,e,r,n){const a={start:t,end:e,type:void 0,text:\\\"\\\"};n=r.text,n!==void 0&&(a.text=vu(n.trim()),a.text[0]==='\\\"'&&a.text[a.text.length-1]==='\\\"'&&(a.text=a.text.substring(1,a.text.length-1))),r!==void 0&&(a.type=r.type,a.stroke=r.stroke,a.length=r.length),Ds.push(a)},FI=function(t,e,r,n){let i,s;for(i=0;i\u003Ct.length;i++)for(s=0;s\u003Ce.length;s++)RI(t[i],e[s],r,n)},PI=function(t,e){t.forEach(function(r){r===\\\"default\\\"?Ds.defaultInterpolate=e:Ds[r].interpolate=e})},YI=function(t,e){t.forEach(function(r){r===\\\"default\\\"?Ds.defaultStyle=e:(ge.isSubstringInArray(\\\"fill\\\",e)===-1&&e.push(\\\"fill:none\\\"),Ds[r].style=e)})},VI=function(t,e){Sa[t]===void 0&&(Sa[t]={id:t,styles:[],textStyles:[]}),e!=null&&e.forEach(function(r){if(r.match(\\\"color\\\")){const i=r.replace(\\\"fill\\\",\\\"bgFill\\\").replace(\\\"color\\\",\\\"fill\\\");Sa[t].textStyles.push(i)}Sa[t].styles.push(r)})},UI=function(t){Gn=t,Gn.match(/.*\u003C/)&&(Gn=\\\"RL\\\"),Gn.match(/.*\\\\^/)&&(Gn=\\\"BT\\\"),Gn.match(/.*>/)&&(Gn=\\\"LR\\\"),Gn.match(/.*v/)&&(Gn=\\\"TB\\\")},A0=function(t,e){t.split(\\\",\\\").forEach(function(r){let n=r;Ue[n]!==void 0&&Ue[n].classes.push(e),mu[n]!==void 0&&mu[n].classes.push(e)})},zI=function(t,e){t.split(\\\",\\\").forEach(function(r){e!==void 0&&(C0[_u===\\\"gen-1\\\"?ku(r):r]=vu(e))})},WI=function(t,e,r){let n=ku(t);if($().securityLevel!==\\\"loose\\\"||e===void 0)return;let i=[];if(typeof r==\\\"string\\\"){i=r.split(/,(?=(?:(?:[^\\\"]*\\\"){2})*[^\\\"]*$)/);for(let s=0;s\u003Ci.length;s++){let a=i[s].trim();a.charAt(0)==='\\\"'&&a.charAt(a.length-1)==='\\\"'&&(a=a.substr(1,a.length-2)),i[s]=a}}i.length===0&&i.push(t),Ue[t]!==void 0&&(Ue[t].haveCallback=!0,xu.push(function(){const s=document.querySelector(`[id=\\\"${n}\\\"]`);s!==null&&s.addEventListener(\\\"click\\\",function(){ge.runFunc(e,...i)},!1)}))},HI=function(t,e,r){t.split(\\\",\\\").forEach(function(n){Ue[n]!==void 0&&(Ue[n].link=ge.formatUrl(e,E0),Ue[n].linkTarget=r)}),A0(t,\\\"clickable\\\")},GI=function(t){return C0[t]},qI=function(t,e,r){t.split(\\\",\\\").forEach(function(n){WI(n,e,r)}),A0(t,\\\"clickable\\\")},jI=function(t){xu.forEach(function(e){e(t)})},$I=function(){return Gn.trim()},XI=function(){return Ue},KI=function(){return Ds},ZI=function(){return Sa},Xm=function(t){let e=St(\\\".mermaidTooltip\\\");(e._groups||e)[0][0]===null&&(e=St(\\\"body\\\").append(\\\"div\\\").attr(\\\"class\\\",\\\"mermaidTooltip\\\").style(\\\"opacity\\\",0)),St(t).select(\\\"svg\\\").selectAll(\\\"g.node\\\").on(\\\"mouseover\\\",function(){const i=St(this);if(i.attr(\\\"title\\\")===null)return;const a=this.getBoundingClientRect();e.transition().duration(200).style(\\\"opacity\\\",\\\".9\\\"),e.text(i.attr(\\\"title\\\")).style(\\\"left\\\",window.scrollX+a.left+(a.right-a.left)/2+\\\"px\\\").style(\\\"top\\\",window.scrollY+a.top-14+document.body.scrollTop+\\\"px\\\"),e.html(e.html().replace(/<br\\\\/>/g,\\\"\u003Cbr/>\\\")),i.classed(\\\"hover\\\",!0)}).on(\\\"mouseout\\\",function(){e.transition().duration(500).style(\\\"opacity\\\",0),St(this).classed(\\\"hover\\\",!1)})};xu.push(Xm);const QI=function(t=\\\"gen-1\\\"){Ue={},Sa={},Ds=[],xu=[Xm],xi=[],mu={},bu=0,C0=[],S0=!0,_u=t,vn()},JI=t=>{_u=t||\\\"gen-1\\\"},tO=function(){return\\\"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;\\\"},eO=function(t,e,r){let n=t.trim(),i=r;t===r&&r.match(/\\\\s/)&&(n=void 0);function s(d){const f={boolean:{},number:{},string:{}},p=[];let g;return{nodeList:d.filter(function(k){const T=typeof k;return k.stmt&&k.stmt===\\\"dir\\\"?(g=k.value,!1):k.trim()===\\\"\\\"?!1:T in f?f[T].hasOwnProperty(k)?!1:f[T][k]=!0:p.includes(k)?!1:p.push(k)}),dir:g}}let a=[];const{nodeList:o,dir:l}=s(a.concat.apply(a,e));if(a=o,_u===\\\"gen-1\\\")for(let d=0;d\u003Ca.length;d++)a[d]=ku(a[d]);n=n||\\\"subGraph\\\"+bu,i=i||\\\"\\\",i=vu(i),bu=bu+1;const u={id:n,nodes:a,title:i.trim(),classes:[],dir:l};return B.info(\\\"Adding\\\",u.id,u.nodes,u.dir),u.nodes=Jm(u,xi).nodes,xi.push(u),mu[n]=u,n},rO=function(t){for(const[e,r]of xi.entries())if(r.id===t)return e;return-1};let zo=-1;const Km=[],Zm=function(t,e){const r=xi[e].nodes;if(zo=zo+1,zo>2e3)return;if(Km[zo]=e,xi[e].id===t)return{result:!0,count:0};let n=0,i=1;for(;n\u003Cr.length;){const s=rO(r[n]);if(s>=0){const a=Zm(t,s);if(a.result)return{result:!0,count:i+a.count};i=i+a.count}n=n+1}return{result:!1,count:i}},nO=function(t){return Km[t]},iO=function(){zo=-1,xi.length>0&&Zm(\\\"none\\\",xi.length-1)},sO=function(){return xi},aO=()=>S0?(S0=!1,!0):!1,oO=t=>{let e=t.trim(),r=\\\"arrow_open\\\";switch(e[0]){case\\\"\u003C\\\":r=\\\"arrow_point\\\",e=e.slice(1);break;case\\\"x\\\":r=\\\"arrow_cross\\\",e=e.slice(1);break;case\\\"o\\\":r=\\\"arrow_circle\\\",e=e.slice(1);break}let n=\\\"normal\\\";return e.includes(\\\"=\\\")&&(n=\\\"thick\\\"),e.includes(\\\".\\\")&&(n=\\\"dotted\\\"),{type:r,stroke:n}},lO=(t,e)=>{const r=e.length;let n=0;for(let i=0;i\u003Cr;++i)e[i]===t&&++n;return n},cO=t=>{const e=t.trim();let r=e.slice(0,-1),n=\\\"arrow_open\\\";switch(e.slice(-1)){case\\\"x\\\":n=\\\"arrow_cross\\\",e[0]===\\\"x\\\"&&(n=\\\"double_\\\"+n,r=r.slice(1));break;case\\\">\\\":n=\\\"arrow_point\\\",e[0]===\\\"\u003C\\\"&&(n=\\\"double_\\\"+n,r=r.slice(1));break;case\\\"o\\\":n=\\\"arrow_circle\\\",e[0]===\\\"o\\\"&&(n=\\\"double_\\\"+n,r=r.slice(1));break}let i=\\\"normal\\\",s=r.length-1;r[0]===\\\"=\\\"&&(i=\\\"thick\\\");let a=lO(\\\".\\\",r);return a&&(i=\\\"dotted\\\",s=a),{type:n,stroke:i,length:s}},uO=(t,e)=>{const r=cO(t);let n;if(e){if(n=oO(e),n.stroke!==r.stroke)return{type:\\\"INVALID\\\",stroke:\\\"INVALID\\\"};if(n.type===\\\"arrow_open\\\")n.type=r.type;else{if(n.type!==r.type)return{type:\\\"INVALID\\\",stroke:\\\"INVALID\\\"};n.type=\\\"double_\\\"+n.type}return n.type===\\\"double_arrow\\\"&&(n.type=\\\"double_arrow_point\\\"),n.length=r.length,n}return r},Qm=(t,e)=>{let r=!1;return t.forEach(n=>{n.nodes.indexOf(e)>=0&&(r=!0)}),r},Jm=(t,e)=>{const r=[];return t.nodes.forEach((n,i)=>{Qm(e,n)||r.push(t.nodes[i])}),{nodes:r}},vi={parseDirective:II,defaultConfig:()=>ha.flowchart,setAccTitle:nn,getAccTitle:kn,getAccDescription:Tn,setAccDescription:wn,addVertex:OI,lookUpDomId:ku,addLink:FI,updateLinkInterpolate:PI,updateLink:YI,addClass:VI,setDirection:UI,setClass:A0,setTooltip:zI,getTooltip:GI,setClickEvent:qI,setLink:HI,bindFunctions:jI,getDirection:$I,getVertices:XI,getEdges:KI,getClasses:ZI,clear:QI,setGen:JI,defaultStyle:tO,addSubGraph:eO,getDepthFirstPos:nO,indexNodes:iO,getSubGraphs:sO,destructLink:uO,lex:{firstGraph:aO},exists:Qm,makeUniq:Jm,setDiagramTitle:hi,getDiagramTitle:di};function t3(t,e){return!!t.children(e).length}function e3(t){return L0(t.v)+\\\":\\\"+L0(t.w)+\\\":\\\"+L0(t.name)}var hO=/:/g;function L0(t){return t?String(t).replace(hO,\\\"\\\\\\\\:\\\"):\\\"\\\"}function qn(t,e){e&&t.attr(\\\"style\\\",e)}function r3(t,e,r){e&&t.attr(\\\"class\\\",e).attr(\\\"class\\\",r+\\\" \\\"+t.attr(\\\"class\\\"))}function Dn(t,e){var r=e.graph();if(oy(r)){var n=r.transition;if(aa(n))return n(t)}return t}var D0={normal:fO,vee:pO,undirected:gO};function dO(t){D0=t}function fO(t,e,r,n){var i=t.append(\\\"marker\\\").attr(\\\"id\\\",e).attr(\\\"viewBox\\\",\\\"0 0 10 10\\\").attr(\\\"refX\\\",9).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"strokeWidth\\\").attr(\\\"markerWidth\\\",8).attr(\\\"markerHeight\\\",6).attr(\\\"orient\\\",\\\"auto\\\"),s=i.append(\\\"path\\\").attr(\\\"d\\\",\\\"M 0 0 L 10 5 L 0 10 z\\\").style(\\\"stroke-width\\\",1).style(\\\"stroke-dasharray\\\",\\\"1,0\\\");qn(s,r[n+\\\"Style\\\"]),r[n+\\\"Class\\\"]&&s.attr(\\\"class\\\",r[n+\\\"Class\\\"])}function pO(t,e,r,n){var i=t.append(\\\"marker\\\").attr(\\\"id\\\",e).attr(\\\"viewBox\\\",\\\"0 0 10 10\\\").attr(\\\"refX\\\",9).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"strokeWidth\\\").attr(\\\"markerWidth\\\",8).attr(\\\"markerHeight\\\",6).attr(\\\"orient\\\",\\\"auto\\\"),s=i.append(\\\"path\\\").attr(\\\"d\\\",\\\"M 0 0 L 10 5 L 0 10 L 4 5 z\\\").style(\\\"stroke-width\\\",1).style(\\\"stroke-dasharray\\\",\\\"1,0\\\");qn(s,r[n+\\\"Style\\\"]),r[n+\\\"Class\\\"]&&s.attr(\\\"class\\\",r[n+\\\"Class\\\"])}function gO(t,e,r,n){var i=t.append(\\\"marker\\\").attr(\\\"id\\\",e).attr(\\\"viewBox\\\",\\\"0 0 10 10\\\").attr(\\\"refX\\\",9).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"strokeWidth\\\").attr(\\\"markerWidth\\\",8).attr(\\\"markerHeight\\\",6).attr(\\\"orient\\\",\\\"auto\\\"),s=i.append(\\\"path\\\").attr(\\\"d\\\",\\\"M 0 5 L 10 5\\\").style(\\\"stroke-width\\\",1).style(\\\"stroke-dasharray\\\",\\\"1,0\\\");qn(s,r[n+\\\"Style\\\"]),r[n+\\\"Class\\\"]&&s.attr(\\\"class\\\",r[n+\\\"Class\\\"])}function M0(t,e){var r=t.append(\\\"foreignObject\\\").attr(\\\"width\\\",\\\"100000\\\"),n=r.append(\\\"xhtml:div\\\");n.attr(\\\"xmlns\\\",\\\"http://www.w3.org/1999/xhtml\\\");var i=e.label;switch(typeof i){case\\\"function\\\":n.insert(i);break;case\\\"object\\\":n.insert(function(){return i});break;default:n.html(i)}qn(n,e.labelStyle),n.style(\\\"display\\\",\\\"inline-block\\\"),n.style(\\\"white-space\\\",\\\"nowrap\\\");var s=n.node().getBoundingClientRect();return r.attr(\\\"width\\\",s.width).attr(\\\"height\\\",s.height),r}function yO(t,e){var r=t;return r.node().appendChild(e.label),qn(r,e.labelStyle),r}function mO(t,e){for(var r=t.append(\\\"text\\\"),n=bO(e.label).split(`\\n`),i=0;i\u003Cn.length;i++)r.append(\\\"tspan\\\").attr(\\\"xml:space\\\",\\\"preserve\\\").attr(\\\"dy\\\",\\\"1em\\\").attr(\\\"x\\\",\\\"1\\\").text(n[i]);return qn(r,e.labelStyle),r}function bO(t){for(var e=\\\"\\\",r=!1,n,i=0;i\u003Ct.length;++i)if(n=t[i],r){switch(n){case\\\"n\\\":e+=`\\n`;break;default:e+=n}r=!1}else n===\\\"\\\\\\\\\\\"?r=!0:e+=n;return e}function N0(t,e,r){var n=e.label,i=t.append(\\\"g\\\");e.labelType===\\\"svg\\\"?yO(i,e):typeof n!=\\\"string\\\"||e.labelType===\\\"html\\\"?M0(i,e):mO(i,e);var s=i.node().getBBox(),a;switch(r){case\\\"top\\\":a=-e.height/2;break;case\\\"bottom\\\":a=e.height/2-s.height;break;default:a=-s.height/2}return i.attr(\\\"transform\\\",\\\"translate(\\\"+-s.width/2+\\\",\\\"+a+\\\")\\\"),i}var B0=function(t,e){var r=e.nodes().filter(function(s){return t3(e,s)}),n=t.selectAll(\\\"g.cluster\\\").data(r,function(s){return s});Dn(n.exit(),e).style(\\\"opacity\\\",0).remove();var i=n.enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"cluster\\\").attr(\\\"id\\\",function(s){var a=e.node(s);return a.id}).style(\\\"opacity\\\",0).each(function(s){var a=e.node(s),o=St(this);St(this).append(\\\"rect\\\");var l=o.append(\\\"g\\\").attr(\\\"class\\\",\\\"label\\\");N0(l,a,a.clusterLabelPos)});return n=n.merge(i),n=Dn(n,e).style(\\\"opacity\\\",1),n.selectAll(\\\"rect\\\").each(function(s){var a=e.node(s),o=St(this);qn(o,a.style)}),n};function _O(t){B0=t}let I0=function(t,e){var r=t.selectAll(\\\"g.edgeLabel\\\").data(e.edges(),function(i){return e3(i)}).classed(\\\"update\\\",!0);r.exit().remove(),r.enter().append(\\\"g\\\").classed(\\\"edgeLabel\\\",!0).style(\\\"opacity\\\",0),r=t.selectAll(\\\"g.edgeLabel\\\"),r.each(function(i){var s=St(this);s.select(\\\".label\\\").remove();var a=e.edge(i),o=N0(s,e.edge(i),0).classed(\\\"label\\\",!0),l=o.node().getBBox();a.labelId&&o.attr(\\\"id\\\",a.labelId),me(a,\\\"width\\\")||(a.width=l.width),me(a,\\\"height\\\")||(a.height=l.height)});var n;return r.exit?n=r.exit():n=r.selectAll(null),Dn(n,e).style(\\\"opacity\\\",0).remove(),r};function xO(t){I0=t}function n3(t,e){return t.intersect(e)}var O0=function(t,e,r){var n=t.selectAll(\\\"g.edgePath\\\").data(e.edges(),function(a){return e3(a)}).classed(\\\"update\\\",!0),i=EO(n,e);CO(n,e);var s=n.merge!==void 0?n.merge(i):n;return Dn(s,e).style(\\\"opacity\\\",1),s.each(function(a){var o=St(this),l=e.edge(a);l.elem=this,l.id&&o.attr(\\\"id\\\",l.id),r3(o,l.class,(o.classed(\\\"update\\\")?\\\"update \\\":\\\"\\\")+\\\"edgePath\\\")}),s.selectAll(\\\"path.path\\\").each(function(a){var o=e.edge(a);o.arrowheadId=ou(\\\"arrowhead\\\");var l=St(this).attr(\\\"marker-end\\\",function(){return\\\"url(\\\"+kO(location.href,o.arrowheadId)+\\\")\\\"}).style(\\\"fill\\\",\\\"none\\\");Dn(l,e).attr(\\\"d\\\",function(u){return wO(e,u)}),qn(l,o.style)}),s.selectAll(\\\"defs *\\\").remove(),s.selectAll(\\\"defs\\\").each(function(a){var o=e.edge(a),l=r[o.arrowhead];l(St(this),o.arrowheadId,o,\\\"arrowhead\\\")}),s};function vO(t){O0=t}function kO(t,e){var r=t.split(\\\"#\\\")[0];return r+\\\"#\\\"+e}function wO(t,e){var r=t.edge(e),n=t.node(e.v),i=t.node(e.w),s=r.points.slice(1,r.points.length-1);return s.unshift(n3(n,s[0])),s.push(n3(i,s[s.length-1])),i3(r,s)}function i3(t,e){var r=(Js||S6.line)().x(function(n){return n.x}).y(function(n){return n.y});return(r.curve||r.interpolate)(t.curve),r(e)}function TO(t){var e=t.getBBox(),r=t.ownerSVGElement.getScreenCTM().inverse().multiply(t.getScreenCTM()).translate(e.width/2,e.height/2);return{x:r.e,y:r.f}}function EO(t,e){var r=t.enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"edgePath\\\").style(\\\"opacity\\\",0);return r.append(\\\"path\\\").attr(\\\"class\\\",\\\"path\\\").attr(\\\"d\\\",function(n){var i=e.edge(n),s=e.node(n.v).elem,a=Ss(i.points.length).map(function(){return TO(s)});return i3(i,a)}),r.append(\\\"defs\\\"),r}function CO(t,e){var r=t.exit();Dn(r,e).style(\\\"opacity\\\",0).remove()}var R0=function(t,e,r){var n=e.nodes().filter(function(a){return!t3(e,a)}),i=t.selectAll(\\\"g.node\\\").data(n,function(a){return a}).classed(\\\"update\\\",!0);i.exit().remove(),i.enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"node\\\").style(\\\"opacity\\\",0),i=t.selectAll(\\\"g.node\\\"),i.each(function(a){var o=e.node(a),l=St(this);r3(l,o.class,(l.classed(\\\"update\\\")?\\\"update \\\":\\\"\\\")+\\\"node\\\"),l.select(\\\"g.label\\\").remove();var u=l.append(\\\"g\\\").attr(\\\"class\\\",\\\"label\\\"),d=N0(u,o),f=r[o.shape],p=No(d.node().getBBox(),\\\"width\\\",\\\"height\\\");o.elem=this,o.id&&l.attr(\\\"id\\\",o.id),o.labelId&&u.attr(\\\"id\\\",o.labelId),me(o,\\\"width\\\")&&(p.width=o.width),me(o,\\\"height\\\")&&(p.height=o.height),p.width+=o.paddingLeft+o.paddingRight,p.height+=o.paddingTop+o.paddingBottom,u.attr(\\\"transform\\\",\\\"translate(\\\"+(o.paddingLeft-o.paddingRight)/2+\\\",\\\"+(o.paddingTop-o.paddingBottom)/2+\\\")\\\");var g=St(this);g.select(\\\".label-container\\\").remove();var b=f(g,p,o).classed(\\\"label-container\\\",!0);qn(b,o.style);var k=b.node().getBBox();o.width=k.width,o.height=k.height});var s;return i.exit?s=i.exit():s=i.selectAll(null),Dn(s,e).style(\\\"opacity\\\",0).remove(),i};function SO(t){R0=t}function AO(t,e){var r=t.filter(function(){return!St(this).classed(\\\"update\\\")});function n(i){var s=e.node(i);return\\\"translate(\\\"+s.x+\\\",\\\"+s.y+\\\")\\\"}r.attr(\\\"transform\\\",n),Dn(t,e).style(\\\"opacity\\\",1).attr(\\\"transform\\\",n),Dn(r.selectAll(\\\"rect\\\"),e).attr(\\\"width\\\",function(i){return e.node(i).width}).attr(\\\"height\\\",function(i){return e.node(i).height}).attr(\\\"x\\\",function(i){var s=e.node(i);return-s.width/2}).attr(\\\"y\\\",function(i){var s=e.node(i);return-s.height/2})}function LO(t,e){var r=t.filter(function(){return!St(this).classed(\\\"update\\\")});function n(i){var s=e.edge(i);return me(s,\\\"x\\\")?\\\"translate(\\\"+s.x+\\\",\\\"+s.y+\\\")\\\":\\\"\\\"}r.attr(\\\"transform\\\",n),Dn(t,e).style(\\\"opacity\\\",1).attr(\\\"transform\\\",n)}function DO(t,e){var r=t.filter(function(){return!St(this).classed(\\\"update\\\")});function n(i){var s=e.node(i);return\\\"translate(\\\"+s.x+\\\",\\\"+s.y+\\\")\\\"}r.attr(\\\"transform\\\",n),Dn(t,e).style(\\\"opacity\\\",1).attr(\\\"transform\\\",n)}function s3(t,e,r,n){var i=t.x,s=t.y,a=i-n.x,o=s-n.y,l=Math.sqrt(e*e*o*o+r*r*a*a),u=Math.abs(e*r*a/l);n.x\u003Ci&&(u=-u);var d=Math.abs(e*r*o/l);return n.y\u003Cs&&(d=-d),{x:i+u,y:s+d}}function MO(t,e,r){return s3(t,e,e,r)}function NO(t,e,r,n){var i,s,a,o,l,u,d,f,p,g,b,k,T,L,E;if(i=e.y-t.y,a=t.x-e.x,l=e.x*t.y-t.x*e.y,p=i*r.x+a*r.y+l,g=i*n.x+a*n.y+l,!(p!==0&&g!==0&&a3(p,g))&&(s=n.y-r.y,o=r.x-n.x,u=n.x*r.y-r.x*n.y,d=s*t.x+o*t.y+u,f=s*e.x+o*e.y+u,!(d!==0&&f!==0&&a3(d,f))&&(b=i*o-s*a,b!==0)))return k=Math.abs(b/2),T=a*u-o*l,L=T\u003C0?(T-k)/b:(T+k)/b,T=s*l-i*u,E=T\u003C0?(T-k)/b:(T+k)/b,{x:L,y:E}}function a3(t,e){return t*e>0}function jn(t,e,r){var n=t.x,i=t.y,s=[],a=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY;e.forEach(function(b){a=Math.min(a,b.x),o=Math.min(o,b.y)});for(var l=n-t.width/2-a,u=i-t.height/2-o,d=0;d\u003Ce.length;d++){var f=e[d],p=e[d\u003Ce.length-1?d+1:0],g=NO(t,r,{x:l+f.x,y:u+f.y},{x:l+p.x,y:u+p.y});g&&s.push(g)}return s.length?(s.length>1&&s.sort(function(b,k){var T=b.x-r.x,L=b.y-r.y,E=Math.sqrt(T*T+L*L),I=k.x-r.x,V=k.y-r.y,H=Math.sqrt(I*I+V*V);return E\u003CH?-1:E===H?0:1}),s[0]):(console.log(\\\"NO INTERSECTION FOUND, RETURN NODE CENTER\\\",t),t)}function F0(t,e){var r=t.x,n=t.y,i=e.x-r,s=e.y-n,a=t.width/2,o=t.height/2,l,u;return Math.abs(s)*a>Math.abs(i)*o?(s\u003C0&&(o=-o),l=s===0?0:o*i/s,u=o):(i\u003C0&&(a=-a),l=a,u=i===0?0:a*s/i),{x:r+l,y:n+u}}var P0={rect:IO,ellipse:OO,circle:RO,diamond:FO};function BO(t){P0=t}function IO(t,e,r){var n=t.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"rx\\\",r.rx).attr(\\\"ry\\\",r.ry).attr(\\\"x\\\",-e.width/2).attr(\\\"y\\\",-e.height/2).attr(\\\"width\\\",e.width).attr(\\\"height\\\",e.height);return r.intersect=function(i){return F0(r,i)},n}function OO(t,e,r){var n=e.width/2,i=e.height/2,s=t.insert(\\\"ellipse\\\",\\\":first-child\\\").attr(\\\"x\\\",-e.width/2).attr(\\\"y\\\",-e.height/2).attr(\\\"rx\\\",n).attr(\\\"ry\\\",i);return r.intersect=function(a){return s3(r,n,i,a)},s}function RO(t,e,r){var n=Math.max(e.width,e.height)/2,i=t.insert(\\\"circle\\\",\\\":first-child\\\").attr(\\\"x\\\",-e.width/2).attr(\\\"y\\\",-e.height/2).attr(\\\"r\\\",n);return r.intersect=function(s){return MO(r,n,s)},i}function FO(t,e,r){var n=e.width*Math.SQRT2/2,i=e.height*Math.SQRT2/2,s=[{x:0,y:-i},{x:-n,y:0},{x:0,y:i},{x:n,y:0}],a=t.insert(\\\"polygon\\\",\\\":first-child\\\").attr(\\\"points\\\",s.map(function(o){return o.x+\\\",\\\"+o.y}).join(\\\" \\\"));return r.intersect=function(o){return jn(r,s,o)},a}function PO(){var t=function(e,r){UO(r);var n=Wo(e,\\\"output\\\"),i=Wo(n,\\\"clusters\\\"),s=Wo(n,\\\"edgePaths\\\"),a=I0(Wo(n,\\\"edgeLabels\\\"),r),o=R0(Wo(n,\\\"nodes\\\"),r,P0);Ea(r),DO(o,r),LO(a,r),O0(s,r,D0);var l=B0(i,r);AO(l,r),zO(r)};return t.createNodes=function(e){return arguments.length?(SO(e),t):R0},t.createClusters=function(e){return arguments.length?(_O(e),t):B0},t.createEdgeLabels=function(e){return arguments.length?(xO(e),t):I0},t.createEdgePaths=function(e){return arguments.length?(vO(e),t):O0},t.shapes=function(e){return arguments.length?(BO(e),t):P0},t.arrows=function(e){return arguments.length?(dO(e),t):D0},t}var YO={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:\\\"rect\\\"},VO={arrowhead:\\\"normal\\\",curve:Hr};function UO(t){t.nodes().forEach(function(e){var r=t.node(e);!me(r,\\\"label\\\")&&!t.children(e).length&&(r.label=e),me(r,\\\"paddingX\\\")&&ka(r,{paddingLeft:r.paddingX,paddingRight:r.paddingX}),me(r,\\\"paddingY\\\")&&ka(r,{paddingTop:r.paddingY,paddingBottom:r.paddingY}),me(r,\\\"padding\\\")&&ka(r,{paddingLeft:r.padding,paddingRight:r.padding,paddingTop:r.padding,paddingBottom:r.padding}),ka(r,YO),vt([\\\"paddingLeft\\\",\\\"paddingRight\\\",\\\"paddingTop\\\",\\\"paddingBottom\\\"],function(n){r[n]=Number(r[n])}),me(r,\\\"width\\\")&&(r._prevWidth=r.width),me(r,\\\"height\\\")&&(r._prevHeight=r.height)}),t.edges().forEach(function(e){var r=t.edge(e);me(r,\\\"label\\\")||(r.label=\\\"\\\"),ka(r,VO)})}function zO(t){vt(t.nodes(),function(e){var r=t.node(e);me(r,\\\"_prevWidth\\\")?r.width=r._prevWidth:delete r.width,me(r,\\\"_prevHeight\\\")?r.height=r._prevHeight:delete r.height,delete r._prevWidth,delete r._prevHeight})}function Wo(t,e){var r=t.select(\\\"g.\\\"+e);return r.empty()&&(r=t.append(\\\"g\\\").attr(\\\"class\\\",e)),r}function o3(t,e,r){const n=e.width,i=e.height,s=(n+i)*.9,a=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}],o=ki(t,s,s,a);return r.intersect=function(l){return jn(r,a,l)},o}function l3(t,e,r){const i=e.height,s=i/4,a=e.width+2*s,o=[{x:s,y:0},{x:a-s,y:0},{x:a,y:-i/2},{x:a-s,y:-i},{x:s,y:-i},{x:0,y:-i/2}],l=ki(t,a,i,o);return r.intersect=function(u){return jn(r,o,u)},l}function c3(t,e,r){const n=e.width,i=e.height,s=[{x:-i/2,y:0},{x:n,y:0},{x:n,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}],a=ki(t,n,i,s);return r.intersect=function(o){return jn(r,s,o)},a}function u3(t,e,r){const n=e.width,i=e.height,s=[{x:-2*i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:i/6,y:-i}],a=ki(t,n,i,s);return r.intersect=function(o){return jn(r,s,o)},a}function h3(t,e,r){const n=e.width,i=e.height,s=[{x:2*i/6,y:0},{x:n+i/6,y:0},{x:n-2*i/6,y:-i},{x:-i/6,y:-i}],a=ki(t,n,i,s);return r.intersect=function(o){return jn(r,s,o)},a}function d3(t,e,r){const n=e.width,i=e.height,s=[{x:-2*i/6,y:0},{x:n+2*i/6,y:0},{x:n-i/6,y:-i},{x:i/6,y:-i}],a=ki(t,n,i,s);return r.intersect=function(o){return jn(r,s,o)},a}function f3(t,e,r){const n=e.width,i=e.height,s=[{x:i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:-2*i/6,y:-i}],a=ki(t,n,i,s);return r.intersect=function(o){return jn(r,s,o)},a}function p3(t,e,r){const n=e.width,i=e.height,s=[{x:0,y:0},{x:n+i/2,y:0},{x:n,y:-i/2},{x:n+i/2,y:-i},{x:0,y:-i}],a=ki(t,n,i,s);return r.intersect=function(o){return jn(r,s,o)},a}function g3(t,e,r){const n=e.height,i=e.width+n/4,s=t.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"rx\\\",n/2).attr(\\\"ry\\\",n/2).attr(\\\"x\\\",-i/2).attr(\\\"y\\\",-n/2).attr(\\\"width\\\",i).attr(\\\"height\\\",n);return r.intersect=function(a){return F0(r,a)},s}function y3(t,e,r){const n=e.width,i=e.height,s=[{x:0,y:0},{x:n,y:0},{x:n,y:-i},{x:0,y:-i},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-i},{x:-8,y:-i},{x:-8,y:0}],a=ki(t,n,i,s);return r.intersect=function(o){return jn(r,s,o)},a}function m3(t,e,r){const n=e.width,i=n/2,s=i/(2.5+n/50),a=e.height+s,o=\\\"M 0,\\\"+s+\\\" a \\\"+i+\\\",\\\"+s+\\\" 0,0,0 \\\"+n+\\\" 0 a \\\"+i+\\\",\\\"+s+\\\" 0,0,0 \\\"+-n+\\\" 0 l 0,\\\"+a+\\\" a \\\"+i+\\\",\\\"+s+\\\" 0,0,0 \\\"+n+\\\" 0 l 0,\\\"+-a,l=t.attr(\\\"label-offset-y\\\",s).insert(\\\"path\\\",\\\":first-child\\\").attr(\\\"d\\\",o).attr(\\\"transform\\\",\\\"translate(\\\"+-n/2+\\\",\\\"+-(a/2+s)+\\\")\\\");return r.intersect=function(u){const d=F0(r,u),f=d.x-r.x;if(i!=0&&(Math.abs(f)\u003Cr.width/2||Math.abs(f)==r.width/2&&Math.abs(d.y-r.y)>r.height/2-s)){let p=s*s*(1-f*f/(i*i));p!=0&&(p=Math.sqrt(p)),p=s-p,u.y-r.y>0&&(p=-p),d.y+=p}return d},l}function WO(t){t.shapes().question=o3,t.shapes().hexagon=l3,t.shapes().stadium=g3,t.shapes().subroutine=y3,t.shapes().cylinder=m3,t.shapes().rect_left_inv_arrow=c3,t.shapes().lean_right=u3,t.shapes().lean_left=h3,t.shapes().trapezoid=d3,t.shapes().inv_trapezoid=f3,t.shapes().rect_right_inv_arrow=p3}function HO(t){t({question:o3}),t({hexagon:l3}),t({stadium:g3}),t({subroutine:y3}),t({cylinder:m3}),t({rect_left_inv_arrow:c3}),t({lean_right:u3}),t({lean_left:h3}),t({trapezoid:d3}),t({inv_trapezoid:f3}),t({rect_right_inv_arrow:p3})}function ki(t,e,r,n){return t.insert(\\\"polygon\\\",\\\":first-child\\\").attr(\\\"points\\\",n.map(function(i){return i.x+\\\",\\\"+i.y}).join(\\\" \\\")).attr(\\\"transform\\\",\\\"translate(\\\"+-e/2+\\\",\\\"+r/2+\\\")\\\")}const GO={addToRender:WO,addToRenderV2:HO},b3={},qO=function(t){const e=Object.keys(t);for(const r of e)b3[r]=t[r]},_3=function(t,e,r,n,i,s){const a=n?n.select(`[id=\\\"${r}\\\"]`):St(`[id=\\\"${r}\\\"]`),o=i||document;Object.keys(t).forEach(function(u){const d=t[u];let f=\\\"default\\\";d.classes.length>0&&(f=d.classes.join(\\\" \\\"));const p=Vi(d.styles);let g=d.text!==void 0?d.text:d.id,b;if(pr($().flowchart.htmlLabels)){const L={label:g.replace(/fa[blrs]?:fa-[\\\\w-]+/g,E=>`\u003Ci class='${E.replace(\\\":\\\",\\\" \\\")}'>\u003C/i>`)};b=M0(a,L).node(),b.parentNode.removeChild(b)}else{const L=o.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"text\\\");L.setAttribute(\\\"style\\\",p.labelStyle.replace(\\\"color:\\\",\\\"fill:\\\"));const E=g.split(he.lineBreakRegex);for(const I of E){const V=o.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"tspan\\\");V.setAttributeNS(\\\"http://www.w3.org/XML/1998/namespace\\\",\\\"xml:space\\\",\\\"preserve\\\"),V.setAttribute(\\\"dy\\\",\\\"1em\\\"),V.setAttribute(\\\"x\\\",\\\"1\\\"),V.textContent=I,L.appendChild(V)}b=L}let k=0,T=\\\"\\\";switch(d.type){case\\\"round\\\":k=5,T=\\\"rect\\\";break;case\\\"square\\\":T=\\\"rect\\\";break;case\\\"diamond\\\":T=\\\"question\\\";break;case\\\"hexagon\\\":T=\\\"hexagon\\\";break;case\\\"odd\\\":T=\\\"rect_left_inv_arrow\\\";break;case\\\"lean_right\\\":T=\\\"lean_right\\\";break;case\\\"lean_left\\\":T=\\\"lean_left\\\";break;case\\\"trapezoid\\\":T=\\\"trapezoid\\\";break;case\\\"inv_trapezoid\\\":T=\\\"inv_trapezoid\\\";break;case\\\"odd_right\\\":T=\\\"rect_left_inv_arrow\\\";break;case\\\"circle\\\":T=\\\"circle\\\";break;case\\\"ellipse\\\":T=\\\"ellipse\\\";break;case\\\"stadium\\\":T=\\\"stadium\\\";break;case\\\"subroutine\\\":T=\\\"subroutine\\\";break;case\\\"cylinder\\\":T=\\\"cylinder\\\";break;case\\\"group\\\":T=\\\"rect\\\";break;default:T=\\\"rect\\\"}B.warn(\\\"Adding node\\\",d.id,d.domId),e.setNode(s.db.lookUpDomId(d.id),{labelType:\\\"svg\\\",labelStyle:p.labelStyle,shape:T,label:b,rx:k,ry:k,class:f,style:p.style,id:s.db.lookUpDomId(d.id)})})},x3=function(t,e,r){let n=0,i,s;if(t.defaultStyle!==void 0){const a=Vi(t.defaultStyle);i=a.style,s=a.labelStyle}t.forEach(function(a){n++;var o=\\\"L-\\\"+a.start+\\\"-\\\"+a.end,l=\\\"LS-\\\"+a.start,u=\\\"LE-\\\"+a.end;const d={};a.type===\\\"arrow_open\\\"?d.arrowhead=\\\"none\\\":d.arrowhead=\\\"normal\\\";let f=\\\"\\\",p=\\\"\\\";if(a.style!==void 0){const g=Vi(a.style);f=g.style,p=g.labelStyle}else switch(a.stroke){case\\\"normal\\\":f=\\\"fill:none\\\",i!==void 0&&(f=i),s!==void 0&&(p=s);break;case\\\"dotted\\\":f=\\\"fill:none;stroke-width:2px;stroke-dasharray:3;\\\";break;case\\\"thick\\\":f=\\\" stroke-width: 3.5px;fill:none\\\";break}d.style=f,d.labelStyle=p,a.interpolate!==void 0?d.curve=bn(a.interpolate,Hr):t.defaultInterpolate!==void 0?d.curve=bn(t.defaultInterpolate,Hr):d.curve=bn(b3.curve,Hr),a.text===void 0?a.style!==void 0&&(d.arrowheadStyle=\\\"fill: #333\\\"):(d.arrowheadStyle=\\\"fill: #333\\\",d.labelpos=\\\"c\\\",pr($().flowchart.htmlLabels)?(d.labelType=\\\"html\\\",d.label=`\u003Cspan id=\\\"L-${o}\\\" class=\\\"edgeLabel L-${l}' L-${u}\\\" style=\\\"${d.labelStyle}\\\">${a.text.replace(/fa[blrs]?:fa-[\\\\w-]+/g,g=>`\u003Ci class='${g.replace(\\\":\\\",\\\" \\\")}'>\u003C/i>`)}\u003C/span>`):(d.labelType=\\\"text\\\",d.label=a.text.replace(he.lineBreakRegex,`\\n`),a.style===void 0&&(d.style=d.style||\\\"stroke: #333; stroke-width: 1.5px;fill:none\\\"),d.labelStyle=d.labelStyle.replace(\\\"color:\\\",\\\"fill:\\\"))),d.id=o,d.class=l+\\\" \\\"+u,d.minlen=a.length||1,e.setEdge(r.db.lookUpDomId(a.start),r.db.lookUpDomId(a.end),d,n)})},jO={setConf:qO,addVertices:_3,addEdges:x3,getClasses:function(t,e){B.info(\\\"Extracting classes\\\"),e.db.clear();try{return e.parse(t),e.db.getClasses()}catch(r){return B.error(r),{}}},draw:function(t,e,r,n){B.info(\\\"Drawing flowchart\\\"),n.db.clear();const{securityLevel:i,flowchart:s}=$();let a;i===\\\"sandbox\\\"&&(a=St(\\\"#i\\\"+e));const o=St(i===\\\"sandbox\\\"?a.nodes()[0].contentDocument.body:\\\"body\\\"),l=i===\\\"sandbox\\\"?a.nodes()[0].contentDocument:document;try{n.parser.parse(t)}catch{B.debug(\\\"Parsing failed\\\")}let u=n.db.getDirection();u===void 0&&(u=\\\"TD\\\");const d=s.nodeSpacing||50,f=s.rankSpacing||50,p=new sr({multigraph:!0,compound:!0}).setGraph({rankdir:u,nodesep:d,ranksep:f,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let g;const b=n.db.getSubGraphs();for(let G=b.length-1;G>=0;G--)g=b[G],n.db.addVertex(g.id,g.title,\\\"group\\\",void 0,g.classes);const k=n.db.getVertices();B.warn(\\\"Get vertices\\\",k);const T=n.db.getEdges();let L=0;for(L=b.length-1;L>=0;L--){g=b[L],hh(\\\"cluster\\\").append(\\\"text\\\");for(let G=0;G\u003Cg.nodes.length;G++)B.warn(\\\"Setting subgraph\\\",g.nodes[G],n.db.lookUpDomId(g.nodes[G]),n.db.lookUpDomId(g.id)),p.setParent(n.db.lookUpDomId(g.nodes[G]),n.db.lookUpDomId(g.id))}_3(k,p,e,o,l,n),x3(T,p,n);const E=new PO;GO.addToRender(E),E.arrows().none=function(Y,W,N,D){const v=Y.append(\\\"marker\\\").attr(\\\"id\\\",W).attr(\\\"viewBox\\\",\\\"0 0 10 10\\\").attr(\\\"refX\\\",9).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"strokeWidth\\\").attr(\\\"markerWidth\\\",8).attr(\\\"markerHeight\\\",6).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 0 0 L 0 0 L 0 0 z\\\");qn(v,N[D+\\\"Style\\\"])},E.arrows().normal=function(Y,W){Y.append(\\\"marker\\\").attr(\\\"id\\\",W).attr(\\\"viewBox\\\",\\\"0 0 10 10\\\").attr(\\\"refX\\\",9).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"strokeWidth\\\").attr(\\\"markerWidth\\\",8).attr(\\\"markerHeight\\\",6).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 0 0 L 10 5 L 0 10 z\\\").attr(\\\"class\\\",\\\"arrowheadPath\\\").style(\\\"stroke-width\\\",1).style(\\\"stroke-dasharray\\\",\\\"1,0\\\")};const I=o.select(`[id=\\\"${e}\\\"]`),V=o.select(\\\"#\\\"+e+\\\" g\\\");for(E(V,p),V.selectAll(\\\"g.node\\\").attr(\\\"title\\\",function(){return n.db.getTooltip(this.id)}),n.db.indexNodes(\\\"subGraph\\\"+L),L=0;L\u003Cb.length;L++)if(g=b[L],g.title!==\\\"undefined\\\"){const G=l.querySelectorAll(\\\"#\\\"+e+' [id=\\\"'+n.db.lookUpDomId(g.id)+'\\\"] rect'),Y=l.querySelectorAll(\\\"#\\\"+e+' [id=\\\"'+n.db.lookUpDomId(g.id)+'\\\"]'),W=G[0].x.baseVal.value,N=G[0].y.baseVal.value,D=G[0].width.baseVal.value,v=St(Y[0]).select(\\\".label\\\");v.attr(\\\"transform\\\",`translate(${W+D/2}, ${N+14})`),v.attr(\\\"id\\\",e+\\\"Text\\\");for(let M=0;M\u003Cg.classes.length;M++)Y[0].classList.add(g.classes[M])}if(!s.htmlLabels){const G=l.querySelectorAll('[id=\\\"'+e+'\\\"] .edgeLabel .label');for(const Y of G){const W=Y.getBBox(),N=l.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"rect\\\");N.setAttribute(\\\"rx\\\",0),N.setAttribute(\\\"ry\\\",0),N.setAttribute(\\\"width\\\",W.width),N.setAttribute(\\\"height\\\",W.height),Y.insertBefore(N,Y.firstChild)}}Sc(p,I,s.diagramPadding,s.useMaxWidth),Object.keys(k).forEach(function(G){const Y=k[G];if(Y.link){const W=o.select(\\\"#\\\"+e+' [id=\\\"'+n.db.lookUpDomId(G)+'\\\"]');if(W){const N=l.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"a\\\");N.setAttributeNS(\\\"http://www.w3.org/2000/svg\\\",\\\"class\\\",Y.classes.join(\\\" \\\")),N.setAttributeNS(\\\"http://www.w3.org/2000/svg\\\",\\\"href\\\",Y.link),N.setAttributeNS(\\\"http://www.w3.org/2000/svg\\\",\\\"rel\\\",\\\"noopener\\\"),i===\\\"sandbox\\\"?N.setAttributeNS(\\\"http://www.w3.org/2000/svg\\\",\\\"target\\\",\\\"_top\\\"):Y.linkTarget&&N.setAttributeNS(\\\"http://www.w3.org/2000/svg\\\",\\\"target\\\",Y.linkTarget);const D=W.insert(function(){return N},\\\":first-child\\\"),w=W.select(\\\".label-container\\\");w&&D.append(function(){return w.node()});const v=W.select(\\\".label\\\");v&&D.append(function(){return v.node()})}}})}},v3={},$O=function(t){const e=Object.keys(t);for(const r of e)v3[r]=t[r]},k3=function(t,e,r,n,i,s){const a=n.select(`[id=\\\"${r}\\\"]`);Object.keys(t).forEach(function(l){const u=t[l];let d=\\\"default\\\";u.classes.length>0&&(d=u.classes.join(\\\" \\\"));const f=Vi(u.styles);let p=u.text!==void 0?u.text:u.id,g;if(pr($().flowchart.htmlLabels)){const T={label:p.replace(/fa[blrs]?:fa-[\\\\w-]+/g,L=>`\u003Ci class='${L.replace(\\\":\\\",\\\" \\\")}'>\u003C/i>`)};g=M0(a,T).node(),g.parentNode.removeChild(g)}else{const T=i.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"text\\\");T.setAttribute(\\\"style\\\",f.labelStyle.replace(\\\"color:\\\",\\\"fill:\\\"));const L=p.split(he.lineBreakRegex);for(const E of L){const I=i.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"tspan\\\");I.setAttributeNS(\\\"http://www.w3.org/XML/1998/namespace\\\",\\\"xml:space\\\",\\\"preserve\\\"),I.setAttribute(\\\"dy\\\",\\\"1em\\\"),I.setAttribute(\\\"x\\\",\\\"1\\\"),I.textContent=E,T.appendChild(I)}g=T}let b=0,k=\\\"\\\";switch(u.type){case\\\"round\\\":b=5,k=\\\"rect\\\";break;case\\\"square\\\":k=\\\"rect\\\";break;case\\\"diamond\\\":k=\\\"question\\\";break;case\\\"hexagon\\\":k=\\\"hexagon\\\";break;case\\\"odd\\\":k=\\\"rect_left_inv_arrow\\\";break;case\\\"lean_right\\\":k=\\\"lean_right\\\";break;case\\\"lean_left\\\":k=\\\"lean_left\\\";break;case\\\"trapezoid\\\":k=\\\"trapezoid\\\";break;case\\\"inv_trapezoid\\\":k=\\\"inv_trapezoid\\\";break;case\\\"odd_right\\\":k=\\\"rect_left_inv_arrow\\\";break;case\\\"circle\\\":k=\\\"circle\\\";break;case\\\"ellipse\\\":k=\\\"ellipse\\\";break;case\\\"stadium\\\":k=\\\"stadium\\\";break;case\\\"subroutine\\\":k=\\\"subroutine\\\";break;case\\\"cylinder\\\":k=\\\"cylinder\\\";break;case\\\"group\\\":k=\\\"rect\\\";break;case\\\"doublecircle\\\":k=\\\"doublecircle\\\";break;default:k=\\\"rect\\\"}e.setNode(u.id,{labelStyle:f.labelStyle,shape:k,labelText:p,rx:b,ry:b,class:d,style:f.style,id:u.id,link:u.link,linkTarget:u.linkTarget,tooltip:s.db.getTooltip(u.id)||\\\"\\\",domId:s.db.lookUpDomId(u.id),haveCallback:u.haveCallback,width:u.type===\\\"group\\\"?500:void 0,dir:u.dir,type:u.type,props:u.props,padding:$().flowchart.padding}),B.info(\\\"setNode\\\",{labelStyle:f.labelStyle,shape:k,labelText:p,rx:b,ry:b,class:d,style:f.style,id:u.id,domId:s.db.lookUpDomId(u.id),width:u.type===\\\"group\\\"?500:void 0,type:u.type,dir:u.dir,props:u.props,padding:$().flowchart.padding})})},w3=function(t,e,r){B.info(\\\"abc78 edges = \\\",t);let n=0,i={},s,a;if(t.defaultStyle!==void 0){const o=Vi(t.defaultStyle);s=o.style,a=o.labelStyle}t.forEach(function(o){n++;var l=\\\"L-\\\"+o.start+\\\"-\\\"+o.end;i[l]===void 0?(i[l]=0,B.info(\\\"abc78 new entry\\\",l,i[l])):(i[l]++,B.info(\\\"abc78 new entry\\\",l,i[l]));let u=l+\\\"-\\\"+i[l];B.info(\\\"abc78 new link id to be used is\\\",l,u,i[l]);var d=\\\"LS-\\\"+o.start,f=\\\"LE-\\\"+o.end;const p={style:\\\"\\\",labelStyle:\\\"\\\"};switch(p.minlen=o.length||1,o.type===\\\"arrow_open\\\"?p.arrowhead=\\\"none\\\":p.arrowhead=\\\"normal\\\",p.arrowTypeStart=\\\"arrow_open\\\",p.arrowTypeEnd=\\\"arrow_open\\\",o.type){case\\\"double_arrow_cross\\\":p.arrowTypeStart=\\\"arrow_cross\\\";case\\\"arrow_cross\\\":p.arrowTypeEnd=\\\"arrow_cross\\\";break;case\\\"double_arrow_point\\\":p.arrowTypeStart=\\\"arrow_point\\\";case\\\"arrow_point\\\":p.arrowTypeEnd=\\\"arrow_point\\\";break;case\\\"double_arrow_circle\\\":p.arrowTypeStart=\\\"arrow_circle\\\";case\\\"arrow_circle\\\":p.arrowTypeEnd=\\\"arrow_circle\\\";break}let g=\\\"\\\",b=\\\"\\\";switch(o.stroke){case\\\"normal\\\":g=\\\"fill:none;\\\",s!==void 0&&(g=s),a!==void 0&&(b=a),p.thickness=\\\"normal\\\",p.pattern=\\\"solid\\\";break;case\\\"dotted\\\":p.thickness=\\\"normal\\\",p.pattern=\\\"dotted\\\",p.style=\\\"fill:none;stroke-width:2px;stroke-dasharray:3;\\\";break;case\\\"thick\\\":p.thickness=\\\"thick\\\",p.pattern=\\\"solid\\\",p.style=\\\"stroke-width: 3.5px;fill:none;\\\";break}if(o.style!==void 0){const k=Vi(o.style);g=k.style,b=k.labelStyle}p.style=p.style+=g,p.labelStyle=p.labelStyle+=b,o.interpolate!==void 0?p.curve=bn(o.interpolate,Hr):t.defaultInterpolate!==void 0?p.curve=bn(t.defaultInterpolate,Hr):p.curve=bn(v3.curve,Hr),o.text===void 0?o.style!==void 0&&(p.arrowheadStyle=\\\"fill: #333\\\"):(p.arrowheadStyle=\\\"fill: #333\\\",p.labelpos=\\\"c\\\"),p.labelType=\\\"text\\\",p.label=o.text.replace(he.lineBreakRegex,`\\n`),o.style===void 0&&(p.style=p.style||\\\"stroke: #333; stroke-width: 1.5px;fill:none;\\\"),p.labelStyle=p.labelStyle.replace(\\\"color:\\\",\\\"fill:\\\"),p.id=u,p.classes=\\\"flowchart-link \\\"+d+\\\" \\\"+f,e.setEdge(o.start,o.end,p,n)})},Y0={setConf:$O,addVertices:k3,addEdges:w3,getClasses:function(t,e){B.info(\\\"Extracting classes\\\"),e.db.clear();try{return e.parse(t),e.db.getClasses()}catch{return}},draw:function(t,e,r,n){B.info(\\\"Drawing flowchart\\\"),n.db.clear(),vi.setGen(\\\"gen-2\\\"),n.parser.parse(t);let i=n.db.getDirection();i===void 0&&(i=\\\"TD\\\");const{securityLevel:s,flowchart:a}=$(),o=a.nodeSpacing||50,l=a.rankSpacing||50;let u;s===\\\"sandbox\\\"&&(u=St(\\\"#i\\\"+e));const d=St(s===\\\"sandbox\\\"?u.nodes()[0].contentDocument.body:\\\"body\\\"),f=s===\\\"sandbox\\\"?u.nodes()[0].contentDocument:document,p=new sr({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:o,ranksep:l,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let g;const b=n.db.getSubGraphs();B.info(\\\"Subgraphs - \\\",b);for(let H=b.length-1;H>=0;H--)g=b[H],B.info(\\\"Subgraph - \\\",g),n.db.addVertex(g.id,g.title,\\\"group\\\",void 0,g.classes,g.dir);const k=n.db.getVertices(),T=n.db.getEdges();B.info(T);let L=0;for(L=b.length-1;L>=0;L--){g=b[L],hh(\\\"cluster\\\").append(\\\"text\\\");for(let H=0;H\u003Cg.nodes.length;H++)B.info(\\\"Setting up subgraphs\\\",g.nodes[H],g.id),p.setParent(g.nodes[H],g.id)}k3(k,p,e,d,f,n),w3(T,p);const E=d.select(`[id=\\\"${e}\\\"]`),I=d.select(\\\"#\\\"+e+\\\" g\\\");if(v0(I,p,[\\\"point\\\",\\\"circle\\\",\\\"cross\\\"],\\\"flowchart\\\",e),ge.insertTitle(E,\\\"flowchartTitleText\\\",a.titleTopMargin,n.db.getDiagramTitle()),Sc(p,E,a.diagramPadding,a.useMaxWidth),n.db.indexNodes(\\\"subGraph\\\"+L),!a.htmlLabels){const H=f.querySelectorAll('[id=\\\"'+e+'\\\"] .edgeLabel .label');for(const G of H){const Y=G.getBBox(),W=f.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"rect\\\");W.setAttribute(\\\"rx\\\",0),W.setAttribute(\\\"ry\\\",0),W.setAttribute(\\\"width\\\",Y.width),W.setAttribute(\\\"height\\\",Y.height),G.insertBefore(W,G.firstChild)}}Object.keys(k).forEach(function(H){const G=k[H];if(G.link){const Y=St(\\\"#\\\"+e+' [id=\\\"'+H+'\\\"]');if(Y){const W=f.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"a\\\");W.setAttributeNS(\\\"http://www.w3.org/2000/svg\\\",\\\"class\\\",G.classes.join(\\\" \\\")),W.setAttributeNS(\\\"http://www.w3.org/2000/svg\\\",\\\"href\\\",G.link),W.setAttributeNS(\\\"http://www.w3.org/2000/svg\\\",\\\"rel\\\",\\\"noopener\\\"),s===\\\"sandbox\\\"?W.setAttributeNS(\\\"http://www.w3.org/2000/svg\\\",\\\"target\\\",\\\"_top\\\"):G.linkTarget&&W.setAttributeNS(\\\"http://www.w3.org/2000/svg\\\",\\\"target\\\",G.linkTarget);const N=Y.insert(function(){return W},\\\":first-child\\\"),D=Y.select(\\\".label-container\\\");D&&N.append(function(){return D.node()});const w=Y.select(\\\".label\\\");w&&N.append(function(){return w.node()})}}})}};var V0=function(){var t=function(W,N,D,w){for(D=D||{},w=W.length;w--;D[W[w]]=N);return D},e=[1,3],r=[1,5],n=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],i=[1,15],s=[1,16],a=[1,17],o=[1,18],l=[1,19],u=[1,20],d=[1,21],f=[1,22],p=[1,23],g=[1,24],b=[1,25],k=[1,26],T=[1,27],L=[1,29],E=[1,31],I=[1,34],V=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],H={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,\\\":\\\":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:\\\"error\\\",5:\\\"gantt\\\",7:\\\"EOF\\\",9:\\\"SPACE\\\",11:\\\"NL\\\",12:\\\"dateFormat\\\",13:\\\"inclusiveEndDates\\\",14:\\\"topAxis\\\",15:\\\"axisFormat\\\",16:\\\"tickInterval\\\",17:\\\"excludes\\\",18:\\\"includes\\\",19:\\\"todayMarker\\\",20:\\\"title\\\",21:\\\"acc_title\\\",22:\\\"acc_title_value\\\",23:\\\"acc_descr\\\",24:\\\"acc_descr_value\\\",25:\\\"acc_descr_multiline_value\\\",26:\\\"section\\\",28:\\\"taskTxt\\\",29:\\\"taskData\\\",33:\\\":\\\",35:\\\"click\\\",36:\\\"callbackname\\\",37:\\\"callbackargs\\\",38:\\\"href\\\",40:\\\"open_directive\\\",41:\\\"type_directive\\\",42:\\\"arg_directive\\\",43:\\\"close_directive\\\"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(N,D,w,v,M,m,Q){var x=m.length-1;switch(M){case 2:return m[x-1];case 3:this.$=[];break;case 4:m[x-1].push(m[x]),this.$=m[x-1];break;case 5:case 6:this.$=m[x];break;case 7:case 8:this.$=[];break;case 9:v.setDateFormat(m[x].substr(11)),this.$=m[x].substr(11);break;case 10:v.enableInclusiveEndDates(),this.$=m[x].substr(18);break;case 11:v.TopAxis(),this.$=m[x].substr(8);break;case 12:v.setAxisFormat(m[x].substr(11)),this.$=m[x].substr(11);break;case 13:v.setTickInterval(m[x].substr(13)),this.$=m[x].substr(13);break;case 14:v.setExcludes(m[x].substr(9)),this.$=m[x].substr(9);break;case 15:v.setIncludes(m[x].substr(9)),this.$=m[x].substr(9);break;case 16:v.setTodayMarker(m[x].substr(12)),this.$=m[x].substr(12);break;case 17:v.setDiagramTitle(m[x].substr(6)),this.$=m[x].substr(6);break;case 18:this.$=m[x].trim(),v.setAccTitle(this.$);break;case 19:case 20:this.$=m[x].trim(),v.setAccDescription(this.$);break;case 21:v.addSection(m[x].substr(8)),this.$=m[x].substr(8);break;case 23:v.addTask(m[x-1],m[x]),this.$=\\\"task\\\";break;case 27:this.$=m[x-1],v.setClickEvent(m[x-1],m[x],null);break;case 28:this.$=m[x-2],v.setClickEvent(m[x-2],m[x-1],m[x]);break;case 29:this.$=m[x-2],v.setClickEvent(m[x-2],m[x-1],null),v.setLink(m[x-2],m[x]);break;case 30:this.$=m[x-3],v.setClickEvent(m[x-3],m[x-2],m[x-1]),v.setLink(m[x-3],m[x]);break;case 31:this.$=m[x-2],v.setClickEvent(m[x-2],m[x],null),v.setLink(m[x-2],m[x-1]);break;case 32:this.$=m[x-3],v.setClickEvent(m[x-3],m[x-1],m[x]),v.setLink(m[x-3],m[x-2]);break;case 33:this.$=m[x-1],v.setLink(m[x-1],m[x]);break;case 34:case 40:this.$=m[x-1]+\\\" \\\"+m[x];break;case 35:case 36:case 38:this.$=m[x-2]+\\\" \\\"+m[x-1]+\\\" \\\"+m[x];break;case 37:case 39:this.$=m[x-3]+\\\" \\\"+m[x-2]+\\\" \\\"+m[x-1]+\\\" \\\"+m[x];break;case 41:v.parseDirective(\\\"%%{\\\",\\\"open_directive\\\");break;case 42:v.parseDirective(m[x],\\\"type_directive\\\");break;case 43:m[x]=m[x].trim().replace(/'/g,'\\\"'),v.parseDirective(m[x],\\\"arg_directive\\\");break;case 44:v.parseDirective(\\\"}%%\\\",\\\"close_directive\\\",\\\"gantt\\\");break}},table:[{3:1,4:2,5:e,30:4,40:r},{1:[3]},{3:6,4:2,5:e,30:4,40:r},t(n,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:i,13:s,14:a,15:o,16:l,17:u,18:d,19:f,20:p,21:g,23:b,25:k,26:T,27:28,28:L,30:4,35:E,40:r},{32:32,33:[1,33],43:I},t([33,43],[2,42]),t(n,[2,8],{1:[2,2]}),t(n,[2,4]),{4:30,10:35,12:i,13:s,14:a,15:o,16:l,17:u,18:d,19:f,20:p,21:g,23:b,25:k,26:T,27:28,28:L,30:4,35:E,40:r},t(n,[2,6]),t(n,[2,7]),t(n,[2,9]),t(n,[2,10]),t(n,[2,11]),t(n,[2,12]),t(n,[2,13]),t(n,[2,14]),t(n,[2,15]),t(n,[2,16]),t(n,[2,17]),{22:[1,36]},{24:[1,37]},t(n,[2,20]),t(n,[2,21]),t(n,[2,22]),{29:[1,38]},t(n,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(n,[2,5]),t(n,[2,18]),t(n,[2,19]),t(n,[2,23]),t(n,[2,27],{37:[1,44],38:[1,45]}),t(n,[2,33],{36:[1,46]}),t(V,[2,25]),{32:47,43:I},{43:[2,43]},t(n,[2,28],{38:[1,48]}),t(n,[2,29]),t(n,[2,31],{37:[1,49]}),{11:[1,50]},t(n,[2,30]),t(n,[2,32]),t(V,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(N,D){if(D.recoverable)this.trace(N);else{var w=new Error(N);throw w.hash=D,w}},parse:function(N){var D=this,w=[0],v=[],M=[null],m=[],Q=this.table,x=\\\"\\\",ct=0,Dt=0,kt=2,j=1,ot=m.slice.call(arguments,1),rt=Object.create(this.lexer),nt={yy:{}};for(var ut in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ut)&&(nt.yy[ut]=this.yy[ut]);rt.setInput(N,nt.yy),nt.yy.lexer=rt,nt.yy.parser=this,typeof rt.yylloc>\\\"u\\\"&&(rt.yylloc={});var _t=rt.yylloc;m.push(_t);var K=rt.options&&rt.options.ranges;typeof nt.yy.parseError==\\\"function\\\"?this.parseError=nt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ot(){var Yt;return Yt=v.pop()||rt.lex()||j,typeof Yt!=\\\"number\\\"&&(Yt instanceof Array&&(v=Yt,Yt=v.pop()),Yt=D.symbols_[Yt]||Yt),Yt}for(var P,z,X,F,O={},A,J,C,ht;;){if(z=w[w.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((P===null||typeof P>\\\"u\\\")&&(P=Ot()),X=Q[z]&&Q[z][P]),typeof X>\\\"u\\\"||!X.length||!X[0]){var U=\\\"\\\";ht=[];for(A in Q[z])this.terminals_[A]&&A>kt&&ht.push(\\\"'\\\"+this.terminals_[A]+\\\"'\\\");rt.showPosition?U=\\\"Parse error on line \\\"+(ct+1)+`:\\n`+rt.showPosition()+`\\nExpecting `+ht.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[P]||P)+\\\"'\\\":U=\\\"Parse error on line \\\"+(ct+1)+\\\": Unexpected \\\"+(P==j?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[P]||P)+\\\"'\\\"),this.parseError(U,{text:rt.match,token:this.terminals_[P]||P,line:rt.yylineno,loc:_t,expected:ht})}if(X[0]instanceof Array&&X.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+z+\\\", token: \\\"+P);switch(X[0]){case 1:w.push(P),M.push(rt.yytext),m.push(rt.yylloc),w.push(X[1]),P=null,Dt=rt.yyleng,x=rt.yytext,ct=rt.yylineno,_t=rt.yylloc;break;case 2:if(J=this.productions_[X[1]][1],O.$=M[M.length-J],O._$={first_line:m[m.length-(J||1)].first_line,last_line:m[m.length-1].last_line,first_column:m[m.length-(J||1)].first_column,last_column:m[m.length-1].last_column},K&&(O._$.range=[m[m.length-(J||1)].range[0],m[m.length-1].range[1]]),F=this.performAction.apply(O,[x,Dt,ct,nt.yy,X[1],M,m].concat(ot)),typeof F\u003C\\\"u\\\")return F;J&&(w=w.slice(0,-1*J*2),M=M.slice(0,-1*J),m=m.slice(0,-1*J)),w.push(this.productions_[X[1]][0]),M.push(O.$),m.push(O._$),C=Q[w[w.length-2]][w[w.length-1]],w.push(C);break;case 3:return!0}}return!0}},G=function(){var W={EOF:1,parseError:function(D,w){if(this.yy.parser)this.yy.parser.parseError(D,w);else throw new Error(D)},setInput:function(N,D){return this.yy=D||this.yy||{},this._input=N,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var N=this._input[0];this.yytext+=N,this.yyleng++,this.offset++,this.match+=N,this.matched+=N;var D=N.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return D?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),N},unput:function(N){var D=N.length,w=N.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=N+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-D),this.offset-=D;var v=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),w.length-1&&(this.yylineno-=w.length-1);var M=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:w?(w.length===v.length?this.yylloc.first_column:0)+v[v.length-w.length].length-w[0].length:this.yylloc.first_column-D},this.options.ranges&&(this.yylloc.range=[M[0],M[0]+this.yyleng-D]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(N){this.unput(this.match.slice(N))},pastInput:function(){var N=this.matched.substr(0,this.matched.length-this.match.length);return(N.length>20?\\\"...\\\":\\\"\\\")+N.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var N=this.match;return N.length\u003C20&&(N+=this._input.substr(0,20-N.length)),(N.substr(0,20)+(N.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var N=this.pastInput(),D=new Array(N.length+1).join(\\\"-\\\");return N+this.upcomingInput()+`\\n`+D+\\\"^\\\"},test_match:function(N,D){var w,v,M;if(this.options.backtrack_lexer&&(M={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(M.yylloc.range=this.yylloc.range.slice(0))),v=N[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),v&&(this.yylineno+=v.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:v?v[v.length-1].length-v[v.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+N[0].length},this.yytext+=N[0],this.match+=N[0],this.matches=N,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(N[0].length),this.matched+=N[0],w=this.performAction.call(this,this.yy,this,D,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),w)return w;if(this._backtrack){for(var m in M)this[m]=M[m];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var N,D,w,v;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var M=this._currentRules(),m=0;m\u003CM.length;m++)if(w=this._input.match(this.rules[M[m]]),w&&(!D||w[0].length>D[0].length)){if(D=w,v=m,this.options.backtrack_lexer){if(N=this.test_match(w,M[m]),N!==!1)return N;if(this._backtrack){D=!1;continue}else return!1}else if(!this.options.flex)break}return D?(N=this.test_match(D,M[v]),N!==!1?N:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var D=this.next();return D||this.lex()},begin:function(D){this.conditionStack.push(D)},popState:function(){var D=this.conditionStack.length-1;return D>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(D){return D=this.conditionStack.length-1-Math.abs(D||0),D>=0?this.conditionStack[D]:\\\"INITIAL\\\"},pushState:function(D){this.begin(D)},stateStackSize:function(){return this.conditionStack.length},options:{\\\"case-insensitive\\\":!0},performAction:function(D,w,v,M){switch(v){case 0:return this.begin(\\\"open_directive\\\"),40;case 1:return this.begin(\\\"type_directive\\\"),41;case 2:return this.popState(),this.begin(\\\"arg_directive\\\"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin(\\\"acc_title\\\"),21;case 6:return this.popState(),\\\"acc_title_value\\\";case 7:return this.begin(\\\"acc_descr\\\"),23;case 8:return this.popState(),\\\"acc_descr_value\\\";case 9:this.begin(\\\"acc_descr_multiline\\\");break;case 10:this.popState();break;case 11:return\\\"acc_descr_multiline_value\\\";case 12:break;case 13:break;case 14:break;case 15:return 11;case 16:break;case 17:break;case 18:break;case 19:this.begin(\\\"href\\\");break;case 20:this.popState();break;case 21:return 38;case 22:this.begin(\\\"callbackname\\\");break;case 23:this.popState();break;case 24:this.popState(),this.begin(\\\"callbackargs\\\");break;case 25:return 36;case 26:this.popState();break;case 27:return 37;case 28:this.begin(\\\"click\\\");break;case 29:this.popState();break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return\\\"date\\\";case 41:return 20;case 42:return\\\"accDescription\\\";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48:return\\\"INVALID\\\"}},rules:[/^(?:%%\\\\{)/i,/^(?:((?:(?!\\\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\\\}%%)/i,/^(?:((?:(?!\\\\}%%).|\\\\n)*))/i,/^(?:accTitle\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*\\\\{\\\\s*)/i,/^(?:[\\\\}])/i,/^(?:[^\\\\}]*)/i,/^(?:%%(?!\\\\{)*[^\\\\n]*)/i,/^(?:[^\\\\}]%%*[^\\\\n]*)/i,/^(?:%%*[^\\\\n]*[\\\\n]*)/i,/^(?:[\\\\n]+)/i,/^(?:\\\\s+)/i,/^(?:#[^\\\\n]*)/i,/^(?:%[^\\\\n]*)/i,/^(?:href[\\\\s]+[\\\"])/i,/^(?:[\\\"])/i,/^(?:[^\\\"]*)/i,/^(?:call[\\\\s]+)/i,/^(?:\\\\([\\\\s]*\\\\))/i,/^(?:\\\\()/i,/^(?:[^(]*)/i,/^(?:\\\\))/i,/^(?:[^)]*)/i,/^(?:click[\\\\s]+)/i,/^(?:[\\\\s\\\\n])/i,/^(?:[^\\\\s\\\\n]*)/i,/^(?:gantt\\\\b)/i,/^(?:dateFormat\\\\s[^#\\\\n;]+)/i,/^(?:inclusiveEndDates\\\\b)/i,/^(?:topAxis\\\\b)/i,/^(?:axisFormat\\\\s[^#\\\\n;]+)/i,/^(?:tickInterval\\\\s[^#\\\\n;]+)/i,/^(?:includes\\\\s[^#\\\\n;]+)/i,/^(?:excludes\\\\s[^#\\\\n;]+)/i,/^(?:todayMarker\\\\s[^\\\\n;]+)/i,/^(?:\\\\d\\\\d\\\\d\\\\d-\\\\d\\\\d-\\\\d\\\\d\\\\b)/i,/^(?:title\\\\s[^#\\\\n;]+)/i,/^(?:accDescription\\\\s[^#\\\\n;]+)/i,/^(?:section\\\\s[^#:\\\\n;]+)/i,/^(?:[^#:\\\\n;]+)/i,/^(?::[^#\\\\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};return W}();H.lexer=G;function Y(){this.yy={}}return Y.prototype=H,H.Parser=Y,new Y}();V0.parser=V0;const XO=V0,KO=t=>t.match(/^\\\\s*gantt/)!==null;let $n=\\\"\\\",U0=\\\"\\\",z0,W0=\\\"\\\",Ho=[],Go=[],H0={},G0=[],wu=[],Aa=\\\"\\\";const T3=[\\\"active\\\",\\\"done\\\",\\\"crit\\\",\\\"milestone\\\"];let q0=[],qo=!1,j0=!1,$0=0;const ZO=function(t,e,r){ze.parseDirective(this,t,e,r)},QO=function(){G0=[],wu=[],Aa=\\\"\\\",q0=[],Tu=0,K0=void 0,Eu=void 0,hr=[],$n=\\\"\\\",U0=\\\"\\\",z0=void 0,W0=\\\"\\\",Ho=[],Go=[],qo=!1,j0=!1,$0=0,H0={},vn()},JO=function(t){U0=t},tR=function(){return U0},eR=function(t){z0=t},rR=function(){return z0},nR=function(t){W0=t},iR=function(){return W0},sR=function(t){$n=t},aR=function(){qo=!0},oR=function(){return qo},lR=function(){j0=!0},cR=function(){return j0},uR=function(){return $n},hR=function(t){Ho=t.toLowerCase().split(/[\\\\s,]+/)},dR=function(){return Ho},fR=function(t){Go=t.toLowerCase().split(/[\\\\s,]+/)},pR=function(){return Go},gR=function(){return H0},yR=function(t){Aa=t,G0.push(t)},mR=function(){return G0},bR=function(){let t=D3();const e=10;let r=0;for(;!t&&r\u003Ce;)t=D3(),r++;return wu=hr,wu},E3=function(t,e,r,n){return n.includes(t.format(e.trim()))?!1:t.isoWeekday()>=6&&r.includes(\\\"weekends\\\")||r.includes(t.format(\\\"dddd\\\").toLowerCase())?!0:r.includes(t.format(e.trim()))},C3=function(t,e,r,n){if(!r.length||t.manualEndTime)return;let i=cn(t.startTime,e,!0);i.add(1,\\\"d\\\");let s=cn(t.endTime,e,!0),a=_R(i,s,e,r,n);t.endTime=s.toDate(),t.renderEndTime=a},_R=function(t,e,r,n,i){let s=!1,a=null;for(;t\u003C=e;)s||(a=e.toDate()),s=E3(t,r,n,i),s&&e.add(1,\\\"d\\\"),t.add(1,\\\"d\\\");return a},X0=function(t,e,r){r=r.trim();const i=/^after\\\\s+([\\\\d\\\\w- ]+)/.exec(r.trim());if(i!==null){let a=null;if(i[1].split(\\\" \\\").forEach(function(o){let l=Da(o);l!==void 0&&(a?l.endTime>a.endTime&&(a=l):a=l)}),a)return a.endTime;{const o=new Date;return o.setHours(0,0,0,0),o}}let s=cn(r,e.trim(),!0);if(s.isValid())return s.toDate();{B.debug(\\\"Invalid date:\\\"+r),B.debug(\\\"With date format:\\\"+e.trim());const a=new Date(r);if(a===void 0||isNaN(a.getTime()))throw new Error(\\\"Invalid date:\\\"+r);return a}},S3=function(t){const e=/^(\\\\d+(?:\\\\.\\\\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return e!==null?cn.duration(Number.parseFloat(e[1]),e[2]):cn.duration.invalid()},A3=function(t,e,r,n=!1){r=r.trim();let i=cn(r,e.trim(),!0);if(i.isValid())return n&&i.add(1,\\\"d\\\"),i.toDate();const s=cn(t),a=S3(r);return a.isValid()&&s.add(a),s.toDate()};let Tu=0;const La=function(t){return t===void 0?(Tu=Tu+1,\\\"task\\\"+Tu):t},xR=function(t,e){let r;e.substr(0,1)===\\\":\\\"?r=e.substr(1,e.length):r=e;const n=r.split(\\\",\\\"),i={};B3(n,i,T3);for(let a=0;a\u003Cn.length;a++)n[a]=n[a].trim();let s=\\\"\\\";switch(n.length){case 1:i.id=La(),i.startTime=t.endTime,s=n[0];break;case 2:i.id=La(),i.startTime=X0(void 0,$n,n[0]),s=n[1];break;case 3:i.id=La(n[0]),i.startTime=X0(void 0,$n,n[1]),s=n[2];break}return s&&(i.endTime=A3(i.startTime,$n,s,qo),i.manualEndTime=cn(s,\\\"YYYY-MM-DD\\\",!0).isValid(),C3(i,$n,Go,Ho)),i},vR=function(t,e){let r;e.substr(0,1)===\\\":\\\"?r=e.substr(1,e.length):r=e;const n=r.split(\\\",\\\"),i={};B3(n,i,T3);for(let s=0;s\u003Cn.length;s++)n[s]=n[s].trim();switch(n.length){case 1:i.id=La(),i.startTime={type:\\\"prevTaskEnd\\\",id:t},i.endTime={data:n[0]};break;case 2:i.id=La(),i.startTime={type:\\\"getStartDate\\\",startData:n[0]},i.endTime={data:n[1]};break;case 3:i.id=La(n[0]),i.startTime={type:\\\"getStartDate\\\",startData:n[1]},i.endTime={data:n[2]};break}return i};let K0,Eu,hr=[];const L3={},kR=function(t,e){const r={section:Aa,type:Aa,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},n=vR(Eu,e);r.raw.startTime=n.startTime,r.raw.endTime=n.endTime,r.id=n.id,r.prevTaskId=Eu,r.active=n.active,r.done=n.done,r.crit=n.crit,r.milestone=n.milestone,r.order=$0,$0++;const i=hr.push(r);Eu=r.id,L3[r.id]=i-1},Da=function(t){const e=L3[t];return hr[e]},wR=function(t,e){const r={section:Aa,type:Aa,description:t,task:t,classes:[]},n=xR(K0,e);r.startTime=n.startTime,r.endTime=n.endTime,r.id=n.id,r.active=n.active,r.done=n.done,r.crit=n.crit,r.milestone=n.milestone,K0=r,wu.push(r)},D3=function(){const t=function(r){const n=hr[r];let i=\\\"\\\";switch(hr[r].raw.startTime.type){case\\\"prevTaskEnd\\\":{const s=Da(n.prevTaskId);n.startTime=s.endTime;break}case\\\"getStartDate\\\":i=X0(void 0,$n,hr[r].raw.startTime.startData),i&&(hr[r].startTime=i);break}return hr[r].startTime&&(hr[r].endTime=A3(hr[r].startTime,$n,hr[r].raw.endTime.data,qo),hr[r].endTime&&(hr[r].processed=!0,hr[r].manualEndTime=cn(hr[r].raw.endTime.data,\\\"YYYY-MM-DD\\\",!0).isValid(),C3(hr[r],$n,Go,Ho))),hr[r].processed};let e=!0;for(const[r,n]of hr.entries())t(r),e=e&&n.processed;return e},TR=function(t,e){let r=e;$().securityLevel!==\\\"loose\\\"&&(r=ti(e)),t.split(\\\",\\\").forEach(function(n){Da(n)!==void 0&&(N3(n,()=>{window.open(r,\\\"_self\\\")}),H0[n]=r)}),M3(t,\\\"clickable\\\")},M3=function(t,e){t.split(\\\",\\\").forEach(function(r){let n=Da(r);n!==void 0&&n.classes.push(e)})},ER=function(t,e,r){if($().securityLevel!==\\\"loose\\\"||e===void 0)return;let n=[];if(typeof r==\\\"string\\\"){n=r.split(/,(?=(?:(?:[^\\\"]*\\\"){2})*[^\\\"]*$)/);for(let s=0;s\u003Cn.length;s++){let a=n[s].trim();a.charAt(0)==='\\\"'&&a.charAt(a.length-1)==='\\\"'&&(a=a.substr(1,a.length-2)),n[s]=a}}n.length===0&&n.push(t),Da(t)!==void 0&&N3(t,()=>{ge.runFunc(e,...n)})},N3=function(t,e){q0.push(function(){const r=document.querySelector(`[id=\\\"${t}\\\"]`);r!==null&&r.addEventListener(\\\"click\\\",function(){e()})},function(){const r=document.querySelector(`[id=\\\"${t}-text\\\"]`);r!==null&&r.addEventListener(\\\"click\\\",function(){e()})})},Z0={parseDirective:ZO,getConfig:()=>$().gantt,clear:QO,setDateFormat:sR,getDateFormat:uR,enableInclusiveEndDates:aR,endDatesAreInclusive:oR,enableTopAxis:lR,topAxisEnabled:cR,setAxisFormat:JO,getAxisFormat:tR,setTickInterval:eR,getTickInterval:rR,setTodayMarker:nR,getTodayMarker:iR,setAccTitle:nn,getAccTitle:kn,setDiagramTitle:hi,getDiagramTitle:di,setAccDescription:wn,getAccDescription:Tn,addSection:yR,getSections:mR,getTasks:bR,addTask:kR,findTaskById:Da,addTaskOrg:wR,setIncludes:hR,getIncludes:dR,setExcludes:fR,getExcludes:pR,setClickEvent:function(t,e,r){t.split(\\\",\\\").forEach(function(n){ER(n,e,r)}),M3(t,\\\"clickable\\\")},setLink:TR,getLinks:gR,bindFunctions:function(t){q0.forEach(function(e){e(t)})},parseDuration:S3,isInvalidDate:E3};function B3(t,e,r){let n=!0;for(;n;)n=!1,r.forEach(function(i){const s=\\\"^\\\\\\\\s*\\\"+i+\\\"\\\\\\\\s*$\\\",a=new RegExp(s);t[0].match(a)&&(e[i]=!0,t.shift(1),n=!0)})}const CR=function(){B.debug(\\\"Something is calling, setConf, remove the call\\\")};let wi;const SR={setConf:CR,draw:function(t,e,r,n){const i=$().gantt,s=$().securityLevel;let a;s===\\\"sandbox\\\"&&(a=St(\\\"#i\\\"+e));const o=St(s===\\\"sandbox\\\"?a.nodes()[0].contentDocument.body:\\\"body\\\"),l=s===\\\"sandbox\\\"?a.nodes()[0].contentDocument:document,u=l.getElementById(e);wi=u.parentElement.offsetWidth,wi===void 0&&(wi=1200),i.useWidth!==void 0&&(wi=i.useWidth);const d=n.db.getTasks(),f=d.length*(i.barHeight+i.barGap)+2*i.topPadding;u.setAttribute(\\\"viewBox\\\",\\\"0 0 \\\"+wi+\\\" \\\"+f);const p=o.select(`[id=\\\"${e}\\\"]`),g=hk().domain([Wb(d,function(D){return D.startTime}),zb(d,function(D){return D.endTime})]).rangeRound([0,wi-i.leftPadding-i.rightPadding]);let b=[];for(const D of d)b.push(D.type);const k=b;b=Y(b);function T(D,w){const v=D.startTime,M=w.startTime;let m=0;return v>M?m=1:v\u003CM&&(m=-1),m}d.sort(T),L(d,wi,f),xn(p,f,wi,i.useMaxWidth),p.append(\\\"text\\\").text(n.db.getDiagramTitle()).attr(\\\"x\\\",wi/2).attr(\\\"y\\\",i.titleTopMargin).attr(\\\"class\\\",\\\"titleText\\\");function L(D,w,v){const M=i.barHeight,m=M+i.barGap,Q=i.topPadding,x=i.leftPadding,ct=n2().domain([0,b.length]).range([\\\"#00B9FA\\\",\\\"#F95002\\\"]).interpolate(ux);I(m,Q,x,w,v,D,n.db.getExcludes(),n.db.getIncludes()),V(x,Q,w,v),E(D,m,Q,x,M,ct,w),H(m,Q),G(x,Q,w,v)}function E(D,w,v,M,m,Q,x){p.append(\\\"g\\\").selectAll(\\\"rect\\\").data(D).enter().append(\\\"rect\\\").attr(\\\"x\\\",0).attr(\\\"y\\\",function(j,ot){return ot=j.order,ot*w+v-2}).attr(\\\"width\\\",function(){return x-i.rightPadding/2}).attr(\\\"height\\\",w).attr(\\\"class\\\",function(j){for(const[ot,rt]of b.entries())if(j.type===rt)return\\\"section section\\\"+ot%i.numberSectionStyles;return\\\"section section0\\\"});const ct=p.append(\\\"g\\\").selectAll(\\\"rect\\\").data(D).enter(),Dt=n.db.getLinks();if(ct.append(\\\"rect\\\").attr(\\\"id\\\",function(j){return j.id}).attr(\\\"rx\\\",3).attr(\\\"ry\\\",3).attr(\\\"x\\\",function(j){return j.milestone?g(j.startTime)+M+.5*(g(j.endTime)-g(j.startTime))-.5*m:g(j.startTime)+M}).attr(\\\"y\\\",function(j,ot){return ot=j.order,ot*w+v}).attr(\\\"width\\\",function(j){return j.milestone?m:g(j.renderEndTime||j.endTime)-g(j.startTime)}).attr(\\\"height\\\",m).attr(\\\"transform-origin\\\",function(j,ot){return ot=j.order,(g(j.startTime)+M+.5*(g(j.endTime)-g(j.startTime))).toString()+\\\"px \\\"+(ot*w+v+.5*m).toString()+\\\"px\\\"}).attr(\\\"class\\\",function(j){const ot=\\\"task\\\";let rt=\\\"\\\";j.classes.length>0&&(rt=j.classes.join(\\\" \\\"));let nt=0;for(const[_t,K]of b.entries())j.type===K&&(nt=_t%i.numberSectionStyles);let ut=\\\"\\\";return j.active?j.crit?ut+=\\\" activeCrit\\\":ut=\\\" active\\\":j.done?j.crit?ut=\\\" doneCrit\\\":ut=\\\" done\\\":j.crit&&(ut+=\\\" crit\\\"),ut.length===0&&(ut=\\\" task\\\"),j.milestone&&(ut=\\\" milestone \\\"+ut),ut+=nt,ut+=\\\" \\\"+rt,ot+ut}),ct.append(\\\"text\\\").attr(\\\"id\\\",function(j){return j.id+\\\"-text\\\"}).text(function(j){return j.task}).attr(\\\"font-size\\\",i.fontSize).attr(\\\"x\\\",function(j){let ot=g(j.startTime),rt=g(j.renderEndTime||j.endTime);j.milestone&&(ot+=.5*(g(j.endTime)-g(j.startTime))-.5*m),j.milestone&&(rt=ot+m);const nt=this.getBBox().width;return nt>rt-ot?rt+nt+1.5*i.leftPadding>x?ot+M-5:rt+M+5:(rt-ot)/2+ot+M}).attr(\\\"y\\\",function(j,ot){return ot=j.order,ot*w+i.barHeight/2+(i.fontSize/2-2)+v}).attr(\\\"text-height\\\",m).attr(\\\"class\\\",function(j){const ot=g(j.startTime);let rt=g(j.endTime);j.milestone&&(rt=ot+m);const nt=this.getBBox().width;let ut=\\\"\\\";j.classes.length>0&&(ut=j.classes.join(\\\" \\\"));let _t=0;for(const[Ot,P]of b.entries())j.type===P&&(_t=Ot%i.numberSectionStyles);let K=\\\"\\\";return j.active&&(j.crit?K=\\\"activeCritText\\\"+_t:K=\\\"activeText\\\"+_t),j.done?j.crit?K=K+\\\" doneCritText\\\"+_t:K=K+\\\" doneText\\\"+_t:j.crit&&(K=K+\\\" critText\\\"+_t),j.milestone&&(K+=\\\" milestoneText\\\"),nt>rt-ot?rt+nt+1.5*i.leftPadding>x?ut+\\\" taskTextOutsideLeft taskTextOutside\\\"+_t+\\\" \\\"+K:ut+\\\" taskTextOutsideRight taskTextOutside\\\"+_t+\\\" \\\"+K+\\\" width-\\\"+nt:ut+\\\" taskText taskText\\\"+_t+\\\" \\\"+K+\\\" width-\\\"+nt}),$().securityLevel===\\\"sandbox\\\"){let j;j=St(\\\"#i\\\"+e);const ot=j.nodes()[0].contentDocument;ct.filter(function(rt){return Dt[rt.id]!==void 0}).each(function(rt){var nt=ot.querySelector(\\\"#\\\"+rt.id),ut=ot.querySelector(\\\"#\\\"+rt.id+\\\"-text\\\");const _t=nt.parentNode;var K=ot.createElement(\\\"a\\\");K.setAttribute(\\\"xlink:href\\\",Dt[rt.id]),K.setAttribute(\\\"target\\\",\\\"_top\\\"),_t.appendChild(K),K.appendChild(nt),K.appendChild(ut)})}}function I(D,w,v,M,m,Q,x,ct){const Dt=Q.reduce((_t,{startTime:K})=>_t?Math.min(_t,K):K,0),kt=Q.reduce((_t,{endTime:K})=>_t?Math.max(_t,K):K,0),j=n.db.getDateFormat();if(!Dt||!kt)return;const ot=[];let rt=null,nt=cn(Dt);for(;nt.valueOf()\u003C=kt;)n.db.isInvalidDate(nt,j,x,ct)?rt?rt.end=nt.clone():rt={start:nt.clone(),end:nt.clone()}:rt&&(ot.push(rt),rt=null),nt.add(1,\\\"d\\\");p.append(\\\"g\\\").selectAll(\\\"rect\\\").data(ot).enter().append(\\\"rect\\\").attr(\\\"id\\\",function(_t){return\\\"exclude-\\\"+_t.start.format(\\\"YYYY-MM-DD\\\")}).attr(\\\"x\\\",function(_t){return g(_t.start)+v}).attr(\\\"y\\\",i.gridLineStartPadding).attr(\\\"width\\\",function(_t){const K=_t.end.clone().add(1,\\\"day\\\");return g(K)-g(_t.start)}).attr(\\\"height\\\",m-w-i.gridLineStartPadding).attr(\\\"transform-origin\\\",function(_t,K){return(g(_t.start)+v+.5*(g(_t.end)-g(_t.start))).toString()+\\\"px \\\"+(K*D+.5*m).toString()+\\\"px\\\"}).attr(\\\"class\\\",\\\"exclude-range\\\")}function V(D,w,v,M){let m=Zb(g).tickSize(-M+w+i.gridLineStartPadding).tickFormat(Ul(n.db.getAxisFormat()||i.axisFormat||\\\"%Y-%m-%d\\\"));const x=/^([1-9]\\\\d*)(minute|hour|day|week|month)$/.exec(n.db.getTickInterval()||i.tickInterval);if(x!==null){const ct=x[1];switch(x[2]){case\\\"minute\\\":m.ticks(Rl.every(ct));break;case\\\"hour\\\":m.ticks(Fl.every(ct));break;case\\\"day\\\":m.ticks(qs.every(ct));break;case\\\"week\\\":m.ticks(js.every(ct));break;case\\\"month\\\":m.ticks(Yl.every(ct));break}}if(p.append(\\\"g\\\").attr(\\\"class\\\",\\\"grid\\\").attr(\\\"transform\\\",\\\"translate(\\\"+D+\\\", \\\"+(M-50)+\\\")\\\").call(m).selectAll(\\\"text\\\").style(\\\"text-anchor\\\",\\\"middle\\\").attr(\\\"fill\\\",\\\"#000\\\").attr(\\\"stroke\\\",\\\"none\\\").attr(\\\"font-size\\\",10).attr(\\\"dy\\\",\\\"1em\\\"),n.db.topAxisEnabled()||i.topAxis){let ct=Kb(g).tickSize(-M+w+i.gridLineStartPadding).tickFormat(Ul(n.db.getAxisFormat()||i.axisFormat||\\\"%Y-%m-%d\\\"));if(x!==null){const Dt=x[1];switch(x[2]){case\\\"minute\\\":ct.ticks(Rl.every(Dt));break;case\\\"hour\\\":ct.ticks(Fl.every(Dt));break;case\\\"day\\\":ct.ticks(qs.every(Dt));break;case\\\"week\\\":ct.ticks(js.every(Dt));break;case\\\"month\\\":ct.ticks(Yl.every(Dt));break}}p.append(\\\"g\\\").attr(\\\"class\\\",\\\"grid\\\").attr(\\\"transform\\\",\\\"translate(\\\"+D+\\\", \\\"+w+\\\")\\\").call(ct).selectAll(\\\"text\\\").style(\\\"text-anchor\\\",\\\"middle\\\").attr(\\\"fill\\\",\\\"#000\\\").attr(\\\"stroke\\\",\\\"none\\\").attr(\\\"font-size\\\",10)}}function H(D,w){const v=[];let M=0;for(const[m,Q]of b.entries())v[m]=[Q,N(Q,k)];p.append(\\\"g\\\").selectAll(\\\"text\\\").data(v).enter().append(function(m){const Q=m[0].split(he.lineBreakRegex),x=-(Q.length-1)/2,ct=l.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"text\\\");ct.setAttribute(\\\"dy\\\",x+\\\"em\\\");for(const[Dt,kt]of Q.entries()){const j=l.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"tspan\\\");j.setAttribute(\\\"alignment-baseline\\\",\\\"central\\\"),j.setAttribute(\\\"x\\\",\\\"10\\\"),Dt>0&&j.setAttribute(\\\"dy\\\",\\\"1em\\\"),j.textContent=kt,ct.appendChild(j)}return ct}).attr(\\\"x\\\",10).attr(\\\"y\\\",function(m,Q){if(Q>0)for(let x=0;x\u003CQ;x++)return M+=v[Q-1][1],m[1]*D/2+M*D+w;else return m[1]*D/2+w}).attr(\\\"font-size\\\",i.sectionFontSize).attr(\\\"font-size\\\",i.sectionFontSize).attr(\\\"class\\\",function(m){for(const[Q,x]of b.entries())if(m[0]===x)return\\\"sectionTitle sectionTitle\\\"+Q%i.numberSectionStyles;return\\\"sectionTitle\\\"})}function G(D,w,v,M){const m=n.db.getTodayMarker();if(m===\\\"off\\\")return;const Q=p.append(\\\"g\\\").attr(\\\"class\\\",\\\"today\\\"),x=new Date,ct=Q.append(\\\"line\\\");ct.attr(\\\"x1\\\",g(x)+D).attr(\\\"x2\\\",g(x)+D).attr(\\\"y1\\\",i.titleTopMargin).attr(\\\"y2\\\",M-i.titleTopMargin).attr(\\\"class\\\",\\\"today\\\"),m!==\\\"\\\"&&ct.attr(\\\"style\\\",m.replace(/,/g,\\\";\\\"))}function Y(D){const w={},v=[];for(let M=0,m=D.length;M\u003Cm;++M)Object.prototype.hasOwnProperty.call(w,D[M])||(w[D[M]]=!0,v.push(D[M]));return v}function W(D){let w=D.length;const v={};for(;w;)v[D[--w]]=(v[D[w]]||0)+1;return v}function N(D,w){return W(w)[D]||0}}};var Q0=function(){var t=function(s,a,o,l){for(o=o||{},l=s.length;l--;o[s[l]]=a);return o},e=[6,9,10],r={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:\\\"error\\\",4:\\\"info\\\",6:\\\"EOF\\\",9:\\\"NL\\\",10:\\\"showInfo\\\"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(a,o,l,u,d,f,p){switch(f.length-1,d){case 1:return u;case 4:break;case 6:u.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(a,o){if(o.recoverable)this.trace(a);else{var l=new Error(a);throw l.hash=o,l}},parse:function(a){var o=this,l=[0],u=[],d=[null],f=[],p=this.table,g=\\\"\\\",b=0,k=0,T=2,L=1,E=f.slice.call(arguments,1),I=Object.create(this.lexer),V={yy:{}};for(var H in this.yy)Object.prototype.hasOwnProperty.call(this.yy,H)&&(V.yy[H]=this.yy[H]);I.setInput(a,V.yy),V.yy.lexer=I,V.yy.parser=this,typeof I.yylloc>\\\"u\\\"&&(I.yylloc={});var G=I.yylloc;f.push(G);var Y=I.options&&I.options.ranges;typeof V.yy.parseError==\\\"function\\\"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function W(){var kt;return kt=u.pop()||I.lex()||L,typeof kt!=\\\"number\\\"&&(kt instanceof Array&&(u=kt,kt=u.pop()),kt=o.symbols_[kt]||kt),kt}for(var N,D,w,v,M={},m,Q,x,ct;;){if(D=l[l.length-1],this.defaultActions[D]?w=this.defaultActions[D]:((N===null||typeof N>\\\"u\\\")&&(N=W()),w=p[D]&&p[D][N]),typeof w>\\\"u\\\"||!w.length||!w[0]){var Dt=\\\"\\\";ct=[];for(m in p[D])this.terminals_[m]&&m>T&&ct.push(\\\"'\\\"+this.terminals_[m]+\\\"'\\\");I.showPosition?Dt=\\\"Parse error on line \\\"+(b+1)+`:\\n`+I.showPosition()+`\\nExpecting `+ct.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[N]||N)+\\\"'\\\":Dt=\\\"Parse error on line \\\"+(b+1)+\\\": Unexpected \\\"+(N==L?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[N]||N)+\\\"'\\\"),this.parseError(Dt,{text:I.match,token:this.terminals_[N]||N,line:I.yylineno,loc:G,expected:ct})}if(w[0]instanceof Array&&w.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+D+\\\", token: \\\"+N);switch(w[0]){case 1:l.push(N),d.push(I.yytext),f.push(I.yylloc),l.push(w[1]),N=null,k=I.yyleng,g=I.yytext,b=I.yylineno,G=I.yylloc;break;case 2:if(Q=this.productions_[w[1]][1],M.$=d[d.length-Q],M._$={first_line:f[f.length-(Q||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(Q||1)].first_column,last_column:f[f.length-1].last_column},Y&&(M._$.range=[f[f.length-(Q||1)].range[0],f[f.length-1].range[1]]),v=this.performAction.apply(M,[g,k,b,V.yy,w[1],d,f].concat(E)),typeof v\u003C\\\"u\\\")return v;Q&&(l=l.slice(0,-1*Q*2),d=d.slice(0,-1*Q),f=f.slice(0,-1*Q)),l.push(this.productions_[w[1]][0]),d.push(M.$),f.push(M._$),x=p[l[l.length-2]][l[l.length-1]],l.push(x);break;case 3:return!0}}return!0}},n=function(){var s={EOF:1,parseError:function(o,l){if(this.yy.parser)this.yy.parser.parseError(o,l);else throw new Error(o)},setInput:function(a,o){return this.yy=o||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var o=a.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var o=a.length,l=a.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var u=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===u.length?this.yylloc.first_column:0)+u[u.length-l.length].length-l[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?\\\"...\\\":\\\"\\\")+a.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var a=this.match;return a.length\u003C20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var a=this.pastInput(),o=new Array(a.length+1).join(\\\"-\\\");return a+this.upcomingInput()+`\\n`+o+\\\"^\\\"},test_match:function(a,o){var l,u,d;if(this.options.backtrack_lexer&&(d={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(d.yylloc.range=this.yylloc.range.slice(0))),u=a[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],l=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l)return l;if(this._backtrack){for(var f in d)this[f]=d[f];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,o,l,u;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var d=this._currentRules(),f=0;f\u003Cd.length;f++)if(l=this._input.match(this.rules[d[f]]),l&&(!o||l[0].length>o[0].length)){if(o=l,u=f,this.options.backtrack_lexer){if(a=this.test_match(l,d[f]),a!==!1)return a;if(this._backtrack){o=!1;continue}else return!1}else if(!this.options.flex)break}return o?(a=this.test_match(o,d[u]),a!==!1?a:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var o=this.next();return o||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){var o=this.conditionStack.length-1;return o>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(o){return o=this.conditionStack.length-1-Math.abs(o||0),o>=0?this.conditionStack[o]:\\\"INITIAL\\\"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{\\\"case-insensitive\\\":!0},performAction:function(o,l,u,d){switch(u){case 0:return 4;case 1:return 9;case 2:return\\\"space\\\";case 3:return 10;case 4:return 6;case 5:return\\\"TXT\\\"}},rules:[/^(?:info\\\\b)/i,/^(?:[\\\\s\\\\n\\\\r]+)/i,/^(?:[\\\\s]+)/i,/^(?:showInfo\\\\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};return s}();r.lexer=n;function i(){this.yy={}}return i.prototype=r,r.Parser=i,new i}();Q0.parser=Q0;const AR=Q0;var I3=\\\"\\\",O3=!1;const LR={setMessage:t=>{B.debug(\\\"Setting message to: \\\"+t),I3=t},getMessage:()=>I3,setInfo:t=>{O3=t},getInfo:()=>O3,clear:vn},DR={draw:(t,e,r)=>{try{B.debug(`Rendering info diagram\\n`+t);const n=$().securityLevel;let i;n===\\\"sandbox\\\"&&(i=St(\\\"#i\\\"+e));const a=St(n===\\\"sandbox\\\"?i.nodes()[0].contentDocument.body:\\\"body\\\").select(\\\"#\\\"+e);a.append(\\\"g\\\").append(\\\"text\\\").attr(\\\"x\\\",100).attr(\\\"y\\\",40).attr(\\\"class\\\",\\\"version\\\").attr(\\\"font-size\\\",\\\"32px\\\").style(\\\"text-anchor\\\",\\\"middle\\\").text(\\\"v \\\"+r),a.attr(\\\"height\\\",100),a.attr(\\\"width\\\",400)}catch(n){B.error(\\\"Error while rendering info diagram\\\"),B.error(n.message)}}},MR=t=>t.match(/^\\\\s*info/)!==null;var J0=function(){var t=function(G,Y,W,N){for(W=W||{},N=G.length;N--;W[G[N]]=Y);return W},e=[1,4],r=[1,5],n=[1,6],i=[1,7],s=[1,9],a=[1,11,13,15,17,19,20,26,27,28,29],o=[2,5],l=[1,6,11,13,15,17,19,20,26,27,28,29],u=[26,27,28],d=[2,8],f=[1,18],p=[1,19],g=[1,20],b=[1,21],k=[1,22],T=[1,23],L=[1,28],E=[6,26,27,28,29],I={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,\\\":\\\":24,argDirective:25,NEWLINE:26,\\\";\\\":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:\\\"error\\\",6:\\\"PIE\\\",8:\\\"showData\\\",11:\\\"txt\\\",12:\\\"value\\\",13:\\\"title\\\",14:\\\"title_value\\\",15:\\\"acc_title\\\",16:\\\"acc_title_value\\\",17:\\\"acc_descr\\\",18:\\\"acc_descr_value\\\",19:\\\"acc_descr_multiline_value\\\",20:\\\"section\\\",24:\\\":\\\",26:\\\"NEWLINE\\\",27:\\\";\\\",28:\\\"EOF\\\",29:\\\"open_directive\\\",30:\\\"type_directive\\\",31:\\\"arg_directive\\\",32:\\\"close_directive\\\"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(Y,W,N,D,w,v,M){var m=v.length-1;switch(w){case 4:D.setShowData(!0);break;case 7:this.$=v[m-1];break;case 9:D.addSection(v[m-1],D.cleanupValue(v[m]));break;case 10:this.$=v[m].trim(),D.setDiagramTitle(this.$);break;case 11:this.$=v[m].trim(),D.setAccTitle(this.$);break;case 12:case 13:this.$=v[m].trim(),D.setAccDescription(this.$);break;case 14:D.addSection(v[m].substr(8)),this.$=v[m].substr(8);break;case 21:D.parseDirective(\\\"%%{\\\",\\\"open_directive\\\");break;case 22:D.parseDirective(v[m],\\\"type_directive\\\");break;case 23:v[m]=v[m].trim().replace(/'/g,'\\\"'),D.parseDirective(v[m],\\\"arg_directive\\\");break;case 24:D.parseDirective(\\\"}%%\\\",\\\"close_directive\\\",\\\"pie\\\");break}},table:[{3:1,4:2,5:3,6:e,21:8,26:r,27:n,28:i,29:s},{1:[3]},{3:10,4:2,5:3,6:e,21:8,26:r,27:n,28:i,29:s},{3:11,4:2,5:3,6:e,21:8,26:r,27:n,28:i,29:s},t(a,o,{7:12,8:[1,13]}),t(l,[2,18]),t(l,[2,19]),t(l,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},t(u,d,{21:8,9:16,10:17,5:24,1:[2,3],11:f,13:p,15:g,17:b,19:k,20:T,29:s}),t(a,o,{7:25}),{23:26,24:[1,27],32:L},t([24,32],[2,22]),t(a,[2,6]),{4:29,26:r,27:n,28:i},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},t(u,[2,13]),t(u,[2,14]),t(u,[2,15]),t(u,d,{21:8,9:16,10:17,5:24,1:[2,4],11:f,13:p,15:g,17:b,19:k,20:T,29:s}),t(E,[2,16]),{25:34,31:[1,35]},t(E,[2,24]),t(a,[2,7]),t(u,[2,9]),t(u,[2,10]),t(u,[2,11]),t(u,[2,12]),{23:36,32:L},{32:[2,23]},t(E,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(Y,W){if(W.recoverable)this.trace(Y);else{var N=new Error(Y);throw N.hash=W,N}},parse:function(Y){var W=this,N=[0],D=[],w=[null],v=[],M=this.table,m=\\\"\\\",Q=0,x=0,ct=2,Dt=1,kt=v.slice.call(arguments,1),j=Object.create(this.lexer),ot={yy:{}};for(var rt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,rt)&&(ot.yy[rt]=this.yy[rt]);j.setInput(Y,ot.yy),ot.yy.lexer=j,ot.yy.parser=this,typeof j.yylloc>\\\"u\\\"&&(j.yylloc={});var nt=j.yylloc;v.push(nt);var ut=j.options&&j.options.ranges;typeof ot.yy.parseError==\\\"function\\\"?this.parseError=ot.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _t(){var ht;return ht=D.pop()||j.lex()||Dt,typeof ht!=\\\"number\\\"&&(ht instanceof Array&&(D=ht,ht=D.pop()),ht=W.symbols_[ht]||ht),ht}for(var K,Ot,P,z,X={},F,O,A,J;;){if(Ot=N[N.length-1],this.defaultActions[Ot]?P=this.defaultActions[Ot]:((K===null||typeof K>\\\"u\\\")&&(K=_t()),P=M[Ot]&&M[Ot][K]),typeof P>\\\"u\\\"||!P.length||!P[0]){var C=\\\"\\\";J=[];for(F in M[Ot])this.terminals_[F]&&F>ct&&J.push(\\\"'\\\"+this.terminals_[F]+\\\"'\\\");j.showPosition?C=\\\"Parse error on line \\\"+(Q+1)+`:\\n`+j.showPosition()+`\\nExpecting `+J.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[K]||K)+\\\"'\\\":C=\\\"Parse error on line \\\"+(Q+1)+\\\": Unexpected \\\"+(K==Dt?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[K]||K)+\\\"'\\\"),this.parseError(C,{text:j.match,token:this.terminals_[K]||K,line:j.yylineno,loc:nt,expected:J})}if(P[0]instanceof Array&&P.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+Ot+\\\", token: \\\"+K);switch(P[0]){case 1:N.push(K),w.push(j.yytext),v.push(j.yylloc),N.push(P[1]),K=null,x=j.yyleng,m=j.yytext,Q=j.yylineno,nt=j.yylloc;break;case 2:if(O=this.productions_[P[1]][1],X.$=w[w.length-O],X._$={first_line:v[v.length-(O||1)].first_line,last_line:v[v.length-1].last_line,first_column:v[v.length-(O||1)].first_column,last_column:v[v.length-1].last_column},ut&&(X._$.range=[v[v.length-(O||1)].range[0],v[v.length-1].range[1]]),z=this.performAction.apply(X,[m,x,Q,ot.yy,P[1],w,v].concat(kt)),typeof z\u003C\\\"u\\\")return z;O&&(N=N.slice(0,-1*O*2),w=w.slice(0,-1*O),v=v.slice(0,-1*O)),N.push(this.productions_[P[1]][0]),w.push(X.$),v.push(X._$),A=M[N[N.length-2]][N[N.length-1]],N.push(A);break;case 3:return!0}}return!0}},V=function(){var G={EOF:1,parseError:function(W,N){if(this.yy.parser)this.yy.parser.parseError(W,N);else throw new Error(W)},setInput:function(Y,W){return this.yy=W||this.yy||{},this._input=Y,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var Y=this._input[0];this.yytext+=Y,this.yyleng++,this.offset++,this.match+=Y,this.matched+=Y;var W=Y.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return W?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),Y},unput:function(Y){var W=Y.length,N=Y.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=Y+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-W),this.offset-=W;var D=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),N.length-1&&(this.yylineno-=N.length-1);var w=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:N?(N.length===D.length?this.yylloc.first_column:0)+D[D.length-N.length].length-N[0].length:this.yylloc.first_column-W},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-W]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(Y){this.unput(this.match.slice(Y))},pastInput:function(){var Y=this.matched.substr(0,this.matched.length-this.match.length);return(Y.length>20?\\\"...\\\":\\\"\\\")+Y.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var Y=this.match;return Y.length\u003C20&&(Y+=this._input.substr(0,20-Y.length)),(Y.substr(0,20)+(Y.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var Y=this.pastInput(),W=new Array(Y.length+1).join(\\\"-\\\");return Y+this.upcomingInput()+`\\n`+W+\\\"^\\\"},test_match:function(Y,W){var N,D,w;if(this.options.backtrack_lexer&&(w={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(w.yylloc.range=this.yylloc.range.slice(0))),D=Y[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),D&&(this.yylineno+=D.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:D?D[D.length-1].length-D[D.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+Y[0].length},this.yytext+=Y[0],this.match+=Y[0],this.matches=Y,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(Y[0].length),this.matched+=Y[0],N=this.performAction.call(this,this.yy,this,W,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),N)return N;if(this._backtrack){for(var v in w)this[v]=w[v];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var Y,W,N,D;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var w=this._currentRules(),v=0;v\u003Cw.length;v++)if(N=this._input.match(this.rules[w[v]]),N&&(!W||N[0].length>W[0].length)){if(W=N,D=v,this.options.backtrack_lexer){if(Y=this.test_match(N,w[v]),Y!==!1)return Y;if(this._backtrack){W=!1;continue}else return!1}else if(!this.options.flex)break}return W?(Y=this.test_match(W,w[D]),Y!==!1?Y:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var W=this.next();return W||this.lex()},begin:function(W){this.conditionStack.push(W)},popState:function(){var W=this.conditionStack.length-1;return W>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(W){return W=this.conditionStack.length-1-Math.abs(W||0),W>=0?this.conditionStack[W]:\\\"INITIAL\\\"},pushState:function(W){this.begin(W)},stateStackSize:function(){return this.conditionStack.length},options:{\\\"case-insensitive\\\":!0},performAction:function(W,N,D,w){switch(D){case 0:return this.begin(\\\"open_directive\\\"),29;case 1:return this.begin(\\\"type_directive\\\"),30;case 2:return this.popState(),this.begin(\\\"arg_directive\\\"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:break;case 6:break;case 7:return 26;case 8:break;case 9:break;case 10:return this.begin(\\\"title\\\"),13;case 11:return this.popState(),\\\"title_value\\\";case 12:return this.begin(\\\"acc_title\\\"),15;case 13:return this.popState(),\\\"acc_title_value\\\";case 14:return this.begin(\\\"acc_descr\\\"),17;case 15:return this.popState(),\\\"acc_descr_value\\\";case 16:this.begin(\\\"acc_descr_multiline\\\");break;case 17:this.popState();break;case 18:return\\\"acc_descr_multiline_value\\\";case 19:this.begin(\\\"string\\\");break;case 20:this.popState();break;case 21:return\\\"txt\\\";case 22:return 6;case 23:return 8;case 24:return\\\"value\\\";case 25:return 28}},rules:[/^(?:%%\\\\{)/i,/^(?:((?:(?!\\\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\\\}%%)/i,/^(?:((?:(?!\\\\}%%).|\\\\n)*))/i,/^(?:%%(?!\\\\{)[^\\\\n]*)/i,/^(?:[^\\\\}]%%[^\\\\n]*)/i,/^(?:[\\\\n\\\\r]+)/i,/^(?:%%[^\\\\n]*)/i,/^(?:[\\\\s]+)/i,/^(?:title\\\\b)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accTitle\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*\\\\{\\\\s*)/i,/^(?:[\\\\}])/i,/^(?:[^\\\\}]*)/i,/^(?:[\\\"])/i,/^(?:[\\\"])/i,/^(?:[^\\\"]*)/i,/^(?:pie\\\\b)/i,/^(?:showData\\\\b)/i,/^(?::[\\\\s]*[\\\\d]+(?:\\\\.[\\\\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};return G}();I.lexer=V;function H(){this.yy={}}return H.prototype=I,I.Parser=H,new H}();J0.parser=J0;const NR=J0,BR=t=>t.match(/^\\\\s*pie/)!==null||t.match(/^\\\\s*bar/)!==null;let Cu={},td=!1;const IR={parseDirective:function(t,e,r){ze.parseDirective(this,t,e,r)},getConfig:()=>$().pie,addSection:function(t,e){t=he.sanitizeText(t,$()),Cu[t]===void 0&&(Cu[t]=e,B.debug(\\\"Added new section :\\\",t))},getSections:()=>Cu,cleanupValue:function(t){return t.substring(0,1)===\\\":\\\"&&(t=t.substring(1).trim()),Number(t.trim())},clear:function(){Cu={},td=!1,vn()},setAccTitle:nn,getAccTitle:kn,setDiagramTitle:hi,getDiagramTitle:di,setShowData:function(t){td=t},getShowData:function(){return td},getAccDescription:Tn,setAccDescription:wn};let Ti=$(),Ei;const jo=450,OR={draw:(t,e,r,n)=>{try{Ti=$(),B.debug(`Rendering info diagram\\n`+t);const E=$().securityLevel;let I;E===\\\"sandbox\\\"&&(I=St(\\\"#i\\\"+e));const V=St(E===\\\"sandbox\\\"?I.nodes()[0].contentDocument.body:\\\"body\\\"),H=E===\\\"sandbox\\\"?I.nodes()[0].contentDocument:document;n.db.clear(),n.parser.parse(t),B.debug(\\\"Parsed info diagram\\\");const G=H.getElementById(e);Ei=G.parentElement.offsetWidth,Ei===void 0&&(Ei=1200),Ti.useWidth!==void 0&&(Ei=Ti.useWidth),Ti.pie.useWidth!==void 0&&(Ei=Ti.pie.useWidth);const Y=V.select(\\\"#\\\"+e);xn(Y,jo,Ei,Ti.pie.useMaxWidth),G.setAttribute(\\\"viewBox\\\",\\\"0 0 \\\"+Ei+\\\" \\\"+jo);var i=40,s=18,a=4,o=Math.min(Ei,jo)/2-i,l=Y.append(\\\"g\\\").attr(\\\"transform\\\",\\\"translate(\\\"+Ei/2+\\\",\\\"+jo/2+\\\")\\\"),u=n.db.getSections(),d=0;Object.keys(u).forEach(function(N){d+=u[N]});const W=Ti.themeVariables;var f=[W.pie1,W.pie2,W.pie3,W.pie4,W.pie5,W.pie6,W.pie7,W.pie8,W.pie9,W.pie10,W.pie11,W.pie12],p=Jf().range(f),g=Object.entries(u).map(function(N,D){return{order:D,name:N[0],value:N[1]}}),b=Tk().value(function(N){return N.value}).sort(function(N,D){return N.order-D.order}),k=b(g),T=jh().innerRadius(0).outerRadius(o);l.selectAll(\\\"mySlices\\\").data(k).enter().append(\\\"path\\\").attr(\\\"d\\\",T).attr(\\\"fill\\\",function(N){return p(N.data.name)}).attr(\\\"class\\\",\\\"pieCircle\\\"),l.selectAll(\\\"mySlices\\\").data(k).enter().append(\\\"text\\\").text(function(N){return(N.data.value/d*100).toFixed(0)+\\\"%\\\"}).attr(\\\"transform\\\",function(N){return\\\"translate(\\\"+T.centroid(N)+\\\")\\\"}).style(\\\"text-anchor\\\",\\\"middle\\\").attr(\\\"class\\\",\\\"slice\\\"),l.append(\\\"text\\\").text(n.db.getDiagramTitle()).attr(\\\"x\\\",0).attr(\\\"y\\\",-(jo-50)/2).attr(\\\"class\\\",\\\"pieTitleText\\\");var L=l.selectAll(\\\".legend\\\").data(p.domain()).enter().append(\\\"g\\\").attr(\\\"class\\\",\\\"legend\\\").attr(\\\"transform\\\",function(N,D){const w=s+a,v=w*p.domain().length/2,M=12*s,m=D*w-v;return\\\"translate(\\\"+M+\\\",\\\"+m+\\\")\\\"});L.append(\\\"rect\\\").attr(\\\"width\\\",s).attr(\\\"height\\\",s).style(\\\"fill\\\",p).style(\\\"stroke\\\",p),L.data(k).append(\\\"text\\\").attr(\\\"x\\\",s+a).attr(\\\"y\\\",s-a).text(function(N){return n.db.getShowData()||Ti.showData||Ti.pie.showData?N.data.name+\\\" [\\\"+N.data.value+\\\"]\\\":N.data.name})}catch(E){B.error(\\\"Error while rendering info diagram\\\"),B.error(E)}}};var ed=function(){var t=function(Ot,P,z,X){for(z=z||{},X=Ot.length;X--;z[Ot[X]]=P);return z},e=[1,3],r=[1,5],n=[1,6],i=[1,7],s=[1,8],a=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],o=[1,22],l=[2,13],u=[1,26],d=[1,27],f=[1,28],p=[1,29],g=[1,30],b=[1,31],k=[1,24],T=[1,32],L=[1,33],E=[1,36],I=[71,72],V=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],H=[1,56],G=[1,57],Y=[1,58],W=[1,59],N=[1,60],D=[1,61],w=[1,62],v=[62,63],M=[1,74],m=[1,70],Q=[1,71],x=[1,72],ct=[1,73],Dt=[1,75],kt=[1,79],j=[1,80],ot=[1,77],rt=[1,78],nt=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],ut={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,\\\":\\\":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:\\\"error\\\",5:\\\"NEWLINE\\\",6:\\\"RD\\\",8:\\\"EOF\\\",12:\\\":\\\",14:\\\"acc_title\\\",15:\\\"acc_title_value\\\",16:\\\"acc_descr\\\",17:\\\"acc_descr_value\\\",18:\\\"acc_descr_multiline_value\\\",19:\\\"open_directive\\\",20:\\\"type_directive\\\",21:\\\"arg_directive\\\",22:\\\"close_directive\\\",28:\\\"STRUCT_START\\\",30:\\\"ID\\\",31:\\\"COLONSEP\\\",33:\\\"TEXT\\\",35:\\\"RISK\\\",37:\\\"VERIFYMTHD\\\",39:\\\"STRUCT_STOP\\\",40:\\\"REQUIREMENT\\\",41:\\\"FUNCTIONAL_REQUIREMENT\\\",42:\\\"INTERFACE_REQUIREMENT\\\",43:\\\"PERFORMANCE_REQUIREMENT\\\",44:\\\"PHYSICAL_REQUIREMENT\\\",45:\\\"DESIGN_CONSTRAINT\\\",46:\\\"LOW_RISK\\\",47:\\\"MED_RISK\\\",48:\\\"HIGH_RISK\\\",49:\\\"VERIFY_ANALYSIS\\\",50:\\\"VERIFY_DEMONSTRATION\\\",51:\\\"VERIFY_INSPECTION\\\",52:\\\"VERIFY_TEST\\\",53:\\\"ELEMENT\\\",56:\\\"TYPE\\\",58:\\\"DOCREF\\\",60:\\\"END_ARROW_L\\\",62:\\\"LINE\\\",63:\\\"END_ARROW_R\\\",64:\\\"CONTAINS\\\",65:\\\"COPIES\\\",66:\\\"DERIVES\\\",67:\\\"SATISFIES\\\",68:\\\"VERIFIES\\\",69:\\\"REFINES\\\",70:\\\"TRACES\\\",71:\\\"unqString\\\",72:\\\"qString\\\"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(P,z,X,F,O,A,J){var C=A.length-1;switch(O){case 6:this.$=A[C].trim(),F.setAccTitle(this.$);break;case 7:case 8:this.$=A[C].trim(),F.setAccDescription(this.$);break;case 9:F.parseDirective(\\\"%%{\\\",\\\"open_directive\\\");break;case 10:F.parseDirective(A[C],\\\"type_directive\\\");break;case 11:A[C]=A[C].trim().replace(/'/g,'\\\"'),F.parseDirective(A[C],\\\"arg_directive\\\");break;case 12:F.parseDirective(\\\"}%%\\\",\\\"close_directive\\\",\\\"pie\\\");break;case 13:this.$=[];break;case 19:F.addRequirement(A[C-3],A[C-4]);break;case 20:F.setNewReqId(A[C-2]);break;case 21:F.setNewReqText(A[C-2]);break;case 22:F.setNewReqRisk(A[C-2]);break;case 23:F.setNewReqVerifyMethod(A[C-2]);break;case 26:this.$=F.RequirementType.REQUIREMENT;break;case 27:this.$=F.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=F.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=F.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=F.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=F.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=F.RiskLevel.LOW_RISK;break;case 33:this.$=F.RiskLevel.MED_RISK;break;case 34:this.$=F.RiskLevel.HIGH_RISK;break;case 35:this.$=F.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=F.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=F.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=F.VerifyType.VERIFY_TEST;break;case 39:F.addElement(A[C-3]);break;case 40:F.setNewElementType(A[C-2]);break;case 41:F.setNewElementDocRef(A[C-2]);break;case 44:F.addRelationship(A[C-2],A[C],A[C-4]);break;case 45:F.addRelationship(A[C-2],A[C-4],A[C]);break;case 46:this.$=F.Relationships.CONTAINS;break;case 47:this.$=F.Relationships.COPIES;break;case 48:this.$=F.Relationships.DERIVES;break;case 49:this.$=F.Relationships.SATISFIES;break;case 50:this.$=F.Relationships.VERIFIES;break;case 51:this.$=F.Relationships.REFINES;break;case 52:this.$=F.Relationships.TRACES;break}},table:[{3:1,4:2,6:e,9:4,14:r,16:n,18:i,19:s},{1:[3]},{3:10,4:2,5:[1,9],6:e,9:4,14:r,16:n,18:i,19:s},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},t(a,[2,8]),{20:[2,9]},{3:16,4:2,6:e,9:4,14:r,16:n,18:i,19:s},{1:[2,2]},{4:21,5:o,7:17,8:l,9:4,14:r,16:n,18:i,19:s,23:18,24:19,25:20,26:23,32:25,40:u,41:d,42:f,43:p,44:g,45:b,53:k,71:T,72:L},{11:34,12:[1,35],22:E},t([12,22],[2,10]),t(a,[2,6]),t(a,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:o,7:38,8:l,9:4,14:r,16:n,18:i,19:s,23:18,24:19,25:20,26:23,32:25,40:u,41:d,42:f,43:p,44:g,45:b,53:k,71:T,72:L},{4:21,5:o,7:39,8:l,9:4,14:r,16:n,18:i,19:s,23:18,24:19,25:20,26:23,32:25,40:u,41:d,42:f,43:p,44:g,45:b,53:k,71:T,72:L},{4:21,5:o,7:40,8:l,9:4,14:r,16:n,18:i,19:s,23:18,24:19,25:20,26:23,32:25,40:u,41:d,42:f,43:p,44:g,45:b,53:k,71:T,72:L},{4:21,5:o,7:41,8:l,9:4,14:r,16:n,18:i,19:s,23:18,24:19,25:20,26:23,32:25,40:u,41:d,42:f,43:p,44:g,45:b,53:k,71:T,72:L},{4:21,5:o,7:42,8:l,9:4,14:r,16:n,18:i,19:s,23:18,24:19,25:20,26:23,32:25,40:u,41:d,42:f,43:p,44:g,45:b,53:k,71:T,72:L},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},t(I,[2,26]),t(I,[2,27]),t(I,[2,28]),t(I,[2,29]),t(I,[2,30]),t(I,[2,31]),t(V,[2,55]),t(V,[2,56]),t(a,[2,4]),{13:51,21:[1,52]},t(a,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:H,65:G,66:Y,67:W,68:N,69:D,70:w},{61:63,64:H,65:G,66:Y,67:W,68:N,69:D,70:w},{11:64,22:E},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},t(v,[2,46]),t(v,[2,47]),t(v,[2,48]),t(v,[2,49]),t(v,[2,50]),t(v,[2,51]),t(v,[2,52]),{63:[1,68]},t(a,[2,5]),{5:M,29:69,30:m,33:Q,35:x,37:ct,39:Dt},{5:kt,39:j,55:76,56:ot,58:rt},{32:81,71:T,72:L},{32:82,71:T,72:L},t(nt,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:M,29:87,30:m,33:Q,35:x,37:ct,39:Dt},t(nt,[2,25]),t(nt,[2,39]),{31:[1,88]},{31:[1,89]},{5:kt,39:j,55:90,56:ot,58:rt},t(nt,[2,43]),t(nt,[2,44]),t(nt,[2,45]),{32:91,71:T,72:L},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},t(nt,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},t(nt,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:M,29:116,30:m,33:Q,35:x,37:ct,39:Dt},{5:M,29:117,30:m,33:Q,35:x,37:ct,39:Dt},{5:M,29:118,30:m,33:Q,35:x,37:ct,39:Dt},{5:M,29:119,30:m,33:Q,35:x,37:ct,39:Dt},{5:kt,39:j,55:120,56:ot,58:rt},{5:kt,39:j,55:121,56:ot,58:rt},t(nt,[2,20]),t(nt,[2,21]),t(nt,[2,22]),t(nt,[2,23]),t(nt,[2,40]),t(nt,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(P,z){if(z.recoverable)this.trace(P);else{var X=new Error(P);throw X.hash=z,X}},parse:function(P){var z=this,X=[0],F=[],O=[null],A=[],J=this.table,C=\\\"\\\",ht=0,U=0,Yt=2,et=1,Mt=A.slice.call(arguments,1),Tt=Object.create(this.lexer),gt={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(gt.yy[Et]=this.yy[Et]);Tt.setInput(P,gt.yy),gt.yy.lexer=Tt,gt.yy.parser=this,typeof Tt.yylloc>\\\"u\\\"&&(Tt.yylloc={});var wt=Tt.yylloc;A.push(wt);var pt=Tt.options&&Tt.options.ranges;typeof gt.yy.parseError==\\\"function\\\"?this.parseError=gt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function st(){var ft;return ft=F.pop()||Tt.lex()||et,typeof ft!=\\\"number\\\"&&(ft instanceof Array&&(F=ft,ft=F.pop()),ft=z.symbols_[ft]||ft),ft}for(var le,Xt,jt,Kt,Gt={},Ee,Ht,Vt,Ft;;){if(Xt=X[X.length-1],this.defaultActions[Xt]?jt=this.defaultActions[Xt]:((le===null||typeof le>\\\"u\\\")&&(le=st()),jt=J[Xt]&&J[Xt][le]),typeof jt>\\\"u\\\"||!jt.length||!jt[0]){var xt=\\\"\\\";Ft=[];for(Ee in J[Xt])this.terminals_[Ee]&&Ee>Yt&&Ft.push(\\\"'\\\"+this.terminals_[Ee]+\\\"'\\\");Tt.showPosition?xt=\\\"Parse error on line \\\"+(ht+1)+`:\\n`+Tt.showPosition()+`\\nExpecting `+Ft.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[le]||le)+\\\"'\\\":xt=\\\"Parse error on line \\\"+(ht+1)+\\\": Unexpected \\\"+(le==et?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[le]||le)+\\\"'\\\"),this.parseError(xt,{text:Tt.match,token:this.terminals_[le]||le,line:Tt.yylineno,loc:wt,expected:Ft})}if(jt[0]instanceof Array&&jt.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+Xt+\\\", token: \\\"+le);switch(jt[0]){case 1:X.push(le),O.push(Tt.yytext),A.push(Tt.yylloc),X.push(jt[1]),le=null,U=Tt.yyleng,C=Tt.yytext,ht=Tt.yylineno,wt=Tt.yylloc;break;case 2:if(Ht=this.productions_[jt[1]][1],Gt.$=O[O.length-Ht],Gt._$={first_line:A[A.length-(Ht||1)].first_line,last_line:A[A.length-1].last_line,first_column:A[A.length-(Ht||1)].first_column,last_column:A[A.length-1].last_column},pt&&(Gt._$.range=[A[A.length-(Ht||1)].range[0],A[A.length-1].range[1]]),Kt=this.performAction.apply(Gt,[C,U,ht,gt.yy,jt[1],O,A].concat(Mt)),typeof Kt\u003C\\\"u\\\")return Kt;Ht&&(X=X.slice(0,-1*Ht*2),O=O.slice(0,-1*Ht),A=A.slice(0,-1*Ht)),X.push(this.productions_[jt[1]][0]),O.push(Gt.$),A.push(Gt._$),Vt=J[X[X.length-2]][X[X.length-1]],X.push(Vt);break;case 3:return!0}}return!0}},_t=function(){var Ot={EOF:1,parseError:function(z,X){if(this.yy.parser)this.yy.parser.parseError(z,X);else throw new Error(z)},setInput:function(P,z){return this.yy=z||this.yy||{},this._input=P,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var P=this._input[0];this.yytext+=P,this.yyleng++,this.offset++,this.match+=P,this.matched+=P;var z=P.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return z?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),P},unput:function(P){var z=P.length,X=P.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=P+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-z),this.offset-=z;var F=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),X.length-1&&(this.yylineno-=X.length-1);var O=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:X?(X.length===F.length?this.yylloc.first_column:0)+F[F.length-X.length].length-X[0].length:this.yylloc.first_column-z},this.options.ranges&&(this.yylloc.range=[O[0],O[0]+this.yyleng-z]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(P){this.unput(this.match.slice(P))},pastInput:function(){var P=this.matched.substr(0,this.matched.length-this.match.length);return(P.length>20?\\\"...\\\":\\\"\\\")+P.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var P=this.match;return P.length\u003C20&&(P+=this._input.substr(0,20-P.length)),(P.substr(0,20)+(P.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var P=this.pastInput(),z=new Array(P.length+1).join(\\\"-\\\");return P+this.upcomingInput()+`\\n`+z+\\\"^\\\"},test_match:function(P,z){var X,F,O;if(this.options.backtrack_lexer&&(O={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(O.yylloc.range=this.yylloc.range.slice(0))),F=P[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),F&&(this.yylineno+=F.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:F?F[F.length-1].length-F[F.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+P[0].length},this.yytext+=P[0],this.match+=P[0],this.matches=P,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(P[0].length),this.matched+=P[0],X=this.performAction.call(this,this.yy,this,z,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),X)return X;if(this._backtrack){for(var A in O)this[A]=O[A];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var P,z,X,F;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var O=this._currentRules(),A=0;A\u003CO.length;A++)if(X=this._input.match(this.rules[O[A]]),X&&(!z||X[0].length>z[0].length)){if(z=X,F=A,this.options.backtrack_lexer){if(P=this.test_match(X,O[A]),P!==!1)return P;if(this._backtrack){z=!1;continue}else return!1}else if(!this.options.flex)break}return z?(P=this.test_match(z,O[F]),P!==!1?P:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var z=this.next();return z||this.lex()},begin:function(z){this.conditionStack.push(z)},popState:function(){var z=this.conditionStack.length-1;return z>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(z){return z=this.conditionStack.length-1-Math.abs(z||0),z>=0?this.conditionStack[z]:\\\"INITIAL\\\"},pushState:function(z){this.begin(z)},stateStackSize:function(){return this.conditionStack.length},options:{\\\"case-insensitive\\\":!0},performAction:function(z,X,F,O){switch(F){case 0:return this.begin(\\\"open_directive\\\"),19;case 1:return this.begin(\\\"type_directive\\\"),20;case 2:return this.popState(),this.begin(\\\"arg_directive\\\"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return\\\"title\\\";case 6:return this.begin(\\\"acc_title\\\"),14;case 7:return this.popState(),\\\"acc_title_value\\\";case 8:return this.begin(\\\"acc_descr\\\"),16;case 9:return this.popState(),\\\"acc_descr_value\\\";case 10:this.begin(\\\"acc_descr_multiline\\\");break;case 11:this.popState();break;case 12:return\\\"acc_descr_multiline_value\\\";case 13:return 5;case 14:break;case 15:break;case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin(\\\"string\\\");break;case 53:this.popState();break;case 54:return\\\"qString\\\";case 55:return X.yytext=X.yytext.trim(),71}},rules:[/^(?:%%\\\\{)/i,/^(?:((?:(?!\\\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\\\}%%)/i,/^(?:((?:(?!\\\\}%%).|\\\\n)*))/i,/^(?:title\\\\s[^#\\\\n;]+)/i,/^(?:accTitle\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*\\\\{\\\\s*)/i,/^(?:[\\\\}])/i,/^(?:[^\\\\}]*)/i,/^(?:(\\\\r?\\\\n)+)/i,/^(?:\\\\s+)/i,/^(?:#[^\\\\n]*)/i,/^(?:%[^\\\\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\\\\b)/i,/^(?:\\\\{)/i,/^(?:\\\\})/i,/^(?::)/i,/^(?:id\\\\b)/i,/^(?:text\\\\b)/i,/^(?:risk\\\\b)/i,/^(?:verifyMethod\\\\b)/i,/^(?:requirement\\\\b)/i,/^(?:functionalRequirement\\\\b)/i,/^(?:interfaceRequirement\\\\b)/i,/^(?:performanceRequirement\\\\b)/i,/^(?:physicalRequirement\\\\b)/i,/^(?:designConstraint\\\\b)/i,/^(?:low\\\\b)/i,/^(?:medium\\\\b)/i,/^(?:high\\\\b)/i,/^(?:analysis\\\\b)/i,/^(?:demonstration\\\\b)/i,/^(?:inspection\\\\b)/i,/^(?:test\\\\b)/i,/^(?:element\\\\b)/i,/^(?:contains\\\\b)/i,/^(?:copies\\\\b)/i,/^(?:derives\\\\b)/i,/^(?:satisfies\\\\b)/i,/^(?:verifies\\\\b)/i,/^(?:refines\\\\b)/i,/^(?:traces\\\\b)/i,/^(?:type\\\\b)/i,/^(?:docref\\\\b)/i,/^(?:\u003C-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:[\\\"])/i,/^(?:[\\\"])/i,/^(?:[^\\\"]*)/i,/^(?:[\\\\w][^\\\\r\\\\n\\\\{\\\\\u003C\\\\>\\\\-\\\\=]*)/i],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55],inclusive:!0}}};return Ot}();ut.lexer=_t;function K(){this.yy={}}return K.prototype=ut,ut.Parser=K,new K}();ed.parser=ed;const RR=ed,FR=t=>t.match(/^\\\\s*requirement(Diagram)?/)!==null;let rd=[],Ur={},$o={},qi={},Xo={};const PR={RequirementType:{REQUIREMENT:\\\"Requirement\\\",FUNCTIONAL_REQUIREMENT:\\\"Functional Requirement\\\",INTERFACE_REQUIREMENT:\\\"Interface Requirement\\\",PERFORMANCE_REQUIREMENT:\\\"Performance Requirement\\\",PHYSICAL_REQUIREMENT:\\\"Physical Requirement\\\",DESIGN_CONSTRAINT:\\\"Design Constraint\\\"},RiskLevel:{LOW_RISK:\\\"Low\\\",MED_RISK:\\\"Medium\\\",HIGH_RISK:\\\"High\\\"},VerifyType:{VERIFY_ANALYSIS:\\\"Analysis\\\",VERIFY_DEMONSTRATION:\\\"Demonstration\\\",VERIFY_INSPECTION:\\\"Inspection\\\",VERIFY_TEST:\\\"Test\\\"},Relationships:{CONTAINS:\\\"contains\\\",COPIES:\\\"copies\\\",DERIVES:\\\"derives\\\",SATISFIES:\\\"satisfies\\\",VERIFIES:\\\"verifies\\\",REFINES:\\\"refines\\\",TRACES:\\\"traces\\\"},parseDirective:function(t,e,r){ze.parseDirective(this,t,e,r)},getConfig:()=>$().req,addRequirement:(t,e)=>($o[t]===void 0&&($o[t]={name:t,type:e,id:Ur.id,text:Ur.text,risk:Ur.risk,verifyMethod:Ur.verifyMethod}),Ur={},$o[t]),getRequirements:()=>$o,setNewReqId:t=>{Ur!==void 0&&(Ur.id=t)},setNewReqText:t=>{Ur!==void 0&&(Ur.text=t)},setNewReqRisk:t=>{Ur!==void 0&&(Ur.risk=t)},setNewReqVerifyMethod:t=>{Ur!==void 0&&(Ur.verifyMethod=t)},setAccTitle:nn,getAccTitle:kn,setAccDescription:wn,getAccDescription:Tn,addElement:t=>(Xo[t]===void 0&&(Xo[t]={name:t,type:qi.type,docRef:qi.docRef},B.info(\\\"Added new requirement: \\\",t)),qi={},Xo[t]),getElements:()=>Xo,setNewElementType:t=>{qi!==void 0&&(qi.type=t)},setNewElementDocRef:t=>{qi!==void 0&&(qi.docRef=t)},addRelationship:(t,e,r)=>{rd.push({type:t,src:e,dst:r})},getRelationships:()=>rd,clear:()=>{rd=[],Ur={},$o={},qi={},Xo={},vn()}},nd={CONTAINS:\\\"contains\\\",ARROW:\\\"arrow\\\"},R3={ReqMarkers:nd,insertLineEndings:(t,e)=>{let r=t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",nd.CONTAINS+\\\"_line_ending\\\").attr(\\\"refX\\\",0).attr(\\\"refY\\\",e.line_height/2).attr(\\\"markerWidth\\\",e.line_height).attr(\\\"markerHeight\\\",e.line_height).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"g\\\");r.append(\\\"circle\\\").attr(\\\"cx\\\",e.line_height/2).attr(\\\"cy\\\",e.line_height/2).attr(\\\"r\\\",e.line_height/2).attr(\\\"fill\\\",\\\"none\\\"),r.append(\\\"line\\\").attr(\\\"x1\\\",0).attr(\\\"x2\\\",e.line_height).attr(\\\"y1\\\",e.line_height/2).attr(\\\"y2\\\",e.line_height/2).attr(\\\"stroke-width\\\",1),r.append(\\\"line\\\").attr(\\\"y1\\\",0).attr(\\\"y2\\\",e.line_height).attr(\\\"x1\\\",e.line_height/2).attr(\\\"x2\\\",e.line_height/2).attr(\\\"stroke-width\\\",1),t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",nd.ARROW+\\\"_line_ending\\\").attr(\\\"refX\\\",e.line_height).attr(\\\"refY\\\",.5*e.line_height).attr(\\\"markerWidth\\\",e.line_height).attr(\\\"markerHeight\\\",e.line_height).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",`M0,0\\n L${e.line_height},${e.line_height/2}\\n M${e.line_height},${e.line_height/2}\\n L0,${e.line_height}`).attr(\\\"stroke-width\\\",1)}};let qe={},F3=0;const P3=(t,e)=>t.insert(\\\"rect\\\",\\\"#\\\"+e).attr(\\\"class\\\",\\\"req reqBox\\\").attr(\\\"x\\\",0).attr(\\\"y\\\",0).attr(\\\"width\\\",qe.rect_min_width+\\\"px\\\").attr(\\\"height\\\",qe.rect_min_height+\\\"px\\\"),Y3=(t,e,r)=>{let n=qe.rect_min_width/2,i=t.append(\\\"text\\\").attr(\\\"class\\\",\\\"req reqLabel reqTitle\\\").attr(\\\"id\\\",e).attr(\\\"x\\\",n).attr(\\\"y\\\",qe.rect_padding).attr(\\\"dominant-baseline\\\",\\\"hanging\\\"),s=0;r.forEach(u=>{s==0?i.append(\\\"tspan\\\").attr(\\\"text-anchor\\\",\\\"middle\\\").attr(\\\"x\\\",qe.rect_min_width/2).attr(\\\"dy\\\",0).text(u):i.append(\\\"tspan\\\").attr(\\\"text-anchor\\\",\\\"middle\\\").attr(\\\"x\\\",qe.rect_min_width/2).attr(\\\"dy\\\",qe.line_height*.75).text(u),s++});let a=1.5*qe.rect_padding,o=s*qe.line_height*.75,l=a+o;return t.append(\\\"line\\\").attr(\\\"class\\\",\\\"req-title-line\\\").attr(\\\"x1\\\",\\\"0\\\").attr(\\\"x2\\\",qe.rect_min_width).attr(\\\"y1\\\",l).attr(\\\"y2\\\",l),{titleNode:i,y:l}},V3=(t,e,r,n)=>{let i=t.append(\\\"text\\\").attr(\\\"class\\\",\\\"req reqLabel\\\").attr(\\\"id\\\",e).attr(\\\"x\\\",qe.rect_padding).attr(\\\"y\\\",n).attr(\\\"dominant-baseline\\\",\\\"hanging\\\"),s=0;const a=30;let o=[];return r.forEach(l=>{let u=l.length;for(;u>a&&s\u003C3;){let d=l.substring(0,a);l=l.substring(a,l.length),u=l.length,o[o.length]=d,s++}if(s==3){let d=o[o.length-1];o[o.length-1]=d.substring(0,d.length-4)+\\\"...\\\"}else o[o.length]=l;s=0}),o.forEach(l=>{i.append(\\\"tspan\\\").attr(\\\"x\\\",qe.rect_padding).attr(\\\"dy\\\",qe.line_height).text(l)}),i},YR=(t,e,r,n)=>{const i=e.node().getTotalLength(),s=e.node().getPointAtLength(i*.5),a=\\\"rel\\\"+F3;F3++;const l=t.append(\\\"text\\\").attr(\\\"class\\\",\\\"req relationshipLabel\\\").attr(\\\"id\\\",a).attr(\\\"x\\\",s.x).attr(\\\"y\\\",s.y).attr(\\\"text-anchor\\\",\\\"middle\\\").attr(\\\"dominant-baseline\\\",\\\"middle\\\").text(n).node().getBBox();t.insert(\\\"rect\\\",\\\"#\\\"+a).attr(\\\"class\\\",\\\"req reqLabelBox\\\").attr(\\\"x\\\",s.x-l.width/2).attr(\\\"y\\\",s.y-l.height/2).attr(\\\"width\\\",l.width).attr(\\\"height\\\",l.height).attr(\\\"fill\\\",\\\"white\\\").attr(\\\"fill-opacity\\\",\\\"85%\\\")},VR=function(t,e,r,n,i){const s=r.edge(Ma(e.src),Ma(e.dst)),a=Js().x(function(l){return l.x}).y(function(l){return l.y}),o=t.insert(\\\"path\\\",\\\"#\\\"+n).attr(\\\"class\\\",\\\"er relationshipLine\\\").attr(\\\"d\\\",a(s.points)).attr(\\\"fill\\\",\\\"none\\\");e.type==i.db.Relationships.CONTAINS?o.attr(\\\"marker-start\\\",\\\"url(\\\"+he.getUrl(qe.arrowMarkerAbsolute)+\\\"#\\\"+e.type+\\\"_line_ending)\\\"):(o.attr(\\\"stroke-dasharray\\\",\\\"10,7\\\"),o.attr(\\\"marker-end\\\",\\\"url(\\\"+he.getUrl(qe.arrowMarkerAbsolute)+\\\"#\\\"+R3.ReqMarkers.ARROW+\\\"_line_ending)\\\")),YR(t,o,qe,`\u003C\u003C${e.type}>>`)},UR=(t,e,r)=>{Object.keys(t).forEach(n=>{let i=t[n];n=Ma(n),B.info(\\\"Added new requirement: \\\",n);const s=r.append(\\\"g\\\").attr(\\\"id\\\",n),a=\\\"req-\\\"+n,o=P3(s,a);let l=Y3(s,n+\\\"_title\\\",[`\u003C\u003C${i.type}>>`,`${i.name}`]);V3(s,n+\\\"_body\\\",[`Id: ${i.id}`,`Text: ${i.text}`,`Risk: ${i.risk}`,`Verification: ${i.verifyMethod}`],l.y);const u=o.node().getBBox();e.setNode(n,{width:u.width,height:u.height,shape:\\\"rect\\\",id:n})})},zR=(t,e,r)=>{Object.keys(t).forEach(n=>{let i=t[n];const s=Ma(n),a=r.append(\\\"g\\\").attr(\\\"id\\\",s),o=\\\"element-\\\"+s,l=P3(a,o);let u=Y3(a,o+\\\"_title\\\",[\\\"\u003C\u003CElement>>\\\",`${n}`]);V3(a,o+\\\"_body\\\",[`Type: ${i.type||\\\"Not Specified\\\"}`,`Doc Ref: ${i.docRef||\\\"None\\\"}`],u.y);const d=l.node().getBBox();e.setNode(s,{width:d.width,height:d.height,shape:\\\"rect\\\",id:s})})},WR=(t,e)=>(t.forEach(function(r){let n=Ma(r.src),i=Ma(r.dst);e.setEdge(n,i,{relationship:r})}),t),HR=function(t,e){e.nodes().forEach(function(r){r!==void 0&&e.node(r)!==void 0&&(t.select(\\\"#\\\"+r),t.select(\\\"#\\\"+r).attr(\\\"transform\\\",\\\"translate(\\\"+(e.node(r).x-e.node(r).width/2)+\\\",\\\"+(e.node(r).y-e.node(r).height/2)+\\\" )\\\"))})},Ma=t=>t.replace(/\\\\s/g,\\\"\\\").replace(/\\\\./g,\\\"_\\\"),GR={draw:(t,e,r,n)=>{qe=$().requirement,n.db.clear(),n.parser.parse(t);const i=qe.securityLevel;let s;i===\\\"sandbox\\\"&&(s=St(\\\"#i\\\"+e));const o=St(i===\\\"sandbox\\\"?s.nodes()[0].contentDocument.body:\\\"body\\\").select(`[id='${e}']`);R3.insertLineEndings(o,qe);const l=new sr({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:qe.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let u=n.db.getRequirements(),d=n.db.getElements(),f=n.db.getRelationships();UR(u,l,o),zR(d,l,o),WR(f,l),Ea(l),HR(o,l),f.forEach(function(T){VR(o,T,l,e,n)});const p=qe.rect_padding,g=o.node().getBBox(),b=g.width+p*2,k=g.height+p*2;xn(o,k,b,qe.useMaxWidth),o.attr(\\\"viewBox\\\",`${g.x-p} ${g.y-p} ${b} ${k}`)}};var id=function(){var t=function(Ot,P,z,X){for(z=z||{},X=Ot.length;X--;z[Ot[X]]=P);return z},e=[1,2],r=[1,3],n=[1,5],i=[1,7],s=[2,5],a=[1,15],o=[1,17],l=[1,18],u=[1,19],d=[1,21],f=[1,22],p=[1,23],g=[1,29],b=[1,30],k=[1,31],T=[1,32],L=[1,33],E=[1,34],I=[1,35],V=[1,36],H=[1,37],G=[1,38],Y=[1,39],W=[1,40],N=[1,43],D=[1,44],w=[1,45],v=[1,46],M=[1,47],m=[1,48],Q=[1,51],x=[1,4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,50,51,52,53,58,59,60,61,69,79],ct=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,53,58,59,60,61,69,79],Dt=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,52,53,58,59,60,61,69,79],kt=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,51,53,58,59,60,61,69,79],j=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,50,53,58,59,60,61,69,79],ot=[67,68,69],rt=[1,121],nt=[1,4,5,7,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,50,51,52,53,58,59,60,61,69,79],ut={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,openDirective:11,typeDirective:12,closeDirective:13,\\\":\\\":14,argDirective:15,participant:16,actor:17,AS:18,restOfLine:19,participant_actor:20,signal:21,autonumber:22,NUM:23,off:24,activate:25,deactivate:26,note_statement:27,links_statement:28,link_statement:29,properties_statement:30,details_statement:31,title:32,legacy_title:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,loop:39,end:40,rect:41,opt:42,alt:43,else_sections:44,par:45,par_sections:46,critical:47,option_sections:48,break:49,option:50,and:51,else:52,note:53,placement:54,text2:55,over:56,actor_pair:57,links:58,link:59,properties:60,details:61,spaceList:62,\\\",\\\":63,left_of:64,right_of:65,signaltype:66,\\\"+\\\":67,\\\"-\\\":68,ACTOR:69,SOLID_OPEN_ARROW:70,DOTTED_OPEN_ARROW:71,SOLID_ARROW:72,DOTTED_ARROW:73,SOLID_CROSS:74,DOTTED_CROSS:75,SOLID_POINT:76,DOTTED_POINT:77,TXT:78,open_directive:79,type_directive:80,arg_directive:81,close_directive:82,$accept:0,$end:1},terminals_:{2:\\\"error\\\",4:\\\"SPACE\\\",5:\\\"NEWLINE\\\",7:\\\"SD\\\",14:\\\":\\\",16:\\\"participant\\\",18:\\\"AS\\\",19:\\\"restOfLine\\\",20:\\\"participant_actor\\\",22:\\\"autonumber\\\",23:\\\"NUM\\\",24:\\\"off\\\",25:\\\"activate\\\",26:\\\"deactivate\\\",32:\\\"title\\\",33:\\\"legacy_title\\\",34:\\\"acc_title\\\",35:\\\"acc_title_value\\\",36:\\\"acc_descr\\\",37:\\\"acc_descr_value\\\",38:\\\"acc_descr_multiline_value\\\",39:\\\"loop\\\",40:\\\"end\\\",41:\\\"rect\\\",42:\\\"opt\\\",43:\\\"alt\\\",45:\\\"par\\\",47:\\\"critical\\\",49:\\\"break\\\",50:\\\"option\\\",51:\\\"and\\\",52:\\\"else\\\",53:\\\"note\\\",56:\\\"over\\\",58:\\\"links\\\",59:\\\"link\\\",60:\\\"properties\\\",61:\\\"details\\\",63:\\\",\\\",64:\\\"left_of\\\",65:\\\"right_of\\\",67:\\\"+\\\",68:\\\"-\\\",69:\\\"ACTOR\\\",70:\\\"SOLID_OPEN_ARROW\\\",71:\\\"DOTTED_OPEN_ARROW\\\",72:\\\"SOLID_ARROW\\\",73:\\\"DOTTED_ARROW\\\",74:\\\"SOLID_CROSS\\\",75:\\\"DOTTED_CROSS\\\",76:\\\"SOLID_POINT\\\",77:\\\"DOTTED_POINT\\\",78:\\\"TXT\\\",79:\\\"open_directive\\\",80:\\\"type_directive\\\",81:\\\"arg_directive\\\",82:\\\"close_directive\\\"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,5],[10,3],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[48,1],[48,4],[46,1],[46,4],[44,1],[44,4],[27,4],[27,4],[28,3],[29,3],[30,3],[31,3],[62,2],[62,1],[57,3],[57,1],[54,1],[54,1],[21,5],[21,5],[21,4],[17,1],[66,1],[66,1],[66,1],[66,1],[66,1],[66,1],[66,1],[66,1],[55,1],[11,1],[12,1],[15,1],[13,1]],performAction:function(P,z,X,F,O,A,J){var C=A.length-1;switch(O){case 4:return F.apply(A[C]),A[C];case 5:this.$=[];break;case 6:A[C-1].push(A[C]),this.$=A[C-1];break;case 7:case 8:this.$=A[C];break;case 9:this.$=[];break;case 12:A[C-3].type=\\\"addParticipant\\\",A[C-3].description=F.parseMessage(A[C-1]),this.$=A[C-3];break;case 13:A[C-1].type=\\\"addParticipant\\\",this.$=A[C-1];break;case 14:A[C-3].type=\\\"addActor\\\",A[C-3].description=F.parseMessage(A[C-1]),this.$=A[C-3];break;case 15:A[C-1].type=\\\"addActor\\\",this.$=A[C-1];break;case 17:this.$={type:\\\"sequenceIndex\\\",sequenceIndex:Number(A[C-2]),sequenceIndexStep:Number(A[C-1]),sequenceVisible:!0,signalType:F.LINETYPE.AUTONUMBER};break;case 18:this.$={type:\\\"sequenceIndex\\\",sequenceIndex:Number(A[C-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:F.LINETYPE.AUTONUMBER};break;case 19:this.$={type:\\\"sequenceIndex\\\",sequenceVisible:!1,signalType:F.LINETYPE.AUTONUMBER};break;case 20:this.$={type:\\\"sequenceIndex\\\",sequenceVisible:!0,signalType:F.LINETYPE.AUTONUMBER};break;case 21:this.$={type:\\\"activeStart\\\",signalType:F.LINETYPE.ACTIVE_START,actor:A[C-1]};break;case 22:this.$={type:\\\"activeEnd\\\",signalType:F.LINETYPE.ACTIVE_END,actor:A[C-1]};break;case 28:F.setDiagramTitle(A[C].substring(6)),this.$=A[C].substring(6);break;case 29:F.setDiagramTitle(A[C].substring(7)),this.$=A[C].substring(7);break;case 30:this.$=A[C].trim(),F.setAccTitle(this.$);break;case 31:case 32:this.$=A[C].trim(),F.setAccDescription(this.$);break;case 33:A[C-1].unshift({type:\\\"loopStart\\\",loopText:F.parseMessage(A[C-2]),signalType:F.LINETYPE.LOOP_START}),A[C-1].push({type:\\\"loopEnd\\\",loopText:A[C-2],signalType:F.LINETYPE.LOOP_END}),this.$=A[C-1];break;case 34:A[C-1].unshift({type:\\\"rectStart\\\",color:F.parseMessage(A[C-2]),signalType:F.LINETYPE.RECT_START}),A[C-1].push({type:\\\"rectEnd\\\",color:F.parseMessage(A[C-2]),signalType:F.LINETYPE.RECT_END}),this.$=A[C-1];break;case 35:A[C-1].unshift({type:\\\"optStart\\\",optText:F.parseMessage(A[C-2]),signalType:F.LINETYPE.OPT_START}),A[C-1].push({type:\\\"optEnd\\\",optText:F.parseMessage(A[C-2]),signalType:F.LINETYPE.OPT_END}),this.$=A[C-1];break;case 36:A[C-1].unshift({type:\\\"altStart\\\",altText:F.parseMessage(A[C-2]),signalType:F.LINETYPE.ALT_START}),A[C-1].push({type:\\\"altEnd\\\",signalType:F.LINETYPE.ALT_END}),this.$=A[C-1];break;case 37:A[C-1].unshift({type:\\\"parStart\\\",parText:F.parseMessage(A[C-2]),signalType:F.LINETYPE.PAR_START}),A[C-1].push({type:\\\"parEnd\\\",signalType:F.LINETYPE.PAR_END}),this.$=A[C-1];break;case 38:A[C-1].unshift({type:\\\"criticalStart\\\",criticalText:F.parseMessage(A[C-2]),signalType:F.LINETYPE.CRITICAL_START}),A[C-1].push({type:\\\"criticalEnd\\\",signalType:F.LINETYPE.CRITICAL_END}),this.$=A[C-1];break;case 39:A[C-1].unshift({type:\\\"breakStart\\\",breakText:F.parseMessage(A[C-2]),signalType:F.LINETYPE.BREAK_START}),A[C-1].push({type:\\\"breakEnd\\\",optText:F.parseMessage(A[C-2]),signalType:F.LINETYPE.BREAK_END}),this.$=A[C-1];break;case 42:this.$=A[C-3].concat([{type:\\\"option\\\",optionText:F.parseMessage(A[C-1]),signalType:F.LINETYPE.CRITICAL_OPTION},A[C]]);break;case 44:this.$=A[C-3].concat([{type:\\\"and\\\",parText:F.parseMessage(A[C-1]),signalType:F.LINETYPE.PAR_AND},A[C]]);break;case 46:this.$=A[C-3].concat([{type:\\\"else\\\",altText:F.parseMessage(A[C-1]),signalType:F.LINETYPE.ALT_ELSE},A[C]]);break;case 47:this.$=[A[C-1],{type:\\\"addNote\\\",placement:A[C-2],actor:A[C-1].actor,text:A[C]}];break;case 48:A[C-2]=[].concat(A[C-1],A[C-1]).slice(0,2),A[C-2][0]=A[C-2][0].actor,A[C-2][1]=A[C-2][1].actor,this.$=[A[C-1],{type:\\\"addNote\\\",placement:F.PLACEMENT.OVER,actor:A[C-2].slice(0,2),text:A[C]}];break;case 49:this.$=[A[C-1],{type:\\\"addLinks\\\",actor:A[C-1].actor,text:A[C]}];break;case 50:this.$=[A[C-1],{type:\\\"addALink\\\",actor:A[C-1].actor,text:A[C]}];break;case 51:this.$=[A[C-1],{type:\\\"addProperties\\\",actor:A[C-1].actor,text:A[C]}];break;case 52:this.$=[A[C-1],{type:\\\"addDetails\\\",actor:A[C-1].actor,text:A[C]}];break;case 55:this.$=[A[C-2],A[C]];break;case 56:this.$=A[C];break;case 57:this.$=F.PLACEMENT.LEFTOF;break;case 58:this.$=F.PLACEMENT.RIGHTOF;break;case 59:this.$=[A[C-4],A[C-1],{type:\\\"addMessage\\\",from:A[C-4].actor,to:A[C-1].actor,signalType:A[C-3],msg:A[C]},{type:\\\"activeStart\\\",signalType:F.LINETYPE.ACTIVE_START,actor:A[C-1]}];break;case 60:this.$=[A[C-4],A[C-1],{type:\\\"addMessage\\\",from:A[C-4].actor,to:A[C-1].actor,signalType:A[C-3],msg:A[C]},{type:\\\"activeEnd\\\",signalType:F.LINETYPE.ACTIVE_END,actor:A[C-4]}];break;case 61:this.$=[A[C-3],A[C-1],{type:\\\"addMessage\\\",from:A[C-3].actor,to:A[C-1].actor,signalType:A[C-2],msg:A[C]}];break;case 62:this.$={type:\\\"addParticipant\\\",actor:A[C]};break;case 63:this.$=F.LINETYPE.SOLID_OPEN;break;case 64:this.$=F.LINETYPE.DOTTED_OPEN;break;case 65:this.$=F.LINETYPE.SOLID;break;case 66:this.$=F.LINETYPE.DOTTED;break;case 67:this.$=F.LINETYPE.SOLID_CROSS;break;case 68:this.$=F.LINETYPE.DOTTED_CROSS;break;case 69:this.$=F.LINETYPE.SOLID_POINT;break;case 70:this.$=F.LINETYPE.DOTTED_POINT;break;case 71:this.$=F.parseMessage(A[C].trim().substring(1));break;case 72:F.parseDirective(\\\"%%{\\\",\\\"open_directive\\\");break;case 73:F.parseDirective(A[C],\\\"type_directive\\\");break;case 74:A[C]=A[C].trim().replace(/'/g,'\\\"'),F.parseDirective(A[C],\\\"arg_directive\\\");break;case 75:F.parseDirective(\\\"}%%\\\",\\\"close_directive\\\",\\\"sequence\\\");break}},table:[{3:1,4:e,5:r,6:4,7:n,11:6,79:i},{1:[3]},{3:8,4:e,5:r,6:4,7:n,11:6,79:i},{3:9,4:e,5:r,6:4,7:n,11:6,79:i},{3:10,4:e,5:r,6:4,7:n,11:6,79:i},t([1,4,5,16,20,22,25,26,32,33,34,36,38,39,41,42,43,45,47,49,53,58,59,60,61,69,79],s,{8:11}),{12:12,80:[1,13]},{80:[2,72]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:a,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:u,21:20,22:d,25:f,26:p,27:24,28:25,29:26,30:27,31:28,32:g,33:b,34:k,36:T,38:L,39:E,41:I,42:V,43:H,45:G,47:Y,49:W,53:N,58:D,59:w,60:v,61:M,69:m,79:i},{13:49,14:[1,50],82:Q},t([14,82],[2,73]),t(x,[2,6]),{6:41,10:52,11:6,16:l,17:42,20:u,21:20,22:d,25:f,26:p,27:24,28:25,29:26,30:27,31:28,32:g,33:b,34:k,36:T,38:L,39:E,41:I,42:V,43:H,45:G,47:Y,49:W,53:N,58:D,59:w,60:v,61:M,69:m,79:i},t(x,[2,8]),t(x,[2,9]),{17:53,69:m},{17:54,69:m},{5:[1,55]},{5:[1,58],23:[1,56],24:[1,57]},{17:59,69:m},{17:60,69:m},{5:[1,61]},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},t(x,[2,28]),t(x,[2,29]),{35:[1,66]},{37:[1,67]},t(x,[2,32]),{19:[1,68]},{19:[1,69]},{19:[1,70]},{19:[1,71]},{19:[1,72]},{19:[1,73]},{19:[1,74]},t(x,[2,40]),{66:75,70:[1,76],71:[1,77],72:[1,78],73:[1,79],74:[1,80],75:[1,81],76:[1,82],77:[1,83]},{54:84,56:[1,85],64:[1,86],65:[1,87]},{17:88,69:m},{17:89,69:m},{17:90,69:m},{17:91,69:m},t([5,18,63,70,71,72,73,74,75,76,77,78],[2,62]),{5:[1,92]},{15:93,81:[1,94]},{5:[2,75]},t(x,[2,7]),{5:[1,96],18:[1,95]},{5:[1,98],18:[1,97]},t(x,[2,16]),{5:[1,100],23:[1,99]},{5:[1,101]},t(x,[2,20]),{5:[1,102]},{5:[1,103]},t(x,[2,23]),t(x,[2,24]),t(x,[2,25]),t(x,[2,26]),t(x,[2,27]),t(x,[2,30]),t(x,[2,31]),t(ct,s,{8:104}),t(ct,s,{8:105}),t(ct,s,{8:106}),t(Dt,s,{44:107,8:108}),t(kt,s,{46:109,8:110}),t(j,s,{48:111,8:112}),t(ct,s,{8:113}),{17:116,67:[1,114],68:[1,115],69:m},t(ot,[2,63]),t(ot,[2,64]),t(ot,[2,65]),t(ot,[2,66]),t(ot,[2,67]),t(ot,[2,68]),t(ot,[2,69]),t(ot,[2,70]),{17:117,69:m},{17:119,57:118,69:m},{69:[2,57]},{69:[2,58]},{55:120,78:rt},{55:122,78:rt},{55:123,78:rt},{55:124,78:rt},t(nt,[2,10]),{13:125,82:Q},{82:[2,74]},{19:[1,126]},t(x,[2,13]),{19:[1,127]},t(x,[2,15]),{5:[1,128]},t(x,[2,18]),t(x,[2,19]),t(x,[2,21]),t(x,[2,22]),{4:a,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:u,21:20,22:d,25:f,26:p,27:24,28:25,29:26,30:27,31:28,32:g,33:b,34:k,36:T,38:L,39:E,40:[1,129],41:I,42:V,43:H,45:G,47:Y,49:W,53:N,58:D,59:w,60:v,61:M,69:m,79:i},{4:a,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:u,21:20,22:d,25:f,26:p,27:24,28:25,29:26,30:27,31:28,32:g,33:b,34:k,36:T,38:L,39:E,40:[1,130],41:I,42:V,43:H,45:G,47:Y,49:W,53:N,58:D,59:w,60:v,61:M,69:m,79:i},{4:a,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:u,21:20,22:d,25:f,26:p,27:24,28:25,29:26,30:27,31:28,32:g,33:b,34:k,36:T,38:L,39:E,40:[1,131],41:I,42:V,43:H,45:G,47:Y,49:W,53:N,58:D,59:w,60:v,61:M,69:m,79:i},{40:[1,132]},{4:a,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:u,21:20,22:d,25:f,26:p,27:24,28:25,29:26,30:27,31:28,32:g,33:b,34:k,36:T,38:L,39:E,40:[2,45],41:I,42:V,43:H,45:G,47:Y,49:W,52:[1,133],53:N,58:D,59:w,60:v,61:M,69:m,79:i},{40:[1,134]},{4:a,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:u,21:20,22:d,25:f,26:p,27:24,28:25,29:26,30:27,31:28,32:g,33:b,34:k,36:T,38:L,39:E,40:[2,43],41:I,42:V,43:H,45:G,47:Y,49:W,51:[1,135],53:N,58:D,59:w,60:v,61:M,69:m,79:i},{40:[1,136]},{4:a,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:u,21:20,22:d,25:f,26:p,27:24,28:25,29:26,30:27,31:28,32:g,33:b,34:k,36:T,38:L,39:E,40:[2,41],41:I,42:V,43:H,45:G,47:Y,49:W,50:[1,137],53:N,58:D,59:w,60:v,61:M,69:m,79:i},{4:a,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:u,21:20,22:d,25:f,26:p,27:24,28:25,29:26,30:27,31:28,32:g,33:b,34:k,36:T,38:L,39:E,40:[1,138],41:I,42:V,43:H,45:G,47:Y,49:W,53:N,58:D,59:w,60:v,61:M,69:m,79:i},{17:139,69:m},{17:140,69:m},{55:141,78:rt},{55:142,78:rt},{55:143,78:rt},{63:[1,144],78:[2,56]},{5:[2,49]},{5:[2,71]},{5:[2,50]},{5:[2,51]},{5:[2,52]},{5:[1,145]},{5:[1,146]},{5:[1,147]},t(x,[2,17]),t(x,[2,33]),t(x,[2,34]),t(x,[2,35]),t(x,[2,36]),{19:[1,148]},t(x,[2,37]),{19:[1,149]},t(x,[2,38]),{19:[1,150]},t(x,[2,39]),{55:151,78:rt},{55:152,78:rt},{5:[2,61]},{5:[2,47]},{5:[2,48]},{17:153,69:m},t(nt,[2,11]),t(x,[2,12]),t(x,[2,14]),t(Dt,s,{8:108,44:154}),t(kt,s,{8:110,46:155}),t(j,s,{8:112,48:156}),{5:[2,59]},{5:[2,60]},{78:[2,55]},{40:[2,46]},{40:[2,44]},{40:[2,42]}],defaultActions:{7:[2,72],8:[2,1],9:[2,2],10:[2,3],51:[2,75],86:[2,57],87:[2,58],94:[2,74],120:[2,49],121:[2,71],122:[2,50],123:[2,51],124:[2,52],141:[2,61],142:[2,47],143:[2,48],151:[2,59],152:[2,60],153:[2,55],154:[2,46],155:[2,44],156:[2,42]},parseError:function(P,z){if(z.recoverable)this.trace(P);else{var X=new Error(P);throw X.hash=z,X}},parse:function(P){var z=this,X=[0],F=[],O=[null],A=[],J=this.table,C=\\\"\\\",ht=0,U=0,Yt=2,et=1,Mt=A.slice.call(arguments,1),Tt=Object.create(this.lexer),gt={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(gt.yy[Et]=this.yy[Et]);Tt.setInput(P,gt.yy),gt.yy.lexer=Tt,gt.yy.parser=this,typeof Tt.yylloc>\\\"u\\\"&&(Tt.yylloc={});var wt=Tt.yylloc;A.push(wt);var pt=Tt.options&&Tt.options.ranges;typeof gt.yy.parseError==\\\"function\\\"?this.parseError=gt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function st(){var ft;return ft=F.pop()||Tt.lex()||et,typeof ft!=\\\"number\\\"&&(ft instanceof Array&&(F=ft,ft=F.pop()),ft=z.symbols_[ft]||ft),ft}for(var le,Xt,jt,Kt,Gt={},Ee,Ht,Vt,Ft;;){if(Xt=X[X.length-1],this.defaultActions[Xt]?jt=this.defaultActions[Xt]:((le===null||typeof le>\\\"u\\\")&&(le=st()),jt=J[Xt]&&J[Xt][le]),typeof jt>\\\"u\\\"||!jt.length||!jt[0]){var xt=\\\"\\\";Ft=[];for(Ee in J[Xt])this.terminals_[Ee]&&Ee>Yt&&Ft.push(\\\"'\\\"+this.terminals_[Ee]+\\\"'\\\");Tt.showPosition?xt=\\\"Parse error on line \\\"+(ht+1)+`:\\n`+Tt.showPosition()+`\\nExpecting `+Ft.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[le]||le)+\\\"'\\\":xt=\\\"Parse error on line \\\"+(ht+1)+\\\": Unexpected \\\"+(le==et?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[le]||le)+\\\"'\\\"),this.parseError(xt,{text:Tt.match,token:this.terminals_[le]||le,line:Tt.yylineno,loc:wt,expected:Ft})}if(jt[0]instanceof Array&&jt.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+Xt+\\\", token: \\\"+le);switch(jt[0]){case 1:X.push(le),O.push(Tt.yytext),A.push(Tt.yylloc),X.push(jt[1]),le=null,U=Tt.yyleng,C=Tt.yytext,ht=Tt.yylineno,wt=Tt.yylloc;break;case 2:if(Ht=this.productions_[jt[1]][1],Gt.$=O[O.length-Ht],Gt._$={first_line:A[A.length-(Ht||1)].first_line,last_line:A[A.length-1].last_line,first_column:A[A.length-(Ht||1)].first_column,last_column:A[A.length-1].last_column},pt&&(Gt._$.range=[A[A.length-(Ht||1)].range[0],A[A.length-1].range[1]]),Kt=this.performAction.apply(Gt,[C,U,ht,gt.yy,jt[1],O,A].concat(Mt)),typeof Kt\u003C\\\"u\\\")return Kt;Ht&&(X=X.slice(0,-1*Ht*2),O=O.slice(0,-1*Ht),A=A.slice(0,-1*Ht)),X.push(this.productions_[jt[1]][0]),O.push(Gt.$),A.push(Gt._$),Vt=J[X[X.length-2]][X[X.length-1]],X.push(Vt);break;case 3:return!0}}return!0}},_t=function(){var Ot={EOF:1,parseError:function(z,X){if(this.yy.parser)this.yy.parser.parseError(z,X);else throw new Error(z)},setInput:function(P,z){return this.yy=z||this.yy||{},this._input=P,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var P=this._input[0];this.yytext+=P,this.yyleng++,this.offset++,this.match+=P,this.matched+=P;var z=P.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return z?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),P},unput:function(P){var z=P.length,X=P.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=P+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-z),this.offset-=z;var F=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),X.length-1&&(this.yylineno-=X.length-1);var O=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:X?(X.length===F.length?this.yylloc.first_column:0)+F[F.length-X.length].length-X[0].length:this.yylloc.first_column-z},this.options.ranges&&(this.yylloc.range=[O[0],O[0]+this.yyleng-z]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(P){this.unput(this.match.slice(P))},pastInput:function(){var P=this.matched.substr(0,this.matched.length-this.match.length);return(P.length>20?\\\"...\\\":\\\"\\\")+P.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var P=this.match;return P.length\u003C20&&(P+=this._input.substr(0,20-P.length)),(P.substr(0,20)+(P.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var P=this.pastInput(),z=new Array(P.length+1).join(\\\"-\\\");return P+this.upcomingInput()+`\\n`+z+\\\"^\\\"},test_match:function(P,z){var X,F,O;if(this.options.backtrack_lexer&&(O={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(O.yylloc.range=this.yylloc.range.slice(0))),F=P[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),F&&(this.yylineno+=F.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:F?F[F.length-1].length-F[F.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+P[0].length},this.yytext+=P[0],this.match+=P[0],this.matches=P,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(P[0].length),this.matched+=P[0],X=this.performAction.call(this,this.yy,this,z,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),X)return X;if(this._backtrack){for(var A in O)this[A]=O[A];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var P,z,X,F;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var O=this._currentRules(),A=0;A\u003CO.length;A++)if(X=this._input.match(this.rules[O[A]]),X&&(!z||X[0].length>z[0].length)){if(z=X,F=A,this.options.backtrack_lexer){if(P=this.test_match(X,O[A]),P!==!1)return P;if(this._backtrack){z=!1;continue}else return!1}else if(!this.options.flex)break}return z?(P=this.test_match(z,O[F]),P!==!1?P:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var z=this.next();return z||this.lex()},begin:function(z){this.conditionStack.push(z)},popState:function(){var z=this.conditionStack.length-1;return z>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(z){return z=this.conditionStack.length-1-Math.abs(z||0),z>=0?this.conditionStack[z]:\\\"INITIAL\\\"},pushState:function(z){this.begin(z)},stateStackSize:function(){return this.conditionStack.length},options:{\\\"case-insensitive\\\":!0},performAction:function(z,X,F,O){switch(F){case 0:return this.begin(\\\"open_directive\\\"),79;case 1:return this.begin(\\\"type_directive\\\"),80;case 2:return this.popState(),this.begin(\\\"arg_directive\\\"),14;case 3:return this.popState(),this.popState(),82;case 4:return 81;case 5:return 5;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:return 23;case 12:return this.begin(\\\"ID\\\"),16;case 13:return this.begin(\\\"ID\\\"),20;case 14:return X.yytext=X.yytext.trim(),this.begin(\\\"ALIAS\\\"),69;case 15:return this.popState(),this.popState(),this.begin(\\\"LINE\\\"),18;case 16:return this.popState(),this.popState(),5;case 17:return this.begin(\\\"LINE\\\"),39;case 18:return this.begin(\\\"LINE\\\"),41;case 19:return this.begin(\\\"LINE\\\"),42;case 20:return this.begin(\\\"LINE\\\"),43;case 21:return this.begin(\\\"LINE\\\"),52;case 22:return this.begin(\\\"LINE\\\"),45;case 23:return this.begin(\\\"LINE\\\"),51;case 24:return this.begin(\\\"LINE\\\"),47;case 25:return this.begin(\\\"LINE\\\"),50;case 26:return this.begin(\\\"LINE\\\"),49;case 27:return this.popState(),19;case 28:return 40;case 29:return 64;case 30:return 65;case 31:return 58;case 32:return 59;case 33:return 60;case 34:return 61;case 35:return 56;case 36:return 53;case 37:return this.begin(\\\"ID\\\"),25;case 38:return this.begin(\\\"ID\\\"),26;case 39:return 32;case 40:return 33;case 41:return this.begin(\\\"acc_title\\\"),34;case 42:return this.popState(),\\\"acc_title_value\\\";case 43:return this.begin(\\\"acc_descr\\\"),36;case 44:return this.popState(),\\\"acc_descr_value\\\";case 45:this.begin(\\\"acc_descr_multiline\\\");break;case 46:this.popState();break;case 47:return\\\"acc_descr_multiline_value\\\";case 48:return 7;case 49:return 22;case 50:return 24;case 51:return 63;case 52:return 5;case 53:return X.yytext=X.yytext.trim(),69;case 54:return 72;case 55:return 73;case 56:return 70;case 57:return 71;case 58:return 74;case 59:return 75;case 60:return 76;case 61:return 77;case 62:return 78;case 63:return 67;case 64:return 68;case 65:return 5;case 66:return\\\"INVALID\\\"}},rules:[/^(?:%%\\\\{)/i,/^(?:((?:(?!\\\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\\\}%%)/i,/^(?:((?:(?!\\\\}%%).|\\\\n)*))/i,/^(?:[\\\\n]+)/i,/^(?:\\\\s+)/i,/^(?:((?!\\\\n)\\\\s)+)/i,/^(?:#[^\\\\n]*)/i,/^(?:%(?!\\\\{)[^\\\\n]*)/i,/^(?:[^\\\\}]%%[^\\\\n]*)/i,/^(?:[0-9]+(?=[ \\\\n]+))/i,/^(?:participant\\\\b)/i,/^(?:actor\\\\b)/i,/^(?:[^\\\\->:\\\\n,;]+?([\\\\-]*[^\\\\->:\\\\n,;]+?)*?(?=((?!\\\\n)\\\\s)+as(?!\\\\n)\\\\s|[#\\\\n;]|$))/i,/^(?:as\\\\b)/i,/^(?:(?:))/i,/^(?:loop\\\\b)/i,/^(?:rect\\\\b)/i,/^(?:opt\\\\b)/i,/^(?:alt\\\\b)/i,/^(?:else\\\\b)/i,/^(?:par\\\\b)/i,/^(?:and\\\\b)/i,/^(?:critical\\\\b)/i,/^(?:option\\\\b)/i,/^(?:break\\\\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\\\\n;]*)/i,/^(?:end\\\\b)/i,/^(?:left of\\\\b)/i,/^(?:right of\\\\b)/i,/^(?:links\\\\b)/i,/^(?:link\\\\b)/i,/^(?:properties\\\\b)/i,/^(?:details\\\\b)/i,/^(?:over\\\\b)/i,/^(?:note\\\\b)/i,/^(?:activate\\\\b)/i,/^(?:deactivate\\\\b)/i,/^(?:title\\\\s[^#\\\\n;]+)/i,/^(?:title:\\\\s[^#\\\\n;]+)/i,/^(?:accTitle\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*\\\\{\\\\s*)/i,/^(?:[\\\\}])/i,/^(?:[^\\\\}]*)/i,/^(?:sequenceDiagram\\\\b)/i,/^(?:autonumber\\\\b)/i,/^(?:off\\\\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\\\\+\\\\->:\\\\n,;]+((?!(-x|--x|-\\\\)|--\\\\)))[\\\\-]*[^\\\\+\\\\->:\\\\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\\\\)])/i,/^(?:--[\\\\)])/i,/^(?::(?:(?:no)?wrap)?[^#\\\\n;]+)/i,/^(?:\\\\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[46,47],inclusive:!1},acc_descr:{rules:[44],inclusive:!1},acc_title:{rules:[42],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,14],inclusive:!1},ALIAS:{rules:[7,8,15,16],inclusive:!1},LINE:{rules:[7,8,27],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,45,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66],inclusive:!0}}};return Ot}();ut.lexer=_t;function K(){this.yy={}}return K.prototype=ut,ut.Parser=K,new K}();id.parser=id;const qR=id,jR=t=>t.match(/^\\\\s*sequenceDiagram/)!==null;let Ko,ji={},Mn=[],Su=!1,sd;const $R=function(t,e,r){ze.parseDirective(this,t,e,r)},ad=function(t,e,r,n){const i=ji[t];i&&e===i.name&&r==null||((r==null||r.text==null)&&(r={text:e,wrap:null,type:n}),(n==null||r.text==null)&&(r={text:e,wrap:null,type:n}),ji[t]={name:e,description:r.text,wrap:r.wrap===void 0&&Na()||!!r.wrap,prevActor:Ko,links:{},properties:{},actorCnt:null,rectData:null,type:n||\\\"participant\\\"},Ko&&ji[Ko]&&(ji[Ko].nextActor=t),Ko=t)},XR=t=>{let e,r=0;for(e=0;e\u003CMn.length;e++)Mn[e].type===Qo.ACTIVE_START&&Mn[e].from.actor===t&&r++,Mn[e].type===Qo.ACTIVE_END&&Mn[e].from.actor===t&&r--;return r},KR=function(t,e,r,n){Mn.push({from:t,to:e,message:r.text,wrap:r.wrap===void 0&&Na()||!!r.wrap,answer:n})},Je=function(t,e,r={text:void 0,wrap:void 0},n){if(n===Qo.ACTIVE_END&&XR(t.actor)\u003C1){let s=new Error(\\\"Trying to inactivate an inactive participant (\\\"+t.actor+\\\")\\\");throw s.hash={text:\\\"->>-\\\",token:\\\"->>-\\\",line:\\\"1\\\",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:[\\\"'ACTIVE_PARTICIPANT'\\\"]},s}return Mn.push({from:t,to:e,message:r.text,wrap:r.wrap===void 0&&Na()||!!r.wrap,type:n}),!0},ZR=function(){return Mn},QR=function(){return ji},Zo=function(t){return ji[t]},JR=function(){return Object.keys(ji)},tF=function(){Su=!0},eF=function(){Su=!1},rF=()=>Su,nF=function(t){sd=t},Na=()=>sd!==void 0?sd:$().sequence.wrap,iF=function(){ji={},Mn=[],Su=!1,vn()},sF=function(t){const e=t.trim(),r={text:e.replace(/^:?(?:no)?wrap:/,\\\"\\\").trim(),wrap:e.match(/^:?wrap:/)!==null?!0:e.match(/^:?nowrap:/)!==null?!1:void 0};return B.debug(\\\"parseMessage:\\\",r),r},Qo={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31},aF={FILLED:0,OPEN:1},oF={LEFTOF:0,RIGHTOF:1,OVER:2},U3=function(t,e,r){r.text,r.wrap===void 0&&Na()||r.wrap;const n=[].concat(t,t);Mn.push({from:n[0],to:n[1],message:r.text,wrap:r.wrap===void 0&&Na()||!!r.wrap,type:Qo.NOTE,placement:e})},z3=function(t,e){const r=Zo(t);try{let n=yn(e.text,$());n=n.replace(/&/g,\\\"&\\\"),n=n.replace(/=/g,\\\"=\\\");const i=JSON.parse(n);od(r,i)}catch(n){B.error(\\\"error while parsing actor link text\\\",n)}},lF=function(t,e){const r=Zo(t);try{const a={};let o=yn(e.text,$());var n=o.indexOf(\\\"@\\\");o=o.replace(/&/g,\\\"&\\\"),o=o.replace(/=/g,\\\"=\\\");var i=o.slice(0,n-1).trim(),s=o.slice(n+1).trim();a[i]=s,od(r,a)}catch(a){B.error(\\\"error while parsing actor link text\\\",a)}};function od(t,e){if(t.links==null)t.links=e;else for(let r in e)t.links[r]=e[r]}const W3=function(t,e){const r=Zo(t);try{let n=yn(e.text,$());const i=JSON.parse(n);H3(r,i)}catch(n){B.error(\\\"error while parsing actor properties text\\\",n)}};function H3(t,e){if(t.properties==null)t.properties=e;else for(let r in e)t.properties[r]=e[r]}const G3=function(t,e){const r=Zo(t),n=document.getElementById(e.text);try{const i=n.innerHTML,s=JSON.parse(i);s.properties&&H3(r,s.properties),s.links&&od(r,s.links)}catch(i){B.error(\\\"error while parsing actor details text\\\",i)}},cF=function(t,e){if(t!==void 0&&t.properties!==void 0)return t.properties[e]},q3=function(t){if(Array.isArray(t))t.forEach(function(e){q3(e)});else switch(t.type){case\\\"sequenceIndex\\\":Mn.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case\\\"addParticipant\\\":ad(t.actor,t.actor,t.description,\\\"participant\\\");break;case\\\"addActor\\\":ad(t.actor,t.actor,t.description,\\\"actor\\\");break;case\\\"activeStart\\\":Je(t.actor,void 0,void 0,t.signalType);break;case\\\"activeEnd\\\":Je(t.actor,void 0,void 0,t.signalType);break;case\\\"addNote\\\":U3(t.actor,t.placement,t.text);break;case\\\"addLinks\\\":z3(t.actor,t.text);break;case\\\"addALink\\\":lF(t.actor,t.text);break;case\\\"addProperties\\\":W3(t.actor,t.text);break;case\\\"addDetails\\\":G3(t.actor,t.text);break;case\\\"addMessage\\\":Je(t.from,t.to,t.msg,t.signalType);break;case\\\"loopStart\\\":Je(void 0,void 0,t.loopText,t.signalType);break;case\\\"loopEnd\\\":Je(void 0,void 0,void 0,t.signalType);break;case\\\"rectStart\\\":Je(void 0,void 0,t.color,t.signalType);break;case\\\"rectEnd\\\":Je(void 0,void 0,void 0,t.signalType);break;case\\\"optStart\\\":Je(void 0,void 0,t.optText,t.signalType);break;case\\\"optEnd\\\":Je(void 0,void 0,void 0,t.signalType);break;case\\\"altStart\\\":Je(void 0,void 0,t.altText,t.signalType);break;case\\\"else\\\":Je(void 0,void 0,t.altText,t.signalType);break;case\\\"altEnd\\\":Je(void 0,void 0,void 0,t.signalType);break;case\\\"setAccTitle\\\":nn(t.text);break;case\\\"parStart\\\":Je(void 0,void 0,t.parText,t.signalType);break;case\\\"and\\\":Je(void 0,void 0,t.parText,t.signalType);break;case\\\"parEnd\\\":Je(void 0,void 0,void 0,t.signalType);break;case\\\"criticalStart\\\":Je(void 0,void 0,t.criticalText,t.signalType);break;case\\\"option\\\":Je(void 0,void 0,t.optionText,t.signalType);break;case\\\"criticalEnd\\\":Je(void 0,void 0,void 0,t.signalType);break;case\\\"breakStart\\\":Je(void 0,void 0,t.breakText,t.signalType);break;case\\\"breakEnd\\\":Je(void 0,void 0,void 0,t.signalType);break}},j3={addActor:ad,addMessage:KR,addSignal:Je,addLinks:z3,addDetails:G3,addProperties:W3,autoWrap:Na,setWrap:nF,enableSequenceNumbers:tF,disableSequenceNumbers:eF,showSequenceNumbers:rF,getMessages:ZR,getActors:QR,getActor:Zo,getActorKeys:JR,getActorProperty:cF,getAccTitle:kn,getDiagramTitle:di,setDiagramTitle:hi,parseDirective:$R,getConfig:()=>$().sequence,clear:iF,parseMessage:sF,LINETYPE:Qo,ARROWTYPE:aF,PLACEMENT:oF,addNote:U3,setAccTitle:nn,apply:q3,setAccDescription:wn,getAccDescription:Tn};let ld=[];const uF=t=>{ld.push(t)},$3=()=>{ld.forEach(t=>{t()}),ld=[]},Au=function(t,e){const r=t.append(\\\"rect\\\");return r.attr(\\\"x\\\",e.x),r.attr(\\\"y\\\",e.y),r.attr(\\\"fill\\\",e.fill),r.attr(\\\"stroke\\\",e.stroke),r.attr(\\\"width\\\",e.width),r.attr(\\\"height\\\",e.height),r.attr(\\\"rx\\\",e.rx),r.attr(\\\"ry\\\",e.ry),e.class!==void 0&&r.attr(\\\"class\\\",e.class),r},X3=(t,e)=>{uF(()=>{const r=document.querySelectorAll(t);r.length!==0&&(r[0].addEventListener(\\\"mouseover\\\",function(){pF(\\\"actor\\\"+e+\\\"_popup\\\")}),r[0].addEventListener(\\\"mouseout\\\",function(){gF(\\\"actor\\\"+e+\\\"_popup\\\")}))})},hF=function(t,e,r,n,i){if(e.links===void 0||e.links===null||Object.keys(e.links).length===0)return{height:0,width:0};const s=e.links,a=e.actorCnt,o=e.rectData;var l=\\\"none\\\";i&&(l=\\\"block !important\\\");const u=t.append(\\\"g\\\");u.attr(\\\"id\\\",\\\"actor\\\"+a+\\\"_popup\\\"),u.attr(\\\"class\\\",\\\"actorPopupMenu\\\"),u.attr(\\\"display\\\",l),X3(\\\"#actor\\\"+a+\\\"_popup\\\",a);var d=\\\"\\\";o.class!==void 0&&(d=\\\" \\\"+o.class);let f=o.width>r?o.width:r;const p=u.append(\\\"rect\\\");if(p.attr(\\\"class\\\",\\\"actorPopupMenuPanel\\\"+d),p.attr(\\\"x\\\",o.x),p.attr(\\\"y\\\",o.height),p.attr(\\\"fill\\\",o.fill),p.attr(\\\"stroke\\\",o.stroke),p.attr(\\\"width\\\",f),p.attr(\\\"height\\\",o.height),p.attr(\\\"rx\\\",o.rx),p.attr(\\\"ry\\\",o.ry),s!=null){var g=20;for(let T in s){var b=u.append(\\\"a\\\"),k=ti(s[T]);b.attr(\\\"xlink:href\\\",k),b.attr(\\\"target\\\",\\\"_blank\\\"),DF(n)(T,b,o.x+10,o.height+g,f,20,{class:\\\"actor\\\"},n),g+=30}}return p.attr(\\\"height\\\",g),{height:o.height+g,width:f}},K3=function(t,e,r,n){const i=t.append(\\\"image\\\");i.attr(\\\"x\\\",e),i.attr(\\\"y\\\",r);var s=ti(n);i.attr(\\\"xlink:href\\\",s)},Z3=function(t,e,r,n){const i=t.append(\\\"use\\\");i.attr(\\\"x\\\",e),i.attr(\\\"y\\\",r);var s=ti(n);i.attr(\\\"xlink:href\\\",\\\"#\\\"+s)},dF=function(t){return\\\"var pu = document.getElementById('\\\"+t+\\\"'); if (pu != null) { pu.style.display = 'block'; }\\\"},fF=function(t){return\\\"var pu = document.getElementById('\\\"+t+\\\"'); if (pu != null) { pu.style.display = 'none'; }\\\"},pF=function(t){var e=document.getElementById(t);e!=null&&(e.style.display=\\\"block\\\")},gF=function(t){var e=document.getElementById(t);e!=null&&(e.style.display=\\\"none\\\")},Ba=function(t,e){let r=0,n=0;const i=e.text.split(he.lineBreakRegex);let s=[],a=0,o=()=>e.y;if(e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0)switch(e.valign){case\\\"top\\\":case\\\"start\\\":o=()=>Math.round(e.y+e.textMargin);break;case\\\"middle\\\":case\\\"center\\\":o=()=>Math.round(e.y+(r+n+e.textMargin)/2);break;case\\\"bottom\\\":case\\\"end\\\":o=()=>Math.round(e.y+(r+n+2*e.textMargin)-e.textMargin);break}if(e.anchor!==void 0&&e.textMargin!==void 0&&e.width!==void 0)switch(e.anchor){case\\\"left\\\":case\\\"start\\\":e.x=Math.round(e.x+e.textMargin),e.anchor=\\\"start\\\",e.dominantBaseline=\\\"middle\\\",e.alignmentBaseline=\\\"middle\\\";break;case\\\"middle\\\":case\\\"center\\\":e.x=Math.round(e.x+e.width/2),e.anchor=\\\"middle\\\",e.dominantBaseline=\\\"middle\\\",e.alignmentBaseline=\\\"middle\\\";break;case\\\"right\\\":case\\\"end\\\":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor=\\\"end\\\",e.dominantBaseline=\\\"middle\\\",e.alignmentBaseline=\\\"middle\\\";break}for(let[l,u]of i.entries()){e.textMargin!==void 0&&e.textMargin===0&&e.fontSize!==void 0&&(a=l*e.fontSize);const d=t.append(\\\"text\\\");if(d.attr(\\\"x\\\",e.x),d.attr(\\\"y\\\",o()),e.anchor!==void 0&&d.attr(\\\"text-anchor\\\",e.anchor).attr(\\\"dominant-baseline\\\",e.dominantBaseline).attr(\\\"alignment-baseline\\\",e.alignmentBaseline),e.fontFamily!==void 0&&d.style(\\\"font-family\\\",e.fontFamily),e.fontSize!==void 0&&d.style(\\\"font-size\\\",e.fontSize),e.fontWeight!==void 0&&d.style(\\\"font-weight\\\",e.fontWeight),e.fill!==void 0&&d.attr(\\\"fill\\\",e.fill),e.class!==void 0&&d.attr(\\\"class\\\",e.class),e.dy!==void 0?d.attr(\\\"dy\\\",e.dy):a!==0&&d.attr(\\\"dy\\\",a),e.tspan){const f=d.append(\\\"tspan\\\");f.attr(\\\"x\\\",e.x),e.fill!==void 0&&f.attr(\\\"fill\\\",e.fill),f.text(u)}else d.text(u);e.valign!==void 0&&e.textMargin!==void 0&&e.textMargin>0&&(n+=(d._groups||d)[0][0].getBBox().height,r=n),s.push(d)}return s},Q3=function(t,e){function r(i,s,a,o,l){return i+\\\",\\\"+s+\\\" \\\"+(i+a)+\\\",\\\"+s+\\\" \\\"+(i+a)+\\\",\\\"+(s+o-l)+\\\" \\\"+(i+a-l*1.2)+\\\",\\\"+(s+o)+\\\" \\\"+i+\\\",\\\"+(s+o)}const n=t.append(\\\"polygon\\\");return n.attr(\\\"points\\\",r(e.x,e.y,e.width,e.height,7)),n.attr(\\\"class\\\",\\\"labelBox\\\"),e.y=e.y+e.height/2,Ba(t,e),n};let Xn=-1;const J3=(t,e)=>{!t.selectAll||t.selectAll(\\\".actor-line\\\").attr(\\\"class\\\",\\\"200\\\").attr(\\\"y2\\\",e-55)},yF=function(t,e,r){const n=e.x+e.width/2,i=t.append(\\\"g\\\");var s=i;e.y===0&&(Xn++,s.append(\\\"line\\\").attr(\\\"id\\\",\\\"actor\\\"+Xn).attr(\\\"x1\\\",n).attr(\\\"y1\\\",5).attr(\\\"x2\\\",n).attr(\\\"y2\\\",2e3).attr(\\\"class\\\",\\\"actor-line\\\").attr(\\\"stroke-width\\\",\\\"0.5px\\\").attr(\\\"stroke\\\",\\\"#999\\\"),s=i.append(\\\"g\\\"),e.actorCnt=Xn,e.links!=null&&(s.attr(\\\"id\\\",\\\"root-\\\"+Xn),X3(\\\"#root-\\\"+Xn,Xn)));const a=Lu();var o=\\\"actor\\\";e.properties!=null&&e.properties.class?o=e.properties.class:a.fill=\\\"#eaeaea\\\",a.x=e.x,a.y=e.y,a.width=e.width,a.height=e.height,a.class=o,a.rx=3,a.ry=3;const l=Au(s,a);if(e.rectData=a,e.properties!=null&&e.properties.icon){const d=e.properties.icon.trim();d.charAt(0)===\\\"@\\\"?Z3(s,a.x+a.width-20,a.y+10,d.substr(1)):K3(s,a.x+a.width-20,a.y+10,d)}t4(r)(e.description,s,a.x,a.y,a.width,a.height,{class:\\\"actor\\\"},r);let u=e.height;if(l.node){const d=l.node().getBBox();e.height=d.height,u=d.height}return u},mF=function(t,e,r){const n=e.x+e.width/2;e.y===0&&(Xn++,t.append(\\\"line\\\").attr(\\\"id\\\",\\\"actor\\\"+Xn).attr(\\\"x1\\\",n).attr(\\\"y1\\\",80).attr(\\\"x2\\\",n).attr(\\\"y2\\\",2e3).attr(\\\"class\\\",\\\"actor-line\\\").attr(\\\"stroke-width\\\",\\\"0.5px\\\").attr(\\\"stroke\\\",\\\"#999\\\"));const i=t.append(\\\"g\\\");i.attr(\\\"class\\\",\\\"actor-man\\\");const s=Lu();s.x=e.x,s.y=e.y,s.fill=\\\"#eaeaea\\\",s.width=e.width,s.height=e.height,s.class=\\\"actor\\\",s.rx=3,s.ry=3,i.append(\\\"line\\\").attr(\\\"id\\\",\\\"actor-man-torso\\\"+Xn).attr(\\\"x1\\\",n).attr(\\\"y1\\\",e.y+25).attr(\\\"x2\\\",n).attr(\\\"y2\\\",e.y+45),i.append(\\\"line\\\").attr(\\\"id\\\",\\\"actor-man-arms\\\"+Xn).attr(\\\"x1\\\",n-18).attr(\\\"y1\\\",e.y+33).attr(\\\"x2\\\",n+18).attr(\\\"y2\\\",e.y+33),i.append(\\\"line\\\").attr(\\\"x1\\\",n-18).attr(\\\"y1\\\",e.y+60).attr(\\\"x2\\\",n).attr(\\\"y2\\\",e.y+45),i.append(\\\"line\\\").attr(\\\"x1\\\",n).attr(\\\"y1\\\",e.y+45).attr(\\\"x2\\\",n+16).attr(\\\"y2\\\",e.y+60);const a=i.append(\\\"circle\\\");a.attr(\\\"cx\\\",e.x+e.width/2),a.attr(\\\"cy\\\",e.y+10),a.attr(\\\"r\\\",15),a.attr(\\\"width\\\",e.width),a.attr(\\\"height\\\",e.height);const o=i.node().getBBox();return e.height=o.height,t4(r)(e.description,i,s.x,s.y+35,s.width,s.height,{class:\\\"actor\\\"},r),e.height},bF=function(t,e,r){switch(e.type){case\\\"actor\\\":return mF(t,e,r);case\\\"participant\\\":return yF(t,e,r)}},_F=function(t){return t.append(\\\"g\\\")},xF=function(t,e,r,n,i){const s=Lu(),a=e.anchored;s.x=e.startx,s.y=e.starty,s.class=\\\"activation\\\"+i%3,s.width=e.stopx-e.startx,s.height=r-e.starty,Au(a,s)},vF=function(t,e,r,n){const{boxMargin:i,boxTextMargin:s,labelBoxHeight:a,labelBoxWidth:o,messageFontFamily:l,messageFontSize:u,messageFontWeight:d}=n,f=t.append(\\\"g\\\"),p=function(k,T,L,E){return f.append(\\\"line\\\").attr(\\\"x1\\\",k).attr(\\\"y1\\\",T).attr(\\\"x2\\\",L).attr(\\\"y2\\\",E).attr(\\\"class\\\",\\\"loopLine\\\")};p(e.startx,e.starty,e.stopx,e.starty),p(e.stopx,e.starty,e.stopx,e.stopy),p(e.startx,e.stopy,e.stopx,e.stopy),p(e.startx,e.starty,e.startx,e.stopy),e.sections!==void 0&&e.sections.forEach(function(k){p(e.startx,k.y,e.stopx,k.y).style(\\\"stroke-dasharray\\\",\\\"3, 3\\\")});let g=cd();g.text=r,g.x=e.startx,g.y=e.starty,g.fontFamily=l,g.fontSize=u,g.fontWeight=d,g.anchor=\\\"middle\\\",g.valign=\\\"middle\\\",g.tspan=!1,g.width=o||50,g.height=a||20,g.textMargin=s,g.class=\\\"labelText\\\",Q3(f,g),g=cd(),g.text=e.title,g.x=e.startx+o/2+(e.stopx-e.startx)/2,g.y=e.starty+i+s,g.anchor=\\\"middle\\\",g.valign=\\\"middle\\\",g.textMargin=s,g.class=\\\"loopText\\\",g.fontFamily=l,g.fontSize=u,g.fontWeight=d,g.wrap=!0;let b=Ba(f,g);return e.sectionTitles!==void 0&&e.sectionTitles.forEach(function(k,T){if(k.message){g.text=k.message,g.x=e.startx+(e.stopx-e.startx)/2,g.y=e.sections[T].y+i+s,g.class=\\\"loopText\\\",g.anchor=\\\"middle\\\",g.valign=\\\"middle\\\",g.tspan=!1,g.fontFamily=l,g.fontSize=u,g.fontWeight=d,g.wrap=e.wrap,b=Ba(f,g);let L=Math.round(b.map(E=>(E._groups||E)[0][0].getBBox().height).reduce((E,I)=>E+I));e.sections[T].height+=L-(i+s)}}),e.height=Math.round(e.stopy-e.starty),f},kF=function(t,e){Au(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:\\\"rect\\\"}).lower()},wF=function(t){t.append(\\\"defs\\\").append(\\\"symbol\\\").attr(\\\"id\\\",\\\"database\\\").attr(\\\"fill-rule\\\",\\\"evenodd\\\").attr(\\\"clip-rule\\\",\\\"evenodd\\\").append(\\\"path\\\").attr(\\\"transform\\\",\\\"scale(.5)\\\").attr(\\\"d\\\",\\\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\\\")},TF=function(t){t.append(\\\"defs\\\").append(\\\"symbol\\\").attr(\\\"id\\\",\\\"computer\\\").attr(\\\"width\\\",\\\"24\\\").attr(\\\"height\\\",\\\"24\\\").append(\\\"path\\\").attr(\\\"transform\\\",\\\"scale(.5)\\\").attr(\\\"d\\\",\\\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\\\")},EF=function(t){t.append(\\\"defs\\\").append(\\\"symbol\\\").attr(\\\"id\\\",\\\"clock\\\").attr(\\\"width\\\",\\\"24\\\").attr(\\\"height\\\",\\\"24\\\").append(\\\"path\\\").attr(\\\"transform\\\",\\\"scale(.5)\\\").attr(\\\"d\\\",\\\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\\\")},CF=function(t){t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"arrowhead\\\").attr(\\\"refX\\\",9).attr(\\\"refY\\\",5).attr(\\\"markerUnits\\\",\\\"userSpaceOnUse\\\").attr(\\\"markerWidth\\\",12).attr(\\\"markerHeight\\\",12).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 0 0 L 10 5 L 0 10 z\\\")},SF=function(t){t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"filled-head\\\").attr(\\\"refX\\\",18).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",28).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 18,7 L9,13 L14,7 L9,1 Z\\\")},AF=function(t){t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"sequencenumber\\\").attr(\\\"refX\\\",15).attr(\\\"refY\\\",15).attr(\\\"markerWidth\\\",60).attr(\\\"markerHeight\\\",40).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"circle\\\").attr(\\\"cx\\\",15).attr(\\\"cy\\\",15).attr(\\\"r\\\",6)},LF=function(t){t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"crosshead\\\").attr(\\\"markerWidth\\\",15).attr(\\\"markerHeight\\\",8).attr(\\\"orient\\\",\\\"auto\\\").attr(\\\"refX\\\",4).attr(\\\"refY\\\",5).append(\\\"path\\\").attr(\\\"fill\\\",\\\"none\\\").attr(\\\"stroke\\\",\\\"#000000\\\").style(\\\"stroke-dasharray\\\",\\\"0, 0\\\").attr(\\\"stroke-width\\\",\\\"1pt\\\").attr(\\\"d\\\",\\\"M 1,2 L 6,7 M 6,2 L 1,7\\\")},cd=function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:\\\"#666\\\",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},Lu=function(){return{x:0,y:0,fill:\\\"#EDF2AE\\\",stroke:\\\"#666\\\",width:100,anchor:\\\"start\\\",height:100,rx:0,ry:0}},t4=function(){function t(i,s,a,o,l,u,d){const f=s.append(\\\"text\\\").attr(\\\"x\\\",a+l/2).attr(\\\"y\\\",o+u/2+5).style(\\\"text-anchor\\\",\\\"middle\\\").text(i);n(f,d)}function e(i,s,a,o,l,u,d,f){const{actorFontSize:p,actorFontFamily:g,actorFontWeight:b}=f;let k=p&&p.replace?p.replace(\\\"px\\\",\\\"\\\"):p;const T=i.split(he.lineBreakRegex);for(let L=0;L\u003CT.length;L++){const E=L*k-k*(T.length-1)/2,I=s.append(\\\"text\\\").attr(\\\"x\\\",a+l/2).attr(\\\"y\\\",o).style(\\\"text-anchor\\\",\\\"middle\\\").style(\\\"font-size\\\",p).style(\\\"font-weight\\\",b).style(\\\"font-family\\\",g);I.append(\\\"tspan\\\").attr(\\\"x\\\",a+l/2).attr(\\\"dy\\\",E).text(T[L]),I.attr(\\\"y\\\",o+u/2).attr(\\\"dominant-baseline\\\",\\\"central\\\").attr(\\\"alignment-baseline\\\",\\\"central\\\"),n(I,d)}}function r(i,s,a,o,l,u,d,f){const p=s.append(\\\"switch\\\"),b=p.append(\\\"foreignObject\\\").attr(\\\"x\\\",a).attr(\\\"y\\\",o).attr(\\\"width\\\",l).attr(\\\"height\\\",u).append(\\\"xhtml:div\\\").style(\\\"display\\\",\\\"table\\\").style(\\\"height\\\",\\\"100%\\\").style(\\\"width\\\",\\\"100%\\\");b.append(\\\"div\\\").style(\\\"display\\\",\\\"table-cell\\\").style(\\\"text-align\\\",\\\"center\\\").style(\\\"vertical-align\\\",\\\"middle\\\").text(i),e(i,p,a,o,l,u,d,f),n(b,d)}function n(i,s){for(const a in s)s.hasOwnProperty(a)&&i.attr(a,s[a])}return function(i){return i.textPlacement===\\\"fo\\\"?r:i.textPlacement===\\\"old\\\"?t:e}}(),DF=function(){function t(i,s,a,o,l,u,d){const f=s.append(\\\"text\\\").attr(\\\"x\\\",a).attr(\\\"y\\\",o).style(\\\"text-anchor\\\",\\\"start\\\").text(i);n(f,d)}function e(i,s,a,o,l,u,d,f){const{actorFontSize:p,actorFontFamily:g,actorFontWeight:b}=f,k=i.split(he.lineBreakRegex);for(let T=0;T\u003Ck.length;T++){const L=T*p-p*(k.length-1)/2,E=s.append(\\\"text\\\").attr(\\\"x\\\",a).attr(\\\"y\\\",o).style(\\\"text-anchor\\\",\\\"start\\\").style(\\\"font-size\\\",p).style(\\\"font-weight\\\",b).style(\\\"font-family\\\",g);E.append(\\\"tspan\\\").attr(\\\"x\\\",a).attr(\\\"dy\\\",L).text(k[T]),E.attr(\\\"y\\\",o+u/2).attr(\\\"dominant-baseline\\\",\\\"central\\\").attr(\\\"alignment-baseline\\\",\\\"central\\\"),n(E,d)}}function r(i,s,a,o,l,u,d,f){const p=s.append(\\\"switch\\\"),b=p.append(\\\"foreignObject\\\").attr(\\\"x\\\",a).attr(\\\"y\\\",o).attr(\\\"width\\\",l).attr(\\\"height\\\",u).append(\\\"xhtml:div\\\").style(\\\"display\\\",\\\"table\\\").style(\\\"height\\\",\\\"100%\\\").style(\\\"width\\\",\\\"100%\\\");b.append(\\\"div\\\").style(\\\"display\\\",\\\"table-cell\\\").style(\\\"text-align\\\",\\\"center\\\").style(\\\"vertical-align\\\",\\\"middle\\\").text(i),e(i,p,a,o,l,u,d,f),n(b,d)}function n(i,s){for(const a in s)s.hasOwnProperty(a)&&i.attr(a,s[a])}return function(i){return i.textPlacement===\\\"fo\\\"?r:i.textPlacement===\\\"old\\\"?t:e}}(),je={drawRect:Au,drawText:Ba,drawLabel:Q3,drawActor:bF,drawPopup:hF,drawImage:K3,drawEmbeddedImage:Z3,anchorElement:_F,drawActivation:xF,drawLoop:vF,drawBackgroundRect:kF,insertArrowHead:CF,insertArrowFilledHead:SF,insertSequenceNumber:AF,insertArrowCrossHead:LF,insertDatabaseIcon:wF,insertComputerIcon:TF,insertClockIcon:EF,getTextObj:cd,getNoteRect:Lu,popupMenu:dF,popdownMenu:fF,fixLifeLineHeights:J3,sanitizeUrl:ti};let lt={};const Bt={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,this.actors.length===0?[0]:this.actors.map(t=>t.height||0))+(this.loops.length===0?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(this.messages.length===0?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(this.notes.length===0?0:this.notes.map(t=>t.height||0).reduce((t,e)=>t+e))},clear:function(){this.actors=[],this.loops=[],this.messages=[],this.notes=[]},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,r4($())},updateVal:function(t,e,r,n){t[e]===void 0?t[e]=r:t[e]=n(r,t[e])},updateBounds:function(t,e,r,n){const i=this;let s=0;function a(o){return function(u){s++;const d=i.sequenceItems.length-s+1;i.updateVal(u,\\\"starty\\\",e-d*lt.boxMargin,Math.min),i.updateVal(u,\\\"stopy\\\",n+d*lt.boxMargin,Math.max),i.updateVal(Bt.data,\\\"startx\\\",t-d*lt.boxMargin,Math.min),i.updateVal(Bt.data,\\\"stopx\\\",r+d*lt.boxMargin,Math.max),o!==\\\"activation\\\"&&(i.updateVal(u,\\\"startx\\\",t-d*lt.boxMargin,Math.min),i.updateVal(u,\\\"stopx\\\",r+d*lt.boxMargin,Math.max),i.updateVal(Bt.data,\\\"starty\\\",e-d*lt.boxMargin,Math.min),i.updateVal(Bt.data,\\\"stopy\\\",n+d*lt.boxMargin,Math.max))}}this.sequenceItems.forEach(a()),this.activations.forEach(a(\\\"activation\\\"))},insert:function(t,e,r,n){const i=Math.min(t,r),s=Math.max(t,r),a=Math.min(e,n),o=Math.max(e,n);this.updateVal(Bt.data,\\\"startx\\\",i,Math.min),this.updateVal(Bt.data,\\\"starty\\\",a,Math.min),this.updateVal(Bt.data,\\\"stopx\\\",s,Math.max),this.updateVal(Bt.data,\\\"stopy\\\",o,Math.max),this.updateBounds(i,a,s,o)},newActivation:function(t,e,r){const n=r[t.from.actor],i=Du(t.from.actor).length||0,s=n.x+n.width/2+(i-1)*lt.activationWidth/2;this.activations.push({startx:s,starty:this.verticalPos+2,stopx:s+lt.activationWidth,stopy:void 0,actor:t.from.actor,anchored:je.anchorElement(e)})},endActivation:function(t){const e=this.activations.map(function(r){return r.actor}).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:Bt.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},MF=function(t,e){Bt.bumpVerticalPos(lt.boxMargin),e.height=lt.boxMargin,e.starty=Bt.getVerticalPos();const r=je.getNoteRect();r.x=e.startx,r.y=e.starty,r.width=e.width||lt.width,r.class=\\\"note\\\";const n=t.append(\\\"g\\\"),i=je.drawRect(n,r),s=je.getTextObj();s.x=e.startx,s.y=e.starty,s.width=r.width,s.dy=\\\"1em\\\",s.text=e.message,s.class=\\\"noteText\\\",s.fontFamily=lt.noteFontFamily,s.fontSize=lt.noteFontSize,s.fontWeight=lt.noteFontWeight,s.anchor=lt.noteAlign,s.textMargin=lt.noteMargin,s.valign=\\\"center\\\";const a=Ba(n,s),o=Math.round(a.map(l=>(l._groups||l)[0][0].getBBox().height).reduce((l,u)=>l+u));i.attr(\\\"height\\\",o+2*lt.noteMargin),e.height+=o+2*lt.noteMargin,Bt.bumpVerticalPos(o+2*lt.noteMargin),e.stopy=e.starty+o+2*lt.noteMargin,e.stopx=e.startx+r.width,Bt.insert(e.startx,e.starty,e.stopx,e.stopy),Bt.models.addNote(e)},Ia=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),Oa=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),ud=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});function NF(t,e){Bt.bumpVerticalPos(10);const{startx:r,stopx:n,message:i}=e,s=he.splitBreaks(i).length,a=ge.calculateTextDimensions(i,Ia(lt)),o=a.height/s;e.height+=o,Bt.bumpVerticalPos(o);let l,u=a.height-10;const d=a.width;if(r===n){l=Bt.getVerticalPos()+u,lt.rightAngles||(u+=lt.boxMargin,l=Bt.getVerticalPos()+u),u+=30;const f=Math.max(d/2,lt.width/2);Bt.insert(r-f,Bt.getVerticalPos()-10+u,n+f,Bt.getVerticalPos()+30+u)}else u+=lt.boxMargin,l=Bt.getVerticalPos()+u,Bt.insert(r,l-10,n,l);return Bt.bumpVerticalPos(u),e.height+=u,e.stopy=e.starty+e.height,Bt.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),l}const BF=function(t,e,r,n){const{startx:i,stopx:s,starty:a,message:o,type:l,sequenceIndex:u,sequenceVisible:d}=e,f=ge.calculateTextDimensions(o,Ia(lt)),p=je.getTextObj();p.x=i,p.y=a+10,p.width=s-i,p.class=\\\"messageText\\\",p.dy=\\\"1em\\\",p.text=o,p.fontFamily=lt.messageFontFamily,p.fontSize=lt.messageFontSize,p.fontWeight=lt.messageFontWeight,p.anchor=lt.messageAlign,p.valign=\\\"center\\\",p.textMargin=lt.wrapPadding,p.tspan=!1,Ba(t,p);const g=f.width;let b;i===s?lt.rightAngles?b=t.append(\\\"path\\\").attr(\\\"d\\\",`M ${i},${r} H ${i+Math.max(lt.width/2,g/2)} V ${r+25} H ${i}`):b=t.append(\\\"path\\\").attr(\\\"d\\\",\\\"M \\\"+i+\\\",\\\"+r+\\\" C \\\"+(i+60)+\\\",\\\"+(r-10)+\\\" \\\"+(i+60)+\\\",\\\"+(r+30)+\\\" \\\"+i+\\\",\\\"+(r+20)):(b=t.append(\\\"line\\\"),b.attr(\\\"x1\\\",i),b.attr(\\\"y1\\\",r),b.attr(\\\"x2\\\",s),b.attr(\\\"y2\\\",r)),l===n.db.LINETYPE.DOTTED||l===n.db.LINETYPE.DOTTED_CROSS||l===n.db.LINETYPE.DOTTED_POINT||l===n.db.LINETYPE.DOTTED_OPEN?(b.style(\\\"stroke-dasharray\\\",\\\"3, 3\\\"),b.attr(\\\"class\\\",\\\"messageLine1\\\")):b.attr(\\\"class\\\",\\\"messageLine0\\\");let k=\\\"\\\";lt.arrowMarkerAbsolute&&(k=window.location.protocol+\\\"//\\\"+window.location.host+window.location.pathname+window.location.search,k=k.replace(/\\\\(/g,\\\"\\\\\\\\(\\\"),k=k.replace(/\\\\)/g,\\\"\\\\\\\\)\\\")),b.attr(\\\"stroke-width\\\",2),b.attr(\\\"stroke\\\",\\\"none\\\"),b.style(\\\"fill\\\",\\\"none\\\"),(l===n.db.LINETYPE.SOLID||l===n.db.LINETYPE.DOTTED)&&b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#arrowhead)\\\"),(l===n.db.LINETYPE.SOLID_POINT||l===n.db.LINETYPE.DOTTED_POINT)&&b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#filled-head)\\\"),(l===n.db.LINETYPE.SOLID_CROSS||l===n.db.LINETYPE.DOTTED_CROSS)&&b.attr(\\\"marker-end\\\",\\\"url(\\\"+k+\\\"#crosshead)\\\"),(d||lt.showSequenceNumbers)&&(b.attr(\\\"marker-start\\\",\\\"url(\\\"+k+\\\"#sequencenumber)\\\"),t.append(\\\"text\\\").attr(\\\"x\\\",i).attr(\\\"y\\\",r+4).attr(\\\"font-family\\\",\\\"sans-serif\\\").attr(\\\"font-size\\\",\\\"12px\\\").attr(\\\"text-anchor\\\",\\\"middle\\\").attr(\\\"class\\\",\\\"sequenceNumber\\\").text(u))},hd=function(t,e,r,n,i,s){if(i.hideUnusedParticipants===!0){const u=new Set;s.forEach(d=>{u.add(d.from),u.add(d.to)}),r=r.filter(d=>u.has(d))}let a=0,o=0,l=0;for(const u of r){const d=e[u];d.width=d.width||lt.width,d.height=Math.max(d.height||lt.height,lt.height),d.margin=d.margin||lt.actorMargin,d.x=a+o,d.y=n;const f=je.drawActor(t,d,lt);l=Math.max(l,f),Bt.insert(d.x,n,d.x+d.width,d.height),a+=d.width,o+=d.margin,Bt.models.addActor(d)}Bt.bumpVerticalPos(l)},e4=function(t,e,r,n){let i=0,s=0;for(const a of r){const o=e[a],l=RF(o),u=je.drawPopup(t,o,l,lt,lt.forceMenus,n);u.height>i&&(i=u.height),u.width+o.x>s&&(s=u.width+o.x)}return{maxHeight:i,maxWidth:s}},r4=function(t){gr(lt,t),t.fontFamily&&(lt.actorFontFamily=lt.noteFontFamily=lt.messageFontFamily=t.fontFamily),t.fontSize&&(lt.actorFontSize=lt.noteFontSize=lt.messageFontSize=t.fontSize),t.fontWeight&&(lt.actorFontWeight=lt.noteFontWeight=lt.messageFontWeight=t.fontWeight)},Du=function(t){return Bt.activations.filter(function(e){return e.actor===t})},n4=function(t,e){const r=e[t],n=Du(t),i=n.reduce(function(a,o){return Math.min(a,o.startx)},r.x+r.width/2),s=n.reduce(function(a,o){return Math.max(a,o.stopx)},r.x+r.width/2);return[i,s]};function Kn(t,e,r,n,i){Bt.bumpVerticalPos(r);let s=n;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width,o=Ia(lt);e.message=ge.wrapLabel(`[${e.message}]`,a-2*lt.wrapPadding,o),e.width=a,e.wrap=!0;const l=ge.calculateTextDimensions(e.message,o),u=Math.max(l.height,lt.labelBoxHeight);s=n+u,B.debug(`${u} - ${e.message}`)}i(e),Bt.bumpVerticalPos(s)}const IF=function(t,e,r,n){const{securityLevel:i,sequence:s}=$();lt=s;let a;i===\\\"sandbox\\\"&&(a=St(\\\"#i\\\"+e));const o=St(i===\\\"sandbox\\\"?a.nodes()[0].contentDocument.body:\\\"body\\\"),l=i===\\\"sandbox\\\"?a.nodes()[0].contentDocument:document;Bt.init(),B.debug(n.db);const u=i===\\\"sandbox\\\"?o.select(`[id=\\\"${e}\\\"]`):St(`[id=\\\"${e}\\\"]`),d=n.db.getActors(),f=n.db.getActorKeys(),p=n.db.getMessages(),g=n.db.getDiagramTitle(),b=OF(d,p,n);lt.height=FF(d,b),je.insertComputerIcon(u),je.insertDatabaseIcon(u),je.insertClockIcon(u),hd(u,d,f,0,lt,p);const k=VF(p,d,b,n);je.insertArrowHead(u),je.insertArrowCrossHead(u),je.insertArrowFilledHead(u),je.insertSequenceNumber(u);function T(v,M){const m=Bt.endActivation(v);m.starty+18>M&&(m.starty=M-6,M+=12),je.drawActivation(u,m,M,lt,Du(v.from.actor).length),Bt.insert(m.startx,M-10,m.stopx,M)}let L=1,E=1;const I=[];p.forEach(function(v){let M,m,Q;switch(v.type){case n.db.LINETYPE.NOTE:m=v.noteModel,MF(u,m);break;case n.db.LINETYPE.ACTIVE_START:Bt.newActivation(v,u,d);break;case n.db.LINETYPE.ACTIVE_END:T(v,Bt.getVerticalPos());break;case n.db.LINETYPE.LOOP_START:Kn(k,v,lt.boxMargin,lt.boxMargin+lt.boxTextMargin,x=>Bt.newLoop(x));break;case n.db.LINETYPE.LOOP_END:M=Bt.endLoop(),je.drawLoop(u,M,\\\"loop\\\",lt),Bt.bumpVerticalPos(M.stopy-Bt.getVerticalPos()),Bt.models.addLoop(M);break;case n.db.LINETYPE.RECT_START:Kn(k,v,lt.boxMargin,lt.boxMargin,x=>Bt.newLoop(void 0,x.message));break;case n.db.LINETYPE.RECT_END:M=Bt.endLoop(),je.drawBackgroundRect(u,M),Bt.models.addLoop(M),Bt.bumpVerticalPos(M.stopy-Bt.getVerticalPos());break;case n.db.LINETYPE.OPT_START:Kn(k,v,lt.boxMargin,lt.boxMargin+lt.boxTextMargin,x=>Bt.newLoop(x));break;case n.db.LINETYPE.OPT_END:M=Bt.endLoop(),je.drawLoop(u,M,\\\"opt\\\",lt),Bt.bumpVerticalPos(M.stopy-Bt.getVerticalPos()),Bt.models.addLoop(M);break;case n.db.LINETYPE.ALT_START:Kn(k,v,lt.boxMargin,lt.boxMargin+lt.boxTextMargin,x=>Bt.newLoop(x));break;case n.db.LINETYPE.ALT_ELSE:Kn(k,v,lt.boxMargin+lt.boxTextMargin,lt.boxMargin,x=>Bt.addSectionToLoop(x));break;case n.db.LINETYPE.ALT_END:M=Bt.endLoop(),je.drawLoop(u,M,\\\"alt\\\",lt),Bt.bumpVerticalPos(M.stopy-Bt.getVerticalPos()),Bt.models.addLoop(M);break;case n.db.LINETYPE.PAR_START:Kn(k,v,lt.boxMargin,lt.boxMargin+lt.boxTextMargin,x=>Bt.newLoop(x));break;case n.db.LINETYPE.PAR_AND:Kn(k,v,lt.boxMargin+lt.boxTextMargin,lt.boxMargin,x=>Bt.addSectionToLoop(x));break;case n.db.LINETYPE.PAR_END:M=Bt.endLoop(),je.drawLoop(u,M,\\\"par\\\",lt),Bt.bumpVerticalPos(M.stopy-Bt.getVerticalPos()),Bt.models.addLoop(M);break;case n.db.LINETYPE.AUTONUMBER:L=v.message.start||L,E=v.message.step||E,v.message.visible?n.db.enableSequenceNumbers():n.db.disableSequenceNumbers();break;case n.db.LINETYPE.CRITICAL_START:Kn(k,v,lt.boxMargin,lt.boxMargin+lt.boxTextMargin,x=>Bt.newLoop(x));break;case n.db.LINETYPE.CRITICAL_OPTION:Kn(k,v,lt.boxMargin+lt.boxTextMargin,lt.boxMargin,x=>Bt.addSectionToLoop(x));break;case n.db.LINETYPE.CRITICAL_END:M=Bt.endLoop(),je.drawLoop(u,M,\\\"critical\\\",lt),Bt.bumpVerticalPos(M.stopy-Bt.getVerticalPos()),Bt.models.addLoop(M);break;case n.db.LINETYPE.BREAK_START:Kn(k,v,lt.boxMargin,lt.boxMargin+lt.boxTextMargin,x=>Bt.newLoop(x));break;case n.db.LINETYPE.BREAK_END:M=Bt.endLoop(),je.drawLoop(u,M,\\\"break\\\",lt),Bt.bumpVerticalPos(M.stopy-Bt.getVerticalPos()),Bt.models.addLoop(M);break;default:try{Q=v.msgModel,Q.starty=Bt.getVerticalPos(),Q.sequenceIndex=L,Q.sequenceVisible=n.db.showSequenceNumbers();const x=NF(u,Q);I.push({messageModel:Q,lineStartY:x}),Bt.models.addMessage(Q)}catch(x){B.error(\\\"error while drawing message\\\",x)}}[n.db.LINETYPE.SOLID_OPEN,n.db.LINETYPE.DOTTED_OPEN,n.db.LINETYPE.SOLID,n.db.LINETYPE.DOTTED,n.db.LINETYPE.SOLID_CROSS,n.db.LINETYPE.DOTTED_CROSS,n.db.LINETYPE.SOLID_POINT,n.db.LINETYPE.DOTTED_POINT].includes(v.type)&&(L=L+E)}),I.forEach(v=>BF(u,v.messageModel,v.lineStartY,n)),lt.mirrorActors&&(Bt.bumpVerticalPos(lt.boxMargin*2),hd(u,d,f,Bt.getVerticalPos(),lt,p),Bt.bumpVerticalPos(lt.boxMargin),J3(u,Bt.getVerticalPos()));const V=e4(u,d,f,l),{bounds:H}=Bt.getBounds();B.debug(\\\"For line height fix Querying: #\\\"+e+\\\" .actor-line\\\"),hh(\\\"#\\\"+e+\\\" .actor-line\\\").attr(\\\"y2\\\",H.stopy);let Y=H.stopy-H.starty;Y\u003CV.maxHeight&&(Y=V.maxHeight);let W=Y+2*lt.diagramMarginY;lt.mirrorActors&&(W=W-lt.boxMargin+lt.bottomMarginAdj);let N=H.stopx-H.startx;N\u003CV.maxWidth&&(N=V.maxWidth);const D=N+2*lt.diagramMarginX;g&&u.append(\\\"text\\\").text(g).attr(\\\"x\\\",(H.stopx-H.startx)/2-2*lt.diagramMarginX).attr(\\\"y\\\",-25),xn(u,W,D,lt.useMaxWidth);const w=g?40:0;u.attr(\\\"viewBox\\\",H.startx-lt.diagramMarginX+\\\" -\\\"+(lt.diagramMarginY+w)+\\\" \\\"+D+\\\" \\\"+(W+w)),B.debug(\\\"models:\\\",Bt.models)};function OF(t,e,r){const n={};return e.forEach(function(i){if(t[i.to]&&t[i.from]){const s=t[i.to];if(i.placement===r.db.PLACEMENT.LEFTOF&&!s.prevActor||i.placement===r.db.PLACEMENT.RIGHTOF&&!s.nextActor)return;const a=i.placement!==void 0,o=!a,l=a?Oa(lt):Ia(lt),u=i.wrap?ge.wrapLabel(i.message,lt.width-2*lt.wrapPadding,l):i.message,f=ge.calculateTextDimensions(u,l).width+2*lt.wrapPadding;o&&i.from===s.nextActor?n[i.to]=Math.max(n[i.to]||0,f):o&&i.from===s.prevActor?n[i.from]=Math.max(n[i.from]||0,f):o&&i.from===i.to?(n[i.from]=Math.max(n[i.from]||0,f/2),n[i.to]=Math.max(n[i.to]||0,f/2)):i.placement===r.db.PLACEMENT.RIGHTOF?n[i.from]=Math.max(n[i.from]||0,f):i.placement===r.db.PLACEMENT.LEFTOF?n[s.prevActor]=Math.max(n[s.prevActor]||0,f):i.placement===r.db.PLACEMENT.OVER&&(s.prevActor&&(n[s.prevActor]=Math.max(n[s.prevActor]||0,f/2)),s.nextActor&&(n[i.from]=Math.max(n[i.from]||0,f/2)))}}),B.debug(\\\"maxMessageWidthPerActor:\\\",n),n}const RF=function(t){let e=0;const r=ud(lt);for(const n in t.links){const s=ge.calculateTextDimensions(n,r).width+2*lt.wrapPadding+2*lt.boxMargin;e\u003Cs&&(e=s)}return e};function FF(t,e){let r=0;Object.keys(t).forEach(n=>{const i=t[n];i.wrap&&(i.description=ge.wrapLabel(i.description,lt.width-2*lt.wrapPadding,ud(lt)));const s=ge.calculateTextDimensions(i.description,ud(lt));i.width=i.wrap?lt.width:Math.max(lt.width,s.width+2*lt.wrapPadding),i.height=i.wrap?Math.max(s.height,lt.height):lt.height,r=Math.max(r,i.height)});for(const n in e){const i=t[n];if(!i)continue;const s=t[i.nextActor];if(!s)continue;const o=e[n]+lt.actorMargin-i.width/2-s.width/2;i.margin=Math.max(o,lt.actorMargin)}return Math.max(r,lt.height)}const PF=function(t,e,r){const n=e[t.from].x,i=e[t.to].x,s=t.wrap&&t.message;let a=ge.calculateTextDimensions(s?ge.wrapLabel(t.message,lt.width,Oa(lt)):t.message,Oa(lt));const o={width:s?lt.width:Math.max(lt.width,a.width+2*lt.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===r.db.PLACEMENT.RIGHTOF?(o.width=s?Math.max(lt.width,a.width):Math.max(e[t.from].width/2+e[t.to].width/2,a.width+2*lt.noteMargin),o.startx=n+(e[t.from].width+lt.actorMargin)/2):t.placement===r.db.PLACEMENT.LEFTOF?(o.width=Math.max(s?lt.width:e[t.from].width/2+e[t.to].width/2,a.width+2*lt.noteMargin),o.startx=n-o.width+(e[t.from].width-lt.actorMargin)/2):t.to===t.from?(a=ge.calculateTextDimensions(s?ge.wrapLabel(t.message,Math.max(lt.width,e[t.from].width),Oa(lt)):t.message,Oa(lt)),o.width=s?Math.max(lt.width,e[t.from].width):Math.max(e[t.from].width,lt.width,a.width+2*lt.noteMargin),o.startx=n+(e[t.from].width-o.width)/2):(o.width=Math.abs(n+e[t.from].width/2-(i+e[t.to].width/2))+lt.actorMargin,o.startx=n\u003Ci?n+e[t.from].width/2-lt.actorMargin/2:i+e[t.to].width/2-lt.actorMargin/2),s&&(o.message=ge.wrapLabel(t.message,o.width-2*lt.wrapPadding,Oa(lt))),B.debug(`NM:[${o.startx},${o.stopx},${o.starty},${o.stopy}:${o.width},${o.height}=${t.message}]`),o},YF=function(t,e,r){let n=!1;if([r.db.LINETYPE.SOLID_OPEN,r.db.LINETYPE.DOTTED_OPEN,r.db.LINETYPE.SOLID,r.db.LINETYPE.DOTTED,r.db.LINETYPE.SOLID_CROSS,r.db.LINETYPE.DOTTED_CROSS,r.db.LINETYPE.SOLID_POINT,r.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(n=!0),!n)return{};const i=n4(t.from,e),s=n4(t.to,e),a=i[0]\u003C=s[0]?1:0,o=i[0]\u003Cs[0]?0:1,l=[...i,...s],u=Math.abs(s[o]-i[a]);t.wrap&&t.message&&(t.message=ge.wrapLabel(t.message,Math.max(u+2*lt.wrapPadding,lt.width),Ia(lt)));const d=ge.calculateTextDimensions(t.message,Ia(lt));return{width:Math.max(t.wrap?0:d.width+2*lt.wrapPadding,u+2*lt.wrapPadding,lt.width),height:0,startx:i[a],stopx:s[o],starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,l),toBounds:Math.max.apply(null,l)}},VF=function(t,e,r,n){const i={},s=[];let a,o,l;return t.forEach(function(u){switch(u.id=ge.random({length:10}),u.type){case n.db.LINETYPE.LOOP_START:case n.db.LINETYPE.ALT_START:case n.db.LINETYPE.OPT_START:case n.db.LINETYPE.PAR_START:case n.db.LINETYPE.CRITICAL_START:case n.db.LINETYPE.BREAK_START:s.push({id:u.id,msg:u.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case n.db.LINETYPE.ALT_ELSE:case n.db.LINETYPE.PAR_AND:case n.db.LINETYPE.CRITICAL_OPTION:u.message&&(a=s.pop(),i[a.id]=a,i[u.id]=a,s.push(a));break;case n.db.LINETYPE.LOOP_END:case n.db.LINETYPE.ALT_END:case n.db.LINETYPE.OPT_END:case n.db.LINETYPE.PAR_END:case n.db.LINETYPE.CRITICAL_END:case n.db.LINETYPE.BREAK_END:a=s.pop(),i[a.id]=a;break;case n.db.LINETYPE.ACTIVE_START:{const f=e[u.from?u.from.actor:u.to.actor],p=Du(u.from?u.from.actor:u.to.actor).length,g=f.x+f.width/2+(p-1)*lt.activationWidth/2,b={startx:g,stopx:g+lt.activationWidth,actor:u.from.actor,enabled:!0};Bt.activations.push(b)}break;case n.db.LINETYPE.ACTIVE_END:{const f=Bt.activations.map(p=>p.actor).lastIndexOf(u.from.actor);delete Bt.activations.splice(f,1)[0]}break}u.placement!==void 0?(o=PF(u,e,n),u.noteModel=o,s.forEach(f=>{a=f,a.from=Math.min(a.from,o.startx),a.to=Math.max(a.to,o.startx+o.width),a.width=Math.max(a.width,Math.abs(a.from-a.to))-lt.labelBoxWidth})):(l=YF(u,e,n),u.msgModel=l,l.startx&&l.stopx&&s.length>0&&s.forEach(f=>{if(a=f,l.startx===l.stopx){const p=e[u.from],g=e[u.to];a.from=Math.min(p.x-l.width/2,p.x-p.width/2,a.from),a.to=Math.max(g.x+l.width/2,g.x+p.width/2,a.to),a.width=Math.max(a.width,Math.abs(a.to-a.from))-lt.labelBoxWidth}else a.from=Math.min(l.startx,a.from),a.to=Math.max(l.stopx,a.to),a.width=Math.max(a.width,l.width)-lt.labelBoxWidth}))}),Bt.activations=[],B.debug(\\\"Loop type widths:\\\",i),i},i4={bounds:Bt,drawActors:hd,drawActorsPopup:e4,setConf:r4,draw:IF};var dd=function(){var t=function(j,ot,rt,nt){for(rt=rt||{},nt=j.length;nt--;rt[j[nt]]=ot);return rt},e=[1,2],r=[1,3],n=[1,5],i=[1,7],s=[2,5],a=[1,15],o=[1,17],l=[1,21],u=[1,22],d=[1,23],f=[1,24],p=[1,37],g=[1,25],b=[1,26],k=[1,27],T=[1,28],L=[1,29],E=[1,32],I=[1,33],V=[1,34],H=[1,35],G=[1,36],Y=[1,39],W=[1,40],N=[1,41],D=[1,42],w=[1,38],v=[1,45],M=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],m=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],Q=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],x=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],ct={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,\\\"-->\\\":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,\\\":\\\":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,\\\";\\\":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:\\\"error\\\",4:\\\"SPACE\\\",5:\\\"NL\\\",7:\\\"SD\\\",14:\\\"DESCR\\\",15:\\\"-->\\\",16:\\\"HIDE_EMPTY\\\",17:\\\"scale\\\",18:\\\"WIDTH\\\",19:\\\"COMPOSIT_STATE\\\",20:\\\"STRUCT_START\\\",21:\\\"STRUCT_STOP\\\",22:\\\"STATE_DESCR\\\",23:\\\"AS\\\",24:\\\"ID\\\",25:\\\"FORK\\\",26:\\\"JOIN\\\",27:\\\"CHOICE\\\",28:\\\"CONCURRENT\\\",29:\\\"note\\\",31:\\\"NOTE_TEXT\\\",33:\\\"acc_title\\\",34:\\\"acc_title_value\\\",35:\\\"acc_descr\\\",36:\\\"acc_descr_value\\\",37:\\\"acc_descr_multiline_value\\\",38:\\\"classDef\\\",39:\\\"CLASSDEF_ID\\\",40:\\\"CLASSDEF_STYLEOPTS\\\",41:\\\"DEFAULT\\\",42:\\\"class\\\",43:\\\"CLASSENTITY_IDS\\\",44:\\\"STYLECLASS\\\",48:\\\":\\\",50:\\\"direction_tb\\\",51:\\\"direction_bt\\\",52:\\\"direction_rl\\\",53:\\\"direction_lr\\\",55:\\\";\\\",56:\\\"EDGE_STATE\\\",57:\\\"STYLE_SEPARATOR\\\",58:\\\"left_of\\\",59:\\\"right_of\\\",60:\\\"open_directive\\\",61:\\\"type_directive\\\",62:\\\"arg_directive\\\",63:\\\"close_directive\\\"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(ot,rt,nt,ut,_t,K,Ot){var P=K.length-1;switch(_t){case 4:return ut.setRootDoc(K[P]),K[P];case 5:this.$=[];break;case 6:K[P]!=\\\"nl\\\"&&(K[P-1].push(K[P]),this.$=K[P-1]);break;case 7:case 8:this.$=K[P];break;case 9:this.$=\\\"nl\\\";break;case 12:this.$=K[P];break;case 13:const O=K[P-1];O.description=ut.trimColon(K[P]),this.$=O;break;case 14:this.$={stmt:\\\"relation\\\",state1:K[P-2],state2:K[P]};break;case 15:const A=ut.trimColon(K[P]);this.$={stmt:\\\"relation\\\",state1:K[P-3],state2:K[P-1],description:A};break;case 19:this.$={stmt:\\\"state\\\",id:K[P-3],type:\\\"default\\\",description:\\\"\\\",doc:K[P-1]};break;case 20:var z=K[P],X=K[P-2].trim();if(K[P].match(\\\":\\\")){var F=K[P].split(\\\":\\\");z=F[0],X=[X,F[1]]}this.$={stmt:\\\"state\\\",id:z,type:\\\"default\\\",description:X};break;case 21:this.$={stmt:\\\"state\\\",id:K[P-3],type:\\\"default\\\",description:K[P-5],doc:K[P-1]};break;case 22:this.$={stmt:\\\"state\\\",id:K[P],type:\\\"fork\\\"};break;case 23:this.$={stmt:\\\"state\\\",id:K[P],type:\\\"join\\\"};break;case 24:this.$={stmt:\\\"state\\\",id:K[P],type:\\\"choice\\\"};break;case 25:this.$={stmt:\\\"state\\\",id:ut.getDividerId(),type:\\\"divider\\\"};break;case 26:this.$={stmt:\\\"state\\\",id:K[P-1].trim(),note:{position:K[P-2].trim(),text:K[P].trim()}};break;case 30:this.$=K[P].trim(),ut.setAccTitle(this.$);break;case 31:case 32:this.$=K[P].trim(),ut.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:\\\"classDef\\\",id:K[P-1].trim(),classes:K[P].trim()};break;case 35:this.$={stmt:\\\"applyClass\\\",id:K[P-1].trim(),styleClass:K[P].trim()};break;case 38:ut.setDirection(\\\"TB\\\"),this.$={stmt:\\\"dir\\\",value:\\\"TB\\\"};break;case 39:ut.setDirection(\\\"BT\\\"),this.$={stmt:\\\"dir\\\",value:\\\"BT\\\"};break;case 40:ut.setDirection(\\\"RL\\\"),this.$={stmt:\\\"dir\\\",value:\\\"RL\\\"};break;case 41:ut.setDirection(\\\"LR\\\"),this.$={stmt:\\\"dir\\\",value:\\\"LR\\\"};break;case 44:case 45:this.$={stmt:\\\"state\\\",id:K[P].trim(),type:\\\"default\\\",description:\\\"\\\"};break;case 46:this.$={stmt:\\\"state\\\",id:K[P-2].trim(),classes:[K[P].trim()],type:\\\"default\\\",description:\\\"\\\"};break;case 47:this.$={stmt:\\\"state\\\",id:K[P-2].trim(),classes:[K[P].trim()],type:\\\"default\\\",description:\\\"\\\"};break;case 50:ut.parseDirective(\\\"%%{\\\",\\\"open_directive\\\");break;case 51:ut.parseDirective(K[P],\\\"type_directive\\\");break;case 52:K[P]=K[P].trim().replace(/'/g,'\\\"'),ut.parseDirective(K[P],\\\"arg_directive\\\");break;case 53:ut.parseDirective(\\\"}%%\\\",\\\"close_directive\\\",\\\"state\\\");break}},table:[{3:1,4:e,5:r,6:4,7:n,45:6,60:i},{1:[3]},{3:8,4:e,5:r,6:4,7:n,45:6,60:i},{3:9,4:e,5:r,6:4,7:n,45:6,60:i},{3:10,4:e,5:r,6:4,7:n,45:6,60:i},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],s,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:a,5:o,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:u,19:d,22:f,24:p,25:g,26:b,27:k,28:T,29:L,32:31,33:E,35:I,37:V,38:H,42:G,45:6,50:Y,51:W,52:N,53:D,56:w,60:i},{47:43,48:[1,44],63:v},t([48,63],[2,51]),t(M,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:l,17:u,19:d,22:f,24:p,25:g,26:b,27:k,28:T,29:L,32:31,33:E,35:I,37:V,38:H,42:G,45:6,50:Y,51:W,52:N,53:D,56:w,60:i},t(M,[2,8]),t(M,[2,9]),t(M,[2,10]),t(M,[2,11]),t(M,[2,12],{14:[1,47],15:[1,48]}),t(M,[2,16]),{18:[1,49]},t(M,[2,18],{20:[1,50]}),{23:[1,51]},t(M,[2,22]),t(M,[2,23]),t(M,[2,24]),t(M,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(M,[2,28]),t(M,[2,29]),{34:[1,56]},{36:[1,57]},t(M,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(m,[2,44],{57:[1,61]}),t(m,[2,45],{57:[1,62]}),t(M,[2,38]),t(M,[2,39]),t(M,[2,40]),t(M,[2,41]),t(Q,[2,36]),{49:63,62:[1,64]},t(Q,[2,53]),t(M,[2,7]),t(M,[2,13]),{13:65,24:p,56:w},t(M,[2,17]),t(x,s,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(M,[2,30]),t(M,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:v},{63:[2,52]},t(M,[2,14],{14:[1,76]}),{4:a,5:o,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:u,19:d,21:[1,77],22:f,24:p,25:g,26:b,27:k,28:T,29:L,32:31,33:E,35:I,37:V,38:H,42:G,45:6,50:Y,51:W,52:N,53:D,56:w,60:i},t(M,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(M,[2,33]),t(M,[2,34]),t(M,[2,35]),t(m,[2,46]),t(m,[2,47]),t(Q,[2,37]),t(M,[2,15]),t(M,[2,19]),t(x,s,{8:81}),t(M,[2,26]),t(M,[2,27]),{4:a,5:o,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:u,19:d,21:[1,82],22:f,24:p,25:g,26:b,27:k,28:T,29:L,32:31,33:E,35:I,37:V,38:H,42:G,45:6,50:Y,51:W,52:N,53:D,56:w,60:i},t(M,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(ot,rt){if(rt.recoverable)this.trace(ot);else{var nt=new Error(ot);throw nt.hash=rt,nt}},parse:function(ot){var rt=this,nt=[0],ut=[],_t=[null],K=[],Ot=this.table,P=\\\"\\\",z=0,X=0,F=2,O=1,A=K.slice.call(arguments,1),J=Object.create(this.lexer),C={yy:{}};for(var ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ht)&&(C.yy[ht]=this.yy[ht]);J.setInput(ot,C.yy),C.yy.lexer=J,C.yy.parser=this,typeof J.yylloc>\\\"u\\\"&&(J.yylloc={});var U=J.yylloc;K.push(U);var Yt=J.options&&J.options.ranges;typeof C.yy.parseError==\\\"function\\\"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function et(){var Kt;return Kt=ut.pop()||J.lex()||O,typeof Kt!=\\\"number\\\"&&(Kt instanceof Array&&(ut=Kt,Kt=ut.pop()),Kt=rt.symbols_[Kt]||Kt),Kt}for(var Mt,Tt,gt,Et,wt={},pt,st,le,Xt;;){if(Tt=nt[nt.length-1],this.defaultActions[Tt]?gt=this.defaultActions[Tt]:((Mt===null||typeof Mt>\\\"u\\\")&&(Mt=et()),gt=Ot[Tt]&&Ot[Tt][Mt]),typeof gt>\\\"u\\\"||!gt.length||!gt[0]){var jt=\\\"\\\";Xt=[];for(pt in Ot[Tt])this.terminals_[pt]&&pt>F&&Xt.push(\\\"'\\\"+this.terminals_[pt]+\\\"'\\\");J.showPosition?jt=\\\"Parse error on line \\\"+(z+1)+`:\\n`+J.showPosition()+`\\nExpecting `+Xt.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[Mt]||Mt)+\\\"'\\\":jt=\\\"Parse error on line \\\"+(z+1)+\\\": Unexpected \\\"+(Mt==O?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[Mt]||Mt)+\\\"'\\\"),this.parseError(jt,{text:J.match,token:this.terminals_[Mt]||Mt,line:J.yylineno,loc:U,expected:Xt})}if(gt[0]instanceof Array&>.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+Tt+\\\", token: \\\"+Mt);switch(gt[0]){case 1:nt.push(Mt),_t.push(J.yytext),K.push(J.yylloc),nt.push(gt[1]),Mt=null,X=J.yyleng,P=J.yytext,z=J.yylineno,U=J.yylloc;break;case 2:if(st=this.productions_[gt[1]][1],wt.$=_t[_t.length-st],wt._$={first_line:K[K.length-(st||1)].first_line,last_line:K[K.length-1].last_line,first_column:K[K.length-(st||1)].first_column,last_column:K[K.length-1].last_column},Yt&&(wt._$.range=[K[K.length-(st||1)].range[0],K[K.length-1].range[1]]),Et=this.performAction.apply(wt,[P,X,z,C.yy,gt[1],_t,K].concat(A)),typeof Et\u003C\\\"u\\\")return Et;st&&(nt=nt.slice(0,-1*st*2),_t=_t.slice(0,-1*st),K=K.slice(0,-1*st)),nt.push(this.productions_[gt[1]][0]),_t.push(wt.$),K.push(wt._$),le=Ot[nt[nt.length-2]][nt[nt.length-1]],nt.push(le);break;case 3:return!0}}return!0}},Dt=function(){var j={EOF:1,parseError:function(rt,nt){if(this.yy.parser)this.yy.parser.parseError(rt,nt);else throw new Error(rt)},setInput:function(ot,rt){return this.yy=rt||this.yy||{},this._input=ot,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var ot=this._input[0];this.yytext+=ot,this.yyleng++,this.offset++,this.match+=ot,this.matched+=ot;var rt=ot.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return rt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),ot},unput:function(ot){var rt=ot.length,nt=ot.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=ot+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-rt),this.offset-=rt;var ut=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),nt.length-1&&(this.yylineno-=nt.length-1);var _t=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:nt?(nt.length===ut.length?this.yylloc.first_column:0)+ut[ut.length-nt.length].length-nt[0].length:this.yylloc.first_column-rt},this.options.ranges&&(this.yylloc.range=[_t[0],_t[0]+this.yyleng-rt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(ot){this.unput(this.match.slice(ot))},pastInput:function(){var ot=this.matched.substr(0,this.matched.length-this.match.length);return(ot.length>20?\\\"...\\\":\\\"\\\")+ot.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var ot=this.match;return ot.length\u003C20&&(ot+=this._input.substr(0,20-ot.length)),(ot.substr(0,20)+(ot.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var ot=this.pastInput(),rt=new Array(ot.length+1).join(\\\"-\\\");return ot+this.upcomingInput()+`\\n`+rt+\\\"^\\\"},test_match:function(ot,rt){var nt,ut,_t;if(this.options.backtrack_lexer&&(_t={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_t.yylloc.range=this.yylloc.range.slice(0))),ut=ot[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),ut&&(this.yylineno+=ut.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ut?ut[ut.length-1].length-ut[ut.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+ot[0].length},this.yytext+=ot[0],this.match+=ot[0],this.matches=ot,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(ot[0].length),this.matched+=ot[0],nt=this.performAction.call(this,this.yy,this,rt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),nt)return nt;if(this._backtrack){for(var K in _t)this[K]=_t[K];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var ot,rt,nt,ut;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var _t=this._currentRules(),K=0;K\u003C_t.length;K++)if(nt=this._input.match(this.rules[_t[K]]),nt&&(!rt||nt[0].length>rt[0].length)){if(rt=nt,ut=K,this.options.backtrack_lexer){if(ot=this.test_match(nt,_t[K]),ot!==!1)return ot;if(this._backtrack){rt=!1;continue}else return!1}else if(!this.options.flex)break}return rt?(ot=this.test_match(rt,_t[ut]),ot!==!1?ot:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var rt=this.next();return rt||this.lex()},begin:function(rt){this.conditionStack.push(rt)},popState:function(){var rt=this.conditionStack.length-1;return rt>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(rt){return rt=this.conditionStack.length-1-Math.abs(rt||0),rt>=0?this.conditionStack[rt]:\\\"INITIAL\\\"},pushState:function(rt){this.begin(rt)},stateStackSize:function(){return this.conditionStack.length},options:{\\\"case-insensitive\\\":!0},performAction:function(rt,nt,ut,_t){switch(ut){case 0:return 41;case 1:return 50;case 2:return 51;case 3:return 52;case 4:return 53;case 5:return this.begin(\\\"open_directive\\\"),60;case 6:return this.begin(\\\"type_directive\\\"),61;case 7:return this.popState(),this.begin(\\\"arg_directive\\\"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:break;case 11:break;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:break;case 17:return this.pushState(\\\"SCALE\\\"),17;case 18:return 18;case 19:this.popState();break;case 20:return this.begin(\\\"acc_title\\\"),33;case 21:return this.popState(),\\\"acc_title_value\\\";case 22:return this.begin(\\\"acc_descr\\\"),35;case 23:return this.popState(),\\\"acc_descr_value\\\";case 24:this.begin(\\\"acc_descr_multiline\\\");break;case 25:this.popState();break;case 26:return\\\"acc_descr_multiline_value\\\";case 27:return this.pushState(\\\"CLASSDEF\\\"),38;case 28:return this.popState(),this.pushState(\\\"CLASSDEFID\\\"),\\\"DEFAULT_CLASSDEF_ID\\\";case 29:return this.popState(),this.pushState(\\\"CLASSDEFID\\\"),39;case 30:return this.popState(),40;case 31:return this.pushState(\\\"CLASS\\\"),42;case 32:return this.popState(),this.pushState(\\\"CLASS_STYLE\\\"),43;case 33:return this.popState(),44;case 34:return this.pushState(\\\"SCALE\\\"),17;case 35:return 18;case 36:this.popState();break;case 37:this.pushState(\\\"STATE\\\");break;case 38:return this.popState(),nt.yytext=nt.yytext.slice(0,-8).trim(),25;case 39:return this.popState(),nt.yytext=nt.yytext.slice(0,-8).trim(),26;case 40:return this.popState(),nt.yytext=nt.yytext.slice(0,-10).trim(),27;case 41:return this.popState(),nt.yytext=nt.yytext.slice(0,-8).trim(),25;case 42:return this.popState(),nt.yytext=nt.yytext.slice(0,-8).trim(),26;case 43:return this.popState(),nt.yytext=nt.yytext.slice(0,-10).trim(),27;case 44:return 50;case 45:return 51;case 46:return 52;case 47:return 53;case 48:this.begin(\\\"STATE_STRING\\\");break;case 49:return this.popState(),this.pushState(\\\"STATE_ID\\\"),\\\"AS\\\";case 50:return this.popState(),\\\"ID\\\";case 51:this.popState();break;case 52:return\\\"STATE_DESCR\\\";case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState(\\\"struct\\\"),20;case 56:break;case 57:return this.popState(),21;case 58:break;case 59:return this.begin(\\\"NOTE\\\"),29;case 60:return this.popState(),this.pushState(\\\"NOTE_ID\\\"),58;case 61:return this.popState(),this.pushState(\\\"NOTE_ID\\\"),59;case 62:this.popState(),this.pushState(\\\"FLOATING_NOTE\\\");break;case 63:return this.popState(),this.pushState(\\\"FLOATING_NOTE_ID\\\"),\\\"AS\\\";case 64:break;case 65:return\\\"NOTE_TEXT\\\";case 66:return this.popState(),\\\"ID\\\";case 67:return this.popState(),this.pushState(\\\"NOTE_TEXT\\\"),24;case 68:return this.popState(),nt.yytext=nt.yytext.substr(2).trim(),31;case 69:return this.popState(),nt.yytext=nt.yytext.slice(0,-8).trim(),31;case 70:return 7;case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return nt.yytext=nt.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 79:return 5;case 80:return\\\"INVALID\\\"}},rules:[/^(?:default\\\\b)/i,/^(?:.*direction\\\\s+TB[^\\\\n]*)/i,/^(?:.*direction\\\\s+BT[^\\\\n]*)/i,/^(?:.*direction\\\\s+RL[^\\\\n]*)/i,/^(?:.*direction\\\\s+LR[^\\\\n]*)/i,/^(?:%%\\\\{)/i,/^(?:((?:(?!\\\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\\\}%%)/i,/^(?:((?:(?!\\\\}%%).|\\\\n)*))/i,/^(?:%%(?!\\\\{)[^\\\\n]*)/i,/^(?:[^\\\\}]%%[^\\\\n]*)/i,/^(?:[\\\\n]+)/i,/^(?:[\\\\s]+)/i,/^(?:((?!\\\\n)\\\\s)+)/i,/^(?:#[^\\\\n]*)/i,/^(?:%[^\\\\n]*)/i,/^(?:scale\\\\s+)/i,/^(?:\\\\d+)/i,/^(?:\\\\s+width\\\\b)/i,/^(?:accTitle\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*\\\\{\\\\s*)/i,/^(?:[\\\\}])/i,/^(?:[^\\\\}]*)/i,/^(?:classDef\\\\s+)/i,/^(?:DEFAULT\\\\s+)/i,/^(?:\\\\w+\\\\s+)/i,/^(?:[^\\\\n]*)/i,/^(?:class\\\\s+)/i,/^(?:(\\\\w+)+((,\\\\s*\\\\w+)*))/i,/^(?:[^\\\\n]*)/i,/^(?:scale\\\\s+)/i,/^(?:\\\\d+)/i,/^(?:\\\\s+width\\\\b)/i,/^(?:state\\\\s+)/i,/^(?:.*\u003C\u003Cfork>>)/i,/^(?:.*\u003C\u003Cjoin>>)/i,/^(?:.*\u003C\u003Cchoice>>)/i,/^(?:.*\\\\[\\\\[fork\\\\]\\\\])/i,/^(?:.*\\\\[\\\\[join\\\\]\\\\])/i,/^(?:.*\\\\[\\\\[choice\\\\]\\\\])/i,/^(?:.*direction\\\\s+TB[^\\\\n]*)/i,/^(?:.*direction\\\\s+BT[^\\\\n]*)/i,/^(?:.*direction\\\\s+RL[^\\\\n]*)/i,/^(?:.*direction\\\\s+LR[^\\\\n]*)/i,/^(?:[\\\"])/i,/^(?:\\\\s*as\\\\s+)/i,/^(?:[^\\\\n\\\\{]*)/i,/^(?:[\\\"])/i,/^(?:[^\\\"]*)/i,/^(?:[^\\\\n\\\\s\\\\{]+)/i,/^(?:\\\\n)/i,/^(?:\\\\{)/i,/^(?:%%(?!\\\\{)[^\\\\n]*)/i,/^(?:\\\\})/i,/^(?:[\\\\n])/i,/^(?:note\\\\s+)/i,/^(?:left of\\\\b)/i,/^(?:right of\\\\b)/i,/^(?:\\\")/i,/^(?:\\\\s*as\\\\s*)/i,/^(?:[\\\"])/i,/^(?:[^\\\"]*)/i,/^(?:[^\\\\n]*)/i,/^(?:\\\\s*[^:\\\\n\\\\s\\\\-]+)/i,/^(?:\\\\s*:[^:\\\\n;]+)/i,/^(?:[\\\\s\\\\S]*?end note\\\\b)/i,/^(?:stateDiagram\\\\s+)/i,/^(?:stateDiagram-v2\\\\s+)/i,/^(?:hide empty description\\\\b)/i,/^(?:\\\\[\\\\*\\\\])/i,/^(?:[^:\\\\n\\\\s\\\\-\\\\{]+)/i,/^(?:\\\\s*:[^:\\\\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}};return j}();ct.lexer=Dt;function kt(){this.yy={}}return kt.prototype=ct,ct.Parser=kt,new kt}();dd.parser=dd;const s4=dd,UF=(t,e)=>{var r;return((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)===\\\"dagre-wrapper\\\"?!1:t.match(/^\\\\s*stateDiagram/)!==null},zF=(t,e)=>{var r;return!!(t.match(/^\\\\s*stateDiagram-v2/)!==null||t.match(/^\\\\s*stateDiagram/)&&((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)===\\\"dagre-wrapper\\\")},a4=\\\"LR\\\",WF=\\\"TB\\\",Mu=\\\"state\\\",fd=\\\"relation\\\",HF=\\\"classDef\\\",GF=\\\"applyClass\\\",Jo=\\\"default\\\",o4=\\\"divider\\\",pd=\\\"[*]\\\",l4=\\\"start\\\",c4=pd,u4=\\\"end\\\",h4=\\\"color\\\",d4=\\\"fill\\\",qF=\\\"bgFill\\\",jF=\\\",\\\";function f4(){return{}}let p4=a4,Nu=[],tl=f4();const g4=()=>({relations:[],states:{},documents:{}});let Bu={root:g4()},Cr=Bu.root,el=0,y4=0;const $F={LINE:0,DOTTED_LINE:1},XF={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},Iu=t=>JSON.parse(JSON.stringify(t)),KF=function(t,e,r){ze.parseDirective(this,t,e,r)},ZF=t=>{B.info(\\\"Setting root doc\\\",t),Nu=t},QF=()=>Nu,Ou=(t,e,r)=>{if(e.stmt===fd)Ou(t,e.state1,!0),Ou(t,e.state2,!1);else if(e.stmt===Mu&&e.id===\\\"[*]\\\"&&(e.id=r?t.id+\\\"_start\\\":t.id+\\\"_end\\\",e.start=r),e.doc){const n=[];let i=[],s;for(s=0;s\u003Ce.doc.length;s++)if(e.doc[s].type===o4){const a=Iu(e.doc[s]);a.doc=Iu(i),n.push(a),i=[]}else i.push(e.doc[s]);if(n.length>0&&i.length>0){const a={stmt:Mu,id:Rp(),type:\\\"divider\\\",doc:Iu(i)};n.push(Iu(a)),e.doc=n}e.doc.forEach(a=>Ou(e,a,!0))}},JF=()=>(Ou({id:\\\"root\\\"},{id:\\\"root\\\",doc:Nu},!0),{id:\\\"root\\\",doc:Nu}),tP=t=>{let e;t.doc?e=t.doc:e=t,B.info(e),m4(!0),B.info(\\\"Extract\\\",e),e.forEach(r=>{switch(r.stmt){case Mu:Ms(r.id,r.type,r.doc,r.description,r.note,r.classes,r.styles,r.textStyles);break;case fd:b4(r.state1,r.state2,r.description);break;case HF:_4(r.id,r.classes);break;case GF:bd(r.id,r.styleClass);break}})},Ms=function(t,e=Jo,r=null,n=null,i=null,s=null,a=null,o=null){Cr.states[t]===void 0?(B.info(\\\"Adding state \\\",t,n),Cr.states[t]={id:t,descriptions:[],type:e,doc:r,note:i,classes:[],styles:[],textStyles:[]}):(Cr.states[t].doc||(Cr.states[t].doc=r),Cr.states[t].type||(Cr.states[t].type=e)),n&&(B.info(\\\"Setting state description\\\",t,n),typeof n==\\\"string\\\"&&md(t,n.trim()),typeof n==\\\"object\\\"&&n.forEach(l=>md(t,l.trim()))),i&&(Cr.states[t].note=i,Cr.states[t].note.text=he.sanitizeText(Cr.states[t].note.text,$())),s&&(B.info(\\\"Setting state classes\\\",t,s),(typeof s==\\\"string\\\"?[s]:s).forEach(u=>bd(t,u.trim()))),a&&(B.info(\\\"Setting state styles\\\",t,a),(typeof a==\\\"string\\\"?[a]:a).forEach(u=>uP(t,u.trim()))),o&&(B.info(\\\"Setting state styles\\\",t,a),(typeof o==\\\"string\\\"?[o]:o).forEach(u=>hP(t,u.trim())))},m4=function(t){Bu={root:g4()},Cr=Bu.root,el=0,tl=f4(),t||vn()},rl=function(t){return Cr.states[t]},eP=function(){return Cr.states},rP=function(){B.info(\\\"Documents = \\\",Bu)},nP=function(){return Cr.relations};function gd(t=\\\"\\\"){let e=t;return t===pd&&(el++,e=`${l4}${el}`),e}function yd(t=\\\"\\\",e=Jo){return t===pd?l4:e}function iP(t=\\\"\\\"){let e=t;return t===c4&&(el++,e=`${u4}${el}`),e}function sP(t=\\\"\\\",e=Jo){return t===c4?u4:e}function aP(t,e,r){let n=gd(t.id),i=yd(t.id,t.type),s=gd(e.id),a=yd(e.id,e.type);Ms(n,i,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),Ms(s,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),Cr.relations.push({id1:n,id2:s,relationTitle:he.sanitizeText(r,$())})}const b4=function(t,e,r){if(typeof t==\\\"object\\\")aP(t,e,r);else{const n=gd(t),i=yd(t),s=iP(e),a=sP(e);Ms(n,i),Ms(s,a),Cr.relations.push({id1:n,id2:s,title:he.sanitizeText(r,$())})}},md=function(t,e){const r=Cr.states[t],n=e.startsWith(\\\":\\\")?e.replace(\\\":\\\",\\\"\\\").trim():e;r.descriptions.push(he.sanitizeText(n,$()))},oP=function(t){return t.substring(0,1)===\\\":\\\"?t.substr(2).trim():t.trim()},lP=()=>(y4++,\\\"divider-id-\\\"+y4),_4=function(t,e=\\\"\\\"){tl[t]===void 0&&(tl[t]={id:t,styles:[],textStyles:[]});const r=tl[t];e!=null&&e.split(jF).forEach(n=>{const i=n.replace(/([^;]*);/,\\\"$1\\\").trim();if(n.match(h4)){const a=i.replace(d4,qF).replace(h4,d4);r.textStyles.push(a)}r.styles.push(i)})},cP=function(){return tl},bd=function(t,e){t.split(\\\",\\\").forEach(function(r){let n=rl(r);if(n===void 0){const i=r.trim();Ms(i),n=rl(i)}n.classes.push(e)})},uP=function(t,e){const r=rl(t);r!==void 0&&r.textStyles.push(e)},hP=function(t,e){const r=rl(t);r!==void 0&&r.textStyles.push(e)},Ci={parseDirective:KF,getConfig:()=>$().state,addState:Ms,clear:m4,getState:rl,getStates:eP,getRelations:nP,getClasses:cP,getDirection:()=>p4,addRelation:b4,getDividerId:lP,setDirection:t=>{p4=t},cleanupLabel:oP,lineType:$F,relationType:XF,logDocuments:rP,getRootDoc:QF,setRootDoc:ZF,getRootDocV2:JF,extract:tP,trimColon:t=>t&&t[0]===\\\":\\\"?t.substr(1).trim():t.trim(),getAccTitle:kn,setAccTitle:nn,getAccDescription:Tn,setAccDescription:wn,addStyleClass:_4,setCssClass:bd,addDescription:md,setDiagramTitle:hi,getDiagramTitle:di},_d={},dP=(t,e)=>{_d[t]=e},fP=t=>_d[t],x4=()=>Object.keys(_d),pP={get:fP,set:dP,keys:x4,size:()=>x4().length},gP=t=>t.append(\\\"circle\\\").attr(\\\"class\\\",\\\"start-state\\\").attr(\\\"r\\\",$().state.sizeUnit).attr(\\\"cx\\\",$().state.padding+$().state.sizeUnit).attr(\\\"cy\\\",$().state.padding+$().state.sizeUnit),yP=t=>t.append(\\\"line\\\").style(\\\"stroke\\\",\\\"grey\\\").style(\\\"stroke-dasharray\\\",\\\"3\\\").attr(\\\"x1\\\",$().state.textHeight).attr(\\\"class\\\",\\\"divider\\\").attr(\\\"x2\\\",$().state.textHeight*2).attr(\\\"y1\\\",0).attr(\\\"y2\\\",0),mP=(t,e)=>{const r=t.append(\\\"text\\\").attr(\\\"x\\\",2*$().state.padding).attr(\\\"y\\\",$().state.textHeight+2*$().state.padding).attr(\\\"font-size\\\",$().state.fontSize).attr(\\\"class\\\",\\\"state-title\\\").text(e.id),n=r.node().getBBox();return t.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"x\\\",$().state.padding).attr(\\\"y\\\",$().state.padding).attr(\\\"width\\\",n.width+2*$().state.padding).attr(\\\"height\\\",n.height+2*$().state.padding).attr(\\\"rx\\\",$().state.radius),r},bP=(t,e)=>{const r=function(p,g,b){const k=p.append(\\\"tspan\\\").attr(\\\"x\\\",2*$().state.padding).text(g);b||k.attr(\\\"dy\\\",$().state.textHeight)},i=t.append(\\\"text\\\").attr(\\\"x\\\",2*$().state.padding).attr(\\\"y\\\",$().state.textHeight+1.3*$().state.padding).attr(\\\"font-size\\\",$().state.fontSize).attr(\\\"class\\\",\\\"state-title\\\").text(e.descriptions[0]).node().getBBox(),s=i.height,a=t.append(\\\"text\\\").attr(\\\"x\\\",$().state.padding).attr(\\\"y\\\",s+$().state.padding*.4+$().state.dividerMargin+$().state.textHeight).attr(\\\"class\\\",\\\"state-description\\\");let o=!0,l=!0;e.descriptions.forEach(function(p){o||(r(a,p,l),l=!1),o=!1});const u=t.append(\\\"line\\\").attr(\\\"x1\\\",$().state.padding).attr(\\\"y1\\\",$().state.padding+s+$().state.dividerMargin/2).attr(\\\"y2\\\",$().state.padding+s+$().state.dividerMargin/2).attr(\\\"class\\\",\\\"descr-divider\\\"),d=a.node().getBBox(),f=Math.max(d.width,i.width);return u.attr(\\\"x2\\\",f+3*$().state.padding),t.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"x\\\",$().state.padding).attr(\\\"y\\\",$().state.padding).attr(\\\"width\\\",f+2*$().state.padding).attr(\\\"height\\\",d.height+s+2*$().state.padding).attr(\\\"rx\\\",$().state.radius),t},_P=(t,e,r)=>{const n=$().state.padding,i=2*$().state.padding,s=t.node().getBBox(),a=s.width,o=s.x,l=t.append(\\\"text\\\").attr(\\\"x\\\",0).attr(\\\"y\\\",$().state.titleShift).attr(\\\"font-size\\\",$().state.fontSize).attr(\\\"class\\\",\\\"state-title\\\").text(e.id),d=l.node().getBBox().width+i;let f=Math.max(d,a);f===a&&(f=f+i);let p;const g=t.node().getBBox();e.doc,p=o-n,d>a&&(p=(a-f)/2+n),Math.abs(o-g.x)\u003Cn&&d>a&&(p=o-(d-a)/2);const b=1-$().state.textHeight;return t.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"x\\\",p).attr(\\\"y\\\",b).attr(\\\"class\\\",r?\\\"alt-composit\\\":\\\"composit\\\").attr(\\\"width\\\",f).attr(\\\"height\\\",g.height+$().state.textHeight+$().state.titleShift+1).attr(\\\"rx\\\",\\\"0\\\"),l.attr(\\\"x\\\",p+n),d\u003C=a&&l.attr(\\\"x\\\",o+(f-i)/2-d/2+n),t.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"x\\\",p).attr(\\\"y\\\",$().state.titleShift-$().state.textHeight-$().state.padding).attr(\\\"width\\\",f).attr(\\\"height\\\",$().state.textHeight*3).attr(\\\"rx\\\",$().state.radius),t.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"x\\\",p).attr(\\\"y\\\",$().state.titleShift-$().state.textHeight-$().state.padding).attr(\\\"width\\\",f).attr(\\\"height\\\",g.height+3+2*$().state.textHeight).attr(\\\"rx\\\",$().state.radius),t},xP=t=>(t.append(\\\"circle\\\").attr(\\\"class\\\",\\\"end-state-outer\\\").attr(\\\"r\\\",$().state.sizeUnit+$().state.miniPadding).attr(\\\"cx\\\",$().state.padding+$().state.sizeUnit+$().state.miniPadding).attr(\\\"cy\\\",$().state.padding+$().state.sizeUnit+$().state.miniPadding),t.append(\\\"circle\\\").attr(\\\"class\\\",\\\"end-state-inner\\\").attr(\\\"r\\\",$().state.sizeUnit).attr(\\\"cx\\\",$().state.padding+$().state.sizeUnit+2).attr(\\\"cy\\\",$().state.padding+$().state.sizeUnit+2)),vP=(t,e)=>{let r=$().state.forkWidth,n=$().state.forkHeight;if(e.parentId){let i=r;r=n,n=i}return t.append(\\\"rect\\\").style(\\\"stroke\\\",\\\"black\\\").style(\\\"fill\\\",\\\"black\\\").attr(\\\"width\\\",r).attr(\\\"height\\\",n).attr(\\\"x\\\",$().state.padding).attr(\\\"y\\\",$().state.padding)},kP=(t,e,r,n)=>{let i=0;const s=n.append(\\\"text\\\");s.style(\\\"text-anchor\\\",\\\"start\\\"),s.attr(\\\"class\\\",\\\"noteText\\\");let a=t.replace(/\\\\r\\\\n/g,\\\"\u003Cbr/>\\\");a=a.replace(/\\\\n/g,\\\"\u003Cbr/>\\\");const o=a.split(he.lineBreakRegex);let l=1.25*$().state.noteMargin;for(const u of o){const d=u.trim();if(d.length>0){const f=s.append(\\\"tspan\\\");if(f.text(d),l===0){const p=f.node().getBBox();l+=p.height}i+=l,f.attr(\\\"x\\\",e+$().state.noteMargin),f.attr(\\\"y\\\",r+i+1.25*$().state.noteMargin)}}return{textWidth:s.node().getBBox().width,textHeight:i}},wP=(t,e)=>{e.attr(\\\"class\\\",\\\"state-note\\\");const r=e.append(\\\"rect\\\").attr(\\\"x\\\",0).attr(\\\"y\\\",$().state.padding),n=e.append(\\\"g\\\"),{textWidth:i,textHeight:s}=kP(t,0,0,n);return r.attr(\\\"height\\\",s+2*$().state.noteMargin),r.attr(\\\"width\\\",i+$().state.noteMargin*2),r},v4=function(t,e){const r=e.id,n={id:r,label:e.id,width:0,height:0},i=t.append(\\\"g\\\").attr(\\\"id\\\",r).attr(\\\"class\\\",\\\"stateGroup\\\");e.type===\\\"start\\\"&&gP(i),e.type===\\\"end\\\"&&xP(i),(e.type===\\\"fork\\\"||e.type===\\\"join\\\")&&vP(i,e),e.type===\\\"note\\\"&&wP(e.note.text,i),e.type===\\\"divider\\\"&&yP(i),e.type===\\\"default\\\"&&e.descriptions.length===0&&mP(i,e),e.type===\\\"default\\\"&&e.descriptions.length>0&&bP(i,e);const s=i.node().getBBox();return n.width=s.width+2*$().state.padding,n.height=s.height+2*$().state.padding,pP.set(r,n),n};let k4=0;const TP=function(t,e,r){const n=function(l){switch(l){case Ci.relationType.AGGREGATION:return\\\"aggregation\\\";case Ci.relationType.EXTENSION:return\\\"extension\\\";case Ci.relationType.COMPOSITION:return\\\"composition\\\";case Ci.relationType.DEPENDENCY:return\\\"dependency\\\"}};e.points=e.points.filter(l=>!Number.isNaN(l.y));const i=e.points,s=Js().x(function(l){return l.x}).y(function(l){return l.y}).curve(ta),a=t.append(\\\"path\\\").attr(\\\"d\\\",s(i)).attr(\\\"id\\\",\\\"edge\\\"+k4).attr(\\\"class\\\",\\\"transition\\\");let o=\\\"\\\";if($().state.arrowMarkerAbsolute&&(o=window.location.protocol+\\\"//\\\"+window.location.host+window.location.pathname+window.location.search,o=o.replace(/\\\\(/g,\\\"\\\\\\\\(\\\"),o=o.replace(/\\\\)/g,\\\"\\\\\\\\)\\\")),a.attr(\\\"marker-end\\\",\\\"url(\\\"+o+\\\"#\\\"+n(Ci.relationType.DEPENDENCY)+\\\"End)\\\"),r.title!==void 0){const l=t.append(\\\"g\\\").attr(\\\"class\\\",\\\"stateLabel\\\"),{x:u,y:d}=ge.calcLabelPosition(e.points),f=he.getRows(r.title);let p=0;const g=[];let b=0,k=0;for(let E=0;E\u003C=f.length;E++){const I=l.append(\\\"text\\\").attr(\\\"text-anchor\\\",\\\"middle\\\").text(f[E]).attr(\\\"x\\\",u).attr(\\\"y\\\",d+p),V=I.node().getBBox();b=Math.max(b,V.width),k=Math.min(k,V.x),B.info(V.x,u,d+p),p===0&&(p=I.node().getBBox().height,B.info(\\\"Title height\\\",p,d)),g.push(I)}let T=p*f.length;if(f.length>1){const E=(f.length-1)*p*.5;g.forEach((I,V)=>I.attr(\\\"y\\\",d+V*p-E)),T=p*f.length}const L=l.node().getBBox();l.insert(\\\"rect\\\",\\\":first-child\\\").attr(\\\"class\\\",\\\"box\\\").attr(\\\"x\\\",u-b/2-$().state.padding/2).attr(\\\"y\\\",d-T/2-$().state.padding/2-3.5).attr(\\\"width\\\",b+$().state.padding).attr(\\\"height\\\",T+$().state.padding),B.info(L)}k4++};let $r;const xd={},EP=function(){},CP=function(t){t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"dependencyEnd\\\").attr(\\\"refX\\\",19).attr(\\\"refY\\\",7).attr(\\\"markerWidth\\\",20).attr(\\\"markerHeight\\\",28).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 19,7 L9,13 L14,7 L9,1 Z\\\")},SP=function(t,e,r,n){$r=$().state;const i=$().securityLevel;let s;i===\\\"sandbox\\\"&&(s=St(\\\"#i\\\"+e));const a=St(i===\\\"sandbox\\\"?s.nodes()[0].contentDocument.body:\\\"body\\\"),o=i===\\\"sandbox\\\"?s.nodes()[0].contentDocument:document;B.debug(\\\"Rendering diagram \\\"+t);const l=a.select(`[id='${e}']`);CP(l),new sr({multigraph:!0,compound:!0,rankdir:\\\"RL\\\"}).setDefaultEdgeLabel(function(){return{}});const d=n.db.getRootDoc();w4(d,l,void 0,!1,a,o,n);const f=$r.padding,p=l.node().getBBox(),g=p.width+f*2,b=p.height+f*2,k=g*1.75;xn(l,b,k,$r.useMaxWidth),l.attr(\\\"viewBox\\\",`${p.x-$r.padding} ${p.y-$r.padding} `+g+\\\" \\\"+b)},AP=t=>t?t.length*$r.fontSizeFactor:1,w4=(t,e,r,n,i,s,a)=>{const o=new sr({compound:!0,multigraph:!0});let l,u=!0;for(l=0;l\u003Ct.length;l++)if(t[l].stmt===\\\"relation\\\"){u=!1;break}r?o.setGraph({rankdir:\\\"LR\\\",multigraph:!0,compound:!0,ranker:\\\"tight-tree\\\",ranksep:u?1:$r.edgeLengthFactor,nodeSep:u?1:50,isMultiGraph:!0}):o.setGraph({rankdir:\\\"TB\\\",multigraph:!0,compound:!0,ranksep:u?1:$r.edgeLengthFactor,nodeSep:u?1:50,ranker:\\\"tight-tree\\\",isMultiGraph:!0}),o.setDefaultEdgeLabel(function(){return{}}),a.db.extract(t);const d=a.db.getStates(),f=a.db.getRelations(),p=Object.keys(d);for(const L of p){const E=d[L];r&&(E.parentId=r);let I;if(E.doc){let V=e.append(\\\"g\\\").attr(\\\"id\\\",E.id).attr(\\\"class\\\",\\\"stateGroup\\\");I=w4(E.doc,V,E.id,!n,i,s,a);{V=_P(V,E,n);let H=V.node().getBBox();I.width=H.width,I.height=H.height+$r.padding/2,xd[E.id]={y:$r.compositTitleSize}}}else I=v4(e,E);if(E.note){const V={descriptions:[],id:E.id+\\\"-note\\\",note:E.note,type:\\\"note\\\"},H=v4(e,V);E.note.position===\\\"left of\\\"?(o.setNode(I.id+\\\"-note\\\",H),o.setNode(I.id,I)):(o.setNode(I.id,I),o.setNode(I.id+\\\"-note\\\",H)),o.setParent(I.id,I.id+\\\"-group\\\"),o.setParent(I.id+\\\"-note\\\",I.id+\\\"-group\\\")}else o.setNode(I.id,I)}B.debug(\\\"Count=\\\",o.nodeCount(),o);let g=0;f.forEach(function(L){g++,B.debug(\\\"Setting edge\\\",L),o.setEdge(L.id1,L.id2,{relation:L,width:AP(L.title),height:$r.labelHeight*he.getRows(L.title).length,labelpos:\\\"c\\\"},\\\"id\\\"+g)}),Ea(o),B.debug(\\\"Graph after layout\\\",o.nodes());const b=e.node();o.nodes().forEach(function(L){L!==void 0&&o.node(L)!==void 0?(B.warn(\\\"Node \\\"+L+\\\": \\\"+JSON.stringify(o.node(L))),i.select(\\\"#\\\"+b.id+\\\" #\\\"+L).attr(\\\"transform\\\",\\\"translate(\\\"+(o.node(L).x-o.node(L).width/2)+\\\",\\\"+(o.node(L).y+(xd[L]?xd[L].y:0)-o.node(L).height/2)+\\\" )\\\"),i.select(\\\"#\\\"+b.id+\\\" #\\\"+L).attr(\\\"data-x-shift\\\",o.node(L).x-o.node(L).width/2),s.querySelectorAll(\\\"#\\\"+b.id+\\\" #\\\"+L+\\\" .divider\\\").forEach(I=>{const V=I.parentElement;let H=0,G=0;V&&(V.parentElement&&(H=V.parentElement.getBBox().width),G=parseInt(V.getAttribute(\\\"data-x-shift\\\"),10),Number.isNaN(G)&&(G=0)),I.setAttribute(\\\"x1\\\",0-G+8),I.setAttribute(\\\"x2\\\",H-G-8)})):B.debug(\\\"No Node \\\"+L+\\\": \\\"+JSON.stringify(o.node(L)))});let k=b.getBBox();o.edges().forEach(function(L){L!==void 0&&o.edge(L)!==void 0&&(B.debug(\\\"Edge \\\"+L.v+\\\" -> \\\"+L.w+\\\": \\\"+JSON.stringify(o.edge(L))),TP(e,o.edge(L),o.edge(L).relation))}),k=b.getBBox();const T={id:r||\\\"root\\\",label:r||\\\"root\\\",width:0,height:0};return T.width=k.width+2*$r.padding,T.height=k.height+2*$r.padding,B.debug(\\\"Doc rendered\\\",T,o),T},LP={setConf:EP,draw:SP},Ru=\\\"rect\\\",vd=\\\"rectWithTitle\\\",DP=\\\"start\\\",MP=\\\"end\\\",NP=\\\"divider\\\",BP=\\\"roundedWithTitle\\\",IP=\\\"note\\\",OP=\\\"noteGroup\\\",Ra=\\\"statediagram\\\",RP=`${Ra}-state`,T4=\\\"transition\\\",FP=\\\"note\\\",PP=`${T4} note-edge`,YP=`${Ra}-${FP}`,VP=`${Ra}-cluster`,UP=`${Ra}-cluster-alt`,E4=\\\"parent\\\",C4=\\\"note\\\",zP=\\\"state\\\",kd=\\\"----\\\",WP=`${kd}${C4}`,S4=`${kd}${E4}`,A4=\\\"fill:none\\\",L4=\\\"fill: #333\\\",D4=\\\"c\\\",M4=\\\"text\\\",N4=\\\"normal\\\";let Fu={},$i=0;const HP=function(t){const e=Object.keys(t);for(const r of e)t[r]},GP=function(t,e){B.trace(\\\"Extracting classes\\\"),e.db.clear();try{return e.parser.parse(t),e.db.extract(e.db.getRootDocV2()),e.db.getClasses()}catch(r){return r}};function qP(t){return t==null?\\\"\\\":t.classes?t.classes.join(\\\" \\\"):\\\"\\\"}function wd(t=\\\"\\\",e=0,r=\\\"\\\",n=kd){const i=r!==null&&r.length>0?`${n}${r}`:\\\"\\\";return`${zP}-${t}${i}-${e}`}const nl=(t,e,r,n,i,s)=>{const a=r.id,o=qP(n[a]);if(a!==\\\"root\\\"){let l=Ru;r.start===!0&&(l=DP),r.start===!1&&(l=MP),r.type!==Jo&&(l=r.type),Fu[a]||(Fu[a]={id:a,shape:l,description:he.sanitizeText(a,$()),classes:`${o} ${RP}`});const u=Fu[a];r.description&&(Array.isArray(u.description)?(u.shape=vd,u.description.push(r.description)):u.description.length>0?(u.shape=vd,u.description===a?u.description=[r.description]:u.description=[u.description,r.description]):(u.shape=Ru,u.description=r.description),u.description=he.sanitizeTextOrArray(u.description,$())),u.description.length===1&&u.shape===vd&&(u.shape=Ru),!u.type&&r.doc&&(B.info(\\\"Setting cluster for \\\",a,Td(r)),u.type=\\\"group\\\",u.dir=Td(r),u.shape=r.type===o4?NP:BP,u.classes=u.classes+\\\" \\\"+VP+\\\" \\\"+(s?UP:\\\"\\\"));const d={labelStyle:\\\"\\\",shape:u.shape,labelText:u.description,classes:u.classes,style:\\\"\\\",id:a,dir:u.dir,domId:wd(a,$i),type:u.type,padding:15};if(r.note){const f={labelStyle:\\\"\\\",shape:IP,labelText:r.note.text,classes:YP,style:\\\"\\\",id:a+WP+\\\"-\\\"+$i,domId:wd(a,$i,C4),type:u.type,padding:15},p={labelStyle:\\\"\\\",shape:OP,labelText:r.note.text,classes:u.classes,style:\\\"\\\",id:a+S4,domId:wd(a,$i,E4),type:\\\"group\\\",padding:0};$i++;const g=a+S4;t.setNode(g,p),t.setNode(f.id,f),t.setNode(a,d),t.setParent(a,g),t.setParent(f.id,g);let b=a,k=f.id;r.note.position===\\\"left of\\\"&&(b=f.id,k=a),t.setEdge(b,k,{arrowhead:\\\"none\\\",arrowType:\\\"\\\",style:A4,labelStyle:\\\"\\\",classes:PP,arrowheadStyle:L4,labelpos:D4,labelType:M4,thickness:N4})}else t.setNode(a,d)}e&&e.id!==\\\"root\\\"&&(B.trace(\\\"Setting node \\\",a,\\\" to be child of its parent \\\",e.id),t.setParent(a,e.id)),r.doc&&(B.trace(\\\"Adding nodes children \\\"),jP(t,r,r.doc,n,i,!s))},jP=(t,e,r,n,i,s)=>{B.trace(\\\"items\\\",r),r.forEach(a=>{switch(a.stmt){case Mu:nl(t,e,a,n,i,s);break;case Jo:nl(t,e,a,n,i,s);break;case fd:{nl(t,e,a.state1,n,i,s),nl(t,e,a.state2,n,i,s);const o={id:\\\"edge\\\"+$i,arrowhead:\\\"normal\\\",arrowTypeEnd:\\\"arrow_barb\\\",style:A4,labelStyle:\\\"\\\",label:he.sanitizeText(a.description,$()),arrowheadStyle:L4,labelpos:D4,labelType:M4,thickness:N4,classes:T4};t.setEdge(a.state1.id,a.state2.id,o,$i),$i++}break}})},Td=(t,e=WF)=>{let r=e;if(t.doc)for(let n=0;n\u003Ct.doc.length;n++){const i=t.doc[n];i.stmt===\\\"dir\\\"&&(r=i.value)}return r},$P={setConf:HP,getClasses:GP,draw:function(t,e,r,n){B.info(\\\"Drawing state diagram (v2)\\\",e),Fu={};let i=n.db.getDirection();i===void 0&&(i=a4);const{securityLevel:s,state:a}=$(),o=a.nodeSpacing||50,l=a.rankSpacing||50;B.info(n.db.getRootDocV2()),n.db.extract(n.db.getRootDocV2()),B.info(n.db.getRootDocV2());const u=n.db.getStates(),d=new sr({multigraph:!0,compound:!0}).setGraph({rankdir:Td(n.db.getRootDocV2()),nodesep:o,ranksep:l,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});nl(d,void 0,n.db.getRootDocV2(),u,n.db,!0);let f;s===\\\"sandbox\\\"&&(f=St(\\\"#i\\\"+e));const p=St(s===\\\"sandbox\\\"?f.nodes()[0].contentDocument.body:\\\"body\\\"),g=p.select(`[id=\\\"${e}\\\"]`),b=p.select(\\\"#\\\"+e+\\\" g\\\");v0(b,d,[\\\"barb\\\"],Ra,e);const k=8;ge.insertTitle(g,\\\"statediagramTitleText\\\",a.titleTopMargin,n.db.getDiagramTitle());const T=g.node().getBBox(),L=T.width+k*2,E=T.height+k*2;g.attr(\\\"class\\\",Ra);const I=g.node().getBBox();xn(g,E,L,a.useMaxWidth);const V=`${I.x-k} ${I.y-k} ${L} ${E}`;B.debug(`viewBox ${V}`),g.attr(\\\"viewBox\\\",V);const H=document.querySelectorAll('[id=\\\"'+e+'\\\"] .edgeLabel .label');for(const G of H){const Y=G.getBBox(),W=document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",Ru);W.setAttribute(\\\"rx\\\",0),W.setAttribute(\\\"ry\\\",0),W.setAttribute(\\\"width\\\",Y.width),W.setAttribute(\\\"height\\\",Y.height),G.insertBefore(W,G.firstChild)}}};var Ed=function(){var t=function(k,T,L,E){for(L=L||{},E=k.length;E--;L[k[E]]=T);return L},e=[1,2],r=[1,5],n=[6,9,11,17,18,20,22,23,24,26],i=[1,15],s=[1,16],a=[1,17],o=[1,18],l=[1,19],u=[1,20],d=[1,24],f=[4,6,9,11,17,18,20,22,23,24,26],p={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,\\\":\\\":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:\\\"error\\\",4:\\\"journey\\\",6:\\\"EOF\\\",9:\\\"SPACE\\\",11:\\\"NEWLINE\\\",15:\\\":\\\",17:\\\"title\\\",18:\\\"acc_title\\\",19:\\\"acc_title_value\\\",20:\\\"acc_descr\\\",21:\\\"acc_descr_value\\\",22:\\\"acc_descr_multiline_value\\\",23:\\\"section\\\",24:\\\"taskName\\\",25:\\\"taskData\\\",26:\\\"open_directive\\\",27:\\\"type_directive\\\",28:\\\"arg_directive\\\",29:\\\"close_directive\\\"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(T,L,E,I,V,H,G){var Y=H.length-1;switch(V){case 1:return H[Y-1];case 3:this.$=[];break;case 4:H[Y-1].push(H[Y]),this.$=H[Y-1];break;case 5:case 6:this.$=H[Y];break;case 7:case 8:this.$=[];break;case 11:I.setDiagramTitle(H[Y].substr(6)),this.$=H[Y].substr(6);break;case 12:this.$=H[Y].trim(),I.setAccTitle(this.$);break;case 13:case 14:this.$=H[Y].trim(),I.setAccDescription(this.$);break;case 15:I.addSection(H[Y].substr(8)),this.$=H[Y].substr(8);break;case 16:I.addTask(H[Y-1],H[Y]),this.$=\\\"task\\\";break;case 18:I.parseDirective(\\\"%%{\\\",\\\"open_directive\\\");break;case 19:I.parseDirective(H[Y],\\\"type_directive\\\");break;case 20:H[Y]=H[Y].trim().replace(/'/g,'\\\"'),I.parseDirective(H[Y],\\\"arg_directive\\\");break;case 21:I.parseDirective(\\\"}%%\\\",\\\"close_directive\\\",\\\"journey\\\");break}},table:[{3:1,4:e,7:3,12:4,26:r},{1:[3]},t(n,[2,3],{5:6}),{3:7,4:e,7:3,12:4,26:r},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:i,18:s,20:a,22:o,23:l,24:u,26:r},{1:[2,2]},{14:22,15:[1,23],29:d},t([15,29],[2,19]),t(n,[2,8],{1:[2,1]}),t(n,[2,4]),{7:21,10:25,12:4,17:i,18:s,20:a,22:o,23:l,24:u,26:r},t(n,[2,6]),t(n,[2,7]),t(n,[2,11]),{19:[1,26]},{21:[1,27]},t(n,[2,14]),t(n,[2,15]),{25:[1,28]},t(n,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},t(n,[2,5]),t(n,[2,12]),t(n,[2,13]),t(n,[2,16]),t(f,[2,9]),{14:32,29:d},{29:[2,20]},{11:[1,33]},t(f,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(T,L){if(L.recoverable)this.trace(T);else{var E=new Error(T);throw E.hash=L,E}},parse:function(T){var L=this,E=[0],I=[],V=[null],H=[],G=this.table,Y=\\\"\\\",W=0,N=0,D=2,w=1,v=H.slice.call(arguments,1),M=Object.create(this.lexer),m={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(m.yy[Q]=this.yy[Q]);M.setInput(T,m.yy),m.yy.lexer=M,m.yy.parser=this,typeof M.yylloc>\\\"u\\\"&&(M.yylloc={});var x=M.yylloc;H.push(x);var ct=M.options&&M.options.ranges;typeof m.yy.parseError==\\\"function\\\"?this.parseError=m.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Dt(){var z;return z=I.pop()||M.lex()||w,typeof z!=\\\"number\\\"&&(z instanceof Array&&(I=z,z=I.pop()),z=L.symbols_[z]||z),z}for(var kt,j,ot,rt,nt={},ut,_t,K,Ot;;){if(j=E[E.length-1],this.defaultActions[j]?ot=this.defaultActions[j]:((kt===null||typeof kt>\\\"u\\\")&&(kt=Dt()),ot=G[j]&&G[j][kt]),typeof ot>\\\"u\\\"||!ot.length||!ot[0]){var P=\\\"\\\";Ot=[];for(ut in G[j])this.terminals_[ut]&&ut>D&&Ot.push(\\\"'\\\"+this.terminals_[ut]+\\\"'\\\");M.showPosition?P=\\\"Parse error on line \\\"+(W+1)+`:\\n`+M.showPosition()+`\\nExpecting `+Ot.join(\\\", \\\")+\\\", got '\\\"+(this.terminals_[kt]||kt)+\\\"'\\\":P=\\\"Parse error on line \\\"+(W+1)+\\\": Unexpected \\\"+(kt==w?\\\"end of input\\\":\\\"'\\\"+(this.terminals_[kt]||kt)+\\\"'\\\"),this.parseError(P,{text:M.match,token:this.terminals_[kt]||kt,line:M.yylineno,loc:x,expected:Ot})}if(ot[0]instanceof Array&&ot.length>1)throw new Error(\\\"Parse Error: multiple actions possible at state: \\\"+j+\\\", token: \\\"+kt);switch(ot[0]){case 1:E.push(kt),V.push(M.yytext),H.push(M.yylloc),E.push(ot[1]),kt=null,N=M.yyleng,Y=M.yytext,W=M.yylineno,x=M.yylloc;break;case 2:if(_t=this.productions_[ot[1]][1],nt.$=V[V.length-_t],nt._$={first_line:H[H.length-(_t||1)].first_line,last_line:H[H.length-1].last_line,first_column:H[H.length-(_t||1)].first_column,last_column:H[H.length-1].last_column},ct&&(nt._$.range=[H[H.length-(_t||1)].range[0],H[H.length-1].range[1]]),rt=this.performAction.apply(nt,[Y,N,W,m.yy,ot[1],V,H].concat(v)),typeof rt\u003C\\\"u\\\")return rt;_t&&(E=E.slice(0,-1*_t*2),V=V.slice(0,-1*_t),H=H.slice(0,-1*_t)),E.push(this.productions_[ot[1]][0]),V.push(nt.$),H.push(nt._$),K=G[E[E.length-2]][E[E.length-1]],E.push(K);break;case 3:return!0}}return!0}},g=function(){var k={EOF:1,parseError:function(L,E){if(this.yy.parser)this.yy.parser.parseError(L,E);else throw new Error(L)},setInput:function(T,L){return this.yy=L||this.yy||{},this._input=T,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=\\\"\\\",this.conditionStack=[\\\"INITIAL\\\"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var T=this._input[0];this.yytext+=T,this.yyleng++,this.offset++,this.match+=T,this.matched+=T;var L=T.match(/(?:\\\\r\\\\n?|\\\\n).*/g);return L?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),T},unput:function(T){var L=T.length,E=T.split(/(?:\\\\r\\\\n?|\\\\n)/g);this._input=T+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-L),this.offset-=L;var I=this.match.split(/(?:\\\\r\\\\n?|\\\\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1&&(this.yylineno-=E.length-1);var V=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===I.length?this.yylloc.first_column:0)+I[I.length-E.length].length-E[0].length:this.yylloc.first_column-L},this.options.ranges&&(this.yylloc.range=[V[0],V[0]+this.yyleng-L]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno});return this},less:function(T){this.unput(this.match.slice(T))},pastInput:function(){var T=this.matched.substr(0,this.matched.length-this.match.length);return(T.length>20?\\\"...\\\":\\\"\\\")+T.substr(-20).replace(/\\\\n/g,\\\"\\\")},upcomingInput:function(){var T=this.match;return T.length\u003C20&&(T+=this._input.substr(0,20-T.length)),(T.substr(0,20)+(T.length>20?\\\"...\\\":\\\"\\\")).replace(/\\\\n/g,\\\"\\\")},showPosition:function(){var T=this.pastInput(),L=new Array(T.length+1).join(\\\"-\\\");return T+this.upcomingInput()+`\\n`+L+\\\"^\\\"},test_match:function(T,L){var E,I,V;if(this.options.backtrack_lexer&&(V={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(V.yylloc.range=this.yylloc.range.slice(0))),I=T[0].match(/(?:\\\\r\\\\n?|\\\\n).*/g),I&&(this.yylineno+=I.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:I?I[I.length-1].length-I[I.length-1].match(/\\\\r?\\\\n?/)[0].length:this.yylloc.last_column+T[0].length},this.yytext+=T[0],this.match+=T[0],this.matches=T,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(T[0].length),this.matched+=T[0],E=this.performAction.call(this,this.yy,this,L,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),E)return E;if(this._backtrack){for(var H in V)this[H]=V[H];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var T,L,E,I;this._more||(this.yytext=\\\"\\\",this.match=\\\"\\\");for(var V=this._currentRules(),H=0;H\u003CV.length;H++)if(E=this._input.match(this.rules[V[H]]),E&&(!L||E[0].length>L[0].length)){if(L=E,I=H,this.options.backtrack_lexer){if(T=this.test_match(E,V[H]),T!==!1)return T;if(this._backtrack){L=!1;continue}else return!1}else if(!this.options.flex)break}return L?(T=this.test_match(L,V[I]),T!==!1?T:!1):this._input===\\\"\\\"?this.EOF:this.parseError(\\\"Lexical error on line \\\"+(this.yylineno+1)+`. Unrecognized text.\\n`+this.showPosition(),{text:\\\"\\\",token:null,line:this.yylineno})},lex:function(){var L=this.next();return L||this.lex()},begin:function(L){this.conditionStack.push(L)},popState:function(){var L=this.conditionStack.length-1;return L>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(L){return L=this.conditionStack.length-1-Math.abs(L||0),L>=0?this.conditionStack[L]:\\\"INITIAL\\\"},pushState:function(L){this.begin(L)},stateStackSize:function(){return this.conditionStack.length},options:{\\\"case-insensitive\\\":!0},performAction:function(L,E,I,V){switch(I){case 0:return this.begin(\\\"open_directive\\\"),26;case 1:return this.begin(\\\"type_directive\\\"),27;case 2:return this.popState(),this.begin(\\\"arg_directive\\\"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:break;case 6:break;case 7:return 11;case 8:break;case 9:break;case 10:return 4;case 11:return 17;case 12:return this.begin(\\\"acc_title\\\"),18;case 13:return this.popState(),\\\"acc_title_value\\\";case 14:return this.begin(\\\"acc_descr\\\"),20;case 15:return this.popState(),\\\"acc_descr_value\\\";case 16:this.begin(\\\"acc_descr_multiline\\\");break;case 17:this.popState();break;case 18:return\\\"acc_descr_multiline_value\\\";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return\\\"INVALID\\\"}},rules:[/^(?:%%\\\\{)/i,/^(?:((?:(?!\\\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\\\}%%)/i,/^(?:((?:(?!\\\\}%%).|\\\\n)*))/i,/^(?:%(?!\\\\{)[^\\\\n]*)/i,/^(?:[^\\\\}]%%[^\\\\n]*)/i,/^(?:[\\\\n]+)/i,/^(?:\\\\s+)/i,/^(?:#[^\\\\n]*)/i,/^(?:journey\\\\b)/i,/^(?:title\\\\s[^#\\\\n;]+)/i,/^(?:accTitle\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*:\\\\s*)/i,/^(?:(?!\\\\n||)*[^\\\\n]*)/i,/^(?:accDescr\\\\s*\\\\{\\\\s*)/i,/^(?:[\\\\}])/i,/^(?:[^\\\\}]*)/i,/^(?:section\\\\s[^#:\\\\n;]+)/i,/^(?:[^#:\\\\n;]+)/i,/^(?::[^#\\\\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}};return k}();p.lexer=g;function b(){this.yy={}}return b.prototype=p,p.Parser=b,new b}();Ed.parser=Ed;const XP=Ed,KP=t=>t.match(/^\\\\s*journey/)!==null;let Fa=\\\"\\\";const Cd=[],il=[],sl=[],ZP=function(t,e,r){ze.parseDirective(this,t,e,r)},QP=function(){Cd.length=0,il.length=0,Fa=\\\"\\\",sl.length=0,vn()},JP=function(t){Fa=t,Cd.push(t)},tY=function(){return Cd},eY=function(){let t=B4();const e=100;let r=0;for(;!t&&r\u003Ce;)t=B4(),r++;return il.push(...sl),il},rY=function(){const t=[];return il.forEach(r=>{r.people&&t.push(...r.people)}),[...new Set(t)].sort()},nY=function(t,e){const r=e.substr(1).split(\\\":\\\");let n=0,i=[];r.length===1?(n=Number(r[0]),i=[]):(n=Number(r[0]),i=r[1].split(\\\",\\\"));const s=i.map(o=>o.trim()),a={section:Fa,type:Fa,people:s,task:t,score:n};sl.push(a)},iY=function(t){const e={section:Fa,type:Fa,description:t,task:t,classes:[]};il.push(e)},B4=function(){const t=function(r){return sl[r].processed};let e=!0;for(const[r,n]of sl.entries())t(r),e=e&&n.processed;return e},I4={parseDirective:ZP,getConfig:()=>$().journey,clear:QP,setDiagramTitle:hi,getDiagramTitle:di,setAccTitle:nn,getAccTitle:kn,setAccDescription:wn,getAccDescription:Tn,addSection:JP,getSections:tY,getTasks:eY,addTask:nY,addTaskOrg:iY,getActors:function(){return rY()}},Pu=function(t,e){const r=t.append(\\\"rect\\\");return r.attr(\\\"x\\\",e.x),r.attr(\\\"y\\\",e.y),r.attr(\\\"fill\\\",e.fill),r.attr(\\\"stroke\\\",e.stroke),r.attr(\\\"width\\\",e.width),r.attr(\\\"height\\\",e.height),r.attr(\\\"rx\\\",e.rx),r.attr(\\\"ry\\\",e.ry),e.class!==void 0&&r.attr(\\\"class\\\",e.class),r},sY=function(t,e){const n=t.append(\\\"circle\\\").attr(\\\"cx\\\",e.cx).attr(\\\"cy\\\",e.cy).attr(\\\"class\\\",\\\"face\\\").attr(\\\"r\\\",15).attr(\\\"stroke-width\\\",2).attr(\\\"overflow\\\",\\\"visible\\\"),i=t.append(\\\"g\\\");i.append(\\\"circle\\\").attr(\\\"cx\\\",e.cx-15/3).attr(\\\"cy\\\",e.cy-15/3).attr(\\\"r\\\",1.5).attr(\\\"stroke-width\\\",2).attr(\\\"fill\\\",\\\"#666\\\").attr(\\\"stroke\\\",\\\"#666\\\"),i.append(\\\"circle\\\").attr(\\\"cx\\\",e.cx+15/3).attr(\\\"cy\\\",e.cy-15/3).attr(\\\"r\\\",1.5).attr(\\\"stroke-width\\\",2).attr(\\\"fill\\\",\\\"#666\\\").attr(\\\"stroke\\\",\\\"#666\\\");function s(l){const u=jh().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);l.append(\\\"path\\\").attr(\\\"class\\\",\\\"mouth\\\").attr(\\\"d\\\",u).attr(\\\"transform\\\",\\\"translate(\\\"+e.cx+\\\",\\\"+(e.cy+2)+\\\")\\\")}function a(l){const u=jh().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);l.append(\\\"path\\\").attr(\\\"class\\\",\\\"mouth\\\").attr(\\\"d\\\",u).attr(\\\"transform\\\",\\\"translate(\\\"+e.cx+\\\",\\\"+(e.cy+7)+\\\")\\\")}function o(l){l.append(\\\"line\\\").attr(\\\"class\\\",\\\"mouth\\\").attr(\\\"stroke\\\",2).attr(\\\"x1\\\",e.cx-5).attr(\\\"y1\\\",e.cy+7).attr(\\\"x2\\\",e.cx+5).attr(\\\"y2\\\",e.cy+7).attr(\\\"class\\\",\\\"mouth\\\").attr(\\\"stroke-width\\\",\\\"1px\\\").attr(\\\"stroke\\\",\\\"#666\\\")}return e.score>3?s(i):e.score\u003C3?a(i):o(i),n},O4=function(t,e){const r=t.append(\\\"circle\\\");return r.attr(\\\"cx\\\",e.cx),r.attr(\\\"cy\\\",e.cy),r.attr(\\\"class\\\",\\\"actor-\\\"+e.pos),r.attr(\\\"fill\\\",e.fill),r.attr(\\\"stroke\\\",e.stroke),r.attr(\\\"r\\\",e.r),r.class!==void 0&&r.attr(\\\"class\\\",r.class),e.title!==void 0&&r.append(\\\"title\\\").text(e.title),r},R4=function(t,e){const r=e.text.replace(/\u003Cbr\\\\s*\\\\/?>/gi,\\\" \\\"),n=t.append(\\\"text\\\");n.attr(\\\"x\\\",e.x),n.attr(\\\"y\\\",e.y),n.attr(\\\"class\\\",\\\"legend\\\"),n.style(\\\"text-anchor\\\",e.anchor),e.class!==void 0&&n.attr(\\\"class\\\",e.class);const i=n.append(\\\"tspan\\\");return i.attr(\\\"x\\\",e.x+e.textMargin*2),i.text(r),n},aY=function(t,e){function r(i,s,a,o,l){return i+\\\",\\\"+s+\\\" \\\"+(i+a)+\\\",\\\"+s+\\\" \\\"+(i+a)+\\\",\\\"+(s+o-l)+\\\" \\\"+(i+a-l*1.2)+\\\",\\\"+(s+o)+\\\" \\\"+i+\\\",\\\"+(s+o)}const n=t.append(\\\"polygon\\\");n.attr(\\\"points\\\",r(e.x,e.y,50,20,7)),n.attr(\\\"class\\\",\\\"labelBox\\\"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,R4(t,e)},oY=function(t,e,r){const n=t.append(\\\"g\\\"),i=Sd();i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=r.width,i.height=r.height,i.class=\\\"journey-section section-type-\\\"+e.num,i.rx=3,i.ry=3,Pu(n,i),P4(r)(e.text,n,i.x,i.y,i.width,i.height,{class:\\\"journey-section section-type-\\\"+e.num},r,e.colour)};let F4=-1;const lY=function(t,e,r){const n=e.x+r.width/2,i=t.append(\\\"g\\\");F4++;const s=300+5*30;i.append(\\\"line\\\").attr(\\\"id\\\",\\\"task\\\"+F4).attr(\\\"x1\\\",n).attr(\\\"y1\\\",e.y).attr(\\\"x2\\\",n).attr(\\\"y2\\\",s).attr(\\\"class\\\",\\\"task-line\\\").attr(\\\"stroke-width\\\",\\\"1px\\\").attr(\\\"stroke-dasharray\\\",\\\"4 2\\\").attr(\\\"stroke\\\",\\\"#666\\\"),sY(i,{cx:n,cy:300+(5-e.score)*30,score:e.score});const a=Sd();a.x=e.x,a.y=e.y,a.fill=e.fill,a.width=r.width,a.height=r.height,a.class=\\\"task task-type-\\\"+e.num,a.rx=3,a.ry=3,Pu(i,a);let o=e.x+14;e.people.forEach(l=>{const u=e.actors[l].color,d={cx:o,cy:e.y,r:7,fill:u,stroke:\\\"#000\\\",title:l,pos:e.actors[l].position};O4(i,d),o+=10}),P4(r)(e.task,i,a.x,a.y,a.width,a.height,{class:\\\"task\\\"},r,e.colour)},cY=function(t,e){Pu(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:\\\"rect\\\"}).lower()},uY=function(){return{x:0,y:0,fill:void 0,\\\"text-anchor\\\":\\\"start\\\",width:100,height:100,textMargin:0,rx:0,ry:0}},Sd=function(){return{x:0,y:0,width:100,anchor:\\\"start\\\",height:100,rx:0,ry:0}},P4=function(){function t(i,s,a,o,l,u,d,f){const p=s.append(\\\"text\\\").attr(\\\"x\\\",a+l/2).attr(\\\"y\\\",o+u/2+5).style(\\\"font-color\\\",f).style(\\\"text-anchor\\\",\\\"middle\\\").text(i);n(p,d)}function e(i,s,a,o,l,u,d,f,p){const{taskFontSize:g,taskFontFamily:b}=f,k=i.split(/\u003Cbr\\\\s*\\\\/?>/gi);for(let T=0;T\u003Ck.length;T++){const L=T*g-g*(k.length-1)/2,E=s.append(\\\"text\\\").attr(\\\"x\\\",a+l/2).attr(\\\"y\\\",o).attr(\\\"fill\\\",p).style(\\\"text-anchor\\\",\\\"middle\\\").style(\\\"font-size\\\",g).style(\\\"font-family\\\",b);E.append(\\\"tspan\\\").attr(\\\"x\\\",a+l/2).attr(\\\"dy\\\",L).text(k[T]),E.attr(\\\"y\\\",o+u/2).attr(\\\"dominant-baseline\\\",\\\"central\\\").attr(\\\"alignment-baseline\\\",\\\"central\\\"),n(E,d)}}function r(i,s,a,o,l,u,d,f){const p=s.append(\\\"switch\\\"),b=p.append(\\\"foreignObject\\\").attr(\\\"x\\\",a).attr(\\\"y\\\",o).attr(\\\"width\\\",l).attr(\\\"height\\\",u).attr(\\\"position\\\",\\\"fixed\\\").append(\\\"xhtml:div\\\").style(\\\"display\\\",\\\"table\\\").style(\\\"height\\\",\\\"100%\\\").style(\\\"width\\\",\\\"100%\\\");b.append(\\\"div\\\").attr(\\\"class\\\",\\\"label\\\").style(\\\"display\\\",\\\"table-cell\\\").style(\\\"text-align\\\",\\\"center\\\").style(\\\"vertical-align\\\",\\\"middle\\\").text(i),e(i,p,a,o,l,u,d,f),n(b,d)}function n(i,s){for(const a in s)a in s&&i.attr(a,s[a])}return function(i){return i.textPlacement===\\\"fo\\\"?r:i.textPlacement===\\\"old\\\"?t:e}}(),al={drawRect:Pu,drawCircle:O4,drawSection:oY,drawText:R4,drawLabel:aY,drawTask:lY,drawBackgroundRect:cY,getTextObj:uY,getNoteRect:Sd,initGraphics:function(t){t.append(\\\"defs\\\").append(\\\"marker\\\").attr(\\\"id\\\",\\\"arrowhead\\\").attr(\\\"refX\\\",5).attr(\\\"refY\\\",2).attr(\\\"markerWidth\\\",6).attr(\\\"markerHeight\\\",4).attr(\\\"orient\\\",\\\"auto\\\").append(\\\"path\\\").attr(\\\"d\\\",\\\"M 0,0 V 4 L6,2 Z\\\")}},hY=function(t){Object.keys(t).forEach(function(r){Yu[r]=t[r]})},Si={};function dY(t){const e=$().journey;let r=60;Object.keys(Si).forEach(n=>{const i=Si[n].color,s={cx:20,cy:r,r:7,fill:i,stroke:\\\"#000\\\",pos:Si[n].position};al.drawCircle(t,s);const a={x:40,y:r+7,fill:\\\"#666\\\",text:n,textMargin:e.boxTextMargin|5};al.drawText(t,a),r+=20})}const Yu=$().journey,Ns=Yu.leftMargin,fY=function(t,e,r,n){const i=$().journey;n.db.clear(),n.parser.parse(t+`\\n`);const s=$().securityLevel;let a;s===\\\"sandbox\\\"&&(a=St(\\\"#i\\\"+e));const o=St(s===\\\"sandbox\\\"?a.nodes()[0].contentDocument.body:\\\"body\\\");an.init();const l=o.select(\\\"#\\\"+e);al.initGraphics(l);const u=n.db.getTasks(),d=n.db.getDiagramTitle(),f=n.db.getActors();for(const L in Si)delete Si[L];let p=0;f.forEach(L=>{Si[L]={color:i.actorColours[p%i.actorColours.length],position:p},p++}),dY(l),an.insert(0,0,Ns,Object.keys(Si).length*50),pY(l,u,0);const g=an.getBounds();d&&l.append(\\\"text\\\").text(d).attr(\\\"x\\\",Ns).attr(\\\"font-size\\\",\\\"4ex\\\").attr(\\\"font-weight\\\",\\\"bold\\\").attr(\\\"y\\\",25);const b=g.stopy-g.starty+2*i.diagramMarginY,k=Ns+g.stopx+2*i.diagramMarginX;xn(l,b,k,i.useMaxWidth),l.append(\\\"line\\\").attr(\\\"x1\\\",Ns).attr(\\\"y1\\\",i.height*4).attr(\\\"x2\\\",k-Ns-4).attr(\\\"y2\\\",i.height*4).attr(\\\"stroke-width\\\",4).attr(\\\"stroke\\\",\\\"black\\\").attr(\\\"marker-end\\\",\\\"url(#arrowhead)\\\");const T=d?70:0;l.attr(\\\"viewBox\\\",`${g.startx} -25 ${k} ${b+T}`),l.attr(\\\"preserveAspectRatio\\\",\\\"xMinYMin meet\\\"),l.attr(\\\"height\\\",b+T+25)},an={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,r,n){t[e]===void 0?t[e]=r:t[e]=n(r,t[e])},updateBounds:function(t,e,r,n){const i=$().journey,s=this;let a=0;function o(l){return function(d){a++;const f=s.sequenceItems.length-a+1;s.updateVal(d,\\\"starty\\\",e-f*i.boxMargin,Math.min),s.updateVal(d,\\\"stopy\\\",n+f*i.boxMargin,Math.max),s.updateVal(an.data,\\\"startx\\\",t-f*i.boxMargin,Math.min),s.updateVal(an.data,\\\"stopx\\\",r+f*i.boxMargin,Math.max),l!==\\\"activation\\\"&&(s.updateVal(d,\\\"startx\\\",t-f*i.boxMargin,Math.min),s.updateVal(d,\\\"stopx\\\",r+f*i.boxMargin,Math.max),s.updateVal(an.data,\\\"starty\\\",e-f*i.boxMargin,Math.min),s.updateVal(an.data,\\\"stopy\\\",n+f*i.boxMargin,Math.max))}}this.sequenceItems.forEach(o())},insert:function(t,e,r,n){const i=Math.min(t,r),s=Math.max(t,r),a=Math.min(e,n),o=Math.max(e,n);this.updateVal(an.data,\\\"startx\\\",i,Math.min),this.updateVal(an.data,\\\"starty\\\",a,Math.min),this.updateVal(an.data,\\\"stopx\\\",s,Math.max),this.updateVal(an.data,\\\"stopy\\\",o,Math.max),this.updateBounds(i,a,s,o)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},Ad=Yu.sectionFills,Y4=Yu.sectionColours,pY=function(t,e,r){const n=$().journey;let i=\\\"\\\";const s=n.height*2+n.diagramMarginY,a=r+s;let o=0,l=\\\"#CCC\\\",u=\\\"black\\\",d=0;for(const[f,p]of e.entries()){if(i!==p.section){l=Ad[o%Ad.length],d=o%Ad.length,u=Y4[o%Y4.length];const b={x:f*n.taskMargin+f*n.width+Ns,y:50,text:p.section,fill:l,num:d,colour:u};al.drawSection(t,b,n),i=p.section,o++}const g=p.people.reduce((b,k)=>(Si[k]&&(b[k]=Si[k]),b),{});p.x=f*n.taskMargin+f*n.width+Ns,p.y=a,p.width=n.diagramMarginX,p.height=n.diagramMarginY,p.colour=u,p.fill=l,p.num=d,p.actors=g,al.drawTask(t,p,n),an.insert(p.x,p.y,p.x+p.width+n.taskMargin,300+5*30)}},V4={setConf:hY,draw:fY};let U4={};const Ld={setConf:function(t){U4={...U4,...t}},draw:(t,e,r)=>{try{B.debug(`Renering svg for syntax error\\n`);const n=St(\\\"#\\\"+e),i=n.append(\\\"g\\\");i.append(\\\"path\\\").attr(\\\"class\\\",\\\"error-icon\\\").attr(\\\"d\\\",\\\"m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z\\\"),i.append(\\\"path\\\").attr(\\\"class\\\",\\\"error-icon\\\").attr(\\\"d\\\",\\\"m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z\\\"),i.append(\\\"path\\\").attr(\\\"class\\\",\\\"error-icon\\\").attr(\\\"d\\\",\\\"m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z\\\"),i.append(\\\"path\\\").attr(\\\"class\\\",\\\"error-icon\\\").attr(\\\"d\\\",\\\"m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z\\\"),i.append(\\\"path\\\").attr(\\\"class\\\",\\\"error-icon\\\").attr(\\\"d\\\",\\\"m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z\\\"),i.append(\\\"path\\\").attr(\\\"class\\\",\\\"error-icon\\\").attr(\\\"d\\\",\\\"m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z\\\"),i.append(\\\"text\\\").attr(\\\"class\\\",\\\"error-text\\\").attr(\\\"x\\\",1440).attr(\\\"y\\\",250).attr(\\\"font-size\\\",\\\"150px\\\").style(\\\"text-anchor\\\",\\\"middle\\\").text(\\\"Syntax error in graph\\\"),i.append(\\\"text\\\").attr(\\\"class\\\",\\\"error-text\\\").attr(\\\"x\\\",1250).attr(\\\"y\\\",400).attr(\\\"font-size\\\",\\\"100px\\\").style(\\\"text-anchor\\\",\\\"middle\\\").text(\\\"mermaid version \\\"+r),n.attr(\\\"height\\\",100),n.attr(\\\"width\\\",500),n.attr(\\\"viewBox\\\",\\\"768 0 912 512\\\")}catch(n){B.error(\\\"Error while rendering info diagram\\\"),B.error(UT(n))}}};let z4=!1;const ol=()=>{z4||(z4=!0,yr(\\\"error\\\",{db:{clear:()=>{}},styles:eg,renderer:Ld,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},t=>t.toLowerCase().trim()===\\\"error\\\"),yr(\\\"c4\\\",{parser:HE,db:xg,renderer:Lg,styles:lg,init:t=>{Lg.setConf(t.c4)}},GE),yr(\\\"class\\\",{parser:Dg,db:fa,renderer:dB,styles:go,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,fa.clear()}},MC),yr(\\\"classDiagram\\\",{parser:Dg,db:fa,renderer:uI,styles:go,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,fa.clear()}},NC),yr(\\\"er\\\",{parser:hI,db:yI,renderer:DI,styles:tg},dI),yr(\\\"gantt\\\",{parser:XO,db:Z0,renderer:SR,styles:rg},KO),yr(\\\"info\\\",{parser:AR,db:LR,renderer:DR,styles:ng},MR),yr(\\\"pie\\\",{parser:NR,db:IR,renderer:OR,styles:ig},BR),yr(\\\"requirement\\\",{parser:RR,db:PR,renderer:GR,styles:sg},FR),yr(\\\"sequence\\\",{parser:qR,db:j3,renderer:i4,styles:ag,init:t=>{if(t.sequence||(t.sequence={}),t.sequence.arrowMarkerAbsolute=t.arrowMarkerAbsolute,\\\"sequenceDiagram\\\"in t)throw new Error(\\\"`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.\\\");j3.setWrap(t.wrap),i4.setConf(t.sequence)}},jR),yr(\\\"state\\\",{parser:s4,db:Ci,renderer:LP,styles:Lc,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Ci.clear()}},UF),yr(\\\"stateDiagram\\\",{parser:s4,db:Ci,renderer:$P,styles:Lc,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Ci.clear()}},zF),yr(\\\"journey\\\",{parser:XP,db:I4,renderer:V4,styles:og,init:t=>{V4.setConf(t.journey),I4.clear()}},KP),yr(\\\"flowchart\\\",{parser:jm,db:vi,renderer:Y0,styles:Ac,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,jO.setConf(t.flowchart),vi.clear(),vi.setGen(\\\"gen-1\\\")}},MI),yr(\\\"flowchart-v2\\\",{parser:jm,db:vi,renderer:Y0,styles:Ac,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Xp({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}}),Y0.setConf(t.flowchart),vi.clear(),vi.setGen(\\\"gen-2\\\")}},NI),yr(\\\"gitGraph\\\",{parser:gE,db:OE,renderer:zE,styles:WE},yE))};class Dd{constructor(e,r){za(this,\\\"type\\\",\\\"graph\\\");za(this,\\\"parser\\\");za(this,\\\"renderer\\\");za(this,\\\"db\\\");za(this,\\\"detectTypeFailed\\\",!1);var a,o;this.txt=e;const n=$();this.txt=e;try{this.type=h1(e,n)}catch(l){this.handleError(l,r),this.type=\\\"error\\\",this.detectTypeFailed=!0}const i=ug(this.type);B.debug(\\\"Type \\\"+this.type),this.db=i.db,(o=(a=this.db).clear)==null||o.call(a),this.renderer=i.renderer,this.parser=i.parser;const s=this.parser.parse.bind(this.parser);this.parser.parse=l=>s(_7(l,this.db)),this.parser.parser.yy=this.db,i.init&&(i.init(n),B.debug(\\\"Initialized diagram \\\"+this.type,n)),this.txt+=`\\n`,this.parse(this.txt,r)}parse(e,r){var n,i;if(this.detectTypeFailed)return!1;try{return e=e+`\\n`,(i=(n=this.db).clear)==null||i.call(n),this.parser.parse(e),!0}catch(s){this.handleError(s,r)}return!1}handleError(e,r){if(r===void 0)throw e;if(m1(e)){r(e.str,e.hash);return}r(e)}getParser(){return this.parser}getType(){return this.type}}const Md=(t,e)=>{const r=h1(t,$());try{ug(r)}catch{const i=k7(r);if(!i)throw new Error(`Diagram ${r} not found.`);return i().then(({diagram:s})=>(yr(r,s,void 0),new Dd(t,e)))}return new Dd(t,e)},Nd=Dd;function gY(t,e){wa(e)||t.attr(\\\"aria-roledescription\\\",e)}function yY(t,e,r,n){if(t.insert!==void 0)if(e||r){if(r){const i=\\\"chart-desc-\\\"+n;t.attr(\\\"aria-describedby\\\",i),t.insert(\\\"desc\\\",\\\":first-child\\\").attr(\\\"id\\\",i).text(r)}if(e){const i=\\\"chart-title-\\\"+n;t.attr(\\\"aria-labelledby\\\",i),t.insert(\\\"title\\\",\\\":first-child\\\").attr(\\\"id\\\",i).text(e)}}else return}const Bd=[\\\"graph\\\",\\\"flowchart\\\",\\\"flowchart-v2\\\",\\\"stateDiagram\\\",\\\"stateDiagram-v2\\\"],W4=\\\"graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa\\\",H4=\\\"sandbox\\\",G4=\\\"loose\\\",mY=\\\"http://www.w3.org/2000/svg\\\",q4=\\\"http://www.w3.org/1999/xlink\\\",j4=\\\"http://www.w3.org/1999/xhtml\\\",bY=\\\"100%\\\",_Y=\\\"100%\\\",xY=\\\"border:0;margin:0;\\\",vY=\\\"margin:0\\\",kY=\\\"allow-top-navigation-by-user-activation allow-popups\\\",wY='The \\\"iframe\\\" tag is not supported by your browser.',$4=[\\\"foreignobject\\\"],X4=[\\\"dominant-baseline\\\"];function TY(t,e){return ol(),new Nd(t,e).parse(t,e)}async function EY(t,e){return ol(),(await Md(t,e)).parse(t,e)}const K4=function(t){let e=t;return e=e.replace(/style.*:\\\\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/classDef.*:\\\\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/#\\\\w+;/g,function(r){const n=r.substring(1,r.length-1);return/^\\\\+?\\\\d+$/.test(n)?\\\"\\\\uFB02\\\\xB0\\\\xB0\\\"+n+\\\"\\\\xB6\\\\xDF\\\":\\\"\\\\uFB02\\\\xB0\\\"+n+\\\"\\\\xB6\\\\xDF\\\"}),e},Id=function(t){let e=t;return e=e.replace(/fl°°/g,\\\"&#\\\"),e=e.replace(/fl°/g,\\\"&\\\"),e=e.replace(/¶ß/g,\\\";\\\"),e},Z4=(t,e,r=[])=>`\\n.${t} ${e} { ${r.join(\\\" !important; \\\")} !important; }`,CY=(t,e,r={})=>{var i;let n=\\\"\\\";if(t.themeCSS!==void 0&&(n+=`\\n${t.themeCSS}`),t.fontFamily!==void 0&&(n+=`\\n:root { --mermaid-font-family: ${t.fontFamily}}`),t.altFontFamily!==void 0&&(n+=`\\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!wa(r)&&Bd.includes(e)){const l=t.htmlLabels||((i=t.flowchart)==null?void 0:i.htmlLabels)?[\\\"> *\\\",\\\"span\\\"]:[\\\"rect\\\",\\\"polygon\\\",\\\"ellipse\\\",\\\"circle\\\",\\\"path\\\"];for(const u in r){const d=r[u];wa(d.styles)||l.forEach(f=>{n+=Z4(d.id,f,d.styles)}),wa(d.textStyles)||(n+=Z4(d.id,\\\"tspan\\\",d.textStyles))}}return n},Q4=(t,e,r,n)=>{const i=CY(t,e,r),s=hE(e,i,t.themeVariables);return T1(tE(`${n}{${s}}`),rE)},J4=(t=\\\"\\\",e,r)=>{let n=t;return!r&&!e&&(n=n.replace(/marker-end=\\\"url\\\\(.*?#/g,'marker-end=\\\"url(#')),n=Id(n),n=n.replace(/\u003Cbr>/g,\\\"\u003Cbr/>\\\"),n},tb=(t=\\\"\\\",e)=>{const r=e?e.viewBox.baseVal.height+\\\"px\\\":_Y,n=btoa('\u003Cbody style=\\\"'+vY+'\\\">'+t+\\\"\u003C/body>\\\");return`\u003Ciframe style=\\\"width:${bY};height:${r};${xY}\\\" src=\\\"data:text/html;base64,${n}\\\" sandbox=\\\"${kY}\\\">\\n ${wY}\\n\u003C/iframe>`},Vu=(t,e,r,n,i)=>{const s=t.append(\\\"div\\\");s.attr(\\\"id\\\",r),n&&s.attr(\\\"style\\\",n);const a=s.append(\\\"svg\\\").attr(\\\"id\\\",e).attr(\\\"width\\\",\\\"100%\\\").attr(\\\"xmlns\\\",mY);return i&&a.attr(\\\"xmlns:xlink\\\",i),a.append(\\\"g\\\"),t};function Uu(t,e){return t.append(\\\"iframe\\\").attr(\\\"id\\\",e).attr(\\\"style\\\",\\\"width: 100%; height: 100%;\\\").attr(\\\"sandbox\\\",\\\"\\\")}const eb=(t,e,r,n)=>{var i,s,a;(i=t.getElementById(e))==null||i.remove(),(s=t.getElementById(r))==null||s.remove(),(a=t.getElementById(n))==null||a.remove()},SY=function(t,e,r,n){var m,Q,x,ct,Dt;ol(),po();const i=ge.detectInit(e);i&&(bs(i),E1(i));const s=$();B.debug(s),e.length>((m=s==null?void 0:s.maxTextSize)!=null?m:5e4)&&(e=W4),e=e.replace(/\\\\r\\\\n?/g,`\\n`);const a=\\\"#\\\"+t,o=\\\"i\\\"+t,l=\\\"#\\\"+o,u=\\\"d\\\"+t,d=\\\"#\\\"+u;let f=St(\\\"body\\\");const p=s.securityLevel===H4,g=s.securityLevel===G4,b=s.fontFamily;if(n!==void 0){if(n&&(n.innerHTML=\\\"\\\"),p){const kt=Uu(St(n),o);f=St(kt.nodes()[0].contentDocument.body),f.node().style.margin=0}else f=St(n);Vu(f,t,u,`font-family: ${b}`,q4)}else{if(eb(document,t,u,o),p){const kt=Uu(St(\\\"body\\\"),o);f=St(kt.nodes()[0].contentDocument.body),f.node().style.margin=0}else f=St(\\\"body\\\");Vu(f,t,u)}e=K4(e);let k,T;try{if(k=Md(e),\\\"then\\\"in k)throw new Error(\\\"Diagram is a promise. Use renderAsync.\\\")}catch(kt){k=new Nd(\\\"error\\\"),T=kt}const L=f.select(d).node(),E=k.type,I=L.firstChild,V=I.firstChild,H=Bd.includes(E)?k.renderer.getClasses(e,k):{},G=Q4(s,E,H,a),Y=document.createElement(\\\"style\\\");Y.innerHTML=G,I.insertBefore(Y,V);try{k.renderer.draw(e,t,Ec.version,k)}catch(kt){throw Ld.draw(e,t,Ec.version),kt}const W=f.select(`${d} svg`),N=(x=(Q=k.db).getAccTitle)==null?void 0:x.call(Q),D=(Dt=(ct=k.db).getAccDescription)==null?void 0:Dt.call(ct);rb(E,W,N,D),f.select(`[id=\\\"${t}\\\"]`).selectAll(\\\"foreignobject > *\\\").attr(\\\"xmlns\\\",j4);let w=f.select(d).node().innerHTML;if(B.debug(\\\"config.arrowMarkerAbsolute\\\",s.arrowMarkerAbsolute),w=J4(w,p,pr(s.arrowMarkerAbsolute)),p){const kt=f.select(d+\\\" svg\\\").node();w=tb(w,kt)}else g||(w=io.sanitize(w,{ADD_TAGS:$4,ADD_ATTR:X4}));if(r!==void 0)switch(E){case\\\"flowchart\\\":case\\\"flowchart-v2\\\":r(w,vi.bindFunctions);break;case\\\"gantt\\\":r(w,Z0.bindFunctions);break;case\\\"class\\\":case\\\"classDiagram\\\":r(w,fa.bindFunctions);break;default:r(w)}else B.debug(\\\"CB = undefined!\\\");$3();const M=St(p?l:d).node();if(M&&\\\"remove\\\"in M&&M.remove(),T)throw T;return w},AY=async function(t,e,r,n){var m,Q,x,ct,Dt;ol(),po();const i=ge.detectInit(e);i&&(bs(i),E1(i));const s=$();B.debug(s),e.length>((m=s==null?void 0:s.maxTextSize)!=null?m:5e4)&&(e=W4),e=e.replace(/\\\\r\\\\n?/g,`\\n`);const a=\\\"#\\\"+t,o=\\\"i\\\"+t,l=\\\"#\\\"+o,u=\\\"d\\\"+t,d=\\\"#\\\"+u;let f=St(\\\"body\\\");const p=s.securityLevel===H4,g=s.securityLevel===G4,b=s.fontFamily;if(n!==void 0){if(n&&(n.innerHTML=\\\"\\\"),p){const kt=Uu(St(n),o);f=St(kt.nodes()[0].contentDocument.body),f.node().style.margin=0}else f=St(n);Vu(f,t,u,`font-family: ${b}`,q4)}else{if(eb(document,t,u,o),p){const kt=Uu(St(\\\"body\\\"),o);f=St(kt.nodes()[0].contentDocument.body),f.node().style.margin=0}else f=St(\\\"body\\\");Vu(f,t,u)}e=K4(e);let k,T;try{k=await Md(e)}catch(kt){k=new Nd(\\\"error\\\"),T=kt}const L=f.select(d).node(),E=k.type,I=L.firstChild,V=I.firstChild,H=Bd.includes(E)?k.renderer.getClasses(e,k):{},G=Q4(s,E,H,a),Y=document.createElement(\\\"style\\\");Y.innerHTML=G,I.insertBefore(Y,V);try{await k.renderer.draw(e,t,Ec.version,k)}catch(kt){throw Ld.draw(e,t,Ec.version),kt}const W=f.select(`${d} svg`),N=(x=(Q=k.db).getAccTitle)==null?void 0:x.call(Q),D=(Dt=(ct=k.db).getAccDescription)==null?void 0:Dt.call(ct);rb(E,W,N,D),f.select(`[id=\\\"${t}\\\"]`).selectAll(\\\"foreignobject > *\\\").attr(\\\"xmlns\\\",j4);let w=f.select(d).node().innerHTML;if(B.debug(\\\"config.arrowMarkerAbsolute\\\",s.arrowMarkerAbsolute),w=J4(w,p,pr(s.arrowMarkerAbsolute)),p){const kt=f.select(d+\\\" svg\\\").node();w=tb(w,kt)}else g||(w=io.sanitize(w,{ADD_TAGS:$4,ADD_ATTR:X4}));if(r!==void 0)switch(E){case\\\"flowchart\\\":case\\\"flowchart-v2\\\":r(w,vi.bindFunctions);break;case\\\"gantt\\\":r(w,Z0.bindFunctions);break;case\\\"class\\\":case\\\"classDiagram\\\":r(w,fa.bindFunctions);break;default:r(w)}else B.debug(\\\"CB = undefined!\\\");$3();const M=St(p?l:d).node();if(M&&\\\"remove\\\"in M&&M.remove(),T)throw T;return w};let Bs={};const LY=function(t,e,r,n){try{if(e!==void 0)switch(e=e.trim(),r){case\\\"open_directive\\\":Bs={};break;case\\\"type_directive\\\":if(!Bs)throw new Error(\\\"currentDirective is undefined\\\");Bs.type=e.toLowerCase();break;case\\\"arg_directive\\\":if(!Bs)throw new Error(\\\"currentDirective is undefined\\\");Bs.args=JSON.parse(e);break;case\\\"close_directive\\\":DY(t,Bs,n),Bs=void 0;break}}catch(i){B.error(`Error while rendering sequenceDiagram directive: ${e} jison context: ${r}`),B.error(i.message)}},DY=function(t,e,r){switch(B.debug(`Directive type=${e.type} with args:`,e.args),e.type){case\\\"init\\\":case\\\"initialize\\\":{[\\\"config\\\"].forEach(n=>{e.args[n]!==void 0&&(r===\\\"flowchart-v2\\\"&&(r=\\\"flowchart\\\"),e.args[r]=e.args[n],delete e.args[n])}),B.debug(\\\"sanitize in handleDirective\\\",e.args),bs(e.args),B.debug(\\\"sanitize in handleDirective (done)\\\",e.args),E1(e.args);break}case\\\"wrap\\\":case\\\"nowrap\\\":t&&t.setWrap&&t.setWrap(e.type===\\\"wrap\\\");break;case\\\"themeCss\\\":B.warn(\\\"themeCss encountered\\\");break;default:B.warn(`Unhandled directive: source: '%%{${e.type}: ${JSON.stringify(e.args?e.args:{})}}%%`,e);break}};function MY(t={}){var r;(t==null?void 0:t.fontFamily)&&!((r=t.themeVariables)!=null&&r.fontFamily)&&(t.themeVariables={fontFamily:t.fontFamily}),iE(t),(t==null?void 0:t.theme)&&t.theme in oi?t.themeVariables=oi[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=oi.default.getThemeVariables(t.themeVariables));const e=typeof t==\\\"object\\\"?nE(t):$p();Qu(e.logLevel),ol()}function rb(t,e,r,n){gY(e,t),yY(e,r,n,e.attr(\\\"id\\\"))}const ze=Object.freeze({render:SY,renderAsync:AY,parse:TY,parseAsync:EY,parseDirective:LY,initialize:MY,getConfig:$,setConfig:Xp,getSiteConfig:$p,updateSiteConfig:sE,reset:()=>{po()},globalReset:()=>{po(ha)},defaultConfig:ha});Qu($().logLevel),po($());let nb=!1;const NY=async function(t,e,r){try{nb?await ab(t,e,r):sb(t,e,r)}catch(n){B.warn(\\\"Syntax Error rendering\\\"),m1(n)&&B.warn(n.str),on.parseError&&on.parseError(n)}},ib=(t,e,r)=>{B.warn(t),m1(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},sb=function(t,e,r){const n=ze.getConfig();t&&(on.sequenceConfig=t),B.debug(`${r?\\\"\\\":\\\"No \\\"}Callback function found`);let i;if(e===void 0)i=document.querySelectorAll(\\\".mermaid\\\");else if(typeof e==\\\"string\\\")i=document.querySelectorAll(e);else if(e instanceof HTMLElement)i=[e];else if(e instanceof NodeList)i=e;else throw new Error(\\\"Invalid argument nodes for mermaid.init\\\");B.debug(`Found ${i.length} diagrams`),(t==null?void 0:t.startOnLoad)!==void 0&&(B.debug(\\\"Start On Load: \\\"+(t==null?void 0:t.startOnLoad)),ze.updateSiteConfig({startOnLoad:t==null?void 0:t.startOnLoad}));const s=new ge.initIdGenerator(n.deterministicIds,n.deterministicIDSeed);let a;const o=[];for(const l of Array.from(i)){B.info(\\\"Rendering diagram: \\\"+l.id);/*! Check if previously processed */if(l.getAttribute(\\\"data-processed\\\"))continue;l.setAttribute(\\\"data-processed\\\",\\\"true\\\");const u=`mermaid-${s.next()}`;a=l.innerHTML,a=ge.entityDecode(a).trim().replace(/\u003Cbr\\\\s*\\\\/?>/gi,\\\"\u003Cbr/>\\\");const d=ge.detectInit(a);d&&B.debug(\\\"Detected early reinit: \\\",d);try{ze.render(u,a,(f,p)=>{l.innerHTML=f,r!==void 0&&r(u),p&&p(l)},l)}catch(f){ib(f,o,on.parseError)}}if(o.length>0)throw o[0]},BY=t=>{for(const{id:e,detector:r,loader:n}of t)Lp(e,r,n)},IY=async t=>{B.debug(`Loading ${t.length} external diagrams`);const r=(await Promise.allSettled(t.map(async({id:n,detector:i,loader:s})=>{const{diagram:a}=await s();yr(n,a,i)}))).filter(n=>n.status===\\\"rejected\\\");if(r.length>0){B.error(`Failed to load ${r.length} external diagrams`);for(const n of r)B.error(n);throw new Error(`Failed to load ${r.length} external diagrams`)}},ab=async function(t,e,r){const n=ze.getConfig();t&&(on.sequenceConfig=t),B.debug(`${r?\\\"\\\":\\\"No \\\"}Callback function found`);let i;if(e===void 0)i=document.querySelectorAll(\\\".mermaid\\\");else if(typeof e==\\\"string\\\")i=document.querySelectorAll(e);else if(e instanceof HTMLElement)i=[e];else if(e instanceof NodeList)i=e;else throw new Error(\\\"Invalid argument nodes for mermaid.init\\\");B.debug(`Found ${i.length} diagrams`),(t==null?void 0:t.startOnLoad)!==void 0&&(B.debug(\\\"Start On Load: \\\"+(t==null?void 0:t.startOnLoad)),ze.updateSiteConfig({startOnLoad:t==null?void 0:t.startOnLoad}));const s=new ge.initIdGenerator(n.deterministicIds,n.deterministicIDSeed);let a;const o=[];for(const l of Array.from(i)){B.info(\\\"Rendering diagram: \\\"+l.id);/*! Check if previously processed */if(l.getAttribute(\\\"data-processed\\\"))continue;l.setAttribute(\\\"data-processed\\\",\\\"true\\\");const u=`mermaid-${s.next()}`;a=l.innerHTML,a=ge.entityDecode(a).trim().replace(/\u003Cbr\\\\s*\\\\/?>/gi,\\\"\u003Cbr/>\\\");const d=ge.detectInit(a);d&&B.debug(\\\"Detected early reinit: \\\",d);try{await ze.renderAsync(u,a,(f,p)=>{l.innerHTML=f,r!==void 0&&r(u),p&&p(l)},l)}catch(f){ib(f,o,on.parseError)}}if(o.length>0)throw o[0]},OY=function(t){ze.initialize(t)},RY=async(t,{lazyLoad:e=!0}={})=>{e?BY(t):await IY(t),nb=!0},ob=function(){if(on.startOnLoad){const{startOnLoad:t}=ze.getConfig();t&&on.init()}};if(typeof document\u003C\\\"u\\\"){/*!\\n * Wait for document loaded before starting the execution\\n */window.addEventListener(\\\"load\\\",ob,!1)}const FY=function(t){on.parseError=t},PY=t=>ze.parse(t,on.parseError),zu=[];let Od=!1;const lb=async()=>{if(!Od){for(Od=!0;zu.length>0;){const t=zu.shift();if(t)try{await t()}catch(e){B.error(\\\"Error executing queue\\\",e)}}Od=!1}},YY=t=>new Promise((e,r)=>{const n=()=>new Promise((i,s)=>{ze.parseAsync(t,on.parseError).then(a=>{i(a),e(a)},a=>{B.error(\\\"Error parsing\\\",a),s(a),r(a)})});zu.push(n),lb()}),VY=(t,e,r,n)=>new Promise((i,s)=>{const a=()=>new Promise((o,l)=>{ze.renderAsync(t,e,r,n).then(u=>{o(u),i(u)},u=>{B.error(\\\"Error parsing\\\",u),l(u),s(u)})});zu.push(a),lb()}),on={startOnLoad:!0,diagrams:{},mermaidAPI:ze,parse:PY,parseAsync:YY,render:ze.render,renderAsync:VY,init:NY,initThrowsErrors:sb,initThrowsErrorsAsync:ab,registerExternalDiagrams:RY,initialize:OY,parseError:void 0,contentLoaded:ob,setParseErrorHandler:FY};return on});\\n//# sourceMappingURL=mermaid.min.js.map\",\"module-type\":\"library\",\"type\":\"application/javascript\"},\"$:/plugins/orange/mermaid-tw5/readme\":{\"title\":\"$:/plugins/orange/mermaid-tw5/readme\",\"text\":\"This is a TiddlyWiki plugin for using [[mermaid.js|https://github.com/mermaid-js/mermaid]]. It is completely self-contained, and doesn't need an Internet connection in order to work. It works both in the browser and under Node.js. It is currently based on [[mermaid.js 9.3.0|https://github.com/mermaid-js/mermaid/releases/tag/v9.3.0]]\\n\\n\\n!Installation\\n\\nYou can drag the plugin link into your TiddlyWiki to install, from http://efurlanm.github.io/mermaid-tw5\\n\\n\\n!Info\\n\\nThe Mermaid TW5 Plugin is based on:\\n\\n* http://github.com/gt6796c/mermaid-tw5\\n* http://github.com/jasonmhoule/tw5-mermaid\\n* http://github.com/cedarvera/mermaid-tw5\\n* http://github.com/jceb/mermaid-tw5\\n* https://github.com/mermaid-js/mermaid\\n* and others\\n\\nThere is a [[post|https://talk.tiddlywiki.org/t/mermaid-tw5-plugin-update-to-mermaid-8-13-2/1117]] on the TiddlyWiki 5 Discourse discussion group for end users, regarding this plugin.\\n\"},\"$:/plugins/orange/mermaid-tw5/typed-parser.js\":{\"title\":\"$:/plugins/orange/mermaid-tw5/typed-parser.js\",\"text\":\"/*\\ntitle: $:/plugins/orange/mermaid-tw5/typed-parser.js\\ntype: application/javascript\\nmodule-type: parser\\nauthor: Nathaniel Jones 2017-05-26\\nmodified: E Furlan 2022-05-08\\n\\nThis parser wraps unadorned railroad syntax into a railroad widget\\n\\n*/\\n(function() {\\n // jslint node: true, browser: true\\n // global $tw: false\\n 'use strict';\\n let MermaidParser = function(type, text, options) {\\n let element = {\\n type: \\\"mermaid\\\",\\n tag: \\\"$mermaid\\\",\\n text: text\\n };\\n this.tree = [element];\\n };\\n exports[\\\"text/vnd.tiddlywiki.mermaid\\\"] = MermaidParser;\\n})();\\n\",\"module-type\":\"parser\",\"type\":\"application/javascript\"},\"$:/plugins/orange/mermaid-tw5/usage\":{\"title\":\"$:/plugins/orange/mermaid-tw5/usage\",\"text\":\"!mermaid\\n\\nUse the ``\u003C$mermaid>`` widget and place the mermaid commands within it. Any of the options that can be specified\\nin the ``.render()`` options variable can be specified as JSON-encoded values in attributes of the same name on the widgets.\\nThe values of the attributes can also be the title of Data Tiddlers and the values will be used from the referenced Tiddler.\\nYou can set the type of a Tiddler to text/vnd.tiddlywiki.mermaid and use the native commands directly in the Tiddler body. You can\\nadd fields that are the names below prefixed with 'mermaid'. So \\\"theme\\\" becomes \\\"mermaid-theme\\\"\\n\\n!Troubleshooting\\n\\n*When in doubt, please create a test case by creating a tiddler that has ``type=text/vnd.tiddlywiki.mermaid`` and contains ''only'' mermaid commands, (no TW markup or other contents)\\n*TW treats any text inside of a Tiddler designated as a \\\"normal Twiddler\\\" (meaning type=text/vnd.tiddlywiki) as Tiddler Markup. Full stop. I've put into place some \\\"unparsing\\\" but it is twitchy difficult to maintain and buggy. So if you have cool, advanced uses of mermaid that fail in the ``\u003C$mermaid>`` tag but work on with the type setup as mermaid, then that is probably the best you're going to get\\n*As much as I'd like to make this not be this way, it just isn't possible with my skills/understanding\\n*JSON encoding only allows double-quotes ``\\\"`` as string delimiters\\n*JSON encoding requires double-quotes around single string values\\n\"},\"$:/plugins/orange/mermaid-tw5/widget-tools.js\":{\"title\":\"$:/plugins/orange/mermaid-tw5/widget-tools.js\",\"text\":\"/*\\ntitle: $:/plugins/orange/mermaid-tw5/widget-tools.js\\ntype: application/javascript\\nauthor: Nathaniel Jones 2017-05-26\\nmodified: E Furlan 2022-05-08\\n*/\\n(function() {\\n \\\"use strict\\\";\\n\\n function Rocklib() {\\n this.uniqueID = 1;\\n this.hue = .2;\\n };\\n // tries to un-parse the wikitext. of dubious value\\n Rocklib.prototype.getScriptBody = function(src, attr) {\\n var scriptBody = src.getAttribute(attr, src\\n .parseTreeNode.text || \\\"\\\");\\n if (src.parseTreeNode.text) {\\n scriptBody = src.parseTreeNode.text;\\n } else if (src.parseTreeNode.children) {\\n var kids = src.parseTreeNode.children;\\n for (var k in kids) {\\n var kk = kids[k];\\n switch (kk.type) {\\n // no wikiparsing found\\n case \\\"text\\\":\\n scriptBody += kk.text;\\n break;\\n // internal link, make it a permalink reference\\n case \\\"link\\\":\\n scriptBody += \\\"#\\\" + kk.children[0].text;\\n break;\\n // -- gets interpreted as an HTML element, we\\n // don't want that\\n case \\\"entity\\\":\\n switch (kk.entity) {\\n case \\\"–\\\":\\n scriptBody += \\\"--\\\";\\n break;\\n };\\n break;\\n // just re-write it back out\\n case \\\"element\\\":\\n switch (kk.tag) {\\n case \\\"a\\\":\\n scriptBody += kk.children[0]\\n .text;\\n }\\n };\\n }\\n }\\n return scriptBody;\\n };\\n /*\\n Runs through lots of ways to get options. It can pull them from a\\n named data Tiddler, from the fields of the Tiddler, and from the\\n attributes of the widget specified by 'tag'. Any value pulled is\\n treated as JSON first and then as straight text.\\n @param src\\n @param tag\\n @param options\\n @returns {*}\\n */\\n Rocklib.prototype.getOptions = function(src, tag, options) {\\n try {\\n // try to set options from fields on tiddler first\\n // [tag-xxx]\\n var tt = src.getVariable('currentTiddler');\\n if (tt) {\\n var t = src.wiki.getTiddler(tt);\\n if (t) {\\n // this looks for fields that start with our tag\\n // and then maps a.x to aX since something is\\n // unCamelCasing the vars\\n for (var f in t.fields) {\\n var fi = f.indexOf(tag);\\n if (fi != 0) continue;\\n var k = f.substring(tag.length + 1);\\n var cap = k.indexOf(\\\".\\\");\\n while (cap > -1) {\\n if (k.length \u003C cap + 2) break;\\n k = k.substring(0, cap) + k.charAt(\\n cap + 1)\\n .toUpperCase() + k.substring(\\n cap + 2);\\n cap = k.indexOf(\\\".\\\");\\n }\\n var v = t.fields[f];\\n // try as JSON\\n try {\\n options[k] = JSON.parse(v);\\n }\\n // last attempt is just a string\\n catch (ex) {\\n options[k] = v;\\n }\\n }\\n }\\n }\\n // treat any attributes as JSON representations of options\\n // for the object\\n for (var att in src.attributes) {\\n var attval = src.getAttribute(att);\\n // allow for data from named tiddlers\\n if ($tw.wiki.tiddlerExists(attval)) {\\n var data = $tw.wiki.getTiddlerData(attval);\\n options[att] = data;\\n } else {\\n // try as JSON\\n try {\\n options[att] = JSON.parse(attval);\\n }\\n // last attempt is just a string\\n catch (ex) {\\n options[att] = attval;\\n }\\n }\\n }\\n } catch (ex) {\\n console.error(ex);\\n }\\n return options;\\n };\\n /*\\n Retrieves a canvas to work with based on the calling functions\\n need of a \\\"div\\\" or \\\"canvas\\\" element\\n @param src\\n @param tag\\n @param type\\n @returns {Element}\\n */\\n Rocklib.prototype.getCanvas = function(src, tag, type) {\\n type = typeof(type) === \\\"undefined\\\" ? \\\"div\\\" : type;\\n var height = src.getAttribute(\\\"height\\\");\\n var width = src.getAttribute(\\\"width\\\");\\n var canvas = src.document.createElement(type);\\n var style = \\\"\\\";\\n if (type === \\\"canvas\\\") {\\n if (width) canvas.width = width;\\n if (height) canvas.height = height;\\n } else {\\n if (height) style += \\\" height:\\\" + height;\\n if (width) style += \\\" width:\\\" + width;\\n if (style) canvas.setAttribute(\\\"style\\\", style);\\n }\\n canvas.setAttribute(\\\"id\\\", tag + \\\"_\\\" + this.uniqueID);\\n this.uniqueID++;\\n return canvas;\\n };\\n /*\\n Based on \u003Chttp://martin.ankerl.com/2009/12/09/how-to-create-\\n random-colors-programmatically/>\\n @param s\\n @param v\\n @returns {string}\\n */\\n Rocklib.prototype.nextColor = function(s, v) {\\n var golden_ratio_conjugate = 0.618033988749895\\n this.hue += golden_ratio_conjugate;\\n this.hue %= 1;\\n var rgb = this.hsv_to_rgb(this.hue, s, v);\\n return \\\"#\\\" + rgb.r.toString(16) + rgb.g.toString(16) +\\n rgb.b.toString(16);\\n };\\n /*\\n Taken from \u003Chttp://stackoverflow.com/questions/17242144/\\n javascript-convert-hsb-hsv-color-to-rgb-accurately>\\n accepts parameters\\n r Object = {r:x, g:y, b:z}\\n OR\\n r, g, b\\n */\\n Rocklib.prototype.rgb_to_hsv = function(r, g, b) {\\n if (arguments.length === 1) {\\n g = r.g, b = r.b, r = r.r;\\n }\\n var max = Math.max(r, g, b),\\n min = Math.min(r, g, b),\\n d = max - min,\\n h,\\n s = (max === 0 ? 0 : d / max),\\n v = max / 255;\\n switch (max) {\\n case min:\\n h = 0;\\n break;\\n case r:\\n h = (g - b) + d * (g \u003C b ? 6 : 0);\\n h /= 6 * d;\\n break;\\n case g:\\n h = (b - r) + d * 2;\\n h /= 6 * d;\\n break;\\n case b:\\n h = (r - g) + d * 4;\\n h /= 6 * d;\\n break;\\n }\\n return {\\n h: h,\\n s: s,\\n v: v\\n };\\n };\\n /*\\n Taken from \u003Chttp://stackoverflow.com/questions/17242144/\\n javascript-convert-hsb-hsv-color-to-rgb-accurately>\\n accepts parameters\\n h Object = {h:x, s:y, v:z}\\n OR\\n h, s, v\\n */\\n Rocklib.prototype.hsv_to_rgb = function(h, s, v) {\\n var r, g, b, i, f, p, q, t;\\n if (arguments.length === 1) {\\n s = h.s, v = h.v, h = h.h;\\n }\\n i = Math.floor(h * 6);\\n f = h * 6 - i;\\n p = v * (1 - s);\\n q = v * (1 - f * s);\\n t = v * (1 - (1 - f) * s);\\n switch (i % 6) {\\n case 0:\\n r = v, g = t, b = p;\\n break;\\n case 1:\\n r = q, g = v, b = p;\\n break;\\n case 2:\\n r = p, g = v, b = t;\\n break;\\n case 3:\\n r = p, g = q, b = v;\\n break;\\n case 4:\\n r = t, g = p, b = v;\\n break;\\n case 5:\\n r = v, g = p, b = q;\\n break;\\n }\\n return {\\n r: Math.round(r * 255),\\n g: Math.round(g * 255),\\n b: Math.round(b * 255)\\n };\\n };\\n exports.rocklib = Rocklib;\\n})();\\n\",\"module-type\":\"library\",\"type\":\"application/javascript\"},\"$:/plugins/orange/mermaid-tw5/wrapper.js\":{\"title\":\"$:/plugins/orange/mermaid-tw5/wrapper.js\",\"text\":\"/*\\ntitle: $:/plugins/orange/mermaid-tw5/wrapper.js\\ntype: application/javascript\\nmodule-type: widget\\nauthor: Nathaniel Jones 2017-05-26\\nmodified: E Furlan 2022-05-08\\n*/\\n(function() {\\n // jslint node: true, browser: true\\n // global $tw: false\\n 'use strict';\\n\\n var uniqueID = 1,\\n Rocklib = require(\\\"$:/plugins/orange/mermaid-tw5/widget-tools.js\\\").rocklib,\\n Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget,\\n rocklib = new Rocklib(),\\n mermaidAPI = require(\\\"$:/plugins/orange/mermaid-tw5/mermaid.min.js\\\")\\n .mermaidAPI;\\n\\n // Changes to run on TiddlyWiki for Node.js - 2022-12-28\\n // if($tw.browser && !window.mermaidAPI) {\\n // window.rocklib = new Rocklib();\\n // window.mermaidAPI = require(\\\"$:/plugins/orange/mermaid-tw5/mermaid.min.js\\\")\\n // .mermaidAPI;\\n // }\\n\\n let MermaidWidget = function(parseTreeNode, options) {\\n this.initialise(parseTreeNode, options);\\n };\\n MermaidWidget.prototype = new Widget();\\n // Render this widget into the DOM\\n MermaidWidget.prototype.render = function(parent, nextSibling) {\\n this.parentDomNode = parent;\\n this.computeAttributes();\\n this.execute();\\n var tag = \\\"mermaid\\\",\\n scriptBody = rocklib.getScriptBody(this, \\\"text\\\"),\\n divNode = rocklib.getCanvas(this, tag),\\n _insertSVG = function(svgCode, bindFunctions) {\\n divNode.innerHTML = svgCode;\\n };\\n try {\\n let options = {\\n theme: \\\"\\\"\\n };\\n rocklib.getOptions(this, tag, options);\\n\\n mermaidAPI.render(divNode.id, scriptBody, _insertSVG);\\n // window.mermaidAPI.render(divNode.id, scriptBody, _insertSVG);\\n\\n } catch (ex) {\\n divNode.innerText = ex;\\n }\\n parent.insertBefore(divNode, nextSibling);\\n this.domNodes.push(divNode);\\n };\\n MermaidWidget.prototype.execute = function() {\\n // Nothing to do\\n };\\n /*\\n Selectively refreshes the widget if needed. Returns true if the\\n widget or any of its children needed re-rendering\\n */\\n MermaidWidget.prototype.refresh = function(changedTiddlers) {\\n return false;\\n };\\n exports.mermaid = MermaidWidget;\\n})();\\n\",\"module-type\":\"widget\",\"type\":\"application/javascript\"}}}","revision":"0","bag":"default","icon":"https://mermaid-js.github.io/mermaid/img/header.png"}, +{"title":"$:/plugins/sq/ExternalContent","name":"External Content","description":"Load content from another TiddlyWiki","author":"Saq Imtiaz","core-version":">=5.3.0","plugin-priority":"0","list":"readme settings","version":"0.0.4","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\n \"tiddlers\": {\n \"$:/config/sq/ExternalContent/load-on-startup\": {\n \"title\": \"$:/config/sq/ExternalContent/load-on-startup\",\n \"text\": \"yes\"\n },\n \"$:/plugins/sq/ExternalContent/filters/jsonfiltertiddlers.js\": {\n \"title\": \"$:/plugins/sq/ExternalContent/filters/jsonfiltertiddlers.js\",\n \"text\": \"/*\\\\\\ntitle: $:/plugins/sq/ExternalContent/filters/jsonfiltertiddlers.js\\ntype: application/javascript\\nmodule-type: filteroperator\\ndescription: Interpret each incoming title as a JSON array of tiddlers and return tiddlers that match the filter expression\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n/*\\nExport our filter function\\n*/\\nexports[\\\"jsonfiltertiddlers\\\"] = function(source,operator,options) {\\n\\tvar results = [];\\n\\tsource(function(tiddler,title) {\\n\\t\\tlet data = $tw.utils.parseJSONSafe(title),\\n\\t\\t\\toutput = [];\\n\\t\\tif(data && Array.isArray(data)) {\\n\\t\\t\\tlet tempWiki = new $tw.Wiki();\\n\\t\\t\\ttempWiki.addTiddlers(data);\\n\\t\\t\\tlet outputTitles = tempWiki.filterTiddlers(operator.operand||\\\"\\\");\\n\\t\\t\\toutputTitles.forEach(title => {\\n\\t\\t\\t\\tlet tiddler = tempWiki.getTiddler(title);\\n\\t\\t\\t\\tif(tiddler) {\\n\\t\\t\\t\\t\\tlet fields = tiddler.getFieldStrings();;\\n\\t\\t\\t\\t\\toutput.push(fields)\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t\\tresults.push(JSON.stringify(output));\\n\\t});\\n\\treturn results;\\n};\\n\\n})();\\n\",\n \"type\": \"application/javascript\",\n \"module-type\": \"filteroperator\",\n \"description\": \"Interpret each incoming title as a JSON array of tiddlers and return tiddlers that match the filter expression\"\n },\n \"$:/plugins/sq/ExternalContent/loadWikiActions\": {\n \"title\": \"$:/plugins/sq/ExternalContent/loadWikiActions\",\n \"code-body\": \"yes\",\n \"text\": \"\\\\procedure startupConfigTitle() $:/config/sq/ExternalContent/load-on-startup\\n\\\\procedure loadWikiActions(wikiURL,contentFilter,deserializer)\\n\\t\u003C!-- actions invoked after fetching the remote data -->\\n\\t\\\\procedure getWikiCallback()\\n\\t\\t\u003C!-- actions to turn the remote data into tiddlers -->\\n\\t\\t\\\\procedure importTiddlers()\\n\\t\\t\\t\u003C$let\\n\\t\\t\\t\\tpassthroughFilter=\\\"[all[]]\\\"\\n\\t\\t\\t\\tdefaultDeserializer=\\\"text/html\\\"\\n\\t\\t\\t\\tcontentFilter={{{ [\u003CcontentFilter>!is[blank]else\u003CpassthroughFilter>] }}}\\n\\t\\t\\t\\tdeserializer={{{ [\u003Cdeserializer>!is[blank]else\u003CdefaultDeserializer>] }}}\\n\\t\\t\\t\\ttiddlerJSON={{{[\u003Cdata>deserialize\u003Cdeserializer>jsonfiltertiddlers\u003CcontentFilter>]}}}\\n\\t\\t\\t\\ttiddlers={{{ [\u003CtiddlerJSON>jsonindexes[]] :map[\u003CtiddlerJSON>jsonget\u003CcurrentTiddler>,[title]] :and[format:titlelist[]join[ ]] }}}\\n\\t\\t\\t>\\n\\t\\t\\t\u003C$action-log $$filter=\\\"wikiURL contentFilter deserializer tiddlers tiddlerJSON\\\"/>\\n\\t\\t\\t\\t\u003C!-- iterate over each position in the array -->\\n\\t\\t\\t\\t\u003C$list filter=\\\"[\u003CtiddlerJSON>jsonindexes[]]\\\" variable=\\\"index\\\">\\n\\t\\t\\t\\t\\t\u003C!-- get the tiddler at that position in the array from the JSON -->\\n\\t\\t\\t\\t\\t\u003C$let\\n\\t\\t\\t\\t\\t\\ttiddler={{{ [\u003CtiddlerJSON>jsonextract\u003Cindex>] }}} \\n\\t\\t\\t\\t\\t\\ttitle={{{ [\u003Ctiddler>jsonget[title]] }}}\\n\\t\\t\\t\\t\\t>\\n\\t\\t\\t\\t\\t\\t\u003C!-- make sure we have a title for the tiddler and exclude system tiddlers -->\\n\\t\\t\\t\\t\\t\\t\u003C$list filter=\\\"[\u003Ctitle>!is[blank]]\\\">\\n\\t\\t\\t\\t\\t\\t\\t\u003C$action-setmultiplefields\\n\\t\\t\\t\\t\\t\\t\\t\\t$fields=\\\"[\u003Ctiddler>jsonindexes[]] externalTiddler is_volatile includeTimestamp\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t$values=\\\"[\u003Ctiddler>jsonindexes[]] :map[\u003Ctiddler>jsonget\u003CcurrentTiddler>!is[blank]else[]] =yes =yes [\u003Cnow [UTC]YYYY0MM0DD0hh0mm0ssXXX>]\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t$timestamp=\\\"no\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t/>\\n\\t\\t\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\\t\\t\u003C/$let>\\n\\t\\t\\t\\t\u003C/$list>\\n\\t\\t\\t\u003C/$let>\\n\\t\\t\\\\end importTiddlers\\n\\t\\t\u003C!-- actions invoked if there is an error fetching the data -->\\n\\t\\t\\\\procedure failureHandler()\\n\\t\\t\\t\u003C$action-log status=\\\"error fetching the wiki\\\"/>\\n\\t\\t\\t\u003C$action-setfield $tiddler={{{ [[$:/temp/http/error/]addsuffix\u003Cnow [UTC]YYYY0MM0DD0hh0mm0ssXXX]>] }}} text={{{ [[There was an error fetching the wiki ]addsuffix\u003CwikiURL>addsuffix\u003Cerror>] }}} tags=\\\"$:/tags/Alert\\\"/>\\n\\t\\t\\\\end failureHandler\\n\\t\\t\u003C$list filter=\\\"[\u003Cstatus>match[200]]\\\" variable=\\\"null\\\" emptyValue=\u003C\u003CfailureHandler>> >\\n\\t\\t\\t\u003C$action-log data=\u003C\u003Cdata>> status=\\\"succcess\\\" />\\n\\t\\t\\t\u003C\u003CimportTiddlers>>\\n\\t\\t\u003C/$list>\\n\\t\\\\end getWikiCallback\\n\\n\\t\u003C!-- fetch the remote data source-->\\n\\t\\\\procedure getWikiActions()\\n\\t\\t\u003C$action-sendmessage\\n\\t\\t\\t$message=\\\"tm-http-request\\\"\\n\\t\\t\\tmethod=\\\"GET\\\"\\n\\t\\t\\tbind-status={{{ [[$:/temp/http/load-content/]addsuffix\u003CwikiURL>] }}}\\n\\t\\t\\toncompletion=\u003C\u003CgetWikiCallback>>\\n\\t\\t\\turl=\u003C\u003CwikiURL>>\\n\\t\\t\\tvar-wikiURL=\u003C\u003CwikiURL>>\\n\\t\\t\\tvar-contentFilter=\u003C\u003CcontentFilter>>\\n\\t\\t\\tvar-deserializer=\u003C\u003Cdeserializer>>\\n\\t\\t\\t>\\n\\t\\\\end getWikiActions\\n\\n\u003C!-- check if its a tiddlyhost URL and if so map it to the json file /tiddlers.json, also trim any trailing slashes -->\\n\\n\u003C$let isTiddlyHost={{{ [\u003CwikiURL>regexp[(?i)^https:\\\\/\\\\/\\\\S+tiddlyhost.com]then[yes]else[no]] }}}\\n\\twikiURL={{{ [\u003CisTiddlyHost>match[yes]] :then[\u003CwikiURL>trim:suffix[/]trim:suffix[tiddlers.json]addsuffix[/tiddlers.json]] :else[\u003CwikiURL>] }}}\\n\\tdeserializer={{{ [\u003CisTiddlyHost>match[yes]then[application/json]else\u003Cdeserializer>] }}}\\n\\t>\\n\\t\u003C$action-log $$filter=\\\"isTiddlyHost wikiURL deserializer\\\"/>\\n\\t\u003C\u003CgetWikiActions>>\\n\u003C/$let>\\n\\\\end loadWikiActions\\n\\n\\n\u003C!-- ARE IMAGES IMPORTING CORRECTLY? -->\"\n },\n \"$:/plugins/sq/ExternalContent/readme\": {\n \"title\": \"$:/plugins/sq/ExternalContent/readme\",\n \"text\": \"!!Import content from other online wikis\\n\\nNote that content is loaded immediately after the wiki starts up, therefore JavaScript modules and tiddlers that are meant to influence the startup behaviour will not take effect if loaded in this manner. The wiki from which content is to be imported must be hosted on a server with CORS support, such as TiddlyHost or GitHub pages.\\n\\n!! Excluding imported content from being saved with the wiki\\n''If you do not want the imported tiddlers to be saved with the host wiki, you must exclude them:''\\n\\n* for single file TiddlyWikis you need to create or amend the global variable publishFilter by adding `-[is_volatile[yes]]`\\n** if you have not previously defined a publishFilter, create a tiddler with the title `$:/publishFilter` with the tag `$:/tags/Global` where the text field consists of `-[is_volatile[yes]]`\\n* for TiddlyWiki on node.js, modify the tiddler `$:/config/SyncFilter` and append `-[is_volatile[yes]]`\\n\\n!! Loading content on startup\\n\\nFor each wiki from which you want to load content on startup, create a tiddler tagged with `$:/tags/load-external-content` with the following fields:\\n\\n|tags |~$:/tags/load-external-content |\\n|text |the URL of the wiki from which to import tiddlers |\\n|content-filter |(optional) filter that determines which tiddlers to import from the target wiki. Note you can filter out system tiddlers or config tiddlers that might not be desirable. |\\n|deserializer|(optional) defaults to `text/html` which is appropriate for TiddlyWiki files |\\n\\nNote: for TiddlyHost files the plugin automatically downloads just the tiddler.json file provided by TiddlyHost and chooses the appropriate deserializer, to decrease the bandwidth used.\\n\\n!! Loading content on demand\\n\\nImport variables from the tiddler `$:/plugins/sq/ExternalContent/loadWikiActions` and use the procedure `loadWikiActions` in an action string.\\n\\nExample:\\n\\n```\\n\\\\procedure loadMyWiki()\\n\\\\import [[$:/plugins/sq/ExternalContent/loadWikiActions]]\\n\u003C$transclude\\n $variable=\\\"loadWikiActions\\\"\\n wikiURL=\\\"https://tiddlywiki.com\\\"\\n contentFilter=\\\"[!is[system]tag[Working with TiddlyWiki]]\\\"\\n deseralizer=\\\"text/html\\\"\\n />\\n\\\\end\\n\\n\u003C$button actions=\u003C\u003CloadMyWiki>> > load content \u003C/$button>\\n\\n```\"\n },\n \"$:/plugins/sq/ExternalContent/settings\": {\n \"title\": \"$:/plugins/sq/ExternalContent/settings\",\n \"text\": \"\u003C$checkbox tiddler=\\\"$:/config/sq/ExternalContent/load-on-startup\\\" field=\\\"text\\\" checked=\\\"yes\\\" unchecked=\\\"no\\\" default=\\\"yes\\\"> Load external content on startup\u003C/$checkbox>\\n\\nWikis to load content from on startup:\\n\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/load-external-content]]\\\">\\n\\n|Defined in |\u003C$link/> |\\n|URL |{{!!text}} |\\n|content-filter|\u003C$text text={{!!content-filter}}/> |\\n|deseralizer|\u003C$text text={{!!deserializer}}/>|\\n\\n\u003C/$list>\\n\\n\u003C$button>\\n\u003C$action-sendmessage $message=\\\"tm-new-tiddler\\\" title=\\\"Please enter the wiki name here\\\" tags=\\\"$:/tags/load-external-content\\\" text=\\\"Replace this text with the URL\\\" content-filter=\\\"\\\" deseralizer=\\\"\\\"/>\\nAdd wiki to load content from\\n\u003C/$button>\"\n },\n \"$:/plugins/sq/ExternalContent/startupActions\": {\n \"title\": \"$:/plugins/sq/ExternalContent/startupActions\",\n \"tags\": \"$:/tags/StartupAction/PostRender\",\n \"code-body\": \"yes\",\n \"text\": \"\\\\import [[$:/plugins/sq/ExternalContent/loadWikiActions]]\\n\\n\u003C% if [\u003CstartupConfigTitle>get[text]trim[]match[yes]] %>\\n\u003C$list filter=\\\"[all[shadows+tiddlers]tag[$:/tags/load-external-content]!is[draft]]\\\">\\n\\t\u003C$transclude\\n\\t\\t$variable=\\\"loadWikiActions\\\"\\n\\t\\twikiURL={{{ [\u003CcurrentTiddler>get[text]] }}}\\n\\t\\tcontentFilter={{{ [\u003CcurrentTiddler>get[content-filter]] }}}\\n\\t\\tdeseralizer={{{ [\u003CcurrentTiddler>get[deseralizer]] }}}\\n\\t\\t/>\\n\u003C/$list>\\n\u003C% endif %>\"\n }\n }\n}"}, {"title":"$:/plugins/sycom/atom-feed","description":"Atom feed","author":"Sylvain Comte","version":"0.0.2","core-version":">=5.0.0","source":"https://framagit.org/sycom/TiddlyWiki-Plugins","plugin-type":"plugin","list":"readme usage","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"Working on atom feed\":{\"title\":\"Working on atom feed\",\"created\":\"20190406203049600\",\"modified\":\"20190407152226190\",\"tags\":\"\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"Since i'm not getting all the purpose of the pretty complex Dullroar's https://github.com/dullroar/TW5-atomfeed/ let's try de deploy a very lightweight version.\\n\\nWhat we need :\\n\\n* a [[global template|$:/plugins/sycom/atom-feed/atom.xml]] for the atom.xml output file\\n* a template [[for each item|$:/plugins/sycom/atom-feed/templates/itemfeed]] of the feed\\n* a [[list of lattest tiddlers|$:/plugins/sycom/atom-feed/entrylist]] based upon this template (and maybe latest updated tiddlers?).\\n* a $:/plugins/sycom/atom-feed/publicationWebsite parameter\\n* an information for bots and browser through a //rawMarkup// tagged [[tiddler|$:/plugins/sycom/atom-feed/rel-alternate]]\\n\\nStarting example from [[RFC 4287|https://tools.ietf.org/html/rfc4287]]\\n\\n```\\n\u003C?xml version=\\\"1.0\\\" encoding=\\\"utf-8\\\"?>\\n \u003Cfeed xmlns=\\\"http://www.w3.org/2005/Atom\\\">\\n \u003Ctitle type=\\\"text\\\">dive into mark\u003C/title>\\n \u003Csubtitle type=\\\"html\\\">\\n A <em>lot</em> of effort\\n went into making this effortless\\n \u003C/subtitle>\\n \u003Cupdated>2005-07-31T12:29:29Z\u003C/updated>\\n \u003Cid>tag:example.org,2003:3\u003C/id>\\n \u003Clink rel=\\\"alternate\\\" type=\\\"text/html\\\"\\n hreflang=\\\"en\\\" href=\\\"http://example.org/\\\"/>\\n \u003Clink rel=\\\"self\\\" type=\\\"application/atom+xml\\\"\\n href=\\\"http://example.org/feed.atom\\\"/>\\n \u003Crights>Copyright (c) 2003, Mark Pilgrim\u003C/rights>\\n \u003Cgenerator uri=\\\"http://www.example.com/\\\" version=\\\"1.0\\\">\\n Example Toolkit\\n \u003C/generator>\\n \u003Centry>\\n \u003Ctitle>Atom draft-07 snapshot\u003C/title>\\n \u003Clink rel=\\\"alternate\\\" type=\\\"text/html\\\"\\n href=\\\"http://example.org/2005/04/02/atom\\\"/>\\n \u003Clink rel=\\\"enclosure\\\" type=\\\"audio/mpeg\\\" length=\\\"1337\\\"\\n href=\\\"http://example.org/audio/ph34r_my_podcast.mp3\\\"/>\\n \u003Cid>tag:example.org,2003:3.2397\u003C/id>\\n \u003Cupdated>2005-07-31T12:29:29Z\u003C/updated>\\n \u003Cpublished>2003-12-13T08:29:29-04:00\u003C/published>\\n \u003Cauthor>\\n \u003Cname>Mark Pilgrim\u003C/name>\\n \u003Curi>http://example.org/\u003C/uri>\\n \u003Cemail>f8dy@example.com\u003C/email>\\n \u003C/author>\\n \u003Ccontributor>\\n \u003Cname>Sam Ruby\u003C/name>\\n \u003C/contributor>\\n \u003Ccontributor>\\n \u003Cname>Joe Gregorio\u003C/name>\\n \u003C/contributor>\\n \u003Ccontent type=\\\"xhtml\\\" xml:lang=\\\"en\\\"\\n xml:base=\\\"http://diveintomark.org/\\\">\\n \u003Cdiv xmlns=\\\"http://www.w3.org/1999/xhtml\\\">\\n \u003Cp>\u003Ci>[Update: The Atom draft is finished.]\u003C/i>\u003C/p>\\n \u003C/div>\\n \u003C/content>\\n \u003C/entry>\\n \u003C/feed>\\n```\"},\"$:/plugins/sycom/atom-feed/i18n/en-GB/usage\":{\"title\":\"$:/plugins/sycom/atom-feed/i18n/en-GB/usage\",\"type\":\"text/vnd.tiddlywiki\",\"caption\":\"Usage\",\"text\":\"Once plugin is installed, set your website address and numbers of latest tiddlers to list here\\n\\n* website url \u003C$edit-text tiddler=\\\"$:/plugins/sycom/atom-feed/publicationWebsite\\\" field=\\\"caption\\\" tag=\\\"input\\\"/>\\n\\n* tiddlers number \u003C$edit-text tiddler=\\\"$:/plugins/sycom/atom-feed/entrylist\\\" field=\\\"caption\\\" tag=\\\"input\\\"/>\\n\\nThen add this line to your build command (in tiddlywiki.info file)\\n\\n```\\n\\\"feed\\\": [\\n \\\"--rendertiddler\\\",\\\"$:/plugins/sycom/atom-feed/atom.xml\\\",\\\"atom.xml\\\",\\\"text/plain\\\"]\\n```\\n\"},\"$:/plugins/sycom/atom-feed/i18n/fr-FR/readme\":{\"title\":\"$:/plugins/sycom/atom-feed/i18n/fr-FR/readme\",\"text\":\"Le [plugin atom feed](#$:/plugins/sycom/atom-feed) permet d'ajouter un flux atom ([RFC 4287][RFC]) à votre TiddlyWiki au moment de sa construction (commande `build`). Il crée un fichier `atom.xml` contenant la liste des xx derniers articles de votre wiki.\\n\\n## Sources / licenses\\n* le **plugin atom feed** est sous une [licence BSD 3-Clause][license] similaire à celle de TiddlyWiki\\n\\n[RFC]: https://tools.ietf.org/html/rfc4287\\n[license]: https://framagit.org/sycom/TiddlyWiki-Plugins/LICENSE.md\\n\",\"type\":\"text/x-markdown\",\"caption\":\"Readme\"},\"$:/plugins/sycom/atom-feed/i18n/fr-FR/usage\":{\"title\":\"$:/plugins/sycom/atom-feed/i18n/fr-FR/usage\",\"type\":\"text/vnd.tiddlywiki\",\"caption\":\"Usage\",\"text\":\"Une fois le plugin installé, indiquez l'adresse de publication de votre site et le nombre des derniers tiddlers à faire apparaitre dans le flux ici\\n\\n* url du site web \u003C$edit-text tiddler=\\\"$:/plugins/sycom/atom-feed/publicationWebsite\\\" field=\\\"caption\\\" tag=\\\"input\\\"/>\\n\\n* nombre de tiddlers \u003C$edit-text tiddler=\\\"$:/plugins/sycom/atom-feed/entrylist\\\" field=\\\"caption\\\" tag=\\\"input\\\"/>\\n\\nEnsuite ajoutez cette ligne à votre commande `build` (dans le fichier tiddlywiki.info)\\n\\n```\\n\\\"feed\\\": [\\n \\\"--rendertiddler\\\",\\\"$:/plugins/sycom/atom-feed/atom.xml\\\",\\\"atom.xml\\\",\\\"text/plain\\\"]\\n```\\n\"},\"$:/core/macros/i18n\":{\"author\":\"@sycom\",\"created\":\"20191009144004451\",\"modified\":\"20191011145435763\",\"tags\":\"$:/tags/Macro\",\"title\":\"$:/core/macros/i18n\",\"type\":\"application/javascript\",\"version\":\"1.0.0-pre2\",\"text\":\"\\\\define i18nOriginal(title domain orig_lang lang mode)\\n\u003C$list filter=\\\"[\u003C__title__>addprefix[/]addprefix\u003C__orig_lang__>addprefix[/i18n/]addprefix\u003C__domain__>is[tiddler]] [\u003C__title__>addprefix[/]addprefix\u003C__orig_lang__>addprefix[/i18n/]addprefix\u003C__domain__>is[shadow]]\\\">\\n\u003C$transclude mode=\u003C\u003C__mode__>> />\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003C__title__>addprefix[/]addprefix\u003C__orig_lang__>addprefix[/i18n/]addprefix\u003C__domain__>is[missing]]-[\u003C__title__>addprefix[/]addprefix\u003C__orig_lang__>addprefix[/i18n/]addprefix\u003C__domain__>is[shadow]]\\\">\\n\u003Cdiv class=\\\"tc-message-box\\\">\\n//\u003C\u003C__orig_lang__>>// original is missing, please create it at \u003C$link to=\u003C\u003CcurrentTiddler>>>\u003C$text text=\u003C\u003CcurrentTiddler>> />\u003C/$link>\u003C/div>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define i18nTranslation(title domain orig_lang lang mode)\\n\u003C$list filter=\\\"[\u003C__title__>addprefix[/]addprefix\u003C__lang__>addprefix[/i18n/]addprefix\u003C__domain__>is[tiddler]] [\u003C__title__>addprefix[/]addprefix\u003C__lang__>addprefix[/i18n/]addprefix\u003C__domain__>is[shadow]]\\\">\\n\u003C$transclude mode=\u003C\u003C__mode__>> />\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003C__title__>addprefix[/]addprefix\u003C__lang__>addprefix[/i18n/]addprefix\u003C__domain__>is[missing]]-[\u003C__title__>addprefix[/]addprefix\u003C__lang__>addprefix[/i18n/]addprefix\u003C__domain__>is[shadow]]\\\">\\n\u003C$set name=\\\"target\\\" value=\u003C\u003CcurrentTiddler>>>\\n\u003C$list filter=\\\"[\u003C__lang__>search\u003C__orig_lang__>]\\\">\\n\u003C$macrocall $name=\\\"i18nOriginal\\\" title=\u003C\u003C__title__>> domain=\u003C\u003C__domain__>> orig_lang=\u003C\u003C__orig_lang__>> lang=\u003C\u003C__lang__>> mode=\u003C\u003C__mode__>>/>\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003C__lang__>!search\u003C__orig_lang__>]\\\">\\n\u003Cdiv class=\\\"tc-message-box\\\">//\u003C\u003C__lang__>>// translation is missing, you may create it at \u003C$link to=\u003C\u003Ctarget>>>\u003C$text text=\u003C\u003Ctarget>> />\u003C/$link>\u003C/div>\\n\u003Cdiv lang=\u003C\u003C__orig_lang__>>>\\n\u003C$macrocall $name=\\\"i18nOriginal\\\" title=\u003C\u003C__title__>> domain=\u003C\u003C__domain__>> orig_lang=\u003C\u003C__orig_lang__>> lang=\u003C\u003C__lang__>> mode=\u003C\u003C__mode__>> />\\n\u003C/div>\\n\u003C/$list>\\n\u003C/$set>\\n\u003C/$list>\\n\\\\end\\n\\n\\\\define i18n(title domain:\\\"$:\\\" orig_lang:\\\"en-GB\\\" mode:\\\"block\\\")\\n\u003C$set name=\\\"title\\\" value=\u003C\u003C__title__>> emptyValue=\u003C\u003CcurrentTiddler>>>\\n\u003C$set name=\\\"lg-LG\\\" tiddler={{$:/language}} field=\\\"name\\\" emptyValue=\\\"en-GB\\\">\\n\u003C$macrocall $name=\\\"i18nTranslation\\\" title=\u003C\u003Ctitle>> domain=\u003C\u003C__domain__>> orig_lang=\u003C\u003C__orig_lang__>> lang=\u003C\u003Clg-LG>> mode=\u003C\u003C__mode__>>/>\\n\u003C/$set>\\n\u003C/$set>\\n\\\\end\\n\",\"module-type\":\"macro\"},\"$:/plugins/sycom/atom-feed/i18n/en-GB/readme\":{\"title\":\"$:/plugins/sycom/atom-feed/i18n/en-GB/readme\",\"text\":\"The [atom feed plugin](#$:/plugins/sycom/atom-feed) will help adding an atom ([RFC 4287][RFC]) feed to your TiddlyWiki when you //build// it. It will create an `atom.xml` file with the list of latest xx tiddlers of your wiki.\\n\\n## Sources / licenses\\n* **atom feed plugin** is released under similar [BSD 3-Clause license][license] as TiddlyWiki\\n\\n[RFC]: https://tools.ietf.org/html/rfc4287\\n[license]: https://framagit.org/sycom/TiddlyWiki-Plugins/LICENSE.md\\n\",\"type\":\"text/x-markdown\",\"created\":\"20190321120000000\",\"modified\":\"20190328144500000\",\"caption\":\"Readme\"},\"$:/plugins/sycom/atom-feed/readme\":{\"title\":\"$:/plugins/sycom/atom-feed/readme\",\"caption\":\"Readme\",\"text\":\"\u003C\u003Ci18n readme $:/plugins/sycom/atom-feed>>\\n\"},\"$:/plugins/sycom/atom-feed/atom.xml\":{\"title\":\"$:/plugins/sycom/atom-feed/atom.xml\",\"created\":\"20190406214444000\",\"modified\":\"20190407150839004\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\rules only filteredtranscludeinline transcludeinline\\n\u003C?xml version=\\\"1.0\\\" encoding=\\\"utf-8\\\"?>\\n \u003Cfeed xmlns=\\\"http://www.w3.org/2005/Atom\\\">\\n \u003Ctitle type=\\\"html\\\">{{$:/SiteTitle}}\u003C/title>\\n \u003Csubtitle type=\\\"html\\\">{{$:/SiteSubtitle}}\u003C/subtitle>\\n \u003Cupdated>{{$:/plugins/sycom/atom-feed/publicationDate}}\u003C/updated>\\n \u003Cid>{{$:/plugins/sycom/atom-feed/publicationWebsite}}\u003C/id>\\n \u003Clink rel=\\\"alternate\\\" type=\\\"text/html\\\"\\n hreflang=\\\"{{$:/plugins/sycom/atom-feed/wikiLang}}\\\" href=\\\"{{$:/plugins/sycom/atom-feed/publicationWebsite}}\\\"/>\\n \u003Clink rel=\\\"self\\\" type=\\\"application/atom+xml\\\"\\n href=\\\"{{$:/plugins/sycom/atom-feed/publicationWebsite}}/atom.xml\\\"/>\\n \u003Crights>\u003C/rights>\\n \u003Cgenerator uri=\\\"https://sycom.gitlab.io/TiddlyWiki-Plugins/#AtomFeed%20Plugin\\\" version=\\\"{{$:/plugins/sycom/atom-feed!!version}}\\\">\\n Sycom's AtomFeed TiddlyWiki plugin\\n \u003C/generator>\\n\\n{{$:/plugins/sycom/atom-feed/entrylist}}\\n\\n\u003C/feed>\\n\"},\"$:/plugins/sycom/atom-feed/entrylist\":{\"title\":\"$:/plugins/sycom/atom-feed/entrylist\",\"created\":\"20190407141826200\",\"modified\":\"20190407145916341\",\"caption\":\"25\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\\\\define feedFilter() [all[tiddlers]![This wiki uses Google analytics]!prefix[Draft of ]!prefix[$:/]!prefix[-$:/]!sort[created]limit[$(numFeed)$]]\\n\\n\u003C$set name=numFeed value={{!!caption}}>\\n\\n\u003C$list filter=\u003C\u003CfeedFilter>> template=\\\"$:/plugins/sycom/atom-feed/templates/itemfeed\\\">\\n\\n\u003C/$list>\\n\u003C/$set>\\n\"},\"$:/plugins/sycom/atom-feed/templates/itemfeed\":{\"title\":\"$:/plugins/sycom/atom-feed/templates/itemfeed\",\"created\":\"20190406210152700\",\"modified\":\"20190407150714665\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"`\u003Centry>\\n \u003Ctitle>`\u003C$view field=\\\"caption\\\">{{!!title}}\u003C/$view>`\u003C/title>\\n \u003Clink rel=\\\"alternate\\\" type=\\\"text/html\\\"\\n href=\\\"`\u003C$text text={{$:/plugins/sycom/atom-feed/publicationWebsite!!caption}}/>/#{{!!title}}`\\\"/>\\n \u003Cid>`{{!!title}}`\u003C/id>\\n \u003Cupdated>`\u003C$view field=modified format=date template=\\\"YYYY-0MM-0DDT0hh:0mm:0ss\\\"/>`\u003C/updated>\\n \u003Cpublished>`\u003C$view field=created format=date template=\\\"YYYY-0MM-0DDT0hh:0mm:0ss\\\"/>`\u003C/published>\\n \u003Cauthor>\\n \u003Cname>`{{!!modifier}}`\u003C/name>\\n \u003C/author>\\n \u003Ccontent type=\\\"html\\\">\\n\\n`\\n \u003C$view field=\\\"text\\\" format=\\\"htmlwikified\\\"/>\\n `\u003C/content>\\n\u003C/entry>`\\n\"},\"$:/plugins/sycom/atom-feed/usage\":{\"title\":\"$:/plugins/sycom/atom-feed/usage\",\"caption\":\"Usage\",\"text\":\"\u003C\u003Ci18n usage $:/plugins/sycom/atom-feed>>\\n\"},\"$:/plugins/sycom/atom-feed/publicationDate\":{\"title\":\"$:/plugins/sycom/atom-feed/publicationDate\",\"created\":\"20190407150203600\",\"modified\":\"20190407150231675\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C\u003Cnow YYYY-0MM-0DDT0hh:0mm:0ss>>\\n\"},\"$:/plugins/sycom/atom-feed/publicationWebsite\":{\"title\":\"$:/plugins/sycom/atom-feed/publicationWebsite\",\"created\":\"20190407150203600\",\"modified\":\"20190407150231675\",\"type\":\"text/vnd.tiddlywiki\",\"caption\":\"https://sycom.gitlab.io/TiddlyWiki-Plugins\",\"text\":\"Please set url in caption field\\n\"},\"$:/plugins/sycom/atom-feed/rel-alternate\":{\"title\":\"$:/plugins/sycom/atom-feed/rel-alternate\",\"created\":\"20190407151615100\",\"modified\":\"20190407152216117\",\"tags\":\"$:/tags/RawMarkup\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003Clink rel=\\\"alternate\\\" type=\\\"application/atom+xml\\\" title=\\\"last published - feed\\\" href=\\\"./atom.xml\\\" />\"},\"$:/plugins/sycom/atom-feed/wikiLang\":{\"title\":\"$:/plugins/sycom/atom-feed/wikiLang\",\"created\":\"20190407151615100\",\"modified\":\"20190407152216117\",\"type\":\"text/vnd.tiddlywiki\",\"text\":\"\u003C$view field=name tiddler={{$:/language}}>en-GB\u003C/$view>\\n\"}}}","revision":"0","bag":"default","name":"atom-feed"}, {"text":"{\n \"tiddlers\": {\n \"GeoTiddler\": {\n \"title\": \"GeoTiddler\",\n \"created\": \"20151130173416239\",\n \"modified\": \"20170115153450584\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"text\": \"[[GeoTiddler]]s are tiddlers containing geographical data. [[geoSyntax|$:/plugins/sycom/leaflet/geoSyntax]] lists the available objects. [[geoJson|https://en.wikipedia.org/wiki/GeoJSON]] data are also accepted. You may specify a color for all objects displayed through `color` field.\\n\\n!! tiddler with geo TiddlerFields\\nYou can upgrade your tiddler by putting some geo metadata ([[wgs 84 coordinates|https://en.wikipedia.org/wiki/World_Geodetic_System#WGS84]]) in it's TiddlerFields. See [[geoSyntax|$:/plugins/sycom/leaflet/geoSyntax]] for the list of object types you can draw. Popup will show the first part of the tiddler. If the tiddler contains a leafmap widget, it will be rendered as `text/plain` in order to avoid crash...\\n\\n!! geoJSON tiddler\\nYou can define a geoJson tiddler like [[tiddlyWikiFrCommunity|$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity]] and then display the data by calling it. Just put your geoJson data in the body and declare the tiddler as application/json. Any `application/json` tiddler called will be considered as geoJson. The popups will show\\n\\n* a title\\n** the `name` or the `title` attribute in properties if exists,\\n** if not, the firsts attributes of properties until they are 8 characters long\\n* a description\\n** the `description` attribute in properties if exists,\\n** if not, the data stored in each feature as a bulleted list.\\n\\n!! tiddler grouping [[GeoTiddler]]s\\nYou can use `tiddlers` or `filter` as TiddlerFields to make a group of tiddlers. You can apply some styling options to all the group using `style`, `color` or `marker` TiddlerFields and then call the tiddler in your map to render all those tiddler at the same time. This will be a good way to make thematic maps indeed...\\n\"\n },\n \"$:/plugins/sycom/leaflet/devDiary\": {\n \"title\": \"$:/plugins/sycom/leaflet/devDiary\",\n \"created\": \"20151110173416000\",\n \"modified\": \"20180531171500000\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"text\": \"Some notes about coding this plugin. Might be useful to others...\\n\\n* 20180602\\n** added a template that will display a map of embeded object for tiddlers containing one of the geoTiddlers fiels.\\n** updtated leaflet and marker-cluster to 1.3.1 - the easy way. Just replaced with new version and no deprecation at all \\\\o/ !\\n* 20180531\\n** converting all `.svg.tid` files to `.svg` + `.svg.meta` pairs. Will allow git client to make svg viewable in web interface. Also compressed SVG as much as possible with great https://jakearchibald.github.io/svgomg/ tool.\\n** tweak : for svg embedding local TiddlyWiki colors (eg `$primary$`), forced type to `text/vnd.tiddlywiki` to preserve them.\\n* 20170317\\n** lot of work around cluster size, cluster color when using filter. Cluster size depends on point % for the cluster, clusterRadius and zoom.\\n* 20170311\\n** added styling options and also the grouping tiddler capabilities. Discovered that direct styling in SVG ''does not always'' [[overwrite css styling|http://stackoverflow.com/questions/24293880/svg-why-does-external-css-override-inline-style-for-text]].\\n* 20170129\\n** adding some markers. And it's possible to create yours.\\n* 20170115\\n** darling birthday edit. Clustering by tiddler is on track. Will have to look for clustering direct passing object through widget.\\n* 20161111\\n** armistice edit! can now disable clustering or set clustering distance. Bug #9 fixed. may be cluster size will be too big for big databases\\n* 20161106\\n** color parameter is partially implemented. Note that direct styling like `fill` in svg element wont take on class styling through css...\\n* 20161104\\n** after many attemps, managed to include tiddler excerpt in popups for mapping geoTiddler. Had to include an escape rule for tiddler containing a leafmap widget. No larsen, but a big bug (map number probably).\\n** also managed to give the marker the color of the primary color. Note for later there is probably a bug if primary color is defined with `\u003C\u003Ccolour>>` macro.\\n* 20161102\\n** ok, when importing some library, don't forget to use `require()` in order to conclude. Silly guy. Still some polishing needed, but clustering know works...\\n* 20161101\\n** fighting with markercluster capabilities. At this point seems I can add the script but the MarkerClusterGroup class is not recognized when called...\\n* 20161031\\n** gave up inserting external layers.svg in stylesheet. Issues with `\u003C$text />` and `{{ }}`... Created svg in a separate tiddler for the record but inserting directly an \\\"escaped\\\" version in [[mapCss.css|$:/plugins/sycom/leaflet/mapCssTweaks.css.tid]]\\n* 20161030\\n** working on different markers. Not so good at designing them though ;-) Putted default leaflet svg marker. Using Inkscape to edit svg easily and SVGO extension in atom to compress them. First attempt to put layers icon as svg. Issues...\\n* 20161029\\n** trying to put svg marker instead of png ones. Will be better for changing colors, content... using data:image/svg+xml. Svg has to bring xmlns ~~and xmlns:xlink~~ with it in order to work...\\n* 20161025\\n** after big fight, managed to call images as embeded through css without writing full base64 code. Had to add `html` to the \\\"rules only\\\" list at the beginning of the css code\\n* 20161024\\n** geojson implemented. Will need to add cluster soon. Some question about geojson attributes to create the popup...\\n* 20161021\\n** updated leaflet.js to 1.0.1 moved base64 image to mapCss.css in order to avoid problems when updating leaflet.\\n** Updated tileLayer list. min/max checked for this time. Detect if tile id is wrong to alert user and display osm instead.\\n* 20160314\\n** corrected caption errors for example and roadmap. Have to write an install process in demo site (gh-page) since writing this in plugin is nonsense.\\n* 20151124\\n** wondering the best way to release plugin code in gitlab (or github). Can't be a fork of TiddlyWiki. Don't want to lose .git history.\\n** ok I'm dumb. All is written in the dev TiddlyWiki : http://tiddlywiki.com/dev/#Developing%20p lugins%20using%20Node.js%20and%20GitHub . Lost .git history since cuting tree is bad. But history was still short...\\n* 20151123\\n** not able to use directly tiddler stored images as css background.\\n** decided to use base64 form in css. Not so elegant as I wished, but works.\\n* 20151121\\n** fighting with parameters : not imported from widget with `this.getAttribute()`\\n** solved by adding the parameter computation before : `this.computeAttributes();`\\n* 20151115\\n** some problems to declare leaflet.js library : fail during build since there is no window, no document.\\n** solved by creating the tiddlywiki.files importer.\\n* 20151110\\n** starting some tests. Inspiration from d3plugin (also creating widget and importing library)\\n\"\n },\n \"$:/plugins/sycom/leaflet/geoSyntax\": {\n \"title\": \"$:/plugins/sycom/leaflet/geoSyntax\",\n \"created\": \"20151119173416239\",\n \"modified\": \"20151211173250584\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"geoSyntax\",\n \"text\": \"Geographical objects can be stored\\n\\n* in a GeoTiddler by creating a ''//type// : // pattern//'' metadata field pair in any tiddler or by storing geoJson data in it and setting your tiddler to `application/JSON` type. Call it in the widget with ''places'' attribute : `places='{\\\"tiddler\\\":\\\"title of your tiddler\\\"}'`\\n* in several [[GeoTiddlers|GeoTiddler]]. Call them in the widget with ''places'' attribute\\n** via a space separated list of [[GeoTiddlers|GeoTiddler]] : `places='{\\\"tiddlers\\\":\\\"tiddler1 tiddler2 tiddler3\\\"}'`\\n** via a [[filter|http://tiddlywiki.com/#Filters]] selection of [[GeoTiddlers|GeoTiddler]] : `places='{\\\"filter\\\":\\\"[[your filter]]\\\"}'`\\n* straight in the widget with ''places'' attribute : `places='{\\\"object type\\\":\\\"coordinates pattern\\\"}'`\\n\\n!! Everything might be a GeoTiddler\\n\\nIn a very much tiddlywiki way, a tiddler may also refer to a list or a selection of tiddlers using `tiddlers` or `filter` metadata fields. You may add styling informations to all refered tiddler with `style`, `color` or `marker` metadata fields. Calling this tiddler with `\u003C$leafmap />` will render all refered tiddlers.\\n\\n!! Tool for creating shapes\\nAs not everyone has a GIS in his head, And the plugin does not implement yet any tool for creating geo shapes, there is (very basic) tool for that : [ext[Draw for TiddlyWiki leaflet plugin|http://sycom.github.io/TiddlyWiki-Plugins/leafletDraw.html]]\\n\\n!! Geographical objects you can display on your map\\n\\n| !type | !description | !pattern |\\n|''point'' |a unique point defined by a comma separated latitude,longitude pair |`y,x` |\\n|''points''|a points collection defined by a space separated ''point'' definition list |`y1,x1 y2,x2 y3,x3 ...` |\\n|''polygon''|a closed surfacic place defined like an //ordered// ''points'' collection just above |`y1,x1 y2,x2 y3,x3 ...` |\\n|''polygons''|a polygons collection defined by a pipe (`|`) separated list of ''polygon'' definitions |`y1,x1 y2,x2 y3,x3|y4,x4 y5...` |\\n|''polyline''|an open path place defined like the ''polygon'' just above |`y1,x1 y2,x2 y3,x3 ...` |\\n|''polylines''|a polylines collection defined by a pipe (`|`) separated list of ''polyline'' definitions |`y1,x1 y2,x2 y3,x3|y4,x4 y5...` |\\n|''geojson''|a [[geojson|http://geojson.org/]] object. If set through a tiddler field, please crunch it to one single line|see [[rfc7946|https://tools.ietf.org/html/rfc7946]]|\\n\"\n },\n \"$:/plugins/sycom/leaflet/markers\": {\n \"title\": \"$:/plugins/sycom/leaflet/markers\",\n \"created\": \"20170129172401910\",\n \"modified\": \"20170129172401910\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"Markers\",\n \"text\": \"markers are used to display point(s) related informations. Default marker is [[marker|$:/plugins/sycom/leaflet/images/marker.svg]].\\n\\n!! Available markers\\n\\nfor now, available markers are those\\n\\n\u003C$list filter='[all[shadows]has[marker_dim]has[caption]]'>\u003Cspan style=\\\"display:inline-block;text-align:center;margin:0 .5em;padding:.5em;border:.5px dotted\\\">\u003C$tiddler tiddler={{!!title}}>\u003C$transclude/>\u003C/$tiddler>\u003Cbr/>\u003C$link to={{!!title}}>{{!!caption}}\u003C/$link>\u003C/span>\u003C/$list>\\n\\n!! Create your own markers\\n\\nHave a look at existing ones above for inspiration and hack. Markers are svg pieces with some mandatory tweaks :\\n\\n* a marker is based upon ''two'' tiddlers, one for the marker and one for the shadow\\n* add a `caption` field to the marker tiddler (not for the shadow svg).\\n* the `title` of your marker tiddler will be `$:/plugins/sycom/leaflet/images/`''caption''`.svg`\\n* and the `title` of the marker shadow tiddler will be `$:/plugins/sycom/leaflet/images/`''caption''`shadow.svg`\\n* a `marker_dim` field wich defines //width// //height// //x-anchor// //y-anchors//. Please check that your //width// and //height// value are the same as in `\u003Csvg (...) width=\\\"15\\\" height=\\\"15\\\">`\\n* don't forget to add `xmlns` attribute : `\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" (...)`\\n* if you want your marker to change color upon tiddlywiki or widget parameters, use `$primary$` for the color attribute of your svg\\n\"\n },\n \"$:/plugins/sycom/leaflet/roadmap\": {\n \"title\": \"$:/plugins/sycom/leaflet/roadmap\",\n \"created\": \"20151209173416000\",\n \"modified\": \"20180531171500000\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"Roadmap\",\n \"text\": \"Not really a roadmap just a list for future development ideas. You'd better take a look at [[issues|https://framagit.org/sycom/TiddlyWiki-Plugins/boards]] on the repo. And add yours if you dare ;-)\\n\\n* add a tool to draw shapes, lines and collect coordinates. Until this, You may use [[Draw for TiddlyWiki leaflet plugin|http://sycom.github.io/TiddlyWiki-Plugins/leafletDraw.html]]\\n* add categories options\\n* add text, title capabilities\\n* try a tiddler template based upon field presence to render data for all geoTiddler\\n* ...\\n\\n* ~~try to put other types of pins (svg? icons?)~~ ''0.8.0'' : you may change markers via the //marker// option and design your own markers\\n* ~~add color(s) options~~ ''0.7.2'' : color can be set via //color// tiddler field or forced through //color// option\\n* ~~add a clustering functionality (at least for points)~~ ''0.7.0'' : each data group is know clustering points\\n* ~~add geoJSON tiddlers~~ ''0.6.0'' : added geojsontiddler rendering\\n* ~~map tiddlers with the same tag(s)~~ ''0.5.0'' : added filter places request\\n\"\n },\n \"$:/plugins/sycom/leaflet/tileLayers\": {\n \"title\": \"$:/plugins/sycom/leaflet/tileLayers\",\n \"created\": \"20151119173416239\",\n \"modified\": \"20161020222250584\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"tileLayers\",\n \"text\": \"tileLayers are the //background// of the leaflet map. They will not be available offline and will not display at every zoom level.\\n\\n!! Available tile layers\\n\\nedit [[tileLayers.json|$:/plugins/sycom/leaflet/lib/tileLayers.json]] if you want to add / remove tile layers.\\n\\n| !id | !description | !zoom min/max |\\n|''osm'' |[[OpenStreetMap|http://openstreetmap.org]] classic tile layer | 1/20 |\\n|''osmfr'' |[[OpenStreetMap|http://openstreetmap.org]] with //baguette// smell | 1/20 |\\n|''osmbw'' |Black and White version of [[OpenStreetMap|http://openstreetmap.org]] tiles by Wikimedia labs | 1/20 |\\n|''sat'' |Satellite photographic layer provided by Esri | 1/18 |\\n|''natgeo'' |National Geographic style layer provided by Esri| 1/12 |\\n|''toner'' |Black and white styled OpenStreetMap data provided by [[Stamen|http://stamen.com]] | 1/20 |\\n|''water'' |Watercolor styled OpenStreetMap data provided by [[Stamen|http://stamen.com]] | 1/20 |\\n|''thunder'' |Pale styled OpenStreetMap data provided by [[Thunderforest|http://thunderforest.com]] | 1/20 |\\n|''dark'' |\\\"Dark Matter\\\" styled OpenStreetMap data provided by [[CartoDB|https://cartodb.com/basemaps]] | 1/20 |\\n|''positron'' |\\\"Positron\\\" styled OpenStreetMap data provided by [[CartoDB|https://cartodb.com/basemaps]] | 1/20 |\\n\"\n },\n \"$:/plugins/sycom/leaflet/usage\": {\n \"title\": \"$:/plugins/sycom/leaflet/usage\",\n \"created\": \"20151119173416239\",\n \"modified\": \"20170129153650584\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"Usage\",\n \"text\": \"The widget is called by using `\u003C$leafmap />`. You may specify some options :\\n\\n!!! widget attributes\\n|!Attribute |!Description |!Default |\\n|''width'' |the width of the map (px or tiddler %)| `100%`|\\n|''height''|the height of the map (px only)| `420px`|\\n\\n!!! leaflet map attributes\\n|!Attribute |!Description |!Default |\\n|''places'' |a json object with the geographical data you want to display. Can be stored in tiddlers as metadata fields. See [[geoSyntax|$:/plugins/sycom/leaflet/geoSyntax]] for more informations ||\\n|''style'' |a json object containing styling information for your polygons and polylines objects in the map. Will overwrite GeoTiddler style if exists. Refer to [[leaflet documentation|http://leafletjs.com/reference-1.0.3.html#path]] for all options| `{ }`|\\n|''color'' |a color for drawing that will apply to all objects in the map. Will also overwrite GeoTiddler color attributes and //style// (if defined) colors| `\u003C\u003Ccolour primary>>`|\\n|''marker''|the name of the marker you want for points. See [[markers|$:/plugins/sycom/leaflet/markers]] for more informations| `marker`|\\n|''tile'' |the //id// or the //number// of the tile layer you want to use. See [[tileLayers|$:/plugins/sycom/leaflet/tileLayers]] for more informations | `osm`|\\n|''cluster''|set the clustering distance between points. also can disable clustering with no value or `0` or `\\\"\\\"`| `80`|\\n|''clusterType''|set if points are clustered for whole map (`map`) or for each tiddler (`tiddler`) displayed.| `map`|\\n|''tileControl'' |''if present'' add a control to select the tile layer you want ||\\n|''lat'' |map center latitude. Will overwrite places auto-centering | `52.8`|\\n|''long'' |map center longitude. Will overwrite places auto-centering | `-2.6`|\\n|''zoom'' |zoom level as defined by leaflet : int value between `0` (world map) and `20` (ant view) | |\\n\"\n },\n \"$:/plugins/sycom/leaflet/example\": {\n \"title\": \"$:/plugins/sycom/leaflet/example\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"caption\": \"Example\",\n \"text\": \"Different ways to use the [[leaflet plugin|$:/plugins/sycom/leaflet]]\\n\\n{{$:/plugins/sycom/leaflet/example/leaflet_with_geotiddler}}\\n\\n{{$:/plugins/sycom/leaflet/example/leaflet_with_geojsontiddler}}\\n\\n{{$:/plugins/sycom/leaflet/example/leaflet_with_non-tiddler_geo_data}}\\n\\n{{$:/plugins/sycom/leaflet/example/leaflet_with_filter}}\\n\"\n },\n \"$:/plugins/sycom/leaflet/example/leaflet_with_filter\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/leaflet_with_filter\",\n \"created\": \"20151211173500000\",\n \"modified\": \"20170317163500000\",\n \"text\": \"!! a map of a filter\\nthis one displays all tiddlers tagged with \u003C\u003Ctag example>> (there's a //all shadow// tweak, since they are shadowed). There is also one cluster per tiddler. Some colors are set from within each tiddler with `color` field.\\n\\n```\\n\u003C$leafmap tile='toner'\\n\\tplaces='{\\\"filter\\\":\\\"[all[shadows]tag[example]]\\\"}' clusterType='tiddler'/>\\n```\\n\u003C$leafmap tile='toner'\\n\\tplaces='{\\\"filter\\\":\\\"[all[shadows]tag[example]]\\\"}' clusterType='tiddler'/>\\n\"\n },\n \"$:/plugins/sycom/leaflet/example/leaflet_with_geojsontiddler\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/leaflet_with_geojsontiddler\",\n \"created\": \"20161025150936935\",\n \"modified\": \"20170318235936935\",\n \"tags\": \"example leaflet\",\n \"text\": \"!! a map of a geoJson tiddler\\nThis one displays [[tiddlyWikiFrCommunity|$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity]] (that has a color field set to red), which is an almost direct geojson data extraction from the umap [[Utilisateurs du forum TiddlyWiki FR|https://umap.openstreetmap.fr/fr/map/tiddlywikifr_65983#6/46.995/2.549]]. `color` is set to orange, `marker` to pin. Cluster distance is default (80) on the first, set to 30 on the second.\\n\\n```\\n\u003C$leafmap tileControl\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\\\"}'\\n style='{\\\"color\\\":\\\"orange\\\"}'\\n marker='pin'/>\\n\u003C$leafmap tileControl cluster=\\\"30\\\"\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\\\"}'\\n marker='pin'/>\\n```\\n\u003C$leafmap tileControl\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\\\"}'\\n style='{\\\"color\\\":\\\"orange\\\"}'\\n marker='pin'/>\\n\u003C$leafmap tileControl cluster=\\\"30\\\"\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\\\"}'\\n marker='pin'/>\\n\"\n },\n \"$:/plugins/sycom/leaflet/example/leaflet_with_geotiddler\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/leaflet_with_geotiddler\",\n \"created\": \"20151207090936935\",\n \"modified\": \"20161025222038568\",\n \"tags\": \"example leaflet\",\n \"text\": \"!! a map of a GeoTiddler\\nthis one displays the tiddler [[placeTiddler|$:/plugins/sycom/leaflet/example/placeTiddler]]. Note the tileControl attribute that enables map background selection. As the tiddler has its `color` field set to pink, objects are rendered pink. The cat is know a panther ;-). The tiddler also have a `style` field to define dash and thickness of the stroke...\\n\\n```\\n\u003C$leafmap\\n tileControl\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/placeTiddler\\\"}'/>\\n```\\n\u003C$leafmap\\n tileControl\\n places='{\\\"tiddler\\\":\\\"$:/plugins/sycom/leaflet/example/placeTiddler\\\"}'/>\\n\"\n },\n \"$:/plugins/sycom/leaflet/example/leaflet_with_non-tiddler_geo_data\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/leaflet_with_non-tiddler_geo_data\",\n \"point\": \"6.5,19.72\",\n \"created\": \"20151207090936935\",\n \"modified\": \"20151211172038568\",\n \"tags\": \"example leaflet\",\n \"text\": \"!! a map with data on the go\\nvery useful for fast mapping. All objects that might be embedded in GeoTiddler can be used here. Let's display a map with satellite imagery and\\n\\n* a ''point'' at `6.5,19.72`\\n* a ''polyline'' at `6.4,19.7 6.6,19.74`\\n\\nnote this tiddler is also a geoTiddler with one point at `6.5,19.72`\\n\\n```\\n\u003C$leafmap tile='sat'\\n\\tplaces='{\\\"point\\\":\\\"6.5,19.72\\\",\\\"polyline\\\":\\\"6.4,19.7 6.6,19.74\\\"}'/>\\n```\\n\\n\u003C$leafmap tile='sat'\\n\\tplaces='{\\\"point\\\":\\\"6.5,19.72\\\",\\\"polyline\\\":\\\"6.4,19.7 6.6,19.74\\\"}'/>\\n\"\n },\n \"$:/plugins/sycom/leaflet/example/placeTiddler\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/placeTiddler\",\n \"points\": \"52.799933,-2.589812 52.799959,-2.590939\",\n \"polygon\": \"52.800608,-2.591668 52.800225,-2.591829 52.799849,-2.591937 52.799603,-2.591990 52.799427,-2.591990 52.799187,-2.591894 52.798863,-2.591550 52.798727,-2.591357 52.798662,-2.591121 52.798636,-2.590853 52.798655,-2.590542 52.798668,-2.590467 52.798701,-2.590359 52.798649,-2.590113 52.798623,-2.589920 52.798610,-2.589716 52.798636,-2.589437 52.798694,-2.589136 52.798850,-2.588975 52.799051,-2.588793 52.799311,-2.588707 52.799525,-2.588707 52.799726,-2.588772 52.800018,-2.588857 52.800290,-2.588911 52.800511,-2.589040 52.800731,-2.589126 52.800816,-2.589211 52.800413,-2.589812 52.800446,-2.590166 52.800452,-2.590520 52.800433,-2.590810 52.800426,-2.591068 52.800751,-2.591550 52.800621,-2.591679\",\n \"polylines\": \"52.799382,-2.590059 52.799641,-2.588321|52.799330,-2.590048 52.799447,-2.588342|52.799265,-2.590059 52.799181,-2.588342|52.799486,-2.590724 52.799706,-2.592301|52.799414,-2.590767 52.799525,-2.592366|52.799356,-2.590714 52.799278,-2.592355\",\n \"created\": \"20151119173416000\",\n \"modified\": \"20151211173153114\",\n \"color\": \"#ff80c0\",\n \"style\": \"{\\\"dashArray\\\":\\\"6, 10\\\",\\\"weight\\\":\\\"8\\\"}\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"tags\": \"example leaflet geometry\",\n \"text\": \"This tiddler contains\\n\\n* a two `points` list : 52.799933,-2.589812 52.799959,-2.590939\\n* a `polygon` : 52.800608,-2.591668 52.800225,-2.591829 52.799849 (...)\\n* a `polyline`s list : 52.799382,-2.590059 52.799641,-2.588321|52.799330,-2.590048 52.799447,-2.588342|52.799265,(...)\\n\\nIt has also some styling informations\\n\\n* `color` is set to pink\\n* `style` defines a dashed 8px thick line\\n\\ngo to edit mode to see the full data fields\\n\"\n },\n \"/usr/local/lib/node_modules/tiddlywiki/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity.old\": {\n \"title\": \"/usr/local/lib/node_modules/tiddlywiki/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity.old\",\n \"text\": \"created: 20161025143416000\\nmodified: 20170317143416000\\ntitle: $:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\\ntype: application/json\\ntags: example leaflet geojson\\ncolor: #dd0000\\n\\n{\\\"type\\\":\\\"FeatureCollection\\\",\\\"features\\\":[{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Aknar\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.4442090000000007,43.604652]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"CdriC\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.563166,47.478419]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Disanv Parean\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.4072784,49.1846226]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Fab13n\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[5.5867,45.1184]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Fabio\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.916515000000004,47.8664401]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Florent V.\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[0.156237,45.648377]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Joël\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[4.740042686462402,46.10446454226022]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Johanne\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-74.09016960000002,45.65189590000001]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Lakemp\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.19249,48.59338]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"LauDai\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.4750973000000158,43.5664556]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Lucivam\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[4.390278,45.434722]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Mikabi\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.44,43.604652]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Nico\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.2569674000000077,48.9899655]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Nicolas Friedli\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[6.8411643,46.9425711]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Phil\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[3.98337,50.36155]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Piwig\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-1.677793,48.117266]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Sylvain Comte\\\",\\\"description\\\":\\\"Créateur du leaflet map plugin\\\",\\\"url\\\":\\\"http://sylvain.comte.online.fr\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.08954,49.43584]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Sylvain Naudin\\\",\\\"description\\\":\\\"Admin du forum\\\",\\\"url\\\":\\\"http://sylvain.naud.in\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.155689,45.471894]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Thierry Pasquier\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[0.3333,46.5833]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Vincent Delcros\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[5.2788245000000416,50.5500944]}}]}\\n\",\n \"type\": \".old\"\n },\n \"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\": {\n \"title\": \"$:/plugins/sycom/leaflet/example/tiddlyWikiFrCommunity\",\n \"text\": \"{\\\"type\\\":\\\"FeatureCollection\\\",\\\"features\\\":[{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Aknar\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.4442090000000007,43.604652]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"CdriC\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.563166,47.478419]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Disanv Parean\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.4072784,49.1846226]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Emmanuel\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.3522219000000177,48.85661400000001]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Escrivant\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.3868,48.871958]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Fab13n\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[5.5867,45.1184]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Fabio\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.916515000000004,47.8664401]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Florent\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[0.156237,45.648377]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"François\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.478413899999964,43.543794]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Gub\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.4442090000000007,43.604652]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"jargenty\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.321621999999934,43.514707]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Jérôme\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-2.429759,47.328003]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Joël\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[4.740042686462402,46.10446454226022]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Johanne\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-74.09016960000002,45.65189590000001]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Lakemp\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.19249,48.59338]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"LauDai\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.4750973000000158,43.5664556]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"LongSlowBakery\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-2.4834849999999733,52.903552]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Lucivam\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[4.390278,45.434722]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"m4dz\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.3522219000000177,48.85661400000001]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Matthias\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.560016,47.470006]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Michel\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[7.261953199999994,43.7101728]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Mikabi\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.44,43.604652]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Nico\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.2569674000000077,48.9899655]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Nicolas\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[6.8411643,46.9425711]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"pariswiki\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.29,48.8]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Phil\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[3.98337,50.36155]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Piwig\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-1.677793,48.117266]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Ploum\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[0.1995560000000296,48.00611000000001]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Scapharnaum\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[7.74553,48.58392]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Solaine\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[8.227512,46.818188]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Sylvain Comte\\\",\\\"description\\\":\\\"Créateur du leaflet map plugin\\\",\\\"url\\\":\\\"http://sylvain.comte.online.fr\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[1.08954,49.43584]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Sylvain Naudin\\\",\\\"description\\\":\\\"Admin du forum\\\",\\\"url\\\":\\\"http://sylvain.naud.in\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[-0.155689,45.471894]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Thierry\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[0.3333,46.5833]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Thomas Elmiger\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[8.541694,47.376887]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Vincent\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[5.2788245000000416,50.5500944]}},{\\\"type\\\":\\\"Feature\\\",\\\"properties\\\":{\\\"name\\\":\\\"Yan\\\",\\\"description\\\":\\\"\\\",\\\"url\\\":\\\"\\\"},\\\"geometry\\\":{\\\"type\\\":\\\"Point\\\",\\\"coordinates\\\":[2.0517,46.22475]}}]}\\n\",\n \"type\": \"application/json\",\n \"created\": \"20161025143416000\",\n \"modified\": \"20180602193416000\",\n \"source\": \"https://umap.openstreetmap.fr/fr/map/tiddlywikifr_65983\",\n \"tags\": \"example leaflet geojson\",\n \"color\": \"#dd0000\"\n },\n \"$:/ext/modules/widgets/geolocation-widget.js\": {\n \"text\": \"/*\\\\\\ntitle: $:/ext/modules/wigets/geolocation-widget.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nGeolocation widget\\n\\n\\\\*/\\n(function() {\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n \\\"use strict\\\";\\n var Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n var GeolocationWidget = function(parseTreeNode, options) {\\n this.initialise(parseTreeNode, options);\\n };\\n\\n /* Inherit from the base widget class */\\n GeolocationWidget.prototype = new Widget();\\n\\n /* Compute the internal state of the widget */\\n GeolocationWidget.prototype.execute = function() {\\n // Get attributes\\n this.target = this.getAttribute(\\\"target\\\") || this.getVariable(\\\"currentTiddler\\\");\\n this.icon = this.getAttribute(\\\"icon\\\") || \\\"$:/core/images/globe\\\";\\n this.text = this.getAttribute(\\\"text\\\") || undefined;\\n this.accuracy = this.getAttribute(\\\"accuracy\\\");\\n this.type = this.getAttribute(\\\"type\\\") || \\\"point\\\";\\n // Make child widgets\\n this.makeChildWidgets();\\n };\\n\\n /* Render this widget into the DOM */\\n GeolocationWidget.prototype.render = function(parent, nextSibling) {\\n var self = this;\\n // Remember parent\\n this.parentDomNode = parent;\\n // Compute attributes and execute state\\n this.computeAttributes();\\n this.execute();\\n // Create element\\n var tag = \\\"button\\\";\\n if (this.buttonTag && $tw.config.htmlUnsafeElements.indexOf(this.buttonTag) === -1) {\\n tag = this.buttonTag;\\n }\\n var domNode = this.document.createElement(tag);\\n // Add a click event handler\\n domNode.addEventListener(\\\"click\\\", function(event) {\\n if (navigator.geolocation) {\\n navigator.geolocation.getCurrentPosition(\\n // success callback\\n function(position) {\\n /* to replace by field populating (point(s) polyline(s) or polygon(s)) */\\n /* default : if tiddler has point field, will create a points field to store new data;\\n if tiddler has points field, will add a new point to the tiddler field;\\t*/\\n var target = self.target;\\n var accuracy = self.accuracy;\\n var type = self.type;\\n var newPoint = position.coords.latitude + \\\",\\\" + position.coords.longitude;\\n /* check if tiddler has a geofield */\\n var track = \\\"\\\";\\n if (!$tw.wiki.getTiddler(target)) $tw.wiki.setText(target, \\\"text\\\", null, \\\"\\\", null);\\n var flds = $tw.wiki.getTiddler(target).fields\\n if (flds.points) {\\n track = flds.points;\\n $tw.wiki.setText(target, \\\"points\\\", null, track + \\\" \\\" + newPoint, null);\\n infoLocation(\\\"new point \\\" + newPoint + \\\" added to \\\" + target);\\n\\n } else {\\n if (flds.point && flds.point !== null) {\\n track = flds.point;\\n $tw.wiki.setText(target, \\\"points\\\", null, track + \\\" \\\" + newPoint, null);\\n $tw.wiki.setText(target, \\\"point\\\", null, null, null);\\n infoLocation(\\\"new point \\\" + newPoint + \\\" added to \\\" + target);\\n } else {\\n $tw.wiki.setText(target, \\\"point\\\", null, newPoint, null);\\n infoLocation(\\\"new point \\\" + newPoint + \\\" added to \\\" + target);\\n }\\n }\\n },\\n // error callback\\n function(error) {\\n noLocation(error.message + \\\". You may not are connected via httpS://\\\")\\n }\\n );\\n } else {\\n noLocation(\\\"position disabled or not supported by your browser\\\");\\n }\\n }, false);\\n /* dress up button */\\n var buttonContent;\\n // if text parameter, will use it for the button\\n if (self.text) {\\n buttonContent = self.text;\\n } else {\\n // if not, looking for an icon\\n /* !todo: ?question: should the icon depend on \\\"type\\\" parameter? */\\n buttonContent = $tw.wiki.getTiddler(self.icon).fields.text;\\n }\\n domNode.innerHTML = buttonContent;\\n // Insert element\\n parent.insertBefore(domNode, nextSibling);\\n this.renderChildren(domNode, null);\\n this.domNodes.push(domNode);\\n };\\n\\n function noLocation(message) {\\n /* !todo: ?question: replace by \\\"modal\\\" alert? */\\n // create or update a temporary message tiddler \\n $tw.wiki.setText(\\\"$:/temp/noLocationMessage\\\", \\\"text\\\", null, \\\"geolocation access denied: \\\" + message, null);\\n // displays it in modal\\n $tw.modal.display(\\\"$:/temp/noLocationMessage\\\");\\n }\\n\\n function infoLocation(message) {\\n // create or update a temporary message tiddler \\n $tw.wiki.setText(\\\"$:/temp/viewLocationMessage\\\", \\\"text\\\", null, message, null);\\n // displays it in modal\\n $tw.notifier.display(\\\"$:/temp/viewLocationMessage\\\");\\n }\\n /*\\n We don't allow actions to propagate because we trigger actions ourselves\\n */\\n GeolocationWidget.prototype.allowActionPropagation = function() {\\n return false;\\n };\\n\\n exports.geoloc = GeolocationWidget;\\n\\n})();\",\n \"title\": \"$:/ext/modules/widgets/geolocation-widget.js\",\n \"type\": \"application/javascript\",\n \"module-type\": \"widget\"\n },\n \"geoLocationWidget\": {\n \"caption\": \"action-createtiddler\",\n \"created\": \"20180906130958091\",\n \"modified\": \"20180906132645752\",\n \"author\": \"Sylvain Comte\",\n \"tags\": \"Widgets\",\n \"title\": \"geoLocationWidget\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"text\": \"! Introduction\\nThe ''geolocation'' widget is used to collect geographic position of the browser running the wiki. For now position will be added the //point// (or //points// if there is more than one point) field of the target tiddler. Those fields may then be used with the [[Leaflet Map Plugin|https://sycom.github.io/TiddlyWiki-Plugins/#Leaflet%20plugin]], or whatever tool using geographic coordinates.\\n\\n* The widget is not dependant from Leaflet Map Plugin (but is bundled in it). You may install it alone\\n* The widget will only work on //https// website, due to security limitation of the geolocation implemented in browsers\\n\\n! Content and Attributes\\nThe [[geolocation widget|$:/ext/modules/widgets/geolocation-widget.js]] will create a button to collect your browser's position. Any content within it is ignored.\\n\\n| !Attribute | !Description | !Default |\\n|target |The tiddler (title) in which data will be stored |//current tiddler// |\\n|icon |The title of the icon used to dress up the button|$:/core/images/globe |\\n|text |The text displayed in the button (will overwrite the icon)|`undefined` |\\n\\nMore options will come later (//accuracy//, //object type//...).\\n\\n! Examples\\n\\n```\\n\u003C$geoloc target=\\\"Geolocation Store\\\" />\\n```\\n\\n\u003C$geoloc target=\\\"Geolocation Store\\\" />\\n\\n! Source\\nThe ''geolocation widget'' is developped aside Leaflet Map Plugin. Source code can be found on the same repository : https://framagit.org/sycom/TiddlyWiki-Plugins/tree/master/ext/modules/widget/geolocation\\n\\n\"\n },\n \"$:/plugins/sycom/leaflet/icon\": {\n \"title\": \"$:/plugins/sycom/leaflet/icon\",\n \"tags\": \"$:/tags/Image\",\n \"text\": \"\u003Csvg class=\\\"tc-image-leaflet-map tc-image-button\\\" viewBox=\\\"0 0 128 128\\\" width=\\\"22pt\\\" height=\\\"22pt\\\">\\n \u003Cg fill-rule=\\\"evenodd\\\">\\n \u003Cpath d=\\\"M64 0L9.4 32v64L64 128l54.6-32V32zM48.8 32.4l30.8 7.8V95l-30.8-7.8zm57.2 2.4v54.7L82 95V40.2zm-59.8-2.2v54.7L21 92.8V38zm-10.4 5.9a5.2 5.2 0 0 0-5.1 5c0 1.1.6 2.6 1.1 3.6l4 7.6 3.9-7.6c.4-1 1.1-2.4 1.1-3.6 0-2.6-2.3-5-5-5zm-.2 3h.2c1 0 2 .9 2 2a2 2 0 0 1-2 2 2 2 0 0 1-2-2c0-1 .8-2 1.8-2zM64.2 44c-7 0-13 6.1-13 12.7 0 3 1.7 6.8 3 9.4l10 19.3L74 66c1.2-2.6 3-6.2 3-9.4C77 50.1 71.2 44 64 44zm0 7.7a5 5 0 0 1 5 5 5 5 0 0 1-10 0 5 5 0 0 1 5-5zM25.6 59a3.5 3.5 0 0 0-3.4 3.3c0 .8.5 1.8.8 2.5l2.6 5 2.6-5c.3-.7.8-1.7.8-2.5 0-1.7-1.5-3.3-3.4-3.3zm0 2a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1-1.3-1.3 1.3 1.3 0 0 1 1.3-1.3zM92 66.8c-2.7 0-5 2.4-5 5 0 1.2.6 2.7 1.1 3.7l4 7.5 3.8-7.5c.5-1 1.2-2.4 1.2-3.7 0-2.6-2.3-5-5-5zm0 3c1.1 0 2 1 2 2a2 2 0 0 1-2 2 2 2 0 0 1-2-2c0-1 .9-1.9 2-2z\\\"/>\\n \u003Cpath d=\\\"M69-158h58v67H69z\\\" fill=\\\"#fff\\\"/>\\n \u003C/g>\\n\u003C/svg>\\n\"\n },\n \"$:/plugins/sycom/leaflet/images/layers.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/layers.svg\",\n \"text\": \"\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" height=\\\"26\\\" width=\\\"26\\\">\u003Cpath d=\\\"M0 17l13-8 13 8-13 8-13-8\\\" fill=\\\"#b9b9b9\\\"/>\u003Cpath d=\\\"M0 17v1l13 8 13-8v-1l-13 8z\\\" fill=\\\"#737373\\\"/>\u003Cpath d=\\\"M0 13l13-8 13 8-13 8-13-8\\\" fill=\\\"#cdcdcd\\\"/>\\n \u003Cpath d=\\\"M0 13v1l13 8 13-8v-1l-13 8z\\\" fill=\\\"#737373\\\"/>\u003Cpath d=\\\"M0 9l13-8 13 8-13 8L0 9\\\" fill-opacity=\\\".6\\\" fill=\\\"#e9e9e9\\\"/>\u003Cpath d=\\\"M0 9v1l13 8 13-8V9l-13 8z\\\" fill=\\\"#737373\\\"/>\u003C/svg>\\n\",\n \"type\": \"image/svg+xml\",\n \"created\": \"20161028202401905\",\n \"modified\": \"20180531154011600\",\n \"tags\": \"$:/tags/Image\"\n },\n \"$:/plugins/sycom/leaflet/images/marker.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/marker.svg\",\n \"text\": \"\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"25\\\" height=\\\"40\\\" fill-rule=\\\"evenodd\\\">\u003Cpath fill=\\\"none\\\" d=\\\"M6.279 4.463h12.625v14.5H6.279z\\\"/>\u003Cpath fill=\\\"$primary$\\\" fill-opacity=\\\".8\\\" stroke=\\\"#fff\\\" stroke-linecap=\\\"round\\\" d=\\\"M12.544.5C5.971.5.5 6.191.5 12.366c0 2.778 1.564 6.308 2.694 8.746L12.5 38.984l9.262-17.872c1.13-2.438 2.738-5.791 2.738-8.746C24.5 6.191 19.117.5 12.544.5zm0 7.155a4.714 4.714 0 0 1 4.679 4.71c0 2.588-2.095 4.663-4.679 4.679-2.584-.017-4.679-2.09-4.679-4.679a4.714 4.714 0 0 1 4.679-4.71z\\\" class=\\\"leaflet-marker-colored\\\"/>\u003Cpath fill=\\\"none\\\" stroke=\\\"#fff\\\" stroke-linecap=\\\"round\\\" stroke-opacity=\\\".9\\\" d=\\\"M12.531 1.607c-5.944 0-10.938 5.219-10.938 10.75 0 2.359 1.443 5.832 2.563 8.25l.031.031L12.5 36.607l8.25-15.969.031-.031c1.135-2.448 2.625-5.706 2.625-8.25 0-5.538-4.931-10.75-10.875-10.75zm0 4.969c3.168.021 5.781 2.601 5.781 5.781 0 3.18-2.613 5.761-5.781 5.781-3.168-.02-5.75-2.61-5.75-5.781 0-3.172 2.582-5.761 5.75-5.781z\\\"/>\u003C/svg>\\n\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"created\": \"20161028202401905\",\n \"modified\": \"20180531124011600\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"25 40 12.5 40\",\n \"caption\": \"marker\"\n },\n \"$:/plugins/sycom/leaflet/images/markershadow.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/markershadow.svg\",\n \"text\": \"\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"50\\\" height=\\\"40\\\">\u003Cfilter id=\\\"a\\\" width=\\\"200\\\" height=\\\"200\\\" x=\\\"-50\\\" y=\\\"-50\\\">\u003CfeGaussianBlur in=\\\"SourceAlpha\\\" stdDeviation=\\\"1.5\\\"/>\u003C/filter>\u003Cpath fill=\\\"none\\\" d=\\\"M47 0a52 52 0 0 0-34 21L0 40l30-19 13-9c7-6 9-12 4-12zm-9 7a3 8 58 0 1-2 5c-3 3-7 5-9 5-3 0-2-2 1-5a3 8 58 0 1 10-5z\\\" filter=\\\"url(#a)\\\"/>\u003C/svg>\\n\",\n \"type\": \"image/svg+xml\",\n \"created\": \"20161028202401905\",\n \"modified\": \"20180531155500000\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"50 40 0 40\"\n },\n \"$:/plugins/sycom/leaflet/images/pin.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/pin.svg\",\n \"text\": \"\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"35\\\">\u003Cdefs>\u003ClinearGradient id=\\\"a\\\">\u003Cstop offset=\\\"0\\\" stop-color=\\\"#fff\\\"/>\u003Cstop offset=\\\"1\\\" stop-color=\\\"#fff\\\" stop-opacity=\\\"0\\\"/>\u003C/linearGradient>\u003CradialGradient id=\\\"b\\\" cx=\\\"7\\\" cy=\\\"7\\\" r=\\\"8\\\" fx=\\\"5\\\" fy=\\\"5\\\" gradientTransform=\\\"scale(1.12)\\\" gradientUnits=\\\"userSpaceOnUse\\\" href=\\\"#a\\\"/>\u003C/defs>\u003Cg fill-rule=\\\"evenodd\\\">\u003Cpath d=\\\"M9 20h2v15H9z\\\"/>\u003Ccircle cx=\\\"10\\\" cy=\\\"10\\\" r=\\\"10\\\" class=\\\"leaflet-marker-colored\\\" fill-opacity=\\\".8\\\" fill=\\\"$primary$\\\"/>\u003Ccircle cx=\\\"10\\\" cy=\\\"10\\\" r=\\\"10\\\" fill=\\\"url(#b)\\\"/>\u003C/g>\u003C/svg>\\n\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"created\": \"20161028202401905\",\n \"modified\": \"20180531154500000\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"20 35 10 35\",\n \"caption\": \"pin\"\n },\n \"$:/plugins/sycom/leaflet/images/pinshadow.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/pinshadow.svg\",\n \"text\": \"\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"15\\\" height=\\\"15\\\">\u003Cfilter id=\\\"a\\\" width=\\\"200\\\" height=\\\"200\\\" x=\\\"-50\\\" y=\\\"-50\\\">\u003CfeGaussianBlur in=\\\"SourceAlpha\\\" stdDeviation=\\\"1.5\\\"/>\u003C/filter>\u003Cellipse cx=\\\"8\\\" cy=\\\"8\\\" style=\\\"stroke:none; fill-opacity:.3; filter: url(#a)\\\" rx=\\\"7\\\" ry=\\\"7\\\"/>\u003C/svg>\\n\",\n \"type\": \"image/svg+xml\",\n \"created\": \"20170129162401910\",\n \"modified\": \"20180531155000000\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"15 15 5 7\"\n },\n \"$:/plugins/sycom/leaflet/images/point.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/point.svg\",\n \"text\": \"\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"15\\\" height=\\\"15\\\" fill-rule=\\\"evenodd\\\">\u003Cellipse cx=\\\"7.5\\\" cy=\\\"7.5\\\" fill=\\\"none\\\" stroke=\\\"#fff\\\" stroke-opacity=\\\".8\\\" rx=\\\"7.5\\\" ry=\\\"7.5\\\"/>\u003Cellipse cx=\\\"7.5\\\" cy=\\\"7.5\\\" fill=\\\"$primary$\\\" fill-opacity=\\\".8\\\" stroke=\\\"#000\\\" stroke-opacity=\\\".8\\\" stroke-width=\\\".5\\\" class=\\\"leaflet-marker-colored\\\" rx=\\\"7\\\" ry=\\\"7\\\"/>\u003C/svg>\\n\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"created\": \"20170129162401905\",\n \"modified\": \"20180531165500000\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"15 15 7.5 7.5\",\n \"caption\": \"point\"\n },\n \"$:/plugins/sycom/leaflet/images/pointshadow.svg\": {\n \"title\": \"$:/plugins/sycom/leaflet/images/pointshadow.svg\",\n \"text\": \"\u003Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"15\\\" height=\\\"15\\\">\u003Cfilter id=\\\"a\\\" width=\\\"200\\\" height=\\\"200\\\" x=\\\"-50\\\" y=\\\"-50\\\">\u003CfeGaussianBlur in=\\\"SourceAlpha\\\" stdDeviation=\\\"1.5\\\"/>\u003C/filter>\u003Cellipse cx=\\\"7.5\\\" cy=\\\"7.5\\\" fill-opacity=\\\".3\\\" filter=\\\"url(#a)\\\" rx=\\\"7.2\\\" ry=\\\"7.2\\\"/>\u003C/svg>\\n\",\n \"type\": \"image/svg+xml\",\n \"created\": \"20170129162401910\",\n \"modified\": \"20180531165600000\",\n \"tags\": \"$:/tags/Image\",\n \"marker_dim\": \"15 15 0 12\"\n },\n \"$:/plugins/sycom/leaflet/lib/tileLayers.json\": {\n \"text\": \"[\\n {\\n \\\"id\\\": \\\"osmfr\\\",\\n \\\"nom\\\": \\\"OSM France\\\",\\n \\\"url\\\": \\\"http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"fond par \u003Ca href='http://osm.org/copyright'>OSM\u003C/a>, licence \u003Ca href='http://creativecommons.org/licenses/by-sa/3.0'>CC BY SA\u003C/a>. Données ©Contributeurs \u003Ca href='http://openstreetmap.org'>OSM\u003C/a>, licence \u003Ca href='http://opendatacommons.org/licenses/odbl/'>ODbL\u003C/a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"osm\\\",\\n \\\"nom\\\": \\\"OpenStreetMap\\\",\\n \\\"url\\\": \\\"http://{s}.tile.osm.org/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"Map tiles by ©\u003Ca href='http://osm.org/copyright'>OSM\u003C/a>, licence \u003Ca href='http://creativecommons.org/licenses/by-sa/3.0'>CC BY SA\u003C/a>. Data by ©\u003Ca href='http://openstreetmap.org'>OSM\u003C/a> contributors, licence \u003Ca href='http://opendatacommons.org/licenses/odbl/'>ODbL\u003C/a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"osmbw\\\",\\n \\\"nom\\\": \\\"OSM N&B\\\",\\n \\\"url\\\": \\\"http://www.toolserver.org/tiles/bw-mapnik/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"Tiles hosted by wikimedia labs. Data by ©\u003Ca href='http://openstreetmap.org'>OSM\u003C/a> contributors, licence \u003Ca href='http://opendatacommons.org/licenses/odbl/'>ODbL\u003C/a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"sat\\\",\\n \\\"nom\\\": \\\"Satellite Esri\\\",\\n \\\"url\\\": \\\"http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}\\\",\\n \\\"attrib\\\": \\\"©Map tiles by Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"natgeo\\\",\\n \\\"nom\\\": \\\"National Geog.\\\",\\n \\\"url\\\": \\\"http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}\\\",\\n \\\"attrib\\\": \\\"©Map tiles by Esri — National Geographic, Esri, DeLorme, NAVTEQ, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, iPC\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 12\\n },\\n {\\n \\\"id\\\": \\\"toner\\\",\\n \\\"nom\\\": \\\"Black Ink\\\",\\n \\\"url\\\": \\\"http://{s}.tile.stamen.com/toner/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"Map tiles by \u003Ca href='http://stamen.com'>Stamen Design\u003C/a>, licence \u003Ca href='http://creativecommons.org/licenses/by/3.0'>CC BY 3.0\u003C/a>. Data by ©\u003Ca href='http://openstreetmap.org'>OSM\u003C/a> contributors, licence \u003Ca href='http://opendatacommons.org/licenses/odbl/'>ODbL\u003C/a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"water\\\",\\n \\\"nom\\\": \\\"Water painting\\\",\\n \\\"url\\\": \\\"http://{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"Map tiles by \u003Ca href='http://stamen.com'>Stamen Design\u003C/a>, licence \u003Ca href='http://creativecommons.org/licenses/by/3.0'>CC BY 3.0\u003C/a>. Data by ©\u003Ca href='http://openstreetmap.org'>OSM\u003C/a> contributors, licence \u003Ca href='http://opendatacommons.org/licenses/odbl/'>ODbL\u003C/a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"thunder\\\",\\n \\\"nom\\\": \\\"Thunderforest\\\",\\n \\\"url\\\": \\\"http://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"Map tiles by \u003Ca href='http://thunderforest.com/'>Thunderforest\u003C/a>. Data by ©\u003Ca href='http://openstreetmap.org'>OSM\u003C/a> contributors, licence \u003Ca href='http://opendatacommons.org/licenses/odbl/'>ODbL\u003C/a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"dark\\\",\\n \\\"nom\\\": \\\"Dark Matter\\\",\\n \\\"url\\\": \\\"http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"©Map tiles by \u003Ca href='https://cartodb.com/basemaps/' target='_blank'>CartoDB\u003C/a>, under \u003Ca href='https://creativecommons.org/licenses/by/3.0/' target='_blank'>CC BY 3.0\u003C/a>. Data by ©\u003Ca href='http://openstreetmap.org'>OSM\u003C/a> contributors, licence \u003Ca href='http://opendatacommons.org/licenses/odbl/'>ODbL\u003C/a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n },\\n {\\n \\\"id\\\": \\\"positron\\\",\\n \\\"nom\\\": \\\"Positron\\\",\\n \\\"url\\\": \\\"http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png\\\",\\n \\\"attrib\\\": \\\"©Map tiles by \u003Ca href='https://cartodb.com/basemaps/' target='_blank'>CartoDB\u003C/a>, under \u003Ca href='https://creativecommons.org/licenses/by/3.0/' target='_blank'>CC BY 3.0\u003C/a>. Data by ©\u003Ca href='http://openstreetmap.org'>OSM\u003C/a> contributors, licence \u003Ca href='http://opendatacommons.org/licenses/odbl/'>ODbL\u003C/a>.\\\",\\n \\\"zMin\\\": 1,\\n \\\"zMax\\\": 20\\n }\\n]\\n\",\n \"type\": \"application/json\",\n \"title\": \"$:/plugins/sycom/leaflet/lib/tileLayers.json\"\n },\n \"$:/plugins/sycom/leaflet/lib/leaflet.css\": {\n \"text\": \"/* required styles */\\n\\n.leaflet-pane,\\n.leaflet-tile,\\n.leaflet-marker-icon,\\n.leaflet-marker-shadow,\\n.leaflet-tile-container,\\n.leaflet-pane > svg,\\n.leaflet-pane > canvas,\\n.leaflet-zoom-box,\\n.leaflet-image-layer,\\n.leaflet-layer {\\n\\tposition: absolute;\\n\\tleft: 0;\\n\\ttop: 0;\\n\\t}\\n.leaflet-container {\\n\\toverflow: hidden;\\n\\t}\\n.leaflet-tile,\\n.leaflet-marker-icon,\\n.leaflet-marker-shadow {\\n\\t-webkit-user-select: none;\\n\\t -moz-user-select: none;\\n\\t user-select: none;\\n\\t -webkit-user-drag: none;\\n\\t}\\n/* Safari renders non-retina tile on retina better with this, but Chrome is worse */\\n.leaflet-safari .leaflet-tile {\\n\\timage-rendering: -webkit-optimize-contrast;\\n\\t}\\n/* hack that prevents hw layers \\\"stretching\\\" when loading new tiles */\\n.leaflet-safari .leaflet-tile-container {\\n\\twidth: 1600px;\\n\\theight: 1600px;\\n\\t-webkit-transform-origin: 0 0;\\n\\t}\\n.leaflet-marker-icon,\\n.leaflet-marker-shadow {\\n\\tdisplay: block;\\n\\t}\\n/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */\\n/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */\\n.leaflet-container .leaflet-overlay-pane svg,\\n.leaflet-container .leaflet-marker-pane img,\\n.leaflet-container .leaflet-shadow-pane img,\\n.leaflet-container .leaflet-tile-pane img,\\n.leaflet-container img.leaflet-image-layer {\\n\\tmax-width: none !important;\\n\\tmax-height: none !important;\\n\\t}\\n\\n.leaflet-container.leaflet-touch-zoom {\\n\\t-ms-touch-action: pan-x pan-y;\\n\\ttouch-action: pan-x pan-y;\\n\\t}\\n.leaflet-container.leaflet-touch-drag {\\n\\t-ms-touch-action: pinch-zoom;\\n\\t/* Fallback for FF which doesn't support pinch-zoom */\\n\\ttouch-action: none;\\n\\ttouch-action: pinch-zoom;\\n}\\n.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {\\n\\t-ms-touch-action: none;\\n\\ttouch-action: none;\\n}\\n.leaflet-container {\\n\\t-webkit-tap-highlight-color: transparent;\\n}\\n.leaflet-container a {\\n\\t-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);\\n}\\n.leaflet-tile {\\n\\tfilter: inherit;\\n\\tvisibility: hidden;\\n\\t}\\n.leaflet-tile-loaded {\\n\\tvisibility: inherit;\\n\\t}\\n.leaflet-zoom-box {\\n\\twidth: 0;\\n\\theight: 0;\\n\\t-moz-box-sizing: border-box;\\n\\t box-sizing: border-box;\\n\\tz-index: 800;\\n\\t}\\n/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */\\n.leaflet-overlay-pane svg {\\n\\t-moz-user-select: none;\\n\\t}\\n\\n.leaflet-pane { z-index: 400; }\\n\\n.leaflet-tile-pane { z-index: 200; }\\n.leaflet-overlay-pane { z-index: 400; }\\n.leaflet-shadow-pane { z-index: 500; }\\n.leaflet-marker-pane { z-index: 600; }\\n.leaflet-tooltip-pane { z-index: 650; }\\n.leaflet-popup-pane { z-index: 700; }\\n\\n.leaflet-map-pane canvas { z-index: 100; }\\n.leaflet-map-pane svg { z-index: 200; }\\n\\n.leaflet-vml-shape {\\n\\twidth: 1px;\\n\\theight: 1px;\\n\\t}\\n.lvml {\\n\\tbehavior: url(#default#VML);\\n\\tdisplay: inline-block;\\n\\tposition: absolute;\\n\\t}\\n\\n\\n/* control positioning */\\n\\n.leaflet-control {\\n\\tposition: relative;\\n\\tz-index: 800;\\n\\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\\n\\tpointer-events: auto;\\n\\t}\\n.leaflet-top,\\n.leaflet-bottom {\\n\\tposition: absolute;\\n\\tz-index: 1000;\\n\\tpointer-events: none;\\n\\t}\\n.leaflet-top {\\n\\ttop: 0;\\n\\t}\\n.leaflet-right {\\n\\tright: 0;\\n\\t}\\n.leaflet-bottom {\\n\\tbottom: 0;\\n\\t}\\n.leaflet-left {\\n\\tleft: 0;\\n\\t}\\n.leaflet-control {\\n\\tfloat: left;\\n\\tclear: both;\\n\\t}\\n.leaflet-right .leaflet-control {\\n\\tfloat: right;\\n\\t}\\n.leaflet-top .leaflet-control {\\n\\tmargin-top: 10px;\\n\\t}\\n.leaflet-bottom .leaflet-control {\\n\\tmargin-bottom: 10px;\\n\\t}\\n.leaflet-left .leaflet-control {\\n\\tmargin-left: 10px;\\n\\t}\\n.leaflet-right .leaflet-control {\\n\\tmargin-right: 10px;\\n\\t}\\n\\n\\n/* zoom and fade animations */\\n\\n.leaflet-fade-anim .leaflet-tile {\\n\\twill-change: opacity;\\n\\t}\\n.leaflet-fade-anim .leaflet-popup {\\n\\topacity: 0;\\n\\t-webkit-transition: opacity 0.2s linear;\\n\\t -moz-transition: opacity 0.2s linear;\\n\\t -o-transition: opacity 0.2s linear;\\n\\t transition: opacity 0.2s linear;\\n\\t}\\n.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {\\n\\topacity: 1;\\n\\t}\\n.leaflet-zoom-animated {\\n\\t-webkit-transform-origin: 0 0;\\n\\t -ms-transform-origin: 0 0;\\n\\t transform-origin: 0 0;\\n\\t}\\n.leaflet-zoom-anim .leaflet-zoom-animated {\\n\\twill-change: transform;\\n\\t}\\n.leaflet-zoom-anim .leaflet-zoom-animated {\\n\\t-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);\\n\\t -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);\\n\\t -o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1);\\n\\t transition: transform 0.25s cubic-bezier(0,0,0.25,1);\\n\\t}\\n.leaflet-zoom-anim .leaflet-tile,\\n.leaflet-pan-anim .leaflet-tile {\\n\\t-webkit-transition: none;\\n\\t -moz-transition: none;\\n\\t -o-transition: none;\\n\\t transition: none;\\n\\t}\\n\\n.leaflet-zoom-anim .leaflet-zoom-hide {\\n\\tvisibility: hidden;\\n\\t}\\n\\n\\n/* cursors */\\n\\n.leaflet-interactive {\\n\\tcursor: pointer;\\n\\t}\\n.leaflet-grab {\\n\\tcursor: -webkit-grab;\\n\\tcursor: -moz-grab;\\n\\t}\\n.leaflet-crosshair,\\n.leaflet-crosshair .leaflet-interactive {\\n\\tcursor: crosshair;\\n\\t}\\n.leaflet-popup-pane,\\n.leaflet-control {\\n\\tcursor: auto;\\n\\t}\\n.leaflet-dragging .leaflet-grab,\\n.leaflet-dragging .leaflet-grab .leaflet-interactive,\\n.leaflet-dragging .leaflet-marker-draggable {\\n\\tcursor: move;\\n\\tcursor: -webkit-grabbing;\\n\\tcursor: -moz-grabbing;\\n\\t}\\n\\n/* marker & overlays interactivity */\\n.leaflet-marker-icon,\\n.leaflet-marker-shadow,\\n.leaflet-image-layer,\\n.leaflet-pane > svg path,\\n.leaflet-tile-container {\\n\\tpointer-events: none;\\n\\t}\\n\\n.leaflet-marker-icon.leaflet-interactive,\\n.leaflet-image-layer.leaflet-interactive,\\n.leaflet-pane > svg path.leaflet-interactive {\\n\\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\\n\\tpointer-events: auto;\\n\\t}\\n\\n/* visual tweaks */\\n\\n.leaflet-container {\\n\\tbackground: #ddd;\\n\\toutline: 0;\\n\\t}\\n.leaflet-container a {\\n\\tcolor: #0078A8;\\n\\t}\\n.leaflet-container a.leaflet-active {\\n\\toutline: 2px solid orange;\\n\\t}\\n.leaflet-zoom-box {\\n\\tborder: 2px dotted #38f;\\n\\tbackground: rgba(255,255,255,0.5);\\n\\t}\\n\\n\\n/* general typography */\\n.leaflet-container {\\n\\tfont: 12px/1.5 \\\"Helvetica Neue\\\", Arial, Helvetica, sans-serif;\\n\\t}\\n\\n\\n/* general toolbar styles */\\n\\n.leaflet-bar {\\n\\tbox-shadow: 0 1px 5px rgba(0,0,0,0.65);\\n\\tborder-radius: 4px;\\n\\t}\\n.leaflet-bar a,\\n.leaflet-bar a:hover {\\n\\tbackground-color: #fff;\\n\\tborder-bottom: 1px solid #ccc;\\n\\twidth: 26px;\\n\\theight: 26px;\\n\\tline-height: 26px;\\n\\tdisplay: block;\\n\\ttext-align: center;\\n\\ttext-decoration: none;\\n\\tcolor: black;\\n\\t}\\n.leaflet-bar a,\\n.leaflet-control-layers-toggle {\\n\\tbackground-position: 50% 50%;\\n\\tbackground-repeat: no-repeat;\\n\\tdisplay: block;\\n\\t}\\n.leaflet-bar a:hover {\\n\\tbackground-color: #f4f4f4;\\n\\t}\\n.leaflet-bar a:first-child {\\n\\tborder-top-left-radius: 4px;\\n\\tborder-top-right-radius: 4px;\\n\\t}\\n.leaflet-bar a:last-child {\\n\\tborder-bottom-left-radius: 4px;\\n\\tborder-bottom-right-radius: 4px;\\n\\tborder-bottom: none;\\n\\t}\\n.leaflet-bar a.leaflet-disabled {\\n\\tcursor: default;\\n\\tbackground-color: #f4f4f4;\\n\\tcolor: #bbb;\\n\\t}\\n\\n.leaflet-touch .leaflet-bar a {\\n\\twidth: 30px;\\n\\theight: 30px;\\n\\tline-height: 30px;\\n\\t}\\n.leaflet-touch .leaflet-bar a:first-child {\\n\\tborder-top-left-radius: 2px;\\n\\tborder-top-right-radius: 2px;\\n\\t}\\n.leaflet-touch .leaflet-bar a:last-child {\\n\\tborder-bottom-left-radius: 2px;\\n\\tborder-bottom-right-radius: 2px;\\n\\t}\\n\\n/* zoom control */\\n\\n.leaflet-control-zoom-in,\\n.leaflet-control-zoom-out {\\n\\tfont: bold 18px 'Lucida Console', Monaco, monospace;\\n\\ttext-indent: 1px;\\n\\t}\\n\\n.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {\\n\\tfont-size: 22px;\\n\\t}\\n\\n\\n/* layers control */\\n\\n.leaflet-control-layers {\\n\\tbox-shadow: 0 1px 5px rgba(0,0,0,0.4);\\n\\tbackground: #fff;\\n\\tborder-radius: 5px;\\n\\t}\\n.leaflet-control-layers-toggle {\\n\\tbackground-image: url(images/layers.png);\\n\\twidth: 36px;\\n\\theight: 36px;\\n\\t}\\n.leaflet-retina .leaflet-control-layers-toggle {\\n\\tbackground-image: url(images/layers-2x.png);\\n\\tbackground-size: 26px 26px;\\n\\t}\\n.leaflet-touch .leaflet-control-layers-toggle {\\n\\twidth: 44px;\\n\\theight: 44px;\\n\\t}\\n.leaflet-control-layers .leaflet-control-layers-list,\\n.leaflet-control-layers-expanded .leaflet-control-layers-toggle {\\n\\tdisplay: none;\\n\\t}\\n.leaflet-control-layers-expanded .leaflet-control-layers-list {\\n\\tdisplay: block;\\n\\tposition: relative;\\n\\t}\\n.leaflet-control-layers-expanded {\\n\\tpadding: 6px 10px 6px 6px;\\n\\tcolor: #333;\\n\\tbackground: #fff;\\n\\t}\\n.leaflet-control-layers-scrollbar {\\n\\toverflow-y: scroll;\\n\\toverflow-x: hidden;\\n\\tpadding-right: 5px;\\n\\t}\\n.leaflet-control-layers-selector {\\n\\tmargin-top: 2px;\\n\\tposition: relative;\\n\\ttop: 1px;\\n\\t}\\n.leaflet-control-layers label {\\n\\tdisplay: block;\\n\\t}\\n.leaflet-control-layers-separator {\\n\\theight: 0;\\n\\tborder-top: 1px solid #ddd;\\n\\tmargin: 5px -10px 5px -6px;\\n\\t}\\n\\n/* Default icon URLs */\\n.leaflet-default-icon-path {\\n\\tbackground-image: url(images/marker-icon.png);\\n\\t}\\n\\n\\n/* attribution and scale controls */\\n\\n.leaflet-container .leaflet-control-attribution {\\n\\tbackground: #fff;\\n\\tbackground: rgba(255, 255, 255, 0.7);\\n\\tmargin: 0;\\n\\t}\\n.leaflet-control-attribution,\\n.leaflet-control-scale-line {\\n\\tpadding: 0 5px;\\n\\tcolor: #333;\\n\\t}\\n.leaflet-control-attribution a {\\n\\ttext-decoration: none;\\n\\t}\\n.leaflet-control-attribution a:hover {\\n\\ttext-decoration: underline;\\n\\t}\\n.leaflet-container .leaflet-control-attribution,\\n.leaflet-container .leaflet-control-scale {\\n\\tfont-size: 11px;\\n\\t}\\n.leaflet-left .leaflet-control-scale {\\n\\tmargin-left: 5px;\\n\\t}\\n.leaflet-bottom .leaflet-control-scale {\\n\\tmargin-bottom: 5px;\\n\\t}\\n.leaflet-control-scale-line {\\n\\tborder: 2px solid #777;\\n\\tborder-top: none;\\n\\tline-height: 1.1;\\n\\tpadding: 2px 5px 1px;\\n\\tfont-size: 11px;\\n\\twhite-space: nowrap;\\n\\toverflow: hidden;\\n\\t-moz-box-sizing: border-box;\\n\\t box-sizing: border-box;\\n\\n\\tbackground: #fff;\\n\\tbackground: rgba(255, 255, 255, 0.5);\\n\\t}\\n.leaflet-control-scale-line:not(:first-child) {\\n\\tborder-top: 2px solid #777;\\n\\tborder-bottom: none;\\n\\tmargin-top: -2px;\\n\\t}\\n.leaflet-control-scale-line:not(:first-child):not(:last-child) {\\n\\tborder-bottom: 2px solid #777;\\n\\t}\\n\\n.leaflet-touch .leaflet-control-attribution,\\n.leaflet-touch .leaflet-control-layers,\\n.leaflet-touch .leaflet-bar {\\n\\tbox-shadow: none;\\n\\t}\\n.leaflet-touch .leaflet-control-layers,\\n.leaflet-touch .leaflet-bar {\\n\\tborder: 2px solid rgba(0,0,0,0.2);\\n\\tbackground-clip: padding-box;\\n\\t}\\n\\n\\n/* popup */\\n\\n.leaflet-popup {\\n\\tposition: absolute;\\n\\ttext-align: center;\\n\\tmargin-bottom: 20px;\\n\\t}\\n.leaflet-popup-content-wrapper {\\n\\tpadding: 1px;\\n\\ttext-align: left;\\n\\tborder-radius: 12px;\\n\\t}\\n.leaflet-popup-content {\\n\\tmargin: 13px 19px;\\n\\tline-height: 1.4;\\n\\t}\\n.leaflet-popup-content p {\\n\\tmargin: 18px 0;\\n\\t}\\n.leaflet-popup-tip-container {\\n\\twidth: 40px;\\n\\theight: 20px;\\n\\tposition: absolute;\\n\\tleft: 50%;\\n\\tmargin-left: -20px;\\n\\toverflow: hidden;\\n\\tpointer-events: none;\\n\\t}\\n.leaflet-popup-tip {\\n\\twidth: 17px;\\n\\theight: 17px;\\n\\tpadding: 1px;\\n\\n\\tmargin: -10px auto 0;\\n\\n\\t-webkit-transform: rotate(45deg);\\n\\t -moz-transform: rotate(45deg);\\n\\t -ms-transform: rotate(45deg);\\n\\t -o-transform: rotate(45deg);\\n\\t transform: rotate(45deg);\\n\\t}\\n.leaflet-popup-content-wrapper,\\n.leaflet-popup-tip {\\n\\tbackground: white;\\n\\tcolor: #333;\\n\\tbox-shadow: 0 3px 14px rgba(0,0,0,0.4);\\n\\t}\\n.leaflet-container a.leaflet-popup-close-button {\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tright: 0;\\n\\tpadding: 4px 4px 0 0;\\n\\tborder: none;\\n\\ttext-align: center;\\n\\twidth: 18px;\\n\\theight: 14px;\\n\\tfont: 16px/14px Tahoma, Verdana, sans-serif;\\n\\tcolor: #c3c3c3;\\n\\ttext-decoration: none;\\n\\tfont-weight: bold;\\n\\tbackground: transparent;\\n\\t}\\n.leaflet-container a.leaflet-popup-close-button:hover {\\n\\tcolor: #999;\\n\\t}\\n.leaflet-popup-scrolled {\\n\\toverflow: auto;\\n\\tborder-bottom: 1px solid #ddd;\\n\\tborder-top: 1px solid #ddd;\\n\\t}\\n\\n.leaflet-oldie .leaflet-popup-content-wrapper {\\n\\tzoom: 1;\\n\\t}\\n.leaflet-oldie .leaflet-popup-tip {\\n\\twidth: 24px;\\n\\tmargin: 0 auto;\\n\\n\\t-ms-filter: \\\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\\\";\\n\\tfilter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);\\n\\t}\\n.leaflet-oldie .leaflet-popup-tip-container {\\n\\tmargin-top: -1px;\\n\\t}\\n\\n.leaflet-oldie .leaflet-control-zoom,\\n.leaflet-oldie .leaflet-control-layers,\\n.leaflet-oldie .leaflet-popup-content-wrapper,\\n.leaflet-oldie .leaflet-popup-tip {\\n\\tborder: 1px solid #999;\\n\\t}\\n\\n\\n/* div icon */\\n\\n.leaflet-div-icon {\\n\\tbackground: #fff;\\n\\tborder: 1px solid #666;\\n\\t}\\n\\n\\n/* Tooltip */\\n/* Base styles for the element that has a tooltip */\\n.leaflet-tooltip {\\n\\tposition: absolute;\\n\\tpadding: 6px;\\n\\tbackground-color: #fff;\\n\\tborder: 1px solid #fff;\\n\\tborder-radius: 3px;\\n\\tcolor: #222;\\n\\twhite-space: nowrap;\\n\\t-webkit-user-select: none;\\n\\t-moz-user-select: none;\\n\\t-ms-user-select: none;\\n\\tuser-select: none;\\n\\tpointer-events: none;\\n\\tbox-shadow: 0 1px 3px rgba(0,0,0,0.4);\\n\\t}\\n.leaflet-tooltip.leaflet-clickable {\\n\\tcursor: pointer;\\n\\tpointer-events: auto;\\n\\t}\\n.leaflet-tooltip-top:before,\\n.leaflet-tooltip-bottom:before,\\n.leaflet-tooltip-left:before,\\n.leaflet-tooltip-right:before {\\n\\tposition: absolute;\\n\\tpointer-events: none;\\n\\tborder: 6px solid transparent;\\n\\tbackground: transparent;\\n\\tcontent: \\\"\\\";\\n\\t}\\n\\n/* Directions */\\n\\n.leaflet-tooltip-bottom {\\n\\tmargin-top: 6px;\\n}\\n.leaflet-tooltip-top {\\n\\tmargin-top: -6px;\\n}\\n.leaflet-tooltip-bottom:before,\\n.leaflet-tooltip-top:before {\\n\\tleft: 50%;\\n\\tmargin-left: -6px;\\n\\t}\\n.leaflet-tooltip-top:before {\\n\\tbottom: 0;\\n\\tmargin-bottom: -12px;\\n\\tborder-top-color: #fff;\\n\\t}\\n.leaflet-tooltip-bottom:before {\\n\\ttop: 0;\\n\\tmargin-top: -12px;\\n\\tmargin-left: -6px;\\n\\tborder-bottom-color: #fff;\\n\\t}\\n.leaflet-tooltip-left {\\n\\tmargin-left: -6px;\\n}\\n.leaflet-tooltip-right {\\n\\tmargin-left: 6px;\\n}\\n.leaflet-tooltip-left:before,\\n.leaflet-tooltip-right:before {\\n\\ttop: 50%;\\n\\tmargin-top: -6px;\\n\\t}\\n.leaflet-tooltip-left:before {\\n\\tright: 0;\\n\\tmargin-right: -12px;\\n\\tborder-left-color: #fff;\\n\\t}\\n.leaflet-tooltip-right:before {\\n\\tleft: 0;\\n\\tmargin-left: -12px;\\n\\tborder-right-color: #fff;\\n\\t}\\n\",\n \"type\": \"text/css\",\n \"title\": \"$:/plugins/sycom/leaflet/lib/leaflet.css\",\n \"tags\": \"$:/tags/Stylesheet\"\n },\n \"$:/plugins/sycom/leaflet/lib/leaflet-markercluster.css\": {\n \"text\": \".leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {\\n\\t-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;\\n\\t-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;\\n\\t-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;\\n\\ttransition: transform 0.3s ease-out, opacity 0.3s ease-in;\\n}\\n\\n.leaflet-cluster-spider-leg {\\n\\t/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */\\n\\t-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;\\n\\t-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;\\n\\t-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;\\n\\ttransition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;\\n}\\n\",\n \"type\": \"text/css\",\n \"title\": \"$:/plugins/sycom/leaflet/lib/leaflet-markercluster.css\",\n \"tags\": \"$:/tags/Stylesheet\"\n },\n \"$:/plugins/sycom/leaflet/lib/leaflet.js\": {\n \"text\": \"var L;if($tw.browser){\\n/* @preserve\\n * Leaflet 1.3.1, a JS library for interactive maps. http://leafletjs.com\\n * (c) 2010-2017 Vladimir Agafonkin, (c) 2010-2011 CloudMade\\n */\\n!function(t,i){\\\"object\\\"==typeof exports&&\\\"undefined\\\"!=typeof module?i(exports):\\\"function\\\"==typeof define&&define.amd?define([\\\"exports\\\"],i):i(t.L={})}(this,function(t){\\\"use strict\\\";function i(t){var i,e,n,o;for(e=1,n=arguments.length;e\u003Cn;e++){o=arguments[e];for(i in o)t[i]=o[i]}return t}function e(t,i){var e=Array.prototype.slice;if(t.bind)return t.bind.apply(t,e.call(arguments,1));var n=e.call(arguments,2);return function(){return t.apply(i,n.length?n.concat(e.call(arguments)):arguments)}}function n(t){return t._leaflet_id=t._leaflet_id||++ti,t._leaflet_id}function o(t,i,e){var n,o,s,r;return r=function(){n=!1,o&&(s.apply(e,o),o=!1)},s=function(){n?o=arguments:(t.apply(e,arguments),setTimeout(r,i),n=!0)}}function s(t,i,e){var n=i[1],o=i[0],s=n-o;return t===n&&e?t:((t-o)%s+s)%s+o}function r(){return!1}function a(t,i){var e=Math.pow(10,void 0===i?6:i);return Math.round(t*e)/e}function h(t){return t.trim?t.trim():t.replace(/^\\\\s+|\\\\s+$/g,\\\"\\\")}function u(t){return h(t).split(/\\\\s+/)}function l(t,i){t.hasOwnProperty(\\\"options\\\")||(t.options=t.options?Qt(t.options):{});for(var e in i)t.options[e]=i[e];return t.options}function c(t,i,e){var n=[];for(var o in t)n.push(encodeURIComponent(e?o.toUpperCase():o)+\\\"=\\\"+encodeURIComponent(t[o]));return(i&&-1!==i.indexOf(\\\"?\\\")?\\\"&\\\":\\\"?\\\")+n.join(\\\"&\\\")}function _(t,i){return t.replace(ii,function(t,e){var n=i[e];if(void 0===n)throw new Error(\\\"No value provided for variable \\\"+t);return\\\"function\\\"==typeof n&&(n=n(i)),n})}function d(t,i){for(var e=0;e\u003Ct.length;e++)if(t[e]===i)return e;return-1}function p(t){return window[\\\"webkit\\\"+t]||window[\\\"moz\\\"+t]||window[\\\"ms\\\"+t]}function m(t){var i=+new Date,e=Math.max(0,16-(i-oi));return oi=i+e,window.setTimeout(t,e)}function f(t,i,n){if(!n||si!==m)return si.call(window,e(t,i));t.call(i)}function g(t){t&&ri.call(window,t)}function v(){}function y(t){if(\\\"undefined\\\"!=typeof L&&L&&L.Mixin){t=ei(t)?t:[t];for(var i=0;i\u003Ct.length;i++)t[i]===L.Mixin.Events&&console.warn(\\\"Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.\\\",(new Error).stack)}}function x(t,i,e){this.x=e?Math.round(t):t,this.y=e?Math.round(i):i}function w(t,i,e){return t instanceof x?t:ei(t)?new x(t[0],t[1]):void 0===t||null===t?t:\\\"object\\\"==typeof t&&\\\"x\\\"in t&&\\\"y\\\"in t?new x(t.x,t.y):new x(t,i,e)}function P(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n\u003Co;n++)this.extend(e[n])}function b(t,i){return!t||t instanceof P?t:new P(t,i)}function T(t,i){if(t)for(var e=i?[t,i]:t,n=0,o=e.length;n\u003Co;n++)this.extend(e[n])}function z(t,i){return t instanceof T?t:new T(t,i)}function M(t,i,e){if(isNaN(t)||isNaN(i))throw new Error(\\\"Invalid LatLng object: (\\\"+t+\\\", \\\"+i+\\\")\\\");this.lat=+t,this.lng=+i,void 0!==e&&(this.alt=+e)}function C(t,i,e){return t instanceof M?t:ei(t)&&\\\"object\\\"!=typeof t[0]?3===t.length?new M(t[0],t[1],t[2]):2===t.length?new M(t[0],t[1]):null:void 0===t||null===t?t:\\\"object\\\"==typeof t&&\\\"lat\\\"in t?new M(t.lat,\\\"lng\\\"in t?t.lng:t.lon,t.alt):void 0===i?null:new M(t,i,e)}function Z(t,i,e,n){if(ei(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=i,this._c=e,this._d=n}function S(t,i,e,n){return new Z(t,i,e,n)}function E(t){return document.createElementNS(\\\"http://www.w3.org/2000/svg\\\",t)}function k(t,i){var e,n,o,s,r,a,h=\\\"\\\";for(e=0,o=t.length;e\u003Co;e++){for(n=0,s=(r=t[e]).length;n\u003Cs;n++)a=r[n],h+=(n?\\\"L\\\":\\\"M\\\")+a.x+\\\" \\\"+a.y;h+=i?Xi?\\\"z\\\":\\\"x\\\":\\\"\\\"}return h||\\\"M0 0\\\"}function I(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}function A(t,i,e,n){return\\\"touchstart\\\"===i?O(t,e,n):\\\"touchmove\\\"===i?W(t,e,n):\\\"touchend\\\"===i&&H(t,e,n),this}function B(t,i,e){var n=t[\\\"_leaflet_\\\"+i+e];return\\\"touchstart\\\"===i?t.removeEventListener(Qi,n,!1):\\\"touchmove\\\"===i?t.removeEventListener(te,n,!1):\\\"touchend\\\"===i&&(t.removeEventListener(ie,n,!1),t.removeEventListener(ee,n,!1)),this}function O(t,i,n){var o=e(function(t){if(\\\"mouse\\\"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(ne.indexOf(t.target.tagName)\u003C0))return;$(t)}j(t,i)});t[\\\"_leaflet_touchstart\\\"+n]=o,t.addEventListener(Qi,o,!1),se||(document.documentElement.addEventListener(Qi,R,!0),document.documentElement.addEventListener(te,D,!0),document.documentElement.addEventListener(ie,N,!0),document.documentElement.addEventListener(ee,N,!0),se=!0)}function R(t){oe[t.pointerId]=t,re++}function D(t){oe[t.pointerId]&&(oe[t.pointerId]=t)}function N(t){delete oe[t.pointerId],re--}function j(t,i){t.touches=[];for(var e in oe)t.touches.push(oe[e]);t.changedTouches=[t],i(t)}function W(t,i,e){var n=function(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&\\\"mouse\\\"!==t.pointerType||0!==t.buttons)&&j(t,i)};t[\\\"_leaflet_touchmove\\\"+e]=n,t.addEventListener(te,n,!1)}function H(t,i,e){var n=function(t){j(t,i)};t[\\\"_leaflet_touchend\\\"+e]=n,t.addEventListener(ie,n,!1),t.addEventListener(ee,n,!1)}function F(t,i,e){function n(t){var i;if(Ui){if(!Pi||\\\"mouse\\\"===t.pointerType)return;i=re}else i=t.touches.length;if(!(i>1)){var e=Date.now(),n=e-(s||e);r=t.touches?t.touches[0]:t,a=n>0&&n\u003C=h,s=e}}function o(t){if(a&&!r.cancelBubble){if(Ui){if(!Pi||\\\"mouse\\\"===t.pointerType)return;var e,n,o={};for(n in r)e=r[n],o[n]=e&&e.bind?e.bind(r):e;r=o}r.type=\\\"dblclick\\\",i(r),s=null}}var s,r,a=!1,h=250;return t[ue+ae+e]=n,t[ue+he+e]=o,t[ue+\\\"dblclick\\\"+e]=i,t.addEventListener(ae,n,!1),t.addEventListener(he,o,!1),t.addEventListener(\\\"dblclick\\\",i,!1),this}function U(t,i){var e=t[ue+ae+i],n=t[ue+he+i],o=t[ue+\\\"dblclick\\\"+i];return t.removeEventListener(ae,e,!1),t.removeEventListener(he,n,!1),Pi||t.removeEventListener(\\\"dblclick\\\",o,!1),this}function V(t,i,e,n){if(\\\"object\\\"==typeof i)for(var o in i)G(t,o,i[o],e);else for(var s=0,r=(i=u(i)).length;s\u003Cr;s++)G(t,i[s],e,n);return this}function q(t,i,e,n){if(\\\"object\\\"==typeof i)for(var o in i)K(t,o,i[o],e);else if(i)for(var s=0,r=(i=u(i)).length;s\u003Cr;s++)K(t,i[s],e,n);else{for(var a in t[le])K(t,a,t[le][a]);delete t[le]}return this}function G(t,i,e,o){var s=i+n(e)+(o?\\\"_\\\"+n(o):\\\"\\\");if(t[le]&&t[le][s])return this;var r=function(i){return e.call(o||t,i||window.event)},a=r;Ui&&0===i.indexOf(\\\"touch\\\")?A(t,i,r,s):!Vi||\\\"dblclick\\\"!==i||!F||Ui&&Si?\\\"addEventListener\\\"in t?\\\"mousewheel\\\"===i?t.addEventListener(\\\"onwheel\\\"in t?\\\"wheel\\\":\\\"mousewheel\\\",r,!1):\\\"mouseenter\\\"===i||\\\"mouseleave\\\"===i?(r=function(i){i=i||window.event,ot(t,i)&&a(i)},t.addEventListener(\\\"mouseenter\\\"===i?\\\"mouseover\\\":\\\"mouseout\\\",r,!1)):(\\\"click\\\"===i&&Ti&&(r=function(t){st(t,a)}),t.addEventListener(i,r,!1)):\\\"attachEvent\\\"in t&&t.attachEvent(\\\"on\\\"+i,r):F(t,r,s),t[le]=t[le]||{},t[le][s]=r}function K(t,i,e,o){var s=i+n(e)+(o?\\\"_\\\"+n(o):\\\"\\\"),r=t[le]&&t[le][s];if(!r)return this;Ui&&0===i.indexOf(\\\"touch\\\")?B(t,i,s):!Vi||\\\"dblclick\\\"!==i||!U||Ui&&Si?\\\"removeEventListener\\\"in t?\\\"mousewheel\\\"===i?t.removeEventListener(\\\"onwheel\\\"in t?\\\"wheel\\\":\\\"mousewheel\\\",r,!1):t.removeEventListener(\\\"mouseenter\\\"===i?\\\"mouseover\\\":\\\"mouseleave\\\"===i?\\\"mouseout\\\":i,r,!1):\\\"detachEvent\\\"in t&&t.detachEvent(\\\"on\\\"+i,r):U(t,s),t[le][s]=null}function Y(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,nt(t),this}function X(t){return G(t,\\\"mousewheel\\\",Y),this}function J(t){return V(t,\\\"mousedown touchstart dblclick\\\",Y),G(t,\\\"click\\\",et),this}function $(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Q(t){return $(t),Y(t),this}function tt(t,i){if(!i)return new x(t.clientX,t.clientY);var e=i.getBoundingClientRect(),n=e.width/i.offsetWidth||1,o=e.height/i.offsetHeight||1;return new x(t.clientX/n-e.left-i.clientLeft,t.clientY/o-e.top-i.clientTop)}function it(t){return Pi?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/ce:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)\u003C32765?20*-t.detail:t.detail?t.detail/-32765*60:0}function et(t){_e[t.type]=!0}function nt(t){var i=_e[t.type];return _e[t.type]=!1,i}function ot(t,i){var e=i.relatedTarget;if(!e)return!0;try{for(;e&&e!==t;)e=e.parentNode}catch(t){return!1}return e!==t}function st(t,i){var e=t.timeStamp||t.originalEvent&&t.originalEvent.timeStamp,n=pi&&e-pi;n&&n>100&&n\u003C500||t.target._simulatedClick&&!t._simulated?Q(t):(pi=e,i(t))}function rt(t){return\\\"string\\\"==typeof t?document.getElementById(t):t}function at(t,i){var e=t.style[i]||t.currentStyle&&t.currentStyle[i];if((!e||\\\"auto\\\"===e)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);e=n?n[i]:null}return\\\"auto\\\"===e?null:e}function ht(t,i,e){var n=document.createElement(t);return n.className=i||\\\"\\\",e&&e.appendChild(n),n}function ut(t){var i=t.parentNode;i&&i.removeChild(t)}function lt(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function ct(t){var i=t.parentNode;i.lastChild!==t&&i.appendChild(t)}function _t(t){var i=t.parentNode;i.firstChild!==t&&i.insertBefore(t,i.firstChild)}function dt(t,i){if(void 0!==t.classList)return t.classList.contains(i);var e=gt(t);return e.length>0&&new RegExp(\\\"(^|\\\\\\\\s)\\\"+i+\\\"(\\\\\\\\s|$)\\\").test(e)}function pt(t,i){if(void 0!==t.classList)for(var e=u(i),n=0,o=e.length;n\u003Co;n++)t.classList.add(e[n]);else if(!dt(t,i)){var s=gt(t);ft(t,(s?s+\\\" \\\":\\\"\\\")+i)}}function mt(t,i){void 0!==t.classList?t.classList.remove(i):ft(t,h((\\\" \\\"+gt(t)+\\\" \\\").replace(\\\" \\\"+i+\\\" \\\",\\\" \\\")))}function ft(t,i){void 0===t.className.baseVal?t.className=i:t.className.baseVal=i}function gt(t){return void 0===t.className.baseVal?t.className:t.className.baseVal}function vt(t,i){\\\"opacity\\\"in t.style?t.style.opacity=i:\\\"filter\\\"in t.style&&yt(t,i)}function yt(t,i){var e=!1,n=\\\"DXImageTransform.Microsoft.Alpha\\\";try{e=t.filters.item(n)}catch(t){if(1===i)return}i=Math.round(100*i),e?(e.Enabled=100!==i,e.Opacity=i):t.style.filter+=\\\" progid:\\\"+n+\\\"(opacity=\\\"+i+\\\")\\\"}function xt(t){for(var i=document.documentElement.style,e=0;e\u003Ct.length;e++)if(t[e]in i)return t[e];return!1}function wt(t,i,e){var n=i||new x(0,0);t.style[pe]=(Oi?\\\"translate(\\\"+n.x+\\\"px,\\\"+n.y+\\\"px)\\\":\\\"translate3d(\\\"+n.x+\\\"px,\\\"+n.y+\\\"px,0)\\\")+(e?\\\" scale(\\\"+e+\\\")\\\":\\\"\\\")}function Lt(t,i){t._leaflet_pos=i,Ni?wt(t,i):(t.style.left=i.x+\\\"px\\\",t.style.top=i.y+\\\"px\\\")}function Pt(t){return t._leaflet_pos||new x(0,0)}function bt(){V(window,\\\"dragstart\\\",$)}function Tt(){q(window,\\\"dragstart\\\",$)}function zt(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Mt(),ve=t,ye=t.style.outline,t.style.outline=\\\"none\\\",V(window,\\\"keydown\\\",Mt))}function Mt(){ve&&(ve.style.outline=ye,ve=void 0,ye=void 0,q(window,\\\"keydown\\\",Mt))}function Ct(t,i){if(!i||!t.length)return t.slice();var e=i*i;return t=kt(t,e),t=St(t,e)}function Zt(t,i,e){return Math.sqrt(Rt(t,i,e,!0))}function St(t,i){var e=t.length,n=new(typeof Uint8Array!=void 0+\\\"\\\"?Uint8Array:Array)(e);n[0]=n[e-1]=1,Et(t,n,i,0,e-1);var o,s=[];for(o=0;o\u003Ce;o++)n[o]&&s.push(t[o]);return s}function Et(t,i,e,n,o){var s,r,a,h=0;for(r=n+1;r\u003C=o-1;r++)(a=Rt(t[r],t[n],t[o],!0))>h&&(s=r,h=a);h>e&&(i[s]=1,Et(t,i,e,n,s),Et(t,i,e,s,o))}function kt(t,i){for(var e=[t[0]],n=1,o=0,s=t.length;n\u003Cs;n++)Ot(t[n],t[o])>i&&(e.push(t[n]),o=n);return o\u003Cs-1&&e.push(t[s-1]),e}function It(t,i,e,n,o){var s,r,a,h=n?Se:Bt(t,e),u=Bt(i,e);for(Se=u;;){if(!(h|u))return[t,i];if(h&u)return!1;a=Bt(r=At(t,i,s=h||u,e,o),e),s===h?(t=r,h=a):(i=r,u=a)}}function At(t,i,e,n,o){var s,r,a=i.x-t.x,h=i.y-t.y,u=n.min,l=n.max;return 8&e?(s=t.x+a*(l.y-t.y)/h,r=l.y):4&e?(s=t.x+a*(u.y-t.y)/h,r=u.y):2&e?(s=l.x,r=t.y+h*(l.x-t.x)/a):1&e&&(s=u.x,r=t.y+h*(u.x-t.x)/a),new x(s,r,o)}function Bt(t,i){var e=0;return t.x\u003Ci.min.x?e|=1:t.x>i.max.x&&(e|=2),t.y\u003Ci.min.y?e|=4:t.y>i.max.y&&(e|=8),e}function Ot(t,i){var e=i.x-t.x,n=i.y-t.y;return e*e+n*n}function Rt(t,i,e,n){var o,s=i.x,r=i.y,a=e.x-s,h=e.y-r,u=a*a+h*h;return u>0&&((o=((t.x-s)*a+(t.y-r)*h)/u)>1?(s=e.x,r=e.y):o>0&&(s+=a*o,r+=h*o)),a=t.x-s,h=t.y-r,n?a*a+h*h:new x(s,r)}function Dt(t){return!ei(t[0])||\\\"object\\\"!=typeof t[0][0]&&void 0!==t[0][0]}function Nt(t){return console.warn(\\\"Deprecated use of _flat, please use L.LineUtil.isFlat instead.\\\"),Dt(t)}function jt(t,i,e){var n,o,s,r,a,h,u,l,c,_=[1,4,2,8];for(o=0,u=t.length;o\u003Cu;o++)t[o]._code=Bt(t[o],i);for(r=0;r\u003C4;r++){for(l=_[r],n=[],o=0,s=(u=t.length)-1;o\u003Cu;s=o++)a=t[o],h=t[s],a._code&l?h._code&l||((c=At(h,a,l,i,e))._code=Bt(c,i),n.push(c)):(h._code&l&&((c=At(h,a,l,i,e))._code=Bt(c,i),n.push(c)),n.push(a));t=n}return t}function Wt(t,i){var e,n,o,s,r=\\\"Feature\\\"===t.type?t.geometry:t,a=r?r.coordinates:null,h=[],u=i&&i.pointToLayer,l=i&&i.coordsToLatLng||Ht;if(!a&&!r)return null;switch(r.type){case\\\"Point\\\":return e=l(a),u?u(t,e):new Xe(e);case\\\"MultiPoint\\\":for(o=0,s=a.length;o\u003Cs;o++)e=l(a[o]),h.push(u?u(t,e):new Xe(e));return new qe(h);case\\\"LineString\\\":case\\\"MultiLineString\\\":return n=Ft(a,\\\"LineString\\\"===r.type?0:1,l),new tn(n,i);case\\\"Polygon\\\":case\\\"MultiPolygon\\\":return n=Ft(a,\\\"Polygon\\\"===r.type?1:2,l),new en(n,i);case\\\"GeometryCollection\\\":for(o=0,s=r.geometries.length;o\u003Cs;o++){var c=Wt({geometry:r.geometries[o],type:\\\"Feature\\\",properties:t.properties},i);c&&h.push(c)}return new qe(h);default:throw new Error(\\\"Invalid GeoJSON object.\\\")}}function Ht(t){return new M(t[1],t[0],t[2])}function Ft(t,i,e){for(var n,o=[],s=0,r=t.length;s\u003Cr;s++)n=i?Ft(t[s],i-1,e):(e||Ht)(t[s]),o.push(n);return o}function Ut(t,i){return i=\\\"number\\\"==typeof i?i:6,void 0!==t.alt?[a(t.lng,i),a(t.lat,i),a(t.alt,i)]:[a(t.lng,i),a(t.lat,i)]}function Vt(t,i,e,n){for(var o=[],s=0,r=t.length;s\u003Cr;s++)o.push(i?Vt(t[s],i-1,e,n):Ut(t[s],n));return!i&&e&&o.push(o[0]),o}function qt(t,e){return t.feature?i({},t.feature,{geometry:e}):Gt(e)}function Gt(t){return\\\"Feature\\\"===t.type||\\\"FeatureCollection\\\"===t.type?t:{type:\\\"Feature\\\",properties:{},geometry:t}}function Kt(t,i){return new nn(t,i)}function Yt(t,i){return new dn(t,i)}function Xt(t){return Yi?new fn(t):null}function Jt(t){return Xi||Ji?new xn(t):null}var $t=Object.freeze;Object.freeze=function(t){return t};var Qt=Object.create||function(){function t(){}return function(i){return t.prototype=i,new t}}(),ti=0,ii=/\\\\{ *([\\\\w_-]+) *\\\\}/g,ei=Array.isArray||function(t){return\\\"[object Array]\\\"===Object.prototype.toString.call(t)},ni=\\\"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=\\\",oi=0,si=window.requestAnimationFrame||p(\\\"RequestAnimationFrame\\\")||m,ri=window.cancelAnimationFrame||p(\\\"CancelAnimationFrame\\\")||p(\\\"CancelRequestAnimationFrame\\\")||function(t){window.clearTimeout(t)},ai=(Object.freeze||Object)({freeze:$t,extend:i,create:Qt,bind:e,lastId:ti,stamp:n,throttle:o,wrapNum:s,falseFn:r,formatNum:a,trim:h,splitWords:u,setOptions:l,getParamString:c,template:_,isArray:ei,indexOf:d,emptyImageUrl:ni,requestFn:si,cancelFn:ri,requestAnimFrame:f,cancelAnimFrame:g});v.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},n=e.__super__=this.prototype,o=Qt(n);o.constructor=e,e.prototype=o;for(var s in this)this.hasOwnProperty(s)&&\\\"prototype\\\"!==s&&\\\"__super__\\\"!==s&&(e[s]=this[s]);return t.statics&&(i(e,t.statics),delete t.statics),t.includes&&(y(t.includes),i.apply(null,[o].concat(t.includes)),delete t.includes),o.options&&(t.options=i(Qt(o.options),t.options)),i(o,t),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){n.callInitHooks&&n.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,i=o._initHooks.length;t\u003Ci;t++)o._initHooks[t].call(this)}},e},v.include=function(t){return i(this.prototype,t),this},v.mergeOptions=function(t){return i(this.prototype.options,t),this},v.addInitHook=function(t){var i=Array.prototype.slice.call(arguments,1),e=\\\"function\\\"==typeof t?t:function(){this[t].apply(this,i)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(e),this};var hi={on:function(t,i,e){if(\\\"object\\\"==typeof t)for(var n in t)this._on(n,t[n],i);else for(var o=0,s=(t=u(t)).length;o\u003Cs;o++)this._on(t[o],i,e);return this},off:function(t,i,e){if(t)if(\\\"object\\\"==typeof t)for(var n in t)this._off(n,t[n],i);else for(var o=0,s=(t=u(t)).length;o\u003Cs;o++)this._off(t[o],i,e);else delete this._events;return this},_on:function(t,i,e){this._events=this._events||{};var n=this._events[t];n||(n=[],this._events[t]=n),e===this&&(e=void 0);for(var o={fn:i,ctx:e},s=n,r=0,a=s.length;r\u003Ca;r++)if(s[r].fn===i&&s[r].ctx===e)return;s.push(o)},_off:function(t,i,e){var n,o,s;if(this._events&&(n=this._events[t]))if(i){if(e===this&&(e=void 0),n)for(o=0,s=n.length;o\u003Cs;o++){var a=n[o];if(a.ctx===e&&a.fn===i)return a.fn=r,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,s=n.length;o\u003Cs;o++)n[o].fn=r;delete this._events[t]}},fire:function(t,e,n){if(!this.listens(t,n))return this;var o=i({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var s=this._events[t];if(s){this._firingCount=this._firingCount+1||1;for(var r=0,a=s.length;r\u003Ca;r++){var h=s[r];h.fn.call(h.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),this},listens:function(t,i){var e=this._events&&this._events[t];if(e&&e.length)return!0;if(i)for(var n in this._eventParents)if(this._eventParents[n].listens(t,i))return!0;return!1},once:function(t,i,n){if(\\\"object\\\"==typeof t){for(var o in t)this.once(o,t[o],i);return this}var s=e(function(){this.off(t,i,n).off(t,s,n)},this);return this.on(t,i,n).on(t,s,n)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[n(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[n(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,i({layer:t.target,propagatedFrom:t.target},t),!0)}};hi.addEventListener=hi.on,hi.removeEventListener=hi.clearAllEventListeners=hi.off,hi.addOneTimeEventListener=hi.once,hi.fireEvent=hi.fire,hi.hasEventListeners=hi.listens;var ui=v.extend(hi),li=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};x.prototype={clone:function(){return new x(this.x,this.y)},add:function(t){return this.clone()._add(w(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(w(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new x(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new x(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=li(this.x),this.y=li(this.y),this},distanceTo:function(t){var i=(t=w(t)).x-this.x,e=t.y-this.y;return Math.sqrt(i*i+e*e)},equals:function(t){return(t=w(t)).x===this.x&&t.y===this.y},contains:function(t){return t=w(t),Math.abs(t.x)\u003C=Math.abs(this.x)&&Math.abs(t.y)\u003C=Math.abs(this.y)},toString:function(){return\\\"Point(\\\"+a(this.x)+\\\", \\\"+a(this.y)+\\\")\\\"}},P.prototype={extend:function(t){return t=w(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new x((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new x(this.min.x,this.max.y)},getTopRight:function(){return new x(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var i,e;return(t=\\\"number\\\"==typeof t[0]||t instanceof x?w(t):b(t))instanceof P?(i=t.min,e=t.max):i=e=t,i.x>=this.min.x&&e.x\u003C=this.max.x&&i.y>=this.min.y&&e.y\u003C=this.max.y},intersects:function(t){t=b(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>=i.x&&n.x\u003C=e.x,r=o.y>=i.y&&n.y\u003C=e.y;return s&&r},overlaps:function(t){t=b(t);var i=this.min,e=this.max,n=t.min,o=t.max,s=o.x>i.x&&n.x\u003Ce.x,r=o.y>i.y&&n.y\u003Ce.y;return s&&r},isValid:function(){return!(!this.min||!this.max)}},T.prototype={extend:function(t){var i,e,n=this._southWest,o=this._northEast;if(t instanceof M)i=t,e=t;else{if(!(t instanceof T))return t?this.extend(C(t)||z(t)):this;if(i=t._southWest,e=t._northEast,!i||!e)return this}return n||o?(n.lat=Math.min(i.lat,n.lat),n.lng=Math.min(i.lng,n.lng),o.lat=Math.max(e.lat,o.lat),o.lng=Math.max(e.lng,o.lng)):(this._southWest=new M(i.lat,i.lng),this._northEast=new M(e.lat,e.lng)),this},pad:function(t){var i=this._southWest,e=this._northEast,n=Math.abs(i.lat-e.lat)*t,o=Math.abs(i.lng-e.lng)*t;return new T(new M(i.lat-n,i.lng-o),new M(e.lat+n,e.lng+o))},getCenter:function(){return new M((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new M(this.getNorth(),this.getWest())},getSouthEast:function(){return new M(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t=\\\"number\\\"==typeof t[0]||t instanceof M||\\\"lat\\\"in t?C(t):z(t);var i,e,n=this._southWest,o=this._northEast;return t instanceof T?(i=t.getSouthWest(),e=t.getNorthEast()):i=e=t,i.lat>=n.lat&&e.lat\u003C=o.lat&&i.lng>=n.lng&&e.lng\u003C=o.lng},intersects:function(t){t=z(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=i.lat&&n.lat\u003C=e.lat,r=o.lng>=i.lng&&n.lng\u003C=e.lng;return s&&r},overlaps:function(t){t=z(t);var i=this._southWest,e=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>i.lat&&n.lat\u003Ce.lat,r=o.lng>i.lng&&n.lng\u003Ce.lng;return s&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(\\\",\\\")},equals:function(t,i){return!!t&&(t=z(t),this._southWest.equals(t.getSouthWest(),i)&&this._northEast.equals(t.getNorthEast(),i))},isValid:function(){return!(!this._southWest||!this._northEast)}},M.prototype={equals:function(t,i){return!!t&&(t=C(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))\u003C=(void 0===i?1e-9:i))},toString:function(t){return\\\"LatLng(\\\"+a(this.lat,t)+\\\", \\\"+a(this.lng,t)+\\\")\\\"},distanceTo:function(t){return _i.distance(this,C(t))},wrap:function(){return _i.wrapLatLng(this)},toBounds:function(t){var i=180*t/40075017,e=i/Math.cos(Math.PI/180*this.lat);return z([this.lat-i,this.lng-e],[this.lat+i,this.lng+e])},clone:function(){return new M(this.lat,this.lng,this.alt)}};var ci={latLngToPoint:function(t,i){var e=this.projection.project(t),n=this.scale(i);return this.transformation._transform(e,n)},pointToLatLng:function(t,i){var e=this.scale(i),n=this.transformation.untransform(t,e);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var i=this.projection.bounds,e=this.scale(t);return new P(this.transformation.transform(i.min,e),this.transformation.transform(i.max,e))},infinite:!1,wrapLatLng:function(t){var i=this.wrapLng?s(t.lng,this.wrapLng,!0):t.lng;return new M(this.wrapLat?s(t.lat,this.wrapLat,!0):t.lat,i,t.alt)},wrapLatLngBounds:function(t){var i=t.getCenter(),e=this.wrapLatLng(i),n=i.lat-e.lat,o=i.lng-e.lng;if(0===n&&0===o)return t;var s=t.getSouthWest(),r=t.getNorthEast();return new T(new M(s.lat-n,s.lng-o),new M(r.lat-n,r.lng-o))}},_i=i({},ci,{wrapLng:[-180,180],R:6371e3,distance:function(t,i){var e=Math.PI/180,n=t.lat*e,o=i.lat*e,s=Math.sin((i.lat-t.lat)*e/2),r=Math.sin((i.lng-t.lng)*e/2),a=s*s+Math.cos(n)*Math.cos(o)*r*r,h=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return this.R*h}}),di={R:6378137,MAX_LATITUDE:85.0511287798,project:function(t){var i=Math.PI/180,e=this.MAX_LATITUDE,n=Math.max(Math.min(e,t.lat),-e),o=Math.sin(n*i);return new x(this.R*t.lng*i,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var i=180/Math.PI;return new M((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*i,t.x*i/this.R)},bounds:function(){var t=6378137*Math.PI;return new P([-t,-t],[t,t])}()};Z.prototype={transform:function(t,i){return this._transform(t.clone(),i)},_transform:function(t,i){return i=i||1,t.x=i*(this._a*t.x+this._b),t.y=i*(this._c*t.y+this._d),t},untransform:function(t,i){return i=i||1,new x((t.x/i-this._b)/this._a,(t.y/i-this._d)/this._c)}};var pi,mi,fi,gi,vi=i({},_i,{code:\\\"EPSG:3857\\\",projection:di,transformation:function(){var t=.5/(Math.PI*di.R);return S(t,.5,-t,.5)}()}),yi=i({},vi,{code:\\\"EPSG:900913\\\"}),xi=document.documentElement.style,wi=\\\"ActiveXObject\\\"in window,Li=wi&&!document.addEventListener,Pi=\\\"msLaunchUri\\\"in navigator&&!(\\\"documentMode\\\"in document),bi=I(\\\"webkit\\\"),Ti=I(\\\"android\\\"),zi=I(\\\"android 2\\\")||I(\\\"android 3\\\"),Mi=parseInt(/WebKit\\\\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Ci=Ti&&I(\\\"Google\\\")&&Mi\u003C537&&!(\\\"AudioNode\\\"in window),Zi=!!window.opera,Si=I(\\\"chrome\\\"),Ei=I(\\\"gecko\\\")&&!bi&&!Zi&&!wi,ki=!Si&&I(\\\"safari\\\"),Ii=I(\\\"phantom\\\"),Ai=\\\"OTransition\\\"in xi,Bi=0===navigator.platform.indexOf(\\\"Win\\\"),Oi=wi&&\\\"transition\\\"in xi,Ri=\\\"WebKitCSSMatrix\\\"in window&&\\\"m11\\\"in new window.WebKitCSSMatrix&&!zi,Di=\\\"MozPerspective\\\"in xi,Ni=!window.L_DISABLE_3D&&(Oi||Ri||Di)&&!Ai&&!Ii,ji=\\\"undefined\\\"!=typeof orientation||I(\\\"mobile\\\"),Wi=ji&&bi,Hi=ji&&Ri,Fi=!window.PointerEvent&&window.MSPointerEvent,Ui=!(!window.PointerEvent&&!Fi),Vi=!window.L_NO_TOUCH&&(Ui||\\\"ontouchstart\\\"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),qi=ji&&Zi,Gi=ji&&Ei,Ki=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Yi=!!document.createElement(\\\"canvas\\\").getContext,Xi=!(!document.createElementNS||!E(\\\"svg\\\").createSVGRect),Ji=!Xi&&function(){try{var t=document.createElement(\\\"div\\\");t.innerHTML='\u003Cv:shape adj=\\\"1\\\"/>';var i=t.firstChild;return i.style.behavior=\\\"url(#default#VML)\\\",i&&\\\"object\\\"==typeof i.adj}catch(t){return!1}}(),$i=(Object.freeze||Object)({ie:wi,ielt9:Li,edge:Pi,webkit:bi,android:Ti,android23:zi,androidStock:Ci,opera:Zi,chrome:Si,gecko:Ei,safari:ki,phantom:Ii,opera12:Ai,win:Bi,ie3d:Oi,webkit3d:Ri,gecko3d:Di,any3d:Ni,mobile:ji,mobileWebkit:Wi,mobileWebkit3d:Hi,msPointer:Fi,pointer:Ui,touch:Vi,mobileOpera:qi,mobileGecko:Gi,retina:Ki,canvas:Yi,svg:Xi,vml:Ji}),Qi=Fi?\\\"MSPointerDown\\\":\\\"pointerdown\\\",te=Fi?\\\"MSPointerMove\\\":\\\"pointermove\\\",ie=Fi?\\\"MSPointerUp\\\":\\\"pointerup\\\",ee=Fi?\\\"MSPointerCancel\\\":\\\"pointercancel\\\",ne=[\\\"INPUT\\\",\\\"SELECT\\\",\\\"OPTION\\\"],oe={},se=!1,re=0,ae=Fi?\\\"MSPointerDown\\\":Ui?\\\"pointerdown\\\":\\\"touchstart\\\",he=Fi?\\\"MSPointerUp\\\":Ui?\\\"pointerup\\\":\\\"touchend\\\",ue=\\\"_leaflet_\\\",le=\\\"_leaflet_events\\\",ce=Bi&&Si?2*window.devicePixelRatio:Ei?window.devicePixelRatio:1,_e={},de=(Object.freeze||Object)({on:V,off:q,stopPropagation:Y,disableScrollPropagation:X,disableClickPropagation:J,preventDefault:$,stop:Q,getMousePosition:tt,getWheelDelta:it,fakeStop:et,skipped:nt,isExternalTarget:ot,addListener:V,removeListener:q}),pe=xt([\\\"transform\\\",\\\"WebkitTransform\\\",\\\"OTransform\\\",\\\"MozTransform\\\",\\\"msTransform\\\"]),me=xt([\\\"webkitTransition\\\",\\\"transition\\\",\\\"OTransition\\\",\\\"MozTransition\\\",\\\"msTransition\\\"]),fe=\\\"webkitTransition\\\"===me||\\\"OTransition\\\"===me?me+\\\"End\\\":\\\"transitionend\\\";if(\\\"onselectstart\\\"in document)mi=function(){V(window,\\\"selectstart\\\",$)},fi=function(){q(window,\\\"selectstart\\\",$)};else{var ge=xt([\\\"userSelect\\\",\\\"WebkitUserSelect\\\",\\\"OUserSelect\\\",\\\"MozUserSelect\\\",\\\"msUserSelect\\\"]);mi=function(){if(ge){var t=document.documentElement.style;gi=t[ge],t[ge]=\\\"none\\\"}},fi=function(){ge&&(document.documentElement.style[ge]=gi,gi=void 0)}}var ve,ye,xe=(Object.freeze||Object)({TRANSFORM:pe,TRANSITION:me,TRANSITION_END:fe,get:rt,getStyle:at,create:ht,remove:ut,empty:lt,toFront:ct,toBack:_t,hasClass:dt,addClass:pt,removeClass:mt,setClass:ft,getClass:gt,setOpacity:vt,testProp:xt,setTransform:wt,setPosition:Lt,getPosition:Pt,disableTextSelection:mi,enableTextSelection:fi,disableImageDrag:bt,enableImageDrag:Tt,preventOutline:zt,restoreOutline:Mt}),we=ui.extend({run:function(t,i,e,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=e||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Pt(t),this._offset=i.subtract(this._startPos),this._startTime=+new Date,this.fire(\\\"start\\\"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=f(this._animate,this),this._step()},_step:function(t){var i=+new Date-this._startTime,e=1e3*this._duration;i\u003Ce?this._runFrame(this._easeOut(i/e),t):(this._runFrame(1),this._complete())},_runFrame:function(t,i){var e=this._startPos.add(this._offset.multiplyBy(t));i&&e._round(),Lt(this._el,e),this.fire(\\\"step\\\")},_complete:function(){g(this._animId),this._inProgress=!1,this.fire(\\\"end\\\")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Le=ui.extend({options:{crs:vi,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,i){i=l(this,i),this._initContainer(t),this._initLayout(),this._onResize=e(this._onResize,this),this._initEvents(),i.maxBounds&&this.setMaxBounds(i.maxBounds),void 0!==i.zoom&&(this._zoom=this._limitZoom(i.zoom)),i.center&&void 0!==i.zoom&&this.setView(C(i.center),i.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this.callInitHooks(),this._zoomAnimated=me&&Ni&&!qi&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),V(this._proxy,fe,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,n){return e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(C(t),e,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=i({animate:n.animate},n.zoom),n.pan=i({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,n.zoom):this._tryAnimatedPan(t,n.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,e),this)},setZoom:function(t,i){return this._loaded?this.setView(this.getCenter(),t,{zoom:i}):(this._zoom=t,this)},zoomIn:function(t,i){return t=t||(Ni?this.options.zoomDelta:1),this.setZoom(this._zoom+t,i)},zoomOut:function(t,i){return t=t||(Ni?this.options.zoomDelta:1),this.setZoom(this._zoom-t,i)},setZoomAround:function(t,i,e){var n=this.getZoomScale(i),o=this.getSize().divideBy(2),s=(t instanceof x?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(s));return this.setView(r,i,{zoom:e})},_getBoundsCenterZoom:function(t,i){i=i||{},t=t.getBounds?t.getBounds():z(t);var e=w(i.paddingTopLeft||i.padding||[0,0]),n=w(i.paddingBottomRight||i.padding||[0,0]),o=this.getBoundsZoom(t,!1,e.add(n));if((o=\\\"number\\\"==typeof i.maxZoom?Math.min(i.maxZoom,o):o)===1/0)return{center:t.getCenter(),zoom:o};var s=n.subtract(e).divideBy(2),r=this.project(t.getSouthWest(),o),a=this.project(t.getNorthEast(),o);return{center:this.unproject(r.add(a).divideBy(2).add(s),o),zoom:o}},fitBounds:function(t,i){if(!(t=z(t)).isValid())throw new Error(\\\"Bounds are not valid.\\\");var e=this._getBoundsCenterZoom(t,i);return this.setView(e.center,e.zoom,i)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,i){return this.setView(t,this._zoom,{pan:i})},panBy:function(t,i){if(t=w(t).round(),i=i||{},!t.x&&!t.y)return this.fire(\\\"moveend\\\");if(!0!==i.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new we,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),i.noMoveStart||this.fire(\\\"movestart\\\"),!1!==i.animate){pt(this._mapPane,\\\"leaflet-pan-anim\\\");var e=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,e,i.duration||.25,i.easeLinearity)}else this._rawPanBy(t),this.fire(\\\"move\\\").fire(\\\"moveend\\\");return this},flyTo:function(t,i,e){function n(t){var i=(g*g-m*m+(t?-1:1)*x*x*v*v)/(2*(t?g:m)*x*v),e=Math.sqrt(i*i+1)-i;return e\u003C1e-9?-18:Math.log(e)}function o(t){return(Math.exp(t)-Math.exp(-t))/2}function s(t){return(Math.exp(t)+Math.exp(-t))/2}function r(t){return o(t)/s(t)}function a(t){return m*(s(w)/s(w+y*t))}function h(t){return m*(s(w)*r(w+y*t)-o(w))/x}function u(t){return 1-Math.pow(1-t,1.5)}function l(){var e=(Date.now()-L)/b,n=u(e)*P;e\u003C=1?(this._flyToFrame=f(l,this),this._move(this.unproject(c.add(_.subtract(c).multiplyBy(h(n)/v)),p),this.getScaleZoom(m/a(n),p),{flyTo:!0})):this._move(t,i)._moveEnd(!0)}if(!1===(e=e||{}).animate||!Ni)return this.setView(t,i,e);this._stop();var c=this.project(this.getCenter()),_=this.project(t),d=this.getSize(),p=this._zoom;t=C(t),i=void 0===i?p:i;var m=Math.max(d.x,d.y),g=m*this.getZoomScale(p,i),v=_.distanceTo(c)||1,y=1.42,x=y*y,w=n(0),L=Date.now(),P=(n(1)-w)/y,b=e.duration?1e3*e.duration:1e3*P*.8;return this._moveStart(!0,e.noMoveStart),l.call(this),this},flyToBounds:function(t,i){var e=this._getBoundsCenterZoom(t,i);return this.flyTo(e.center,e.zoom,i)},setMaxBounds:function(t){return(t=z(t)).isValid()?(this.options.maxBounds&&this.off(\\\"moveend\\\",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on(\\\"moveend\\\",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off(\\\"moveend\\\",this._panInsideMaxBounds))},setMinZoom:function(t){var i=this.options.minZoom;return this.options.minZoom=t,this._loaded&&i!==t&&(this.fire(\\\"zoomlevelschange\\\"),this.getZoom()\u003Cthis.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var i=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&i!==t&&(this.fire(\\\"zoomlevelschange\\\"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,i){this._enforcingBounds=!0;var e=this.getCenter(),n=this._limitCenter(e,this._zoom,z(t));return e.equals(n)||this.panTo(n,i),this._enforcingBounds=!1,this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),s=n.divideBy(2).round(),r=o.divideBy(2).round(),a=s.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire(\\\"move\\\"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(e(this.fire,this,\\\"moveend\\\"),200)):this.fire(\\\"moveend\\\")),this.fire(\\\"resize\\\",{oldSize:n,newSize:o})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire(\\\"viewreset\\\"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!(\\\"geolocation\\\"in navigator))return this._handleGeolocationError({code:0,message:\\\"Geolocation not supported.\\\"}),this;var n=e(this._handleGeolocationResponse,this),o=e(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,o,t):navigator.geolocation.getCurrentPosition(n,o,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var i=t.code,e=t.message||(1===i?\\\"permission denied\\\":2===i?\\\"position unavailable\\\":\\\"timeout\\\");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire(\\\"locationerror\\\",{code:i,message:\\\"Geolocation error: \\\"+e+\\\".\\\"})},_handleGeolocationResponse:function(t){var i=new M(t.coords.latitude,t.coords.longitude),e=i.toBounds(t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(e);this.setView(i,n.maxZoom?Math.min(o,n.maxZoom):o)}var s={latlng:i,bounds:e,timestamp:t.timestamp};for(var r in t.coords)\\\"number\\\"==typeof t.coords[r]&&(s[r]=t.coords[r]);this.fire(\\\"locationfound\\\",s)},addHandler:function(t,i){if(!i)return this;var e=this[t]=new i(this);return this._handlers.push(e),this.options[t]&&e.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error(\\\"Map container is being reused by another instance\\\");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ut(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._clearHandlers(),this._loaded&&this.fire(\\\"unload\\\");var t;for(t in this._layers)this._layers[t].remove();for(t in this._panes)ut(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,i){var e=ht(\\\"div\\\",\\\"leaflet-pane\\\"+(t?\\\" leaflet-\\\"+t.replace(\\\"Pane\\\",\\\"\\\")+\\\"-pane\\\":\\\"\\\"),i||this._mapPane);return t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new T(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,i,e){t=z(t),e=w(e||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),h=this.getSize().subtract(e),u=b(this.project(a,n),this.project(r,n)).getSize(),l=Ni?this.options.zoomSnap:1,c=h.x/u.x,_=h.y/u.y,d=i?Math.max(c,_):Math.min(c,_);return n=this.getScaleZoom(d,n),l&&(n=Math.round(n/(l/100))*(l/100),n=i?Math.ceil(n/l)*l:Math.floor(n/l)*l),Math.max(o,Math.min(s,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new x(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,i){var e=this._getTopLeftPoint(t,i);return new P(e,e.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return\\\"string\\\"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,i){var e=this.options.crs;return i=void 0===i?this._zoom:i,e.scale(t)/e.scale(i)},getScaleZoom:function(t,i){var e=this.options.crs;i=void 0===i?this._zoom:i;var n=e.zoom(t*e.scale(i));return isNaN(n)?1/0:n},project:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.latLngToPoint(C(t),i)},unproject:function(t,i){return i=void 0===i?this._zoom:i,this.options.crs.pointToLatLng(w(t),i)},layerPointToLatLng:function(t){var i=w(t).add(this.getPixelOrigin());return this.unproject(i)},latLngToLayerPoint:function(t){return this.project(C(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(C(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(z(t))},distance:function(t,i){return this.options.crs.distance(C(t),C(i))},containerPointToLayerPoint:function(t){return w(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return w(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var i=this.containerPointToLayerPoint(w(t));return this.layerPointToLatLng(i)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(C(t)))},mouseEventToContainerPoint:function(t){return tt(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var i=this._container=rt(t);if(!i)throw new Error(\\\"Map container not found.\\\");if(i._leaflet_id)throw new Error(\\\"Map container is already initialized.\\\");V(i,\\\"scroll\\\",this._onScroll,this),this._containerId=n(i)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ni,pt(t,\\\"leaflet-container\\\"+(Vi?\\\" leaflet-touch\\\":\\\"\\\")+(Ki?\\\" leaflet-retina\\\":\\\"\\\")+(Li?\\\" leaflet-oldie\\\":\\\"\\\")+(ki?\\\" leaflet-safari\\\":\\\"\\\")+(this._fadeAnimated?\\\" leaflet-fade-anim\\\":\\\"\\\"));var i=at(t,\\\"position\\\");\\\"absolute\\\"!==i&&\\\"relative\\\"!==i&&\\\"fixed\\\"!==i&&(t.style.position=\\\"relative\\\"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane(\\\"mapPane\\\",this._container),Lt(this._mapPane,new x(0,0)),this.createPane(\\\"tilePane\\\"),this.createPane(\\\"shadowPane\\\"),this.createPane(\\\"overlayPane\\\"),this.createPane(\\\"markerPane\\\"),this.createPane(\\\"tooltipPane\\\"),this.createPane(\\\"popupPane\\\"),this.options.markerZoomAnimation||(pt(t.markerPane,\\\"leaflet-zoom-hide\\\"),pt(t.shadowPane,\\\"leaflet-zoom-hide\\\"))},_resetView:function(t,i){Lt(this._mapPane,new x(0,0));var e=!this._loaded;this._loaded=!0,i=this._limitZoom(i),this.fire(\\\"viewprereset\\\");var n=this._zoom!==i;this._moveStart(n,!1)._move(t,i)._moveEnd(n),this.fire(\\\"viewreset\\\"),e&&this.fire(\\\"load\\\")},_moveStart:function(t,i){return t&&this.fire(\\\"zoomstart\\\"),i||this.fire(\\\"movestart\\\"),this},_move:function(t,i,e){void 0===i&&(i=this._zoom);var n=this._zoom!==i;return this._zoom=i,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(n||e&&e.pinch)&&this.fire(\\\"zoom\\\",e),this.fire(\\\"move\\\",e)},_moveEnd:function(t){return t&&this.fire(\\\"zoomend\\\"),this.fire(\\\"moveend\\\")},_stop:function(){return g(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Lt(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error(\\\"Set map center and zoom first.\\\")},_initEvents:function(t){this._targets={},this._targets[n(this._container)]=this;var i=t?q:V;i(this._container,\\\"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress\\\",this._handleDOMEvent,this),this.options.trackResize&&i(window,\\\"resize\\\",this._onResize,this),Ni&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,\\\"moveend\\\",this._onMoveEnd)},_onResize:function(){g(this._resizeRequest),this._resizeRequest=f(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,i){for(var e,o=[],s=\\\"mouseout\\\"===i||\\\"mouseover\\\"===i,r=t.target||t.srcElement,a=!1;r;){if((e=this._targets[n(r)])&&(\\\"click\\\"===i||\\\"preclick\\\"===i)&&!t._simulated&&this._draggableMoved(e)){a=!0;break}if(e&&e.listens(i,!0)){if(s&&!ot(r,t))break;if(o.push(e),s)break}if(r===this._container)break;r=r.parentNode}return o.length||a||s||!ot(r,t)||(o=[this]),o},_handleDOMEvent:function(t){if(this._loaded&&!nt(t)){var i=t.type;\\\"mousedown\\\"!==i&&\\\"keypress\\\"!==i||zt(t.target||t.srcElement),this._fireDOMEvent(t,i)}},_mouseEvents:[\\\"click\\\",\\\"dblclick\\\",\\\"mouseover\\\",\\\"mouseout\\\",\\\"contextmenu\\\"],_fireDOMEvent:function(t,e,n){if(\\\"click\\\"===t.type){var o=i({},t);o.type=\\\"preclick\\\",this._fireDOMEvent(o,o.type,n)}if(!t._stopped&&(n=(n||[]).concat(this._findEventTargets(t,e))).length){var s=n[0];\\\"contextmenu\\\"===e&&s.listens(e,!0)&&$(t);var r={originalEvent:t};if(\\\"keypress\\\"!==t.type){var a=s.getLatLng&&(!s._radius||s._radius\u003C=10);r.containerPoint=a?this.latLngToContainerPoint(s.getLatLng()):this.mouseEventToContainerPoint(t),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=a?s.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var h=0;h\u003Cn.length;h++)if(n[h].fire(e,r,!0),r.originalEvent._stopped||!1===n[h].options.bubblingMouseEvents&&-1!==d(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,i=this._handlers.length;t\u003Ci;t++)this._handlers[t].disable()},whenReady:function(t,i){return this._loaded?t.call(i||this,{target:this}):this.on(\\\"load\\\",t,i),this},_getMapPanePos:function(){return Pt(this._mapPane)||new x(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,i){return(t&&void 0!==i?this._getNewPixelOrigin(t,i):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,i){var e=this.getSize()._divideBy(2);return this.project(t,i)._subtract(e)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,i,e){var n=this._getNewPixelOrigin(e,i);return this.project(t,i)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,i,e){var n=this._getNewPixelOrigin(e,i);return b([this.project(t.getSouthWest(),i)._subtract(n),this.project(t.getNorthWest(),i)._subtract(n),this.project(t.getSouthEast(),i)._subtract(n),this.project(t.getNorthEast(),i)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,i,e){if(!e)return t;var n=this.project(t,i),o=this.getSize().divideBy(2),s=new P(n.subtract(o),n.add(o)),r=this._getBoundsOffset(s,e,i);return r.round().equals([0,0])?t:this.unproject(n.add(r),i)},_limitOffset:function(t,i){if(!i)return t;var e=this.getPixelBounds(),n=new P(e.min.add(t),e.max.add(t));return t.add(this._getBoundsOffset(n,i))},_getBoundsOffset:function(t,i,e){var n=b(this.project(i.getNorthEast(),e),this.project(i.getSouthWest(),e)),o=n.min.subtract(t.min),s=n.max.subtract(t.max);return new x(this._rebound(o.x,-s.x),this._rebound(o.y,-s.y))},_rebound:function(t,i){return t+i>0?Math.round(t-i)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(i))},_limitZoom:function(t){var i=this.getMinZoom(),e=this.getMaxZoom(),n=Ni?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(i,Math.min(e,t))},_onPanTransitionStep:function(){this.fire(\\\"move\\\")},_onPanTransitionEnd:function(){mt(this._mapPane,\\\"leaflet-pan-anim\\\"),this.fire(\\\"moveend\\\")},_tryAnimatedPan:function(t,i){var e=this._getCenterOffset(t)._trunc();return!(!0!==(i&&i.animate)&&!this.getSize().contains(e))&&(this.panBy(e,i),!0)},_createAnimProxy:function(){var t=this._proxy=ht(\\\"div\\\",\\\"leaflet-proxy leaflet-zoom-animated\\\");this._panes.mapPane.appendChild(t),this.on(\\\"zoomanim\\\",function(t){var i=pe,e=this._proxy.style[i];wt(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),e===this._proxy.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on(\\\"load moveend\\\",function(){var t=this.getCenter(),i=this.getZoom();wt(this._proxy,this.project(t,i),this.getZoomScale(i,1))},this),this._on(\\\"unload\\\",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ut(this._proxy),delete this._proxy},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf(\\\"transform\\\")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName(\\\"leaflet-zoom-animated\\\").length},_tryAnimatedZoom:function(t,i,e){if(this._animatingZoom)return!0;if(e=e||{},!this._zoomAnimated||!1===e.animate||this._nothingToAnimate()||Math.abs(i-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(i),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==e.animate&&!this.getSize().contains(o))&&(f(function(){this._moveStart(!0,!1)._animateZoom(t,i,!0)},this),!0)},_animateZoom:function(t,i,n,o){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=i,pt(this._mapPane,\\\"leaflet-zoom-anim\\\")),this.fire(\\\"zoomanim\\\",{center:t,zoom:i,noUpdate:o}),setTimeout(e(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&mt(this._mapPane,\\\"leaflet-zoom-anim\\\"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),f(function(){this._moveEnd(!0)},this))}}),Pe=v.extend({options:{position:\\\"topright\\\"},initialize:function(t){l(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var i=this._map;return i&&i.removeControl(this),this.options.position=t,i&&i.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var i=this._container=this.onAdd(t),e=this.getPosition(),n=t._controlCorners[e];return pt(i,\\\"leaflet-control\\\"),-1!==e.indexOf(\\\"bottom\\\")?n.insertBefore(i,n.firstChild):n.appendChild(i),this},remove:function(){return this._map?(ut(this._container),this.onRemove&&this.onRemove(this._map),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),be=function(t){return new Pe(t)};Le.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){function t(t,o){var s=e+t+\\\" \\\"+e+o;i[t+o]=ht(\\\"div\\\",s,n)}var i=this._controlCorners={},e=\\\"leaflet-\\\",n=this._controlContainer=ht(\\\"div\\\",e+\\\"control-container\\\",this._container);t(\\\"top\\\",\\\"left\\\"),t(\\\"top\\\",\\\"right\\\"),t(\\\"bottom\\\",\\\"left\\\"),t(\\\"bottom\\\",\\\"right\\\")},_clearControlPos:function(){for(var t in this._controlCorners)ut(this._controlCorners[t]);ut(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Te=Pe.extend({options:{collapsed:!0,position:\\\"topright\\\",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,i,e,n){return e\u003Cn?-1:n\u003Ce?1:0}},initialize:function(t,i,e){l(this,e),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1;for(var n in t)this._addLayer(t[n],n);for(n in i)this._addLayer(i[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on(\\\"zoomend\\\",this._checkDisabledLayers,this);for(var i=0;i\u003Cthis._layers.length;i++)this._layers[i].layer.on(\\\"add remove\\\",this._onLayerChange,this);return this._container},addTo:function(t){return Pe.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off(\\\"zoomend\\\",this._checkDisabledLayers,this);for(var t=0;t\u003Cthis._layers.length;t++)this._layers[t].layer.off(\\\"add remove\\\",this._onLayerChange,this)},addBaseLayer:function(t,i){return this._addLayer(t,i),this._map?this._update():this},addOverlay:function(t,i){return this._addLayer(t,i,!0),this._map?this._update():this},removeLayer:function(t){t.off(\\\"add remove\\\",this._onLayerChange,this);var i=this._getLayer(n(t));return i&&this._layers.splice(this._layers.indexOf(i),1),this._map?this._update():this},expand:function(){pt(this._container,\\\"leaflet-control-layers-expanded\\\"),this._form.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t\u003Cthis._form.clientHeight?(pt(this._form,\\\"leaflet-control-layers-scrollbar\\\"),this._form.style.height=t+\\\"px\\\"):mt(this._form,\\\"leaflet-control-layers-scrollbar\\\"),this._checkDisabledLayers(),this},collapse:function(){return mt(this._container,\\\"leaflet-control-layers-expanded\\\"),this},_initLayout:function(){var t=\\\"leaflet-control-layers\\\",i=this._container=ht(\\\"div\\\",t),e=this.options.collapsed;i.setAttribute(\\\"aria-haspopup\\\",!0),J(i),X(i);var n=this._form=ht(\\\"form\\\",t+\\\"-list\\\");e&&(this._map.on(\\\"click\\\",this.collapse,this),Ti||V(i,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=ht(\\\"a\\\",t+\\\"-toggle\\\",i);o.href=\\\"#\\\",o.title=\\\"Layers\\\",Vi?(V(o,\\\"click\\\",Q),V(o,\\\"click\\\",this.expand,this)):V(o,\\\"focus\\\",this.expand,this),e||this.expand(),this._baseLayersList=ht(\\\"div\\\",t+\\\"-base\\\",n),this._separator=ht(\\\"div\\\",t+\\\"-separator\\\",n),this._overlaysList=ht(\\\"div\\\",t+\\\"-overlays\\\",n),i.appendChild(n)},_getLayer:function(t){for(var i=0;i\u003Cthis._layers.length;i++)if(this._layers[i]&&n(this._layers[i].layer)===t)return this._layers[i]},_addLayer:function(t,i,n){this._map&&t.on(\\\"add remove\\\",this._onLayerChange,this),this._layers.push({layer:t,name:i,overlay:n}),this.options.sortLayers&&this._layers.sort(e(function(t,i){return this.options.sortFunction(t.layer,i.layer,t.name,i.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;lt(this._baseLayersList),lt(this._overlaysList),this._layerControlInputs=[];var t,i,e,n,o=0;for(e=0;e\u003Cthis._layers.length;e++)n=this._layers[e],this._addItem(n),i=i||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&o>1,this._baseLayersList.style.display=t?\\\"\\\":\\\"none\\\"),this._separator.style.display=i&&t?\\\"\\\":\\\"none\\\",this},_onLayerChange:function(t){this._handlingClick||this._update();var i=this._getLayer(n(t.target)),e=i.overlay?\\\"add\\\"===t.type?\\\"overlayadd\\\":\\\"overlayremove\\\":\\\"add\\\"===t.type?\\\"baselayerchange\\\":null;e&&this._map.fire(e,i)},_createRadioElement:function(t,i){var e='\u003Cinput type=\\\"radio\\\" class=\\\"leaflet-control-layers-selector\\\" name=\\\"'+t+'\\\"'+(i?' checked=\\\"checked\\\"':\\\"\\\")+\\\"/>\\\",n=document.createElement(\\\"div\\\");return n.innerHTML=e,n.firstChild},_addItem:function(t){var i,e=document.createElement(\\\"label\\\"),o=this._map.hasLayer(t.layer);t.overlay?((i=document.createElement(\\\"input\\\")).type=\\\"checkbox\\\",i.className=\\\"leaflet-control-layers-selector\\\",i.defaultChecked=o):i=this._createRadioElement(\\\"leaflet-base-layers\\\",o),this._layerControlInputs.push(i),i.layerId=n(t.layer),V(i,\\\"click\\\",this._onInputClick,this);var s=document.createElement(\\\"span\\\");s.innerHTML=\\\" \\\"+t.name;var r=document.createElement(\\\"div\\\");return e.appendChild(r),r.appendChild(i),r.appendChild(s),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(e),this._checkDisabledLayers(),e},_onInputClick:function(){var t,i,e=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var s=e.length-1;s>=0;s--)t=e[s],i=this._getLayer(t.layerId).layer,t.checked?n.push(i):t.checked||o.push(i);for(s=0;s\u003Co.length;s++)this._map.hasLayer(o[s])&&this._map.removeLayer(o[s]);for(s=0;s\u003Cn.length;s++)this._map.hasLayer(n[s])||this._map.addLayer(n[s]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,i,e=this._layerControlInputs,n=this._map.getZoom(),o=e.length-1;o>=0;o--)t=e[o],i=this._getLayer(t.layerId).layer,t.disabled=void 0!==i.options.minZoom&&n\u003Ci.options.minZoom||void 0!==i.options.maxZoom&&n>i.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),ze=Pe.extend({options:{position:\\\"topleft\\\",zoomInText:\\\"+\\\",zoomInTitle:\\\"Zoom in\\\",zoomOutText:\\\"−\\\",zoomOutTitle:\\\"Zoom out\\\"},onAdd:function(t){var i=\\\"leaflet-control-zoom\\\",e=ht(\\\"div\\\",i+\\\" leaflet-bar\\\"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,i+\\\"-in\\\",e,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,i+\\\"-out\\\",e,this._zoomOut),this._updateDisabled(),t.on(\\\"zoomend zoomlevelschange\\\",this._updateDisabled,this),e},onRemove:function(t){t.off(\\\"zoomend zoomlevelschange\\\",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom\u003Cthis._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,i,e,n,o){var s=ht(\\\"a\\\",e,n);return s.innerHTML=t,s.href=\\\"#\\\",s.title=i,s.setAttribute(\\\"role\\\",\\\"button\\\"),s.setAttribute(\\\"aria-label\\\",i),J(s),V(s,\\\"click\\\",Q),V(s,\\\"click\\\",o,this),V(s,\\\"click\\\",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,i=\\\"leaflet-disabled\\\";mt(this._zoomInButton,i),mt(this._zoomOutButton,i),(this._disabled||t._zoom===t.getMinZoom())&&pt(this._zoomOutButton,i),(this._disabled||t._zoom===t.getMaxZoom())&&pt(this._zoomInButton,i)}});Le.mergeOptions({zoomControl:!0}),Le.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ze,this.addControl(this.zoomControl))});var Me=Pe.extend({options:{position:\\\"bottomleft\\\",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var i=ht(\\\"div\\\",\\\"leaflet-control-scale\\\"),e=this.options;return this._addScales(e,\\\"leaflet-control-scale-line\\\",i),t.on(e.updateWhenIdle?\\\"moveend\\\":\\\"move\\\",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?\\\"moveend\\\":\\\"move\\\",this._update,this)},_addScales:function(t,i,e){t.metric&&(this._mScale=ht(\\\"div\\\",i,e)),t.imperial&&(this._iScale=ht(\\\"div\\\",i,e))},_update:function(){var t=this._map,i=t.getSize().y/2,e=t.distance(t.containerPointToLatLng([0,i]),t.containerPointToLatLng([this.options.maxWidth,i]));this._updateScales(e)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var i=this._getRoundNum(t),e=i\u003C1e3?i+\\\" m\\\":i/1e3+\\\" km\\\";this._updateScale(this._mScale,e,i/t)},_updateImperial:function(t){var i,e,n,o=3.2808399*t;o>5280?(i=o/5280,e=this._getRoundNum(i),this._updateScale(this._iScale,e+\\\" mi\\\",e/i)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+\\\" ft\\\",n/o))},_updateScale:function(t,i,e){t.style.width=Math.round(this.options.maxWidth*e)+\\\"px\\\",t.innerHTML=i},_getRoundNum:function(t){var i=Math.pow(10,(Math.floor(t)+\\\"\\\").length-1),e=t/i;return e=e>=10?10:e>=5?5:e>=3?3:e>=2?2:1,i*e}}),Ce=Pe.extend({options:{position:\\\"bottomright\\\",prefix:'\u003Ca href=\\\"http://leafletjs.com\\\" title=\\\"A JS library for interactive maps\\\">Leaflet\u003C/a>'},initialize:function(t){l(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=ht(\\\"div\\\",\\\"leaflet-control-attribution\\\"),J(this._container);for(var i in t._layers)t._layers[i].getAttribution&&this.addAttribution(t._layers[i].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var i in this._attributions)this._attributions[i]&&t.push(i);var e=[];this.options.prefix&&e.push(this.options.prefix),t.length&&e.push(t.join(\\\", \\\")),this._container.innerHTML=e.join(\\\" | \\\")}}});Le.mergeOptions({attributionControl:!0}),Le.addInitHook(function(){this.options.attributionControl&&(new Ce).addTo(this)});Pe.Layers=Te,Pe.Zoom=ze,Pe.Scale=Me,Pe.Attribution=Ce,be.layers=function(t,i,e){return new Te(t,i,e)},be.zoom=function(t){return new ze(t)},be.scale=function(t){return new Me(t)},be.attribution=function(t){return new Ce(t)};var Ze=v.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ze.addTo=function(t,i){return t.addHandler(i,this),this};var Se,Ee={Events:hi},ke=Vi?\\\"touchstart mousedown\\\":\\\"mousedown\\\",Ie={mousedown:\\\"mouseup\\\",touchstart:\\\"touchend\\\",pointerdown:\\\"touchend\\\",MSPointerDown:\\\"touchend\\\"},Ae={mousedown:\\\"mousemove\\\",touchstart:\\\"touchmove\\\",pointerdown:\\\"touchmove\\\",MSPointerDown:\\\"touchmove\\\"},Be=ui.extend({options:{clickTolerance:3},initialize:function(t,i,e,n){l(this,n),this._element=t,this._dragStartTarget=i||t,this._preventOutline=e},enable:function(){this._enabled||(V(this._dragStartTarget,ke,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Be._dragging===this&&this.finishDrag(),q(this._dragStartTarget,ke,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!dt(this._element,\\\"leaflet-zoom-anim\\\")&&!(Be._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(Be._dragging=this,this._preventOutline&&zt(this._element),bt(),mi(),this._moving)))){this.fire(\\\"down\\\");var i=t.touches?t.touches[0]:t;this._startPoint=new x(i.clientX,i.clientY),V(document,Ae[t.type],this._onMove,this),V(document,Ie[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var i=t.touches&&1===t.touches.length?t.touches[0]:t,e=new x(i.clientX,i.clientY).subtract(this._startPoint);(e.x||e.y)&&(Math.abs(e.x)+Math.abs(e.y)\u003Cthis.options.clickTolerance||($(t),this._moved||(this.fire(\\\"dragstart\\\"),this._moved=!0,this._startPos=Pt(this._element).subtract(e),pt(document.body,\\\"leaflet-dragging\\\"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),pt(this._lastTarget,\\\"leaflet-drag-target\\\")),this._newPos=this._startPos.add(e),this._moving=!0,g(this._animRequest),this._lastEvent=t,this._animRequest=f(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire(\\\"predrag\\\",t),Lt(this._element,this._newPos),this.fire(\\\"drag\\\",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){mt(document.body,\\\"leaflet-dragging\\\"),this._lastTarget&&(mt(this._lastTarget,\\\"leaflet-drag-target\\\"),this._lastTarget=null);for(var t in Ae)q(document,Ae[t],this._onMove,this),q(document,Ie[t],this._onUp,this);Tt(),fi(),this._moved&&this._moving&&(g(this._animRequest),this.fire(\\\"dragend\\\",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,Be._dragging=!1}}),Oe=(Object.freeze||Object)({simplify:Ct,pointToSegmentDistance:Zt,closestPointOnSegment:function(t,i,e){return Rt(t,i,e)},clipSegment:It,_getEdgeIntersection:At,_getBitCode:Bt,_sqClosestPointOnSegment:Rt,isFlat:Dt,_flat:Nt}),Re=(Object.freeze||Object)({clipPolygon:jt}),De={project:function(t){return new x(t.lng,t.lat)},unproject:function(t){return new M(t.y,t.x)},bounds:new P([-180,-90],[180,90])},Ne={R:6378137,R_MINOR:6356752.314245179,bounds:new P([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var i=Math.PI/180,e=this.R,n=t.lat*i,o=this.R_MINOR/e,s=Math.sqrt(1-o*o),r=s*Math.sin(n),a=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),s/2);return n=-e*Math.log(Math.max(a,1e-10)),new x(t.lng*i*e,n)},unproject:function(t){for(var i,e=180/Math.PI,n=this.R,o=this.R_MINOR/n,s=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),a=Math.PI/2-2*Math.atan(r),h=0,u=.1;h\u003C15&&Math.abs(u)>1e-7;h++)i=s*Math.sin(a),i=Math.pow((1-i)/(1+i),s/2),a+=u=Math.PI/2-2*Math.atan(r*i)-a;return new M(a*e,t.x*e/n)}},je=(Object.freeze||Object)({LonLat:De,Mercator:Ne,SphericalMercator:di}),We=i({},_i,{code:\\\"EPSG:3395\\\",projection:Ne,transformation:function(){var t=.5/(Math.PI*Ne.R);return S(t,.5,-t,.5)}()}),He=i({},_i,{code:\\\"EPSG:4326\\\",projection:De,transformation:S(1/180,1,-1/180,.5)}),Fe=i({},ci,{projection:De,transformation:S(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,i){var e=i.lng-t.lng,n=i.lat-t.lat;return Math.sqrt(e*e+n*n)},infinite:!0});ci.Earth=_i,ci.EPSG3395=We,ci.EPSG3857=vi,ci.EPSG900913=yi,ci.EPSG4326=He,ci.Simple=Fe;var Ue=ui.extend({options:{pane:\\\"overlayPane\\\",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[n(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[n(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var i=t.target;if(i.hasLayer(this)){if(this._map=i,this._zoomAnimated=i._zoomAnimated,this.getEvents){var e=this.getEvents();i.on(e,this),this.once(\\\"remove\\\",function(){i.off(e,this)},this)}this.onAdd(i),this.getAttribution&&i.attributionControl&&i.attributionControl.addAttribution(this.getAttribution()),this.fire(\\\"add\\\"),i.fire(\\\"layeradd\\\",{layer:this})}}});Le.include({addLayer:function(t){if(!t._layerAdd)throw new Error(\\\"The provided object is not a Layer.\\\");var i=n(t);return this._layers[i]?this:(this._layers[i]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var i=n(t);return this._layers[i]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[i],this._loaded&&(this.fire(\\\"layerremove\\\",{layer:t}),t.fire(\\\"remove\\\")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&n(t)in this._layers},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},_addLayers:function(t){for(var i=0,e=(t=t?ei(t)?t:[t]:[]).length;i\u003Ce;i++)this.addLayer(t[i])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[n(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var i=n(t);this._zoomBoundLayers[i]&&(delete this._zoomBoundLayers[i],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,i=-1/0,e=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),i=void 0===o.maxZoom?i:Math.max(i,o.maxZoom)}this._layersMaxZoom=i===-1/0?void 0:i,this._layersMinZoom=t===1/0?void 0:t,e!==this._getZoomSpan()&&this.fire(\\\"zoomlevelschange\\\"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()\u003Cthis._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Ve=Ue.extend({initialize:function(t,i){l(this,i),this._layers={};var e,n;if(t)for(e=0,n=t.length;e\u003Cn;e++)this.addLayer(t[e])},addLayer:function(t){var i=this.getLayerId(t);return this._layers[i]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var i=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[i]&&this._map.removeLayer(this._layers[i]),delete this._layers[i],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var i,e,n=Array.prototype.slice.call(arguments,1);for(i in this._layers)(e=this._layers[i])[t]&&e[t].apply(e,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,i){for(var e in this._layers)t.call(i,this._layers[e]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke(\\\"setZIndex\\\",t)},getLayerId:function(t){return n(t)}}),qe=Ve.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Ve.prototype.addLayer.call(this,t),this.fire(\\\"layeradd\\\",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Ve.prototype.removeLayer.call(this,t),this.fire(\\\"layerremove\\\",{layer:t})):this},setStyle:function(t){return this.invoke(\\\"setStyle\\\",t)},bringToFront:function(){return this.invoke(\\\"bringToFront\\\")},bringToBack:function(){return this.invoke(\\\"bringToBack\\\")},getBounds:function(){var t=new T;for(var i in this._layers){var e=this._layers[i];t.extend(e.getBounds?e.getBounds():e.getLatLng())}return t}}),Ge=v.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){l(this,t)},createIcon:function(t){return this._createIcon(\\\"icon\\\",t)},createShadow:function(t){return this._createIcon(\\\"shadow\\\",t)},_createIcon:function(t,i){var e=this._getIconUrl(t);if(!e){if(\\\"icon\\\"===t)throw new Error(\\\"iconUrl not set in Icon options (see the docs).\\\");return null}var n=this._createImg(e,i&&\\\"IMG\\\"===i.tagName?i:null);return this._setIconStyles(n,t),n},_setIconStyles:function(t,i){var e=this.options,n=e[i+\\\"Size\\\"];\\\"number\\\"==typeof n&&(n=[n,n]);var o=w(n),s=w(\\\"shadow\\\"===i&&e.shadowAnchor||e.iconAnchor||o&&o.divideBy(2,!0));t.className=\\\"leaflet-marker-\\\"+i+\\\" \\\"+(e.className||\\\"\\\"),s&&(t.style.marginLeft=-s.x+\\\"px\\\",t.style.marginTop=-s.y+\\\"px\\\"),o&&(t.style.width=o.x+\\\"px\\\",t.style.height=o.y+\\\"px\\\")},_createImg:function(t,i){return i=i||document.createElement(\\\"img\\\"),i.src=t,i},_getIconUrl:function(t){return Ki&&this.options[t+\\\"RetinaUrl\\\"]||this.options[t+\\\"Url\\\"]}}),Ke=Ge.extend({options:{iconUrl:\\\"marker-icon.png\\\",iconRetinaUrl:\\\"marker-icon-2x.png\\\",shadowUrl:\\\"marker-shadow.png\\\",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Ke.imagePath||(Ke.imagePath=this._detectIconPath()),(this.options.imagePath||Ke.imagePath)+Ge.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=ht(\\\"div\\\",\\\"leaflet-default-icon-path\\\",document.body),i=at(t,\\\"background-image\\\")||at(t,\\\"backgroundImage\\\");return document.body.removeChild(t),i=null===i||0!==i.indexOf(\\\"url\\\")?\\\"\\\":i.replace(/^url\\\\([\\\"']?/,\\\"\\\").replace(/marker-icon\\\\.png[\\\"']?\\\\)$/,\\\"\\\")}}),Ye=Ze.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new Be(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),pt(t,\\\"leaflet-marker-draggable\\\")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&mt(this._marker._icon,\\\"leaflet-marker-draggable\\\")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var i=this._marker,e=i._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,s=L.DomUtil.getPosition(i._icon),r=e.getPixelBounds(),a=e.getPixelOrigin(),h=b(r.min._subtract(a).add(o),r.max._subtract(a).subtract(o));if(!h.contains(s)){var u=w((Math.max(h.max.x,s.x)-h.max.x)/(r.max.x-h.max.x)-(Math.min(h.min.x,s.x)-h.min.x)/(r.min.x-h.min.x),(Math.max(h.max.y,s.y)-h.max.y)/(r.max.y-h.max.y)-(Math.min(h.min.y,s.y)-h.min.y)/(r.min.y-h.min.y)).multiplyBy(n);e.panBy(u,{animate:!1}),this._draggable._newPos._add(u),this._draggable._startPos._add(u),L.DomUtil.setPosition(i._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=f(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire(\\\"movestart\\\").fire(\\\"dragstart\\\")},_onPreDrag:function(t){this._marker.options.autoPan&&(g(this._panRequest),this._panRequest=f(this._adjustPan.bind(this,t)))},_onDrag:function(t){var i=this._marker,e=i._shadow,n=Pt(i._icon),o=i._map.layerPointToLatLng(n);e&&Lt(e,n),i._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,i.fire(\\\"move\\\",t).fire(\\\"drag\\\",t)},_onDragEnd:function(t){g(this._panRequest),delete this._oldLatLng,this._marker.fire(\\\"moveend\\\").fire(\\\"dragend\\\",t)}}),Xe=Ue.extend({options:{icon:new Ke,interactive:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10,keyboard:!0,title:\\\"\\\",alt:\\\"\\\",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:\\\"markerPane\\\",bubblingMouseEvents:!1},initialize:function(t,i){l(this,i),this._latlng=C(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on(\\\"zoomanim\\\",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off(\\\"zoomanim\\\",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var i=this._latlng;return this._latlng=C(t),this.update(),this.fire(\\\"move\\\",{oldLatLng:i,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,i=\\\"leaflet-zoom-\\\"+(this._zoomAnimated?\\\"animated\\\":\\\"hide\\\"),e=t.icon.createIcon(this._icon),n=!1;e!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(e.title=t.title),\\\"IMG\\\"===e.tagName&&(e.alt=t.alt||\\\"\\\")),pt(e,i),t.keyboard&&(e.tabIndex=\\\"0\\\"),this._icon=e,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=t.icon.createShadow(this._shadow),s=!1;o!==this._shadow&&(this._removeShadow(),s=!0),o&&(pt(o,i),o.alt=\\\"\\\"),this._shadow=o,t.opacity\u003C1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&s&&this.getPane(\\\"shadowPane\\\").appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),ut(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&ut(this._shadow),this._shadow=null},_setPos:function(t){Lt(this._icon,t),this._shadow&&Lt(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(i)},_initInteraction:function(){if(this.options.interactive&&(pt(this._icon,\\\"leaflet-interactive\\\"),this.addInteractiveTarget(this._icon),Ye)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Ye(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;vt(this._icon,t),this._shadow&&vt(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Je=Ue.extend({options:{stroke:!0,color:\\\"#3388ff\\\",weight:3,opacity:1,lineCap:\\\"round\\\",lineJoin:\\\"round\\\",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:\\\"evenodd\\\",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return l(this,t),this._renderer&&this._renderer._updateStyle(this),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),$e=Je.extend({options:{fill:!0,radius:10},initialize:function(t,i){l(this,i),this._latlng=C(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=C(t),this.redraw(),this.fire(\\\"move\\\",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var i=t&&t.radius||this._radius;return Je.prototype.setStyle.call(this,t),this.setRadius(i),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,i=this._radiusY||t,e=this._clickTolerance(),n=[t+e,i+e];this._pxBounds=new P(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)\u003C=this._radius+this._clickTolerance()}}),Qe=$e.extend({initialize:function(t,e,n){if(\\\"number\\\"==typeof e&&(e=i({},n,{radius:e})),l(this,e),this._latlng=C(t),isNaN(this.options.radius))throw new Error(\\\"Circle radius cannot be NaN\\\");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new T(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Je.prototype.setStyle,_project:function(){var t=this._latlng.lng,i=this._latlng.lat,e=this._map,n=e.options.crs;if(n.distance===_i.distance){var o=Math.PI/180,s=this._mRadius/_i.R/o,r=e.project([i+s,t]),a=e.project([i-s,t]),h=r.add(a).divideBy(2),u=e.unproject(h).lat,l=Math.acos((Math.cos(s*o)-Math.sin(i*o)*Math.sin(u*o))/(Math.cos(i*o)*Math.cos(u*o)))/o;(isNaN(l)||0===l)&&(l=s/Math.cos(Math.PI/180*i)),this._point=h.subtract(e.getPixelOrigin()),this._radius=isNaN(l)?0:h.x-e.project([u,t-l]).x,this._radiusY=h.y-r.y}else{var c=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=e.latLngToLayerPoint(this._latlng),this._radius=this._point.x-e.latLngToLayerPoint(c).x}this._updateBounds()}}),tn=Je.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,i){l(this,i),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var i,e,n=1/0,o=null,s=Rt,r=0,a=this._parts.length;r\u003Ca;r++)for(var h=this._parts[r],u=1,l=h.length;u\u003Cl;u++){var c=s(t,i=h[u-1],e=h[u],!0);c\u003Cn&&(n=c,o=s(t,i,e))}return o&&(o.distance=Math.sqrt(n)),o},getCenter:function(){if(!this._map)throw new Error(\\\"Must add layer to map before using getCenter()\\\");var t,i,e,n,o,s,r,a=this._rings[0],h=a.length;if(!h)return null;for(t=0,i=0;t\u003Ch-1;t++)i+=a[t].distanceTo(a[t+1])/2;if(0===i)return this._map.layerPointToLatLng(a[0]);for(t=0,n=0;t\u003Ch-1;t++)if(o=a[t],s=a[t+1],e=o.distanceTo(s),(n+=e)>i)return r=(n-i)/e,this._map.layerPointToLatLng([s.x-r*(s.x-o.x),s.y-r*(s.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,i){return i=i||this._defaultShape(),t=C(t),i.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new T,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return Dt(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var i=[],e=Dt(t),n=0,o=t.length;n\u003Co;n++)e?(i[n]=C(t[n]),this._bounds.extend(i[n])):i[n]=this._convertLatLngs(t[n]);return i},_project:function(){var t=new P;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t);var i=this._clickTolerance(),e=new x(i,i);this._bounds.isValid()&&t.isValid()&&(t.min._subtract(e),t.max._add(e),this._pxBounds=t)},_projectLatlngs:function(t,i,e){var n,o,s=t[0]instanceof M,r=t.length;if(s){for(o=[],n=0;n\u003Cr;n++)o[n]=this._map.latLngToLayerPoint(t[n]),e.extend(o[n]);i.push(o)}else for(n=0;n\u003Cr;n++)this._projectLatlngs(t[n],i,e)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var i,e,n,o,s,r,a,h=this._parts;for(i=0,n=0,o=this._rings.length;i\u003Co;i++)for(e=0,s=(a=this._rings[i]).length;e\u003Cs-1;e++)(r=It(a[e],a[e+1],t,e,!0))&&(h[n]=h[n]||[],h[n].push(r[0]),r[1]===a[e+1]&&e!==s-2||(h[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,i=this.options.smoothFactor,e=0,n=t.length;e\u003Cn;e++)t[e]=Ct(t[e],i)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,i){var e,n,o,s,r,a,h=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(e=0,s=this._parts.length;e\u003Cs;e++)for(n=0,o=(r=(a=this._parts[e]).length)-1;n\u003Cr;o=n++)if((i||0!==n)&&Zt(t,a[o],a[n])\u003C=h)return!0;return!1}});tn._flat=Nt;var en=tn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error(\\\"Must add layer to map before using getCenter()\\\");var t,i,e,n,o,s,r,a,h,u=this._rings[0],l=u.length;if(!l)return null;for(s=r=a=0,t=0,i=l-1;t\u003Cl;i=t++)e=u[t],n=u[i],o=e.y*n.x-n.y*e.x,r+=(e.x+n.x)*o,a+=(e.y+n.y)*o,s+=3*o;return h=0===s?u[0]:[r/s,a/s],this._map.layerPointToLatLng(h)},_convertLatLngs:function(t){var i=tn.prototype._convertLatLngs.call(this,t),e=i.length;return e>=2&&i[0]instanceof M&&i[0].equals(i[e-1])&&i.pop(),i},_setLatLngs:function(t){tn.prototype._setLatLngs.call(this,t),Dt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Dt(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,i=this.options.weight,e=new x(i,i);if(t=new P(t.min.subtract(e),t.max.add(e)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;o\u003Cs;o++)(n=jt(this._rings[o],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var i,e,n,o,s,r,a,h,u=!1;if(!this._pxBounds.contains(t))return!1;for(o=0,a=this._parts.length;o\u003Ca;o++)for(s=0,r=(h=(i=this._parts[o]).length)-1;s\u003Ch;r=s++)e=i[s],n=i[r],e.y>t.y!=n.y>t.y&&t.x\u003C(n.x-e.x)*(t.y-e.y)/(n.y-e.y)+e.x&&(u=!u);return u||tn.prototype._containsPoint.call(this,t,!0)}}),nn=qe.extend({initialize:function(t,i){l(this,i),this._layers={},t&&this.addData(t)},addData:function(t){var i,e,n,o=ei(t)?t:t.features;if(o){for(i=0,e=o.length;i\u003Ce;i++)((n=o[i]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var s=this.options;if(s.filter&&!s.filter(t))return this;var r=Wt(t,s);return r?(r.feature=Gt(t),r.defaultOptions=r.options,this.resetStyle(r),s.onEachFeature&&s.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return t.options=i({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(t){return this.eachLayer(function(i){this._setLayerStyle(i,t)},this)},_setLayerStyle:function(t,i){\\\"function\\\"==typeof i&&(i=i(t.feature)),t.setStyle&&t.setStyle(i)}}),on={toGeoJSON:function(t){return qt(this,{type:\\\"Point\\\",coordinates:Ut(this.getLatLng(),t)})}};Xe.include(on),Qe.include(on),$e.include(on),tn.include({toGeoJSON:function(t){var i=!Dt(this._latlngs),e=Vt(this._latlngs,i?1:0,!1,t);return qt(this,{type:(i?\\\"Multi\\\":\\\"\\\")+\\\"LineString\\\",coordinates:e})}}),en.include({toGeoJSON:function(t){var i=!Dt(this._latlngs),e=i&&!Dt(this._latlngs[0]),n=Vt(this._latlngs,e?2:i?1:0,!0,t);return i||(n=[n]),qt(this,{type:(e?\\\"Multi\\\":\\\"\\\")+\\\"Polygon\\\",coordinates:n})}}),Ve.include({toMultiPoint:function(t){var i=[];return this.eachLayer(function(e){i.push(e.toGeoJSON(t).geometry.coordinates)}),qt(this,{type:\\\"MultiPoint\\\",coordinates:i})},toGeoJSON:function(t){var i=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(\\\"MultiPoint\\\"===i)return this.toMultiPoint(t);var e=\\\"GeometryCollection\\\"===i,n=[];return this.eachLayer(function(i){if(i.toGeoJSON){var o=i.toGeoJSON(t);if(e)n.push(o.geometry);else{var s=Gt(o);\\\"FeatureCollection\\\"===s.type?n.push.apply(n,s.features):n.push(s)}}}),e?qt(this,{geometries:n,type:\\\"GeometryCollection\\\"}):{type:\\\"FeatureCollection\\\",features:n}}});var sn=Kt,rn=Ue.extend({options:{opacity:1,alt:\\\"\\\",interactive:!1,crossOrigin:!1,errorOverlayUrl:\\\"\\\",zIndex:1,className:\\\"\\\"},initialize:function(t,i,e){this._url=t,this._bounds=z(i),l(this,e)},onAdd:function(){this._image||(this._initImage(),this.options.opacity\u003C1&&this._updateOpacity()),this.options.interactive&&(pt(this._image,\\\"leaflet-interactive\\\"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){ut(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&ct(this._image),this},bringToBack:function(){return this._map&&_t(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=z(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=\\\"IMG\\\"===this._url.tagName,i=this._image=t?this._url:ht(\\\"img\\\");pt(i,\\\"leaflet-image-layer\\\"),this._zoomAnimated&&pt(i,\\\"leaflet-zoom-animated\\\"),this.options.className&&pt(i,this.options.className),i.onselectstart=r,i.onmousemove=r,i.onload=e(this.fire,this,\\\"load\\\"),i.onerror=e(this._overlayOnError,this,\\\"error\\\"),this.options.crossOrigin&&(i.crossOrigin=\\\"\\\"),this.options.zIndex&&this._updateZIndex(),t?this._url=i.src:(i.src=this._url,i.alt=this.options.alt)},_animateZoom:function(t){var i=this._map.getZoomScale(t.zoom),e=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;wt(this._image,e,i)},_reset:function(){var t=this._image,i=new P(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),e=i.getSize();Lt(t,i.min),t.style.width=e.x+\\\"px\\\",t.style.height=e.y+\\\"px\\\"},_updateOpacity:function(){vt(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire(\\\"error\\\");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),an=rn.extend({options:{autoplay:!0,loop:!0},_initImage:function(){var t=\\\"VIDEO\\\"===this._url.tagName,i=this._image=t?this._url:ht(\\\"video\\\");if(pt(i,\\\"leaflet-image-layer\\\"),this._zoomAnimated&&pt(i,\\\"leaflet-zoom-animated\\\"),i.onselectstart=r,i.onmousemove=r,i.onloadeddata=e(this.fire,this,\\\"load\\\"),t){for(var n=i.getElementsByTagName(\\\"source\\\"),o=[],s=0;s\u003Cn.length;s++)o.push(n[s].src);this._url=n.length>0?o:[i.src]}else{ei(this._url)||(this._url=[this._url]),i.autoplay=!!this.options.autoplay,i.loop=!!this.options.loop;for(var a=0;a\u003Cthis._url.length;a++){var h=ht(\\\"source\\\");h.src=this._url[a],i.appendChild(h)}}}}),hn=Ue.extend({options:{offset:[0,7],className:\\\"\\\",pane:\\\"popupPane\\\"},initialize:function(t,i){l(this,t),this._source=i},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&vt(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&vt(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(vt(this._container,0),this._removeTimeout=setTimeout(e(ut,void 0,this._container),200)):ut(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=C(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility=\\\"hidden\\\",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility=\\\"\\\",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ct(this._container),this},bringToBack:function(){return this._map&&_t(this._container),this},_updateContent:function(){if(this._content){var t=this._contentNode,i=\\\"function\\\"==typeof this._content?this._content(this._source||this):this._content;if(\\\"string\\\"==typeof i)t.innerHTML=i;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(i)}this.fire(\\\"contentupdate\\\")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),i=w(this.options.offset),e=this._getAnchor();this._zoomAnimated?Lt(this._container,t.add(e)):i=i.add(t).add(e);var n=this._containerBottom=-i.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+i.x;this._container.style.bottom=n+\\\"px\\\",this._container.style.left=o+\\\"px\\\"}},_getAnchor:function(){return[0,0]}}),un=hn.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:\\\"\\\"},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){hn.prototype.onAdd.call(this,t),t.fire(\\\"popupopen\\\",{popup:this}),this._source&&(this._source.fire(\\\"popupopen\\\",{popup:this},!0),this._source instanceof Je||this._source.on(\\\"preclick\\\",Y))},onRemove:function(t){hn.prototype.onRemove.call(this,t),t.fire(\\\"popupclose\\\",{popup:this}),this._source&&(this._source.fire(\\\"popupclose\\\",{popup:this},!0),this._source instanceof Je||this._source.off(\\\"preclick\\\",Y))},getEvents:function(){var t=hn.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t=\\\"leaflet-popup\\\",i=this._container=ht(\\\"div\\\",t+\\\" \\\"+(this.options.className||\\\"\\\")+\\\" leaflet-zoom-animated\\\"),e=this._wrapper=ht(\\\"div\\\",t+\\\"-content-wrapper\\\",i);if(this._contentNode=ht(\\\"div\\\",t+\\\"-content\\\",e),J(e),X(this._contentNode),V(e,\\\"contextmenu\\\",Y),this._tipContainer=ht(\\\"div\\\",t+\\\"-tip-container\\\",i),this._tip=ht(\\\"div\\\",t+\\\"-tip\\\",this._tipContainer),this.options.closeButton){var n=this._closeButton=ht(\\\"a\\\",t+\\\"-close-button\\\",i);n.href=\\\"#close\\\",n.innerHTML=\\\"×\\\",V(n,\\\"click\\\",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,i=t.style;i.width=\\\"\\\",i.whiteSpace=\\\"nowrap\\\";var e=t.offsetWidth;e=Math.min(e,this.options.maxWidth),e=Math.max(e,this.options.minWidth),i.width=e+1+\\\"px\\\",i.whiteSpace=\\\"\\\",i.height=\\\"\\\";var n=t.offsetHeight,o=this.options.maxHeight;o&&n>o?(i.height=o+\\\"px\\\",pt(t,\\\"leaflet-popup-scrolled\\\")):mt(t,\\\"leaflet-popup-scrolled\\\"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();Lt(this._container,i.add(e))},_adjustPan:function(){if(!(!this.options.autoPan||this._map._panAnim&&this._map._panAnim._inProgress)){var t=this._map,i=parseInt(at(this._container,\\\"marginBottom\\\"),10)||0,e=this._container.offsetHeight+i,n=this._containerWidth,o=new x(this._containerLeft,-e-this._containerBottom);o._add(Pt(this._container));var s=t.layerPointToContainerPoint(o),r=w(this.options.autoPanPadding),a=w(this.options.autoPanPaddingTopLeft||r),h=w(this.options.autoPanPaddingBottomRight||r),u=t.getSize(),l=0,c=0;s.x+n+h.x>u.x&&(l=s.x+n-u.x+h.x),s.x-l-a.x\u003C0&&(l=s.x-a.x),s.y+e+h.y>u.y&&(c=s.y+e-u.y+h.y),s.y-c-a.y\u003C0&&(c=s.y-a.y),(l||c)&&t.fire(\\\"autopanstart\\\").panBy([l,c])}},_onCloseButtonClick:function(t){this._close(),Q(t)},_getAnchor:function(){return w(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Le.mergeOptions({closePopupOnClick:!0}),Le.include({openPopup:function(t,i,e){return t instanceof un||(t=new un(e).setContent(t)),i&&t.setLatLng(i),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Ue.include({bindPopup:function(t,i){return t instanceof un?(l(t,i),this._popup=t,t._source=this):(this._popup&&!i||(this._popup=new un(i,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,i){if(t instanceof Ue||(i=t,t=this),t instanceof qe)for(var e in this._layers){t=this._layers[e];break}return i||(i=t.getCenter?t.getCenter():t.getLatLng()),this._popup&&this._map&&(this._popup._source=t,this._popup.update(),this._map.openPopup(this._popup,i)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var i=t.layer||t.target;this._popup&&this._map&&(Q(t),i instanceof Je?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===i?this.closePopup():this.openPopup(i,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var ln=hn.extend({options:{pane:\\\"tooltipPane\\\",offset:[0,0],direction:\\\"auto\\\",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){hn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire(\\\"tooltipopen\\\",{tooltip:this}),this._source&&this._source.fire(\\\"tooltipopen\\\",{tooltip:this},!0)},onRemove:function(t){hn.prototype.onRemove.call(this,t),t.fire(\\\"tooltipclose\\\",{tooltip:this}),this._source&&this._source.fire(\\\"tooltipclose\\\",{tooltip:this},!0)},getEvents:function(){var t=hn.prototype.getEvents.call(this);return Vi&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t=\\\"leaflet-tooltip \\\"+(this.options.className||\\\"\\\")+\\\" leaflet-zoom-\\\"+(this._zoomAnimated?\\\"animated\\\":\\\"hide\\\");this._contentNode=this._container=ht(\\\"div\\\",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var i=this._map,e=this._container,n=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(t),s=this.options.direction,r=e.offsetWidth,a=e.offsetHeight,h=w(this.options.offset),u=this._getAnchor();\\\"top\\\"===s?t=t.add(w(-r/2+h.x,-a+h.y+u.y,!0)):\\\"bottom\\\"===s?t=t.subtract(w(r/2-h.x,-h.y,!0)):\\\"center\\\"===s?t=t.subtract(w(r/2+h.x,a/2-u.y+h.y,!0)):\\\"right\\\"===s||\\\"auto\\\"===s&&o.x\u003Cn.x?(s=\\\"right\\\",t=t.add(w(h.x+u.x,u.y-a/2+h.y,!0))):(s=\\\"left\\\",t=t.subtract(w(r+u.x-h.x,a/2-u.y-h.y,!0))),mt(e,\\\"leaflet-tooltip-right\\\"),mt(e,\\\"leaflet-tooltip-left\\\"),mt(e,\\\"leaflet-tooltip-top\\\"),mt(e,\\\"leaflet-tooltip-bottom\\\"),pt(e,\\\"leaflet-tooltip-\\\"+s),Lt(e,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&vt(this._container,t)},_animateZoom:function(t){var i=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(i)},_getAnchor:function(){return w(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Le.include({openTooltip:function(t,i,e){return t instanceof ln||(t=new ln(e).setContent(t)),i&&t.setLatLng(i),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),Ue.include({bindTooltip:function(t,i){return t instanceof ln?(l(t,i),this._tooltip=t,t._source=this):(this._tooltip&&!i||(this._tooltip=new ln(i,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var i=t?\\\"off\\\":\\\"on\\\",e={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?e.add=this._openTooltip:(e.mouseover=this._openTooltip,e.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(e.mousemove=this._moveTooltip),Vi&&(e.click=this._openTooltip)),this[i](e),this._tooltipHandlersAdded=!t}},openTooltip:function(t,i){if(t instanceof Ue||(i=t,t=this),t instanceof qe)for(var e in this._layers){t=this._layers[e];break}return i||(i=t.getCenter?t.getCenter():t.getLatLng()),this._tooltip&&this._map&&(this._tooltip._source=t,this._tooltip.update(),this._map.openTooltip(this._tooltip,i),this._tooltip.options.interactive&&this._tooltip._container&&(pt(this._tooltip._container,\\\"leaflet-clickable\\\"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(mt(this._tooltip._container,\\\"leaflet-clickable\\\"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var i=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(i,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var i,e,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(i=this._map.mouseEventToContainerPoint(t.originalEvent),e=this._map.containerPointToLayerPoint(i),n=this._map.layerPointToLatLng(e)),this._tooltip.setLatLng(n)}});var cn=Ge.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:\\\"leaflet-div-icon\\\"},createIcon:function(t){var i=t&&\\\"DIV\\\"===t.tagName?t:document.createElement(\\\"div\\\"),e=this.options;if(i.innerHTML=!1!==e.html?e.html:\\\"\\\",e.bgPos){var n=w(e.bgPos);i.style.backgroundPosition=-n.x+\\\"px \\\"+-n.y+\\\"px\\\"}return this._setIconStyles(i,\\\"icon\\\"),i},createShadow:function(){return null}});Ge.Default=Ke;var _n=Ue.extend({options:{tileSize:256,opacity:1,updateWhenIdle:ji,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:\\\"tilePane\\\",className:\\\"\\\",keepBuffer:2},initialize:function(t){l(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),ut(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ct(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(_t(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement(\\\"div\\\")},getTileSize:function(){var t=this.options.tileSize;return t instanceof x?t:new x(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var i,e=this.getPane().children,n=-t(-1/0,1/0),o=0,s=e.length;o\u003Cs;o++)i=e[o].style.zIndex,e[o]!==this._container&&i&&(n=t(n,+i));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Li){vt(this._container,this.options.opacity);var t=+new Date,i=!1,e=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var s=Math.min(1,(t-o.loaded)/200);vt(o.el,s),s\u003C1?i=!0:(o.active?e=!0:this._onOpaqueTile(o),o.active=!0)}}e&&!this._noPrune&&this._pruneTiles(),i&&(g(this._fadeFrame),this._fadeFrame=f(this._updateOpacity,this))}},_onOpaqueTile:r,_initContainer:function(){this._container||(this._container=ht(\\\"div\\\",\\\"leaflet-layer \\\"+(this.options.className||\\\"\\\")),this._updateZIndex(),this.options.opacity\u003C1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,i=this.options.maxZoom;if(void 0!==t){for(var e in this._levels)this._levels[e].el.children.length||e===t?(this._levels[e].el.style.zIndex=i-Math.abs(t-e),this._onUpdateLevel(e)):(ut(this._levels[e].el),this._removeTilesAtZoom(e),this._onRemoveLevel(e),delete this._levels[e]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=ht(\\\"div\\\",\\\"leaflet-tile-container leaflet-zoom-animated\\\",this._container),n.el.style.zIndex=i,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n,n}},_onUpdateLevel:r,_onRemoveLevel:r,_onCreateLevel:r,_pruneTiles:function(){if(this._map){var t,i,e=this._map.getZoom();if(e>this.options.maxZoom||e\u003Cthis.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(i=this._tiles[t]).retain=i.current;for(t in this._tiles)if((i=this._tiles[t]).current&&!i.active){var n=i.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var i in this._tiles)this._tiles[i].coords.z===t&&this._removeTile(i)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)ut(this._levels[t].el),this._onRemoveLevel(t),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,i,e,n){var o=Math.floor(t/2),s=Math.floor(i/2),r=e-1,a=new x(+o,+s);a.z=+r;var h=this._tileCoordsToKey(a),u=this._tiles[h];return u&&u.active?(u.retain=!0,!0):(u&&u.loaded&&(u.retain=!0),r>n&&this._retainParent(o,s,r,n))},_retainChildren:function(t,i,e,n){for(var o=2*t;o\u003C2*t+2;o++)for(var s=2*i;s\u003C2*i+2;s++){var r=new x(o,s);r.z=e+1;var a=this._tileCoordsToKey(r),h=this._tiles[a];h&&h.active?h.retain=!0:(h&&h.loaded&&(h.retain=!0),e+1\u003Cn&&this._retainChildren(o,s,e+1,n))}},_resetView:function(t){var i=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),i,i)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var i=this.options;return void 0!==i.minNativeZoom&&t\u003Ci.minNativeZoom?i.minNativeZoom:void 0!==i.maxNativeZoom&&i.maxNativeZoom\u003Ct?i.maxNativeZoom:t},_setView:function(t,i,e,n){var o=this._clampZoom(Math.round(i));(void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o\u003Cthis.options.minZoom)&&(o=void 0);var s=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!s||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),e||this._pruneTiles(),this._noPrune=!!e),this._setZoomTransforms(t,i)},_setZoomTransforms:function(t,i){for(var e in this._levels)this._setZoomTransform(this._levels[e],t,i)},_setZoomTransform:function(t,i,e){var n=this._map.getZoomScale(e,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(i,e)).round();Ni?wt(t.el,o,n):Lt(t.el,o)},_resetGrid:function(){var t=this._map,i=t.options.crs,e=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=i.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,i.wrapLng[0]],n).x/e.x),Math.ceil(t.project([0,i.wrapLng[1]],n).x/e.y)],this._wrapY=i.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([i.wrapLat[0],0],n).y/e.x),Math.ceil(t.project([i.wrapLat[1],0],n).y/e.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var i=this._map,e=i._animatingZoom?Math.max(i._animateToZoom,i.getZoom()):i.getZoom(),n=i.getZoomScale(e,this._tileZoom),o=i.project(t,this._tileZoom).floor(),s=i.getSize().divideBy(2*n);return new P(o.subtract(s),o.add(s))},_update:function(t){var i=this._map;if(i){var e=this._clampZoom(i.getZoom());if(void 0===t&&(t=i.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),s=o.getCenter(),r=[],a=this.options.keepBuffer,h=new P(o.getBottomLeft().subtract([a,-a]),o.getTopRight().add([a,-a]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error(\\\"Attempted to load an infinite number of tiles\\\");for(var u in this._tiles){var l=this._tiles[u].coords;l.z===this._tileZoom&&h.contains(new x(l.x,l.y))||(this._tiles[u].current=!1)}if(Math.abs(e-this._tileZoom)>1)this._setView(t,e);else{for(var c=o.min.y;c\u003C=o.max.y;c++)for(var _=o.min.x;_\u003C=o.max.x;_++){var d=new x(_,c);if(d.z=this._tileZoom,this._isValidTile(d)){var p=this._tiles[this._tileCoordsToKey(d)];p?p.current=!0:r.push(d)}}if(r.sort(function(t,i){return t.distanceTo(s)-i.distanceTo(s)}),0!==r.length){this._loading||(this._loading=!0,this.fire(\\\"loading\\\"));var m=document.createDocumentFragment();for(_=0;_\u003Cr.length;_++)this._addTile(r[_],m);this._level.el.appendChild(m)}}}}},_isValidTile:function(t){var i=this._map.options.crs;if(!i.infinite){var e=this._globalTileRange;if(!i.wrapLng&&(t.x\u003Ce.min.x||t.x>e.max.x)||!i.wrapLat&&(t.y\u003Ce.min.y||t.y>e.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return z(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var i=this._map,e=this.getTileSize(),n=t.scaleBy(e),o=n.add(e);return[i.unproject(n,t.z),i.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var i=this._tileCoordsToNwSe(t),e=new T(i[0],i[1]);return this.options.noWrap||(e=this._map.wrapLatLngBounds(e)),e},_tileCoordsToKey:function(t){return t.x+\\\":\\\"+t.y+\\\":\\\"+t.z},_keyToTileCoords:function(t){var i=t.split(\\\":\\\"),e=new x(+i[0],+i[1]);return e.z=+i[2],e},_removeTile:function(t){var i=this._tiles[t];i&&(Ci||i.el.setAttribute(\\\"src\\\",ni),ut(i.el),delete this._tiles[t],this.fire(\\\"tileunload\\\",{tile:i.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){pt(t,\\\"leaflet-tile\\\");var i=this.getTileSize();t.style.width=i.x+\\\"px\\\",t.style.height=i.y+\\\"px\\\",t.onselectstart=r,t.onmousemove=r,Li&&this.options.opacity\u003C1&&vt(t,this.options.opacity),Ti&&!zi&&(t.style.WebkitBackfaceVisibility=\\\"hidden\\\")},_addTile:function(t,i){var n=this._getTilePos(t),o=this._tileCoordsToKey(t),s=this.createTile(this._wrapCoords(t),e(this._tileReady,this,t));this._initTile(s),this.createTile.length\u003C2&&f(e(this._tileReady,this,t,null,s)),Lt(s,n),this._tiles[o]={el:s,coords:t,current:!0},i.appendChild(s),this.fire(\\\"tileloadstart\\\",{tile:s,coords:t})},_tileReady:function(t,i,n){if(this._map){i&&this.fire(\\\"tileerror\\\",{error:i,tile:n,coords:t});var o=this._tileCoordsToKey(t);(n=this._tiles[o])&&(n.loaded=+new Date,this._map._fadeAnimated?(vt(n.el,0),g(this._fadeFrame),this._fadeFrame=f(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),i||(pt(n.el,\\\"leaflet-tile-loaded\\\"),this.fire(\\\"tileload\\\",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire(\\\"load\\\"),Li||!this._map._fadeAnimated?f(this._pruneTiles,this):setTimeout(e(this._pruneTiles,this),250)))}},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var i=new x(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return i.z=t.z,i},_pxBoundsToTileRange:function(t){var i=this.getTileSize();return new P(t.min.unscaleBy(i).floor(),t.max.unscaleBy(i).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),dn=_n.extend({options:{minZoom:0,maxZoom:18,subdomains:\\\"abc\\\",errorTileUrl:\\\"\\\",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,i){this._url=t,(i=l(this,i)).detectRetina&&Ki&&i.maxZoom>0&&(i.tileSize=Math.floor(i.tileSize/2),i.zoomReverse?(i.zoomOffset--,i.minZoom++):(i.zoomOffset++,i.maxZoom--),i.minZoom=Math.max(0,i.minZoom)),\\\"string\\\"==typeof i.subdomains&&(i.subdomains=i.subdomains.split(\\\"\\\")),Ti||this.on(\\\"tileunload\\\",this._onTileRemove)},setUrl:function(t,i){return this._url=t,i||this.redraw(),this},createTile:function(t,i){var n=document.createElement(\\\"img\\\");return V(n,\\\"load\\\",e(this._tileOnLoad,this,i,n)),V(n,\\\"error\\\",e(this._tileOnError,this,i,n)),this.options.crossOrigin&&(n.crossOrigin=\\\"\\\"),n.alt=\\\"\\\",n.setAttribute(\\\"role\\\",\\\"presentation\\\"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var e={r:Ki?\\\"@2x\\\":\\\"\\\",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=n),e[\\\"-y\\\"]=n}return _(this._url,i(e,this.options))},_tileOnLoad:function(t,i){Li?setTimeout(e(t,this,null,i),0):t(null,i)},_tileOnError:function(t,i,e){var n=this.options.errorTileUrl;n&&i.getAttribute(\\\"src\\\")!==n&&(i.src=n),t(e,i)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,i=this.options.maxZoom,e=this.options.zoomReverse,n=this.options.zoomOffset;return e&&(t=i-t),t+n},_getSubdomain:function(t){var i=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[i]},_abortLoading:function(){var t,i;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((i=this._tiles[t].el).onload=r,i.onerror=r,i.complete||(i.src=ni,ut(i),delete this._tiles[t]))}}),pn=dn.extend({defaultWmsParams:{service:\\\"WMS\\\",request:\\\"GetMap\\\",layers:\\\"\\\",styles:\\\"\\\",format:\\\"image/jpeg\\\",transparent:!1,version:\\\"1.1.1\\\"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var n=i({},this.defaultWmsParams);for(var o in e)o in this.options||(n[o]=e[o]);var s=(e=l(this,e)).detectRetina&&Ki?2:1,r=this.getTileSize();n.width=r.x*s,n.height=r.y*s,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var i=this._wmsVersion>=1.3?\\\"crs\\\":\\\"srs\\\";this.wmsParams[i]=this._crs.code,dn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var i=this._tileCoordsToNwSe(t),e=this._crs,n=b(e.project(i[0]),e.project(i[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===He?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(\\\",\\\"),a=L.TileLayer.prototype.getTileUrl.call(this,t);return a+c(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?\\\"&BBOX=\\\":\\\"&bbox=\\\")+r},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});dn.WMS=pn,Yt.wms=function(t,i){return new pn(t,i)};var mn=Ue.extend({options:{padding:.1,tolerance:0},initialize:function(t){l(this,t),n(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&pt(this._container,\\\"leaflet-zoom-animated\\\")),this.getPane().appendChild(this._container),this._update(),this.on(\\\"update\\\",this._updatePaths,this)},onRemove:function(){this.off(\\\"update\\\",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,i){var e=this._map.getZoomScale(i,this._zoom),n=Pt(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,i),r=this._map.project(t,i).subtract(s),a=o.multiplyBy(-e).add(n).add(o).subtract(r);Ni?wt(this._container,a,e):Lt(this._container,a)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,i=this._map.getSize(),e=this._map.containerPointToLayerPoint(i.multiplyBy(-t)).round();this._bounds=new P(e,e.add(i.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),fn=mn.extend({getEvents:function(){var t=mn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){mn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement(\\\"canvas\\\");V(t,\\\"mousemove\\\",o(this._onMouseMove,32,this),this),V(t,\\\"click dblclick mousedown mouseup contextmenu\\\",this._onClick,this),V(t,\\\"mouseout\\\",this._handleMouseOut,this),this._ctx=t.getContext(\\\"2d\\\")},_destroyContainer:function(){delete this._ctx,ut(this._container),q(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){this._redrawBounds=null;for(var t in this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){this._drawnLayers={},mn.prototype._update.call(this);var t=this._bounds,i=this._container,e=t.getSize(),n=Ki?2:1;Lt(i,t.min),i.width=n*e.x,i.height=n*e.y,i.style.width=e.x+\\\"px\\\",i.style.height=e.y+\\\"px\\\",Ki&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire(\\\"update\\\")}},_reset:function(){mn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[n(t)]=t;var i=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=i),this._drawLast=i,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var i=t._order,e=i.next,n=i.prev;e?e.prev=n:this._drawLast=n,n?n.next=e:this._drawFirst=e,delete t._order,delete this._layers[L.stamp(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if(t.options.dashArray){var i,e=t.options.dashArray.split(\\\",\\\"),n=[];for(i=0;i\u003Ce.length;i++)n.push(Number(e[i]));t.options._dashArray=n}},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||f(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var i=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new P,this._redrawBounds.extend(t._pxBounds.min.subtract([i,i])),this._redrawBounds.extend(t._pxBounds.max.add([i,i]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var i=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,i.x,i.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,i=this._redrawBounds;if(this._ctx.save(),i){var e=i.getSize();this._ctx.beginPath(),this._ctx.rect(i.min.x,i.min.y,e.x,e.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!i||t._pxBounds&&t._pxBounds.intersects(i))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,i){if(this._drawing){var e,n,o,s,r=t._parts,a=r.length,h=this._ctx;if(a){for(this._drawnLayers[t._leaflet_id]=t,h.beginPath(),e=0;e\u003Ca;e++){for(n=0,o=r[e].length;n\u003Co;n++)s=r[e][n],h[n?\\\"lineTo\\\":\\\"moveTo\\\"](s.x,s.y);i&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var i=t._point,e=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;this._drawnLayers[t._leaflet_id]=t,1!==o&&(e.save(),e.scale(1,o)),e.beginPath(),e.arc(i.x,i.y/o,n,0,2*Math.PI,!1),1!==o&&e.restore(),this._fillStroke(e,t)}},_fillStroke:function(t,i){var e=i.options;e.fill&&(t.globalAlpha=e.fillOpacity,t.fillStyle=e.fillColor||e.color,t.fill(e.fillRule||\\\"evenodd\\\")),e.stroke&&0!==e.weight&&(t.setLineDash&&t.setLineDash(i.options&&i.options._dashArray||[]),t.globalAlpha=e.opacity,t.lineWidth=e.weight,t.strokeStyle=e.color,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.stroke())},_onClick:function(t){for(var i,e,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(n)&&!this._map._draggableMoved(i)&&(e=i);e&&(et(t),this._fireEvent([e],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var i=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,i)}},_handleMouseOut:function(t){var i=this._hoveredLayer;i&&(mt(this._container,\\\"leaflet-interactive\\\"),this._fireEvent([i],t,\\\"mouseout\\\"),this._hoveredLayer=null)},_handleMouseHover:function(t,i){for(var e,n,o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(i)&&(n=e);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(pt(this._container,\\\"leaflet-interactive\\\"),this._fireEvent([n],t,\\\"mouseover\\\"),this._hoveredLayer=n)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)},_fireEvent:function(t,i,e){this._map._fireDOMEvent(i,e||i.type,t)},_bringToFront:function(t){var i=t._order,e=i.next,n=i.prev;e&&(e.prev=n,n?n.next=e:e&&(this._drawFirst=e),i.prev=this._drawLast,this._drawLast.next=i,i.next=null,this._drawLast=i,this._requestRedraw(t))},_bringToBack:function(t){var i=t._order,e=i.next,n=i.prev;n&&(n.next=e,e?e.prev=n:n&&(this._drawLast=n),i.prev=null,i.next=this._drawFirst,this._drawFirst.prev=i,this._drawFirst=i,this._requestRedraw(t))}}),gn=function(){try{return document.namespaces.add(\\\"lvml\\\",\\\"urn:schemas-microsoft-com:vml\\\"),function(t){return document.createElement(\\\"\u003Clvml:\\\"+t+' class=\\\"lvml\\\">')}}catch(t){return function(t){return document.createElement(\\\"\u003C\\\"+t+' xmlns=\\\"urn:schemas-microsoft.com:vml\\\" class=\\\"lvml\\\">')}}}(),vn={_initContainer:function(){this._container=ht(\\\"div\\\",\\\"leaflet-vml-container\\\")},_update:function(){this._map._animatingZoom||(mn.prototype._update.call(this),this.fire(\\\"update\\\"))},_initPath:function(t){var i=t._container=gn(\\\"shape\\\");pt(i,\\\"leaflet-vml-shape \\\"+(this.options.className||\\\"\\\")),i.coordsize=\\\"1 1\\\",t._path=gn(\\\"path\\\"),i.appendChild(t._path),this._updateStyle(t),this._layers[n(t)]=t},_addPath:function(t){var i=t._container;this._container.appendChild(i),t.options.interactive&&t.addInteractiveTarget(i)},_removePath:function(t){var i=t._container;ut(i),t.removeInteractiveTarget(i),delete this._layers[n(t)]},_updateStyle:function(t){var i=t._stroke,e=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(i||(i=t._stroke=gn(\\\"stroke\\\")),o.appendChild(i),i.weight=n.weight+\\\"px\\\",i.color=n.color,i.opacity=n.opacity,n.dashArray?i.dashStyle=ei(n.dashArray)?n.dashArray.join(\\\" \\\"):n.dashArray.replace(/( *, *)/g,\\\" \\\"):i.dashStyle=\\\"\\\",i.endcap=n.lineCap.replace(\\\"butt\\\",\\\"flat\\\"),i.joinstyle=n.lineJoin):i&&(o.removeChild(i),t._stroke=null),n.fill?(e||(e=t._fill=gn(\\\"fill\\\")),o.appendChild(e),e.color=n.fillColor||n.color,e.opacity=n.fillOpacity):e&&(o.removeChild(e),t._fill=null)},_updateCircle:function(t){var i=t._point.round(),e=Math.round(t._radius),n=Math.round(t._radiusY||e);this._setPath(t,t._empty()?\\\"M0 0\\\":\\\"AL \\\"+i.x+\\\",\\\"+i.y+\\\" \\\"+e+\\\",\\\"+n+\\\" 0,23592600\\\")},_setPath:function(t,i){t._path.v=i},_bringToFront:function(t){ct(t._container)},_bringToBack:function(t){_t(t._container)}},yn=Ji?gn:E,xn=mn.extend({getEvents:function(){var t=mn.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=yn(\\\"svg\\\"),this._container.setAttribute(\\\"pointer-events\\\",\\\"none\\\"),this._rootGroup=yn(\\\"g\\\"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ut(this._container),q(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){mn.prototype._update.call(this);var t=this._bounds,i=t.getSize(),e=this._container;this._svgSize&&this._svgSize.equals(i)||(this._svgSize=i,e.setAttribute(\\\"width\\\",i.x),e.setAttribute(\\\"height\\\",i.y)),Lt(e,t.min),e.setAttribute(\\\"viewBox\\\",[t.min.x,t.min.y,i.x,i.y].join(\\\" \\\")),this.fire(\\\"update\\\")}},_initPath:function(t){var i=t._path=yn(\\\"path\\\");t.options.className&&pt(i,t.options.className),t.options.interactive&&pt(i,\\\"leaflet-interactive\\\"),this._updateStyle(t),this._layers[n(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ut(t._path),t.removeInteractiveTarget(t._path),delete this._layers[n(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var i=t._path,e=t.options;i&&(e.stroke?(i.setAttribute(\\\"stroke\\\",e.color),i.setAttribute(\\\"stroke-opacity\\\",e.opacity),i.setAttribute(\\\"stroke-width\\\",e.weight),i.setAttribute(\\\"stroke-linecap\\\",e.lineCap),i.setAttribute(\\\"stroke-linejoin\\\",e.lineJoin),e.dashArray?i.setAttribute(\\\"stroke-dasharray\\\",e.dashArray):i.removeAttribute(\\\"stroke-dasharray\\\"),e.dashOffset?i.setAttribute(\\\"stroke-dashoffset\\\",e.dashOffset):i.removeAttribute(\\\"stroke-dashoffset\\\")):i.setAttribute(\\\"stroke\\\",\\\"none\\\"),e.fill?(i.setAttribute(\\\"fill\\\",e.fillColor||e.color),i.setAttribute(\\\"fill-opacity\\\",e.fillOpacity),i.setAttribute(\\\"fill-rule\\\",e.fillRule||\\\"evenodd\\\")):i.setAttribute(\\\"fill\\\",\\\"none\\\"))},_updatePoly:function(t,i){this._setPath(t,k(t._parts,i))},_updateCircle:function(t){var i=t._point,e=Math.max(Math.round(t._radius),1),n=\\\"a\\\"+e+\\\",\\\"+(Math.max(Math.round(t._radiusY),1)||e)+\\\" 0 1,0 \\\",o=t._empty()?\\\"M0 0\\\":\\\"M\\\"+(i.x-e)+\\\",\\\"+i.y+n+2*e+\\\",0 \\\"+n+2*-e+\\\",0 \\\";this._setPath(t,o)},_setPath:function(t,i){t._path.setAttribute(\\\"d\\\",i)},_bringToFront:function(t){ct(t._path)},_bringToBack:function(t){_t(t._path)}});Ji&&xn.include(vn),Le.include({getRenderer:function(t){var i=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return i||(i=this._renderer=this.options.preferCanvas&&Xt()||Jt()),this.hasLayer(i)||this.addLayer(i),i},_getPaneRenderer:function(t){if(\\\"overlayPane\\\"===t||void 0===t)return!1;var i=this._paneRenderers[t];return void 0===i&&(i=xn&&Jt({pane:t})||fn&&Xt({pane:t}),this._paneRenderers[t]=i),i}});var wn=en.extend({initialize:function(t,i){en.prototype.initialize.call(this,this._boundsToLatLngs(t),i)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=z(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});xn.create=yn,xn.pointsToPath=k,nn.geometryToLayer=Wt,nn.coordsToLatLng=Ht,nn.coordsToLatLngs=Ft,nn.latLngToCoords=Ut,nn.latLngsToCoords=Vt,nn.getFeature=qt,nn.asFeature=Gt,Le.mergeOptions({boxZoom:!0});var Ln=Ze.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on(\\\"unload\\\",this._destroy,this)},addHooks:function(){V(this._container,\\\"mousedown\\\",this._onMouseDown,this)},removeHooks:function(){q(this._container,\\\"mousedown\\\",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ut(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),mi(),bt(),this._startPoint=this._map.mouseEventToContainerPoint(t),V(document,{contextmenu:Q,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ht(\\\"div\\\",\\\"leaflet-zoom-box\\\",this._container),pt(this._container,\\\"leaflet-crosshair\\\"),this._map.fire(\\\"boxzoomstart\\\")),this._point=this._map.mouseEventToContainerPoint(t);var i=new P(this._point,this._startPoint),e=i.getSize();Lt(this._box,i.min),this._box.style.width=e.x+\\\"px\\\",this._box.style.height=e.y+\\\"px\\\"},_finish:function(){this._moved&&(ut(this._box),mt(this._container,\\\"leaflet-crosshair\\\")),fi(),Tt(),q(document,{contextmenu:Q,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(e(this._resetState,this),0);var i=new T(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(i).fire(\\\"boxzoomend\\\",{boxZoomBounds:i})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Le.addInitHook(\\\"addHandler\\\",\\\"boxZoom\\\",Ln),Le.mergeOptions({doubleClickZoom:!0});var Pn=Ze.extend({addHooks:function(){this._map.on(\\\"dblclick\\\",this._onDoubleClick,this)},removeHooks:function(){this._map.off(\\\"dblclick\\\",this._onDoubleClick,this)},_onDoubleClick:function(t){var i=this._map,e=i.getZoom(),n=i.options.zoomDelta,o=t.originalEvent.shiftKey?e-n:e+n;\\\"center\\\"===i.options.doubleClickZoom?i.setZoom(o):i.setZoomAround(t.containerPoint,o)}});Le.addInitHook(\\\"addHandler\\\",\\\"doubleClickZoom\\\",Pn),Le.mergeOptions({dragging:!0,inertia:!zi,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var bn=Ze.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Be(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on(\\\"predrag\\\",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on(\\\"predrag\\\",this._onPreDragWrap,this),t.on(\\\"zoomend\\\",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}pt(this._map._container,\\\"leaflet-grab leaflet-touch-drag\\\"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){mt(this._map._container,\\\"leaflet-grab\\\"),mt(this._map._container,\\\"leaflet-touch-drag\\\"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var i=z(this._map.options.maxBounds);this._offsetLimit=b(this._map.latLngToContainerPoint(i.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(i.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire(\\\"movestart\\\").fire(\\\"dragstart\\\"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var i=this._lastTime=+new Date,e=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(e),this._times.push(i),this._prunePositions(i)}this._map.fire(\\\"move\\\",t).fire(\\\"drag\\\",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),i=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=i.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,i){return t-(t-i)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),i=this._offsetLimit;t.x\u003Ci.min.x&&(t.x=this._viscousLimit(t.x,i.min.x)),t.y\u003Ci.min.y&&(t.y=this._viscousLimit(t.y,i.min.y)),t.x>i.max.x&&(t.x=this._viscousLimit(t.x,i.max.x)),t.y>i.max.y&&(t.y=this._viscousLimit(t.y,i.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,i=Math.round(t/2),e=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-i+e)%t+i-e,s=(n+i+e)%t-i-e,r=Math.abs(o+e)\u003CMath.abs(s+e)?o:s;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var i=this._map,e=i.options,n=!e.inertia||this._times.length\u003C2;if(i.fire(\\\"dragend\\\",t),n)i.fire(\\\"moveend\\\");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),s=(this._lastTime-this._times[0])/1e3,r=e.easeLinearity,a=o.multiplyBy(r/s),h=a.distanceTo([0,0]),u=Math.min(e.inertiaMaxSpeed,h),l=a.multiplyBy(u/h),c=u/(e.inertiaDeceleration*r),_=l.multiplyBy(-c/2).round();_.x||_.y?(_=i._limitOffset(_,i.options.maxBounds),f(function(){i.panBy(_,{duration:c,easeLinearity:r,noMoveStart:!0,animate:!0})})):i.fire(\\\"moveend\\\")}}});Le.addInitHook(\\\"addHandler\\\",\\\"dragging\\\",bn),Le.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Tn=Ze.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex\u003C=0&&(t.tabIndex=\\\"0\\\"),V(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),q(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,i=document.documentElement,e=t.scrollTop||i.scrollTop,n=t.scrollLeft||i.scrollLeft;this._map._container.focus(),window.scrollTo(n,e)}},_onFocus:function(){this._focused=!0,this._map.fire(\\\"focus\\\")},_onBlur:function(){this._focused=!1,this._map.fire(\\\"blur\\\")},_setPanDelta:function(t){var i,e,n=this._panKeys={},o=this.keyCodes;for(i=0,e=o.left.length;i\u003Ce;i++)n[o.left[i]]=[-1*t,0];for(i=0,e=o.right.length;i\u003Ce;i++)n[o.right[i]]=[t,0];for(i=0,e=o.down.length;i\u003Ce;i++)n[o.down[i]]=[0,t];for(i=0,e=o.up.length;i\u003Ce;i++)n[o.up[i]]=[0,-1*t]},_setZoomDelta:function(t){var i,e,n=this._zoomKeys={},o=this.keyCodes;for(i=0,e=o.zoomIn.length;i\u003Ce;i++)n[o.zoomIn[i]]=t;for(i=0,e=o.zoomOut.length;i\u003Ce;i++)n[o.zoomOut[i]]=-t},_addHooks:function(){V(document,\\\"keydown\\\",this._onKeyDown,this)},_removeHooks:function(){q(document,\\\"keydown\\\",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var i,e=t.keyCode,n=this._map;if(e in this._panKeys){if(n._panAnim&&n._panAnim._inProgress)return;i=this._panKeys[e],t.shiftKey&&(i=w(i).multiplyBy(3)),n.panBy(i),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds)}else if(e in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[e]);else{if(27!==e||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Q(t)}}});Le.addInitHook(\\\"addHandler\\\",\\\"keyboard\\\",Tn),Le.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var zn=Ze.extend({addHooks:function(){V(this._map._container,\\\"mousewheel\\\",this._onWheelScroll,this),this._delta=0},removeHooks:function(){q(this._map._container,\\\"mousewheel\\\",this._onWheelScroll,this)},_onWheelScroll:function(t){var i=it(t),n=this._map.options.wheelDebounceTime;this._delta+=i,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var o=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(e(this._performZoom,this),o),Q(t)},_performZoom:function(){var t=this._map,i=t.getZoom(),e=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,s=e?Math.ceil(o/e)*e:o,r=t._limitZoom(i+(this._delta>0?s:-s))-i;this._delta=0,this._startTime=null,r&&(\\\"center\\\"===t.options.scrollWheelZoom?t.setZoom(i+r):t.setZoomAround(this._lastMousePos,i+r))}});Le.addInitHook(\\\"addHandler\\\",\\\"scrollWheelZoom\\\",zn),Le.mergeOptions({tap:!0,tapTolerance:15});var Mn=Ze.extend({addHooks:function(){V(this._map._container,\\\"touchstart\\\",this._onDown,this)},removeHooks:function(){q(this._map._container,\\\"touchstart\\\",this._onDown,this)},_onDown:function(t){if(t.touches){if($(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var i=t.touches[0],n=i.target;this._startPos=this._newPos=new x(i.clientX,i.clientY),n.tagName&&\\\"a\\\"===n.tagName.toLowerCase()&&pt(n,\\\"leaflet-active\\\"),this._holdTimeout=setTimeout(e(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent(\\\"contextmenu\\\",i))},this),1e3),this._simulateEvent(\\\"mousedown\\\",i),V(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),q(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var i=t.changedTouches[0],e=i.target;e&&e.tagName&&\\\"a\\\"===e.tagName.toLowerCase()&&mt(e,\\\"leaflet-active\\\"),this._simulateEvent(\\\"mouseup\\\",i),this._isTapValid()&&this._simulateEvent(\\\"click\\\",i)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)\u003C=this._map.options.tapTolerance},_onMove:function(t){var i=t.touches[0];this._newPos=new x(i.clientX,i.clientY),this._simulateEvent(\\\"mousemove\\\",i)},_simulateEvent:function(t,i){var e=document.createEvent(\\\"MouseEvents\\\");e._simulated=!0,i.target._simulatedClick=!0,e.initMouseEvent(t,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),i.target.dispatchEvent(e)}});Vi&&!Ui&&Le.addInitHook(\\\"addHandler\\\",\\\"tap\\\",Mn),Le.mergeOptions({touchZoom:Vi&&!zi,bounceAtZoomLimits:!0});var Cn=Ze.extend({addHooks:function(){pt(this._map._container,\\\"leaflet-touch-zoom\\\"),V(this._map._container,\\\"touchstart\\\",this._onTouchStart,this)},removeHooks:function(){mt(this._map._container,\\\"leaflet-touch-zoom\\\"),q(this._map._container,\\\"touchstart\\\",this._onTouchStart,this)},_onTouchStart:function(t){var i=this._map;if(t.touches&&2===t.touches.length&&!i._animatingZoom&&!this._zooming){var e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),\\\"center\\\"!==i.options.touchZoom&&(this._pinchStartLatLng=i.containerPointToLatLng(e.add(n)._divideBy(2))),this._startDist=e.distanceTo(n),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),V(document,\\\"touchmove\\\",this._onTouchMove,this),V(document,\\\"touchend\\\",this._onTouchEnd,this),$(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var i=this._map,n=i.mouseEventToContainerPoint(t.touches[0]),o=i.mouseEventToContainerPoint(t.touches[1]),s=n.distanceTo(o)/this._startDist;if(this._zoom=i.getScaleZoom(s,this._startZoom),!i.options.bounceAtZoomLimits&&(this._zoom\u003Ci.getMinZoom()&&s\u003C1||this._zoom>i.getMaxZoom()&&s>1)&&(this._zoom=i._limitZoom(this._zoom)),\\\"center\\\"===i.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=n._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),g(this._animRequest);var a=e(i._move,i,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=f(a,this,!0),$(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,g(this._animRequest),q(document,\\\"touchmove\\\",this._onTouchMove),q(document,\\\"touchend\\\",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Le.addInitHook(\\\"addHandler\\\",\\\"touchZoom\\\",Cn),Le.BoxZoom=Ln,Le.DoubleClickZoom=Pn,Le.Drag=bn,Le.Keyboard=Tn,Le.ScrollWheelZoom=zn,Le.Tap=Mn,Le.TouchZoom=Cn;var Zn=window.L;window.L=t,Object.freeze=$t,t.version=\\\"1.3.1\\\",t.noConflict=function(){return window.L=Zn,this},t.Control=Pe,t.control=be,t.Browser=$i,t.Evented=ui,t.Mixin=Ee,t.Util=ai,t.Class=v,t.Handler=Ze,t.extend=i,t.bind=e,t.stamp=n,t.setOptions=l,t.DomEvent=de,t.DomUtil=xe,t.PosAnimation=we,t.Draggable=Be,t.LineUtil=Oe,t.PolyUtil=Re,t.Point=x,t.point=w,t.Bounds=P,t.bounds=b,t.Transformation=Z,t.transformation=S,t.Projection=je,t.LatLng=M,t.latLng=C,t.LatLngBounds=T,t.latLngBounds=z,t.CRS=ci,t.GeoJSON=nn,t.geoJSON=Kt,t.geoJson=sn,t.Layer=Ue,t.LayerGroup=Ve,t.layerGroup=function(t,i){return new Ve(t,i)},t.FeatureGroup=qe,t.featureGroup=function(t){return new qe(t)},t.ImageOverlay=rn,t.imageOverlay=function(t,i,e){return new rn(t,i,e)},t.VideoOverlay=an,t.videoOverlay=function(t,i,e){return new an(t,i,e)},t.DivOverlay=hn,t.Popup=un,t.popup=function(t,i){return new un(t,i)},t.Tooltip=ln,t.tooltip=function(t,i){return new ln(t,i)},t.Icon=Ge,t.icon=function(t){return new Ge(t)},t.DivIcon=cn,t.divIcon=function(t){return new cn(t)},t.Marker=Xe,t.marker=function(t,i){return new Xe(t,i)},t.TileLayer=dn,t.tileLayer=Yt,t.GridLayer=_n,t.gridLayer=function(t){return new _n(t)},t.SVG=xn,t.svg=Jt,t.Renderer=mn,t.Canvas=fn,t.canvas=Xt,t.Path=Je,t.CircleMarker=$e,t.circleMarker=function(t,i){return new $e(t,i)},t.Circle=Qe,t.circle=function(t,i,e){return new Qe(t,i,e)},t.Polyline=tn,t.polyline=function(t,i){return new tn(t,i)},t.Polygon=en,t.polygon=function(t,i){return new en(t,i)},t.Rectangle=wn,t.rectangle=function(t,i){return new wn(t,i)},t.Map=Le,t.map=function(t,i){return new Le(t,i)}});\\n}\\nexports.L = L;\\n\",\n \"type\": \"application/javascript\",\n \"title\": \"$:/plugins/sycom/leaflet/lib/leaflet.js\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/sycom/leaflet/lib/leaflet-markercluster.js\": {\n \"text\": \"if($tw.browser){\\n!function(e,t){\\\"object\\\"==typeof exports&&\\\"undefined\\\"!=typeof module?t(exports):\\\"function\\\"==typeof define&&define.amd?define([\\\"exports\\\"],t):t((e.Leaflet=e.Leaflet||{},e.Leaflet.markercluster=e.Leaflet.markercluster||{}))}(this,function(e){\\\"use strict\\\";var t=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:\\\"#222\\\",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(e){L.Util.setOptions(this,e),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var t=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,t?this._withAnimation:this._noAnimation),this._markerCluster=t?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(e){if(e instanceof L.LayerGroup)return this.addLayers([e]);if(!e.getLatLng)return this._nonPointGroup.addLayer(e),this.fire(\\\"layeradd\\\",{layer:e}),this;if(!this._map)return this._needsClustering.push(e),this.fire(\\\"layeradd\\\",{layer:e}),this;if(this.hasLayer(e))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(e,this._maxZoom),this.fire(\\\"layeradd\\\",{layer:e}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var t=e,i=this._zoom;if(e.__parent)for(;t.__parent._zoom>=i;)t=t.__parent;return this._currentShownBounds.contains(t.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(e,t):this._animationAddLayerNonAnimated(e,t)),this},removeLayer:function(e){return e instanceof L.LayerGroup?this.removeLayers([e]):e.getLatLng?this._map?e.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(e)),this._removeLayer(e,!0),this.fire(\\\"layerremove\\\",{layer:e}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),e.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(e)&&(this._featureGroup.removeLayer(e),e.clusterShow&&e.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,e)&&this.hasLayer(e)&&this._needsRemoving.push({layer:e,latlng:e._latlng}),this.fire(\\\"layerremove\\\",{layer:e}),this):(this._nonPointGroup.removeLayer(e),this.fire(\\\"layerremove\\\",{layer:e}),this)},addLayers:function(e,t){if(!L.Util.isArray(e))return this.addLayer(e);var i,n=this._featureGroup,r=this._nonPointGroup,s=this.options.chunkedLoading,o=this.options.chunkInterval,a=this.options.chunkProgress,h=e.length,l=0,u=!0;if(this._map){var _=(new Date).getTime(),d=L.bind(function(){for(var c=(new Date).getTime();h>l;l++){if(s&&0===l%200){var p=(new Date).getTime()-c;if(p>o)break}if(i=e[l],i instanceof L.LayerGroup)u&&(e=e.slice(),u=!1),this._extractNonGroupLayers(i,e),h=e.length;else if(i.getLatLng){if(!this.hasLayer(i)&&(this._addLayer(i,this._maxZoom),t||this.fire(\\\"layeradd\\\",{layer:i}),i.__parent&&2===i.__parent.getChildCount())){var f=i.__parent.getAllChildMarkers(),m=f[0]===i?f[1]:f[0];n.removeLayer(m)}}else r.addLayer(i),t||this.fire(\\\"layeradd\\\",{layer:i})}a&&a(l,h,(new Date).getTime()-_),l===h?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(d,this.options.chunkDelay)},this);d()}else for(var c=this._needsClustering;h>l;l++)i=e[l],i instanceof L.LayerGroup?(u&&(e=e.slice(),u=!1),this._extractNonGroupLayers(i,e),h=e.length):i.getLatLng?this.hasLayer(i)||c.push(i):r.addLayer(i);return this},removeLayers:function(e){var t,i,n=e.length,r=this._featureGroup,s=this._nonPointGroup,o=!0;if(!this._map){for(t=0;n>t;t++)i=e[t],i instanceof L.LayerGroup?(o&&(e=e.slice(),o=!1),this._extractNonGroupLayers(i,e),n=e.length):(this._arraySplice(this._needsClustering,i),s.removeLayer(i),this.hasLayer(i)&&this._needsRemoving.push({layer:i,latlng:i._latlng}),this.fire(\\\"layerremove\\\",{layer:i}));return this}if(this._unspiderfy){this._unspiderfy();var a=e.slice(),h=n;for(t=0;h>t;t++)i=a[t],i instanceof L.LayerGroup?(this._extractNonGroupLayers(i,a),h=a.length):this._unspiderfyLayer(i)}for(t=0;n>t;t++)i=e[t],i instanceof L.LayerGroup?(o&&(e=e.slice(),o=!1),this._extractNonGroupLayers(i,e),n=e.length):i.__parent?(this._removeLayer(i,!0,!0),this.fire(\\\"layerremove\\\",{layer:i}),r.hasLayer(i)&&(r.removeLayer(i),i.clusterShow&&i.clusterShow())):(s.removeLayer(i),this.fire(\\\"layerremove\\\",{layer:i}));return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(e){e.off(this._childMarkerEventHandlers,this),delete e.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var e=new L.LatLngBounds;this._topClusterLevel&&e.extend(this._topClusterLevel._bounds);for(var t=this._needsClustering.length-1;t>=0;t--)e.extend(this._needsClustering[t].getLatLng());return e.extend(this._nonPointGroup.getBounds()),e},eachLayer:function(e,t){var i,n,r,s=this._needsClustering.slice(),o=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(s),n=s.length-1;n>=0;n--){for(i=!0,r=o.length-1;r>=0;r--)if(o[r].layer===s[n]){i=!1;break}i&&e.call(t,s[n])}this._nonPointGroup.eachLayer(e,t)},getLayers:function(){var e=[];return this.eachLayer(function(t){e.push(t)}),e},getLayer:function(e){var t=null;return e=parseInt(e,10),this.eachLayer(function(i){L.stamp(i)===e&&(t=i)}),t},hasLayer:function(e){if(!e)return!1;var t,i=this._needsClustering;for(t=i.length-1;t>=0;t--)if(i[t]===e)return!0;for(i=this._needsRemoving,t=i.length-1;t>=0;t--)if(i[t].layer===e)return!1;return!(!e.__parent||e.__parent._group!==this)||this._nonPointGroup.hasLayer(e)},zoomToShowLayer:function(e,t){\\\"function\\\"!=typeof t&&(t=function(){});var i=function(){!e._icon&&!e.__parent._icon||this._inZoomAnimation||(this._map.off(\\\"moveend\\\",i,this),this.off(\\\"animationend\\\",i,this),e._icon?t():e.__parent._icon&&(this.once(\\\"spiderfied\\\",t,this),e.__parent.spiderfy()))};e._icon&&this._map.getBounds().contains(e.getLatLng())?t():e.__parent._zoom\u003CMath.round(this._map._zoom)?(this._map.on(\\\"moveend\\\",i,this),this._map.panTo(e.getLatLng())):(this._map.on(\\\"moveend\\\",i,this),this.on(\\\"animationend\\\",i,this),e.__parent.zoomToBounds())},onAdd:function(e){this._map=e;var t,i,n;if(!isFinite(this._map.getMaxZoom()))throw\\\"Map has no maxZoom specified\\\";for(this._featureGroup.addTo(e),this._nonPointGroup.addTo(e),this._gridClusters||this._generateInitialClusters(),this._maxLat=e.options.crs.projection.MAX_LATITUDE,t=0,i=this._needsRemoving.length;i>t;t++)n=this._needsRemoving[t],n.newlatlng=n.layer._latlng,n.layer._latlng=n.latlng;for(t=0,i=this._needsRemoving.length;i>t;t++)n=this._needsRemoving[t],this._removeLayer(n.layer,!0),n.layer._latlng=n.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on(\\\"zoomend\\\",this._zoomEnd,this),this._map.on(\\\"moveend\\\",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),i=this._needsClustering,this._needsClustering=[],this.addLayers(i,!0)},onRemove:function(e){e.off(\\\"zoomend\\\",this._zoomEnd,this),e.off(\\\"moveend\\\",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(\\\" leaflet-cluster-anim\\\",\\\"\\\"),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(e){for(var t=e;t&&!t._icon;)t=t.__parent;return t||null},_arraySplice:function(e,t){for(var i=e.length-1;i>=0;i--)if(e[i]===t)return e.splice(i,1),!0},_removeFromGridUnclustered:function(e,t){for(var i=this._map,n=this._gridUnclustered,r=Math.floor(this._map.getMinZoom());t>=r&&n[t].removeObject(e,i.project(e.getLatLng(),t));t--);},_childMarkerDragStart:function(e){e.target.__dragStart=e.target._latlng},_childMarkerMoved:function(e){if(!this._ignoreMove&&!e.target.__dragStart){var t=e.target._popup&&e.target._popup.isOpen();this._moveChild(e.target,e.oldLatLng,e.latlng),t&&e.target.openPopup()}},_moveChild:function(e,t,i){e._latlng=t,this.removeLayer(e),e._latlng=i,this.addLayer(e)},_childMarkerDragEnd:function(e){e.target.__dragStart&&this._moveChild(e.target,e.target.__dragStart,e.target._latlng),delete e.target.__dragStart},_removeLayer:function(e,t,i){var n=this._gridClusters,r=this._gridUnclustered,s=this._featureGroup,o=this._map,a=Math.floor(this._map.getMinZoom());t&&this._removeFromGridUnclustered(e,this._maxZoom);var h,l=e.__parent,u=l._markers;for(this._arraySplice(u,e);l&&(l._childCount--,l._boundsNeedUpdate=!0,!(l._zoom\u003Ca));)t&&l._childCount\u003C=1?(h=l._markers[0]===e?l._markers[1]:l._markers[0],n[l._zoom].removeObject(l,o.project(l._cLatLng,l._zoom)),r[l._zoom].addObject(h,o.project(h.getLatLng(),l._zoom)),this._arraySplice(l.__parent._childClusters,l),l.__parent._markers.push(h),h.__parent=l.__parent,l._icon&&(s.removeLayer(l),i||s.addLayer(h))):l._iconNeedsUpdate=!0,l=l.__parent;delete e.__parent},_isOrIsParent:function(e,t){for(;t;){if(e===t)return!0;t=t.parentNode}return!1},fire:function(e,t,i){if(t&&t.layer instanceof L.MarkerCluster){if(t.originalEvent&&this._isOrIsParent(t.layer._icon,t.originalEvent.relatedTarget))return;e=\\\"cluster\\\"+e}L.FeatureGroup.prototype.fire.call(this,e,t,i)},listens:function(e,t){return L.FeatureGroup.prototype.listens.call(this,e,t)||L.FeatureGroup.prototype.listens.call(this,\\\"cluster\\\"+e,t)},_defaultIconCreateFunction:function(e){var t=e.getChildCount(),i=\\\" marker-cluster-\\\";return i+=10>t?\\\"small\\\":100>t?\\\"medium\\\":\\\"large\\\",new L.DivIcon({html:\\\"\u003Cdiv>\u003Cspan>\\\"+t+\\\"\u003C/span>\u003C/div>\\\",className:\\\"marker-cluster\\\"+i,iconSize:new L.Point(40,40)})},_bindEvents:function(){var e=this._map,t=this.options.spiderfyOnMaxZoom,i=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick;(t||n)&&this.on(\\\"clusterclick\\\",this._zoomOrSpiderfy,this),i&&(this.on(\\\"clustermouseover\\\",this._showCoverage,this),this.on(\\\"clustermouseout\\\",this._hideCoverage,this),e.on(\\\"zoomend\\\",this._hideCoverage,this))},_zoomOrSpiderfy:function(e){for(var t=e.layer,i=t;1===i._childClusters.length;)i=i._childClusters[0];i._zoom===this._maxZoom&&i._childCount===t._childCount&&this.options.spiderfyOnMaxZoom?t.spiderfy():this.options.zoomToBoundsOnClick&&t.zoomToBounds(),e.originalEvent&&13===e.originalEvent.keyCode&&this._map._container.focus()},_showCoverage:function(e){var t=this._map;this._inZoomAnimation||(this._shownPolygon&&t.removeLayer(this._shownPolygon),e.layer.getChildCount()>2&&e.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(e.layer.getConvexHull(),this.options.polygonOptions),t.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var e=this.options.spiderfyOnMaxZoom,t=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick,n=this._map;(e||i)&&this.off(\\\"clusterclick\\\",this._zoomOrSpiderfy,this),t&&(this.off(\\\"clustermouseover\\\",this._showCoverage,this),this.off(\\\"clustermouseout\\\",this._hideCoverage,this),n.off(\\\"zoomend\\\",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var e=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),e),this._currentShownBounds=e}},_generateInitialClusters:function(){var e=Math.ceil(this._map.getMaxZoom()),t=Math.floor(this._map.getMinZoom()),i=this.options.maxClusterRadius,n=i;\\\"function\\\"!=typeof i&&(n=function(){return i}),null!==this.options.disableClusteringAtZoom&&(e=this.options.disableClusteringAtZoom-1),this._maxZoom=e,this._gridClusters={},this._gridUnclustered={};for(var r=e;r>=t;r--)this._gridClusters[r]=new L.DistanceGrid(n(r)),this._gridUnclustered[r]=new L.DistanceGrid(n(r));this._topClusterLevel=new this._markerCluster(this,t-1)},_addLayer:function(e,t){var i,n,r=this._gridClusters,s=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(e),e.on(this._childMarkerEventHandlers,this);t>=o;t--){i=this._map.project(e.getLatLng(),t);var a=r[t].getNearObject(i);if(a)return a._addChild(e),e.__parent=a,void 0;if(a=s[t].getNearObject(i)){var h=a.__parent;h&&this._removeLayer(a,!1);var l=new this._markerCluster(this,t,a,e);r[t].addObject(l,this._map.project(l._cLatLng,t)),a.__parent=l,e.__parent=l;var u=l;for(n=t-1;n>h._zoom;n--)u=new this._markerCluster(this,n,u),r[n].addObject(u,this._map.project(a.getLatLng(),n));return h._addChild(u),this._removeFromGridUnclustered(a,t),void 0}s[t].addObject(e,i)}this._topClusterLevel._addChild(e),e.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(e){e instanceof L.MarkerCluster&&e._iconNeedsUpdate&&e._updateIcon()})},_enqueue:function(e){this._queue.push(e),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var e=0;e\u003Cthis._queue.length;e++)this._queue[e].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var e=Math.round(this._map._zoom);this._processQueue(),this._zoom\u003Ce&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,e)):this._zoom>e?(this._animationStart(),this._animationZoomOut(this._zoom,e)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(e){var t=this._maxLat;return void 0!==t&&(e.getNorth()>=t&&(e._northEast.lat=1/0),e.getSouth()\u003C=-t&&(e._southWest.lat=-1/0)),e},_animationAddLayerNonAnimated:function(e,t){if(t===e)this._featureGroup.addLayer(e);else if(2===t._childCount){t._addToMap();var i=t.getAllChildMarkers();this._featureGroup.removeLayer(i[0]),this._featureGroup.removeLayer(i[1])}else t._updateIcon()},_extractNonGroupLayers:function(e,t){var i,n=e.getLayers(),r=0;for(t=t||[];r\u003Cn.length;r++)i=n[r],i instanceof L.LayerGroup?this._extractNonGroupLayers(i,t):t.push(i);return t},_overrideMarkerIcon:function(e){var t=e.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[e]}});return t}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this.fire(\\\"animationend\\\")},_animationZoomOut:function(e,t){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this.fire(\\\"animationend\\\")},_animationAddLayer:function(e,t){this._animationAddLayerNonAnimated(e,t)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=\\\" leaflet-cluster-anim\\\",this._inZoomAnimation++},_animationZoomIn:function(e,t){var i,n=this._getExpandedVisibleBounds(),r=this._featureGroup,s=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(n,e,s,function(s){var o,a=s._latlng,h=s._markers;for(n.contains(a)||(a=null),s._isSingleParent()&&e+1===t?(r.removeLayer(s),s._recursivelyAddChildrenToMap(null,t,n)):(s.clusterHide(),s._recursivelyAddChildrenToMap(a,t,n)),i=h.length-1;i>=0;i--)o=h[i],n.contains(o._latlng)||r.removeLayer(o)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(n,t),r.eachLayer(function(e){e instanceof L.MarkerCluster||!e._icon||e.clusterShow()}),this._topClusterLevel._recursively(n,e,t,function(e){e._recursivelyRestoreChildPositions(t)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(n,e,s,function(e){r.removeLayer(e),e.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(e,t){this._animationZoomOutSingle(this._topClusterLevel,e-1,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,t,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),e,this._getExpandedVisibleBounds())},_animationAddLayer:function(e,t){var i=this,n=this._featureGroup;n.addLayer(e),t!==e&&(t._childCount>2?(t._updateIcon(),this._forceLayout(),this._animationStart(),e._setPos(this._map.latLngToLayerPoint(t.getLatLng())),e.clusterHide(),this._enqueue(function(){n.removeLayer(e),e.clusterShow(),i._animationEnd()})):(this._forceLayout(),i._animationStart(),i._animationZoomOutSingle(t,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(e,t,i){var n=this._getExpandedVisibleBounds(),r=Math.floor(this._map.getMinZoom());e._recursivelyAnimateChildrenInAndAddSelfToMap(n,r,t+1,i);var s=this;this._forceLayout(),e._recursivelyBecomeVisible(n,i),this._enqueue(function(){if(1===e._childCount){var o=e._markers[0];this._ignoreMove=!0,o.setLatLng(o.getLatLng()),this._ignoreMove=!1,o.clusterShow&&o.clusterShow()}else e._recursively(n,i,r,function(e){e._recursivelyRemoveChildrenFromMap(n,r,t+1)});s._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(\\\" leaflet-cluster-anim\\\",\\\"\\\")),this._inZoomAnimation--,this.fire(\\\"animationend\\\")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(e){return new L.MarkerClusterGroup(e)};var i=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(e,t,i,n){L.Marker.prototype.initialize.call(this,i?i._cLatLng||i.getLatLng():new L.LatLng(0,0),{icon:this,pane:e.options.clusterPane}),this._group=e,this._zoom=t,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,i&&this._addChild(i),n&&this._addChild(n)},getAllChildMarkers:function(e){e=e||[];for(var t=this._childClusters.length-1;t>=0;t--)this._childClusters[t].getAllChildMarkers(e);for(var i=this._markers.length-1;i>=0;i--)e.push(this._markers[i]);return e},getChildCount:function(){return this._childCount},zoomToBounds:function(e){for(var t,i=this._childClusters.slice(),n=this._group._map,r=n.getBoundsZoom(this._bounds),s=this._zoom+1,o=n.getZoom();i.length>0&&r>s;){s++;var a=[];for(t=0;t\u003Ci.length;t++)a=a.concat(i[t]._childClusters);i=a}r>s?this._group._map.setView(this._latlng,s):o>=r?this._group._map.setView(this._latlng,o+1):this._group._map.fitBounds(this._bounds,e)},getBounds:function(){var e=new L.LatLngBounds;return e.extend(this._bounds),e},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(e,t){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(e),e instanceof L.MarkerCluster?(t||(this._childClusters.push(e),e.__parent=this),this._childCount+=e._childCount):(t||this._markers.push(e),this._childCount++),this.__parent&&this.__parent._addChild(e,!0)},_setClusterCenter:function(e){this._cLatLng||(this._cLatLng=e._cLatLng||e._latlng)},_resetBounds:function(){var e=this._bounds;e._southWest&&(e._southWest.lat=1/0,e._southWest.lng=1/0),e._northEast&&(e._northEast.lat=-1/0,e._northEast.lng=-1/0)},_recalculateBounds:function(){var e,t,i,n,r=this._markers,s=this._childClusters,o=0,a=0,h=this._childCount;if(0!==h){for(this._resetBounds(),e=0;e\u003Cr.length;e++)i=r[e]._latlng,this._bounds.extend(i),o+=i.lat,a+=i.lng;for(e=0;e\u003Cs.length;e++)t=s[e],t._boundsNeedUpdate&&t._recalculateBounds(),this._bounds.extend(t._bounds),i=t._wLatLng,n=t._childCount,o+=i.lat*n,a+=i.lng*n;this._latlng=this._wLatLng=new L.LatLng(o/h,a/h),this._boundsNeedUpdate=!1}},_addToMap:function(e){e&&(this._backupLatlng=this._latlng,this.setLatLng(e)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(e,t,i){this._recursively(e,this._group._map.getMinZoom(),i-1,function(e){var i,n,r=e._markers;for(i=r.length-1;i>=0;i--)n=r[i],n._icon&&(n._setPos(t),n.clusterHide())},function(e){var i,n,r=e._childClusters;for(i=r.length-1;i>=0;i--)n=r[i],n._icon&&(n._setPos(t),n.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(e,t,i,n){this._recursively(e,n,t,function(r){r._recursivelyAnimateChildrenIn(e,r._group._map.latLngToLayerPoint(r.getLatLng()).round(),i),r._isSingleParent()&&i-1===n?(r.clusterShow(),r._recursivelyRemoveChildrenFromMap(e,t,i)):r.clusterHide(),r._addToMap()})},_recursivelyBecomeVisible:function(e,t){this._recursively(e,this._group._map.getMinZoom(),t,null,function(e){e.clusterShow()})},_recursivelyAddChildrenToMap:function(e,t,i){this._recursively(i,this._group._map.getMinZoom()-1,t,function(n){if(t!==n._zoom)for(var r=n._markers.length-1;r>=0;r--){var s=n._markers[r];i.contains(s._latlng)&&(e&&(s._backupLatlng=s.getLatLng(),s.setLatLng(e),s.clusterHide&&s.clusterHide()),n._group._featureGroup.addLayer(s))}},function(t){t._addToMap(e)})},_recursivelyRestoreChildPositions:function(e){for(var t=this._markers.length-1;t>=0;t--){var i=this._markers[t];i._backupLatlng&&(i.setLatLng(i._backupLatlng),delete i._backupLatlng)}if(e-1===this._zoom)for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n]._restorePosition();else for(var r=this._childClusters.length-1;r>=0;r--)this._childClusters[r]._recursivelyRestoreChildPositions(e)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(e,t,i,n){var r,s;this._recursively(e,t-1,i-1,function(e){for(s=e._markers.length-1;s>=0;s--)r=e._markers[s],n&&n.contains(r._latlng)||(e._group._featureGroup.removeLayer(r),r.clusterShow&&r.clusterShow())},function(e){for(s=e._childClusters.length-1;s>=0;s--)r=e._childClusters[s],n&&n.contains(r._latlng)||(e._group._featureGroup.removeLayer(r),r.clusterShow&&r.clusterShow())})},_recursively:function(e,t,i,n,r){var s,o,a=this._childClusters,h=this._zoom;if(h>=t&&(n&&n(this),r&&h===i&&r(this)),t>h||i>h)for(s=a.length-1;s>=0;s--)o=a[s],e.intersects(o._bounds)&&o._recursively(e,t,i,n,r)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){return this.options.opacityWhenUnclustered=this.options.opacity||1,this.setOpacity(0)},clusterShow:function(){var e=this.setOpacity(this.options.opacity||this.options.opacityWhenUnclustered);return delete this.options.opacityWhenUnclustered,e}}),L.DistanceGrid=function(e){this._cellSize=e,this._sqCellSize=e*e,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(e,t){var i=this._getCoord(t.x),n=this._getCoord(t.y),r=this._grid,s=r[n]=r[n]||{},o=s[i]=s[i]||[],a=L.Util.stamp(e);this._objectPoint[a]=t,o.push(e)},updateObject:function(e,t){this.removeObject(e),this.addObject(e,t)},removeObject:function(e,t){var i,n,r=this._getCoord(t.x),s=this._getCoord(t.y),o=this._grid,a=o[s]=o[s]||{},h=a[r]=a[r]||[];for(delete this._objectPoint[L.Util.stamp(e)],i=0,n=h.length;n>i;i++)if(h[i]===e)return h.splice(i,1),1===n&&delete a[r],!0},eachObject:function(e,t){var i,n,r,s,o,a,h,l=this._grid;for(i in l){o=l[i];for(n in o)for(a=o[n],r=0,s=a.length;s>r;r++)h=e.call(t,a[r]),h&&(r--,s--)}},getNearObject:function(e){var t,i,n,r,s,o,a,h,l=this._getCoord(e.x),u=this._getCoord(e.y),_=this._objectPoint,d=this._sqCellSize,c=null;for(t=u-1;u+1>=t;t++)if(r=this._grid[t])for(i=l-1;l+1>=i;i++)if(s=r[i])for(n=0,o=s.length;o>n;n++)a=s[n],h=this._sqDist(_[L.Util.stamp(a)],e),(d>h||d>=h&&null===c)&&(d=h,c=a);return c},_getCoord:function(e){var t=Math.floor(e/this._cellSize);return isFinite(t)?t:e},_sqDist:function(e,t){var i=t.x-e.x,n=t.y-e.y;return i*i+n*n}},function(){L.QuickHull={getDistant:function(e,t){var i=t[1].lat-t[0].lat,n=t[0].lng-t[1].lng;return n*(e.lat-t[0].lat)+i*(e.lng-t[0].lng)},findMostDistantPointFromBaseLine:function(e,t){var i,n,r,s=0,o=null,a=[];for(i=t.length-1;i>=0;i--)n=t[i],r=this.getDistant(n,e),r>0&&(a.push(n),r>s&&(s=r,o=n));return{maxPoint:o,newPoints:a}},buildConvexHull:function(e,t){var i=[],n=this.findMostDistantPointFromBaseLine(e,t);return n.maxPoint?(i=i.concat(this.buildConvexHull([e[0],n.maxPoint],n.newPoints)),i=i.concat(this.buildConvexHull([n.maxPoint,e[1]],n.newPoints))):[e[0]]},getConvexHull:function(e){var t,i=!1,n=!1,r=!1,s=!1,o=null,a=null,h=null,l=null,u=null,_=null;for(t=e.length-1;t>=0;t--){var d=e[t];(i===!1||d.lat>i)&&(o=d,i=d.lat),(n===!1||d.lat\u003Cn)&&(a=d,n=d.lat),(r===!1||d.lng>r)&&(h=d,r=d.lng),(s===!1||d.lng\u003Cs)&&(l=d,s=d.lng)}n!==i?(_=a,u=o):(_=l,u=h);var c=[].concat(this.buildConvexHull([_,u],e),this.buildConvexHull([u,_],e));return c}}}(),L.MarkerCluster.include({getConvexHull:function(){var e,t,i=this.getAllChildMarkers(),n=[];for(t=i.length-1;t>=0;t--)e=i[t].getLatLng(),n.push(e);return L.QuickHull.getConvexHull(n)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var e,t=this.getAllChildMarkers(),i=this._group,n=i._map,r=n.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,t.length>=this._circleSpiralSwitchover?e=this._generatePointsSpiral(t.length,r):(r.y+=10,e=this._generatePointsCircle(t.length,r)),this._animationSpiderfy(t,e)}},unspiderfy:function(e){this._group._inZoomAnimation||(this._animationUnspiderfy(e),this._group._spiderfied=null)},_generatePointsCircle:function(e,t){var i,n,r=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+e),s=r/this._2PI,o=this._2PI/e,a=[];for(s=Math.max(s,35),a.length=e,i=0;e>i;i++)n=this._circleStartAngle+i*o,a[i]=new L.Point(t.x+s*Math.cos(n),t.y+s*Math.sin(n))._round();return a},_generatePointsSpiral:function(e,t){var i,n=this._group.options.spiderfyDistanceMultiplier,r=n*this._spiralLengthStart,s=n*this._spiralFootSeparation,o=n*this._spiralLengthFactor*this._2PI,a=0,h=[];for(h.length=e,i=e;i>=0;i--)e>i&&(h[i]=new L.Point(t.x+r*Math.cos(a),t.y+r*Math.sin(a))._round()),a+=s/r+5e-4*i,r+=o/a;return h},_noanimationUnspiderfy:function(){var e,t,i=this._group,n=i._map,r=i._featureGroup,s=this.getAllChildMarkers();for(i._ignoreMove=!0,this.setOpacity(1),t=s.length-1;t>=0;t--)e=s[t],r.removeLayer(e),e._preSpiderfyLatlng&&(e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng),e.setZIndexOffset&&e.setZIndexOffset(0),e._spiderLeg&&(n.removeLayer(e._spiderLeg),delete e._spiderLeg);i.fire(\\\"unspiderfied\\\",{cluster:this,markers:s}),i._ignoreMove=!1,i._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(e,t){var i,n,r,s,o=this._group,a=o._map,h=o._featureGroup,l=this._group.options.spiderLegPolylineOptions;for(o._ignoreMove=!0,i=0;i\u003Ce.length;i++)s=a.layerPointToLatLng(t[i]),n=e[i],r=new L.Polyline([this._latlng,s],l),a.addLayer(r),n._spiderLeg=r,n._preSpiderfyLatlng=n._latlng,n.setLatLng(s),n.setZIndexOffset&&n.setZIndexOffset(1e6),h.addLayer(n);this.setOpacity(.3),o._ignoreMove=!1,o.fire(\\\"spiderfied\\\",{cluster:this,markers:e})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(e,t){var i,n,r,s,o,a,h=this,l=this._group,u=l._map,_=l._featureGroup,d=this._latlng,c=u.latLngToLayerPoint(d),p=L.Path.SVG,f=L.extend({},this._group.options.spiderLegPolylineOptions),m=f.opacity;for(void 0===m&&(m=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),p?(f.opacity=0,f.className=(f.className||\\\"\\\")+\\\" leaflet-cluster-spider-leg\\\"):f.opacity=m,l._ignoreMove=!0,i=0;i\u003Ce.length;i++)n=e[i],a=u.layerPointToLatLng(t[i]),r=new L.Polyline([d,a],f),u.addLayer(r),n._spiderLeg=r,p&&(s=r._path,o=s.getTotalLength()+.1,s.style.strokeDasharray=o,s.style.strokeDashoffset=o),n.setZIndexOffset&&n.setZIndexOffset(1e6),n.clusterHide&&n.clusterHide(),_.addLayer(n),n._setPos&&n._setPos(c);for(l._forceLayout(),l._animationStart(),i=e.length-1;i>=0;i--)a=u.layerPointToLatLng(t[i]),n=e[i],n._preSpiderfyLatlng=n._latlng,n.setLatLng(a),n.clusterShow&&n.clusterShow(),p&&(r=n._spiderLeg,s=r._path,s.style.strokeDashoffset=0,r.setStyle({opacity:m}));this.setOpacity(.3),l._ignoreMove=!1,setTimeout(function(){l._animationEnd(),l.fire(\\\"spiderfied\\\",{cluster:h,markers:e})},200)},_animationUnspiderfy:function(e){var t,i,n,r,s,o,a=this,h=this._group,l=h._map,u=h._featureGroup,_=e?l._latLngToNewLayerPoint(this._latlng,e.zoom,e.center):l.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(),c=L.Path.SVG;for(h._ignoreMove=!0,h._animationStart(),this.setOpacity(1),i=d.length-1;i>=0;i--)t=d[i],t._preSpiderfyLatlng&&(t.closePopup(),t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng,o=!0,t._setPos&&(t._setPos(_),o=!1),t.clusterHide&&(t.clusterHide(),o=!1),o&&u.removeLayer(t),c&&(n=t._spiderLeg,r=n._path,s=r.getTotalLength()+.1,r.style.strokeDashoffset=s,n.setStyle({opacity:0})));h._ignoreMove=!1,setTimeout(function(){var e=0;for(i=d.length-1;i>=0;i--)t=d[i],t._spiderLeg&&e++;for(i=d.length-1;i>=0;i--)t=d[i],t._spiderLeg&&(t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),e>1&&u.removeLayer(t),l.removeLayer(t._spiderLeg),delete t._spiderLeg);h._animationEnd(),h.fire(\\\"unspiderfied\\\",{cluster:a,markers:d})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on(\\\"click\\\",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on(\\\"zoomstart\\\",this._unspiderfyZoomStart,this),this._map.on(\\\"zoomend\\\",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off(\\\"click\\\",this._unspiderfyWrapper,this),this._map.off(\\\"zoomstart\\\",this._unspiderfyZoomStart,this),this._map.off(\\\"zoomanim\\\",this._unspiderfyZoomAnim,this),this._map.off(\\\"zoomend\\\",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()\\n},_unspiderfyZoomStart:function(){this._map&&this._map.on(\\\"zoomanim\\\",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(e){L.DomUtil.hasClass(this._map._mapPane,\\\"leaflet-touching\\\")||(this._map.off(\\\"zoomanim\\\",this._unspiderfyZoomAnim,this),this._unspiderfy(e))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(e){this._spiderfied&&this._spiderfied.unspiderfy(e)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(e){e._spiderLeg&&(this._featureGroup.removeLayer(e),e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),this._map.removeLayer(e._spiderLeg),delete e._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(e){return e?e instanceof L.MarkerClusterGroup?e=e._topClusterLevel.getAllChildMarkers():e instanceof L.LayerGroup?e=e._layers:e instanceof L.MarkerCluster?e=e.getAllChildMarkers():e instanceof L.Marker&&(e=[e]):e=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(e),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(e),this},_flagParentsIconsNeedUpdate:function(e){var t,i;for(t in e)for(i=e[t].__parent;i;)i._iconNeedsUpdate=!0,i=i.__parent},_refreshSingleMarkerModeMarkers:function(e){var t,i;for(t in e)i=e[t],this.hasLayer(i)&&i.setIcon(this._overrideMarkerIcon(i))}}),L.Marker.include({refreshIconOptions:function(e,t){var i=this.options.icon;return L.setOptions(i,e),this.setIcon(i),t&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),e.MarkerClusterGroup=t,e.MarkerCluster=i});\\n//# sourceMappingURL=leaflet.markercluster.js.map\\n}\\n\",\n \"type\": \"application/javascript\",\n \"title\": \"$:/plugins/sycom/leaflet/lib/leaflet-markercluster.js\",\n \"module-type\": \"library\"\n },\n \"$:/plugins/sycom/leaflet/mapCssTweaks.css.tid\": {\n \"title\": \"$:/plugins/sycom/leaflet/mapCssTweaks.css.tid\",\n \"created\": \"20161028202401905\",\n \"modified\": \"20161111151011600\",\n \"tags\": \"[[$:/tags/Stylesheet]]\",\n \"text\": \"\\\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html\\n\\n/* add some styling tweaks to leaflet */\\n.leaflet-right {\\n\\tmax-width:50%\\n}\\n.leaflet-popup-content h6 {\\n\\tfont-size:.7rem;\\n\\tmargin:0 0 .2rem 0\\n}\\n\\n.leaflet-control-attribution {\\n\\theight:1.5em;\\n}\\n.leaflet-control-attribution:hover {\\n\\theight:auto;\\n}\\n\\n.leaflet-top, .leaflet-bottom {\\n z-index:999;\\n}\\n\\n/* solve conflict between tw and leaflet */\\n.leaflet-zoom-animated {max-width: initial !important}\\n\\n/* solve background image problem for layer control */\\n.leaflet-control-layers-toggle {\\n\\tbackground-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20height%3D%2226%22%20width%3D%2226%22%3E%3Cpath%20d%3D%22M.032%2017.056l13-8%2013%208-13%208-13-8%22%20fill%3D%22%23b9b9b9%22/%3E%3Cpath%20d%3D%22M.032%2017.056l-.032.93%2013%208%2013-8%20.032-.93-13%208z%22%20fill%3D%22%23737373%22/%3E%3Cpath%20d%3D%22M0%2013.076l13-8%2013%208-13%208-13-8%22%20fill%3D%22%23cdcdcd%22/%3E%3Cpath%20d%3D%22M0%2013.076v.91l13%208%2013-8v-.91l-13%208z%22%20fill%3D%22%23737373%22/%3E%3Cpath%20d%3D%22M0%208.986l13-8%2013%208-13%208-13-8%22%20fill-opacity%3D%22.585%22%20stroke%3D%22%23797979%22%20stroke-width%3D%22.1%22%20fill%3D%22%23e9e9e9%22/%3E%3Cpath%20d%3D%22M0%208.986v1l13%208%2013-8v-1l-13%208z%22%20fill%3D%22%23737373%22/%3E%3C/svg%3E') !important\\n}\\n\\n/* default polygon stylin */\\n.polyline {fill:none}\\n.leaflet-popup-content ul {padding:0 1em}\\n\\n/* some styling for clusters */\\n.marker-cluster div {\\n min-width:16px;min-height:16px;\\n border-radius:50%;border:none;\\n vertical-align:middle;text-align:center;font-weight:bold\\n }\\n.marker-cluster div div{width:100%;height:100%}\\n.marker-cluster div span {display:block;text-shadow:0px 0px 6px #ffffff}\\n\\npath.leaflet-clickable {fill:\u003C\u003Ccolour primary>>;fill-opacity: 0.5;stroke:\u003C\u003Ccolour primary>>}\\n.leaflet-marker-colored {fill:\u003C\u003Ccolour primary>>}\\n\"\n },\n \"$:/plugins/sycom/leaflet/mapWidget.tid\": {\n \"title\": \"$:/plugins/sycom/leaflet/mapWidget.tid\",\n \"text\": \"/*\\\\\\ncreated: 20151028202401905\\nmodified: 20170318234011605\\ntitle: $:/plugins/sycom/leaflet/mapWidget.tid\\ntype: application/javascript\\nmodule-type: widget\\n\\nA widget for displaying leaflet map in TiddlyWiki\\n\\n\\\\*/\\n\\n(function() {\\n /* ----------------------- */\\n /*jslint node: true, browser: true */\\n /*global $tw: false */\\n \\\"use strict\\\";\\n var Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget,\\n L = require(\\\"$:/plugins/sycom/leaflet/lib/leaflet.js\\\"),\\n markerClusterGroup = require(\\\"$:/plugins/sycom/leaflet/lib/leaflet-markercluster.js\\\");\\n\\n var mapWidget = function(parseTreeNode, options) {\\n this.initialise(parseTreeNode, options);\\n };\\n\\n // global vars\\n var Map = [], // map collection\\n map = 0, // map order number\\n tn = 0, // tiddler number\\n fCluster = [], // the clusters\\n Colour = [], // the colors\\n clusterRadius = [], // cluster radii\\n clusterType = [], // clustering for whole map or for each tiddler\\n lfltDefBounds = [\\n [52.75, -2.55],\\n [52.85, -2.65]\\n ], // default bounds when nothing given\\n bounds, // global bounds for map ?todo one per map?\\n iter = [], // iteration indicator to avoid infinite loops\\n setting = {}; // the map's settings\\n\\n /* Inherit from the base widget class */\\n mapWidget.prototype = new Widget();\\n\\n /* Render this widget into the DOM */\\n mapWidget.prototype.render = function(parent, nextSibling) {\\n bounds = null;\\n // Compute our attributes\\n this.computeAttributes();\\n // Get the base settings for rendering : width / height (default : 100% / 500px)\\n // !todo : make a settings tidller in order to let user set it for the whole wiki (may be inspired from roadtree)\\n // !todo what happens if windows is resized?\\n var width = this.getAttribute(\\\"width\\\", \\\"100%\\\"),\\n height = this.getAttribute(\\\"height\\\", \\\"420px\\\");\\n // creating the div container\\n var div = this.document.createElement(\\\"div\\\");\\n div.setAttribute(\\\"id\\\", \\\"lfltMap-\\\" + map);\\n div.setAttribute(\\\"style\\\", \\\"width:\\\" + width + \\\";height:\\\" + height);\\n // Save the parent dom node\\n this.parentDomNode = parent;\\n // Compute our attributes\\n // this.computeAttributes();\\n // create the container\\n parent.insertBefore(div, nextSibling);\\n this.domNodes.push(div);\\n // Create the map\\n this.createMap();\\n // Execute our logic\\n this.execute();\\n // increment map number indicator\\n map += 1;\\n };\\n\\n /* Create the map for the widget */\\n mapWidget.prototype.createMap = function(parent, nextSibling) {\\n // create the leaflet and push it to #lfltMap\\n Map[map] = L.map('lfltMap-' + map);\\n // Install base tile layer (if none provided, default is \\\"osm\\\")\\n // get tilelayers from JSON\\n var fonds = JSON.parse(this.wiki.getTiddlerText(\\\"$:/plugins/sycom/leaflet/lib/tileLayers.json\\\"));\\n // create tile layers list object from json list\\n var Tiles = []; // leaflet tile layers\\n var tiles = {}; // tile identifier for control\\n // look for tile parameter\\n setting.tile = this.getAttribute(\\\"tile\\\", \\\"osm\\\");\\n setting.marker = this.getAttribute(\\\"marker\\\", null);\\n // create tile layer list\\n for (var i in fonds) {\\n if (i == setting.tile || fonds[i].id == setting.tile) {\\n setting.tile = fonds[i].id;\\n }\\n var couche = new L.TileLayer(fonds[i].url, {\\n attribution: fonds[i].attrib,\\n minZoom: fonds[i].zMin,\\n maxZoom: fonds[i].zMax,\\n unloadInvisibleTiles: true\\n });\\n Tiles[fonds[i].id] = couche;\\n tiles[fonds[i].nom] = couche;\\n }\\n // if user entered a wrong tile id\\n if (Tiles[setting.tile] === undefined) {\\n setting.tile = \\\"osm\\\";\\n $tw.utils.error(\\\"Seems you entered a wrong tile id, displayed osm instead. Please refer to plugin documentation to avoid this - error : \\\" + error);\\n }\\n Tiles[setting.tile].addTo(Map[map]);\\n // install tile layer control if needed\\n setting.tileControl = this.getAttribute(\\\"tileControl\\\");\\n if (setting.tileControl) {\\n var tControl = L.control.layers(tiles);\\n tControl.addTo(Map[map]);\\n }\\n /* !todo to come next (will have to implement leaflet.draw extension)\\n // look for draw parameter\\n setting.drawControl = this.getAttribute(\\\"drawControl\\\");\\n if (setting.drawControl) {\\n // Initialize the FeatureGroup to store editable layers\\n var drawnItems = new L.FeatureGroup();\\n Map[map].addLayer(drawnItems);\\n // Initialize the draw control and pass it the FeatureGroup of editable layers\\n var drawControl = new L.Control.Draw({\\n edit: {\\n featureGroup: drawnItems\\n }\\n }\\n );\\n Map[map].addControl(drawControl);\\n }\\n*/\\n };\\n\\n /* Compute the internal state of the widget */\\n mapWidget.prototype.execute = function() {\\n // getting wiki primary color\\n // check if you defined a tiddler name for palette but no tiddler with that\\n if(this.wiki.getTiddlerData(this.wiki.getTiddlerText(\\\"$:/palette\\\"))) Colour.wiki = this.wiki.getTiddlerData(this.wiki.getTiddlerText(\\\"$:/palette\\\")).primary;\\n // switch back to basic blue\\n else Colour.wiki = \\\"#5778d8\\\";\\n\\n // switch back to basic tiddlywiki blue if primary is defined from another color\\n /* notes to upgrade this process\\n if primaire is \u003C\u003Ccolour xxxx>> set to default gray\\n if primaire.match(\\\"\u003C\u003C\\\") primaire=\\\"#555\\\"; */\\n if (Colour.wiki.match(/\u003C/g)) Colour.wiki = \\\"#5778d8\\\";\\n\\n // getting style parameters\\n var style = this.getAttribute(\\\"style\\\", undefined);\\n var st;\\n // case style defined\\n if(style !== undefined) {\\n st = JSON.parse(style);\\n // color parameter will overwrite style color and style fillColor parameter\\n if(st.fillColor) Colour[map] = this.getAttribute(\\\"color\\\", st.fillColor);\\n else Colour[map] = this.getAttribute(\\\"color\\\", st.color);\\n }\\n // case style undefined\\n else {\\n st = null;\\n // checking if user defined a color if no color go undefined\\n Colour[map] = this.getAttribute(\\\"color\\\", undefined);\\n }\\n // create default icon\\n // ?todo: only if there are points to display?\\n L.icon.default = lfltIcon(setColor(null, map), setting.marker, map);\\n\\n // create whole map cluster\\n // getting cluster size parameter, if exists\\n clusterRadius[map] = this.getAttribute(\\\"cluster\\\", 80);\\n clusterType[map] = this.getAttribute(\\\"clusterType\\\", \\\"map\\\");\\n if (clusterRadius[map] === 0 || clusterType[map] == \\\"tiddler\\\") {\\n // if clusterRadius null or clustering by tiddler, no whole clustering\\n fCluster[map] = L.featureGroup();\\n } else {\\n // creating a cluter group for whole map\\n fCluster[map] = L.markerClusterGroup({\\n name: \\\"Cluster\\\" + map,\\n polygonOptions: {\\\"weight\\\":\\\"0.5\\\"},\\n maxClusterRadius: clusterRadius[map],\\n /* for the record. may be a function\\n function() {return (clusterRadius - 50) / 9 * Map[map].getZoom() + 50 - (clusterRadius - 50) / 9 },*/\\n iconCreateFunction: createCluster\\n });\\n }\\n // Get the declared places from the attributes\\n var places = this.getAttribute(\\\"places\\\", undefined);\\n var feature = L.featureGroup();\\n // Render the map\\n if (places) mapPlaces(this,\\n JSON.parse(places),\\n Map[map],\\n fCluster[map],\\n null,\\n Colour[map],\\n this.getAttribute(\\\"marker\\\"),\\n st\\n );\\n\\n // set map to objects bounds\\n if (bounds) {\\n Map[map].fitBounds(bounds);\\n } else {\\n bounds = lfltDefBounds;\\n Map[map].fitBounds(bounds);\\n }\\n // if lat long zoom settings, overwrite bounds\\n setting.lat = this.getAttribute(\\\"lat\\\");\\n setting.lg = this.getAttribute(\\\"long\\\");\\n setting.zoom = this.getAttribute(\\\"zoom\\\");\\n // overwrite lat and long center\\n if (setting.lat && setting.lg) {\\n Map[map].setView([setting.lat, setting.lg]);\\n }\\n // overwrite zoom\\n if (setting.zoom) {\\n Map[map].setZoom(setting.zoom);\\n }\\n };\\n\\n // mapping a places json object (parent object, places json object, destination feature, destination cluster, popup for base objects, ands style parameters : color, marker, json style)\\n function mapPlaces(obj, plcs, feat, clust, pop, col, mark, style) {\\n // create feature for this mapping turn\\n var feature = L.featureGroup();\\n // case 1 : data in a tiddler\\n if (plcs.tiddler) {\\n // if no tiddler is given (single space) map current Tiddler\\n // !todo would be much better if so when no attribute at all...\\n if (plcs.tiddler == \\\" \\\") {\\n mapTiddler(obj, obj.getVariable(\\\"currentTiddler\\\"), feature, clust, pop, col, mark, style);\\n }\\n // else, map the given tiddler\\n else {\\n // get data fields in the tiddler, let's seek for geo data\\n mapTiddler(obj, plcs.tiddler, feature, clust, pop, col, mark, style);\\n }\\n }\\n // case 2 : data in multiple tiddlers\\n if (plcs.tiddlers) {\\n mapTiddlers(obj, plcs.tiddlers, feature, clust, pop, col, mark, style);\\n }\\n // case 3 : data in tiddlers following a filter\\n if (plcs.filter) {\\n mapFilter(obj, plcs.filter, feature, clust, pop, col, mark, style);\\n }\\n // case 4 : data are directly listed in places (point(s) - polygon - polyline - geojson)\\n // for each we will\\n // - use dedicated function to populate mapping turn layer\\n // - add layer to map\\n if (plcs.point) {\\n // add the point to the cluster layer\\n mapPoint(plcs.point, clust, pop, col, mark);\\n // add the cluster layer to map\\n feature.addLayer(clust);\\n // set bounds\\n }\\n if (plcs.points) {\\n // ?todo : create a cluster for those points if clusterType == \\\"tiddler\\\"\\n mapPoints(plcs.points, clust, pop, col, mark);\\n feature.addLayer(clust);\\n }\\n if (plcs.polygon) {\\n var polygFeat = L.featureGroup();\\n mapPolyg(plcs.polygon, polygFeat, pop, col, style);\\n polygFeat.addTo(feature);\\n }\\n if (plcs.polygons) {\\n var polygsFeat = L.featureGroup();\\n mapPolygs(plcs.polygons, polygsFeat, pop, col, style);\\n polygsFeat.addTo(feature);\\n }\\n if (plcs.polyline) {\\n var polylFeat = L.featureGroup();\\n mapPolyl(plcs.polyline, polylFeat, pop, col, style);\\n polylFeat.addTo(feature);\\n }\\n if (plcs.polylines) {\\n var polylsFeat = L.featureGroup();\\n mapPolyls(plcs.polylines, polylsFeat, pop, col, style);\\n polylsFeat.addTo(feature);\\n }\\n if (plcs.geojson) {\\n // !todo : create a cluster for those points if clusterType == \\\"tiddler\\\"\\n var geojsonFeat = L.featureGroup();\\n mapGeoJson(plcs.geojson, geojsonFeat, clust, col, mark, style);\\n geojsonFeat.addTo(feat);\\n }\\n // add feature to map\\n feature.addTo(feat);\\n extBounds(feature);\\n }\\n\\n // add a marker for a point\\n function mapPoint(coord, clust, pop, col, mark) {\\n try {\\n var location = coord.split(\\\",\\\");\\n } catch (err) {displayError(\\\"point coord error\\\", err);}\\n try {\\n var marker = L.marker(location, {\\n icon: lfltIcon(col, mark, map)\\n });\\n if (pop) marker.bindPopup(pop);\\n\\t\\t\\tif (clust.count) clust.count +=1;\\n\\t\\t\\telse clust.count = 1;\\n clust.addLayer(marker);\\n } catch (err) {displayError(\\\"point marker error\\\", err);}\\n }\\n // add a marker serie for a points list\\n function mapPoints(list, clust, pop, col, mark) {\\n var Points = list.split(\\\" \\\");\\n for (var pt in Points) {\\n mapPoint(Points[pt], clust, pop, col, mark);\\n }\\n }\\n\\n // add a polygon\\n function mapPolyg(list, feat, pop, col, st) {\\n var Coords = list.split(\\\" \\\");\\n var Shape = [];\\n try {\\n for (var nd in Coords) {\\n var location = Coords[nd].split(\\\",\\\");\\n Shape.push(location);\\n }\\n } catch (err) {\\n displayError(\\\"polygone\\\", err);\\n }\\n try {\\n var polygon = L.polygon(Shape, {\\n color: setColor(col, map)\\n });\\n if (st) polygon.setStyle(checkStyle(st, col));\\n if (pop) polygon.bindPopup(pop);\\n polygon.addTo(feat);\\n } catch (err) {\\n displayError(\\\"polygone\\\", err);\\n }\\n }\\n // add a polygons collection\\n function mapPolygs(collec, feat, pop, col, st) {\\n var Polys = collec.split(\\\"|\\\");\\n for (var pg in Polys) {\\n mapPolyg(Polys[pg], feat, pop, col, st);\\n }\\n }\\n // add a polyline\\n function mapPolyl(list, feat, pop, col, st) {\\n var Coords = list.split(\\\" \\\");\\n var Line = [];\\n try {\\n for (var nd in Coords) {\\n var location = Coords[nd].split(\\\",\\\");\\n Line.push(location);\\n }\\n } catch (err) {\\n displayError(\\\"polyline\\\", err);\\n }\\n try {\\n var polyline = L.polyline(Line, {\\n color: setColor(col,map)\\n });\\n if (st) polyline.setStyle(checkStyle(st, col));\\n if (pop) polyline.bindPopup(pop);\\n // add polyline class in order to make fill transparent\\n polyline.setStyle({\\n \\\"className\\\": \\\"polyline\\\"\\n }).addTo(feat);\\n } catch (err) {\\n displayError(\\\"polyline\\\", err);\\n }\\n }\\n // add a polylines collection\\n function mapPolyls(collec, feat, pop, col, st) {\\n var Lines = collec.split(\\\"|\\\");\\n for (var ln in Lines) {\\n mapPolyl(Lines[ln], feat, pop, col, st);\\n }\\n }\\n\\n // add a geojson set\\n function mapGeoJson(geojson, feat, clust, col, mark, st) {\\n try {\\n var data = JSON.parse(geojson);\\n var geoJson = L.geoJSON(data, {\\n // adding style\\n style: function (feature) {\\n // get feature style only if style is not injected\\n // ?todo : only overwrite injected values?\\n if (st === undefined || st === null) {\\n st = {};\\n if(feature.properties.style !== undefined) st = feature.properties.style;\\n }\\n // get feature properties style if exists\\n if(feature.properties.color !== undefined) {\\n st.color = feature.properties.color;\\n st.fillColor = st.color;\\n }\\n // color parameter overwrite style color if exists\\n if (col !== undefined && col !== null) {\\n st.color = col;\\n st.fillColor = col;\\n }\\n // if no color is defined at the end, fallback\\n if (st.color === undefined) {\\n col = setColor(col, map);\\n st.color = col;\\n st.fillColor = col;\\n }\\n return st;\\n },\\n onEachFeature: function (feature, layer) {\\n layer.bindPopup(jsonPop(feature));\\n },\\n // adding points\\n pointToLayer: function(geoJsonPoint, latlng) {\\n // working to get color (from properties)\\n var cl;\\n if(geoJsonPoint.properties.color !== undefined) cl = geoJsonPoint.properties.color;\\n if(geoJsonPoint.properties.fillColor !== undefined) cl = geoJsonPoint.properties.fillColor;\\n if(col !== undefined && col !== null) cl = col;\\n // binding default icon\\n var jsonPoint = L.marker(latlng, {\\n icon: lfltIcon(cl, mark, map)\\n });\\n jsonPoint.bindPopup(jsonPop(geoJsonPoint));\\n\\t\\t\\t\\t\\tif (clust.count) clust.count +=1;\\n\\t\\t\\t\\t\\telse clust.count = 1;\\n clust.addLayer(jsonPoint);\\n }\\n });\\n\\n // ?todo : should we add clust to feat or to geoJson? should we add clust even if it's already here?\\n feat.addLayer(clust);\\n feat.addLayer(geoJson);\\n } catch (error) {displayError(\\\"there was an error when displaying geoJson. error : \\\", error);}\\n }\\n\\n // map a tiddler\\n function mapTiddler(obj, tid, feat, clust, pop, col, mark, style) {\\n if(iter.map.tid === undefined) iter.map.tid = 1;\\n else iter.map.tid +=1;\\n if(iter.map.tid \u003C 4242) {\\n // get data fields in the tiddler, let's seek for geo data\\n var flds = obj.wiki.getTiddler(tid).fields,\\n feature = L.featureGroup(), // create the tiddler feature\\n popup = \\\"\\\"; // create the popup text\\n // setting marker, color, style\\n // if no marker injected, trying to get from tiddler\\n if(mark === null || mark === undefined) {\\n if(flds.marker) mark = flds.marker;\\n }\\n // working style and color together\\n var cl, st = {};\\n // style\\n if(flds.style) st = JSON.parse(flds.style);\\n // overwrite with injected values\\n if (style !== undefined && style !== null) {\\n st = style;\\n /* ?todo : should we overwrite only injected?\\n \\tfor (var v in st) {\\n if(style.v !== undefined) st.v = style.v;\\n }\\n \\tfor (var v in style) {\\n \\t}*/\\n }\\n // color\\n if (flds.color) cl = flds.color;\\n // overwrite with injected color style if exists\\n if (style !== undefined && style !== null) {\\n if (st.fillColor !== undefined) cl = st.fillColor\\n }\\n // overwrite with injected color also in style\\n if (col !== undefined && col !== null) {\\n cl = col;\\n st.color = cl; st.fillColor = cl;\\n }\\n Colour[\\\"t\\\" + tn] = cl;\\n // if clusterType is tiddler, creating a cluster group for tiddler\\n // also will have to deal with the filter / tiddler distinction\\n if (clusterType[map] == \\\"tiddler\\\") {\\n // ?todo : automate cluster creation?\\n fCluster[\\\"t\\\" + tn] = L.markerClusterGroup({\\n name: \\\"Cluster\\\" + map + \\\"Cluster\\\" + tn,\\n polygonOptions: {\\\"weight\\\":\\\"0.5\\\"},\\n maxClusterRadius: clusterRadius[map],\\n /* for the record. may be a function\\n function() {return (clusterRadius - 50) / 9 * Map[map].getZoom() + 50 - (clusterRadius - 50) / 9 },*/\\n iconCreateFunction: createCluster\\n });\\n } else {\\n fCluster[\\\"t\\\" + tn] = fCluster[map];\\n }\\n\\n // case 1 : data stored in a json tiddler\\n if (flds.type == \\\"application/json\\\") {\\n // for now, assuming any json stored data is geoJson...\\n var data = obj.wiki.getTiddlerText(tid);\\n mapGeoJson(data, feature, fCluster[\\\"t\\\" + tn], Colour[\\\"t\\\" + tn], mark, st);\\n feat.addLayer(feature);\\n }\\n // case 2 if tiddler is not JSON data, display tiddler stored geodata as point(s), polygon, polyline...\\n else {\\n // create the popup for base objects\\n popup = \\\"\u003Ch4>\u003Ca href=\\\\\\\"#\\\" + encodeURIComponent(flds.title) + \\\"\\\\\\\">\\\" + flds.title + \\\"\u003C/a>\u003C/h4>\\\";\\n var content = \\\"\\\";\\n if (flds.text !== \\\"\\\") {\\n // if tiddler contains a widget, avoid html rendering\\n if (flds.text.match(/\u003C\\\\$leafmap/)) {\\n content += \\\"\u003Cpre>\\\" + flds.text + \\\"\u003C/pre>\\\";\\n }\\n // else render\\n else {\\n content += obj.wiki.renderTiddler(\\\"text/html\\\", tid).substring(0, 420);\\n }\\n }\\n // adding a link to the tiddler\\n content += \\\"\u003Cbr/>(\u003Ca href=\\\\\\\"#\\\" + encodeURIComponent(flds.title) + \\\"\\\\\\\" title=\\\\\\\"read more...\\\\\\\">...\u003C/a>)\\\";\\n popup += content;\\n\\n // map recursively (!!! danger !!!)\\n mapPlaces(obj,\\n flds,\\n feature,\\n fCluster[\\\"t\\\" + tn],\\n popup,\\n cl,\\n mark,\\n st\\n );\\n feature.addTo(feat);\\n }\\n /*\\n// check if anything was rendered before binding popup\\n if (wasRendered == 0) console.log(\\\"tw-leaflet-map-plugin > non geotiddler was listed and not rendered : \\\" + flds.title);\\n // add the layer to the feature\\n feature.addLayer(subFeat);\\n feature.addTo(Map[map]); // layer.addTo(Map[map]);\\n } */\\n // get layer bounds for automatic zoom\\n extBounds(feature);\\n tn++;\\n }\\n // it tiddler rendered two many times for same map. Stoping and error launch\\n else $tw.utils.error(\\\"tiddler [[\\\" + tid + \\\"]] was rendered more than 4242 times in this map. Please double check circular dependencies...\\\");\\n }\\n\\n // map a tiddler collection\\n function mapTiddlers(obj, list, feat, clust, pop, col, mark, style) {\\n var Tids = list.split(\\\" \\\");\\n for (var td in Tids) {\\n mapTiddler(obj, Tids[td], feat, clust, pop, col, mark, style);\\n }\\n }\\n\\n // map tiddlers with a filter\\n function mapFilter(obj, filter, feat, clust, pop, col, mark, style) {\\n try {\\n var Tids = obj.wiki.filterTiddlers(filter);\\n for (var td in Tids) {\\n mapTiddler(obj, Tids[td], feat, clust, pop, col, mark, style);\\n }\\n } catch (error) {\\n $tw.utils.error(\\\"sorry there was something wrong when trying to map your filter. error : \\\" + error);\\n }\\n }\\n\\n // icon url creator\\n function iconUrl(col, tid, m) {\\n var icone = escape($tw.wiki.renderTiddler(\\\"text/html\\\", tid).replace(\\\"$primary$\\\", setColor(col, m)).replace(\\\"\u003C/p>\\\", \\\"\\\").replace(\\\"\u003Cp>\\\", \\\"\\\"));\\n return ('data:image/svg+xml;charset=UTF-8,' + icone);\\n }\\n\\n // create marker\\n // ?todo only if there are points to display;\\n function lfltIcon(col, tid, m) {\\n // checking if marker is defined. Fallback to default\\n if(tid === undefined || tid === null) tid = \\\"$:/plugins/sycom/leaflet/images/marker.svg\\\";\\n else tid = \\\"$:/plugins/sycom/leaflet/images/\\\" + tid + \\\".svg\\\";\\n if($tw.wiki.getTiddler(tid) === undefined) tid = \\\"$:/plugins/sycom/leaflet/images/marker.svg\\\";\\n // !todo create shadow from icon by transform matrix?\\n var shad = tid.split(\\\".svg\\\")[0] + \\\"shadow.svg\\\",\\n shadowUrl = 'data:image/svg+xml;charset=UTF-8,' + escape($tw.wiki.getTiddlerText(shad));\\n // get dimensions in tiddler\\n var MarkDim = $tw.wiki.getTiddler(tid).fields.marker_dim.split(\\\" \\\");\\n var ShadDim = $tw.wiki.getTiddler(shad).fields.marker_dim.split(\\\" \\\");\\n var theIcon = L.icon({\\n iconUrl: iconUrl(col, tid, m),\\n iconRetinaUrl: iconUrl(col, tid, m),\\n iconSize: [MarkDim[0], MarkDim[1]],\\n iconAnchor: [MarkDim[2], MarkDim[3]],\\n popupAnchor: [0, -MarkDim[3]],\\n shadowUrl: shadowUrl,\\n shadowRetinaUrl: shadowUrl,\\n shadowSize: [ShadDim[0], ShadDim[1]],\\n shadowAnchor: [ShadDim[2], ShadDim[3]]\\n });\\n return theIcon;\\n }\\n\\n // set color with fallback to map color or wiki...\\n function setColor(col, m) {\\n if(m === undefined) m = map;\\n if (col === undefined || col === null) col = Colour[m];\\n if (col === undefined || col === null) col = Colour.wiki;\\n return col;\\n }\\n\\n // set style with fallback to map color or wiki...\\n function checkStyle(sty, col) {\\n if (col === undefined || col === null) {\\n if(sty.color === undefined) sty.color = setColor(col, map);\\n if(sty.fillColor === undefined) sty.fillColor = setColor(col, map);\\n }\\n else {\\n sty.color = col;\\n sty.fillColor = col;\\n }\\n return sty;\\n }\\n\\n // coordinate error message\\n function displayError(objectType, error) {\\n $tw.utils.error(\\\"there was an error when mapping a \\\" + objectType + \\\" - error : \\\" + error);\\n }\\n\\n // adjust bounds to layer\\n function extBounds(feat) {\\n try {\\n if (bounds) {\\n bounds.extend(feat.getBounds());\\n } else {\\n if (feat.getBounds()._northEast) {\\n bounds = feat.getBounds();\\n }\\n }\\n } catch (error) {\\n $tw.utils.error(\\\"there was an error when trying to zoom on bounds. error : \\\" + error);\\n }\\n }\\n\\n // cluster icon creation\\n function createCluster(clust) {\\n // getting back map number\\n var m = this.name.split(\\\"Cluster\\\")[1],\\n t = this.name.split(\\\"Cluster\\\")[2],\\n zC = Map[m].getZoom(),\\n z0,cTot,cCol,cOpa;\\n // checking object density mean for the map\\n if (t === undefined) {\\n if (fCluster[m].z0 === undefined) fCluster[m].z0 = zC;\\n z0 = fCluster[m].z0;\\n if (fCluster[m].count === undefined) fCluster[m].count = 1;\\n cTot = fCluster[m].count;\\n cCol = setColor(Colour[m],m);\\n cOpa = 0.85\\n }\\n else {\\n if (fCluster[\\\"t\\\" + t].z0 === undefined) fCluster[\\\"t\\\" + t].z0 = zC;\\n z0 = fCluster[\\\"t\\\" + t].z0;\\n if (fCluster[\\\"t\\\" + t].count === undefined) fCluster[\\\"t\\\" + t].count = 1;\\n cTot = fCluster[\\\"t\\\" + t].count;\\n cCol = setColor(Colour[\\\"t\\\" + t],m);\\n cOpa = 0.65\\n }\\n // cluster icon size will be based on item number and zoom\\n // !todo: use density to get a more \\\"local\\\" percentage before calculating size\\n var cC = clust.getChildCount(),\\n cS = 20 * Math.log(clusterRadius[m]) * (1 + Math.log(cTot)/Math.max(cTot * Math.pow(2,zC-z0),Math.log(cTot))) * (1 - 1 / ((Math.log(cTot) / cTot) * Math.pow(2,zC-z0) * cC + 1));\\n if (cS \u003C 34) cS = 34;\\n var cF; // font size of cluster text\\n if (cC > 9999) cF = cS / 3;\\n else {if (cC > 999) cF = cS / 3.5;\\n else cF = cS / 2}\\n if (cF \u003C 12) cF = 12;\\n // creating icon. Checking tiddler or whole clustering before\\n return new L.DivIcon({\\n html: '\u003Cdiv style=\\\"width:' + cS + 'px;height:' + cS + 'px;font-size:' + cF + 'px;background-color:' + cCol + ';border-color:' + cCol + ';opacity:'+cOpa+'\\\">\u003Cdiv>\u003Cspan style=\\\"line-height:' + cS + 'px;opacity:'+(cOpa+0.12)+'\\\">' + cC + \\\"\u003C/span>\u003C/div>\u003C/div>\\\",\\n className: \\\"marker-cluster marker-cluster-\\\" + cC,\\n iconSize: new L.Point(cS, cS)\\n });\\n }\\n\\n // popup function for Json\\n function jsonPop(feat) {\\n // extracting data to create popup (all non-null data!)\\n var Prop = feat.properties,\\n jsontitle = \\\"\\\",\\n jsondesc = \\\"\\\",\\n jsonhtml = \\\"\\\";\\n // testing if properties title or name exists\\n if (Prop.name) jsontitle += Prop.name + \\\" \\\";\\n if (Prop.title) jsontitle += Prop.title + \\\" \\\";\\n if (Prop.description) jsondesc += Prop.description + \\\"\\\";\\n // populating other data\\n // if we got a title\\n if (jsontitle !== \\\"\\\") {\\n jsonhtml += \\\"\u003Ch4>\\\" + jsontitle + \\\"\u003C/h4>\\\";\\n // if we got a description let's give it\\n if (jsondesc !== \\\"\\\") jsonhtml += jsondesc;\\n else {\\n jsonhtml+= \\\"\u003Cul>\\\";\\n for (var p in Prop) {\\n if (Prop[p] !== null && Prop[p] !== \\\"\\\" && p != \\\"name\\\" && p != \\\"title\\\") jsonhtml += \\\"\u003Cli>\\\" + p + \\\" : \\\" + Prop[p] + \\\"\u003C/li>\\\";\\n }\\n jsonhtml += \\\"\u003C/ul>\\\";\\n }\\n }\\n // if we have no title, giving one with first fields\\n else {\\n // in case we've got a description. Stop after title\\n if (jsondesc !== \\\"\\\") {\\n for (var pr in Prop) {\\n // if title is really to short (as an id), taking next field\\n if (jsontitle.length \u003C 8) jsontitle += Prop[pr] + \\\" \\\";\\n else break;\\n }\\n jsonhtml = \\\"\u003Ch4>\\\" + jsontitle + \\\"\u003C/h4>\\\" + jsonhtml;\\n }\\n else {\\n for (var po in Prop) {\\n // if title is really to short (as an id), taking next field\\n if (jsontitle.length \u003C 4) jsontitle += Prop[po] + \\\" \\\";\\n else {\\n if (Prop[po] !== null && Prop[po] !== \\\"\\\") jsonhtml += \\\"\u003Cli>\\\" + po + \\\" : \\\" + Prop[po] + \\\"\u003C/li>\\\";\\n }\\n }\\n jsonhtml = \\\"\u003Ch4>\\\" + jsontitle + \\\"\u003C/h4>\u003Cul>\\\" + jsonhtml + \\\"\u003C/ul>\\\";\\n }\\n }\\n return jsonhtml;\\n }\\n\\n exports.leafmap = mapWidget;\\n\\n})();\\n/*\\nMISC NOTES for later\\nJSON.parse(tiddler.fields.text);\\nvar jsonData = this.wiki.getTiddlerAsJson(this.to),\\n*/\\n\",\n \"created\": \"20151028202401905\",\n \"modified\": \"20170318234011605\",\n \"type\": \"application/javascript\",\n \"module-type\": \"widget\"\n },\n \"$:/plugins/sycom/leaflet/readme\": {\n \"title\": \"$:/plugins/sycom/leaflet/readme\",\n \"text\": \"The [leaflet plugin](#$:/plugins/sycom/leaflet) is a work in progress integration of the [leaflet][leaflet] library in TiddlyWiki in order to display geographical purpose tiddlers.\\n\\nHave a look at [demo page on the web][plugindemo] or at integrated documentation which describes usage and examples.\\n\\nKeep in mind that the plugin might be buggy or imperfect. Please [report any comment or issue][issues] on main repo.\\n\\n## Sources / licenses\\n* [leaflet][leaflet] library (_1.3.1_) - License 2-clause BSD\\n * leaflet-[markerCluster][markercluster] extension - Licence MIT\\n* [leaflet plugin][source] is released under similar [BSD 3-Clause license][license] as TiddlyWiki.\\n!! Side projects\\n\\n[plugindemo]: https://sycom.gitlab.io/TiddlyWiki-Plugins/#Michel%20Strogoff%20from%20the%20sky\\n[source]: https://framagit.org/sycom/TiddlyWiki-Plugins/plugins/sycom/leaflet\\n[issues]: https://framagit.org/sycom/TiddlyWiki-Plugins/issues\\n[leaflet]: http://leafletjs.com/\\n[markercluster]: https://github.com/Leaflet/Leaflet.markercluster\\n[license]: https://framagit.org/sycom/TiddlyWiki-Plugins/LICENSE.md\\n\",\n \"type\": \"text/x-markdown\",\n \"created\": \"20151119173416000\",\n \"modified\": \"20190332172200000\",\n \"caption\": \"Readme\"\n },\n \"$:/plugins/sycom/leaflet/templates/geoTiddler\": {\n \"title\": \"$:/plugins/sycom/leaflet/templates/geoTiddler\",\n \"created\": \"20180602095702318\",\n \"modified\": \"20180602105242971\",\n \"tags\": \"$:/tags/ViewTemplate\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"text\": \"\u003C$list filter=\\\"[all[current]has[point]] [all[current]has[points]] [all[current]has[polyline]] [all[current]has[polylines]] [all[current]has[polygon]] [all[current]has[polygons]] [all[current]has[places]] [all[current]has[geojson]]\\\">\\n \u003C$leafmap places='{\\\"tiddler\\\":\\\" \\\"}' height='240px'/>\\n\u003C/$list>\\n\"\n }\n }\n}","bag":"default","revision":"0","version":"0.8.6","type":"application/json","title":"$:/plugins/sycom/leaflet","source":"https://framagit.org/sycom/TiddlyWiki-Plugins","plugin-type":"plugin","list":"readme usage geoSyntax tileLayers markers example","description":"Leaflet maps","dependents":"","core-version":">=5.0.0","author":"Sylvain Comte","modified":"20231007121836978","tags":"$:/isAttachment $:/isEmbedded"}, {"title":"$:/plugins/tiddlywiki/mobiledragdrop","name":"Mobile Drag Drop","description":"Mobile drag and drop shim","author":"Tim Ruffles","list":"readme license","version":"5.3.3","plugin-type":"plugin","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/plugins/tiddlywiki/mobiledragdrop/ios-drag-drop.js\":{\"text\":\"(function(doc) {\\n\\nfunction _exposeIosHtml5DragDropShim(config) {\\n log = noop; // noOp, remove this line to enable debugging\\n\\n var coordinateSystemForElementFromPoint;\\n\\n var DRAG_OVER_EMIT_FREQ = 50;\\n\\n function main() {\\n config = config || {};\\n if (!config.hasOwnProperty(\\\"simulateAnchorClick\\\")) config.simulateAnchorClick = true;\\n\\n coordinateSystemForElementFromPoint = navigator.userAgent.match(/OS [1-4](?:_\\\\d+)+ like Mac/) ? \\\"page\\\" : \\\"client\\\";\\n\\n var div = doc.createElement('div');\\n var dragDiv = 'draggable' in div;\\n var evts = 'ondragstart' in div && 'ondrop' in div;\\n\\n var needsPatch = !(dragDiv || evts) || /iPad|iPhone|iPod|Android/.test(navigator.userAgent);\\n log((needsPatch ? \\\"\\\" : \\\"not \\\") + \\\"patching html5 drag drop\\\");\\n\\n if(!needsPatch) {\\n return;\\n }\\n\\n if(!config.enableEnterLeave) {\\n DragDrop.prototype.synthesizeEnterLeave = noop;\\n }\\n\\n if(config.holdToDrag){\\n doc.addEventListener(\\\"touchstart\\\", touchstartDelay(config.holdToDrag), {passive:false});\\n }\\n else {\\n doc.addEventListener(\\\"touchstart\\\", touchstart, {passive:false});\\n }\\n }\\n\\n function DragDrop(event, el) {\\n\\n this.dragData = {};\\n this.dragDataTypes = [];\\n this.dragImage = null;\\n this.dragImageTransform = null;\\n this.dragImageWebKitTransform = null;\\n this.customDragImage = null;\\n this.customDragImageX = null;\\n this.customDragImageY = null;\\n this.el = el || event.target;\\n this.dragOverTimer = null;\\n this.lastMoveEvent = null;\\n\\n log(\\\"dragstart\\\");\\n\\n if (this.dispatchDragStart()) {\\n this.createDragImage();\\n this.listen();\\n }\\n }\\n\\n DragDrop.prototype = {\\n listen: function() {\\n var move = onEvt(doc, \\\"touchmove\\\", this.move, this);\\n var end = onEvt(doc, \\\"touchend\\\", ontouchend, this);\\n var cancel = onEvt(doc, \\\"touchcancel\\\", cleanup, this);\\n\\n function ontouchend(event) {\\n this.dragend(event, event.target);\\n cleanup.call(this);\\n }\\n function cleanup() {\\n log(\\\"cleanup\\\");\\n this.dragDataTypes = [];\\n if (this.dragImage !== null) {\\n this.dragImage.parentNode.removeChild(this.dragImage);\\n this.dragImage = null;\\n this.dragImageTransform = null;\\n this.dragImageWebKitTransform = null;\\n }\\n this.customDragImage = null;\\n this.customDragImageX = null;\\n this.customDragImageY = null;\\n this.el = this.dragData = null;\\n return [move, end, cancel].forEach(function(handler) {\\n return handler.off();\\n });\\n }\\n },\\n move: function(event) {\\n event.preventDefault();\\n var pageXs = [], pageYs = [];\\n [].forEach.call(event.changedTouches, function(touch) {\\n pageXs.push(touch.pageX);\\n pageYs.push(touch.pageY);\\n });\\n\\n var x = average(pageXs) - (this.customDragImageX || parseInt(this.dragImage.offsetWidth, 10) / 2);\\n var y = average(pageYs) - (this.customDragImageY || parseInt(this.dragImage.offsetHeight, 10) / 2);\\n this.translateDragImage(x, y);\\n\\n this.synthesizeEnterLeave(event);\\n this.synthesizeOver(event);\\n },\\n // We use translate instead of top/left because of sub-pixel rendering and for the hope of better performance\\n // http://www.paulirish.com/2012/why-moving-elements-with-translate-is-better-than-posabs-topleft/\\n translateDragImage: function(x, y) {\\n var translate = \\\"translate(\\\" + x + \\\"px,\\\" + y + \\\"px) \\\";\\n\\n if (this.dragImageWebKitTransform !== null) {\\n this.dragImage.style[\\\"-webkit-transform\\\"] = translate + this.dragImageWebKitTransform;\\n }\\n if (this.dragImageTransform !== null) {\\n this.dragImage.style.transform = translate + this.dragImageTransform;\\n }\\n },\\n synthesizeEnterLeave: function(event) {\\n var target = elementFromTouchEvent(this.el,event)\\n if (target != this.lastEnter) {\\n if (this.lastEnter) {\\n this.dispatchLeave(event);\\n }\\n this.lastEnter = target;\\n if (this.lastEnter) {\\n this.dispatchEnter(event);\\n }\\n }\\n },\\n synthesizeOver: function(event) {\\n this.lastMoveEvent = event;\\n if(this.lastEnter && !this.dragOverTimer) {\\n this.dragOverTimer = setInterval(this.dispatchOver.bind(this), DRAG_OVER_EMIT_FREQ);\\n }\\n },\\n clearDragOverTimer: function() {\\n if(this.dragOverTimer) {\\n clearInterval(this.dragOverTimer);\\n this.dragOverTimer = null;\\n }\\n },\\n dragend: function(event) {\\n\\n // we'll dispatch drop if there's a target, then dragEnd.\\n // drop comes first http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#drag-and-drop-processing-model\\n log(\\\"dragend\\\");\\n\\n if (this.lastEnter) {\\n this.dispatchLeave(event);\\n }\\n\\n var target = elementFromTouchEvent(this.el,event)\\n if (target) {\\n log(\\\"found drop target \\\" + target.tagName);\\n this.dispatchDrop(target, event);\\n } else {\\n log(\\\"no drop target\\\");\\n }\\n\\n var dragendEvt = doc.createEvent(\\\"Event\\\");\\n dragendEvt.initEvent(\\\"dragend\\\", true, true);\\n this.el.dispatchEvent(dragendEvt);\\n this.clearDragOverTimer();\\n },\\n dispatchDrop: function(target, event) {\\n var dropEvt = doc.createEvent(\\\"Event\\\");\\n dropEvt.initEvent(\\\"drop\\\", true, true);\\n\\n var touch = event.changedTouches[0];\\n var x = touch[coordinateSystemForElementFromPoint + 'X'];\\n var y = touch[coordinateSystemForElementFromPoint + 'Y'];\\n\\n var targetOffset = getOffset(target);\\n\\n dropEvt.offsetX = x - targetOffset.x;\\n dropEvt.offsetY = y - targetOffset.y;\\n\\n dropEvt.dataTransfer = {\\n types: this.dragDataTypes,\\n getData: function(type) {\\n return this.dragData[type];\\n }.bind(this),\\n dropEffect: \\\"move\\\"\\n };\\n dropEvt.preventDefault = function() {\\n // https://www.w3.org/Bugs/Public/show_bug.cgi?id=14638 - if we don't cancel it, we'll snap back\\n }.bind(this);\\n\\n once(doc, \\\"drop\\\", function() {\\n log(\\\"drop event not canceled\\\");\\n },this);\\n\\n target.dispatchEvent(dropEvt);\\n },\\n dispatchEnter: function(event) {\\n\\n var enterEvt = doc.createEvent(\\\"Event\\\");\\n enterEvt.initEvent(\\\"dragenter\\\", true, true);\\n enterEvt.dataTransfer = {\\n types: this.dragDataTypes,\\n getData: function(type) {\\n return this.dragData[type];\\n }.bind(this)\\n };\\n\\n var touch = event.changedTouches[0];\\n enterEvt.pageX = touch.pageX;\\n enterEvt.pageY = touch.pageY;\\n enterEvt.clientX = touch.clientX;\\n enterEvt.clientY = touch.clientY;\\n\\n this.lastEnter.dispatchEvent(enterEvt);\\n },\\n dispatchOver: function() {\\n\\n var overEvt = doc.createEvent(\\\"Event\\\");\\n overEvt.initEvent(\\\"dragover\\\", true, true);\\n overEvt.dataTransfer = {\\n types: this.dragDataTypes,\\n getData: function(type) {\\n return this.dragData[type];\\n }.bind(this)\\n };\\n\\n var touch = this.lastMoveEvent.changedTouches[0];\\n overEvt.pageX = touch.pageX;\\n overEvt.pageY = touch.pageY;\\n overEvt.clientX = touch.clientX;\\n overEvt.clientY = touch.clientY;\\n\\n this.lastEnter.dispatchEvent(overEvt);\\n },\\n dispatchLeave: function(event) {\\n\\n var leaveEvt = doc.createEvent(\\\"Event\\\");\\n leaveEvt.initEvent(\\\"dragleave\\\", true, true);\\n leaveEvt.dataTransfer = {\\n types: this.dragDataTypes,\\n getData: function(type) {\\n return this.dragData[type];\\n }.bind(this)\\n };\\n\\n var touch = event.changedTouches[0];\\n leaveEvt.pageX = touch.pageX;\\n leaveEvt.pageY = touch.pageY;\\n leaveEvt.clientX = touch.clientX;\\n leaveEvt.clientY = touch.clientY;\\n\\n this.lastEnter.dispatchEvent(leaveEvt);\\n this.lastEnter = null;\\n this.clearDragOverTimer();\\n },\\n dispatchDragStart: function() {\\n var evt = doc.createEvent(\\\"Event\\\");\\n evt.initEvent(\\\"dragstart\\\", true, true);\\n evt.dataTransfer = {\\n setData: function(type, val) {\\n this.dragData[type] = val;\\n if (this.dragDataTypes.indexOf(type) == -1) {\\n this.dragDataTypes[this.dragDataTypes.length] = type;\\n }\\n return val;\\n }.bind(this),\\n setDragImage: function(el, x, y){\\n this.customDragImage = el;\\n this.customDragImageX = x\\n this.customDragImageY = y\\n }.bind(this),\\n dropEffect: \\\"move\\\"\\n };\\n return this.el.dispatchEvent(evt);\\n },\\n createDragImage: function() {\\n if (this.customDragImage) {\\n this.dragImage = this.customDragImage.cloneNode(true);\\n duplicateStyle(this.customDragImage, this.dragImage);\\n } else {\\n this.dragImage = this.el.cloneNode(true);\\n duplicateStyle(this.el, this.dragImage);\\n }\\n this.dragImage.style.opacity = \\\"0.5\\\";\\n this.dragImage.style.position = \\\"absolute\\\";\\n this.dragImage.style.left = \\\"0px\\\";\\n this.dragImage.style.top = \\\"0px\\\";\\n this.dragImage.style.zIndex = \\\"999999\\\";\\n\\n var transform = this.dragImage.style.transform;\\n if (typeof transform !== \\\"undefined\\\") {\\n this.dragImageTransform = \\\"\\\";\\n if (transform != \\\"none\\\") {\\n this.dragImageTransform = transform.replace(/translate\\\\(\\\\D*\\\\d+[^,]*,\\\\D*\\\\d+[^,]*\\\\)\\\\s*/g, '');\\n }\\n }\\n\\n var webkitTransform = this.dragImage.style[\\\"-webkit-transform\\\"];\\n if (typeof webkitTransform !== \\\"undefined\\\") {\\n this.dragImageWebKitTransform = \\\"\\\";\\n if (webkitTransform != \\\"none\\\") {\\n this.dragImageWebKitTransform = webkitTransform.replace(/translate\\\\(\\\\D*\\\\d+[^,]*,\\\\D*\\\\d+[^,]*\\\\)\\\\s*/g, '');\\n }\\n }\\n\\n this.translateDragImage(-9999, -9999);\\n\\n doc.body.appendChild(this.dragImage);\\n }\\n };\\n\\n // delayed touch start event\\n function touchstartDelay(delay) {\\n return function(evt){\\n var el = evt.target;\\n\\n do {\\n if (elementIsDraggable(el)) {\\n var heldItem = function() {\\n end.off();\\n cancel.off();\\n scroll.off();\\n touchstart(evt);\\n };\\n\\n var onReleasedItem = function() {\\n end.off();\\n cancel.off();\\n scroll.off();\\n clearTimeout(timer);\\n };\\n\\n var timer = setTimeout(heldItem, delay);\\n\\n var end = onEvt(el, 'touchend', onReleasedItem, this);\\n var cancel = onEvt(el, 'touchcancel', onReleasedItem, this);\\n var scroll = onEvt(window, 'scroll', onReleasedItem, this);\\n break;\\n }\\n } while ((el = el.parentNode) && el !== doc.body);\\n };\\n };\\n\\n // event listeners\\n function touchstart(evt) {\\n var el = evt.target;\\n do {\\n if (elementIsDraggable(el)) {\\n handleTouchStartOnAnchor(evt, el);\\n\\n evt.preventDefault();\\n new DragDrop(evt,el);\\n break;\\n }\\n } while((el = el.parentNode) && el !== doc.body);\\n }\\n\\n function elementIsDraggable(el){\\n // if an element is not draggable either explicitly or implicitly we can exit immediately\\n if(!el.draggable) return false;\\n\\n // if an element has been explicitly set to be draggable we're good to go\\n if(el.hasAttribute(\\\"draggable\\\")) return true;\\n\\n // otherwise we investigate the implicit option\\n return (!config.requireExplicitDraggable);\\n }\\n\\n function elementIsAnchor(el){\\n return el.tagName.toLowerCase() == \\\"a\\\";\\n }\\n\\n function handleTouchStartOnAnchor(evt, el){\\n // If draggable isn't explicitly set for anchors, then simulate a click event.\\n // Otherwise plain old vanilla links will stop working.\\n // https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Touch_events#Handling_clicks\\n if (!el.hasAttribute(\\\"draggable\\\") && elementIsAnchor(el) && config.simulateAnchorClick) {\\n var clickEvt = document.createEvent(\\\"MouseEvents\\\");\\n clickEvt.initMouseEvent(\\\"click\\\", true, true, el.ownerDocument.defaultView, 1,\\n evt.screenX, evt.screenY, evt.clientX, evt.clientY,\\n evt.ctrlKey, evt.altKey, evt.shiftKey, evt.metaKey, 0, null);\\n el.dispatchEvent(clickEvt);\\n log(\\\"Simulating click to anchor\\\");\\n }\\n }\\n\\n // DOM helpers\\n function elementFromTouchEvent(el,event) {\\n var touch = event.changedTouches[0];\\n var target = doc.elementFromPoint(\\n touch[coordinateSystemForElementFromPoint + \\\"X\\\"],\\n touch[coordinateSystemForElementFromPoint + \\\"Y\\\"]\\n );\\n return target;\\n }\\n\\n //calculate the offset position of an element (relative to the window, not the document)\\n function getOffset(el) {\\n var rect = el.getBoundingClientRect();\\n return {\\n \\\"x\\\": rect.left,\\n \\\"y\\\": rect.top\\n };\\n }\\n\\n function onEvt(el, event, handler, context) {\\n if(context) {\\n handler = handler.bind(context);\\n }\\n el.addEventListener(event, handler, {passive:false});\\n return {\\n off: function() {\\n return el.removeEventListener(event, handler, {passive:false});\\n }\\n };\\n }\\n\\n function once(el, event, handler, context) {\\n if(context) {\\n handler = handler.bind(context);\\n }\\n function listener(evt) {\\n handler(evt);\\n return el.removeEventListener(event,listener);\\n }\\n return el.addEventListener(event,listener);\\n }\\n\\n // duplicateStyle expects dstNode to be a clone of srcNode\\n function duplicateStyle(srcNode, dstNode) {\\n // Is this node an element?\\n if (srcNode.nodeType == 1) {\\n // Remove any potential conflict attributes\\n dstNode.removeAttribute(\\\"id\\\");\\n dstNode.removeAttribute(\\\"class\\\");\\n dstNode.removeAttribute(\\\"style\\\");\\n dstNode.removeAttribute(\\\"draggable\\\");\\n\\n // Clone the style\\n var cs = window.getComputedStyle(srcNode);\\n for (var i = 0; i \u003C cs.length; i++) {\\n var csName = cs[i];\\n dstNode.style.setProperty(csName, cs.getPropertyValue(csName), cs.getPropertyPriority(csName));\\n }\\n\\n // Pointer events as none makes the drag image transparent to document.elementFromPoint()\\n dstNode.style.pointerEvents = \\\"none\\\";\\n }\\n\\n // Do the same for the children\\n if (srcNode.hasChildNodes()) {\\n for (var j = 0; j \u003C srcNode.childNodes.length; j++) {\\n duplicateStyle(srcNode.childNodes[j], dstNode.childNodes[j]);\\n }\\n }\\n }\\n\\n // general helpers\\n function log(msg) {\\n console.log(msg);\\n }\\n\\n function average(arr) {\\n if (arr.length === 0) return 0;\\n return arr.reduce((function(s, v) {\\n return v + s;\\n }), 0) / arr.length;\\n }\\n\\n function noop() {}\\n\\n main();\\n\\n};\\n\\nif (typeof module === 'object' && typeof module.exports === 'object') {\\n module.exports = _exposeIosHtml5DragDropShim;\\n} else if (typeof window !== 'undefined') {\\n _exposeIosHtml5DragDropShim(window.iosDragDropShim);\\n}\\n})(document);\",\"type\":\"application/javascript\",\"title\":\"$:/plugins/tiddlywiki/mobiledragdrop/ios-drag-drop.js\"},\"$:/plugins/tiddlywiki/mobiledragdrop/license\":{\"text\":\"Copyright (c) 2013 Tim Ruffles\\n\\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \\\"Software\\\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\\n\",\"type\":\"text/plain\",\"title\":\"$:/plugins/tiddlywiki/mobiledragdrop/license\"},\"$:/plugins/tiddlywiki/mobiledragdrop/rawmarkup\":{\"title\":\"$:/plugins/tiddlywiki/mobiledragdrop/rawmarkup\",\"tags\":\"$:/tags/RawMarkupWikified\",\"text\":\"`\u003Cscript>\\nvar iosDragDropShim = { enableEnterLeave: true, holdToDrag: 300 };`\\n{{$:/plugins/tiddlywiki/mobiledragdrop/ios-drag-drop.js}}\\n`\u003C/script>`\\n\"},\"$:/plugins/tiddlywiki/mobiledragdrop/readme\":{\"title\":\"$:/plugins/tiddlywiki/mobiledragdrop/readme\",\"text\":\"This plugin provides a \\\"shim\\\" that enables HTML 5 compatible drag and drop operations on mobile browsers, including iOS and Android. The shim was created by Tim Ruffles and is published at https://github.com/timruffles/ios-html5-drag-drop-shim.\\n\\nAfter installing the plugin it is necessary to save the HTML file a second time before it will be fully enabled.\\n\"},\"$:/plugins/tiddlywiki/mobiledragdrop/startup.js\":{\"title\":\"$:/plugins/tiddlywiki/mobiledragdrop/startup.js\",\"text\":\"/*\\\\\\ntitle: $:/plugins/tiddlywiki/mobiledragdrop/startup.js\\ntype: application/javascript\\nmodule-type: startup\\n\\nStartup initialisation\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\n// Export name and synchronous status\\nexports.name = \\\"mobiledragdrop\\\";\\nexports.platforms = [\\\"browser\\\"];\\nexports.after = [\\\"startup\\\"];\\nexports.synchronous = true;\\n\\nexports.startup = function() {\\n\\twindow.addEventListener(\\\"touchmove\\\", function() {});\\n};\\n\\n})();\\n\",\"type\":\"application/javascript\",\"module-type\":\"startup\"}}}"}, +{"created":"20240229002543094","text":"-[is_volatile[yes]]","tags":"_PLAYER_ $:/tags/Global","title":"$:/publishFilter","modified":"20240229002642008"}, {"created":"20231007124743310","title":"$:/SiteSubtitle","text":"TiddlyWiki hosted by Astroport on UPlanet","modified":"20231202141722073"}, {"created":"20231007124729483","title":"$:/SiteTitle","text":"_PLAYER_ \"TW\"","modified":"20231207180848476"}, {"created":"20240108030949223","title":"$:/state/add-plugin-info/$:/temp/ServerConnection/https://tiddly-gittly.github.io/TiddlyWiki-CPL/library/index.html/$:/temp/RemoteAssetInfo/https://tiddly-gittly.github.io/TiddlyWiki-CPL/library/index.html/$:/plugins/Gk0Wk/sidebar-resizer","text":"no","modified":"20240108031006973"}, @@ -951,40 +962,44 @@ Error message and password prompt {"created":"20240108031135654","title":"$:/state/add-plugin-info/$:/temp/ServerConnection/https://tiddly-gittly.github.io/TiddlyWiki-CPL/library/index.html/$:/temp/RemoteAssetInfo/https://tiddly-gittly.github.io/TiddlyWiki-CPL/library/index.html/$:/plugins/TheDiveO/TwTube","text":"yes","modified":"20240108031135654"}, {"created":"20240108030906508","title":"$:/state/add-plugin-info/$:/temp/ServerConnection/https://tiddly-gittly.github.io/TiddlyWiki-CPL/library/index.html/$:/temp/RemoteAssetInfo/https://tiddly-gittly.github.io/TiddlyWiki-CPL/library/index.html/$:/plugins/tiddlywiki/mobiledragdrop","text":"yes","modified":"20240108030906508"}, {"created":"20240108031013167","title":"$:/state/add-plugin-info/$:/temp/ServerConnection/https://tiddly-gittly.github.io/TiddlyWiki-CPL/library/index.html/$:/temp/RemoteAssetInfo/https://tiddly-gittly.github.io/TiddlyWiki-CPL/library/index.html/$:/plugins/TWaddle/SideEditor","text":"yes","modified":"20240108031013167"}, -{"created":"20231007140354167","title":"$:/state/addplugins/tab-1342078386","text":"$:/config/TiddlyWiki-CPL/GitHub","modified":"20231007140354167"}, -{"created":"20231021150029344","title":"$:/state/advancedsearch/currentTab","text":"$:/core/ui/AdvancedSearch/Standard","modified":"20231021150031637"}, +{"created":"20231007140354167","title":"$:/state/addplugins/tab-1342078386","text":"SQPL","modified":"20240228015534818"}, +{"created":"20231021150029344","title":"$:/state/advancedsearch/currentTab","text":"$:/core/ui/AdvancedSearch/Shadows","modified":"20240229002751791"}, {"title":"$:/state/http-requests","text":"0"}, {"created":"20240108031644465","title":"$:/state/plugin-info--1983319213-$:/languages/fr-FR","text":"no","modified":"20240108031751567"}, {"created":"20231021133047493","title":"$:/state/plugin-info--278617256-$:/plugins/bj/tiddlyclip---1716853604","text":"contents","modified":"20231021133048790"}, {"created":"20231009123439467","title":"$:/state/plugin-info--563445158-$:/core--816026031","text":"contents","modified":"20231009123439467"}, {"created":"20240108030252726","title":"$:/state/plugin-info-1867135918-$:/plugins/bj/tiddlyclip","text":"yes","modified":"20240108030252726"}, {"created":"20240108030256678","title":"$:/state/plugin-info-1867135918-$:/plugins/bj/tiddlyclip---727026454","text":"readme","modified":"20240108030259400"}, -{"created":"20240108031535321","title":"$:/state/plugin-info-1867135918-$:/plugins/Gk0Wk/sidebar-resizer","text":"yes","modified":"20240108031535321"}, +{"created":"20240108031535321","title":"$:/state/plugin-info-1867135918-$:/plugins/Gk0Wk/sidebar-resizer","text":"no","modified":"20240228015434856"}, +{"created":"20240229002453021","title":"$:/state/plugin-info-1867135918-$:/plugins/sq/ExternalContent","text":"yes","modified":"20240229002453021"}, +{"created":"20240229002500427","title":"$:/state/plugin-info-1867135918-$:/plugins/sq/ExternalContent---751343348","text":"settings","modified":"20240229002948959"}, {"created":"20231007124549638","title":"$:/state/plugin-info-1935472218-$:/plugins/ipfs--1406793555","text":"contents","modified":"20231007124549638"}, {"created":"20231021133100479","title":"$:/state/plugin-info-292606808-$:/plugins/oeyoews/neotw-pwa---1763606351","text":"contents","modified":"20231021133100479"}, {"created":"20231007125040460","title":"$:/state/sidebar","text":"yes","modified":"20240108031333656"}, -{"created":"20231021150029345","title":"$:/state/tab--1498284803","text":"$:/core/ui/AdvancedSearch/Standard","modified":"20231021150031639"}, +{"created":"20231021150029345","title":"$:/state/tab--1498284803","text":"$:/core/ui/AdvancedSearch/Shadows","modified":"20240229002751792"}, {"created":"20231007133913097","title":"$:/state/tab--2112689675","text":"$:/core/ui/ControlPanel/Basics","modified":"20231202141754599"}, {"created":"20231021132220450","title":"$:/state/tab--639260661","text":"$:/core/ui/ControlPanel/Plugins/Add/Languages","modified":"20240108031759983"}, {"created":"20231123173056838","title":"$:/state/tab--697582678","text":"$:/core/ui/ControlPanel/Settings/TiddlyWiki","modified":"20231123173101769"}, {"created":"20231202141850730","title":"$:/state/tab--86143343","text":"$:/core/ui/ControlPanel/Plugins/Installed/Plugins","modified":"20240108031936817"}, -{"created":"20231007121508028","title":"$:/state/tab-1749438307","text":"$:/core/ui/ControlPanel/Plugins","modified":"20240108030026084"}, +{"created":"20231007121508028","title":"$:/state/tab-1749438307","text":"$:/core/ui/ControlPanel/Plugins","modified":"20240228015530318"}, {"created":"20231007121510466","title":"$:/state/tab-2065006209","text":"$:/plugins/astroport/lightbeams/ControlPanel/Saving/Astroport :: Lightbeams","modified":"20231007124529021"}, {"created":"20231007122348727","title":"$:/state/tab/sidebar--595412856","text":"$:/core/ui/SideBar/Recent","modified":"20240108031629841"}, {"title":"$:/status/RequireReloadDueToPluginChange","text":"no"}, -{"title":"$:/StoryList","created":"20240108031638519","text":"","list":"GettingStarted GPS REQ","modified":"20240108031713424"}, +{"title":"$:/StoryList","created":"20240229002434895","text":"","list":"GettingStarted GPS REQ","modified":"20240229003936994"}, {"title":"$:/themes/tiddlywiki/snowwhite","name":"Snow White","author":"JeremyRuston","core-version":">=5.0.0","plugin-type":"theme","description":"Emphasises individual tiddlers","dependents":"$:/themes/tiddlywiki/vanilla","plugin-priority":"0","version":"5.3.3","type":"application/json","text":"{\"tiddlers\":{\"$:/themes/tiddlywiki/snowwhite/base\":{\"title\":\"$:/themes/tiddlywiki/snowwhite/base\",\"tags\":\"[[$:/tags/Stylesheet]]\",\"text\":\"\\\\define sidebarbreakpoint-minus-one()\\n\u003C$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}}/>\\n\\\\end\\n\\n\\\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\\n\\n.tc-sidebar-header {\\n\\ttext-shadow: 0 1px 0 \u003C\u003Ccolour sidebar-foreground-shadow>>;\\n}\\n\\n.tc-tiddler-info {\\n\\t\u003C\u003Cbox-shadow \\\"inset 1px 2px 3px rgba(0,0,0,0.1)\\\">>\\n}\\n\\n@media screen {\\n\\t.tc-tiddler-frame {\\n\\t\\t\u003C\u003Cbox-shadow \\\"1px 1px 5px rgba(0, 0, 0, 0.3)\\\">>\\n\\t}\\n}\\n\\n@media (max-width: \u003C\u003Csidebarbreakpoint-minus-one>>) {\\n\\t.tc-tiddler-frame {\\n\\t\\t\u003C\u003Cbox-shadow none>>\\n\\t}\\n}\\n\\n.tc-page-controls button svg, .tc-tiddler-controls button svg, .tc-topbar button svg {\\n\\t\u003C\u003Ctransition \\\"fill 150ms ease-in-out\\\">>\\n}\\n\\n.tc-tiddler-controls button.tc-selected,\\n.tc-page-controls button.tc-selected {\\n\\t\u003C\u003Cfilter \\\"drop-shadow(0px -1px 2px rgba(0,0,0,0.25))\\\">>\\n}\\n\\n.tc-tiddler-frame input.tc-edit-texteditor,\\n.tc-tiddler-frame select.tc-edit-texteditor {\\n\\t\u003C\u003Cbox-shadow \\\"inset 0 1px 8px rgba(0, 0, 0, 0.15)\\\">>\\n}\\n\\n.tc-edit-tags {\\n\\t\u003C\u003Cbox-shadow \\\"inset 0 1px 8px rgba(0, 0, 0, 0.15)\\\">>\\n}\\n\\n.tc-tiddler-frame .tc-edit-tags input.tc-edit-texteditor {\\n\\t\u003C\u003Cbox-shadow \\\"none\\\">>\\n\\tborder: none;\\n\\toutline: none;\\n}\\n\\ntextarea.tc-edit-texteditor {\\n\\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily}};\\n}\\n\\ncanvas.tc-edit-bitmapeditor {\\n\\t\u003C\u003Cbox-shadow \\\"2px 2px 5px rgba(0, 0, 0, 0.5)\\\">>\\n}\\n\\n.tc-drop-down {\\n\\tborder-radius: 4px;\\n\\t\u003C\u003Cbox-shadow \\\"2px 2px 10px rgba(0, 0, 0, 0.5)\\\">>\\n}\\n\\n.tc-block-dropdown {\\n\\tborder-radius: 4px;\\n\\t\u003C\u003Cbox-shadow \\\"2px 2px 10px rgba(0, 0, 0, 0.5)\\\">>\\n}\\n\\n.tc-modal {\\n\\tborder-radius: 6px;\\n\\t\u003C\u003Cbox-shadow \\\"0 3px 7px rgba(0,0,0,0.3)\\\">>\\n}\\n\\n.tc-modal-footer {\\n\\tborder-radius: 0 0 6px 6px;\\n\\t\u003C\u003Cbox-shadow \\\"inset 0 1px 0 #fff\\\">>;\\n}\\n\\n\\n.tc-alert {\\n\\tborder-radius: 6px;\\n\\t\u003C\u003Cbox-shadow \\\"0 3px 7px rgba(0,0,0,0.6)\\\">>\\n}\\n\\n.tc-notification {\\n\\tborder-radius: 6px;\\n\\t\u003C\u003Cbox-shadow \\\"0 3px 7px rgba(0,0,0,0.3)\\\">>\\n\\ttext-shadow: 0 1px 0 rgba(255,255,255, 0.8);\\n}\\n\\n.tc-sidebar-lists .tc-tab-set .tc-tab-divider {\\n\\tborder-top: none;\\n\\theight: 1px;\\n\\t\u003C\u003Cbackground-linear-gradient \\\"left, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.0) 100%\\\">>\\n}\\n\\n.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {\\n\\t\u003C\u003Cbackground-linear-gradient \\\"left, rgba(0,0,0,0.01) 0%, rgba(0,0,0,0.1) 100%\\\">>\\n}\\n\\n.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button.tc-tab-selected {\\n\\t\u003C\u003Cbackground-linear-gradient \\\"left, rgba(0,0,0,0.05) 0%, rgba(255,255,255,0.05) 100%\\\">>\\n}\\n\\n.tc-message-box img {\\n\\t\u003C\u003Cbox-shadow \\\"1px 1px 3px rgba(0,0,0,0.5)\\\">>\\n}\\n\\n.tc-plugin-info {\\n\\t\u003C\u003Cbox-shadow \\\"1px 1px 3px rgba(0,0,0,0.5)\\\">>\\n}\\n\"}}}"}, {"title":"$:/themes/tiddlywiki/vanilla","name":"Vanilla","author":"JeremyRuston","core-version":">=5.0.0","plugin-type":"theme","description":"Basic theme","plugin-priority":"0","version":"5.3.3","dependents":"","type":"application/json","text":"{\"tiddlers\":{\"$:/themes/tiddlywiki/vanilla/themetweaks\":{\"title\":\"$:/themes/tiddlywiki/vanilla/themetweaks\",\"tags\":\"$:/tags/ControlPanel/Appearance\",\"caption\":\"{{$:/language/ThemeTweaks/ThemeTweaks}}\",\"text\":\"\\\\define lingo-base() $:/language/ThemeTweaks/\\n\\n\\\\define replacement-text()\\n[img[$(imageTitle)$]]\\n\\\\end\\n\\n\\\\define backgroundimage-dropdown()\\n\u003Cdiv class=\\\"tc-drop-down-wrapper\\\">\\n\u003C$set name=\\\"state\\\" value=\u003C\u003Cqualify \\\"$:/state/popup/themetweaks/backgroundimage\\\">>>\\n\u003C$button popup=\u003C\u003Cstate>> class=\\\"tc-btn-invisible tc-btn-dropdown\\\">{{$:/core/images/down-arrow}}\u003C/$button>\\n\u003C$reveal state=\u003C\u003Cstate>> type=\\\"popup\\\" position=\\\"belowleft\\\" text=\\\"\\\" default=\\\"\\\" class=\\\"tc-popup-keep\\\">\\n\u003Cdiv class=\\\"tc-drop-down\\\" style=\\\"text-align:center;\\\">\\n\u003C$macrocall $name=\\\"image-picker\\\" actions=\\\"\\\"\\\"\\n\\n\u003C$action-setfield\\n\\t$tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimage\\\"\\n\\t$value=\u003C\u003CimageTitle>>\\n/>\\n\\n\u003C$action-deletetiddler $tiddler=\u003C\u003Cstate>>/>\\n\\n\\\"\\\"\\\"/>\\n\u003C/div>\\n\u003C/$reveal>\\n\u003C/$set>\\n\u003C/div>\\n\\\\end\\n\\n\\\\define backgroundimageattachment-dropdown()\\n\u003C$select tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment\\\" default=\\\"scroll\\\">\\n\u003Coption value=\\\"scroll\\\">\u003C\u003Clingo Settings/BackgroundImageAttachment/Scroll>>\u003C/option>\\n\u003Coption value=\\\"fixed\\\">\u003C\u003Clingo Settings/BackgroundImageAttachment/Fixed>>\u003C/option>\\n\u003C/$select>\\n\\\\end\\n\\n\\\\define backgroundimagesize-dropdown()\\n\u003C$select tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize\\\" default=\\\"scroll\\\">\\n\u003Coption value=\\\"auto\\\">\u003C\u003Clingo Settings/BackgroundImageSize/Auto>>\u003C/option>\\n\u003Coption value=\\\"cover\\\">\u003C\u003Clingo Settings/BackgroundImageSize/Cover>>\u003C/option>\\n\u003Coption value=\\\"contain\\\">\u003C\u003Clingo Settings/BackgroundImageSize/Contain>>\u003C/option>\\n\u003C/$select>\\n\\\\end\\n\\n\u003C\u003Clingo ThemeTweaks/Hint>>\\n\\n! \u003C\u003Clingo Options>>\\n\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\">\u003C\u003Clingo Options/SidebarLayout>>\u003C/$link> |\u003C$select tiddler=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\">\u003Coption value=\\\"fixed-fluid\\\">\u003C\u003Clingo Options/SidebarLayout/Fixed-Fluid>>\u003C/option>\u003Coption value=\\\"fluid-fixed\\\">\u003C\u003Clingo Options/SidebarLayout/Fluid-Fixed>>\u003C/option>\u003C/$select> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/options/stickytitles\\\">\u003C\u003Clingo Options/StickyTitles>>\u003C/$link>\u003Cbr>//\u003C\u003Clingo Options/StickyTitles/Hint>>// |\u003C$select tiddler=\\\"$:/themes/tiddlywiki/vanilla/options/stickytitles\\\">\u003Coption value=\\\"no\\\">{{$:/language/No}}\u003C/option>\u003Coption value=\\\"yes\\\">{{$:/language/Yes}}\u003C/option>\u003C/$select> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/options/codewrapping\\\">\u003C\u003Clingo Options/CodeWrapping>>\u003C/$link> |\u003C$select tiddler=\\\"$:/themes/tiddlywiki/vanilla/options/codewrapping\\\">\u003Coption value=\\\"pre\\\">{{$:/language/No}}\u003C/option>\u003Coption value=\\\"pre-wrap\\\">{{$:/language/Yes}}\u003C/option>\u003C/$select> |\\n\\n! \u003C\u003Clingo Settings>>\\n\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/fontfamily\\\">\u003C\u003Clingo Settings/FontFamily>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/fontfamily\\\" default=\\\"\\\" tag=\\\"input\\\"/> | |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/codefontfamily\\\">\u003C\u003Clingo Settings/CodeFontFamily>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/codefontfamily\\\" default=\\\"\\\" tag=\\\"input\\\"/> | |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/editorfontfamily\\\">\u003C\u003Clingo Settings/EditorFontFamily>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/editorfontfamily\\\" default=\\\"\\\" tag=\\\"input\\\"/> | |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimage\\\">\u003C\u003Clingo Settings/BackgroundImage>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimage\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\u003C\u003Cbackgroundimage-dropdown>> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment\\\">\u003C\u003Clingo Settings/BackgroundImageAttachment>>\u003C/$link> |\u003C\u003Cbackgroundimageattachment-dropdown>> | |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize\\\">\u003C\u003Clingo Settings/BackgroundImageSize>>\u003C/$link> |\u003C\u003Cbackgroundimagesize-dropdown>> | |\\n\\n! \u003C\u003Clingo Metrics>>\\n\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/fontsize\\\">\u003C\u003Clingo Metrics/FontSize>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/fontsize\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/lineheight\\\">\u003C\u003Clingo Metrics/LineHeight>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/lineheight\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize\\\">\u003C\u003Clingo Metrics/BodyFontSize>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/bodylineheight\\\">\u003C\u003Clingo Metrics/BodyLineHeight>>\u003C/$link> |\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/bodylineheight\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\\\">\u003C\u003Clingo Metrics/StoryLeft>>\u003C/$link>\u003Cbr>//\u003C\u003Clingo Metrics/StoryLeft/Hint>>// |^\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/storytop\\\">\u003C\u003Clingo Metrics/StoryTop>>\u003C/$link>\u003Cbr>//\u003C\u003Clingo Metrics/StoryTop/Hint>>// |^\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/storytop\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/storyright\\\">\u003C\u003Clingo Metrics/StoryRight>>\u003C/$link>\u003Cbr>//\u003C\u003Clingo Metrics/StoryRight/Hint>>// |^\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/storyright\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\\\">\u003C\u003Clingo Metrics/StoryWidth>>\u003C/$link>\u003Cbr>//\u003C\u003Clingo Metrics/StoryWidth/Hint>>// |^\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\\\">\u003C\u003Clingo Metrics/TiddlerWidth>>\u003C/$link>\u003Cbr>//\u003C\u003Clingo Metrics/TiddlerWidth/Hint>>//\u003Cbr> |^\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint\\\">\u003C\u003Clingo Metrics/SidebarBreakpoint>>\u003C/$link>\u003Cbr>//\u003C\u003Clingo Metrics/SidebarBreakpoint/Hint>>// |^\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n|\u003C$link to=\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\\\">\u003C\u003Clingo Metrics/SidebarWidth>>\u003C/$link>\u003Cbr>//\u003C\u003Clingo Metrics/SidebarWidth/Hint>>// |^\u003C$edit-text tiddler=\\\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\\\" default=\\\"\\\" tag=\\\"input\\\"/> |\\n\"},\"$:/themes/tiddlywiki/vanilla/base\":{\"title\":\"$:/themes/tiddlywiki/vanilla/base\",\"tags\":\"[[$:/tags/Stylesheet]]\",\"list-before\":\"\",\"code-body\":\"yes\",\"text\":\"\\\\define custom-background-datauri()\\n\u003C$set name=\\\"background\\\" value={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}>\\n\u003C$list filter=\\\"[\u003Cbackground>is[image]]\\\">\\n`background: url(`\\n\u003C$list filter=\\\"[\u003Cbackground>!has[_canonical_uri]]\\\">\\n`\\\"`\u003C$macrocall $name=\\\"datauri\\\" title={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}/>`\\\"`\\n\u003C/$list>\\n\u003C$list filter=\\\"[\u003Cbackground>has[_canonical_uri]]\\\">\\n`\\\"`\u003C$view tiddler={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}} field=\\\"_canonical_uri\\\"/>`\\\"`\\n\u003C/$list>\\n`) center center;`\\n`background-attachment: `{{$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment}}`;\\n-webkit-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\\n-moz-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\\n-o-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\\nbackground-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;`\\n\u003C/$list>\\n\u003C/$set>\\n\\\\end\\n\\n\\\\define sidebarbreakpoint()\\n\u003C$text text={{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}/>\\n\\\\end\\n\\n\\\\define sidebarbreakpoint-minus-one()\\n\u003C$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}}/>\\n\\\\end\\n\\n\\\\define if-fluid-fixed(text,hiddenSidebarText)\\n\u003C$reveal state=\\\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\\\" type=\\\"match\\\" text=\\\"fluid-fixed\\\">\\n$text$\\n\u003C$reveal state=\\\"$:/state/sidebar\\\" type=\\\"nomatch\\\" text=\\\"yes\\\" default=\\\"yes\\\">\\n$hiddenSidebarText$\\n\u003C/$reveal>\\n\u003C/$reveal>\\n\\\\end\\n\\n\\\\define if-editor-height-fixed(then,else)\\n\u003C$reveal state=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" type=\\\"match\\\" text=\\\"fixed\\\">\\n$then$\\n\u003C/$reveal>\\n\u003C$reveal state=\\\"$:/config/TextEditor/EditorHeight/Mode\\\" type=\\\"match\\\" text=\\\"auto\\\">\\n$else$\\n\u003C/$reveal>\\n\\\\end\\n\\n\\\\define set-type-selector-min-width()\\n\u003C$set name=\\\"typeLength\\\" value={{{ [all[shadows+tiddlers]prefix[$:/language/Docs/Types/]get[name]length[]maxall[]] }}}>\\n\\n\\t.tc-type-selector-dropdown-wrapper {\\n\\t\\tmin-width: calc(\u003C\u003CtypeLength>>ch + 4em);\\n\\t}\\n\\n\\t.tc-type-selector-dropdown-wrapper input.tc-edit-typeeditor {\\n\\t\\tmin-width: \u003C\u003CtypeLength>>ch;\\n\\t}\\n\\n\u003C/$set>\\n\\\\end\\n\\n\\\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock\\n\\n/*\\n** Start with the normalize CSS reset, and then belay some of its effects\\n*/\\n\\n{{$:/themes/tiddlywiki/vanilla/reset}}\\n\\n*, input[type=\\\"search\\\"] {\\n\\tbox-sizing: border-box;\\n\\t-moz-box-sizing: border-box;\\n\\t-webkit-box-sizing: border-box;\\n}\\n\\n/*\\n** Button default styles. Makes them look consistent for all browsers\\n*/\\nhtml button {\\n\\tline-height: 1.2;\\n\\tcolor: \u003C\u003Ccolour button-foreground>>;\\n\\tfill: \u003C\u003Ccolour button-foreground>>;\\n\\tbackground: \u003C\u003Ccolour button-background>>;\\n\\tborder-color: \u003C\u003Ccolour button-border>>;\\n}\\n\\nbutton:disabled svg {\\n\\tfill: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n/*\\n** Basic element styles\\n*/\\n\\nhtml, body {\\n\\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/fontfamily}};\\n\\ttext-rendering: optimizeLegibility; /* Enables kerning and ligatures etc. */\\n\\t-webkit-font-smoothing: antialiased;\\n\\t-moz-osx-font-smoothing: grayscale;\\n}\\n\\nhtml:-webkit-full-screen {\\n\\tbackground-color: \u003C\u003Ccolour page-background>>;\\n}\\n\\nbody.tc-body {\\n\\tfont-size: {{$:/themes/tiddlywiki/vanilla/metrics/fontsize}};\\n\\tline-height: {{$:/themes/tiddlywiki/vanilla/metrics/lineheight}};\\n\\tword-wrap: break-word;\\n\\t\u003C\u003Ccustom-background-datauri>>\\n\\tcolor: \u003C\u003Ccolour foreground>>;\\n\\tbackground-color: \u003C\u003Ccolour page-background>>;\\n\\tfill: \u003C\u003Ccolour foreground>>;\\n}\\n\\n\u003C\u003Cif-background-attachment \\\"\\\"\\\"\\n\\nbody.tc-body {\\n\\tbackground-color: transparent;\\n}\\n\\n\\\"\\\"\\\">>\\n\\n/**\\n * Correct the font size and margin on `h1` elements within `section` and\\n * `article` contexts in Chrome, Firefox, and Safari.\\n */\\n\\nh1 {\\n\\tfont-size: 2em;\\n}\\n\\nh1, h2, h3, h4, h5, h6 {\\n\\tline-height: 1.2;\\n\\tfont-weight: normal;\\n}\\n\\npre {\\n\\tdisplay: block;\\n\\tmargin-top: 1em;\\n\\tmargin-bottom: 1em;\\n\\tword-break: normal;\\n\\tword-wrap: break-word;\\n\\twhite-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};\\n\\tbackground-color: \u003C\u003Ccolour pre-background>>;\\n\\tborder: 1px solid \u003C\u003Ccolour pre-border>>;\\n\\tpadding: 0 3px 2px;\\n\\tborder-radius: 3px;\\n\\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};\\n}\\n\\ncode {\\n\\tcolor: \u003C\u003Ccolour code-foreground>>;\\n\\tbackground-color: \u003C\u003Ccolour code-background>>;\\n\\tborder: 1px solid \u003C\u003Ccolour code-border>>;\\n\\twhite-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};\\n\\tpadding: 0 3px 2px;\\n\\tborder-radius: 3px;\\n\\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};\\n}\\n\\nblockquote {\\n\\tborder-left: 5px solid \u003C\u003Ccolour blockquote-bar>>;\\n\\tmargin-left: 25px;\\n\\tpadding-left: 10px;\\n\\tquotes: \\\"\\\\201C\\\"\\\"\\\\201D\\\"\\\"\\\\2018\\\"\\\"\\\\2019\\\";\\n}\\n\\nblockquote > div {\\n\\tmargin-top: 1em;\\n\\tmargin-bottom: 1em;\\n}\\n\\nblockquote.tc-big-quote {\\n\\tfont-family: Georgia, serif;\\n\\tposition: relative;\\n\\tbackground: \u003C\u003Ccolour pre-background>>;\\n\\tborder-left: none;\\n\\tmargin-left: 50px;\\n\\tmargin-right: 50px;\\n\\tpadding: 10px;\\n\\tborder-radius: 8px;\\n}\\n\\nblockquote.tc-big-quote cite:before {\\n\\tcontent: \\\"\\\\2014 \\\\2009\\\";\\n}\\n\\nblockquote.tc-big-quote:before {\\n\\tfont-family: Georgia, serif;\\n\\tcolor: \u003C\u003Ccolour blockquote-bar>>;\\n\\tcontent: open-quote;\\n\\tfont-size: 8em;\\n\\tline-height: 0.1em;\\n\\tmargin-right: 0.25em;\\n\\tvertical-align: -0.4em;\\n\\tposition: absolute;\\n\\tleft: -50px;\\n\\ttop: 42px;\\n}\\n\\nblockquote.tc-big-quote:after {\\n\\tfont-family: Georgia, serif;\\n\\tcolor: \u003C\u003Ccolour blockquote-bar>>;\\n\\tcontent: close-quote;\\n\\tfont-size: 8em;\\n\\tline-height: 0.1em;\\n\\tmargin-right: 0.25em;\\n\\tvertical-align: -0.4em;\\n\\tposition: absolute;\\n\\tright: -80px;\\n\\tbottom: -20px;\\n}\\n\\ndl dt {\\n\\tfont-weight: bold;\\n\\tmargin-top: 6px;\\n}\\n\\ntextarea,\\ninput[type=text],\\ninput[type=search],\\ninput[type=\\\"\\\"],\\ninput:not([type]) {\\n\\tcolor: \u003C\u003Ccolour foreground>>;\\n\\tbackground: \u003C\u003Ccolour background>>;\\n}\\n\\ninput[type=\\\"checkbox\\\"] {\\n\\tvertical-align: middle;\\n}\\n\\ninput[type=\\\"search\\\"]::-webkit-search-decoration,\\ninput[type=\\\"search\\\"]::-webkit-search-cancel-button,\\ninput[type=\\\"search\\\"]::-webkit-search-results-button,\\ninput[type=\\\"search\\\"]::-webkit-search-results-decoration {\\n\\t-webkit-appearance:none;\\n}\\n\\n.tc-muted {\\n\\tcolor: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\nsvg.tc-image-button {\\n\\tpadding: 0px 1px 1px 0px;\\n}\\n\\n.tc-icon-wrapper > svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n}\\n\\nkbd {\\n\\tdisplay: inline-block;\\n\\tpadding: 3px 5px;\\n\\tfont-size: 0.8em;\\n\\tline-height: 1.2;\\n\\tcolor: \u003C\u003Ccolour foreground>>;\\n\\tvertical-align: middle;\\n\\tbackground-color: \u003C\u003Ccolour background>>;\\n\\tborder: solid 1px \u003C\u003Ccolour muted-foreground>>;\\n\\tborder-bottom-color: \u003C\u003Ccolour muted-foreground>>;\\n\\tborder-radius: 3px;\\n\\tbox-shadow: inset 0 -1px 0 \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n::selection {\\n\\tbackground-color: Highlight;\\n\\tcolor: HighlightText;\\n\\tbackground-color: \u003C\u003Ccolour selection-background>>;\\n\\tcolor: \u003C\u003Ccolour selection-foreground>>;\\n}\\n\\n.tc-inline-style {\\n\\tbackground: \u003C\u003Ccolour highlight-background>>;\\n\\tcolor: \u003C\u003Ccolour highlight-foreground>>;\\n}\\n\\nform.tc-form-inline {\\n\\tdisplay: inline;\\n}\\n\\n/*\\nMarkdown likes putting code elements inside pre elements\\n*/\\npre > code {\\n\\tpadding: 0;\\n\\tborder: none;\\n\\tbackground-color: inherit;\\n\\tcolor: inherit;\\n}\\n\\n/*\\nTable defaults\\n*/\\n\\ntable {\\n\\tborder: 1px solid \u003C\u003Ccolour table-border>>;\\n\\twidth: auto;\\n\\tmax-width: 100%;\\n\\tcaption-side: bottom;\\n\\tmargin-top: 1em;\\n\\tmargin-bottom: 1em;\\n\\t/* next 2 elements needed, since normalize 8.0.1 */\\n\\tborder-collapse: collapse;\\n\\tborder-spacing: 0;\\n}\\n\\ntable th, table td {\\n\\tpadding: 0 7px 0 7px;\\n\\tborder-top: 1px solid \u003C\u003Ccolour table-border>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour table-border>>;\\n}\\n\\ntable thead tr td, table th {\\n\\tbackground-color: \u003C\u003Ccolour table-header-background>>;\\n\\tfont-weight: bold;\\n}\\n\\ntable tfoot tr td {\\n\\tbackground-color: \u003C\u003Ccolour table-footer-background>>;\\n}\\n\\n/*\\nTable utility classes\\n*/\\n\\n/* Remove borders from table as used in eg: GettingStarted*/\\n.tc-table-no-border,\\n.tc-table-no-border th,\\n.tc-table-no-border td {\\n\\tborder: initial;\\n}\\n\\n/* First column in table width will fit to text.*/\\n/* This rule makes most sense with tc-first-link-nowrap*/\\n.tc-first-col-min-width td:nth-child(1) {\\n\\twidth: 1%;\\n}\\n\\n/*\\n** Utility classes work well with tables but also for other containers\\n*/\\n\\n/* First link A element will not wrap */\\n.tc-first-link-nowrap:first-of-type a {\\n\\twhite-space: nowrap;\\n}\\n\\n/* Move the table to the center of the container */\\n.tc-center {\\n\\tmargin-left: auto;\\n\\tmargin-right: auto;\\n}\\n\\n.tc-max-width {\\n\\twidth: 100%;\\n}\\n\\n.tc-max-width-80 {\\n\\tmax-width: 80%;\\n}\\n\\n/* Allow input and textarea to look like the ControlPanel inputs */\\n.tc-edit-max-width input,\\n.tc-edit-max-width textarea {\\n\\twidth: 100%;\\n\\tpadding: 3px;\\n}\\n\\n/*\\nCSV parser plugin\\n*/\\n\\n.tc-csv-table {\\n\\twhite-space: nowrap;\\n}\\n\\n.tc-csv-table th,\\n.tc-csv-table td {\\n\\twhite-space: pre-line;\\n}\\n\\n/*\\nTiddler frame in story river\\n*/\\n\\n.tc-tiddler-frame img,\\n.tc-tiddler-frame svg,\\n.tc-tiddler-frame canvas,\\n.tc-tiddler-frame embed,\\n.tc-tiddler-frame iframe {\\n\\tmax-width: 100%;\\n}\\n\\n.tc-tiddler-body > embed,\\n.tc-tiddler-body > iframe {\\n\\twidth: 100%;\\n\\theight: 600px;\\n}\\n\\n:root {\\n\\tcolor-scheme: {{{ [{$:/palette}get[color-scheme]] ~light }}};\\n}\\n\\n/*\\n** Links\\n*/\\n\\nbutton.tc-tiddlylink,\\na.tc-tiddlylink {\\n\\ttext-decoration: none;\\n\\tfont-weight: 500;\\n\\tcolor: \u003C\u003Ccolour tiddler-link-foreground>>;\\n\\t-webkit-user-select: inherit; /* Otherwise the draggable attribute makes links impossible to select */\\n\\t-webkit-touch-callout: none; /* Prevents long presses from bringing up a link preview */\\n}\\n\\n.tc-sidebar-lists a.tc-tiddlylink {\\n\\tcolor: \u003C\u003Ccolour sidebar-tiddler-link-foreground>>;\\n}\\n\\n.tc-sidebar-lists a.tc-tiddlylink:hover {\\n\\tcolor: \u003C\u003Ccolour sidebar-tiddler-link-foreground-hover>>;\\n}\\n\\nbutton.tc-tiddlylink:hover,\\na.tc-tiddlylink:hover {\\n\\ttext-decoration: underline;\\n}\\n\\na.tc-tiddlylink-resolves {\\n}\\n\\na.tc-tiddlylink-shadow {\\n\\tfont-weight: bold;\\n}\\n\\na.tc-tiddlylink-shadow.tc-tiddlylink-resolves {\\n\\tfont-weight: normal;\\n}\\n\\na.tc-tiddlylink-missing {\\n\\tfont-style: italic;\\n}\\n\\na.tc-tiddlylink-external {\\n\\ttext-decoration: underline;\\n\\tcolor: \u003C\u003Ccolour external-link-foreground>>;\\n\\tbackground-color: \u003C\u003Ccolour external-link-background>>;\\n}\\n\\na.tc-tiddlylink-external:visited {\\n\\tcolor: \u003C\u003Ccolour external-link-foreground-visited>>;\\n\\tbackground-color: \u003C\u003Ccolour external-link-background-visited>>;\\n}\\n\\na.tc-tiddlylink-external:hover {\\n\\tcolor: \u003C\u003Ccolour external-link-foreground-hover>>;\\n\\tbackground-color: \u003C\u003Ccolour external-link-background-hover>>;\\n}\\n\\n.tc-drop-down a.tc-tiddlylink:hover {\\n\\tcolor: \u003C\u003Ccolour tiddler-link-background>>;\\n}\\n\\n/*\\n** Drag and drop styles\\n*/\\n\\n.tc-tiddler-dragger {\\n\\tposition: relative;\\n\\tz-index: -10000;\\n}\\n\\n.tc-tiddler-dragger-inner {\\n\\tposition: absolute;\\n\\ttop: -1000px;\\n\\tleft: -1000px;\\n\\tdisplay: inline-block;\\n\\tpadding: 8px 20px;\\n\\tfont-size: 16.9px;\\n\\tfont-weight: bold;\\n\\tline-height: 20px;\\n\\tcolor: \u003C\u003Ccolour dragger-foreground>>;\\n\\ttext-shadow: 0 1px 0 rgba(0, 0, 0, 1);\\n\\twhite-space: nowrap;\\n\\tvertical-align: baseline;\\n\\tbackground-color: \u003C\u003Ccolour dragger-background>>;\\n\\tborder-radius: 20px;\\n}\\n\\n.tc-tiddler-dragger-cover {\\n\\tposition: absolute;\\n\\tbackground-color: \u003C\u003Ccolour page-background>>;\\n}\\n\\n.tc-page-container > .tc-dropzone {\\n\\tmin-height: 100vh;\\n}\\n\\n.tc-dropzone {\\n\\tposition: relative;\\n}\\n\\n.tc-dropzone.tc-dragover:before {\\n\\tz-index: 10000;\\n\\tdisplay: block;\\n\\tposition: fixed;\\n\\ttop: 0;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tbackground: \u003C\u003Ccolour dropzone-background>>;\\n\\ttext-align: center;\\n\\tcontent: \\\"\u003C\u003Clingo DropMessage>>\\\";\\n}\\n\\n.tc-droppable > .tc-droppable-placeholder {\\n\\tdisplay: none;\\n}\\n\\n.tc-droppable.tc-dragover > .tc-droppable-placeholder {\\n\\tdisplay: block;\\n\\tborder: 2px dashed \u003C\u003Ccolour dropzone-background>>;\\n}\\n\\n.tc-draggable {\\n\\tcursor: move;\\n}\\n\\n.tc-sidebar-tab-open .tc-droppable-placeholder, .tc-tagged-draggable-list .tc-droppable-placeholder,\\n.tc-links-draggable-list .tc-droppable-placeholder {\\n\\tline-height: 2em;\\n\\theight: 2em;\\n}\\n\\n.tc-sidebar-tab-open-item {\\n\\tposition: relative;\\n}\\n\\n.tc-sidebar-tab-open .tc-btn-invisible.tc-btn-mini svg {\\n\\tfont-size: 0.7em;\\n\\tfill: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n/*\\n** Plugin reload warning\\n*/\\n\\n.tc-plugin-reload-warning {\\n\\tz-index: 1000;\\n\\tdisplay: block;\\n\\tposition: fixed;\\n\\ttop: 0;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tbackground: \u003C\u003Ccolour alert-background>>;\\n\\ttext-align: center;\\n}\\n\\n/*\\n** Buttons\\n*/\\n\\nbutton svg, button img, label svg, label img {\\n\\tvertical-align: middle;\\n}\\n\\n.tc-btn-invisible {\\n\\tpadding: 0;\\n\\tmargin: 0;\\n\\tbackground: none;\\n\\tborder: none;\\n\\tcursor: pointer;\\n\\tcolor: \u003C\u003Ccolour foreground>>;\\n\\tfill: \u003C\u003Ccolour foreground>>;\\n}\\n\\nbutton:disabled.tc-btn-invisible {\\n\\tcursor: default;\\n\\tcolor: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n.tc-btn-boxed {\\n\\tfont-size: 0.6em;\\n\\tpadding: 0.2em;\\n\\tmargin: 1px;\\n\\tbackground: none;\\n\\tborder: 1px solid \u003C\u003Ccolour tiddler-controls-foreground>>;\\n\\tborder-radius: 0.25em;\\n}\\n\\nhtml body.tc-body .tc-btn-boxed svg {\\n\\tfont-size: 1.6666em;\\n}\\n\\n.tc-btn-boxed:hover {\\n\\tbackground: \u003C\u003Ccolour muted-foreground>>;\\n\\tcolor: \u003C\u003Ccolour background>>;\\n}\\n\\nhtml body.tc-body .tc-btn-boxed:hover svg {\\n\\tfill: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-btn-rounded {\\n\\tfont-size: 0.5em;\\n\\tline-height: 2;\\n\\tpadding: 0em 0.3em 0.2em 0.4em;\\n\\tmargin: 1px;\\n\\tborder: 1px solid \u003C\u003Ccolour muted-foreground>>;\\n\\tbackground: \u003C\u003Ccolour muted-foreground>>;\\n\\tcolor: \u003C\u003Ccolour background>>;\\n\\tborder-radius: 2em;\\n}\\n\\nhtml body.tc-body .tc-btn-rounded svg {\\n\\tfont-size: 1.6666em;\\n\\tfill: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-btn-rounded:hover {\\n\\tborder: 1px solid \u003C\u003Ccolour muted-foreground>>;\\n\\tbackground: \u003C\u003Ccolour background>>;\\n\\tcolor: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\nhtml body.tc-body .tc-btn-rounded:hover svg {\\n\\tfill: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n.tc-btn-icon svg {\\n\\theight: 1em;\\n\\twidth: 1em;\\n\\tfill: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n\\n.tc-btn-text {\\n\\tmargin-left: 7px;\\n}\\n\\n/* used for documentation \\\"fake\\\" buttons */\\n.tc-btn-standard {\\n\\tline-height: 1.8;\\n\\tcolor: #667;\\n\\tbackground-color: #e0e0e0;\\n\\tborder: 1px solid #888;\\n\\tpadding: 2px 1px 2px 1px;\\n\\tmargin: 1px 4px 1px 4px;\\n}\\n\\n.tc-btn-big-green {\\n\\tdisplay: inline-block;\\n\\tpadding: 8px;\\n\\tmargin: 4px 8px 4px 8px;\\n\\tbackground: \u003C\u003Ccolour download-background>>;\\n\\tcolor: \u003C\u003Ccolour download-foreground>>;\\n\\tfill: \u003C\u003Ccolour download-foreground>>;\\n\\tborder: none;\\n\\tborder-radius: 2px;\\n\\tfont-size: 1.2em;\\n\\tline-height: 1.4em;\\n\\ttext-decoration: none;\\n}\\n\\n.tc-btn-big-green svg,\\n.tc-btn-big-green img {\\n\\theight: 2em;\\n\\twidth: 2em;\\n\\tvertical-align: middle;\\n\\tfill: \u003C\u003Ccolour download-foreground>>;\\n}\\n\\n.tc-primary-btn {\\n\\tbackground: \u003C\u003Ccolour primary>>;\\n}\\n\\n.tc-sidebar-lists input {\\n\\tcolor: \u003C\u003Ccolour foreground>>;\\n}\\n\\n.tc-sidebar-lists button {\\n\\tcolor: \u003C\u003Ccolour sidebar-button-foreground>>;\\n\\tfill: \u003C\u003Ccolour sidebar-button-foreground>>;\\n}\\n\\n.tc-sidebar-lists button.tc-btn-mini {\\n\\tcolor: \u003C\u003Ccolour sidebar-muted-foreground>>;\\n}\\n\\n.tc-sidebar-lists button.tc-btn-mini:hover {\\n\\tcolor: \u003C\u003Ccolour sidebar-muted-foreground-hover>>;\\n}\\n\\n.tc-sidebar-lists button small {\\n\\tcolor: \u003C\u003Ccolour foreground>>;\\n}\\n\\nbutton svg.tc-image-button, button .tc-image-button img {\\n\\theight: 1em;\\n\\twidth: 1em;\\n}\\n\\n.tc-unfold-banner {\\n\\tposition: absolute;\\n\\tpadding: 0;\\n\\tmargin: 0;\\n\\tbackground: none;\\n\\tborder: none;\\n\\twidth: 100%;\\n\\twidth: calc(100% + 2px);\\n\\tmargin-left: -43px;\\n\\ttext-align: center;\\n\\tborder-top: 2px solid \u003C\u003Ccolour tiddler-info-background>>;\\n\\tmargin-top: 4px;\\n}\\n\\n.tc-unfold-banner:hover {\\n\\tbackground: \u003C\u003Ccolour tiddler-info-background>>;\\n\\tborder-top: 2px solid \u003C\u003Ccolour tiddler-info-border>>;\\n}\\n\\n.tc-unfold-banner svg, .tc-fold-banner svg {\\n\\theight: 0.75em;\\n\\tfill: \u003C\u003Ccolour tiddler-controls-foreground>>;\\n}\\n\\n.tc-unfold-banner:hover svg, .tc-fold-banner:hover svg {\\n\\tfill: \u003C\u003Ccolour tiddler-controls-foreground-hover>>;\\n}\\n\\n.tc-fold-banner {\\n\\tposition: absolute;\\n\\tpadding: 0;\\n\\tmargin: 0;\\n\\tbackground: none;\\n\\tborder: none;\\n\\twidth: 23px;\\n\\ttext-align: center;\\n\\tmargin-left: -35px;\\n\\ttop: 6px;\\n\\tbottom: 6px;\\n}\\n\\n.tc-fold-banner:hover {\\n\\tbackground: \u003C\u003Ccolour tiddler-info-background>>;\\n}\\n\\n@media (max-width: \u003C\u003Csidebarbreakpoint-minus-one>>) {\\n\\n\\t.tc-unfold-banner {\\n\\t\\tposition: static;\\n\\t\\twidth: calc(100% + 59px);\\n\\t}\\n\\n\\t.tc-fold-banner {\\n\\t\\twidth: 16px;\\n\\t\\tmargin-left: -16px;\\n\\t\\tfont-size: 0.75em;\\n\\t}\\n\\n}\\n\\n/*\\n** Tags and missing tiddlers\\n*/\\n\\n.tc-tag-list-item {\\n\\tposition: relative;\\n\\tdisplay: inline-block;\\n}\\n\\n.tc-tags-wrapper {\\n\\tmargin: 4px 0 14px 0;\\n}\\n\\n.tc-tags-wrapper .tc-tag-list-item {\\n\\tmargin-right: 7px;\\n}\\n\\n.tc-missing-tiddler-label {\\n\\tfont-style: italic;\\n\\tfont-weight: normal;\\n\\tdisplay: inline-block;\\n\\tfont-size: 11.844px;\\n\\tline-height: 14px;\\n\\twhite-space: nowrap;\\n\\tvertical-align: baseline;\\n}\\n\\n.tc-block-tags-dropdown > .tc-btn-invisible:hover {\\n\\tbackground-color: \u003C\u003Ccolour primary>>;\\n}\\n\\nbutton.tc-tag-label, span.tc-tag-label {\\n\\tdisplay: inline-block;\\n\\tpadding: 0.16em 0.7em;\\n\\tfont-size: 0.9em;\\n\\tfont-weight: normal;\\n\\tline-height: 1.2em;\\n\\tcolor: \u003C\u003Ccolour tag-foreground>>;\\n\\twhite-space: break-spaces;\\n\\tvertical-align: baseline;\\n\\tbackground-color: \u003C\u003Ccolour tag-background>>;\\n\\tborder-radius: 1em;\\n}\\n\\n.tc-sidebar-scrollable .tc-tag-label {\\n\\ttext-shadow: none;\\n}\\n\\n.tc-untagged-separator {\\n\\tborder: 0;\\n\\theight: 1px;\\n\\tbackground: \u003C\u003Ccolour tab-divider>>;\\n}\\n\\nbutton.tc-untagged-label {\\n\\tbackground-color: \u003C\u003Ccolour untagged-background>>;\\n}\\n\\n.tc-tag-label svg, .tc-tag-label img {\\n\\theight: 1em;\\n\\twidth: 1em;\\n\\tmargin-right: 3px;\\n\\tmargin-bottom: 1px;\\n\\tvertical-align: bottom;\\n}\\n\\n.tc-edit-tags button.tc-remove-tag-button svg {\\n\\tfont-size: 0.7em;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-tag-manager-table .tc-tag-label {\\n}\\n\\n.tc-tag-manager-tag {\\n\\twidth: 100%;\\n}\\n\\nbutton.tc-btn-invisible.tc-remove-tag-button {\\n\\toutline: none;\\n}\\n\\n.tc-tag-button-selected,\\n.tc-list-item-selected a.tc-tiddlylink, a.tc-list-item-selected {\\n\\tbackground-color: \u003C\u003Ccolour primary>>;\\n\\tcolor: \u003C\u003Ccolour tiddler-background>>;\\n}\\n\\n/*\\n** Page layout\\n*/\\n\\n.tc-topbar {\\n\\tposition: fixed;\\n\\tz-index: 1200;\\n}\\n\\n.tc-topbar-left {\\n\\tleft: 29px;\\n\\ttop: 5px;\\n}\\n\\n.tc-topbar-right {\\n\\ttop: 5px;\\n\\tright: 29px;\\n}\\n\\n@media (max-width: \u003C\u003Csidebarbreakpoint-minus-one>>) {\\n\\n\\t.tc-topbar-right {\\n\\t\\tright: 10px;\\n\\t}\\n\\n}\\n\\n.tc-topbar button {\\n\\tpadding: 8px;\\n}\\n\\n.tc-topbar svg {\\n\\tfill: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n.tc-topbar button:hover svg {\\n\\tfill: \u003C\u003Ccolour foreground>>;\\n}\\n\\n@media (max-width: \u003C\u003Csidebarbreakpoint-minus-one>>) {\\n\\n\\t.tc-show-sidebar-btn svg.tc-image-chevron-left, .tc-hide-sidebar-btn svg.tc-image-chevron-right {\\n\\t\\ttransform: rotate(-90deg);\\n\\t}\\n\\n}\\n\\n.tc-sidebar-header {\\n\\tcolor: \u003C\u003Ccolour sidebar-foreground>>;\\n\\tfill: \u003C\u003Ccolour sidebar-foreground>>;\\n}\\n\\n.tc-sidebar-header .tc-title a.tc-tiddlylink-resolves {\\n\\tfont-weight: normal;\\n}\\n\\n.tc-sidebar-header .tc-sidebar-lists p {\\n\\tmargin-top: 3px;\\n\\tmargin-bottom: 3px;\\n}\\n\\n.tc-sidebar-header .tc-missing-tiddler-label {\\n\\tcolor: \u003C\u003Ccolour sidebar-foreground>>;\\n}\\n\\n.tc-advanced-search input {\\n\\twidth: 60%;\\n}\\n\\n.tc-search a svg {\\n\\twidth: 1.2em;\\n\\theight: 1.2em;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-page-controls {\\n\\tmargin-top: 14px;\\n\\tfont-size: 1.5em;\\n}\\n\\n.tc-page-controls .tc-drop-down {\\n\\tfont-size: 1rem;\\n}\\n\\n.tc-page-controls button {\\n\\tmargin-right: 0.5em;\\n}\\n\\n.tc-page-controls a.tc-tiddlylink:hover {\\n\\ttext-decoration: none;\\n}\\n\\n.tc-page-controls img {\\n\\twidth: 1em;\\n}\\n\\n.tc-page-controls svg {\\n\\tfill: \u003C\u003Ccolour sidebar-controls-foreground>>;\\n}\\n\\n.tc-page-controls button:hover svg, .tc-page-controls a:hover svg {\\n\\tfill: \u003C\u003Ccolour sidebar-controls-foreground-hover>>;\\n}\\n\\n.tc-sidebar-lists .tc-menu-list-item {\\n\\twhite-space: nowrap;\\n}\\n\\n.tc-menu-list-count {\\n\\tfont-weight: bold;\\n}\\n\\n.tc-menu-list-subitem {\\n\\tpadding-left: 7px;\\n}\\n\\n.tc-story-river {\\n\\tposition: relative;\\n}\\n\\n@media (max-width: \u003C\u003Csidebarbreakpoint-minus-one>>) {\\n\\n\\t.tc-sidebar-header {\\n\\t\\tpadding: 14px;\\n\\t\\tmin-height: 32px;\\n\\t\\tmargin-top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};\\n\\t\\ttransition: min-height {{$:/config/AnimationDuration}}ms ease-in-out, padding-top {{$:/config/AnimationDuration}}ms ease-in-out, padding-bottom {{$:/config/AnimationDuration}}ms ease-in-out;\\n\\t}\\n\\t\\n\\t\u003C\u003Cif-no-sidebar \\\"\\\"\\\"\\n\\n\\t\\t.tc-sidebar-header {\\n\\t\\t\\tmin-height: 0;\\n\\t\\t\\tpadding-top: 0;\\n\\t\\t\\tpadding-bottom: 0;\\n\\t\\t}\\n\\n\\t\\\"\\\"\\\">>\\n\\n\\t.tc-story-river {\\n\\t\\tposition: relative;\\n\\t\\tpadding: 0;\\n\\t}\\n}\\n\\n@media (min-width: \u003C\u003Csidebarbreakpoint>>) {\\n\\n\\t.tc-message-box {\\n\\t\\tmargin: 21px -21px 21px -21px;\\n\\t}\\n\\n\\t.tc-sidebar-scrollable {\\n\\t\\tposition: fixed;\\n\\t\\ttop: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};\\n\\t\\tleft: {{$:/themes/tiddlywiki/vanilla/metrics/storyright}};\\n\\t\\tbottom: 0;\\n\\t\\tright: 0;\\n\\t\\toverflow-y: auto;\\n\\t\\toverflow-x: auto;\\n\\t\\t-webkit-overflow-scrolling: touch;\\n\\t\\tmargin: 0 0 0 -42px;\\n\\t\\tpadding: 71px 0 28px 42px;\\n\\t}\\n\\n\\thtml[dir=\\\"rtl\\\"] .tc-sidebar-scrollable {\\n\\t\\tleft: auto;\\n\\t\\tright: {{$:/themes/tiddlywiki/vanilla/metrics/storyright}};\\n\\t}\\n\\n\\t.tc-story-river {\\n\\t\\tposition: relative;\\n\\t\\tleft: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}};\\n\\t\\ttop: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};\\n\\t\\twidth: {{$:/themes/tiddlywiki/vanilla/metrics/storywidth}};\\n\\t\\tpadding: 42px 42px 42px 42px;\\n\\t}\\n\\n\u003C\u003Cif-no-sidebar \\\"\\n\\n\\t.tc-story-river {\\n\\t\\twidth: calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}});\\n\\t}\\n\\n\\\">>\\n\\n\\t.tc-story-river.tc-static-story-river {\\n\\t\\tmargin-right: 0;\\n\\t\\tpadding-right: 42px;\\n\\t}\\n\\n}\\n\\n@media print {\\n\\n\\tbody.tc-body {\\n\\t\\tbackground-color: transparent;\\n\\t}\\n\\n\\t.tc-sidebar-header, .tc-topbar {\\n\\t\\tdisplay: none;\\n\\t}\\n\\n\\t.tc-story-river {\\n\\t\\tmargin: 0;\\n\\t\\tpadding: 0;\\n\\t}\\n\\n\\t.tc-story-river .tc-tiddler-frame {\\n\\t\\tmargin: 0;\\n\\t\\tborder: none;\\n\\t\\tpadding: 0;\\n\\t}\\n}\\n\\n/*\\n** Tiddler styles\\n*/\\n\\n.tc-tiddler-frame {\\n\\tposition: relative;\\n\\tmargin-bottom: 28px;\\n\\tbackground-color: \u003C\u003Ccolour tiddler-background>>;\\n\\tborder: 1px solid \u003C\u003Ccolour tiddler-border>>;\\n}\\n\\n{{$:/themes/tiddlywiki/vanilla/sticky}}\\n\\n.tc-tiddler-info {\\n\\toverflow: hidden;\\n\\tpadding: 14px 42px 14px 42px;\\n\\tbackground-color: \u003C\u003Ccolour tiddler-info-background>>;\\n\\tborder-top: 1px solid \u003C\u003Ccolour tiddler-info-border>>;\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour tiddler-info-border>>;\\n}\\n\\n.tc-tiddler-info p {\\n\\tmargin-top: 3px;\\n\\tmargin-bottom: 3px;\\n}\\n\\n.tc-tiddler-info .tc-tab-buttons button.tc-tab-selected {\\n\\tbackground-color: \u003C\u003Ccolour tiddler-info-tab-background>>;\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour tiddler-info-tab-background>>;\\n}\\n\\n@media (max-width: \u003C\u003Csidebarbreakpoint-minus-one>>) {\\n\\n\\t.tc-tiddler-info {\\n\\t\\tpadding: 14px 14px 14px 14px;\\n\\t}\\n\\n}\\n\\n.tc-view-field-table {\\n\\twidth: 100%;\\n}\\n\\n.tc-view-field-name {\\n\\twidth: 1%; /* Makes this column be as narrow as possible */\\n\\twhite-space: nowrap;\\n\\tvertical-align: top;\\n\\ttext-align: right;\\n\\tfont-style: italic;\\n\\tfont-weight: normal;\\n}\\n\\n.tc-view-field-value {\\n\\tword-break: break-all;\\n}\\n\\n@media (max-width: \u003C\u003Csidebarbreakpoint-minus-one>>) {\\n\\t.tc-tiddler-frame {\\n\\t\\tpadding: 14px 14px 14px 14px;\\n\\t\\tmargin-bottom: .5em;\\n\\t}\\n\\n\\t.tc-tiddler-info {\\n\\t\\tmargin: 0 -14px 0 -14px;\\n\\t}\\n}\\n\\n@media (min-width: \u003C\u003Csidebarbreakpoint>>) {\\n\\t.tc-tiddler-frame {\\n\\t\\tpadding: 28px 42px 42px 42px;\\n\\t\\twidth: {{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}};\\n\\t\\tborder-radius: 2px;\\n\\t}\\n\\n\u003C\u003Cif-no-sidebar \\\"\\n\\n\\t.tc-tiddler-frame {\\n\\t\\twidth: 100%;\\n\\t}\\n\\n\\\">>\\n\\n\\t.tc-tiddler-info {\\n\\t\\tmargin: 0 -42px 0 -42px;\\n\\t}\\n}\\n\\n.tc-site-title,\\n.tc-titlebar {\\n\\tfont-weight: normal;\\n\\tfont-size: 2.35em;\\n\\tline-height: 1.35em;\\n\\tcolor: \u003C\u003Ccolour tiddler-title-foreground>>;\\n\\tmargin: 0;\\n}\\n\\n.tc-site-title {\\n\\tcolor: \u003C\u003Ccolour site-title-foreground>>;\\n}\\n\\n.tc-tiddler-title-icon {\\n\\tvertical-align: middle;\\n\\tmargin-right: .1em;\\n}\\n\\n.tc-tiddler-title-icon svg {\\n\\twidth: 0.9em;\\n\\theight: 0.9em;\\n}\\n\\n.tc-system-title-prefix {\\n\\tcolor: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n.tc-titlebar h2 {\\n\\tfont-size: 1em;\\n\\tdisplay: inline;\\n}\\n\\n.tc-titlebar img {\\n\\theight: 1em;\\n}\\n\\n.tc-subtitle {\\n\\tfont-size: 0.9em;\\n\\tcolor: \u003C\u003Ccolour tiddler-subtitle-foreground>>;\\n\\tfont-weight: normal;\\n}\\n\\n.tc-subtitle .tc-tiddlylink {\\n\\tmargin-right: .3em;\\n}\\n\\n.tc-tiddler-missing .tc-title {\\n\\tfont-style: italic;\\n\\tfont-weight: normal;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-controls {\\n\\tfloat: right;\\n\\tpadding: 3px; /* make space for outline */\\n}\\n\\n.tc-tiddler-controls .tc-drop-down {\\n\\tfont-size: 0.6em;\\n}\\n\\n.tc-tiddler-controls .tc-drop-down .tc-drop-down {\\n\\tfont-size: 1em;\\n}\\n\\n.tc-tiddler-controls > span > button,\\n.tc-tiddler-controls > span > span > button,\\n.tc-tiddler-controls > span > span > span > button {\\n\\tvertical-align: baseline;\\n\\tmargin-left:5px;\\n}\\n\\n.tc-tiddler-controls button svg, .tc-tiddler-controls button img,\\n.tc-search button svg, .tc-search a svg {\\n\\tfill: \u003C\u003Ccolour tiddler-controls-foreground>>;\\n}\\n\\n.tc-tiddler-controls button svg, .tc-tiddler-controls button img {\\n\\theight: 0.75em;\\n}\\n\\n.tc-search button svg, .tc-search a svg {\\n\\theight: 1.2em;\\n\\twidth: 1.2em;\\n\\tmargin: 0 0.25em;\\n}\\n\\n.tc-tiddler-controls button.tc-selected svg,\\n.tc-page-controls button.tc-selected svg {\\n\\tfill: \u003C\u003Ccolour tiddler-controls-foreground-selected>>;\\n}\\n\\n.tc-tiddler-controls button.tc-btn-invisible:hover svg,\\n.tc-search button:hover svg, .tc-search a:hover svg {\\n\\tfill: \u003C\u003Ccolour tiddler-controls-foreground-hover>>;\\n}\\n\\n@media print {\\n\\t.tc-tiddler-controls {\\n\\t\\tdisplay: none;\\n\\t}\\n}\\n\\n.tc-tiddler-help { /* Help prompts within tiddler template */\\n\\tcolor: \u003C\u003Ccolour muted-foreground>>;\\n\\tmargin-top: 14px;\\n}\\n\\n.tc-tiddler-help a.tc-tiddlylink {\\n\\tcolor: \u003C\u003Ccolour very-muted-foreground>>;\\n}\\n\\n.tc-tiddler-frame .tc-edit-texteditor {\\n\\twidth: 100%;\\n\\tmargin: 4px 0 4px 0;\\n}\\n\\n.tc-tiddler-frame input.tc-edit-texteditor,\\n.tc-tiddler-frame textarea.tc-edit-texteditor,\\n.tc-tiddler-frame iframe.tc-edit-texteditor,\\n.tc-tiddler-frame select.tc-edit-texteditor {\\n\\tpadding: 3px 3px 3px 3px;\\n\\tborder: 1px solid \u003C\u003Ccolour tiddler-editor-border>>;\\n\\tline-height: 1.3em;\\n\\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily}};\\n}\\n\\n.tc-tiddler-frame input.tc-edit-texteditor,\\n.tc-tiddler-frame textarea.tc-edit-texteditor,\\n.tc-tiddler-frame iframe.tc-edit-texteditor {\\n\\t-webkit-appearance: none;\\n}\\n\\n.tc-tiddler-frame input.tc-edit-texteditor,\\n.tc-tiddler-frame select.tc-edit-texteditor,\\n.tc-tiddler-frame textarea.tc-edit-texteditor {\\n\\tbackground-color: \u003C\u003Ccolour tiddler-editor-background>>;\\n}\\n\\n.tc-tiddler-frame iframe.tc-edit-texteditor {\\n\\tbackground-color: \u003C\u003Ccolour tiddler-background>>;\\n}\\n\\n.tc-tiddler-frame .tc-edit-fields input.tc-edit-fieldeditor,\\n.tc-tiddler-frame .tc-edit-fields select.tc-edit-fieldeditor,\\n.tc-tiddler-frame .tc-edit-fields textarea.tc-edit-fieldeditor {\\n\\tmargin: 0;\\n\\tpadding: 2px 3px;\\n}\\n\\n.tc-tiddler-frame .tc-binary-warning {\\n\\twidth: 100%;\\n\\theight: 5em;\\n\\ttext-align: center;\\n\\tpadding: 3em 3em 6em 3em;\\n\\tbackground: \u003C\u003Ccolour alert-background>>;\\n\\tborder: 1px solid \u003C\u003Ccolour alert-border>>;\\n}\\n\\ncanvas.tc-edit-bitmapeditor {\\n\\tborder: 6px solid \u003C\u003Ccolour tiddler-editor-border-image>>;\\n\\tcursor: crosshair;\\n\\t-moz-user-select: none;\\n\\t-webkit-user-select: none;\\n\\t-ms-user-select: none;\\n\\tmargin-top: 6px;\\n\\tmargin-bottom: 6px;\\n}\\n\\n.tc-edit-bitmapeditor-width {\\n\\tdisplay: block;\\n}\\n\\n.tc-edit-bitmapeditor-height {\\n\\tdisplay: block;\\n}\\n\\n.tc-tiddler-body {\\n\\tclear: both;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-body {\\n\\tfont-size: {{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}};\\n\\tline-height: {{$:/themes/tiddlywiki/vanilla/metrics/bodylineheight}};\\n}\\n\\n.tc-titlebar, .tc-tiddler-edit-title {\\n\\toverflow: hidden; /* https://github.com/Jermolene/TiddlyWiki5/issues/282 */\\n}\\n\\nhtml body.tc-body.tc-single-tiddler-window {\\n\\tmargin: 1em;\\n\\tbackground: \u003C\u003Ccolour tiddler-background>>;\\n}\\n\\n.tc-single-tiddler-window img,\\n.tc-single-tiddler-window svg,\\n.tc-single-tiddler-window canvas,\\n.tc-single-tiddler-window embed,\\n.tc-single-tiddler-window iframe {\\n\\tmax-width: 100%;\\n}\\n\\n/*\\n** Editor\\n*/\\n\\n.tc-editor-toolbar {\\n\\tmargin-top: 8px;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-editor-toolbar,\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden .tc-editor-toolbar {\\n\\tgrid-area: toolbar;\\n}\\n\\n.tc-editor-toolbar button {\\n\\tvertical-align: middle;\\n\\tbackground-color: \u003C\u003Ccolour tiddler-controls-foreground>>;\\n\\tcolor: \u003C\u003Ccolour tiddler-controls-foreground-selected>>;\\n\\tfill: \u003C\u003Ccolour tiddler-controls-foreground-selected>>;\\n\\tborder-radius: 4px;\\n\\tpadding: 3px;\\n\\tmargin: 2px 0 2px 4px;\\n}\\n\\n.tc-editor-toolbar button.tc-text-editor-toolbar-item-adjunct {\\n\\tmargin-left: 1px;\\n\\twidth: 1em;\\n\\tborder-radius: 8px;\\n}\\n\\n.tc-editor-toolbar button.tc-text-editor-toolbar-item-start-group {\\n\\tmargin-left: 11px;\\n}\\n\\n.tc-editor-toolbar button.tc-selected {\\n\\tbackground-color: \u003C\u003Ccolour primary>>;\\n}\\n\\n.tc-editor-toolbar button svg {\\n\\twidth: 1.6em;\\n\\theight: 1.2em;\\n}\\n\\n.tc-editor-toolbar .tc-drop-down button.tc-btn-mini {\\n\\tpadding: 2px 4px;\\n}\\n\\n.tc-editor-toolbar button:hover {\\n\\tbackground-color: \u003C\u003Ccolour tiddler-controls-foreground-selected>>;\\n\\tfill: \u003C\u003Ccolour background>>;\\n\\tcolor: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-editor-toolbar .tc-text-editor-toolbar-more {\\n\\twhite-space: normal;\\n}\\n\\n.tc-editor-toolbar .tc-text-editor-toolbar-more button {\\n\\tdisplay: inline-block;\\n\\tpadding: 3px;\\n\\twidth: auto;\\n}\\n\\n.tc-editor-toolbar .tc-search-results {\\n\\tpadding: 0;\\n}\\n\\n.tc-editor-toolbar button.tc-editortoolbar-stamp-button + .tc-popup .tc-drop-down > p {\\n\\tmargin: 0;\\n\\tpadding: 0;\\n}\\n\\n.tc-editor-toolbar button.tc-editortoolbar-stamp-button + .tc-popup .tc-drop-down a.tc-tiddlylink {\\n\\tfont-weight: normal;\\n}\\n\\n/*\\n** Adjustments for fluid-fixed mode\\n*/\\n\\n@media (min-width: \u003C\u003Csidebarbreakpoint>>) {\\n\\n\u003C\u003Cif-fluid-fixed text:\\\"\\\"\\\"\\n\\n\\t.tc-story-river {\\n\\t\\tpadding-right: 0;\\n\\t\\tposition: relative;\\n\\t\\twidth: auto;\\n\\t\\tleft: 0;\\n\\t\\tmargin-left: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}};\\n\\t\\tmargin-right: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};\\n\\t}\\n\\n\\t.tc-tiddler-frame {\\n\\t\\twidth: 100%;\\n\\t}\\n\\n\\t.tc-sidebar-scrollable {\\n\\t\\tleft: auto;\\n\\t\\tbottom: 0;\\n\\t\\tright: 0;\\n\\t\\twidth: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};\\n\\t}\\n\\n\\tbody.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\\n\\t\\twidth: 100%;\\n\\t\\twidth: calc(100% - 42px);\\n\\t}\\n\\n\\\"\\\"\\\" hiddenSidebarText:\\\"\\\"\\\"\\n\\n\\t.tc-story-river {\\n\\t\\tpadding-right: 3em;\\n\\t\\tmargin-right: 0;\\n\\t}\\n\\n\\tbody.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\\n\\t\\twidth: 100%;\\n\\t\\twidth: calc(100% - 84px);\\n\\t}\\n\\n\\\"\\\"\\\">>\\n\\n}\\n\\n/*\\n** Toolbar buttons\\n*/\\n\\n.tc-page-controls svg.tc-image-new-button {\\n\\tfill: \u003C\u003Ccolour toolbar-new-button>>;\\n}\\n\\n.tc-page-controls svg.tc-image-options-button {\\n\\tfill: \u003C\u003Ccolour toolbar-options-button>>;\\n}\\n\\n.tc-page-controls svg.tc-image-save-button {\\n\\tfill: \u003C\u003Ccolour toolbar-save-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-info-button {\\n\\tfill: \u003C\u003Ccolour toolbar-info-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-edit-button {\\n\\tfill: \u003C\u003Ccolour toolbar-edit-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-close-button {\\n\\tfill: \u003C\u003Ccolour toolbar-close-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-delete-button {\\n\\tfill: \u003C\u003Ccolour toolbar-delete-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-cancel-button {\\n\\tfill: \u003C\u003Ccolour toolbar-cancel-button>>;\\n}\\n\\n.tc-tiddler-controls button svg.tc-image-done-button {\\n\\tfill: \u003C\u003Ccolour toolbar-done-button>>;\\n}\\n\\n.tc-page-controls svg.tc-image-layout-button {\\n\\tfill: \u003C\u003Ccolour toolbar-options-button>>;\\n}\\n\\n/*\\n** Tiddler edit mode\\n*/\\n\\n.tc-tiddler-edit-frame em.tc-edit {\\n\\tcolor: \u003C\u003Ccolour muted-foreground>>;\\n\\tfont-style: normal;\\n}\\n\\n.tc-edit-type-dropdown a.tc-tiddlylink-missing {\\n\\tfont-style: normal;\\n}\\n\\n.tc-type-selector .tc-edit-typeeditor {\\n\\twidth: auto;\\n}\\n\\n.tc-type-selector-dropdown-wrapper {\\n\\tdisplay: inline-block;\\n}\\n\\n\u003C\u003Cset-type-selector-min-width>>\\n\\n.tc-edit-tags {\\n\\tborder: 1px solid \u003C\u003Ccolour tiddler-editor-border>>;\\n\\tpadding: 4px 8px 4px 8px;\\n}\\n\\n.tc-edit-add-tag {\\n\\tdisplay: inline-block;\\n}\\n\\n.tc-edit-add-tag .tc-add-tag-name input {\\n\\twidth: 50%;\\n}\\n\\n.tc-edit-add-tag .tc-keyboard {\\n\\tdisplay:inline;\\n}\\n\\n.tc-edit-tags .tc-tag-label {\\n\\tdisplay: inline-block;\\n}\\n\\n.tc-edit-tags-list {\\n\\tmargin: 14px 0 14px 0;\\n}\\n\\n.tc-remove-tag-button {\\n\\tpadding-left: 4px;\\n}\\n\\n.tc-tiddler-preview {\\n\\toverflow: auto;\\n}\\n\\n.tc-tiddler-editor {\\n\\tdisplay: grid;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview {\\n\\tgrid-template-areas:\\n\\t\\t\\\"toolbar toolbar\\\"\\n\\t\\t\\\"editor preview\\\";\\n\\tgrid-template-columns: 1fr 1fr;\\n\\tgrid-template-rows: auto 1fr;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden {\\n\\tgrid-template-areas:\\n\\t\\t\\\"toolbar\\\"\\n\\t\\t\\\"editor\\\";\\n\\tgrid-template-columns: 1fr;\\n\\tgrid-template-rows: auto 1fr;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-tiddler-preview-preview {\\n\\tgrid-area: preview;\\n\\toverflow-wrap: anywhere;\\n\\tword-break: normal;\\n\\tborder: 1px solid \u003C\u003Ccolour tiddler-editor-border>>;\\n\\tmargin: 4px 0 3px 3px;\\n\\tpadding: 3px 3px 3px 3px;\\n}\\n\\n\u003C\u003Cif-editor-height-fixed then:\\\"\\\"\\\"\\n\\n.tc-tiddler-preview-preview {\\n\\toverflow-y: scroll;\\n\\theight: {{$:/config/TextEditor/EditorHeight/Height}};\\n}\\n\\n\\\"\\\"\\\">>\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview .tc-edit-texteditor,\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden .tc-edit-texteditor {\\n\\tgrid-area: editor;\\n}\\n\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview canvas.tc-edit-bitmapeditor,\\n.tc-tiddler-frame .tc-tiddler-editor.tc-tiddler-preview-hidden canvas.tc-edit-bitmapeditor {\\n\\tgrid-area: editor;\\n\\tmax-width: 100%;\\n}\\n\\n.tc-edit-fields {\\n\\twidth: 100%;\\n}\\n\\n.tc-edit-fields.tc-edit-fields-small {\\n\\tmargin-top: 0;\\n\\tmargin-bottom: 0;\\n}\\n\\n.tc-edit-fields table, .tc-edit-fields tr, .tc-edit-fields td {\\n\\tborder: none;\\n\\tpadding: 4px;\\n}\\n\\n.tc-edit-fields > tbody > .tc-edit-field:nth-child(odd) {\\n\\tbackground-color: \u003C\u003Ccolour tiddler-editor-fields-odd>>;\\n}\\n\\n.tc-edit-fields > tbody > .tc-edit-field:nth-child(even) {\\n\\tbackground-color: \u003C\u003Ccolour tiddler-editor-fields-even>>;\\n}\\n\\n.tc-edit-field-name {\\n\\ttext-align: right;\\n}\\n\\n.tc-edit-field-value input {\\n\\twidth: 100%;\\n}\\n\\n.tc-edit-field-remove {\\n}\\n\\n.tc-edit-field-remove svg {\\n\\theight: 1em;\\n\\twidth: 1em;\\n\\tfill: \u003C\u003Ccolour muted-foreground>>;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-edit-field-add-name-wrapper input.tc-edit-texteditor {\\n\\twidth: auto;\\n}\\n\\n.tc-edit-field-add-name-wrapper {\\n\\tdisplay: inline-block;\\n}\\n\\n.tc-edit-field-add-value {\\n\\tdisplay: inline-block;\\n}\\n\\n@media (min-width: \u003C\u003Csidebarbreakpoint>>) {\\n\\n\\t.tc-edit-field-add-value {\\n\\t\\twidth: 35%;\\n\\t}\\n\\n}\\n\\n.tc-edit-field-add-button {\\n\\tdisplay: inline-block;\\n\\twidth: 10%;\\n}\\n\\n\\n/*\\n** Tiddler editor dropzone\\n*/\\n\\n.tc-dropzone-editor {\\n\\tposition:relative;\\n}\\n\\n.tc-dropzone-editor.tc-dragover .tc-editor-toolbar::after{\\n\\tz-index: 10000;\\n\\ttop:0;\\n\\tleft:0;\\n\\tright:0;\\n\\theight: 100%;\\n\\tbackground: \u003C\u003Ccolour dropzone-background>>;\\n\\tcontent: \\\"\u003C\u003Clingo DropMessage>>\\\";\\n\\tpointer-events: none;\\n\\tposition: absolute;\\n\\tdisplay: flex;\\n\\talign-items: center;\\n\\tjustify-content: center;\\n\\tbackground-color: \u003C\u003Ccolor background>>;\\n\\tborder: 4px dashed \u003C\u003Ccolor modal-border>>;\\n\\tfont-weight: bold;\\n\\tfont-size: 150%;\\n\\topacity: 0.8;\\n\\tcolor: \u003C\u003Ccolor foreground>>;\\n}\\n\\n.tc-editor-importpopup {\\n\\twidth: 100%;\\n\\theight: 100%;\\n}\\n\\n.tc-editor-import {\\n\\tposition: absolute;\\n\\ttop: 50%;\\n\\tleft: 50%;\\n\\ttransform: translate(-50%, -50%);\\n\\tbackground: \u003C\u003Ccolor pre-background>>;\\n\\tbox-shadow: 2px 2px 10px \u003C\u003Ccolour foreground>>;\\n\\tpadding: 10px;\\n\\twidth: 96%;\\n\\tborder: 1px solid \u003C\u003Ccolor tiddler-controls-foreground>>;\\n\\ttext-align:center;\\n}\\n\\n.tc-editor-import img {\\n\\tmax-height: 500px;\\n}\\n\\n/*\\n** Storyview Classes\\n*/\\n\\n.tc-viewswitcher .tc-image-button {\\n\\tmargin-right: .3em;\\n}\\n\\n.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\\n\\tposition: absolute;\\n\\tdisplay: block;\\n\\twidth: 100%;\\n}\\n\\n@media (min-width: \u003C\u003Csidebarbreakpoint>>) {\\n\\n\\t.tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {\\n\\t\\twidth: calc(100% - 84px);\\n\\t}\\n\\n}\\n\\n/*\\n** Dropdowns\\n*/\\n\\n.tc-btn-dropdown {\\n\\ttext-align: left;\\n}\\n\\n.tc-btn-dropdown svg, .tc-btn-dropdown img {\\n\\theight: 1em;\\n\\twidth: 1em;\\n\\tfill: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n.tc-drop-down-wrapper {\\n\\tposition: relative;\\n}\\n\\n.tc-drop-down {\\n\\tmin-width: 380px;\\n\\tborder: 1px solid \u003C\u003Ccolour dropdown-border>>;\\n\\tbackground-color: \u003C\u003Ccolour dropdown-background>>;\\n\\tpadding: 7px 0 7px 0;\\n\\tmargin: 4px 0 0 0;\\n\\twhite-space: nowrap;\\n\\ttext-shadow: none;\\n\\tline-height: 1.4;\\n}\\n\\n.tc-drop-down .tc-drop-down {\\n\\tmargin-left: 14px;\\n}\\n\\n.tc-drop-down button svg, .tc-drop-down a svg {\\n\\tfill: \u003C\u003Ccolour foreground>>;\\n}\\n\\n.tc-drop-down button:disabled svg {\\n\\tfill: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n.tc-drop-down button.tc-btn-invisible:hover svg {\\n\\tfill: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-drop-down .tc-drop-down-info {\\n\\tpadding-left: 14px;\\n}\\n\\n.tc-drop-down p {\\n\\tpadding: 0 14px 0 14px;\\n}\\n\\n.tc-drop-down svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n}\\n\\n.tc-drop-down img {\\n\\twidth: 1em;\\n}\\n\\n.tc-drop-down a, .tc-drop-down button {\\n\\tdisplay: block;\\n\\tpadding: 0 14px 0 14px;\\n\\twidth: 100%;\\n\\ttext-align: left;\\n\\tcolor: \u003C\u003Ccolour foreground>>;\\n\\tline-height: 1.4;\\n}\\n\\n.tc-drop-down .tc-tab-set .tc-tab-buttons button {\\n\\tdisplay: inline-block;\\n\\twidth: auto;\\n\\tmargin-bottom: 0px;\\n\\tborder-bottom-left-radius: 0;\\n\\tborder-bottom-right-radius: 0;\\n}\\n\\n.tc-drop-down .tc-prompt {\\n\\tpadding: 0 14px;\\n}\\n\\n.tc-drop-down .tc-chooser {\\n\\tborder: none;\\n}\\n\\n.tc-drop-down .tc-chooser .tc-swatches-horiz {\\n\\tfont-size: 0.4em;\\n\\tpadding-left: 1.2em;\\n}\\n\\n.tc-drop-down .tc-file-input-wrapper {\\n\\twidth: 100%;\\n}\\n\\n.tc-drop-down .tc-file-input-wrapper button {\\n\\tcolor: \u003C\u003Ccolour foreground>>;\\n}\\n\\n.tc-drop-down a:hover, .tc-drop-down button:hover, .tc-drop-down .tc-file-input-wrapper:hover button {\\n\\tcolor: \u003C\u003Ccolour tiddler-link-background>>;\\n\\tbackground-color: \u003C\u003Ccolour tiddler-link-foreground>>;\\n\\ttext-decoration: none;\\n}\\n\\n.tc-drop-down .tc-tab-buttons button {\\n\\tbackground-color: \u003C\u003Ccolour dropdown-tab-background>>;\\n}\\n\\n.tc-drop-down .tc-tab-buttons button.tc-tab-selected {\\n\\tbackground-color: \u003C\u003Ccolour dropdown-tab-background-selected>>;\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour dropdown-tab-background-selected>>;\\n}\\n\\n.tc-drop-down-bullet {\\n\\tdisplay: inline-block;\\n\\twidth: 0.5em;\\n}\\n\\n.tc-drop-down .tc-tab-contents a {\\n\\tpadding: 0 0.5em 0 0.5em;\\n}\\n\\n.tc-block-dropdown-wrapper {\\n\\tposition: relative;\\n}\\n\\n.tc-block-dropdown {\\n\\tposition: absolute;\\n\\tmin-width: 220px;\\n\\tborder: 1px solid \u003C\u003Ccolour dropdown-border>>;\\n\\tbackground-color: \u003C\u003Ccolour dropdown-background>>;\\n\\tpadding: 7px 0;\\n\\tmargin: 4px 0 0 0;\\n\\twhite-space: nowrap;\\n\\tz-index: 1000;\\n\\ttext-shadow: none;\\n}\\n\\n.tc-block-dropdown.tc-search-drop-down {\\n\\tmargin-left: -12px;\\n}\\n\\n.tc-block-dropdown a {\\n\\tdisplay: block;\\n\\tpadding: 4px 14px 4px 14px;\\n}\\n\\n.tc-block-dropdown.tc-search-drop-down a {\\n\\tdisplay: block;\\n\\tpadding: 0px 10px 0px 10px;\\n}\\n\\n.tc-drop-down .tc-dropdown-item-plain,\\n.tc-block-dropdown .tc-dropdown-item-plain {\\n\\tpadding: 4px 14px 4px 7px;\\n}\\n\\n.tc-drop-down .tc-dropdown-item,\\n.tc-block-dropdown .tc-dropdown-item {\\n\\tpadding: 4px 14px 4px 7px;\\n\\tcolor: \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n.tc-block-dropdown a.tc-tiddlylink:hover {\\n\\tcolor: \u003C\u003Ccolour tiddler-link-background>>;\\n\\tbackground-color: \u003C\u003Ccolour tiddler-link-foreground>>;\\n\\ttext-decoration: none;\\n}\\n\\n.tc-search-results {\\n\\tpadding: 0 7px 0 7px;\\n}\\n\\n.tc-image-chooser, .tc-colour-chooser {\\n\\twhite-space: normal;\\n}\\n\\n.tc-image-chooser a,\\n.tc-colour-chooser a {\\n\\tdisplay: inline-block;\\n\\tvertical-align: top;\\n\\ttext-align: center;\\n\\tposition: relative;\\n}\\n\\n.tc-image-chooser a {\\n\\tborder: 1px solid \u003C\u003Ccolour muted-foreground>>;\\n\\tpadding: 2px;\\n\\tmargin: 2px;\\n\\twidth: 4em;\\n\\theight: 4em;\\n}\\n\\n.tc-colour-chooser a {\\n\\tpadding: 3px;\\n\\twidth: 2em;\\n\\theight: 2em;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-image-chooser a:hover,\\n.tc-colour-chooser a:hover {\\n\\tbackground: \u003C\u003Ccolour primary>>;\\n\\tpadding: 0px;\\n\\tborder: 3px solid \u003C\u003Ccolour primary>>;\\n}\\n\\n.tc-image-chooser a svg,\\n.tc-image-chooser a img {\\n\\tdisplay: inline-block;\\n\\twidth: auto;\\n\\theight: auto;\\n\\tmax-width: 3.5em;\\n\\tmax-height: 3.5em;\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tbottom: 0;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tmargin: auto;\\n}\\n\\n/* Make search dropdown visible on small screens. issue #7003 */\\n@media (max-width: \u003C\u003Csidebarbreakpoint>>) {\\n\\n\\t.tc-sidebar-search .tc-block-dropdown-wrapper {\\n\\t\\tposition: initial;\\n\\t}\\n\\n}\\n\\n/*\\n** Modals\\n*/\\n\\n.tc-modal-wrapper {\\n\\tposition: fixed;\\n\\toverflow: auto;\\n\\toverflow-y: scroll;\\n\\ttop: 0;\\n\\tright: 0;\\n\\tbottom: 0;\\n\\tleft: 0;\\n\\tz-index: 900;\\n}\\n\\n.tc-modal-backdrop {\\n\\tposition: fixed;\\n\\ttop: 0;\\n\\tright: 0;\\n\\tbottom: 0;\\n\\tleft: 0;\\n\\tz-index: 1000;\\n\\tbackground-color: \u003C\u003Ccolour modal-backdrop>>;\\n}\\n\\n.tc-modal {\\n\\tz-index: 1100;\\n\\tbackground-color: \u003C\u003Ccolour modal-background>>;\\n\\tborder: 1px solid \u003C\u003Ccolour modal-border>>;\\n}\\n\\n@media (max-width: 55em) {\\n\\t.tc-modal {\\n\\t\\tposition: fixed;\\n\\t\\ttop: 1em;\\n\\t\\tleft: 1em;\\n\\t\\tright: 1em;\\n\\t}\\n\\n\\t.tc-modal-body {\\n\\t\\toverflow-y: auto;\\n\\t\\tmax-height: 400px;\\n\\t\\tmax-height: 60vh;\\n\\t}\\n}\\n\\n@media (min-width: 55em) {\\n\\t.tc-modal {\\n\\t\\tposition: fixed;\\n\\t\\ttop: 2em;\\n\\t\\tleft: 25%;\\n\\t\\twidth: 50%;\\n\\t}\\n\\n\\t.tc-modal-body {\\n\\t\\toverflow-y: auto;\\n\\t\\tmax-height: 400px;\\n\\t\\tmax-height: 60vh;\\n\\t}\\n}\\n\\n.tc-modal-header {\\n\\tpadding: 9px 15px;\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour modal-header-border>>;\\n}\\n\\n.tc-modal-header h3 {\\n\\tmargin: 0;\\n\\tline-height: 30px;\\n}\\n\\n.tc-modal-header img, .tc-modal-header svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n}\\n\\n.tc-modal-body {\\n\\tpadding: 15px;\\n}\\n\\n.tc-modal-footer {\\n\\tpadding: 14px 15px 15px;\\n\\tmargin-bottom: 0;\\n\\ttext-align: right;\\n\\tbackground-color: \u003C\u003Ccolour modal-footer-background>>;\\n\\tborder-top: 1px solid \u003C\u003Ccolour modal-footer-border>>;\\n}\\n\\n.tc-modal-prevent-scroll {\\n\\toverflow: hidden;\\n}\\n\\n/*\\n** Centered modals\\n*/\\n.tc-modal-centered .tc-modal {\\n\\twidth: auto;\\n\\ttop: 50%;\\n\\tleft: 50%;\\n\\ttransform: translate(-50%, -50%) !important;\\n}\\n\\n/*\\n** Notifications\\n*/\\n\\n.tc-notification {\\n\\tposition: fixed;\\n\\ttop: 14px;\\n\\tright: 42px;\\n\\tz-index: 1300;\\n\\tmax-width: 280px;\\n\\tpadding: 0 14px 0 14px;\\n\\tbackground-color: \u003C\u003Ccolour notification-background>>;\\n\\tborder: 1px solid \u003C\u003Ccolour notification-border>>;\\n}\\n\\n/*\\n** Tabs\\n*/\\n\\n.tc-tab-set.tc-vertical {\\n\\tdisplay: -webkit-flex;\\n\\tdisplay: flex;\\n}\\n\\n.tc-tab-buttons {\\n\\tfont-size: 0.85em;\\n\\tpadding-top: 1em;\\n\\tmargin-bottom: -2px;\\n}\\n\\n.tc-tab-buttons.tc-vertical {\\n\\tz-index: 100;\\n\\tdisplay: block;\\n\\tpadding-top: 14px;\\n\\tvertical-align: top;\\n\\ttext-align: right;\\n\\tmargin-bottom: inherit;\\n\\tmargin-right: -1px;\\n\\tmax-width: 33%;\\n\\t-webkit-flex: 0 0 auto;\\n\\tflex: 0 0 auto;\\n}\\n\\n.tc-tab-buttons button.tc-tab-selected {\\n\\tcolor: \u003C\u003Ccolour tab-foreground-selected>>;\\n\\tbackground-color: \u003C\u003Ccolour tab-background-selected>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour tab-border-selected>>;\\n\\tborder-top: 1px solid \u003C\u003Ccolour tab-border-selected>>;\\n\\tborder-right: 1px solid \u003C\u003Ccolour tab-border-selected>>;\\n}\\n\\n.tc-tab-buttons button {\\n\\tcolor: \u003C\u003Ccolour tab-foreground>>;\\n\\tpadding: 3px 5px 3px 5px;\\n\\tmargin-right: 0.3em;\\n\\tfont-weight: normal;\\n\\tborder: none;\\n\\tbackground: inherit;\\n\\tbackground-color: \u003C\u003Ccolour tab-background>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tborder-top: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tborder-right: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tborder-top-left-radius: 2px;\\n\\tborder-top-right-radius: 2px;\\n\\tborder-bottom-left-radius: 0;\\n\\tborder-bottom-right-radius: 0;\\n}\\n\\n.tc-tab-buttons.tc-vertical button {\\n\\tdisplay: block;\\n\\twidth: 100%;\\n\\tmargin-top: 3px;\\n\\tmargin-right: 0;\\n\\ttext-align: right;\\n\\tbackground-color: \u003C\u003Ccolour tab-background>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tborder-right: none;\\n\\tborder-top-left-radius: 2px;\\n\\tborder-bottom-left-radius: 2px;\\n\\tborder-top-right-radius: 0;\\n\\tborder-bottom-right-radius: 0;\\n}\\n\\n.tc-tab-buttons.tc-vertical button.tc-tab-selected {\\n\\tbackground-color: \u003C\u003Ccolour tab-background-selected>>;\\n\\tborder-right: 1px solid \u003C\u003Ccolour tab-background-selected>>;\\n}\\n\\n.tc-tab-divider {\\n\\tborder-top: 1px solid \u003C\u003Ccolour tab-divider>>;\\n}\\n\\n.tc-tab-divider.tc-vertical {\\n\\tdisplay: none;\\n}\\n\\n.tc-tab-content {\\n\\tmargin-top: 14px;\\n}\\n\\n.tc-tab-content.tc-vertical {\\n\\tdisplay: inline-block;\\n\\tvertical-align: top;\\n\\tpadding-top: 0;\\n\\tpadding-left: 14px;\\n\\tborder-left: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\t-webkit-flex: 1 0 70%;\\n\\tflex: 1 0 70%;\\n\\toverflow: auto;\\n}\\n\\n.tc-sidebar-lists .tc-tab-buttons {\\n\\tmargin-bottom: -1px;\\n}\\n\\n.tc-sidebar-lists .tc-tab-buttons button.tc-tab-selected {\\n\\tbackground-color: \u003C\u003Ccolour sidebar-tab-background-selected>>;\\n\\tcolor: \u003C\u003Ccolour sidebar-tab-foreground-selected>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour sidebar-tab-border-selected>>;\\n\\tborder-top: 1px solid \u003C\u003Ccolour sidebar-tab-border-selected>>;\\n\\tborder-right: 1px solid \u003C\u003Ccolour sidebar-tab-border-selected>>;\\n}\\n\\n.tc-sidebar-lists .tc-tab-buttons button {\\n\\tbackground-color: \u003C\u003Ccolour sidebar-tab-background>>;\\n\\tcolor: \u003C\u003Ccolour sidebar-tab-foreground>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour sidebar-tab-border>>;\\n\\tborder-top: 1px solid \u003C\u003Ccolour sidebar-tab-border>>;\\n\\tborder-right: 1px solid \u003C\u003Ccolour sidebar-tab-border>>;\\n}\\n\\n.tc-sidebar-lists .tc-tab-divider {\\n\\tborder-top: 1px solid \u003C\u003Ccolour sidebar-tab-divider>>;\\n}\\n\\n.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button {\\n\\tdisplay: block;\\n\\twidth: 100%;\\n\\tbackground-color: \u003C\u003Ccolour sidebar-tab-background>>;\\n\\tborder-top: none;\\n\\tborder-left: none;\\n\\tborder-bottom: none;\\n\\tborder-right: 1px solid #ccc;\\n\\tmargin-bottom: inherit;\\n}\\n\\n.tc-more-sidebar > .tc-tab-set > .tc-tab-buttons > button.tc-tab-selected {\\n\\tbackground-color: \u003C\u003Ccolour sidebar-tab-background-selected>>;\\n\\tborder: none;\\n}\\n\\n/*\\n** Manager\\n*/\\n\\n.tc-manager-wrapper {\\n\\t\\n}\\n\\n.tc-manager-controls {\\n\\t\\n}\\n\\n.tc-manager-control {\\n\\tmargin: 0.5em 0;\\n}\\n\\n.tc-manager-control select {\\n\\tmax-width: 100%;\\n}\\n\\n.tc-manager-list {\\n\\twidth: 100%;\\n\\tborder-top: 1px solid \u003C\u003Ccolour muted-foreground>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour muted-foreground>>;\\n\\tborder-right: 1px solid \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n.tc-manager-list-item {\\n\\n}\\n\\n.tc-manager-list-item-heading {\\n\\tdisplay: block;\\n\\twidth: 100%;\\n\\ttext-align: left;\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour muted-foreground>>;\\n\\tpadding: 3px;\\n}\\n\\n.tc-manager-list-item-heading-selected {\\n\\tfont-weight: bold;\\n\\tcolor: \u003C\u003Ccolour background>>;\\n\\tfill: \u003C\u003Ccolour background>>;\\n\\tbackground-color: \u003C\u003Ccolour foreground>>;\\n}\\n\\n.tc-manager-list-item-heading:hover {\\n\\tbackground: \u003C\u003Ccolour primary>>;\\n\\tcolor: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-manager-list-item-content {\\n\\tdisplay: flex;\\n}\\n\\n.tc-manager-list-item-content-sidebar {\\n\\tflex: 1 0;\\n\\tbackground: \u003C\u003Ccolour tiddler-editor-background>>;\\n\\tborder-right: 0.5em solid \u003C\u003Ccolour muted-foreground>>;\\n\\tborder-bottom: 0.5em solid \u003C\u003Ccolour muted-foreground>>;\\n\\twhite-space: nowrap;\\n}\\n\\n.tc-manager-list-item-content-item-heading {\\n\\tdisplay: block;\\n\\twidth: 100%;\\n\\ttext-align: left;\\n\\tbackground: \u003C\u003Ccolour muted-foreground>>;\\n\\ttext-transform: uppercase;\\n\\tfont-size: 0.6em;\\n\\tfont-weight: bold;\\n\\tpadding: 0.5em 0 0.5em 0;\\n}\\n\\n.tc-manager-list-item-content-item-body {\\n\\tpadding: 0 0.5em 0 0.5em;\\n}\\n\\n.tc-manager-list-item-content-item-body > pre {\\n\\tmargin: 0.5em 0 0.5em 0;\\n\\tborder: none;\\n\\tbackground: inherit;\\n}\\n\\n.tc-manager-list-item-content-tiddler {\\n\\tflex: 3 1;\\n\\tborder-left: 0.5em solid \u003C\u003Ccolour muted-foreground>>;\\n\\tborder-right: 0.5em solid \u003C\u003Ccolour muted-foreground>>;\\n\\tborder-bottom: 0.5em solid \u003C\u003Ccolour muted-foreground>>;\\n}\\n\\n.tc-manager-list-item-content-item-body > table {\\n\\tborder: none;\\n\\tpadding: 0;\\n\\tmargin: 0;\\n}\\n\\n.tc-manager-list-item-content-item-body > table td {\\n\\tborder: none;\\n}\\n\\n.tc-manager-icon-editor > button {\\n\\twidth: 100%;\\n}\\n\\n.tc-manager-icon-editor > button > svg,\\n.tc-manager-icon-editor > button > button {\\n\\twidth: 100%;\\n\\theight: auto;\\n}\\n\\n/*\\n** Import table\\n*/\\n\\n.tc-import-table {\\n\\twidth: 100%;\\n}\\n\\n.tc-import-table svg.tc-image-edit-button {\\n\\tmax-width: unset;\\n}\\n\\n.tc-import-table th:first-of-type {\\n\\twidth: 10%;\\n}\\n\\n.tc-import-table th:last-of-type {\\n\\twidth: 30%;\\n}\\n\\n.tc-import-table .tc-row-disabled {\\n\\tbackground: \u003C\u003Ccolour very-muted-foreground>>10;\\n\\topacity: 0.8;\\n}\\n\\n.tc-import-table .tc-row-warning {\\n\\tbackground: \u003C\u003Ccolour diff-delete-background>>50;\\n}\\n\\n/*\\n** Alerts\\n*/\\n\\n.tc-alerts {\\n\\tposition: fixed;\\n\\ttop: 28px;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tmax-width: 50%;\\n\\tz-index: 20000;\\n}\\n\\n.tc-alert {\\n\\tposition: relative;\\n\\tmargin: 14px;\\n\\tpadding: 7px;\\n\\tborder: 1px solid \u003C\u003Ccolour alert-border>>;\\n\\tbackground-color: \u003C\u003Ccolour alert-background>>;\\n}\\n\\n.tc-alert-toolbar {\\n\\tposition: absolute;\\n\\ttop: 7px;\\n\\tright: 7px;\\n\\tline-height: 0;\\n}\\n\\n.tc-alert-toolbar svg {\\n\\tfill: \u003C\u003Ccolour alert-muted-foreground>>;\\n}\\n\\n.tc-alert-subtitle {\\n\\tcolor: \u003C\u003Ccolour alert-muted-foreground>>;\\n\\tfont-weight: bold;\\n\\tfont-size: 0.8em;\\n\\tmargin-bottom: 0.5em;\\n}\\n\\n.tc-alert-body > p {\\n\\tmargin: 0;\\n}\\n\\n.tc-alert-highlight {\\n\\tcolor: \u003C\u003Ccolour alert-highlight>>;\\n}\\n\\n@media (min-width: \u003C\u003Csidebarbreakpoint>>) {\\n\\n\\t.tc-static-alert {\\n\\t\\tposition: relative;\\n\\t}\\n\\n\\t.tc-static-alert-inner {\\n\\t\\tposition: absolute;\\n\\t\\tz-index: 100;\\n\\t}\\n\\n}\\n\\n.tc-static-alert-inner {\\n\\tpadding: 0 2px 2px 42px;\\n\\tcolor: \u003C\u003Ccolour static-alert-foreground>>;\\n}\\n\\n/*\\n** Floating drafts list\\n*/\\n\\n.tc-drafts-list {\\n\\tz-index: 2000;\\n\\tposition: fixed;\\n\\tfont-size: 0.8em;\\n\\tleft: 0;\\n\\tbottom: 0;\\n}\\n\\n.tc-drafts-list a {\\n\\tmargin: 0 0.5em;\\n\\tpadding: 4px 4px;\\n\\tborder-top-left-radius: 4px;\\n\\tborder-top-right-radius: 4px;\\n\\tborder: 1px solid \u003C\u003Ccolour background>>;\\n\\tborder-bottom: none;\\n\\tbackground: \u003C\u003Ccolour dirty-indicator>>;\\n\\tcolor: \u003C\u003Ccolour background>>;\\n\\tfill: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-drafts-list a:hover {\\n\\ttext-decoration: none;\\n\\tbackground: \u003C\u003Ccolour foreground>>;\\n\\tcolor: \u003C\u003Ccolour background>>;\\n\\tfill: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-drafts-list a svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n\\tvertical-align: text-bottom;\\n}\\n\\n/*\\n** Control panel\\n*/\\n\\n.tc-control-panel td {\\n\\tpadding: 4px;\\n}\\n\\n.tc-control-panel table, .tc-control-panel table input, .tc-control-panel table textarea {\\n\\twidth: 100%;\\n}\\n\\n.tc-plugin-info {\\n\\tdisplay: flex;\\n\\ttext-shadow: none;\\n\\tborder: 1px solid \u003C\u003Ccolour muted-foreground>>;\\n\\tfill: \u003C\u003Ccolour muted-foreground>>;\\n\\tbackground-color: \u003C\u003Ccolour background>>;\\n\\tmargin: 0.5em 0 0.5em 0;\\n\\tpadding: 4px;\\n\\talign-items: center;\\n}\\n\\n.tc-sidebar-lists a.tc-tiddlylink.tc-plugin-info {\\n\\tcolor: \u003C\u003Ccolour tiddler-link-foreground>>;\\n}\\n\\n\\n.tc-plugin-info-sub-plugins .tc-plugin-info {\\n\\tmargin: 0.5em;\\n\\tbackground: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-plugin-info-sub-plugin-indicator {\\n\\tmargin: -16px 1em 0 2em;\\n}\\n\\n.tc-plugin-info-sub-plugin-indicator button {\\n\\tcolor: \u003C\u003Ccolour background>>;\\n\\tbackground: \u003C\u003Ccolour foreground>>;\\n\\tborder-radius: 8px;\\n\\tpadding: 2px 7px;\\n\\tfont-size: 0.75em;\\n}\\n\\n.tc-plugin-info-sub-plugins .tc-plugin-info-dropdown {\\n\\tmargin-left: 1em;\\n\\tmargin-right: 1em;\\n}\\n\\n.tc-plugin-info-disabled {\\n\\tbackground: -webkit-repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px);\\n\\tbackground: repeating-linear-gradient(45deg, #ff0, #ff0 10px, #eee 10px, #eee 20px);\\n}\\n\\n.tc-plugin-info-disabled:hover {\\n\\tbackground: -webkit-repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px);\\n\\tbackground: repeating-linear-gradient(45deg, #aa0, #aa0 10px, #888 10px, #888 20px);\\n}\\n\\na.tc-tiddlylink.tc-plugin-info:hover {\\n\\ttext-decoration: none;\\n\\tbackground-color: \u003C\u003Ccolour primary>>;\\n\\tcolor: \u003C\u003Ccolour background>>;\\n\\tfill: \u003C\u003Ccolour foreground>>;\\n}\\n\\na.tc-tiddlylink.tc-plugin-info:hover > .tc-plugin-info-chunk > svg {\\n\\tfill: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-plugin-info-chunk {\\n\\tmargin: 2px;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-toggle {\\n\\tflex-grow: 0;\\n\\tflex-shrink: 0;\\n\\tline-height: 1;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-icon {\\n\\tflex-grow: 0;\\n\\tflex-shrink: 0;\\n\\tline-height: 1;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-description {\\n\\tflex-grow: 1;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-buttons {\\n\\tfont-size: 0.8em;\\n\\tline-height: 1.2;\\n\\tflex-grow: 0;\\n\\tflex-shrink: 0;\\n\\ttext-align: right;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-description h1 {\\n\\tfont-size: 1em;\\n\\tline-height: 1.2;\\n\\tmargin: 2px 0 2px 0;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-description h2 {\\n\\tfont-size: 0.8em;\\n\\tline-height: 1.2;\\n\\tmargin: 2px 0 2px 0;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-description div {\\n\\tfont-size: 0.7em;\\n\\tline-height: 1.2;\\n\\tmargin: 2px 0 2px 0;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-toggle img, .tc-plugin-info-chunk.tc-plugin-info-toggle svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n}\\n\\n.tc-plugin-info-chunk.tc-plugin-info-icon img, .tc-plugin-info-chunk.tc-plugin-info-icon svg {\\n\\twidth: 2em;\\n\\theight: 2em;\\n}\\n\\n.tc-plugin-info-dropdown {\\n\\tborder: 1px solid \u003C\u003Ccolour muted-foreground>>;\\n\\tbackground: \u003C\u003Ccolour background>>;\\n\\tmargin-top: -8px;\\n}\\n\\n.tc-plugin-info-dropdown-message {\\n\\tbackground: \u003C\u003Ccolour message-background>>;\\n\\tpadding: 0.5em 1em 0.5em 1em;\\n\\tfont-weight: bold;\\n\\tfont-size: 0.8em;\\n}\\n\\n.tc-plugin-info-dropdown-body {\\n\\tpadding: 1em 1em 0 1em;\\n\\tbackground: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-plugin-info-sub-plugins {\\n\\tpadding: 0.5em;\\n\\tmargin: 0 1em 1em 1em;\\n\\tbackground: \u003C\u003Ccolour notification-background>>;\\n}\\n\\n.tc-install-plugin {\\n\\tfont-weight: bold;\\n\\tbackground: green;\\n\\tcolor: white;\\n\\tfill: white;\\n\\tborder-radius: 4px;\\n\\tpadding: 3px;\\n}\\n\\n.tc-install-plugin.tc-reinstall-downgrade {\\n\\tbackground: red;\\n}\\n\\n.tc-install-plugin.tc-reinstall {\\n\\tbackground: blue;\\n}\\n\\n.tc-install-plugin.tc-reinstall-upgrade {\\n\\tbackground: orange;\\n}\\n\\n.tc-check-list {\\n\\tline-height: 2em;\\n}\\n\\n.tc-check-list .tc-image-button {\\n\\theight: 1.5em;\\n}\\n\\n/*\\n** Message boxes\\n*/\\n\\n.tc-message-box {\\n\\tborder: 1px solid \u003C\u003Ccolour message-border>>;\\n\\tbackground: \u003C\u003Ccolour message-background>>;\\n\\tpadding: 0px 21px 0px 21px;\\n\\tfont-size: 12px;\\n\\tline-height: 18px;\\n\\tcolor: \u003C\u003Ccolour message-foreground>>;\\n}\\n\\n.tc-message-box svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n\\tvertical-align: text-bottom;\\n}\\n\\n/*\\n** Pictures\\n*/\\n\\n.tc-bordered-image {\\n\\tborder: 1px solid \u003C\u003Ccolour muted-foreground>>;\\n\\tpadding: 5px;\\n\\tmargin: 5px;\\n}\\n\\n/*\\n** Floats\\n*/\\n\\n.tc-float-right {\\n\\tfloat: right;\\n}\\n\\n/*\\n** Chooser\\n*/\\n\\n.tc-chooser {\\n\\tborder-right: 1px solid \u003C\u003Ccolour table-header-background>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour table-header-background>>;\\n}\\n\\n\\n.tc-chooser-item {\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour table-header-background>>;\\n\\tborder-top: 1px solid \u003C\u003Ccolour table-header-background>>;\\n\\tpadding: 2px 4px 2px 14px;\\n}\\n\\n.tc-drop-down .tc-chooser-item {\\n\\tpadding: 2px;\\n}\\n\\n.tc-chosen,\\n.tc-chooser-item:hover {\\n\\tbackground-color: \u003C\u003Ccolour table-header-background>>;\\n\\tborder-color: \u003C\u003Ccolour table-footer-background>>;\\n}\\n\\n.tc-chosen .tc-tiddlylink {\\n\\tcursor:default;\\n}\\n\\n.tc-chooser-item .tc-tiddlylink {\\n\\tdisplay: block;\\n\\ttext-decoration: none;\\n\\tbackground-color: transparent;\\n}\\n\\n.tc-chooser-item:hover .tc-tiddlylink:hover {\\n\\ttext-decoration: none;\\n}\\n\\n.tc-drop-down .tc-chosen .tc-tiddlylink,\\n.tc-drop-down .tc-chooser-item .tc-tiddlylink:hover {\\n\\tcolor: \u003C\u003Ccolour foreground>>;\\n}\\n\\n.tc-chosen > .tc-tiddlylink:before {\\n\\tmargin-left: -10px;\\n\\tposition: relative;\\n\\tcontent: \\\"» \\\";\\n}\\n\\n.tc-chooser-item svg,\\n.tc-chooser-item img{\\n\\twidth: 1em;\\n\\theight: 1em;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-language-chooser .tc-image-button img {\\n\\twidth: 2em;\\n\\tvertical-align: -0.15em;\\n}\\n\\n/*\\n** Palette swatches\\n*/\\n\\n.tc-swatches-horiz {\\n}\\n\\n.tc-swatches-horiz .tc-swatch {\\n\\tdisplay: inline-block;\\n}\\n\\n.tc-swatch {\\n\\twidth: 2em;\\n\\theight: 2em;\\n\\tmargin: 0.4em;\\n\\tborder: 1px solid #888;\\n}\\n\\ninput.tc-palette-manager-colour-input {\\n\\twidth: 100%;\\n\\tpadding: 0;\\n}\\n\\n/*\\n** Table of contents\\n*/\\n\\n.tc-sidebar-lists .tc-table-of-contents {\\n\\twhite-space: nowrap;\\n}\\n\\n.tc-table-of-contents button,\\n.tc-table-of-contents .toc-item-muted {\\n\\tcolor: \u003C\u003Ccolour sidebar-foreground>>;\\n}\\n\\n.tc-table-of-contents svg {\\n\\twidth: 0.7em;\\n\\theight: 0.7em;\\n\\tvertical-align: middle;\\n\\tfill: \u003C\u003Ccolour sidebar-foreground>>;\\n}\\n\\n.tc-table-of-contents ol {\\n\\tlist-style-type: none;\\n\\tpadding-left: 0;\\n}\\n\\n.tc-table-of-contents ol ol {\\n\\tpadding-left: 1em;\\n}\\n\\n.tc-table-of-contents li {\\n\\tfont-size: 1.0em;\\n\\tfont-weight: bold;\\n}\\n\\n.tc-table-of-contents li a {\\n\\tfont-weight: bold;\\n}\\n\\n.tc-table-of-contents li li {\\n\\tfont-size: 0.95em;\\n\\tfont-weight: normal;\\n\\tline-height: 1.4;\\n}\\n\\n.tc-table-of-contents li li a {\\n\\tfont-weight: normal;\\n}\\n\\n.tc-table-of-contents li li li {\\n\\tfont-size: 0.95em;\\n\\tfont-weight: normal;\\n\\tline-height: 1.5;\\n}\\n\\n.tc-table-of-contents li li li li {\\n\\tfont-size: 0.95em;\\n\\tfont-weight: normal;\\n}\\n\\n.tc-tabbed-table-of-contents {\\n\\tdisplay: -webkit-flex;\\n\\tdisplay: flex;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents {\\n\\tz-index: 100;\\n\\tdisplay: inline-block;\\n\\tpadding-left: 1em;\\n\\tmax-width: 50%;\\n\\t-webkit-flex: 0 0 auto;\\n\\tflex: 0 0 auto;\\n\\tbackground: \u003C\u003Ccolour tab-background>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tborder-top: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour tab-border>>;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a,\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a {\\n\\tdisplay: block;\\n\\tpadding: 0.12em 1em 0.12em 0.25em;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a {\\n\\tborder-top: 1px solid \u003C\u003Ccolour tab-background>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour tab-background>>;\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour tab-background>>;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item > a:hover {\\n\\ttext-decoration: none;\\n\\tborder-top: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tbackground: \u003C\u003Ccolour tab-border>>;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a {\\n\\tborder-top: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tborder-left: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\tbackground: \u003C\u003Ccolour background>>;\\n\\tmargin-right: -1px;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-table-of-contents .toc-item-selected > a:hover {\\n\\ttext-decoration: none;\\n}\\n\\n.tc-tabbed-table-of-contents .tc-tabbed-table-of-contents-content {\\n\\tdisplay: inline-block;\\n\\tvertical-align: top;\\n\\tpadding-left: 1.5em;\\n\\tpadding-right: 1.5em;\\n\\tborder: 1px solid \u003C\u003Ccolour tab-border>>;\\n\\t-webkit-flex: 1 0 50%;\\n\\tflex: 1 0 50%;\\n}\\n\\n/*\\n** Dirty indicator\\n*/\\n\\nhtml body svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-clean {\\n\\tvisibility: visible;\\n}\\n\\nhtml body svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-dirty {\\n\\tvisibility: hidden;\\n}\\n\\nhtml body.tc-dirty svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-clean {\\n\\tvisibility: hidden;\\n}\\n\\nhtml body.tc-dirty svg.tc-image-save-button-dynamic .tc-image-save-button-dynamic-dirty {\\n\\tvisibility: visible;\\n}\\n\\nhtml body.tc-dirty span.tc-dirty-indicator, html body.tc-dirty span.tc-dirty-indicator svg {\\n\\tfill: \u003C\u003Ccolour dirty-indicator>>;\\n\\tcolor: \u003C\u003Ccolour dirty-indicator>>;\\n}\\n\\n/*\\n** File inputs\\n*/\\n\\n.tc-file-input-wrapper {\\n\\tposition: relative;\\n\\toverflow: hidden;\\n\\tdisplay: inline-block;\\n\\tvertical-align: middle;\\n}\\n\\n.tc-file-input-wrapper input[type=file] {\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tbottom: 0;\\n\\tfont-size: 999px;\\n\\tmax-width: 100%;\\n\\tmax-height: 100%;\\n\\tfilter: alpha(opacity=0);\\n\\topacity: 0;\\n\\toutline: none;\\n\\tbackground: white;\\n\\tcursor: pointer;\\n\\tdisplay: inline-block;\\n}\\n\\n::-webkit-file-upload-button {\\n\\tcursor:pointer;\\n}\\n\\n/*\\n** Thumbnail macros\\n*/\\n\\n.tc-thumbnail-wrapper {\\n\\tposition: relative;\\n\\tdisplay: inline-block;\\n\\tmargin: 6px;\\n\\tvertical-align: top;\\n}\\n\\n.tc-thumbnail-right-wrapper {\\n\\tfloat:right;\\n\\tmargin: 0.5em 0 0.5em 0.5em;\\n}\\n\\n.tc-thumbnail-image {\\n\\ttext-align: center;\\n\\toverflow: hidden;\\n\\tborder-radius: 3px;\\n}\\n\\n.tc-thumbnail-image svg,\\n.tc-thumbnail-image img {\\n\\tfilter: alpha(opacity=1);\\n\\topacity: 1;\\n\\tmin-width: 100%;\\n\\tmin-height: 100%;\\n\\tmax-width: 100%;\\n}\\n\\n.tc-thumbnail-wrapper:hover .tc-thumbnail-image svg,\\n.tc-thumbnail-wrapper:hover .tc-thumbnail-image img {\\n\\tfilter: alpha(opacity=0.8);\\n\\topacity: 0.8;\\n}\\n\\n.tc-thumbnail-background {\\n\\tposition: absolute;\\n\\tborder-radius: 3px;\\n}\\n\\n.tc-thumbnail-icon svg,\\n.tc-thumbnail-icon img {\\n\\twidth: 3em;\\n\\theight: 3em;\\n\\t\u003C\u003Cfilter \\\"drop-shadow(2px 2px 4px rgba(0,0,0,0.3))\\\">>\\n}\\n\\n.tc-thumbnail-wrapper:hover .tc-thumbnail-icon svg,\\n.tc-thumbnail-wrapper:hover .tc-thumbnail-icon img {\\n\\tfill: #fff;\\n\\t\u003C\u003Cfilter \\\"drop-shadow(3px 3px 4px rgba(0,0,0,0.6))\\\">>\\n}\\n\\n.tc-thumbnail-icon {\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tleft: 0;\\n\\tright: 0;\\n\\tbottom: 0;\\n\\tdisplay: -webkit-flex;\\n\\t-webkit-align-items: center;\\n\\t-webkit-justify-content: center;\\n\\tdisplay: flex;\\n\\talign-items: center;\\n\\tjustify-content: center;\\n}\\n\\n.tc-thumbnail-caption {\\n\\tposition: absolute;\\n\\tbackground-color: #777;\\n\\tcolor: #fff;\\n\\ttext-align: center;\\n\\tbottom: 0;\\n\\twidth: 100%;\\n\\tfilter: alpha(opacity=0.9);\\n\\topacity: 0.9;\\n\\tline-height: 1.4;\\n\\tborder-bottom-left-radius: 3px;\\n\\tborder-bottom-right-radius: 3px;\\n}\\n\\n.tc-thumbnail-wrapper:hover .tc-thumbnail-caption {\\n\\tfilter: alpha(opacity=1);\\n\\topacity: 1;\\n}\\n\\n/*\\n** Diffs\\n*/\\n\\n.tc-diff-equal {\\n\\tbackground-color: \u003C\u003Ccolour diff-equal-background>>;\\n\\tcolor: \u003C\u003Ccolour diff-equal-foreground>>;\\n}\\n\\n.tc-diff-insert {\\n\\tbackground-color: \u003C\u003Ccolour diff-insert-background>>;\\n\\tcolor: \u003C\u003Ccolour diff-insert-foreground>>;\\n}\\n\\n.tc-diff-delete {\\n\\tbackground-color: \u003C\u003Ccolour diff-delete-background>>;\\n\\tcolor: \u003C\u003Ccolour diff-delete-foreground>>;\\n}\\n\\n.tc-diff-invisible {\\n\\tbackground-color: \u003C\u003Ccolour diff-invisible-background>>;\\n\\tcolor: \u003C\u003Ccolour diff-invisible-foreground>>;\\n}\\n\\n.tc-diff-tiddlers th {\\n\\ttext-align: right;\\n\\tbackground: \u003C\u003Ccolour background>>;\\n\\tfont-weight: normal;\\n\\tfont-style: italic;\\n}\\n\\n.tc-diff-tiddlers pre {\\n\\tmargin: 0;\\n\\tpadding: 0;\\n\\tborder: none;\\n\\tbackground: none;\\n}\\n\\n/*\\n** Errors\\n*/\\n\\n.tc-error {\\n\\tbackground: #f00;\\n\\tcolor: #fff;\\n}\\n\\n/*\\n** Tree macro\\n*/\\n\\n.tc-tree div {\\n\\tpadding-left: 14px;\\n}\\n\\n.tc-tree ol {\\n\\tlist-style-type: none;\\n\\tpadding-left: 0;\\n\\tmargin-top: 0;\\n}\\n\\n.tc-tree ol ol {\\n\\tpadding-left: 1em;\\n}\\n\\n.tc-tree button {\\n\\tcolor: #acacac;\\n}\\n\\n.tc-tree svg {\\n\\tfill: #acacac;\\n}\\n\\n.tc-tree span svg {\\n\\twidth: 1em;\\n\\theight: 1em;\\n\\tvertical-align: baseline;\\n}\\n\\n.tc-tree li span {\\n\\tcolor: lightgray;\\n}\\n\\nselect {\\n\\tcolor: \u003C\u003Ccolour select-tag-foreground>>;\\n\\tbackground: \u003C\u003Ccolour select-tag-background>>;\\n}\\n\\n/*\\n** Translink macro\\n*/\\n\\n.tc-translink {\\n\\tbackground-color: \u003C\u003Ccolour pre-background>>;\\n\\tborder: 1px solid \u003C\u003Ccolour pre-border>>;\\n\\tpadding: 0 3px;\\n\\tborder-radius: 3px;\\n}\\n\\ndiv.tc-translink > div {\\n\\tmargin: 1em;\\n}\\n\\ndiv.tc-translink > div > a:first-child > h1 {\\n\\tfont-size: 1.2em;\\n\\tfont-weight: bold;\\n}\\n\\nspan.tc-translink > a:first-child {\\n\\tfont-weight: bold;\\n}\\n\\n/*\\n** Classes for displaying globals\\n*/\\n\\n.tc-global-tiddler-body {\\n\\tpadding: 0.25em;\\n\\tborder: 1px solid \u003C\u003Ccolour foreground>>;\\n\\tbackground-color: \u003C\u003Ccolour muted-foreground>>;\\n\\tborder-radius: 3px;\\n}\\n\\n.tc-global-tiddler-body-heading {\\n\\tmargin: 0 0 0.25em 0;\\n\\tfont-weight: normal;\\n}\\n\\n.tc-global-tiddler-body-type {\\n\\tmargin: 0 0 0.25em 0;\\n\\tborder-bottom: 1px solid \u003C\u003Ccolour foreground>>;\\n}\\n\\n.tc-global-tiddler-body-details {\\n\\tbackground-color: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-global-tiddler-body pre {\\n\\tmargin: 0;\\n\\tborder: 1px solid \u003C\u003Ccolour foreground>>;\\n}\\n\\n/*\\n** Utility classes for SVG icons\\n*/\\n\\n.tc-fill-background {\\n\\tfill: \u003C\u003Ccolour background>>;\\n}\\n\\n.tc-network-activity-background {\\n\\tfill: \u003C\u003Ccolour network-activity-foreground>>;\\n}\\n\\n/*\\n** Flexbox utility classes\\n*/\\n\\n.tc-flex {\\n\\tdisplay: -webkit-flex;\\n\\tdisplay: flex;\\n}\\n\\n.tc-flex-column {\\n\\tflex-direction: column;\\n}\\n\\n.tc-flex-row {\\n\\tflex-direction: row;\\n}\\n\\n.tc-flex-grow-1 {\\n\\tflex-grow: 1;\\n}\\n\\n.tc-flex-grow-2 {\\n\\tflex-grow: 2;\\n}\\n\\n/*\\n** Other utility classes\\n*/\\n\\n/* Horizontal gaps */\\n\\n.tc-tiny-gap {\\n\\tmargin-left: .25em;\\n\\tmargin-right: .25em;\\n}\\n\\n.tc-tiny-gap-left {\\n\\tmargin-left: .25em;\\n}\\n\\n.tc-tiny-gap-right {\\n\\tmargin-right: .25em;\\n}\\n\\n.tc-small-gap {\\n\\tmargin-left: .5em;\\n\\tmargin-right: .5em;\\n}\\n\\n.tc-small-gap-left {\\n\\tmargin-left: .5em;\\n}\\n\\n.tc-small-gap-right {\\n\\tmargin-right: .5em;\\n}\\n\\n.tc-big-gap {\\n\\tmargin-left: 1em;\\n\\tmargin-right: 1em;\\n}\\n\\n.tc-big-gap-left {\\n\\tmargin-left: 1em;\\n}\\n\\n.tc-big-gap-right {\\n\\tmargin-right: 1em;\\n}\\n\\n.tc-word-break {\\n\\tword-break: break-all;\\n}\\n\\n/* Vertical gaps */\\n\\n.tc-tiny-v-gap-bottom {\\n\\tmargin-bottom: 3px;\\n}\\n\"},\"$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize\",\"text\":\"15px\"},\"$:/themes/tiddlywiki/vanilla/metrics/bodylineheight\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/bodylineheight\",\"text\":\"22px\"},\"$:/themes/tiddlywiki/vanilla/metrics/fontsize\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/fontsize\",\"text\":\"14px\"},\"$:/themes/tiddlywiki/vanilla/metrics/lineheight\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/lineheight\",\"text\":\"20px\"},\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\",\"text\":\"0px\"},\"$:/themes/tiddlywiki/vanilla/metrics/storytop\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/storytop\",\"text\":\"0px\"},\"$:/themes/tiddlywiki/vanilla/metrics/storyright\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/storyright\",\"text\":\"770px\"},\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\",\"text\":\"770px\"},\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\",\"text\":\"686px\"},\"$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint\",\"text\":\"960px\"},\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\":{\"title\":\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\",\"text\":\"350px\"},\"$:/themes/tiddlywiki/vanilla/options/stickytitles\":{\"title\":\"$:/themes/tiddlywiki/vanilla/options/stickytitles\",\"text\":\"no\"},\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\":{\"title\":\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\",\"text\":\"fixed-fluid\"},\"$:/themes/tiddlywiki/vanilla/options/codewrapping\":{\"title\":\"$:/themes/tiddlywiki/vanilla/options/codewrapping\",\"text\":\"pre-wrap\"},\"$:/themes/tiddlywiki/vanilla/reset\":{\"title\":\"$:/themes/tiddlywiki/vanilla/reset\",\"type\":\"text/css\",\"text\":\"/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\\n\\n/*\\nDocument\\n========\\n*/\\n\\n/**\\nUse a better box model (opinionated).\\n*/\\n\\n*,\\n*::before,\\n*::after {\\n box-sizing: border-box;\\n}\\n\\n/**\\nUse a more readable tab size (opinionated).\\n*/\\n\\n:root {\\n -moz-tab-size: 4;\\n tab-size: 4;\\n}\\n\\n/**\\n1. Correct the line height in all browsers.\\n2. Prevent adjustments of font size after orientation changes in iOS.\\n*/\\n\\nhtml {\\n line-height: 1.15; /* 1 */\\n -webkit-text-size-adjust: 100%; /* 2 */\\n}\\n\\n/*\\nSections\\n========\\n*/\\n\\n/**\\nRemove the margin in all browsers.\\n*/\\n\\nbody {\\n margin: 0;\\n}\\n\\n/**\\nImprove consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\\n*/\\n\\nbody {\\n font-family:\\n system-ui,\\n -apple-system, /* Firefox supports this but not yet `system-ui` */\\n 'Segoe UI',\\n Roboto,\\n Helvetica,\\n Arial,\\n sans-serif,\\n 'Apple Color Emoji',\\n 'Segoe UI Emoji';\\n}\\n\\n/*\\nGrouping content\\n================\\n*/\\n\\n/**\\n1. Add the correct height in Firefox.\\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\\n*/\\n\\nhr {\\n height: 0; /* 1 */\\n color: inherit; /* 2 */\\n}\\n\\n/*\\nText-level semantics\\n====================\\n*/\\n\\n/**\\nAdd the correct text decoration in Chrome, Edge, and Safari.\\n*/\\n\\nabbr[title] {\\n text-decoration: underline dotted;\\n}\\n\\n/**\\nAdd the correct font weight in Edge and Safari.\\n*/\\n\\nb,\\nstrong {\\n font-weight: bolder;\\n}\\n\\n/**\\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\\n2. Correct the odd 'em' font sizing in all browsers.\\n*/\\n\\ncode,\\nkbd,\\nsamp,\\npre {\\n font-family:\\n ui-monospace,\\n SFMono-Regular,\\n Consolas,\\n 'Liberation Mono',\\n Menlo,\\n monospace; /* 1 */\\n font-size: 1em; /* 2 */\\n}\\n\\n/**\\nAdd the correct font size in all browsers.\\n*/\\n\\nsmall {\\n font-size: 80%;\\n}\\n\\n/**\\nPrevent 'sub' and 'sup' elements from affecting the line height in all browsers.\\n*/\\n\\nsub,\\nsup {\\n font-size: 75%;\\n line-height: 0;\\n position: relative;\\n vertical-align: baseline;\\n}\\n\\nsub {\\n bottom: -0.25em;\\n}\\n\\nsup {\\n top: -0.5em;\\n}\\n\\n/*\\nTabular data\\n============\\n*/\\n\\n/**\\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\\n*/\\n\\ntable {\\n text-indent: 0; /* 1 */\\n border-color: inherit; /* 2 */\\n}\\n\\n/*\\nForms\\n=====\\n*/\\n\\n/**\\n1. Change the font styles in all browsers.\\n2. Remove the margin in Firefox and Safari.\\n*/\\n\\nbutton,\\ninput,\\noptgroup,\\nselect,\\ntextarea {\\n font-family: inherit; /* 1 */\\n font-size: 100%; /* 1 */\\n line-height: 1.15; /* 1 */\\n margin: 0; /* 2 */\\n}\\n\\n/**\\nRemove the inheritance of text transform in Edge and Firefox.\\n1. Remove the inheritance of text transform in Firefox.\\n*/\\n\\nbutton,\\nselect { /* 1 */\\n text-transform: none;\\n}\\n\\n/**\\nCorrect the inability to style clickable types in iOS and Safari.\\n*/\\n\\nbutton,\\n[type='button'],\\n[type='reset'],\\n[type='submit'] {\\n -webkit-appearance: button;\\n}\\n\\n/**\\nRemove the inner border and padding in Firefox.\\n*/\\n\\n::-moz-focus-inner {\\n border-style: none;\\n padding: 0;\\n}\\n\\n/**\\nRestore the focus styles unset by the previous rule.\\n*/\\n\\n:-moz-focusring {\\n outline: 1px dotted ButtonText;\\n}\\n\\n/**\\nRemove the additional ':invalid' styles in Firefox.\\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\\n*/\\n\\n:-moz-ui-invalid {\\n box-shadow: none;\\n}\\n\\n/**\\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\\n*/\\n\\nlegend {\\n padding: 0;\\n}\\n\\n/**\\nAdd the correct vertical alignment in Chrome and Firefox.\\n*/\\n\\nprogress {\\n vertical-align: baseline;\\n}\\n\\n/**\\nCorrect the cursor style of increment and decrement buttons in Safari.\\n*/\\n\\n::-webkit-inner-spin-button,\\n::-webkit-outer-spin-button {\\n height: auto;\\n}\\n\\n/**\\n1. Correct the odd appearance in Chrome and Safari.\\n2. Correct the outline style in Safari.\\n*/\\n\\n[type='search'] {\\n -webkit-appearance: textfield; /* 1 */\\n outline-offset: -2px; /* 2 */\\n}\\n\\n/**\\nRemove the inner padding in Chrome and Safari on macOS.\\n*/\\n\\n::-webkit-search-decoration {\\n -webkit-appearance: none;\\n}\\n\\n/**\\n1. Correct the inability to style clickable types in iOS and Safari.\\n2. Change font properties to 'inherit' in Safari.\\n*/\\n\\n::-webkit-file-upload-button {\\n -webkit-appearance: button; /* 1 */\\n font: inherit; /* 2 */\\n}\\n\\n/*\\nInteractive\\n===========\\n*/\\n\\n/*\\nAdd the correct display in Chrome and Safari.\\n*/\\n\\nsummary {\\n display: list-item;\\n}\\n\"},\"$:/themes/tiddlywiki/vanilla/settings/fontfamily\":{\"title\":\"$:/themes/tiddlywiki/vanilla/settings/fontfamily\",\"text\":\"-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji\"},\"$:/themes/tiddlywiki/vanilla/settings/codefontfamily\":{\"title\":\"$:/themes/tiddlywiki/vanilla/settings/codefontfamily\",\"text\":\"\\\"SFMono-Regular\\\",Consolas,\\\"Liberation Mono\\\",Menlo,Courier,monospace\"},\"$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment\":{\"title\":\"$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment\",\"text\":\"fixed\"},\"$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize\":{\"title\":\"$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize\",\"text\":\"auto\"},\"$:/themes/tiddlywiki/vanilla/sticky\":{\"title\":\"$:/themes/tiddlywiki/vanilla/sticky\",\"code-body\":\"yes\",\"text\":\"\u003C$reveal state=\\\"$:/themes/tiddlywiki/vanilla/options/stickytitles\\\" type=\\\"match\\\" text=\\\"yes\\\">\\n``\\n.tc-tiddler-title {\\n\\tposition: -webkit-sticky;\\n\\tposition: -moz-sticky;\\n\\tposition: -o-sticky;\\n\\tposition: -ms-sticky;\\n\\tposition: sticky;\\n\\ttop: 0px;\\n\\tbackground: ``\u003C\u003Ccolour tiddler-background>>``;\\n\\tz-index: 500;\\n}\\n\\n``\\n\u003C$list filter=\\\"[range[100]]\\\">\\n`.tc-story-river .tc-tiddler-frame:nth-child(100n+`\u003C$text text=\u003C\u003CcurrentTiddler>>/>`) {\\nz-index: `\u003C$text text={{{ [[200]subtract\u003CcurrentTiddler>] }}}/>`;\\n}\\n`\\n\u003C/$list>\\n\u003C/$reveal>\\n\"}}}"}, {"created":"20240108030956555","title":"$:/themes/tiddlywiki/vanilla/options/sidebarlayout","text":"fluid-fixed","modified":"20240108030958403"}, {"created":"20240108030622645","title":"$:/view","text":"classic","modified":"20240108031405289"}, {"created":"20230227185225098","text":"","creator":"_PSEUDO_","title":"AstroID","type":"image/png","modified":"20231009130017694","modifier":"_PSEUDO_","tags":"$:/isAttachment _PLAYER_ $:/isIpfs G1AstroID","_canonical_uri":"/ipfs/bafybeifbebc3ewnzrzbm44arddedbralegnxklhua5d5ymzaqtf2kaub7i","PASS":"_PASS_","HPASS":"_HPASS_","g1pub":"_G1PUB_","astronautens":"_ASTRONAUTENS_"}, -{"created":"20210804081616558","text":"Astroport is a Web3 engine hosting TW on IPFS, and more...\n\nhttps://pad.p2p.legal/p/G1Fablab#/\n\n> DO NOT DELETE THIS TIDDLER (it contains parameters needed to plug this TW to UPlanet)","creator":"_PSEUDO_","title":"Astroport","modified":"20231207180403530","tags":"_PLAYER_","g1pub":"_G1PUB_","qrsec":"_QRSEC_","astroport":"_ASTROPORT_","birthdate":"_BIRTHDATE_","pseudo":"_PSEUDO_","modifier":"_PSEUDO_","chain":"_CHAIN_","moats":"_MOATS_","twmodel":"_TWMODEL_","astronautens":"_ASTRONAUTENS_"}, +{"created":"20210804081616558","text":"Astroport is a Web3 engine hosting TW on IPFS, and more...\n\nhttps://pad.p2p.legal/p/G1Fablab#/\n\n> DO NOT DELETE THIS TIDDLER (it contains parameters needed to plug this TW to UPlanet)","creator":"_PSEUDO_","title":"Astroport","modified":"20240229003956550","tags":"_PLAYER_","g1pub":"_G1PUB_","qrsec":"_QRSEC_","astroport":"_ASTROPORT_","birthdate":"_BIRTHDATE_","pseudo":"_PSEUDO_","modifier":"_PSEUDO_","chain":"_CHAIN_","moats":"_MOATS_","twmodel":"_TWMODEL_","astronautens":"_ASTRONAUTENS_","HPASS":"_HPASS_"}, {"created":"20231207180312871","modified":"20231207180318187","text":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAHLA8QDAREAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD9Q64jzwoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAo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QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf/Q0f+SVt/wDG6P8AWLMv+fv/AJLH/IP9QOHf+gf/AMnqf/JB/wALx+Kf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lN+0qJNn9u+Ayucb/wC1LnGPX/j2zj8K+g/10y7+Wf3L/MVj6Z/Zd/4Js+G/g94ksPiJ8UPEUHijxFpkguLCytYiun2kw+7KS43zOp5UkIFODtJAI+dzjiypjqbw+Gjywe7e7Xby89xpH2vXx4zx39pf9l/wD+054Tt9B8VvNp2p6a7S6XrFqitPaMwAZSG4eNsDcmRnapBBANetlGcV8oqudLVPdPZ/8HzA+N/Dn/BIjWP7cT/hLvjLZ/2Mhy39m6Y32mUZ+6PMbZHx/F8/0NfWVeOIcn7qi+bzen4b/gKx+gXw0+Gngz4ReDNO8A+AtHj07R9NQrHGDueRyctJIx5d2OSWP6DAr4bF4utjqzr13eT/AK+4Z1FcwBQByviv4U/C7x5dR33jj4b+F/ENxCAI5tV0e3u3QDoA0iMR1rpo43E4ZctGpKK8m1+QHQ6bpmm6NYw6Xo+n21jZ2y7Ibe2iWKKNfRUUAAewFYTnKpJym7t9wLNSAUAMEUQlMwjUSMApfA3EDoM+lF3awD6ACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoA//Z","creator":"_PSEUDO_","modifier":"_PSEUDO_","title":"Dessin de _PLAYER_","type":"image/jpeg","president":"_PLAYER_","tags":"$:/isAttachment $:/isEmbedded _PLAYER_","g1pub":"_G1PUB_","tw":"_TW_","player":"_PLAYER_"}, -{"created":"20231007125629731","text":"\\define lingo-base() $:/language/ControlPanel/Basics/\n> This ~TiddlyWiki is registered on UPlanet [[GPS|GPS]] recorded in [[IPFS|https://ipfs.tech]] powered by [[Astroport|Astroport]]\n\n! 🌐 Welcome to UPlanet: Redefining Geospatial Collaboration!\n\nUPlanet is a groundbreaking initiative that subdivides our planet into 0.01° sectors, creating a mesh of keys over the spherical surface. This innovative approach introduces an \"allocation table\" to the IPFS drive, facilitating the organization of localized data clusters.\n\n!! Activate Your TiddlyWiki in Your Area!\n\nAnyone can activate a TiddlyWiki in their specific region, ensuring a localized hub for valuable information.\n\n!! Daily Data Collection for Seamless Collaboration!\n\nEvery day, data is collected to populate a read-only TiddlyWiki at each 0.1° sector. This extends to 1°, 10° levels, creating a comprehensive map. Information is collected from the ground up, ensuring a seamless flow to the next level. Unique Tiddler titles are maintained, and users are promptly notified in case of merge collisions, with the option to choose the latest version or fork.\n\n!! Register Your TiddlyWiki on [[UPlanet|https://qo-op.com]] Today!\n\n!! Securing Your TiddlyWiki: A Simple Guide\n\n🌟 Print Your [[ZenCard|ZenCard]]:\n Displaying your public key and wallet address, your ZenCard serves as a visual representation of your secure TiddlyWiki presence.\n\n🔐 Print Your [[AstroID|AstroID]]:\n Your AstroID, a private \"control\" key secured by a PIN, ensures the integrity of your TiddlyWiki. Keep it secure and confidential.\n\n🚀 Enhance Security with Encryption:\n Strengthen your AstroID's security by encrypting it with a robust password, adding an extra layer of protection to your data.\n\n🎨 Personalize Your AstroID:\n Make your AstroID a unique masterpiece by designing your own \"[[Dessin de _PLAYER_|Dessin de _PLAYER_]]\". Your creativity adds an extra touch of identity to your TiddlyWiki.\n\n!! Get Involved in the UPlanet IPFS TW Hosting Community!\n\n!!! 🔍 Have Questions or Need Assistance?\nContact our support team at [[support@qo-op.com|mailto:support@qo-op.com]] for any inquiries or assistance in becoming an integral part of the UPlanet experience.\n\n!!! 🚀 Join UPlanet Today: Where Collaboration Meets Innovation! 🌐\n\n!! Continue setting up this ~TiddlyWiki\n\n\u003Cdiv class=\"tc-control-panel\">\n\n|tc-table-no-border tc-first-col-min-width tc-first-link-nowrap|k\n| \u003C$link to=\"$:/SiteTitle\">\u003C\u003Clingo Title/Prompt>>\u003C/$link>|\u003C$edit-text tiddler=\"$:/SiteTitle\" default=\"\" tag=\"input\"/> |\n| \u003C$link to=\"$:/SiteSubtitle\">\u003C\u003Clingo Subtitle/Prompt>>\u003C/$link>|\u003C$edit-text tiddler=\"$:/SiteSubtitle\" default=\"\" tag=\"input\"/> |\n|^ \u003C$link to=\"$:/DefaultTiddlers\">\u003C\u003Clingo DefaultTiddlers/Prompt>>\u003C/$link>\u003Cbr>\u003C\u003Clingo DefaultTiddlers/TopHint>>|\u003C$edit tag=\"textarea\" tiddler=\"$:/DefaultTiddlers\"/>\u003Cbr>//\u003C\u003Clingo DefaultTiddlers/BottomHint>>// |\n\u003C/div>\n\nSee the [[control panel|$:/ControlPanel]] for more options.\n\n!! Get more [[plugins|$:/ControlPanel]]\n\n> TW Nesting Station : _ASTROPORT_","title":"GettingStarted","modified":"20231202155348341","tags":"_PLAYER_ UPlanet"}, +{"created":"20231007125629731","text":"\\define lingo-base() $:/language/ControlPanel/Basics/\n\n! 🌐 Bienvenue sur UPlanet : expérimentez la collaboration géospatiale !\n\nUPlanet est une initiative révolutionnaire qui subdivise notre planète en secteurs de 0,01°, créant un maillage de clés sur la surface sphérique. Cette approche innovante introduit une \"table d'allocation\" dans le lecteur IPFS, facilitant l'organisation de grappes de données localisées.\n\n!! Activez votre TiddlyWiki dans votre région !\n\nTout le monde peut activer un TiddlyWiki dans sa région, ce qui permet de disposer d'un centre local d'informations précieuses.\n\n!! Collecte quotidienne de données pour une collaboration sans faille !\n\nChaque jour, des données sont collectées pour alimenter un TiddlyWiki en lecture seule dans chaque secteur de 0,1°. Cela s'étend aux niveaux 1°, 10°, créant ainsi une carte complète. Les informations sont collectées à partir de la base, ce qui garantit un passage sans heurt au niveau suivant. Les titres uniques des Tiddler sont maintenus, et les utilisateurs sont rapidement avertis en cas de collision de fusion, avec la possibilité de choisir la dernière version ou le fork.\n\n!! Enregistrez votre TiddlyWiki sur [[UPlanet|https://qo-op.com]] Aujourd'hui !\n\n!! Sécuriser votre TiddlyWiki : Un guide simple\n\n🌟 Imprimez votre [[ZenCard|ZenCard]] :\n Affichant votre clé publique et l'adresse de votre portefeuille, votre ZenCard sert de représentation visuelle de votre présence sécurisée sur TiddlyWiki.\n\n🔐 Imprimer votre [[AstroID|AstroID]] :\n Votre AstroID, une clé privée de \"contrôle\" sécurisée par un code PIN, garantit l'intégrité de votre TiddlyWiki. Conservez-la en toute sécurité et confidentialité. Retirez-la d'ici.\n\n🎨 Personnalisez votre ZenCard :\n Faites de votre AstroID un chef-d'œuvre unique en concevant votre propre \"[[Dessin de _PLAYER_|Dessin de _PLAYER_]]\". Votre créativité ajoute une touche d'identité supplémentaire à votre TiddlyWiki.\n\n!! Participez à la communauté d'hébergement UPlanet IPFS TW !\n\n!!! 🔍 Vous avez des questions ou besoin d'aide ?\nContactez notre équipe de support à [[support@qo-op.com|mailto:support@qo-op.com]] pour toute question ou assistance afin de faire partie intégrante de l'expérience UPlanet.\n\n[img[UP5]]\n---\n\n> This ~TiddlyWiki is registered on UPlanet [[GPS|GPS]] recorded in [[IPFS|https://ipfs.tech]] powered by [[Astroport|Astroport]]\n\n! 🌐 Welcome to UPlanet: Redefining Geospatial Collaboration!\n\nUPlanet is a groundbreaking initiative that subdivides our planet into 0.01° sectors, creating a mesh of keys over the spherical surface. This innovative approach introduces an \"allocation table\" to the IPFS drive, facilitating the organization of localized data clusters.\n\n!! Activate Your TiddlyWiki in Your Area!\n\nAnyone can activate a TiddlyWiki in their specific region, ensuring a localized hub for valuable information.\n\n!! Daily Data Collection for Seamless Collaboration!\n\nEvery day, data is collected to populate a read-only TiddlyWiki at each 0.1° sector. This extends to 1°, 10° levels, creating a comprehensive map. Information is collected from the ground up, ensuring a seamless flow to the next level. Unique Tiddler titles are maintained, and users are promptly notified in case of merge collisions, with the option to choose the latest version or fork.\n\n!! Register Your TiddlyWiki on [[UPlanet|https://qo-op.com]] Today!\n\n!! Securing Your TiddlyWiki: A Simple Guide\n\n🌟 Print Your [[ZenCard|ZenCard]]:\n Displaying your public key and wallet address, your ZenCard serves as a visual representation of your secure TiddlyWiki presence.\n\n🔐 Print Your [[AstroID|AstroID]]:\n Your AstroID, a private \"control\" key secured by a PIN, ensures the integrity of your TiddlyWiki. Keep it secure and confidential. Remove it from here.\n\n🎨 Personalize Your ZenCard:\n Make your AstroID a unique masterpiece by designing your own \"[[Dessin de _PLAYER_|Dessin de _PLAYER_]]\". Your creativity adds an extra touch of identity to your TiddlyWiki.\n\n!! Get Involved in the UPlanet IPFS TW Hosting Community!\n\n!!! 🔍 Have Questions or Need Assistance?\nContact our support team at [[support@qo-op.com|mailto:support@qo-op.com]] for any inquiries or assistance in becoming an integral part of the UPlanet experience.\n\n!!! 🚀 Join UPlanet Today: Where Collaboration Meets Innovation! 🌐\n\n!! Continue setting up this ~TiddlyWiki\n\n\u003Cdiv class=\"tc-control-panel\">\n\n|tc-table-no-border tc-first-col-min-width tc-first-link-nowrap|k\n| \u003C$link to=\"$:/SiteTitle\">\u003C\u003Clingo Title/Prompt>>\u003C/$link>|\u003C$edit-text tiddler=\"$:/SiteTitle\" default=\"\" tag=\"input\"/> |\n| \u003C$link to=\"$:/SiteSubtitle\">\u003C\u003Clingo Subtitle/Prompt>>\u003C/$link>|\u003C$edit-text tiddler=\"$:/SiteSubtitle\" default=\"\" tag=\"input\"/> |\n|^ \u003C$link to=\"$:/DefaultTiddlers\">\u003C\u003Clingo DefaultTiddlers/Prompt>>\u003C/$link>\u003Cbr>\u003C\u003Clingo DefaultTiddlers/TopHint>>|\u003C$edit tag=\"textarea\" tiddler=\"$:/DefaultTiddlers\"/>\u003Cbr>//\u003C\u003Clingo DefaultTiddlers/BottomHint>>// |\n\u003C/div>\n\nSee the [[control panel|$:/ControlPanel]] for more options.\n\n!! Get more [[plugins|$:/ControlPanel]]\n\n> TW Nesting Station : _ASTROPORT_","title":"GettingStarted","modified":"20240211155536111","tags":"_PLAYER_ UPlanet"}, {"created":"20231007123717877","text":"\u003C$leafmap\ntileControl\ntile='sat'\nzoom='12'\nplaces='{\"point\":\"44.2301, 1.6518\"}'\n/>\n\n! \u003Ca target='_blank' href='/ipns/k51qzi5uqu5djg1gqzujq5p60w25mi235gdg0lgkk5qztkfrpi5c22oolrriyu/_index.html'>Visit UMap_44.2301_1.6518\u003C/a>\n\n!! UPlanet moves your data with you\n\u003C\u003C\u003C\n''DO NOT CHANGE MANUALY''\n\n* \"PLUG/UNPLUG\" using ''AstroID''\n\u003C\u003C\u003C\n","tags":"_PLAYER_","title":"GPS","modified":"20231207180819081","lat":"44.2301","lon":"1.6518","umap":"/ipns/k51qzi5uqu5djg1gqzujq5p60w25mi235gdg0lgkk5qztkfrpi5c22oolrriyu"}, -{"created":"20220626175330872","text":"! ''MadeInZion is a worldwide community of people maintaining peace and restoring harmony''\n\nIf you answer this questions:\n\n* What would a perfect day look like for you? \n[[_PLAYER__PerfectDay|_PLAYER__PerfectDay]]\n\n* What difficulty have you been surprised to find yourself coping with particularly well? \n[[_PLAYER__CopingWellWith|_PLAYER__CopingWellWith]]\n\n* When was the last time you fought something with all your might and then regretted it? \n[[_PLAYER__StruggledHardWith|_PLAYER__StruggledHardWith]]\n\n\n!! UPlanet community can share, fork, merge and sign Tiddlers giving birth to a Dynamic Trustfull Common Information System\n\n> DO NOT DELETE THIS \"TIDDLER\" {{{ [{$:/info/url/protocol}match[http:]then[ipfs]else[online]] }}}","creator":"_PSEUDO_","title":"MadeInZion","modified":"20231202143408707","tags":"_PLAYER_","player":"_PLAYER_","astroport":"_ASTROPORT_","number":"_NUMBER_","secret":"_SECRET_","wishkey":"_WISHKEY_","modifier":"_PSEUDO_","sector":"_SECTOR_","root":"_ROOT_","dao":"_DAO_"}, +{"created":"20220626175330872","text":"! ''MadeInZion is a worldwide community of people maintaining peace and restoring harmony''\n\nIf you answer this questions:\n\n* What would a perfect day look like for you? \n[[_PLAYER__PerfectDay|_PLAYER__PerfectDay]]\n\n* What difficulty have you been surprised to find yourself coping with particularly well? \n[[_PLAYER__CopingWellWith|_PLAYER__CopingWellWith]]\n\n* When was the last time you fought something with all your might and then regretted it? \n[[_PLAYER__StruggledHardWith|_PLAYER__StruggledHardWith]]\n\n\n!! UPlanet community can share, fork, merge and sign Tiddlers giving birth to a Dynamic Trustfull Common Information System\n\n> DO NOT DELETE THIS \"TIDDLER\" {{{ [{$:/info/url/protocol}match[http:]then[ipfs]else[online]] }}}","creator":"_PSEUDO_","title":"MadeInZion","modified":"20240229003201187","tags":"_PLAYER_","player":"_PLAYER_","astroport":"_ASTROPORT_","number":"_NUMBER_","secret":"_SECRET_","wishkey":"_WISHKEY_","modifier":"_PSEUDO_","sector":"_SECTOR_","root":"_ROOT_","dao":"_DAO_"}, {"created":"20230203213813833","text":"# What would a perfect day look like for you?\n[[DesiredReality|DesiredReality]]\n\n# What difficulty have you been surprised to find yourself coping with particularly well?\n[[DoFace|DoFace]]\n\n# When was the last time you fought something with all your might and then regretted it?\n[[FightVain|FightVain]]","creator":"_PSEUDO_","tags":"_PLAYER_ G1Citation","title":"REQ","modified":"20240102132957439","modifier":"_PSEUDO_"}, -{"created":"20220504005648767","text":"","creator":"_PSEUDO_","title":"ZenCard","type":"image/jpeg","modified":"20231123173304688","tags":"$:/isAttachment $:/isIpfs _PLAYER_","_canonical_uri":"/ipfs/bafybeidhghlcx3zdzdah2pzddhoicywmydintj4mosgtygr6f2dlfwmg7a","modifier":"_PSEUDO_","g1pub":"_G1PUB_","tw":"_TW_","player":"_PLAYER_"} +{"title":"SQPL","caption":"SQ Plugin Library","created":"20220718175241684","modified":"20240229003932017","tags":"$:/tags/PluginLibrary $:/isAttachment $:/isEmbedded _PLAYER_","type":"text/vnd.tiddlywiki","url":"https://saqimtiaz.github.io/SQPL/library/index.html","text":"!!Saq's Plugin library.\n\n{{Installation via SQPL}}\n","revision":"0","bag":"default"}, +{"created":"20240211155319234","text":"","title":"UP5","type":"image/jpeg","modified":"20240211155607559","tags":"$:/isAttachment _PLAYER_ $:/isIpfs .jpg","_canonical_uri":"/ipfs/bafybeifl6zahqdhovyfzems2dt4h4ciedbusz24oht2gure4o4n6d5twhq"}, +{"created":"20220504005648767","text":"","creator":"_PSEUDO_","title":"ZenCard","type":"image/jpeg","modified":"20240229003222584","tags":"$:/isAttachment $:/isIpfs _PLAYER_","_canonical_uri":"/ipfs/bafybeidhghlcx3zdzdah2pzddhoicywmydintj4mosgtygr6f2dlfwmg7a","modifier":"_PSEUDO_","g1pub":"_G1PUB_","tw":"_TW_","player":"_PLAYER_"} ]