Hooves Beat
- Country: Iran
- Language: Kurdish dialogue, with Arabic & English subtitle
- Duration: 13 minutes
- Production Year: 2022 (UAE Premiere)
In a border village between Iran and Iraq, lives Tino, a 12-year-old youngster with his parents. After finding out about a heart-breaking incident that takes place in the mountains and leaving him devastated, he finds himself in a dilemma where he senses that the life of his sole four-legged friend which also happens to be his father’s only means of transportation and work, is in imminent great danger. He must make a momentous decision quickly.
Fargol Masrourirad was born in 1988 in Tehran, Iran. She is a Ph.D. student in Architecture at the University of Tehran and began her filmmaking career in 2018. She made her professional debut with "Hooves Beat" in 2022. Hossein Zeitoon Nejad was born in 1984 in Shiraz and raised in Tehran, holds a bachelor's degree in Business Management from the University of Zanjan. He started his film career in 2017 as an actor and director, also contributing to "Hooves Beat" (2022).
if ( window.Fancybox ){
var gvFancyboxSettings = {"animationEffect":"fade","toolbar":true,"closeExisting":true,"arrows":true,"mainClass":"gv-lightbox","buttons":["thumbs","close"],"l10n":{"CLOSE":"Close","NEXT":"Next","PREV":"Previous","MODAL":"Lightbox","ERROR":"The requested content cannot be loaded. Please try again later.","IMAGE_ERROR":"The requested content cannot be loaded. Please try again later.","ELEMENT_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_FORBIDDEN":"The requested content cannot be loaded. Please try again later.","IFRAME_ERROR":"The requested content cannot be loaded. Please try again later.","TOGGLE_ZOOM":"Zoom","TOGGLE_THUMBS":"Thumbnails","TOGGLE_SLIDESHOW":"Slideshow","TOGGLE_FULLSCREEN":"Full screen","DOWNLOAD":"Download"}};
// The dialog takes the current frame's name, or the generic lightbox name.
const gvNameFancyboxDialog = function ( fancybox ) {
const slide = fancybox.getSlide();
const name = slide && slide.$iframe ? slide.$iframe.getAttribute( 'title' ) : '';
if ( fancybox.$container ) {
fancybox.$container.setAttribute( 'aria-label', name || fancybox.localize( '{{MODAL}}' ) );
}
};
// A frame from another origin cannot be read, so it gets null.
const gvFrameDocument = function ( frame ) {
try {
return frame.contentDocument;
} catch ( e ) {
return null;
}
};
// Names a frame after the title GravityView gave the entry, then the link that opened it, then the frame's own title.
const gvNameFancyboxFrame = function ( fancybox, slide ) {
const frameDocument = gvFrameDocument( slide.$iframe );
const trigger = slide.$trigger && slide.$trigger.getAttribute ? slide.$trigger : null;
const image = trigger ? trigger.querySelector( 'img[alt]' ) : null;
const names = [
frameDocument && frameDocument.documentElement ? frameDocument.documentElement.getAttribute( 'data-gv-lightbox-title' ) : '',
trigger ? trigger.getAttribute( 'aria-label' ) : '',
trigger ? trigger.textContent : '',
frameDocument ? frameDocument.title : '',
image ? image.alt : '',
];
const name = names.map( function ( text ) {
return ( text || '' ).trim();
} ).find( Boolean );
slide.$iframe.setAttribute( 'title', name || fancybox.localize( '{{MODAL}}' ) );
};
// Keys pressed inside a frame go to the frame's own document, which Fancybox does not listen to.
const gvWatchFancyboxFrameKeys = function ( frame ) {
let frameWindow = null;
try {
frameWindow = frame.contentWindow;
if ( ! frameWindow || frameWindow.gvLightboxKeys ) {
return;
}
frameWindow.gvLightboxKeys = true;
} catch ( e ) {
return;
}
// A lightbox opened inside the frame takes Escape first, including while it is still closing.
let innerLightboxOpen = false;
frameWindow.addEventListener( 'keydown', function () {
innerLightboxOpen = !! frameWindow.document.querySelector( '.fancybox__container' );
}, true );
frameWindow.addEventListener( 'keydown', function ( event ) {
if ( 'Escape' !== event.key || event.defaultPrevented || innerLightboxOpen ) {
return;
}
if ( event.ctrlKey || event.altKey || event.shiftKey || event.metaKey ) {
return;
}
const fancybox = Fancybox.getInstance();
if ( ! fancybox || ! fancybox.$container || ! fancybox.$container.contains( frame ) ) {
return;
}
const keyboard = fancybox.option( 'keyboard' );
const action = keyboard ? keyboard.Escape : '';
// Same steps as Fancybox's own key handler, so its keydown event can still cancel the close.
if ( ! action || false === fancybox.trigger( 'keydown', 'Escape', event ) ) {
return;
}
if ( 'function' === typeof fancybox[ action ] ) {
fancybox[ action ]();
}
} );
};
// A frame can load a new document, such as after an Edit Entry save, so it is set up again on every load.
const gvSetUpFancyboxFrame = function ( fancybox, slide ) {
if ( ! slide || ! slide.$iframe ) {
return;
}
const frame = slide.$iframe;
const update = function () {
// Closing the lightbox empties its slides, and the frame can still fire load on the way out.
if ( slide.$iframe !== frame || ! frame.isConnected ) {
return;
}
gvNameFancyboxFrame( fancybox, slide );
gvWatchFancyboxFrameKeys( frame );
gvNameFancyboxDialog( fancybox );
};
if ( 'yes' !== frame.dataset.gvLightbox ) {
frame.dataset.gvLightbox = 'yes';
frame.addEventListener( 'load', update );
}
update();
};
// Stamp the per-View theme marker onto the body-mounted
// Fancybox container. The `gv-lightbox` hook is applied
// unconditionally via the `mainClass` setting; the theme
// classes are copied per-instance from the triggering element
// so only lightboxes opened from a themed View inherit the
// theme token scope.
gvFancyboxSettings.on = Object.assign( {}, gvFancyboxSettings.on, {
ready: function ( fancybox ) {
var trigger = fancybox.options && fancybox.options.$trigger;
var themed = trigger && trigger.closest ? trigger.closest( '.gv-themed' ) : null;
if ( themed && fancybox.$container ) {
fancybox.$container.classList.add( 'gv-themed' );
themed.classList.forEach( function ( cls ) {
if ( 0 === cls.indexOf( 'gv-theme-' ) ) {
fancybox.$container.classList.add( cls );
}
} );
}
},
// Reveal comes as soon as a frame has loaded, before the opening animation that done waits for.
reveal: gvSetUpFancyboxFrame,
'Carousel.change': function ( fancybox ) {
gvNameFancyboxDialog( fancybox );
},
// A frame can ask to stay open, such as an Edit Entry form with unsaved changes.
shouldClose: function ( fancybox ) {
const slide = fancybox.getSlide();
const frame = slide && slide.$iframe ? slide.$iframe : null;
if ( ! frame ) {
return true;
}
try {
const frameWindow = frame.contentWindow;
if ( frameWindow && 'function' === typeof frameWindow.gvLightboxConfirmClose ) {
return frameWindow.gvLightboxConfirmClose();
}
} catch ( e ) {
// A frame from another origin cannot be read; let it close.
}
return true;
}
} );
Fancybox.bind(".gravityview-fancybox", gvFancyboxSettings);
}
//# sourceURL=gravityview-fancybox-init-js-after
Hooves Beat
- Country: Iran
- Language: Kurdish dialogue, with Arabic & English subtitle
- Duration: 13 minutes
- Production Year: 2022 (UAE Premiere)
In a border village between Iran and Iraq, lives Tino, a 12-year-old youngster with his parents. After finding out about a heart-breaking incident that takes place in the mountains and leaving him devastated, he finds himself in a dilemma where he senses that the life of his sole four-legged friend which also happens to be his father’s only means of transportation and work, is in imminent great danger. He must make a momentous decision quickly.
Fargol Masrourirad was born in 1988 in Tehran, Iran. She is a Ph.D. student in Architecture at the University of Tehran and began her filmmaking career in 2018. She made her professional debut with "Hooves Beat" in 2022. Hossein Zeitoon Nejad was born in 1984 in Shiraz and raised in Tehran, holds a bachelor's degree in Business Management from the University of Zanjan. He started his film career in 2017 as an actor and director, also contributing to "Hooves Beat" (2022).
if ( window.Fancybox ){
var gvFancyboxSettings = {"animationEffect":"fade","toolbar":true,"closeExisting":true,"arrows":true,"mainClass":"gv-lightbox","buttons":["thumbs","close"],"l10n":{"CLOSE":"Close","NEXT":"Next","PREV":"Previous","MODAL":"Lightbox","ERROR":"The requested content cannot be loaded. Please try again later.","IMAGE_ERROR":"The requested content cannot be loaded. Please try again later.","ELEMENT_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_NOT_FOUND":"The requested content cannot be loaded. Please try again later.","AJAX_FORBIDDEN":"The requested content cannot be loaded. Please try again later.","IFRAME_ERROR":"The requested content cannot be loaded. Please try again later.","TOGGLE_ZOOM":"Zoom","TOGGLE_THUMBS":"Thumbnails","TOGGLE_SLIDESHOW":"Slideshow","TOGGLE_FULLSCREEN":"Full screen","DOWNLOAD":"Download"}};
// The dialog takes the current frame's name, or the generic lightbox name.
const gvNameFancyboxDialog = function ( fancybox ) {
const slide = fancybox.getSlide();
const name = slide && slide.$iframe ? slide.$iframe.getAttribute( 'title' ) : '';
if ( fancybox.$container ) {
fancybox.$container.setAttribute( 'aria-label', name || fancybox.localize( '{{MODAL}}' ) );
}
};
// A frame from another origin cannot be read, so it gets null.
const gvFrameDocument = function ( frame ) {
try {
return frame.contentDocument;
} catch ( e ) {
return null;
}
};
// Names a frame after the title GravityView gave the entry, then the link that opened it, then the frame's own title.
const gvNameFancyboxFrame = function ( fancybox, slide ) {
const frameDocument = gvFrameDocument( slide.$iframe );
const trigger = slide.$trigger && slide.$trigger.getAttribute ? slide.$trigger : null;
const image = trigger ? trigger.querySelector( 'img[alt]' ) : null;
const names = [
frameDocument && frameDocument.documentElement ? frameDocument.documentElement.getAttribute( 'data-gv-lightbox-title' ) : '',
trigger ? trigger.getAttribute( 'aria-label' ) : '',
trigger ? trigger.textContent : '',
frameDocument ? frameDocument.title : '',
image ? image.alt : '',
];
const name = names.map( function ( text ) {
return ( text || '' ).trim();
} ).find( Boolean );
slide.$iframe.setAttribute( 'title', name || fancybox.localize( '{{MODAL}}' ) );
};
// Keys pressed inside a frame go to the frame's own document, which Fancybox does not listen to.
const gvWatchFancyboxFrameKeys = function ( frame ) {
let frameWindow = null;
try {
frameWindow = frame.contentWindow;
if ( ! frameWindow || frameWindow.gvLightboxKeys ) {
return;
}
frameWindow.gvLightboxKeys = true;
} catch ( e ) {
return;
}
// A lightbox opened inside the frame takes Escape first, including while it is still closing.
let innerLightboxOpen = false;
frameWindow.addEventListener( 'keydown', function () {
innerLightboxOpen = !! frameWindow.document.querySelector( '.fancybox__container' );
}, true );
frameWindow.addEventListener( 'keydown', function ( event ) {
if ( 'Escape' !== event.key || event.defaultPrevented || innerLightboxOpen ) {
return;
}
if ( event.ctrlKey || event.altKey || event.shiftKey || event.metaKey ) {
return;
}
const fancybox = Fancybox.getInstance();
if ( ! fancybox || ! fancybox.$container || ! fancybox.$container.contains( frame ) ) {
return;
}
const keyboard = fancybox.option( 'keyboard' );
const action = keyboard ? keyboard.Escape : '';
// Same steps as Fancybox's own key handler, so its keydown event can still cancel the close.
if ( ! action || false === fancybox.trigger( 'keydown', 'Escape', event ) ) {
return;
}
if ( 'function' === typeof fancybox[ action ] ) {
fancybox[ action ]();
}
} );
};
// A frame can load a new document, such as after an Edit Entry save, so it is set up again on every load.
const gvSetUpFancyboxFrame = function ( fancybox, slide ) {
if ( ! slide || ! slide.$iframe ) {
return;
}
const frame = slide.$iframe;
const update = function () {
// Closing the lightbox empties its slides, and the frame can still fire load on the way out.
if ( slide.$iframe !== frame || ! frame.isConnected ) {
return;
}
gvNameFancyboxFrame( fancybox, slide );
gvWatchFancyboxFrameKeys( frame );
gvNameFancyboxDialog( fancybox );
};
if ( 'yes' !== frame.dataset.gvLightbox ) {
frame.dataset.gvLightbox = 'yes';
frame.addEventListener( 'load', update );
}
update();
};
// Stamp the per-View theme marker onto the body-mounted
// Fancybox container. The `gv-lightbox` hook is applied
// unconditionally via the `mainClass` setting; the theme
// classes are copied per-instance from the triggering element
// so only lightboxes opened from a themed View inherit the
// theme token scope.
gvFancyboxSettings.on = Object.assign( {}, gvFancyboxSettings.on, {
ready: function ( fancybox ) {
var trigger = fancybox.options && fancybox.options.$trigger;
var themed = trigger && trigger.closest ? trigger.closest( '.gv-themed' ) : null;
if ( themed && fancybox.$container ) {
fancybox.$container.classList.add( 'gv-themed' );
themed.classList.forEach( function ( cls ) {
if ( 0 === cls.indexOf( 'gv-theme-' ) ) {
fancybox.$container.classList.add( cls );
}
} );
}
},
// Reveal comes as soon as a frame has loaded, before the opening animation that done waits for.
reveal: gvSetUpFancyboxFrame,
'Carousel.change': function ( fancybox ) {
gvNameFancyboxDialog( fancybox );
},
// A frame can ask to stay open, such as an Edit Entry form with unsaved changes.
shouldClose: function ( fancybox ) {
const slide = fancybox.getSlide();
const frame = slide && slide.$iframe ? slide.$iframe : null;
if ( ! frame ) {
return true;
}
try {
const frameWindow = frame.contentWindow;
if ( frameWindow && 'function' === typeof frameWindow.gvLightboxConfirmClose ) {
return frameWindow.gvLightboxConfirmClose();
}
} catch ( e ) {
// A frame from another origin cannot be read; let it close.
}
return true;
}
} );
Fancybox.bind(".gravityview-fancybox", gvFancyboxSettings);
}
//# sourceURL=gravityview-fancybox-init-js-after
